diff --git a/index.html b/index.html index 7b2b864..c88ca1c 100644 --- a/index.html +++ b/index.html @@ -67,8 +67,8 @@ } } - - + + diff --git a/static/css/md-index-DH-RYx_k.css b/static/css/md-index-CPRBQVCk.css similarity index 78% rename from static/css/md-index-DH-RYx_k.css rename to static/css/md-index-CPRBQVCk.css index 1da93a2..1fcbfa8 100644 --- a/static/css/md-index-DH-RYx_k.css +++ b/static/css/md-index-CPRBQVCk.css @@ -1 +1 @@ -.loading[data-v-8781f9ec]{position:fixed;top:0;left:0;z-index:99999;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;font-size:18px;background-color:hsl(var(--background))}.loading[data-v-8781f9ec]:before{content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC);width:100px;height:100px;margin-bottom:26px}.fade-enter[data-v-8781f9ec],.fade-leave-to[data-v-8781f9ec]{opacity:0}.fade-enter-to[data-v-8781f9ec],.fade-leave[data-v-8781f9ec]{opacity:1}.fade-enter-active[data-v-8781f9ec],.fade-leave-active[data-v-8781f9ec]{transition:opacity 1s}.required[data-v-0d03152f]:before{content:"*";color:red;margin-right:.25em}.bounceInRight[data-v-4be1e5f4]{animation-name:bounceInRight-4be1e5f4;animation-duration:1s;animation-fill-mode:both}@keyframes bounceInRight-4be1e5f4{0%,60%,75%,90%,to{transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}.account-item[data-v-3407b3ac]{margin-bottom:1rem}.menubar[data-v-7e8ee93b]{-webkit-user-select:none;-moz-user-select:none;user-select:none}kbd[data-v-7e8ee93b]{display:inline-flex;justify-content:center;align-items:center;border:1px solid #a8a8a8;padding:1px 4px;border-radius:2px}[data-v-bc4a5df5]{box-sizing:border-box;margin:0;padding:0}html[data-v-bc4a5df5],body[data-v-bc4a5df5]{height:100%;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}input[data-v-bc4a5df5],button[data-v-bc4a5df5],textarea[data-v-bc4a5df5]{font-family:inherit}h1[data-v-bc4a5df5],h2[data-v-bc4a5df5],h3[data-v-bc4a5df5],h4[data-v-bc4a5df5],h5[data-v-bc4a5df5],h6[data-v-bc4a5df5]{font-weight:400}em[data-v-bc4a5df5]{font-style:normal!important}section[data-v-bc4a5df5]{height:100%}.web-title[data-v-bc4a5df5]{margin:0 15px 0 5px}.web-icon[data-v-bc4a5df5]{width:auto;height:1.5rem;vertical-align:middle}#editor[data-v-bc4a5df5]{display:block;height:100%;width:100%;padding:10px;border:none}.ctrl[data-v-bc4a5df5]{flex-basis:60px;flex-grow:1;flex-shrink:1;display:flex;align-items:center}.preview-wrapper[data-v-bc4a5df5]{display:flex;align-items:center;justify-content:center;padding:0;overflow-y:scroll}.hint[data-v-bc4a5df5]{opacity:.6;margin:20px 0}.preview[data-v-bc4a5df5]{position:relative;margin:0 -20px;width:375px;min-height:100%;padding:20px;font-size:14px;box-sizing:border-box;outline:none;word-wrap:break-word}.preview table[data-v-bc4a5df5]{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important}.container[data-v-bc4a5df5]{height:100vh;min-width:100%;padding:0}.container-main[data-v-bc4a5df5]{overflow:hidden;padding:0 20px}#output-wrapper[data-v-bc4a5df5]{position:relative;-webkit-user-select:text;-moz-user-select:text;user-select:text;height:100%}.loading-mask[data-v-bc4a5df5]{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;color:hsl(var(--foreground));background-color:hsl(var(--background))}.loading-mask .loading-mask-box[data-v-bc4a5df5]{position:sticky;top:50%;transform:translateY(-50%)}.loading-mask .loading-mask-box .loading__img[data-v-bc4a5df5]{width:75px;height:75px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC) no-repeat;margin:1em auto;background-size:cover}[data-v-bc4a5df5] .preview-table{border-spacing:0}.codeMirror-wrapper[data-v-bc4a5df5],.preview-wrapper[data-v-bc4a5df5]{height:100%}.codeMirror-wrapper[data-v-bc4a5df5]{overflow-x:auto}html,body,#app{width:100vw;height:100vh;margin:0;padding:0}body{pointer-events:initial!important}::-webkit-scrollbar{width:6px;height:6px;background-color:#fff}::-webkit-scrollbar-track{border-radius:6px;background-color:#c8c8c84d}::-webkit-scrollbar-thumb{border-radius:6px;background-color:#90929880}.CodeMirror-hints{position:absolute;z-index:10;overflow-y:auto;margin:0;padding:2px;border-radius:4px;max-height:20em;min-width:200px;font-size:12px;font-family:monospace;color:#333;background-color:#fff;box-shadow:0 4px 8px #0000001f,0 2px 4px #00000014}.CodeMirror-hint{margin-top:10px;padding:4px 6px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}.CodeMirror-hint:first-of-type{margin-top:0}.CodeMirror-hint:hover{background:#f0f0f0}.data-\[disabled\]\:pointer-events-none[data-disabled],.pointer-events-none{pointer-events:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.right-0{right:0}.right-3{right:.75rem}.right-4{right:1rem}.top-1\/2{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.grid{display:grid}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-\[-24px\]{margin-bottom:-24px}.mb-\[24px\]{margin-bottom:24px}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.h-\[--radix-select-trigger-height\]{height:var(--radix-select-trigger-height)}.h-\[1px\],.h-px{height:1px}.h-\[20px\]{height:20px}.h-\[25px\]{height:25px}.h-\[30px\]{height:30px}.h-10{height:2.5rem}.h-15{height:3.75rem}.h-2,.h2{height:.5rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5,.h5{height:1.25rem}.h-50{height:12.5rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-8{height:2rem}.h-full{height:100%}.h3{height:.75rem}.max-h-\[400px\]{max-height:400px}.max-h-56{max-height:14rem}.max-h-96{max-height:24rem}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.min-h-\[24px\]{min-height:24px}.min-h-\[40px\]{min-height:40px}.min-h-\[64px\]{min-height:64px}.min-h-20{min-height:5rem}.min-h-4{min-height:1rem}.min-w-\[--radix-select-trigger-width\]{min-width:var(--radix-select-trigger-width)}.min-w-\[350px\]{min-width:350px}.min-w-32{min-width:8rem}.min-w-48{min-width:12rem}.w-\[150px\]{width:150px}.w-\[1px\],.w-px{width:1px}.w-\[200px\]{width:200px}.w-\[20px\]{width:20px}.w-\[25px\]{width:25px}.w-0{width:0}.w-10{width:2.5rem}.w-100{width:25rem}.w-11{width:2.75rem}.w-2{width:.5rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-50{width:12.5rem}.w-56{width:14rem}.w-60{width:15rem}.w-64{width:16rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.-translate-x-1\/2{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-full{--un-translate-x:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--un-translate-y:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--un-translate-x:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--un-translate-x:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--un-translate-y:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--un-translate-x:1.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-0{--un-translate-x:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-100{--un-translate-x:25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-full{--un-translate-x:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.\[\&\>span\]\:truncate>span,.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.border,.border-1{border-width:1px}.border-2{border-width:2px}.file\:border-0::file-selector-button{border-width:0px}.border-x-1{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-l,.border-l-1{border-left-width:1px}.border-r{border-right-width:1px}.last\:border-b-0:last-child{border-bottom-width:0px}.border-black{--un-border-opacity:1;border-color:rgb(0 0 0 / var(--un-border-opacity))}.border-gray-200,.dark .dark\:border-gray-200{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.border-gray-700{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.dark .dark\:border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .dark\:hover\:border-gray-200:hover{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.hover\:border-gray-700:hover{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-\[4px\]{border-radius:4px}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border-dashed{border-style:dashed}.bg-black\/80{background-color:#000c}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246 / var(--un-bg-opacity))}.bg-gray-2{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-gray-400\/50{background-color:#9ca3af80}.bg-gray\/20{background-color:#9ca3af33}.dark .dark\:bg-gray-500\/50{background-color:#6b728080}.dark .dark\:bg-gray-900{--un-bg-opacity:1;background-color:rgb(17 24 39 / var(--un-bg-opacity))}.dark .dark\:bg-gray\/40{background-color:#9ca3af66}.dark .dark\:bg-stone-9{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.dark .dark\:hover\:bg-gray-500\/50:hover{background-color:#6b728080}.dark .dark\:hover\:bg-gray-600:hover{--un-bg-opacity:1;background-color:rgb(75 85 99 / var(--un-bg-opacity))}.hover\:bg-gray-200:hover{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.hover\:bg-gray-400\/50:hover{background-color:#9ca3af80}.file\:bg-transparent::file-selector-button{background-color:transparent}.fill-current{fill:currentColor}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px{padding-left:1rem;padding-right:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.\[\&\>\[data-slot\=input\]\]\:has-\[\[data-slot\=decrement\]\]\:pl-5:has([data-slot=decrement])>[data-slot=input]{padding-left:1.25rem}.\[\&\>\[data-slot\=input\]\]\:has-\[\[data-slot\=increment\]\]\:pr-5:has([data-slot=increment])>[data-slot=input]{padding-right:1.25rem}.pl-7{padding-left:1.75rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.text-center{text-align:center}.text-start{text-align:start}.text-end{text-align:end}.text-\[12px\]{font-size:12px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.dark .dark\:text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-blue-500{--un-text-opacity:1;color:rgb(59 130 246 / var(--un-text-opacity))}.text-green-600{--un-text-opacity:1;color:rgb(22 163 74 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-yellow-600{--un-text-opacity:1;color:rgb(202 138 4 / var(--un-text-opacity))}.dark .dark\:hover\:text-white:hover{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.file\:font-medium::file-selector-button{font-weight:500}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.hover\:underline:hover{text-decoration-line:underline}.data-\[disabled\]\:opacity-50[data-disabled],.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70,.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.hover\:opacity-100:hover{opacity:1}.disabled\:opacity-20:disabled{opacity:.2}.disabled\:opacity-50:disabled{opacity:.5}.group.toaster .group-\[\.toaster\]\:shadow-lg,.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-md{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-none{--un-shadow:0 0 var(--un-shadow-color, rgb(0 0 0 / 0));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-xl{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.ring-0{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-2:focus{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible\:ring-2:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-offset-2:focus{--un-ring-offset-width:2px}.focus-visible\:ring-offset-2:focus-visible{--un-ring-offset-width:2px}.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}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-color{transition-property:color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-evenly{justify-content:space-evenly}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:.5rem}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:w-full{width:100%}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-xq-light span.cm-keyword{line-height:1em;font-weight:700;color:#5a5cad}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3,.cm-s-xq-light span.cm-type{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:gray}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important;background:#ff0}.cm-s-darcula{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif}.cm-s-darcula.CodeMirror{background:#2b2b2b;color:#a9b7c6}.cm-s-darcula span.cm-meta{color:#bbb529}.cm-s-darcula span.cm-number{color:#6897bb}.cm-s-darcula span.cm-keyword{color:#cc7832;line-height:1em;font-weight:700}.cm-s-darcula span.cm-def{color:#a9b7c6;font-style:italic}.cm-s-darcula span.cm-variable,.cm-s-darcula span.cm-variable-2{color:#a9b7c6}.cm-s-darcula span.cm-variable-3{color:#9876aa}.cm-s-darcula span.cm-type{color:#abc;font-weight:700}.cm-s-darcula span.cm-property{color:#ffc66d}.cm-s-darcula span.cm-operator{color:#a9b7c6}.cm-s-darcula span.cm-string,.cm-s-darcula span.cm-string-2{color:#6a8759}.cm-s-darcula span.cm-comment{color:#61a151;font-style:italic}.cm-s-darcula span.cm-link,.cm-s-darcula span.cm-atom{color:#cc7832}.cm-s-darcula span.cm-error{color:#bc3f3c}.cm-s-darcula span.cm-tag{color:#629755;font-weight:700;font-style:italic;text-decoration:underline}.cm-s-darcula span.cm-attribute{color:#6897bb}.cm-s-darcula span.cm-qualifier{color:#6a8759}.cm-s-darcula span.cm-bracket{color:#a9b7c6}.cm-s-darcula span.cm-builtin,.cm-s-darcula span.cm-special{color:#ff9e59}.cm-s-darcula span.cm-matchhighlight{color:#fff;background-color:#325930b3;font-weight:400}.cm-s-darcula span.cm-searching{color:#fff;background-color:#3d733bb3;font-weight:400}.cm-s-darcula .CodeMirror-cursor{border-left:1px solid #A9B7C6}.cm-s-darcula .CodeMirror-activeline-background{background:#323232}.cm-s-darcula .CodeMirror-gutters{background:#313335;border-right:1px solid #313335}.cm-s-darcula .CodeMirror-guttermarker{color:#ffee80}.cm-s-darcula .CodeMirror-guttermarker-subtle{color:#d0d0d0}.cm-s-darcula .CodeMirrir-linenumber{color:#606366}.cm-s-darcula .CodeMirror-matchingbracket{background-color:#3b514d;color:#ffef28!important;font-weight:700}.cm-s-darcula div.CodeMirror-selected{background:#214283}.CodeMirror-hints.darcula{font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:#9c9e9e;background-color:#3b3e3f!important}.CodeMirror-hints.darcula .CodeMirror-hint-active{background-color:#494d4e!important;color:#9c9e9e!important}.-translate-x-1\/2,.-translate-x-full,.-translate-y-1\/2,.translate-x-0,.translate-x-full,.transform,[data-side=bottom],[data-side=left],[data-side=right],[data-side=top],[data-state=checked],div{--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}.shadow-lg,.shadow-md,.shadow-none,.shadow-xl,.group-\[\.toaster\]\:shadow-lg,[data-state=active]{--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000}.ring-0,.focus\:ring-2,.focus-visible\:ring-2{--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}.grayscale,.filter{--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-variation-settings:normal;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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}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]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 0 0% 3.9%;--card: 0 0% 100%;--card-foreground: 0 0% 3.9%;--popover: 0 0% 100%;--popover-foreground: 0 0% 3.9%;--primary: 0 0% 9%;--primary-foreground: 0 0% 98%;--secondary: 0 0% 96.1%;--secondary-foreground: 0 0% 9%;--muted: 0 0% 96.1%;--muted-foreground: 0 0% 45.1%;--accent: 0 0% 96.1%;--accent-foreground: 0 0% 9%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--radius: .5rem;--blockquote-background: #f7f7f7}.dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--blockquote-background: #212121}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.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}}.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}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.table{display:table}.h-11{height:2.75rem}.h-2{height:.5rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-px{height:1px}.w-0{width:0px}.w-72{width:18rem}.w-\[1px\]{width:1px}.w-px{width:1px}.border-collapse{border-collapse:collapse}.-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))}.-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))}.-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))}.translate-x-0{--tw-translate-x: 0px;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))}.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))}.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))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-l{border-left-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-border{border-color:hsl(var(--border))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.bg-background{background-color:hsl(var(--background))}.bg-border{background-color:hsl(var(--border))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-500\/50{background-color:#6b728080}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-muted{background-color:hsl(var(--muted))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-clip-padding{background-clip:padding-box}.object-cover{-o-object-fit:cover;object-fit:cover}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.italic{font-style:italic}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.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)}.ring-0{--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(0px + 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)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.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)}.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)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.fade-in-80{--tw-enter-opacity: .8}.zoom-in-95{--tw-enter-scale: .95}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:border-gray-700:hover{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.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)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:ring-2:focus-visible{--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)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;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))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;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))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;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))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;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))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;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))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--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)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-gray-200:is(.dark *){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.dark\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.dark\:bg-gray-500\/50:is(.dark *){background-color:#6b728080}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.dark\:bg-muted:is(.dark *){background-color:hsl(var(--muted))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:hover\:border-gray-200:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.dark\:hover\:bg-gray-500\/50:hover:is(.dark *){background-color:#6b728080}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-muted:hover:is(.dark *){background-color:hsl(var(--muted))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-evenly{justify-content:space-evenly}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}.\[\&\>span\]\:truncate>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;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))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.dark .container .output_night .preview{background-color:#191919;box-shadow:0 0 70px #0000004d}.dark .container .output_night .preview-wrapper{background-color:#191919;box-shadow:inset 0 0 0 1px #e9e7e71a}.dark .container .output_night .code-snippet__fix{background-color:#eee}.dark .container ::-webkit-scrollbar{background-color:#191919}.CodeMirror{padding-bottom:0;height:100%!important;font-size:14px;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif!important}.CodeMirror-vscrollbar:focus{outline:none}.CodeMirror-scroll{padding:0 20px;overflow-x:hidden!important;overflow-y:scroll!important}.CodeMirror-vscrollbar{width:0px;height:0px}.CodeMirror-wrap{padding-top:20px;padding-bottom:20px;box-sizing:border-box}.cm-em{font-style:normal}.cm-comment{font-style:normal!important} +.loading[data-v-8781f9ec]{position:fixed;top:0;left:0;z-index:99999;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;font-size:18px;background-color:hsl(var(--background))}.loading[data-v-8781f9ec]:before{content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC);width:100px;height:100px;margin-bottom:26px}.fade-enter[data-v-8781f9ec],.fade-leave-to[data-v-8781f9ec]{opacity:0}.fade-enter-to[data-v-8781f9ec],.fade-leave[data-v-8781f9ec]{opacity:1}.fade-enter-active[data-v-8781f9ec],.fade-leave-active[data-v-8781f9ec]{transition:opacity 1s}.required[data-v-0d03152f]:before{content:"*";color:red;margin-right:.25em}.bounceInRight[data-v-4be1e5f4]{animation-name:bounceInRight-4be1e5f4;animation-duration:1s;animation-fill-mode:both}@keyframes bounceInRight-4be1e5f4{0%,60%,75%,90%,to{transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}.account-item[data-v-3407b3ac]{margin-bottom:1rem}.menubar[data-v-7e8ee93b]{-webkit-user-select:none;-moz-user-select:none;user-select:none}kbd[data-v-7e8ee93b]{display:inline-flex;justify-content:center;align-items:center;border:1px solid #a8a8a8;padding:1px 4px;border-radius:2px}[data-v-bc4a5df5]{box-sizing:border-box;margin:0;padding:0}html[data-v-bc4a5df5],body[data-v-bc4a5df5]{height:100%;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}input[data-v-bc4a5df5],button[data-v-bc4a5df5],textarea[data-v-bc4a5df5]{font-family:inherit}h1[data-v-bc4a5df5],h2[data-v-bc4a5df5],h3[data-v-bc4a5df5],h4[data-v-bc4a5df5],h5[data-v-bc4a5df5],h6[data-v-bc4a5df5]{font-weight:400}em[data-v-bc4a5df5]{font-style:normal!important}section[data-v-bc4a5df5]{height:100%}.web-title[data-v-bc4a5df5]{margin:0 15px 0 5px}.web-icon[data-v-bc4a5df5]{width:auto;height:1.5rem;vertical-align:middle}#editor[data-v-bc4a5df5]{display:block;height:100%;width:100%;padding:10px;border:none}.ctrl[data-v-bc4a5df5]{flex-basis:60px;flex-grow:1;flex-shrink:1;display:flex;align-items:center}.preview-wrapper[data-v-bc4a5df5]{display:flex;align-items:center;justify-content:center;padding:0;overflow-y:scroll}.hint[data-v-bc4a5df5]{opacity:.6;margin:20px 0}.preview[data-v-bc4a5df5]{position:relative;margin:0 -20px;width:375px;min-height:100%;padding:20px;font-size:14px;box-sizing:border-box;outline:none;word-wrap:break-word}.preview table[data-v-bc4a5df5]{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important}.container[data-v-bc4a5df5]{height:100vh;min-width:100%;padding:0}.container-main[data-v-bc4a5df5]{overflow:hidden;padding:0 20px}#output-wrapper[data-v-bc4a5df5]{position:relative;-webkit-user-select:text;-moz-user-select:text;user-select:text;height:100%}.loading-mask[data-v-bc4a5df5]{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;color:hsl(var(--foreground));background-color:hsl(var(--background))}.loading-mask .loading-mask-box[data-v-bc4a5df5]{position:sticky;top:50%;transform:translateY(-50%)}.loading-mask .loading-mask-box .loading__img[data-v-bc4a5df5]{width:75px;height:75px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC) no-repeat;margin:1em auto;background-size:cover}[data-v-bc4a5df5] .preview-table{border-spacing:0}.codeMirror-wrapper[data-v-bc4a5df5],.preview-wrapper[data-v-bc4a5df5]{height:100%}.codeMirror-wrapper[data-v-bc4a5df5]{overflow-x:auto}html,body,#app{width:100vw;height:100vh;margin:0;padding:0}body{pointer-events:initial!important}::-webkit-scrollbar{width:6px;height:6px;background-color:#fff}::-webkit-scrollbar-track{border-radius:6px;background-color:#c8c8c84d}::-webkit-scrollbar-thumb{border-radius:6px;background-color:#90929880}.CodeMirror-hints{position:absolute;z-index:10;overflow-y:auto;margin:0;padding:2px;border-radius:4px;max-height:20em;min-width:200px;font-size:12px;font-family:monospace;color:#333;background-color:#fff;box-shadow:0 4px 8px #0000001f,0 2px 4px #00000014}.CodeMirror-hint{margin-top:10px;padding:4px 6px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}.CodeMirror-hint:first-of-type{margin-top:0}.CodeMirror-hint:hover{background:#f0f0f0}.data-\[disabled\]\:pointer-events-none[data-disabled],.pointer-events-none{pointer-events:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.right-0{right:0}.right-3{right:.75rem}.right-4{right:1rem}.top-1\/2{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.grid{display:grid}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-\[-24px\]{margin-bottom:-24px}.mb-\[24px\]{margin-bottom:24px}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.h-\[--radix-select-trigger-height\]{height:var(--radix-select-trigger-height)}.h-\[1px\],.h-px{height:1px}.h-\[20px\]{height:20px}.h-\[25px\]{height:25px}.h-\[30px\]{height:30px}.h-10{height:2.5rem}.h-15{height:3.75rem}.h-2,.h2{height:.5rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5,.h5{height:1.25rem}.h-50{height:12.5rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-8{height:2rem}.h-full{height:100%}.h3{height:.75rem}.max-h-\[400px\]{max-height:400px}.max-h-56{max-height:14rem}.max-h-96{max-height:24rem}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.min-h-\[24px\]{min-height:24px}.min-h-\[40px\]{min-height:40px}.min-h-\[64px\]{min-height:64px}.min-h-20{min-height:5rem}.min-h-4{min-height:1rem}.min-w-\[--radix-select-trigger-width\]{min-width:var(--radix-select-trigger-width)}.min-w-\[350px\]{min-width:350px}.min-w-32{min-width:8rem}.min-w-48{min-width:12rem}.w-\[150px\]{width:150px}.w-\[1px\],.w-px{width:1px}.w-\[200px\]{width:200px}.w-\[20px\]{width:20px}.w-\[25px\]{width:25px}.w-0{width:0}.w-10{width:2.5rem}.w-100{width:25rem}.w-11{width:2.75rem}.w-2{width:.5rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-50{width:12.5rem}.w-56{width:14rem}.w-60{width:15rem}.w-64{width:16rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.-translate-x-1\/2{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-full{--un-translate-x:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--un-translate-y:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--un-translate-x:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--un-translate-x:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--un-translate-y:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--un-translate-x:1.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-0{--un-translate-x:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-100{--un-translate-x:25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-full{--un-translate-x:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.\[\&\>span\]\:truncate>span,.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.border,.border-1{border-width:1px}.border-2{border-width:2px}.file\:border-0::file-selector-button{border-width:0px}.border-x-1{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-l,.border-l-1{border-left-width:1px}.border-r{border-right-width:1px}.last\:border-b-0:last-child{border-bottom-width:0px}.border-black{--un-border-opacity:1;border-color:rgb(0 0 0 / var(--un-border-opacity))}.border-gray-200,.dark .dark\:border-gray-200{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.border-gray-700{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.dark .dark\:border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .dark\:hover\:border-gray-200:hover{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.hover\:border-gray-700:hover{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-\[4px\]{border-radius:4px}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border-dashed{border-style:dashed}.bg-black\/80{background-color:#000c}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246 / var(--un-bg-opacity))}.bg-gray-2{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-gray-400\/50{background-color:#9ca3af80}.bg-gray\/20{background-color:#9ca3af33}.dark .dark\:bg-gray-500\/50{background-color:#6b728080}.dark .dark\:bg-gray-900{--un-bg-opacity:1;background-color:rgb(17 24 39 / var(--un-bg-opacity))}.dark .dark\:bg-gray\/40{background-color:#9ca3af66}.dark .dark\:bg-stone-9{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.dark .dark\:hover\:bg-gray-500\/50:hover{background-color:#6b728080}.dark .dark\:hover\:bg-gray-600:hover{--un-bg-opacity:1;background-color:rgb(75 85 99 / var(--un-bg-opacity))}.hover\:bg-gray-200:hover{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.hover\:bg-gray-400\/50:hover{background-color:#9ca3af80}.file\:bg-transparent::file-selector-button{background-color:transparent}.fill-current{fill:currentColor}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px{padding-left:1rem;padding-right:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.\[\&\>\[data-slot\=input\]\]\:has-\[\[data-slot\=decrement\]\]\:pl-5:has([data-slot=decrement])>[data-slot=input]{padding-left:1.25rem}.\[\&\>\[data-slot\=input\]\]\:has-\[\[data-slot\=increment\]\]\:pr-5:has([data-slot=increment])>[data-slot=input]{padding-right:1.25rem}.pl-7{padding-left:1.75rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.text-center{text-align:center}.text-start{text-align:start}.text-end{text-align:end}.text-\[12px\]{font-size:12px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.dark .dark\:text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-blue-500{--un-text-opacity:1;color:rgb(59 130 246 / var(--un-text-opacity))}.text-green-600{--un-text-opacity:1;color:rgb(22 163 74 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-yellow-600{--un-text-opacity:1;color:rgb(202 138 4 / var(--un-text-opacity))}.dark .dark\:hover\:text-white:hover{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.file\:font-medium::file-selector-button{font-weight:500}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.hover\:underline:hover{text-decoration-line:underline}.data-\[disabled\]\:opacity-50[data-disabled],.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70,.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.hover\:opacity-100:hover{opacity:1}.disabled\:opacity-20:disabled{opacity:.2}.disabled\:opacity-50:disabled{opacity:.5}.group.toaster .group-\[\.toaster\]\:shadow-lg,.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-md{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-none{--un-shadow:0 0 var(--un-shadow-color, rgb(0 0 0 / 0));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-xl{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.ring-0{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-2:focus{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible\:ring-2:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-offset-2:focus{--un-ring-offset-width:2px}.focus-visible\:ring-offset-2:focus-visible{--un-ring-offset-width:2px}.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}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-color{transition-property:color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-evenly{justify-content:space-evenly}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:.5rem}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:w-full{width:100%}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-xq-light span.cm-keyword{line-height:1em;font-weight:700;color:#5a5cad}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3,.cm-s-xq-light span.cm-type{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:gray}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important;background:#ff0}.cm-s-darcula{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif}.cm-s-darcula.CodeMirror{background:#2b2b2b;color:#a9b7c6}.cm-s-darcula span.cm-meta{color:#bbb529}.cm-s-darcula span.cm-number{color:#6897bb}.cm-s-darcula span.cm-keyword{color:#cc7832;line-height:1em;font-weight:700}.cm-s-darcula span.cm-def{color:#a9b7c6;font-style:italic}.cm-s-darcula span.cm-variable,.cm-s-darcula span.cm-variable-2{color:#a9b7c6}.cm-s-darcula span.cm-variable-3{color:#9876aa}.cm-s-darcula span.cm-type{color:#abc;font-weight:700}.cm-s-darcula span.cm-property{color:#ffc66d}.cm-s-darcula span.cm-operator{color:#a9b7c6}.cm-s-darcula span.cm-string,.cm-s-darcula span.cm-string-2{color:#6a8759}.cm-s-darcula span.cm-comment{color:#61a151;font-style:italic}.cm-s-darcula span.cm-link,.cm-s-darcula span.cm-atom{color:#cc7832}.cm-s-darcula span.cm-error{color:#bc3f3c}.cm-s-darcula span.cm-tag{color:#629755;font-weight:700;font-style:italic;text-decoration:underline}.cm-s-darcula span.cm-attribute{color:#6897bb}.cm-s-darcula span.cm-qualifier{color:#6a8759}.cm-s-darcula span.cm-bracket{color:#a9b7c6}.cm-s-darcula span.cm-builtin,.cm-s-darcula span.cm-special{color:#ff9e59}.cm-s-darcula span.cm-matchhighlight{color:#fff;background-color:#325930b3;font-weight:400}.cm-s-darcula span.cm-searching{color:#fff;background-color:#3d733bb3;font-weight:400}.cm-s-darcula .CodeMirror-cursor{border-left:1px solid #A9B7C6}.cm-s-darcula .CodeMirror-activeline-background{background:#323232}.cm-s-darcula .CodeMirror-gutters{background:#313335;border-right:1px solid #313335}.cm-s-darcula .CodeMirror-guttermarker{color:#ffee80}.cm-s-darcula .CodeMirror-guttermarker-subtle{color:#d0d0d0}.cm-s-darcula .CodeMirrir-linenumber{color:#606366}.cm-s-darcula .CodeMirror-matchingbracket{background-color:#3b514d;color:#ffef28!important;font-weight:700}.cm-s-darcula div.CodeMirror-selected{background:#214283}.CodeMirror-hints.darcula{font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:#9c9e9e;background-color:#3b3e3f!important}.CodeMirror-hints.darcula .CodeMirror-hint-active{background-color:#494d4e!important;color:#9c9e9e!important}.-translate-x-1\/2,.-translate-x-full,.-translate-y-1\/2,.translate-x-0,.translate-x-full,.transform,[data-side=bottom],[data-side=left],[data-side=right],[data-side=top],[data-state=checked],div{--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}.shadow-lg,.shadow-md,.shadow-none,.shadow-xl,.group-\[\.toaster\]\:shadow-lg,[data-state=active]{--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000}.ring-0,.focus\:ring-2,.focus-visible\:ring-2{--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}.grayscale,.filter{--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-variation-settings:normal;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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}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]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 0 0% 3.9%;--card: 0 0% 100%;--card-foreground: 0 0% 3.9%;--popover: 0 0% 100%;--popover-foreground: 0 0% 3.9%;--primary: 0 0% 9%;--primary-foreground: 0 0% 98%;--secondary: 0 0% 96.1%;--secondary-foreground: 0 0% 9%;--muted: 0 0% 96.1%;--muted-foreground: 0 0% 45.1%;--accent: 0 0% 96.1%;--accent-foreground: 0 0% 9%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--radius: .5rem;--blockquote-background: #f7f7f7}.dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--blockquote-background: #212121}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.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}}.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}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.table{display:table}.h-11{height:2.75rem}.h-2{height:.5rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-px{height:1px}.w-0{width:0px}.w-72{width:18rem}.w-\[1px\]{width:1px}.w-px{width:1px}.border-collapse{border-collapse:collapse}.-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))}.-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))}.-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))}.translate-x-0{--tw-translate-x: 0px;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))}.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))}.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))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-l{border-left-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-border{border-color:hsl(var(--border))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.bg-background{background-color:hsl(var(--background))}.bg-border{background-color:hsl(var(--border))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-500\/50{background-color:#6b728080}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-muted{background-color:hsl(var(--muted))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-clip-padding{background-clip:padding-box}.object-cover{-o-object-fit:cover;object-fit:cover}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.italic{font-style:italic}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.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)}.ring-0{--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(0px + 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)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.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)}.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)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.fade-in-80{--tw-enter-opacity: .8}.zoom-in-95{--tw-enter-scale: .95}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:border-gray-700:hover{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.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)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:ring-2:focus-visible{--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)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;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))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;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))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;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))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;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))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;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))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--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)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-gray-200:is(.dark *){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.dark\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.dark\:bg-gray-500\/50:is(.dark *){background-color:#6b728080}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.dark\:bg-muted:is(.dark *){background-color:hsl(var(--muted))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:hover\:border-gray-200:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.dark\:hover\:bg-gray-500\/50:hover:is(.dark *){background-color:#6b728080}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-muted:hover:is(.dark *){background-color:hsl(var(--muted))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-evenly{justify-content:space-evenly}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}.\[\&\>span\]\:truncate>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;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))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.dark .container .output_night .preview{background-color:#191919;box-shadow:0 0 70px #0000004d}.dark .container .output_night .preview-wrapper{background-color:#191919;box-shadow:inset 0 0 0 1px #e9e7e71a}.dark .container .output_night .code-snippet__fix{background-color:#eee}.dark .container ::-webkit-scrollbar{background-color:#191919}.CodeMirror{padding-bottom:0;height:100%!important;font-size:14px;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif!important}.CodeMirror-vscrollbar:focus{outline:none}.CodeMirror-scroll{padding:0 20px;overflow-x:hidden!important;overflow-y:scroll!important}.CodeMirror-vscrollbar{width:0px;height:0px}.CodeMirror-wrap{padding-top:20px;padding-bottom:20px;box-sizing:border-box}.cm-em{font-style:normal}.cm-comment{font-style:normal!important} diff --git a/static/js/md-_basePickBy-BMLPiLYr.js b/static/js/md-_basePickBy-D2Yv_vSZ.js similarity index 95% rename from static/js/md-_basePickBy-BMLPiLYr.js rename to static/js/md-_basePickBy-D2Yv_vSZ.js index 52b9e96..9d55ee7 100644 --- a/static/js/md-_basePickBy-BMLPiLYr.js +++ b/static/js/md-_basePickBy-D2Yv_vSZ.js @@ -1 +1 @@ -import{e as x,c as b,g as m,k as P,h as p,j as w,l as A,m as N,n as I,t as c,o as M}from"./md-_baseUniq-B7UZj1IW.js";import{aM as g,aA as E,aN as F,aO as T,aP as _,aQ as l,aR as $,aS as B,aT as S,aU as y}from"./md-index-trBnGDGX.js";var R=/\s/;function G(n){for(var r=n.length;r--&&R.test(n.charAt(r)););return r}var H=/^\s+/;function L(n){return n&&n.slice(0,G(n)+1).replace(H,"")}var o=NaN,q=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,C=/^0o[0-7]+$/i,K=parseInt;function Q(n){if(typeof n=="number")return n;if(x(n))return o;if(g(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=g(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=L(n);var t=z.test(n);return t||C.test(n)?K(n.slice(2),t?2:8):q.test(n)?o:+n}var v=1/0,U=17976931348623157e292;function W(n){if(!n)return n===0?n:0;if(n=Q(n),n===v||n===-v){var r=n<0?-1:1;return r*U}return n===n?n:0}function X(n){var r=W(n),t=r%1;return r===r?t?r-t:r:0}function fn(n){var r=n==null?0:n.length;return r?b(n):[]}var O=Object.prototype,Y=O.hasOwnProperty,dn=E(function(n,r){n=Object(n);var t=-1,i=r.length,a=i>2?r[2]:void 0;for(a&&F(r[0],r[1],a)&&(i=1);++t-1?a[f?r[e]:e]:void 0}}var J=Math.max;function Z(n,r,t){var i=n==null?0:n.length;if(!i)return-1;var a=t==null?0:X(t);return a<0&&(a=J(i+a,0)),p(n,m(r),a)}var hn=D(Z);function V(n,r){var t=-1,i=l(n)?Array(n.length):[];return w(n,function(a,f,e){i[++t]=r(a,f,e)}),i}function gn(n,r){var t=$(n)?A:V;return t(n,m(r))}var j=Object.prototype,k=j.hasOwnProperty;function nn(n,r){return n!=null&&k.call(n,r)}function mn(n,r){return n!=null&&N(n,r,nn)}function rn(n,r){return n2?r[2]:void 0;for(a&&F(r[0],r[1],a)&&(i=1);++t-1?a[f?r[e]:e]:void 0}}var J=Math.max;function Z(n,r,t){var i=n==null?0:n.length;if(!i)return-1;var a=t==null?0:X(t);return a<0&&(a=J(i+a,0)),p(n,m(r),a)}var hn=D(Z);function V(n,r){var t=-1,i=l(n)?Array(n.length):[];return w(n,function(a,f,e){i[++t]=r(a,f,e)}),i}function gn(n,r){var t=$(n)?A:V;return t(n,m(r))}var j=Object.prototype,k=j.hasOwnProperty;function nn(n,r){return n!=null&&k.call(n,r)}function mn(n,r){return n!=null&&N(n,r,nn)}function rn(n,r){return n-1}function $(n){return sn(n)?xn(n):Mn(n)}var nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rr=/^\w*$/;function B(n,r){if(T(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||U(n)?!0:rr.test(n)||!nr.test(n)||r!=null&&n in Object(r)}var er=500;function tr(n){var r=mn(n,function(t){return e.size===er&&e.clear(),t}),e=r.cache;return r}var ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ar=/\\(\\)?/g,fr=tr(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(ir,function(e,t,a,i){r.push(a?i.replace(ar,"$1"):t||e)}),r});function sr(n){return n==null?"":dn(n)}function An(n,r){return T(n)?n:B(n,r)?[n]:fr(sr(n))}var ur=1/0;function M(n){if(typeof n=="string"||U(n))return n;var r=n+"";return r=="0"&&1/n==-ur?"-0":r}function yn(n,r){r=An(r,n);for(var e=0,t=r.length;n!=null&&es))return!1;var b=i.get(n),l=i.get(r);if(b&&l)return b==r&&l==n;var o=-1,c=!0,h=e&Re?new v:void 0;for(i.set(n,r),i.set(r,n);++o=Ot){var b=r?null:wt(n);if(b)return H(b);f=!1,a=Sn,u=new v}else u=r?[]:s;n:for(;++t-1}function $(n){return sn(n)?xn(n):Mn(n)}var nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rr=/^\w*$/;function B(n,r){if(T(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||U(n)?!0:rr.test(n)||!nr.test(n)||r!=null&&n in Object(r)}var er=500;function tr(n){var r=mn(n,function(t){return e.size===er&&e.clear(),t}),e=r.cache;return r}var ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ar=/\\(\\)?/g,fr=tr(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(ir,function(e,t,a,i){r.push(a?i.replace(ar,"$1"):t||e)}),r});function sr(n){return n==null?"":dn(n)}function An(n,r){return T(n)?n:B(n,r)?[n]:fr(sr(n))}var ur=1/0;function M(n){if(typeof n=="string"||U(n))return n;var r=n+"";return r=="0"&&1/n==-ur?"-0":r}function yn(n,r){r=An(r,n);for(var e=0,t=r.length;n!=null&&es))return!1;var b=i.get(n),l=i.get(r);if(b&&l)return b==r&&l==n;var o=-1,c=!0,h=e&Re?new v:void 0;for(i.set(n,r),i.set(r,n);++o=Ot){var b=r?null:wt(n);if(b)return H(b);f=!1,a=Sn,u=new v}else u=r?[]:s;n:for(;++tr*r+F*F&&($=w,j=p),{cx:$,cy:j,x01:-n,y01:-d,x11:$*(v/T-1),y11:j*(v/T-1)}}function hn(){var l=cn,h=yn,I=z(0),D=null,v=gn,A=dn,B=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=A.apply(this,arguments)-an,C=un(c-f),t=c>f;if(a||(a=n=O()),sy))a.moveTo(0,0);else if(C>tn-y)a.moveTo(s*G(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*G(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,R=f,T=c,P=C,S=C,$=B.apply(this,arguments)/2,j=$>y&&(D?+D.apply(this,arguments):K(u*u+s*s)),w=_(un(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(j>y){var F=sn(j/u*q($)),L=sn(j/s*q($));(P-=F*2)>y?(F*=t?1:-1,R+=F,T-=F):(P=0,R=T=(f+c)/2),(S-=L*2)>y?(L*=t?1:-1,m+=L,g-=L):(S=0,m=g=(f+c)/2)}var H=s*G(m),J=s*q(m),M=u*G(T),N=u*q(T);if(w>y){var Q=s*G(g),U=s*q(g),W=u*G(R),X=u*q(R),E;if(Cy?x>y?(e=V(W,X,H,J,s,x,t),r=V(Q,U,M,N,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),xy)||!(P>y)?a.lineTo(M,N):p>y?(e=V(M,N,Q,U,u,-p,t),r=V(H,J,W,X,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),pr*r+F*F&&($=w,j=p),{cx:$,cy:j,x01:-n,y01:-d,x11:$*(v/T-1),y11:j*(v/T-1)}}function hn(){var l=cn,h=yn,I=z(0),D=null,v=gn,A=dn,B=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=A.apply(this,arguments)-an,C=un(c-f),t=c>f;if(a||(a=n=O()),sy))a.moveTo(0,0);else if(C>tn-y)a.moveTo(s*G(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*G(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,R=f,T=c,P=C,S=C,$=B.apply(this,arguments)/2,j=$>y&&(D?+D.apply(this,arguments):K(u*u+s*s)),w=_(un(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(j>y){var F=sn(j/u*q($)),L=sn(j/s*q($));(P-=F*2)>y?(F*=t?1:-1,R+=F,T-=F):(P=0,R=T=(f+c)/2),(S-=L*2)>y?(L*=t?1:-1,m+=L,g-=L):(S=0,m=g=(f+c)/2)}var H=s*G(m),J=s*q(m),M=u*G(T),N=u*q(T);if(w>y){var Q=s*G(g),U=s*q(g),W=u*G(R),X=u*q(R),E;if(Cy?x>y?(e=V(W,X,H,J,s,x,t),r=V(Q,U,M,N,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),xy)||!(P>y)?a.lineTo(M,N):p>y?(e=V(M,N,Q,U,u,-p,t),r=V(H,J,W,X,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),ph?(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(h+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(o+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>o?(this.rect.y-=(this.labelHeight-o)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(o+this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(t){var h=this.rect.x;h>r.WORLD_BOUNDARY?h=r.WORLD_BOUNDARY:h<-r.WORLD_BOUNDARY&&(h=-r.WORLD_BOUNDARY);var o=this.rect.y;o>r.WORLD_BOUNDARY?o=r.WORLD_BOUNDARY:o<-r.WORLD_BOUNDARY&&(o=-r.WORLD_BOUNDARY);var c=new f(h,o),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},C.exports=a},function(C,G,N){var g=N(0);function s(){}for(var i in g)s[i]=g[i];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,C.exports=s},function(C,G,N){function g(s,i){s==null&&i==null?(this.x=0,this.y=0):(this.x=s,this.y=i)}g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(s){this.x=s},g.prototype.setY=function(s){this.y=s},g.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(0),r=N(7),e=N(3),f=N(1),a=N(13),y=N(12),t=N(11);function h(c,l,T){g.call(this,T),this.estimatedSize=s.MIN_VALUE,this.margin=i.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof r?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}h.prototype=Object.create(g.prototype);for(var o in g)h[o]=g[o];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(c,l,T){if(l==null&&T==null){var u=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var v=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(v.source=l,v.target=T,v.isInterGraph=!1,this.getEdges().push(v),l.edges.push(v),T!=l&&T.edges.push(v),v)}},h.prototype.remove=function(c){var l=c;if(c instanceof e){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),u,v=T.length,L=0;L-1&&P>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(A,1),u.target!=u.source&&u.target.edges.splice(P,1);var F=u.source.owner.getEdges().indexOf(u);if(F==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(F,1)}},h.prototype.updateLeftTop=function(){for(var c=s.MAX_VALUE,l=s.MAX_VALUE,T,u,v,L=this.getNodes(),F=L.length,A=0;AT&&(c=T),l>u&&(l=u)}return c==s.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?v=L[0].getParent().paddingLeft:v=this.margin,this.left=l-v,this.top=c-v,new y(this.left,this.top))},h.prototype.updateBounds=function(c){for(var l=s.MAX_VALUE,T=-s.MAX_VALUE,u=s.MAX_VALUE,v=-s.MAX_VALUE,L,F,A,P,J,V=this.nodes,Q=V.length,D=0;DL&&(l=L),TA&&(u=A),vL&&(l=L),TA&&(u=A),v=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},C.exports=h},function(C,G,N){var g,s=N(1);function i(r){g=N(6),this.layout=r,this.graphs=[],this.edges=[]}i.prototype.addRoot=function(){var r=this.layout.newGraph(),e=this.layout.newNode(null),f=this.add(r,e);return this.setRootGraph(f),this.rootGraph},i.prototype.add=function(r,e,f,a,y){if(f==null&&a==null&&y==null){if(r==null)throw"Graph is null!";if(e==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(e.child!=null)throw"Already has a child!";return r.parent=e,e.child=r,r}else{y=f,a=e,f=r;var t=a.getOwner(),h=y.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==h)return f.isInterGraph=!1,t.add(f,a,y);if(f.isInterGraph=!0,f.source=a,f.target=y,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},i.prototype.remove=function(r){if(r instanceof g){var e=r;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(e==this.rootGraph||e.parent!=null&&e.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(e.getEdges());for(var a,y=f.length,t=0;t=r.getRight()?e[0]+=Math.min(r.getX()-i.getX(),i.getRight()-r.getRight()):r.getX()<=i.getX()&&r.getRight()>=i.getRight()&&(e[0]+=Math.min(i.getX()-r.getX(),r.getRight()-i.getRight())),i.getY()<=r.getY()&&i.getBottom()>=r.getBottom()?e[1]+=Math.min(r.getY()-i.getY(),i.getBottom()-r.getBottom()):r.getY()<=i.getY()&&r.getBottom()>=i.getBottom()&&(e[1]+=Math.min(i.getY()-r.getY(),r.getBottom()-i.getBottom()));var y=Math.abs((r.getCenterY()-i.getCenterY())/(r.getCenterX()-i.getCenterX()));r.getCenterY()===i.getCenterY()&&r.getCenterX()===i.getCenterX()&&(y=1);var t=y*e[0],h=e[1]/y;e[0]t)return e[0]=f,e[1]=o,e[2]=y,e[3]=V,!1;if(ay)return e[0]=h,e[1]=a,e[2]=P,e[3]=t,!1;if(fy?(e[0]=l,e[1]=T,n=!0):(e[0]=c,e[1]=o,n=!0):d===p&&(f>y?(e[0]=h,e[1]=o,n=!0):(e[0]=u,e[1]=T,n=!0)),-E===p?y>f?(e[2]=J,e[3]=V,m=!0):(e[2]=P,e[3]=A,m=!0):E===p&&(y>f?(e[2]=F,e[3]=A,m=!0):(e[2]=Q,e[3]=V,m=!0)),n&&m)return!1;if(f>y?a>t?(I=this.getCardinalDirection(d,p,4),w=this.getCardinalDirection(E,p,2)):(I=this.getCardinalDirection(-d,p,3),w=this.getCardinalDirection(-E,p,1)):a>t?(I=this.getCardinalDirection(-d,p,1),w=this.getCardinalDirection(-E,p,3)):(I=this.getCardinalDirection(d,p,2),w=this.getCardinalDirection(E,p,4)),!n)switch(I){case 1:H=o,R=f+-L/p,e[0]=R,e[1]=H;break;case 2:R=u,H=a+v*p,e[0]=R,e[1]=H;break;case 3:H=T,R=f+L/p,e[0]=R,e[1]=H;break;case 4:R=l,H=a+-v*p,e[0]=R,e[1]=H;break}if(!m)switch(w){case 1:k=A,x=y+-rt/p,e[2]=x,e[3]=k;break;case 2:x=Q,k=t+D*p,e[2]=x,e[3]=k;break;case 3:k=V,x=y+rt/p,e[2]=x,e[3]=k;break;case 4:x=J,k=t+-D*p,e[2]=x,e[3]=k;break}}return!1},s.getCardinalDirection=function(i,r,e){return i>r?e:1+e%4},s.getIntersection=function(i,r,e,f){if(f==null)return this.getIntersection2(i,r,e);var a=i.x,y=i.y,t=r.x,h=r.y,o=e.x,c=e.y,l=f.x,T=f.y,u=void 0,v=void 0,L=void 0,F=void 0,A=void 0,P=void 0,J=void 0,V=void 0,Q=void 0;return L=h-y,A=a-t,J=t*y-a*h,F=T-c,P=o-l,V=l*c-o*T,Q=L*P-F*A,Q===0?null:(u=(A*V-P*J)/Q,v=(F*J-L*V)/Q,new g(u,v))},s.angleOfVector=function(i,r,e,f){var a=void 0;return i!==e?(a=Math.atan((f-r)/(e-i)),e=0){var T=(-o+Math.sqrt(o*o-4*h*c))/(2*h),u=(-o-Math.sqrt(o*o-4*h*c))/(2*h),v=null;return T>=0&&T<=1?[T]:u>=0&&u<=1?[u]:v}else return null},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,C.exports=s},function(C,G,N){function g(){}g.sign=function(s){return s>0?1:s<0?-1:0},g.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},g.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},C.exports=g},function(C,G,N){function g(){}g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,C.exports=g},function(C,G,N){var g=function(){function a(y,t){for(var h=0;h"u"?"undefined":g(i);return i==null||r!="object"&&r!="function"},C.exports=s},function(C,G,N){function g(o){if(Array.isArray(o)){for(var c=0,l=Array(o.length);c0&&c;){for(L.push(A[0]);L.length>0&&c;){var P=L[0];L.splice(0,1),v.add(P);for(var J=P.getEdges(),u=0;u-1&&A.splice(rt,1)}v=new Set,F=new Map}}return o},h.prototype.createDummyNodesForBendpoints=function(o){for(var c=[],l=o.source,T=this.graphManager.calcLowestCommonAncestor(o.source,o.target),u=0;u0){for(var T=this.edgeToDummyNodes.get(l),u=0;u=0&&c.splice(V,1);var Q=F.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),d=m-1;d==1&&P.push(n),T.set(n,d)}})}l=l.concat(P),(c.length==1||c.length==2)&&(u=!0,v=c[0])}return v},h.prototype.setGraphManager=function(o){this.graphManager=o},C.exports=h},function(C,G,N){function g(){}g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},C.exports=g},function(C,G,N){var g=N(5);function s(i,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(i){this.lworldOrgX=i},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(i){this.lworldOrgY=i},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(i){this.lworldExtX=i},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(i){this.lworldExtY=i},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(i){this.ldeviceOrgX=i},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(i){this.ldeviceOrgY=i},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(i){this.ldeviceExtX=i},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(i){this.ldeviceExtY=i},s.prototype.transformX=function(i){var r=0,e=this.lworldExtX;return e!=0&&(r=this.ldeviceOrgX+(i-this.lworldOrgX)*this.ldeviceExtX/e),r},s.prototype.transformY=function(i){var r=0,e=this.lworldExtY;return e!=0&&(r=this.ldeviceOrgY+(i-this.lworldOrgY)*this.ldeviceExtY/e),r},s.prototype.inverseTransformX=function(i){var r=0,e=this.ldeviceExtX;return e!=0&&(r=this.lworldOrgX+(i-this.ldeviceOrgX)*this.lworldExtX/e),r},s.prototype.inverseTransformY=function(i){var r=0,e=this.ldeviceExtY;return e!=0&&(r=this.lworldOrgY+(i-this.ldeviceOrgY)*this.lworldExtY/e),r},s.prototype.inverseTransformPoint=function(i){var r=new g(this.inverseTransformX(i.x),this.inverseTransformY(i.y));return r},C.exports=s},function(C,G,N){function g(t){if(Array.isArray(t)){for(var h=0,o=Array(t.length);hi.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),h,o=0;o0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o,c,l,T,u=this.getAllNodes(),v;if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),v=new Set,o=0;oL||v>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=h.getEstimatedSize()*this.compoundGravityRangeFactor,(u>L||v>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},a.prototype.isConverged=function(){var t,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=u.length||L>=u[0].length)){for(var F=0;Fa}}]),e}();C.exports=r},function(C,G,N){function g(){}g.svd=function(s){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=s.length,this.n=s[0].length;var i=Math.min(this.m,this.n);this.s=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(Math.min(this.m+1,this.n)),this.U=function(Nt){var At=function Zt(Gt){if(Gt.length==0)return 0;for(var $t=[],Ft=0;Ft0;)At.push(0);return At}(this.n),e=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(this.m),f=!0,a=Math.min(this.m-1,this.n),y=Math.max(0,Math.min(this.n-2,this.m)),t=0;t=0;E--)if(this.s[E]!==0){for(var p=E+1;p=0;W--){if(function(Nt,At){return Nt&&At}(W0;){var q=void 0,Rt=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(r[q])<=lt+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){r[q]=0;break}if(q===n-2)Rt=4;else{var Lt=void 0;for(Lt=n-1;Lt>=q&&Lt!==q;Lt--){var dt=(Lt!==n?Math.abs(r[Lt]):0)+(Lt!==q+1?Math.abs(r[Lt-1]):0);if(Math.abs(this.s[Lt])<=lt+_*dt){this.s[Lt]=0;break}}Lt===q?Rt=3:Lt===n-1?Rt=1:(Rt=2,q=Lt)}switch(q++,Rt){case 1:{var it=r[n-2];r[n-2]=0;for(var ut=n-2;ut>=q;ut--){var Tt=g.hypot(this.s[ut],it),Ct=this.s[ut]/Tt,Dt=it/Tt;this.s[ut]=Tt,ut!==q&&(it=-Dt*r[ut-1],r[ut-1]=Ct*r[ut-1]);for(var mt=0;mt=this.s[q+1]);){var Mt=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Mt,qMath.abs(i)?(r=i/s,r=Math.abs(s)*Math.sqrt(1+r*r)):i!=0?(r=s/i,r=Math.abs(i)*Math.sqrt(1+r*r)):r=0,r},C.exports=g},function(C,G,N){var g=function(){function r(e,f){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,r),this.sequence1=e,this.sequence2=f,this.match_score=a,this.mismatch_penalty=y,this.gap_penalty=t,this.iMax=e.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;e--){var f=this.listeners[e];f.event===i&&f.callback===r&&this.listeners.splice(e,1)}},s.emit=function(i,r){for(var e=0;e{var G={45:(i,r,e)=>{var f={};f.layoutBase=e(551),f.CoSEConstants=e(806),f.CoSEEdge=e(767),f.CoSEGraph=e(880),f.CoSEGraphManager=e(578),f.CoSELayout=e(765),f.CoSENode=e(991),f.ConstraintHandler=e(902),i.exports=f},806:(i,r,e)=>{var f=e(551).FDLayoutConstants;function a(){}for(var y in f)a[y]=f[y];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,a.ENFORCE_CONSTRAINTS=!0,a.APPLY_LAYOUT=!0,a.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,a.TREE_REDUCTION_ON_INCREMENTAL=!0,a.PURE_INCREMENTAL=a.DEFAULT_INCREMENTAL,i.exports=a},767:(i,r,e)=>{var f=e(551).FDLayoutEdge;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},880:(i,r,e)=>{var f=e(551).LGraph;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},578:(i,r,e)=>{var f=e(551).LGraphManager;function a(t){f.call(this,t)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},765:(i,r,e)=>{var f=e(551).FDLayout,a=e(578),y=e(880),t=e(991),h=e(767),o=e(806),c=e(902),l=e(551).FDLayoutConstants,T=e(551).LayoutConstants,u=e(551).Point,v=e(551).PointD,L=e(551).DimensionD,F=e(551).Layout,A=e(551).Integer,P=e(551).IGeometry,J=e(551).LGraph,V=e(551).Transform,Q=e(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new a(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new y(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new h(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(o.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(o.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(I){return m.has(I)});this.graphManager.setAllNodesToApplyGravitation(d)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(d),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),o.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(p){return n.has(p)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var d=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(d,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},d=0;d0&&this.updateDisplacements();for(var d=0;d0&&(E.fixedNodeWeight=I)}}if(this.constraints.relativePlacementConstraint){var w=new Map,R=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(O){n.fixedNodesOnHorizontal.add(O),n.fixedNodesOnVertical.add(O)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var H=this.constraints.alignmentConstraint.vertical,d=0;d=2*O.length/3;_--)X=Math.floor(Math.random()*(_+1)),B=O[_],O[_]=O[X],O[X]=B;return O},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;n.nodesInRelativeHorizontal.includes(X)||(n.nodesInRelativeHorizontal.push(X),n.nodeToRelativeConstraintMapHorizontal.set(X,[]),n.dummyToNodeForVerticalAlignment.has(X)?n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(X)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(X).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(X).push({right:B,gap:O.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:X,gap:O.gap})}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(lt)||(n.nodesInRelativeVertical.push(lt),n.nodeToRelativeConstraintMapVertical.set(lt,[]),n.dummyToNodeForHorizontalAlignment.has(lt)?n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(lt)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(lt).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:lt,gap:O.gap}),n.nodeToRelativeConstraintMapVertical.get(lt).push({top:_,gap:O.gap})}});else{var k=new Map,W=new Map;this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;k.has(X)?k.get(X).push(B):k.set(X,[B]),k.has(B)?k.get(B).push(X):k.set(B,[X])}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;W.has(_)?W.get(_).push(lt):W.set(_,[lt]),W.has(lt)?W.get(lt).push(_):W.set(lt,[_])}});var U=function(X,B){var _=[],lt=[],q=new Q,Rt=new Set,Lt=0;return X.forEach(function(dt,it){if(!Rt.has(it)){_[Lt]=[],lt[Lt]=!1;var ut=it;for(q.push(ut),Rt.add(ut),_[Lt].push(ut);q.length!=0;){ut=q.shift(),B.has(ut)&&(lt[Lt]=!0);var Tt=X.get(ut);Tt.forEach(function(Ct){Rt.has(Ct)||(q.push(Ct),Rt.add(Ct),_[Lt].push(Ct))})}Lt++}}),{components:_,isFixed:lt}},et=U(k,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=U(W,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var O=n.idToNodeMap.get(z.nodeId);O.displacementX=0,O.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,d=0;d1){var R;for(R=0;RE&&(E=Math.floor(w.y)),I=Math.floor(w.x+o.DEFAULT_COMPONENT_SEPERATION)}this.transform(new v(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,d){var E=Math.max(this.maxDiagonalInTree(n),o.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var p=J.calculateBounds(n),I=new V;I.setDeviceOrgX(p.getMinX()),I.setDeviceOrgY(p.getMinY()),I.setWorldOrgX(d.x),I.setWorldOrgY(d.y);for(var w=0;w1;){var B=X[0];X.splice(0,1);var _=W.indexOf(B);_>=0&&W.splice(_,1),z--,U--}m!=null?O=(W.indexOf(X[0])+1)%z:O=0;for(var lt=Math.abs(E-d)/U,q=O;et!=U;q=++q%z){var Rt=W[q].getOtherEnd(n);if(Rt!=m){var Lt=(d+et*lt)%360,dt=(Lt+lt)%360;D.branchRadialLayout(Rt,n,Lt,dt,p+I,I),et++}}},D.maxDiagonalInTree=function(n){for(var m=A.MIN_VALUE,d=0;dm&&(m=p)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var d=[],E=this.graphManager.getAllNodes(),p=0;p"u"&&(m[R]=[]),m[R]=m[R].concat(I)}Object.keys(m).forEach(function(H){if(m[H].length>1){var x="DummyCompound_"+H;n.memberGroups[x]=m[H];var k=m[H][0].getParent(),W=new t(n.graphManager);W.id=x,W.paddingLeft=k.paddingLeft||0,W.paddingRight=k.paddingRight||0,W.paddingBottom=k.paddingBottom||0,W.paddingTop=k.paddingTop||0,n.idToDummyNode[x]=W;var U=n.getGraphManager().add(n.newGraph(),W),et=k.getChild();et.add(W);for(var z=0;zp?(E.rect.x-=(E.labelWidth-p)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-p)/2):E.labelPosHorizontal=="right"&&E.setWidth(p+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(I+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>I?(E.rect.y-=(E.labelHeight-I)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-I)/2):E.labelPosVertical=="bottom"&&E.setHeight(I+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],d=m.id,E=m.paddingLeft,p=m.paddingTop,I=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[d],m.rect.x,m.rect.y,E,p,I,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(d){var E=n.idToDummyNode[d],p=E.paddingLeft,I=E.paddingTop,w=E.labelMarginLeft,R=E.labelMarginTop;n.adjustLocations(m[d],E.rect.x,E.rect.y,p,I,w,R)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var d=n.getChild();if(d==null)return this.toBeTiled[m]=!1,!1;for(var E=d.getNodes(),p=0;p0)return this.toBeTiled[m]=!1,!1;if(I.getChild()==null){this.toBeTiled[I.id]=!1;continue}if(!this.getToBeTiled(I))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),d=0,E=0;Ek&&(k=U.rect.height)}d+=k+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var d=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var p=m[E];if(d.tiledMemberPack[E]=d.tileNodes(n[E],p.paddingLeft+p.paddingRight),p.rect.width=d.tiledMemberPack[E].width,p.rect.height=d.tiledMemberPack[E].height,p.setCenter(d.tiledMemberPack[E].centerX,d.tiledMemberPack[E].centerY),p.labelMarginLeft=0,p.labelMarginTop=0,o.NODE_DIMENSIONS_INCLUDE_LABELS){var I=p.rect.width,w=p.rect.height;p.labelWidth&&(p.labelPosHorizontal=="left"?(p.rect.x-=p.labelWidth,p.setWidth(I+p.labelWidth),p.labelMarginLeft=p.labelWidth):p.labelPosHorizontal=="center"&&p.labelWidth>I?(p.rect.x-=(p.labelWidth-I)/2,p.setWidth(p.labelWidth),p.labelMarginLeft=(p.labelWidth-I)/2):p.labelPosHorizontal=="right"&&p.setWidth(I+p.labelWidth)),p.labelHeight&&(p.labelPosVertical=="top"?(p.rect.y-=p.labelHeight,p.setHeight(w+p.labelHeight),p.labelMarginTop=p.labelHeight):p.labelPosVertical=="center"&&p.labelHeight>w?(p.rect.y-=(p.labelHeight-w)/2,p.setHeight(p.labelHeight),p.labelMarginTop=(p.labelHeight-w)/2):p.labelPosVertical=="bottom"&&p.setHeight(w+p.labelHeight))}})},D.prototype.tileNodes=function(n,m){var d=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),p=this.getOrgRatio(d),I=this.getOrgRatio(E),w;return IR&&(R=z.getWidth())});var H=I/p,x=w/p,k=Math.pow(d-E,2)+4*(H+E)*(x+d)*p,W=(E-d+Math.sqrt(k))/(2*(H+E)),U;m?(U=Math.ceil(W),U==W&&U++):U=Math.floor(W);var et=U*(H+E)-E;return R>et&&(et=R),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,d){var E=o.TILING_PADDING_VERTICAL,p=o.TILING_PADDING_HORIZONTAL,I=o.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:p,centerX:0,centerY:0};I&&(w.idealRowWidth=this.calcIdealRowWidth(n,d));var R=function(O){return O.rect.width*O.rect.height},H=function(O,X){return R(X)-R(O)};n.sort(function(z,O){var X=H;return w.idealRowWidth?(X=I,X(z.id,O.id)):X(z,O)});for(var x=0,k=0,W=0;W0&&(w+=n.horizontalPadding),n.rowWidth[d]=w,n.width0&&(R+=n.verticalPadding);var H=0;R>n.rowHeight[d]&&(H=n.rowHeight[d],n.rowHeight[d]=R,H=n.rowHeight[d]-H),n.height+=H,n.rows[d].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,d=Number.MAX_VALUE,E=0;Ed&&(m=E,d=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,d){if(n.idealRowWidth){var E=n.rows.length-1,p=n.rowWidth[E];return p+m+n.horizontalPadding<=n.idealRowWidth}var I=this.getShortestRowIndex(n);if(I<0)return!0;var w=n.rowWidth[I];if(w+n.horizontalPadding+m<=n.width)return!0;var R=0;n.rowHeight[I]0&&(R=d+n.verticalPadding-n.rowHeight[I]);var H;n.width-w>=m+n.horizontalPadding?H=(n.height+R)/(w+m+n.horizontalPadding):H=(n.height+R)/n.width,R=d+n.verticalPadding;var x;return n.widthI&&m!=d){E.splice(-1,1),n.rows[d].push(p),n.rowWidth[m]=n.rowWidth[m]-I,n.rowWidth[d]=n.rowWidth[d]+I,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,R=0;Rw&&(w=E[R].height);m>0&&(w+=n.verticalPadding);var H=n.rowHeight[m]+n.rowHeight[d];n.rowHeight[m]=w,n.rowHeight[d]0)for(var et=p;et<=I;et++)U[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(I0)for(var et=w;et<=R;et++)U[3]+=this.grid[p-1][et].length+this.grid[p][et].length-1;for(var z=A.MAX_VALUE,O,X,B=0;B{var f=e(551).FDLayoutNode,a=e(551).IMath;function y(h,o,c,l){f.call(this,h,o,c,l)}y.prototype=Object.create(f.prototype);for(var t in f)y[t]=f[t];y.prototype.calculateDisplacement=function(){var h=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},y.prototype.propogateDisplacementToChildren=function(h,o){for(var c=this.getChild().getNodes(),l,T=0;T{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l0){var Mt=0;st.forEach(function(ht){$=="horizontal"?(tt.set(ht,u.has(ht)?v[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht)):(tt.set(ht,u.has(ht)?L[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht))}),Mt=Mt/st.length,ft.forEach(function(ht){K.has(ht)||tt.set(ht,Mt)})}else{var ct=0;ft.forEach(function(ht){$=="horizontal"?ct+=u.has(ht)?v[u.get(ht)]:Z.get(ht):ct+=u.has(ht)?L[u.get(ht)]:Z.get(ht)}),ct=ct/ft.length,ft.forEach(function(ht){tt.set(ht,ct)})}});for(var wt=function(){var st=vt.shift(),Mt=b.get(st);Mt.forEach(function(ct){if(tt.get(ct.id)ht&&(ht=qt),_tWt&&(Wt=_t)}}catch(ie){At=!0,Zt=ie}finally{try{!Nt&&Gt.return&&Gt.return()}finally{if(At)throw Zt}}var ce=(Mt+ht)/2-(ct+Wt)/2,Kt=!0,te=!1,ee=void 0;try{for(var jt=ft[Symbol.iterator](),se;!(Kt=(se=jt.next()).done);Kt=!0){var re=se.value;tt.set(re,tt.get(re)+ce)}}catch(ie){te=!0,ee=ie}finally{try{!Kt&&jt.return&&jt.return()}finally{if(te)throw ee}}})}return tt},rt=function(b){var $=0,K=0,Z=0,at=0;if(b.forEach(function(j){j.left?v[u.get(j.left)]-v[u.get(j.right)]>=0?$++:K++:L[u.get(j.top)]-L[u.get(j.bottom)]>=0?Z++:at++}),$>K&&Z>at)for(var gt=0;gtK)for(var ot=0;otat)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(S,b){E[b]=[S.position.x,S.position.y],p[b]=[v[u.get(S.nodeId)],L[u.get(S.nodeId)]]}),I=!0;else if(l.alignmentConstraint)(function(){var S=0;if(l.alignmentConstraint.vertical){for(var b=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;b[tt].forEach(function(yt){j.add(yt)});var vt=new Set([].concat(f(j)).filter(function(yt){return R.has(yt)})),wt=void 0;vt.size>0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).x,b[tt].forEach(function(yt){E[S]=[wt,L[u.get(yt)]],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},K=0;K0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).y,Z[tt].forEach(function(yt){E[S]=[v[u.get(yt)],wt],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},gt=0;gtW&&(W=k[et].length,U=et);if(W0){var mt={x:0,y:0};l.fixedNodeConstraint.forEach(function(S,b){var $={x:v[u.get(S.nodeId)],y:L[u.get(S.nodeId)]},K=S.position,Z=V(K,$);mt.x+=Z.x,mt.y+=Z.y}),mt.x/=l.fixedNodeConstraint.length,mt.y/=l.fixedNodeConstraint.length,v.forEach(function(S,b){v[b]+=mt.x}),L.forEach(function(S,b){L[b]+=mt.y}),l.fixedNodeConstraint.forEach(function(S){v[u.get(S.nodeId)]=S.position.x,L[u.get(S.nodeId)]=S.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var xt=l.alignmentConstraint.vertical,St=function(b){var $=new Set;xt[b].forEach(function(at){$.add(at)});var K=new Set([].concat(f($)).filter(function(at){return R.has(at)})),Z=void 0;K.size>0?Z=v[u.get(K.values().next().value)]:Z=Q($).x,$.forEach(function(at){R.has(at)||(v[u.get(at)]=Z)})},Vt=0;Vt0?Z=L[u.get(K.values().next().value)]:Z=Q($).y,$.forEach(function(at){R.has(at)||(L[u.get(at)]=Z)})},bt=0;bt{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(45);return s})()})}(pe)),pe.exports}(function(M,Y){(function(G,N){M.exports=N(cr())})(Te,function(C){return(()=>{var G={658:i=>{i.exports=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments.length,f=Array(e>1?e-1:0),a=1;a{var f=function(){function t(h,o){var c=[],l=!0,T=!1,u=void 0;try{for(var v=h[Symbol.iterator](),L;!(l=(L=v.next()).done)&&(c.push(L.value),!(o&&c.length===o));l=!0);}catch(F){T=!0,u=F}finally{try{!l&&v.return&&v.return()}finally{if(T)throw u}}return c}return function(h,o){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return t(h,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(t){for(var h={},o=0;o0&&I.merge(x)});for(var w=0;w1){L=u[0],F=L.connectedEdges().length,u.forEach(function(p){p.connectedEdges().length0&&c.set("dummy"+(c.size+1),J),V},y.relocateComponent=function(t,h,o){if(!o.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(o.quality=="draft"){var v=!0,L=!1,F=void 0;try{for(var A=h.nodeIndexes[Symbol.iterator](),P;!(v=(P=A.next()).done);v=!0){var J=P.value,V=f(J,2),Q=V[0],D=V[1],rt=o.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=h.xCoords[D]-n.w/2,d=h.xCoords[D]+n.w/2,E=h.yCoords[D]-n.h/2,p=h.yCoords[D]+n.h/2;ml&&(l=d),Eu&&(u=p)}}}catch(x){L=!0,F=x}finally{try{!v&&A.return&&A.return()}finally{if(L)throw F}}var I=t.x-(l+c)/2,w=t.y-(u+T)/2;h.xCoords=h.xCoords.map(function(x){return x+I}),h.yCoords=h.yCoords.map(function(x){return x+w})}else{Object.keys(h).forEach(function(x){var k=h[x],W=k.getRect().x,U=k.getRect().x+k.getRect().width,et=k.getRect().y,z=k.getRect().y+k.getRect().height;Wl&&(l=U),etu&&(u=z)});var R=t.x-(l+c)/2,H=t.y-(u+T)/2;Object.keys(h).forEach(function(x){var k=h[x];k.setCenter(k.getCenterX()+R,k.getCenterY()+H)})}}},y.calcBoundingBox=function(t,h,o,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER,L=void 0,F=void 0,A=void 0,P=void 0,J=t.descendants().not(":parent"),V=J.length,Q=0;QL&&(l=L),TA&&(u=A),v{var f=e(548),a=e(140).CoSELayout,y=e(140).CoSENode,t=e(140).layoutBase.PointD,h=e(140).layoutBase.DimensionD,o=e(140).layoutBase.LayoutConstants,c=e(140).layoutBase.FDLayoutConstants,l=e(140).CoSEConstants,T=function(v,L){var F=v.cy,A=v.eles,P=A.nodes(),J=A.edges(),V=void 0,Q=void 0,D=void 0,rt={};v.randomize&&(V=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,k){return n(x)?x(k):x},d=f.calcParentsWithoutChildren(F,A),E=function H(x,k,W,U){for(var et=k.length,z=0;z0){var q=void 0;q=W.getGraphManager().add(W.newGraph(),B),H(q,X,W,U)}}},p=function(x,k,W){for(var U=0,et=0,z=0;z0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=U/et:n(v.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=v.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},I=function(x,k){k.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(x.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=k.relativePlacementConstraint)};v.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=v.nestingFactor),v.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=v.gravity),v.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=v.numIter),v.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=v.gravityRange),v.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=v.gravityCompound),v.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=v.gravityRangeCompound),v.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=v.initialEnergyOnIncremental),v.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=v.tilingCompareBy),v.quality=="proof"?o.QUALITY=2:o.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=v.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!v.randomize,l.ANIMATE=c.ANIMATE=o.ANIMATE=v.animate,l.TILE=v.tile,l.TILING_PADDING_VERTICAL=typeof v.tilingPaddingVertical=="function"?v.tilingPaddingVertical.call():v.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof v.tilingPaddingHorizontal=="function"?v.tilingPaddingHorizontal.call():v.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!v.randomize,o.DEFAULT_UNIFORM_LEAF_NODE_SIZES=v.uniformNodeDimensions,v.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),v.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),v.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),v.step=="all"&&(v.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),v.fixedNodeConstraint||v.alignmentConstraint||v.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new a,R=w.newGraphManager();return E(R.addRoot(),f.getTopMostNodes(P),w,v),p(w,R,J),I(w,v),w.runLayout(),rt};i.exports={coseLayout:T}},212:(i,r,e)=>{var f=function(){function v(L,F){for(var A=0;A0)if(d){var I=t.getTopMostNodes(A.eles.nodes());if(D=t.connectComponents(P,A.eles,I),D.forEach(function(dt){var it=dt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),A.randomize&&D.forEach(function(dt){A.eles=dt,V.push(o(A))}),A.quality=="default"||A.quality=="proof"){var w=P.collection();if(A.tile){var R=new Map,H=[],x=[],k=0,W={nodeIndexes:R,xCoords:H,yCoords:x},U=[];if(D.forEach(function(dt,it){dt.edges().length==0&&(dt.nodes().forEach(function(ut,Tt){w.merge(dt.nodes()[Tt]),ut.isParent()||(W.nodeIndexes.set(dt.nodes()[Tt].id(),k++),W.xCoords.push(dt.nodes()[0].position().x),W.yCoords.push(dt.nodes()[0].position().y))}),U.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),V.push(W);for(var z=U.length-1;z>=0;z--)D.splice(U[z],1),V.splice(U[z],1),rt.splice(U[z],1)}}D.forEach(function(dt,it){A.eles=dt,Q.push(l(A,V[it])),t.relocateComponent(rt[it],Q[it],A)})}else D.forEach(function(dt,it){t.relocateComponent(rt[it],V[it],A)});var O=new Set;if(D.length>1){var X=[],B=J.filter(function(dt){return dt.css("display")=="none"});D.forEach(function(dt,it){var ut=void 0;if(A.quality=="draft"&&(ut=V[it].nodeIndexes),dt.nodes().not(B).length>0){var Tt={};Tt.edges=[],Tt.nodes=[];var Ct=void 0;dt.nodes().not(B).forEach(function(Dt){if(A.quality=="draft")if(!Dt.isParent())Ct=ut.get(Dt.id()),Tt.nodes.push({x:V[it].xCoords[Ct]-Dt.boundingbox().w/2,y:V[it].yCoords[Ct]-Dt.boundingbox().h/2,width:Dt.boundingbox().w,height:Dt.boundingbox().h});else{var mt=t.calcBoundingBox(Dt,V[it].xCoords,V[it].yCoords,ut);Tt.nodes.push({x:mt.topLeftX,y:mt.topLeftY,width:mt.width,height:mt.height})}else Q[it][Dt.id()]&&Tt.nodes.push({x:Q[it][Dt.id()].getLeft(),y:Q[it][Dt.id()].getTop(),width:Q[it][Dt.id()].getWidth(),height:Q[it][Dt.id()].getHeight()})}),dt.edges().forEach(function(Dt){var mt=Dt.source(),xt=Dt.target();if(mt.css("display")!="none"&&xt.css("display")!="none")if(A.quality=="draft"){var St=ut.get(mt.id()),Vt=ut.get(xt.id()),Xt=[],Ut=[];if(mt.isParent()){var bt=t.calcBoundingBox(mt,V[it].xCoords,V[it].yCoords,ut);Xt.push(bt.topLeftX+bt.width/2),Xt.push(bt.topLeftY+bt.height/2)}else Xt.push(V[it].xCoords[St]),Xt.push(V[it].yCoords[St]);if(xt.isParent()){var Ht=t.calcBoundingBox(xt,V[it].xCoords,V[it].yCoords,ut);Ut.push(Ht.topLeftX+Ht.width/2),Ut.push(Ht.topLeftY+Ht.height/2)}else Ut.push(V[it].xCoords[Vt]),Ut.push(V[it].yCoords[Vt]);Tt.edges.push({startX:Xt[0],startY:Xt[1],endX:Ut[0],endY:Ut[1]})}else Q[it][mt.id()]&&Q[it][xt.id()]&&Tt.edges.push({startX:Q[it][mt.id()].getCenterX(),startY:Q[it][mt.id()].getCenterY(),endX:Q[it][xt.id()].getCenterX(),endY:Q[it][xt.id()].getCenterY()})}),Tt.nodes.length>0&&(X.push(Tt),O.add(it))}});var _=m.packComponents(X,A.randomize).shifts;if(A.quality=="draft")V.forEach(function(dt,it){var ut=dt.xCoords.map(function(Ct){return Ct+_[it].dx}),Tt=dt.yCoords.map(function(Ct){return Ct+_[it].dy});dt.xCoords=ut,dt.yCoords=Tt});else{var lt=0;O.forEach(function(dt){Object.keys(Q[dt]).forEach(function(it){var ut=Q[dt][it];ut.setCenter(ut.getCenterX()+_[lt].dx,ut.getCenterY()+_[lt].dy)}),lt++})}}}else{var E=A.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),A.randomize){var p=o(A);V.push(p)}A.quality=="default"||A.quality=="proof"?(Q.push(l(A,V[0])),t.relocateComponent(rt[0],Q[0],A)):t.relocateComponent(rt[0],V[0],A)}var q=function(it,ut){if(A.quality=="default"||A.quality=="proof"){typeof it=="number"&&(it=ut);var Tt=void 0,Ct=void 0,Dt=it.data("id");return Q.forEach(function(xt){Dt in xt&&(Tt={x:xt[Dt].getRect().getCenterX(),y:xt[Dt].getRect().getCenterY()},Ct=xt[Dt])}),A.nodeDimensionsIncludeLabels&&(Ct.labelWidth&&(Ct.labelPosHorizontal=="left"?Tt.x+=Ct.labelWidth/2:Ct.labelPosHorizontal=="right"&&(Tt.x-=Ct.labelWidth/2)),Ct.labelHeight&&(Ct.labelPosVertical=="top"?Tt.y+=Ct.labelHeight/2:Ct.labelPosVertical=="bottom"&&(Tt.y-=Ct.labelHeight/2))),Tt==null&&(Tt={x:it.position("x"),y:it.position("y")}),{x:Tt.x,y:Tt.y}}else{var mt=void 0;return V.forEach(function(xt){var St=xt.nodeIndexes.get(it.id());St!=null&&(mt={x:xt.xCoords[St],y:xt.yCoords[St]})}),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}};if(A.quality=="default"||A.quality=="proof"||A.randomize){var Rt=t.calcParentsWithoutChildren(P,J),Lt=J.filter(function(dt){return dt.css("display")=="none"});A.eles=J.not(Lt),J.nodes().not(":parent").not(Lt).layoutPositions(F,A,q),Rt.length>0&&Rt.forEach(function(dt){dt.position(q(dt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),v}();i.exports=u},657:(i,r,e)=>{var f=e(548),a=e(140).layoutBase.Matrix,y=e(140).layoutBase.SVD,t=function(o){var c=o.cy,l=o.eles,T=l.nodes(),u=l.nodes(":parent"),v=new Map,L=new Map,F=new Map,A=[],P=[],J=[],V=[],Q=[],D=[],rt=[],n=[],m=void 0,d=1e8,E=1e-9,p=o.piTol,I=o.samplingType,w=o.nodeSeparation,R=void 0,H=function(){for(var b=0,$=0,K=!1;$=at;){ot=Z[at++];for(var It=A[ot],ft=0;ftvt&&(vt=Q[Mt],wt=Mt)}return wt},k=function(b){var $=void 0;if(b){$=Math.floor(Math.random()*m);for(var Z=0;Z=1)break;j=tt}for(var yt=0;yt=1)break;j=tt}for(var ft=0;ft0&&($.isParent()?A[b].push(F.get($.id())):A[b].push($.id()))})});var Lt=function(b){var $=L.get(b),K=void 0;v.get(b).forEach(function(Z){c.getElementById(Z).isParent()?K=F.get(Z):K=Z,A[$].push(K),A[L.get(K)].push(b)})},dt=!0,it=!1,ut=void 0;try{for(var Tt=v.keys()[Symbol.iterator](),Ct;!(dt=(Ct=Tt.next()).done);dt=!0){var Dt=Ct.value;Lt(Dt)}}catch(S){it=!0,ut=S}finally{try{!dt&&Tt.return&&Tt.return()}finally{if(it)throw ut}}m=L.size;var mt=void 0;if(m>2){R=m{var f=e(212),a=function(t){t&&t("layout","fcose",f)};typeof cytoscape<"u"&&a(cytoscape),i.exports=a},140:i=>{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(579);return s})()})})(be);var gr=be.exports;const ur=ke(gr);var xe={L:"left",R:"right",T:"top",B:"bottom"},Ie={L:nt(M=>`${M},${M/2} 0,${M} 0,0`,"L"),R:nt(M=>`0,${M/2} ${M},0 ${M},${M}`,"R"),T:nt(M=>`0,0 ${M},0 ${M/2},${M}`,"T"),B:nt(M=>`${M/2},0 ${M},${M} 0,${M}`,"B")},he={L:nt((M,Y)=>M-Y+2,"L"),R:nt((M,Y)=>M-2,"R"),T:nt((M,Y)=>M-Y+2,"T"),B:nt((M,Y)=>M-2,"B")},vr=nt(function(M){return zt(M)?M==="L"?"R":"L":M==="T"?"B":"T"},"getOppositeArchitectureDirection"),Re=nt(function(M){const Y=M;return Y==="L"||Y==="R"||Y==="T"||Y==="B"},"isArchitectureDirection"),zt=nt(function(M){const Y=M;return Y==="L"||Y==="R"},"isArchitectureDirectionX"),Qt=nt(function(M){const Y=M;return Y==="T"||Y==="B"},"isArchitectureDirectionY"),Pe=nt(function(M,Y){const C=zt(M)&&Qt(Y),G=Qt(M)&&zt(Y);return C||G},"isArchitectureDirectionXY"),dr=nt(function(M){const Y=M[0],C=M[1],G=zt(Y)&&Qt(C),N=Qt(Y)&&zt(C);return G||N},"isArchitecturePairXY"),pr=nt(function(M){return M!=="LL"&&M!=="RR"&&M!=="TT"&&M!=="BB"},"isValidArchitectureDirectionPair"),me=nt(function(M,Y){const C=`${M}${Y}`;return pr(C)?C:void 0},"getArchitectureDirectionPair"),yr=nt(function([M,Y],C){const G=C[0],N=C[1];return zt(G)?Qt(N)?[M+(G==="L"?-1:1),Y+(N==="T"?1:-1)]:[M+(G==="L"?-1:1),Y]:zt(N)?[M+(N==="L"?1:-1),Y+(G==="T"?1:-1)]:[M,Y+(G==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Er=nt(function(M){return M==="LT"||M==="TL"?[1,1]:M==="BL"||M==="LB"?[1,-1]:M==="BR"||M==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),mr=nt(function(M){return M.type==="service"},"isArchitectureService"),Tr=nt(function(M){return M.type==="junction"},"isArchitectureJunction"),Ge=nt(M=>M.data(),"edgeData"),ne=nt(M=>M.data(),"nodeData"),Ue=qe.architecture,pt=new hr(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Ue,dataStructures:void 0,elements:{}})),Nr=nt(()=>{pt.reset(),ar()},"clear"),Lr=nt(function({id:M,icon:Y,in:C,title:G,iconText:N}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The service id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The service [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The service [${M}]'s parent does not exist. Please make sure the parent is created before this service`);if(pt.records.registeredIds[C]==="node")throw new Error(`The service [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"service",icon:Y,iconText:N,title:G,edges:[],in:C}},"addService"),Mr=nt(()=>Object.values(pt.records.nodes).filter(mr),"getServices"),Ar=nt(function({id:M,in:Y}){pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"junction",edges:[],in:Y}},"addJunction"),Cr=nt(()=>Object.values(pt.records.nodes).filter(Tr),"getJunctions"),wr=nt(()=>Object.values(pt.records.nodes),"getNodes"),Or=nt(M=>pt.records.nodes[M],"getNode"),Dr=nt(function({id:M,icon:Y,in:C,title:G}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The group id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The group [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The group [${M}]'s parent does not exist. Please make sure the parent is created before this group`);if(pt.records.registeredIds[C]==="node")throw new Error(`The group [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="group",pt.records.groups[M]={id:M,icon:Y,title:G,in:C}},"addGroup"),xr=nt(()=>Object.values(pt.records.groups),"getGroups"),Ir=nt(function({lhsId:M,rhsId:Y,lhsDir:C,rhsDir:G,lhsInto:N,rhsInto:g,lhsGroup:s,rhsGroup:i,title:r}){if(!Re(C))throw new Error(`Invalid direction given for left hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${C}`);if(!Re(G))throw new Error(`Invalid direction given for right hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${G}`);if(pt.records.nodes[M]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The left-hand id [${M}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(pt.records.nodes[Y]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The right-hand id [${Y}] does not yet exist. Please create the service/group before declaring an edge to it.`);const e=pt.records.nodes[M].in,f=pt.records.nodes[Y].in;if(s&&e&&f&&e==f)throw new Error(`The left-hand id [${M}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(i&&e&&f&&e==f)throw new Error(`The right-hand id [${Y}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const a={lhsId:M,lhsDir:C,lhsInto:N,lhsGroup:s,rhsId:Y,rhsDir:G,rhsInto:g,rhsGroup:i,title:r};pt.records.edges.push(a),pt.records.nodes[M]&&pt.records.nodes[Y]&&(pt.records.nodes[M].edges.push(pt.records.edges[pt.records.edges.length-1]),pt.records.nodes[Y].edges.push(pt.records.edges[pt.records.edges.length-1]))},"addEdge"),Rr=nt(()=>pt.records.edges,"getEdges"),Sr=nt(()=>{if(pt.records.dataStructures===void 0){const M=Object.entries(pt.records.nodes).reduce((s,[i,r])=>(s[i]=r.edges.reduce((e,f)=>{if(f.lhsId===i){const a=me(f.lhsDir,f.rhsDir);a&&(e[a]=f.rhsId)}else{const a=me(f.rhsDir,f.lhsDir);a&&(e[a]=f.lhsId)}return e},{}),s),{}),Y=Object.keys(M)[0],C={[Y]:1},G=Object.keys(M).reduce((s,i)=>i===Y?s:{...s,[i]:1},{}),N=nt(s=>{const i={[s]:[0,0]},r=[s];for(;r.length>0;){const e=r.shift();if(e){C[e]=1,delete G[e];const f=M[e],[a,y]=i[e];Object.entries(f).forEach(([t,h])=>{C[h]||(i[h]=yr([a,y],t),r.push(h))})}}return i},"BFS"),g=[N(Y)];for(;Object.keys(G).length>0;)g.push(N(Object.keys(G)[0]));pt.records.dataStructures={adjList:M,spatialMaps:g}}return pt.records.dataStructures},"getDataStructures"),Fr=nt((M,Y)=>{pt.records.elements[M]=Y},"setElementForId"),br=nt(M=>pt.records.elements[M],"getElementById"),le={clear:Nr,setDiagramTitle:Ke,getDiagramTitle:je,setAccTitle:_e,getAccTitle:tr,setAccDescription:er,getAccDescription:rr,addService:Lr,getServices:Mr,addJunction:Ar,getJunctions:Cr,getNodes:wr,getNode:Or,addGroup:Dr,getGroups:xr,addEdge:Ir,getEdges:Rr,setElementForId:Fr,getElementById:br,getDataStructures:Sr};function Pt(M){const Y=fe().architecture;return Y!=null&&Y[M]?Y[M]:Ue[M]}nt(Pt,"getConfigField");var Pr=nt((M,Y)=>{sr(M,Y),M.groups.map(Y.addGroup),M.services.map(C=>Y.addService({...C,type:"service"})),M.junctions.map(C=>Y.addJunction({...C,type:"junction"})),M.edges.map(Y.addEdge)},"populateDb"),Gr={parse:nt(async M=>{const Y=await lr("architecture",M);Se.debug(Y),Pr(Y,le)},"parse")},Ur=nt(M=>` +import{aH as Te,aI as ke,B as qe,_ as nt,aJ as Je,aK as Qe,p as Ke,q as je,s as _e,g as tr,c as er,b as rr,d as fe,l as Se,j as ir,v as ar,G as nr,V as or,aj as Ne,aL as Ee}from"./md-index-TGP-egEp.js";import{p as sr}from"./md-chunk-TMUBEWPD-Czd4q-Vh.js";import{I as hr}from"./md-chunk-KFBOBJHC-pqV5ft4Q.js";import{p as lr}from"./md-gitGraph-YCYPL57B-DO9uQgTZ.js";import{c as Fe}from"./md-cytoscape.esm-bEGULzDv.js";import"./md-_baseUniq-Bm0iSxF4.js";import"./md-_basePickBy-D2Yv_vSZ.js";import"./md-clone-Bb0Qs8zN.js";var be={exports:{}},pe={exports:{}},ye={exports:{}},Oe;function fr(){return Oe||(Oe=1,function(M,Y){(function(G,N){M.exports=N()})(Te,function(){return function(C){var G={};function N(g){if(G[g])return G[g].exports;var s=G[g]={i:g,l:!1,exports:{}};return C[g].call(s.exports,s,s.exports,N),s.l=!0,s.exports}return N.m=C,N.c=G,N.i=function(g){return g},N.d=function(g,s,i){N.o(g,s)||Object.defineProperty(g,s,{configurable:!1,enumerable:!0,get:i})},N.n=function(g){var s=g&&g.__esModule?function(){return g.default}:function(){return g};return N.d(s,"a",s),s},N.o=function(g,s){return Object.prototype.hasOwnProperty.call(g,s)},N.p="",N(N.s=28)}([function(C,G,N){function g(){}g.QUALITY=1,g.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,g.DEFAULT_INCREMENTAL=!1,g.DEFAULT_ANIMATION_ON_LAYOUT=!0,g.DEFAULT_ANIMATION_DURING_LAYOUT=!1,g.DEFAULT_ANIMATION_PERIOD=50,g.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,g.DEFAULT_GRAPH_MARGIN=15,g.NODE_DIMENSIONS_INCLUDE_LABELS=!1,g.SIMPLE_NODE_SIZE=40,g.SIMPLE_NODE_HALF_SIZE=g.SIMPLE_NODE_SIZE/2,g.EMPTY_COMPOUND_NODE_SIZE=40,g.MIN_EDGE_LENGTH=1,g.WORLD_BOUNDARY=1e6,g.INITIAL_WORLD_BOUNDARY=g.WORLD_BOUNDARY/1e3,g.WORLD_CENTER_X=1200,g.WORLD_CENTER_Y=900,C.exports=g},function(C,G,N){var g=N(2),s=N(8),i=N(9);function r(f,a,y){g.call(this,y),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=y,this.bendpoints=[],this.source=f,this.target=a}r.prototype=Object.create(g.prototype);for(var e in g)r[e]=g[e];r.prototype.getSource=function(){return this.source},r.prototype.getTarget=function(){return this.target},r.prototype.isInterGraph=function(){return this.isInterGraph},r.prototype.getLength=function(){return this.length},r.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},r.prototype.getBendpoints=function(){return this.bendpoints},r.prototype.getLca=function(){return this.lca},r.prototype.getSourceInLca=function(){return this.sourceInLca},r.prototype.getTargetInLca=function(){return this.targetInLca},r.prototype.getOtherEnd=function(f){if(this.source===f)return this.target;if(this.target===f)return this.source;throw"Node is not incident with this edge"},r.prototype.getOtherEndInGraph=function(f,a){for(var y=this.getOtherEnd(f),t=a.getGraphManager().getRoot();;){if(y.getOwner()==a)return y;if(y.getOwner()==t)break;y=y.getOwner().getParent()}return null},r.prototype.updateLength=function(){var f=new Array(4);this.isOverlapingSourceAndTarget=s.getIntersection(this.target.getRect(),this.source.getRect(),f),this.isOverlapingSourceAndTarget||(this.lengthX=f[0]-f[2],this.lengthY=f[1]-f[3],Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},r.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},C.exports=r},function(C,G,N){function g(s){this.vGraphObject=s}C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(13),r=N(0),e=N(16),f=N(5);function a(t,h,o,c){o==null&&c==null&&(c=h),g.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=s.MIN_VALUE,this.inclusionTreeDepth=s.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,o!=null&&h!=null?this.rect=new i(h.x,h.y,o.width,o.height):this.rect=new i}a.prototype=Object.create(g.prototype);for(var y in g)a[y]=g[y];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(t){this.rect.width=t},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(t){this.rect.height=t},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new f(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new f(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(t,h){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=h.width,this.rect.height=h.height},a.prototype.setCenter=function(t,h){this.rect.x=t-this.rect.width/2,this.rect.y=h-this.rect.height/2},a.prototype.setLocation=function(t,h){this.rect.x=t,this.rect.y=h},a.prototype.moveBy=function(t,h){this.rect.x+=t,this.rect.y+=h},a.prototype.getEdgeListToNode=function(t){var h=[],o=this;return o.edges.forEach(function(c){if(c.target==t){if(c.source!=o)throw"Incorrect edge source!";h.push(c)}}),h},a.prototype.getEdgesBetween=function(t){var h=[],o=this;return o.edges.forEach(function(c){if(!(c.source==o||c.target==o))throw"Incorrect edge source and/or target";(c.target==t||c.source==t)&&h.push(c)}),h},a.prototype.getNeighborsList=function(){var t=new Set,h=this;return h.edges.forEach(function(o){if(o.source==h)t.add(o.target);else{if(o.target!=h)throw"Incorrect incidency!";t.add(o.source)}}),t},a.prototype.withChildren=function(){var t=new Set,h,o;if(t.add(this),this.child!=null)for(var c=this.child.getNodes(),l=0;lh?(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(h+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(o+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>o?(this.rect.y-=(this.labelHeight-o)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(o+this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(t){var h=this.rect.x;h>r.WORLD_BOUNDARY?h=r.WORLD_BOUNDARY:h<-r.WORLD_BOUNDARY&&(h=-r.WORLD_BOUNDARY);var o=this.rect.y;o>r.WORLD_BOUNDARY?o=r.WORLD_BOUNDARY:o<-r.WORLD_BOUNDARY&&(o=-r.WORLD_BOUNDARY);var c=new f(h,o),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},C.exports=a},function(C,G,N){var g=N(0);function s(){}for(var i in g)s[i]=g[i];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,C.exports=s},function(C,G,N){function g(s,i){s==null&&i==null?(this.x=0,this.y=0):(this.x=s,this.y=i)}g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(s){this.x=s},g.prototype.setY=function(s){this.y=s},g.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(0),r=N(7),e=N(3),f=N(1),a=N(13),y=N(12),t=N(11);function h(c,l,T){g.call(this,T),this.estimatedSize=s.MIN_VALUE,this.margin=i.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof r?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}h.prototype=Object.create(g.prototype);for(var o in g)h[o]=g[o];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(c,l,T){if(l==null&&T==null){var u=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var v=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(v.source=l,v.target=T,v.isInterGraph=!1,this.getEdges().push(v),l.edges.push(v),T!=l&&T.edges.push(v),v)}},h.prototype.remove=function(c){var l=c;if(c instanceof e){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),u,v=T.length,L=0;L-1&&P>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(A,1),u.target!=u.source&&u.target.edges.splice(P,1);var F=u.source.owner.getEdges().indexOf(u);if(F==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(F,1)}},h.prototype.updateLeftTop=function(){for(var c=s.MAX_VALUE,l=s.MAX_VALUE,T,u,v,L=this.getNodes(),F=L.length,A=0;AT&&(c=T),l>u&&(l=u)}return c==s.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?v=L[0].getParent().paddingLeft:v=this.margin,this.left=l-v,this.top=c-v,new y(this.left,this.top))},h.prototype.updateBounds=function(c){for(var l=s.MAX_VALUE,T=-s.MAX_VALUE,u=s.MAX_VALUE,v=-s.MAX_VALUE,L,F,A,P,J,V=this.nodes,Q=V.length,D=0;DL&&(l=L),TA&&(u=A),vL&&(l=L),TA&&(u=A),v=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},C.exports=h},function(C,G,N){var g,s=N(1);function i(r){g=N(6),this.layout=r,this.graphs=[],this.edges=[]}i.prototype.addRoot=function(){var r=this.layout.newGraph(),e=this.layout.newNode(null),f=this.add(r,e);return this.setRootGraph(f),this.rootGraph},i.prototype.add=function(r,e,f,a,y){if(f==null&&a==null&&y==null){if(r==null)throw"Graph is null!";if(e==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(e.child!=null)throw"Already has a child!";return r.parent=e,e.child=r,r}else{y=f,a=e,f=r;var t=a.getOwner(),h=y.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==h)return f.isInterGraph=!1,t.add(f,a,y);if(f.isInterGraph=!0,f.source=a,f.target=y,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},i.prototype.remove=function(r){if(r instanceof g){var e=r;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(e==this.rootGraph||e.parent!=null&&e.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(e.getEdges());for(var a,y=f.length,t=0;t=r.getRight()?e[0]+=Math.min(r.getX()-i.getX(),i.getRight()-r.getRight()):r.getX()<=i.getX()&&r.getRight()>=i.getRight()&&(e[0]+=Math.min(i.getX()-r.getX(),r.getRight()-i.getRight())),i.getY()<=r.getY()&&i.getBottom()>=r.getBottom()?e[1]+=Math.min(r.getY()-i.getY(),i.getBottom()-r.getBottom()):r.getY()<=i.getY()&&r.getBottom()>=i.getBottom()&&(e[1]+=Math.min(i.getY()-r.getY(),r.getBottom()-i.getBottom()));var y=Math.abs((r.getCenterY()-i.getCenterY())/(r.getCenterX()-i.getCenterX()));r.getCenterY()===i.getCenterY()&&r.getCenterX()===i.getCenterX()&&(y=1);var t=y*e[0],h=e[1]/y;e[0]t)return e[0]=f,e[1]=o,e[2]=y,e[3]=V,!1;if(ay)return e[0]=h,e[1]=a,e[2]=P,e[3]=t,!1;if(fy?(e[0]=l,e[1]=T,n=!0):(e[0]=c,e[1]=o,n=!0):d===p&&(f>y?(e[0]=h,e[1]=o,n=!0):(e[0]=u,e[1]=T,n=!0)),-E===p?y>f?(e[2]=J,e[3]=V,m=!0):(e[2]=P,e[3]=A,m=!0):E===p&&(y>f?(e[2]=F,e[3]=A,m=!0):(e[2]=Q,e[3]=V,m=!0)),n&&m)return!1;if(f>y?a>t?(I=this.getCardinalDirection(d,p,4),w=this.getCardinalDirection(E,p,2)):(I=this.getCardinalDirection(-d,p,3),w=this.getCardinalDirection(-E,p,1)):a>t?(I=this.getCardinalDirection(-d,p,1),w=this.getCardinalDirection(-E,p,3)):(I=this.getCardinalDirection(d,p,2),w=this.getCardinalDirection(E,p,4)),!n)switch(I){case 1:H=o,R=f+-L/p,e[0]=R,e[1]=H;break;case 2:R=u,H=a+v*p,e[0]=R,e[1]=H;break;case 3:H=T,R=f+L/p,e[0]=R,e[1]=H;break;case 4:R=l,H=a+-v*p,e[0]=R,e[1]=H;break}if(!m)switch(w){case 1:k=A,x=y+-rt/p,e[2]=x,e[3]=k;break;case 2:x=Q,k=t+D*p,e[2]=x,e[3]=k;break;case 3:k=V,x=y+rt/p,e[2]=x,e[3]=k;break;case 4:x=J,k=t+-D*p,e[2]=x,e[3]=k;break}}return!1},s.getCardinalDirection=function(i,r,e){return i>r?e:1+e%4},s.getIntersection=function(i,r,e,f){if(f==null)return this.getIntersection2(i,r,e);var a=i.x,y=i.y,t=r.x,h=r.y,o=e.x,c=e.y,l=f.x,T=f.y,u=void 0,v=void 0,L=void 0,F=void 0,A=void 0,P=void 0,J=void 0,V=void 0,Q=void 0;return L=h-y,A=a-t,J=t*y-a*h,F=T-c,P=o-l,V=l*c-o*T,Q=L*P-F*A,Q===0?null:(u=(A*V-P*J)/Q,v=(F*J-L*V)/Q,new g(u,v))},s.angleOfVector=function(i,r,e,f){var a=void 0;return i!==e?(a=Math.atan((f-r)/(e-i)),e=0){var T=(-o+Math.sqrt(o*o-4*h*c))/(2*h),u=(-o-Math.sqrt(o*o-4*h*c))/(2*h),v=null;return T>=0&&T<=1?[T]:u>=0&&u<=1?[u]:v}else return null},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,C.exports=s},function(C,G,N){function g(){}g.sign=function(s){return s>0?1:s<0?-1:0},g.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},g.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},C.exports=g},function(C,G,N){function g(){}g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,C.exports=g},function(C,G,N){var g=function(){function a(y,t){for(var h=0;h"u"?"undefined":g(i);return i==null||r!="object"&&r!="function"},C.exports=s},function(C,G,N){function g(o){if(Array.isArray(o)){for(var c=0,l=Array(o.length);c0&&c;){for(L.push(A[0]);L.length>0&&c;){var P=L[0];L.splice(0,1),v.add(P);for(var J=P.getEdges(),u=0;u-1&&A.splice(rt,1)}v=new Set,F=new Map}}return o},h.prototype.createDummyNodesForBendpoints=function(o){for(var c=[],l=o.source,T=this.graphManager.calcLowestCommonAncestor(o.source,o.target),u=0;u0){for(var T=this.edgeToDummyNodes.get(l),u=0;u=0&&c.splice(V,1);var Q=F.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),d=m-1;d==1&&P.push(n),T.set(n,d)}})}l=l.concat(P),(c.length==1||c.length==2)&&(u=!0,v=c[0])}return v},h.prototype.setGraphManager=function(o){this.graphManager=o},C.exports=h},function(C,G,N){function g(){}g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},C.exports=g},function(C,G,N){var g=N(5);function s(i,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(i){this.lworldOrgX=i},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(i){this.lworldOrgY=i},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(i){this.lworldExtX=i},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(i){this.lworldExtY=i},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(i){this.ldeviceOrgX=i},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(i){this.ldeviceOrgY=i},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(i){this.ldeviceExtX=i},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(i){this.ldeviceExtY=i},s.prototype.transformX=function(i){var r=0,e=this.lworldExtX;return e!=0&&(r=this.ldeviceOrgX+(i-this.lworldOrgX)*this.ldeviceExtX/e),r},s.prototype.transformY=function(i){var r=0,e=this.lworldExtY;return e!=0&&(r=this.ldeviceOrgY+(i-this.lworldOrgY)*this.ldeviceExtY/e),r},s.prototype.inverseTransformX=function(i){var r=0,e=this.ldeviceExtX;return e!=0&&(r=this.lworldOrgX+(i-this.ldeviceOrgX)*this.lworldExtX/e),r},s.prototype.inverseTransformY=function(i){var r=0,e=this.ldeviceExtY;return e!=0&&(r=this.lworldOrgY+(i-this.ldeviceOrgY)*this.lworldExtY/e),r},s.prototype.inverseTransformPoint=function(i){var r=new g(this.inverseTransformX(i.x),this.inverseTransformY(i.y));return r},C.exports=s},function(C,G,N){function g(t){if(Array.isArray(t)){for(var h=0,o=Array(t.length);hi.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),h,o=0;o0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o,c,l,T,u=this.getAllNodes(),v;if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),v=new Set,o=0;oL||v>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=h.getEstimatedSize()*this.compoundGravityRangeFactor,(u>L||v>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},a.prototype.isConverged=function(){var t,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=u.length||L>=u[0].length)){for(var F=0;Fa}}]),e}();C.exports=r},function(C,G,N){function g(){}g.svd=function(s){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=s.length,this.n=s[0].length;var i=Math.min(this.m,this.n);this.s=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(Math.min(this.m+1,this.n)),this.U=function(Nt){var At=function Zt(Gt){if(Gt.length==0)return 0;for(var $t=[],Ft=0;Ft0;)At.push(0);return At}(this.n),e=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(this.m),f=!0,a=Math.min(this.m-1,this.n),y=Math.max(0,Math.min(this.n-2,this.m)),t=0;t=0;E--)if(this.s[E]!==0){for(var p=E+1;p=0;W--){if(function(Nt,At){return Nt&&At}(W0;){var q=void 0,Rt=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(r[q])<=lt+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){r[q]=0;break}if(q===n-2)Rt=4;else{var Lt=void 0;for(Lt=n-1;Lt>=q&&Lt!==q;Lt--){var dt=(Lt!==n?Math.abs(r[Lt]):0)+(Lt!==q+1?Math.abs(r[Lt-1]):0);if(Math.abs(this.s[Lt])<=lt+_*dt){this.s[Lt]=0;break}}Lt===q?Rt=3:Lt===n-1?Rt=1:(Rt=2,q=Lt)}switch(q++,Rt){case 1:{var it=r[n-2];r[n-2]=0;for(var ut=n-2;ut>=q;ut--){var Tt=g.hypot(this.s[ut],it),Ct=this.s[ut]/Tt,Dt=it/Tt;this.s[ut]=Tt,ut!==q&&(it=-Dt*r[ut-1],r[ut-1]=Ct*r[ut-1]);for(var mt=0;mt=this.s[q+1]);){var Mt=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Mt,qMath.abs(i)?(r=i/s,r=Math.abs(s)*Math.sqrt(1+r*r)):i!=0?(r=s/i,r=Math.abs(i)*Math.sqrt(1+r*r)):r=0,r},C.exports=g},function(C,G,N){var g=function(){function r(e,f){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,r),this.sequence1=e,this.sequence2=f,this.match_score=a,this.mismatch_penalty=y,this.gap_penalty=t,this.iMax=e.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;e--){var f=this.listeners[e];f.event===i&&f.callback===r&&this.listeners.splice(e,1)}},s.emit=function(i,r){for(var e=0;e{var G={45:(i,r,e)=>{var f={};f.layoutBase=e(551),f.CoSEConstants=e(806),f.CoSEEdge=e(767),f.CoSEGraph=e(880),f.CoSEGraphManager=e(578),f.CoSELayout=e(765),f.CoSENode=e(991),f.ConstraintHandler=e(902),i.exports=f},806:(i,r,e)=>{var f=e(551).FDLayoutConstants;function a(){}for(var y in f)a[y]=f[y];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,a.ENFORCE_CONSTRAINTS=!0,a.APPLY_LAYOUT=!0,a.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,a.TREE_REDUCTION_ON_INCREMENTAL=!0,a.PURE_INCREMENTAL=a.DEFAULT_INCREMENTAL,i.exports=a},767:(i,r,e)=>{var f=e(551).FDLayoutEdge;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},880:(i,r,e)=>{var f=e(551).LGraph;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},578:(i,r,e)=>{var f=e(551).LGraphManager;function a(t){f.call(this,t)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},765:(i,r,e)=>{var f=e(551).FDLayout,a=e(578),y=e(880),t=e(991),h=e(767),o=e(806),c=e(902),l=e(551).FDLayoutConstants,T=e(551).LayoutConstants,u=e(551).Point,v=e(551).PointD,L=e(551).DimensionD,F=e(551).Layout,A=e(551).Integer,P=e(551).IGeometry,J=e(551).LGraph,V=e(551).Transform,Q=e(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new a(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new y(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new h(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(o.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(o.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(I){return m.has(I)});this.graphManager.setAllNodesToApplyGravitation(d)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(d),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),o.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(p){return n.has(p)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var d=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(d,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},d=0;d0&&this.updateDisplacements();for(var d=0;d0&&(E.fixedNodeWeight=I)}}if(this.constraints.relativePlacementConstraint){var w=new Map,R=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(O){n.fixedNodesOnHorizontal.add(O),n.fixedNodesOnVertical.add(O)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var H=this.constraints.alignmentConstraint.vertical,d=0;d=2*O.length/3;_--)X=Math.floor(Math.random()*(_+1)),B=O[_],O[_]=O[X],O[X]=B;return O},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;n.nodesInRelativeHorizontal.includes(X)||(n.nodesInRelativeHorizontal.push(X),n.nodeToRelativeConstraintMapHorizontal.set(X,[]),n.dummyToNodeForVerticalAlignment.has(X)?n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(X)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(X).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(X).push({right:B,gap:O.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:X,gap:O.gap})}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(lt)||(n.nodesInRelativeVertical.push(lt),n.nodeToRelativeConstraintMapVertical.set(lt,[]),n.dummyToNodeForHorizontalAlignment.has(lt)?n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(lt)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(lt).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:lt,gap:O.gap}),n.nodeToRelativeConstraintMapVertical.get(lt).push({top:_,gap:O.gap})}});else{var k=new Map,W=new Map;this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;k.has(X)?k.get(X).push(B):k.set(X,[B]),k.has(B)?k.get(B).push(X):k.set(B,[X])}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;W.has(_)?W.get(_).push(lt):W.set(_,[lt]),W.has(lt)?W.get(lt).push(_):W.set(lt,[_])}});var U=function(X,B){var _=[],lt=[],q=new Q,Rt=new Set,Lt=0;return X.forEach(function(dt,it){if(!Rt.has(it)){_[Lt]=[],lt[Lt]=!1;var ut=it;for(q.push(ut),Rt.add(ut),_[Lt].push(ut);q.length!=0;){ut=q.shift(),B.has(ut)&&(lt[Lt]=!0);var Tt=X.get(ut);Tt.forEach(function(Ct){Rt.has(Ct)||(q.push(Ct),Rt.add(Ct),_[Lt].push(Ct))})}Lt++}}),{components:_,isFixed:lt}},et=U(k,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=U(W,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var O=n.idToNodeMap.get(z.nodeId);O.displacementX=0,O.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,d=0;d1){var R;for(R=0;RE&&(E=Math.floor(w.y)),I=Math.floor(w.x+o.DEFAULT_COMPONENT_SEPERATION)}this.transform(new v(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,d){var E=Math.max(this.maxDiagonalInTree(n),o.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var p=J.calculateBounds(n),I=new V;I.setDeviceOrgX(p.getMinX()),I.setDeviceOrgY(p.getMinY()),I.setWorldOrgX(d.x),I.setWorldOrgY(d.y);for(var w=0;w1;){var B=X[0];X.splice(0,1);var _=W.indexOf(B);_>=0&&W.splice(_,1),z--,U--}m!=null?O=(W.indexOf(X[0])+1)%z:O=0;for(var lt=Math.abs(E-d)/U,q=O;et!=U;q=++q%z){var Rt=W[q].getOtherEnd(n);if(Rt!=m){var Lt=(d+et*lt)%360,dt=(Lt+lt)%360;D.branchRadialLayout(Rt,n,Lt,dt,p+I,I),et++}}},D.maxDiagonalInTree=function(n){for(var m=A.MIN_VALUE,d=0;dm&&(m=p)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var d=[],E=this.graphManager.getAllNodes(),p=0;p"u"&&(m[R]=[]),m[R]=m[R].concat(I)}Object.keys(m).forEach(function(H){if(m[H].length>1){var x="DummyCompound_"+H;n.memberGroups[x]=m[H];var k=m[H][0].getParent(),W=new t(n.graphManager);W.id=x,W.paddingLeft=k.paddingLeft||0,W.paddingRight=k.paddingRight||0,W.paddingBottom=k.paddingBottom||0,W.paddingTop=k.paddingTop||0,n.idToDummyNode[x]=W;var U=n.getGraphManager().add(n.newGraph(),W),et=k.getChild();et.add(W);for(var z=0;zp?(E.rect.x-=(E.labelWidth-p)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-p)/2):E.labelPosHorizontal=="right"&&E.setWidth(p+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(I+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>I?(E.rect.y-=(E.labelHeight-I)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-I)/2):E.labelPosVertical=="bottom"&&E.setHeight(I+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],d=m.id,E=m.paddingLeft,p=m.paddingTop,I=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[d],m.rect.x,m.rect.y,E,p,I,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(d){var E=n.idToDummyNode[d],p=E.paddingLeft,I=E.paddingTop,w=E.labelMarginLeft,R=E.labelMarginTop;n.adjustLocations(m[d],E.rect.x,E.rect.y,p,I,w,R)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var d=n.getChild();if(d==null)return this.toBeTiled[m]=!1,!1;for(var E=d.getNodes(),p=0;p0)return this.toBeTiled[m]=!1,!1;if(I.getChild()==null){this.toBeTiled[I.id]=!1;continue}if(!this.getToBeTiled(I))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),d=0,E=0;Ek&&(k=U.rect.height)}d+=k+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var d=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var p=m[E];if(d.tiledMemberPack[E]=d.tileNodes(n[E],p.paddingLeft+p.paddingRight),p.rect.width=d.tiledMemberPack[E].width,p.rect.height=d.tiledMemberPack[E].height,p.setCenter(d.tiledMemberPack[E].centerX,d.tiledMemberPack[E].centerY),p.labelMarginLeft=0,p.labelMarginTop=0,o.NODE_DIMENSIONS_INCLUDE_LABELS){var I=p.rect.width,w=p.rect.height;p.labelWidth&&(p.labelPosHorizontal=="left"?(p.rect.x-=p.labelWidth,p.setWidth(I+p.labelWidth),p.labelMarginLeft=p.labelWidth):p.labelPosHorizontal=="center"&&p.labelWidth>I?(p.rect.x-=(p.labelWidth-I)/2,p.setWidth(p.labelWidth),p.labelMarginLeft=(p.labelWidth-I)/2):p.labelPosHorizontal=="right"&&p.setWidth(I+p.labelWidth)),p.labelHeight&&(p.labelPosVertical=="top"?(p.rect.y-=p.labelHeight,p.setHeight(w+p.labelHeight),p.labelMarginTop=p.labelHeight):p.labelPosVertical=="center"&&p.labelHeight>w?(p.rect.y-=(p.labelHeight-w)/2,p.setHeight(p.labelHeight),p.labelMarginTop=(p.labelHeight-w)/2):p.labelPosVertical=="bottom"&&p.setHeight(w+p.labelHeight))}})},D.prototype.tileNodes=function(n,m){var d=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),p=this.getOrgRatio(d),I=this.getOrgRatio(E),w;return IR&&(R=z.getWidth())});var H=I/p,x=w/p,k=Math.pow(d-E,2)+4*(H+E)*(x+d)*p,W=(E-d+Math.sqrt(k))/(2*(H+E)),U;m?(U=Math.ceil(W),U==W&&U++):U=Math.floor(W);var et=U*(H+E)-E;return R>et&&(et=R),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,d){var E=o.TILING_PADDING_VERTICAL,p=o.TILING_PADDING_HORIZONTAL,I=o.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:p,centerX:0,centerY:0};I&&(w.idealRowWidth=this.calcIdealRowWidth(n,d));var R=function(O){return O.rect.width*O.rect.height},H=function(O,X){return R(X)-R(O)};n.sort(function(z,O){var X=H;return w.idealRowWidth?(X=I,X(z.id,O.id)):X(z,O)});for(var x=0,k=0,W=0;W0&&(w+=n.horizontalPadding),n.rowWidth[d]=w,n.width0&&(R+=n.verticalPadding);var H=0;R>n.rowHeight[d]&&(H=n.rowHeight[d],n.rowHeight[d]=R,H=n.rowHeight[d]-H),n.height+=H,n.rows[d].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,d=Number.MAX_VALUE,E=0;Ed&&(m=E,d=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,d){if(n.idealRowWidth){var E=n.rows.length-1,p=n.rowWidth[E];return p+m+n.horizontalPadding<=n.idealRowWidth}var I=this.getShortestRowIndex(n);if(I<0)return!0;var w=n.rowWidth[I];if(w+n.horizontalPadding+m<=n.width)return!0;var R=0;n.rowHeight[I]0&&(R=d+n.verticalPadding-n.rowHeight[I]);var H;n.width-w>=m+n.horizontalPadding?H=(n.height+R)/(w+m+n.horizontalPadding):H=(n.height+R)/n.width,R=d+n.verticalPadding;var x;return n.widthI&&m!=d){E.splice(-1,1),n.rows[d].push(p),n.rowWidth[m]=n.rowWidth[m]-I,n.rowWidth[d]=n.rowWidth[d]+I,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,R=0;Rw&&(w=E[R].height);m>0&&(w+=n.verticalPadding);var H=n.rowHeight[m]+n.rowHeight[d];n.rowHeight[m]=w,n.rowHeight[d]0)for(var et=p;et<=I;et++)U[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(I0)for(var et=w;et<=R;et++)U[3]+=this.grid[p-1][et].length+this.grid[p][et].length-1;for(var z=A.MAX_VALUE,O,X,B=0;B{var f=e(551).FDLayoutNode,a=e(551).IMath;function y(h,o,c,l){f.call(this,h,o,c,l)}y.prototype=Object.create(f.prototype);for(var t in f)y[t]=f[t];y.prototype.calculateDisplacement=function(){var h=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},y.prototype.propogateDisplacementToChildren=function(h,o){for(var c=this.getChild().getNodes(),l,T=0;T{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l0){var Mt=0;st.forEach(function(ht){$=="horizontal"?(tt.set(ht,u.has(ht)?v[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht)):(tt.set(ht,u.has(ht)?L[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht))}),Mt=Mt/st.length,ft.forEach(function(ht){K.has(ht)||tt.set(ht,Mt)})}else{var ct=0;ft.forEach(function(ht){$=="horizontal"?ct+=u.has(ht)?v[u.get(ht)]:Z.get(ht):ct+=u.has(ht)?L[u.get(ht)]:Z.get(ht)}),ct=ct/ft.length,ft.forEach(function(ht){tt.set(ht,ct)})}});for(var wt=function(){var st=vt.shift(),Mt=b.get(st);Mt.forEach(function(ct){if(tt.get(ct.id)ht&&(ht=qt),_tWt&&(Wt=_t)}}catch(ie){At=!0,Zt=ie}finally{try{!Nt&&Gt.return&&Gt.return()}finally{if(At)throw Zt}}var ce=(Mt+ht)/2-(ct+Wt)/2,Kt=!0,te=!1,ee=void 0;try{for(var jt=ft[Symbol.iterator](),se;!(Kt=(se=jt.next()).done);Kt=!0){var re=se.value;tt.set(re,tt.get(re)+ce)}}catch(ie){te=!0,ee=ie}finally{try{!Kt&&jt.return&&jt.return()}finally{if(te)throw ee}}})}return tt},rt=function(b){var $=0,K=0,Z=0,at=0;if(b.forEach(function(j){j.left?v[u.get(j.left)]-v[u.get(j.right)]>=0?$++:K++:L[u.get(j.top)]-L[u.get(j.bottom)]>=0?Z++:at++}),$>K&&Z>at)for(var gt=0;gtK)for(var ot=0;otat)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(S,b){E[b]=[S.position.x,S.position.y],p[b]=[v[u.get(S.nodeId)],L[u.get(S.nodeId)]]}),I=!0;else if(l.alignmentConstraint)(function(){var S=0;if(l.alignmentConstraint.vertical){for(var b=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;b[tt].forEach(function(yt){j.add(yt)});var vt=new Set([].concat(f(j)).filter(function(yt){return R.has(yt)})),wt=void 0;vt.size>0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).x,b[tt].forEach(function(yt){E[S]=[wt,L[u.get(yt)]],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},K=0;K0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).y,Z[tt].forEach(function(yt){E[S]=[v[u.get(yt)],wt],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},gt=0;gtW&&(W=k[et].length,U=et);if(W0){var mt={x:0,y:0};l.fixedNodeConstraint.forEach(function(S,b){var $={x:v[u.get(S.nodeId)],y:L[u.get(S.nodeId)]},K=S.position,Z=V(K,$);mt.x+=Z.x,mt.y+=Z.y}),mt.x/=l.fixedNodeConstraint.length,mt.y/=l.fixedNodeConstraint.length,v.forEach(function(S,b){v[b]+=mt.x}),L.forEach(function(S,b){L[b]+=mt.y}),l.fixedNodeConstraint.forEach(function(S){v[u.get(S.nodeId)]=S.position.x,L[u.get(S.nodeId)]=S.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var xt=l.alignmentConstraint.vertical,St=function(b){var $=new Set;xt[b].forEach(function(at){$.add(at)});var K=new Set([].concat(f($)).filter(function(at){return R.has(at)})),Z=void 0;K.size>0?Z=v[u.get(K.values().next().value)]:Z=Q($).x,$.forEach(function(at){R.has(at)||(v[u.get(at)]=Z)})},Vt=0;Vt0?Z=L[u.get(K.values().next().value)]:Z=Q($).y,$.forEach(function(at){R.has(at)||(L[u.get(at)]=Z)})},bt=0;bt{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(45);return s})()})}(pe)),pe.exports}(function(M,Y){(function(G,N){M.exports=N(cr())})(Te,function(C){return(()=>{var G={658:i=>{i.exports=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments.length,f=Array(e>1?e-1:0),a=1;a{var f=function(){function t(h,o){var c=[],l=!0,T=!1,u=void 0;try{for(var v=h[Symbol.iterator](),L;!(l=(L=v.next()).done)&&(c.push(L.value),!(o&&c.length===o));l=!0);}catch(F){T=!0,u=F}finally{try{!l&&v.return&&v.return()}finally{if(T)throw u}}return c}return function(h,o){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return t(h,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(t){for(var h={},o=0;o0&&I.merge(x)});for(var w=0;w1){L=u[0],F=L.connectedEdges().length,u.forEach(function(p){p.connectedEdges().length0&&c.set("dummy"+(c.size+1),J),V},y.relocateComponent=function(t,h,o){if(!o.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(o.quality=="draft"){var v=!0,L=!1,F=void 0;try{for(var A=h.nodeIndexes[Symbol.iterator](),P;!(v=(P=A.next()).done);v=!0){var J=P.value,V=f(J,2),Q=V[0],D=V[1],rt=o.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=h.xCoords[D]-n.w/2,d=h.xCoords[D]+n.w/2,E=h.yCoords[D]-n.h/2,p=h.yCoords[D]+n.h/2;ml&&(l=d),Eu&&(u=p)}}}catch(x){L=!0,F=x}finally{try{!v&&A.return&&A.return()}finally{if(L)throw F}}var I=t.x-(l+c)/2,w=t.y-(u+T)/2;h.xCoords=h.xCoords.map(function(x){return x+I}),h.yCoords=h.yCoords.map(function(x){return x+w})}else{Object.keys(h).forEach(function(x){var k=h[x],W=k.getRect().x,U=k.getRect().x+k.getRect().width,et=k.getRect().y,z=k.getRect().y+k.getRect().height;Wl&&(l=U),etu&&(u=z)});var R=t.x-(l+c)/2,H=t.y-(u+T)/2;Object.keys(h).forEach(function(x){var k=h[x];k.setCenter(k.getCenterX()+R,k.getCenterY()+H)})}}},y.calcBoundingBox=function(t,h,o,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER,L=void 0,F=void 0,A=void 0,P=void 0,J=t.descendants().not(":parent"),V=J.length,Q=0;QL&&(l=L),TA&&(u=A),v{var f=e(548),a=e(140).CoSELayout,y=e(140).CoSENode,t=e(140).layoutBase.PointD,h=e(140).layoutBase.DimensionD,o=e(140).layoutBase.LayoutConstants,c=e(140).layoutBase.FDLayoutConstants,l=e(140).CoSEConstants,T=function(v,L){var F=v.cy,A=v.eles,P=A.nodes(),J=A.edges(),V=void 0,Q=void 0,D=void 0,rt={};v.randomize&&(V=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,k){return n(x)?x(k):x},d=f.calcParentsWithoutChildren(F,A),E=function H(x,k,W,U){for(var et=k.length,z=0;z0){var q=void 0;q=W.getGraphManager().add(W.newGraph(),B),H(q,X,W,U)}}},p=function(x,k,W){for(var U=0,et=0,z=0;z0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=U/et:n(v.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=v.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},I=function(x,k){k.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(x.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=k.relativePlacementConstraint)};v.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=v.nestingFactor),v.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=v.gravity),v.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=v.numIter),v.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=v.gravityRange),v.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=v.gravityCompound),v.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=v.gravityRangeCompound),v.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=v.initialEnergyOnIncremental),v.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=v.tilingCompareBy),v.quality=="proof"?o.QUALITY=2:o.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=v.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!v.randomize,l.ANIMATE=c.ANIMATE=o.ANIMATE=v.animate,l.TILE=v.tile,l.TILING_PADDING_VERTICAL=typeof v.tilingPaddingVertical=="function"?v.tilingPaddingVertical.call():v.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof v.tilingPaddingHorizontal=="function"?v.tilingPaddingHorizontal.call():v.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!v.randomize,o.DEFAULT_UNIFORM_LEAF_NODE_SIZES=v.uniformNodeDimensions,v.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),v.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),v.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),v.step=="all"&&(v.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),v.fixedNodeConstraint||v.alignmentConstraint||v.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new a,R=w.newGraphManager();return E(R.addRoot(),f.getTopMostNodes(P),w,v),p(w,R,J),I(w,v),w.runLayout(),rt};i.exports={coseLayout:T}},212:(i,r,e)=>{var f=function(){function v(L,F){for(var A=0;A0)if(d){var I=t.getTopMostNodes(A.eles.nodes());if(D=t.connectComponents(P,A.eles,I),D.forEach(function(dt){var it=dt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),A.randomize&&D.forEach(function(dt){A.eles=dt,V.push(o(A))}),A.quality=="default"||A.quality=="proof"){var w=P.collection();if(A.tile){var R=new Map,H=[],x=[],k=0,W={nodeIndexes:R,xCoords:H,yCoords:x},U=[];if(D.forEach(function(dt,it){dt.edges().length==0&&(dt.nodes().forEach(function(ut,Tt){w.merge(dt.nodes()[Tt]),ut.isParent()||(W.nodeIndexes.set(dt.nodes()[Tt].id(),k++),W.xCoords.push(dt.nodes()[0].position().x),W.yCoords.push(dt.nodes()[0].position().y))}),U.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),V.push(W);for(var z=U.length-1;z>=0;z--)D.splice(U[z],1),V.splice(U[z],1),rt.splice(U[z],1)}}D.forEach(function(dt,it){A.eles=dt,Q.push(l(A,V[it])),t.relocateComponent(rt[it],Q[it],A)})}else D.forEach(function(dt,it){t.relocateComponent(rt[it],V[it],A)});var O=new Set;if(D.length>1){var X=[],B=J.filter(function(dt){return dt.css("display")=="none"});D.forEach(function(dt,it){var ut=void 0;if(A.quality=="draft"&&(ut=V[it].nodeIndexes),dt.nodes().not(B).length>0){var Tt={};Tt.edges=[],Tt.nodes=[];var Ct=void 0;dt.nodes().not(B).forEach(function(Dt){if(A.quality=="draft")if(!Dt.isParent())Ct=ut.get(Dt.id()),Tt.nodes.push({x:V[it].xCoords[Ct]-Dt.boundingbox().w/2,y:V[it].yCoords[Ct]-Dt.boundingbox().h/2,width:Dt.boundingbox().w,height:Dt.boundingbox().h});else{var mt=t.calcBoundingBox(Dt,V[it].xCoords,V[it].yCoords,ut);Tt.nodes.push({x:mt.topLeftX,y:mt.topLeftY,width:mt.width,height:mt.height})}else Q[it][Dt.id()]&&Tt.nodes.push({x:Q[it][Dt.id()].getLeft(),y:Q[it][Dt.id()].getTop(),width:Q[it][Dt.id()].getWidth(),height:Q[it][Dt.id()].getHeight()})}),dt.edges().forEach(function(Dt){var mt=Dt.source(),xt=Dt.target();if(mt.css("display")!="none"&&xt.css("display")!="none")if(A.quality=="draft"){var St=ut.get(mt.id()),Vt=ut.get(xt.id()),Xt=[],Ut=[];if(mt.isParent()){var bt=t.calcBoundingBox(mt,V[it].xCoords,V[it].yCoords,ut);Xt.push(bt.topLeftX+bt.width/2),Xt.push(bt.topLeftY+bt.height/2)}else Xt.push(V[it].xCoords[St]),Xt.push(V[it].yCoords[St]);if(xt.isParent()){var Ht=t.calcBoundingBox(xt,V[it].xCoords,V[it].yCoords,ut);Ut.push(Ht.topLeftX+Ht.width/2),Ut.push(Ht.topLeftY+Ht.height/2)}else Ut.push(V[it].xCoords[Vt]),Ut.push(V[it].yCoords[Vt]);Tt.edges.push({startX:Xt[0],startY:Xt[1],endX:Ut[0],endY:Ut[1]})}else Q[it][mt.id()]&&Q[it][xt.id()]&&Tt.edges.push({startX:Q[it][mt.id()].getCenterX(),startY:Q[it][mt.id()].getCenterY(),endX:Q[it][xt.id()].getCenterX(),endY:Q[it][xt.id()].getCenterY()})}),Tt.nodes.length>0&&(X.push(Tt),O.add(it))}});var _=m.packComponents(X,A.randomize).shifts;if(A.quality=="draft")V.forEach(function(dt,it){var ut=dt.xCoords.map(function(Ct){return Ct+_[it].dx}),Tt=dt.yCoords.map(function(Ct){return Ct+_[it].dy});dt.xCoords=ut,dt.yCoords=Tt});else{var lt=0;O.forEach(function(dt){Object.keys(Q[dt]).forEach(function(it){var ut=Q[dt][it];ut.setCenter(ut.getCenterX()+_[lt].dx,ut.getCenterY()+_[lt].dy)}),lt++})}}}else{var E=A.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),A.randomize){var p=o(A);V.push(p)}A.quality=="default"||A.quality=="proof"?(Q.push(l(A,V[0])),t.relocateComponent(rt[0],Q[0],A)):t.relocateComponent(rt[0],V[0],A)}var q=function(it,ut){if(A.quality=="default"||A.quality=="proof"){typeof it=="number"&&(it=ut);var Tt=void 0,Ct=void 0,Dt=it.data("id");return Q.forEach(function(xt){Dt in xt&&(Tt={x:xt[Dt].getRect().getCenterX(),y:xt[Dt].getRect().getCenterY()},Ct=xt[Dt])}),A.nodeDimensionsIncludeLabels&&(Ct.labelWidth&&(Ct.labelPosHorizontal=="left"?Tt.x+=Ct.labelWidth/2:Ct.labelPosHorizontal=="right"&&(Tt.x-=Ct.labelWidth/2)),Ct.labelHeight&&(Ct.labelPosVertical=="top"?Tt.y+=Ct.labelHeight/2:Ct.labelPosVertical=="bottom"&&(Tt.y-=Ct.labelHeight/2))),Tt==null&&(Tt={x:it.position("x"),y:it.position("y")}),{x:Tt.x,y:Tt.y}}else{var mt=void 0;return V.forEach(function(xt){var St=xt.nodeIndexes.get(it.id());St!=null&&(mt={x:xt.xCoords[St],y:xt.yCoords[St]})}),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}};if(A.quality=="default"||A.quality=="proof"||A.randomize){var Rt=t.calcParentsWithoutChildren(P,J),Lt=J.filter(function(dt){return dt.css("display")=="none"});A.eles=J.not(Lt),J.nodes().not(":parent").not(Lt).layoutPositions(F,A,q),Rt.length>0&&Rt.forEach(function(dt){dt.position(q(dt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),v}();i.exports=u},657:(i,r,e)=>{var f=e(548),a=e(140).layoutBase.Matrix,y=e(140).layoutBase.SVD,t=function(o){var c=o.cy,l=o.eles,T=l.nodes(),u=l.nodes(":parent"),v=new Map,L=new Map,F=new Map,A=[],P=[],J=[],V=[],Q=[],D=[],rt=[],n=[],m=void 0,d=1e8,E=1e-9,p=o.piTol,I=o.samplingType,w=o.nodeSeparation,R=void 0,H=function(){for(var b=0,$=0,K=!1;$=at;){ot=Z[at++];for(var It=A[ot],ft=0;ftvt&&(vt=Q[Mt],wt=Mt)}return wt},k=function(b){var $=void 0;if(b){$=Math.floor(Math.random()*m);for(var Z=0;Z=1)break;j=tt}for(var yt=0;yt=1)break;j=tt}for(var ft=0;ft0&&($.isParent()?A[b].push(F.get($.id())):A[b].push($.id()))})});var Lt=function(b){var $=L.get(b),K=void 0;v.get(b).forEach(function(Z){c.getElementById(Z).isParent()?K=F.get(Z):K=Z,A[$].push(K),A[L.get(K)].push(b)})},dt=!0,it=!1,ut=void 0;try{for(var Tt=v.keys()[Symbol.iterator](),Ct;!(dt=(Ct=Tt.next()).done);dt=!0){var Dt=Ct.value;Lt(Dt)}}catch(S){it=!0,ut=S}finally{try{!dt&&Tt.return&&Tt.return()}finally{if(it)throw ut}}m=L.size;var mt=void 0;if(m>2){R=m{var f=e(212),a=function(t){t&&t("layout","fcose",f)};typeof cytoscape<"u"&&a(cytoscape),i.exports=a},140:i=>{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(579);return s})()})})(be);var gr=be.exports;const ur=ke(gr);var xe={L:"left",R:"right",T:"top",B:"bottom"},Ie={L:nt(M=>`${M},${M/2} 0,${M} 0,0`,"L"),R:nt(M=>`0,${M/2} ${M},0 ${M},${M}`,"R"),T:nt(M=>`0,0 ${M},0 ${M/2},${M}`,"T"),B:nt(M=>`${M/2},0 ${M},${M} 0,${M}`,"B")},he={L:nt((M,Y)=>M-Y+2,"L"),R:nt((M,Y)=>M-2,"R"),T:nt((M,Y)=>M-Y+2,"T"),B:nt((M,Y)=>M-2,"B")},vr=nt(function(M){return zt(M)?M==="L"?"R":"L":M==="T"?"B":"T"},"getOppositeArchitectureDirection"),Re=nt(function(M){const Y=M;return Y==="L"||Y==="R"||Y==="T"||Y==="B"},"isArchitectureDirection"),zt=nt(function(M){const Y=M;return Y==="L"||Y==="R"},"isArchitectureDirectionX"),Qt=nt(function(M){const Y=M;return Y==="T"||Y==="B"},"isArchitectureDirectionY"),Pe=nt(function(M,Y){const C=zt(M)&&Qt(Y),G=Qt(M)&&zt(Y);return C||G},"isArchitectureDirectionXY"),dr=nt(function(M){const Y=M[0],C=M[1],G=zt(Y)&&Qt(C),N=Qt(Y)&&zt(C);return G||N},"isArchitecturePairXY"),pr=nt(function(M){return M!=="LL"&&M!=="RR"&&M!=="TT"&&M!=="BB"},"isValidArchitectureDirectionPair"),me=nt(function(M,Y){const C=`${M}${Y}`;return pr(C)?C:void 0},"getArchitectureDirectionPair"),yr=nt(function([M,Y],C){const G=C[0],N=C[1];return zt(G)?Qt(N)?[M+(G==="L"?-1:1),Y+(N==="T"?1:-1)]:[M+(G==="L"?-1:1),Y]:zt(N)?[M+(N==="L"?1:-1),Y+(G==="T"?1:-1)]:[M,Y+(G==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Er=nt(function(M){return M==="LT"||M==="TL"?[1,1]:M==="BL"||M==="LB"?[1,-1]:M==="BR"||M==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),mr=nt(function(M){return M.type==="service"},"isArchitectureService"),Tr=nt(function(M){return M.type==="junction"},"isArchitectureJunction"),Ge=nt(M=>M.data(),"edgeData"),ne=nt(M=>M.data(),"nodeData"),Ue=qe.architecture,pt=new hr(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Ue,dataStructures:void 0,elements:{}})),Nr=nt(()=>{pt.reset(),ar()},"clear"),Lr=nt(function({id:M,icon:Y,in:C,title:G,iconText:N}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The service id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The service [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The service [${M}]'s parent does not exist. Please make sure the parent is created before this service`);if(pt.records.registeredIds[C]==="node")throw new Error(`The service [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"service",icon:Y,iconText:N,title:G,edges:[],in:C}},"addService"),Mr=nt(()=>Object.values(pt.records.nodes).filter(mr),"getServices"),Ar=nt(function({id:M,in:Y}){pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"junction",edges:[],in:Y}},"addJunction"),Cr=nt(()=>Object.values(pt.records.nodes).filter(Tr),"getJunctions"),wr=nt(()=>Object.values(pt.records.nodes),"getNodes"),Or=nt(M=>pt.records.nodes[M],"getNode"),Dr=nt(function({id:M,icon:Y,in:C,title:G}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The group id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The group [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The group [${M}]'s parent does not exist. Please make sure the parent is created before this group`);if(pt.records.registeredIds[C]==="node")throw new Error(`The group [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="group",pt.records.groups[M]={id:M,icon:Y,title:G,in:C}},"addGroup"),xr=nt(()=>Object.values(pt.records.groups),"getGroups"),Ir=nt(function({lhsId:M,rhsId:Y,lhsDir:C,rhsDir:G,lhsInto:N,rhsInto:g,lhsGroup:s,rhsGroup:i,title:r}){if(!Re(C))throw new Error(`Invalid direction given for left hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${C}`);if(!Re(G))throw new Error(`Invalid direction given for right hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${G}`);if(pt.records.nodes[M]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The left-hand id [${M}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(pt.records.nodes[Y]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The right-hand id [${Y}] does not yet exist. Please create the service/group before declaring an edge to it.`);const e=pt.records.nodes[M].in,f=pt.records.nodes[Y].in;if(s&&e&&f&&e==f)throw new Error(`The left-hand id [${M}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(i&&e&&f&&e==f)throw new Error(`The right-hand id [${Y}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const a={lhsId:M,lhsDir:C,lhsInto:N,lhsGroup:s,rhsId:Y,rhsDir:G,rhsInto:g,rhsGroup:i,title:r};pt.records.edges.push(a),pt.records.nodes[M]&&pt.records.nodes[Y]&&(pt.records.nodes[M].edges.push(pt.records.edges[pt.records.edges.length-1]),pt.records.nodes[Y].edges.push(pt.records.edges[pt.records.edges.length-1]))},"addEdge"),Rr=nt(()=>pt.records.edges,"getEdges"),Sr=nt(()=>{if(pt.records.dataStructures===void 0){const M=Object.entries(pt.records.nodes).reduce((s,[i,r])=>(s[i]=r.edges.reduce((e,f)=>{if(f.lhsId===i){const a=me(f.lhsDir,f.rhsDir);a&&(e[a]=f.rhsId)}else{const a=me(f.rhsDir,f.lhsDir);a&&(e[a]=f.lhsId)}return e},{}),s),{}),Y=Object.keys(M)[0],C={[Y]:1},G=Object.keys(M).reduce((s,i)=>i===Y?s:{...s,[i]:1},{}),N=nt(s=>{const i={[s]:[0,0]},r=[s];for(;r.length>0;){const e=r.shift();if(e){C[e]=1,delete G[e];const f=M[e],[a,y]=i[e];Object.entries(f).forEach(([t,h])=>{C[h]||(i[h]=yr([a,y],t),r.push(h))})}}return i},"BFS"),g=[N(Y)];for(;Object.keys(G).length>0;)g.push(N(Object.keys(G)[0]));pt.records.dataStructures={adjList:M,spatialMaps:g}}return pt.records.dataStructures},"getDataStructures"),Fr=nt((M,Y)=>{pt.records.elements[M]=Y},"setElementForId"),br=nt(M=>pt.records.elements[M],"getElementById"),le={clear:Nr,setDiagramTitle:Ke,getDiagramTitle:je,setAccTitle:_e,getAccTitle:tr,setAccDescription:er,getAccDescription:rr,addService:Lr,getServices:Mr,addJunction:Ar,getJunctions:Cr,getNodes:wr,getNode:Or,addGroup:Dr,getGroups:xr,addEdge:Ir,getEdges:Rr,setElementForId:Fr,getElementById:br,getDataStructures:Sr};function Pt(M){const Y=fe().architecture;return Y!=null&&Y[M]?Y[M]:Ue[M]}nt(Pt,"getConfigField");var Pr=nt((M,Y)=>{sr(M,Y),M.groups.map(Y.addGroup),M.services.map(C=>Y.addService({...C,type:"service"})),M.junctions.map(C=>Y.addJunction({...C,type:"junction"})),M.edges.map(Y.addEdge)},"populateDb"),Gr={parse:nt(async M=>{const Y=await lr("architecture",M);Se.debug(Y),Pr(Y,le)},"parse")},Ur=nt(M=>` .edge { stroke-width: ${M.archEdgeWidth}; stroke: ${M.archEdgeColor}; diff --git a/static/js/md-blockDiagram-ZHA2E4KO-CvaWxelJ.js b/static/js/md-blockDiagram-ZHA2E4KO-BBH-2Yzm.js similarity index 99% rename from static/js/md-blockDiagram-ZHA2E4KO-CvaWxelJ.js rename to static/js/md-blockDiagram-ZHA2E4KO-BBH-2Yzm.js index 0af84a2..a60acf2 100644 --- a/static/js/md-blockDiagram-ZHA2E4KO-CvaWxelJ.js +++ b/static/js/md-blockDiagram-ZHA2E4KO-BBH-2Yzm.js @@ -1,4 +1,4 @@ -import{_ as d,d as z,l as L,j as R,ah as de,D as at,ai as Z,aj as Yt,ak as ge,u as tt,al as ue,K as pe,k as fe,v as xe,A as ye,Q as be,am as we,an as xt,e as me,i as Tt}from"./md-index-trBnGDGX.js";import{c as Le}from"./md-clone-D08UH0Wo.js";import{G as Se}from"./md-graph-u9ZJyewn.js";import{c as ve}from"./md-channel-CT_g7y1I.js";import"./md-_baseUniq-B7UZj1IW.js";var yt=function(){var e=d(function(N,x,g,u){for(g=g||{},u=N.length;u--;g[N[u]]=x);return g},"o"),t=[1,7],r=[1,13],n=[1,14],i=[1,15],a=[1,19],s=[1,16],l=[1,17],o=[1,18],f=[8,30],h=[8,21,28,29,30,31,32,40,44,47],y=[1,23],b=[1,24],m=[8,15,16,21,28,29,30,31,32,40,44,47],E=[8,15,16,21,27,28,29,30,31,32,40,44,47],D=[1,49],v={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:d(function(x,g,u,w,S,c,_){var p=c.length-1;switch(S){case 4:w.getLogger().debug("Rule: separator (NL) ");break;case 5:w.getLogger().debug("Rule: separator (Space) ");break;case 6:w.getLogger().debug("Rule: separator (EOF) ");break;case 7:w.getLogger().debug("Rule: hierarchy: ",c[p-1]),w.setHierarchy(c[p-1]);break;case 8:w.getLogger().debug("Stop NL ");break;case 9:w.getLogger().debug("Stop EOF ");break;case 10:w.getLogger().debug("Stop NL2 ");break;case 11:w.getLogger().debug("Stop EOF2 ");break;case 12:w.getLogger().debug("Rule: statement: ",c[p]),typeof c[p].length=="number"?this.$=c[p]:this.$=[c[p]];break;case 13:w.getLogger().debug("Rule: statement #2: ",c[p-1]),this.$=[c[p-1]].concat(c[p]);break;case 14:w.getLogger().debug("Rule: link: ",c[p],x),this.$={edgeTypeStr:c[p],label:""};break;case 15:w.getLogger().debug("Rule: LABEL link: ",c[p-3],c[p-1],c[p]),this.$={edgeTypeStr:c[p],label:c[p-1]};break;case 18:const A=parseInt(c[p]),O=w.generateId();this.$={id:O,type:"space",label:"",width:A,children:[]};break;case 23:w.getLogger().debug("Rule: (nodeStatement link node) ",c[p-2],c[p-1],c[p]," typestr: ",c[p-1].edgeTypeStr);const X=w.edgeStrToEdgeData(c[p-1].edgeTypeStr);this.$=[{id:c[p-2].id,label:c[p-2].label,type:c[p-2].type,directions:c[p-2].directions},{id:c[p-2].id+"-"+c[p].id,start:c[p-2].id,end:c[p].id,label:c[p-1].label,type:"edge",directions:c[p].directions,arrowTypeEnd:X,arrowTypeStart:"arrow_open"},{id:c[p].id,label:c[p].label,type:w.typeStr2Type(c[p].typeStr),directions:c[p].directions}];break;case 24:w.getLogger().debug("Rule: nodeStatement (abc88 node size) ",c[p-1],c[p]),this.$={id:c[p-1].id,label:c[p-1].label,type:w.typeStr2Type(c[p-1].typeStr),directions:c[p-1].directions,widthInColumns:parseInt(c[p],10)};break;case 25:w.getLogger().debug("Rule: nodeStatement (node) ",c[p]),this.$={id:c[p].id,label:c[p].label,type:w.typeStr2Type(c[p].typeStr),directions:c[p].directions,widthInColumns:1};break;case 26:w.getLogger().debug("APA123",this?this:"na"),w.getLogger().debug("COLUMNS: ",c[p]),this.$={type:"column-setting",columns:c[p]==="auto"?-1:parseInt(c[p])};break;case 27:w.getLogger().debug("Rule: id-block statement : ",c[p-2],c[p-1]),w.generateId(),this.$={...c[p-2],type:"composite",children:c[p-1]};break;case 28:w.getLogger().debug("Rule: blockStatement : ",c[p-2],c[p-1],c[p]);const W=w.generateId();this.$={id:W,type:"composite",label:"",children:c[p-1]};break;case 29:w.getLogger().debug("Rule: node (NODE_ID separator): ",c[p]),this.$={id:c[p]};break;case 30:w.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",c[p-1],c[p]),this.$={id:c[p-1],label:c[p].label,typeStr:c[p].typeStr,directions:c[p].directions};break;case 31:w.getLogger().debug("Rule: dirList: ",c[p]),this.$=[c[p]];break;case 32:w.getLogger().debug("Rule: dirList: ",c[p-1],c[p]),this.$=[c[p-1]].concat(c[p]);break;case 33:w.getLogger().debug("Rule: nodeShapeNLabel: ",c[p-2],c[p-1],c[p]),this.$={typeStr:c[p-2]+c[p],label:c[p-1]};break;case 34:w.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",c[p-3],c[p-2]," #3:",c[p-1],c[p]),this.$={typeStr:c[p-3]+c[p],label:c[p-2],directions:c[p-1]};break;case 35:case 36:this.$={type:"classDef",id:c[p-1].trim(),css:c[p].trim()};break;case 37:this.$={type:"applyClass",id:c[p-1].trim(),styleClass:c[p].trim()};break;case 38:this.$={type:"applyStyles",id:c[p-1].trim(),stylesStr:c[p].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{8:[1,20]},e(f,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:r,29:n,31:i,32:a,40:s,44:l,47:o}),e(h,[2,16],{14:22,15:y,16:b}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(m,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:a},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(E,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(f,[2,13]),{26:35,32:a},{32:[2,14]},{17:[1,36]},e(m,[2,24]),{11:37,13:4,14:22,15:y,16:b,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(E,[2,30]),{18:[1,43]},{18:[1,44]},e(m,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:D},{15:[1,50]},e(h,[2,27]),e(E,[2,33]),{39:[1,51]},{34:52,35:D,39:[2,31]},{32:[2,15]},e(E,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:d(function(x,g){if(g.recoverable)this.trace(x);else{var u=new Error(x);throw u.hash=g,u}},"parseError"),parse:d(function(x){var g=this,u=[0],w=[],S=[null],c=[],_=this.table,p="",A=0,O=0,X=2,W=1,ce=c.slice.call(arguments,1),M=Object.create(this.lexer),J={yy:{}};for(var gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,gt)&&(J.yy[gt]=this.yy[gt]);M.setInput(x,J.yy),J.yy.lexer=M,J.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var ut=M.yylloc;c.push(ut);var oe=M.options&&M.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(H){u.length=u.length-2*H,S.length=S.length-H,c.length=c.length-H}d(he,"popStack");function Dt(){var H;return H=w.pop()||M.lex()||W,typeof H!="number"&&(H instanceof Array&&(w=H,H=w.pop()),H=g.symbols_[H]||H),H}d(Dt,"lex");for(var Y,Q,U,pt,$={},st,q,Nt,it;;){if(Q=u[u.length-1],this.defaultActions[Q]?U=this.defaultActions[Q]:((Y===null||typeof Y>"u")&&(Y=Dt()),U=_[Q]&&_[Q][Y]),typeof U>"u"||!U.length||!U[0]){var ft="";it=[];for(st in _[Q])this.terminals_[st]&&st>X&&it.push("'"+this.terminals_[st]+"'");M.showPosition?ft="Parse error on line "+(A+1)+`: +import{_ as d,d as z,l as L,j as R,ah as de,D as at,ai as Z,aj as Yt,ak as ge,u as tt,al as ue,K as pe,k as fe,v as xe,A as ye,Q as be,am as we,an as xt,e as me,i as Tt}from"./md-index-TGP-egEp.js";import{c as Le}from"./md-clone-Bb0Qs8zN.js";import{G as Se}from"./md-graph-BqJ5nvx-.js";import{c as ve}from"./md-channel-Dlq_AjKA.js";import"./md-_baseUniq-Bm0iSxF4.js";var yt=function(){var e=d(function(N,x,g,u){for(g=g||{},u=N.length;u--;g[N[u]]=x);return g},"o"),t=[1,7],r=[1,13],n=[1,14],i=[1,15],a=[1,19],s=[1,16],l=[1,17],o=[1,18],f=[8,30],h=[8,21,28,29,30,31,32,40,44,47],y=[1,23],b=[1,24],m=[8,15,16,21,28,29,30,31,32,40,44,47],E=[8,15,16,21,27,28,29,30,31,32,40,44,47],D=[1,49],v={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:d(function(x,g,u,w,S,c,_){var p=c.length-1;switch(S){case 4:w.getLogger().debug("Rule: separator (NL) ");break;case 5:w.getLogger().debug("Rule: separator (Space) ");break;case 6:w.getLogger().debug("Rule: separator (EOF) ");break;case 7:w.getLogger().debug("Rule: hierarchy: ",c[p-1]),w.setHierarchy(c[p-1]);break;case 8:w.getLogger().debug("Stop NL ");break;case 9:w.getLogger().debug("Stop EOF ");break;case 10:w.getLogger().debug("Stop NL2 ");break;case 11:w.getLogger().debug("Stop EOF2 ");break;case 12:w.getLogger().debug("Rule: statement: ",c[p]),typeof c[p].length=="number"?this.$=c[p]:this.$=[c[p]];break;case 13:w.getLogger().debug("Rule: statement #2: ",c[p-1]),this.$=[c[p-1]].concat(c[p]);break;case 14:w.getLogger().debug("Rule: link: ",c[p],x),this.$={edgeTypeStr:c[p],label:""};break;case 15:w.getLogger().debug("Rule: LABEL link: ",c[p-3],c[p-1],c[p]),this.$={edgeTypeStr:c[p],label:c[p-1]};break;case 18:const A=parseInt(c[p]),O=w.generateId();this.$={id:O,type:"space",label:"",width:A,children:[]};break;case 23:w.getLogger().debug("Rule: (nodeStatement link node) ",c[p-2],c[p-1],c[p]," typestr: ",c[p-1].edgeTypeStr);const X=w.edgeStrToEdgeData(c[p-1].edgeTypeStr);this.$=[{id:c[p-2].id,label:c[p-2].label,type:c[p-2].type,directions:c[p-2].directions},{id:c[p-2].id+"-"+c[p].id,start:c[p-2].id,end:c[p].id,label:c[p-1].label,type:"edge",directions:c[p].directions,arrowTypeEnd:X,arrowTypeStart:"arrow_open"},{id:c[p].id,label:c[p].label,type:w.typeStr2Type(c[p].typeStr),directions:c[p].directions}];break;case 24:w.getLogger().debug("Rule: nodeStatement (abc88 node size) ",c[p-1],c[p]),this.$={id:c[p-1].id,label:c[p-1].label,type:w.typeStr2Type(c[p-1].typeStr),directions:c[p-1].directions,widthInColumns:parseInt(c[p],10)};break;case 25:w.getLogger().debug("Rule: nodeStatement (node) ",c[p]),this.$={id:c[p].id,label:c[p].label,type:w.typeStr2Type(c[p].typeStr),directions:c[p].directions,widthInColumns:1};break;case 26:w.getLogger().debug("APA123",this?this:"na"),w.getLogger().debug("COLUMNS: ",c[p]),this.$={type:"column-setting",columns:c[p]==="auto"?-1:parseInt(c[p])};break;case 27:w.getLogger().debug("Rule: id-block statement : ",c[p-2],c[p-1]),w.generateId(),this.$={...c[p-2],type:"composite",children:c[p-1]};break;case 28:w.getLogger().debug("Rule: blockStatement : ",c[p-2],c[p-1],c[p]);const W=w.generateId();this.$={id:W,type:"composite",label:"",children:c[p-1]};break;case 29:w.getLogger().debug("Rule: node (NODE_ID separator): ",c[p]),this.$={id:c[p]};break;case 30:w.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",c[p-1],c[p]),this.$={id:c[p-1],label:c[p].label,typeStr:c[p].typeStr,directions:c[p].directions};break;case 31:w.getLogger().debug("Rule: dirList: ",c[p]),this.$=[c[p]];break;case 32:w.getLogger().debug("Rule: dirList: ",c[p-1],c[p]),this.$=[c[p-1]].concat(c[p]);break;case 33:w.getLogger().debug("Rule: nodeShapeNLabel: ",c[p-2],c[p-1],c[p]),this.$={typeStr:c[p-2]+c[p],label:c[p-1]};break;case 34:w.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",c[p-3],c[p-2]," #3:",c[p-1],c[p]),this.$={typeStr:c[p-3]+c[p],label:c[p-2],directions:c[p-1]};break;case 35:case 36:this.$={type:"classDef",id:c[p-1].trim(),css:c[p].trim()};break;case 37:this.$={type:"applyClass",id:c[p-1].trim(),styleClass:c[p].trim()};break;case 38:this.$={type:"applyStyles",id:c[p-1].trim(),stylesStr:c[p].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{8:[1,20]},e(f,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:r,29:n,31:i,32:a,40:s,44:l,47:o}),e(h,[2,16],{14:22,15:y,16:b}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(m,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:a},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(E,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(f,[2,13]),{26:35,32:a},{32:[2,14]},{17:[1,36]},e(m,[2,24]),{11:37,13:4,14:22,15:y,16:b,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(E,[2,30]),{18:[1,43]},{18:[1,44]},e(m,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:D},{15:[1,50]},e(h,[2,27]),e(E,[2,33]),{39:[1,51]},{34:52,35:D,39:[2,31]},{32:[2,15]},e(E,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:d(function(x,g){if(g.recoverable)this.trace(x);else{var u=new Error(x);throw u.hash=g,u}},"parseError"),parse:d(function(x){var g=this,u=[0],w=[],S=[null],c=[],_=this.table,p="",A=0,O=0,X=2,W=1,ce=c.slice.call(arguments,1),M=Object.create(this.lexer),J={yy:{}};for(var gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,gt)&&(J.yy[gt]=this.yy[gt]);M.setInput(x,J.yy),J.yy.lexer=M,J.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var ut=M.yylloc;c.push(ut);var oe=M.options&&M.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(H){u.length=u.length-2*H,S.length=S.length-H,c.length=c.length-H}d(he,"popStack");function Dt(){var H;return H=w.pop()||M.lex()||W,typeof H!="number"&&(H instanceof Array&&(w=H,H=w.pop()),H=g.symbols_[H]||H),H}d(Dt,"lex");for(var Y,Q,U,pt,$={},st,q,Nt,it;;){if(Q=u[u.length-1],this.defaultActions[Q]?U=this.defaultActions[Q]:((Y===null||typeof Y>"u")&&(Y=Dt()),U=_[Q]&&_[Q][Y]),typeof U>"u"||!U.length||!U[0]){var ft="";it=[];for(st in _[Q])this.terminals_[st]&&st>X&&it.push("'"+this.terminals_[st]+"'");M.showPosition?ft="Parse error on line "+(A+1)+`: `+M.showPosition()+` Expecting `+it.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":ft="Parse error on line "+(A+1)+": Unexpected "+(Y==W?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(ft,{text:M.match,token:this.terminals_[Y]||Y,line:M.yylineno,loc:ut,expected:it})}if(U[0]instanceof Array&&U.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+Y);switch(U[0]){case 1:u.push(Y),S.push(M.yytext),c.push(M.yylloc),u.push(U[1]),Y=null,O=M.yyleng,p=M.yytext,A=M.yylineno,ut=M.yylloc;break;case 2:if(q=this.productions_[U[1]][1],$.$=S[S.length-q],$._$={first_line:c[c.length-(q||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(q||1)].first_column,last_column:c[c.length-1].last_column},oe&&($._$.range=[c[c.length-(q||1)].range[0],c[c.length-1].range[1]]),pt=this.performAction.apply($,[p,O,A,J.yy,U[1],S,c].concat(ce)),typeof pt<"u")return pt;q&&(u=u.slice(0,-1*q*2),S=S.slice(0,-1*q),c=c.slice(0,-1*q)),u.push(this.productions_[U[1]][0]),S.push($.$),c.push($._$),Nt=_[u[u.length-2]][u[u.length-1]],u.push(Nt);break;case 3:return!0}}return!0},"parse")},T=function(){var N={EOF:1,parseError:d(function(g,u){if(this.yy.parser)this.yy.parser.parseError(g,u);else throw new Error(g)},"parseError"),setInput:d(function(x,g){return this.yy=g||this.yy||{},this._input=x,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var g=x.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},"input"),unput:d(function(x){var g=x.length,u=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var w=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===w.length?this.yylloc.first_column:0)+w[w.length-u.length].length-u[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(x){this.unput(this.match.slice(x))},"less"),pastInput:d(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var x=this.pastInput(),g=new Array(x.length+1).join("-");return x+this.upcomingInput()+` diff --git a/static/js/md-c4Diagram-6F5ED5ID-Bo9BgkNY.js b/static/js/md-c4Diagram-6F5ED5ID-RoaEE6D3.js similarity index 99% rename from static/js/md-c4Diagram-6F5ED5ID-Bo9BgkNY.js rename to static/js/md-c4Diagram-6F5ED5ID-RoaEE6D3.js index 914aed2..5b693d2 100644 --- a/static/js/md-c4Diagram-6F5ED5ID-Bo9BgkNY.js +++ b/static/js/md-c4Diagram-6F5ED5ID-RoaEE6D3.js @@ -1,4 +1,4 @@ -import{d as Se,g as De}from"./md-chunk-ASOPGD6M-fXQ-YCai.js";import{_ as g,a as Pe,s as Be,g as Ie,b as Me,c as Le,d as Bt,w as Ne,e as $t,f as de,h as Tt,i as ge,j as jt,l as fe,k as Ye,m as je}from"./md-index-trBnGDGX.js";var Ft=function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],St=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:g(function(x,m,v,b,R,h,Dt){var p=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[p-3]);break;case 19:b.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:b.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),b.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:b.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:b.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:b.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:b.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:b.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:b.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:b.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:b.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:b.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:b.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:b.addContainer("container",...h[p]),this.$=h[p];break;case 48:b.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:b.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:b.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:b.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:b.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:b.addComponent("component",...h[p]),this.$=h[p];break;case 54:b.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:b.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:b.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:b.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:b.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:b.addRel("rel",...h[p]),this.$=h[p];break;case 61:b.addRel("birel",...h[p]),this.$=h[p];break;case 62:b.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:b.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:b.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:b.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:b.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),b.addRel("rel",...h[p]),this.$=h[p];break;case 68:b.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:b.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:b.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Dt=this.table,p="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I>"u")&&(I=he()),N=Dt[At]&&Dt[At][I]),typeof N>"u"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Dt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`: +import{d as Se,g as De}from"./md-chunk-ASOPGD6M-BXMG1Nfx.js";import{_ as g,a as Pe,s as Be,g as Ie,b as Me,c as Le,d as Bt,w as Ne,e as $t,f as de,h as Tt,i as ge,j as jt,l as fe,k as Ye,m as je}from"./md-index-TGP-egEp.js";var Ft=function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],St=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:g(function(x,m,v,b,R,h,Dt){var p=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[p-3]);break;case 19:b.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:b.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),b.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:b.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:b.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:b.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:b.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:b.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:b.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:b.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:b.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:b.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:b.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:b.addContainer("container",...h[p]),this.$=h[p];break;case 48:b.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:b.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:b.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:b.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:b.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:b.addComponent("component",...h[p]),this.$=h[p];break;case 54:b.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:b.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:b.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:b.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:b.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:b.addRel("rel",...h[p]),this.$=h[p];break;case 61:b.addRel("birel",...h[p]),this.$=h[p];break;case 62:b.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:b.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:b.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:b.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:b.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),b.addRel("rel",...h[p]),this.$=h[p];break;case 68:b.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:b.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:b.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Dt=this.table,p="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I>"u")&&(I=he()),N=Dt[At]&&Dt[At][I]),typeof N>"u"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Dt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`: `+D.showPosition()+` Expecting `+Yt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Zt="Parse error on line "+(Et+1)+": Unexpected "+(I==ce?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Zt,{text:D.match,token:this.terminals_[I]||I,line:D.yylineno,loc:Kt,expected:Yt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+At+", token: "+I);switch(N[0]){case 1:v.push(I),R.push(D.yytext),h.push(D.yylloc),v.push(N[1]),I=null,oe=D.yyleng,p=D.yytext,Et=D.yylineno,Kt=D.yylloc;break;case 2:if(W=this.productions_[N[1]][1],wt.$=R[R.length-W],wt._$={first_line:h[h.length-(W||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(W||1)].first_column,last_column:h[h.length-1].last_column},Oe&&(wt._$.range=[h[h.length-(W||1)].range[0],h[h.length-1].range[1]]),Jt=this.performAction.apply(wt,[p,oe,Et,kt.yy,N[1],R,h].concat(Te)),typeof Jt<"u")return Jt;W&&(v=v.slice(0,-1*W*2),R=R.slice(0,-1*W),h=h.slice(0,-1*W)),v.push(this.productions_[N[1]][0]),R.push(wt.$),h.push(wt._$),ue=Dt[v[v.length-2]][v[v.length-1]],v.push(ue);break;case 3:return!0}}return!0},"parse")},Ce=function(){var _t={EOF:1,parseError:g(function(m,v){if(this.yy.parser)this.yy.parser.parseError(m,v);else throw new Error(m)},"parseError"),setInput:g(function(x,m){return this.yy=m||this.yy||{},this._input=x,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:g(function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var m=x.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},"input"),unput:g(function(x){var m=x.length,v=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),v.length-1&&(this.yylineno-=v.length-1);var R=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:v?(v.length===b.length?this.yylloc.first_column:0)+b[b.length-v.length].length-v[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:g(function(x){this.unput(this.match.slice(x))},"less"),pastInput:g(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var x=this.pastInput(),m=new Array(x.length+1).join("-");return x+this.upcomingInput()+` diff --git a/static/js/md-channel-CT_g7y1I.js b/static/js/md-channel-CT_g7y1I.js deleted file mode 100644 index 8ca135a..0000000 --- a/static/js/md-channel-CT_g7y1I.js +++ /dev/null @@ -1 +0,0 @@ -import{ao as r,ap as n}from"./md-index-trBnGDGX.js";const t=(a,o)=>r.lang.round(n.parse(a)[o]);export{t as c}; diff --git a/static/js/md-channel-Dlq_AjKA.js b/static/js/md-channel-Dlq_AjKA.js new file mode 100644 index 0000000..b5d0845 --- /dev/null +++ b/static/js/md-channel-Dlq_AjKA.js @@ -0,0 +1 @@ +import{ao as r,ap as n}from"./md-index-TGP-egEp.js";const t=(a,o)=>r.lang.round(n.parse(a)[o]);export{t as c}; diff --git a/static/js/md-chunk-5HRBRIJM-BSZ1VC5p.js b/static/js/md-chunk-5HRBRIJM-DIfJDOBU.js similarity index 90% rename from static/js/md-chunk-5HRBRIJM-BSZ1VC5p.js rename to static/js/md-chunk-5HRBRIJM-DIfJDOBU.js index ba0f779..11aa502 100644 --- a/static/js/md-chunk-5HRBRIJM-BSZ1VC5p.js +++ b/static/js/md-chunk-5HRBRIJM-DIfJDOBU.js @@ -1 +1 @@ -import{_ as n,j as r,k as g,l as d}from"./md-index-trBnGDGX.js";var u=n((t,e)=>{let o;return e==="sandbox"&&(o=r("#i"+t)),(e==="sandbox"?r(o.nodes()[0].contentDocument.body):r("body")).select(`[id="${t}"]`)},"getDiagramElement"),b=n((t,e,o,i)=>{t.attr("class",o);const{width:a,height:s,x:h,y:x}=l(t,e);g(t,s,a,i);const c=w(h,x,a,s,e);t.attr("viewBox",c),d.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),l=n((t,e)=>{var i;const o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,a)=>`${t-a} ${e-a} ${o} ${i}`,"createViewBox");export{u as g,b as s}; +import{_ as n,j as r,k as g,l as d}from"./md-index-TGP-egEp.js";var u=n((t,e)=>{let o;return e==="sandbox"&&(o=r("#i"+t)),(e==="sandbox"?r(o.nodes()[0].contentDocument.body):r("body")).select(`[id="${t}"]`)},"getDiagramElement"),b=n((t,e,o,i)=>{t.attr("class",o);const{width:a,height:s,x:h,y:x}=l(t,e);g(t,s,a,i);const c=w(h,x,a,s,e);t.attr("viewBox",c),d.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),l=n((t,e)=>{var i;const o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,a)=>`${t-a} ${e-a} ${o} ${i}`,"createViewBox");export{u as g,b as s}; diff --git a/static/js/md-chunk-7U56Z5CX-CdqdQnR2.js b/static/js/md-chunk-7U56Z5CX-DSlGDS0l.js similarity index 99% rename from static/js/md-chunk-7U56Z5CX-CdqdQnR2.js rename to static/js/md-chunk-7U56Z5CX-DSlGDS0l.js index dbd5030..247ad87 100644 --- a/static/js/md-chunk-7U56Z5CX-CdqdQnR2.js +++ b/static/js/md-chunk-7U56Z5CX-DSlGDS0l.js @@ -1,4 +1,4 @@ -import{g as De,s as Ce}from"./md-chunk-5HRBRIJM-BSZ1VC5p.js";import{_ as r,e as z,d as x,g as xe,s as Ae,b as Le,c as Re,p as Ie,q as Oe,l as b,z as Ne,u as we,v as $e,R as Pe}from"./md-index-trBnGDGX.js";var Ot=function(){var t=r(function($,o,u,n){for(u=u||{},n=$.length;n--;u[$[n]]=o);return u},"o"),e=[1,2],c=[1,3],a=[1,4],d=[2,4],s=[1,9],p=[1,11],g=[1,16],l=[1,17],_=[1,18],v=[1,19],A=[1,32],B=[1,20],Y=[1,21],R=[1,22],f=[1,23],L=[1,24],I=[1,26],F=[1,27],V=[1,28],N=[1,29],w=[1,30],rt=[1,31],at=[1,34],nt=[1,35],lt=[1,36],ot=[1,37],J=[1,33],S=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],kt={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:r(function(o,u,n,y,T,i,q){var h=i.length-1;switch(T){case 3:return y.setRootDoc(i[h]),i[h];case 4:this.$=[];break;case 5:i[h]!="nl"&&(i[h-1].push(i[h]),this.$=i[h-1]);break;case 6:case 7:this.$=i[h];break;case 8:this.$="nl";break;case 12:this.$=i[h];break;case 13:const Q=i[h-1];Q.description=y.trimColon(i[h]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[h-2],state2:i[h]};break;case 15:const Dt=y.trimColon(i[h]);this.$={stmt:"relation",state1:i[h-3],state2:i[h-1],description:Dt};break;case 19:this.$={stmt:"state",id:i[h-3],type:"default",description:"",doc:i[h-1]};break;case 20:var M=i[h],W=i[h-2].trim();if(i[h].match(":")){var ht=i[h].split(":");M=ht[0],W=[W,ht[1]]}this.$={stmt:"state",id:M,type:"default",description:W};break;case 21:this.$={stmt:"state",id:i[h-3],type:"default",description:i[h-5],doc:i[h-1]};break;case 22:this.$={stmt:"state",id:i[h],type:"fork"};break;case 23:this.$={stmt:"state",id:i[h],type:"join"};break;case 24:this.$={stmt:"state",id:i[h],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[h-1].trim(),note:{position:i[h-2].trim(),text:i[h].trim()}};break;case 29:this.$=i[h].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=i[h].trim(),y.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:i[h-1].trim(),classes:i[h].trim()};break;case 34:this.$={stmt:"style",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 35:this.$={stmt:"applyClass",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 36:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:i[h].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:c,6:a},{1:[3]},{3:5,4:e,5:c,6:a},{3:6,4:e,5:c,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11]),t(S,[2,12],{14:[1,39],15:[1,40]}),t(S,[2,16]),{18:[1,41]},t(S,[2,18],{20:[1,42]}),{23:[1,43]},t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(S,[2,28]),{34:[1,48]},{36:[1,49]},t(S,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ct,[2,42],{55:[1,54]}),t(ct,[2,43],{55:[1,55]}),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,6]),t(S,[2,13]),{13:56,24:A,54:J},t(S,[2,17]),t(Vt,d,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(S,[2,29]),t(S,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(S,[2,14],{14:[1,67]}),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,68],22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),t(ct,[2,44]),t(ct,[2,45]),t(S,[2,15]),t(S,[2,19]),t(Vt,d,{7:72}),t(S,[2,26]),t(S,[2,27]),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,73],22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:r(function(o,u){if(u.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=u,n}},"parseError"),parse:r(function(o){var u=this,n=[0],y=[],T=[null],i=[],q=this.table,h="",M=0,W=0,ht=2,Q=1,Dt=i.slice.call(arguments,1),E=Object.create(this.lexer),U={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(U.yy[Ct]=this.yy[Ct]);E.setInput(o,U.yy),U.yy.lexer=E,U.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var xt=E.yylloc;i.push(xt);var me=E.options&&E.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ke(D){n.length=n.length-2*D,T.length=T.length-D,i.length=i.length-D}r(ke,"popStack");function Mt(){var D;return D=y.pop()||E.lex()||Q,typeof D!="number"&&(D instanceof Array&&(y=D,D=y.pop()),D=u.symbols_[D]||D),D}r(Mt,"lex");for(var m,j,C,At,X={},dt,O,Ut,ft;;){if(j=n[n.length-1],this.defaultActions[j]?C=this.defaultActions[j]:((m===null||typeof m>"u")&&(m=Mt()),C=q[j]&&q[j][m]),typeof C>"u"||!C.length||!C[0]){var Lt="";ft=[];for(dt in q[j])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");E.showPosition?Lt="Parse error on line "+(M+1)+`: +import{g as De,s as Ce}from"./md-chunk-5HRBRIJM-DIfJDOBU.js";import{_ as r,e as z,d as x,g as xe,s as Ae,b as Le,c as Re,p as Ie,q as Oe,l as b,z as Ne,u as we,v as $e,R as Pe}from"./md-index-TGP-egEp.js";var Ot=function(){var t=r(function($,o,u,n){for(u=u||{},n=$.length;n--;u[$[n]]=o);return u},"o"),e=[1,2],c=[1,3],a=[1,4],d=[2,4],s=[1,9],p=[1,11],g=[1,16],l=[1,17],_=[1,18],v=[1,19],A=[1,32],B=[1,20],Y=[1,21],R=[1,22],f=[1,23],L=[1,24],I=[1,26],F=[1,27],V=[1,28],N=[1,29],w=[1,30],rt=[1,31],at=[1,34],nt=[1,35],lt=[1,36],ot=[1,37],J=[1,33],S=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],kt={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:r(function(o,u,n,y,T,i,q){var h=i.length-1;switch(T){case 3:return y.setRootDoc(i[h]),i[h];case 4:this.$=[];break;case 5:i[h]!="nl"&&(i[h-1].push(i[h]),this.$=i[h-1]);break;case 6:case 7:this.$=i[h];break;case 8:this.$="nl";break;case 12:this.$=i[h];break;case 13:const Q=i[h-1];Q.description=y.trimColon(i[h]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[h-2],state2:i[h]};break;case 15:const Dt=y.trimColon(i[h]);this.$={stmt:"relation",state1:i[h-3],state2:i[h-1],description:Dt};break;case 19:this.$={stmt:"state",id:i[h-3],type:"default",description:"",doc:i[h-1]};break;case 20:var M=i[h],W=i[h-2].trim();if(i[h].match(":")){var ht=i[h].split(":");M=ht[0],W=[W,ht[1]]}this.$={stmt:"state",id:M,type:"default",description:W};break;case 21:this.$={stmt:"state",id:i[h-3],type:"default",description:i[h-5],doc:i[h-1]};break;case 22:this.$={stmt:"state",id:i[h],type:"fork"};break;case 23:this.$={stmt:"state",id:i[h],type:"join"};break;case 24:this.$={stmt:"state",id:i[h],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[h-1].trim(),note:{position:i[h-2].trim(),text:i[h].trim()}};break;case 29:this.$=i[h].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=i[h].trim(),y.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:i[h-1].trim(),classes:i[h].trim()};break;case 34:this.$={stmt:"style",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 35:this.$={stmt:"applyClass",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 36:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:i[h].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:c,6:a},{1:[3]},{3:5,4:e,5:c,6:a},{3:6,4:e,5:c,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11]),t(S,[2,12],{14:[1,39],15:[1,40]}),t(S,[2,16]),{18:[1,41]},t(S,[2,18],{20:[1,42]}),{23:[1,43]},t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(S,[2,28]),{34:[1,48]},{36:[1,49]},t(S,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ct,[2,42],{55:[1,54]}),t(ct,[2,43],{55:[1,55]}),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,6]),t(S,[2,13]),{13:56,24:A,54:J},t(S,[2,17]),t(Vt,d,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(S,[2,29]),t(S,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(S,[2,14],{14:[1,67]}),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,68],22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),t(ct,[2,44]),t(ct,[2,45]),t(S,[2,15]),t(S,[2,19]),t(Vt,d,{7:72}),t(S,[2,26]),t(S,[2,27]),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,73],22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:r(function(o,u){if(u.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=u,n}},"parseError"),parse:r(function(o){var u=this,n=[0],y=[],T=[null],i=[],q=this.table,h="",M=0,W=0,ht=2,Q=1,Dt=i.slice.call(arguments,1),E=Object.create(this.lexer),U={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(U.yy[Ct]=this.yy[Ct]);E.setInput(o,U.yy),U.yy.lexer=E,U.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var xt=E.yylloc;i.push(xt);var me=E.options&&E.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ke(D){n.length=n.length-2*D,T.length=T.length-D,i.length=i.length-D}r(ke,"popStack");function Mt(){var D;return D=y.pop()||E.lex()||Q,typeof D!="number"&&(D instanceof Array&&(y=D,D=y.pop()),D=u.symbols_[D]||D),D}r(Mt,"lex");for(var m,j,C,At,X={},dt,O,Ut,ft;;){if(j=n[n.length-1],this.defaultActions[j]?C=this.defaultActions[j]:((m===null||typeof m>"u")&&(m=Mt()),C=q[j]&&q[j][m]),typeof C>"u"||!C.length||!C[0]){var Lt="";ft=[];for(dt in q[j])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");E.showPosition?Lt="Parse error on line "+(M+1)+`: `+E.showPosition()+` Expecting `+ft.join(", ")+", got '"+(this.terminals_[m]||m)+"'":Lt="Parse error on line "+(M+1)+": Unexpected "+(m==Q?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(Lt,{text:E.match,token:this.terminals_[m]||m,line:E.yylineno,loc:xt,expected:ft})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+m);switch(C[0]){case 1:n.push(m),T.push(E.yytext),i.push(E.yylloc),n.push(C[1]),m=null,W=E.yyleng,h=E.yytext,M=E.yylineno,xt=E.yylloc;break;case 2:if(O=this.productions_[C[1]][1],X.$=T[T.length-O],X._$={first_line:i[i.length-(O||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(O||1)].first_column,last_column:i[i.length-1].last_column},me&&(X._$.range=[i[i.length-(O||1)].range[0],i[i.length-1].range[1]]),At=this.performAction.apply(X,[h,W,M,U.yy,C[1],T,i].concat(Dt)),typeof At<"u")return At;O&&(n=n.slice(0,-1*O*2),T=T.slice(0,-1*O),i=i.slice(0,-1*O)),n.push(this.productions_[C[1]][0]),T.push(X.$),i.push(X._$),Ut=q[n[n.length-2]][n[n.length-1]],n.push(Ut);break;case 3:return!0}}return!0},"parse")},be=function(){var $={EOF:1,parseError:r(function(u,n){if(this.yy.parser)this.yy.parser.parseError(u,n);else throw new Error(u)},"parseError"),setInput:r(function(o,u){return this.yy=u||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:r(function(o){var u=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===y.length?this.yylloc.first_column:0)+y[y.length-n.length].length-n[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(o){this.unput(this.match.slice(o))},"less"),pastInput:r(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/static/js/md-chunk-ASOPGD6M-fXQ-YCai.js b/static/js/md-chunk-ASOPGD6M-BXMG1Nfx.js similarity index 95% rename from static/js/md-chunk-ASOPGD6M-fXQ-YCai.js rename to static/js/md-chunk-ASOPGD6M-BXMG1Nfx.js index d8ecf8c..7c20803 100644 --- a/static/js/md-chunk-ASOPGD6M-fXQ-YCai.js +++ b/static/js/md-chunk-ASOPGD6M-BXMG1Nfx.js @@ -1 +1 @@ -import{_ as n,S as c,m as l}from"./md-index-trBnGDGX.js";var o=n((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=n((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};o(a,e).lower()},"drawBackgroundRect"),g=n((a,t)=>{const e=t.text.replace(c," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),m=n((a,t,e,r)=>{const s=a.append("image");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",i)},"drawImage"),h=n((a,t,e,r)=>{const s=a.append("use");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),y=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{p as a,d as b,h as c,o as d,m as e,g as f,y as g}; +import{_ as n,S as c,m as l}from"./md-index-TGP-egEp.js";var o=n((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=n((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};o(a,e).lower()},"drawBackgroundRect"),g=n((a,t)=>{const e=t.text.replace(c," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),m=n((a,t,e,r)=>{const s=a.append("image");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",i)},"drawImage"),h=n((a,t,e,r)=>{const s=a.append("use");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),y=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{p as a,d as b,h as c,o as d,m as e,g as f,y as g}; diff --git a/static/js/md-chunk-KFBOBJHC-CIi2d-ms.js b/static/js/md-chunk-KFBOBJHC-pqV5ft4Q.js similarity index 66% rename from static/js/md-chunk-KFBOBJHC-CIi2d-ms.js rename to static/js/md-chunk-KFBOBJHC-pqV5ft4Q.js index d4ca6b1..7d29fc0 100644 --- a/static/js/md-chunk-KFBOBJHC-CIi2d-ms.js +++ b/static/js/md-chunk-KFBOBJHC-pqV5ft4Q.js @@ -1 +1 @@ -import{_ as s}from"./md-index-trBnGDGX.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I}; +import{_ as s}from"./md-index-TGP-egEp.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I}; diff --git a/static/js/md-chunk-T2TOU4HS-j9mIfZ11.js b/static/js/md-chunk-T2TOU4HS-BtlZTvLl.js similarity index 99% rename from static/js/md-chunk-T2TOU4HS-j9mIfZ11.js rename to static/js/md-chunk-T2TOU4HS-BtlZTvLl.js index 043cb66..bdd3f3c 100644 --- a/static/js/md-chunk-T2TOU4HS-j9mIfZ11.js +++ b/static/js/md-chunk-T2TOU4HS-BtlZTvLl.js @@ -1,4 +1,4 @@ -import{g as mt,s as Et}from"./md-chunk-5HRBRIJM-BSZ1VC5p.js";import{_ as u,i as bt,d as D,P as z,s as kt,g as yt,b as Tt,c as Ft,p as Dt,q as _t,e as I,v as Bt,l as ze,u as Qe,j as ie,x as St,y as vt,z as Nt}from"./md-index-trBnGDGX.js";var Ke=function(){var e=u(function(O,o,h,d){for(h=h||{},d=O.length;d--;h[O[d]]=o);return h},"o"),i=[1,18],a=[1,19],l=[1,20],c=[1,41],r=[1,42],A=[1,26],f=[1,24],T=[1,25],S=[1,32],ke=[1,33],ye=[1,34],m=[1,45],Te=[1,35],Fe=[1,36],De=[1,37],_e=[1,38],Be=[1,27],Se=[1,28],ve=[1,29],Ne=[1,30],Le=[1,31],E=[1,44],b=[1,46],k=[1,43],F=[1,47],xe=[1,9],p=[1,8,9],re=[1,58],ue=[1,59],le=[1,60],oe=[1,61],ce=[1,62],Ie=[1,63],Oe=[1,64],he=[1,8,9,41],qe=[1,76],G=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],pe=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],de=[13,58,84,99,101,102],Q=[13,58,71,72,84,99,101,102],He=[13,58,66,67,68,69,70,84,99,101,102],we=[1,98],W=[1,115],X=[1,107],q=[1,113],H=[1,108],J=[1,109],Z=[1,110],$=[1,111],ee=[1,112],te=[1,114],Je=[22,58,59,80,84,85,86,87,88,89],Ve=[1,8,9,39,41,44],Ae=[1,8,9,22],Ze=[1,143],$e=[1,8,9,59],N=[1,8,9,22,58,59,80,84,85,86,87,88,89],Pe={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:u(function(o,h,d,n,C,t,se){var s=t.length-1;switch(C){case 8:this.$=t[s-1];break;case 9:case 12:case 14:this.$=t[s];break;case 10:case 13:this.$=t[s-2]+"."+t[s];break;case 11:case 15:this.$=t[s-1]+t[s];break;case 16:case 17:this.$=t[s-1]+"~"+t[s]+"~";break;case 18:n.addRelation(t[s]);break;case 19:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 30:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 31:case 32:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 33:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 34:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 35:this.$=t[s],n.addNamespace(t[s]);break;case 36:this.$=[t[s]];break;case 37:this.$=[t[s-1]];break;case 38:t[s].unshift(t[s-2]),this.$=t[s];break;case 40:n.setCssClass(t[s-2],t[s]);break;case 41:n.addMembers(t[s-3],t[s-1]);break;case 42:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],n.addClass(t[s]);break;case 44:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 45:n.addAnnotation(t[s],t[s-2]);break;case 46:case 59:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:break;case 49:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 50:break;case 51:break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:n.addNote(t[s],t[s-1]);break;case 57:n.addNote(t[s]);break;case 58:this.$=t[s-2],n.defineClass(t[s-1],t[s]);break;case 60:this.$=t[s-2].concat([t[s]]);break;case 61:n.setDirection("TB");break;case 62:n.setDirection("BT");break;case 63:n.setDirection("RL");break;case 64:n.setDirection("LR");break;case 65:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 66:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 67:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 68:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 69:this.$=n.relationType.AGGREGATION;break;case 70:this.$=n.relationType.EXTENSION;break;case 71:this.$=n.relationType.COMPOSITION;break;case 72:this.$=n.relationType.DEPENDENCY;break;case 73:this.$=n.relationType.LOLLIPOP;break;case 74:this.$=n.lineType.LINE;break;case 75:this.$=n.lineType.DOTTED_LINE;break;case 76:case 82:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 77:case 83:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 78:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 79:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 84:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 85:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 86:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 87:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 88:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 89:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 90:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 91:n.setCssClass(t[s-1],t[s]);break;case 92:this.$=[t[s]];break;case 93:t[s-2].push(t[s]),this.$=t[s-2];break;case 95:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:c,43:23,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(xe,[2,5],{8:[1,48]}),{8:[1,49]},e(p,[2,18],{22:[1,50]}),e(p,[2,20]),e(p,[2,21]),e(p,[2,22]),e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,27]),e(p,[2,28]),e(p,[2,29]),{34:[1,51]},{36:[1,52]},e(p,[2,32]),e(p,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:re,67:ue,68:le,69:oe,70:ce,71:Ie,72:Oe}),{39:[1,65]},e(he,[2,39],{39:[1,67],44:[1,66]}),e(p,[2,50]),e(p,[2,51]),{16:68,58:m,84:E,99:b,101:k},{16:39,18:69,19:40,58:m,84:E,99:b,101:k,102:F},{16:39,18:70,19:40,58:m,84:E,99:b,101:k,102:F},{16:39,18:71,19:40,58:m,84:E,99:b,101:k,102:F},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:m,84:E,99:b,101:k,102:F},{13:qe,53:75},{56:77,58:[1,78]},e(p,[2,61]),e(p,[2,62]),e(p,[2,63]),e(p,[2,64]),e(G,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:m,84:E,99:b,101:k,102:F}),e(G,[2,14],{20:[1,82]}),{15:83,16:84,58:m,84:E,99:b,101:k},{16:39,18:85,19:40,58:m,84:E,99:b,101:k,102:F},e(pe,[2,118]),e(pe,[2,119]),e(pe,[2,120]),e(pe,[2,121]),e([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),e(xe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:i,35:a,37:l,42:c,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:c,43:23,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F},e(p,[2,19]),e(p,[2,30]),e(p,[2,31]),{13:[1,89],16:39,18:88,19:40,58:m,84:E,99:b,101:k,102:F},{51:90,64:56,65:57,66:re,67:ue,68:le,69:oe,70:ce,71:Ie,72:Oe},e(p,[2,49]),{65:91,71:Ie,72:Oe},e(de,[2,68],{64:92,66:re,67:ue,68:le,69:oe,70:ce}),e(Q,[2,69]),e(Q,[2,70]),e(Q,[2,71]),e(Q,[2,72]),e(Q,[2,73]),e(He,[2,74]),e(He,[2,75]),{8:[1,94],24:95,40:93,43:23,46:r},{16:96,58:m,84:E,99:b,101:k},{45:97,49:we},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:W,57:104,58:X,80:q,82:105,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},{58:[1,116]},{13:qe,53:117},e(p,[2,57]),e(p,[2,123]),{22:W,57:118,58:X,59:[1,119],80:q,82:105,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},e(Je,[2,59]),{16:39,18:120,19:40,58:m,84:E,99:b,101:k,102:F},e(G,[2,15]),e(G,[2,16]),e(G,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:m,84:E,99:b,101:k},e(Ve,[2,43],{11:123,12:[1,124]}),e(xe,[2,7]),{9:[1,125]},e(Ae,[2,52]),{16:39,18:126,19:40,58:m,84:E,99:b,101:k,102:F},{13:[1,128],16:39,18:127,19:40,58:m,84:E,99:b,101:k,102:F},e(de,[2,67],{64:129,66:re,67:ue,68:le,69:oe,70:ce}),e(de,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:r},{8:[1,132],41:[2,36]},e(he,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:we},{16:39,18:136,19:40,58:m,84:E,99:b,101:k,102:F},e(p,[2,76],{13:[1,137]}),e(p,[2,78],{13:[1,139],75:[1,138]}),e(p,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},e(p,[2,90],{59:Ze}),e($e,[2,92],{83:144,22:W,58:X,80:q,84:H,85:J,86:Z,87:$,88:ee,89:te}),e(N,[2,94]),e(N,[2,96]),e(N,[2,97]),e(N,[2,98]),e(N,[2,99]),e(N,[2,100]),e(N,[2,101]),e(N,[2,102]),e(N,[2,103]),e(N,[2,104]),e(p,[2,91]),e(p,[2,56]),e(p,[2,58],{59:Ze}),{58:[1,145]},e(G,[2,13]),{15:146,16:84,58:m,84:E,99:b,101:k},{39:[2,11]},e(Ve,[2,44]),{13:[1,147]},{1:[2,4]},e(Ae,[2,54]),e(Ae,[2,53]),{16:39,18:148,19:40,58:m,84:E,99:b,101:k,102:F},e(de,[2,65]),e(p,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:r},{45:151,49:we},e(he,[2,41]),{41:[2,47]},e(p,[2,45]),e(p,[2,77]),e(p,[2,79]),e(p,[2,80],{75:[1,152]}),e(p,[2,83]),e(p,[2,84],{13:[1,153]}),e(p,[2,86],{13:[1,155],75:[1,154]}),{22:W,58:X,80:q,82:156,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},e(N,[2,95]),e(Je,[2,60]),{39:[2,10]},{14:[1,157]},e(Ae,[2,55]),e(p,[2,34]),{41:[2,38]},{41:[1,158]},e(p,[2,81]),e(p,[2,85]),e(p,[2,87]),e(p,[2,88],{75:[1,159]}),e($e,[2,93],{83:144,22:W,58:X,80:q,84:H,85:J,86:Z,87:$,88:ee,89:te}),e(Ve,[2,8]),e(he,[2,42]),e(p,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:u(function(o,h){if(h.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=h,d}},"parseError"),parse:u(function(o){var h=this,d=[0],n=[],C=[null],t=[],se=this.table,s="",ge=0,et=0,At=2,tt=1,ft=t.slice.call(arguments,1),y=Object.create(this.lexer),V={yy:{}};for(var Re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Re)&&(V.yy[Re]=this.yy[Re]);y.setInput(o,V.yy),V.yy.lexer=y,V.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Me=y.yylloc;t.push(Me);var gt=y.options&&y.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ct(B){d.length=d.length-2*B,C.length=C.length-B,t.length=t.length-B}u(Ct,"popStack");function st(){var B;return B=n.pop()||y.lex()||tt,typeof B!="number"&&(B instanceof Array&&(n=B,B=n.pop()),B=h.symbols_[B]||B),B}u(st,"lex");for(var _,P,v,Ge,U={},Ce,x,it,me;;){if(P=d[d.length-1],this.defaultActions[P]?v=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=st()),v=se[P]&&se[P][_]),typeof v>"u"||!v.length||!v[0]){var Ue="";me=[];for(Ce in se[P])this.terminals_[Ce]&&Ce>At&&me.push("'"+this.terminals_[Ce]+"'");y.showPosition?Ue="Parse error on line "+(ge+1)+`: +import{g as mt,s as Et}from"./md-chunk-5HRBRIJM-DIfJDOBU.js";import{_ as u,i as bt,d as D,P as z,s as kt,g as yt,b as Tt,c as Ft,p as Dt,q as _t,e as I,v as Bt,l as ze,u as Qe,j as ie,x as St,y as vt,z as Nt}from"./md-index-TGP-egEp.js";var Ke=function(){var e=u(function(O,o,h,d){for(h=h||{},d=O.length;d--;h[O[d]]=o);return h},"o"),i=[1,18],a=[1,19],l=[1,20],c=[1,41],r=[1,42],A=[1,26],f=[1,24],T=[1,25],S=[1,32],ke=[1,33],ye=[1,34],m=[1,45],Te=[1,35],Fe=[1,36],De=[1,37],_e=[1,38],Be=[1,27],Se=[1,28],ve=[1,29],Ne=[1,30],Le=[1,31],E=[1,44],b=[1,46],k=[1,43],F=[1,47],xe=[1,9],p=[1,8,9],re=[1,58],ue=[1,59],le=[1,60],oe=[1,61],ce=[1,62],Ie=[1,63],Oe=[1,64],he=[1,8,9,41],qe=[1,76],G=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],pe=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],de=[13,58,84,99,101,102],Q=[13,58,71,72,84,99,101,102],He=[13,58,66,67,68,69,70,84,99,101,102],we=[1,98],W=[1,115],X=[1,107],q=[1,113],H=[1,108],J=[1,109],Z=[1,110],$=[1,111],ee=[1,112],te=[1,114],Je=[22,58,59,80,84,85,86,87,88,89],Ve=[1,8,9,39,41,44],Ae=[1,8,9,22],Ze=[1,143],$e=[1,8,9,59],N=[1,8,9,22,58,59,80,84,85,86,87,88,89],Pe={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:u(function(o,h,d,n,C,t,se){var s=t.length-1;switch(C){case 8:this.$=t[s-1];break;case 9:case 12:case 14:this.$=t[s];break;case 10:case 13:this.$=t[s-2]+"."+t[s];break;case 11:case 15:this.$=t[s-1]+t[s];break;case 16:case 17:this.$=t[s-1]+"~"+t[s]+"~";break;case 18:n.addRelation(t[s]);break;case 19:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 30:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 31:case 32:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 33:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 34:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 35:this.$=t[s],n.addNamespace(t[s]);break;case 36:this.$=[t[s]];break;case 37:this.$=[t[s-1]];break;case 38:t[s].unshift(t[s-2]),this.$=t[s];break;case 40:n.setCssClass(t[s-2],t[s]);break;case 41:n.addMembers(t[s-3],t[s-1]);break;case 42:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],n.addClass(t[s]);break;case 44:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 45:n.addAnnotation(t[s],t[s-2]);break;case 46:case 59:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:break;case 49:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 50:break;case 51:break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:n.addNote(t[s],t[s-1]);break;case 57:n.addNote(t[s]);break;case 58:this.$=t[s-2],n.defineClass(t[s-1],t[s]);break;case 60:this.$=t[s-2].concat([t[s]]);break;case 61:n.setDirection("TB");break;case 62:n.setDirection("BT");break;case 63:n.setDirection("RL");break;case 64:n.setDirection("LR");break;case 65:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 66:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 67:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 68:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 69:this.$=n.relationType.AGGREGATION;break;case 70:this.$=n.relationType.EXTENSION;break;case 71:this.$=n.relationType.COMPOSITION;break;case 72:this.$=n.relationType.DEPENDENCY;break;case 73:this.$=n.relationType.LOLLIPOP;break;case 74:this.$=n.lineType.LINE;break;case 75:this.$=n.lineType.DOTTED_LINE;break;case 76:case 82:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 77:case 83:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 78:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 79:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 84:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 85:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 86:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 87:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 88:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 89:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 90:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 91:n.setCssClass(t[s-1],t[s]);break;case 92:this.$=[t[s]];break;case 93:t[s-2].push(t[s]),this.$=t[s-2];break;case 95:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:c,43:23,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(xe,[2,5],{8:[1,48]}),{8:[1,49]},e(p,[2,18],{22:[1,50]}),e(p,[2,20]),e(p,[2,21]),e(p,[2,22]),e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,27]),e(p,[2,28]),e(p,[2,29]),{34:[1,51]},{36:[1,52]},e(p,[2,32]),e(p,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:re,67:ue,68:le,69:oe,70:ce,71:Ie,72:Oe}),{39:[1,65]},e(he,[2,39],{39:[1,67],44:[1,66]}),e(p,[2,50]),e(p,[2,51]),{16:68,58:m,84:E,99:b,101:k},{16:39,18:69,19:40,58:m,84:E,99:b,101:k,102:F},{16:39,18:70,19:40,58:m,84:E,99:b,101:k,102:F},{16:39,18:71,19:40,58:m,84:E,99:b,101:k,102:F},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:m,84:E,99:b,101:k,102:F},{13:qe,53:75},{56:77,58:[1,78]},e(p,[2,61]),e(p,[2,62]),e(p,[2,63]),e(p,[2,64]),e(G,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:m,84:E,99:b,101:k,102:F}),e(G,[2,14],{20:[1,82]}),{15:83,16:84,58:m,84:E,99:b,101:k},{16:39,18:85,19:40,58:m,84:E,99:b,101:k,102:F},e(pe,[2,118]),e(pe,[2,119]),e(pe,[2,120]),e(pe,[2,121]),e([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),e(xe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:i,35:a,37:l,42:c,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:c,43:23,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F},e(p,[2,19]),e(p,[2,30]),e(p,[2,31]),{13:[1,89],16:39,18:88,19:40,58:m,84:E,99:b,101:k,102:F},{51:90,64:56,65:57,66:re,67:ue,68:le,69:oe,70:ce,71:Ie,72:Oe},e(p,[2,49]),{65:91,71:Ie,72:Oe},e(de,[2,68],{64:92,66:re,67:ue,68:le,69:oe,70:ce}),e(Q,[2,69]),e(Q,[2,70]),e(Q,[2,71]),e(Q,[2,72]),e(Q,[2,73]),e(He,[2,74]),e(He,[2,75]),{8:[1,94],24:95,40:93,43:23,46:r},{16:96,58:m,84:E,99:b,101:k},{45:97,49:we},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:W,57:104,58:X,80:q,82:105,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},{58:[1,116]},{13:qe,53:117},e(p,[2,57]),e(p,[2,123]),{22:W,57:118,58:X,59:[1,119],80:q,82:105,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},e(Je,[2,59]),{16:39,18:120,19:40,58:m,84:E,99:b,101:k,102:F},e(G,[2,15]),e(G,[2,16]),e(G,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:m,84:E,99:b,101:k},e(Ve,[2,43],{11:123,12:[1,124]}),e(xe,[2,7]),{9:[1,125]},e(Ae,[2,52]),{16:39,18:126,19:40,58:m,84:E,99:b,101:k,102:F},{13:[1,128],16:39,18:127,19:40,58:m,84:E,99:b,101:k,102:F},e(de,[2,67],{64:129,66:re,67:ue,68:le,69:oe,70:ce}),e(de,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:r},{8:[1,132],41:[2,36]},e(he,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:we},{16:39,18:136,19:40,58:m,84:E,99:b,101:k,102:F},e(p,[2,76],{13:[1,137]}),e(p,[2,78],{13:[1,139],75:[1,138]}),e(p,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},e(p,[2,90],{59:Ze}),e($e,[2,92],{83:144,22:W,58:X,80:q,84:H,85:J,86:Z,87:$,88:ee,89:te}),e(N,[2,94]),e(N,[2,96]),e(N,[2,97]),e(N,[2,98]),e(N,[2,99]),e(N,[2,100]),e(N,[2,101]),e(N,[2,102]),e(N,[2,103]),e(N,[2,104]),e(p,[2,91]),e(p,[2,56]),e(p,[2,58],{59:Ze}),{58:[1,145]},e(G,[2,13]),{15:146,16:84,58:m,84:E,99:b,101:k},{39:[2,11]},e(Ve,[2,44]),{13:[1,147]},{1:[2,4]},e(Ae,[2,54]),e(Ae,[2,53]),{16:39,18:148,19:40,58:m,84:E,99:b,101:k,102:F},e(de,[2,65]),e(p,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:r},{45:151,49:we},e(he,[2,41]),{41:[2,47]},e(p,[2,45]),e(p,[2,77]),e(p,[2,79]),e(p,[2,80],{75:[1,152]}),e(p,[2,83]),e(p,[2,84],{13:[1,153]}),e(p,[2,86],{13:[1,155],75:[1,154]}),{22:W,58:X,80:q,82:156,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},e(N,[2,95]),e(Je,[2,60]),{39:[2,10]},{14:[1,157]},e(Ae,[2,55]),e(p,[2,34]),{41:[2,38]},{41:[1,158]},e(p,[2,81]),e(p,[2,85]),e(p,[2,87]),e(p,[2,88],{75:[1,159]}),e($e,[2,93],{83:144,22:W,58:X,80:q,84:H,85:J,86:Z,87:$,88:ee,89:te}),e(Ve,[2,8]),e(he,[2,42]),e(p,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:u(function(o,h){if(h.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=h,d}},"parseError"),parse:u(function(o){var h=this,d=[0],n=[],C=[null],t=[],se=this.table,s="",ge=0,et=0,At=2,tt=1,ft=t.slice.call(arguments,1),y=Object.create(this.lexer),V={yy:{}};for(var Re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Re)&&(V.yy[Re]=this.yy[Re]);y.setInput(o,V.yy),V.yy.lexer=y,V.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Me=y.yylloc;t.push(Me);var gt=y.options&&y.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ct(B){d.length=d.length-2*B,C.length=C.length-B,t.length=t.length-B}u(Ct,"popStack");function st(){var B;return B=n.pop()||y.lex()||tt,typeof B!="number"&&(B instanceof Array&&(n=B,B=n.pop()),B=h.symbols_[B]||B),B}u(st,"lex");for(var _,P,v,Ge,U={},Ce,x,it,me;;){if(P=d[d.length-1],this.defaultActions[P]?v=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=st()),v=se[P]&&se[P][_]),typeof v>"u"||!v.length||!v[0]){var Ue="";me=[];for(Ce in se[P])this.terminals_[Ce]&&Ce>At&&me.push("'"+this.terminals_[Ce]+"'");y.showPosition?Ue="Parse error on line "+(ge+1)+`: `+y.showPosition()+` Expecting `+me.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Ue="Parse error on line "+(ge+1)+": Unexpected "+(_==tt?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Ue,{text:y.match,token:this.terminals_[_]||_,line:y.yylineno,loc:Me,expected:me})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(v[0]){case 1:d.push(_),C.push(y.yytext),t.push(y.yylloc),d.push(v[1]),_=null,et=y.yyleng,s=y.yytext,ge=y.yylineno,Me=y.yylloc;break;case 2:if(x=this.productions_[v[1]][1],U.$=C[C.length-x],U._$={first_line:t[t.length-(x||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(x||1)].first_column,last_column:t[t.length-1].last_column},gt&&(U._$.range=[t[t.length-(x||1)].range[0],t[t.length-1].range[1]]),Ge=this.performAction.apply(U,[s,et,ge,V.yy,v[1],C,t].concat(ft)),typeof Ge<"u")return Ge;x&&(d=d.slice(0,-1*x*2),C=C.slice(0,-1*x),t=t.slice(0,-1*x)),d.push(this.productions_[v[1]][0]),C.push(U.$),t.push(U._$),it=se[d[d.length-2]][d[d.length-1]],d.push(it);break;case 3:return!0}}return!0},"parse")},dt=function(){var O={EOF:1,parseError:u(function(h,d){if(this.yy.parser)this.yy.parser.parseError(h,d);else throw new Error(h)},"parseError"),setInput:u(function(o,h){return this.yy=h||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:u(function(o){var h=o.length,d=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===n.length?this.yylloc.first_column:0)+n[n.length-d.length].length-d[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(o){this.unput(this.match.slice(o))},"less"),pastInput:u(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var o=this.pastInput(),h=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/static/js/md-chunk-TMUBEWPD-DWs3TCfi.js b/static/js/md-chunk-TMUBEWPD-Czd4q-Vh.js similarity index 78% rename from static/js/md-chunk-TMUBEWPD-DWs3TCfi.js rename to static/js/md-chunk-TMUBEWPD-Czd4q-Vh.js index 026d01f..dddb3a4 100644 --- a/static/js/md-chunk-TMUBEWPD-DWs3TCfi.js +++ b/static/js/md-chunk-TMUBEWPD-Czd4q-Vh.js @@ -1 +1 @@ -import{_ as l}from"./md-index-trBnGDGX.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p}; +import{_ as l}from"./md-index-TGP-egEp.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p}; diff --git a/static/js/md-classDiagram-LNE6IOMH-CTBubuXI.js b/static/js/md-classDiagram-LNE6IOMH-CTBubuXI.js new file mode 100644 index 0000000..3b36c27 --- /dev/null +++ b/static/js/md-classDiagram-LNE6IOMH-CTBubuXI.js @@ -0,0 +1 @@ +import{c as s,a as r,b as e,s as l}from"./md-chunk-T2TOU4HS-BtlZTvLl.js";import{_ as t}from"./md-index-TGP-egEp.js";import"./md-chunk-5HRBRIJM-DIfJDOBU.js";var _={parser:s,db:r,renderer:e,styles:l,init:t(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,r.clear()},"init")};export{_ as diagram}; diff --git a/static/js/md-classDiagram-LNE6IOMH-DgQA_Iq1.js b/static/js/md-classDiagram-LNE6IOMH-DgQA_Iq1.js deleted file mode 100644 index 2b962a6..0000000 --- a/static/js/md-classDiagram-LNE6IOMH-DgQA_Iq1.js +++ /dev/null @@ -1 +0,0 @@ -import{c as s,a as r,b as e,s as l}from"./md-chunk-T2TOU4HS-j9mIfZ11.js";import{_ as t}from"./md-index-trBnGDGX.js";import"./md-chunk-5HRBRIJM-BSZ1VC5p.js";var _={parser:s,db:r,renderer:e,styles:l,init:t(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,r.clear()},"init")};export{_ as diagram}; diff --git a/static/js/md-classDiagram-v2-MQ7JQ4JX-CTBubuXI.js b/static/js/md-classDiagram-v2-MQ7JQ4JX-CTBubuXI.js new file mode 100644 index 0000000..3b36c27 --- /dev/null +++ b/static/js/md-classDiagram-v2-MQ7JQ4JX-CTBubuXI.js @@ -0,0 +1 @@ +import{c as s,a as r,b as e,s as l}from"./md-chunk-T2TOU4HS-BtlZTvLl.js";import{_ as t}from"./md-index-TGP-egEp.js";import"./md-chunk-5HRBRIJM-DIfJDOBU.js";var _={parser:s,db:r,renderer:e,styles:l,init:t(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,r.clear()},"init")};export{_ as diagram}; diff --git a/static/js/md-classDiagram-v2-MQ7JQ4JX-DgQA_Iq1.js b/static/js/md-classDiagram-v2-MQ7JQ4JX-DgQA_Iq1.js deleted file mode 100644 index 2b962a6..0000000 --- a/static/js/md-classDiagram-v2-MQ7JQ4JX-DgQA_Iq1.js +++ /dev/null @@ -1 +0,0 @@ -import{c as s,a as r,b as e,s as l}from"./md-chunk-T2TOU4HS-j9mIfZ11.js";import{_ as t}from"./md-index-trBnGDGX.js";import"./md-chunk-5HRBRIJM-BSZ1VC5p.js";var _={parser:s,db:r,renderer:e,styles:l,init:t(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,r.clear()},"init")};export{_ as diagram}; diff --git a/static/js/md-clone-Bb0Qs8zN.js b/static/js/md-clone-Bb0Qs8zN.js new file mode 100644 index 0000000..ab79395 --- /dev/null +++ b/static/js/md-clone-Bb0Qs8zN.js @@ -0,0 +1 @@ +import{b as r}from"./md-_baseUniq-Bm0iSxF4.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/static/js/md-clone-D08UH0Wo.js b/static/js/md-clone-D08UH0Wo.js deleted file mode 100644 index 697fa98..0000000 --- a/static/js/md-clone-D08UH0Wo.js +++ /dev/null @@ -1 +0,0 @@ -import{b as r}from"./md-_baseUniq-B7UZj1IW.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/static/js/md-cytoscape.esm-DbjHHeqK.js b/static/js/md-cytoscape.esm-bEGULzDv.js similarity index 99% rename from static/js/md-cytoscape.esm-DbjHHeqK.js rename to static/js/md-cytoscape.esm-bEGULzDv.js index b081946..6a9eb5e 100644 --- a/static/js/md-cytoscape.esm-DbjHHeqK.js +++ b/static/js/md-cytoscape.esm-bEGULzDv.js @@ -1,4 +1,4 @@ -import{aq as Ri}from"./md-index-trBnGDGX.js";function Ue(r){"@babel/helpers - typeof";return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(r)}function ii(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Gu(r,e){for(var t=0;tr.length)&&(e=r.length);for(var t=0,a=new Array(e);tr.length)&&(e=r.length);for(var t=0,a=new Array(e);t=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(l){throw l},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,s;return{s:function(){t=t.call(r)},n:function(){var l=t.next();return i=l.done,l},e:function(l){o=!0,s=l},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw s}}}}var Ke=typeof window>"u"?null:window,Ii=Ke?Ke.navigator:null;Ke&&Ke.document;var Yu=Ue(""),_o=Ue({}),Xu=Ue(function(){}),Zu=typeof HTMLElement>"u"?"undefined":Ue(HTMLElement),wa=function(e){return e&&e.instanceString&&qe(e.instanceString)?e.instanceString():null},ce=function(e){return e!=null&&Ue(e)==Yu},qe=function(e){return e!=null&&Ue(e)===Xu},Oe=function(e){return!yr(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},Te=function(e){return e!=null&&Ue(e)===_o&&!Oe(e)&&e.constructor===Object},Qu=function(e){return e!=null&&Ue(e)===_o},ne=function(e){return e!=null&&Ue(e)===Ue(1)&&!isNaN(e)},Ju=function(e){return ne(e)&&Math.floor(e)===e},_a=function(e){if(Zu!=="undefined")return e!=null&&e instanceof HTMLElement},yr=function(e){return xa(e)||jo(e)},xa=function(e){return wa(e)==="collection"&&e._private.single},jo=function(e){return wa(e)==="collection"&&!e._private.single},si=function(e){return wa(e)==="core"},es=function(e){return wa(e)==="stylesheet"},_u=function(e){return wa(e)==="event"},jr=function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},ju=function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},el=function(e){return Te(e)&&ne(e.x1)&&ne(e.x2)&&ne(e.y1)&&ne(e.y2)},rl=function(e){return Qu(e)&&qe(e.then)},tl=function(){return Ii&&Ii.userAgent.match(/msie|trident|edge/i)},la=function(e,t){t||(t=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var i=[],o=0;ot?1:0},ll=function(e,t){return-1*ts(e,t)},pe=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments,t=1;t1&&(p-=1),p<1/6?d+(y-d)*6*p:p<1/2?y:p<2/3?d+(y-d)*(2/3-p)*6:d}var f=new RegExp("^"+il+"$").exec(e);if(f){if(a=parseInt(f[1]),a<0?a=(360- -1*a%360)%360:a>360&&(a=a%360),a/=360,n=parseFloat(f[2]),n<0||n>100||(n=n/100,i=parseFloat(f[3]),i<0||i>100)||(i=i/100,o=f[4],o!==void 0&&(o=parseFloat(o),o<0||o>1)))return;if(n===0)s=l=u=Math.round(i*255);else{var c=i<.5?i*(1+n):i+n-i*n,h=2*i-c;s=Math.round(255*v(h,c,a+1/3)),l=Math.round(255*v(h,c,a)),u=Math.round(255*v(h,c,a-1/3))}t=[s,l,u,o]}return t},cl=function(e){var t,a=new RegExp("^"+al+"$").exec(e);if(a){t=[];for(var n=[],i=1;i<=3;i++){var o=a[i];if(o[o.length-1]==="%"&&(n[i]=!0),o=parseFloat(o),n[i]&&(o=o/100*255),o<0||o>255)return;t.push(Math.floor(o))}var s=n[1]||n[2]||n[3],l=n[1]&&n[2]&&n[3];if(s&&!l)return;var u=a[4];if(u!==void 0){if(u=parseFloat(u),u<0||u>1)return;t.push(u)}}return t},dl=function(e){return gl[e.toLowerCase()]},hl=function(e){return(Oe(e)?e:null)||dl(e)||vl(e)||cl(e)||fl(e)},gl={transparent:[0,0,0,0],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],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],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],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]},as=function(e){for(var t=e.map,a=e.keys,n=a.length,i=0;i=e||x<0||f&&D>=i}function g(){var E=Mn();if(p(E))return m(E);s=setTimeout(g,y(E))}function m(E){return s=void 0,c&&a?h(E):(a=n=void 0,o)}function b(){s!==void 0&&clearTimeout(s),u=0,a=l=n=s=void 0}function w(){return s===void 0?o:m(Mn())}function S(){var E=Mn(),x=p(E);if(a=arguments,n=this,l=E,x){if(s===void 0)return d(l);if(f)return clearTimeout(s),s=setTimeout(g,e),h(l)}return s===void 0&&(s=setTimeout(g,e)),o}return S.cancel=b,S.flush=w,S}var cn=jl,Ln=Ke?Ke.performance:null,ss=Ln&&Ln.now?function(){return Ln.now()}:function(){return Date.now()},ev=function(){if(Ke){if(Ke.requestAnimationFrame)return function(r){Ke.requestAnimationFrame(r)};if(Ke.mozRequestAnimationFrame)return function(r){Ke.mozRequestAnimationFrame(r)};if(Ke.webkitRequestAnimationFrame)return function(r){Ke.webkitRequestAnimationFrame(r)};if(Ke.msRequestAnimationFrame)return function(r){Ke.msRequestAnimationFrame(r)}}return function(r){r&&setTimeout(function(){r(ss())},1e3/60)}}(),ja=function(e){return ev(e)},Hr=ss,kt=9261,us=65599,aa=5381,ls=function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kt,a=t,n;n=e.next(),!n.done;)a=a*us+n.value|0;return a},va=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kt;return t*us+e|0},fa=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:aa;return(t<<5)+t+e|0},rv=function(e,t){return e*2097152+t},Yr=function(e){return e[0]*2097152+e[1]},La=function(e,t){return[va(e[0],t[0]),fa(e[1],t[1])]},tv=function(e,t){var a={value:0,done:!1},n=0,i=e.length,o={next:function(){return n=0;n--)e[n]===t&&e.splice(n,1)},fi=function(e){e.splice(0,e.length)},lv=function(e,t){for(var a=0;a"u"?"undefined":Ue(Set))!==fv?Set:cv,dn=function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||t===void 0||!si(e)){$e("An element must have a core reference and parameters set");return}var n=t.group;if(n==null&&(t.data&&t.data.source!=null&&t.data.target!=null?n="edges":n="nodes"),n!=="nodes"&&n!=="edges"){$e("An element must be of type `nodes` or `edges`; you specified `"+n+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:t.selectable===void 0?!0:!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:t.grabbable===void 0?!0:!!t.grabbable,pannable:t.pannable===void 0?n==="edges":!!t.pannable,active:!1,classes:new Vt,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(i.position.x==null&&(i.position.x=0),i.position.y==null&&(i.position.y=0),t.renderedPosition){var o=t.renderedPosition,s=e.pan(),l=e.zoom();i.position={x:(o.x-s.x)/l,y:(o.y-s.y)/l}}var u=[];Oe(t.classes)?u=t.classes:ce(t.classes)&&(u=t.classes.split(/\s+/));for(var v=0,f=u.length;vm?1:0},v=function(g,m,b,w,S){var E;if(b==null&&(b=0),S==null&&(S=a),b<0)throw new Error("lo must be non-negative");for(w==null&&(w=g.length);bM;0<=M?C++:C--)D.push(C);return D}).apply(this).reverse(),x=[],w=0,S=E.length;wP;0<=P?++D:--D)B.push(o(g,b));return B},y=function(g,m,b,w){var S,E,x;for(w==null&&(w=a),S=g[b];b>m;){if(x=b-1>>1,E=g[x],w(S,E)<0){g[b]=E,b=x;continue}break}return g[b]=S},p=function(g,m,b){var w,S,E,x,D;for(b==null&&(b=a),S=g.length,D=m,E=g[m],w=2*m+1;w0;){var E=m.pop(),x=p(E),D=E.id();if(c[D]=x,x!==1/0)for(var C=E.neighborhood().intersect(d),M=0;M0)for(I.unshift(R);f[G];){var F=f[G];I.unshift(F.edge),I.unshift(F.node),V=F.node,G=V.id()}return s.spawn(I)}}}},pv={kruskal:function(e){e=e||function(b){return 1};for(var t=this.byGroup(),a=t.nodes,n=t.edges,i=a.length,o=new Array(i),s=a,l=function(w){for(var S=0;S0;){if(S(),x++,w===v){for(var D=[],C=i,M=v,P=g[M];D.unshift(C),P!=null&&D.unshift(P),C=p[M],C!=null;)M=C.id(),P=g[M];return{found:!0,distance:f[w],path:this.spawn(D),steps:x}}h[w]=!0;for(var B=b._private.edges,L=0;LP&&(d[M]=P,m[M]=C,b[M]=S),!i){var B=C*v+D;!i&&d[B]>P&&(d[B]=P,m[B]=D,b[B]=S)}}}for(var L=0;L1&&arguments[1]!==void 0?arguments[1]:o,Le=b(se),Ce=[],xe=Le;;){if(xe==null)return t.spawn();var Ae=m(xe),Ee=Ae.edge,Pe=Ae.pred;if(Ce.unshift(xe[0]),xe.same(de)&&Ce.length>0)break;Ee!=null&&Ce.unshift(Ee),xe=Pe}return l.spawn(Ce)},E=0;E=0;v--){var f=u[v],c=f[1],h=f[2];(t[c]===s&&t[h]===l||t[c]===l&&t[h]===s)&&u.splice(v,1)}for(var d=0;dn;){var i=Math.floor(Math.random()*t.length);t=Sv(i,e,t),a--}return t},Tv={kargerStein:function(){var e=this,t=this.byGroup(),a=t.nodes,n=t.edges;n.unmergeBy(function(I){return I.isLoop()});var i=a.length,o=n.length,s=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/Cv);if(i<2){$e("At least 2 nodes are required for Karger-Stein algorithm");return}for(var u=[],v=0;v1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=1/0,i=t;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=-1/0,i=t;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=0,i=0,o=t;o1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;n?e=e.slice(t,a):(a0&&e.splice(0,t));for(var s=0,l=e.length-1;l>=0;l--){var u=e[l];o?isFinite(u)||(e[l]=-1/0,s++):e.splice(l,1)}i&&e.sort(function(c,h){return c-h});var v=e.length,f=Math.floor(v/2);return v%2!==0?e[f+1+s]:(e[f-1+s]+e[f+s])/2},Lv=function(e){return Math.PI*e/180},Aa=function(e,t){return Math.atan2(t,e)-Math.PI/2},ci=Math.log2||function(r){return Math.log(r)/Math.log(2)},ps=function(e){return e>0?1:e<0?-1:0},ht=function(e,t){return Math.sqrt(st(e,t))},st=function(e,t){var a=t.x-e.x,n=t.y-e.y;return a*a+n*n},Av=function(e){for(var t=e.length,a=0,n=0;n=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Ov=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Iv=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},zv=function(e,t,a){return{x1:e.x1+t,x2:e.x2+t,y1:e.y1+a,y2:e.y2+a,w:e.w,h:e.h}},ys=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},Nv=function(e,t,a){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},Ga=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Ka=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],a,n,i,o;if(t.length===1)a=n=i=o=t[0];else if(t.length===2)a=i=t[0],o=n=t[1];else if(t.length===4){var s=Tr(t,4);a=s[0],n=s[1],i=s[2],o=s[3]}return e.x1-=o,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Gi=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},di=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},It=function(e,t,a){return e.x1<=t&&t<=e.x2&&e.y1<=a&&a<=e.y2},Fv=function(e,t){return It(e,t.x,t.y)},ms=function(e,t){return It(e,t.x1,t.y1)&&It(e,t.x2,t.y2)},bs=function(e,t,a,n,i,o,s){var l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"auto",u=l==="auto"?gt(i,o):l,v=i/2,f=o/2;u=Math.min(u,v,f);var c=u!==v,h=u!==f,d;if(c){var y=a-v+u-s,p=n-f-s,g=a+v-u+s,m=p;if(d=Qr(e,t,a,n,y,p,g,m,!1),d.length>0)return d}if(h){var b=a+v+s,w=n-f+u-s,S=b,E=n+f-u+s;if(d=Qr(e,t,a,n,b,w,S,E,!1),d.length>0)return d}if(c){var x=a-v+u-s,D=n+f+s,C=a+v-u+s,M=D;if(d=Qr(e,t,a,n,x,D,C,M,!1),d.length>0)return d}if(h){var P=a-v-s,B=n-f+u-s,L=P,k=n+f-u+s;if(d=Qr(e,t,a,n,P,B,L,k,!1),d.length>0)return d}var O;{var A=a-v+u,R=n-f+u;if(O=na(e,t,a,n,A,R,u+s),O.length>0&&O[0]<=A&&O[1]<=R)return[O[0],O[1]]}{var I=a+v-u,V=n-f+u;if(O=na(e,t,a,n,I,V,u+s),O.length>0&&O[0]>=I&&O[1]<=V)return[O[0],O[1]]}{var G=a+v-u,F=n+f-u;if(O=na(e,t,a,n,G,F,u+s),O.length>0&&O[0]>=G&&O[1]>=F)return[O[0],O[1]]}{var q=a-v+u,Y=n+f-u;if(O=na(e,t,a,n,q,Y,u+s),O.length>0&&O[0]<=q&&O[1]>=Y)return[O[0],O[1]]}return[]},Vv=function(e,t,a,n,i,o,s){var l=s,u=Math.min(a,i),v=Math.max(a,i),f=Math.min(n,o),c=Math.max(n,o);return u-l<=e&&e<=v+l&&f-l<=t&&t<=c+l},qv=function(e,t,a,n,i,o,s,l,u){var v={x1:Math.min(a,s,i)-u,x2:Math.max(a,s,i)+u,y1:Math.min(n,l,o)-u,y2:Math.max(n,l,o)+u};return!(ev.x2||tv.y2)},$v=function(e,t,a,n){a-=n;var i=t*t-4*e*a;if(i<0)return[];var o=Math.sqrt(i),s=2*e,l=(-t+o)/s,u=(-t-o)/s;return[l,u]},Hv=function(e,t,a,n,i){var o=1e-5;e===0&&(e=o),t/=e,a/=e,n/=e;var s,l,u,v,f,c,h,d;if(l=(3*a-t*t)/9,u=-(27*n)+t*(9*a-2*(t*t)),u/=54,s=l*l*l+u*u,i[1]=0,h=t/3,s>0){f=u+Math.sqrt(s),f=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),c=u-Math.sqrt(s),c=c<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+f+c,h+=(f+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+f)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,s===0){d=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=-l,v=l*l*l,v=Math.acos(u/Math.sqrt(v)),d=2*Math.sqrt(l),i[0]=-h+d*Math.cos(v/3),i[2]=-h+d*Math.cos((v+2*Math.PI)/3),i[4]=-h+d*Math.cos((v+4*Math.PI)/3)},Gv=function(e,t,a,n,i,o,s,l){var u=1*a*a-4*a*i+2*a*s+4*i*i-4*i*s+s*s+n*n-4*n*o+2*n*l+4*o*o-4*o*l+l*l,v=1*9*a*i-3*a*a-3*a*s-6*i*i+3*i*s+9*n*o-3*n*n-3*n*l-6*o*o+3*o*l,f=1*3*a*a-6*a*i+a*s-a*e+2*i*i+2*i*e-s*e+3*n*n-6*n*o+n*l-n*t+2*o*o+2*o*t-l*t,c=1*a*i-a*a+a*e-i*e+n*o-n*n+n*t-o*t,h=[];Hv(u,v,f,c,h);for(var d=1e-7,y=[],p=0;p<6;p+=2)Math.abs(h[p+1])=0&&h[p]<=1&&y.push(h[p]);y.push(1),y.push(0);for(var g=-1,m,b,w,S=0;S=0?wu?(e-i)*(e-i)+(t-o)*(t-o):v-c},dr=function(e,t,a){for(var n,i,o,s,l,u=0,v=0;v=e&&e>=o||n<=e&&e<=o)l=(e-n)/(o-n)*(s-i)+i,l>t&&u++;else continue;return u%2!==0},Gr=function(e,t,a,n,i,o,s,l,u){var v=new Array(a.length),f;l[0]!=null?(f=Math.atan(l[1]/l[0]),l[0]<0?f=f+Math.PI/2:f=-f-Math.PI/2):f=l;for(var c=Math.cos(-f),h=Math.sin(-f),d=0;d0){var p=tn(v,-u);y=rn(p)}else y=v;return dr(e,t,y)},Wv=function(e,t,a,n,i,o,s,l){for(var u=new Array(a.length*2),v=0;v=0&&p<=1&&m.push(p),g>=0&&g<=1&&m.push(g),m.length===0)return[];var b=m[0]*l[0]+e,w=m[0]*l[1]+t;if(m.length>1){if(m[0]==m[1])return[b,w];var S=m[1]*l[0]+e,E=m[1]*l[1]+t;return[b,w,S,E]}else return[b,w]},Rn=function(e,t,a){return t<=e&&e<=a||a<=e&&e<=t?e:e<=t&&t<=a||a<=t&&t<=e?t:a},Qr=function(e,t,a,n,i,o,s,l,u){var v=e-i,f=a-e,c=s-i,h=t-o,d=n-t,y=l-o,p=c*h-y*v,g=f*h-d*v,m=y*f-c*d;if(m!==0){var b=p/m,w=g/m,S=.001,E=0-S,x=1+S;return E<=b&&b<=x&&E<=w&&w<=x?[e+b*f,t+b*d]:u?[e+b*f,t+b*d]:[]}else return p===0||g===0?Rn(e,a,s)===s?[s,l]:Rn(e,a,i)===i?[i,o]:Rn(i,s,a)===a?[a,n]:[]:[]},ha=function(e,t,a,n,i,o,s,l){var u=[],v,f=new Array(a.length),c=!0;o==null&&(c=!1);var h;if(c){for(var d=0;d0){var y=tn(f,-l);h=rn(y)}else h=f}else h=a;for(var p,g,m,b,w=0;w2){for(var d=[v[0],v[1]],y=Math.pow(d[0]-e,2)+Math.pow(d[1]-t,2),p=1;pv&&(v=w)},get:function(b){return u[b]}},c=0;c0?A=O.edgesTo(k)[0]:A=k.edgesTo(O)[0];var R=n(A);k=k.id(),D[k]>D[B]+R&&(D[k]=D[B]+R,C.nodes.indexOf(k)<0?C.push(k):C.updateItem(k),x[k]=0,E[k]=[]),D[k]==D[B]+R&&(x[k]=x[k]+x[B],E[k].push(B))}else for(var I=0;I0;){for(var q=S.pop(),Y=0;Y0&&s.push(a[l]);s.length!==0&&i.push(n.collection(s))}return i},uf=function(e,t){for(var a=0;a5&&arguments[5]!==void 0?arguments[5]:ff,s=n,l,u,v=0;v=2?_t(e,t,a,0,Xi,cf):_t(e,t,a,0,Yi)},squaredEuclidean:function(e,t,a){return _t(e,t,a,0,Xi)},manhattan:function(e,t,a){return _t(e,t,a,0,Yi)},max:function(e,t,a){return _t(e,t,a,-1/0,df)}};zt["squared-euclidean"]=zt.squaredEuclidean;zt.squaredeuclidean=zt.squaredEuclidean;function gn(r,e,t,a,n,i){var o;return qe(r)?o=r:o=zt[r]||zt.euclidean,e===0&&qe(r)?o(n,i):o(e,t,a,n,i)}var hf=rr({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),gi=function(e){return hf(e)},an=function(e,t,a,n,i){var o=i!=="kMedoids",s=o?function(f){return a[f]}:function(f){return n[f](a)},l=function(c){return n[c](t)},u=a,v=t;return gn(e,n.length,s,l,u,v)},On=function(e,t,a){for(var n=a.length,i=new Array(n),o=new Array(n),s=new Array(t),l=null,u=0;ua)return!1}return!0},yf=function(e,t,a){for(var n=0;ns&&(s=t[u][v],l=v);i[l].push(e[u])}for(var f=0;f=i.threshold||i.mode==="dendrogram"&&e.length===1)return!1;var d=t[o],y=t[n[o]],p;i.mode==="dendrogram"?p={left:d,right:y,key:d.key}:p={value:d.value.concat(y.value),key:d.key},e[d.index]=p,e.splice(y.index,1),t[d.key]=p;for(var g=0;ga[y.key][m.key]&&(l=a[y.key][m.key])):i.linkage==="max"?(l=a[d.key][m.key],a[d.key][m.key]0&&n.push(i);return n},eo=function(e,t,a){for(var n=[],i=0;is&&(o=u,s=t[i*e+u])}o>0&&n.push(o)}for(var v=0;vu&&(l=v,u=f)}a[i]=o[l]}return n=eo(e,t,a),n},ro=function(e){for(var t=this.cy(),a=this.nodes(),n=Lf(e),i={},o=0;o=P?(B=P,P=k,L=O):k>B&&(B=k);for(var A=0;A0?1:0;x[C%n.minIterations*s+q]=Y,F+=Y}if(F>0&&(C>=n.minIterations-1||C==n.maxIterations-1)){for(var Q=0,J=0;J1||E>1)&&(s=!0),f[b]=[],m.outgoers().forEach(function(D){D.isEdge()&&f[b].push(D.id())})}else c[b]=[void 0,m.target().id()]}):o.forEach(function(m){var b=m.id();if(m.isNode()){var w=m.degree(!0);w%2&&(l?u?s=!0:u=b:l=b),f[b]=[],m.connectedEdges().forEach(function(S){return f[b].push(S.id())})}else c[b]=[m.source().id(),m.target().id()]});var h={found:!1,trail:void 0};if(s)return h;if(u&&l)if(i){if(v&&u!=v)return h;v=u}else{if(v&&u!=v&&l!=v)return h;v||(v=u)}else v||(v=o[0].id());var d=function(b){for(var w=b,S=[b],E,x,D;f[w].length;)E=f[w].shift(),x=c[E][0],D=c[E][1],w!=D?(f[D]=f[D].filter(function(C){return C!=E}),w=D):!i&&w!=x&&(f[x]=f[x].filter(function(C){return C!=E}),w=x),S.unshift(E),S.unshift(w);return S},y=[],p=[];for(p=d(v);p.length!=1;)f[p[0]].length==0?(y.unshift(o.getElementById(p.shift())),y.unshift(o.getElementById(p.shift()))):p=d(p.shift()).concat(p);y.unshift(o.getElementById(p.shift()));for(var g in f)if(f[g].length)return h;return h.found=!0,h.trail=this.spawn(y,!0),h}},Ia=function(){var e=this,t={},a=0,n=0,i=[],o=[],s={},l=function(c,h){for(var d=o.length-1,y=[],p=e.spawn();o[d].x!=c||o[d].y!=h;)y.push(o.pop().edge),d--;y.push(o.pop().edge),y.forEach(function(g){var m=g.connectedNodes().intersection(e);p.merge(g),m.forEach(function(b){var w=b.id(),S=b.connectedEdges().intersection(e);p.merge(b),t[w].cutVertex?p.merge(S.filter(function(E){return E.isLoop()})):p.merge(S)})}),i.push(p)},u=function f(c,h,d){c===d&&(n+=1),t[h]={id:a,low:a++,cutVertex:!1};var y=e.getElementById(h).connectedEdges().intersection(e);if(y.size()===0)i.push(e.spawn(e.getElementById(h)));else{var p,g,m,b;y.forEach(function(w){p=w.source().id(),g=w.target().id(),m=p===h?g:p,m!==d&&(b=w.id(),s[b]||(s[b]=!0,o.push({x:h,y:m,edge:w})),m in t?t[h].low=Math.min(t[h].low,t[m].id):(f(c,m,h),t[h].low=Math.min(t[h].low,t[m].low),t[h].id<=t[m].low&&(t[h].cutVertex=!0,l(h,m))))})}};e.forEach(function(f){if(f.isNode()){var c=f.id();c in t||(n=0,u(c,c),t[c].cutVertex=n>1)}});var v=Object.keys(t).filter(function(f){return t[f].cutVertex}).map(function(f){return e.getElementById(f)});return{cut:e.spawn(v),components:i}},Vf={hopcroftTarjanBiconnected:Ia,htbc:Ia,htb:Ia,hopcroftTarjanBiconnectedComponents:Ia},za=function(){var e=this,t={},a=0,n=[],i=[],o=e.spawn(e),s=function l(u){i.push(u),t[u]={index:a,low:a++,explored:!1};var v=e.getElementById(u).connectedEdges().intersection(e);if(v.forEach(function(y){var p=y.target().id();p!==u&&(p in t||l(p),t[p].explored||(t[u].low=Math.min(t[u].low,t[p].low)))}),t[u].index===t[u].low){for(var f=e.spawn();;){var c=i.pop();if(f.merge(e.getElementById(c)),t[c].low=t[u].index,t[c].explored=!0,c===u)break}var h=f.edgesWith(f),d=f.merge(h);n.push(d),o=o.difference(d)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in t||s(u)}}),{cut:o,components:n}},qf={tarjanStronglyConnected:za,tsc:za,tscc:za,tarjanStronglyConnectedComponents:za},Ds={};[ca,gv,pv,mv,wv,Ev,Tv,Qv,Lt,At,Wn,vf,Cf,Bf,zf,Ff,Vf,qf].forEach(function(r){pe(Ds,r)});/*! Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable diff --git a/static/js/md-dagre-4EVJKHTY-Cs_NiR1S.js b/static/js/md-dagre-4EVJKHTY-CrtTNbcm.js similarity index 97% rename from static/js/md-dagre-4EVJKHTY-Cs_NiR1S.js rename to static/js/md-dagre-4EVJKHTY-CrtTNbcm.js index e3b1aed..6cd2154 100644 --- a/static/js/md-dagre-4EVJKHTY-Cs_NiR1S.js +++ b/static/js/md-dagre-4EVJKHTY-CrtTNbcm.js @@ -1,4 +1,4 @@ -import{_ as X,ar as F,as as Y,at as _,au as H,l as i,d as V,av as z,aw as U,af as $,ak as q,ag as P,ae as K,ax as Q,ay as W,az as Z}from"./md-index-trBnGDGX.js";import{G as B}from"./md-graph-u9ZJyewn.js";import{l as I}from"./md-layout-RM1NcZIM.js";import{i as S}from"./md-_baseUniq-B7UZj1IW.js";import{c as L}from"./md-clone-D08UH0Wo.js";import{m as A}from"./md-_basePickBy-BMLPiLYr.js";function p(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:ee(e),edges:ne(e)};return S(e.graph())||(t.value=L(e.graph())),t}function ee(e){return A(e.nodes(),function(t){var n=e.node(t),o=e.parent(t),c={v:t};return S(n)||(c.value=n),S(o)||(c.parent=o),c})}function ne(e){return A(e.edges(),function(t){var n=e.edge(t),o={v:t.v,w:t.w};return S(t.name)||(o.name=t.name),S(n)||(o.value=n),o})}var f=new Map,b=new Map,J=new Map,te=X(()=>{b.clear(),J.clear(),f.clear()},"clear"),O=X((e,t)=>{const n=b.get(t)||[];return i.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),se=X((e,t)=>{const n=b.get(t)||[];return i.info("Descendants of ",t," is ",n),i.info("Edge is ",e),e.v===t||e.w===t?!1:n?n.includes(e.v)||O(e.v,t)||O(e.w,t)||n.includes(e.w):(i.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),G=X((e,t,n,o)=>{i.warn("Copying children of ",e,"root",o,"data",t.node(e),o);const c=t.children(e)||[];e!==o&&c.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",c),c.forEach(a=>{if(t.children(a).length>0)G(a,t,n,o);else{const r=t.node(a);i.info("cp ",a," to ",o," with parent ",e),n.setNode(a,r),o!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==o&&a!==e?(i.debug("Setting parent",a,e),n.setParent(a,e)):(i.info("In copy ",e,"root",o,"data",t.node(e),o),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e));const u=t.edges(a);i.debug("Copying Edges",u),u.forEach(l=>{i.info("Edge",l);const h=t.edge(l.v,l.w,l.name);i.info("Edge data",h,o);try{se(l,o)?(i.info("Copying as ",l.v,l.w,h,l.name),n.setEdge(l.v,l.w,h,l.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",o," clusterId:",e)}catch(C){i.error(C)}})}i.debug("Removing node",a),t.removeNode(a)})},"copy"),R=X((e,t)=>{const n=t.children(e);let o=[...n];for(const c of n)J.set(c,e),o=[...o,...R(c,t)];return o},"extractDescendants"),ie=X((e,t,n)=>{const o=e.edges().filter(l=>l.v===t||l.w===t),c=e.edges().filter(l=>l.v===n||l.w===n),a=o.map(l=>({v:l.v===t?n:l.v,w:l.w===t?t:l.w})),r=c.map(l=>({v:l.v,w:l.w}));return a.filter(l=>r.some(h=>l.v===h.v&&l.w===h.w))},"findCommonEdges"),D=X((e,t,n)=>{const o=t.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let c;for(const a of o){const r=D(a,t,n),u=ie(t,n,r);if(r)if(u.length>0)c=r;else return r}return c},"findNonClusterChild"),k=X(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),re=X((e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",D(n,e,n)),b.set(n,R(n,e)),f.set(n,{id:D(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const o=e.children(n),c=e.edges();o.length>0?(i.debug("Cluster identified",n,b),c.forEach(a=>{const r=O(a.v,n),u=O(a.w,n);r^u&&(i.warn("Edge: ",a," leaves cluster ",n),i.warn("Descendants of XXX ",n,": ",b.get(n)),f.get(n).externalConnections=!0)})):i.debug("Not a cluster ",n,b)});for(let n of f.keys()){const o=f.get(n).id,c=e.parent(o);c!==n&&f.has(c)&&!f.get(c).externalConnections&&(f.get(n).id=c)}e.edges().forEach(function(n){const o=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let c=n.v,a=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(i.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),c=k(n.v),a=k(n.w),e.removeEdge(n.v,n.w,n.name),c!==n.v){const r=e.parent(c);f.get(r).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){const r=e.parent(a);f.get(r).externalConnections=!0,o.toCluster=n.w}i.warn("Fix Replacing with XXX",c,a,n.name),e.setEdge(c,a,o,n.name)}}),i.warn("Adjusted Graph",p(e)),T(e,0),i.trace(f)},"adjustClustersAndEdges"),T=X((e,t)=>{var c,a;if(i.warn("extractor - ",t,p(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(const r of n){const u=e.children(r);o=o||u.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const r of n)if(i.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!f.has(r))i.debug("Not a cluster",r,t);else if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){i.warn("Cluster without external connections, without a parent and with children",r,t);let l=e.graph().rankdir==="TB"?"LR":"TB";(a=(c=f.get(r))==null?void 0:c.clusterData)!=null&&a.dir&&(l=f.get(r).clusterData.dir,i.warn("Fixing dir",f.get(r).clusterData.dir,l));const h=new B({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",p(e)),G(r,e,h,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:h}),i.warn("New graph after copy node: (",r,")",p(h)),i.debug("Old graph after copy",p(e))}else i.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const r of n){const u=e.node(r);i.warn(" Now next level",r,u),u!=null&&u.clusterNode&&T(u.graph,t+1)}},"extractor"),M=X((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(o=>{const c=e.children(o),a=M(e,c);n=[...n,...a]}),n},"sorter"),oe=X(e=>M(e,e.children()),"sortNodesByHierarchy"),j=X(async(e,t,n,o,c,a)=>{i.warn("Graph in recursive render:XAX",p(t),c);const r=t.graph().rankdir;i.trace("Dir in recursive render - dir:",r);const u=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.info("Recursive edges",t.edge(t.edges()[0]));const l=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),C=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(d){const s=t.node(d);if(c!==void 0){const m=JSON.parse(JSON.stringify(c.clusterData));i.trace(`Setting data for parent cluster XXX +import{_ as X,ar as F,as as Y,at as _,au as H,l as i,d as V,av as z,aw as U,af as $,ak as q,ag as P,ae as K,ax as Q,ay as W,az as Z}from"./md-index-TGP-egEp.js";import{G as B}from"./md-graph-BqJ5nvx-.js";import{l as I}from"./md-layout-D5yfjIxP.js";import{i as S}from"./md-_baseUniq-Bm0iSxF4.js";import{c as L}from"./md-clone-Bb0Qs8zN.js";import{m as A}from"./md-_basePickBy-D2Yv_vSZ.js";function p(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:ee(e),edges:ne(e)};return S(e.graph())||(t.value=L(e.graph())),t}function ee(e){return A(e.nodes(),function(t){var n=e.node(t),o=e.parent(t),c={v:t};return S(n)||(c.value=n),S(o)||(c.parent=o),c})}function ne(e){return A(e.edges(),function(t){var n=e.edge(t),o={v:t.v,w:t.w};return S(t.name)||(o.name=t.name),S(n)||(o.value=n),o})}var f=new Map,b=new Map,J=new Map,te=X(()=>{b.clear(),J.clear(),f.clear()},"clear"),O=X((e,t)=>{const n=b.get(t)||[];return i.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),se=X((e,t)=>{const n=b.get(t)||[];return i.info("Descendants of ",t," is ",n),i.info("Edge is ",e),e.v===t||e.w===t?!1:n?n.includes(e.v)||O(e.v,t)||O(e.w,t)||n.includes(e.w):(i.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),G=X((e,t,n,o)=>{i.warn("Copying children of ",e,"root",o,"data",t.node(e),o);const c=t.children(e)||[];e!==o&&c.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",c),c.forEach(a=>{if(t.children(a).length>0)G(a,t,n,o);else{const r=t.node(a);i.info("cp ",a," to ",o," with parent ",e),n.setNode(a,r),o!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==o&&a!==e?(i.debug("Setting parent",a,e),n.setParent(a,e)):(i.info("In copy ",e,"root",o,"data",t.node(e),o),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e));const u=t.edges(a);i.debug("Copying Edges",u),u.forEach(l=>{i.info("Edge",l);const h=t.edge(l.v,l.w,l.name);i.info("Edge data",h,o);try{se(l,o)?(i.info("Copying as ",l.v,l.w,h,l.name),n.setEdge(l.v,l.w,h,l.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",o," clusterId:",e)}catch(C){i.error(C)}})}i.debug("Removing node",a),t.removeNode(a)})},"copy"),R=X((e,t)=>{const n=t.children(e);let o=[...n];for(const c of n)J.set(c,e),o=[...o,...R(c,t)];return o},"extractDescendants"),ie=X((e,t,n)=>{const o=e.edges().filter(l=>l.v===t||l.w===t),c=e.edges().filter(l=>l.v===n||l.w===n),a=o.map(l=>({v:l.v===t?n:l.v,w:l.w===t?t:l.w})),r=c.map(l=>({v:l.v,w:l.w}));return a.filter(l=>r.some(h=>l.v===h.v&&l.w===h.w))},"findCommonEdges"),D=X((e,t,n)=>{const o=t.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let c;for(const a of o){const r=D(a,t,n),u=ie(t,n,r);if(r)if(u.length>0)c=r;else return r}return c},"findNonClusterChild"),k=X(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),re=X((e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",D(n,e,n)),b.set(n,R(n,e)),f.set(n,{id:D(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const o=e.children(n),c=e.edges();o.length>0?(i.debug("Cluster identified",n,b),c.forEach(a=>{const r=O(a.v,n),u=O(a.w,n);r^u&&(i.warn("Edge: ",a," leaves cluster ",n),i.warn("Descendants of XXX ",n,": ",b.get(n)),f.get(n).externalConnections=!0)})):i.debug("Not a cluster ",n,b)});for(let n of f.keys()){const o=f.get(n).id,c=e.parent(o);c!==n&&f.has(c)&&!f.get(c).externalConnections&&(f.get(n).id=c)}e.edges().forEach(function(n){const o=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let c=n.v,a=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(i.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),c=k(n.v),a=k(n.w),e.removeEdge(n.v,n.w,n.name),c!==n.v){const r=e.parent(c);f.get(r).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){const r=e.parent(a);f.get(r).externalConnections=!0,o.toCluster=n.w}i.warn("Fix Replacing with XXX",c,a,n.name),e.setEdge(c,a,o,n.name)}}),i.warn("Adjusted Graph",p(e)),T(e,0),i.trace(f)},"adjustClustersAndEdges"),T=X((e,t)=>{var c,a;if(i.warn("extractor - ",t,p(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(const r of n){const u=e.children(r);o=o||u.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const r of n)if(i.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!f.has(r))i.debug("Not a cluster",r,t);else if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){i.warn("Cluster without external connections, without a parent and with children",r,t);let l=e.graph().rankdir==="TB"?"LR":"TB";(a=(c=f.get(r))==null?void 0:c.clusterData)!=null&&a.dir&&(l=f.get(r).clusterData.dir,i.warn("Fixing dir",f.get(r).clusterData.dir,l));const h=new B({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",p(e)),G(r,e,h,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:h}),i.warn("New graph after copy node: (",r,")",p(h)),i.debug("Old graph after copy",p(e))}else i.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const r of n){const u=e.node(r);i.warn(" Now next level",r,u),u!=null&&u.clusterNode&&T(u.graph,t+1)}},"extractor"),M=X((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(o=>{const c=e.children(o),a=M(e,c);n=[...n,...a]}),n},"sorter"),oe=X(e=>M(e,e.children()),"sortNodesByHierarchy"),j=X(async(e,t,n,o,c,a)=>{i.warn("Graph in recursive render:XAX",p(t),c);const r=t.graph().rankdir;i.trace("Dir in recursive render - dir:",r);const u=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.info("Recursive edges",t.edge(t.edges()[0]));const l=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),C=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(d){const s=t.node(d);if(c!==void 0){const m=JSON.parse(JSON.stringify(c.clusterData));i.trace(`Setting data for parent cluster XXX Node.id = `,d,` data=`,m.height,` Parent cluster`,c.height),t.setNode(c.id,m),t.parent(d)||(i.trace("Setting parent",d,c.id),t.setParent(d,c.id,m))}if(i.info("(Insert) Node XXX"+d+": "+JSON.stringify(t.node(d))),s!=null&&s.clusterNode){i.info("Cluster identified XBX",d,s.width,t.node(d));const{ranksep:m,nodesep:v}=t.graph();s.graph.setGraph({...s.graph.graph(),ranksep:m+25,nodesep:v});const N=await j(g,s.graph,n,o,t.node(d),a),x=N.elem;z(s,x),s.diff=N.diff||0,i.info("New compound node after recursive render XAX",d,"width",s.width,"height",s.height),U(x,s)}else t.children(d).length>0?(i.trace("Cluster - the non recursive path XBX",d,s.id,s,s.width,"Graph:",t),i.trace(D(s.id,t)),f.set(s.id,{id:D(s.id,t),node:s})):(i.trace("Node - the non recursive path XAX",d,g,t.node(d),r),await $(g,t.node(d),{config:a,dir:r}))})),await X(async()=>{const d=t.edges().map(async function(s){const m=t.edge(s.v,s.w,s.name);i.info("Edge "+s.v+" -> "+s.w+": "+JSON.stringify(s)),i.info("Edge "+s.v+" -> "+s.w+": ",s," ",JSON.stringify(t.edge(s))),i.info("Fix",f,"ids:",s.v,s.w,"Translating: ",f.get(s.v),f.get(s.w)),await Z(C,m)});await Promise.all(d)},"processEdges")(),i.info("Graph before layout:",JSON.stringify(p(t))),i.info("############################################# XXX"),i.info("### Layout ### XXX"),i.info("############################################# XXX"),I(t),i.info("Graph after layout:",JSON.stringify(p(t)));let E=0,{subGraphTitleTotalMargin:y}=q(a);return await Promise.all(oe(t).map(async function(d){var m;const s=t.node(d);if(i.info("Position XBX => "+d+": ("+s.x,","+s.y,") width: ",s.width," height: ",s.height),s!=null&&s.clusterNode)s.y+=y,i.info("A tainted cluster node XBX1",d,s.id,s.width,s.height,s.x,s.y,t.parent(d)),f.get(s.id).node=s,P(s);else if(t.children(d).length>0){i.info("A pure cluster node XBX1",d,s.id,s.x,s.y,s.width,s.height,t.parent(d)),s.height+=y,t.node(s.parentId);const v=(s==null?void 0:s.padding)/2||0,N=((m=s==null?void 0:s.labelBBox)==null?void 0:m.height)||0,x=N-v||0;i.debug("OffsetY",x,"labelHeight",N,"halfPadding",v),await K(l,s),f.get(s.id).node=s}else{const v=t.node(s.parentId);s.y+=y/2,i.info("A regular node XBX1 - using the padding",s.id,"parent",s.parentId,s.width,s.height,s.x,s.y,"offsetY",s.offsetY,"parent",v,v==null?void 0:v.offsetY,s),P(s)}})),t.edges().forEach(function(d){const s=t.edge(d);i.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(s),s),s.points.forEach(x=>x.y+=y/2);const m=t.node(d.v);var v=t.node(d.w);const N=Q(h,s,f,n,m,v,o);W(s,N)}),t.nodes().forEach(function(d){const s=t.node(d);i.info(d,s.type,s.diff),s.isGroup&&(E=s.diff)}),i.warn("Returning from recursive render XAX",u,E),{elem:u,diff:E}},"recursiveRender"),ge=X(async(e,t)=>{var a,r,u,l,h,C;const n=new B({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:((a=e.config)==null?void 0:a.nodeSpacing)||((u=(r=e.config)==null?void 0:r.flowchart)==null?void 0:u.nodeSpacing)||e.nodeSpacing,ranksep:((l=e.config)==null?void 0:l.rankSpacing)||((C=(h=e.config)==null?void 0:h.flowchart)==null?void 0:C.rankSpacing)||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),o=t.select("g");F(o,e.markers,e.type,e.diagramId),Y(),_(),H(),te(),e.nodes.forEach(g=>{n.setNode(g.id,{...g}),g.parentId&&n.setParent(g.id,g.parentId)}),i.debug("Edges:",e.edges),e.edges.forEach(g=>{if(g.start===g.end){const w=g.start,E=w+"---"+w+"---1",y=w+"---"+w+"---2",d=n.node(w);n.setNode(E,{domId:E,id:E,parentId:d.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(E,d.parentId),n.setNode(y,{domId:y,id:y,parentId:d.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(y,d.parentId);const s=structuredClone(g),m=structuredClone(g),v=structuredClone(g);s.label="",s.arrowTypeEnd="none",s.id=w+"-cyclic-special-1",m.arrowTypeEnd="none",m.id=w+"-cyclic-special-mid",v.label="",d.isGroup&&(s.fromCluster=w,v.toCluster=w),v.id=w+"-cyclic-special-2",n.setEdge(w,E,s,w+"-cyclic-special-0"),n.setEdge(E,y,m,w+"-cyclic-special-1"),n.setEdge(y,w,v,w+"-cyc{const t=x({...L,...T().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),G=n(()=>m.packet,"getPacket"),I=n(t=>{t.length>0&&m.packet.push(t)},"pushWord"),M=n(()=>{_(),m=structuredClone(C)},"clear"),h={pushWord:I,getPacket:G,getConfig:Y,clear:M,setAccTitle:S,getAccTitle:F,setDiagramTitle:z,getDiagramTitle:P,getAccDescription:W,setAccDescription:D},O=1e4,q=n(t=>{w(t,h);let e=-1,o=[],s=1;const{bitsPerRow:i}=h.getConfig();for(let{start:a,end:r,label:p}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*o?[t,void 0]:[{start:t.start,end:e*o-1,label:t.label},{start:e*o,end:t.end,label:t.label}]},"getNextFittingBlock"),K={parse:n(async t=>{const e=await N("packet",t);v.debug(e),q(e)},"parse")},R=n((t,e,o,s)=>{const i=s.db,a=i.getConfig(),{rowHeight:r,paddingY:p,bitWidth:b,bitsPerRow:c}=a,u=i.getPacket(),l=i.getDiagramTitle(),g=r+p,d=g*(u.length+1)-(l?0:r),k=b*c+2,f=A(e);f.attr("viewbox",`0 0 ${k} ${d}`),E(f,d,k,a.useMaxWidth);for(const[$,y]of u.entries())U(f,y,$,a);f.append("text").text(l).attr("x",k/2).attr("y",d-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),U=n((t,e,o,{rowHeight:s,paddingX:i,paddingY:a,bitWidth:r,bitsPerRow:p,showBits:b})=>{const c=t.append("g"),u=o*(s+a)+a;for(const l of e){const g=l.start%p*r+1,d=(l.end-l.start+1)*r-i;if(c.append("rect").attr("x",g).attr("y",u).attr("width",d).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",g+d/2).attr("y",u+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(l.label),!b)continue;const k=l.end===l.start,f=u-2;c.append("text").attr("x",g+(k?d/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(l.start),k||c.append("text").attr("x",g+d).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(l.end)}},"drawWord"),X={draw:R},j={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},J=n(({packet:t}={})=>{const e=x(j,t);return` +import{p as w}from"./md-chunk-TMUBEWPD-Czd4q-Vh.js";import{B,s as S,g as F,p as z,q as P,b as W,c as D,_ as n,l as v,C as x,D as T,v as _,G as A,k as E}from"./md-index-TGP-egEp.js";import{p as N}from"./md-gitGraph-YCYPL57B-DO9uQgTZ.js";import"./md-_baseUniq-Bm0iSxF4.js";import"./md-_basePickBy-D2Yv_vSZ.js";import"./md-clone-Bb0Qs8zN.js";var C={packet:[]},m=structuredClone(C),L=B.packet,Y=n(()=>{const t=x({...L,...T().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),G=n(()=>m.packet,"getPacket"),I=n(t=>{t.length>0&&m.packet.push(t)},"pushWord"),M=n(()=>{_(),m=structuredClone(C)},"clear"),h={pushWord:I,getPacket:G,getConfig:Y,clear:M,setAccTitle:S,getAccTitle:F,setDiagramTitle:z,getDiagramTitle:P,getAccDescription:W,setAccDescription:D},O=1e4,q=n(t=>{w(t,h);let e=-1,o=[],s=1;const{bitsPerRow:i}=h.getConfig();for(let{start:a,end:r,label:p}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*o?[t,void 0]:[{start:t.start,end:e*o-1,label:t.label},{start:e*o,end:t.end,label:t.label}]},"getNextFittingBlock"),K={parse:n(async t=>{const e=await N("packet",t);v.debug(e),q(e)},"parse")},R=n((t,e,o,s)=>{const i=s.db,a=i.getConfig(),{rowHeight:r,paddingY:p,bitWidth:b,bitsPerRow:c}=a,u=i.getPacket(),l=i.getDiagramTitle(),g=r+p,d=g*(u.length+1)-(l?0:r),k=b*c+2,f=A(e);f.attr("viewbox",`0 0 ${k} ${d}`),E(f,d,k,a.useMaxWidth);for(const[$,y]of u.entries())U(f,y,$,a);f.append("text").text(l).attr("x",k/2).attr("y",d-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),U=n((t,e,o,{rowHeight:s,paddingX:i,paddingY:a,bitWidth:r,bitsPerRow:p,showBits:b})=>{const c=t.append("g"),u=o*(s+a)+a;for(const l of e){const g=l.start%p*r+1,d=(l.end-l.start+1)*r-i;if(c.append("rect").attr("x",g).attr("y",u).attr("width",d).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",g+d/2).attr("y",u+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(l.label),!b)continue;const k=l.end===l.start,f=u-2;c.append("text").attr("x",g+(k?d/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(l.start),k||c.append("text").attr("x",g+d).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(l.end)}},"drawWord"),X={draw:R},j={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},J=n(({packet:t}={})=>{const e=x(j,t);return` .packetByte { font-size: ${e.byteFontSize}; } diff --git a/static/js/md-erDiagram-6RL3IURR-Lowrmixy.js b/static/js/md-erDiagram-6RL3IURR-DWaCdaRm.js similarity index 99% rename from static/js/md-erDiagram-6RL3IURR-Lowrmixy.js rename to static/js/md-erDiagram-6RL3IURR-DWaCdaRm.js index 836309f..dcca107 100644 --- a/static/js/md-erDiagram-6RL3IURR-Lowrmixy.js +++ b/static/js/md-erDiagram-6RL3IURR-DWaCdaRm.js @@ -1,4 +1,4 @@ -import{_ as u,d as U,s as kt,g as xt,c as Rt,b as Ot,p as bt,q as Nt,l as X,v as Tt,j as at,u as At,k as Mt,K as vt,Q as St,P as wt}from"./md-index-trBnGDGX.js";import{G as It}from"./md-graph-u9ZJyewn.js";import{l as Dt}from"./md-layout-RM1NcZIM.js";import"./md-_baseUniq-B7UZj1IW.js";import"./md-_basePickBy-BMLPiLYr.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Bt(t){return typeof t=="string"&&Lt.test(t)}const v=[];for(let t=0;t<256;++t)v.push((t+256).toString(16).slice(1));function Ct(t,e=0){return v[t[e+0]]+v[t[e+1]]+v[t[e+2]]+v[t[e+3]]+"-"+v[t[e+4]]+v[t[e+5]]+"-"+v[t[e+6]]+v[t[e+7]]+"-"+v[t[e+8]]+v[t[e+9]]+"-"+v[t[e+10]]+v[t[e+11]]+v[t[e+12]]+v[t[e+13]]+v[t[e+14]]+v[t[e+15]]}function Pt(t){if(!Bt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Yt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>32-e}function Ht(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const y=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=k,k=m,m=it(g,30)>>>0,g=h,h=b}r[0]=r[0]+h>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const zt=Wt("v5",80,Ht);var nt=function(){var t=u(function(w,i,n,l){for(n=n||{},l=w.length;l--;n[w[l]]=i);return n},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],f=[1,11],c=[1,12],_=[1,13],y=[1,14],o=[1,15],h=[1,21],g=[1,22],m=[1,23],k=[1,24],x=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],O=[1,34],b=[27,28,46,47],Y=[41,42,43,44,45],Z=[17,34],F=[1,54],M=[1,53],S=[17,34,36,38],N={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:u(function(i,n,l,d,E,a,V){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:g,43:m,44:k,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:y,28:o},{16:30,17:[1,31],29:32,30:33,34:O},{11:35,27:y,28:o},{40:36,46:[1,37],47:[1,38]},t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(b,[2,37]),t(b,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:O},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:g,43:m,44:k,45:x},t(Y,[2,39]),t(Y,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(Z,[2,23],{32:50,33:51,35:52,37:F,38:M}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(Z,[2,24],{33:56,36:[1,57],38:M}),t(Z,[2,25]),t(S,[2,29]),t(Z,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:O},t(Z,[2,26]),{35:60,37:F},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:u(function(i,n){if(n.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=n,l}},"parseError"),parse:u(function(i){var n=this,l=[0],d=[],E=[null],a=[],V=this.table,s="",j=0,lt=0,_t=2,ct=1,Et=a.slice.call(arguments,1),A=Object.create(this.lexer),H={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(H.yy[$]=this.yy[$]);A.setInput(i,H.yy),H.yy.lexer=A,H.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var tt=A.yylloc;a.push(tt);var gt=A.options&&A.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(D){l.length=l.length-2*D,E.length=E.length-D,a.length=a.length-D}u(mt,"popStack");function ht(){var D;return D=d.pop()||A.lex()||ct,typeof D!="number"&&(D instanceof Array&&(d=D,D=d.pop()),D=n.symbols_[D]||D),D}u(ht,"lex");for(var I,z,B,et,G={},q,W,dt,J;;){if(z=l[l.length-1],this.defaultActions[z]?B=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=ht()),B=V[z]&&V[z][I]),typeof B>"u"||!B.length||!B[0]){var rt="";J=[];for(q in V[z])this.terminals_[q]&&q>_t&&J.push("'"+this.terminals_[q]+"'");A.showPosition?rt="Parse error on line "+(j+1)+`: +import{_ as u,d as U,s as kt,g as xt,c as Rt,b as Ot,p as bt,q as Nt,l as X,v as Tt,j as at,u as At,k as Mt,K as vt,Q as St,P as wt}from"./md-index-TGP-egEp.js";import{G as It}from"./md-graph-BqJ5nvx-.js";import{l as Dt}from"./md-layout-D5yfjIxP.js";import"./md-_baseUniq-Bm0iSxF4.js";import"./md-_basePickBy-D2Yv_vSZ.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Bt(t){return typeof t=="string"&&Lt.test(t)}const v=[];for(let t=0;t<256;++t)v.push((t+256).toString(16).slice(1));function Ct(t,e=0){return v[t[e+0]]+v[t[e+1]]+v[t[e+2]]+v[t[e+3]]+"-"+v[t[e+4]]+v[t[e+5]]+"-"+v[t[e+6]]+v[t[e+7]]+"-"+v[t[e+8]]+v[t[e+9]]+"-"+v[t[e+10]]+v[t[e+11]]+v[t[e+12]]+v[t[e+13]]+v[t[e+14]]+v[t[e+15]]}function Pt(t){if(!Bt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Yt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>32-e}function Ht(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const y=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=k,k=m,m=it(g,30)>>>0,g=h,h=b}r[0]=r[0]+h>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const zt=Wt("v5",80,Ht);var nt=function(){var t=u(function(w,i,n,l){for(n=n||{},l=w.length;l--;n[w[l]]=i);return n},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],f=[1,11],c=[1,12],_=[1,13],y=[1,14],o=[1,15],h=[1,21],g=[1,22],m=[1,23],k=[1,24],x=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],O=[1,34],b=[27,28,46,47],Y=[41,42,43,44,45],Z=[17,34],F=[1,54],M=[1,53],S=[17,34,36,38],N={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:u(function(i,n,l,d,E,a,V){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:g,43:m,44:k,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:y,28:o},{16:30,17:[1,31],29:32,30:33,34:O},{11:35,27:y,28:o},{40:36,46:[1,37],47:[1,38]},t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(b,[2,37]),t(b,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:O},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:g,43:m,44:k,45:x},t(Y,[2,39]),t(Y,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(Z,[2,23],{32:50,33:51,35:52,37:F,38:M}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(Z,[2,24],{33:56,36:[1,57],38:M}),t(Z,[2,25]),t(S,[2,29]),t(Z,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:O},t(Z,[2,26]),{35:60,37:F},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:u(function(i,n){if(n.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=n,l}},"parseError"),parse:u(function(i){var n=this,l=[0],d=[],E=[null],a=[],V=this.table,s="",j=0,lt=0,_t=2,ct=1,Et=a.slice.call(arguments,1),A=Object.create(this.lexer),H={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(H.yy[$]=this.yy[$]);A.setInput(i,H.yy),H.yy.lexer=A,H.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var tt=A.yylloc;a.push(tt);var gt=A.options&&A.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(D){l.length=l.length-2*D,E.length=E.length-D,a.length=a.length-D}u(mt,"popStack");function ht(){var D;return D=d.pop()||A.lex()||ct,typeof D!="number"&&(D instanceof Array&&(d=D,D=d.pop()),D=n.symbols_[D]||D),D}u(ht,"lex");for(var I,z,B,et,G={},q,W,dt,J;;){if(z=l[l.length-1],this.defaultActions[z]?B=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=ht()),B=V[z]&&V[z][I]),typeof B>"u"||!B.length||!B[0]){var rt="";J=[];for(q in V[z])this.terminals_[q]&&q>_t&&J.push("'"+this.terminals_[q]+"'");A.showPosition?rt="Parse error on line "+(j+1)+`: `+A.showPosition()+` Expecting `+J.join(", ")+", got '"+(this.terminals_[I]||I)+"'":rt="Parse error on line "+(j+1)+": Unexpected "+(I==ct?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(rt,{text:A.match,token:this.terminals_[I]||I,line:A.yylineno,loc:tt,expected:J})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(B[0]){case 1:l.push(I),E.push(A.yytext),a.push(A.yylloc),l.push(B[1]),I=null,lt=A.yyleng,s=A.yytext,j=A.yylineno,tt=A.yylloc;break;case 2:if(W=this.productions_[B[1]][1],G.$=E[E.length-W],G._$={first_line:a[a.length-(W||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(W||1)].first_column,last_column:a[a.length-1].last_column},gt&&(G._$.range=[a[a.length-(W||1)].range[0],a[a.length-1].range[1]]),et=this.performAction.apply(G,[s,lt,j,H.yy,B[1],E,a].concat(Et)),typeof et<"u")return et;W&&(l=l.slice(0,-1*W*2),E=E.slice(0,-1*W),a=a.slice(0,-1*W)),l.push(this.productions_[B[1]][0]),E.push(G.$),a.push(G._$),dt=V[l[l.length-2]][l[l.length-1]],l.push(dt);break;case 3:return!0}}return!0},"parse")},T=function(){var w={EOF:1,parseError:u(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:u(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:u(function(i){var n=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(i){this.unput(this.match.slice(i))},"less"),pastInput:u(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/static/js/md-flowDiagram-7ASYPVHJ-xPaGUtIu.js b/static/js/md-flowDiagram-7ASYPVHJ-D2L0sNan.js similarity index 99% rename from static/js/md-flowDiagram-7ASYPVHJ-xPaGUtIu.js rename to static/js/md-flowDiagram-7ASYPVHJ-D2L0sNan.js index 3464807..2dc0fcf 100644 --- a/static/js/md-flowDiagram-7ASYPVHJ-xPaGUtIu.js +++ b/static/js/md-flowDiagram-7ASYPVHJ-D2L0sNan.js @@ -1,4 +1,4 @@ -import{g as gt,s as At}from"./md-chunk-5HRBRIJM-BSZ1VC5p.js";import{d as U1,_ as l,n as Ze,o as bt,s as kt,g as mt,b as Et,c as St,p as Dt,q as xt,r as Ct,J as Tt,t as yt,l as e1,u as ge,v as Ft,x as vt,j as C1,y as _t,z as Bt,e as Vt,A as Lt}from"./md-index-trBnGDGX.js";import{c as wt}from"./md-channel-CT_g7y1I.js";var It="flowchart-",$e=0,M1=U1(),b1=new Map,K=[],K1=new Map,p1=[],Ae=new Map,be=new Map,ee=0,pe=!0,J,se,re=[],ie=l(e=>Vt.sanitizeText(e,M1),"sanitizeText"),ae=l(function(e){for(const r of b1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Rt=l(function(e,r,i,a,u,d,g={},D){var v,z;if(!e||e.trim().length===0)return;let c,o=b1.get(e);if(o===void 0&&(o={id:e,labelType:"text",domId:It+e+"-"+$e,styles:[],classes:[]},b1.set(e,o)),$e++,r!==void 0?(M1=U1(),c=ie(r.text.trim()),o.labelType=r.type,c.startsWith('"')&&c.endsWith('"')&&(c=c.substring(1,c.length-1)),o.text=c):o.text===void 0&&(o.text=e),i!==void 0&&(o.type=i),a!=null&&a.forEach(function(_){o.styles.push(_)}),u!=null&&u.forEach(function(_){o.classes.push(_)}),d!==void 0&&(o.dir=d),o.props===void 0?o.props=g:g!==void 0&&Object.assign(o.props,g),D!==void 0){let _;D.includes(` +import{g as gt,s as At}from"./md-chunk-5HRBRIJM-DIfJDOBU.js";import{d as U1,_ as l,n as Ze,o as bt,s as kt,g as mt,b as Et,c as St,p as Dt,q as xt,r as Ct,J as Tt,t as yt,l as e1,u as ge,v as Ft,x as vt,j as C1,y as _t,z as Bt,e as Vt,A as Lt}from"./md-index-TGP-egEp.js";import{c as wt}from"./md-channel-Dlq_AjKA.js";var It="flowchart-",$e=0,M1=U1(),b1=new Map,K=[],K1=new Map,p1=[],Ae=new Map,be=new Map,ee=0,pe=!0,J,se,re=[],ie=l(e=>Vt.sanitizeText(e,M1),"sanitizeText"),ae=l(function(e){for(const r of b1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Rt=l(function(e,r,i,a,u,d,g={},D){var v,z;if(!e||e.trim().length===0)return;let c,o=b1.get(e);if(o===void 0&&(o={id:e,labelType:"text",domId:It+e+"-"+$e,styles:[],classes:[]},b1.set(e,o)),$e++,r!==void 0?(M1=U1(),c=ie(r.text.trim()),o.labelType=r.type,c.startsWith('"')&&c.endsWith('"')&&(c=c.substring(1,c.length-1)),o.text=c):o.text===void 0&&(o.text=e),i!==void 0&&(o.type=i),a!=null&&a.forEach(function(_){o.styles.push(_)}),u!=null&&u.forEach(function(_){o.classes.push(_)}),d!==void 0&&(o.dir=d),o.props===void 0?o.props=g:g!==void 0&&Object.assign(o.props,g),D!==void 0){let _;D.includes(` `)?_=D+` `:_=`{ `+D+` diff --git a/static/js/md-ganttDiagram-NTVNEXSI-cAHWgi6a.js b/static/js/md-ganttDiagram-NTVNEXSI-CL-9Lky_.js similarity index 99% rename from static/js/md-ganttDiagram-NTVNEXSI-cAHWgi6a.js rename to static/js/md-ganttDiagram-NTVNEXSI-CL-9Lky_.js index 78f6b32..995245a 100644 --- a/static/js/md-ganttDiagram-NTVNEXSI-cAHWgi6a.js +++ b/static/js/md-ganttDiagram-NTVNEXSI-CL-9Lky_.js @@ -1,4 +1,4 @@ -import{aV as Je,aW as $e,aX as Ke,aY as tn,aZ as Fn,a_ as re,a$ as En,aH as Te,aI as be,_ as h,b0 as at,d as _t,s as Ln,g as An,p as In,q as Wn,c as On,b as Hn,v as Nn,m as Vn,l as Qt,j as Zt,k as zn,e as Pn,u as Rn}from"./md-index-trBnGDGX.js";import{b as Bn,t as Ie,c as Zn,a as qn,l as Xn}from"./md-linear-qIPm0QjV.js";import{i as Gn}from"./md-init-Gi6I4Gst.js";function jn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n=a)&&(n=a)}return n}function Qn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a)}return n}function Jn(t){return t}var Xt=1,ae=2,me=3,qt=4,We=1e-6;function $n(t){return"translate("+t+",0)"}function Kn(t){return"translate(0,"+t+")"}function tr(t){return e=>+t(e)}function er(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function nr(){return!this.__axis}function en(t,e){var n=[],r=null,a=null,i=6,s=6,k=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:.5,T=t===Xt||t===qt?-1:1,g=t===qt||t===ae?"x":"y",F=t===Xt||t===me?$n:Kn;function D(b){var X=r??(e.ticks?e.ticks.apply(e,n):e.domain()),O=a??(e.tickFormat?e.tickFormat.apply(e,n):Jn),C=Math.max(i,0)+k,I=e.range(),V=+I[0]+M,W=+I[I.length-1]+M,Z=(e.bandwidth?er:tr)(e.copy(),M),Q=b.selection?b.selection():b,w=Q.selectAll(".domain").data([null]),H=Q.selectAll(".tick").data(X,e).order(),x=H.exit(),Y=H.enter().append("g").attr("class","tick"),_=H.select("line"),S=H.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(Y),_=_.merge(Y.append("line").attr("stroke","currentColor").attr(g+"2",T*i)),S=S.merge(Y.append("text").attr("fill","currentColor").attr(g,T*C).attr("dy",t===Xt?"0em":t===me?"0.71em":"0.32em")),b!==Q&&(w=w.transition(b),H=H.transition(b),_=_.transition(b),S=S.transition(b),x=x.transition(b).attr("opacity",We).attr("transform",function(p){return isFinite(p=Z(p))?F(p+M):this.getAttribute("transform")}),Y.attr("opacity",We).attr("transform",function(p){var U=this.parentNode.__axis;return F((U&&isFinite(U=U(p))?U:Z(p))+M)})),x.remove(),w.attr("d",t===qt||t===ae?s?"M"+T*s+","+V+"H"+M+"V"+W+"H"+T*s:"M"+M+","+V+"V"+W:s?"M"+V+","+T*s+"V"+M+"H"+W+"V"+T*s:"M"+V+","+M+"H"+W),H.attr("opacity",1).attr("transform",function(p){return F(Z(p)+M)}),_.attr(g+"2",T*i),S.attr(g,T*C).text(O),Q.filter(nr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ae?"start":t===qt?"end":"middle"),Q.each(function(){this.__axis=Z})}return D.scale=function(b){return arguments.length?(e=b,D):e},D.ticks=function(){return n=Array.from(arguments),D},D.tickArguments=function(b){return arguments.length?(n=b==null?[]:Array.from(b),D):n.slice()},D.tickValues=function(b){return arguments.length?(r=b==null?null:Array.from(b),D):r&&r.slice()},D.tickFormat=function(b){return arguments.length?(a=b,D):a},D.tickSize=function(b){return arguments.length?(i=s=+b,D):i},D.tickSizeInner=function(b){return arguments.length?(i=+b,D):i},D.tickSizeOuter=function(b){return arguments.length?(s=+b,D):s},D.tickPadding=function(b){return arguments.length?(k=+b,D):k},D.offset=function(b){return arguments.length?(M=+b,D):M},D}function rr(t){return en(Xt,t)}function ar(t){return en(me,t)}const ir=Math.PI/180,sr=180/Math.PI,Jt=18,nn=.96422,rn=1,an=.82521,sn=4/29,St=6/29,on=3*St*St,or=St*St*St;function cn(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof dt)return ln(t);t instanceof Ke||(t=Fn(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),a=ie((.2225045*e+.7168786*n+.0606169*r)/rn),i,s;return e===n&&n===r?i=s=a:(i=ie((.4360747*e+.3850649*n+.1430804*r)/nn),s=ie((.0139322*e+.0971045*n+.7141733*r)/an)),new ft(116*a-16,500*(i-a),200*(a-s),t.opacity)}function cr(t,e,n,r){return arguments.length===1?cn(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Je(ft,cr,$e(tn,{brighter(t){return new ft(this.l+Jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-Jt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=nn*se(e),t=rn*se(t),n=an*se(n),new Ke(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ie(t){return t>or?Math.pow(t,1/3):t/on+sn}function se(t){return t>St?t*t*t:on*(t-sn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lr(t){if(t instanceof dt)return new dt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=cn(t)),t.a===0&&t.b===0)return new dt(NaN,0(t(i=new Date(+i)),i),a.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),a.round=i=>{const s=a(i),k=a.ceil(i);return i-s(e(i=new Date(+i),s==null?1:Math.floor(s)),i),a.range=(i,s,k)=>{const M=[];if(i=a.ceil(i),k=k==null?1:Math.floor(k),!(i0))return M;let T;do M.push(T=new Date(+i)),e(i,k),t(i);while(Tet(s=>{if(s>=s)for(;t(s),!i(s);)s.setTime(s-1)},(s,k)=>{if(s>=s)if(k<0)for(;++k<=0;)for(;e(s,-1),!i(s););else for(;--k>=0;)for(;e(s,1),!i(s););}),n&&(a.count=(i,s)=>(le.setTime(+i),ue.setTime(+s),t(le),t(ue),Math.floor(n(le,ue))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(r?s=>r(s)%i===0:s=>a.count(0,s)%i===0):a)),a}const Ut=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,ct=mt*60,gt=ct*60,yt=gt*24,xe=yt*7,Oe=yt*30,fe=yt*365,vt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());vt.range;const Wt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Wt.range;const dr=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());dr.range;const Ot=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ot.range;const mr=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());mr.range;const Tt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/yt,t=>t.getDate()-1);Tt.range;const we=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);we.range;const gr=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));gr.range;function wt(t){return et(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ct)/xe)}const Vt=wt(0),Ht=wt(1),un=wt(2),fn=wt(3),bt=wt(4),hn=wt(5),dn=wt(6);Vt.range;Ht.range;un.range;fn.range;bt.range;hn.range;dn.range;function Dt(t){return et(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/xe)}const mn=Dt(0),$t=Dt(1),yr=Dt(2),kr=Dt(3),Ft=Dt(4),pr=Dt(5),vr=Dt(6);mn.range;$t.range;yr.range;kr.range;Ft.range;pr.range;vr.range;const Nt=et(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const Tr=et(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Tr.range;const kt=et(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const xt=et(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());xt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});xt.range;function br(t,e,n,r,a,i){const s=[[vt,1,mt],[vt,5,5*mt],[vt,15,15*mt],[vt,30,30*mt],[i,1,ct],[i,5,5*ct],[i,15,15*ct],[i,30,30*ct],[a,1,gt],[a,3,3*gt],[a,6,6*gt],[a,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,xe],[e,1,Oe],[e,3,3*Oe],[t,1,fe]];function k(T,g,F){const D=gC).right(s,D);if(b===s.length)return t.every(Ie(T/fe,g/fe,F));if(b===0)return Ut.every(Math.max(Ie(T,g,F),1));const[X,O]=s[D/s[b-1][2]53)return null;"w"in u||(u.w=1),"Z"in u?(L=de(Lt(u.y,0,1)),j=L.getUTCDay(),L=j>4||j===0?$t.ceil(L):$t(L),L=we.offset(L,(u.V-1)*7),u.y=L.getUTCFullYear(),u.m=L.getUTCMonth(),u.d=L.getUTCDate()+(u.w+6)%7):(L=he(Lt(u.y,0,1)),j=L.getDay(),L=j>4||j===0?Ht.ceil(L):Ht(L),L=Tt.offset(L,(u.V-1)*7),u.y=L.getFullYear(),u.m=L.getMonth(),u.d=L.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),j="Z"in u?de(Lt(u.y,0,1)).getUTCDay():he(Lt(u.y,0,1)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+u.W*7-(j+5)%7:u.w+u.U*7-(j+6)%7);return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,de(u)):he(u)}}function x(v,A,N,u){for(var $=0,L=A.length,j=N.length,q,rt;$=j)return-1;if(q=A.charCodeAt($++),q===37){if(q=A.charAt($++),rt=Q[q in He?A.charAt($++):q],!rt||(u=rt(v,N,u))<0)return-1}else if(q!=N.charCodeAt(u++))return-1}return u}function Y(v,A,N){var u=T.exec(A.slice(N));return u?(v.p=g.get(u[0].toLowerCase()),N+u[0].length):-1}function _(v,A,N){var u=b.exec(A.slice(N));return u?(v.w=X.get(u[0].toLowerCase()),N+u[0].length):-1}function S(v,A,N){var u=F.exec(A.slice(N));return u?(v.w=D.get(u[0].toLowerCase()),N+u[0].length):-1}function p(v,A,N){var u=I.exec(A.slice(N));return u?(v.m=V.get(u[0].toLowerCase()),N+u[0].length):-1}function U(v,A,N){var u=O.exec(A.slice(N));return u?(v.m=C.get(u[0].toLowerCase()),N+u[0].length):-1}function l(v,A,N){return x(v,e,A,N)}function f(v,A,N){return x(v,n,A,N)}function y(v,A,N){return x(v,r,A,N)}function m(v){return s[v.getDay()]}function E(v){return i[v.getDay()]}function c(v){return M[v.getMonth()]}function d(v){return k[v.getMonth()]}function o(v){return a[+(v.getHours()>=12)]}function P(v){return 1+~~(v.getMonth()/3)}function z(v){return s[v.getUTCDay()]}function R(v){return i[v.getUTCDay()]}function K(v){return M[v.getUTCMonth()]}function G(v){return k[v.getUTCMonth()]}function J(v){return a[+(v.getUTCHours()>=12)]}function it(v){return 1+~~(v.getUTCMonth()/3)}return{format:function(v){var A=w(v+="",W);return A.toString=function(){return v},A},parse:function(v){var A=H(v+="",!1);return A.toString=function(){return v},A},utcFormat:function(v){var A=w(v+="",Z);return A.toString=function(){return v},A},utcParse:function(v){var A=H(v+="",!0);return A.toString=function(){return v},A}}}var He={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,Cr=/^%/,Mr=/[\\^$*+?|[\]().{}]/g;function B(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i[e.toLowerCase(),n]))}function Sr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ne(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Lr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ar(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Ir(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ze(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=nt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function zr(t,e,n){var r=Cr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Pr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Re(t,e){return B(t.getDate(),e,2)}function Br(t,e){return B(t.getHours(),e,2)}function Zr(t,e){return B(t.getHours()%12||12,e,2)}function qr(t,e){return B(1+Tt.count(kt(t),t),e,3)}function gn(t,e){return B(t.getMilliseconds(),e,3)}function Xr(t,e){return gn(t,e)+"000"}function Gr(t,e){return B(t.getMonth()+1,e,2)}function jr(t,e){return B(t.getMinutes(),e,2)}function Qr(t,e){return B(t.getSeconds(),e,2)}function Jr(t){var e=t.getDay();return e===0?7:e}function $r(t,e){return B(Vt.count(kt(t)-1,t),e,2)}function yn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function Kr(t,e){return t=yn(t),B(bt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function ta(t){return t.getDay()}function ea(t,e){return B(Ht.count(kt(t)-1,t),e,2)}function na(t,e){return B(t.getFullYear()%100,e,2)}function ra(t,e){return t=yn(t),B(t.getFullYear()%100,e,2)}function aa(t,e){return B(t.getFullYear()%1e4,e,4)}function ia(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),B(t.getFullYear()%1e4,e,4)}function sa(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+B(e/60|0,"0",2)+B(e%60,"0",2)}function Be(t,e){return B(t.getUTCDate(),e,2)}function oa(t,e){return B(t.getUTCHours(),e,2)}function ca(t,e){return B(t.getUTCHours()%12||12,e,2)}function la(t,e){return B(1+we.count(xt(t),t),e,3)}function kn(t,e){return B(t.getUTCMilliseconds(),e,3)}function ua(t,e){return kn(t,e)+"000"}function fa(t,e){return B(t.getUTCMonth()+1,e,2)}function ha(t,e){return B(t.getUTCMinutes(),e,2)}function da(t,e){return B(t.getUTCSeconds(),e,2)}function ma(t){var e=t.getUTCDay();return e===0?7:e}function ga(t,e){return B(mn.count(xt(t)-1,t),e,2)}function pn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function ya(t,e){return t=pn(t),B(Ft.count(xt(t),t)+(xt(t).getUTCDay()===4),e,2)}function ka(t){return t.getUTCDay()}function pa(t,e){return B($t.count(xt(t)-1,t),e,2)}function va(t,e){return B(t.getUTCFullYear()%100,e,2)}function Ta(t,e){return t=pn(t),B(t.getUTCFullYear()%100,e,2)}function ba(t,e){return B(t.getUTCFullYear()%1e4,e,4)}function xa(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),B(t.getUTCFullYear()%1e4,e,4)}function wa(){return"+0000"}function Ze(){return"%"}function qe(t){return+t}function Xe(t){return Math.floor(+t/1e3)}var Mt,Kt;Da({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Da(t){return Mt=Dr(t),Kt=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ca(t){return new Date(t)}function Ma(t){return t instanceof Date?+t:+new Date(+t)}function vn(t,e,n,r,a,i,s,k,M,T){var g=Zn(),F=g.invert,D=g.domain,b=T(".%L"),X=T(":%S"),O=T("%I:%M"),C=T("%I %p"),I=T("%a %d"),V=T("%b %d"),W=T("%B"),Z=T("%Y");function Q(w){return(M(w)4&&(b+=7),D.add(b,n));return X.diff(O,"week")+1},k.isoWeekday=function(T){return this.$utils().u(T)?this.day()||7:this.day(this.day()%7?T:T-7)};var M=k.startOf;k.startOf=function(T,g){var F=this.$utils(),D=!!F.u(g)||g;return F.p(T)==="isoweek"?D?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):M.bind(this)(T,g)}}})})(Tn);var Sa=Tn.exports;const Ya=be(Sa);var bn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Te,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,s=/\d\d?/,k=/\d*[^-_:/,()\s\d]+/,M={},T=function(C){return(C=+C)+(C>68?1900:2e3)},g=function(C){return function(I){this[C]=+I}},F=[/[+-]\d\d:?(\d\d)?|Z/,function(C){(this.zone||(this.zone={})).offset=function(I){if(!I||I==="Z")return 0;var V=I.match(/([+-]|\d\d)/g),W=60*V[1]+(+V[2]||0);return W===0?0:V[0]==="+"?-W:W}(C)}],D=function(C){var I=M[C];return I&&(I.indexOf?I:I.s.concat(I.f))},b=function(C,I){var V,W=M.meridiem;if(W){for(var Z=1;Z<=24;Z+=1)if(C.indexOf(W(Z,0,I))>-1){V=Z>12;break}}else V=C===(I?"pm":"PM");return V},X={A:[k,function(C){this.afternoon=b(C,!1)}],a:[k,function(C){this.afternoon=b(C,!0)}],Q:[a,function(C){this.month=3*(C-1)+1}],S:[a,function(C){this.milliseconds=100*+C}],SS:[i,function(C){this.milliseconds=10*+C}],SSS:[/\d{3}/,function(C){this.milliseconds=+C}],s:[s,g("seconds")],ss:[s,g("seconds")],m:[s,g("minutes")],mm:[s,g("minutes")],H:[s,g("hours")],h:[s,g("hours")],HH:[s,g("hours")],hh:[s,g("hours")],D:[s,g("day")],DD:[i,g("day")],Do:[k,function(C){var I=M.ordinal,V=C.match(/\d+/);if(this.day=V[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===C&&(this.day=W)}],w:[s,g("week")],ww:[i,g("week")],M:[s,g("month")],MM:[i,g("month")],MMM:[k,function(C){var I=D("months"),V=(D("monthsShort")||I.map(function(W){return W.slice(0,3)})).indexOf(C)+1;if(V<1)throw new Error;this.month=V%12||V}],MMMM:[k,function(C){var I=D("months").indexOf(C)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,g("year")],YY:[i,function(C){this.year=T(C)}],YYYY:[/\d{4}/,g("year")],Z:F,ZZ:F};function O(C){var I,V;I=C,V=M&&M.formats;for(var W=(C=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,S,p){var U=p&&p.toUpperCase();return S||V[p]||n[p]||V[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,f,y){return f||y.slice(1)})})).match(r),Z=W.length,Q=0;Q-1)return new Date((E==="X"?1e3:1)*m);var o=O(E)(m),P=o.year,z=o.month,R=o.day,K=o.hours,G=o.minutes,J=o.seconds,it=o.milliseconds,v=o.zone,A=o.week,N=new Date,u=R||(P||z?1:N.getDate()),$=P||N.getFullYear(),L=0;P&&!z||(L=z>0?z-1:N.getMonth());var j,q=K||0,rt=G||0,st=J||0,pt=it||0;return v?new Date(Date.UTC($,L,u,q,rt,st,pt+60*v.offset*1e3)):c?new Date(Date.UTC($,L,u,q,rt,st,pt)):(j=new Date($,L,u,q,rt,st,pt),A&&(j=d(j).week(A).toDate()),j)}catch{return new Date("")}}(w,Y,H,V),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),p&&w!=this.format(Y)&&(this.$d=new Date("")),M={}}else if(Y instanceof Array)for(var l=Y.length,f=1;f<=l;f+=1){x[1]=Y[f-1];var y=V.apply(this,x);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}f===l&&(this.$d=new Date(""))}else Z.call(this,Q)}}})})(bn);var Ua=bn.exports;const Fa=be(Ua);var xn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Te,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(s){var k=this,M=this.$locale();if(!this.isValid())return i.bind(this)(s);var T=this.$utils(),g=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((k.$M+1)/3);case"Do":return M.ordinal(k.$D);case"gggg":return k.weekYear();case"GGGG":return k.isoWeekYear();case"wo":return M.ordinal(k.week(),"W");case"w":case"ww":return T.s(k.week(),F==="w"?1:2,"0");case"W":case"WW":return T.s(k.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return T.s(String(k.$H===0?24:k.$H),F==="k"?1:2,"0");case"X":return Math.floor(k.$d.getTime()/1e3);case"x":return k.$d.getTime();case"z":return"["+k.offsetName()+"]";case"zzz":return"["+k.offsetName("long")+"]";default:return F}});return i.bind(this)(g)}}})})(xn);var Ea=xn.exports;const La=be(Ea);var ye=function(){var t=h(function(U,l,f,y){for(f=f||{},y=U.length;y--;f[U[y]]=l);return f},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],a=[1,28],i=[1,29],s=[1,30],k=[1,31],M=[1,32],T=[1,33],g=[1,34],F=[1,9],D=[1,10],b=[1,11],X=[1,12],O=[1,13],C=[1,14],I=[1,15],V=[1,16],W=[1,19],Z=[1,20],Q=[1,21],w=[1,22],H=[1,23],x=[1,25],Y=[1,35],_={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:h(function(l,f,y,m,E,c,d){var o=c.length-1;switch(E){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:h(function(l,f){if(f.recoverable)this.trace(l);else{var y=new Error(l);throw y.hash=f,y}},"parseError"),parse:h(function(l){var f=this,y=[0],m=[],E=[null],c=[],d=this.table,o="",P=0,z=0,R=2,K=1,G=c.slice.call(arguments,1),J=Object.create(this.lexer),it={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(it.yy[v]=this.yy[v]);J.setInput(l,it.yy),it.yy.lexer=J,it.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var A=J.yylloc;c.push(A);var N=J.options&&J.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function u(ot){y.length=y.length-2*ot,E.length=E.length-ot,c.length=c.length-ot}h(u,"popStack");function $(){var ot;return ot=m.pop()||J.lex()||K,typeof ot!="number"&&(ot instanceof Array&&(m=ot,ot=m.pop()),ot=f.symbols_[ot]||ot),ot}h($,"lex");for(var L,j,q,rt,st={},pt,lt,Ae,Bt;;){if(j=y[y.length-1],this.defaultActions[j]?q=this.defaultActions[j]:((L===null||typeof L>"u")&&(L=$()),q=d[j]&&d[j][L]),typeof q>"u"||!q.length||!q[0]){var ne="";Bt=[];for(pt in d[j])this.terminals_[pt]&&pt>R&&Bt.push("'"+this.terminals_[pt]+"'");J.showPosition?ne="Parse error on line "+(P+1)+`: +import{aV as Je,aW as $e,aX as Ke,aY as tn,aZ as Fn,a_ as re,a$ as En,aH as Te,aI as be,_ as h,b0 as at,d as _t,s as Ln,g as An,p as In,q as Wn,c as On,b as Hn,v as Nn,m as Vn,l as Qt,j as Zt,k as zn,e as Pn,u as Rn}from"./md-index-TGP-egEp.js";import{b as Bn,t as Ie,c as Zn,a as qn,l as Xn}from"./md-linear-BWd3aXuT.js";import{i as Gn}from"./md-init-Gi6I4Gst.js";function jn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n=a)&&(n=a)}return n}function Qn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a)}return n}function Jn(t){return t}var Xt=1,ae=2,me=3,qt=4,We=1e-6;function $n(t){return"translate("+t+",0)"}function Kn(t){return"translate(0,"+t+")"}function tr(t){return e=>+t(e)}function er(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function nr(){return!this.__axis}function en(t,e){var n=[],r=null,a=null,i=6,s=6,k=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:.5,T=t===Xt||t===qt?-1:1,g=t===qt||t===ae?"x":"y",F=t===Xt||t===me?$n:Kn;function D(b){var X=r??(e.ticks?e.ticks.apply(e,n):e.domain()),O=a??(e.tickFormat?e.tickFormat.apply(e,n):Jn),C=Math.max(i,0)+k,I=e.range(),V=+I[0]+M,W=+I[I.length-1]+M,Z=(e.bandwidth?er:tr)(e.copy(),M),Q=b.selection?b.selection():b,w=Q.selectAll(".domain").data([null]),H=Q.selectAll(".tick").data(X,e).order(),x=H.exit(),Y=H.enter().append("g").attr("class","tick"),_=H.select("line"),S=H.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(Y),_=_.merge(Y.append("line").attr("stroke","currentColor").attr(g+"2",T*i)),S=S.merge(Y.append("text").attr("fill","currentColor").attr(g,T*C).attr("dy",t===Xt?"0em":t===me?"0.71em":"0.32em")),b!==Q&&(w=w.transition(b),H=H.transition(b),_=_.transition(b),S=S.transition(b),x=x.transition(b).attr("opacity",We).attr("transform",function(p){return isFinite(p=Z(p))?F(p+M):this.getAttribute("transform")}),Y.attr("opacity",We).attr("transform",function(p){var U=this.parentNode.__axis;return F((U&&isFinite(U=U(p))?U:Z(p))+M)})),x.remove(),w.attr("d",t===qt||t===ae?s?"M"+T*s+","+V+"H"+M+"V"+W+"H"+T*s:"M"+M+","+V+"V"+W:s?"M"+V+","+T*s+"V"+M+"H"+W+"V"+T*s:"M"+V+","+M+"H"+W),H.attr("opacity",1).attr("transform",function(p){return F(Z(p)+M)}),_.attr(g+"2",T*i),S.attr(g,T*C).text(O),Q.filter(nr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ae?"start":t===qt?"end":"middle"),Q.each(function(){this.__axis=Z})}return D.scale=function(b){return arguments.length?(e=b,D):e},D.ticks=function(){return n=Array.from(arguments),D},D.tickArguments=function(b){return arguments.length?(n=b==null?[]:Array.from(b),D):n.slice()},D.tickValues=function(b){return arguments.length?(r=b==null?null:Array.from(b),D):r&&r.slice()},D.tickFormat=function(b){return arguments.length?(a=b,D):a},D.tickSize=function(b){return arguments.length?(i=s=+b,D):i},D.tickSizeInner=function(b){return arguments.length?(i=+b,D):i},D.tickSizeOuter=function(b){return arguments.length?(s=+b,D):s},D.tickPadding=function(b){return arguments.length?(k=+b,D):k},D.offset=function(b){return arguments.length?(M=+b,D):M},D}function rr(t){return en(Xt,t)}function ar(t){return en(me,t)}const ir=Math.PI/180,sr=180/Math.PI,Jt=18,nn=.96422,rn=1,an=.82521,sn=4/29,St=6/29,on=3*St*St,or=St*St*St;function cn(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof dt)return ln(t);t instanceof Ke||(t=Fn(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),a=ie((.2225045*e+.7168786*n+.0606169*r)/rn),i,s;return e===n&&n===r?i=s=a:(i=ie((.4360747*e+.3850649*n+.1430804*r)/nn),s=ie((.0139322*e+.0971045*n+.7141733*r)/an)),new ft(116*a-16,500*(i-a),200*(a-s),t.opacity)}function cr(t,e,n,r){return arguments.length===1?cn(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Je(ft,cr,$e(tn,{brighter(t){return new ft(this.l+Jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-Jt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=nn*se(e),t=rn*se(t),n=an*se(n),new Ke(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ie(t){return t>or?Math.pow(t,1/3):t/on+sn}function se(t){return t>St?t*t*t:on*(t-sn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lr(t){if(t instanceof dt)return new dt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=cn(t)),t.a===0&&t.b===0)return new dt(NaN,0(t(i=new Date(+i)),i),a.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),a.round=i=>{const s=a(i),k=a.ceil(i);return i-s(e(i=new Date(+i),s==null?1:Math.floor(s)),i),a.range=(i,s,k)=>{const M=[];if(i=a.ceil(i),k=k==null?1:Math.floor(k),!(i0))return M;let T;do M.push(T=new Date(+i)),e(i,k),t(i);while(Tet(s=>{if(s>=s)for(;t(s),!i(s);)s.setTime(s-1)},(s,k)=>{if(s>=s)if(k<0)for(;++k<=0;)for(;e(s,-1),!i(s););else for(;--k>=0;)for(;e(s,1),!i(s););}),n&&(a.count=(i,s)=>(le.setTime(+i),ue.setTime(+s),t(le),t(ue),Math.floor(n(le,ue))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(r?s=>r(s)%i===0:s=>a.count(0,s)%i===0):a)),a}const Ut=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,ct=mt*60,gt=ct*60,yt=gt*24,xe=yt*7,Oe=yt*30,fe=yt*365,vt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());vt.range;const Wt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Wt.range;const dr=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());dr.range;const Ot=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ot.range;const mr=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());mr.range;const Tt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/yt,t=>t.getDate()-1);Tt.range;const we=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);we.range;const gr=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));gr.range;function wt(t){return et(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ct)/xe)}const Vt=wt(0),Ht=wt(1),un=wt(2),fn=wt(3),bt=wt(4),hn=wt(5),dn=wt(6);Vt.range;Ht.range;un.range;fn.range;bt.range;hn.range;dn.range;function Dt(t){return et(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/xe)}const mn=Dt(0),$t=Dt(1),yr=Dt(2),kr=Dt(3),Ft=Dt(4),pr=Dt(5),vr=Dt(6);mn.range;$t.range;yr.range;kr.range;Ft.range;pr.range;vr.range;const Nt=et(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const Tr=et(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Tr.range;const kt=et(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const xt=et(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());xt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});xt.range;function br(t,e,n,r,a,i){const s=[[vt,1,mt],[vt,5,5*mt],[vt,15,15*mt],[vt,30,30*mt],[i,1,ct],[i,5,5*ct],[i,15,15*ct],[i,30,30*ct],[a,1,gt],[a,3,3*gt],[a,6,6*gt],[a,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,xe],[e,1,Oe],[e,3,3*Oe],[t,1,fe]];function k(T,g,F){const D=gC).right(s,D);if(b===s.length)return t.every(Ie(T/fe,g/fe,F));if(b===0)return Ut.every(Math.max(Ie(T,g,F),1));const[X,O]=s[D/s[b-1][2]53)return null;"w"in u||(u.w=1),"Z"in u?(L=de(Lt(u.y,0,1)),j=L.getUTCDay(),L=j>4||j===0?$t.ceil(L):$t(L),L=we.offset(L,(u.V-1)*7),u.y=L.getUTCFullYear(),u.m=L.getUTCMonth(),u.d=L.getUTCDate()+(u.w+6)%7):(L=he(Lt(u.y,0,1)),j=L.getDay(),L=j>4||j===0?Ht.ceil(L):Ht(L),L=Tt.offset(L,(u.V-1)*7),u.y=L.getFullYear(),u.m=L.getMonth(),u.d=L.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),j="Z"in u?de(Lt(u.y,0,1)).getUTCDay():he(Lt(u.y,0,1)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+u.W*7-(j+5)%7:u.w+u.U*7-(j+6)%7);return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,de(u)):he(u)}}function x(v,A,N,u){for(var $=0,L=A.length,j=N.length,q,rt;$=j)return-1;if(q=A.charCodeAt($++),q===37){if(q=A.charAt($++),rt=Q[q in He?A.charAt($++):q],!rt||(u=rt(v,N,u))<0)return-1}else if(q!=N.charCodeAt(u++))return-1}return u}function Y(v,A,N){var u=T.exec(A.slice(N));return u?(v.p=g.get(u[0].toLowerCase()),N+u[0].length):-1}function _(v,A,N){var u=b.exec(A.slice(N));return u?(v.w=X.get(u[0].toLowerCase()),N+u[0].length):-1}function S(v,A,N){var u=F.exec(A.slice(N));return u?(v.w=D.get(u[0].toLowerCase()),N+u[0].length):-1}function p(v,A,N){var u=I.exec(A.slice(N));return u?(v.m=V.get(u[0].toLowerCase()),N+u[0].length):-1}function U(v,A,N){var u=O.exec(A.slice(N));return u?(v.m=C.get(u[0].toLowerCase()),N+u[0].length):-1}function l(v,A,N){return x(v,e,A,N)}function f(v,A,N){return x(v,n,A,N)}function y(v,A,N){return x(v,r,A,N)}function m(v){return s[v.getDay()]}function E(v){return i[v.getDay()]}function c(v){return M[v.getMonth()]}function d(v){return k[v.getMonth()]}function o(v){return a[+(v.getHours()>=12)]}function P(v){return 1+~~(v.getMonth()/3)}function z(v){return s[v.getUTCDay()]}function R(v){return i[v.getUTCDay()]}function K(v){return M[v.getUTCMonth()]}function G(v){return k[v.getUTCMonth()]}function J(v){return a[+(v.getUTCHours()>=12)]}function it(v){return 1+~~(v.getUTCMonth()/3)}return{format:function(v){var A=w(v+="",W);return A.toString=function(){return v},A},parse:function(v){var A=H(v+="",!1);return A.toString=function(){return v},A},utcFormat:function(v){var A=w(v+="",Z);return A.toString=function(){return v},A},utcParse:function(v){var A=H(v+="",!0);return A.toString=function(){return v},A}}}var He={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,Cr=/^%/,Mr=/[\\^$*+?|[\]().{}]/g;function B(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i[e.toLowerCase(),n]))}function Sr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ne(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Lr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ar(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Ir(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ze(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=nt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function zr(t,e,n){var r=Cr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Pr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Re(t,e){return B(t.getDate(),e,2)}function Br(t,e){return B(t.getHours(),e,2)}function Zr(t,e){return B(t.getHours()%12||12,e,2)}function qr(t,e){return B(1+Tt.count(kt(t),t),e,3)}function gn(t,e){return B(t.getMilliseconds(),e,3)}function Xr(t,e){return gn(t,e)+"000"}function Gr(t,e){return B(t.getMonth()+1,e,2)}function jr(t,e){return B(t.getMinutes(),e,2)}function Qr(t,e){return B(t.getSeconds(),e,2)}function Jr(t){var e=t.getDay();return e===0?7:e}function $r(t,e){return B(Vt.count(kt(t)-1,t),e,2)}function yn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function Kr(t,e){return t=yn(t),B(bt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function ta(t){return t.getDay()}function ea(t,e){return B(Ht.count(kt(t)-1,t),e,2)}function na(t,e){return B(t.getFullYear()%100,e,2)}function ra(t,e){return t=yn(t),B(t.getFullYear()%100,e,2)}function aa(t,e){return B(t.getFullYear()%1e4,e,4)}function ia(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),B(t.getFullYear()%1e4,e,4)}function sa(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+B(e/60|0,"0",2)+B(e%60,"0",2)}function Be(t,e){return B(t.getUTCDate(),e,2)}function oa(t,e){return B(t.getUTCHours(),e,2)}function ca(t,e){return B(t.getUTCHours()%12||12,e,2)}function la(t,e){return B(1+we.count(xt(t),t),e,3)}function kn(t,e){return B(t.getUTCMilliseconds(),e,3)}function ua(t,e){return kn(t,e)+"000"}function fa(t,e){return B(t.getUTCMonth()+1,e,2)}function ha(t,e){return B(t.getUTCMinutes(),e,2)}function da(t,e){return B(t.getUTCSeconds(),e,2)}function ma(t){var e=t.getUTCDay();return e===0?7:e}function ga(t,e){return B(mn.count(xt(t)-1,t),e,2)}function pn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function ya(t,e){return t=pn(t),B(Ft.count(xt(t),t)+(xt(t).getUTCDay()===4),e,2)}function ka(t){return t.getUTCDay()}function pa(t,e){return B($t.count(xt(t)-1,t),e,2)}function va(t,e){return B(t.getUTCFullYear()%100,e,2)}function Ta(t,e){return t=pn(t),B(t.getUTCFullYear()%100,e,2)}function ba(t,e){return B(t.getUTCFullYear()%1e4,e,4)}function xa(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),B(t.getUTCFullYear()%1e4,e,4)}function wa(){return"+0000"}function Ze(){return"%"}function qe(t){return+t}function Xe(t){return Math.floor(+t/1e3)}var Mt,Kt;Da({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Da(t){return Mt=Dr(t),Kt=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ca(t){return new Date(t)}function Ma(t){return t instanceof Date?+t:+new Date(+t)}function vn(t,e,n,r,a,i,s,k,M,T){var g=Zn(),F=g.invert,D=g.domain,b=T(".%L"),X=T(":%S"),O=T("%I:%M"),C=T("%I %p"),I=T("%a %d"),V=T("%b %d"),W=T("%B"),Z=T("%Y");function Q(w){return(M(w)4&&(b+=7),D.add(b,n));return X.diff(O,"week")+1},k.isoWeekday=function(T){return this.$utils().u(T)?this.day()||7:this.day(this.day()%7?T:T-7)};var M=k.startOf;k.startOf=function(T,g){var F=this.$utils(),D=!!F.u(g)||g;return F.p(T)==="isoweek"?D?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):M.bind(this)(T,g)}}})})(Tn);var Sa=Tn.exports;const Ya=be(Sa);var bn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Te,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,s=/\d\d?/,k=/\d*[^-_:/,()\s\d]+/,M={},T=function(C){return(C=+C)+(C>68?1900:2e3)},g=function(C){return function(I){this[C]=+I}},F=[/[+-]\d\d:?(\d\d)?|Z/,function(C){(this.zone||(this.zone={})).offset=function(I){if(!I||I==="Z")return 0;var V=I.match(/([+-]|\d\d)/g),W=60*V[1]+(+V[2]||0);return W===0?0:V[0]==="+"?-W:W}(C)}],D=function(C){var I=M[C];return I&&(I.indexOf?I:I.s.concat(I.f))},b=function(C,I){var V,W=M.meridiem;if(W){for(var Z=1;Z<=24;Z+=1)if(C.indexOf(W(Z,0,I))>-1){V=Z>12;break}}else V=C===(I?"pm":"PM");return V},X={A:[k,function(C){this.afternoon=b(C,!1)}],a:[k,function(C){this.afternoon=b(C,!0)}],Q:[a,function(C){this.month=3*(C-1)+1}],S:[a,function(C){this.milliseconds=100*+C}],SS:[i,function(C){this.milliseconds=10*+C}],SSS:[/\d{3}/,function(C){this.milliseconds=+C}],s:[s,g("seconds")],ss:[s,g("seconds")],m:[s,g("minutes")],mm:[s,g("minutes")],H:[s,g("hours")],h:[s,g("hours")],HH:[s,g("hours")],hh:[s,g("hours")],D:[s,g("day")],DD:[i,g("day")],Do:[k,function(C){var I=M.ordinal,V=C.match(/\d+/);if(this.day=V[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===C&&(this.day=W)}],w:[s,g("week")],ww:[i,g("week")],M:[s,g("month")],MM:[i,g("month")],MMM:[k,function(C){var I=D("months"),V=(D("monthsShort")||I.map(function(W){return W.slice(0,3)})).indexOf(C)+1;if(V<1)throw new Error;this.month=V%12||V}],MMMM:[k,function(C){var I=D("months").indexOf(C)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,g("year")],YY:[i,function(C){this.year=T(C)}],YYYY:[/\d{4}/,g("year")],Z:F,ZZ:F};function O(C){var I,V;I=C,V=M&&M.formats;for(var W=(C=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,S,p){var U=p&&p.toUpperCase();return S||V[p]||n[p]||V[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,f,y){return f||y.slice(1)})})).match(r),Z=W.length,Q=0;Q-1)return new Date((E==="X"?1e3:1)*m);var o=O(E)(m),P=o.year,z=o.month,R=o.day,K=o.hours,G=o.minutes,J=o.seconds,it=o.milliseconds,v=o.zone,A=o.week,N=new Date,u=R||(P||z?1:N.getDate()),$=P||N.getFullYear(),L=0;P&&!z||(L=z>0?z-1:N.getMonth());var j,q=K||0,rt=G||0,st=J||0,pt=it||0;return v?new Date(Date.UTC($,L,u,q,rt,st,pt+60*v.offset*1e3)):c?new Date(Date.UTC($,L,u,q,rt,st,pt)):(j=new Date($,L,u,q,rt,st,pt),A&&(j=d(j).week(A).toDate()),j)}catch{return new Date("")}}(w,Y,H,V),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),p&&w!=this.format(Y)&&(this.$d=new Date("")),M={}}else if(Y instanceof Array)for(var l=Y.length,f=1;f<=l;f+=1){x[1]=Y[f-1];var y=V.apply(this,x);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}f===l&&(this.$d=new Date(""))}else Z.call(this,Q)}}})})(bn);var Ua=bn.exports;const Fa=be(Ua);var xn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Te,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(s){var k=this,M=this.$locale();if(!this.isValid())return i.bind(this)(s);var T=this.$utils(),g=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((k.$M+1)/3);case"Do":return M.ordinal(k.$D);case"gggg":return k.weekYear();case"GGGG":return k.isoWeekYear();case"wo":return M.ordinal(k.week(),"W");case"w":case"ww":return T.s(k.week(),F==="w"?1:2,"0");case"W":case"WW":return T.s(k.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return T.s(String(k.$H===0?24:k.$H),F==="k"?1:2,"0");case"X":return Math.floor(k.$d.getTime()/1e3);case"x":return k.$d.getTime();case"z":return"["+k.offsetName()+"]";case"zzz":return"["+k.offsetName("long")+"]";default:return F}});return i.bind(this)(g)}}})})(xn);var Ea=xn.exports;const La=be(Ea);var ye=function(){var t=h(function(U,l,f,y){for(f=f||{},y=U.length;y--;f[U[y]]=l);return f},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],a=[1,28],i=[1,29],s=[1,30],k=[1,31],M=[1,32],T=[1,33],g=[1,34],F=[1,9],D=[1,10],b=[1,11],X=[1,12],O=[1,13],C=[1,14],I=[1,15],V=[1,16],W=[1,19],Z=[1,20],Q=[1,21],w=[1,22],H=[1,23],x=[1,25],Y=[1,35],_={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:h(function(l,f,y,m,E,c,d){var o=c.length-1;switch(E){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:h(function(l,f){if(f.recoverable)this.trace(l);else{var y=new Error(l);throw y.hash=f,y}},"parseError"),parse:h(function(l){var f=this,y=[0],m=[],E=[null],c=[],d=this.table,o="",P=0,z=0,R=2,K=1,G=c.slice.call(arguments,1),J=Object.create(this.lexer),it={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(it.yy[v]=this.yy[v]);J.setInput(l,it.yy),it.yy.lexer=J,it.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var A=J.yylloc;c.push(A);var N=J.options&&J.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function u(ot){y.length=y.length-2*ot,E.length=E.length-ot,c.length=c.length-ot}h(u,"popStack");function $(){var ot;return ot=m.pop()||J.lex()||K,typeof ot!="number"&&(ot instanceof Array&&(m=ot,ot=m.pop()),ot=f.symbols_[ot]||ot),ot}h($,"lex");for(var L,j,q,rt,st={},pt,lt,Ae,Bt;;){if(j=y[y.length-1],this.defaultActions[j]?q=this.defaultActions[j]:((L===null||typeof L>"u")&&(L=$()),q=d[j]&&d[j][L]),typeof q>"u"||!q.length||!q[0]){var ne="";Bt=[];for(pt in d[j])this.terminals_[pt]&&pt>R&&Bt.push("'"+this.terminals_[pt]+"'");J.showPosition?ne="Parse error on line "+(P+1)+`: `+J.showPosition()+` Expecting `+Bt.join(", ")+", got '"+(this.terminals_[L]||L)+"'":ne="Parse error on line "+(P+1)+": Unexpected "+(L==K?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(ne,{text:J.match,token:this.terminals_[L]||L,line:J.yylineno,loc:A,expected:Bt})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+L);switch(q[0]){case 1:y.push(L),E.push(J.yytext),c.push(J.yylloc),y.push(q[1]),L=null,z=J.yyleng,o=J.yytext,P=J.yylineno,A=J.yylloc;break;case 2:if(lt=this.productions_[q[1]][1],st.$=E[E.length-lt],st._$={first_line:c[c.length-(lt||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(lt||1)].first_column,last_column:c[c.length-1].last_column},N&&(st._$.range=[c[c.length-(lt||1)].range[0],c[c.length-1].range[1]]),rt=this.performAction.apply(st,[o,z,P,it.yy,q[1],E,c].concat(G)),typeof rt<"u")return rt;lt&&(y=y.slice(0,-1*lt*2),E=E.slice(0,-1*lt),c=c.slice(0,-1*lt)),y.push(this.productions_[q[1]][0]),E.push(st.$),c.push(st._$),Ae=d[y[y.length-2]][y[y.length-1]],y.push(Ae);break;case 3:return!0}}return!0},"parse")},S=function(){var U={EOF:1,parseError:h(function(f,y){if(this.yy.parser)this.yy.parser.parseError(f,y);else throw new Error(f)},"parseError"),setInput:h(function(l,f){return this.yy=f||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:h(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var f=l.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:h(function(l){var f=l.length,y=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),y.length-1&&(this.yylineno-=y.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:y?(y.length===m.length?this.yylloc.first_column:0)+m[m.length-y.length].length-y[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(l){this.unput(this.match.slice(l))},"less"),pastInput:h(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var l=this.pastInput(),f=new Array(l.length+1).join("-");return l+this.upcomingInput()+` diff --git a/static/js/md-gitGraph-YCYPL57B-CcCkDaPL.js b/static/js/md-gitGraph-YCYPL57B-DO9uQgTZ.js similarity index 83% rename from static/js/md-gitGraph-YCYPL57B-CcCkDaPL.js rename to static/js/md-gitGraph-YCYPL57B-DO9uQgTZ.js index ece1799..9d5d60e 100644 --- a/static/js/md-gitGraph-YCYPL57B-CcCkDaPL.js +++ b/static/js/md-gitGraph-YCYPL57B-DO9uQgTZ.js @@ -1,4 +1,4 @@ -var Gc=Object.defineProperty;var Uc=(n,e,t)=>e in n?Gc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Je=(n,e,t)=>Uc(n,typeof e!="symbol"?e+"":e,t);import{bz as Fc,bA as Bc,aQ as ao,bj as Hc,aU as Vc,aR as Z,aA as Wc,aB as Qi,b9 as Kc,bc as oo,bd as lo,bo as Zi,ba as zc,aD as mt,aE as D,aS as es,aM as qc,bB as tn}from"./md-index-trBnGDGX.js";import{k as Mt,j as vi,g as Kt,S as Yc,w as Xc,x as Jc,c as co,v as K,y as uo,l as Qc,z as Zc,A as eu,B as tu,C as nu,a as fo,d as S,i as ze,r as oe,f as Ee,D as q}from"./md-_baseUniq-B7UZj1IW.js";import{j as _i,m as b,d as ru,f as Ie,g as Dt,i as Ei,h as x,l as jt,e as iu}from"./md-_basePickBy-BMLPiLYr.js";import{c as te}from"./md-clone-D08UH0Wo.js";var su=Object.prototype,au=su.hasOwnProperty,_e=Fc(function(n,e){if(Bc(e)||ao(e)){Hc(e,Mt(e),n);return}for(var t in e)au.call(e,t)&&Vc(n,t,e[t])});function ho(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var s=Array(i);++r=uu&&(s=Jc,a=!1,e=new Yc(e));e:for(;++i-1:!!i&&uo(n,e,t)>-1}function ts(n,e,t){var r=n==null?0:n.length;if(!r)return-1;var i=0;return uo(n,e,i)}var vu="[object RegExp]";function _u(n){return oo(n)&&lo(n)==vu}var ns=Zi&&Zi.isRegExp,qe=ns?zc(ns):_u,Eu="Expected a function";function Ru(n){if(typeof n!="function")throw new TypeError(Eu);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Pe(n,e){if(n==null)return{};var t=Qc(Zc(n),function(r){return[r]});return e=Kt(e),ru(n,t,function(r,i){return e(r,i[0])})}function rr(n,e){var t=Z(n)?eu:tu;return t(n,Ru(Kt(e)))}function Au(n,e){var t;return vi(n,function(r,i,s){return t=e(r,i,s),!t}),!!t}function po(n,e,t){var r=Z(n)?nu:Au;return r(n,Kt(e))}function Ri(n){return n&&n.length?fo(n):[]}function bu(n,e){return n&&n.length?fo(n,Kt(e)):[]}function ae(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}function Ge(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}function Nu(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}function kn(n){return typeof n=="object"&&n!==null&&ae(n.container)&&Ge(n.reference)&&typeof n.message=="string"}class mo{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return ae(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[t];if(i!==void 0)return i;{const s=this.computeIsSubtype(e,t);return r[t]=s,s}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Gt(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}function go(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}function yo(n){return Gt(n)&&typeof n.fullText=="string"}class ie{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){const e=[],t=this.iterator();let r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){const r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new ie(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return ke})}join(e=","){const t=this.iterator();let r="",i,s=!1;do i=t.next(),i.done||(s&&(r+=e),r+=ku(i.value)),s=!0;while(!i.done);return r}indexOf(e,t=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=t&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new ie(this.startFn,t=>{const{done:r,value:i}=this.nextFn(t);return r?ke:{done:!1,value:e(i)}})}filter(e){return new ie(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return ke})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){const r=this.iterator();let i=t,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,t,r);return s===void 0?i.value:t(s,i.value)}find(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new ie(()=>({this:this.startFn()}),t=>{do{if(t.iterator){const s=t.iterator.next();if(s.done)t.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(t.this);if(!r){const s=e(i);if(On(s))t.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(t.iterator);return ke})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new ie(()=>({this:t.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=t.nextFn(r.this);if(!i)if(On(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return ke})}head(){const t=this.iterator().next();if(!t.done)return t.value}tail(e=1){return new ie(()=>{const t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?ke:this.nextFn(t.state)))}distinct(e){const t=new Set;return this.filter(r=>{const i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){const r=new Set;for(const i of e){const s=t?t(i):i;r.add(s)}return this.filter(i=>{const s=t?t(i):i;return!r.has(s)})}}function ku(n){return typeof n=="string"?n:typeof n>"u"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}function On(n){return!!n&&typeof n[Symbol.iterator]=="function"}const Iu=new ie(()=>{},()=>ke),ke=Object.freeze({done:!0,value:void 0});function Q(...n){if(n.length===1){const e=n[0];if(e instanceof ie)return e;if(On(e))return new ie(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new ie(()=>({index:0}),t=>t.index1?new ie(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return ke})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var Pr;(function(n){function e(s){return s.reduce((a,o)=>a+o,0)}n.sum=e;function t(s){return s.reduce((a,o)=>a*o,0)}n.product=t;function r(s){return s.reduce((a,o)=>Math.min(a,o))}n.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}n.max=i})(Pr||(Pr={}));function Mr(n){return new Ai(n,e=>Gt(e)?e.content:[],{includeRoot:!0})}function Su(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}function Dr(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}function Ln(n){if(!n)return;const{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}var Ze;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(Ze||(Ze={}));function xu(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return Ze.After;const t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineZe.After}const wu=/^[\w\p{L}]$/u;function Ou(n,e){if(n){const t=Lu(n,!0);if(t&&rs(t,e))return t;if(yo(n)){const r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=n.content[i];if(rs(s,e))return s}}}}function rs(n,e){return go(n)&&e.includes(n.tokenType.name)}function Lu(n,e=!0){for(;n.container;){const t=n.container;let r=t.content.indexOf(n);for(;r>0;){r--;const i=t.content[r];if(e||!i.hidden)return i}n=t}}class To extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function ir(n){throw new Error("Error! The input value was not handled.")}const _r="AbstractRule",Er="AbstractType",is="Condition",$u="TypeDefinition",ss="ValueLiteral",vo="AbstractElement";function Pu(n){return M.isInstance(n,vo)}const Mu="ArrayLiteral",Du="ArrayType",_o="BooleanLiteral";function ju(n){return M.isInstance(n,_o)}const Eo="Conjunction";function Gu(n){return M.isInstance(n,Eo)}const Ro="Disjunction";function Uu(n){return M.isInstance(n,Ro)}const Fu="Grammar",Ao="InferredType";function bo(n){return M.isInstance(n,Ao)}const No="Interface";function ko(n){return M.isInstance(n,No)}const Io="Negation";function Bu(n){return M.isInstance(n,Io)}const Hu="NumberLiteral",Vu="Parameter",So="ParameterReference";function Wu(n){return M.isInstance(n,So)}const xo="ParserRule";function Se(n){return M.isInstance(n,xo)}const Ku="ReferenceType",zu="ReturnType";function qu(n){return M.isInstance(n,zu)}const Co="SimpleType";function Yu(n){return M.isInstance(n,Co)}const Xu="StringLiteral",jr="TerminalRule";function gt(n){return M.isInstance(n,jr)}const wo="Type";function Oo(n){return M.isInstance(n,wo)}const Ju="UnionType",Lo="Action";function sr(n){return M.isInstance(n,Lo)}const $o="Alternatives";function Po(n){return M.isInstance(n,$o)}const Mo="Assignment";function ut(n){return M.isInstance(n,Mo)}const Do="CharacterRange";function Qu(n){return M.isInstance(n,Do)}const jo="CrossReference";function bi(n){return M.isInstance(n,jo)}const Go="EndOfFile";function Zu(n){return M.isInstance(n,Go)}const Uo="Group";function Ni(n){return M.isInstance(n,Uo)}const Fo="Keyword";function dt(n){return M.isInstance(n,Fo)}const Bo="NegatedToken";function ed(n){return M.isInstance(n,Bo)}const Ho="RegexToken";function td(n){return M.isInstance(n,Ho)}const Vo="RuleCall";function ft(n){return M.isInstance(n,Vo)}const Wo="TerminalAlternatives";function nd(n){return M.isInstance(n,Wo)}const Ko="TerminalGroup";function rd(n){return M.isInstance(n,Ko)}const zo="TerminalRuleCall";function id(n){return M.isInstance(n,zo)}const qo="UnorderedGroup";function Yo(n){return M.isInstance(n,qo)}const Xo="UntilToken";function sd(n){return M.isInstance(n,Xo)}const Jo="Wildcard";function ad(n){return M.isInstance(n,Jo)}class Qo extends mo{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case Lo:case $o:case Mo:case Do:case jo:case Go:case Uo:case Fo:case Bo:case Ho:case Vo:case Wo:case Ko:case zo:case qo:case Xo:case Jo:return this.isSubtype(vo,t);case Mu:case Hu:case Xu:return this.isSubtype(ss,t);case Du:case Ku:case Co:case Ju:return this.isSubtype($u,t);case _o:return this.isSubtype(is,t)||this.isSubtype(ss,t);case Eo:case Ro:case Io:case So:return this.isSubtype(is,t);case Ao:case No:case wo:return this.isSubtype(Er,t);case xo:return this.isSubtype(_r,t)||this.isSubtype(Er,t);case jr:return this.isSubtype(_r,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return Er;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return _r;case"Grammar:usedGrammars":return Fu;case"NamedArgument:parameter":case"ParameterReference:parameter":return Vu;case"TerminalRuleCall:rule":return jr;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const M=new Qo;function od(n){for(const[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{ae(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):ae(t)&&(t.$container=n,t.$containerProperty=e))}function ar(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}function Ue(n){const t=ld(n).$document;if(!t)throw new Error("AST node has no document.");return t}function ld(n){for(;n.$container;)n=n.$container;return n}function ki(n,e){if(!n)throw new Error("Node must be an AstNode.");const t=e==null?void 0:e.range;return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexki(t,e))}function Et(n,e){if(!n)throw new Error("Root node must be an AstNode.");return new Ai(n,t=>ki(t,e),{includeRoot:!0})}function as(n,e){var t;if(!e)return!0;const r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?Cu(r,e):!1}function Zo(n){return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndexe in n?Gc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Je=(n,e,t)=>Uc(n,typeof e!="symbol"?e+"":e,t);import{bz as Fc,bA as Bc,aQ as ao,bj as Hc,aU as Vc,aR as Z,aA as Wc,aB as Qi,b9 as Kc,bc as oo,bd as lo,bo as Zi,ba as zc,aD as mt,aE as D,aS as es,aM as qc,bB as tn}from"./md-index-TGP-egEp.js";import{k as Mt,j as vi,g as Kt,S as Yc,w as Xc,x as Jc,c as co,v as K,y as uo,l as Qc,z as Zc,A as eu,B as tu,C as nu,a as fo,d as S,i as ze,r as oe,f as Ee,D as q}from"./md-_baseUniq-Bm0iSxF4.js";import{j as _i,m as b,d as ru,f as Ie,g as Dt,i as Ei,h as x,l as jt,e as iu}from"./md-_basePickBy-D2Yv_vSZ.js";import{c as te}from"./md-clone-Bb0Qs8zN.js";var su=Object.prototype,au=su.hasOwnProperty,_e=Fc(function(n,e){if(Bc(e)||ao(e)){Hc(e,Mt(e),n);return}for(var t in e)au.call(e,t)&&Vc(n,t,e[t])});function ho(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var s=Array(i);++r=uu&&(s=Jc,a=!1,e=new Yc(e));e:for(;++i-1:!!i&&uo(n,e,t)>-1}function ts(n,e,t){var r=n==null?0:n.length;if(!r)return-1;var i=0;return uo(n,e,i)}var vu="[object RegExp]";function _u(n){return oo(n)&&lo(n)==vu}var ns=Zi&&Zi.isRegExp,qe=ns?zc(ns):_u,Eu="Expected a function";function Ru(n){if(typeof n!="function")throw new TypeError(Eu);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Pe(n,e){if(n==null)return{};var t=Qc(Zc(n),function(r){return[r]});return e=Kt(e),ru(n,t,function(r,i){return e(r,i[0])})}function rr(n,e){var t=Z(n)?eu:tu;return t(n,Ru(Kt(e)))}function Au(n,e){var t;return vi(n,function(r,i,s){return t=e(r,i,s),!t}),!!t}function po(n,e,t){var r=Z(n)?nu:Au;return r(n,Kt(e))}function Ri(n){return n&&n.length?fo(n):[]}function bu(n,e){return n&&n.length?fo(n,Kt(e)):[]}function ae(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}function Ge(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}function Nu(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}function kn(n){return typeof n=="object"&&n!==null&&ae(n.container)&&Ge(n.reference)&&typeof n.message=="string"}class mo{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return ae(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[t];if(i!==void 0)return i;{const s=this.computeIsSubtype(e,t);return r[t]=s,s}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Gt(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}function go(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}function yo(n){return Gt(n)&&typeof n.fullText=="string"}class ie{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){const e=[],t=this.iterator();let r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){const r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new ie(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return ke})}join(e=","){const t=this.iterator();let r="",i,s=!1;do i=t.next(),i.done||(s&&(r+=e),r+=ku(i.value)),s=!0;while(!i.done);return r}indexOf(e,t=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=t&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new ie(this.startFn,t=>{const{done:r,value:i}=this.nextFn(t);return r?ke:{done:!1,value:e(i)}})}filter(e){return new ie(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return ke})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){const r=this.iterator();let i=t,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,t,r);return s===void 0?i.value:t(s,i.value)}find(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new ie(()=>({this:this.startFn()}),t=>{do{if(t.iterator){const s=t.iterator.next();if(s.done)t.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(t.this);if(!r){const s=e(i);if(On(s))t.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(t.iterator);return ke})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new ie(()=>({this:t.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=t.nextFn(r.this);if(!i)if(On(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return ke})}head(){const t=this.iterator().next();if(!t.done)return t.value}tail(e=1){return new ie(()=>{const t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?ke:this.nextFn(t.state)))}distinct(e){const t=new Set;return this.filter(r=>{const i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){const r=new Set;for(const i of e){const s=t?t(i):i;r.add(s)}return this.filter(i=>{const s=t?t(i):i;return!r.has(s)})}}function ku(n){return typeof n=="string"?n:typeof n>"u"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}function On(n){return!!n&&typeof n[Symbol.iterator]=="function"}const Iu=new ie(()=>{},()=>ke),ke=Object.freeze({done:!0,value:void 0});function Q(...n){if(n.length===1){const e=n[0];if(e instanceof ie)return e;if(On(e))return new ie(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new ie(()=>({index:0}),t=>t.index1?new ie(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return ke})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var Pr;(function(n){function e(s){return s.reduce((a,o)=>a+o,0)}n.sum=e;function t(s){return s.reduce((a,o)=>a*o,0)}n.product=t;function r(s){return s.reduce((a,o)=>Math.min(a,o))}n.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}n.max=i})(Pr||(Pr={}));function Mr(n){return new Ai(n,e=>Gt(e)?e.content:[],{includeRoot:!0})}function Su(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}function Dr(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}function Ln(n){if(!n)return;const{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}var Ze;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(Ze||(Ze={}));function xu(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return Ze.After;const t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineZe.After}const wu=/^[\w\p{L}]$/u;function Ou(n,e){if(n){const t=Lu(n,!0);if(t&&rs(t,e))return t;if(yo(n)){const r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=n.content[i];if(rs(s,e))return s}}}}function rs(n,e){return go(n)&&e.includes(n.tokenType.name)}function Lu(n,e=!0){for(;n.container;){const t=n.container;let r=t.content.indexOf(n);for(;r>0;){r--;const i=t.content[r];if(e||!i.hidden)return i}n=t}}class To extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function ir(n){throw new Error("Error! The input value was not handled.")}const _r="AbstractRule",Er="AbstractType",is="Condition",$u="TypeDefinition",ss="ValueLiteral",vo="AbstractElement";function Pu(n){return M.isInstance(n,vo)}const Mu="ArrayLiteral",Du="ArrayType",_o="BooleanLiteral";function ju(n){return M.isInstance(n,_o)}const Eo="Conjunction";function Gu(n){return M.isInstance(n,Eo)}const Ro="Disjunction";function Uu(n){return M.isInstance(n,Ro)}const Fu="Grammar",Ao="InferredType";function bo(n){return M.isInstance(n,Ao)}const No="Interface";function ko(n){return M.isInstance(n,No)}const Io="Negation";function Bu(n){return M.isInstance(n,Io)}const Hu="NumberLiteral",Vu="Parameter",So="ParameterReference";function Wu(n){return M.isInstance(n,So)}const xo="ParserRule";function Se(n){return M.isInstance(n,xo)}const Ku="ReferenceType",zu="ReturnType";function qu(n){return M.isInstance(n,zu)}const Co="SimpleType";function Yu(n){return M.isInstance(n,Co)}const Xu="StringLiteral",jr="TerminalRule";function gt(n){return M.isInstance(n,jr)}const wo="Type";function Oo(n){return M.isInstance(n,wo)}const Ju="UnionType",Lo="Action";function sr(n){return M.isInstance(n,Lo)}const $o="Alternatives";function Po(n){return M.isInstance(n,$o)}const Mo="Assignment";function ut(n){return M.isInstance(n,Mo)}const Do="CharacterRange";function Qu(n){return M.isInstance(n,Do)}const jo="CrossReference";function bi(n){return M.isInstance(n,jo)}const Go="EndOfFile";function Zu(n){return M.isInstance(n,Go)}const Uo="Group";function Ni(n){return M.isInstance(n,Uo)}const Fo="Keyword";function dt(n){return M.isInstance(n,Fo)}const Bo="NegatedToken";function ed(n){return M.isInstance(n,Bo)}const Ho="RegexToken";function td(n){return M.isInstance(n,Ho)}const Vo="RuleCall";function ft(n){return M.isInstance(n,Vo)}const Wo="TerminalAlternatives";function nd(n){return M.isInstance(n,Wo)}const Ko="TerminalGroup";function rd(n){return M.isInstance(n,Ko)}const zo="TerminalRuleCall";function id(n){return M.isInstance(n,zo)}const qo="UnorderedGroup";function Yo(n){return M.isInstance(n,qo)}const Xo="UntilToken";function sd(n){return M.isInstance(n,Xo)}const Jo="Wildcard";function ad(n){return M.isInstance(n,Jo)}class Qo extends mo{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case Lo:case $o:case Mo:case Do:case jo:case Go:case Uo:case Fo:case Bo:case Ho:case Vo:case Wo:case Ko:case zo:case qo:case Xo:case Jo:return this.isSubtype(vo,t);case Mu:case Hu:case Xu:return this.isSubtype(ss,t);case Du:case Ku:case Co:case Ju:return this.isSubtype($u,t);case _o:return this.isSubtype(is,t)||this.isSubtype(ss,t);case Eo:case Ro:case Io:case So:return this.isSubtype(is,t);case Ao:case No:case wo:return this.isSubtype(Er,t);case xo:return this.isSubtype(_r,t)||this.isSubtype(Er,t);case jr:return this.isSubtype(_r,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return Er;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return _r;case"Grammar:usedGrammars":return Fu;case"NamedArgument:parameter":case"ParameterReference:parameter":return Vu;case"TerminalRuleCall:rule":return jr;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const M=new Qo;function od(n){for(const[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{ae(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):ae(t)&&(t.$container=n,t.$containerProperty=e))}function ar(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}function Ue(n){const t=ld(n).$document;if(!t)throw new Error("AST node has no document.");return t}function ld(n){for(;n.$container;)n=n.$container;return n}function ki(n,e){if(!n)throw new Error("Node must be an AstNode.");const t=e==null?void 0:e.range;return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexki(t,e))}function Et(n,e){if(!n)throw new Error("Root node must be an AstNode.");return new Ai(n,t=>ki(t,e),{includeRoot:!0})}function as(n,e){var t;if(!e)return!0;const r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?Cu(r,e):!1}function Zo(n){return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndexs.state.transitions),i=bu(r.filter(s=>s instanceof Di).map(s=>s.tokenType),s=>s.tokenTypeIdx);return{actualToken:t,possibleTokenTypes:i,tokenPath:n}}function mp(n,e){return n.edges[e.tokenTypeIdx]}function gp(n,e,t){const r=new qr,i=[];for(const a of n.elements){if(t.is(a.alt)===!1)continue;if(a.state.type===vn){i.push(a);continue}const o=a.state.transitions.length;for(let l=0;l0&&!Ep(s))for(const a of i)s.add(a);return s}function yp(n,e){if(n instanceof Di&&Al(e,n.tokenType))return n.target}function Tp(n,e){let t;for(const r of n.elements)if(e.is(r.alt)===!0){if(t===void 0)t=r.alt;else if(t!==r.alt)return}return t}function Jl(n){return{configs:n,edges:{},isAcceptState:!1,prediction:-1}}function Ms(n,e,t,r){return r=Ql(n,r),e.edges[t.tokenTypeIdx]=r,r}function Ql(n,e){if(e===Hn)return e;const t=e.configs.key,r=n.states[t];return r!==void 0?r:(e.configs.finalize(),n.states[t]=e,e)}function vp(n){const e=new qr,t=n.transitions.length;for(let r=0;r0){const i=[...n.stack],a={state:i.pop(),alt:n.alt,stack:i};Vn(a,e)}else e.add(n);return}t.epsilonOnlyTransitions||e.add(n);const r=t.transitions.length;for(let i=0;i1)return!0;return!1}function kp(n){for(const e of Array.from(n.values()))if(Object.keys(e).length===1)return!0;return!1}var Ds;(function(n){function e(t){return typeof t=="string"}n.is=e})(Ds||(Ds={}));var Yr;(function(n){function e(t){return typeof t=="string"}n.is=e})(Yr||(Yr={}));var js;(function(n){n.MIN_VALUE=-2147483648,n.MAX_VALUE=2147483647;function e(t){return typeof t=="number"&&n.MIN_VALUE<=t&&t<=n.MAX_VALUE}n.is=e})(js||(js={}));var Wn;(function(n){n.MIN_VALUE=0,n.MAX_VALUE=2147483647;function e(t){return typeof t=="number"&&n.MIN_VALUE<=t&&t<=n.MAX_VALUE}n.is=e})(Wn||(Wn={}));var P;(function(n){function e(r,i){return r===Number.MAX_VALUE&&(r=Wn.MAX_VALUE),i===Number.MAX_VALUE&&(i=Wn.MAX_VALUE),{line:r,character:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&p.uinteger(i.line)&&p.uinteger(i.character)}n.is=t})(P||(P={}));var $;(function(n){function e(r,i,s,a){if(p.uinteger(r)&&p.uinteger(i)&&p.uinteger(s)&&p.uinteger(a))return{start:P.create(r,i),end:P.create(s,a)};if(P.is(r)&&P.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${s}, ${a}]`)}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&P.is(i.start)&&P.is(i.end)}n.is=t})($||($={}));var Kn;(function(n){function e(r,i){return{uri:r,range:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.range)&&(p.string(i.uri)||p.undefined(i.uri))}n.is=t})(Kn||(Kn={}));var Gs;(function(n){function e(r,i,s,a){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:a}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.targetRange)&&p.string(i.targetUri)&&$.is(i.targetSelectionRange)&&($.is(i.originSelectionRange)||p.undefined(i.originSelectionRange))}n.is=t})(Gs||(Gs={}));var Xr;(function(n){function e(r,i,s,a){return{red:r,green:i,blue:s,alpha:a}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.numberRange(i.red,0,1)&&p.numberRange(i.green,0,1)&&p.numberRange(i.blue,0,1)&&p.numberRange(i.alpha,0,1)}n.is=t})(Xr||(Xr={}));var Us;(function(n){function e(r,i){return{range:r,color:i}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&$.is(i.range)&&Xr.is(i.color)}n.is=t})(Us||(Us={}));var Fs;(function(n){function e(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.string(i.label)&&(p.undefined(i.textEdit)||Bt.is(i))&&(p.undefined(i.additionalTextEdits)||p.typedArray(i.additionalTextEdits,Bt.is))}n.is=t})(Fs||(Fs={}));var Bs;(function(n){n.Comment="comment",n.Imports="imports",n.Region="region"})(Bs||(Bs={}));var Hs;(function(n){function e(r,i,s,a,o,l){const c={startLine:r,endLine:i};return p.defined(s)&&(c.startCharacter=s),p.defined(a)&&(c.endCharacter=a),p.defined(o)&&(c.kind=o),p.defined(l)&&(c.collapsedText=l),c}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.uinteger(i.startLine)&&p.uinteger(i.startLine)&&(p.undefined(i.startCharacter)||p.uinteger(i.startCharacter))&&(p.undefined(i.endCharacter)||p.uinteger(i.endCharacter))&&(p.undefined(i.kind)||p.string(i.kind))}n.is=t})(Hs||(Hs={}));var Jr;(function(n){function e(r,i){return{location:r,message:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&Kn.is(i.location)&&p.string(i.message)}n.is=t})(Jr||(Jr={}));var Vs;(function(n){n.Error=1,n.Warning=2,n.Information=3,n.Hint=4})(Vs||(Vs={}));var Ws;(function(n){n.Unnecessary=1,n.Deprecated=2})(Ws||(Ws={}));var Ks;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&p.string(r.href)}n.is=e})(Ks||(Ks={}));var zn;(function(n){function e(r,i,s,a,o,l){let c={range:r,message:i};return p.defined(s)&&(c.severity=s),p.defined(a)&&(c.code=a),p.defined(o)&&(c.source=o),p.defined(l)&&(c.relatedInformation=l),c}n.create=e;function t(r){var i;let s=r;return p.defined(s)&&$.is(s.range)&&p.string(s.message)&&(p.number(s.severity)||p.undefined(s.severity))&&(p.integer(s.code)||p.string(s.code)||p.undefined(s.code))&&(p.undefined(s.codeDescription)||p.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(p.string(s.source)||p.undefined(s.source))&&(p.undefined(s.relatedInformation)||p.typedArray(s.relatedInformation,Jr.is))}n.is=t})(zn||(zn={}));var Ft;(function(n){function e(r,i,...s){let a={title:r,command:i};return p.defined(s)&&s.length>0&&(a.arguments=s),a}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.title)&&p.string(i.command)}n.is=t})(Ft||(Ft={}));var Bt;(function(n){function e(s,a){return{range:s,newText:a}}n.replace=e;function t(s,a){return{range:{start:s,end:s},newText:a}}n.insert=t;function r(s){return{range:s,newText:""}}n.del=r;function i(s){const a=s;return p.objectLiteral(a)&&p.string(a.newText)&&$.is(a.range)}n.is=i})(Bt||(Bt={}));var Qr;(function(n){function e(r,i,s){const a={label:r};return i!==void 0&&(a.needsConfirmation=i),s!==void 0&&(a.description=s),a}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.string(i.label)&&(p.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(p.string(i.description)||i.description===void 0)}n.is=t})(Qr||(Qr={}));var Ht;(function(n){function e(t){const r=t;return p.string(r)}n.is=e})(Ht||(Ht={}));var zs;(function(n){function e(s,a,o){return{range:s,newText:a,annotationId:o}}n.replace=e;function t(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}n.insert=t;function r(s,a){return{range:s,newText:"",annotationId:a}}n.del=r;function i(s){const a=s;return Bt.is(a)&&(Qr.is(a.annotationId)||Ht.is(a.annotationId))}n.is=i})(zs||(zs={}));var Zr;(function(n){function e(r,i){return{textDocument:r,edits:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&ii.is(i.textDocument)&&Array.isArray(i.edits)}n.is=t})(Zr||(Zr={}));var ei;(function(n){function e(r,i,s){let a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}n.create=e;function t(r){let i=r;return i&&i.kind==="create"&&p.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||p.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||p.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ei||(ei={}));var ti;(function(n){function e(r,i,s,a){let o={kind:"rename",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}n.create=e;function t(r){let i=r;return i&&i.kind==="rename"&&p.string(i.oldUri)&&p.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||p.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||p.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ti||(ti={}));var ni;(function(n){function e(r,i,s){let a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}n.create=e;function t(r){let i=r;return i&&i.kind==="delete"&&p.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||p.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||p.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ni||(ni={}));var ri;(function(n){function e(t){let r=t;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>p.string(i.kind)?ei.is(i)||ti.is(i)||ni.is(i):Zr.is(i)))}n.is=e})(ri||(ri={}));var qs;(function(n){function e(r){return{uri:r}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)}n.is=t})(qs||(qs={}));var Ys;(function(n){function e(r,i){return{uri:r,version:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&p.integer(i.version)}n.is=t})(Ys||(Ys={}));var ii;(function(n){function e(r,i){return{uri:r,version:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&(i.version===null||p.integer(i.version))}n.is=t})(ii||(ii={}));var Xs;(function(n){function e(r,i,s,a){return{uri:r,languageId:i,version:s,text:a}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&p.string(i.languageId)&&p.integer(i.version)&&p.string(i.text)}n.is=t})(Xs||(Xs={}));var si;(function(n){n.PlainText="plaintext",n.Markdown="markdown";function e(t){const r=t;return r===n.PlainText||r===n.Markdown}n.is=e})(si||(si={}));var un;(function(n){function e(t){const r=t;return p.objectLiteral(t)&&si.is(r.kind)&&p.string(r.value)}n.is=e})(un||(un={}));var Js;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(Js||(Js={}));var Qs;(function(n){n.PlainText=1,n.Snippet=2})(Qs||(Qs={}));var Zs;(function(n){n.Deprecated=1})(Zs||(Zs={}));var ea;(function(n){function e(r,i,s){return{newText:r,insert:i,replace:s}}n.create=e;function t(r){const i=r;return i&&p.string(i.newText)&&$.is(i.insert)&&$.is(i.replace)}n.is=t})(ea||(ea={}));var ta;(function(n){n.asIs=1,n.adjustIndentation=2})(ta||(ta={}));var na;(function(n){function e(t){const r=t;return r&&(p.string(r.detail)||r.detail===void 0)&&(p.string(r.description)||r.description===void 0)}n.is=e})(na||(na={}));var ra;(function(n){function e(t){return{label:t}}n.create=e})(ra||(ra={}));var ia;(function(n){function e(t,r){return{items:t||[],isIncomplete:!!r}}n.create=e})(ia||(ia={}));var qn;(function(n){function e(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=e;function t(r){const i=r;return p.string(i)||p.objectLiteral(i)&&p.string(i.language)&&p.string(i.value)}n.is=t})(qn||(qn={}));var sa;(function(n){function e(t){let r=t;return!!r&&p.objectLiteral(r)&&(un.is(r.contents)||qn.is(r.contents)||p.typedArray(r.contents,qn.is))&&(t.range===void 0||$.is(t.range))}n.is=e})(sa||(sa={}));var aa;(function(n){function e(t,r){return r?{label:t,documentation:r}:{label:t}}n.create=e})(aa||(aa={}));var oa;(function(n){function e(t,r,...i){let s={label:t};return p.defined(r)&&(s.documentation=r),p.defined(i)?s.parameters=i:s.parameters=[],s}n.create=e})(oa||(oa={}));var la;(function(n){n.Text=1,n.Read=2,n.Write=3})(la||(la={}));var ca;(function(n){function e(t,r){let i={range:t};return p.number(r)&&(i.kind=r),i}n.create=e})(ca||(ca={}));var ua;(function(n){n.File=1,n.Module=2,n.Namespace=3,n.Package=4,n.Class=5,n.Method=6,n.Property=7,n.Field=8,n.Constructor=9,n.Enum=10,n.Interface=11,n.Function=12,n.Variable=13,n.Constant=14,n.String=15,n.Number=16,n.Boolean=17,n.Array=18,n.Object=19,n.Key=20,n.Null=21,n.EnumMember=22,n.Struct=23,n.Event=24,n.Operator=25,n.TypeParameter=26})(ua||(ua={}));var da;(function(n){n.Deprecated=1})(da||(da={}));var fa;(function(n){function e(t,r,i,s,a){let o={name:t,kind:r,location:{uri:s,range:i}};return a&&(o.containerName=a),o}n.create=e})(fa||(fa={}));var ha;(function(n){function e(t,r,i,s){return s!==void 0?{name:t,kind:r,location:{uri:i,range:s}}:{name:t,kind:r,location:{uri:i}}}n.create=e})(ha||(ha={}));var pa;(function(n){function e(r,i,s,a,o,l){let c={name:r,detail:i,kind:s,range:a,selectionRange:o};return l!==void 0&&(c.children=l),c}n.create=e;function t(r){let i=r;return i&&p.string(i.name)&&p.number(i.kind)&&$.is(i.range)&&$.is(i.selectionRange)&&(i.detail===void 0||p.string(i.detail))&&(i.deprecated===void 0||p.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}n.is=t})(pa||(pa={}));var ma;(function(n){n.Empty="",n.QuickFix="quickfix",n.Refactor="refactor",n.RefactorExtract="refactor.extract",n.RefactorInline="refactor.inline",n.RefactorRewrite="refactor.rewrite",n.Source="source",n.SourceOrganizeImports="source.organizeImports",n.SourceFixAll="source.fixAll"})(ma||(ma={}));var Yn;(function(n){n.Invoked=1,n.Automatic=2})(Yn||(Yn={}));var ga;(function(n){function e(r,i,s){let a={diagnostics:r};return i!=null&&(a.only=i),s!=null&&(a.triggerKind=s),a}n.create=e;function t(r){let i=r;return p.defined(i)&&p.typedArray(i.diagnostics,zn.is)&&(i.only===void 0||p.typedArray(i.only,p.string))&&(i.triggerKind===void 0||i.triggerKind===Yn.Invoked||i.triggerKind===Yn.Automatic)}n.is=t})(ga||(ga={}));var ya;(function(n){function e(r,i,s){let a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):Ft.is(i)?a.command=i:a.edit=i,o&&s!==void 0&&(a.kind=s),a}n.create=e;function t(r){let i=r;return i&&p.string(i.title)&&(i.diagnostics===void 0||p.typedArray(i.diagnostics,zn.is))&&(i.kind===void 0||p.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Ft.is(i.command))&&(i.isPreferred===void 0||p.boolean(i.isPreferred))&&(i.edit===void 0||ri.is(i.edit))}n.is=t})(ya||(ya={}));var Ta;(function(n){function e(r,i){let s={range:r};return p.defined(i)&&(s.data=i),s}n.create=e;function t(r){let i=r;return p.defined(i)&&$.is(i.range)&&(p.undefined(i.command)||Ft.is(i.command))}n.is=t})(Ta||(Ta={}));var va;(function(n){function e(r,i){return{tabSize:r,insertSpaces:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.uinteger(i.tabSize)&&p.boolean(i.insertSpaces)}n.is=t})(va||(va={}));var _a;(function(n){function e(r,i,s){return{range:r,target:i,data:s}}n.create=e;function t(r){let i=r;return p.defined(i)&&$.is(i.range)&&(p.undefined(i.target)||p.string(i.target))}n.is=t})(_a||(_a={}));var Ea;(function(n){function e(r,i){return{range:r,parent:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.range)&&(i.parent===void 0||n.is(i.parent))}n.is=t})(Ea||(Ea={}));var Ra;(function(n){n.namespace="namespace",n.type="type",n.class="class",n.enum="enum",n.interface="interface",n.struct="struct",n.typeParameter="typeParameter",n.parameter="parameter",n.variable="variable",n.property="property",n.enumMember="enumMember",n.event="event",n.function="function",n.method="method",n.macro="macro",n.keyword="keyword",n.modifier="modifier",n.comment="comment",n.string="string",n.number="number",n.regexp="regexp",n.operator="operator",n.decorator="decorator"})(Ra||(Ra={}));var Aa;(function(n){n.declaration="declaration",n.definition="definition",n.readonly="readonly",n.static="static",n.deprecated="deprecated",n.abstract="abstract",n.async="async",n.modification="modification",n.documentation="documentation",n.defaultLibrary="defaultLibrary"})(Aa||(Aa={}));var ba;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}n.is=e})(ba||(ba={}));var Na;(function(n){function e(r,i){return{range:r,text:i}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&p.string(i.text)}n.is=t})(Na||(Na={}));var ka;(function(n){function e(r,i,s){return{range:r,variableName:i,caseSensitiveLookup:s}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&p.boolean(i.caseSensitiveLookup)&&(p.string(i.variableName)||i.variableName===void 0)}n.is=t})(ka||(ka={}));var Ia;(function(n){function e(r,i){return{range:r,expression:i}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&(p.string(i.expression)||i.expression===void 0)}n.is=t})(Ia||(Ia={}));var Sa;(function(n){function e(r,i){return{frameId:r,stoppedLocation:i}}n.create=e;function t(r){const i=r;return p.defined(i)&&$.is(r.stoppedLocation)}n.is=t})(Sa||(Sa={}));var ai;(function(n){n.Type=1,n.Parameter=2;function e(t){return t===1||t===2}n.is=e})(ai||(ai={}));var oi;(function(n){function e(r){return{value:r}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&(i.tooltip===void 0||p.string(i.tooltip)||un.is(i.tooltip))&&(i.location===void 0||Kn.is(i.location))&&(i.command===void 0||Ft.is(i.command))}n.is=t})(oi||(oi={}));var xa;(function(n){function e(r,i,s){const a={position:r,label:i};return s!==void 0&&(a.kind=s),a}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&P.is(i.position)&&(p.string(i.label)||p.typedArray(i.label,oi.is))&&(i.kind===void 0||ai.is(i.kind))&&i.textEdits===void 0||p.typedArray(i.textEdits,Bt.is)&&(i.tooltip===void 0||p.string(i.tooltip)||un.is(i.tooltip))&&(i.paddingLeft===void 0||p.boolean(i.paddingLeft))&&(i.paddingRight===void 0||p.boolean(i.paddingRight))}n.is=t})(xa||(xa={}));var Ca;(function(n){function e(t){return{kind:"snippet",value:t}}n.createSnippet=e})(Ca||(Ca={}));var wa;(function(n){function e(t,r,i,s){return{insertText:t,filterText:r,range:i,command:s}}n.create=e})(wa||(wa={}));var Oa;(function(n){function e(t){return{items:t}}n.create=e})(Oa||(Oa={}));var La;(function(n){n.Invoked=0,n.Automatic=1})(La||(La={}));var $a;(function(n){function e(t,r){return{range:t,text:r}}n.create=e})($a||($a={}));var Pa;(function(n){function e(t,r){return{triggerKind:t,selectedCompletionInfo:r}}n.create=e})(Pa||(Pa={}));var Ma;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&Yr.is(r.uri)&&p.string(r.name)}n.is=e})(Ma||(Ma={}));var Da;(function(n){function e(s,a,o,l){return new Ip(s,a,o,l)}n.create=e;function t(s){let a=s;return!!(p.defined(a)&&p.string(a.uri)&&(p.undefined(a.languageId)||p.string(a.languageId))&&p.uinteger(a.lineCount)&&p.func(a.getText)&&p.func(a.positionAt)&&p.func(a.offsetAt))}n.is=t;function r(s,a){let o=s.getText(),l=i(a,(u,d)=>{let f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f}),c=o.length;for(let u=l.length-1;u>=0;u--){let d=l[u],f=s.offsetAt(d.range.start),h=s.offsetAt(d.range.end);if(h<=c)o=o.substring(0,f)+d.newText+o.substring(h,o.length);else throw new Error("Overlapping edit");c=f}return o}n.applyEdits=r;function i(s,a){if(s.length<=1)return s;const o=s.length/2|0,l=s.slice(0,o),c=s.slice(o);i(l,a),i(c,a);let u=0,d=0,f=0;for(;u0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),r=0,i=t.length;if(i===0)return P.create(0,e);for(;re?i=a:r=a+1}let s=r-1;return P.create(s,e-t[s])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line],i=e.line+1"u"}n.undefined=r;function i(h){return h===!0||h===!1}n.boolean=i;function s(h){return e.call(h)==="[object String]"}n.string=s;function a(h){return e.call(h)==="[object Number]"}n.number=a;function o(h,m,g){return e.call(h)==="[object Number]"&&m<=h&&h<=g}n.numberRange=o;function l(h){return e.call(h)==="[object Number]"&&-2147483648<=h&&h<=2147483647}n.integer=l;function c(h){return e.call(h)==="[object Number]"&&0<=h&&h<=2147483647}n.uinteger=c;function u(h){return e.call(h)==="[object Function]"}n.func=u;function d(h){return h!==null&&typeof h=="object"}n.objectLiteral=d;function f(h,m){return Array.isArray(h)&&h.every(m)}n.typedArray=f})(p||(p={}));class Sp{constructor(){this.nodeStack=[]}get current(){return this.nodeStack[this.nodeStack.length-1]}buildRootNode(e){return this.rootNode=new ec(e),this.rootNode.root=this.rootNode,this.nodeStack=[this.rootNode],this.rootNode}buildCompositeNode(e){const t=new Fi;return t.grammarSource=e,t.root=this.rootNode,this.current.content.push(t),this.nodeStack.push(t),t}buildLeafNode(e,t){const r=new li(e.startOffset,e.image.length,Dr(e),e.tokenType,!1);return r.grammarSource=t,r.root=this.rootNode,this.current.content.push(r),r}removeNode(e){const t=e.container;if(t){const r=t.content.indexOf(e);r>=0&&t.content.splice(r,1)}}construct(e){const t=this.current;typeof e.$type=="string"&&(this.current.astNode=e),e.$cstNode=t;const r=this.nodeStack.pop();(r==null?void 0:r.content.length)===0&&this.removeNode(r)}addHiddenTokens(e){for(const t of e){const r=new li(t.startOffset,t.image.length,Dr(t),t.tokenType,!0);r.root=this.rootNode,this.addHiddenToken(this.rootNode,r)}}addHiddenToken(e,t){const{offset:r,end:i}=t;for(let s=0;so&&i=0;e--){const t=this.content[e];if(!t.hidden)return t}return this.content[this.content.length-1]}}class Bi extends Array{constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,Bi.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,t,...r){return this.addParents(r),super.splice(e,t,...r)}addParents(e){for(const t of e)t.container=this.parent}}class ec extends Fi{get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=e??""}}const ci=Symbol("Datatype");function Cr(n){return n.$type===ci}const ja="​",tc=n=>n.endsWith(ja)?n:n+ja;class nc{constructor(e){this._unorderedGroups=new Map,this.lexer=e.parser.Lexer;const t=this.lexer.definition;this.wrapper=new Lp(t,Object.assign(Object.assign({},e.parser.ParserConfig),{errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,t){this.wrapper.wrapOr(e,t)}optional(e,t){this.wrapper.wrapOption(e,t)}many(e,t){this.wrapper.wrapMany(e,t)}atLeastOne(e,t){this.wrapper.wrapAtLeastOne(e,t)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}}class xp extends nc{get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new Sp,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,t){const r=e.fragment?void 0:Si(e)?ci:cr(e),i=this.wrapper.DEFINE_RULE(tc(e.name),this.startImplementation(r,t).bind(this));return e.entry&&(this.mainRule=i),i}parse(e){this.nodeBuilder.buildRootNode(e);const t=this.lexer.tokenize(e);this.wrapper.input=t.tokens;const r=this.mainRule.call(this.wrapper,{});return this.nodeBuilder.addHiddenTokens(t.hidden),this.unorderedGroups.clear(),{value:r,lexerErrors:t.errors,parserErrors:this.wrapper.errors}}startImplementation(e,t){return r=>{if(!this.isRecording()){const s={$type:e};this.stack.push(s),e===ci&&(s.value="")}let i;try{i=t(r)}catch{i=void 0}return!this.isRecording()&&i===void 0&&(i=this.construct()),i}}consume(e,t,r){const i=this.wrapper.wrapConsume(e,t);if(!this.isRecording()&&this.isValidToken(i)){const s=this.nodeBuilder.buildLeafNode(i,r),{assignment:a,isCrossRef:o}=this.getAssignment(r),l=this.current;if(a){const c=dt(r)?i.image:this.converter.convert(i.image,s);this.assign(a.operator,a.feature,c,s,o)}else if(Cr(l)){let c=i.image;dt(r)||(c=this.converter.convert(c,s).toString()),l.value+=c}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&typeof e.endOffset=="number"&&!isNaN(e.endOffset)}subrule(e,t,r,i){let s;this.isRecording()||(s=this.nodeBuilder.buildCompositeNode(r));const a=this.wrapper.wrapSubrule(e,t,i);!this.isRecording()&&s&&s.length>0&&this.performSubruleAssignment(a,r,s)}performSubruleAssignment(e,t,r){const{assignment:i,isCrossRef:s}=this.getAssignment(t);if(i)this.assign(i.operator,i.feature,e,r,s);else if(!i){const a=this.current;if(Cr(a))a.value+=e.toString();else if(typeof e=="object"&&e){const o=e.$type,l=this.assignWithoutOverride(e,a);o&&(l.$type=o);const c=l;this.stack.pop(),this.stack.push(c)}}}action(e,t){if(!this.isRecording()){let r=this.current;if(!r.$cstNode&&t.feature&&t.operator){r=this.construct(!1);const s=r.$cstNode.feature;this.nodeBuilder.buildCompositeNode(s)}const i={$type:e};this.stack.pop(),this.stack.push(i),t.feature&&t.operator&&this.assign(t.operator,t.feature,r,r.$cstNode,!1)}}construct(e=!0){if(this.isRecording())return;const t=this.current;return od(t),this.nodeBuilder.construct(t),e&&this.stack.pop(),Cr(t)?this.converter.convert(t.value,t.$cstNode):(cd(this.astReflection,t),t)}getAssignment(e){if(!this.assignmentMap.has(e)){const t=ar(e,ut);this.assignmentMap.set(e,{assignment:t,isCrossRef:t?bi(t.terminal):!1})}return this.assignmentMap.get(e)}assign(e,t,r,i,s){const a=this.current;let o;switch(s&&typeof r=="string"?o=this.linker.buildReference(a,t,i,r):o=r,e){case"=":{a[t]=o;break}case"?=":{a[t]=!0;break}case"+=":Array.isArray(a[t])||(a[t]=[]),a[t].push(o)}}assignWithoutOverride(e,t){for(const[r,i]of Object.entries(t)){const s=e[r];s===void 0?e[r]=i:Array.isArray(s)&&Array.isArray(i)&&(i.push(...s),e[r]=i)}return e}get definitionErrors(){return this.wrapper.definitionErrors}}class Cp{buildMismatchTokenMessage(e){return _t.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return _t.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return _t.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return _t.buildEarlyExitMessage(e)}}class rc extends Cp{buildMismatchTokenMessage({expected:e,actual:t}){return`Expecting ${e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`} but found \`${t.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}}class wp extends nc{constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();const t=this.lexer.tokenize(e);return this.tokens=t.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,t){const r=this.wrapper.DEFINE_RULE(tc(e.name),this.startImplementation(t).bind(this));return e.entry&&(this.mainRule=r),r}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return t=>{const r=this.keepStackSize();try{e(t)}finally{this.resetStackSize(r)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){const e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,t,r){this.wrapper.wrapConsume(e,t),this.isRecording()||(this.lastElementStack=[...this.elementStack,r],this.nextTokenIndex=this.currIdx+1)}subrule(e,t,r,i){this.before(r),this.wrapper.wrapSubrule(e,t,i),this.after(r)}before(e){this.isRecording()||this.elementStack.push(e)}after(e){if(!this.isRecording()){const t=this.elementStack.lastIndexOf(e);t>=0&&this.elementStack.splice(t)}}get currIdx(){return this.wrapper.currIdx}}const Op={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new rc};class Lp extends Uh{constructor(e,t){const r=t&&"maxLookahead"in t;super(e,Object.assign(Object.assign(Object.assign({},Op),{lookaheadStrategy:r?new Pi({maxLookahead:t.maxLookahead}):new op}),t))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,t){return this.RULE(e,t)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,t){return this.consume(e,t)}wrapSubrule(e,t,r){return this.subrule(e,t,{ARGS:[r]})}wrapOr(e,t){this.or(e,t)}wrapOption(e,t){this.option(e,t)}wrapMany(e,t){this.many(e,t)}wrapAtLeastOne(e,t){this.atLeastOne(e,t)}}function ic(n,e,t){return $p({parser:e,tokens:t,rules:new Map,ruleNames:new Map},n),e}function $p(n,e){const t=nl(e,!1),r=Q(e.rules).filter(Se).filter(i=>t.has(i));for(const i of r){const s=Object.assign(Object.assign({},n),{consume:1,optional:1,subrule:1,many:1,or:1});s.rules.set(i.name,n.parser.rule(i,pt(s,i.definition)))}}function pt(n,e,t=!1){let r;if(dt(e))r=Fp(n,e);else if(sr(e))r=Pp(n,e);else if(ut(e))r=pt(n,e.terminal);else if(bi(e))r=sc(n,e);else if(ft(e))r=Mp(n,e);else if(Po(e))r=jp(n,e);else if(Yo(e))r=Gp(n,e);else if(Ni(e))r=Up(n,e);else if(Zu(e)){const i=n.consume++;r=()=>n.parser.consume(i,tt,e)}else throw new To(e.$cstNode,`Unexpected element type: ${e.$type}`);return ac(n,t?void 0:Xn(e),r,e.cardinality)}function Pp(n,e){const t=cr(e);return()=>n.parser.action(t,e)}function Mp(n,e){const t=e.rule.ref;if(Se(t)){const r=n.subrule++,i=e.arguments.length>0?Dp(t,e.arguments):()=>({});return s=>n.parser.subrule(r,oc(n,t),e,i(s))}else if(gt(t)){const r=n.consume++,i=ui(n,t.name);return()=>n.parser.consume(r,i,e)}else if(t)ir();else throw new To(e.$cstNode,`Undefined rule type: ${e.$type}`)}function Dp(n,e){const t=e.map(r=>We(r.value));return r=>{const i={};for(let s=0;se(r)||t(r)}else if(Gu(n)){const e=We(n.left),t=We(n.right);return r=>e(r)&&t(r)}else if(Bu(n)){const e=We(n.value);return t=>!e(t)}else if(Wu(n)){const e=n.parameter.ref.name;return t=>t!==void 0&&t[e]===!0}else if(ju(n)){const e=!!n.true;return()=>e}ir()}function jp(n,e){if(e.elements.length===1)return pt(n,e.elements[0]);{const t=[];for(const i of e.elements){const s={ALT:pt(n,i,!0)},a=Xn(i);a&&(s.GATE=We(a)),t.push(s)}const r=n.or++;return i=>n.parser.alternatives(r,t.map(s=>{const a={ALT:()=>s.ALT(i)},o=s.GATE;return o&&(a.GATE=()=>o(i)),a}))}}function Gp(n,e){if(e.elements.length===1)return pt(n,e.elements[0]);const t=[];for(const o of e.elements){const l={ALT:pt(n,o,!0)},c=Xn(o);c&&(l.GATE=We(c)),t.push(l)}const r=n.or++,i=(o,l)=>{const c=l.getRuleStack().join("-");return`uGroup_${o}_${c}`},s=o=>n.parser.alternatives(r,t.map((l,c)=>{const u={ALT:()=>!0},d=n.parser;u.ALT=()=>{if(l.ALT(o),!d.isRecording()){const h=i(r,d);d.unorderedGroups.get(h)||d.unorderedGroups.set(h,[]);const m=d.unorderedGroups.get(h);typeof(m==null?void 0:m[c])>"u"&&(m[c]=!0)}};const f=l.GATE;return f?u.GATE=()=>f(o):u.GATE=()=>{const h=d.unorderedGroups.get(i(r,d));return!(h!=null&&h[c])},u})),a=ac(n,Xn(e),s,"*");return o=>{a(o),n.parser.isRecording()||n.parser.unorderedGroups.delete(i(r,n.parser))}}function Up(n,e){const t=e.elements.map(r=>pt(n,r));return r=>t.forEach(i=>i(r))}function Xn(n){if(Ni(n))return n.guardCondition}function sc(n,e,t=e.terminal){if(t)if(ft(t)&&Se(t.rule.ref)){const r=n.subrule++;return i=>n.parser.subrule(r,oc(n,t.rule.ref),e,i)}else if(ft(t)&>(t.rule.ref)){const r=n.consume++,i=ui(n,t.rule.ref.name);return()=>n.parser.consume(r,i,e)}else if(dt(t)){const r=n.consume++,i=ui(n,t.value);return()=>n.parser.consume(r,i,e)}else throw new Error("Could not build cross reference parser");else{if(!e.type.ref)throw new Error("Could not resolve reference to type: "+e.type.$refText);const r=sl(e.type.ref),i=r==null?void 0:r.terminal;if(!i)throw new Error("Could not find name assignment for type: "+cr(e.type.ref));return sc(n,e,i)}}function Fp(n,e){const t=n.consume++,r=n.tokens[e.value];if(!r)throw new Error("Could not find token for keyword: "+e.value);return()=>n.parser.consume(t,r,e)}function ac(n,e,t,r){const i=e&&We(e);if(!r)if(i){const s=n.or++;return a=>n.parser.alternatives(s,[{ALT:()=>t(a),GATE:()=>i(a)},{ALT:Ls(),GATE:()=>!i(a)}])}else return t;if(r==="*"){const s=n.many++;return a=>n.parser.many(s,{DEF:()=>t(a),GATE:i?()=>i(a):void 0})}else if(r==="+"){const s=n.many++;if(i){const a=n.or++;return o=>n.parser.alternatives(a,[{ALT:()=>n.parser.atLeastOne(s,{DEF:()=>t(o)}),GATE:()=>i(o)},{ALT:Ls(),GATE:()=>!i(o)}])}else return a=>n.parser.atLeastOne(s,{DEF:()=>t(a)})}else if(r==="?"){const s=n.optional++;return a=>n.parser.optional(s,{DEF:()=>t(a),GATE:i?()=>i(a):void 0})}else ir()}function oc(n,e){const t=Bp(n,e),r=n.rules.get(t);if(!r)throw new Error(`Rule "${t}" not found."`);return r}function Bp(n,e){if(Se(e))return e.name;if(n.ruleNames.has(e))return n.ruleNames.get(e);{let t=e,r=t.$container,i=e.$type;for(;!Se(r);)(Ni(r)||Po(r)||Yo(r))&&(i=r.elements.indexOf(t).toString()+":"+i),t=r,r=r.$container;return i=r.name+":"+i,n.ruleNames.set(e,i),i}}function ui(n,e){const t=n.tokens[e];if(!t)throw new Error(`Token "${e}" not found."`);return t}function Hp(n){const e=n.Grammar,t=n.parser.Lexer,r=new wp(n);return ic(e,r,t.definition),r.finalize(),r}function Vp(n){const e=Wp(n);return e.finalize(),e}function Wp(n){const e=n.Grammar,t=n.parser.Lexer,r=new xp(n);return ic(e,r,t.definition)}class lc{buildTokens(e,t){const r=Q(nl(e,!1)),i=this.buildTerminalTokens(r),s=this.buildKeywordTokens(r,i,t);return i.forEach(a=>{const o=a.PATTERN;typeof o=="object"&&o&&"test"in o&&cs(o)?s.unshift(a):s.push(a)}),s}buildTerminalTokens(e){return e.filter(gt).filter(t=>!t.fragment).map(t=>this.buildTerminalToken(t)).toArray()}buildTerminalToken(e){const t=xi(e),r=this.requiresCustomPattern(t)?this.regexPatternFunction(t):t,i={name:e.name,PATTERN:r,LINE_BREAKS:!0};return e.hidden&&(i.GROUP=cs(t)?de.SKIPPED:"hidden"),i}requiresCustomPattern(e){return e.flags.includes("u")?!0:!!(e.source.includes("?<=")||e.source.includes("?(t.lastIndex=i,t.exec(r))}buildKeywordTokens(e,t,r){return e.filter(Se).flatMap(i=>pn(i).filter(dt)).distinct(i=>i.value).toArray().sort((i,s)=>s.value.length-i.value.length).map(i=>this.buildKeywordToken(i,t,!!(r!=null&&r.caseInsensitive)))}buildKeywordToken(e,t,r){return{name:e.value,PATTERN:this.buildKeywordPattern(e,r),LONGER_ALT:this.findLongerAlt(e,t)}}buildKeywordPattern(e,t){return t?new RegExp(yd(e.value)):e.value}findLongerAlt(e,t){return t.reduce((r,i)=>{const s=i==null?void 0:i.PATTERN;return s!=null&&s.source&&Td("^"+s.source+"$",e.value)&&r.push(i),r},[])}}class cc{convert(e,t){let r=t.grammarSource;if(bi(r)&&(r=Rd(r)),ft(r)){const i=r.rule.ref;if(!i)throw new Error("This cst node was not parsed by a rule.");return this.runConverter(i,e,t)}return e}runConverter(e,t,r){var i;switch(e.name.toUpperCase()){case"INT":return Ve.convertInt(t);case"STRING":return Ve.convertString(t);case"ID":return Ve.convertID(t)}switch((i=xd(e))===null||i===void 0?void 0:i.toLowerCase()){case"number":return Ve.convertNumber(t);case"boolean":return Ve.convertBoolean(t);case"bigint":return Ve.convertBigint(t);case"date":return Ve.convertDate(t);default:return t}}}var Ve;(function(n){function e(c){let u="";for(let d=1;duc(e))}se.stringArray=Xp;var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.Emitter=Vt.Event=void 0;const Jp=yr;var Ga;(function(n){const e={dispose(){}};n.None=function(){return e}})(Ga||(Vt.Event=Ga={}));class Qp{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i{this._callbacks||(this._callbacks=new Qp),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=Tr._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}Vt.Emitter=Tr;Tr._noop=function(){};var X;Object.defineProperty(dn,"__esModule",{value:!0});var hi=dn.CancellationTokenSource=X=dn.CancellationToken=void 0;const Zp=yr,em=se,pi=Vt;var Jn;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:pi.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:pi.Event.None});function e(t){const r=t;return r&&(r===n.None||r===n.Cancelled||em.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(Jn||(X=dn.CancellationToken=Jn={}));const tm=Object.freeze(function(n,e){const t=(0,Zp.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}});class Ua{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?tm:(this._emitter||(this._emitter=new pi.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}class nm{get token(){return this._token||(this._token=new Ua),this._token}cancel(){this._token?this._token.cancel():this._token=Jn.Cancelled}dispose(){this._token?this._token instanceof Ua&&this._token.dispose():this._token=Jn.None}}hi=dn.CancellationTokenSource=nm;function rm(){return new Promise(n=>{typeof setImmediate>"u"?setTimeout(n,0):setImmediate(n)})}let Fa=0,im=10;const Qn=Symbol("OperationCancelled");function Hi(n){return n===Qn}async function Le(n){if(n===X.None)return;const e=Date.now();if(e-Fa>=im&&(Fa=e,await rm()),n.isCancellationRequested)throw Qn}class Vi{constructor(){this.promise=new Promise((e,t)=>{this.resolve=r=>(e(r),this),this.reject=r=>(t(r),this)})}}class fn{constructor(e,t,r,i){this._uri=e,this._languageId=t,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(const r of e)if(fn.isIncremental(r)){const i=hc(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),l=Math.max(i.end.line,0);let c=this._lineOffsets;const u=Ba(r.text,!1,s);if(l-o===u.length)for(let f=0,h=u.length;fe?i=a:r=a+1}const s=r-1;return e=this.ensureBeforeEOL(e,t[s]),{line:s,character:e-t[s]}}offsetAt(e){const t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;const r=t[e.line];if(e.character<=0)return r;const i=e.line+1t&&fc(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength=="number")}static isFull(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range===void 0&&t.rangeLength===void 0}}var mi;(function(n){function e(i,s,a,o){return new fn(i,s,a,o)}n.create=e;function t(i,s,a){if(i instanceof fn)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}n.update=t;function r(i,s){const a=i.getText(),o=gi(s.map(sm),(u,d)=>{const f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f});let l=0;const c=[];for(const u of o){const d=i.offsetAt(u.range.start);if(dl&&c.push(a.substring(l,d)),u.newText.length&&c.push(u.newText),l=i.offsetAt(u.range.end)}return c.push(a.substr(l)),c.join("")}n.applyEdits=r})(mi||(mi={}));function gi(n,e){if(n.length<=1)return n;const t=n.length/2|0,r=n.slice(0,t),i=n.slice(t);gi(r,e),gi(i,e);let s=0,a=0,o=0;for(;st.line||e.line===t.line&&e.character>t.character?{start:t,end:e}:n}function sm(n){const e=hc(n.range);return e!==n.range?{newText:n.newText,range:e}:n}var wr={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},pc;(()=>{var n={470:i=>{function s(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function a(l,c){for(var u,d="",f=0,h=-1,m=0,g=0;g<=l.length;++g){if(g2){var _=d.lastIndexOf("/");if(_!==d.length-1){_===-1?(d="",f=0):f=(d=d.slice(0,_)).length-1-d.lastIndexOf("/"),h=g,m=0;continue}}else if(d.length===2||d.length===1){d="",f=0,h=g,m=0;continue}}c&&(d.length>0?d+="/..":d="..",f=2)}else d.length>0?d+="/"+l.slice(h+1,g):d=l.slice(h+1,g),f=g-h-1;h=g,m=0}else u===46&&m!==-1?++m:m=-1}return d}var o={resolve:function(){for(var l,c="",u=!1,d=arguments.length-1;d>=-1&&!u;d--){var f;d>=0?f=arguments[d]:(l===void 0&&(l=wr.cwd()),f=l),s(f),f.length!==0&&(c=f+"/"+c,u=f.charCodeAt(0)===47)}return c=a(c,!u),u?c.length>0?"/"+c:"/":c.length>0?c:"."},normalize:function(l){if(s(l),l.length===0)return".";var c=l.charCodeAt(0)===47,u=l.charCodeAt(l.length-1)===47;return(l=a(l,!c)).length!==0||c||(l="."),l.length>0&&u&&(l+="/"),c?"/"+l:l},isAbsolute:function(l){return s(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,c=0;c0&&(l===void 0?l=u:l+="/"+u)}return l===void 0?".":o.normalize(l)},relative:function(l,c){if(s(l),s(c),l===c||(l=o.resolve(l))===(c=o.resolve(c)))return"";for(var u=1;ug){if(c.charCodeAt(h+y)===47)return c.slice(h+y+1);if(y===0)return c.slice(h+y)}else f>g&&(l.charCodeAt(u+y)===47?_=y:y===0&&(_=0));break}var E=l.charCodeAt(u+y);if(E!==c.charCodeAt(h+y))break;E===47&&(_=y)}var v="";for(y=u+_+1;y<=d;++y)y!==d&&l.charCodeAt(y)!==47||(v.length===0?v+="..":v+="/..");return v.length>0?v+c.slice(h+_):(h+=_,c.charCodeAt(h)===47&&++h,c.slice(h))},_makeLong:function(l){return l},dirname:function(l){if(s(l),l.length===0)return".";for(var c=l.charCodeAt(0),u=c===47,d=-1,f=!0,h=l.length-1;h>=1;--h)if((c=l.charCodeAt(h))===47){if(!f){d=h;break}}else f=!1;return d===-1?u?"/":".":u&&d===1?"//":l.slice(0,d)},basename:function(l,c){if(c!==void 0&&typeof c!="string")throw new TypeError('"ext" argument must be a string');s(l);var u,d=0,f=-1,h=!0;if(c!==void 0&&c.length>0&&c.length<=l.length){if(c.length===l.length&&c===l)return"";var m=c.length-1,g=-1;for(u=l.length-1;u>=0;--u){var _=l.charCodeAt(u);if(_===47){if(!h){d=u+1;break}}else g===-1&&(h=!1,g=u+1),m>=0&&(_===c.charCodeAt(m)?--m==-1&&(f=u):(m=-1,f=g))}return d===f?f=g:f===-1&&(f=l.length),l.slice(d,f)}for(u=l.length-1;u>=0;--u)if(l.charCodeAt(u)===47){if(!h){d=u+1;break}}else f===-1&&(h=!1,f=u+1);return f===-1?"":l.slice(d,f)},extname:function(l){s(l);for(var c=-1,u=0,d=-1,f=!0,h=0,m=l.length-1;m>=0;--m){var g=l.charCodeAt(m);if(g!==47)d===-1&&(f=!1,d=m+1),g===46?c===-1?c=m:h!==1&&(h=1):c!==-1&&(h=-1);else if(!f){u=m+1;break}}return c===-1||d===-1||h===0||h===1&&c===d-1&&c===u+1?"":l.slice(c,d)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return function(c,u){var d=u.dir||u.root,f=u.base||(u.name||"")+(u.ext||"");return d?d===u.root?d+f:d+"/"+f:f}(0,l)},parse:function(l){s(l);var c={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return c;var u,d=l.charCodeAt(0),f=d===47;f?(c.root="/",u=1):u=0;for(var h=-1,m=0,g=-1,_=!0,y=l.length-1,E=0;y>=u;--y)if((d=l.charCodeAt(y))!==47)g===-1&&(_=!1,g=y+1),d===46?h===-1?h=y:E!==1&&(E=1):h!==-1&&(E=-1);else if(!_){m=y+1;break}return h===-1||g===-1||E===0||E===1&&h===g-1&&h===m+1?g!==-1&&(c.base=c.name=m===0&&f?l.slice(1,g):l.slice(m,g)):(m===0&&f?(c.name=l.slice(1,h),c.base=l.slice(1,g)):(c.name=l.slice(m,h),c.base=l.slice(m,g)),c.ext=l.slice(h,g)),m>0?c.dir=l.slice(0,m-1):f&&(c.dir="/"),c},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},e={};function t(i){var s=e[i];if(s!==void 0)return s.exports;var a=e[i]={exports:{}};return n[i](a,a.exports,t),a.exports}t.d=(i,s)=>{for(var a in s)t.o(s,a)&&!t.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},t.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),t.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;t.r(r),t.d(r,{URI:()=>f,Utils:()=>be}),typeof wr=="object"?i=wr.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function l(A,T){if(!A.scheme&&T)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${A.authority}", path: "${A.path}", query: "${A.query}", fragment: "${A.fragment}"}`);if(A.scheme&&!s.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!a.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const c="",u="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{constructor(T,R,N,L,O,w=!1){Je(this,"scheme");Je(this,"authority");Je(this,"path");Je(this,"query");Je(this,"fragment");typeof T=="object"?(this.scheme=T.scheme||c,this.authority=T.authority||c,this.path=T.path||c,this.query=T.query||c,this.fragment=T.fragment||c):(this.scheme=function(ye,z){return ye||z?ye:"file"}(T,w),this.authority=R||c,this.path=function(ye,z){switch(ye){case"https":case"http":case"file":z?z[0]!==u&&(z=u+z):z=u}return z}(this.scheme,N||c),this.query=L||c,this.fragment=O||c,l(this,w))}static isUri(T){return T instanceof f||!!T&&typeof T.authority=="string"&&typeof T.fragment=="string"&&typeof T.path=="string"&&typeof T.query=="string"&&typeof T.scheme=="string"&&typeof T.fsPath=="string"&&typeof T.with=="function"&&typeof T.toString=="function"}get fsPath(){return E(this)}with(T){if(!T)return this;let{scheme:R,authority:N,path:L,query:O,fragment:w}=T;return R===void 0?R=this.scheme:R===null&&(R=c),N===void 0?N=this.authority:N===null&&(N=c),L===void 0?L=this.path:L===null&&(L=c),O===void 0?O=this.query:O===null&&(O=c),w===void 0?w=this.fragment:w===null&&(w=c),R===this.scheme&&N===this.authority&&L===this.path&&O===this.query&&w===this.fragment?this:new m(R,N,L,O,w)}static parse(T,R=!1){const N=d.exec(T);return N?new m(N[2]||c,ne(N[4]||c),ne(N[5]||c),ne(N[7]||c),ne(N[9]||c),R):new m(c,c,c,c,c)}static file(T){let R=c;if(i&&(T=T.replace(/\\/g,u)),T[0]===u&&T[1]===u){const N=T.indexOf(u,2);N===-1?(R=T.substring(2),T=u):(R=T.substring(2,N),T=T.substring(N)||u)}return new m("file",R,T,c,c)}static from(T){const R=new m(T.scheme,T.authority,T.path,T.query,T.fragment);return l(R,!0),R}toString(T=!1){return v(this,T)}toJSON(){return this}static revive(T){if(T){if(T instanceof f)return T;{const R=new m(T);return R._formatted=T.external,R._fsPath=T._sep===h?T.fsPath:null,R}}return T}}const h=i?1:void 0;class m extends f{constructor(){super(...arguments);Je(this,"_formatted",null);Je(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=E(this)),this._fsPath}toString(R=!1){return R?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=h),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R}}const g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function _(A,T,R){let N,L=-1;for(let O=0;O=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===45||w===46||w===95||w===126||T&&w===47||R&&w===91||R&&w===93||R&&w===58)L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N!==void 0&&(N+=A.charAt(O));else{N===void 0&&(N=A.substr(0,O));const ye=g[w];ye!==void 0?(L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N+=ye):L===-1&&(L=O)}}return L!==-1&&(N+=encodeURIComponent(A.substring(L))),N!==void 0?N:A}function y(A){let T;for(let R=0;R1&&A.scheme==="file"?`//${A.authority}${A.path}`:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?A.path[1].toLowerCase()+A.path.substr(2):A.path,i&&(R=R.replace(/\//g,"\\")),R}function v(A,T){const R=T?y:_;let N="",{scheme:L,authority:O,path:w,query:ye,fragment:z}=A;if(L&&(N+=L,N+=":"),(O||L==="file")&&(N+=u,N+=u),O){let B=O.indexOf("@");if(B!==-1){const at=O.substr(0,B);O=O.substr(B+1),B=at.lastIndexOf(":"),B===-1?N+=R(at,!1,!1):(N+=R(at.substr(0,B),!1,!1),N+=":",N+=R(at.substr(B+1),!1,!0)),N+="@"}O=O.toLowerCase(),B=O.lastIndexOf(":"),B===-1?N+=R(O,!1,!0):(N+=R(O.substr(0,B),!1,!0),N+=O.substr(B))}if(w){if(w.length>=3&&w.charCodeAt(0)===47&&w.charCodeAt(2)===58){const B=w.charCodeAt(1);B>=65&&B<=90&&(w=`/${String.fromCharCode(B+32)}:${w.substr(3)}`)}else if(w.length>=2&&w.charCodeAt(1)===58){const B=w.charCodeAt(0);B>=65&&B<=90&&(w=`${String.fromCharCode(B+32)}:${w.substr(2)}`)}N+=R(w,!0,!1)}return ye&&(N+="?",N+=R(ye,!1,!1)),z&&(N+="#",N+=T?z:_(z,!1,!1)),N}function I(A){try{return decodeURIComponent(A)}catch{return A.length>3?A.substr(0,3)+I(A.substr(3)):A}}const j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ne(A){return A.match(j)?A.replace(j,T=>I(T)):A}var Ce=t(470);const ge=Ce.posix||Ce,De="/";var be;(function(A){A.joinPath=function(T,...R){return T.with({path:ge.join(T.path,...R)})},A.resolvePath=function(T,...R){let N=T.path,L=!1;N[0]!==De&&(N=De+N,L=!0);let O=ge.resolve(N,...R);return L&&O[0]===De&&!T.authority&&(O=O.substring(1)),T.with({path:O})},A.dirname=function(T){if(T.path.length===0||T.path===De)return T;let R=ge.dirname(T.path);return R.length===1&&R.charCodeAt(0)===46&&(R=""),T.with({path:R})},A.basename=function(T){return ge.basename(T.path)},A.extname=function(T){return ge.extname(T.path)}})(be||(be={}))})(),pc=r})();const{URI:Wt,Utils:sn}=pc;var rt;(function(n){n.basename=sn.basename,n.dirname=sn.dirname,n.extname=sn.extname,n.joinPath=sn.joinPath,n.resolvePath=sn.resolvePath;function e(r,i){return(r==null?void 0:r.toString())===(i==null?void 0:i.toString())}n.equals=e;function t(r,i){const s=typeof r=="string"?r:r.path,a=typeof i=="string"?i:i.path,o=s.split("/").filter(f=>f.length>0),l=a.split("/").filter(f=>f.length>0);let c=0;for(;ci??(i=mi.create(e.toString(),r.getServices(e).LanguageMetaData.languageId,0,t??""))}}class om{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return Q(this.documentMap.values())}addDocument(e){const t=e.uri.toString();if(this.documentMap.has(t))throw new Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){const t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r||(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(i=>(this.addDocument(i),i));{const i=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(i),i}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,this.documentMap.delete(t)),r}}class lm{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=X.None){for(const r of Et(e.parseResult.value))await Le(t),Zo(r).forEach(i=>this.doLink(i,e))}doLink(e,t){const r=e.reference;if(r._ref===void 0)try{const i=this.getCandidate(e);if(kn(i))r._ref=i;else if(r._nodeDescription=i,this.langiumDocuments().hasDocument(i.documentUri)){const s=this.loadAstNode(i);r._ref=s??this.createLinkingError(e,i)}}catch(i){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${i}`})}t.references.push(r)}unlink(e){for(const t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){const r=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return r??this.createLinkingError(e)}buildReference(e,t,r,i){const s=this,a={$refNode:r,$refText:i,get ref(){var o;if(ae(this._ref))return this._ref;if(Nu(this._nodeDescription)){const l=s.loadAstNode(this._nodeDescription);this._ref=l??s.createLinkingError({reference:a,container:e,property:t},this._nodeDescription)}else if(this._ref===void 0){const l=s.getLinkedNode({reference:a,container:e,property:t});if(l.error&&Ue(e).state=e.end)return s.ref}}if(r){const i=this.nameProvider.getNameNode(r);if(i&&(i===e||Su(e,i)))return r}}}findDeclarationNode(e){const t=this.findDeclaration(e);if(t!=null&&t.$cstNode){const r=this.nameProvider.getNameNode(t);return r??t.$cstNode}}findReferences(e,t){const r=[];if(t.includeDeclaration){const s=this.getReferenceToSelf(e);s&&r.push(s)}let i=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(i=i.filter(s=>rt.equals(s.sourceUri,t.documentUri))),r.push(...i),Q(r)}getReferenceToSelf(e){const t=this.nameProvider.getNameNode(e);if(t){const r=Ue(e),i=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:i,targetUri:r.uri,targetPath:i,segment:Ln(t),local:!0}}}}class Wi{constructor(e){if(this.map=new Map,e)for(const[t,r]of e)this.add(t,r)}get size(){return Pr.sum(Q(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(t===void 0)return this.map.delete(e);{const r=this.map.get(e);if(r){const i=r.indexOf(t);if(i>=0)return r.length===1?this.map.delete(e):r.splice(i,1),!0}return!1}}get(e){var t;return(t=this.map.get(e))!==null&&t!==void 0?t:[]}has(e,t){if(t===void 0)return this.map.has(e);{const r=this.map.get(e);return r?r.indexOf(t)>=0:!1}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(i=>e(i,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return Q(this.map.entries()).flatMap(([e,t])=>t.map(r=>[e,r]))}keys(){return Q(this.map.keys())}values(){return Q(this.map.values()).flat()}entriesGroupedByKey(){return Q(this.map.entries())}}class Ha{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(const[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){const t=this.map.get(e);return t!==void 0?(this.map.delete(e),this.inverse.delete(t),!0):!1}}class fm{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=X.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=ki,i=X.None){const s=[];this.exportNode(e,s,t);for(const a of r(e))await Le(i),this.exportNode(a,s,t);return s}exportNode(e,t,r){const i=this.nameProvider.getName(e);i&&t.push(this.descriptions.createDescription(e,i,r))}async computeLocalScopes(e,t=X.None){const r=e.parseResult.value,i=new Wi;for(const s of pn(r))await Le(t),this.processNode(s,e,i);return i}processNode(e,t,r){const i=e.$container;if(i){const s=this.nameProvider.getName(e);s&&r.add(i,this.descriptions.createDescription(e,s,t))}}}class Va{constructor(e,t,r){var i;this.elements=e,this.outerScope=t,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){const t=this.caseInsensitive?this.elements.find(r=>r.name.toLowerCase()===e.toLowerCase()):this.elements.find(r=>r.name===e);if(t)return t;if(this.outerScope)return this.outerScope.getElement(e)}}class hm{constructor(e,t,r){var i;this.elements=new Map,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1;for(const s of e){const a=this.caseInsensitive?s.name.toLowerCase():s.name;this.elements.set(a,s)}this.outerScope=t}getElement(e){const t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);if(r)return r;if(this.outerScope)return this.outerScope.getElement(e)}getAllElements(){let e=Q(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class mc{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}}class pm extends mc{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(t){const r=t();return this.cache.set(e,r),r}else return}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class mm extends mc{constructor(e){super(),this.cache=new Map,this.converter=e??(t=>t)}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();const i=this.cacheForContext(e);if(i.has(t))return i.get(t);if(r){const s=r();return i.set(t,s),s}else return}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){const t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){const t=this.converter(e);let r=this.cache.get(t);return r||(r=new Map,this.cache.set(t,r)),r}}class gm extends pm{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class ym{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new gm(e.shared)}getScope(e){const t=[],r=this.reflection.getReferenceType(e),i=Ue(e.container).precomputedScopes;if(i){let a=e.container;do{const o=i.get(a);o.length>0&&t.push(Q(o).filter(l=>this.reflection.isSubtype(l.type,r))),a=a.$container}while(a)}let s=this.getGlobalScope(r,e);for(let a=t.length-1;a>=0;a--)s=this.createScope(t[a],s);return s}createScope(e,t,r){return new Va(Q(e),t,r)}createScopeForNodes(e,t,r){const i=Q(e).map(s=>{const a=this.nameProvider.getName(s);if(a)return this.descriptions.createDescription(s,a)}).nonNullable();return new Va(i,t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new hm(this.indexManager.allElements(e)))}}function Tm(n){return typeof n.$comment=="string"}function Wa(n){return typeof n=="object"&&!!n&&("$ref"in n||"$error"in n)}class vm{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){const r=t==null?void 0:t.replacer,i=(a,o)=>this.replacer(a,o,t),s=r?(a,o)=>r(a,o,i):i;try{return this.currentDocument=Ue(e),JSON.stringify(e,s,t==null?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){const r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:i,textRegions:s,comments:a,uriConverter:o}){var l,c,u,d;if(!this.ignoreProperties.has(e))if(Ge(t)){const f=t.ref,h=r?t.$refText:void 0;if(f){const m=Ue(f);let g="";this.currentDocument&&this.currentDocument!==m&&(o?g=o(m.uri,t):g=m.uri.toString());const _=this.astNodeLocator.getAstNodePath(f);return{$ref:`${g}#${_}`,$refText:h}}else return{$error:(c=(l=t.error)===null||l===void 0?void 0:l.message)!==null&&c!==void 0?c:"Could not resolve reference",$refText:h}}else if(ae(t)){let f;if(s&&(f=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(f!=null&&f.$textRegion)&&(f.$textRegion.documentURI=(u=this.currentDocument)===null||u===void 0?void 0:u.uri.toString())),i&&!e&&(f??(f=Object.assign({},t)),f.$sourceText=(d=t.$cstNode)===null||d===void 0?void 0:d.text),a){f??(f=Object.assign({},t));const h=this.commentProvider.getComment(t);h&&(f.$comment=h.replace(/\r/g,""))}return f??t}else return t}addAstNodeRegionWithAssignmentsTo(e){const t=r=>({offset:r.offset,end:r.end,length:r.length,range:r.range});if(e.$cstNode){const r=e.$textRegion=t(e.$cstNode),i=r.assignments={};return Object.keys(e).filter(s=>!s.startsWith("$")).forEach(s=>{const a=bd(e.$cstNode,s).map(t);a.length!==0&&(i[s]=a)}),e}}linkNode(e,t,r,i,s,a){for(const[l,c]of Object.entries(e))if(Array.isArray(c))for(let u=0;u{try{await e.call(t,r,i,s)}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a);const o=a instanceof Error?a.message:String(a);a instanceof Error&&a.stack&&console.error(a.stack),i("error","An error occurred during validation: "+o,{node:r})}}}addEntry(e,t){if(e==="AstNode"){this.entries.add("AstNode",t);return}for(const r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=Q(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(i=>t.includes(i.category))),r.map(i=>i.check)}}class Rm{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=X.None){const i=e.parseResult,s=[];if(await Le(r),(!t.categories||t.categories.includes("built-in"))&&(this.processLexingErrors(i,s,t),t.stopAfterLexingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LexingError})||(this.processParsingErrors(i,s,t),t.stopAfterParsingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.ParsingError}))||(this.processLinkingErrors(e,s,t),t.stopAfterLinkingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LinkingError}))))return s;try{s.push(...await this.validateAst(i.value,t,r))}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a)}return await Le(r),s}processLexingErrors(e,t,r){for(const i of e.lexerErrors){const s={severity:Or("error"),range:{start:{line:i.line-1,character:i.column-1},end:{line:i.line-1,character:i.column+i.length-1}},message:i.message,data:Ka(Qe.LexingError),source:this.getSource()};t.push(s)}}processParsingErrors(e,t,r){for(const i of e.parserErrors){let s;if(isNaN(i.token.startOffset)){if("previousToken"in i){const a=i.previousToken;if(isNaN(a.startOffset)){const o={line:0,character:0};s={start:o,end:o}}else{const o={line:a.endLine-1,character:a.endColumn};s={start:o,end:o}}}}else s=Dr(i.token);if(s){const a={severity:Or("error"),range:s,message:i.message,data:Ka(Qe.ParsingError),source:this.getSource()};t.push(a)}}}processLinkingErrors(e,t,r){for(const i of e.references){const s=i.error;if(s){const a={node:s.container,property:s.property,index:s.index,data:{code:Qe.LinkingError,containerType:s.container.$type,property:s.property,refText:s.reference.$refText}};t.push(this.toDiagnostic("error",s.message,a))}}}async validateAst(e,t,r=X.None){const i=[],s=(a,o,l)=>{i.push(this.toDiagnostic(a,o,l))};return await Promise.all(Et(e).map(async a=>{await Le(r);const o=this.validationRegistry.getChecks(a.$type,t.categories);for(const l of o)await l(a,s,r)})),i}toDiagnostic(e,t,r){return{message:t,range:Am(r),severity:Or(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function Am(n){if(n.range)return n.range;let e;return typeof n.property=="string"?e=il(n.node.$cstNode,n.property,n.index):typeof n.keyword=="string"&&(e=Nd(n.node.$cstNode,n.keyword,n.index)),e??(e=n.node.$cstNode),e?e.range:{start:{line:0,character:0},end:{line:0,character:0}}}function Or(n){switch(n){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+n)}}var Qe;(function(n){n.LexingError="lexing-error",n.ParsingError="parsing-error",n.LinkingError="linking-error"})(Qe||(Qe={}));class bm{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=Ue(e)){t??(t=this.nameProvider.getName(e));const i=this.astNodeLocator.getAstNodePath(e);if(!t)throw new Error(`Node at path ${i} has no name.`);let s;const a=()=>{var o;return s??(s=Ln((o=this.nameProvider.getNameNode(e))!==null&&o!==void 0?o:e.$cstNode))};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:Ln(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class Nm{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=X.None){const r=[],i=e.parseResult.value;for(const s of Et(i))await Le(t),Zo(s).filter(a=>!kn(a)).forEach(a=>{const o=this.createDescription(a);o&&r.push(o)});return r}createDescription(e){const t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;const i=Ue(e.container).uri;return{sourceUri:i,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:Ln(r),local:rt.equals(t.documentUri,i)}}}class km{constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){const t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return t!==void 0?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((i,s)=>{if(!i||s.length===0)return i;const a=s.indexOf(this.indexSeparator);if(a>0){const o=s.substring(0,a),l=parseInt(s.substring(a+1)),c=i[o];return c==null?void 0:c[l]}return i[s]},e)}}class Im{constructor(e){this._ready=new Vi,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=(r=(t=e.capabilities.workspace)===null||t===void 0?void 0:t.configuration)!==null&&r!==void 0?r:!1}async initialized(e){if(this.workspaceConfig){if(e.register){const t=this.serviceRegistry.all;e.register({section:t.map(r=>this.toSectionName(r.LanguageMetaData.languageId))})}if(e.fetchConfiguration){const t=this.serviceRegistry.all.map(i=>({section:this.toSectionName(i.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((i,s)=>{this.updateSectionConfiguration(i.section,r[s])})}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;const r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}var er;(function(n){function e(t){return{dispose:async()=>await t()}}n.create=e})(er||(er={}));class Sm{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Wi,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=U.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=X.None){var i,s;for(const a of e){const o=a.uri.toString();if(a.state===U.Validated){if(typeof t.validation=="boolean"&&t.validation)a.state=U.IndexedReferences,a.diagnostics=void 0,this.buildState.delete(o);else if(typeof t.validation=="object"){const l=this.buildState.get(o),c=(i=l==null?void 0:l.result)===null||i===void 0?void 0:i.validationChecks;if(c){const d=((s=t.validation.categories)!==null&&s!==void 0?s:Zn.all).filter(f=>!c.includes(f));d.length>0&&(this.buildState.set(o,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:d})},result:l.result}),a.state=U.IndexedReferences)}}}else this.buildState.delete(o)}this.currentState=U.Changed,await this.emitUpdate(e.map(a=>a.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=X.None){this.currentState=U.Changed;for(const a of t)this.langiumDocuments.deleteDocument(a),this.buildState.delete(a.toString()),this.indexManager.remove(a);for(const a of e){if(!this.langiumDocuments.invalidateDocument(a)){const l=this.langiumDocumentFactory.fromModel({$type:"INVALID"},a);l.state=U.Changed,this.langiumDocuments.addDocument(l)}this.buildState.delete(a.toString())}const i=Q(e).concat(t).map(a=>a.toString()).toSet();this.langiumDocuments.all.filter(a=>!i.has(a.uri.toString())&&this.shouldRelink(a,i)).forEach(a=>{this.serviceRegistry.getServices(a.uri).references.Linker.unlink(a),a.state=Math.min(a.state,U.ComputedScopes),a.diagnostics=void 0}),await this.emitUpdate(e,t),await Le(r);const s=this.langiumDocuments.all.filter(a=>{var o;return a.stater(e,t)))}shouldRelink(e,t){return e.references.some(r=>r.error!==void 0)?!0:this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),er.create(()=>{const t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,U.Parsed,r,s=>this.langiumDocumentFactory.update(s,r)),await this.runCancelable(e,U.IndexedContent,r,s=>this.indexManager.updateContent(s,r)),await this.runCancelable(e,U.ComputedScopes,r,async s=>{const a=this.serviceRegistry.getServices(s.uri).references.ScopeComputation;s.precomputedScopes=await a.computeLocalScopes(s,r)}),await this.runCancelable(e,U.Linked,r,s=>this.serviceRegistry.getServices(s.uri).references.Linker.link(s,r)),await this.runCancelable(e,U.IndexedReferences,r,s=>this.indexManager.updateReferences(s,r));const i=e.filter(s=>this.shouldValidate(s));await this.runCancelable(i,U.Validated,r,s=>this.validate(s,r));for(const s of e){const a=this.buildState.get(s.uri.toString());a&&(a.completed=!0)}}prepareBuild(e,t){for(const r of e){const i=r.uri.toString(),s=this.buildState.get(i);(!s||s.completed)&&this.buildState.set(i,{completed:!1,options:t,result:s==null?void 0:s.result})}}async runCancelable(e,t,r,i){const s=e.filter(a=>a.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let i;if(t&&"path"in t?i=t:r=t,r??(r=X.None),i){const s=this.langiumDocuments.getDocument(i);if(s&&s.state>e)return Promise.resolve(i)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(Qn):new Promise((s,a)=>{const o=this.onBuildPhase(e,()=>{if(o.dispose(),l.dispose(),i){const c=this.langiumDocuments.getDocument(i);s(c==null?void 0:c.uri)}else s(void 0)}),l=r.onCancellationRequested(()=>{o.dispose(),l.dispose(),a(Qn)})})}async notifyBuildPhase(e,t,r){if(e.length===0)return;const i=this.buildPhaseListeners.get(t);for(const s of i)await Le(r),await s(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,i;const s=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,o=typeof a=="object"?a:void 0,l=await s.validateDocument(e,o,t);e.diagnostics?e.diagnostics.push(...l):e.diagnostics=l;const c=this.buildState.get(e.uri.toString());if(c){(r=c.result)!==null&&r!==void 0||(c.result={});const u=(i=o==null?void 0:o.categories)!==null&&i!==void 0?i:Zn.all;c.result.validationChecks?c.result.validationChecks.push(...u):c.result.validationChecks=[...u]}}getBuildOptions(e){var t,r;return(r=(t=this.buildState.get(e.uri.toString()))===null||t===void 0?void 0:t.options)!==null&&r!==void 0?r:{}}}class xm{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new mm,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){const r=Ue(e).uri,i=[];return this.referenceIndex.forEach(s=>{s.forEach(a=>{rt.equals(a.targetUri,r)&&a.targetPath===t&&i.push(a)})}),Q(i)}allElements(e,t){let r=Q(this.symbolIndex.keys());return t&&(r=r.filter(i=>!t||t.has(i))),r.map(i=>this.getFileDescriptions(i,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var s;return((s=this.symbolIndex.get(e))!==null&&s!==void 0?s:[]).filter(o=>this.astReflection.isSubtype(o.type,t))}):(r=this.symbolIndex.get(e))!==null&&r!==void 0?r:[]}remove(e){const t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.computeExports(e,t),s=e.uri.toString();this.symbolIndex.set(s,i),this.symbolByTypeIndex.clear(s)}async updateReferences(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),i)}isAffected(e,t){const r=this.referenceIndex.get(e.uri.toString());return r?r.some(i=>!i.local&&t.has(i.targetUri.toString())):!1}}class Cm{constructor(e){this.initialBuildOptions={},this._ready=new Vi,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=(t=e.workspaceFolders)!==null&&t!==void 0?t:void 0}initialized(e){return this.mutex.write(t=>{var r;return this.initializeWorkspace((r=this.folders)!==null&&r!==void 0?r:[],t)})}async initializeWorkspace(e,t=X.None){const r=await this.performStartup(e);await Le(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){const t=this.serviceRegistry.all.flatMap(s=>s.LanguageMetaData.fileExtensions),r=[],i=s=>{r.push(s),this.langiumDocuments.hasDocument(s.uri)||this.langiumDocuments.addDocument(s)};return await this.loadAdditionalDocuments(e,i),await Promise.all(e.map(s=>[s,this.getRootFolder(s)]).map(async s=>this.traverseFolder(...s,t,i))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return Wt.parse(e.uri)}async traverseFolder(e,t,r,i){const s=await this.fileSystemProvider.readDirectory(t);await Promise.all(s.map(async a=>{if(this.includeEntry(e,a,r)){if(a.isDirectory)await this.traverseFolder(e,a.uri,r,i);else if(a.isFile){const o=await this.langiumDocuments.getOrCreateDocument(a.uri);i(o)}}}))}includeEntry(e,t,r){const i=rt.basename(t.uri);if(i.startsWith("."))return!1;if(t.isDirectory)return i!=="node_modules"&&i!=="out";if(t.isFile){const s=rt.extname(t.uri);return r.includes(s)}return!1}}class wm{constructor(e){const t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);const r=za(t)?Object.values(t):t;this.chevrotainLexer=new de(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;const r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:(t=r.groups.hidden)!==null&&t!==void 0?t:[]}}toTokenTypeDictionary(e){if(za(e))return e;const t=gc(e)?Object.values(e.modes).flat():e,r={};return t.forEach(i=>r[i.name]=i),r}}function Om(n){return Array.isArray(n)&&(n.length===0||"name"in n[0])}function gc(n){return n&&"modes"in n&&"defaultMode"in n}function za(n){return!Om(n)&&!gc(n)}function Lm(n,e,t){let r,i;typeof n=="string"?(i=e,r=t):(i=n.range.start,r=e),i||(i=P.create(0,0));const s=yc(n),a=Ki(r),o=Mm({lines:s,position:i,options:a});return Fm({index:0,tokens:o,position:i})}function $m(n,e){const t=Ki(e),r=yc(n);if(r.length===0)return!1;const i=r[0],s=r[r.length-1],a=t.start,o=t.end;return!!(a!=null&&a.exec(i))&&!!(o!=null&&o.exec(s))}function yc(n){let e="";return typeof n=="string"?e=n:e=n.text,e.split(hd)}const qa=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Pm=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;function Mm(n){var e,t,r;const i=[];let s=n.position.line,a=n.position.character;for(let o=0;o=u.length){if(i.length>0){const h=P.create(s,a);i.push({type:"break",content:"",range:$.create(h,h)})}}else{qa.lastIndex=d;const h=qa.exec(u);if(h){const m=h[0],g=h[1],_=P.create(s,a+d),y=P.create(s,a+d+m.length);i.push({type:"tag",content:g,range:$.create(_,y)}),d+=m.length,d=yi(u,d)}if(d0&&i[i.length-1].type==="break"?i.slice(0,-1):i}function Dm(n,e,t,r){const i=[];if(n.length===0){const s=P.create(t,r),a=P.create(t,r+e.length);i.push({type:"text",content:e,range:$.create(s,a)})}else{let s=0;for(const o of n){const l=o.index,c=e.substring(s,l);c.length>0&&i.push({type:"text",content:e.substring(s,l),range:$.create(P.create(t,s+r),P.create(t,l+r))});let u=c.length+1;const d=o[1];if(i.push({type:"inline-tag",content:d,range:$.create(P.create(t,s+u+r),P.create(t,s+u+d.length+r))}),u+=d.length,o.length===4){u+=o[2].length;const f=o[3];i.push({type:"text",content:f,range:$.create(P.create(t,s+u+r),P.create(t,s+u+f.length+r))})}else i.push({type:"text",content:"",range:$.create(P.create(t,s+u+r),P.create(t,s+u+r))});s=l+o[0].length}const a=e.substring(s);a.length>0&&i.push({type:"text",content:a,range:$.create(P.create(t,s+r),P.create(t,s+r+a.length))})}return i}const jm=/\S/,Gm=/\s*$/;function yi(n,e){const t=n.substring(e).match(jm);return t?e+t.index:n.length}function Um(n){const e=n.match(Gm);if(e&&typeof e.index=="number")return e.index}function Fm(n){var e,t,r,i;const s=P.create(n.position.line,n.position.character);if(n.tokens.length===0)return new Ya([],$.create(s,s));const a=[];for(;n.indext.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(const t of this.elements)if(e.length===0)e=t.toString();else{const r=t.toString();e+=Xa(e)+r}return e.trim()}toMarkdown(e){let t="";for(const r of this.elements)if(t.length===0)t=r.toMarkdown(e);else{const i=r.toMarkdown(e);t+=Xa(t)+i}return t.trim()}}class $r{constructor(e,t,r,i){this.name=e,this.content=t,this.inline=r,this.range=i}toString(){let e=`@${this.name}`;const t=this.content.toString();return this.content.inlines.length===1?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} +`;case"r":return"\r";case"t":return" ";case"v":return"\v";case"0":return"\0";default:return c}}function r(c){return c.charAt(0)==="^"?c.substring(1):c}n.convertID=r;function i(c){return parseInt(c)}n.convertInt=i;function s(c){return BigInt(c)}n.convertBigint=s;function a(c){return new Date(c)}n.convertDate=a;function o(c){return Number(c)}n.convertNumber=o;function l(c){return c.toLowerCase()==="true"}n.convertBoolean=l})(Ve||(Ve={}));var dn={},yr={};Object.defineProperty(yr,"__esModule",{value:!0});let di;function fi(){if(di===void 0)throw new Error("No runtime abstraction layer installed");return di}(function(n){function e(t){if(t===void 0)throw new Error("No runtime abstraction layer provided");di=t}n.install=e})(fi||(fi={}));yr.default=fi;var se={};Object.defineProperty(se,"__esModule",{value:!0});se.stringArray=se.array=se.func=se.error=se.number=se.string=se.boolean=void 0;function Kp(n){return n===!0||n===!1}se.boolean=Kp;function uc(n){return typeof n=="string"||n instanceof String}se.string=uc;function zp(n){return typeof n=="number"||n instanceof Number}se.number=zp;function qp(n){return n instanceof Error}se.error=qp;function Yp(n){return typeof n=="function"}se.func=Yp;function dc(n){return Array.isArray(n)}se.array=dc;function Xp(n){return dc(n)&&n.every(e=>uc(e))}se.stringArray=Xp;var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.Emitter=Vt.Event=void 0;const Jp=yr;var Ga;(function(n){const e={dispose(){}};n.None=function(){return e}})(Ga||(Vt.Event=Ga={}));class Qp{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i{this._callbacks||(this._callbacks=new Qp),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=Tr._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}Vt.Emitter=Tr;Tr._noop=function(){};var X;Object.defineProperty(dn,"__esModule",{value:!0});var hi=dn.CancellationTokenSource=X=dn.CancellationToken=void 0;const Zp=yr,em=se,pi=Vt;var Jn;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:pi.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:pi.Event.None});function e(t){const r=t;return r&&(r===n.None||r===n.Cancelled||em.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(Jn||(X=dn.CancellationToken=Jn={}));const tm=Object.freeze(function(n,e){const t=(0,Zp.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}});class Ua{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?tm:(this._emitter||(this._emitter=new pi.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}class nm{get token(){return this._token||(this._token=new Ua),this._token}cancel(){this._token?this._token.cancel():this._token=Jn.Cancelled}dispose(){this._token?this._token instanceof Ua&&this._token.dispose():this._token=Jn.None}}hi=dn.CancellationTokenSource=nm;function rm(){return new Promise(n=>{typeof setImmediate>"u"?setTimeout(n,0):setImmediate(n)})}let Fa=0,im=10;const Qn=Symbol("OperationCancelled");function Hi(n){return n===Qn}async function Le(n){if(n===X.None)return;const e=Date.now();if(e-Fa>=im&&(Fa=e,await rm()),n.isCancellationRequested)throw Qn}class Vi{constructor(){this.promise=new Promise((e,t)=>{this.resolve=r=>(e(r),this),this.reject=r=>(t(r),this)})}}class fn{constructor(e,t,r,i){this._uri=e,this._languageId=t,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(const r of e)if(fn.isIncremental(r)){const i=hc(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),l=Math.max(i.end.line,0);let c=this._lineOffsets;const u=Ba(r.text,!1,s);if(l-o===u.length)for(let f=0,h=u.length;fe?i=a:r=a+1}const s=r-1;return e=this.ensureBeforeEOL(e,t[s]),{line:s,character:e-t[s]}}offsetAt(e){const t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;const r=t[e.line];if(e.character<=0)return r;const i=e.line+1t&&fc(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength=="number")}static isFull(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range===void 0&&t.rangeLength===void 0}}var mi;(function(n){function e(i,s,a,o){return new fn(i,s,a,o)}n.create=e;function t(i,s,a){if(i instanceof fn)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}n.update=t;function r(i,s){const a=i.getText(),o=gi(s.map(sm),(u,d)=>{const f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f});let l=0;const c=[];for(const u of o){const d=i.offsetAt(u.range.start);if(dl&&c.push(a.substring(l,d)),u.newText.length&&c.push(u.newText),l=i.offsetAt(u.range.end)}return c.push(a.substr(l)),c.join("")}n.applyEdits=r})(mi||(mi={}));function gi(n,e){if(n.length<=1)return n;const t=n.length/2|0,r=n.slice(0,t),i=n.slice(t);gi(r,e),gi(i,e);let s=0,a=0,o=0;for(;st.line||e.line===t.line&&e.character>t.character?{start:t,end:e}:n}function sm(n){const e=hc(n.range);return e!==n.range?{newText:n.newText,range:e}:n}var wr={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},pc;(()=>{var n={470:i=>{function s(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function a(l,c){for(var u,d="",f=0,h=-1,m=0,g=0;g<=l.length;++g){if(g2){var _=d.lastIndexOf("/");if(_!==d.length-1){_===-1?(d="",f=0):f=(d=d.slice(0,_)).length-1-d.lastIndexOf("/"),h=g,m=0;continue}}else if(d.length===2||d.length===1){d="",f=0,h=g,m=0;continue}}c&&(d.length>0?d+="/..":d="..",f=2)}else d.length>0?d+="/"+l.slice(h+1,g):d=l.slice(h+1,g),f=g-h-1;h=g,m=0}else u===46&&m!==-1?++m:m=-1}return d}var o={resolve:function(){for(var l,c="",u=!1,d=arguments.length-1;d>=-1&&!u;d--){var f;d>=0?f=arguments[d]:(l===void 0&&(l=wr.cwd()),f=l),s(f),f.length!==0&&(c=f+"/"+c,u=f.charCodeAt(0)===47)}return c=a(c,!u),u?c.length>0?"/"+c:"/":c.length>0?c:"."},normalize:function(l){if(s(l),l.length===0)return".";var c=l.charCodeAt(0)===47,u=l.charCodeAt(l.length-1)===47;return(l=a(l,!c)).length!==0||c||(l="."),l.length>0&&u&&(l+="/"),c?"/"+l:l},isAbsolute:function(l){return s(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,c=0;c0&&(l===void 0?l=u:l+="/"+u)}return l===void 0?".":o.normalize(l)},relative:function(l,c){if(s(l),s(c),l===c||(l=o.resolve(l))===(c=o.resolve(c)))return"";for(var u=1;ug){if(c.charCodeAt(h+y)===47)return c.slice(h+y+1);if(y===0)return c.slice(h+y)}else f>g&&(l.charCodeAt(u+y)===47?_=y:y===0&&(_=0));break}var E=l.charCodeAt(u+y);if(E!==c.charCodeAt(h+y))break;E===47&&(_=y)}var v="";for(y=u+_+1;y<=d;++y)y!==d&&l.charCodeAt(y)!==47||(v.length===0?v+="..":v+="/..");return v.length>0?v+c.slice(h+_):(h+=_,c.charCodeAt(h)===47&&++h,c.slice(h))},_makeLong:function(l){return l},dirname:function(l){if(s(l),l.length===0)return".";for(var c=l.charCodeAt(0),u=c===47,d=-1,f=!0,h=l.length-1;h>=1;--h)if((c=l.charCodeAt(h))===47){if(!f){d=h;break}}else f=!1;return d===-1?u?"/":".":u&&d===1?"//":l.slice(0,d)},basename:function(l,c){if(c!==void 0&&typeof c!="string")throw new TypeError('"ext" argument must be a string');s(l);var u,d=0,f=-1,h=!0;if(c!==void 0&&c.length>0&&c.length<=l.length){if(c.length===l.length&&c===l)return"";var m=c.length-1,g=-1;for(u=l.length-1;u>=0;--u){var _=l.charCodeAt(u);if(_===47){if(!h){d=u+1;break}}else g===-1&&(h=!1,g=u+1),m>=0&&(_===c.charCodeAt(m)?--m==-1&&(f=u):(m=-1,f=g))}return d===f?f=g:f===-1&&(f=l.length),l.slice(d,f)}for(u=l.length-1;u>=0;--u)if(l.charCodeAt(u)===47){if(!h){d=u+1;break}}else f===-1&&(h=!1,f=u+1);return f===-1?"":l.slice(d,f)},extname:function(l){s(l);for(var c=-1,u=0,d=-1,f=!0,h=0,m=l.length-1;m>=0;--m){var g=l.charCodeAt(m);if(g!==47)d===-1&&(f=!1,d=m+1),g===46?c===-1?c=m:h!==1&&(h=1):c!==-1&&(h=-1);else if(!f){u=m+1;break}}return c===-1||d===-1||h===0||h===1&&c===d-1&&c===u+1?"":l.slice(c,d)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return function(c,u){var d=u.dir||u.root,f=u.base||(u.name||"")+(u.ext||"");return d?d===u.root?d+f:d+"/"+f:f}(0,l)},parse:function(l){s(l);var c={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return c;var u,d=l.charCodeAt(0),f=d===47;f?(c.root="/",u=1):u=0;for(var h=-1,m=0,g=-1,_=!0,y=l.length-1,E=0;y>=u;--y)if((d=l.charCodeAt(y))!==47)g===-1&&(_=!1,g=y+1),d===46?h===-1?h=y:E!==1&&(E=1):h!==-1&&(E=-1);else if(!_){m=y+1;break}return h===-1||g===-1||E===0||E===1&&h===g-1&&h===m+1?g!==-1&&(c.base=c.name=m===0&&f?l.slice(1,g):l.slice(m,g)):(m===0&&f?(c.name=l.slice(1,h),c.base=l.slice(1,g)):(c.name=l.slice(m,h),c.base=l.slice(m,g)),c.ext=l.slice(h,g)),m>0?c.dir=l.slice(0,m-1):f&&(c.dir="/"),c},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},e={};function t(i){var s=e[i];if(s!==void 0)return s.exports;var a=e[i]={exports:{}};return n[i](a,a.exports,t),a.exports}t.d=(i,s)=>{for(var a in s)t.o(s,a)&&!t.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},t.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),t.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;t.r(r),t.d(r,{URI:()=>f,Utils:()=>be}),typeof wr=="object"?i=wr.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function l(A,T){if(!A.scheme&&T)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${A.authority}", path: "${A.path}", query: "${A.query}", fragment: "${A.fragment}"}`);if(A.scheme&&!s.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!a.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const c="",u="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{constructor(T,R,N,L,O,w=!1){Je(this,"scheme");Je(this,"authority");Je(this,"path");Je(this,"query");Je(this,"fragment");typeof T=="object"?(this.scheme=T.scheme||c,this.authority=T.authority||c,this.path=T.path||c,this.query=T.query||c,this.fragment=T.fragment||c):(this.scheme=function(ye,z){return ye||z?ye:"file"}(T,w),this.authority=R||c,this.path=function(ye,z){switch(ye){case"https":case"http":case"file":z?z[0]!==u&&(z=u+z):z=u}return z}(this.scheme,N||c),this.query=L||c,this.fragment=O||c,l(this,w))}static isUri(T){return T instanceof f||!!T&&typeof T.authority=="string"&&typeof T.fragment=="string"&&typeof T.path=="string"&&typeof T.query=="string"&&typeof T.scheme=="string"&&typeof T.fsPath=="string"&&typeof T.with=="function"&&typeof T.toString=="function"}get fsPath(){return E(this)}with(T){if(!T)return this;let{scheme:R,authority:N,path:L,query:O,fragment:w}=T;return R===void 0?R=this.scheme:R===null&&(R=c),N===void 0?N=this.authority:N===null&&(N=c),L===void 0?L=this.path:L===null&&(L=c),O===void 0?O=this.query:O===null&&(O=c),w===void 0?w=this.fragment:w===null&&(w=c),R===this.scheme&&N===this.authority&&L===this.path&&O===this.query&&w===this.fragment?this:new m(R,N,L,O,w)}static parse(T,R=!1){const N=d.exec(T);return N?new m(N[2]||c,ne(N[4]||c),ne(N[5]||c),ne(N[7]||c),ne(N[9]||c),R):new m(c,c,c,c,c)}static file(T){let R=c;if(i&&(T=T.replace(/\\/g,u)),T[0]===u&&T[1]===u){const N=T.indexOf(u,2);N===-1?(R=T.substring(2),T=u):(R=T.substring(2,N),T=T.substring(N)||u)}return new m("file",R,T,c,c)}static from(T){const R=new m(T.scheme,T.authority,T.path,T.query,T.fragment);return l(R,!0),R}toString(T=!1){return v(this,T)}toJSON(){return this}static revive(T){if(T){if(T instanceof f)return T;{const R=new m(T);return R._formatted=T.external,R._fsPath=T._sep===h?T.fsPath:null,R}}return T}}const h=i?1:void 0;class m extends f{constructor(){super(...arguments);Je(this,"_formatted",null);Je(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=E(this)),this._fsPath}toString(R=!1){return R?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=h),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R}}const g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function _(A,T,R){let N,L=-1;for(let O=0;O=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===45||w===46||w===95||w===126||T&&w===47||R&&w===91||R&&w===93||R&&w===58)L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N!==void 0&&(N+=A.charAt(O));else{N===void 0&&(N=A.substr(0,O));const ye=g[w];ye!==void 0?(L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N+=ye):L===-1&&(L=O)}}return L!==-1&&(N+=encodeURIComponent(A.substring(L))),N!==void 0?N:A}function y(A){let T;for(let R=0;R1&&A.scheme==="file"?`//${A.authority}${A.path}`:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?A.path[1].toLowerCase()+A.path.substr(2):A.path,i&&(R=R.replace(/\//g,"\\")),R}function v(A,T){const R=T?y:_;let N="",{scheme:L,authority:O,path:w,query:ye,fragment:z}=A;if(L&&(N+=L,N+=":"),(O||L==="file")&&(N+=u,N+=u),O){let B=O.indexOf("@");if(B!==-1){const at=O.substr(0,B);O=O.substr(B+1),B=at.lastIndexOf(":"),B===-1?N+=R(at,!1,!1):(N+=R(at.substr(0,B),!1,!1),N+=":",N+=R(at.substr(B+1),!1,!0)),N+="@"}O=O.toLowerCase(),B=O.lastIndexOf(":"),B===-1?N+=R(O,!1,!0):(N+=R(O.substr(0,B),!1,!0),N+=O.substr(B))}if(w){if(w.length>=3&&w.charCodeAt(0)===47&&w.charCodeAt(2)===58){const B=w.charCodeAt(1);B>=65&&B<=90&&(w=`/${String.fromCharCode(B+32)}:${w.substr(3)}`)}else if(w.length>=2&&w.charCodeAt(1)===58){const B=w.charCodeAt(0);B>=65&&B<=90&&(w=`${String.fromCharCode(B+32)}:${w.substr(2)}`)}N+=R(w,!0,!1)}return ye&&(N+="?",N+=R(ye,!1,!1)),z&&(N+="#",N+=T?z:_(z,!1,!1)),N}function I(A){try{return decodeURIComponent(A)}catch{return A.length>3?A.substr(0,3)+I(A.substr(3)):A}}const j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ne(A){return A.match(j)?A.replace(j,T=>I(T)):A}var Ce=t(470);const ge=Ce.posix||Ce,De="/";var be;(function(A){A.joinPath=function(T,...R){return T.with({path:ge.join(T.path,...R)})},A.resolvePath=function(T,...R){let N=T.path,L=!1;N[0]!==De&&(N=De+N,L=!0);let O=ge.resolve(N,...R);return L&&O[0]===De&&!T.authority&&(O=O.substring(1)),T.with({path:O})},A.dirname=function(T){if(T.path.length===0||T.path===De)return T;let R=ge.dirname(T.path);return R.length===1&&R.charCodeAt(0)===46&&(R=""),T.with({path:R})},A.basename=function(T){return ge.basename(T.path)},A.extname=function(T){return ge.extname(T.path)}})(be||(be={}))})(),pc=r})();const{URI:Wt,Utils:sn}=pc;var rt;(function(n){n.basename=sn.basename,n.dirname=sn.dirname,n.extname=sn.extname,n.joinPath=sn.joinPath,n.resolvePath=sn.resolvePath;function e(r,i){return(r==null?void 0:r.toString())===(i==null?void 0:i.toString())}n.equals=e;function t(r,i){const s=typeof r=="string"?r:r.path,a=typeof i=="string"?i:i.path,o=s.split("/").filter(f=>f.length>0),l=a.split("/").filter(f=>f.length>0);let c=0;for(;ci??(i=mi.create(e.toString(),r.getServices(e).LanguageMetaData.languageId,0,t??""))}}class om{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return Q(this.documentMap.values())}addDocument(e){const t=e.uri.toString();if(this.documentMap.has(t))throw new Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){const t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r||(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(i=>(this.addDocument(i),i));{const i=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(i),i}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,this.documentMap.delete(t)),r}}class lm{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=X.None){for(const r of Et(e.parseResult.value))await Le(t),Zo(r).forEach(i=>this.doLink(i,e))}doLink(e,t){const r=e.reference;if(r._ref===void 0)try{const i=this.getCandidate(e);if(kn(i))r._ref=i;else if(r._nodeDescription=i,this.langiumDocuments().hasDocument(i.documentUri)){const s=this.loadAstNode(i);r._ref=s??this.createLinkingError(e,i)}}catch(i){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${i}`})}t.references.push(r)}unlink(e){for(const t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){const r=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return r??this.createLinkingError(e)}buildReference(e,t,r,i){const s=this,a={$refNode:r,$refText:i,get ref(){var o;if(ae(this._ref))return this._ref;if(Nu(this._nodeDescription)){const l=s.loadAstNode(this._nodeDescription);this._ref=l??s.createLinkingError({reference:a,container:e,property:t},this._nodeDescription)}else if(this._ref===void 0){const l=s.getLinkedNode({reference:a,container:e,property:t});if(l.error&&Ue(e).state=e.end)return s.ref}}if(r){const i=this.nameProvider.getNameNode(r);if(i&&(i===e||Su(e,i)))return r}}}findDeclarationNode(e){const t=this.findDeclaration(e);if(t!=null&&t.$cstNode){const r=this.nameProvider.getNameNode(t);return r??t.$cstNode}}findReferences(e,t){const r=[];if(t.includeDeclaration){const s=this.getReferenceToSelf(e);s&&r.push(s)}let i=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(i=i.filter(s=>rt.equals(s.sourceUri,t.documentUri))),r.push(...i),Q(r)}getReferenceToSelf(e){const t=this.nameProvider.getNameNode(e);if(t){const r=Ue(e),i=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:i,targetUri:r.uri,targetPath:i,segment:Ln(t),local:!0}}}}class Wi{constructor(e){if(this.map=new Map,e)for(const[t,r]of e)this.add(t,r)}get size(){return Pr.sum(Q(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(t===void 0)return this.map.delete(e);{const r=this.map.get(e);if(r){const i=r.indexOf(t);if(i>=0)return r.length===1?this.map.delete(e):r.splice(i,1),!0}return!1}}get(e){var t;return(t=this.map.get(e))!==null&&t!==void 0?t:[]}has(e,t){if(t===void 0)return this.map.has(e);{const r=this.map.get(e);return r?r.indexOf(t)>=0:!1}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(i=>e(i,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return Q(this.map.entries()).flatMap(([e,t])=>t.map(r=>[e,r]))}keys(){return Q(this.map.keys())}values(){return Q(this.map.values()).flat()}entriesGroupedByKey(){return Q(this.map.entries())}}class Ha{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(const[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){const t=this.map.get(e);return t!==void 0?(this.map.delete(e),this.inverse.delete(t),!0):!1}}class fm{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=X.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=ki,i=X.None){const s=[];this.exportNode(e,s,t);for(const a of r(e))await Le(i),this.exportNode(a,s,t);return s}exportNode(e,t,r){const i=this.nameProvider.getName(e);i&&t.push(this.descriptions.createDescription(e,i,r))}async computeLocalScopes(e,t=X.None){const r=e.parseResult.value,i=new Wi;for(const s of pn(r))await Le(t),this.processNode(s,e,i);return i}processNode(e,t,r){const i=e.$container;if(i){const s=this.nameProvider.getName(e);s&&r.add(i,this.descriptions.createDescription(e,s,t))}}}class Va{constructor(e,t,r){var i;this.elements=e,this.outerScope=t,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){const t=this.caseInsensitive?this.elements.find(r=>r.name.toLowerCase()===e.toLowerCase()):this.elements.find(r=>r.name===e);if(t)return t;if(this.outerScope)return this.outerScope.getElement(e)}}class hm{constructor(e,t,r){var i;this.elements=new Map,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1;for(const s of e){const a=this.caseInsensitive?s.name.toLowerCase():s.name;this.elements.set(a,s)}this.outerScope=t}getElement(e){const t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);if(r)return r;if(this.outerScope)return this.outerScope.getElement(e)}getAllElements(){let e=Q(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class mc{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}}class pm extends mc{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(t){const r=t();return this.cache.set(e,r),r}else return}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class mm extends mc{constructor(e){super(),this.cache=new Map,this.converter=e??(t=>t)}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();const i=this.cacheForContext(e);if(i.has(t))return i.get(t);if(r){const s=r();return i.set(t,s),s}else return}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){const t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){const t=this.converter(e);let r=this.cache.get(t);return r||(r=new Map,this.cache.set(t,r)),r}}class gm extends pm{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class ym{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new gm(e.shared)}getScope(e){const t=[],r=this.reflection.getReferenceType(e),i=Ue(e.container).precomputedScopes;if(i){let a=e.container;do{const o=i.get(a);o.length>0&&t.push(Q(o).filter(l=>this.reflection.isSubtype(l.type,r))),a=a.$container}while(a)}let s=this.getGlobalScope(r,e);for(let a=t.length-1;a>=0;a--)s=this.createScope(t[a],s);return s}createScope(e,t,r){return new Va(Q(e),t,r)}createScopeForNodes(e,t,r){const i=Q(e).map(s=>{const a=this.nameProvider.getName(s);if(a)return this.descriptions.createDescription(s,a)}).nonNullable();return new Va(i,t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new hm(this.indexManager.allElements(e)))}}function Tm(n){return typeof n.$comment=="string"}function Wa(n){return typeof n=="object"&&!!n&&("$ref"in n||"$error"in n)}class vm{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){const r=t==null?void 0:t.replacer,i=(a,o)=>this.replacer(a,o,t),s=r?(a,o)=>r(a,o,i):i;try{return this.currentDocument=Ue(e),JSON.stringify(e,s,t==null?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){const r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:i,textRegions:s,comments:a,uriConverter:o}){var l,c,u,d;if(!this.ignoreProperties.has(e))if(Ge(t)){const f=t.ref,h=r?t.$refText:void 0;if(f){const m=Ue(f);let g="";this.currentDocument&&this.currentDocument!==m&&(o?g=o(m.uri,t):g=m.uri.toString());const _=this.astNodeLocator.getAstNodePath(f);return{$ref:`${g}#${_}`,$refText:h}}else return{$error:(c=(l=t.error)===null||l===void 0?void 0:l.message)!==null&&c!==void 0?c:"Could not resolve reference",$refText:h}}else if(ae(t)){let f;if(s&&(f=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(f!=null&&f.$textRegion)&&(f.$textRegion.documentURI=(u=this.currentDocument)===null||u===void 0?void 0:u.uri.toString())),i&&!e&&(f??(f=Object.assign({},t)),f.$sourceText=(d=t.$cstNode)===null||d===void 0?void 0:d.text),a){f??(f=Object.assign({},t));const h=this.commentProvider.getComment(t);h&&(f.$comment=h.replace(/\r/g,""))}return f??t}else return t}addAstNodeRegionWithAssignmentsTo(e){const t=r=>({offset:r.offset,end:r.end,length:r.length,range:r.range});if(e.$cstNode){const r=e.$textRegion=t(e.$cstNode),i=r.assignments={};return Object.keys(e).filter(s=>!s.startsWith("$")).forEach(s=>{const a=bd(e.$cstNode,s).map(t);a.length!==0&&(i[s]=a)}),e}}linkNode(e,t,r,i,s,a){for(const[l,c]of Object.entries(e))if(Array.isArray(c))for(let u=0;u{try{await e.call(t,r,i,s)}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a);const o=a instanceof Error?a.message:String(a);a instanceof Error&&a.stack&&console.error(a.stack),i("error","An error occurred during validation: "+o,{node:r})}}}addEntry(e,t){if(e==="AstNode"){this.entries.add("AstNode",t);return}for(const r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=Q(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(i=>t.includes(i.category))),r.map(i=>i.check)}}class Rm{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=X.None){const i=e.parseResult,s=[];if(await Le(r),(!t.categories||t.categories.includes("built-in"))&&(this.processLexingErrors(i,s,t),t.stopAfterLexingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LexingError})||(this.processParsingErrors(i,s,t),t.stopAfterParsingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.ParsingError}))||(this.processLinkingErrors(e,s,t),t.stopAfterLinkingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LinkingError}))))return s;try{s.push(...await this.validateAst(i.value,t,r))}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a)}return await Le(r),s}processLexingErrors(e,t,r){for(const i of e.lexerErrors){const s={severity:Or("error"),range:{start:{line:i.line-1,character:i.column-1},end:{line:i.line-1,character:i.column+i.length-1}},message:i.message,data:Ka(Qe.LexingError),source:this.getSource()};t.push(s)}}processParsingErrors(e,t,r){for(const i of e.parserErrors){let s;if(isNaN(i.token.startOffset)){if("previousToken"in i){const a=i.previousToken;if(isNaN(a.startOffset)){const o={line:0,character:0};s={start:o,end:o}}else{const o={line:a.endLine-1,character:a.endColumn};s={start:o,end:o}}}}else s=Dr(i.token);if(s){const a={severity:Or("error"),range:s,message:i.message,data:Ka(Qe.ParsingError),source:this.getSource()};t.push(a)}}}processLinkingErrors(e,t,r){for(const i of e.references){const s=i.error;if(s){const a={node:s.container,property:s.property,index:s.index,data:{code:Qe.LinkingError,containerType:s.container.$type,property:s.property,refText:s.reference.$refText}};t.push(this.toDiagnostic("error",s.message,a))}}}async validateAst(e,t,r=X.None){const i=[],s=(a,o,l)=>{i.push(this.toDiagnostic(a,o,l))};return await Promise.all(Et(e).map(async a=>{await Le(r);const o=this.validationRegistry.getChecks(a.$type,t.categories);for(const l of o)await l(a,s,r)})),i}toDiagnostic(e,t,r){return{message:t,range:Am(r),severity:Or(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function Am(n){if(n.range)return n.range;let e;return typeof n.property=="string"?e=il(n.node.$cstNode,n.property,n.index):typeof n.keyword=="string"&&(e=Nd(n.node.$cstNode,n.keyword,n.index)),e??(e=n.node.$cstNode),e?e.range:{start:{line:0,character:0},end:{line:0,character:0}}}function Or(n){switch(n){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+n)}}var Qe;(function(n){n.LexingError="lexing-error",n.ParsingError="parsing-error",n.LinkingError="linking-error"})(Qe||(Qe={}));class bm{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=Ue(e)){t??(t=this.nameProvider.getName(e));const i=this.astNodeLocator.getAstNodePath(e);if(!t)throw new Error(`Node at path ${i} has no name.`);let s;const a=()=>{var o;return s??(s=Ln((o=this.nameProvider.getNameNode(e))!==null&&o!==void 0?o:e.$cstNode))};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:Ln(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class Nm{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=X.None){const r=[],i=e.parseResult.value;for(const s of Et(i))await Le(t),Zo(s).filter(a=>!kn(a)).forEach(a=>{const o=this.createDescription(a);o&&r.push(o)});return r}createDescription(e){const t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;const i=Ue(e.container).uri;return{sourceUri:i,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:Ln(r),local:rt.equals(t.documentUri,i)}}}class km{constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){const t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return t!==void 0?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((i,s)=>{if(!i||s.length===0)return i;const a=s.indexOf(this.indexSeparator);if(a>0){const o=s.substring(0,a),l=parseInt(s.substring(a+1)),c=i[o];return c==null?void 0:c[l]}return i[s]},e)}}class Im{constructor(e){this._ready=new Vi,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=(r=(t=e.capabilities.workspace)===null||t===void 0?void 0:t.configuration)!==null&&r!==void 0?r:!1}async initialized(e){if(this.workspaceConfig){if(e.register){const t=this.serviceRegistry.all;e.register({section:t.map(r=>this.toSectionName(r.LanguageMetaData.languageId))})}if(e.fetchConfiguration){const t=this.serviceRegistry.all.map(i=>({section:this.toSectionName(i.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((i,s)=>{this.updateSectionConfiguration(i.section,r[s])})}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;const r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}var er;(function(n){function e(t){return{dispose:async()=>await t()}}n.create=e})(er||(er={}));class Sm{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Wi,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=U.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=X.None){var i,s;for(const a of e){const o=a.uri.toString();if(a.state===U.Validated){if(typeof t.validation=="boolean"&&t.validation)a.state=U.IndexedReferences,a.diagnostics=void 0,this.buildState.delete(o);else if(typeof t.validation=="object"){const l=this.buildState.get(o),c=(i=l==null?void 0:l.result)===null||i===void 0?void 0:i.validationChecks;if(c){const d=((s=t.validation.categories)!==null&&s!==void 0?s:Zn.all).filter(f=>!c.includes(f));d.length>0&&(this.buildState.set(o,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:d})},result:l.result}),a.state=U.IndexedReferences)}}}else this.buildState.delete(o)}this.currentState=U.Changed,await this.emitUpdate(e.map(a=>a.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=X.None){this.currentState=U.Changed;for(const a of t)this.langiumDocuments.deleteDocument(a),this.buildState.delete(a.toString()),this.indexManager.remove(a);for(const a of e){if(!this.langiumDocuments.invalidateDocument(a)){const l=this.langiumDocumentFactory.fromModel({$type:"INVALID"},a);l.state=U.Changed,this.langiumDocuments.addDocument(l)}this.buildState.delete(a.toString())}const i=Q(e).concat(t).map(a=>a.toString()).toSet();this.langiumDocuments.all.filter(a=>!i.has(a.uri.toString())&&this.shouldRelink(a,i)).forEach(a=>{this.serviceRegistry.getServices(a.uri).references.Linker.unlink(a),a.state=Math.min(a.state,U.ComputedScopes),a.diagnostics=void 0}),await this.emitUpdate(e,t),await Le(r);const s=this.langiumDocuments.all.filter(a=>{var o;return a.stater(e,t)))}shouldRelink(e,t){return e.references.some(r=>r.error!==void 0)?!0:this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),er.create(()=>{const t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,U.Parsed,r,s=>this.langiumDocumentFactory.update(s,r)),await this.runCancelable(e,U.IndexedContent,r,s=>this.indexManager.updateContent(s,r)),await this.runCancelable(e,U.ComputedScopes,r,async s=>{const a=this.serviceRegistry.getServices(s.uri).references.ScopeComputation;s.precomputedScopes=await a.computeLocalScopes(s,r)}),await this.runCancelable(e,U.Linked,r,s=>this.serviceRegistry.getServices(s.uri).references.Linker.link(s,r)),await this.runCancelable(e,U.IndexedReferences,r,s=>this.indexManager.updateReferences(s,r));const i=e.filter(s=>this.shouldValidate(s));await this.runCancelable(i,U.Validated,r,s=>this.validate(s,r));for(const s of e){const a=this.buildState.get(s.uri.toString());a&&(a.completed=!0)}}prepareBuild(e,t){for(const r of e){const i=r.uri.toString(),s=this.buildState.get(i);(!s||s.completed)&&this.buildState.set(i,{completed:!1,options:t,result:s==null?void 0:s.result})}}async runCancelable(e,t,r,i){const s=e.filter(a=>a.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let i;if(t&&"path"in t?i=t:r=t,r??(r=X.None),i){const s=this.langiumDocuments.getDocument(i);if(s&&s.state>e)return Promise.resolve(i)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(Qn):new Promise((s,a)=>{const o=this.onBuildPhase(e,()=>{if(o.dispose(),l.dispose(),i){const c=this.langiumDocuments.getDocument(i);s(c==null?void 0:c.uri)}else s(void 0)}),l=r.onCancellationRequested(()=>{o.dispose(),l.dispose(),a(Qn)})})}async notifyBuildPhase(e,t,r){if(e.length===0)return;const i=this.buildPhaseListeners.get(t);for(const s of i)await Le(r),await s(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,i;const s=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,o=typeof a=="object"?a:void 0,l=await s.validateDocument(e,o,t);e.diagnostics?e.diagnostics.push(...l):e.diagnostics=l;const c=this.buildState.get(e.uri.toString());if(c){(r=c.result)!==null&&r!==void 0||(c.result={});const u=(i=o==null?void 0:o.categories)!==null&&i!==void 0?i:Zn.all;c.result.validationChecks?c.result.validationChecks.push(...u):c.result.validationChecks=[...u]}}getBuildOptions(e){var t,r;return(r=(t=this.buildState.get(e.uri.toString()))===null||t===void 0?void 0:t.options)!==null&&r!==void 0?r:{}}}class xm{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new mm,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){const r=Ue(e).uri,i=[];return this.referenceIndex.forEach(s=>{s.forEach(a=>{rt.equals(a.targetUri,r)&&a.targetPath===t&&i.push(a)})}),Q(i)}allElements(e,t){let r=Q(this.symbolIndex.keys());return t&&(r=r.filter(i=>!t||t.has(i))),r.map(i=>this.getFileDescriptions(i,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var s;return((s=this.symbolIndex.get(e))!==null&&s!==void 0?s:[]).filter(o=>this.astReflection.isSubtype(o.type,t))}):(r=this.symbolIndex.get(e))!==null&&r!==void 0?r:[]}remove(e){const t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.computeExports(e,t),s=e.uri.toString();this.symbolIndex.set(s,i),this.symbolByTypeIndex.clear(s)}async updateReferences(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),i)}isAffected(e,t){const r=this.referenceIndex.get(e.uri.toString());return r?r.some(i=>!i.local&&t.has(i.targetUri.toString())):!1}}class Cm{constructor(e){this.initialBuildOptions={},this._ready=new Vi,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=(t=e.workspaceFolders)!==null&&t!==void 0?t:void 0}initialized(e){return this.mutex.write(t=>{var r;return this.initializeWorkspace((r=this.folders)!==null&&r!==void 0?r:[],t)})}async initializeWorkspace(e,t=X.None){const r=await this.performStartup(e);await Le(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){const t=this.serviceRegistry.all.flatMap(s=>s.LanguageMetaData.fileExtensions),r=[],i=s=>{r.push(s),this.langiumDocuments.hasDocument(s.uri)||this.langiumDocuments.addDocument(s)};return await this.loadAdditionalDocuments(e,i),await Promise.all(e.map(s=>[s,this.getRootFolder(s)]).map(async s=>this.traverseFolder(...s,t,i))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return Wt.parse(e.uri)}async traverseFolder(e,t,r,i){const s=await this.fileSystemProvider.readDirectory(t);await Promise.all(s.map(async a=>{if(this.includeEntry(e,a,r)){if(a.isDirectory)await this.traverseFolder(e,a.uri,r,i);else if(a.isFile){const o=await this.langiumDocuments.getOrCreateDocument(a.uri);i(o)}}}))}includeEntry(e,t,r){const i=rt.basename(t.uri);if(i.startsWith("."))return!1;if(t.isDirectory)return i!=="node_modules"&&i!=="out";if(t.isFile){const s=rt.extname(t.uri);return r.includes(s)}return!1}}class wm{constructor(e){const t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);const r=za(t)?Object.values(t):t;this.chevrotainLexer=new de(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;const r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:(t=r.groups.hidden)!==null&&t!==void 0?t:[]}}toTokenTypeDictionary(e){if(za(e))return e;const t=gc(e)?Object.values(e.modes).flat():e,r={};return t.forEach(i=>r[i.name]=i),r}}function Om(n){return Array.isArray(n)&&(n.length===0||"name"in n[0])}function gc(n){return n&&"modes"in n&&"defaultMode"in n}function za(n){return!Om(n)&&!gc(n)}function Lm(n,e,t){let r,i;typeof n=="string"?(i=e,r=t):(i=n.range.start,r=e),i||(i=P.create(0,0));const s=yc(n),a=Ki(r),o=Mm({lines:s,position:i,options:a});return Fm({index:0,tokens:o,position:i})}function $m(n,e){const t=Ki(e),r=yc(n);if(r.length===0)return!1;const i=r[0],s=r[r.length-1],a=t.start,o=t.end;return!!(a!=null&&a.exec(i))&&!!(o!=null&&o.exec(s))}function yc(n){let e="";return typeof n=="string"?e=n:e=n.text,e.split(hd)}const qa=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Pm=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;function Mm(n){var e,t,r;const i=[];let s=n.position.line,a=n.position.character;for(let o=0;o=u.length){if(i.length>0){const h=P.create(s,a);i.push({type:"break",content:"",range:$.create(h,h)})}}else{qa.lastIndex=d;const h=qa.exec(u);if(h){const m=h[0],g=h[1],_=P.create(s,a+d),y=P.create(s,a+d+m.length);i.push({type:"tag",content:g,range:$.create(_,y)}),d+=m.length,d=yi(u,d)}if(d0&&i[i.length-1].type==="break"?i.slice(0,-1):i}function Dm(n,e,t,r){const i=[];if(n.length===0){const s=P.create(t,r),a=P.create(t,r+e.length);i.push({type:"text",content:e,range:$.create(s,a)})}else{let s=0;for(const o of n){const l=o.index,c=e.substring(s,l);c.length>0&&i.push({type:"text",content:e.substring(s,l),range:$.create(P.create(t,s+r),P.create(t,l+r))});let u=c.length+1;const d=o[1];if(i.push({type:"inline-tag",content:d,range:$.create(P.create(t,s+u+r),P.create(t,s+u+d.length+r))}),u+=d.length,o.length===4){u+=o[2].length;const f=o[3];i.push({type:"text",content:f,range:$.create(P.create(t,s+u+r),P.create(t,s+u+f.length+r))})}else i.push({type:"text",content:"",range:$.create(P.create(t,s+u+r),P.create(t,s+u+r))});s=l+o[0].length}const a=e.substring(s);a.length>0&&i.push({type:"text",content:a,range:$.create(P.create(t,s+r),P.create(t,s+r+a.length))})}return i}const jm=/\S/,Gm=/\s*$/;function yi(n,e){const t=n.substring(e).match(jm);return t?e+t.index:n.length}function Um(n){const e=n.match(Gm);if(e&&typeof e.index=="number")return e.index}function Fm(n){var e,t,r,i;const s=P.create(n.position.line,n.position.character);if(n.tokens.length===0)return new Ya([],$.create(s,s));const a=[];for(;n.indext.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(const t of this.elements)if(e.length===0)e=t.toString();else{const r=t.toString();e+=Xa(e)+r}return e.trim()}toMarkdown(e){let t="";for(const r of this.elements)if(t.length===0)t=r.toMarkdown(e);else{const i=r.toMarkdown(e);t+=Xa(t)+i}return t.trim()}}class $r{constructor(e,t,r,i){this.name=e,this.content=t,this.inline=r,this.range=i}toString(){let e=`@${this.name}`;const t=this.content.toString();return this.content.inlines.length===1?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} ${t}`),this.inline?`{${e}}`:e}toMarkdown(e){var t,r;return(r=(t=e==null?void 0:e.renderTag)===null||t===void 0?void 0:t.call(e,this))!==null&&r!==void 0?r:this.toMarkdownDefault(e)}toMarkdownDefault(e){const t=this.content.toMarkdown(e);if(this.inline){const s=Wm(this.name,t,e??{});if(typeof s=="string")return s}let r="";(e==null?void 0:e.tag)==="italic"||(e==null?void 0:e.tag)===void 0?r="*":(e==null?void 0:e.tag)==="bold"?r="**":(e==null?void 0:e.tag)==="bold-italic"&&(r="***");let i=`${r}@${this.name}${r}`;return this.content.inlines.length===1?i=`${i} — ${t}`:this.content.inlines.length>1&&(i=`${i} ${t}`),this.inline?`{${i}}`:i}}function Wm(n,e,t){var r,i;if(n==="linkplain"||n==="linkcode"||n==="link"){const s=e.indexOf(" ");let a=e;if(s>0){const l=yi(e,s);a=e.substring(l),e=e.substring(0,s)}return(n==="linkcode"||n==="link"&&t.link==="code")&&(a=`\`${a}\``),(i=(r=t.renderLink)===null||r===void 0?void 0:r.call(t,e,a))!==null&&i!==void 0?i:Km(e,a)}}function Km(n,e){try{return Wt.parse(n,!0),`[${e}](${n})`}catch{return n}}class Ti{constructor(e,t){this.inlines=e,this.range=t}toString(){let e="";for(let t=0;tr.range.start.line&&(e+=` `)}return e}toMarkdown(e){let t="";for(let r=0;ri.range.start.line&&(t+=` diff --git a/static/js/md-gitGraphDiagram-NRZ2UAAF-DUTu-Bob.js b/static/js/md-gitGraphDiagram-NRZ2UAAF-DeLJDz1i.js similarity index 98% rename from static/js/md-gitGraphDiagram-NRZ2UAAF-DUTu-Bob.js rename to static/js/md-gitGraphDiagram-NRZ2UAAF-DeLJDz1i.js index 1073fcb..166ddf0 100644 --- a/static/js/md-gitGraphDiagram-NRZ2UAAF-DUTu-Bob.js +++ b/static/js/md-gitGraphDiagram-NRZ2UAAF-DeLJDz1i.js @@ -1,4 +1,4 @@ -import{p as Z}from"./md-chunk-TMUBEWPD-DWs3TCfi.js";import{I as F}from"./md-chunk-KFBOBJHC-CIi2d-ms.js";import{B as U,_ as h,d as rr,C as er,D as tr,E as ar,l as w,s as nr,g as sr,b as or,c as cr,p as ir,q as dr,e as B,v as hr,j as lr,u as $r,F as fr}from"./md-index-trBnGDGX.js";import{p as gr}from"./md-gitGraph-YCYPL57B-CcCkDaPL.js";import"./md-_baseUniq-B7UZj1IW.js";import"./md-_basePickBy-BMLPiLYr.js";import"./md-clone-D08UH0Wo.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yr=U.gitGraph,z=h(()=>er({...yr,...tr().gitGraph}),"getConfig"),i=new F(()=>{const t=z(),r=t.mainBranchName,a=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function j(){return ar({length:7})}h(j,"getID");function N(t,r){const a=Object.create(null);return t.reduce((s,e)=>{const n=r(e);return a[n]||(a[n]=!0,s.push(e)),s},[])}h(N,"uniqBy");var ur=h(function(t){i.records.direction=t},"setDirection"),xr=h(function(t){w.debug("options str",t),t=t==null?void 0:t.trim(),t=t||"{}";try{i.records.options=JSON.parse(t)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),pr=h(function(){return i.records.options},"getOptions"),br=h(function(t){let r=t.msg,a=t.id;const s=t.type;let e=t.tags;w.info("commit",r,a,s,e),w.debug("Entering commit:",r,a,s,e);const n=z();a=B.sanitizeText(a,n),r=B.sanitizeText(r,n),e=e==null?void 0:e.map(o=>B.sanitizeText(o,n));const c={id:a||i.records.seq+"-"+j(),message:r,seq:i.records.seq++,type:s??x.NORMAL,tags:e??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,w.info("main branch",n.mainBranchName),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),w.debug("in pushCommit "+c.id)},"commit"),mr=h(function(t){let r=t.name;const a=t.order;if(r=B.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:a}),_(r),w.debug("in createBranch")},"branch"),wr=h(t=>{let r=t.branch,a=t.id;const s=t.type,e=t.tags,n=z();r=B.sanitizeText(r,n),a&&(a=B.sanitizeText(a,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),$=c?i.records.commits.get(c):void 0,l=o?i.records.commits.get(o):void 0;if($&&l&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const d=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if($===void 0||!$){const d=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!i.records.branches.has(r)){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(l===void 0||!l){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if($===l){const d=new Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(a&&i.records.commits.has(a)){const d=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw d.hash={text:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},d}const f=o||"",g={id:a||`${i.records.seq}-${j()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:x.MERGE,customType:s,customId:!!a,tags:e??[]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),w.debug(i.records.branches),w.debug("in mergeBranch")},"merge"),vr=h(function(t){let r=t.id,a=t.targetId,s=t.tags,e=t.parent;w.debug("Entering cherryPick:",r,a,s);const n=z();if(r=B.sanitizeText(r,n),a=B.sanitizeText(a,n),s=s==null?void 0:s.map($=>B.sanitizeText($,n)),e=B.sanitizeText(e,n),!r||!i.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},$}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===x.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!i.records.commits.has(a)){if(o===i.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const $=i.records.branches.get(i.records.currBranch);if($===void 0||!$){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const l=i.records.commits.get($);if(l===void 0||!l){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const f={id:i.records.seq+"-"+j(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:x.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===x.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),w.debug(i.records.branches),w.debug("in cherryPick")}},"cherryPick"),_=h(function(t){if(t=B.sanitizeText(t,z()),i.records.branches.has(t)){i.records.currBranch=t;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function A(t,r,a){const s=t.indexOf(r);s===-1?t.push(a):t.splice(s,1,a)}h(A,"upsert");function D(t){const r=t.reduce((e,n)=>e.seq>n.seq?e:n,t[0]);let a="";t.forEach(function(e){e===r?a+=" *":a+=" |"});const s=[a,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);A(t,r,e),r.parents[1]&&t.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);A(t,r,e)}}t=N(t,e=>e.id),D(t)}h(D,"prettyPrintCommitHistory");var Cr=h(function(){w.debug(i.records.commits);const t=V()[0];D([t])},"prettyPrint"),Er=h(function(){i.reset(),hr()},"clear"),Br=h(function(){return[...i.records.branchConfig.values()].map((r,a)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${a}`)}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),kr=h(function(){return i.records.branches},"getBranches"),Lr=h(function(){return i.records.commits},"getCommits"),V=h(function(){const t=[...i.records.commits.values()];return t.forEach(function(r){w.debug(r.id)}),t.sort((r,a)=>r.seq-a.seq),t},"getCommitsArray"),Tr=h(function(){return i.records.currBranch},"getCurrentBranch"),Mr=h(function(){return i.records.direction},"getDirection"),Rr=h(function(){return i.records.head},"getHead"),X={commitType:x,getConfig:z,setDirection:ur,setOptions:xr,getOptions:pr,commit:br,branch:mr,merge:wr,cherryPick:vr,checkout:_,prettyPrint:Cr,clear:Er,getBranchesAsObjArray:Br,getBranches:kr,getCommits:Lr,getCommitsArray:V,getCurrentBranch:Tr,getDirection:Mr,getHead:Rr,setAccTitle:nr,getAccTitle:sr,getAccDescription:or,setAccDescription:cr,setDiagramTitle:ir,getDiagramTitle:dr},Ir=h((t,r)=>{Z(t,r),t.dir&&r.setDirection(t.dir);for(const a of t.statements)qr(a,r)},"populate"),qr=h((t,r)=>{const s={Commit:h(e=>r.commit(Or(e)),"Commit"),Branch:h(e=>r.branch(zr(e)),"Branch"),Merge:h(e=>r.merge(Gr(e)),"Merge"),Checkout:h(e=>r.checkout(Hr(e)),"Checkout"),CherryPicking:h(e=>r.cherryPick(Pr(e)),"CherryPicking")}[t.$type];s?s(t):w.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),Or=h(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?x[t.type]:x.NORMAL,tags:t.tags??void 0}),"parseCommit"),zr=h(t=>({name:t.name,order:t.order??0}),"parseBranch"),Gr=h(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?x[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Hr=h(t=>t.branch,"parseCheckout"),Pr=h(t=>{var a;return{id:t.id,targetId:"",tags:((a=t.tags)==null?void 0:a.length)===0?void 0:t.tags,parent:t.parent}},"parseCherryPicking"),Wr={parse:h(async t=>{const r=await gr("gitGraph",t);w.debug(r),Ir(r,X)},"parse")},S=rr(),b=S==null?void 0:S.gitGraph,R=10,I=40,k=4,L=2,O=8,C=new Map,E=new Map,P=30,G=new Map,W=[],M=0,u="LR",jr=h(()=>{C.clear(),E.clear(),G.clear(),M=0,W=[],u="LR"},"clear"),J=h(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),Q=h(t=>{let r,a,s;return u==="BT"?(a=h((e,n)=>e<=n,"comparisonFunc"),s=1/0):(a=h((e,n)=>e>=n,"comparisonFunc"),s=0),t.forEach(e=>{var c,o;const n=u==="TB"||u=="BT"?(c=E.get(e))==null?void 0:c.y:(o=E.get(e))==null?void 0:o.x;n!==void 0&&a(n,s)&&(r=e,s=n)}),r},"findClosestParent"),Sr=h(t=>{let r="",a=1/0;return t.forEach(s=>{const e=E.get(s).y;e<=a&&(r=s,a=e)}),r||void 0},"findClosestParentBT"),Ar=h((t,r,a)=>{let s=a,e=a;const n=[];t.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Yr(o),e=Math.max(s,e)):n.push(o),Kr(o,s)}),s=e,n.forEach(c=>{Nr(c,s,a)}),t.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const $=Sr(o.parents);s=E.get($).y-I,s<=e&&(e=s);const l=C.get(o.branch).pos,f=s-R;E.set(o.id,{x:l,y:f})}})},"setParallelBTPos"),Dr=h(t=>{var s;const r=Q(t.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const a=(s=E.get(r))==null?void 0:s.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return a},"findClosestParentPos"),Yr=h(t=>Dr(t)+I,"calculateCommitPosition"),Kr=h((t,r)=>{const a=C.get(t.branch);if(!a)throw new Error(`Branch not found for commit ${t.id}`);const s=a.pos,e=r+R;return E.set(t.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),Nr=h((t,r,a)=>{const s=C.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const e=r+a,n=s.pos;E.set(t.id,{x:n,y:e})},"setRootPosition"),_r=h((t,r,a,s,e,n)=>{if(n===x.HIGHLIGHT)t.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),t.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===x.CHERRY_PICK)t.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=t.append("circle");if(c.attr("cx",a.x),c.attr("cy",a.y),c.attr("r",r.type===x.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===x.MERGE){const o=t.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===x.REVERSE&&t.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),Vr=h((t,r,a,s)=>{var e;if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&(b!=null&&b.showCommitLabel)){const n=t.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",a.y+25).attr("class","commit-label").text(r.id),$=(e=o.node())==null?void 0:e.getBBox();if($&&(c.attr("x",a.posWithOffset-$.width/2-L).attr("y",a.y+13.5).attr("width",$.width+2*L).attr("height",$.height+2*L),u==="TB"||u==="BT"?(c.attr("x",a.x-($.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-($.width+4*k)).attr("y",a.y+$.height-12)):o.attr("x",a.posWithOffset-$.width/2),b.rotateCommitLabel))if(u==="TB"||u==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),c.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{const l=-7.5-($.width+10)/25*9.5,f=10+$.width/25*8.5;n.attr("transform","translate("+l+", "+f+") rotate(-45, "+s+", "+a.y+")")}}},"drawCommitLabel"),Xr=h((t,r,a,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const $=[];for(const l of r.tags.reverse()){const f=t.insert("polygon"),g=t.append("circle"),d=t.append("text").attr("y",a.y-16-n).attr("class","tag-label").text(l),y=(e=d.node())==null?void 0:e.getBBox();if(!y)throw new Error("Tag bbox not found");c=Math.max(c,y.width),o=Math.max(o,y.height),d.attr("x",a.posWithOffset-y.width/2),$.push({tag:d,hole:g,rect:f,yOffset:n}),n+=20}for(const{tag:l,hole:f,rect:g,yOffset:d}of $){const y=o/2,p=a.y-19.2-d;if(g.attr("class","tag-label-bkg").attr("points",` +import{p as Z}from"./md-chunk-TMUBEWPD-Czd4q-Vh.js";import{I as F}from"./md-chunk-KFBOBJHC-pqV5ft4Q.js";import{B as U,_ as h,d as rr,C as er,D as tr,E as ar,l as w,s as nr,g as sr,b as or,c as cr,p as ir,q as dr,e as B,v as hr,j as lr,u as $r,F as fr}from"./md-index-TGP-egEp.js";import{p as gr}from"./md-gitGraph-YCYPL57B-DO9uQgTZ.js";import"./md-_baseUniq-Bm0iSxF4.js";import"./md-_basePickBy-D2Yv_vSZ.js";import"./md-clone-Bb0Qs8zN.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yr=U.gitGraph,z=h(()=>er({...yr,...tr().gitGraph}),"getConfig"),i=new F(()=>{const t=z(),r=t.mainBranchName,a=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function j(){return ar({length:7})}h(j,"getID");function N(t,r){const a=Object.create(null);return t.reduce((s,e)=>{const n=r(e);return a[n]||(a[n]=!0,s.push(e)),s},[])}h(N,"uniqBy");var ur=h(function(t){i.records.direction=t},"setDirection"),xr=h(function(t){w.debug("options str",t),t=t==null?void 0:t.trim(),t=t||"{}";try{i.records.options=JSON.parse(t)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),pr=h(function(){return i.records.options},"getOptions"),br=h(function(t){let r=t.msg,a=t.id;const s=t.type;let e=t.tags;w.info("commit",r,a,s,e),w.debug("Entering commit:",r,a,s,e);const n=z();a=B.sanitizeText(a,n),r=B.sanitizeText(r,n),e=e==null?void 0:e.map(o=>B.sanitizeText(o,n));const c={id:a||i.records.seq+"-"+j(),message:r,seq:i.records.seq++,type:s??x.NORMAL,tags:e??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,w.info("main branch",n.mainBranchName),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),w.debug("in pushCommit "+c.id)},"commit"),mr=h(function(t){let r=t.name;const a=t.order;if(r=B.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:a}),_(r),w.debug("in createBranch")},"branch"),wr=h(t=>{let r=t.branch,a=t.id;const s=t.type,e=t.tags,n=z();r=B.sanitizeText(r,n),a&&(a=B.sanitizeText(a,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),$=c?i.records.commits.get(c):void 0,l=o?i.records.commits.get(o):void 0;if($&&l&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const d=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if($===void 0||!$){const d=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!i.records.branches.has(r)){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(l===void 0||!l){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if($===l){const d=new Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(a&&i.records.commits.has(a)){const d=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw d.hash={text:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},d}const f=o||"",g={id:a||`${i.records.seq}-${j()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:x.MERGE,customType:s,customId:!!a,tags:e??[]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),w.debug(i.records.branches),w.debug("in mergeBranch")},"merge"),vr=h(function(t){let r=t.id,a=t.targetId,s=t.tags,e=t.parent;w.debug("Entering cherryPick:",r,a,s);const n=z();if(r=B.sanitizeText(r,n),a=B.sanitizeText(a,n),s=s==null?void 0:s.map($=>B.sanitizeText($,n)),e=B.sanitizeText(e,n),!r||!i.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},$}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===x.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!i.records.commits.has(a)){if(o===i.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const $=i.records.branches.get(i.records.currBranch);if($===void 0||!$){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const l=i.records.commits.get($);if(l===void 0||!l){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const f={id:i.records.seq+"-"+j(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:x.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===x.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),w.debug(i.records.branches),w.debug("in cherryPick")}},"cherryPick"),_=h(function(t){if(t=B.sanitizeText(t,z()),i.records.branches.has(t)){i.records.currBranch=t;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function A(t,r,a){const s=t.indexOf(r);s===-1?t.push(a):t.splice(s,1,a)}h(A,"upsert");function D(t){const r=t.reduce((e,n)=>e.seq>n.seq?e:n,t[0]);let a="";t.forEach(function(e){e===r?a+=" *":a+=" |"});const s=[a,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);A(t,r,e),r.parents[1]&&t.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);A(t,r,e)}}t=N(t,e=>e.id),D(t)}h(D,"prettyPrintCommitHistory");var Cr=h(function(){w.debug(i.records.commits);const t=V()[0];D([t])},"prettyPrint"),Er=h(function(){i.reset(),hr()},"clear"),Br=h(function(){return[...i.records.branchConfig.values()].map((r,a)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${a}`)}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),kr=h(function(){return i.records.branches},"getBranches"),Lr=h(function(){return i.records.commits},"getCommits"),V=h(function(){const t=[...i.records.commits.values()];return t.forEach(function(r){w.debug(r.id)}),t.sort((r,a)=>r.seq-a.seq),t},"getCommitsArray"),Tr=h(function(){return i.records.currBranch},"getCurrentBranch"),Mr=h(function(){return i.records.direction},"getDirection"),Rr=h(function(){return i.records.head},"getHead"),X={commitType:x,getConfig:z,setDirection:ur,setOptions:xr,getOptions:pr,commit:br,branch:mr,merge:wr,cherryPick:vr,checkout:_,prettyPrint:Cr,clear:Er,getBranchesAsObjArray:Br,getBranches:kr,getCommits:Lr,getCommitsArray:V,getCurrentBranch:Tr,getDirection:Mr,getHead:Rr,setAccTitle:nr,getAccTitle:sr,getAccDescription:or,setAccDescription:cr,setDiagramTitle:ir,getDiagramTitle:dr},Ir=h((t,r)=>{Z(t,r),t.dir&&r.setDirection(t.dir);for(const a of t.statements)qr(a,r)},"populate"),qr=h((t,r)=>{const s={Commit:h(e=>r.commit(Or(e)),"Commit"),Branch:h(e=>r.branch(zr(e)),"Branch"),Merge:h(e=>r.merge(Gr(e)),"Merge"),Checkout:h(e=>r.checkout(Hr(e)),"Checkout"),CherryPicking:h(e=>r.cherryPick(Pr(e)),"CherryPicking")}[t.$type];s?s(t):w.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),Or=h(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?x[t.type]:x.NORMAL,tags:t.tags??void 0}),"parseCommit"),zr=h(t=>({name:t.name,order:t.order??0}),"parseBranch"),Gr=h(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?x[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Hr=h(t=>t.branch,"parseCheckout"),Pr=h(t=>{var a;return{id:t.id,targetId:"",tags:((a=t.tags)==null?void 0:a.length)===0?void 0:t.tags,parent:t.parent}},"parseCherryPicking"),Wr={parse:h(async t=>{const r=await gr("gitGraph",t);w.debug(r),Ir(r,X)},"parse")},S=rr(),b=S==null?void 0:S.gitGraph,R=10,I=40,k=4,L=2,O=8,C=new Map,E=new Map,P=30,G=new Map,W=[],M=0,u="LR",jr=h(()=>{C.clear(),E.clear(),G.clear(),M=0,W=[],u="LR"},"clear"),J=h(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),Q=h(t=>{let r,a,s;return u==="BT"?(a=h((e,n)=>e<=n,"comparisonFunc"),s=1/0):(a=h((e,n)=>e>=n,"comparisonFunc"),s=0),t.forEach(e=>{var c,o;const n=u==="TB"||u=="BT"?(c=E.get(e))==null?void 0:c.y:(o=E.get(e))==null?void 0:o.x;n!==void 0&&a(n,s)&&(r=e,s=n)}),r},"findClosestParent"),Sr=h(t=>{let r="",a=1/0;return t.forEach(s=>{const e=E.get(s).y;e<=a&&(r=s,a=e)}),r||void 0},"findClosestParentBT"),Ar=h((t,r,a)=>{let s=a,e=a;const n=[];t.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Yr(o),e=Math.max(s,e)):n.push(o),Kr(o,s)}),s=e,n.forEach(c=>{Nr(c,s,a)}),t.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const $=Sr(o.parents);s=E.get($).y-I,s<=e&&(e=s);const l=C.get(o.branch).pos,f=s-R;E.set(o.id,{x:l,y:f})}})},"setParallelBTPos"),Dr=h(t=>{var s;const r=Q(t.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const a=(s=E.get(r))==null?void 0:s.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return a},"findClosestParentPos"),Yr=h(t=>Dr(t)+I,"calculateCommitPosition"),Kr=h((t,r)=>{const a=C.get(t.branch);if(!a)throw new Error(`Branch not found for commit ${t.id}`);const s=a.pos,e=r+R;return E.set(t.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),Nr=h((t,r,a)=>{const s=C.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const e=r+a,n=s.pos;E.set(t.id,{x:n,y:e})},"setRootPosition"),_r=h((t,r,a,s,e,n)=>{if(n===x.HIGHLIGHT)t.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),t.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===x.CHERRY_PICK)t.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=t.append("circle");if(c.attr("cx",a.x),c.attr("cy",a.y),c.attr("r",r.type===x.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===x.MERGE){const o=t.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===x.REVERSE&&t.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),Vr=h((t,r,a,s)=>{var e;if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&(b!=null&&b.showCommitLabel)){const n=t.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",a.y+25).attr("class","commit-label").text(r.id),$=(e=o.node())==null?void 0:e.getBBox();if($&&(c.attr("x",a.posWithOffset-$.width/2-L).attr("y",a.y+13.5).attr("width",$.width+2*L).attr("height",$.height+2*L),u==="TB"||u==="BT"?(c.attr("x",a.x-($.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-($.width+4*k)).attr("y",a.y+$.height-12)):o.attr("x",a.posWithOffset-$.width/2),b.rotateCommitLabel))if(u==="TB"||u==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),c.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{const l=-7.5-($.width+10)/25*9.5,f=10+$.width/25*8.5;n.attr("transform","translate("+l+", "+f+") rotate(-45, "+s+", "+a.y+")")}}},"drawCommitLabel"),Xr=h((t,r,a,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const $=[];for(const l of r.tags.reverse()){const f=t.insert("polygon"),g=t.append("circle"),d=t.append("text").attr("y",a.y-16-n).attr("class","tag-label").text(l),y=(e=d.node())==null?void 0:e.getBBox();if(!y)throw new Error("Tag bbox not found");c=Math.max(c,y.width),o=Math.max(o,y.height),d.attr("x",a.posWithOffset-y.width/2),$.push({tag:d,hole:g,rect:f,yOffset:n}),n+=20}for(const{tag:l,hole:f,rect:g,yOffset:d}of $){const y=o/2,p=a.y-19.2-d;if(g.attr("class","tag-label-bkg").attr("points",` ${s-c/2-k/2},${p+L} ${s-c/2-k/2},${p-L} ${a.posWithOffset-c/2-k},${p-y-L} diff --git a/static/js/md-graph-u9ZJyewn.js b/static/js/md-graph-BqJ5nvx-.js similarity index 96% rename from static/js/md-graph-u9ZJyewn.js rename to static/js/md-graph-BqJ5nvx-.js index 45f0636..37252c0 100644 --- a/static/js/md-graph-u9ZJyewn.js +++ b/static/js/md-graph-BqJ5nvx-.js @@ -1 +1 @@ -import{aA as N,aB as j,aC as f,aD as b,aE as E}from"./md-index-trBnGDGX.js";import{a as v,c as P,k as _,f as g,d,i as l,v as p,r as D}from"./md-_baseUniq-B7UZj1IW.js";var w=N(function(o){return v(P(o,1,j,!0))}),F="\0",a="\0",O="";class L{constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,"directed")?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,"multigraph")?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=f(void 0),this._defaultEdgeLabelFn=f(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[a]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return b(e)||(e=f(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return _(this._nodes)}sources(){var e=this;return g(this.nodes(),function(t){return E(e._in[t])})}sinks(){var e=this;return g(this.nodes(),function(t){return E(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return d(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=a,this._children[e]={},this._children[a][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var t=s=>this.removeEdge(this._edgeObjs[s]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],d(this.children(e),s=>{this.setParent(s)}),delete this._children[e]),d(_(this._in[e]),t),delete this._in[e],delete this._preds[e],d(_(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l(t))t=a;else{t+="";for(var s=t;!l(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==a)return t}}children(e){if(l(e)&&(e=a),this._isCompound){var t=this._children[e];if(t)return _(t)}else{if(e===a)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return _(t)}successors(e){var t=this._sucs[e];if(t)return _(t)}neighbors(e){var t=this.predecessors(e);if(t)return w(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;d(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),d(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&d(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return b(e)||(e=f(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return D(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,l(s)||(s=""+s);var h=c(this._isDirected,e,t,s);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!l(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var u=M(this._isDirected,e,t,s);return e=u.v,t=u.w,Object.freeze(u),this._edgeObjs[h]=u,C(this._preds[t],e),C(this._sucs[e],t),this._in[t][h]=u,this._out[e][h]=u,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],y(this._preds[t],e),y(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?g(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?g(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}L.prototype._nodeCount=0;L.prototype._edgeCount=0;function C(o,e){o[e]?o[e]++:o[e]=1}function y(o,e){--o[e]||delete o[e]}function c(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}return i+O+r+O+(l(s)?F:s)}function M(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function m(o,e){return c(o,e.v,e.w,e.name)}export{L as G}; +import{aA as N,aB as j,aC as f,aD as b,aE as E}from"./md-index-TGP-egEp.js";import{a as v,c as P,k as _,f as g,d,i as l,v as p,r as D}from"./md-_baseUniq-Bm0iSxF4.js";var w=N(function(o){return v(P(o,1,j,!0))}),F="\0",a="\0",O="";class L{constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,"directed")?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,"multigraph")?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=f(void 0),this._defaultEdgeLabelFn=f(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[a]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return b(e)||(e=f(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return _(this._nodes)}sources(){var e=this;return g(this.nodes(),function(t){return E(e._in[t])})}sinks(){var e=this;return g(this.nodes(),function(t){return E(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return d(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=a,this._children[e]={},this._children[a][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var t=s=>this.removeEdge(this._edgeObjs[s]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],d(this.children(e),s=>{this.setParent(s)}),delete this._children[e]),d(_(this._in[e]),t),delete this._in[e],delete this._preds[e],d(_(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l(t))t=a;else{t+="";for(var s=t;!l(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==a)return t}}children(e){if(l(e)&&(e=a),this._isCompound){var t=this._children[e];if(t)return _(t)}else{if(e===a)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return _(t)}successors(e){var t=this._sucs[e];if(t)return _(t)}neighbors(e){var t=this.predecessors(e);if(t)return w(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;d(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),d(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&d(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return b(e)||(e=f(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return D(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,l(s)||(s=""+s);var h=c(this._isDirected,e,t,s);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!l(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var u=M(this._isDirected,e,t,s);return e=u.v,t=u.w,Object.freeze(u),this._edgeObjs[h]=u,C(this._preds[t],e),C(this._sucs[e],t),this._in[t][h]=u,this._out[e][h]=u,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],y(this._preds[t],e),y(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?g(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?g(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}L.prototype._nodeCount=0;L.prototype._edgeCount=0;function C(o,e){o[e]?o[e]++:o[e]=1}function y(o,e){--o[e]||delete o[e]}function c(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}return i+O+r+O+(l(s)?F:s)}function M(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function m(o,e){return c(o,e.v,e.w,e.name)}export{L as G}; diff --git a/static/js/md-index-trBnGDGX.js b/static/js/md-index-TGP-egEp.js similarity index 92% rename from static/js/md-index-trBnGDGX.js rename to static/js/md-index-TGP-egEp.js index 3457319..093668f 100644 --- a/static/js/md-index-trBnGDGX.js +++ b/static/js/md-index-TGP-egEp.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/md-dagre-4EVJKHTY-Cs_NiR1S.js","static/js/md-graph-u9ZJyewn.js","static/js/md-_baseUniq-B7UZj1IW.js","static/js/md-layout-RM1NcZIM.js","static/js/md-_basePickBy-BMLPiLYr.js","static/js/md-clone-D08UH0Wo.js","static/js/md-c4Diagram-6F5ED5ID-Bo9BgkNY.js","static/js/md-chunk-ASOPGD6M-fXQ-YCai.js","static/js/md-flowDiagram-7ASYPVHJ-xPaGUtIu.js","static/js/md-chunk-5HRBRIJM-BSZ1VC5p.js","static/js/md-channel-CT_g7y1I.js","static/js/md-erDiagram-6RL3IURR-Lowrmixy.js","static/js/md-gitGraphDiagram-NRZ2UAAF-DUTu-Bob.js","static/js/md-chunk-TMUBEWPD-DWs3TCfi.js","static/js/md-chunk-KFBOBJHC-CIi2d-ms.js","static/js/md-gitGraph-YCYPL57B-CcCkDaPL.js","static/js/md-ganttDiagram-NTVNEXSI-cAHWgi6a.js","static/js/md-linear-qIPm0QjV.js","static/js/md-init-Gi6I4Gst.js","static/js/md-infoDiagram-A4XQUW5V-B6QSl22j.js","static/js/md-pieDiagram-YF2LJOPJ-8PtYrOoZ.js","static/js/md-arc-CJtsns1o.js","static/js/md-ordinal-CxVaQH2l.js","static/js/md-quadrantDiagram-OS5C2QUG-C_h7D4qT.js","static/js/md-xychartDiagram-6QU3TZC5-C7K88e2q.js","static/js/md-requirementDiagram-MIRIMTAZ-CsEWpznw.js","static/js/md-sequenceDiagram-G6AWOVSC-DFnPOvjK.js","static/js/md-classDiagram-LNE6IOMH-DgQA_Iq1.js","static/js/md-chunk-T2TOU4HS-j9mIfZ11.js","static/js/md-classDiagram-v2-MQ7JQ4JX-DgQA_Iq1.js","static/js/md-stateDiagram-MAYHULR4-D3vUYtN1.js","static/js/md-chunk-7U56Z5CX-CdqdQnR2.js","static/js/md-stateDiagram-v2-4JROLMXI-cgZ642t-.js","static/js/md-journeyDiagram-G5WM74LC-Bt4ZsCdk.js","static/js/md-timeline-definition-U7ZMHBDA-BFlSnhx5.js","static/js/md-mindmap-definition-GWI6TPTV-D0S0WzK8.js","static/js/md-cytoscape.esm-DbjHHeqK.js","static/js/md-sankeyDiagram-Y46BX6SQ-BwN7ds3P.js","static/js/md-diagram-QW4FP2JN-KUS9RBZO.js","static/js/md-blockDiagram-ZHA2E4KO-CvaWxelJ.js","static/js/md-architectureDiagram-UYN6MBPD-sGaQdzaw.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/md-dagre-4EVJKHTY-CrtTNbcm.js","static/js/md-graph-BqJ5nvx-.js","static/js/md-_baseUniq-Bm0iSxF4.js","static/js/md-layout-D5yfjIxP.js","static/js/md-_basePickBy-D2Yv_vSZ.js","static/js/md-clone-Bb0Qs8zN.js","static/js/md-c4Diagram-6F5ED5ID-RoaEE6D3.js","static/js/md-chunk-ASOPGD6M-BXMG1Nfx.js","static/js/md-flowDiagram-7ASYPVHJ-D2L0sNan.js","static/js/md-chunk-5HRBRIJM-DIfJDOBU.js","static/js/md-channel-Dlq_AjKA.js","static/js/md-erDiagram-6RL3IURR-DWaCdaRm.js","static/js/md-gitGraphDiagram-NRZ2UAAF-DeLJDz1i.js","static/js/md-chunk-TMUBEWPD-Czd4q-Vh.js","static/js/md-chunk-KFBOBJHC-pqV5ft4Q.js","static/js/md-gitGraph-YCYPL57B-DO9uQgTZ.js","static/js/md-ganttDiagram-NTVNEXSI-CL-9Lky_.js","static/js/md-linear-BWd3aXuT.js","static/js/md-init-Gi6I4Gst.js","static/js/md-infoDiagram-A4XQUW5V-Bs4tWgYe.js","static/js/md-pieDiagram-YF2LJOPJ-Dtr2pYGZ.js","static/js/md-arc-Ce2V3LWk.js","static/js/md-ordinal-CxVaQH2l.js","static/js/md-quadrantDiagram-OS5C2QUG-CRTWPMC3.js","static/js/md-xychartDiagram-6QU3TZC5-DPptWv27.js","static/js/md-requirementDiagram-MIRIMTAZ-Deu54LsJ.js","static/js/md-sequenceDiagram-G6AWOVSC-BYz1U_V7.js","static/js/md-classDiagram-LNE6IOMH-CTBubuXI.js","static/js/md-chunk-T2TOU4HS-BtlZTvLl.js","static/js/md-classDiagram-v2-MQ7JQ4JX-CTBubuXI.js","static/js/md-stateDiagram-MAYHULR4-DweyYq4M.js","static/js/md-chunk-7U56Z5CX-DSlGDS0l.js","static/js/md-stateDiagram-v2-4JROLMXI-DiIlcWZx.js","static/js/md-journeyDiagram-G5WM74LC-FvtN3AEU.js","static/js/md-timeline-definition-U7ZMHBDA-BNdRx5Eq.js","static/js/md-mindmap-definition-GWI6TPTV-ClGGF_jF.js","static/js/md-cytoscape.esm-bEGULzDv.js","static/js/md-sankeyDiagram-Y46BX6SQ-Di3XGLpk.js","static/js/md-diagram-QW4FP2JN-BhleLOjZ.js","static/js/md-blockDiagram-ZHA2E4KO-BBH-2Yzm.js","static/js/md-architectureDiagram-UYN6MBPD-IhHiqPvZ.js"])))=>i.map(i=>d[i]); var PD=Object.defineProperty;var vC=Ra=>{throw TypeError(Ra)};var LD=(Ra,qa,nd)=>qa in Ra?PD(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:nd}):Ra[qa]=nd;var kg=(Ra,qa,nd)=>LD(Ra,typeof qa!="symbol"?qa+"":qa,nd),BD=(Ra,qa,nd)=>qa.has(Ra)||vC("Cannot "+nd);var EC=(Ra,qa,nd)=>qa.has(Ra)?vC("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd);var BT=(Ra,qa,nd)=>(BD(Ra,qa,"access private method"),nd);(function(){const qa=document.createElement("link").relList;if(qa&&qa.supports&&qa.supports("modulepreload"))return;for(const ld of document.querySelectorAll('link[rel="modulepreload"]'))od(ld);new MutationObserver(ld=>{for(const ud of ld)if(ud.type==="childList")for(const dd of ud.addedNodes)dd.tagName==="LINK"&&dd.rel==="modulepreload"&&od(dd)}).observe(document,{childList:!0,subtree:!0});function nd(ld){const ud={};return ld.integrity&&(ud.integrity=ld.integrity),ld.referrerPolicy&&(ud.referrerPolicy=ld.referrerPolicy),ld.crossOrigin==="use-credentials"?ud.credentials="include":ld.crossOrigin==="anonymous"?ud.credentials="omit":ud.credentials="same-origin",ud}function od(ld){if(ld.ep)return;ld.ep=!0;const ud=nd(ld);fetch(ld.href,ud)}})();const global$1=globalThis||void 0||self;/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -478,7 +478,7 @@ code_pre { fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},PLACEHOLDER_ELEMENT={};function ensureIsTag(Ra,qa){return Ra===boolbase$1.falseFunc?boolbase$1.falseFunc:nd=>qa.isTag(nd)&&Ra(nd)}function getNextSiblings(Ra,qa){const nd=qa.getSiblings(Ra);if(nd.length<=1)return[];const od=nd.indexOf(Ra);return od<0||od===nd.length-1?[]:nd.slice(od+1).filter(qa.isTag)}function copyOptions(Ra){return{xmlMode:!!Ra.xmlMode,lowerCaseAttributeNames:!!Ra.lowerCaseAttributeNames,lowerCaseTags:!!Ra.lowerCaseTags,quirksMode:!!Ra.quirksMode,cacheResults:!!Ra.cacheResults,pseudos:Ra.pseudos,adapter:Ra.adapter,equals:Ra.equals}}const is$3=(Ra,qa,nd,od,ld)=>{const ud=ld(qa,copyOptions(nd),od);return ud===boolbase$1.trueFunc?Ra:ud===boolbase$1.falseFunc?boolbase$1.falseFunc:dd=>ud(dd)&&Ra(dd)},subselects={is:is$3,matches:is$3,where:is$3,not(Ra,qa,nd,od,ld){const ud=ld(qa,copyOptions(nd),od);return ud===boolbase$1.falseFunc?Ra:ud===boolbase$1.trueFunc?boolbase$1.falseFunc:dd=>!ud(dd)&&Ra(dd)},has(Ra,qa,nd,od,ld){const{adapter:ud}=nd,dd=copyOptions(nd);dd.relativeSelector=!0;const pd=qa.some(vd=>vd.some(isTraversal))?[PLACEHOLDER_ELEMENT]:void 0,fd=ld(qa,dd,pd);if(fd===boolbase$1.falseFunc)return boolbase$1.falseFunc;const md=ensureIsTag(fd,ud);if(pd&&fd!==boolbase$1.trueFunc){const{shouldTestNextSiblings:vd=!1}=fd;return Ad=>{if(!Ra(Ad))return!1;pd[0]=Ad;const Nd=ud.getChildren(Ad),Od=vd?[...Nd,...getNextSiblings(Ad,ud)]:Nd;return ud.existsOne(md,Od)}}return vd=>Ra(vd)&&ud.existsOne(md,ud.getChildren(vd))}};function compilePseudoSelector(Ra,qa,nd,od,ld){var ud;const{name:dd,data:pd}=qa;if(Array.isArray(pd)){if(!(dd in subselects))throw new Error(`Unknown pseudo-class :${dd}(${pd})`);return subselects[dd](Ra,pd,nd,od,ld)}const fd=(ud=nd.pseudos)===null||ud===void 0?void 0:ud[dd],md=typeof fd=="string"?fd:aliases[dd];if(typeof md=="string"){if(pd!=null)throw new Error(`Pseudo ${dd} doesn't have any arguments`);const vd=parse$8(md);return subselects.is(Ra,vd,nd,od,ld)}if(typeof fd=="function")return verifyPseudoArgs(fd,dd,pd,1),vd=>fd(vd,pd)&&Ra(vd);if(dd in filters)return filters[dd](Ra,pd,nd,od);if(dd in pseudos){const vd=pseudos[dd];return verifyPseudoArgs(vd,dd,pd,2),Ad=>vd(Ad,nd,pd)&&Ra(Ad)}throw new Error(`Unknown pseudo-class :${dd}`)}function getElementParent(Ra,qa){const nd=qa.getParent(Ra);return nd&&qa.isTag(nd)?nd:null}function compileGeneralSelector(Ra,qa,nd,od,ld){const{adapter:ud,equals:dd}=nd;switch(qa.type){case SelectorType$2.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case SelectorType$2.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case SelectorType$2.Attribute:{if(qa.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!nd.xmlMode||nd.lowerCaseAttributeNames)&&(qa.name=qa.name.toLowerCase()),attributeRules[qa.action](Ra,qa,nd)}case SelectorType$2.Pseudo:return compilePseudoSelector(Ra,qa,nd,od,ld);case SelectorType$2.Tag:{if(qa.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:pd}=qa;return(!nd.xmlMode||nd.lowerCaseTags)&&(pd=pd.toLowerCase()),function(md){return ud.getName(md)===pd&&Ra(md)}}case SelectorType$2.Descendant:{if(nd.cacheResults===!1||typeof WeakSet>"u")return function(md){let vd=md;for(;vd=getElementParent(vd,ud);)if(Ra(vd))return!0;return!1};const pd=new WeakSet;return function(md){let vd=md;for(;vd=getElementParent(vd,ud);)if(!pd.has(vd)){if(ud.isTag(vd)&&Ra(vd))return!0;pd.add(vd)}return!1}}case"_flexibleDescendant":return function(fd){let md=fd;do if(Ra(md))return!0;while(md=getElementParent(md,ud));return!1};case SelectorType$2.Parent:return function(fd){return ud.getChildren(fd).some(md=>ud.isTag(md)&&Ra(md))};case SelectorType$2.Child:return function(fd){const md=ud.getParent(fd);return md!=null&&ud.isTag(md)&&Ra(md)};case SelectorType$2.Sibling:return function(fd){const md=ud.getSiblings(fd);for(let vd=0;vdqa.some(includesScopePseudo)))}const DESCENDANT_TOKEN={type:SelectorType$2.Descendant},FLEXIBLE_DESCENDANT_TOKEN={type:"_flexibleDescendant"},SCOPE_TOKEN={type:SelectorType$2.Pseudo,name:"scope",data:null};function absolutize(Ra,{adapter:qa},nd){const od=!!(nd!=null&&nd.every(ld=>{const ud=qa.isTag(ld)&&qa.getParent(ld);return ld===PLACEHOLDER_ELEMENT||ud&&qa.isTag(ud)}));for(const ld of Ra){if(!(ld.length>0&&isTraversal(ld[0])&&ld[0].type!==SelectorType$2.Descendant))if(od&&!ld.some(includesScopePseudo))ld.unshift(DESCENDANT_TOKEN);else continue;ld.unshift(SCOPE_TOKEN)}}function compileToken(Ra,qa,nd){var od;Ra.forEach(sortByProcedure),nd=(od=qa.context)!==null&&od!==void 0?od:nd;const ld=Array.isArray(nd),ud=nd&&(Array.isArray(nd)?nd:[nd]);if(qa.relativeSelector!==!1)absolutize(Ra,qa,ud);else if(Ra.some(fd=>fd.length>0&&isTraversal(fd[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let dd=!1;const pd=Ra.map(fd=>{if(fd.length>=2){const[md,vd]=fd;md.type!==SelectorType$2.Pseudo||md.name!=="scope"||(ld&&vd.type===SelectorType$2.Descendant?fd[1]=FLEXIBLE_DESCENDANT_TOKEN:(vd.type===SelectorType$2.Adjacent||vd.type===SelectorType$2.Sibling)&&(dd=!0))}return compileRules(fd,qa,ud)}).reduce(reduceRules,boolbase$1.falseFunc);return pd.shouldTestNextSiblings=dd,pd}function compileRules(Ra,qa,nd){var od;return Ra.reduce((ld,ud)=>ld===boolbase$1.falseFunc?boolbase$1.falseFunc:compileGeneralSelector(ld,ud,qa,nd,compileToken),(od=qa.rootFunc)!==null&&od!==void 0?od:boolbase$1.trueFunc)}function reduceRules(Ra,qa){return qa===boolbase$1.falseFunc||Ra===boolbase$1.trueFunc?Ra:Ra===boolbase$1.falseFunc||qa===boolbase$1.trueFunc?qa:function(od){return Ra(od)||qa(od)}}const defaultEquals=(Ra,qa)=>Ra===qa,defaultOptions$6={adapter:DomUtils,equals:defaultEquals};function convertOptionFormats(Ra){var qa,nd,od,ld;const ud=Ra??defaultOptions$6;return(qa=ud.adapter)!==null&&qa!==void 0||(ud.adapter=DomUtils),(nd=ud.equals)!==null&&nd!==void 0||(ud.equals=(ld=(od=ud.adapter)===null||od===void 0?void 0:od.equals)!==null&&ld!==void 0?ld:defaultEquals),ud}function wrapCompile(Ra){return function(nd,od,ld){const ud=convertOptionFormats(od);return Ra(nd,ud,ld)}}const _compileToken=wrapCompile(compileToken);function prepareContext(Ra,qa,nd=!1){return nd&&(Ra=appendNextSiblings(Ra,qa)),Array.isArray(Ra)?qa.removeSubsets(Ra):qa.getChildren(Ra)}function appendNextSiblings(Ra,qa){const nd=Array.isArray(Ra)?Ra.slice(0):[Ra],od=nd.length;for(let ld=0;ldqa.some(isFilter)):!1}function getLimit(Ra,qa,nd){const od=qa!=null?parseInt(qa,10):NaN;switch(Ra){case"first":return 1;case"nth":case"eq":return isFinite(od)?od>=0?od+1:1/0:0;case"lt":return isFinite(od)?od>=0?Math.min(od,nd):1/0:0;case"gt":return isFinite(od)?1/0:0;case"odd":return 2*nd;case"even":return 2*nd-1;case"last":case"not":return 1/0}}function getDocumentRoot(Ra){for(;Ra.parent;)Ra=Ra.parent;return Ra}function groupSelectors(Ra){const qa=[],nd=[];for(const od of Ra)od.some(isFilter)?qa.push(od):nd.push(od);return[nd,qa]}const UNIVERSAL_SELECTOR={type:SelectorType$2.Universal,namespace:null},SCOPE_PSEUDO={type:SelectorType$2.Pseudo,name:"scope",data:null};function is$2(Ra,qa,nd={}){return some$2([Ra],qa,nd)}function some$2(Ra,qa,nd={}){if(typeof qa=="function")return Ra.some(qa);const[od,ld]=groupSelectors(parse$8(qa));return od.length>0&&Ra.some(_compileToken(od,nd))||ld.some(ud=>filterBySelector(ud,Ra,nd).length>0)}function filterByPosition(Ra,qa,nd,od){const ld=typeof nd=="string"?parseInt(nd,10):NaN;switch(Ra){case"first":case"lt":return qa;case"last":return qa.length>0?[qa[qa.length-1]]:qa;case"nth":case"eq":return isFinite(ld)&&Math.abs(ld)dd%2===0);case"odd":return qa.filter((ud,dd)=>dd%2===1);case"not":{const ud=new Set(filterParsed(nd,qa,od));return qa.filter(dd=>!ud.has(dd))}}}function filter$4(Ra,qa,nd={}){return filterParsed(parse$8(Ra),qa,nd)}function filterParsed(Ra,qa,nd){if(qa.length===0)return[];const[od,ld]=groupSelectors(Ra);let ud;if(od.length){const dd=filterElements(qa,od,nd);if(ld.length===0)return dd;dd.length&&(ud=new Set(dd))}for(let dd=0;ddisTag(vd)&&!ud.has(vd)):qa).length===0)break;const md=filterBySelector(pd,qa,nd);if(md.length)if(ud)md.forEach(vd=>ud.add(vd));else{if(dd===ld.length-1)return md;ud=new Set(md)}}return typeof ud<"u"?ud.size===qa.length?qa:qa.filter(dd=>ud.has(dd)):[]}function filterBySelector(Ra,qa,nd){var od;if(Ra.some(isTraversal$1)){const ld=(od=nd.root)!==null&&od!==void 0?od:getDocumentRoot(qa[0]),ud={...nd,context:qa,relativeSelector:!1};return Ra.push(SCOPE_PSEUDO),findFilterElements(ld,Ra,ud,!0,qa.length)}return findFilterElements(qa,Ra,nd,!1,qa.length)}function select$1(Ra,qa,nd={},od=1/0){if(typeof Ra=="function")return find$2(qa,Ra);const[ld,ud]=groupSelectors(parse$8(Ra)),dd=ud.map(pd=>findFilterElements(qa,pd,nd,!0,od));return ld.length&&dd.push(findElements(qa,ld,nd,od)),dd.length===0?[]:dd.length===1?dd[0]:uniqueSort(dd.reduce((pd,fd)=>[...pd,...fd]))}function findFilterElements(Ra,qa,nd,od,ld){const ud=qa.findIndex(isFilter),dd=qa.slice(0,ud),pd=qa[ud],fd=qa.length-1===ud?ld:1/0,md=getLimit(pd.name,pd.data,fd);if(md===0)return[];const Ad=(dd.length===0&&!Array.isArray(Ra)?getChildren(Ra).filter(isTag):dd.length===0?(Array.isArray(Ra)?Ra:[Ra]).filter(isTag):od||dd.some(isTraversal$1)?findElements(Ra,[dd],nd,md):filterElements(Ra,[dd],nd)).slice(0,md);let Nd=filterByPosition(pd.name,Ad,pd.data,nd);if(Nd.length===0||qa.length===ud+1)return Nd;const Od=qa.slice(ud+1),kd=Od.some(isTraversal$1);if(kd){if(isTraversal$1(Od[0])){const{type:Ld}=Od[0];(Ld===SelectorType$2.Sibling||Ld===SelectorType$2.Adjacent)&&(Nd=prepareContext(Nd,DomUtils,!0)),Od.unshift(UNIVERSAL_SELECTOR)}nd={...nd,relativeSelector:!1,rootFunc:Ld=>Nd.includes(Ld)}}else nd.rootFunc&&nd.rootFunc!==boolbase.trueFunc&&(nd={...nd,rootFunc:boolbase.trueFunc});return Od.some(isFilter)?findFilterElements(Nd,Od,nd,!1,ld):kd?findElements(Nd,[Od],nd,ld):filterElements(Nd,[Od],nd)}function findElements(Ra,qa,nd,od){const ld=_compileToken(qa,nd,Ra);return find$2(Ra,ld,od)}function find$2(Ra,qa,nd=1/0){const od=prepareContext(Ra,DomUtils,qa.shouldTestNextSiblings);return find$3(ld=>isTag(ld)&&qa(ld),od,!0,nd)}function filterElements(Ra,qa,nd){const od=(Array.isArray(Ra)?Ra:[Ra]).filter(isTag);if(od.length===0)return od;const ld=_compileToken(qa,nd);return ld===boolbase.trueFunc?od:od.filter(ld)}const reSiblingSelector=/^\s*[+~]/;function find$1(Ra){if(!Ra)return this._make([]);if(typeof Ra!="string"){const qa=isCheerio(Ra)?Ra.toArray():[Ra],nd=this.toArray();return this._make(qa.filter(od=>nd.some(ld=>contains(ld,od))))}return this._findBySelector(Ra,Number.POSITIVE_INFINITY)}function _findBySelector(Ra,qa){var nd;const od=this.toArray(),ld=reSiblingSelector.test(Ra)?od:this.children().toArray(),ud={context:od,root:(nd=this._root)===null||nd===void 0?void 0:nd[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(select$1(Ra,ld,ud,qa))}function _getMatcher(Ra){return function(qa,...nd){return function(od){var ld;let ud=Ra(qa,this);return od&&(ud=filterArray$1(ud,od,this.options.xmlMode,(ld=this._root)===null||ld===void 0?void 0:ld[0])),this._make(this.length>1&&ud.length>1?nd.reduce((dd,pd)=>pd(dd),ud):ud)}}}const _matcher=_getMatcher((Ra,qa)=>{let nd=[];for(let od=0;od0&&(nd=nd.concat(ld))}return nd}),_singleMatcher=_getMatcher((Ra,qa)=>{const nd=[];for(let od=0;od{const dd=[];return domEach(ud,pd=>{for(let fd;(fd=ld(pd))&&!(nd!=null&&nd(fd,dd.length));pd=fd)dd.push(fd)}),dd})(Ra,...qa);return function(ld,ud){nd=typeof ld=="string"?pd=>is$2(pd,ld,this.options):ld?getFilterFn(ld):null;const dd=od.call(this,ud);return nd=null,dd}}function _removeDuplicates(Ra){return Ra.length>1?Array.from(new Set(Ra)):Ra}const parent$1=_singleMatcher(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,_removeDuplicates),parents=_matcher(Ra=>{const qa=[];for(;Ra.parent&&!isDocument(Ra.parent);)qa.push(Ra.parent),Ra=Ra.parent;return qa},uniqueSort,Ra=>Ra.reverse()),parentsUntil=_matchUntil(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,uniqueSort,Ra=>Ra.reverse());function closest(Ra){var qa;const nd=[];if(!Ra)return this._make(nd);const od={xmlMode:this.options.xmlMode,root:(qa=this._root)===null||qa===void 0?void 0:qa[0]},ld=typeof Ra=="string"?ud=>is$2(ud,Ra,od):getFilterFn(Ra);return domEach(this,ud=>{for(ud&&!isDocument(ud)&&!isTag(ud)&&(ud=ud.parent);ud&&isTag(ud);){if(ld(ud,0)){nd.includes(ud)||nd.push(ud);break}ud=ud.parent}}),this._make(nd)}const next$1=_singleMatcher(Ra=>nextElementSibling(Ra)),nextAll=_matcher(Ra=>{const qa=[];for(;Ra.next;)Ra=Ra.next,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),nextUntil=_matchUntil(Ra=>nextElementSibling(Ra),_removeDuplicates),prev$1=_singleMatcher(Ra=>prevElementSibling(Ra)),prevAll=_matcher(Ra=>{const qa=[];for(;Ra.prev;)Ra=Ra.prev,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),prevUntil=_matchUntil(Ra=>prevElementSibling(Ra),_removeDuplicates),siblings=_matcher(Ra=>getSiblings(Ra).filter(qa=>isTag(qa)&&qa!==Ra),uniqueSort),children$2=_matcher(Ra=>getChildren(Ra).filter(isTag),_removeDuplicates);function contents(){const Ra=this.toArray().reduce((qa,nd)=>hasChildren(nd)?qa.concat(nd.children):qa,[]);return this._make(Ra)}function each$1(Ra){let qa=0;const nd=this.length;for(;qaRa.call(qa,nd,qa):isCheerio(Ra)?qa=>Array.prototype.includes.call(Ra,qa):function(qa){return Ra===qa}}function filter$3(Ra){var qa;return this._make(filterArray$1(this.toArray(),Ra,this.options.xmlMode,(qa=this._root)===null||qa===void 0?void 0:qa[0]))}function filterArray$1(Ra,qa,nd,od){return typeof qa=="string"?filter$4(qa,Ra,{xmlMode:nd,root:od}):Ra.filter(getFilterFn(qa))}function is$1(Ra){const qa=this.toArray();return typeof Ra=="string"?some$2(qa.filter(isTag),Ra,this.options):Ra?qa.some(getFilterFn(Ra)):!1}function not$1(Ra){let qa=this.toArray();if(typeof Ra=="string"){const nd=new Set(filter$4(Ra,qa,this.options));qa=qa.filter(od=>!nd.has(od))}else{const nd=getFilterFn(Ra);qa=qa.filter((od,ld)=>!nd(od,ld))}return this._make(qa)}function has(Ra){return this.filter(typeof Ra=="string"?`:has(${Ra})`:(qa,nd)=>this._make(nd).find(Ra).length>0)}function first(){return this.length>1?this._make(this[0]):this}function last(){return this.length>0?this._make(this[this.length-1]):this}function eq$1(Ra){var qa;return Ra=+Ra,Ra===0&&this.length<=1?this:(Ra<0&&(Ra=this.length+Ra),this._make((qa=this[Ra])!==null&&qa!==void 0?qa:[]))}function get$2(Ra){return Ra==null?this.toArray():this[Ra<0?this.length+Ra:Ra]}function toArray$5(){return Array.prototype.slice.call(this)}function index$1(Ra){let qa,nd;return Ra==null?(qa=this.parent().children(),nd=this[0]):typeof Ra=="string"?(qa=this._make(Ra),nd=this[0]):(qa=this,nd=isCheerio(Ra)?Ra[0]:Ra),Array.prototype.indexOf.call(qa,nd)}function slice$1(Ra,qa){return this._make(Array.prototype.slice.call(this,Ra,qa))}function end(){var Ra;return(Ra=this.prevObject)!==null&&Ra!==void 0?Ra:this._make([])}function add(Ra,qa){const nd=this._make(Ra,qa),od=uniqueSort([...this.get(),...nd.get()]);return this._make(od)}function addBack(Ra){return this.prevObject?this.add(Ra?this.prevObject.filter(Ra):this.prevObject):this}const Traversing=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector,add,addBack,children:children$2,closest,contents,each:each$1,end,eq:eq$1,filter:filter$3,filterArray:filterArray$1,find:find$1,first,get:get$2,has,index:index$1,is:is$1,last,map:map$5,next:next$1,nextAll,nextUntil,not:not$1,parent:parent$1,parents,parentsUntil,prev:prev$1,prevAll,prevUntil,siblings,slice:slice$1,toArray:toArray$5},Symbol.toStringTag,{value:"Module"}));function getParse(Ra){return function(nd,od,ld,ud){if(typeof Buffer$4<"u"&&Buffer$4.isBuffer(nd)&&(nd=nd.toString()),typeof nd=="string")return Ra(nd,od,ld,ud);const dd=nd;if(!Array.isArray(dd)&&isDocument(dd))return dd;const pd=new Document([]);return update(dd,pd),pd}}function update(Ra,qa){const nd=Array.isArray(Ra)?Ra:[Ra];qa?qa.children=nd:qa=null;for(let od=0;od{if(!hasChildren(od))return;const ud=typeof qa[0]=="function"?qa[0].call(od,ld,this._render(od.children)):qa,dd=this._makeDomArray(ud,ld=Ra.length?null:Ra[qa+nd];for(let vd=0;vd-1&&(Nd.children.splice(kd,1),ld===Nd&&qa>kd&&pd[0]--)}Ad.parent=ld,Ad.prev&&(Ad.prev.next=(ud=Ad.next)!==null&&ud!==void 0?ud:null),Ad.next&&(Ad.next.prev=(dd=Ad.prev)!==null&&dd!==void 0?dd:null),Ad.prev=vd===0?fd:od[vd-1],Ad.next=vd===od.length-1?md:od[vd+1]}return fd&&(fd.next=od[0]),md&&(md.prev=od[od.length-1]),Ra.splice(...pd)}function appendTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).append(this),this}function prependTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).prepend(this),this}const append$2=_insert((Ra,qa,nd)=>{uniqueSplice(qa,qa.length,0,Ra,nd)}),prepend=_insert((Ra,qa,nd)=>{uniqueSplice(qa,0,0,Ra,nd)});function _wrap(Ra){return function(qa){const nd=this.length-1,od=this.parents().last();for(let ld=0;ld{const{parent:od}=Ra;if(!od)return;const ld=od.children,ud=ld.indexOf(Ra);update([Ra],qa),uniqueSplice(ld,ud,0,nd,od)}),wrapInner=_wrap((Ra,qa,nd)=>{hasChildren(Ra)&&(update(Ra.children,qa),update(nd,Ra))});function unwrap(Ra){return this.parent(Ra).not("body").each((qa,nd)=>{this._make(nd).replaceWith(nd.children)}),this}function wrapAll(Ra){const qa=this[0];if(qa){const nd=this._make(typeof Ra=="function"?Ra.call(qa,0,qa):Ra).insertBefore(qa);let od;for(let ud=0;ud{if(!hasChildren(nd)||!nd.parent)return;const ld=nd.parent.children,ud=ld.indexOf(nd);if(ud<0)return;const dd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,pd=this._makeDomArray(dd,od{if(!hasChildren(nd)||!nd.parent)return;const ld=nd.parent.children,ud=ld.indexOf(nd);if(ud<0)return;const dd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,pd=this._makeDomArray(dd,od{const ld=this.clone().toArray(),{parent:ud}=od;if(!ud)return;const dd=ud.children,pd=dd.indexOf(od);pd<0||(uniqueSplice(dd,pd,0,ld,ud),nd.push(...ld))}),this._make(nd)}function remove$1(Ra){const qa=Ra?this.filter(Ra):this;return domEach(qa,nd=>{removeElement(nd),nd.prev=nd.next=nd.parent=null}),this}function replaceWith(Ra){return domEach(this,(qa,nd)=>{const{parent:od}=qa;if(!od)return;const ld=od.children,ud=typeof Ra=="function"?Ra.call(qa,nd,qa):Ra,dd=this._makeDomArray(ud);update(dd,null);const pd=ld.indexOf(qa);uniqueSplice(ld,pd,1,dd,od),dd.includes(qa)||(qa.parent=qa.prev=qa.next=null)})}function empty$1(){return domEach(this,Ra=>{if(hasChildren(Ra)){for(const qa of Ra.children)qa.next=qa.prev=qa.parent=null;Ra.children.length=0}})}function html$4(Ra){if(Ra===void 0){const qa=this[0];return!qa||!hasChildren(qa)?null:this._render(qa.children)}return domEach(this,qa=>{if(!hasChildren(qa))return;for(const od of qa.children)od.next=od.prev=od.parent=null;const nd=isCheerio(Ra)?Ra.toArray():this._parse(`${Ra}`,this.options,!1,qa).children;update(nd,qa)})}function toString$3(){return this._render(this)}function text$2(Ra){return Ra===void 0?text$3(this):typeof Ra=="function"?domEach(this,(qa,nd)=>this._make(qa).text(Ra.call(qa,nd,text$3([qa])))):domEach(this,qa=>{if(!hasChildren(qa))return;for(const od of qa.children)od.next=od.prev=od.parent=null;const nd=new Text(`${Ra}`);update(nd,qa)})}function clone$2(){const Ra=Array.prototype.map.call(this.get(),nd=>cloneNode(nd,!0)),qa=new Document(Ra);for(const nd of Ra)nd.parent=qa;return this._make(Ra)}const Manipulation=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray,after,append:append$2,appendTo,before,clone:clone$2,empty:empty$1,html:html$4,insertAfter,insertBefore,prepend,prependTo,remove:remove$1,replaceWith,text:text$2,toString:toString$3,unwrap,wrap:wrap$1,wrapAll,wrapInner},Symbol.toStringTag,{value:"Module"}));function css$1(Ra,qa){if(Ra!=null&&qa!=null||typeof Ra=="object"&&!Array.isArray(Ra))return domEach(this,(nd,od)=>{isTag(nd)&&setCss(nd,Ra,qa,od)});if(this.length!==0)return getCss(this[0],Ra)}function setCss(Ra,qa,nd,od){if(typeof qa=="string"){const ld=getCss(Ra),ud=typeof nd=="function"?nd.call(Ra,od,ld[qa]):nd;ud===""?delete ld[qa]:ud!=null&&(ld[qa]=ud),Ra.attribs.style=stringify$3(ld)}else if(typeof qa=="object"){const ld=Object.keys(qa);for(let ud=0;ud`${qa}${qa?" ":""}${nd}: ${Ra[nd]};`,"")}function parse$6(Ra){if(Ra=(Ra||"").trim(),!Ra)return{};const qa={};let nd;for(const od of Ra.split(";")){const ld=od.indexOf(":");if(ld<1||ld===od.length-1){const ud=od.trimEnd();ud.length>0&&nd!==void 0&&(qa[nd]+=`;${ud}`)}else nd=od.slice(0,ld).trim(),qa[nd]=od.slice(ld+1).trim()}return qa}const Css=Object.freeze(Object.defineProperty({__proto__:null,css:css$1},Symbol.toStringTag,{value:"Module"})),submittableSelector="input,select,textarea,keygen",r20=/%20/g,rCRLF=/\r?\n/g;function serialize$1(){return this.serializeArray().map(nd=>`${encodeURIComponent(nd.name)}=${encodeURIComponent(nd.value)}`).join("&").replace(r20,"+")}function serializeArray(){return this.map((Ra,qa)=>{const nd=this._make(qa);return isTag(qa)&&qa.name==="form"?nd.find(submittableSelector).toArray():nd.filter(submittableSelector).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((Ra,qa)=>{var nd;const od=this._make(qa),ld=od.attr("name"),ud=(nd=od.val())!==null&&nd!==void 0?nd:"";return Array.isArray(ud)?ud.map(dd=>({name:ld,value:dd.replace(rCRLF,`\r `)})):{name:ld,value:ud.replace(rCRLF,`\r -`)}}).toArray()}const Forms=Object.freeze(Object.defineProperty({__proto__:null,serialize:serialize$1,serializeArray},Symbol.toStringTag,{value:"Module"}));function getExtractDescr(Ra){var qa;return typeof Ra=="string"?{selector:Ra,value:"textContent"}:{selector:Ra.selector,value:(qa=Ra.value)!==null&&qa!==void 0?qa:"textContent"}}function extract(Ra){const qa={};for(const nd in Ra){const od=Ra[nd],ld=Array.isArray(od),{selector:ud,value:dd}=getExtractDescr(ld?od[0]:od),pd=typeof dd=="function"?dd:typeof dd=="string"?fd=>this._make(fd).prop(dd):fd=>this._make(fd).extract(dd);if(ld)qa[nd]=this._findBySelector(ud,Number.POSITIVE_INFINITY).map((fd,md)=>pd(md,nd,qa)).get();else{const fd=this._findBySelector(ud,1);qa[nd]=fd.length>0?pd(fd[0],nd,qa):void 0}}return qa}const Extract=Object.freeze(Object.defineProperty({__proto__:null,extract},Symbol.toStringTag,{value:"Module"}));class Cheerio{constructor(qa,nd,od){if(this.length=0,this.options=od,this._root=nd,qa){for(let ld=0;ld=55296&&Ra<=57343}function isSurrogatePair(Ra){return Ra>=56320&&Ra<=57343}function getSurrogatePairCodePoint(Ra,qa){return(Ra-55296)*1024+9216+qa}function isControlCodePoint(Ra){return Ra!==32&&Ra!==10&&Ra!==13&&Ra!==9&&Ra!==12&&Ra>=1&&Ra<=31||Ra>=127&&Ra<=159}function isUndefinedCodePoint(Ra){return Ra>=64976&&Ra<=65007||UNDEFINED_CODE_POINTS.has(Ra)}var ERR;(function(Ra){Ra.controlCharacterInInputStream="control-character-in-input-stream",Ra.noncharacterInInputStream="noncharacter-in-input-stream",Ra.surrogateInInputStream="surrogate-in-input-stream",Ra.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",Ra.endTagWithAttributes="end-tag-with-attributes",Ra.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",Ra.unexpectedSolidusInTag="unexpected-solidus-in-tag",Ra.unexpectedNullCharacter="unexpected-null-character",Ra.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",Ra.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",Ra.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",Ra.missingEndTagName="missing-end-tag-name",Ra.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",Ra.unknownNamedCharacterReference="unknown-named-character-reference",Ra.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",Ra.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",Ra.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",Ra.eofBeforeTagName="eof-before-tag-name",Ra.eofInTag="eof-in-tag",Ra.missingAttributeValue="missing-attribute-value",Ra.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",Ra.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",Ra.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",Ra.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",Ra.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",Ra.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",Ra.missingDoctypePublicIdentifier="missing-doctype-public-identifier",Ra.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",Ra.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",Ra.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",Ra.cdataInHtmlContent="cdata-in-html-content",Ra.incorrectlyOpenedComment="incorrectly-opened-comment",Ra.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",Ra.eofInDoctype="eof-in-doctype",Ra.nestedComment="nested-comment",Ra.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",Ra.eofInComment="eof-in-comment",Ra.incorrectlyClosedComment="incorrectly-closed-comment",Ra.eofInCdata="eof-in-cdata",Ra.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",Ra.nullCharacterReference="null-character-reference",Ra.surrogateCharacterReference="surrogate-character-reference",Ra.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",Ra.controlCharacterReference="control-character-reference",Ra.noncharacterCharacterReference="noncharacter-character-reference",Ra.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",Ra.missingDoctypeName="missing-doctype-name",Ra.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",Ra.duplicateAttribute="duplicate-attribute",Ra.nonConformingDoctype="non-conforming-doctype",Ra.missingDoctype="missing-doctype",Ra.misplacedDoctype="misplaced-doctype",Ra.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",Ra.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",Ra.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",Ra.openElementsLeftAfterEof="open-elements-left-after-eof",Ra.abandonedHeadElementChild="abandoned-head-element-child",Ra.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",Ra.nestedNoscriptInHead="nested-noscript-in-head",Ra.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(qa){this.handler=qa,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(qa,nd){const{line:od,col:ld,offset:ud}=this,dd=ld+nd,pd=ud+nd;return{code:qa,startLine:od,endLine:od,startCol:dd,endCol:dd,startOffset:pd,endOffset:pd}}_err(qa){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(qa,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(qa){if(this.pos!==this.html.length-1){const nd=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(nd))return this.pos++,this._addGap(),getSurrogatePairCodePoint(qa,nd)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),qa}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(qa,nd){this.html.length>0?this.html+=qa:this.html=qa,this.endOfChunkHit=!1,this.lastChunkWritten=nd}insertHtmlAtCurrentPos(qa){this.html=this.html.substring(0,this.pos+1)+qa+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(qa,nd){if(this.pos+qa.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(nd)return this.html.startsWith(qa,this.pos);for(let od=0;od=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const od=this.html.charCodeAt(nd);return od===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:od}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let qa=this.html.charCodeAt(this.pos);return qa===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):qa===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(qa)&&(qa=this._processSurrogate(qa)),this.handler.onParseError===null||qa>31&&qa<127||qa===CODE_POINTS.LINE_FEED||qa===CODE_POINTS.CARRIAGE_RETURN||qa>159&&qa<64976||this._checkForProblematicCharacters(qa),qa)}_checkForProblematicCharacters(qa){isControlCodePoint(qa)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(qa)&&this._err(ERR.noncharacterInInputStream)}retreat(qa){for(this.pos-=qa;this.pos=0;nd--)if(Ra.attrs[nd].name===qa)return Ra.attrs[nd].value;return null}var NS;(function(Ra){Ra.HTML="http://www.w3.org/1999/xhtml",Ra.MATHML="http://www.w3.org/1998/Math/MathML",Ra.SVG="http://www.w3.org/2000/svg",Ra.XLINK="http://www.w3.org/1999/xlink",Ra.XML="http://www.w3.org/XML/1998/namespace",Ra.XMLNS="http://www.w3.org/2000/xmlns/"})(NS||(NS={}));var ATTRS;(function(Ra){Ra.TYPE="type",Ra.ACTION="action",Ra.ENCODING="encoding",Ra.PROMPT="prompt",Ra.NAME="name",Ra.COLOR="color",Ra.FACE="face",Ra.SIZE="size"})(ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(Ra){Ra.NO_QUIRKS="no-quirks",Ra.QUIRKS="quirks",Ra.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(Ra){Ra.A="a",Ra.ADDRESS="address",Ra.ANNOTATION_XML="annotation-xml",Ra.APPLET="applet",Ra.AREA="area",Ra.ARTICLE="article",Ra.ASIDE="aside",Ra.B="b",Ra.BASE="base",Ra.BASEFONT="basefont",Ra.BGSOUND="bgsound",Ra.BIG="big",Ra.BLOCKQUOTE="blockquote",Ra.BODY="body",Ra.BR="br",Ra.BUTTON="button",Ra.CAPTION="caption",Ra.CENTER="center",Ra.CODE="code",Ra.COL="col",Ra.COLGROUP="colgroup",Ra.DD="dd",Ra.DESC="desc",Ra.DETAILS="details",Ra.DIALOG="dialog",Ra.DIR="dir",Ra.DIV="div",Ra.DL="dl",Ra.DT="dt",Ra.EM="em",Ra.EMBED="embed",Ra.FIELDSET="fieldset",Ra.FIGCAPTION="figcaption",Ra.FIGURE="figure",Ra.FONT="font",Ra.FOOTER="footer",Ra.FOREIGN_OBJECT="foreignObject",Ra.FORM="form",Ra.FRAME="frame",Ra.FRAMESET="frameset",Ra.H1="h1",Ra.H2="h2",Ra.H3="h3",Ra.H4="h4",Ra.H5="h5",Ra.H6="h6",Ra.HEAD="head",Ra.HEADER="header",Ra.HGROUP="hgroup",Ra.HR="hr",Ra.HTML="html",Ra.I="i",Ra.IMG="img",Ra.IMAGE="image",Ra.INPUT="input",Ra.IFRAME="iframe",Ra.KEYGEN="keygen",Ra.LABEL="label",Ra.LI="li",Ra.LINK="link",Ra.LISTING="listing",Ra.MAIN="main",Ra.MALIGNMARK="malignmark",Ra.MARQUEE="marquee",Ra.MATH="math",Ra.MENU="menu",Ra.META="meta",Ra.MGLYPH="mglyph",Ra.MI="mi",Ra.MO="mo",Ra.MN="mn",Ra.MS="ms",Ra.MTEXT="mtext",Ra.NAV="nav",Ra.NOBR="nobr",Ra.NOFRAMES="noframes",Ra.NOEMBED="noembed",Ra.NOSCRIPT="noscript",Ra.OBJECT="object",Ra.OL="ol",Ra.OPTGROUP="optgroup",Ra.OPTION="option",Ra.P="p",Ra.PARAM="param",Ra.PLAINTEXT="plaintext",Ra.PRE="pre",Ra.RB="rb",Ra.RP="rp",Ra.RT="rt",Ra.RTC="rtc",Ra.RUBY="ruby",Ra.S="s",Ra.SCRIPT="script",Ra.SEARCH="search",Ra.SECTION="section",Ra.SELECT="select",Ra.SOURCE="source",Ra.SMALL="small",Ra.SPAN="span",Ra.STRIKE="strike",Ra.STRONG="strong",Ra.STYLE="style",Ra.SUB="sub",Ra.SUMMARY="summary",Ra.SUP="sup",Ra.TABLE="table",Ra.TBODY="tbody",Ra.TEMPLATE="template",Ra.TEXTAREA="textarea",Ra.TFOOT="tfoot",Ra.TD="td",Ra.TH="th",Ra.THEAD="thead",Ra.TITLE="title",Ra.TR="tr",Ra.TRACK="track",Ra.TT="tt",Ra.U="u",Ra.UL="ul",Ra.SVG="svg",Ra.VAR="var",Ra.WBR="wbr",Ra.XMP="xmp"})(TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(Ra){Ra[Ra.UNKNOWN=0]="UNKNOWN",Ra[Ra.A=1]="A",Ra[Ra.ADDRESS=2]="ADDRESS",Ra[Ra.ANNOTATION_XML=3]="ANNOTATION_XML",Ra[Ra.APPLET=4]="APPLET",Ra[Ra.AREA=5]="AREA",Ra[Ra.ARTICLE=6]="ARTICLE",Ra[Ra.ASIDE=7]="ASIDE",Ra[Ra.B=8]="B",Ra[Ra.BASE=9]="BASE",Ra[Ra.BASEFONT=10]="BASEFONT",Ra[Ra.BGSOUND=11]="BGSOUND",Ra[Ra.BIG=12]="BIG",Ra[Ra.BLOCKQUOTE=13]="BLOCKQUOTE",Ra[Ra.BODY=14]="BODY",Ra[Ra.BR=15]="BR",Ra[Ra.BUTTON=16]="BUTTON",Ra[Ra.CAPTION=17]="CAPTION",Ra[Ra.CENTER=18]="CENTER",Ra[Ra.CODE=19]="CODE",Ra[Ra.COL=20]="COL",Ra[Ra.COLGROUP=21]="COLGROUP",Ra[Ra.DD=22]="DD",Ra[Ra.DESC=23]="DESC",Ra[Ra.DETAILS=24]="DETAILS",Ra[Ra.DIALOG=25]="DIALOG",Ra[Ra.DIR=26]="DIR",Ra[Ra.DIV=27]="DIV",Ra[Ra.DL=28]="DL",Ra[Ra.DT=29]="DT",Ra[Ra.EM=30]="EM",Ra[Ra.EMBED=31]="EMBED",Ra[Ra.FIELDSET=32]="FIELDSET",Ra[Ra.FIGCAPTION=33]="FIGCAPTION",Ra[Ra.FIGURE=34]="FIGURE",Ra[Ra.FONT=35]="FONT",Ra[Ra.FOOTER=36]="FOOTER",Ra[Ra.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Ra[Ra.FORM=38]="FORM",Ra[Ra.FRAME=39]="FRAME",Ra[Ra.FRAMESET=40]="FRAMESET",Ra[Ra.H1=41]="H1",Ra[Ra.H2=42]="H2",Ra[Ra.H3=43]="H3",Ra[Ra.H4=44]="H4",Ra[Ra.H5=45]="H5",Ra[Ra.H6=46]="H6",Ra[Ra.HEAD=47]="HEAD",Ra[Ra.HEADER=48]="HEADER",Ra[Ra.HGROUP=49]="HGROUP",Ra[Ra.HR=50]="HR",Ra[Ra.HTML=51]="HTML",Ra[Ra.I=52]="I",Ra[Ra.IMG=53]="IMG",Ra[Ra.IMAGE=54]="IMAGE",Ra[Ra.INPUT=55]="INPUT",Ra[Ra.IFRAME=56]="IFRAME",Ra[Ra.KEYGEN=57]="KEYGEN",Ra[Ra.LABEL=58]="LABEL",Ra[Ra.LI=59]="LI",Ra[Ra.LINK=60]="LINK",Ra[Ra.LISTING=61]="LISTING",Ra[Ra.MAIN=62]="MAIN",Ra[Ra.MALIGNMARK=63]="MALIGNMARK",Ra[Ra.MARQUEE=64]="MARQUEE",Ra[Ra.MATH=65]="MATH",Ra[Ra.MENU=66]="MENU",Ra[Ra.META=67]="META",Ra[Ra.MGLYPH=68]="MGLYPH",Ra[Ra.MI=69]="MI",Ra[Ra.MO=70]="MO",Ra[Ra.MN=71]="MN",Ra[Ra.MS=72]="MS",Ra[Ra.MTEXT=73]="MTEXT",Ra[Ra.NAV=74]="NAV",Ra[Ra.NOBR=75]="NOBR",Ra[Ra.NOFRAMES=76]="NOFRAMES",Ra[Ra.NOEMBED=77]="NOEMBED",Ra[Ra.NOSCRIPT=78]="NOSCRIPT",Ra[Ra.OBJECT=79]="OBJECT",Ra[Ra.OL=80]="OL",Ra[Ra.OPTGROUP=81]="OPTGROUP",Ra[Ra.OPTION=82]="OPTION",Ra[Ra.P=83]="P",Ra[Ra.PARAM=84]="PARAM",Ra[Ra.PLAINTEXT=85]="PLAINTEXT",Ra[Ra.PRE=86]="PRE",Ra[Ra.RB=87]="RB",Ra[Ra.RP=88]="RP",Ra[Ra.RT=89]="RT",Ra[Ra.RTC=90]="RTC",Ra[Ra.RUBY=91]="RUBY",Ra[Ra.S=92]="S",Ra[Ra.SCRIPT=93]="SCRIPT",Ra[Ra.SEARCH=94]="SEARCH",Ra[Ra.SECTION=95]="SECTION",Ra[Ra.SELECT=96]="SELECT",Ra[Ra.SOURCE=97]="SOURCE",Ra[Ra.SMALL=98]="SMALL",Ra[Ra.SPAN=99]="SPAN",Ra[Ra.STRIKE=100]="STRIKE",Ra[Ra.STRONG=101]="STRONG",Ra[Ra.STYLE=102]="STYLE",Ra[Ra.SUB=103]="SUB",Ra[Ra.SUMMARY=104]="SUMMARY",Ra[Ra.SUP=105]="SUP",Ra[Ra.TABLE=106]="TABLE",Ra[Ra.TBODY=107]="TBODY",Ra[Ra.TEMPLATE=108]="TEMPLATE",Ra[Ra.TEXTAREA=109]="TEXTAREA",Ra[Ra.TFOOT=110]="TFOOT",Ra[Ra.TD=111]="TD",Ra[Ra.TH=112]="TH",Ra[Ra.THEAD=113]="THEAD",Ra[Ra.TITLE=114]="TITLE",Ra[Ra.TR=115]="TR",Ra[Ra.TRACK=116]="TRACK",Ra[Ra.TT=117]="TT",Ra[Ra.U=118]="U",Ra[Ra.UL=119]="UL",Ra[Ra.SVG=120]="SVG",Ra[Ra.VAR=121]="VAR",Ra[Ra.WBR=122]="WBR",Ra[Ra.XMP=123]="XMP"})(TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(Ra){var qa;return(qa=TAG_NAME_TO_ID.get(Ra))!==null&&qa!==void 0?qa:TAG_ID.UNKNOWN}const $$4=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$$4.ADDRESS,$$4.APPLET,$$4.AREA,$$4.ARTICLE,$$4.ASIDE,$$4.BASE,$$4.BASEFONT,$$4.BGSOUND,$$4.BLOCKQUOTE,$$4.BODY,$$4.BR,$$4.BUTTON,$$4.CAPTION,$$4.CENTER,$$4.COL,$$4.COLGROUP,$$4.DD,$$4.DETAILS,$$4.DIR,$$4.DIV,$$4.DL,$$4.DT,$$4.EMBED,$$4.FIELDSET,$$4.FIGCAPTION,$$4.FIGURE,$$4.FOOTER,$$4.FORM,$$4.FRAME,$$4.FRAMESET,$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6,$$4.HEAD,$$4.HEADER,$$4.HGROUP,$$4.HR,$$4.HTML,$$4.IFRAME,$$4.IMG,$$4.INPUT,$$4.LI,$$4.LINK,$$4.LISTING,$$4.MAIN,$$4.MARQUEE,$$4.MENU,$$4.META,$$4.NAV,$$4.NOEMBED,$$4.NOFRAMES,$$4.NOSCRIPT,$$4.OBJECT,$$4.OL,$$4.P,$$4.PARAM,$$4.PLAINTEXT,$$4.PRE,$$4.SCRIPT,$$4.SECTION,$$4.SELECT,$$4.SOURCE,$$4.STYLE,$$4.SUMMARY,$$4.TABLE,$$4.TBODY,$$4.TD,$$4.TEMPLATE,$$4.TEXTAREA,$$4.TFOOT,$$4.TH,$$4.THEAD,$$4.TITLE,$$4.TR,$$4.TRACK,$$4.UL,$$4.WBR,$$4.XMP]),[NS.MATHML]:new Set([$$4.MI,$$4.MO,$$4.MN,$$4.MS,$$4.MTEXT,$$4.ANNOTATION_XML]),[NS.SVG]:new Set([$$4.TITLE,$$4.FOREIGN_OBJECT,$$4.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6]),UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(Ra,qa){return UNESCAPED_TEXT.has(Ra)||qa&&Ra===TAG_NAMES.NOSCRIPT}var State$5;(function(Ra){Ra[Ra.DATA=0]="DATA",Ra[Ra.RCDATA=1]="RCDATA",Ra[Ra.RAWTEXT=2]="RAWTEXT",Ra[Ra.SCRIPT_DATA=3]="SCRIPT_DATA",Ra[Ra.PLAINTEXT=4]="PLAINTEXT",Ra[Ra.TAG_OPEN=5]="TAG_OPEN",Ra[Ra.END_TAG_OPEN=6]="END_TAG_OPEN",Ra[Ra.TAG_NAME=7]="TAG_NAME",Ra[Ra.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Ra[Ra.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Ra[Ra.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Ra[Ra.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Ra[Ra.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Ra[Ra.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Ra[Ra.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Ra[Ra.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Ra[Ra.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Ra[Ra.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Ra[Ra.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Ra[Ra.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Ra[Ra.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Ra[Ra.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Ra[Ra.BOGUS_COMMENT=40]="BOGUS_COMMENT",Ra[Ra.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Ra[Ra.COMMENT_START=42]="COMMENT_START",Ra[Ra.COMMENT_START_DASH=43]="COMMENT_START_DASH",Ra[Ra.COMMENT=44]="COMMENT",Ra[Ra.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Ra[Ra.COMMENT_END_DASH=49]="COMMENT_END_DASH",Ra[Ra.COMMENT_END=50]="COMMENT_END",Ra[Ra.COMMENT_END_BANG=51]="COMMENT_END_BANG",Ra[Ra.DOCTYPE=52]="DOCTYPE",Ra[Ra.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Ra[Ra.DOCTYPE_NAME=54]="DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Ra[Ra.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ra[Ra.CDATA_SECTION=68]="CDATA_SECTION",Ra[Ra.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Ra[Ra.CDATA_SECTION_END=70]="CDATA_SECTION_END",Ra[Ra.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Ra[Ra.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(State$5||(State$5={}));const TokenizerMode={DATA:State$5.DATA,RCDATA:State$5.RCDATA,RAWTEXT:State$5.RAWTEXT,SCRIPT_DATA:State$5.SCRIPT_DATA,PLAINTEXT:State$5.PLAINTEXT,CDATA_SECTION:State$5.CDATA_SECTION};function isAsciiDigit(Ra){return Ra>=CODE_POINTS.DIGIT_0&&Ra<=CODE_POINTS.DIGIT_9}function isAsciiUpper(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(Ra){return isAsciiLower(Ra)||isAsciiUpper(Ra)}function isAsciiAlphaNumeric(Ra){return isAsciiLetter(Ra)||isAsciiDigit(Ra)}function toAsciiLower(Ra){return Ra+32}function isWhitespace$3(Ra){return Ra===CODE_POINTS.SPACE||Ra===CODE_POINTS.LINE_FEED||Ra===CODE_POINTS.TABULATION||Ra===CODE_POINTS.FORM_FEED}function isScriptDataDoubleEscapeSequenceEnd(Ra){return isWhitespace$3(Ra)||Ra===CODE_POINTS.SOLIDUS||Ra===CODE_POINTS.GREATER_THAN_SIGN}function getErrorForNumericCharacterReference(Ra){return Ra===CODE_POINTS.NULL?ERR.nullCharacterReference:Ra>1114111?ERR.characterReferenceOutsideUnicodeRange:isSurrogate(Ra)?ERR.surrogateCharacterReference:isUndefinedCodePoint(Ra)?ERR.noncharacterCharacterReference:isControlCodePoint(Ra)||Ra===CODE_POINTS.CARRIAGE_RETURN?ERR.controlCharacterReference:null}let Tokenizer$1=class{constructor(qa,nd){this.options=qa,this.handler=nd,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State$5.DATA,this.returnState=State$5.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(nd),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder(htmlDecodeTree,(od,ld)=>{this.preprocessor.pos=this.entityStartPos+ld-1,this._flushCodePointConsumedAsCharacterReference(od)},nd.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:od=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+od)},validateNumericCharacterReference:od=>{const ld=getErrorForNumericCharacterReference(od);ld&&this._err(ld,1)}}:void 0)}_err(qa,nd=0){var od,ld;(ld=(od=this.handler).onParseError)===null||ld===void 0||ld.call(od,this.preprocessor.getError(qa,nd))}getCurrentLocation(qa){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-qa,startOffset:this.preprocessor.offset-qa,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const qa=this._consume();this._ensureHibernation()||this._callState(qa)}this.inLoop=!1}}pause(){this.paused=!0}resume(qa){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||qa==null||qa())}write(qa,nd,od){this.active=!0,this.preprocessor.write(qa,nd),this._runParsingLoop(),this.paused||od==null||od()}insertHtmlAtCurrentPos(qa){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(qa),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(qa){this.consumedAfterSnapshot+=qa;for(let nd=0;nd0&&this._err(ERR.endTagWithAttributes),qa.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(qa)),this.preprocessor.dropParsedChunk()}emitCurrentComment(qa){this.prepareToken(qa),this.handler.onComment(qa),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(qa){this.prepareToken(qa),this.handler.onDoctype(qa),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(qa){if(this.currentCharacterToken){switch(qa&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=qa.startLine,this.currentCharacterToken.location.endCol=qa.startCol,this.currentCharacterToken.location.endOffset=qa.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const qa=this.getCurrentLocation(0);qa&&(qa.endLine=qa.startLine,qa.endCol=qa.startCol,qa.endOffset=qa.startOffset),this._emitCurrentCharacterToken(qa),this.handler.onEof({type:TokenType.EOF,location:qa}),this.active=!1}_appendCharToCurrentCharacterToken(qa,nd){if(this.currentCharacterToken)if(this.currentCharacterToken.type===qa){this.currentCharacterToken.chars+=nd;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(qa,nd)}_emitCodePoint(qa){const nd=isWhitespace$3(qa)?TokenType.WHITESPACE_CHARACTER:qa===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(nd,String.fromCodePoint(qa))}_emitChars(qa){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,qa)}_startCharacterReference(){this.returnState=this.state,this.state=State$5.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode.Attribute:DecodingMode.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State$5.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State$5.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State$5.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(qa){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(qa):this._emitCodePoint(qa)}_callState(qa){switch(this.state){case State$5.DATA:{this._stateData(qa);break}case State$5.RCDATA:{this._stateRcdata(qa);break}case State$5.RAWTEXT:{this._stateRawtext(qa);break}case State$5.SCRIPT_DATA:{this._stateScriptData(qa);break}case State$5.PLAINTEXT:{this._statePlaintext(qa);break}case State$5.TAG_OPEN:{this._stateTagOpen(qa);break}case State$5.END_TAG_OPEN:{this._stateEndTagOpen(qa);break}case State$5.TAG_NAME:{this._stateTagName(qa);break}case State$5.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(qa);break}case State$5.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(qa);break}case State$5.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(qa);break}case State$5.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(qa);break}case State$5.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(qa);break}case State$5.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(qa);break}case State$5.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(qa);break}case State$5.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(qa);break}case State$5.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(qa);break}case State$5.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(qa);break}case State$5.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(qa);break}case State$5.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(qa);break}case State$5.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(qa);break}case State$5.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(qa);break}case State$5.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(qa);break}case State$5.ATTRIBUTE_NAME:{this._stateAttributeName(qa);break}case State$5.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(qa);break}case State$5.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(qa);break}case State$5.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(qa);break}case State$5.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(qa);break}case State$5.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(qa);break}case State$5.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(qa);break}case State$5.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(qa);break}case State$5.BOGUS_COMMENT:{this._stateBogusComment(qa);break}case State$5.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(qa);break}case State$5.COMMENT_START:{this._stateCommentStart(qa);break}case State$5.COMMENT_START_DASH:{this._stateCommentStartDash(qa);break}case State$5.COMMENT:{this._stateComment(qa);break}case State$5.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(qa);break}case State$5.COMMENT_END_DASH:{this._stateCommentEndDash(qa);break}case State$5.COMMENT_END:{this._stateCommentEnd(qa);break}case State$5.COMMENT_END_BANG:{this._stateCommentEndBang(qa);break}case State$5.DOCTYPE:{this._stateDoctype(qa);break}case State$5.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(qa);break}case State$5.DOCTYPE_NAME:{this._stateDoctypeName(qa);break}case State$5.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(qa);break}case State$5.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(qa);break}case State$5.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(qa);break}case State$5.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(qa);break}case State$5.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(qa);break}case State$5.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(qa);break}case State$5.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(qa);break}case State$5.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(qa);break}case State$5.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(qa);break}case State$5.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(qa);break}case State$5.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(qa);break}case State$5.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(qa);break}case State$5.BOGUS_DOCTYPE:{this._stateBogusDoctype(qa);break}case State$5.CDATA_SECTION:{this._stateCdataSection(qa);break}case State$5.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(qa);break}case State$5.CDATA_SECTION_END:{this._stateCdataSectionEnd(qa);break}case State$5.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case State$5.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(qa);break}default:throw new Error("Unknown state")}}_stateData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(qa);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRcdata(qa){switch(qa){case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRawtext(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_statePlaintext(qa){switch(qa){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateTagOpen(qa){if(isAsciiLetter(qa))this._createStartTagToken(),this.state=State$5.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$5.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State$5.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State$5.BOGUS_COMMENT,this._stateBogusComment(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State$5.DATA,this._stateData(qa)}}_stateEndTagOpen(qa){if(isAsciiLetter(qa))this._createEndTagToken(),this.state=State$5.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$5.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$5.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$5.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(qa)?(this._emitChars("<"),this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(qa)):(this._emitChars("<"),this.state=State$5.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$5.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(qa)):(this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?(this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateScriptDataDoubleEscapeEnd(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let nd=0;nd0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!0)}replace(qa,nd){const od=this._indexOf(qa);this.items[od]=nd,od===this.stackTop&&(this.current=nd)}insertAfter(qa,nd,od){const ld=this._indexOf(qa)+1;this.items.splice(ld,0,nd),this.tagIDs.splice(ld,0,od),this.stackTop++,ld===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,ld===this.stackTop)}popUntilTagNamePopped(qa){let nd=this.stackTop+1;do nd=this.tagIDs.lastIndexOf(qa,nd-1);while(nd>0&&this.treeAdapter.getNamespaceURI(this.items[nd])!==NS.HTML);this.shortenToLength(nd<0?0:nd)}shortenToLength(qa){for(;this.stackTop>=qa;){const nd=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(nd,this.stackTop=0;od--)if(qa.has(this.tagIDs[od])&&this.treeAdapter.getNamespaceURI(this.items[od])===nd)return od;return-1}clearBackTo(qa,nd){const od=this._indexOfTagNames(qa,nd);this.shortenToLength(od+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(qa){const nd=this._indexOf(qa);nd>=0&&(nd===this.stackTop?this.pop():(this.items.splice(nd,1),this.tagIDs.splice(nd,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(qa){return this._indexOf(qa)>-1}getCommonAncestor(qa){const nd=this._indexOf(qa)-1;return nd>=0?this.items[nd]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(qa,nd){for(let od=this.stackTop;od>=0;od--){const ld=this.tagIDs[od];switch(this.treeAdapter.getNamespaceURI(this.items[od])){case NS.HTML:{if(ld===qa)return!0;if(nd.has(ld))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(ld))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(ld))return!1;break}}}return!0}hasInScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML)}hasInListItemScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let qa=this.stackTop;qa>=0;qa--){const nd=this.tagIDs[qa];switch(this.treeAdapter.getNamespaceURI(this.items[qa])){case NS.HTML:{if(NUMBERED_HEADERS.has(nd))return!0;if(SCOPING_ELEMENTS_HTML.has(nd))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(nd))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(nd))return!1;break}}}return!0}hasInTableScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let qa=this.stackTop;qa>=0;qa--)if(this.treeAdapter.getNamespaceURI(this.items[qa])===NS.HTML)switch(this.tagIDs[qa]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(qa){for(;this.currentTagId!==qa&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}const NOAH_ARK_CAPACITY=3;var EntryType;(function(Ra){Ra[Ra.Marker=0]="Marker",Ra[Ra.Element=1]="Element"})(EntryType||(EntryType={}));const MARKER={type:EntryType.Marker};class FormattingElementList{constructor(qa){this.treeAdapter=qa,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(qa,nd){const od=[],ld=nd.length,ud=this.treeAdapter.getTagName(qa),dd=this.treeAdapter.getNamespaceURI(qa);for(let pd=0;pd[dd.name,dd.value]));let ud=0;for(let dd=0;ddld.get(fd.name)===fd.value)&&(ud+=1,ud>=NOAH_ARK_CAPACITY&&this.entries.splice(pd.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(qa,nd){this._ensureNoahArkCondition(qa),this.entries.unshift({type:EntryType.Element,element:qa,token:nd})}insertElementAfterBookmark(qa,nd){const od=this.entries.indexOf(this.bookmark);this.entries.splice(od,0,{type:EntryType.Element,element:qa,token:nd})}removeEntry(qa){const nd=this.entries.indexOf(qa);nd>=0&&this.entries.splice(nd,1)}clearToLastMarker(){const qa=this.entries.indexOf(MARKER);qa>=0?this.entries.splice(0,qa+1):this.entries.length=0}getElementEntryInScopeWithTagName(qa){const nd=this.entries.find(od=>od.type===EntryType.Marker||this.treeAdapter.getTagName(od.element)===qa);return nd&&nd.type===EntryType.Element?nd:null}getElementEntry(qa){return this.entries.find(nd=>nd.type===EntryType.Element&&nd.element===qa)}}const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(Ra,qa,nd){return{nodeName:Ra,tagName:Ra,attrs:nd,namespaceURI:qa,childNodes:[],parentNode:null}},createCommentNode(Ra){return{nodeName:"#comment",data:Ra,parentNode:null}},createTextNode(Ra){return{nodeName:"#text",value:Ra,parentNode:null}},appendChild(Ra,qa){Ra.childNodes.push(qa),qa.parentNode=Ra},insertBefore(Ra,qa,nd){const od=Ra.childNodes.indexOf(nd);Ra.childNodes.splice(od,0,qa),qa.parentNode=Ra},setTemplateContent(Ra,qa){Ra.content=qa},getTemplateContent(Ra){return Ra.content},setDocumentType(Ra,qa,nd,od){const ld=Ra.childNodes.find(ud=>ud.nodeName==="#documentType");if(ld)ld.name=qa,ld.publicId=nd,ld.systemId=od;else{const ud={nodeName:"#documentType",name:qa,publicId:nd,systemId:od,parentNode:null};defaultTreeAdapter.appendChild(Ra,ud)}},setDocumentMode(Ra,qa){Ra.mode=qa},getDocumentMode(Ra){return Ra.mode},detachNode(Ra){if(Ra.parentNode){const qa=Ra.parentNode.childNodes.indexOf(Ra);Ra.parentNode.childNodes.splice(qa,1),Ra.parentNode=null}},insertText(Ra,qa){if(Ra.childNodes.length>0){const nd=Ra.childNodes[Ra.childNodes.length-1];if(defaultTreeAdapter.isTextNode(nd)){nd.value+=qa;return}}defaultTreeAdapter.appendChild(Ra,defaultTreeAdapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.childNodes[Ra.childNodes.indexOf(nd)-1];od&&defaultTreeAdapter.isTextNode(od)?od.value+=qa:defaultTreeAdapter.insertBefore(Ra,defaultTreeAdapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){const nd=new Set(Ra.attrs.map(od=>od.name));for(let od=0;odRa.startsWith(nd))}function isConforming(Ra){return Ra.name===VALID_DOCTYPE_NAME&&Ra.publicId===null&&(Ra.systemId===null||Ra.systemId===VALID_SYSTEM_ID)}function getDocumentMode(Ra){if(Ra.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId:qa}=Ra;if(qa&&qa.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:nd}=Ra;if(nd!==null){if(nd=nd.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(nd))return DOCUMENT_MODE.QUIRKS;let od=qa===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(nd,od))return DOCUMENT_MODE.QUIRKS;if(od=qa===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(nd,od))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(Ra){const qa=Ra.tagID;return qa===TAG_ID.FONT&&Ra.attrs.some(({name:od})=>od===ATTRS.COLOR||od===ATTRS.SIZE||od===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(qa)}function adjustTokenMathMLAttrs(Ra){for(let qa=0;qa0&&this._setContextModes(qa,nd)}onItemPop(qa,nd){var od,ld;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(qa,this.currentToken),(ld=(od=this.treeAdapter).onItemPop)===null||ld===void 0||ld.call(od,qa,this.openElements.current),nd){let ud,dd;this.openElements.stackTop===0&&this.fragmentContext?(ud=this.fragmentContext,dd=this.fragmentContextID):{current:ud,currentTagId:dd}=this.openElements,this._setContextModes(ud,dd)}}_setContextModes(qa,nd){const od=qa===this.document||this.treeAdapter.getNamespaceURI(qa)===NS.HTML;this.currentNotInHTML=!od,this.tokenizer.inForeignNode=!od&&!this._isIntegrationPoint(nd,qa)}_switchToTextParsing(qa,nd){this._insertElement(qa,NS.HTML),this.tokenizer.state=nd,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let qa=this.fragmentContext;for(;qa;){if(this.treeAdapter.getTagName(qa)===TAG_NAMES.FORM){this.formElement=qa;break}qa=this.treeAdapter.getParentNode(qa)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(qa){const nd=qa.name||"",od=qa.publicId||"",ld=qa.systemId||"";if(this.treeAdapter.setDocumentType(this.document,nd,od,ld),qa.location){const dd=this.treeAdapter.getChildNodes(this.document).find(pd=>this.treeAdapter.isDocumentTypeNode(pd));dd&&this.treeAdapter.setNodeSourceCodeLocation(dd,qa.location)}}_attachElementToTree(qa,nd){if(this.options.sourceCodeLocationInfo){const od=nd&&{...nd,startTag:nd};this.treeAdapter.setNodeSourceCodeLocation(qa,od)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(qa);else{const od=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(od,qa)}}_appendElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location)}_insertElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location),this.openElements.push(od,qa.tagID)}_insertFakeElement(qa,nd){const od=this.treeAdapter.createElement(qa,NS.HTML,[]);this._attachElementToTree(od,null),this.openElements.push(od,nd)}_insertTemplate(qa){const nd=this.treeAdapter.createElement(qa.tagName,NS.HTML,qa.attrs),od=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(nd,od),this._attachElementToTree(nd,qa.location),this.openElements.push(nd,qa.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,null)}_insertFakeRootElement(){const qa=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qa,null),this.treeAdapter.appendChild(this.openElements.current,qa),this.openElements.push(qa,TAG_ID.HTML)}_appendCommentNode(qa,nd){const od=this.treeAdapter.createCommentNode(qa.data);this.treeAdapter.appendChild(nd,od),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,qa.location)}_insertCharacters(qa){let nd,od;if(this._shouldFosterParentOnInsertion()?({parent:nd,beforeElement:od}=this._findFosterParentingLocation(),od?this.treeAdapter.insertTextBefore(nd,qa.chars,od):this.treeAdapter.insertText(nd,qa.chars)):(nd=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(nd,qa.chars)),!qa.location)return;const ld=this.treeAdapter.getChildNodes(nd),ud=od?ld.lastIndexOf(od):ld.length,dd=ld[ud-1];if(this.treeAdapter.getNodeSourceCodeLocation(dd)){const{endLine:fd,endCol:md,endOffset:vd}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(dd,{endLine:fd,endCol:md,endOffset:vd})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(dd,qa.location)}_adoptNodes(qa,nd){for(let od=this.treeAdapter.getFirstChild(qa);od;od=this.treeAdapter.getFirstChild(qa))this.treeAdapter.detachNode(od),this.treeAdapter.appendChild(nd,od)}_setEndLocation(qa,nd){if(this.treeAdapter.getNodeSourceCodeLocation(qa)&&nd.location){const od=nd.location,ld=this.treeAdapter.getTagName(qa),ud=nd.type===TokenType.END_TAG&&ld===nd.tagName?{endTag:{...od},endLine:od.endLine,endCol:od.endCol,endOffset:od.endOffset}:{endLine:od.startLine,endCol:od.startCol,endOffset:od.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(qa,ud)}}shouldProcessStartTagTokenInForeignContent(qa){if(!this.currentNotInHTML)return!1;let nd,od;return this.openElements.stackTop===0&&this.fragmentContext?(nd=this.fragmentContext,od=this.fragmentContextID):{current:nd,currentTagId:od}=this.openElements,qa.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(nd)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(nd)===NS.MATHML?!1:this.tokenizer.inForeignNode||(qa.tagID===TAG_ID.MGLYPH||qa.tagID===TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(od,nd,NS.HTML)}_processToken(qa){switch(qa.type){case TokenType.CHARACTER:{this.onCharacter(qa);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(qa);break}case TokenType.COMMENT:{this.onComment(qa);break}case TokenType.DOCTYPE:{this.onDoctype(qa);break}case TokenType.START_TAG:{this._processStartTag(qa);break}case TokenType.END_TAG:{this.onEndTag(qa);break}case TokenType.EOF:{this.onEof(qa);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(qa);break}}}_isIntegrationPoint(qa,nd,od){const ld=this.treeAdapter.getNamespaceURI(nd),ud=this.treeAdapter.getAttrList(nd);return isIntegrationPoint(qa,ld,ud,od)}_reconstructActiveFormattingElements(){const qa=this.activeFormattingElements.entries.length;if(qa){const nd=this.activeFormattingElements.entries.findIndex(ld=>ld.type===EntryType.Marker||this.openElements.contains(ld.element)),od=nd<0?qa-1:nd-1;for(let ld=od;ld>=0;ld--){const ud=this.activeFormattingElements.entries[ld];this._insertElement(ud.token,this.treeAdapter.getNamespaceURI(ud.element)),ud.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let qa=this.openElements.stackTop;qa>=0;qa--)switch(qa===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[qa]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(qa);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(qa>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(qa>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(qa){if(qa>0)for(let nd=qa-1;nd>0;nd--){const od=this.openElements.tagIDs[nd];if(od===TAG_ID.TEMPLATE)break;if(od===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(qa){return TABLE_STRUCTURE_TAGS.has(qa)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let qa=this.openElements.stackTop;qa>=0;qa--){const nd=this.openElements.items[qa];switch(this.openElements.tagIDs[qa]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(nd)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(nd),beforeElement:null};break}case TAG_ID.TABLE:{const od=this.treeAdapter.getParentNode(nd);return od?{parent:od,beforeElement:nd}:{parent:this.openElements.items[qa-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(qa){const nd=this._findFosterParentingLocation();nd.beforeElement?this.treeAdapter.insertBefore(nd.parent,qa,nd.beforeElement):this.treeAdapter.appendChild(nd.parent,qa)}_isSpecialElement(qa,nd){const od=this.treeAdapter.getNamespaceURI(qa);return SPECIAL_ELEMENTS[od].has(nd)}onCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,qa);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onNullCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.TEXT:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onComment(qa){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,qa);break}}}onDoctype(qa){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,qa);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(qa,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}}}onStartTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this._processStartTag(qa),qa.selfClosing&&!qa.ackSelfClosing&&this._err(qa,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(qa){this.shouldProcessStartTagTokenInForeignContent(qa)?startTagInForeignContent(this,qa):this._startTagOutsideForeignContent(qa)}_startTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{startTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{startTagInBody(this,qa);break}case InsertionMode.IN_TABLE:{startTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{startTagInRow(this,qa);break}case InsertionMode.IN_CELL:{startTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,qa);break}}}onEndTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this.currentNotInHTML?endTagInForeignContent(this,qa):this._endTagOutsideForeignContent(qa)}_endTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{endTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{endTagInBody(this,qa);break}case InsertionMode.TEXT:{endTagInText(this,qa);break}case InsertionMode.IN_TABLE:{endTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{endTagInRow(this,qa);break}case InsertionMode.IN_CELL:{endTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onEof(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,qa);break}case InsertionMode.TEXT:{eofInText(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,qa);break}}}onWhitespaceCharacter(qa){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,qa.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(qa.chars.length===1)return;qa.chars=qa.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(qa);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,qa);break}}}};function aaObtainFormattingElementEntry(Ra,qa){let nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(qa.tagName);return nd?Ra.openElements.contains(nd.element)?Ra.openElements.hasInScope(qa.tagID)||(nd=null):(Ra.activeFormattingElements.removeEntry(nd),nd=null):genericEndTagInBody(Ra,qa),nd}function aaObtainFurthestBlock(Ra,qa){let nd=null,od=Ra.openElements.stackTop;for(;od>=0;od--){const ld=Ra.openElements.items[od];if(ld===qa.element)break;Ra._isSpecialElement(ld,Ra.openElements.tagIDs[od])&&(nd=ld)}return nd||(Ra.openElements.shortenToLength(od<0?0:od),Ra.activeFormattingElements.removeEntry(qa)),nd}function aaInnerLoop(Ra,qa,nd){let od=qa,ld=Ra.openElements.getCommonAncestor(qa);for(let ud=0,dd=ld;dd!==nd;ud++,dd=ld){ld=Ra.openElements.getCommonAncestor(dd);const pd=Ra.activeFormattingElements.getElementEntry(dd),fd=pd&&ud>=AA_INNER_LOOP_ITER;!pd||fd?(fd&&Ra.activeFormattingElements.removeEntry(pd),Ra.openElements.remove(dd)):(dd=aaRecreateElementFromEntry(Ra,pd),od===qa&&(Ra.activeFormattingElements.bookmark=pd),Ra.treeAdapter.detachNode(od),Ra.treeAdapter.appendChild(dd,od),od=dd)}return od}function aaRecreateElementFromEntry(Ra,qa){const nd=Ra.treeAdapter.getNamespaceURI(qa.element),od=Ra.treeAdapter.createElement(qa.token.tagName,nd,qa.token.attrs);return Ra.openElements.replace(qa.element,od),qa.element=od,od}function aaInsertLastNodeInCommonAncestor(Ra,qa,nd){const od=Ra.treeAdapter.getTagName(qa),ld=getTagID(od);if(Ra._isElementCausesFosterParenting(ld))Ra._fosterParentElement(nd);else{const ud=Ra.treeAdapter.getNamespaceURI(qa);ld===TAG_ID.TEMPLATE&&ud===NS.HTML&&(qa=Ra.treeAdapter.getTemplateContent(qa)),Ra.treeAdapter.appendChild(qa,nd)}}function aaReplaceFormattingElement(Ra,qa,nd){const od=Ra.treeAdapter.getNamespaceURI(nd.element),{token:ld}=nd,ud=Ra.treeAdapter.createElement(ld.tagName,od,ld.attrs);Ra._adoptNodes(qa,ud),Ra.treeAdapter.appendChild(qa,ud),Ra.activeFormattingElements.insertElementAfterBookmark(ud,ld),Ra.activeFormattingElements.removeEntry(nd),Ra.openElements.remove(nd.element),Ra.openElements.insertAfter(qa,ud,ld.tagID)}function callAdoptionAgency(Ra,qa){for(let nd=0;nd=nd;od--)Ra._setEndLocation(Ra.openElements.items[od],qa);if(!Ra.fragmentContext&&Ra.openElements.stackTop>=0){const od=Ra.openElements.items[0],ld=Ra.treeAdapter.getNodeSourceCodeLocation(od);if(ld&&!ld.endTag&&(Ra._setEndLocation(od,qa),Ra.openElements.stackTop>=1)){const ud=Ra.openElements.items[1],dd=Ra.treeAdapter.getNodeSourceCodeLocation(ud);dd&&!dd.endTag&&Ra._setEndLocation(ud,qa)}}}}function doctypeInInitialMode(Ra,qa){Ra._setDocumentType(qa);const nd=qa.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(qa);isConforming(qa)||Ra._err(qa,ERR.nonConformingDoctype),Ra.treeAdapter.setDocumentMode(Ra.document,nd),Ra.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(Ra,qa){Ra._err(qa,ERR.missingDoctype,!0),Ra.treeAdapter.setDocumentMode(Ra.document,DOCUMENT_MODE.QUIRKS),Ra.insertionMode=InsertionMode.BEFORE_HTML,Ra._processToken(qa)}function startTagBeforeHtml(Ra,qa){qa.tagID===TAG_ID.HTML?(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(Ra,qa)}function endTagBeforeHtml(Ra,qa){const nd=qa.tagID;(nd===TAG_ID.HTML||nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.BR)&&tokenBeforeHtml(Ra,qa)}function tokenBeforeHtml(Ra,qa){Ra._insertFakeRootElement(),Ra.insertionMode=InsertionMode.BEFORE_HEAD,Ra._processToken(qa)}function startTagBeforeHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.HEAD:{Ra._insertElement(qa,NS.HTML),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(Ra,qa)}}function endTagBeforeHead(Ra,qa){const nd=qa.tagID;nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.HTML||nd===TAG_ID.BR?tokenBeforeHead(Ra,qa):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TITLE:{Ra._switchToTextParsing(qa,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT):(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{Ra._switchToTextParsing(qa,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{Ra._insertTemplate(qa),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TEMPLATE,Ra.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(Ra,qa)}}function endTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HEAD:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.generateImpliedEndTagsThoroughly(),Ra.openElements.currentTagId!==TAG_ID.TEMPLATE&&Ra._err(qa,ERR.closingOfElementWithOpenChildElements),Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode()):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(Ra,qa){Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD,Ra._processToken(qa)}function startTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra._err(qa,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(Ra,qa)}}function endTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.NOSCRIPT:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(Ra,qa){const nd=qa.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;Ra._err(qa,nd),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BODY:{Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{Ra._err(qa,ERR.abandonedHeadElementChild),Ra.openElements.push(Ra.headElement,TAG_ID.HEAD),startTagInHead(Ra,qa),Ra.openElements.remove(Ra.headElement);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(Ra,qa)}}function endTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function modeInBody(Ra,qa){switch(qa.type){case TokenType.CHARACTER:{characterInBody(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(Ra,qa);break}case TokenType.COMMENT:{appendComment(Ra,qa);break}case TokenType.START_TAG:{startTagInBody(Ra,qa);break}case TokenType.END_TAG:{endTagInBody(Ra,qa);break}case TokenType.EOF:{eofInBody(Ra,qa);break}}}function whitespaceCharacterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa)}function characterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa),Ra.framesetOk=!1}function htmlStartTagInBody(Ra,qa){Ra.openElements.tmplCount===0&&Ra.treeAdapter.adoptAttributes(Ra.openElements.items[0],qa.attrs)}function bodyStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra.openElements.tmplCount===0&&(Ra.framesetOk=!1,Ra.treeAdapter.adoptAttributes(nd,qa.attrs))}function framesetStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();Ra.framesetOk&&nd&&(Ra.treeAdapter.detachNode(nd),Ra.openElements.popAllUpToHtmlElement(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function numberedHeaderStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),NUMBERED_HEADERS.has(Ra.openElements.currentTagId)&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML)}function preStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.framesetOk=!1}function formStartTagInBody(Ra,qa){const nd=Ra.openElements.tmplCount>0;(!Ra.formElement||nd)&&(Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),nd||(Ra.formElement=Ra.openElements.current))}function listItemStartTagInBody(Ra,qa){Ra.framesetOk=!1;const nd=qa.tagID;for(let od=Ra.openElements.stackTop;od>=0;od--){const ld=Ra.openElements.tagIDs[od];if(nd===TAG_ID.LI&&ld===TAG_ID.LI||(nd===TAG_ID.DD||nd===TAG_ID.DT)&&(ld===TAG_ID.DD||ld===TAG_ID.DT)){Ra.openElements.generateImpliedEndTagsWithExclusion(ld),Ra.openElements.popUntilTagNamePopped(ld);break}if(ld!==TAG_ID.ADDRESS&&ld!==TAG_ID.DIV&&ld!==TAG_ID.P&&Ra._isSpecialElement(Ra.openElements.items[od],ld))break}Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function plaintextStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BUTTON)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1}function aStartTagInBody(Ra,qa){const nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);nd&&(callAdoptionAgency(Ra,qa),Ra.openElements.remove(nd.element),Ra.activeFormattingElements.removeEntry(nd)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function bStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function nobrStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(Ra,qa),Ra._reconstructActiveFormattingElements()),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function appletStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1}function tableStartTagInBody(Ra,qa){Ra.treeAdapter.getDocumentMode(Ra.document)!==DOCUMENT_MODE.QUIRKS&&Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function isHiddenInput(Ra){const qa=getTokenAttr(Ra,ATTRS.TYPE);return qa!=null&&qa.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),isHiddenInput(qa)||(Ra.framesetOk=!1),qa.ackSelfClosing=!0}function paramStartTagInBody(Ra,qa){Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0}function hrStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function imageStartTagInBody(Ra,qa){qa.tagName=TAG_NAMES.IMG,qa.tagID=TAG_ID.IMG,areaStartTagInBody(Ra,qa)}function textareaStartTagInBody(Ra,qa){Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.tokenizer.state=TokenizerMode.RCDATA,Ra.originalInsertionMode=Ra.insertionMode,Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._reconstructActiveFormattingElements(),Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(Ra,qa){Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function rawTextStartTagInBody(Ra,qa){Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function selectStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=Ra.insertionMode===InsertionMode.IN_TABLE||Ra.insertionMode===InsertionMode.IN_CAPTION||Ra.insertionMode===InsertionMode.IN_TABLE_BODY||Ra.insertionMode===InsertionMode.IN_ROW||Ra.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(Ra,qa){Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function rbStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTags(),Ra._insertElement(qa,NS.HTML)}function rtStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),Ra._insertElement(qa,NS.HTML)}function mathStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.MATHML):Ra._insertElement(qa,NS.MATHML),qa.ackSelfClosing=!0}function svgStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.SVG):Ra._insertElement(qa,NS.SVG),qa.ackSelfClosing=!0}function genericStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function startTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(Ra,qa);break}case TAG_ID.A:{aStartTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(Ra,qa);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(Ra,qa);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(Ra,qa);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(Ra,qa);break}case TAG_ID.HR:{hrStartTagInBody(Ra,qa);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(Ra,qa);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(Ra,qa);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(Ra,qa);break}case TAG_ID.XMP:{xmpStartTagInBody(Ra,qa);break}case TAG_ID.SVG:{svgStartTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlStartTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.BODY:{bodyStartTagInBody(Ra,qa);break}case TAG_ID.FORM:{formStartTagInBody(Ra,qa);break}case TAG_ID.NOBR:{nobrStartTagInBody(Ra,qa);break}case TAG_ID.MATH:{mathStartTagInBody(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInBody(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInBody(Ra,qa);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(Ra,qa);break}case TAG_ID.IMAGE:{imageStartTagInBody(Ra,qa);break}case TAG_ID.BUTTON:{buttonStartTagInBody(Ra,qa);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(Ra,qa);break}case TAG_ID.IFRAME:{iframeStartTagInBody(Ra,qa);break}case TAG_ID.SELECT:{selectStartTagInBody(Ra,qa);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(Ra,qa);break}case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:{rawTextStartTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(Ra,qa);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?rawTextStartTagInBody(Ra,qa):genericStartTagInBody(Ra,qa);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(Ra,qa);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(Ra,qa)}}function bodyEndTagInBody(Ra,qa){if(Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,Ra.options.sourceCodeLocationInfo)){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra._setEndLocation(nd,qa)}}function htmlEndTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(Ra,qa))}function addressEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd))}function formEndTagInBody(Ra){const qa=Ra.openElements.tmplCount>0,{formElement:nd}=Ra;qa||(Ra.formElement=null),(nd||qa)&&Ra.openElements.hasInScope(TAG_ID.FORM)&&(Ra.openElements.generateImpliedEndTags(),qa?Ra.openElements.popUntilTagNamePopped(TAG_ID.FORM):nd&&Ra.openElements.remove(nd))}function pEndTagInBody(Ra){Ra.openElements.hasInButtonScope(TAG_ID.P)||Ra._insertFakeElement(TAG_NAMES.P,TAG_ID.P),Ra._closePElement()}function liEndTagInBody(Ra){Ra.openElements.hasInListItemScope(TAG_ID.LI)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),Ra.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(nd),Ra.openElements.popUntilTagNamePopped(nd))}function numberedHeaderEndTagInBody(Ra){Ra.openElements.hasNumberedHeaderInScope()&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd),Ra.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(Ra){Ra._reconstructActiveFormattingElements(),Ra._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),Ra.openElements.pop(),Ra.framesetOk=!1}function genericEndTagInBody(Ra,qa){const nd=qa.tagName,od=qa.tagID;for(let ld=Ra.openElements.stackTop;ld>0;ld--){const ud=Ra.openElements.items[ld],dd=Ra.openElements.tagIDs[ld];if(od===dd&&(od!==TAG_ID.UNKNOWN||Ra.treeAdapter.getTagName(ud)===nd)){Ra.openElements.generateImpliedEndTagsWithExclusion(od),Ra.openElements.stackTop>=ld&&Ra.openElements.shortenToLength(ld);break}if(Ra._isSpecialElement(ud,dd))break}}function endTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(Ra,qa);break}case TAG_ID.P:{pEndTagInBody(Ra);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(Ra,qa);break}case TAG_ID.LI:{liEndTagInBody(Ra);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(Ra);break}case TAG_ID.BR:{brEndTagInBody(Ra);break}case TAG_ID.BODY:{bodyEndTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlEndTagInBody(Ra,qa);break}case TAG_ID.FORM:{formEndTagInBody(Ra);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:genericEndTagInBody(Ra,qa)}}function eofInBody(Ra,qa){Ra.tmplInsertionModeStack.length>0?eofInTemplate(Ra,qa):stopParsing(Ra,qa)}function endTagInText(Ra,qa){var nd;qa.tagID===TAG_ID.SCRIPT&&((nd=Ra.scriptHandler)===null||nd===void 0||nd.call(Ra,Ra.openElements.current)),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode}function eofInText(Ra,qa){Ra._err(qa,ERR.eofInElementThatCanContainOnlyText),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode,Ra.onEof(qa)}function characterInTable(Ra,qa){if(TABLE_STRUCTURE_TAGS.has(Ra.openElements.currentTagId))switch(Ra.pendingCharacterTokens.length=0,Ra.hasNonWhitespacePendingCharacterToken=!1,Ra.originalInsertionMode=Ra.insertionMode,Ra.insertionMode=InsertionMode.IN_TABLE_TEXT,qa.type){case TokenType.CHARACTER:{characterInTableText(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(Ra,qa);break}}else tokenInTable(Ra,qa)}function captionStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra.activeFormattingElements.insertMarker(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa)}function tbodyStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa)}function tableStartTagInTable(Ra,qa){Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode(),Ra._processStartTag(qa))}function inputStartTagInTable(Ra,qa){isHiddenInput(qa)?Ra._appendElement(qa,NS.HTML):tokenInTable(Ra,qa),qa.ackSelfClosing=!0}function formStartTagInTable(Ra,qa){!Ra.formElement&&Ra.openElements.tmplCount===0&&(Ra._insertElement(qa,NS.HTML),Ra.formElement=Ra.openElements.current,Ra.openElements.pop())}function startTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(Ra,qa);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.COL:{colStartTagInTable(Ra,qa);break}case TAG_ID.FORM:{formStartTagInTable(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInTable(Ra,qa);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInTable(Ra,qa);break}case TAG_ID.CAPTION:{captionStartTagInTable(Ra,qa);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(Ra,qa);break}default:tokenInTable(Ra,qa)}}function endTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(Ra,qa)}}function tokenInTable(Ra,qa){const nd=Ra.fosterParentingEnabled;Ra.fosterParentingEnabled=!0,modeInBody(Ra,qa),Ra.fosterParentingEnabled=nd}function whitespaceCharacterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa)}function characterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa),Ra.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(Ra,qa){let nd=0;if(Ra.hasNonWhitespacePendingCharacterToken)for(;nd0&&Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.tagIDs[Ra.openElements.stackTop-1]===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop();break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop();break}case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}}}function startTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra._processStartTag(qa)):startTagInSelect(Ra,qa)}function endTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra.onEndTag(qa)):endTagInSelect(Ra,qa)}function startTagInTemplate(Ra,qa){switch(qa.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa);break}case TAG_ID.COL:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa);break}case TAG_ID.TR:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa);break}case TAG_ID.TD:case TAG_ID.TH:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}default:Ra.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,Ra.insertionMode=InsertionMode.IN_BODY,startTagInBody(Ra,qa)}}function endTagInTemplate(Ra,qa){qa.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(Ra,qa)}function eofInTemplate(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode(),Ra.onEof(qa)):stopParsing(Ra,qa)}function startTagAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterBody(Ra,qa)}function endTagAfterBody(Ra,qa){var nd;if(qa.tagID===TAG_ID.HTML){if(Ra.fragmentContext||(Ra.insertionMode=InsertionMode.AFTER_AFTER_BODY),Ra.options.sourceCodeLocationInfo&&Ra.openElements.tagIDs[0]===TAG_ID.HTML){Ra._setEndLocation(Ra.openElements.items[0],qa);const od=Ra.openElements.items[1];od&&!(!((nd=Ra.treeAdapter.getNodeSourceCodeLocation(od))===null||nd===void 0)&&nd.endTag)&&Ra._setEndLocation(od,qa)}}else tokenAfterBody(Ra,qa)}function tokenAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagInFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML);break}case TAG_ID.FRAME:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagInFrameset(Ra,qa){qa.tagID===TAG_ID.FRAMESET&&!Ra.openElements.isRootHtmlElementCurrent()&&(Ra.openElements.pop(),!Ra.fragmentContext&&Ra.openElements.currentTagId!==TAG_ID.FRAMESET&&(Ra.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagAfterFrameset(Ra,qa){qa.tagID===TAG_ID.HTML&&(Ra.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterAfterBody(Ra,qa)}function tokenAfterAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagAfterAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function nullCharacterInForeignContent(Ra,qa){qa.chars=REPLACEMENT_CHARACTER,Ra._insertCharacters(qa)}function characterInForeignContent(Ra,qa){Ra._insertCharacters(qa),Ra.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(Ra){for(;Ra.treeAdapter.getNamespaceURI(Ra.openElements.current)!==NS.HTML&&!Ra._isIntegrationPoint(Ra.openElements.currentTagId,Ra.openElements.current);)Ra.openElements.pop()}function startTagInForeignContent(Ra,qa){if(causesExit(qa))popUntilHtmlOrIntegrationPoint(Ra),Ra._startTagOutsideForeignContent(qa);else{const nd=Ra._getAdjustedCurrentElement(),od=Ra.treeAdapter.getNamespaceURI(nd);od===NS.MATHML?adjustTokenMathMLAttrs(qa):od===NS.SVG&&(adjustTokenSVGTagName(qa),adjustTokenSVGAttrs(qa)),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,od):Ra._insertElement(qa,od),qa.ackSelfClosing=!0}}function endTagInForeignContent(Ra,qa){if(qa.tagID===TAG_ID.P||qa.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(Ra),Ra._endTagOutsideForeignContent(qa);return}for(let nd=Ra.openElements.stackTop;nd>0;nd--){const od=Ra.openElements.items[nd];if(Ra.treeAdapter.getNamespaceURI(od)===NS.HTML){Ra._endTagOutsideForeignContent(qa);break}const ld=Ra.treeAdapter.getTagName(od);if(ld.toLowerCase()===qa.tagName){qa.tagName=ld,Ra.openElements.shortenToLength(nd);break}}}const VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(Ra,qa){return qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML&&VOID_ELEMENTS.has(qa.treeAdapter.getTagName(Ra))}const defaultOpts={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serializeOuter(Ra,qa){const nd={...defaultOpts,...qa};return serializeNode(Ra,nd)}function serializeChildNodes(Ra,qa){let nd="";const od=qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getTagName(Ra)===TAG_NAMES.TEMPLATE&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML?qa.treeAdapter.getTemplateContent(Ra):Ra,ld=qa.treeAdapter.getChildNodes(od);if(ld)for(const ud of ld)nd+=serializeNode(ud,qa);return nd}function serializeNode(Ra,qa){return qa.treeAdapter.isElementNode(Ra)?serializeElement(Ra,qa):qa.treeAdapter.isTextNode(Ra)?serializeTextNode(Ra,qa):qa.treeAdapter.isCommentNode(Ra)?serializeCommentNode(Ra,qa):qa.treeAdapter.isDocumentTypeNode(Ra)?serializeDocumentTypeNode(Ra,qa):""}function serializeElement(Ra,qa){const nd=qa.treeAdapter.getTagName(Ra);return`<${nd}${serializeAttributes(Ra,qa)}>${isVoidElement(Ra,qa)?"":`${serializeChildNodes(Ra,qa)}`}`}function serializeAttributes(Ra,{treeAdapter:qa}){let nd="";for(const od of qa.getAttrList(Ra)){if(nd+=" ",od.namespace)switch(od.namespace){case NS.XML:{nd+=`xml:${od.name}`;break}case NS.XMLNS:{od.name!=="xmlns"&&(nd+="xmlns:"),nd+=od.name;break}case NS.XLINK:{nd+=`xlink:${od.name}`;break}default:nd+=`${od.prefix}:${od.name}`}else nd+=od.name;nd+=`="${escapeAttribute(od.value)}"`}return nd}function serializeTextNode(Ra,qa){const{treeAdapter:nd}=qa,od=nd.getTextNodeContent(Ra),ld=nd.getParentNode(Ra),ud=ld&&nd.isElementNode(ld)&&nd.getTagName(ld);return ud&&nd.getNamespaceURI(ld)===NS.HTML&&hasUnescapedText(ud,qa.scriptingEnabled)?od:escapeText(od)}function serializeCommentNode(Ra,{treeAdapter:qa}){return``}function serializeDocumentTypeNode(Ra,{treeAdapter:qa}){return``}function parse$5(Ra,qa){return Parser$2.parse(Ra,qa)}function parseFragment(Ra,qa,nd){typeof Ra=="string"&&(nd=qa,qa=Ra,Ra=null);const od=Parser$2.getFragmentParser(Ra,nd);return od.tokenizer.write(qa,!0),od.getFragment()}function enquoteDoctypeId(Ra){const qa=Ra.includes('"')?"'":'"';return qa+Ra+qa}function serializeDoctypeContent(Ra,qa,nd){let od="!DOCTYPE ";return Ra&&(od+=Ra),qa?od+=` PUBLIC ${enquoteDoctypeId(qa)}`:nd&&(od+=" SYSTEM"),nd&&(od+=` ${enquoteDoctypeId(nd)}`),od}const adapter={isCommentNode:isComment$2,isElementNode:isTag,isTextNode:isText,createDocument(){const Ra=new Document([]);return Ra["x-mode"]=DOCUMENT_MODE.NO_QUIRKS,Ra},createDocumentFragment(){return new Document([])},createElement(Ra,qa,nd){const od=Object.create(null),ld=Object.create(null),ud=Object.create(null);for(let pd=0;pdisDirective(dd)&&dd.name==="!doctype");ud?ud.data=ld??null:(ud=new ProcessingInstruction("!doctype",ld),adapter.appendChild(Ra,ud)),ud["x-name"]=qa,ud["x-publicId"]=nd,ud["x-systemId"]=od},setDocumentMode(Ra,qa){Ra["x-mode"]=qa},getDocumentMode(Ra){return Ra["x-mode"]},detachNode(Ra){if(Ra.parent){const qa=Ra.parent.children.indexOf(Ra),{prev:nd,next:od}=Ra;Ra.prev=null,Ra.next=null,nd&&(nd.next=od),od&&(od.prev=nd),Ra.parent.children.splice(qa,1),Ra.parent=null}},insertText(Ra,qa){const nd=Ra.children[Ra.children.length-1];nd&&isText(nd)?nd.data+=qa:adapter.appendChild(Ra,adapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.children[Ra.children.indexOf(nd)-1];od&&isText(od)?od.data+=qa:adapter.insertBefore(Ra,adapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){for(let nd=0;nd=CharCodes.LowerA&&Ra<=CharCodes.LowerZ||Ra>=CharCodes.UpperA&&Ra<=CharCodes.UpperZ}var QuoteType;(function(Ra){Ra[Ra.NoValue=0]="NoValue",Ra[Ra.Unquoted=1]="Unquoted",Ra[Ra.Single=2]="Single",Ra[Ra.Double=3]="Double"})(QuoteType||(QuoteType={}));const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor({xmlMode:qa=!1,decodeEntities:nd=!0},od){this.cbs=od,this.state=State$4.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State$4.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=qa,this.decodeEntities=nd,this.entityDecoder=new EntityDecoder(qa?xmlDecodeTree:htmlDecodeTree,(ld,ud)=>this.emitCodePoint(ld,ud))}reset(){this.state=State$4.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State$4.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(qa){this.offset+=this.buffer.length,this.buffer=qa,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State$4.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateSpecialStartSequence(qa){const nd=this.sequenceIndex===this.currentSequence.length;if(!(nd?isEndOfTagSection(qa):(qa|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!nd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=State$4.InTagName,this.stateInTagName(qa)}stateInSpecialTag(qa){if(this.sequenceIndex===this.currentSequence.length){if(qa===CharCodes.Gt||isWhitespace$2(qa)){const nd=this.index-this.currentSequence.length;if(this.sectionStart=0?(this.state=this.baseState,qa===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State$4.Text||this.state===State$4.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State$4.InAttributeValueDq||this.state===State$4.InAttributeValueSq||this.state===State$4.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=qa||(this.state===State$4.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,qa,0):this.cbs.oncomment(this.sectionStart,qa,0):this.state===State$4.InTagName||this.state===State$4.BeforeAttributeName||this.state===State$4.BeforeAttributeValue||this.state===State$4.AfterAttributeName||this.state===State$4.InAttributeName||this.state===State$4.InAttributeValueSq||this.state===State$4.InAttributeValueDq||this.state===State$4.InAttributeValueNq||this.state===State$4.InClosingTagName||this.cbs.ontext(this.sectionStart,qa))}emitCodePoint(qa,nd){this.baseState!==State$4.Text&&this.baseState!==State$4.InSpecialTag?(this.sectionStart0&&dd.has(this.stack[0]);){const pd=this.stack.shift();(od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,pd,!0)}this.isVoidElement(qa)||(this.stack.unshift(qa),this.htmlMode&&(foreignContextElements.has(qa)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(qa)&&this.foreignContext.unshift(!1))),(ud=(ld=this.cbs).onopentagname)===null||ud===void 0||ud.call(ld,qa),this.cbs.onopentag&&(this.attribs={})}endOpenTag(qa){var nd,od;this.startIndex=this.openTagStart,this.attribs&&((od=(nd=this.cbs).onopentag)===null||od===void 0||od.call(nd,this.tagname,this.attribs,qa),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(qa){this.endIndex=qa,this.endOpenTag(!1),this.startIndex=qa+1}onclosetag(qa,nd){var od,ld,ud,dd,pd,fd,md,vd;this.endIndex=nd;let Ad=this.getSlice(qa,nd);if(this.lowerCaseTagNames&&(Ad=Ad.toLowerCase()),this.htmlMode&&(foreignContextElements.has(Ad)||htmlIntegrationElements.has(Ad))&&this.foreignContext.shift(),this.isVoidElement(Ad))this.htmlMode&&Ad==="br"&&((dd=(ud=this.cbs).onopentagname)===null||dd===void 0||dd.call(ud,"br"),(fd=(pd=this.cbs).onopentag)===null||fd===void 0||fd.call(pd,"br",{},!0),(vd=(md=this.cbs).onclosetag)===null||vd===void 0||vd.call(md,"br",!1));else{const Nd=this.stack.indexOf(Ad);if(Nd!==-1)for(let Od=0;Od<=Nd;Od++){const kd=this.stack.shift();(ld=(od=this.cbs).onclosetag)===null||ld===void 0||ld.call(od,kd,Od!==Nd)}else this.htmlMode&&Ad==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=nd+1}onselfclosingtag(qa){this.endIndex=qa,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=qa+1):this.onopentagend(qa)}closeCurrentTag(qa){var nd,od;const ld=this.tagname;this.endOpenTag(qa),this.stack[0]===ld&&((od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,ld,!qa),this.stack.shift())}onattribname(qa,nd){this.startIndex=qa;const od=this.getSlice(qa,nd);this.attribname=this.lowerCaseAttributeNames?od.toLowerCase():od}onattribdata(qa,nd){this.attribvalue+=this.getSlice(qa,nd)}onattribentity(qa){this.attribvalue+=fromCodePoint(qa)}onattribend(qa,nd){var od,ld;this.endIndex=nd,(ld=(od=this.cbs).onattribute)===null||ld===void 0||ld.call(od,this.attribname,this.attribvalue,qa===QuoteType.Double?'"':qa===QuoteType.Single?"'":qa===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(qa){const nd=qa.search(reNameEnd);let od=nd<0?qa:qa.substr(0,nd);return this.lowerCaseTagNames&&(od=od.toLowerCase()),od}ondeclaration(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`!${ld}`,`!${od}`)}this.startIndex=nd+1}onprocessinginstruction(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`?${ld}`,`?${od}`)}this.startIndex=nd+1}oncomment(qa,nd,od){var ld,ud,dd,pd;this.endIndex=nd,(ud=(ld=this.cbs).oncomment)===null||ud===void 0||ud.call(ld,this.getSlice(qa,nd-od)),(pd=(dd=this.cbs).oncommentend)===null||pd===void 0||pd.call(dd),this.startIndex=nd+1}oncdata(qa,nd,od){var ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od;this.endIndex=nd;const kd=this.getSlice(qa,nd-od);!this.htmlMode||this.options.recognizeCDATA?((ud=(ld=this.cbs).oncdatastart)===null||ud===void 0||ud.call(ld),(pd=(dd=this.cbs).ontext)===null||pd===void 0||pd.call(dd,kd),(md=(fd=this.cbs).oncdataend)===null||md===void 0||md.call(fd)):((Ad=(vd=this.cbs).oncomment)===null||Ad===void 0||Ad.call(vd,`[CDATA[${kd}]]`),(Od=(Nd=this.cbs).oncommentend)===null||Od===void 0||Od.call(Nd)),this.startIndex=nd+1}onend(){var qa,nd;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let od=0;od=this.buffers[0].length;)this.shiftBuffer();let od=this.buffers[0].slice(qa-this.bufferOffset,nd-this.bufferOffset);for(;nd-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),od+=this.buffers[0].slice(0,nd-this.bufferOffset);return od}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".write() after done!"));return}this.buffers.push(qa),this.tokenizer.running&&(this.tokenizer.write(qa),this.writeIndex++)}end(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".end() after done!"));return}qa&&this.write(qa),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndexqa._useHtmlParser2?parseDocument(Ra,qa):parseWithParse5(Ra,qa,nd,od)),load$3=getLoad(parse$4,(Ra,qa)=>qa._useHtmlParser2?render$3(Ra,qa):renderWithParse5(Ra)),browser$2=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$3,merge:merge$6},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$2);var utils$4={},lexer={exports:{}},debug={exports:{}};(function(Ra,qa){var nd={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Ra.exports=od;function od(ud){return ld.bind(null,ud)}function ld(ud){var dd=[].slice.call(arguments,1);dd.unshift("["+ud+"]"),nd.stderr.write(dd.join(" ")+` +`)}}).toArray()}const Forms=Object.freeze(Object.defineProperty({__proto__:null,serialize:serialize$1,serializeArray},Symbol.toStringTag,{value:"Module"}));function getExtractDescr(Ra){var qa;return typeof Ra=="string"?{selector:Ra,value:"textContent"}:{selector:Ra.selector,value:(qa=Ra.value)!==null&&qa!==void 0?qa:"textContent"}}function extract(Ra){const qa={};for(const nd in Ra){const od=Ra[nd],ld=Array.isArray(od),{selector:ud,value:dd}=getExtractDescr(ld?od[0]:od),pd=typeof dd=="function"?dd:typeof dd=="string"?fd=>this._make(fd).prop(dd):fd=>this._make(fd).extract(dd);if(ld)qa[nd]=this._findBySelector(ud,Number.POSITIVE_INFINITY).map((fd,md)=>pd(md,nd,qa)).get();else{const fd=this._findBySelector(ud,1);qa[nd]=fd.length>0?pd(fd[0],nd,qa):void 0}}return qa}const Extract=Object.freeze(Object.defineProperty({__proto__:null,extract},Symbol.toStringTag,{value:"Module"}));class Cheerio{constructor(qa,nd,od){if(this.length=0,this.options=od,this._root=nd,qa){for(let ld=0;ld=55296&&Ra<=57343}function isSurrogatePair(Ra){return Ra>=56320&&Ra<=57343}function getSurrogatePairCodePoint(Ra,qa){return(Ra-55296)*1024+9216+qa}function isControlCodePoint(Ra){return Ra!==32&&Ra!==10&&Ra!==13&&Ra!==9&&Ra!==12&&Ra>=1&&Ra<=31||Ra>=127&&Ra<=159}function isUndefinedCodePoint(Ra){return Ra>=64976&&Ra<=65007||UNDEFINED_CODE_POINTS.has(Ra)}var ERR;(function(Ra){Ra.controlCharacterInInputStream="control-character-in-input-stream",Ra.noncharacterInInputStream="noncharacter-in-input-stream",Ra.surrogateInInputStream="surrogate-in-input-stream",Ra.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",Ra.endTagWithAttributes="end-tag-with-attributes",Ra.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",Ra.unexpectedSolidusInTag="unexpected-solidus-in-tag",Ra.unexpectedNullCharacter="unexpected-null-character",Ra.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",Ra.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",Ra.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",Ra.missingEndTagName="missing-end-tag-name",Ra.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",Ra.unknownNamedCharacterReference="unknown-named-character-reference",Ra.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",Ra.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",Ra.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",Ra.eofBeforeTagName="eof-before-tag-name",Ra.eofInTag="eof-in-tag",Ra.missingAttributeValue="missing-attribute-value",Ra.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",Ra.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",Ra.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",Ra.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",Ra.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",Ra.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",Ra.missingDoctypePublicIdentifier="missing-doctype-public-identifier",Ra.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",Ra.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",Ra.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",Ra.cdataInHtmlContent="cdata-in-html-content",Ra.incorrectlyOpenedComment="incorrectly-opened-comment",Ra.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",Ra.eofInDoctype="eof-in-doctype",Ra.nestedComment="nested-comment",Ra.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",Ra.eofInComment="eof-in-comment",Ra.incorrectlyClosedComment="incorrectly-closed-comment",Ra.eofInCdata="eof-in-cdata",Ra.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",Ra.nullCharacterReference="null-character-reference",Ra.surrogateCharacterReference="surrogate-character-reference",Ra.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",Ra.controlCharacterReference="control-character-reference",Ra.noncharacterCharacterReference="noncharacter-character-reference",Ra.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",Ra.missingDoctypeName="missing-doctype-name",Ra.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",Ra.duplicateAttribute="duplicate-attribute",Ra.nonConformingDoctype="non-conforming-doctype",Ra.missingDoctype="missing-doctype",Ra.misplacedDoctype="misplaced-doctype",Ra.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",Ra.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",Ra.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",Ra.openElementsLeftAfterEof="open-elements-left-after-eof",Ra.abandonedHeadElementChild="abandoned-head-element-child",Ra.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",Ra.nestedNoscriptInHead="nested-noscript-in-head",Ra.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(qa){this.handler=qa,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(qa,nd){const{line:od,col:ld,offset:ud}=this,dd=ld+nd,pd=ud+nd;return{code:qa,startLine:od,endLine:od,startCol:dd,endCol:dd,startOffset:pd,endOffset:pd}}_err(qa){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(qa,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(qa){if(this.pos!==this.html.length-1){const nd=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(nd))return this.pos++,this._addGap(),getSurrogatePairCodePoint(qa,nd)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),qa}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(qa,nd){this.html.length>0?this.html+=qa:this.html=qa,this.endOfChunkHit=!1,this.lastChunkWritten=nd}insertHtmlAtCurrentPos(qa){this.html=this.html.substring(0,this.pos+1)+qa+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(qa,nd){if(this.pos+qa.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(nd)return this.html.startsWith(qa,this.pos);for(let od=0;od=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const od=this.html.charCodeAt(nd);return od===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:od}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let qa=this.html.charCodeAt(this.pos);return qa===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):qa===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(qa)&&(qa=this._processSurrogate(qa)),this.handler.onParseError===null||qa>31&&qa<127||qa===CODE_POINTS.LINE_FEED||qa===CODE_POINTS.CARRIAGE_RETURN||qa>159&&qa<64976||this._checkForProblematicCharacters(qa),qa)}_checkForProblematicCharacters(qa){isControlCodePoint(qa)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(qa)&&this._err(ERR.noncharacterInInputStream)}retreat(qa){for(this.pos-=qa;this.pos=0;nd--)if(Ra.attrs[nd].name===qa)return Ra.attrs[nd].value;return null}var NS;(function(Ra){Ra.HTML="http://www.w3.org/1999/xhtml",Ra.MATHML="http://www.w3.org/1998/Math/MathML",Ra.SVG="http://www.w3.org/2000/svg",Ra.XLINK="http://www.w3.org/1999/xlink",Ra.XML="http://www.w3.org/XML/1998/namespace",Ra.XMLNS="http://www.w3.org/2000/xmlns/"})(NS||(NS={}));var ATTRS;(function(Ra){Ra.TYPE="type",Ra.ACTION="action",Ra.ENCODING="encoding",Ra.PROMPT="prompt",Ra.NAME="name",Ra.COLOR="color",Ra.FACE="face",Ra.SIZE="size"})(ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(Ra){Ra.NO_QUIRKS="no-quirks",Ra.QUIRKS="quirks",Ra.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(Ra){Ra.A="a",Ra.ADDRESS="address",Ra.ANNOTATION_XML="annotation-xml",Ra.APPLET="applet",Ra.AREA="area",Ra.ARTICLE="article",Ra.ASIDE="aside",Ra.B="b",Ra.BASE="base",Ra.BASEFONT="basefont",Ra.BGSOUND="bgsound",Ra.BIG="big",Ra.BLOCKQUOTE="blockquote",Ra.BODY="body",Ra.BR="br",Ra.BUTTON="button",Ra.CAPTION="caption",Ra.CENTER="center",Ra.CODE="code",Ra.COL="col",Ra.COLGROUP="colgroup",Ra.DD="dd",Ra.DESC="desc",Ra.DETAILS="details",Ra.DIALOG="dialog",Ra.DIR="dir",Ra.DIV="div",Ra.DL="dl",Ra.DT="dt",Ra.EM="em",Ra.EMBED="embed",Ra.FIELDSET="fieldset",Ra.FIGCAPTION="figcaption",Ra.FIGURE="figure",Ra.FONT="font",Ra.FOOTER="footer",Ra.FOREIGN_OBJECT="foreignObject",Ra.FORM="form",Ra.FRAME="frame",Ra.FRAMESET="frameset",Ra.H1="h1",Ra.H2="h2",Ra.H3="h3",Ra.H4="h4",Ra.H5="h5",Ra.H6="h6",Ra.HEAD="head",Ra.HEADER="header",Ra.HGROUP="hgroup",Ra.HR="hr",Ra.HTML="html",Ra.I="i",Ra.IMG="img",Ra.IMAGE="image",Ra.INPUT="input",Ra.IFRAME="iframe",Ra.KEYGEN="keygen",Ra.LABEL="label",Ra.LI="li",Ra.LINK="link",Ra.LISTING="listing",Ra.MAIN="main",Ra.MALIGNMARK="malignmark",Ra.MARQUEE="marquee",Ra.MATH="math",Ra.MENU="menu",Ra.META="meta",Ra.MGLYPH="mglyph",Ra.MI="mi",Ra.MO="mo",Ra.MN="mn",Ra.MS="ms",Ra.MTEXT="mtext",Ra.NAV="nav",Ra.NOBR="nobr",Ra.NOFRAMES="noframes",Ra.NOEMBED="noembed",Ra.NOSCRIPT="noscript",Ra.OBJECT="object",Ra.OL="ol",Ra.OPTGROUP="optgroup",Ra.OPTION="option",Ra.P="p",Ra.PARAM="param",Ra.PLAINTEXT="plaintext",Ra.PRE="pre",Ra.RB="rb",Ra.RP="rp",Ra.RT="rt",Ra.RTC="rtc",Ra.RUBY="ruby",Ra.S="s",Ra.SCRIPT="script",Ra.SEARCH="search",Ra.SECTION="section",Ra.SELECT="select",Ra.SOURCE="source",Ra.SMALL="small",Ra.SPAN="span",Ra.STRIKE="strike",Ra.STRONG="strong",Ra.STYLE="style",Ra.SUB="sub",Ra.SUMMARY="summary",Ra.SUP="sup",Ra.TABLE="table",Ra.TBODY="tbody",Ra.TEMPLATE="template",Ra.TEXTAREA="textarea",Ra.TFOOT="tfoot",Ra.TD="td",Ra.TH="th",Ra.THEAD="thead",Ra.TITLE="title",Ra.TR="tr",Ra.TRACK="track",Ra.TT="tt",Ra.U="u",Ra.UL="ul",Ra.SVG="svg",Ra.VAR="var",Ra.WBR="wbr",Ra.XMP="xmp"})(TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(Ra){Ra[Ra.UNKNOWN=0]="UNKNOWN",Ra[Ra.A=1]="A",Ra[Ra.ADDRESS=2]="ADDRESS",Ra[Ra.ANNOTATION_XML=3]="ANNOTATION_XML",Ra[Ra.APPLET=4]="APPLET",Ra[Ra.AREA=5]="AREA",Ra[Ra.ARTICLE=6]="ARTICLE",Ra[Ra.ASIDE=7]="ASIDE",Ra[Ra.B=8]="B",Ra[Ra.BASE=9]="BASE",Ra[Ra.BASEFONT=10]="BASEFONT",Ra[Ra.BGSOUND=11]="BGSOUND",Ra[Ra.BIG=12]="BIG",Ra[Ra.BLOCKQUOTE=13]="BLOCKQUOTE",Ra[Ra.BODY=14]="BODY",Ra[Ra.BR=15]="BR",Ra[Ra.BUTTON=16]="BUTTON",Ra[Ra.CAPTION=17]="CAPTION",Ra[Ra.CENTER=18]="CENTER",Ra[Ra.CODE=19]="CODE",Ra[Ra.COL=20]="COL",Ra[Ra.COLGROUP=21]="COLGROUP",Ra[Ra.DD=22]="DD",Ra[Ra.DESC=23]="DESC",Ra[Ra.DETAILS=24]="DETAILS",Ra[Ra.DIALOG=25]="DIALOG",Ra[Ra.DIR=26]="DIR",Ra[Ra.DIV=27]="DIV",Ra[Ra.DL=28]="DL",Ra[Ra.DT=29]="DT",Ra[Ra.EM=30]="EM",Ra[Ra.EMBED=31]="EMBED",Ra[Ra.FIELDSET=32]="FIELDSET",Ra[Ra.FIGCAPTION=33]="FIGCAPTION",Ra[Ra.FIGURE=34]="FIGURE",Ra[Ra.FONT=35]="FONT",Ra[Ra.FOOTER=36]="FOOTER",Ra[Ra.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Ra[Ra.FORM=38]="FORM",Ra[Ra.FRAME=39]="FRAME",Ra[Ra.FRAMESET=40]="FRAMESET",Ra[Ra.H1=41]="H1",Ra[Ra.H2=42]="H2",Ra[Ra.H3=43]="H3",Ra[Ra.H4=44]="H4",Ra[Ra.H5=45]="H5",Ra[Ra.H6=46]="H6",Ra[Ra.HEAD=47]="HEAD",Ra[Ra.HEADER=48]="HEADER",Ra[Ra.HGROUP=49]="HGROUP",Ra[Ra.HR=50]="HR",Ra[Ra.HTML=51]="HTML",Ra[Ra.I=52]="I",Ra[Ra.IMG=53]="IMG",Ra[Ra.IMAGE=54]="IMAGE",Ra[Ra.INPUT=55]="INPUT",Ra[Ra.IFRAME=56]="IFRAME",Ra[Ra.KEYGEN=57]="KEYGEN",Ra[Ra.LABEL=58]="LABEL",Ra[Ra.LI=59]="LI",Ra[Ra.LINK=60]="LINK",Ra[Ra.LISTING=61]="LISTING",Ra[Ra.MAIN=62]="MAIN",Ra[Ra.MALIGNMARK=63]="MALIGNMARK",Ra[Ra.MARQUEE=64]="MARQUEE",Ra[Ra.MATH=65]="MATH",Ra[Ra.MENU=66]="MENU",Ra[Ra.META=67]="META",Ra[Ra.MGLYPH=68]="MGLYPH",Ra[Ra.MI=69]="MI",Ra[Ra.MO=70]="MO",Ra[Ra.MN=71]="MN",Ra[Ra.MS=72]="MS",Ra[Ra.MTEXT=73]="MTEXT",Ra[Ra.NAV=74]="NAV",Ra[Ra.NOBR=75]="NOBR",Ra[Ra.NOFRAMES=76]="NOFRAMES",Ra[Ra.NOEMBED=77]="NOEMBED",Ra[Ra.NOSCRIPT=78]="NOSCRIPT",Ra[Ra.OBJECT=79]="OBJECT",Ra[Ra.OL=80]="OL",Ra[Ra.OPTGROUP=81]="OPTGROUP",Ra[Ra.OPTION=82]="OPTION",Ra[Ra.P=83]="P",Ra[Ra.PARAM=84]="PARAM",Ra[Ra.PLAINTEXT=85]="PLAINTEXT",Ra[Ra.PRE=86]="PRE",Ra[Ra.RB=87]="RB",Ra[Ra.RP=88]="RP",Ra[Ra.RT=89]="RT",Ra[Ra.RTC=90]="RTC",Ra[Ra.RUBY=91]="RUBY",Ra[Ra.S=92]="S",Ra[Ra.SCRIPT=93]="SCRIPT",Ra[Ra.SEARCH=94]="SEARCH",Ra[Ra.SECTION=95]="SECTION",Ra[Ra.SELECT=96]="SELECT",Ra[Ra.SOURCE=97]="SOURCE",Ra[Ra.SMALL=98]="SMALL",Ra[Ra.SPAN=99]="SPAN",Ra[Ra.STRIKE=100]="STRIKE",Ra[Ra.STRONG=101]="STRONG",Ra[Ra.STYLE=102]="STYLE",Ra[Ra.SUB=103]="SUB",Ra[Ra.SUMMARY=104]="SUMMARY",Ra[Ra.SUP=105]="SUP",Ra[Ra.TABLE=106]="TABLE",Ra[Ra.TBODY=107]="TBODY",Ra[Ra.TEMPLATE=108]="TEMPLATE",Ra[Ra.TEXTAREA=109]="TEXTAREA",Ra[Ra.TFOOT=110]="TFOOT",Ra[Ra.TD=111]="TD",Ra[Ra.TH=112]="TH",Ra[Ra.THEAD=113]="THEAD",Ra[Ra.TITLE=114]="TITLE",Ra[Ra.TR=115]="TR",Ra[Ra.TRACK=116]="TRACK",Ra[Ra.TT=117]="TT",Ra[Ra.U=118]="U",Ra[Ra.UL=119]="UL",Ra[Ra.SVG=120]="SVG",Ra[Ra.VAR=121]="VAR",Ra[Ra.WBR=122]="WBR",Ra[Ra.XMP=123]="XMP"})(TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(Ra){var qa;return(qa=TAG_NAME_TO_ID.get(Ra))!==null&&qa!==void 0?qa:TAG_ID.UNKNOWN}const $$4=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$$4.ADDRESS,$$4.APPLET,$$4.AREA,$$4.ARTICLE,$$4.ASIDE,$$4.BASE,$$4.BASEFONT,$$4.BGSOUND,$$4.BLOCKQUOTE,$$4.BODY,$$4.BR,$$4.BUTTON,$$4.CAPTION,$$4.CENTER,$$4.COL,$$4.COLGROUP,$$4.DD,$$4.DETAILS,$$4.DIR,$$4.DIV,$$4.DL,$$4.DT,$$4.EMBED,$$4.FIELDSET,$$4.FIGCAPTION,$$4.FIGURE,$$4.FOOTER,$$4.FORM,$$4.FRAME,$$4.FRAMESET,$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6,$$4.HEAD,$$4.HEADER,$$4.HGROUP,$$4.HR,$$4.HTML,$$4.IFRAME,$$4.IMG,$$4.INPUT,$$4.LI,$$4.LINK,$$4.LISTING,$$4.MAIN,$$4.MARQUEE,$$4.MENU,$$4.META,$$4.NAV,$$4.NOEMBED,$$4.NOFRAMES,$$4.NOSCRIPT,$$4.OBJECT,$$4.OL,$$4.P,$$4.PARAM,$$4.PLAINTEXT,$$4.PRE,$$4.SCRIPT,$$4.SECTION,$$4.SELECT,$$4.SOURCE,$$4.STYLE,$$4.SUMMARY,$$4.TABLE,$$4.TBODY,$$4.TD,$$4.TEMPLATE,$$4.TEXTAREA,$$4.TFOOT,$$4.TH,$$4.THEAD,$$4.TITLE,$$4.TR,$$4.TRACK,$$4.UL,$$4.WBR,$$4.XMP]),[NS.MATHML]:new Set([$$4.MI,$$4.MO,$$4.MN,$$4.MS,$$4.MTEXT,$$4.ANNOTATION_XML]),[NS.SVG]:new Set([$$4.TITLE,$$4.FOREIGN_OBJECT,$$4.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6]),UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(Ra,qa){return UNESCAPED_TEXT.has(Ra)||qa&&Ra===TAG_NAMES.NOSCRIPT}var State$5;(function(Ra){Ra[Ra.DATA=0]="DATA",Ra[Ra.RCDATA=1]="RCDATA",Ra[Ra.RAWTEXT=2]="RAWTEXT",Ra[Ra.SCRIPT_DATA=3]="SCRIPT_DATA",Ra[Ra.PLAINTEXT=4]="PLAINTEXT",Ra[Ra.TAG_OPEN=5]="TAG_OPEN",Ra[Ra.END_TAG_OPEN=6]="END_TAG_OPEN",Ra[Ra.TAG_NAME=7]="TAG_NAME",Ra[Ra.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Ra[Ra.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Ra[Ra.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Ra[Ra.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Ra[Ra.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Ra[Ra.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Ra[Ra.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Ra[Ra.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Ra[Ra.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Ra[Ra.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Ra[Ra.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Ra[Ra.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Ra[Ra.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Ra[Ra.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Ra[Ra.BOGUS_COMMENT=40]="BOGUS_COMMENT",Ra[Ra.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Ra[Ra.COMMENT_START=42]="COMMENT_START",Ra[Ra.COMMENT_START_DASH=43]="COMMENT_START_DASH",Ra[Ra.COMMENT=44]="COMMENT",Ra[Ra.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Ra[Ra.COMMENT_END_DASH=49]="COMMENT_END_DASH",Ra[Ra.COMMENT_END=50]="COMMENT_END",Ra[Ra.COMMENT_END_BANG=51]="COMMENT_END_BANG",Ra[Ra.DOCTYPE=52]="DOCTYPE",Ra[Ra.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Ra[Ra.DOCTYPE_NAME=54]="DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Ra[Ra.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ra[Ra.CDATA_SECTION=68]="CDATA_SECTION",Ra[Ra.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Ra[Ra.CDATA_SECTION_END=70]="CDATA_SECTION_END",Ra[Ra.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Ra[Ra.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(State$5||(State$5={}));const TokenizerMode={DATA:State$5.DATA,RCDATA:State$5.RCDATA,RAWTEXT:State$5.RAWTEXT,SCRIPT_DATA:State$5.SCRIPT_DATA,PLAINTEXT:State$5.PLAINTEXT,CDATA_SECTION:State$5.CDATA_SECTION};function isAsciiDigit(Ra){return Ra>=CODE_POINTS.DIGIT_0&&Ra<=CODE_POINTS.DIGIT_9}function isAsciiUpper(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(Ra){return isAsciiLower(Ra)||isAsciiUpper(Ra)}function isAsciiAlphaNumeric(Ra){return isAsciiLetter(Ra)||isAsciiDigit(Ra)}function toAsciiLower(Ra){return Ra+32}function isWhitespace$3(Ra){return Ra===CODE_POINTS.SPACE||Ra===CODE_POINTS.LINE_FEED||Ra===CODE_POINTS.TABULATION||Ra===CODE_POINTS.FORM_FEED}function isScriptDataDoubleEscapeSequenceEnd(Ra){return isWhitespace$3(Ra)||Ra===CODE_POINTS.SOLIDUS||Ra===CODE_POINTS.GREATER_THAN_SIGN}function getErrorForNumericCharacterReference(Ra){return Ra===CODE_POINTS.NULL?ERR.nullCharacterReference:Ra>1114111?ERR.characterReferenceOutsideUnicodeRange:isSurrogate(Ra)?ERR.surrogateCharacterReference:isUndefinedCodePoint(Ra)?ERR.noncharacterCharacterReference:isControlCodePoint(Ra)||Ra===CODE_POINTS.CARRIAGE_RETURN?ERR.controlCharacterReference:null}let Tokenizer$1=class{constructor(qa,nd){this.options=qa,this.handler=nd,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State$5.DATA,this.returnState=State$5.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(nd),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder(htmlDecodeTree,(od,ld)=>{this.preprocessor.pos=this.entityStartPos+ld-1,this._flushCodePointConsumedAsCharacterReference(od)},nd.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:od=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+od)},validateNumericCharacterReference:od=>{const ld=getErrorForNumericCharacterReference(od);ld&&this._err(ld,1)}}:void 0)}_err(qa,nd=0){var od,ld;(ld=(od=this.handler).onParseError)===null||ld===void 0||ld.call(od,this.preprocessor.getError(qa,nd))}getCurrentLocation(qa){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-qa,startOffset:this.preprocessor.offset-qa,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const qa=this._consume();this._ensureHibernation()||this._callState(qa)}this.inLoop=!1}}pause(){this.paused=!0}resume(qa){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||qa==null||qa())}write(qa,nd,od){this.active=!0,this.preprocessor.write(qa,nd),this._runParsingLoop(),this.paused||od==null||od()}insertHtmlAtCurrentPos(qa){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(qa),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(qa){this.consumedAfterSnapshot+=qa;for(let nd=0;nd0&&this._err(ERR.endTagWithAttributes),qa.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(qa)),this.preprocessor.dropParsedChunk()}emitCurrentComment(qa){this.prepareToken(qa),this.handler.onComment(qa),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(qa){this.prepareToken(qa),this.handler.onDoctype(qa),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(qa){if(this.currentCharacterToken){switch(qa&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=qa.startLine,this.currentCharacterToken.location.endCol=qa.startCol,this.currentCharacterToken.location.endOffset=qa.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const qa=this.getCurrentLocation(0);qa&&(qa.endLine=qa.startLine,qa.endCol=qa.startCol,qa.endOffset=qa.startOffset),this._emitCurrentCharacterToken(qa),this.handler.onEof({type:TokenType.EOF,location:qa}),this.active=!1}_appendCharToCurrentCharacterToken(qa,nd){if(this.currentCharacterToken)if(this.currentCharacterToken.type===qa){this.currentCharacterToken.chars+=nd;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(qa,nd)}_emitCodePoint(qa){const nd=isWhitespace$3(qa)?TokenType.WHITESPACE_CHARACTER:qa===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(nd,String.fromCodePoint(qa))}_emitChars(qa){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,qa)}_startCharacterReference(){this.returnState=this.state,this.state=State$5.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode.Attribute:DecodingMode.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State$5.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State$5.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State$5.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(qa){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(qa):this._emitCodePoint(qa)}_callState(qa){switch(this.state){case State$5.DATA:{this._stateData(qa);break}case State$5.RCDATA:{this._stateRcdata(qa);break}case State$5.RAWTEXT:{this._stateRawtext(qa);break}case State$5.SCRIPT_DATA:{this._stateScriptData(qa);break}case State$5.PLAINTEXT:{this._statePlaintext(qa);break}case State$5.TAG_OPEN:{this._stateTagOpen(qa);break}case State$5.END_TAG_OPEN:{this._stateEndTagOpen(qa);break}case State$5.TAG_NAME:{this._stateTagName(qa);break}case State$5.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(qa);break}case State$5.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(qa);break}case State$5.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(qa);break}case State$5.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(qa);break}case State$5.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(qa);break}case State$5.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(qa);break}case State$5.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(qa);break}case State$5.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(qa);break}case State$5.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(qa);break}case State$5.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(qa);break}case State$5.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(qa);break}case State$5.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(qa);break}case State$5.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(qa);break}case State$5.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(qa);break}case State$5.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(qa);break}case State$5.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(qa);break}case State$5.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(qa);break}case State$5.ATTRIBUTE_NAME:{this._stateAttributeName(qa);break}case State$5.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(qa);break}case State$5.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(qa);break}case State$5.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(qa);break}case State$5.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(qa);break}case State$5.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(qa);break}case State$5.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(qa);break}case State$5.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(qa);break}case State$5.BOGUS_COMMENT:{this._stateBogusComment(qa);break}case State$5.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(qa);break}case State$5.COMMENT_START:{this._stateCommentStart(qa);break}case State$5.COMMENT_START_DASH:{this._stateCommentStartDash(qa);break}case State$5.COMMENT:{this._stateComment(qa);break}case State$5.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(qa);break}case State$5.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(qa);break}case State$5.COMMENT_END_DASH:{this._stateCommentEndDash(qa);break}case State$5.COMMENT_END:{this._stateCommentEnd(qa);break}case State$5.COMMENT_END_BANG:{this._stateCommentEndBang(qa);break}case State$5.DOCTYPE:{this._stateDoctype(qa);break}case State$5.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(qa);break}case State$5.DOCTYPE_NAME:{this._stateDoctypeName(qa);break}case State$5.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(qa);break}case State$5.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(qa);break}case State$5.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(qa);break}case State$5.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(qa);break}case State$5.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(qa);break}case State$5.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(qa);break}case State$5.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(qa);break}case State$5.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(qa);break}case State$5.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(qa);break}case State$5.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(qa);break}case State$5.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(qa);break}case State$5.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(qa);break}case State$5.BOGUS_DOCTYPE:{this._stateBogusDoctype(qa);break}case State$5.CDATA_SECTION:{this._stateCdataSection(qa);break}case State$5.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(qa);break}case State$5.CDATA_SECTION_END:{this._stateCdataSectionEnd(qa);break}case State$5.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case State$5.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(qa);break}default:throw new Error("Unknown state")}}_stateData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(qa);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRcdata(qa){switch(qa){case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRawtext(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$5.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_statePlaintext(qa){switch(qa){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateTagOpen(qa){if(isAsciiLetter(qa))this._createStartTagToken(),this.state=State$5.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$5.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State$5.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State$5.BOGUS_COMMENT,this._stateBogusComment(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State$5.DATA,this._stateData(qa)}}_stateEndTagOpen(qa){if(isAsciiLetter(qa))this._createEndTagToken(),this.state=State$5.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State$5.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$5.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$5.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$5.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(qa)?(this._emitChars("<"),this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(qa)):(this._emitChars("<"),this.state=State$5.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$5.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(qa)):(this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?(this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State$5.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateScriptDataDoubleEscapeEnd(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let nd=0;nd0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!0)}replace(qa,nd){const od=this._indexOf(qa);this.items[od]=nd,od===this.stackTop&&(this.current=nd)}insertAfter(qa,nd,od){const ld=this._indexOf(qa)+1;this.items.splice(ld,0,nd),this.tagIDs.splice(ld,0,od),this.stackTop++,ld===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,ld===this.stackTop)}popUntilTagNamePopped(qa){let nd=this.stackTop+1;do nd=this.tagIDs.lastIndexOf(qa,nd-1);while(nd>0&&this.treeAdapter.getNamespaceURI(this.items[nd])!==NS.HTML);this.shortenToLength(nd<0?0:nd)}shortenToLength(qa){for(;this.stackTop>=qa;){const nd=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(nd,this.stackTop=0;od--)if(qa.has(this.tagIDs[od])&&this.treeAdapter.getNamespaceURI(this.items[od])===nd)return od;return-1}clearBackTo(qa,nd){const od=this._indexOfTagNames(qa,nd);this.shortenToLength(od+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(qa){const nd=this._indexOf(qa);nd>=0&&(nd===this.stackTop?this.pop():(this.items.splice(nd,1),this.tagIDs.splice(nd,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(qa){return this._indexOf(qa)>-1}getCommonAncestor(qa){const nd=this._indexOf(qa)-1;return nd>=0?this.items[nd]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(qa,nd){for(let od=this.stackTop;od>=0;od--){const ld=this.tagIDs[od];switch(this.treeAdapter.getNamespaceURI(this.items[od])){case NS.HTML:{if(ld===qa)return!0;if(nd.has(ld))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(ld))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(ld))return!1;break}}}return!0}hasInScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML)}hasInListItemScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let qa=this.stackTop;qa>=0;qa--){const nd=this.tagIDs[qa];switch(this.treeAdapter.getNamespaceURI(this.items[qa])){case NS.HTML:{if(NUMBERED_HEADERS.has(nd))return!0;if(SCOPING_ELEMENTS_HTML.has(nd))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(nd))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(nd))return!1;break}}}return!0}hasInTableScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let qa=this.stackTop;qa>=0;qa--)if(this.treeAdapter.getNamespaceURI(this.items[qa])===NS.HTML)switch(this.tagIDs[qa]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(qa){for(;this.currentTagId!==qa&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}const NOAH_ARK_CAPACITY=3;var EntryType;(function(Ra){Ra[Ra.Marker=0]="Marker",Ra[Ra.Element=1]="Element"})(EntryType||(EntryType={}));const MARKER={type:EntryType.Marker};class FormattingElementList{constructor(qa){this.treeAdapter=qa,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(qa,nd){const od=[],ld=nd.length,ud=this.treeAdapter.getTagName(qa),dd=this.treeAdapter.getNamespaceURI(qa);for(let pd=0;pd[dd.name,dd.value]));let ud=0;for(let dd=0;ddld.get(fd.name)===fd.value)&&(ud+=1,ud>=NOAH_ARK_CAPACITY&&this.entries.splice(pd.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(qa,nd){this._ensureNoahArkCondition(qa),this.entries.unshift({type:EntryType.Element,element:qa,token:nd})}insertElementAfterBookmark(qa,nd){const od=this.entries.indexOf(this.bookmark);this.entries.splice(od,0,{type:EntryType.Element,element:qa,token:nd})}removeEntry(qa){const nd=this.entries.indexOf(qa);nd>=0&&this.entries.splice(nd,1)}clearToLastMarker(){const qa=this.entries.indexOf(MARKER);qa>=0?this.entries.splice(0,qa+1):this.entries.length=0}getElementEntryInScopeWithTagName(qa){const nd=this.entries.find(od=>od.type===EntryType.Marker||this.treeAdapter.getTagName(od.element)===qa);return nd&&nd.type===EntryType.Element?nd:null}getElementEntry(qa){return this.entries.find(nd=>nd.type===EntryType.Element&&nd.element===qa)}}const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(Ra,qa,nd){return{nodeName:Ra,tagName:Ra,attrs:nd,namespaceURI:qa,childNodes:[],parentNode:null}},createCommentNode(Ra){return{nodeName:"#comment",data:Ra,parentNode:null}},createTextNode(Ra){return{nodeName:"#text",value:Ra,parentNode:null}},appendChild(Ra,qa){Ra.childNodes.push(qa),qa.parentNode=Ra},insertBefore(Ra,qa,nd){const od=Ra.childNodes.indexOf(nd);Ra.childNodes.splice(od,0,qa),qa.parentNode=Ra},setTemplateContent(Ra,qa){Ra.content=qa},getTemplateContent(Ra){return Ra.content},setDocumentType(Ra,qa,nd,od){const ld=Ra.childNodes.find(ud=>ud.nodeName==="#documentType");if(ld)ld.name=qa,ld.publicId=nd,ld.systemId=od;else{const ud={nodeName:"#documentType",name:qa,publicId:nd,systemId:od,parentNode:null};defaultTreeAdapter.appendChild(Ra,ud)}},setDocumentMode(Ra,qa){Ra.mode=qa},getDocumentMode(Ra){return Ra.mode},detachNode(Ra){if(Ra.parentNode){const qa=Ra.parentNode.childNodes.indexOf(Ra);Ra.parentNode.childNodes.splice(qa,1),Ra.parentNode=null}},insertText(Ra,qa){if(Ra.childNodes.length>0){const nd=Ra.childNodes[Ra.childNodes.length-1];if(defaultTreeAdapter.isTextNode(nd)){nd.value+=qa;return}}defaultTreeAdapter.appendChild(Ra,defaultTreeAdapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.childNodes[Ra.childNodes.indexOf(nd)-1];od&&defaultTreeAdapter.isTextNode(od)?od.value+=qa:defaultTreeAdapter.insertBefore(Ra,defaultTreeAdapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){const nd=new Set(Ra.attrs.map(od=>od.name));for(let od=0;odRa.startsWith(nd))}function isConforming(Ra){return Ra.name===VALID_DOCTYPE_NAME&&Ra.publicId===null&&(Ra.systemId===null||Ra.systemId===VALID_SYSTEM_ID)}function getDocumentMode(Ra){if(Ra.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId:qa}=Ra;if(qa&&qa.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:nd}=Ra;if(nd!==null){if(nd=nd.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(nd))return DOCUMENT_MODE.QUIRKS;let od=qa===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(nd,od))return DOCUMENT_MODE.QUIRKS;if(od=qa===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(nd,od))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(Ra){const qa=Ra.tagID;return qa===TAG_ID.FONT&&Ra.attrs.some(({name:od})=>od===ATTRS.COLOR||od===ATTRS.SIZE||od===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(qa)}function adjustTokenMathMLAttrs(Ra){for(let qa=0;qa0&&this._setContextModes(qa,nd)}onItemPop(qa,nd){var od,ld;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(qa,this.currentToken),(ld=(od=this.treeAdapter).onItemPop)===null||ld===void 0||ld.call(od,qa,this.openElements.current),nd){let ud,dd;this.openElements.stackTop===0&&this.fragmentContext?(ud=this.fragmentContext,dd=this.fragmentContextID):{current:ud,currentTagId:dd}=this.openElements,this._setContextModes(ud,dd)}}_setContextModes(qa,nd){const od=qa===this.document||this.treeAdapter.getNamespaceURI(qa)===NS.HTML;this.currentNotInHTML=!od,this.tokenizer.inForeignNode=!od&&!this._isIntegrationPoint(nd,qa)}_switchToTextParsing(qa,nd){this._insertElement(qa,NS.HTML),this.tokenizer.state=nd,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let qa=this.fragmentContext;for(;qa;){if(this.treeAdapter.getTagName(qa)===TAG_NAMES.FORM){this.formElement=qa;break}qa=this.treeAdapter.getParentNode(qa)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(qa){const nd=qa.name||"",od=qa.publicId||"",ld=qa.systemId||"";if(this.treeAdapter.setDocumentType(this.document,nd,od,ld),qa.location){const dd=this.treeAdapter.getChildNodes(this.document).find(pd=>this.treeAdapter.isDocumentTypeNode(pd));dd&&this.treeAdapter.setNodeSourceCodeLocation(dd,qa.location)}}_attachElementToTree(qa,nd){if(this.options.sourceCodeLocationInfo){const od=nd&&{...nd,startTag:nd};this.treeAdapter.setNodeSourceCodeLocation(qa,od)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(qa);else{const od=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(od,qa)}}_appendElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location)}_insertElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location),this.openElements.push(od,qa.tagID)}_insertFakeElement(qa,nd){const od=this.treeAdapter.createElement(qa,NS.HTML,[]);this._attachElementToTree(od,null),this.openElements.push(od,nd)}_insertTemplate(qa){const nd=this.treeAdapter.createElement(qa.tagName,NS.HTML,qa.attrs),od=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(nd,od),this._attachElementToTree(nd,qa.location),this.openElements.push(nd,qa.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,null)}_insertFakeRootElement(){const qa=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qa,null),this.treeAdapter.appendChild(this.openElements.current,qa),this.openElements.push(qa,TAG_ID.HTML)}_appendCommentNode(qa,nd){const od=this.treeAdapter.createCommentNode(qa.data);this.treeAdapter.appendChild(nd,od),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,qa.location)}_insertCharacters(qa){let nd,od;if(this._shouldFosterParentOnInsertion()?({parent:nd,beforeElement:od}=this._findFosterParentingLocation(),od?this.treeAdapter.insertTextBefore(nd,qa.chars,od):this.treeAdapter.insertText(nd,qa.chars)):(nd=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(nd,qa.chars)),!qa.location)return;const ld=this.treeAdapter.getChildNodes(nd),ud=od?ld.lastIndexOf(od):ld.length,dd=ld[ud-1];if(this.treeAdapter.getNodeSourceCodeLocation(dd)){const{endLine:fd,endCol:md,endOffset:vd}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(dd,{endLine:fd,endCol:md,endOffset:vd})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(dd,qa.location)}_adoptNodes(qa,nd){for(let od=this.treeAdapter.getFirstChild(qa);od;od=this.treeAdapter.getFirstChild(qa))this.treeAdapter.detachNode(od),this.treeAdapter.appendChild(nd,od)}_setEndLocation(qa,nd){if(this.treeAdapter.getNodeSourceCodeLocation(qa)&&nd.location){const od=nd.location,ld=this.treeAdapter.getTagName(qa),ud=nd.type===TokenType.END_TAG&&ld===nd.tagName?{endTag:{...od},endLine:od.endLine,endCol:od.endCol,endOffset:od.endOffset}:{endLine:od.startLine,endCol:od.startCol,endOffset:od.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(qa,ud)}}shouldProcessStartTagTokenInForeignContent(qa){if(!this.currentNotInHTML)return!1;let nd,od;return this.openElements.stackTop===0&&this.fragmentContext?(nd=this.fragmentContext,od=this.fragmentContextID):{current:nd,currentTagId:od}=this.openElements,qa.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(nd)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(nd)===NS.MATHML?!1:this.tokenizer.inForeignNode||(qa.tagID===TAG_ID.MGLYPH||qa.tagID===TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(od,nd,NS.HTML)}_processToken(qa){switch(qa.type){case TokenType.CHARACTER:{this.onCharacter(qa);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(qa);break}case TokenType.COMMENT:{this.onComment(qa);break}case TokenType.DOCTYPE:{this.onDoctype(qa);break}case TokenType.START_TAG:{this._processStartTag(qa);break}case TokenType.END_TAG:{this.onEndTag(qa);break}case TokenType.EOF:{this.onEof(qa);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(qa);break}}}_isIntegrationPoint(qa,nd,od){const ld=this.treeAdapter.getNamespaceURI(nd),ud=this.treeAdapter.getAttrList(nd);return isIntegrationPoint(qa,ld,ud,od)}_reconstructActiveFormattingElements(){const qa=this.activeFormattingElements.entries.length;if(qa){const nd=this.activeFormattingElements.entries.findIndex(ld=>ld.type===EntryType.Marker||this.openElements.contains(ld.element)),od=nd<0?qa-1:nd-1;for(let ld=od;ld>=0;ld--){const ud=this.activeFormattingElements.entries[ld];this._insertElement(ud.token,this.treeAdapter.getNamespaceURI(ud.element)),ud.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let qa=this.openElements.stackTop;qa>=0;qa--)switch(qa===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[qa]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(qa);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(qa>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(qa>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(qa){if(qa>0)for(let nd=qa-1;nd>0;nd--){const od=this.openElements.tagIDs[nd];if(od===TAG_ID.TEMPLATE)break;if(od===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(qa){return TABLE_STRUCTURE_TAGS.has(qa)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let qa=this.openElements.stackTop;qa>=0;qa--){const nd=this.openElements.items[qa];switch(this.openElements.tagIDs[qa]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(nd)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(nd),beforeElement:null};break}case TAG_ID.TABLE:{const od=this.treeAdapter.getParentNode(nd);return od?{parent:od,beforeElement:nd}:{parent:this.openElements.items[qa-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(qa){const nd=this._findFosterParentingLocation();nd.beforeElement?this.treeAdapter.insertBefore(nd.parent,qa,nd.beforeElement):this.treeAdapter.appendChild(nd.parent,qa)}_isSpecialElement(qa,nd){const od=this.treeAdapter.getNamespaceURI(qa);return SPECIAL_ELEMENTS[od].has(nd)}onCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,qa);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onNullCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.TEXT:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onComment(qa){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,qa);break}}}onDoctype(qa){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,qa);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(qa,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}}}onStartTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this._processStartTag(qa),qa.selfClosing&&!qa.ackSelfClosing&&this._err(qa,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(qa){this.shouldProcessStartTagTokenInForeignContent(qa)?startTagInForeignContent(this,qa):this._startTagOutsideForeignContent(qa)}_startTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{startTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{startTagInBody(this,qa);break}case InsertionMode.IN_TABLE:{startTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{startTagInRow(this,qa);break}case InsertionMode.IN_CELL:{startTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,qa);break}}}onEndTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this.currentNotInHTML?endTagInForeignContent(this,qa):this._endTagOutsideForeignContent(qa)}_endTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{endTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{endTagInBody(this,qa);break}case InsertionMode.TEXT:{endTagInText(this,qa);break}case InsertionMode.IN_TABLE:{endTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{endTagInRow(this,qa);break}case InsertionMode.IN_CELL:{endTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onEof(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,qa);break}case InsertionMode.TEXT:{eofInText(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,qa);break}}}onWhitespaceCharacter(qa){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,qa.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(qa.chars.length===1)return;qa.chars=qa.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(qa);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,qa);break}}}};function aaObtainFormattingElementEntry(Ra,qa){let nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(qa.tagName);return nd?Ra.openElements.contains(nd.element)?Ra.openElements.hasInScope(qa.tagID)||(nd=null):(Ra.activeFormattingElements.removeEntry(nd),nd=null):genericEndTagInBody(Ra,qa),nd}function aaObtainFurthestBlock(Ra,qa){let nd=null,od=Ra.openElements.stackTop;for(;od>=0;od--){const ld=Ra.openElements.items[od];if(ld===qa.element)break;Ra._isSpecialElement(ld,Ra.openElements.tagIDs[od])&&(nd=ld)}return nd||(Ra.openElements.shortenToLength(od<0?0:od),Ra.activeFormattingElements.removeEntry(qa)),nd}function aaInnerLoop(Ra,qa,nd){let od=qa,ld=Ra.openElements.getCommonAncestor(qa);for(let ud=0,dd=ld;dd!==nd;ud++,dd=ld){ld=Ra.openElements.getCommonAncestor(dd);const pd=Ra.activeFormattingElements.getElementEntry(dd),fd=pd&&ud>=AA_INNER_LOOP_ITER;!pd||fd?(fd&&Ra.activeFormattingElements.removeEntry(pd),Ra.openElements.remove(dd)):(dd=aaRecreateElementFromEntry(Ra,pd),od===qa&&(Ra.activeFormattingElements.bookmark=pd),Ra.treeAdapter.detachNode(od),Ra.treeAdapter.appendChild(dd,od),od=dd)}return od}function aaRecreateElementFromEntry(Ra,qa){const nd=Ra.treeAdapter.getNamespaceURI(qa.element),od=Ra.treeAdapter.createElement(qa.token.tagName,nd,qa.token.attrs);return Ra.openElements.replace(qa.element,od),qa.element=od,od}function aaInsertLastNodeInCommonAncestor(Ra,qa,nd){const od=Ra.treeAdapter.getTagName(qa),ld=getTagID(od);if(Ra._isElementCausesFosterParenting(ld))Ra._fosterParentElement(nd);else{const ud=Ra.treeAdapter.getNamespaceURI(qa);ld===TAG_ID.TEMPLATE&&ud===NS.HTML&&(qa=Ra.treeAdapter.getTemplateContent(qa)),Ra.treeAdapter.appendChild(qa,nd)}}function aaReplaceFormattingElement(Ra,qa,nd){const od=Ra.treeAdapter.getNamespaceURI(nd.element),{token:ld}=nd,ud=Ra.treeAdapter.createElement(ld.tagName,od,ld.attrs);Ra._adoptNodes(qa,ud),Ra.treeAdapter.appendChild(qa,ud),Ra.activeFormattingElements.insertElementAfterBookmark(ud,ld),Ra.activeFormattingElements.removeEntry(nd),Ra.openElements.remove(nd.element),Ra.openElements.insertAfter(qa,ud,ld.tagID)}function callAdoptionAgency(Ra,qa){for(let nd=0;nd=nd;od--)Ra._setEndLocation(Ra.openElements.items[od],qa);if(!Ra.fragmentContext&&Ra.openElements.stackTop>=0){const od=Ra.openElements.items[0],ld=Ra.treeAdapter.getNodeSourceCodeLocation(od);if(ld&&!ld.endTag&&(Ra._setEndLocation(od,qa),Ra.openElements.stackTop>=1)){const ud=Ra.openElements.items[1],dd=Ra.treeAdapter.getNodeSourceCodeLocation(ud);dd&&!dd.endTag&&Ra._setEndLocation(ud,qa)}}}}function doctypeInInitialMode(Ra,qa){Ra._setDocumentType(qa);const nd=qa.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(qa);isConforming(qa)||Ra._err(qa,ERR.nonConformingDoctype),Ra.treeAdapter.setDocumentMode(Ra.document,nd),Ra.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(Ra,qa){Ra._err(qa,ERR.missingDoctype,!0),Ra.treeAdapter.setDocumentMode(Ra.document,DOCUMENT_MODE.QUIRKS),Ra.insertionMode=InsertionMode.BEFORE_HTML,Ra._processToken(qa)}function startTagBeforeHtml(Ra,qa){qa.tagID===TAG_ID.HTML?(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(Ra,qa)}function endTagBeforeHtml(Ra,qa){const nd=qa.tagID;(nd===TAG_ID.HTML||nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.BR)&&tokenBeforeHtml(Ra,qa)}function tokenBeforeHtml(Ra,qa){Ra._insertFakeRootElement(),Ra.insertionMode=InsertionMode.BEFORE_HEAD,Ra._processToken(qa)}function startTagBeforeHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.HEAD:{Ra._insertElement(qa,NS.HTML),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(Ra,qa)}}function endTagBeforeHead(Ra,qa){const nd=qa.tagID;nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.HTML||nd===TAG_ID.BR?tokenBeforeHead(Ra,qa):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TITLE:{Ra._switchToTextParsing(qa,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT):(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{Ra._switchToTextParsing(qa,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{Ra._insertTemplate(qa),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TEMPLATE,Ra.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(Ra,qa)}}function endTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HEAD:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.generateImpliedEndTagsThoroughly(),Ra.openElements.currentTagId!==TAG_ID.TEMPLATE&&Ra._err(qa,ERR.closingOfElementWithOpenChildElements),Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode()):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(Ra,qa){Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD,Ra._processToken(qa)}function startTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra._err(qa,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(Ra,qa)}}function endTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.NOSCRIPT:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(Ra,qa){const nd=qa.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;Ra._err(qa,nd),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BODY:{Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{Ra._err(qa,ERR.abandonedHeadElementChild),Ra.openElements.push(Ra.headElement,TAG_ID.HEAD),startTagInHead(Ra,qa),Ra.openElements.remove(Ra.headElement);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(Ra,qa)}}function endTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function modeInBody(Ra,qa){switch(qa.type){case TokenType.CHARACTER:{characterInBody(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(Ra,qa);break}case TokenType.COMMENT:{appendComment(Ra,qa);break}case TokenType.START_TAG:{startTagInBody(Ra,qa);break}case TokenType.END_TAG:{endTagInBody(Ra,qa);break}case TokenType.EOF:{eofInBody(Ra,qa);break}}}function whitespaceCharacterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa)}function characterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa),Ra.framesetOk=!1}function htmlStartTagInBody(Ra,qa){Ra.openElements.tmplCount===0&&Ra.treeAdapter.adoptAttributes(Ra.openElements.items[0],qa.attrs)}function bodyStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra.openElements.tmplCount===0&&(Ra.framesetOk=!1,Ra.treeAdapter.adoptAttributes(nd,qa.attrs))}function framesetStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();Ra.framesetOk&&nd&&(Ra.treeAdapter.detachNode(nd),Ra.openElements.popAllUpToHtmlElement(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function numberedHeaderStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),NUMBERED_HEADERS.has(Ra.openElements.currentTagId)&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML)}function preStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.framesetOk=!1}function formStartTagInBody(Ra,qa){const nd=Ra.openElements.tmplCount>0;(!Ra.formElement||nd)&&(Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),nd||(Ra.formElement=Ra.openElements.current))}function listItemStartTagInBody(Ra,qa){Ra.framesetOk=!1;const nd=qa.tagID;for(let od=Ra.openElements.stackTop;od>=0;od--){const ld=Ra.openElements.tagIDs[od];if(nd===TAG_ID.LI&&ld===TAG_ID.LI||(nd===TAG_ID.DD||nd===TAG_ID.DT)&&(ld===TAG_ID.DD||ld===TAG_ID.DT)){Ra.openElements.generateImpliedEndTagsWithExclusion(ld),Ra.openElements.popUntilTagNamePopped(ld);break}if(ld!==TAG_ID.ADDRESS&&ld!==TAG_ID.DIV&&ld!==TAG_ID.P&&Ra._isSpecialElement(Ra.openElements.items[od],ld))break}Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function plaintextStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BUTTON)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1}function aStartTagInBody(Ra,qa){const nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);nd&&(callAdoptionAgency(Ra,qa),Ra.openElements.remove(nd.element),Ra.activeFormattingElements.removeEntry(nd)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function bStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function nobrStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(Ra,qa),Ra._reconstructActiveFormattingElements()),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function appletStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1}function tableStartTagInBody(Ra,qa){Ra.treeAdapter.getDocumentMode(Ra.document)!==DOCUMENT_MODE.QUIRKS&&Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function isHiddenInput(Ra){const qa=getTokenAttr(Ra,ATTRS.TYPE);return qa!=null&&qa.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),isHiddenInput(qa)||(Ra.framesetOk=!1),qa.ackSelfClosing=!0}function paramStartTagInBody(Ra,qa){Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0}function hrStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function imageStartTagInBody(Ra,qa){qa.tagName=TAG_NAMES.IMG,qa.tagID=TAG_ID.IMG,areaStartTagInBody(Ra,qa)}function textareaStartTagInBody(Ra,qa){Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.tokenizer.state=TokenizerMode.RCDATA,Ra.originalInsertionMode=Ra.insertionMode,Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._reconstructActiveFormattingElements(),Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(Ra,qa){Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function rawTextStartTagInBody(Ra,qa){Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function selectStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=Ra.insertionMode===InsertionMode.IN_TABLE||Ra.insertionMode===InsertionMode.IN_CAPTION||Ra.insertionMode===InsertionMode.IN_TABLE_BODY||Ra.insertionMode===InsertionMode.IN_ROW||Ra.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(Ra,qa){Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function rbStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTags(),Ra._insertElement(qa,NS.HTML)}function rtStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),Ra._insertElement(qa,NS.HTML)}function mathStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.MATHML):Ra._insertElement(qa,NS.MATHML),qa.ackSelfClosing=!0}function svgStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.SVG):Ra._insertElement(qa,NS.SVG),qa.ackSelfClosing=!0}function genericStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function startTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(Ra,qa);break}case TAG_ID.A:{aStartTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(Ra,qa);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(Ra,qa);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(Ra,qa);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(Ra,qa);break}case TAG_ID.HR:{hrStartTagInBody(Ra,qa);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(Ra,qa);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(Ra,qa);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(Ra,qa);break}case TAG_ID.XMP:{xmpStartTagInBody(Ra,qa);break}case TAG_ID.SVG:{svgStartTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlStartTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.BODY:{bodyStartTagInBody(Ra,qa);break}case TAG_ID.FORM:{formStartTagInBody(Ra,qa);break}case TAG_ID.NOBR:{nobrStartTagInBody(Ra,qa);break}case TAG_ID.MATH:{mathStartTagInBody(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInBody(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInBody(Ra,qa);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(Ra,qa);break}case TAG_ID.IMAGE:{imageStartTagInBody(Ra,qa);break}case TAG_ID.BUTTON:{buttonStartTagInBody(Ra,qa);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(Ra,qa);break}case TAG_ID.IFRAME:{iframeStartTagInBody(Ra,qa);break}case TAG_ID.SELECT:{selectStartTagInBody(Ra,qa);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(Ra,qa);break}case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:{rawTextStartTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(Ra,qa);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?rawTextStartTagInBody(Ra,qa):genericStartTagInBody(Ra,qa);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(Ra,qa);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(Ra,qa)}}function bodyEndTagInBody(Ra,qa){if(Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,Ra.options.sourceCodeLocationInfo)){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra._setEndLocation(nd,qa)}}function htmlEndTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(Ra,qa))}function addressEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd))}function formEndTagInBody(Ra){const qa=Ra.openElements.tmplCount>0,{formElement:nd}=Ra;qa||(Ra.formElement=null),(nd||qa)&&Ra.openElements.hasInScope(TAG_ID.FORM)&&(Ra.openElements.generateImpliedEndTags(),qa?Ra.openElements.popUntilTagNamePopped(TAG_ID.FORM):nd&&Ra.openElements.remove(nd))}function pEndTagInBody(Ra){Ra.openElements.hasInButtonScope(TAG_ID.P)||Ra._insertFakeElement(TAG_NAMES.P,TAG_ID.P),Ra._closePElement()}function liEndTagInBody(Ra){Ra.openElements.hasInListItemScope(TAG_ID.LI)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),Ra.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(nd),Ra.openElements.popUntilTagNamePopped(nd))}function numberedHeaderEndTagInBody(Ra){Ra.openElements.hasNumberedHeaderInScope()&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd),Ra.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(Ra){Ra._reconstructActiveFormattingElements(),Ra._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),Ra.openElements.pop(),Ra.framesetOk=!1}function genericEndTagInBody(Ra,qa){const nd=qa.tagName,od=qa.tagID;for(let ld=Ra.openElements.stackTop;ld>0;ld--){const ud=Ra.openElements.items[ld],dd=Ra.openElements.tagIDs[ld];if(od===dd&&(od!==TAG_ID.UNKNOWN||Ra.treeAdapter.getTagName(ud)===nd)){Ra.openElements.generateImpliedEndTagsWithExclusion(od),Ra.openElements.stackTop>=ld&&Ra.openElements.shortenToLength(ld);break}if(Ra._isSpecialElement(ud,dd))break}}function endTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(Ra,qa);break}case TAG_ID.P:{pEndTagInBody(Ra);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(Ra,qa);break}case TAG_ID.LI:{liEndTagInBody(Ra);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(Ra);break}case TAG_ID.BR:{brEndTagInBody(Ra);break}case TAG_ID.BODY:{bodyEndTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlEndTagInBody(Ra,qa);break}case TAG_ID.FORM:{formEndTagInBody(Ra);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:genericEndTagInBody(Ra,qa)}}function eofInBody(Ra,qa){Ra.tmplInsertionModeStack.length>0?eofInTemplate(Ra,qa):stopParsing(Ra,qa)}function endTagInText(Ra,qa){var nd;qa.tagID===TAG_ID.SCRIPT&&((nd=Ra.scriptHandler)===null||nd===void 0||nd.call(Ra,Ra.openElements.current)),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode}function eofInText(Ra,qa){Ra._err(qa,ERR.eofInElementThatCanContainOnlyText),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode,Ra.onEof(qa)}function characterInTable(Ra,qa){if(TABLE_STRUCTURE_TAGS.has(Ra.openElements.currentTagId))switch(Ra.pendingCharacterTokens.length=0,Ra.hasNonWhitespacePendingCharacterToken=!1,Ra.originalInsertionMode=Ra.insertionMode,Ra.insertionMode=InsertionMode.IN_TABLE_TEXT,qa.type){case TokenType.CHARACTER:{characterInTableText(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(Ra,qa);break}}else tokenInTable(Ra,qa)}function captionStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra.activeFormattingElements.insertMarker(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa)}function tbodyStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa)}function tableStartTagInTable(Ra,qa){Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode(),Ra._processStartTag(qa))}function inputStartTagInTable(Ra,qa){isHiddenInput(qa)?Ra._appendElement(qa,NS.HTML):tokenInTable(Ra,qa),qa.ackSelfClosing=!0}function formStartTagInTable(Ra,qa){!Ra.formElement&&Ra.openElements.tmplCount===0&&(Ra._insertElement(qa,NS.HTML),Ra.formElement=Ra.openElements.current,Ra.openElements.pop())}function startTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(Ra,qa);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.COL:{colStartTagInTable(Ra,qa);break}case TAG_ID.FORM:{formStartTagInTable(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInTable(Ra,qa);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInTable(Ra,qa);break}case TAG_ID.CAPTION:{captionStartTagInTable(Ra,qa);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(Ra,qa);break}default:tokenInTable(Ra,qa)}}function endTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(Ra,qa)}}function tokenInTable(Ra,qa){const nd=Ra.fosterParentingEnabled;Ra.fosterParentingEnabled=!0,modeInBody(Ra,qa),Ra.fosterParentingEnabled=nd}function whitespaceCharacterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa)}function characterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa),Ra.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(Ra,qa){let nd=0;if(Ra.hasNonWhitespacePendingCharacterToken)for(;nd0&&Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.tagIDs[Ra.openElements.stackTop-1]===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop();break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop();break}case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}}}function startTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra._processStartTag(qa)):startTagInSelect(Ra,qa)}function endTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra.onEndTag(qa)):endTagInSelect(Ra,qa)}function startTagInTemplate(Ra,qa){switch(qa.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa);break}case TAG_ID.COL:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa);break}case TAG_ID.TR:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa);break}case TAG_ID.TD:case TAG_ID.TH:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}default:Ra.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,Ra.insertionMode=InsertionMode.IN_BODY,startTagInBody(Ra,qa)}}function endTagInTemplate(Ra,qa){qa.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(Ra,qa)}function eofInTemplate(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode(),Ra.onEof(qa)):stopParsing(Ra,qa)}function startTagAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterBody(Ra,qa)}function endTagAfterBody(Ra,qa){var nd;if(qa.tagID===TAG_ID.HTML){if(Ra.fragmentContext||(Ra.insertionMode=InsertionMode.AFTER_AFTER_BODY),Ra.options.sourceCodeLocationInfo&&Ra.openElements.tagIDs[0]===TAG_ID.HTML){Ra._setEndLocation(Ra.openElements.items[0],qa);const od=Ra.openElements.items[1];od&&!(!((nd=Ra.treeAdapter.getNodeSourceCodeLocation(od))===null||nd===void 0)&&nd.endTag)&&Ra._setEndLocation(od,qa)}}else tokenAfterBody(Ra,qa)}function tokenAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagInFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML);break}case TAG_ID.FRAME:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagInFrameset(Ra,qa){qa.tagID===TAG_ID.FRAMESET&&!Ra.openElements.isRootHtmlElementCurrent()&&(Ra.openElements.pop(),!Ra.fragmentContext&&Ra.openElements.currentTagId!==TAG_ID.FRAMESET&&(Ra.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagAfterFrameset(Ra,qa){qa.tagID===TAG_ID.HTML&&(Ra.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterAfterBody(Ra,qa)}function tokenAfterAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagAfterAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function nullCharacterInForeignContent(Ra,qa){qa.chars=REPLACEMENT_CHARACTER,Ra._insertCharacters(qa)}function characterInForeignContent(Ra,qa){Ra._insertCharacters(qa),Ra.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(Ra){for(;Ra.treeAdapter.getNamespaceURI(Ra.openElements.current)!==NS.HTML&&!Ra._isIntegrationPoint(Ra.openElements.currentTagId,Ra.openElements.current);)Ra.openElements.pop()}function startTagInForeignContent(Ra,qa){if(causesExit(qa))popUntilHtmlOrIntegrationPoint(Ra),Ra._startTagOutsideForeignContent(qa);else{const nd=Ra._getAdjustedCurrentElement(),od=Ra.treeAdapter.getNamespaceURI(nd);od===NS.MATHML?adjustTokenMathMLAttrs(qa):od===NS.SVG&&(adjustTokenSVGTagName(qa),adjustTokenSVGAttrs(qa)),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,od):Ra._insertElement(qa,od),qa.ackSelfClosing=!0}}function endTagInForeignContent(Ra,qa){if(qa.tagID===TAG_ID.P||qa.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(Ra),Ra._endTagOutsideForeignContent(qa);return}for(let nd=Ra.openElements.stackTop;nd>0;nd--){const od=Ra.openElements.items[nd];if(Ra.treeAdapter.getNamespaceURI(od)===NS.HTML){Ra._endTagOutsideForeignContent(qa);break}const ld=Ra.treeAdapter.getTagName(od);if(ld.toLowerCase()===qa.tagName){qa.tagName=ld,Ra.openElements.shortenToLength(nd);break}}}const VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(Ra,qa){return qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML&&VOID_ELEMENTS.has(qa.treeAdapter.getTagName(Ra))}const defaultOpts={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serializeOuter(Ra,qa){const nd={...defaultOpts,...qa};return serializeNode(Ra,nd)}function serializeChildNodes(Ra,qa){let nd="";const od=qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getTagName(Ra)===TAG_NAMES.TEMPLATE&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML?qa.treeAdapter.getTemplateContent(Ra):Ra,ld=qa.treeAdapter.getChildNodes(od);if(ld)for(const ud of ld)nd+=serializeNode(ud,qa);return nd}function serializeNode(Ra,qa){return qa.treeAdapter.isElementNode(Ra)?serializeElement(Ra,qa):qa.treeAdapter.isTextNode(Ra)?serializeTextNode(Ra,qa):qa.treeAdapter.isCommentNode(Ra)?serializeCommentNode(Ra,qa):qa.treeAdapter.isDocumentTypeNode(Ra)?serializeDocumentTypeNode(Ra,qa):""}function serializeElement(Ra,qa){const nd=qa.treeAdapter.getTagName(Ra);return`<${nd}${serializeAttributes(Ra,qa)}>${isVoidElement(Ra,qa)?"":`${serializeChildNodes(Ra,qa)}`}`}function serializeAttributes(Ra,{treeAdapter:qa}){let nd="";for(const od of qa.getAttrList(Ra)){if(nd+=" ",od.namespace)switch(od.namespace){case NS.XML:{nd+=`xml:${od.name}`;break}case NS.XMLNS:{od.name!=="xmlns"&&(nd+="xmlns:"),nd+=od.name;break}case NS.XLINK:{nd+=`xlink:${od.name}`;break}default:nd+=`${od.prefix}:${od.name}`}else nd+=od.name;nd+=`="${escapeAttribute(od.value)}"`}return nd}function serializeTextNode(Ra,qa){const{treeAdapter:nd}=qa,od=nd.getTextNodeContent(Ra),ld=nd.getParentNode(Ra),ud=ld&&nd.isElementNode(ld)&&nd.getTagName(ld);return ud&&nd.getNamespaceURI(ld)===NS.HTML&&hasUnescapedText(ud,qa.scriptingEnabled)?od:escapeText(od)}function serializeCommentNode(Ra,{treeAdapter:qa}){return``}function serializeDocumentTypeNode(Ra,{treeAdapter:qa}){return``}function parse$5(Ra,qa){return Parser$2.parse(Ra,qa)}function parseFragment(Ra,qa,nd){typeof Ra=="string"&&(nd=qa,qa=Ra,Ra=null);const od=Parser$2.getFragmentParser(Ra,nd);return od.tokenizer.write(qa,!0),od.getFragment()}function enquoteDoctypeId(Ra){const qa=Ra.includes('"')?"'":'"';return qa+Ra+qa}function serializeDoctypeContent(Ra,qa,nd){let od="!DOCTYPE ";return Ra&&(od+=Ra),qa?od+=` PUBLIC ${enquoteDoctypeId(qa)}`:nd&&(od+=" SYSTEM"),nd&&(od+=` ${enquoteDoctypeId(nd)}`),od}const adapter={isCommentNode:isComment$2,isElementNode:isTag,isTextNode:isText,createDocument(){const Ra=new Document([]);return Ra["x-mode"]=DOCUMENT_MODE.NO_QUIRKS,Ra},createDocumentFragment(){return new Document([])},createElement(Ra,qa,nd){const od=Object.create(null),ld=Object.create(null),ud=Object.create(null);for(let pd=0;pdisDirective(dd)&&dd.name==="!doctype");ud?ud.data=ld??null:(ud=new ProcessingInstruction("!doctype",ld),adapter.appendChild(Ra,ud)),ud["x-name"]=qa,ud["x-publicId"]=nd,ud["x-systemId"]=od},setDocumentMode(Ra,qa){Ra["x-mode"]=qa},getDocumentMode(Ra){return Ra["x-mode"]},detachNode(Ra){if(Ra.parent){const qa=Ra.parent.children.indexOf(Ra),{prev:nd,next:od}=Ra;Ra.prev=null,Ra.next=null,nd&&(nd.next=od),od&&(od.prev=nd),Ra.parent.children.splice(qa,1),Ra.parent=null}},insertText(Ra,qa){const nd=Ra.children[Ra.children.length-1];nd&&isText(nd)?nd.data+=qa:adapter.appendChild(Ra,adapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.children[Ra.children.indexOf(nd)-1];od&&isText(od)?od.data+=qa:adapter.insertBefore(Ra,adapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){for(let nd=0;nd=CharCodes.LowerA&&Ra<=CharCodes.LowerZ||Ra>=CharCodes.UpperA&&Ra<=CharCodes.UpperZ}var QuoteType;(function(Ra){Ra[Ra.NoValue=0]="NoValue",Ra[Ra.Unquoted=1]="Unquoted",Ra[Ra.Single=2]="Single",Ra[Ra.Double=3]="Double"})(QuoteType||(QuoteType={}));const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor({xmlMode:qa=!1,decodeEntities:nd=!0},od){this.cbs=od,this.state=State$4.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State$4.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=qa,this.decodeEntities=nd,this.entityDecoder=new EntityDecoder(qa?xmlDecodeTree:htmlDecodeTree,(ld,ud)=>this.emitCodePoint(ld,ud))}reset(){this.state=State$4.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State$4.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(qa){this.offset+=this.buffer.length,this.buffer=qa,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State$4.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateSpecialStartSequence(qa){const nd=this.sequenceIndex===this.currentSequence.length;if(!(nd?isEndOfTagSection(qa):(qa|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!nd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=State$4.InTagName,this.stateInTagName(qa)}stateInSpecialTag(qa){if(this.sequenceIndex===this.currentSequence.length){if(qa===CharCodes.Gt||isWhitespace$2(qa)){const nd=this.index-this.currentSequence.length;if(this.sectionStart=0?(this.state=this.baseState,qa===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State$4.Text||this.state===State$4.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State$4.InAttributeValueDq||this.state===State$4.InAttributeValueSq||this.state===State$4.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=qa||(this.state===State$4.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,qa,0):this.cbs.oncomment(this.sectionStart,qa,0):this.state===State$4.InTagName||this.state===State$4.BeforeAttributeName||this.state===State$4.BeforeAttributeValue||this.state===State$4.AfterAttributeName||this.state===State$4.InAttributeName||this.state===State$4.InAttributeValueSq||this.state===State$4.InAttributeValueDq||this.state===State$4.InAttributeValueNq||this.state===State$4.InClosingTagName||this.cbs.ontext(this.sectionStart,qa))}emitCodePoint(qa,nd){this.baseState!==State$4.Text&&this.baseState!==State$4.InSpecialTag?(this.sectionStart0&&dd.has(this.stack[0]);){const pd=this.stack.shift();(od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,pd,!0)}this.isVoidElement(qa)||(this.stack.unshift(qa),this.htmlMode&&(foreignContextElements.has(qa)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(qa)&&this.foreignContext.unshift(!1))),(ud=(ld=this.cbs).onopentagname)===null||ud===void 0||ud.call(ld,qa),this.cbs.onopentag&&(this.attribs={})}endOpenTag(qa){var nd,od;this.startIndex=this.openTagStart,this.attribs&&((od=(nd=this.cbs).onopentag)===null||od===void 0||od.call(nd,this.tagname,this.attribs,qa),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(qa){this.endIndex=qa,this.endOpenTag(!1),this.startIndex=qa+1}onclosetag(qa,nd){var od,ld,ud,dd,pd,fd,md,vd;this.endIndex=nd;let Ad=this.getSlice(qa,nd);if(this.lowerCaseTagNames&&(Ad=Ad.toLowerCase()),this.htmlMode&&(foreignContextElements.has(Ad)||htmlIntegrationElements.has(Ad))&&this.foreignContext.shift(),this.isVoidElement(Ad))this.htmlMode&&Ad==="br"&&((dd=(ud=this.cbs).onopentagname)===null||dd===void 0||dd.call(ud,"br"),(fd=(pd=this.cbs).onopentag)===null||fd===void 0||fd.call(pd,"br",{},!0),(vd=(md=this.cbs).onclosetag)===null||vd===void 0||vd.call(md,"br",!1));else{const Nd=this.stack.indexOf(Ad);if(Nd!==-1)for(let Od=0;Od<=Nd;Od++){const kd=this.stack.shift();(ld=(od=this.cbs).onclosetag)===null||ld===void 0||ld.call(od,kd,Od!==Nd)}else this.htmlMode&&Ad==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=nd+1}onselfclosingtag(qa){this.endIndex=qa,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=qa+1):this.onopentagend(qa)}closeCurrentTag(qa){var nd,od;const ld=this.tagname;this.endOpenTag(qa),this.stack[0]===ld&&((od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,ld,!qa),this.stack.shift())}onattribname(qa,nd){this.startIndex=qa;const od=this.getSlice(qa,nd);this.attribname=this.lowerCaseAttributeNames?od.toLowerCase():od}onattribdata(qa,nd){this.attribvalue+=this.getSlice(qa,nd)}onattribentity(qa){this.attribvalue+=fromCodePoint(qa)}onattribend(qa,nd){var od,ld;this.endIndex=nd,(ld=(od=this.cbs).onattribute)===null||ld===void 0||ld.call(od,this.attribname,this.attribvalue,qa===QuoteType.Double?'"':qa===QuoteType.Single?"'":qa===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(qa){const nd=qa.search(reNameEnd);let od=nd<0?qa:qa.substr(0,nd);return this.lowerCaseTagNames&&(od=od.toLowerCase()),od}ondeclaration(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`!${ld}`,`!${od}`)}this.startIndex=nd+1}onprocessinginstruction(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`?${ld}`,`?${od}`)}this.startIndex=nd+1}oncomment(qa,nd,od){var ld,ud,dd,pd;this.endIndex=nd,(ud=(ld=this.cbs).oncomment)===null||ud===void 0||ud.call(ld,this.getSlice(qa,nd-od)),(pd=(dd=this.cbs).oncommentend)===null||pd===void 0||pd.call(dd),this.startIndex=nd+1}oncdata(qa,nd,od){var ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od;this.endIndex=nd;const kd=this.getSlice(qa,nd-od);!this.htmlMode||this.options.recognizeCDATA?((ud=(ld=this.cbs).oncdatastart)===null||ud===void 0||ud.call(ld),(pd=(dd=this.cbs).ontext)===null||pd===void 0||pd.call(dd,kd),(md=(fd=this.cbs).oncdataend)===null||md===void 0||md.call(fd)):((Ad=(vd=this.cbs).oncomment)===null||Ad===void 0||Ad.call(vd,`[CDATA[${kd}]]`),(Od=(Nd=this.cbs).oncommentend)===null||Od===void 0||Od.call(Nd)),this.startIndex=nd+1}onend(){var qa,nd;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let od=0;od=this.buffers[0].length;)this.shiftBuffer();let od=this.buffers[0].slice(qa-this.bufferOffset,nd-this.bufferOffset);for(;nd-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),od+=this.buffers[0].slice(0,nd-this.bufferOffset);return od}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".write() after done!"));return}this.buffers.push(qa),this.tokenizer.running&&(this.tokenizer.write(qa),this.writeIndex++)}end(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".end() after done!"));return}qa&&this.write(qa),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndexqa._useHtmlParser2?parseDocument(Ra,qa):parseWithParse5(Ra,qa,nd,od)),load$3=getLoad(parse$4,(Ra,qa)=>qa._useHtmlParser2?render$3(Ra,qa):renderWithParse5(Ra)),browser$2=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$3,merge:merge$6},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$2);var utils$4={},lexer={exports:{}},debug={exports:{}};(function(Ra,qa){var nd={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Ra.exports=od;function od(ud){return ld.bind(null,ud)}function ld(ud){var dd=[].slice.call(arguments,1);dd.unshift("["+ud+"]"),nd.stderr.write(dd.join(" ")+` `)}})(debug);var debugExports=debug.exports;(function(Ra,qa){debugExports("lex"),Ra.exports=nd;function nd(od){var ld="",ud,dd=0,pd=-1,fd=0,md=1,vd="before-selector",Ad=[vd],Nd={},Od=[],kd=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function Ld(){return _f(),od[pd]}function Gd(If){return If?Ad[Ad.length-1-If]:vd}function jd(If){var Gf=pd+1;return If===od.slice(Gf,Gf+If.length)}function Fd(If){var Gf=od.slice(pd).indexOf(If);return Gf>0?Gf:!1}function Ud(If){return If===qd(1)}function qd(If){return od[pd+(If||1)]}function zd(){var If=Ad.pop();return vd=Ad[Ad.length-1],If}function Wd(If){return vd=If,Ad.push(vd),Ad.length}function Jd(If){var Gf=vd;return Ad[Ad.length-1]=vd=If,Gf}function _f(If){if((If||1)==1)od[pd]==` `?(md++,dd=1):dd++,pd++;else{var Gf=od.slice(pd,pd+If).split(` `);Gf.length>1&&(md+=Gf.length-1,dd=1),dd+=Gf[Gf.length-1].length,pd=pd+If}}function Xd(){Nd.end={line:md,col:dd},Od.push(Nd),ld="",Nd={}}function pf(If){Nd={type:If,start:{line:md,col:dd}}}for(;ud=Ld();)switch(ud){case" ":switch(Gd()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":ld+=ud;break}break;case` @@ -726,7 +726,7 @@ in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",cate `+Ra.slice(ld,ud),ld=ud+1),dd=pd;return fd+=` `,Ra.length-ld>qa&&dd>ld?fd+=Ra.slice(ld,dd)+` `+Ra.slice(dd+1):fd+=Ra.slice(ld),fd.slice(1)}function escapeString$1(Ra){for(var qa="",nd,od,ld,ud=0;ud=55296&&nd<=56319&&(od=Ra.charCodeAt(ud+1),od>=56320&&od<=57343)){qa+=encodeHex$1((nd-55296)*1024+od-56320+65536),ud++;continue}ld=ESCAPE_SEQUENCES$1[nd],qa+=!ld&&isPrintable$1(nd)?Ra[ud]:ld||encodeHex$1(nd)}return qa}function writeFlowSequence$1(Ra,qa,nd){var od="",ld=Ra.tag,ud,dd;for(ud=0,dd=nd.length;ud1024&&(vd+="? "),vd+=Ra.dump+(Ra.condenseFlow?'"':"")+":"+(Ra.condenseFlow?"":" "),writeNode$1(Ra,qa,md,!1,!1)&&(vd+=Ra.dump,od+=vd));Ra.tag=ld,Ra.dump="{"+od+"}"}function writeBlockMapping$1(Ra,qa,nd,od){var ld="",ud=Ra.tag,dd=Object.keys(nd),pd,fd,md,vd,Ad,Nd;if(Ra.sortKeys===!0)dd.sort();else if(typeof Ra.sortKeys=="function")dd.sort(Ra.sortKeys);else if(Ra.sortKeys)throw new YAMLException("sortKeys must be a boolean or a function");for(pd=0,fd=dd.length;pd1024,Ad&&(Ra.dump&&CHAR_LINE_FEED$1===Ra.dump.charCodeAt(0)?Nd+="?":Nd+="? "),Nd+=Ra.dump,Ad&&(Nd+=generateNextLine$1(Ra,qa)),writeNode$1(Ra,qa+1,vd,!0,Ad)&&(Ra.dump&&CHAR_LINE_FEED$1===Ra.dump.charCodeAt(0)?Nd+=":":Nd+=": ",Nd+=Ra.dump,ld+=Nd));Ra.tag=ud,Ra.dump=ld||"{}"}function detectType$2(Ra,qa,nd){var od,ld,ud,dd,pd,fd;for(ld=nd?Ra.explicitTypes:Ra.implicitTypes,ud=0,dd=ld.length;ud tag resolver accepts not "'+fd+'" style');Ra.dump=od}return!0}return!1}function writeNode$1(Ra,qa,nd,od,ld,ud){Ra.tag=null,Ra.dump=nd,detectType$2(Ra,nd,!1)||detectType$2(Ra,nd,!0);var dd=_toString$3.call(Ra.dump);od&&(od=Ra.flowLevel<0||Ra.flowLevel>qa);var pd=dd==="[object Object]"||dd==="[object Array]",fd,md;if(pd&&(fd=Ra.duplicates.indexOf(nd),md=fd!==-1),(Ra.tag!==null&&Ra.tag!=="?"||md||Ra.indent!==2&&qa>0)&&(ld=!1),md&&Ra.usedDuplicates[fd])Ra.dump="*ref_"+fd;else{if(pd&&md&&!Ra.usedDuplicates[fd]&&(Ra.usedDuplicates[fd]=!0),dd==="[object Object]")od&&Object.keys(Ra.dump).length!==0?(writeBlockMapping$1(Ra,qa,Ra.dump,ld),md&&(Ra.dump="&ref_"+fd+Ra.dump)):(writeFlowMapping$1(Ra,qa,Ra.dump),md&&(Ra.dump="&ref_"+fd+" "+Ra.dump));else if(dd==="[object Array]"){var vd=Ra.noArrayIndent&&qa>0?qa-1:qa;od&&Ra.dump.length!==0?(writeBlockSequence$1(Ra,vd,Ra.dump,ld),md&&(Ra.dump="&ref_"+fd+Ra.dump)):(writeFlowSequence$1(Ra,vd,Ra.dump),md&&(Ra.dump="&ref_"+fd+" "+Ra.dump))}else if(dd==="[object String]")Ra.tag!=="?"&&writeScalar$1(Ra,Ra.dump,qa,ud);else{if(Ra.skipInvalid)return!1;throw new YAMLException("unacceptable kind of an object to dump "+dd)}Ra.tag!==null&&Ra.tag!=="?"&&(Ra.dump="!<"+Ra.tag+"> "+Ra.dump)}return!0}function getDuplicateReferences$1(Ra,qa){var nd=[],od=[],ld,ud;for(inspectNode$1(Ra,nd,od),ld=0,ud=od.length;ld=ld)return nd;nd++,od=qa.indexOf(` `,od+1)}return nd}function parse$2(Ra,qa){var nd=regex$1.exec(Ra);if(!nd)return{attributes:{},body:Ra,bodyBegin:1};var od=qa?parser$1.load:parser$1.safeLoad,ld=nd[nd.length-1].replace(/^\s+|\s+$/g,""),ud=od(ld)||{},dd=Ra.replace(nd[0],""),pd=computeLocation(nd,Ra);return{attributes:ud,body:dd,bodyBegin:pd,frontmatter:ld}}function test$2(Ra){return Ra=Ra||"",regex$1.test(Ra)}var frontMatterExports=frontMatter$1.exports;const frontMatter=getDefaultExportFromCjs(frontMatterExports);function deepFreeze(Ra){return Ra instanceof Map?Ra.clear=Ra.delete=Ra.set=function(){throw new Error("map is read-only")}:Ra instanceof Set&&(Ra.add=Ra.clear=Ra.delete=function(){throw new Error("set is read-only")}),Object.freeze(Ra),Object.getOwnPropertyNames(Ra).forEach(qa=>{const nd=Ra[qa],od=typeof nd;(od==="object"||od==="function")&&!Object.isFrozen(nd)&&deepFreeze(nd)}),Ra}let Response$1=class{constructor(qa){qa.data===void 0&&(qa.data={}),this.data=qa.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function escapeHTML(Ra){return Ra.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit$1(Ra,...qa){const nd=Object.create(null);for(const od in Ra)nd[od]=Ra[od];return qa.forEach(function(od){for(const ld in od)nd[ld]=od[ld]}),nd}const SPAN_CLOSE="",emitsWrappingTags=Ra=>!!Ra.scope,scopeToCSSClass=(Ra,{prefix:qa})=>{if(Ra.startsWith("language:"))return Ra.replace("language:","language-");if(Ra.includes(".")){const nd=Ra.split(".");return[`${qa}${nd.shift()}`,...nd.map((od,ld)=>`${od}${"_".repeat(ld+1)}`)].join(" ")}return`${qa}${Ra}`};class HTMLRenderer{constructor(qa,nd){this.buffer="",this.classPrefix=nd.classPrefix,qa.walk(this)}addText(qa){this.buffer+=escapeHTML(qa)}openNode(qa){if(!emitsWrappingTags(qa))return;const nd=scopeToCSSClass(qa.scope,{prefix:this.classPrefix});this.span(nd)}closeNode(qa){emitsWrappingTags(qa)&&(this.buffer+=SPAN_CLOSE)}value(){return this.buffer}span(qa){this.buffer+=``}}const newNode=(Ra={})=>{const qa={children:[]};return Object.assign(qa,Ra),qa};class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(qa){this.top.children.push(qa)}openNode(qa){const nd=newNode({scope:qa});this.add(nd),this.stack.push(nd)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(qa){return this.constructor._walk(qa,this.rootNode)}static _walk(qa,nd){return typeof nd=="string"?qa.addText(nd):nd.children&&(qa.openNode(nd),nd.children.forEach(od=>this._walk(qa,od)),qa.closeNode(nd)),qa}static _collapse(qa){typeof qa!="string"&&qa.children&&(qa.children.every(nd=>typeof nd=="string")?qa.children=[qa.children.join("")]:qa.children.forEach(nd=>{TokenTree._collapse(nd)}))}}class TokenTreeEmitter extends TokenTree{constructor(qa){super(),this.options=qa}addText(qa){qa!==""&&this.add(qa)}startScope(qa){this.openNode(qa)}endScope(){this.closeNode()}__addSublanguage(qa,nd){const od=qa.root;nd&&(od.scope=`language:${nd}`),this.add(od)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function source(Ra){return Ra?typeof Ra=="string"?Ra:Ra.source:null}function lookahead(Ra){return concat$2("(?=",Ra,")")}function anyNumberOfTimes(Ra){return concat$2("(?:",Ra,")*")}function optional(Ra){return concat$2("(?:",Ra,")?")}function concat$2(...Ra){return Ra.map(nd=>source(nd)).join("")}function stripOptionsFromArgs(Ra){const qa=Ra[Ra.length-1];return typeof qa=="object"&&qa.constructor===Object?(Ra.splice(Ra.length-1,1),qa):{}}function either(...Ra){return"("+(stripOptionsFromArgs(Ra).capture?"":"?:")+Ra.map(od=>source(od)).join("|")+")"}function countMatchGroups(Ra){return new RegExp(Ra.toString()+"|").exec("").length-1}function startsWith$1(Ra,qa){const nd=Ra&&Ra.exec(qa);return nd&&nd.index===0}const BACKREF_RE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(Ra,{joinWith:qa}){let nd=0;return Ra.map(od=>{nd+=1;const ld=nd;let ud=source(od),dd="";for(;ud.length>0;){const pd=BACKREF_RE.exec(ud);if(!pd){dd+=ud;break}dd+=ud.substring(0,pd.index),ud=ud.substring(pd.index+pd[0].length),pd[0][0]==="\\"&&pd[1]?dd+="\\"+String(Number(pd[1])+ld):(dd+=pd[0],pd[0]==="("&&nd++)}return dd}).map(od=>`(${od})`).join(qa)}const MATCH_NOTHING_RE=/\b\B/,IDENT_RE="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG=(Ra={})=>{const qa=/^#![ ]*\//;return Ra.binary&&(Ra.begin=concat$2(qa,/.*\b/,Ra.binary,/\b.*/)),inherit$1({scope:"meta",begin:qa,end:/$/,relevance:0,"on:begin":(nd,od)=>{nd.index!==0&&od.ignoreMatch()}},Ra)},BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={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/},COMMENT$1=function(Ra,qa,nd={}){const od=inherit$1({scope:"comment",begin:Ra,end:qa,contains:[]},nd);od.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ld=either("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return od.contains.push({begin:concat$2(/[ ]+/,"(",ld,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),od},C_LINE_COMMENT_MODE=COMMENT$1("//","$"),C_BLOCK_COMMENT_MODE=COMMENT$1("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT$1("#","$"),NUMBER_MODE={scope:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={scope:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={scope:"number",begin:BINARY_NUMBER_RE,relevance:0},REGEXP_MODE={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]},TITLE_MODE={scope:"title",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={scope:"title",begin:UNDERSCORE_IDENT_RE,relevance:0},METHOD_GUARD={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE,relevance:0},END_SAME_AS_BEGIN=function(Ra){return Object.assign(Ra,{"on:begin":(qa,nd)=>{nd.data._beginMatch=qa[1]},"on:end":(qa,nd)=>{nd.data._beginMatch!==qa[1]&&nd.ignoreMatch()}})};var MODES=Object.freeze({__proto__:null,APOS_STRING_MODE,BACKSLASH_ESCAPE,BINARY_NUMBER_MODE,BINARY_NUMBER_RE,COMMENT:COMMENT$1,C_BLOCK_COMMENT_MODE,C_LINE_COMMENT_MODE,C_NUMBER_MODE,C_NUMBER_RE,END_SAME_AS_BEGIN,HASH_COMMENT_MODE,IDENT_RE,MATCH_NOTHING_RE,METHOD_GUARD,NUMBER_MODE,NUMBER_RE,PHRASAL_WORDS_MODE,QUOTE_STRING_MODE,REGEXP_MODE,RE_STARTERS_RE,SHEBANG,TITLE_MODE,UNDERSCORE_IDENT_RE,UNDERSCORE_TITLE_MODE});function skipIfHasPrecedingDot(Ra,qa){Ra.input[Ra.index-1]==="."&&qa.ignoreMatch()}function scopeClassName(Ra,qa){Ra.className!==void 0&&(Ra.scope=Ra.className,delete Ra.className)}function beginKeywords(Ra,qa){qa&&Ra.beginKeywords&&(Ra.begin="\\b("+Ra.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Ra.__beforeBegin=skipIfHasPrecedingDot,Ra.keywords=Ra.keywords||Ra.beginKeywords,delete Ra.beginKeywords,Ra.relevance===void 0&&(Ra.relevance=0))}function compileIllegal(Ra,qa){Array.isArray(Ra.illegal)&&(Ra.illegal=either(...Ra.illegal))}function compileMatch(Ra,qa){if(Ra.match){if(Ra.begin||Ra.end)throw new Error("begin & end are not supported with match");Ra.begin=Ra.match,delete Ra.match}}function compileRelevance(Ra,qa){Ra.relevance===void 0&&(Ra.relevance=1)}const beforeMatchExt=(Ra,qa)=>{if(!Ra.beforeMatch)return;if(Ra.starts)throw new Error("beforeMatch cannot be used with starts");const nd=Object.assign({},Ra);Object.keys(Ra).forEach(od=>{delete Ra[od]}),Ra.keywords=nd.keywords,Ra.begin=concat$2(nd.beforeMatch,lookahead(nd.begin)),Ra.starts={relevance:0,contains:[Object.assign(nd,{endsParent:!0})]},Ra.relevance=0,delete nd.beforeMatch},COMMON_KEYWORDS=["of","and","for","in","not","or","if","then","parent","list","value"],DEFAULT_KEYWORD_SCOPE="keyword";function compileKeywords(Ra,qa,nd=DEFAULT_KEYWORD_SCOPE){const od=Object.create(null);return typeof Ra=="string"?ld(nd,Ra.split(" ")):Array.isArray(Ra)?ld(nd,Ra):Object.keys(Ra).forEach(function(ud){Object.assign(od,compileKeywords(Ra[ud],qa,ud))}),od;function ld(ud,dd){qa&&(dd=dd.map(pd=>pd.toLowerCase())),dd.forEach(function(pd){const fd=pd.split("|");od[fd[0]]=[ud,scoreForKeyword(fd[0],fd[1])]})}}function scoreForKeyword(Ra,qa){return qa?Number(qa):commonKeyword(Ra)?0:1}function commonKeyword(Ra){return COMMON_KEYWORDS.includes(Ra.toLowerCase())}const seenDeprecations={},error=Ra=>{console.error(Ra)},warn=(Ra,...qa)=>{console.log(`WARN: ${Ra}`,...qa)},deprecated=(Ra,qa)=>{seenDeprecations[`${Ra}/${qa}`]||(console.log(`Deprecated as of ${Ra}. ${qa}`),seenDeprecations[`${Ra}/${qa}`]=!0)},MultiClassError=new Error;function remapScopeNames(Ra,qa,{key:nd}){let od=0;const ld=Ra[nd],ud={},dd={};for(let pd=1;pd<=qa.length;pd++)dd[pd+od]=ld[pd],ud[pd+od]=!0,od+=countMatchGroups(qa[pd-1]);Ra[nd]=dd,Ra[nd]._emit=ud,Ra[nd]._multi=!0}function beginMultiClass(Ra){if(Array.isArray(Ra.begin)){if(Ra.skip||Ra.excludeBegin||Ra.returnBegin)throw error("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),MultiClassError;if(typeof Ra.beginScope!="object"||Ra.beginScope===null)throw error("beginScope must be object"),MultiClassError;remapScopeNames(Ra,Ra.begin,{key:"beginScope"}),Ra.begin=_rewriteBackreferences(Ra.begin,{joinWith:""})}}function endMultiClass(Ra){if(Array.isArray(Ra.end)){if(Ra.skip||Ra.excludeEnd||Ra.returnEnd)throw error("skip, excludeEnd, returnEnd not compatible with endScope: {}"),MultiClassError;if(typeof Ra.endScope!="object"||Ra.endScope===null)throw error("endScope must be object"),MultiClassError;remapScopeNames(Ra,Ra.end,{key:"endScope"}),Ra.end=_rewriteBackreferences(Ra.end,{joinWith:""})}}function scopeSugar(Ra){Ra.scope&&typeof Ra.scope=="object"&&Ra.scope!==null&&(Ra.beginScope=Ra.scope,delete Ra.scope)}function MultiClass(Ra){scopeSugar(Ra),typeof Ra.beginScope=="string"&&(Ra.beginScope={_wrap:Ra.beginScope}),typeof Ra.endScope=="string"&&(Ra.endScope={_wrap:Ra.endScope}),beginMultiClass(Ra),endMultiClass(Ra)}function compileLanguage(Ra){function qa(dd,pd){return new RegExp(source(dd),"m"+(Ra.case_insensitive?"i":"")+(Ra.unicodeRegex?"u":"")+(pd?"g":""))}class nd{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(pd,fd){fd.position=this.position++,this.matchIndexes[this.matchAt]=fd,this.regexes.push([fd,pd]),this.matchAt+=countMatchGroups(pd)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const pd=this.regexes.map(fd=>fd[1]);this.matcherRe=qa(_rewriteBackreferences(pd,{joinWith:"|"}),!0),this.lastIndex=0}exec(pd){this.matcherRe.lastIndex=this.lastIndex;const fd=this.matcherRe.exec(pd);if(!fd)return null;const md=fd.findIndex((Ad,Nd)=>Nd>0&&Ad!==void 0),vd=this.matchIndexes[md];return fd.splice(0,md),Object.assign(fd,vd)}}class od{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(pd){if(this.multiRegexes[pd])return this.multiRegexes[pd];const fd=new nd;return this.rules.slice(pd).forEach(([md,vd])=>fd.addRule(md,vd)),fd.compile(),this.multiRegexes[pd]=fd,fd}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(pd,fd){this.rules.push([pd,fd]),fd.type==="begin"&&this.count++}exec(pd){const fd=this.getMatcher(this.regexIndex);fd.lastIndex=this.lastIndex;let md=fd.exec(pd);if(this.resumingScanAtSamePosition()&&!(md&&md.index===this.lastIndex)){const vd=this.getMatcher(0);vd.lastIndex=this.lastIndex+1,md=vd.exec(pd)}return md&&(this.regexIndex+=md.position+1,this.regexIndex===this.count&&this.considerAll()),md}}function ld(dd){const pd=new od;return dd.contains.forEach(fd=>pd.addRule(fd.begin,{rule:fd,type:"begin"})),dd.terminatorEnd&&pd.addRule(dd.terminatorEnd,{type:"end"}),dd.illegal&&pd.addRule(dd.illegal,{type:"illegal"}),pd}function ud(dd,pd){const fd=dd;if(dd.isCompiled)return fd;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(vd=>vd(dd,pd)),Ra.compilerExtensions.forEach(vd=>vd(dd,pd)),dd.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(vd=>vd(dd,pd)),dd.isCompiled=!0;let md=null;return typeof dd.keywords=="object"&&dd.keywords.$pattern&&(dd.keywords=Object.assign({},dd.keywords),md=dd.keywords.$pattern,delete dd.keywords.$pattern),md=md||/\w+/,dd.keywords&&(dd.keywords=compileKeywords(dd.keywords,Ra.case_insensitive)),fd.keywordPatternRe=qa(md,!0),pd&&(dd.begin||(dd.begin=/\B|\b/),fd.beginRe=qa(fd.begin),!dd.end&&!dd.endsWithParent&&(dd.end=/\B|\b/),dd.end&&(fd.endRe=qa(fd.end)),fd.terminatorEnd=source(fd.end)||"",dd.endsWithParent&&pd.terminatorEnd&&(fd.terminatorEnd+=(dd.end?"|":"")+pd.terminatorEnd)),dd.illegal&&(fd.illegalRe=qa(dd.illegal)),dd.contains||(dd.contains=[]),dd.contains=[].concat(...dd.contains.map(function(vd){return expandOrCloneMode(vd==="self"?dd:vd)})),dd.contains.forEach(function(vd){ud(vd,fd)}),dd.starts&&ud(dd.starts,pd),fd.matcher=ld(fd),fd}if(Ra.compilerExtensions||(Ra.compilerExtensions=[]),Ra.contains&&Ra.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Ra.classNameAliases=inherit$1(Ra.classNameAliases||{}),ud(Ra)}function dependencyOnParent(Ra){return Ra?Ra.endsWithParent||dependencyOnParent(Ra.starts):!1}function expandOrCloneMode(Ra){return Ra.variants&&!Ra.cachedVariants&&(Ra.cachedVariants=Ra.variants.map(function(qa){return inherit$1(Ra,{variants:null},qa)})),Ra.cachedVariants?Ra.cachedVariants:dependencyOnParent(Ra)?inherit$1(Ra,{starts:Ra.starts?inherit$1(Ra.starts):null}):Object.isFrozen(Ra)?inherit$1(Ra):Ra}var version$3="11.10.0";class HTMLInjectionError extends Error{constructor(qa,nd){super(qa),this.name="HTMLInjectionError",this.html=nd}}const escape$4=escapeHTML,inherit$2=inherit$1,NO_MATCH=Symbol("nomatch"),MAX_KEYWORD_HITS=7,HLJS=function(Ra){const qa=Object.create(null),nd=Object.create(null),od=[];let ld=!0;const ud="Could not find the language '{}', did you forget to load/include a language module?",dd={disableAutodetect:!0,name:"Plain text",contains:[]};let pd={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function fd(If){return pd.noHighlightRe.test(If)}function md(If){let Gf=If.className+" ";Gf+=If.parentNode?If.parentNode.className:"";const Qf=pd.languageDetectRe.exec(Gf);if(Qf){const Xf=Xd(Qf[1]);return Xf||(warn(ud.replace("{}",Qf[1])),warn("Falling back to no-highlight mode for this block.",If)),Xf?Qf[1]:"no-highlight"}return Gf.split(/\s+/).find(Xf=>fd(Xf)||Xd(Xf))}function vd(If,Gf,Qf){let Xf="",ph="";typeof Gf=="object"?(Xf=If,Qf=Gf.ignoreIllegals,ph=Gf.language):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),ph=If,Xf=Gf),Qf===void 0&&(Qf=!0);const qf={code:Xf,language:ph};Ef("before:highlight",qf);const Lf=qf.result?qf.result:Ad(qf.language,qf.code,Qf);return Lf.code=qf.code,Ef("after:highlight",Lf),Lf}function Ad(If,Gf,Qf,Xf){const ph=Object.create(null);function qf(gm,Lm){return gm.keywords[Lm]}function Lf(){if(!Zf.keywords){Mh.addText(_h);return}let gm=0;Zf.keywordPatternRe.lastIndex=0;let Lm=Zf.keywordPatternRe.exec(_h),Vm="";for(;Lm;){Vm+=_h.substring(gm,Lm.index);const Th=uh.case_insensitive?Lm[0].toLowerCase():Lm[0],Rf=qf(Zf,Th);if(Rf){const[wf,sh]=Rf;if(Mh.addText(Vm),Vm="",ph[Th]=(ph[Th]||0)+1,ph[Th]<=MAX_KEYWORD_HITS&&(pm+=sh),wf.startsWith("_"))Vm+=Lm[0];else{const xh=uh.classNameAliases[wf]||wf;Kf(Lm[0],xh)}}else Vm+=Lm[0];gm=Zf.keywordPatternRe.lastIndex,Lm=Zf.keywordPatternRe.exec(_h)}Vm+=_h.substring(gm),Mh.addText(Vm)}function Wf(){if(_h==="")return;let gm=null;if(typeof Zf.subLanguage=="string"){if(!qa[Zf.subLanguage]){Mh.addText(_h);return}gm=Ad(Zf.subLanguage,_h,!0,mh[Zf.subLanguage]),mh[Zf.subLanguage]=gm._top}else gm=Od(_h,Zf.subLanguage.length?Zf.subLanguage:null);Zf.relevance>0&&(pm+=gm.relevance),Mh.__addSublanguage(gm._emitter,gm.language)}function Jf(){Zf.subLanguage!=null?Wf():Lf(),_h=""}function Kf(gm,Lm){gm!==""&&(Mh.startScope(Lm),Mh.addText(gm),Mh.endScope())}function Cf(gm,Lm){let Vm=1;const Th=Lm.length-1;for(;Vm<=Th;){if(!gm._emit[Vm]){Vm++;continue}const Rf=uh.classNameAliases[gm[Vm]]||gm[Vm],wf=Lm[Vm];Rf?Kf(wf,Rf):(_h=wf,Lf(),_h=""),Vm++}}function xf(gm,Lm){return gm.scope&&typeof gm.scope=="string"&&Mh.openNode(uh.classNameAliases[gm.scope]||gm.scope),gm.beginScope&&(gm.beginScope._wrap?(Kf(_h,uh.classNameAliases[gm.beginScope._wrap]||gm.beginScope._wrap),_h=""):gm.beginScope._multi&&(Cf(gm.beginScope,Lm),_h="")),Zf=Object.create(gm,{parent:{value:Zf}}),Zf}function Yf(gm,Lm,Vm){let Th=startsWith$1(gm.endRe,Vm);if(Th){if(gm["on:end"]){const Rf=new Response$1(gm);gm["on:end"](Lm,Rf),Rf.isMatchIgnored&&(Th=!1)}if(Th){for(;gm.endsParent&&gm.parent;)gm=gm.parent;return gm}}if(gm.endsWithParent)return Yf(gm.parent,Lm,Vm)}function dh(gm){return Zf.matcher.regexIndex===0?(_h+=gm[0],1):(Im=!0,0)}function Rh(gm){const Lm=gm[0],Vm=gm.rule,Th=new Response$1(Vm),Rf=[Vm.__beforeBegin,Vm["on:begin"]];for(const wf of Rf)if(wf&&(wf(gm,Th),Th.isMatchIgnored))return dh(Lm);return Vm.skip?_h+=Lm:(Vm.excludeBegin&&(_h+=Lm),Jf(),!Vm.returnBegin&&!Vm.excludeBegin&&(_h=Lm)),xf(Vm,gm),Vm.returnBegin?0:Lm.length}function th(gm){const Lm=gm[0],Vm=Gf.substring(gm.index),Th=Yf(Zf,gm,Vm);if(!Th)return NO_MATCH;const Rf=Zf;Zf.endScope&&Zf.endScope._wrap?(Jf(),Kf(Lm,Zf.endScope._wrap)):Zf.endScope&&Zf.endScope._multi?(Jf(),Cf(Zf.endScope,gm)):Rf.skip?_h+=Lm:(Rf.returnEnd||Rf.excludeEnd||(_h+=Lm),Jf(),Rf.excludeEnd&&(_h=Lm));do Zf.scope&&Mh.closeNode(),!Zf.skip&&!Zf.subLanguage&&(pm+=Zf.relevance),Zf=Zf.parent;while(Zf!==Th.parent);return Th.starts&&xf(Th.starts,gm),Rf.returnEnd?0:Lm.length}function Bf(){const gm=[];for(let Lm=Zf;Lm!==uh;Lm=Lm.parent)Lm.scope&&gm.unshift(Lm.scope);gm.forEach(Lm=>Mh.openNode(Lm))}let Sh={};function Fh(gm,Lm){const Vm=Lm&&Lm[0];if(_h+=gm,Vm==null)return Jf(),0;if(Sh.type==="begin"&&Lm.type==="end"&&Sh.index===Lm.index&&Vm===""){if(_h+=Gf.slice(Lm.index,Lm.index+1),!ld){const Th=new Error(`0 width match regex (${If})`);throw Th.languageName=If,Th.badRule=Sh.rule,Th}return 1}if(Sh=Lm,Lm.type==="begin")return Rh(Lm);if(Lm.type==="illegal"&&!Qf){const Th=new Error('Illegal lexeme "'+Vm+'" for mode "'+(Zf.scope||"")+'"');throw Th.mode=Zf,Th}else if(Lm.type==="end"){const Th=th(Lm);if(Th!==NO_MATCH)return Th}if(Lm.type==="illegal"&&Vm==="")return 1;if(Mm>1e5&&Mm>Lm.index*3)throw new Error("potential infinite loop, way more iterations than matches");return _h+=Vm,Vm.length}const uh=Xd(If);if(!uh)throw error(ud.replace("{}",If)),new Error('Unknown language: "'+If+'"');const Pf=compileLanguage(uh);let Uf="",Zf=Xf||Pf;const mh={},Mh=new pd.__emitter(pd);Bf();let _h="",pm=0,Jh=0,Mm=0,Im=!1;try{if(uh.__emitTokens)uh.__emitTokens(Gf,Mh);else{for(Zf.matcher.considerAll();;){Mm++,Im?Im=!1:Zf.matcher.considerAll(),Zf.matcher.lastIndex=Jh;const gm=Zf.matcher.exec(Gf);if(!gm)break;const Lm=Gf.substring(Jh,gm.index),Vm=Fh(Lm,gm);Jh=gm.index+Vm}Fh(Gf.substring(Jh))}return Mh.finalize(),Uf=Mh.toHTML(),{language:If,value:Uf,relevance:pm,illegal:!1,_emitter:Mh,_top:Zf}}catch(gm){if(gm.message&&gm.message.includes("Illegal"))return{language:If,value:escape$4(Gf),illegal:!0,relevance:0,_illegalBy:{message:gm.message,index:Jh,context:Gf.slice(Jh-100,Jh+100),mode:gm.mode,resultSoFar:Uf},_emitter:Mh};if(ld)return{language:If,value:escape$4(Gf),illegal:!1,relevance:0,errorRaised:gm,_emitter:Mh,_top:Zf};throw gm}}function Nd(If){const Gf={value:escape$4(If),illegal:!1,relevance:0,_top:dd,_emitter:new pd.__emitter(pd)};return Gf._emitter.addText(If),Gf}function Od(If,Gf){Gf=Gf||pd.languages||Object.keys(qa);const Qf=Nd(If),Xf=Gf.filter(Xd).filter(mf).map(Jf=>Ad(Jf,If,!1));Xf.unshift(Qf);const ph=Xf.sort((Jf,Kf)=>{if(Jf.relevance!==Kf.relevance)return Kf.relevance-Jf.relevance;if(Jf.language&&Kf.language){if(Xd(Jf.language).supersetOf===Kf.language)return 1;if(Xd(Kf.language).supersetOf===Jf.language)return-1}return 0}),[qf,Lf]=ph,Wf=qf;return Wf.secondBest=Lf,Wf}function kd(If,Gf,Qf){const Xf=Gf&&nd[Gf]||Qf;If.classList.add("hljs"),If.classList.add(`language-${Xf}`)}function Ld(If){let Gf=null;const Qf=md(If);if(fd(Qf))return;if(Ef("before:highlightElement",{el:If,language:Qf}),If.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",If);return}if(If.children.length>0&&(pd.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(If)),pd.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",If.innerHTML);Gf=If;const Xf=Gf.textContent,ph=Qf?vd(Xf,{language:Qf,ignoreIllegals:!0}):Od(Xf);If.innerHTML=ph.value,If.dataset.highlighted="yes",kd(If,Qf,ph.language),If.result={language:ph.language,re:ph.relevance,relevance:ph.relevance},ph.secondBest&&(If.secondBest={language:ph.secondBest.language,relevance:ph.secondBest.relevance}),Ef("after:highlightElement",{el:If,result:ph,text:Xf})}function Gd(If){pd=inherit$2(pd,If)}const jd=()=>{qd(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Fd(){qd(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Ud=!1;function qd(){if(document.readyState==="loading"){Ud=!0;return}document.querySelectorAll(pd.cssSelector).forEach(Ld)}function zd(){Ud&&qd()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",zd,!1);function Wd(If,Gf){let Qf=null;try{Qf=Gf(Ra)}catch(Xf){if(error("Language definition for '{}' could not be registered.".replace("{}",If)),ld)error(Xf);else throw Xf;Qf=dd}Qf.name||(Qf.name=If),qa[If]=Qf,Qf.rawDefinition=Gf.bind(null,Ra),Qf.aliases&&pf(Qf.aliases,{languageName:If})}function Jd(If){delete qa[If];for(const Gf of Object.keys(nd))nd[Gf]===If&&delete nd[Gf]}function _f(){return Object.keys(qa)}function Xd(If){return If=(If||"").toLowerCase(),qa[If]||qa[nd[If]]}function pf(If,{languageName:Gf}){typeof If=="string"&&(If=[If]),If.forEach(Qf=>{nd[Qf.toLowerCase()]=Gf})}function mf(If){const Gf=Xd(If);return Gf&&!Gf.disableAutodetect}function Sf(If){If["before:highlightBlock"]&&!If["before:highlightElement"]&&(If["before:highlightElement"]=Gf=>{If["before:highlightBlock"](Object.assign({block:Gf.el},Gf))}),If["after:highlightBlock"]&&!If["after:highlightElement"]&&(If["after:highlightElement"]=Gf=>{If["after:highlightBlock"](Object.assign({block:Gf.el},Gf))})}function Tf(If){Sf(If),od.push(If)}function Af(If){const Gf=od.indexOf(If);Gf!==-1&&od.splice(Gf,1)}function Ef(If,Gf){const Qf=If;od.forEach(function(Xf){Xf[Qf]&&Xf[Qf](Gf)})}function Nf(If){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),Ld(If)}Object.assign(Ra,{highlight:vd,highlightAuto:Od,highlightAll:qd,highlightElement:Ld,highlightBlock:Nf,configure:Gd,initHighlighting:jd,initHighlightingOnLoad:Fd,registerLanguage:Wd,unregisterLanguage:Jd,listLanguages:_f,getLanguage:Xd,registerAliases:pf,autoDetection:mf,inherit:inherit$2,addPlugin:Tf,removePlugin:Af}),Ra.debugMode=function(){ld=!1},Ra.safeMode=function(){ld=!0},Ra.versionString=version$3,Ra.regex={concat:concat$2,lookahead,either,optional,anyNumberOfTimes};for(const If in MODES)typeof MODES[If]=="object"&&deepFreeze(MODES[If]);return Object.assign(Ra,MODES),Ra},highlight=HLJS({});highlight.newInstance=()=>HLJS({});var core$2=highlight;highlight.HighlightJS=highlight;highlight.default=highlight;var _1c_1,hasRequired_1c;function require_1c(){if(hasRequired_1c)return _1c_1;hasRequired_1c=1;function Ra(qa){const nd="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",ud="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",fd="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",Od="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",Xf="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",Lf="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Wf="null истина ложь неопределено",Jf=qa.inherit(qa.NUMBER_MODE),Kf={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Cf={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},xf={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},Yf=qa.inherit(qa.C_LINE_COMMENT_MODE),dh={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:nd,keyword:ud+fd},contains:[Yf]},Rh={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},th={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:nd,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:nd,keyword:"знач",literal:Wf},contains:[Jf,Kf,Cf]},Yf]},qa.inherit(qa.TITLE_MODE,{begin:nd})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:nd,keyword:ud,built_in:Od,class:Xf,type:Lf,literal:Wf},contains:[dh,th,Yf,Rh,Jf,Kf,Cf,xf]}}return _1c_1=Ra,_1c_1}var abnf_1,hasRequiredAbnf;function requireAbnf(){if(hasRequiredAbnf)return abnf_1;hasRequiredAbnf=1;function Ra(qa){const nd=qa.regex,od=/^[a-zA-Z][a-zA-Z0-9-]*/,ld=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],ud=qa.COMMENT(/;/,/$/),dd={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},pd={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},fd={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},md={scope:"symbol",match:/%[si](?=".*")/},vd={scope:"attribute",match:nd.concat(od,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:ld,contains:[{scope:"operator",match:/=\/?/},vd,ud,dd,pd,fd,md,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE]}}return abnf_1=Ra,abnf_1}var accesslog_1,hasRequiredAccesslog;function requireAccesslog(){if(hasRequiredAccesslog)return accesslog_1;hasRequiredAccesslog=1;function Ra(qa){const nd=qa.regex,od=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:nd.concat(/"/,nd.either(...od)),end:/"/,keywords:od,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return accesslog_1=Ra,accesslog_1}var actionscript_1,hasRequiredActionscript;function requireActionscript(){if(hasRequiredActionscript)return actionscript_1;hasRequiredActionscript=1;function Ra(qa){const nd=qa.regex,od=/[a-zA-Z_$][a-zA-Z0-9_$]*/,ld=nd.concat(od,nd.concat("(\\.",od,")*")),ud=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,dd={className:"rest_arg",begin:/[.]{3}/,end:od,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,ld],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,od],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[qa.inherit(qa.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd]},{begin:nd.concat(/:\s*/,ud)}]},qa.METHOD_GUARD],illegal:/#/}}return actionscript_1=Ra,actionscript_1}var ada_1,hasRequiredAda;function requireAda(){if(hasRequiredAda)return ada_1;hasRequiredAda=1;function Ra(qa){const nd="\\d(_|\\d)*",od="[eE][-+]?"+nd,ld=nd+"(\\."+nd+")?("+od+")?",ud="\\w+",pd="\\b("+(nd+"#"+ud+"(\\."+ud+")?#("+od+")?")+"|"+ld+")",fd="[A-Za-z](_?[A-Za-z0-9.])*",md=`[]\\{\\}%#'"`,vd=qa.COMMENT("--","$"),Ad={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:md,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:fd,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[vd,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:pd,relevance:0},{className:"symbol",begin:"'"+fd},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:md},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[vd,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:md},Ad,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:md}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:md},Ad]}}return ada_1=Ra,ada_1}var angelscript_1,hasRequiredAngelscript;function requireAngelscript(){if(hasRequiredAngelscript)return angelscript_1;hasRequiredAngelscript=1;function Ra(qa){const nd={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},od={className:"symbol",begin:"[a-zA-Z0-9_]+@"},ld={className:"keyword",begin:"<",end:">",contains:[nd,od]};return nd.contains=[ld],od.contains=[ld],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE],relevance:0},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},nd,od,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return angelscript_1=Ra,angelscript_1}var apache_1,hasRequiredApache;function requireApache(){if(hasRequiredApache)return apache_1;hasRequiredApache=1;function Ra(qa){const nd={className:"number",begin:/[$%]\d+/},od={className:"number",begin:/\b\d+/},ld={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},ud={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[qa.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[ld,ud,qa.inherit(qa.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",nd]},ld,od,qa.QUOTE_STRING_MODE]}}],illegal:/\S/}}return apache_1=Ra,apache_1}var applescript_1,hasRequiredApplescript;function requireApplescript(){if(hasRequiredApplescript)return applescript_1;hasRequiredApplescript=1;function Ra(qa){const nd=qa.regex,od=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),ld={className:"params",begin:/\(/,end:/\)/,contains:["self",qa.C_NUMBER_MODE,od]},ud=qa.COMMENT(/--/,/$/),dd=qa.COMMENT(/\(\*/,/\*\)/,{contains:["self",ud]}),pd=[ud,dd,qa.HASH_COMMENT_MODE],fd=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],md=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[od,qa.C_NUMBER_MODE,{className:"built_in",begin:nd.concat(/\b/,nd.either(...md),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:nd.concat(/\b/,nd.either(...fd),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[qa.UNDERSCORE_TITLE_MODE,ld]},...pd],illegal:/\/\/|->|=>|\[\[/}}return applescript_1=Ra,applescript_1}var arcade_1,hasRequiredArcade;function requireArcade(){if(hasRequiredArcade)return arcade_1;hasRequiredArcade=1;function Ra(qa){const nd=qa.regex,od="[A-Za-z_][0-9A-Za-z_]*",ld={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},ud=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","value","view"],dd={className:"symbol",begin:"\\$"+nd.either(...ud)},pd={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:qa.C_NUMBER_RE}],relevance:0},fd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ld,contains:[]},md={className:"string",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE,fd]};fd.contains=[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,pd,qa.REGEXP_MODE];const vd=fd.contains.concat([qa.C_BLOCK_COMMENT_MODE,qa.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:ld,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd,pd,{begin:/[{,]\s*/,relevance:0,contains:[{begin:od+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:od,relevance:0}]}]},{begin:"("+qa.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+od+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:od},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ld,contains:vd}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[qa.inherit(qa.TITLE_MODE,{className:"title.function",begin:od}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:vd}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return arcade_1=Ra,arcade_1}var arduino_1,hasRequiredArduino;function requireArduino(){if(hasRequiredArduino)return arduino_1;hasRequiredArduino=1;function Ra(nd){const od=nd.regex,ld=nd.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ud="decltype\\(auto\\)",dd="[a-zA-Z_]\\w*::",fd="(?!struct)("+ud+"|"+od.optional(dd)+"[a-zA-Z_]\\w*"+od.optional("<[^<>]+>")+")",md={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},Ad={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[nd.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},nd.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Nd={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},Od={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},nd.inherit(Ad,{className:"string"}),{className:"string",begin:/<.*?>/},ld,nd.C_BLOCK_COMMENT_MODE]},kd={className:"title",begin:od.optional(dd)+nd.IDENT_RE,relevance:0},Ld=od.optional(dd)+nd.IDENT_RE+"\\s*\\(",Gd=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],jd=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],Fd=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],Ud=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],Wd={type:jd,keyword:Gd,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:Fd},Jd={className:"function.dispatch",relevance:0,keywords:{_hint:Ud},begin:od.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,nd.IDENT_RE,od.lookahead(/(<[^<>]+>|)\s*\(/))},_f=[Jd,Od,md,ld,nd.C_BLOCK_COMMENT_MODE,Nd,Ad],Xd={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Wd,contains:_f.concat([{begin:/\(/,end:/\)/,keywords:Wd,contains:_f.concat(["self"]),relevance:0}]),relevance:0},pf={className:"function",begin:"("+fd+"[\\*&\\s]+)+"+Ld,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Wd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ud,keywords:Wd,relevance:0},{begin:Ld,returnBegin:!0,contains:[kd],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[Ad,Nd]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Wd,relevance:0,contains:[ld,nd.C_BLOCK_COMMENT_MODE,Ad,Nd,md,{begin:/\(/,end:/\)/,keywords:Wd,relevance:0,contains:["self",ld,nd.C_BLOCK_COMMENT_MODE,Ad,Nd,md]}]},md,ld,nd.C_BLOCK_COMMENT_MODE,Od]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Wd,illegal:"",keywords:Wd,contains:["self",md]},{begin:nd.IDENT_RE+"::",keywords:Wd},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function qa(nd){const od={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},ld=Ra(nd),ud=ld.keywords;return ud.type=[...ud.type,...od.type],ud.literal=[...ud.literal,...od.literal],ud.built_in=[...ud.built_in,...od.built_in],ud._hints=od._hints,ld.name="Arduino",ld.aliases=["ino"],ld.supersetOf="cpp",ld}return arduino_1=qa,arduino_1}var armasm_1,hasRequiredArmasm;function requireArmasm(){if(hasRequiredArmasm)return armasm_1;hasRequiredArmasm=1;function Ra(qa){const nd={variants:[qa.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),qa.COMMENT("[;@]","$",{relevance:0}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+qa.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},nd,qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return armasm_1=Ra,armasm_1}var xml_1,hasRequiredXml$1;function requireXml$1(){if(hasRequiredXml$1)return xml_1;hasRequiredXml$1=1;function Ra(qa){const nd=qa.regex,od=nd.concat(/[\p{L}_]/u,nd.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),ld=/[\p{L}0-9._:-]+/u,ud={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},dd={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},pd=qa.inherit(dd,{begin:/\(/,end:/\)/}),fd=qa.inherit(qa.APOS_STRING_MODE,{className:"string"}),md=qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),vd={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[dd,md,fd,pd,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[dd,pd,md,fd]}]}]},qa.COMMENT(//,{relevance:10}),{begin://,relevance:10},ud,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[md]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[vd],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[vd],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:nd.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:od,relevance:0,starts:vd}]},{className:"tag",begin:nd.concat(/<\//,nd.lookahead(nd.concat(od,/>/))),contains:[{className:"name",begin:od,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return xml_1=Ra,xml_1}var asciidoc_1,hasRequiredAsciidoc;function requireAsciidoc(){if(hasRequiredAsciidoc)return asciidoc_1;hasRequiredAsciidoc=1;function Ra(qa){const nd=qa.regex,od={begin:"^'{3,}[ \\t]*$",relevance:10},ld=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],ud=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:nd.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],dd=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:nd.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],pd={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},fd={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[qa.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),qa.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},fd,pd,...ld,...ud,...dd,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},od,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return asciidoc_1=Ra,asciidoc_1}var aspectj_1,hasRequiredAspectj;function requireAspectj(){if(hasRequiredAspectj)return aspectj_1;hasRequiredAspectj=1;function Ra(qa){const nd=qa.regex,od=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],ld=["get","set","args","call"];return{name:"AspectJ",keywords:od,illegal:/<\/|#/,contains:[qa.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},qa.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:od.concat(ld),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},qa.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[qa.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:od,illegal:/["\[\]]/,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:od.concat(ld),relevance:0},qa.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:od,excludeEnd:!0,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[qa.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:od,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},qa.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return aspectj_1=Ra,aspectj_1}var autohotkey_1,hasRequiredAutohotkey;function requireAutohotkey(){if(hasRequiredAutohotkey)return autohotkey_1;hasRequiredAutohotkey=1;function Ra(qa){const nd={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[nd,qa.inherit(qa.QUOTE_STRING_MODE,{contains:[nd]}),qa.COMMENT(";","$",{relevance:0}),qa.C_BLOCK_COMMENT_MODE,{className:"number",begin:qa.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return autohotkey_1=Ra,autohotkey_1}var autoit_1,hasRequiredAutoit;function requireAutoit(){if(hasRequiredAutoit)return autoit_1;hasRequiredAutoit=1;function Ra(qa){const nd="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",od=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],ld="True False And Null Not Or Default",ud="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",dd={variants:[qa.COMMENT(";","$",{relevance:0}),qa.COMMENT("#cs","#ce"),qa.COMMENT("#comments-start","#comments-end")]},pd={begin:"\\$[A-z0-9_]+"},fd={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},md={variants:[qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE]},vd={className:"meta",begin:"#",end:"$",keywords:{keyword:od},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[fd,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},fd,dd]},Ad={className:"symbol",begin:"@[A-z0-9_]+"},Nd={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[qa.inherit(qa.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[pd,fd,md]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:nd,built_in:ud,literal:ld},contains:[dd,pd,fd,md,vd,Ad,Nd]}}return autoit_1=Ra,autoit_1}var avrasm_1,hasRequiredAvrasm;function requireAvrasm(){if(hasRequiredAvrasm)return avrasm_1;hasRequiredAvrasm=1;function Ra(qa){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+qa.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(";","$",{relevance:0}),qa.C_NUMBER_MODE,qa.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return avrasm_1=Ra,avrasm_1}var awk_1,hasRequiredAwk;function requireAwk(){if(hasRequiredAwk)return awk_1;hasRequiredAwk=1;function Ra(qa){const nd={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},od="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",ld={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:od},contains:[nd,ld,qa.REGEXP_MODE,qa.HASH_COMMENT_MODE,qa.NUMBER_MODE]}}return awk_1=Ra,awk_1}var axapta_1,hasRequiredAxapta;function requireAxapta(){if(hasRequiredAxapta)return axapta_1;hasRequiredAxapta=1;function Ra(qa){const nd=qa.UNDERSCORE_IDENT_RE,dd={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},pd={variants:[{match:[/(class|interface)\s+/,nd,/\s+(extends|implements)\s+/,nd]},{match:[/class\s+/,nd]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:dd};return{name:"X++",aliases:["x++"],keywords:dd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},pd]}}return axapta_1=Ra,axapta_1}var bash_1,hasRequiredBash;function requireBash(){if(hasRequiredBash)return bash_1;hasRequiredBash=1;function Ra(qa){const nd=qa.regex,od={},ld={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[od]}]};Object.assign(od,{className:"variable",variants:[{begin:nd.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},ld]});const ud={className:"subst",begin:/\$\(/,end:/\)/,contains:[qa.BACKSLASH_ESCAPE]},dd=qa.inherit(qa.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),pd={begin:/<<-?\s*(?=\w+)/,starts:{contains:[qa.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},fd={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,od,ud]};ud.contains.push(fd);const md={match:/\\"/},vd={className:"string",begin:/'/,end:/'/},Ad={match:/\\'/},Nd={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},qa.NUMBER_MODE,od]},Od=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],kd=qa.SHEBANG({binary:`(${Od.join("|")})`,relevance:10}),Ld={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[qa.inherit(qa.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},Gd=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],jd=["true","false"],Fd={match:/(\/[a-z._-]+)+/},Ud=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],qd=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],zd=["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"],Wd=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:Gd,literal:jd,built_in:[...Ud,...qd,"set","shopt",...zd,...Wd]},contains:[kd,qa.SHEBANG(),Ld,Nd,dd,pd,Fd,fd,md,vd,Ad,od]}}return bash_1=Ra,bash_1}var basic_1,hasRequiredBasic;function requireBasic(){if(hasRequiredBasic)return basic_1;hasRequiredBasic=1;function Ra(qa){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[qa.QUOTE_STRING_MODE,qa.COMMENT("REM","$",{relevance:10}),qa.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return basic_1=Ra,basic_1}var bnf_1,hasRequiredBnf;function requireBnf(){if(hasRequiredBnf)return bnf_1;hasRequiredBnf=1;function Ra(qa){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]}]}}return bnf_1=Ra,bnf_1}var brainfuck_1,hasRequiredBrainfuck;function requireBrainfuck(){if(hasRequiredBrainfuck)return brainfuck_1;hasRequiredBrainfuck=1;function Ra(qa){const nd={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[qa.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[nd]},nd]}}return brainfuck_1=Ra,brainfuck_1}var c_1,hasRequiredC;function requireC(){if(hasRequiredC)return c_1;hasRequiredC=1;function Ra(qa){const nd=qa.regex,od=qa.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ld="decltype\\(auto\\)",ud="[a-zA-Z_]\\w*::",pd="("+ld+"|"+nd.optional(ud)+"[a-zA-Z_]\\w*"+nd.optional("<[^<>]+>")+")",fd={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},vd={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},qa.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Ad={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},Nd={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},qa.inherit(vd,{className:"string"}),{className:"string",begin:/<.*?>/},od,qa.C_BLOCK_COMMENT_MODE]},Od={className:"title",begin:nd.optional(ud)+qa.IDENT_RE,relevance:0},kd=nd.optional(ud)+qa.IDENT_RE+"\\s*\\(",jd={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},Fd=[Nd,fd,od,qa.C_BLOCK_COMMENT_MODE,Ad,vd],Ud={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:jd,contains:Fd.concat([{begin:/\(/,end:/\)/,keywords:jd,contains:Fd.concat(["self"]),relevance:0}]),relevance:0},qd={begin:"("+pd+"[\\*&\\s]+)+"+kd,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:jd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ld,keywords:jd,relevance:0},{begin:kd,returnBegin:!0,contains:[qa.inherit(Od,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:jd,relevance:0,contains:[od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd,{begin:/\(/,end:/\)/,keywords:jd,relevance:0,contains:["self",od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd]}]},fd,od,qa.C_BLOCK_COMMENT_MODE,Nd]};return{name:"C",aliases:["h"],keywords:jd,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},qa.TITLE_MODE]}]),exports:{preprocessor:Nd,strings:vd,keywords:jd}}}return c_1=Ra,c_1}var cal_1,hasRequiredCal;function requireCal(){if(hasRequiredCal)return cal_1;hasRequiredCal=1;function Ra(qa){const nd=qa.regex,od=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],ld="false true",ud=[qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\{/,/\}/,{relevance:0}),qa.COMMENT(/\(\*/,/\*\)/,{relevance:10})],dd={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},pd={className:"string",begin:/(#\d+)+/},fd={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},md={className:"string",begin:'"',end:'"'},vd={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:od,contains:[dd,pd,qa.NUMBER_MODE]},...ud]},Ad=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],Nd={match:[/OBJECT/,/\s+/,nd.either(...Ad),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:od,literal:ld},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},dd,pd,fd,md,qa.NUMBER_MODE,Nd,vd]}}return cal_1=Ra,cal_1}var capnproto_1,hasRequiredCapnproto;function requireCapnproto(){if(hasRequiredCapnproto)return capnproto_1;hasRequiredCapnproto=1;function Ra(qa){const nd=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],od=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],ld=["true","false"],ud={variants:[{match:[/(struct|enum|interface)/,/\s+/,qa.IDENT_RE]},{match:[/extends/,/\s*\(/,qa.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:nd,type:od,literal:ld},contains:[qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},ud]}}return capnproto_1=Ra,capnproto_1}var ceylon_1,hasRequiredCeylon;function requireCeylon(){if(hasRequiredCeylon)return ceylon_1;hasRequiredCeylon=1;function Ra(qa){const nd=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],od=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],ld=["doc","by","license","see","throws","tagged"],ud={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:nd,relevance:10},dd=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[ud]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return ud.contains=dd,{name:"Ceylon",keywords:{keyword:nd.concat(od),meta:ld},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[qa.C_LINE_COMMENT_MODE,qa.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(dd)}}return ceylon_1=Ra,ceylon_1}var clean_1,hasRequiredClean;function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;function Ra(qa){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return clean_1=Ra,clean_1}var clojure_1,hasRequiredClojure;function requireClojure(){if(hasRequiredClojure)return clojure_1;hasRequiredClojure=1;function Ra(qa){const nd="a-zA-Z_\\-!.?+*=<>&'",od="[#]?["+nd+"]["+nd+"0-9/;:$#]*",ld="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",ud={$pattern:od,built_in:ld+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},dd={begin:od,relevance:0},pd={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},fd={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},md={scope:"regex",begin:/#"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE]},vd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),Ad={scope:"punctuation",match:/,/,relevance:0},Nd=qa.COMMENT(";","$",{relevance:0}),Od={className:"literal",begin:/\b(true|false|nil)\b/},kd={begin:"\\[|(#::?"+od+")?\\{",end:"[\\]\\}]",relevance:0},Ld={className:"symbol",begin:"[:]{1,2}"+od},Gd={begin:"\\(",end:"\\)"},jd={endsWithParent:!0,relevance:0},Fd={keywords:ud,className:"name",begin:od,relevance:0,starts:jd},Ud=[Ad,Gd,fd,md,vd,Nd,Ld,kd,pd,Od,dd],qd={beginKeywords:ld,keywords:{$pattern:od,keyword:ld},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:od,relevance:0,excludeEnd:!0,endsParent:!0}].concat(Ud)};return Gd.contains=[qd,Fd,jd],jd.contains=Ud,kd.contains=Ud,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[Ad,Gd,fd,md,vd,Nd,Ld,kd,pd,Od]}}return clojure_1=Ra,clojure_1}var clojureRepl_1,hasRequiredClojureRepl;function requireClojureRepl(){if(hasRequiredClojureRepl)return clojureRepl_1;hasRequiredClojureRepl=1;function Ra(qa){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return clojureRepl_1=Ra,clojureRepl_1}var cmake_1,hasRequiredCmake;function requireCmake(){if(hasRequiredCmake)return cmake_1;hasRequiredCmake=1;function Ra(qa){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},qa.COMMENT(/#\[\[/,/]]/),qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE]}}return cmake_1=Ra,cmake_1}var coffeescript_1,hasRequiredCoffeescript;function requireCoffeescript(){if(hasRequiredCoffeescript)return coffeescript_1;hasRequiredCoffeescript=1;const Ra=["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"],qa=["true","false","null","undefined","NaN","Infinity"],nd=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],od=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ld=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ud=[].concat(ld,nd,od);function dd(pd){const fd=["npm","print"],md=["yes","no","on","off"],vd=["then","unless","until","loop","by","when","and","or","is","isnt","not"],Ad=["var","const","let","function","static"],Nd=zd=>Wd=>!zd.includes(Wd),Od={keyword:Ra.concat(vd).filter(Nd(Ad)),literal:qa.concat(md),built_in:ud.concat(fd)},kd="[A-Za-z$_][0-9A-Za-z$_]*",Ld={className:"subst",begin:/#\{/,end:/\}/,keywords:Od},Gd=[pd.BINARY_NUMBER_MODE,pd.inherit(pd.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[pd.BACKSLASH_ESCAPE,Ld]},{begin:/"/,end:/"/,contains:[pd.BACKSLASH_ESCAPE,Ld]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[Ld,pd.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+kd},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];Ld.contains=Gd;const jd=pd.inherit(pd.TITLE_MODE,{begin:kd}),Fd="(\\(.*\\)\\s*)?\\B[-=]>",Ud={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:Od,contains:["self"].concat(Gd)}]},qd={variants:[{match:[/class\s+/,kd,/\s+extends\s+/,kd]},{match:[/class\s+/,kd]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:Od};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:Od,illegal:/\/\*/,contains:[...Gd,pd.COMMENT("###","###"),pd.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+kd+"\\s*=\\s*"+Fd,end:"[-=]>",returnBegin:!0,contains:[jd,Ud]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:Fd,end:"[-=]>",returnBegin:!0,contains:[Ud]}]},qd,{begin:kd+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return coffeescript_1=dd,coffeescript_1}var coq_1,hasRequiredCoq;function requireCoq(){if(hasRequiredCoq)return coq_1;hasRequiredCoq=1;function Ra(qa){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[qa.QUOTE_STRING_MODE,qa.COMMENT("\\(\\*","\\*\\)"),qa.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return coq_1=Ra,coq_1}var cos_1,hasRequiredCos;function requireCos(){if(hasRequiredCos)return cos_1;hasRequiredCos=1;function Ra(qa){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return cos_1=Ra,cos_1}var cpp_1,hasRequiredCpp;function requireCpp(){if(hasRequiredCpp)return cpp_1;hasRequiredCpp=1;function Ra(qa){const nd=qa.regex,od=qa.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ld="decltype\\(auto\\)",ud="[a-zA-Z_]\\w*::",pd="(?!struct)("+ld+"|"+nd.optional(ud)+"[a-zA-Z_]\\w*"+nd.optional("<[^<>]+>")+")",fd={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},vd={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},qa.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Ad={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},Nd={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},qa.inherit(vd,{className:"string"}),{className:"string",begin:/<.*?>/},od,qa.C_BLOCK_COMMENT_MODE]},Od={className:"title",begin:nd.optional(ud)+qa.IDENT_RE,relevance:0},kd=nd.optional(ud)+qa.IDENT_RE+"\\s*\\(",Ld=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],Gd=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],jd=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],Fd=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],zd={type:Gd,keyword:Ld,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:jd},Wd={className:"function.dispatch",relevance:0,keywords:{_hint:Fd},begin:nd.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,qa.IDENT_RE,nd.lookahead(/(<[^<>]+>|)\s*\(/))},Jd=[Wd,Nd,fd,od,qa.C_BLOCK_COMMENT_MODE,Ad,vd],_f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:zd,contains:Jd.concat([{begin:/\(/,end:/\)/,keywords:zd,contains:Jd.concat(["self"]),relevance:0}]),relevance:0},Xd={className:"function",begin:"("+pd+"[\\*&\\s]+)+"+kd,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:zd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ld,keywords:zd,relevance:0},{begin:kd,returnBegin:!0,contains:[Od],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[vd,Ad]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:zd,relevance:0,contains:[od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd,{begin:/\(/,end:/\)/,keywords:zd,relevance:0,contains:["self",od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd]}]},fd,od,qa.C_BLOCK_COMMENT_MODE,Nd]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:zd,illegal:"",keywords:zd,contains:["self",fd]},{begin:qa.IDENT_RE+"::",keywords:zd},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return cpp_1=Ra,cpp_1}var crmsh_1,hasRequiredCrmsh;function requireCrmsh(){if(hasRequiredCrmsh)return crmsh_1;hasRequiredCrmsh=1;function Ra(qa){const nd="primitive rsc_template",od="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[qa.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:nd,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+od.split(" ").join("|")+")\\s+",keywords:od,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},qa.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return crmsh_1=Ra,crmsh_1}var crystal_1,hasRequiredCrystal;function requireCrystal(){if(hasRequiredCrystal)return crystal_1;hasRequiredCrystal=1;function Ra(qa){const nd="(_?[ui](8|16|32|64|128))?",od="(_?f(32|64))?",ld="[a-zA-Z_]\\w*[!?=]?",ud="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",dd="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",pd={$pattern:ld,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},fd={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},md={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},vd={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:pd};function Ad(Fd,Ud){const qd=[{begin:Fd,end:Ud}];return qd[0].contains=qd,qd}const Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:Ad("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},Od={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%q<",end:">",contains:Ad("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},kd={begin:"(?!%\\})("+qa.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},Ld={className:"regexp",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:"%r\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%r<",end:">",contains:Ad("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},Gd={className:"meta",begin:"@\\[",end:"\\]",contains:[qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"})]},jd=[vd,Nd,Od,Ld,kd,Gd,md,qa.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:ud,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:ud,endsParent:!0})],relevance:2},{className:"symbol",begin:qa.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[Nd,{begin:ud}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+nd},{begin:"\\b0o([0-7_]+)"+nd},{begin:"\\b0x([A-Fa-f0-9_]+)"+nd},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+od+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+nd}],relevance:0}];return fd.contains=jd,vd.contains=jd.slice(1),{name:"Crystal",aliases:["cr"],keywords:pd,contains:jd}}return crystal_1=Ra,crystal_1}var csharp_1,hasRequiredCsharp;function requireCsharp(){if(hasRequiredCsharp)return csharp_1;hasRequiredCsharp=1;function Ra(qa){const nd=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],od=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],ld=["default","false","null","true"],ud=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],dd=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],pd={keyword:ud.concat(dd),built_in:nd,literal:ld},fd=qa.inherit(qa.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),md={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},vd={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},Ad={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},Nd=qa.inherit(Ad,{illegal:/\n/}),Od={className:"subst",begin:/\{/,end:/\}/,keywords:pd},kd=qa.inherit(Od,{illegal:/\n/}),Ld={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},qa.BACKSLASH_ESCAPE,kd]},Gd={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},Od]},jd=qa.inherit(Gd,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},kd]});Od.contains=[Gd,Ld,Ad,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.C_BLOCK_COMMENT_MODE],kd.contains=[jd,Ld,Nd,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.inherit(qa.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const Fd={variants:[vd,Gd,Ld,Ad,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},Ud={begin:"<",end:">",contains:[{beginKeywords:"in out"},fd]},qd=qa.IDENT_RE+"(<"+qa.IDENT_RE+"(\\s*,\\s*"+qa.IDENT_RE+")*>)?(\\[\\])?",zd={begin:"@"+qa.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:pd,illegal:/::/,contains:[qa.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},Fd,md,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},fd,Ud,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[fd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[fd,Ud,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+qd+"\\s+)+"+qa.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:pd,contains:[{beginKeywords:od.join(" "),relevance:0},{begin:qa.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[qa.TITLE_MODE,Ud],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:pd,relevance:0,contains:[Fd,md,qa.C_BLOCK_COMMENT_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},zd]}}return csharp_1=Ra,csharp_1}var csp_1,hasRequiredCsp;function requireCsp(){if(hasRequiredCsp)return csp_1;hasRequiredCsp=1;function Ra(qa){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return csp_1=Ra,csp_1}var css_1,hasRequiredCss;function requireCss(){if(hasRequiredCss)return css_1;hasRequiredCss=1;const Ra=md=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:md.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:md.NUMBER_RE+"(%|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},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function fd(md){const vd=md.regex,Ad=Ra(md),Nd={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},Od="and or not only",kd=/@-?\w[\w]*(-\w+)*/,Ld="[a-zA-Z-][a-zA-Z0-9_-]*",Gd=[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[Ad.BLOCK_COMMENT,Nd,Ad.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+Ld,relevance:0},Ad.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+ud.join("|")+")"},{begin:":(:)?("+dd.join("|")+")"}]},Ad.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[Ad.BLOCK_COMMENT,Ad.HEXCOLOR,Ad.IMPORTANT,Ad.CSS_NUMBER_MODE,...Gd,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...Gd,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},Ad.FUNCTION_DISPATCH]},{begin:vd.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:kd},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:Od,attribute:ld.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...Gd,Ad.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+od.join("|")+")\\b"}]}}return css_1=fd,css_1}var d_1,hasRequiredD;function requireD(){if(hasRequiredD)return d_1;hasRequiredD=1;function Ra(qa){const nd={$pattern:qa.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},od="(0|[1-9][\\d_]*)",ld="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",ud="0[bB][01_]+",dd="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",pd="0[xX]"+dd,fd="([eE][+-]?"+ld+")",md="("+ld+"(\\.\\d*|"+fd+")|\\d+\\."+ld+"|\\."+od+fd+"?)",vd="(0[xX]("+dd+"\\."+dd+"|\\.?"+dd+")[pP][+-]?"+ld+")",Ad="("+od+"|"+ud+"|"+pd+")",Nd="("+vd+"|"+md+")",Od=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,kd={className:"number",begin:"\\b"+Ad+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},Ld={className:"number",begin:"\\b("+Nd+"([fF]|L|i|[fF]i|Li)?|"+Ad+"(i|[fF]i|Li))",relevance:0},Gd={className:"string",begin:"'("+Od+"|.)",end:"'",illegal:"."},Fd={className:"string",begin:'"',contains:[{begin:Od,relevance:0}],end:'"[cwd]?'},Ud={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},qd={className:"string",begin:"`",end:"`[cwd]?"},zd={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},Wd={className:"string",begin:'q"\\{',end:'\\}"'},Jd={className:"meta",begin:"^#!",end:"$",relevance:5},_f={className:"meta",begin:"#(line)",end:"$",relevance:5},Xd={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},pf=qa.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:nd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,pf,zd,Fd,Ud,qd,Wd,Ld,kd,Gd,Jd,_f,Xd]}}return d_1=Ra,d_1}var markdown_1,hasRequiredMarkdown;function requireMarkdown(){if(hasRequiredMarkdown)return markdown_1;hasRequiredMarkdown=1;function Ra(qa){const nd=qa.regex,od={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},ld={begin:"^[-\\*]{3,}",end:"$"},ud={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},dd={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},pd={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},fd=/[A-Za-z][A-Za-z0-9+.-]*/,md={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:nd.concat(/\[.+?\]\(/,fd,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},vd={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},Ad={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},Nd=qa.inherit(vd,{contains:[]}),Od=qa.inherit(Ad,{contains:[]});vd.contains.push(Od),Ad.contains.push(Nd);let kd=[od,md];return[vd,Ad,Nd,Od].forEach(Fd=>{Fd.contains=Fd.contains.concat(kd)}),kd=kd.concat(vd,Ad),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:kd},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:kd}]}]},od,dd,vd,Ad,{className:"quote",begin:"^>\\s+",contains:kd,end:"$"},ud,ld,md,pd,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}return markdown_1=Ra,markdown_1}var dart_1,hasRequiredDart;function requireDart(){if(hasRequiredDart)return dart_1;hasRequiredDart=1;function Ra(qa){const nd={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},od={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},ld={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:'"""',end:'"""',contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:"'",end:"'",illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:'"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE,nd,od]}]};od.contains=[qa.C_NUMBER_MODE,ld];const ud=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],dd=ud.map(md=>`${md}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:ud.concat(dd).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[ld,qa.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),qa.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},qa.UNDERSCORE_TITLE_MODE]},qa.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return dart_1=Ra,dart_1}var delphi_1,hasRequiredDelphi;function requireDelphi(){if(hasRequiredDelphi)return delphi_1;hasRequiredDelphi=1;function Ra(qa){const nd=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],od=[qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\{/,/\}/,{relevance:0}),qa.COMMENT(/\(\*/,/\*\)/,{relevance:10})],ld={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},ud={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},dd={className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},pd={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},fd={begin:qa.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[qa.TITLE_MODE]},md={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[qa.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:nd,contains:[ud,pd,ld].concat(od)},ld].concat(od)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:nd,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[ud,pd,dd,fd,md,ld].concat(od)}}return delphi_1=Ra,delphi_1}var diff_1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;function Ra(qa){const nd=qa.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:nd.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:nd.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return diff_1=Ra,diff_1}var django_1,hasRequiredDjango;function requireDjango(){if(hasRequiredDjango)return django_1;hasRequiredDjango=1;function Ra(qa){const nd={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[qa.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),qa.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[nd],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[nd]}]}}return django_1=Ra,django_1}var dns_1,hasRequiredDns;function requireDns(){if(hasRequiredDns)return dns_1;hasRequiredDns=1;function Ra(qa){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[qa.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},qa.inherit(qa.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return dns_1=Ra,dns_1}var dockerfile_1,hasRequiredDockerfile;function requireDockerfile(){if(hasRequiredDockerfile)return dockerfile_1;hasRequiredDockerfile=1;function Ra(qa){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[qa.HASH_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},nd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},ud={className:"variable",begin:/&[a-z\d_]*\b/},dd={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},pd={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},fd={className:"params",relevance:0,begin:"<",end:">",contains:[od,ud]},md={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},vd={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},Ad={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},Nd={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},Od={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[vd,ud,dd,pd,md,Nd,Ad,fd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od,nd,ld,Od,{begin:qa.IDENT_RE+"::",keywords:""}]}}return dts_1=Ra,dts_1}var dust_1,hasRequiredDust;function requireDust(){if(hasRequiredDust)return dust_1;hasRequiredDust=1;function Ra(qa){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[qa.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return dust_1=Ra,dust_1}var ebnf_1,hasRequiredEbnf;function requireEbnf(){if(hasRequiredEbnf)return ebnf_1;hasRequiredEbnf=1;function Ra(qa){const nd=qa.COMMENT(/\(\*/,/\*\)/),od={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},ud={begin:/=/,end:/[.;]/,contains:[nd,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[nd,od,ud]}}return ebnf_1=Ra,ebnf_1}var elixir_1,hasRequiredElixir;function requireElixir(){if(hasRequiredElixir)return elixir_1;hasRequiredElixir=1;function Ra(qa){const nd=qa.regex,od="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",ld="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",pd={$pattern:od,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},fd={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},md={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},Ad={match:/\\[\s\S]/,scope:"char.escape",relevance:0},Nd=`[/|([{<"']`,Od=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],kd=Wd=>({scope:"char.escape",begin:nd.concat(/\\/,Wd),relevance:0}),Ld={className:"string",begin:"~[a-z](?="+Nd+")",contains:Od.map(Wd=>qa.inherit(Wd,{contains:[kd(Wd.end),Ad,fd]}))},Gd={className:"string",begin:"~[A-Z](?="+Nd+")",contains:Od.map(Wd=>qa.inherit(Wd,{contains:[kd(Wd.end)]}))},jd={className:"regex",variants:[{begin:"~r(?="+Nd+")",contains:Od.map(Wd=>qa.inherit(Wd,{end:nd.concat(Wd.end,/[uismxfU]{0,7}/),contains:[kd(Wd.end),Ad,fd]}))},{begin:"~R(?="+Nd+")",contains:Od.map(Wd=>qa.inherit(Wd,{end:nd.concat(Wd.end,/[uismxfU]{0,7}/),contains:[kd(Wd.end)]}))}]},Fd={className:"string",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},Ud={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:od,endsParent:!0})]},qd=qa.inherit(Ud,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),zd=[Fd,jd,Gd,Ld,qa.HASH_COMMENT_MODE,qd,Ud,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[Fd,{begin:ld}],relevance:0},{className:"symbol",begin:od+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},md,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return fd.contains=zd,{name:"Elixir",aliases:["ex","exs"],keywords:pd,contains:zd}}return elixir_1=Ra,elixir_1}var elm_1,hasRequiredElm;function requireElm(){if(hasRequiredElm)return elm_1;hasRequiredElm=1;function Ra(qa){const nd={variants:[qa.COMMENT("--","$"),qa.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},od={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},ld={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},nd]},ud={begin:/\{/,end:/\}/,contains:ld.contains},dd={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[ld,nd],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[ld,nd],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[od,ld,ud,nd]},{beginKeywords:"infix infixl infixr",end:"$",contains:[qa.C_NUMBER_MODE,nd]},{begin:"port",end:"$",keywords:"port",contains:[nd]},dd,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,od,qa.inherit(qa.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),nd,{begin:"->|<-"}],illegal:/;/}}return elm_1=Ra,elm_1}var ruby_1,hasRequiredRuby;function requireRuby(){if(hasRequiredRuby)return ruby_1;hasRequiredRuby=1;function Ra(qa){const nd=qa.regex,od="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",ld=nd.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),ud=nd.concat(ld,/(::\w+)*/),pd={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},fd={className:"doctag",begin:"@[A-Za-z]+"},md={begin:"#<",end:">"},vd=[qa.COMMENT("#","$",{contains:[fd]}),qa.COMMENT("^=begin","^=end",{contains:[fd],relevance:10}),qa.COMMENT("^__END__",qa.MATCH_NOTHING_RE)],Ad={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,Ad],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:nd.concat(/<<[-~]?'?/,nd.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[qa.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[qa.BACKSLASH_ESCAPE,Ad]})]}]},Od="[1-9](_?[0-9])*|0",kd="[0-9](_?[0-9])*",Ld={className:"number",relevance:0,variants:[{begin:`\\b(${Od})(\\.(${kd}))?([eE][+-]?(${kd})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},Gd={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:pd}]},Jd=[Nd,{variants:[{match:[/class\s+/,ud,/\s+<\s+/,ud]},{match:[/\b(class|module)\s+/,ud]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:pd},{match:[/(include|extend)\s+/,ud],scope:{2:"title.class"},keywords:pd},{relevance:0,match:[ud,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:ld,scope:"title.class"},{match:[/def/,/\s+/,od],scope:{1:"keyword",3:"title.function"},contains:[Gd]},{begin:qa.IDENT_RE+"::"},{className:"symbol",begin:qa.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[Nd,{begin:od}],relevance:0},Ld,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:pd},{begin:"("+qa.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,Ad],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(md,vd),relevance:0}].concat(md,vd);Ad.contains=Jd,Gd.contains=Jd;const mf=[{begin:/^\s*=>/,starts:{end:"$",contains:Jd}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:pd,contains:Jd}}];return vd.unshift(md),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:pd,illegal:/\/\*/,contains:[qa.SHEBANG({binary:"ruby"})].concat(mf).concat(vd).concat(Jd)}}return ruby_1=Ra,ruby_1}var erb_1,hasRequiredErb;function requireErb(){if(hasRequiredErb)return erb_1;hasRequiredErb=1;function Ra(qa){return{name:"ERB",subLanguage:"xml",contains:[qa.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return erb_1=Ra,erb_1}var erlangRepl_1,hasRequiredErlangRepl;function requireErlangRepl(){if(hasRequiredErlangRepl)return erlangRepl_1;hasRequiredErlangRepl=1;function Ra(qa){const nd=qa.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},qa.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:nd.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return erlangRepl_1=Ra,erlangRepl_1}var erlang_1,hasRequiredErlang;function requireErlang(){if(hasRequiredErlang)return erlang_1;hasRequiredErlang=1;function Ra(qa){const nd="[a-z'][a-zA-Z0-9_']*",od="("+nd+":"+nd+"|"+nd+")",ld={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},ud=qa.COMMENT("%","$"),dd={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},pd={begin:"fun\\s+"+nd+"/\\d+"},fd={begin:od+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:od,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},md={begin:/\{/,end:/\}/,relevance:0},vd={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},Ad={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},Nd={begin:"#"+qa.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+qa.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},Od={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},kd={beginKeywords:"fun receive if try case",end:"end",keywords:ld};kd.contains=[ud,pd,qa.inherit(qa.APOS_STRING_MODE,{className:""}),kd,fd,qa.QUOTE_STRING_MODE,dd,md,vd,Ad,Nd,Od];const Ld=[ud,pd,kd,fd,qa.QUOTE_STRING_MODE,dd,md,vd,Ad,Nd,Od];fd.contains[1].contains=Ld,md.contains=Ld,Nd.contains[1].contains=Ld;const Gd=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],jd={className:"params",begin:"\\(",end:"\\)",contains:Ld};return{name:"Erlang",aliases:["erl"],keywords:ld,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[jd,qa.inherit(qa.TITLE_MODE,{begin:nd})],starts:{end:";|\\.",keywords:ld,contains:Ld}},ud,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+qa.IDENT_RE,keyword:Gd.map(Fd=>`${Fd}|1.5`).join(" ")},contains:[jd]},dd,qa.QUOTE_STRING_MODE,Nd,vd,Ad,md,Od,{begin:/\.$/}]}}return erlang_1=Ra,erlang_1}var excel_1,hasRequiredExcel;function requireExcel(){if(hasRequiredExcel)return excel_1;hasRequiredExcel=1;function Ra(qa){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},qa.BACKSLASH_ESCAPE,qa.QUOTE_STRING_MODE,{className:"number",begin:qa.NUMBER_RE+"(%)?",relevance:0},qa.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return excel_1=Ra,excel_1}var fix_1,hasRequiredFix;function requireFix(){if(hasRequiredFix)return fix_1;hasRequiredFix=1;function Ra(qa){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return fix_1=Ra,fix_1}var flix_1,hasRequiredFlix;function requireFlix(){if(hasRequiredFlix)return flix_1;hasRequiredFlix=1;function Ra(qa){const nd={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},od={className:"string",variants:[{begin:'"',end:'"'}]},ud={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,nd,od,ud,qa.C_NUMBER_MODE]}}return flix_1=Ra,flix_1}var fortran_1,hasRequiredFortran;function requireFortran(){if(hasRequiredFortran)return fortran_1;hasRequiredFortran=1;function Ra(qa){const nd=qa.regex,od={className:"params",begin:"\\(",end:"\\)"},ld={variants:[qa.COMMENT("!","$",{relevance:0}),qa.COMMENT("^C[ ]","$",{relevance:0}),qa.COMMENT("^C$","$",{relevance:0})]},ud=/(_[a-z_\d]+)?/,dd=/([de][+-]?\d+)?/,pd={className:"number",variants:[{begin:nd.concat(/\b\d+/,/\.(\d*)/,dd,ud)},{begin:nd.concat(/\b\d+/,dd,ud)},{begin:nd.concat(/\.\d+/,dd,ud)}],relevance:0},fd={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[qa.UNDERSCORE_TITLE_MODE,od]},md={className:"string",relevance:0,variants:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[md,fd,{begin:/^C\s*=(?!=)/,relevance:0},ld,pd]}}return fortran_1=Ra,fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1;function Ra(pd){return new RegExp(pd.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function qa(pd){return pd?typeof pd=="string"?pd:pd.source:null}function nd(pd){return od("(?=",pd,")")}function od(...pd){return pd.map(md=>qa(md)).join("")}function ld(pd){const fd=pd[pd.length-1];return typeof fd=="object"&&fd.constructor===Object?(pd.splice(pd.length-1,1),fd):{}}function ud(...pd){return"("+(ld(pd).capture?"":"?:")+pd.map(vd=>qa(vd)).join("|")+")"}function dd(pd){const fd=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],md={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},vd=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],Ad=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],Nd=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],Od=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],Ld={keyword:fd,literal:Ad,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":Nd},jd={variants:[pd.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),pd.C_LINE_COMMENT_MODE]},Fd=/[a-zA-Z_](\w|')*/,Ud={scope:"variable",begin:/``/,end:/``/},qd=/\B('|\^)/,zd={scope:"symbol",variants:[{match:od(qd,/``.*?``/)},{match:od(qd,pd.UNDERSCORE_IDENT_RE)}],relevance:0},Wd=function({includeEqual:Jf}){let Kf;Jf?Kf="!%&*+-/<=>@^|~?":Kf="!%&*+-/<>@^|~?";const Cf=Array.from(Kf),xf=od("[",...Cf.map(Ra),"]"),Yf=ud(xf,/\./),dh=od(Yf,nd(Yf)),Rh=ud(od(dh,Yf,"*"),od(xf,"+"));return{scope:"operator",match:ud(Rh,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},Jd=Wd({includeEqual:!0}),_f=Wd({includeEqual:!1}),Xd=function(Jf,Kf){return{begin:od(Jf,nd(od(/\s*/,ud(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:Kf,end:nd(ud(/\n/,/=/)),relevance:0,keywords:pd.inherit(Ld,{type:Od}),contains:[jd,zd,pd.inherit(Ud,{scope:null}),_f]}},pf=Xd(/:/,"operator"),mf=Xd(/\bof\b/,"keyword"),Sf={begin:[/(^|\s+)/,/type/,/\s+/,Fd],beginScope:{2:"keyword",4:"title.class"},end:nd(/\(|=|$/),keywords:Ld,contains:[jd,pd.inherit(Ud,{scope:null}),zd,{scope:"operator",match:/<|>/},pf]},Tf={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},Af={begin:[/^\s*/,od(/#/,ud(...vd)),/\b/],beginScope:{2:"meta"},end:nd(/\s|$/)},Ef={variants:[pd.BINARY_NUMBER_MODE,pd.C_NUMBER_MODE]},Nf={scope:"string",begin:/"/,end:/"/,contains:[pd.BACKSLASH_ESCAPE]},If={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},pd.BACKSLASH_ESCAPE]},Gf={scope:"string",begin:/"""/,end:/"""/,relevance:2},Qf={scope:"subst",begin:/\{/,end:/\}/,keywords:Ld},Xf={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},pd.BACKSLASH_ESCAPE,Qf]},ph={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},pd.BACKSLASH_ESCAPE,Qf]},qf={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Qf],relevance:2},Lf={scope:"string",match:od(/'/,ud(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Qf.contains=[ph,Xf,If,Nf,Lf,md,jd,Ud,pf,Tf,Af,Ef,zd,Jd],{name:"F#",aliases:["fs","f#"],keywords:Ld,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[md,{variants:[qf,ph,Xf,Gf,If,Nf,Lf]},jd,Ud,Sf,{scope:"meta",begin:/\[\]/,relevance:2,contains:[Ud,Gf,If,Nf,Lf,Ef]},mf,pf,Tf,Af,Ef,zd,Jd]}}return fsharp_1=dd,fsharp_1}var gams_1,hasRequiredGams;function requireGams(){if(hasRequiredGams)return gams_1;hasRequiredGams=1;function Ra(qa){const nd=qa.regex,od={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},ld={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},ud={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},dd={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},pd={begin:"/",end:"/",keywords:od,contains:[dd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE]},fd=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,md={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[dd,pd,{className:"comment",begin:nd.concat(fd,nd.anyNumberOfTimes(nd.concat(/[ ]+/,fd))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:od,contains:[qa.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,pd,md]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[md]},qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},ld,ud]},qa.C_NUMBER_MODE,ud]}}return gams_1=Ra,gams_1}var gauss_1,hasRequiredGauss;function requireGauss(){if(hasRequiredGauss)return gauss_1;hasRequiredGauss=1;function Ra(qa){const nd={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},od=qa.COMMENT("@","@"),ld={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od]},ud={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:qa.UNDERSCORE_IDENT_RE,relevance:0}]},dd=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,ud]}],pd={className:"title",begin:qa.UNDERSCORE_IDENT_RE,relevance:0},fd=function(Od,kd,Ld){const Gd=qa.inherit({className:"function",beginKeywords:Od,end:kd,excludeEnd:!0,contains:[].concat(dd)},{});return Gd.contains.push(pd),Gd.contains.push(qa.C_NUMBER_MODE),Gd.contains.push(qa.C_BLOCK_COMMENT_MODE),Gd.contains.push(od),Gd},md={className:"built_in",begin:"\\b("+nd.built_in.split(" ").join("|")+")\\b"},vd={className:"string",begin:'"',end:'"',contains:[qa.BACKSLASH_ESCAPE],relevance:0},Ad={begin:qa.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:nd,relevance:0,contains:[{beginKeywords:nd.keyword},md,{className:"built_in",begin:qa.UNDERSCORE_IDENT_RE,relevance:0}]},Nd={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:nd.built_in,literal:nd.literal},contains:[qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,md,Ad,vd,"self"]};return Ad.contains.push(Nd),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:nd,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od,vd,ld,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},fd("proc keyword",";"),fd("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[qa.C_BLOCK_COMMENT_MODE,od,Nd]},{variants:[{begin:qa.UNDERSCORE_IDENT_RE+"\\."+qa.UNDERSCORE_IDENT_RE},{begin:qa.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},Ad,ud]}}return gauss_1=Ra,gauss_1}var gcode_1,hasRequiredGcode;function requireGcode(){if(hasRequiredGcode)return gcode_1;hasRequiredGcode=1;function Ra(qa){const nd="[A-Z_][A-Z0-9_.]*",od="%",ld={$pattern:nd,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},ud={className:"meta",begin:"([O])([0-9]+)"},dd=qa.inherit(qa.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+qa.C_NUMBER_RE}),pd=[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(/\(/,/\)/),dd,qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[dd],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:ld,contains:[{className:"meta",begin:od},ud].concat(pd)}}return gcode_1=Ra,gcode_1}var gherkin_1,hasRequiredGherkin;function requireGherkin(){if(hasRequiredGherkin)return gherkin_1;hasRequiredGherkin=1;function Ra(qa){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},qa.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},qa.QUOTE_STRING_MODE]}}return gherkin_1=Ra,gherkin_1}var glsl_1,hasRequiredGlsl;function requireGlsl(){if(hasRequiredGlsl)return glsl_1;hasRequiredGlsl=1;function Ra(qa){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return glsl_1=Ra,glsl_1}var gml_1,hasRequiredGml;function requireGml(){if(hasRequiredGml)return gml_1;hasRequiredGml=1;function Ra(qa){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE]}}return gml_1=Ra,gml_1}var go_1,hasRequiredGo;function requireGo(){if(hasRequiredGo)return go_1;hasRequiredGo=1;function Ra(qa){const dd={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:dd,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return haml_1=Ra,haml_1}var handlebars_1,hasRequiredHandlebars;function requireHandlebars(){if(hasRequiredHandlebars)return handlebars_1;hasRequiredHandlebars=1;function Ra(qa){const nd=qa.regex,od={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},ld={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},ud=/""|"[^"]+"/,dd=/''|'[^']+'/,pd=/\[\]|\[[^\]]+\]/,fd=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,md=/(\.|\/)/,vd=nd.either(ud,dd,pd,fd),Ad=nd.concat(nd.optional(/\.|\.\/|\//),vd,nd.anyNumberOfTimes(nd.concat(md,vd))),Nd=nd.concat("(",pd,"|",fd,")(?==)"),Od={begin:Ad},kd=qa.inherit(Od,{keywords:ld}),Ld={begin:/\(/,end:/\)/},Gd={className:"attr",begin:Nd,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,kd,Ld]}}},jd={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},Fd={contains:[qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,jd,Gd,kd,Ld],returnEnd:!0},Ud=qa.inherit(Od,{className:"name",keywords:od,starts:qa.inherit(Fd,{end:/\)/})});Ld.contains=[Ud];const qd=qa.inherit(Od,{keywords:od,className:"name",starts:qa.inherit(Fd,{end:/\}\}/})}),zd=qa.inherit(Od,{keywords:od,className:"name"}),Wd=qa.inherit(Od,{className:"name",keywords:od,starts:qa.inherit(Fd,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},qa.COMMENT(/\{\{!--/,/--\}\}/),qa.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[qd],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[zd]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[qd]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[zd]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[Wd]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[Wd]}]}}return handlebars_1=Ra,handlebars_1}var haskell_1,hasRequiredHaskell;function requireHaskell(){if(hasRequiredHaskell)return haskell_1;hasRequiredHaskell=1;function Ra(qa){const nd="([0-9]_*)+",od="([0-9a-fA-F]_*)+",ld="([01]_*)+",ud="([0-7]_*)+",md="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",vd={variants:[qa.COMMENT("--+","$"),qa.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},Ad={className:"meta",begin:/\{-#/,end:/#-\}/},Nd={className:"meta",begin:"^#",end:"$"},Od={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},kd={begin:"\\(",end:"\\)",illegal:'"',contains:[Ad,Nd,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},qa.inherit(qa.TITLE_MODE,{begin:"[_a-z][\\w']*"}),vd]},Ld={begin:/\{/,end:/\}/,contains:kd.contains},Gd={className:"number",relevance:0,variants:[{match:`\\b(${nd})(\\.(${nd}))?([eE][+-]?(${nd}))?\\b`},{match:`\\b0[xX]_*(${od})(\\.(${od}))?([pP][+-]?(${nd}))?\\b`},{match:`\\b0[oO](${ud})\\b`},{match:`\\b0[bB](${ld})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[kd,vd],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[kd,vd],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[Od,kd,vd]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[Ad,Od,kd,Ld,vd]},{beginKeywords:"default",end:"$",contains:[Od,kd,vd]},{beginKeywords:"infix infixl infixr",end:"$",contains:[qa.C_NUMBER_MODE,vd]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[Od,qa.QUOTE_STRING_MODE,vd]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},Ad,Nd,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},qa.QUOTE_STRING_MODE,Gd,Od,qa.inherit(qa.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${md}--+|--+(?!-)${md}`},vd,{begin:"->|<-"}]}}return haskell_1=Ra,haskell_1}var haxe_1,hasRequiredHaxe;function requireHaxe(){if(hasRequiredHaxe)return haxe_1;hasRequiredHaxe=1;function Ra(qa){const nd="[a-zA-Z_$][a-zA-Z0-9_$]*",od=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"number",begin:od,relevance:0},{className:"variable",begin:"\\$"+nd},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[qa.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+qa.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},qa.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:qa.IDENT_RE,relevance:0}]},qa.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[qa.TITLE_MODE]}],illegal:/<\//}}return haxe_1=Ra,haxe_1}var hsp_1,hasRequiredHsp;function requireHsp(){if(hasRequiredHsp)return hsp_1;hasRequiredHsp=1;function Ra(qa){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[qa.BACKSLASH_ESCAPE]},qa.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),qa.NUMBER_MODE,qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},qa.NUMBER_MODE,qa.C_NUMBER_MODE]}}return hsp_1=Ra,hsp_1}var http_1,hasRequiredHttp;function requireHttp(){if(hasRequiredHttp)return http_1;hasRequiredHttp=1;function Ra(qa){const nd=qa.regex,od="HTTP/([32]|1\\.[01])",ld=/[A-Za-z][A-Za-z0-9-]*/,ud={className:"attribute",begin:nd.concat("^",ld,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},dd=[ud,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+od+" \\d{3})",end:/$/,contains:[{className:"meta",begin:od},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:dd}},{begin:"(?=^[A-Z]+ (.*?) "+od+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:od},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:dd}},qa.inherit(ud,{relevance:0})]}}return http_1=Ra,http_1}var hy_1,hasRequiredHy;function requireHy(){if(hasRequiredHy)return hy_1;hasRequiredHy=1;function Ra(qa){const nd="a-zA-Z_\\-!.?+*=<>&#'",od="["+nd+"]["+nd+"0-9/;:]*",ld={$pattern:od,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},ud="[-+]?\\d+(\\.\\d+)?",dd={begin:od,relevance:0},pd={className:"number",begin:ud,relevance:0},fd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),md=qa.COMMENT(";","$",{relevance:0}),vd={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},Ad={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},Nd={className:"comment",begin:"\\^"+od},Od=qa.COMMENT("\\^\\{","\\}"),kd={className:"symbol",begin:"[:]{1,2}"+od},Ld={begin:"\\(",end:"\\)"},Gd={endsWithParent:!0,relevance:0},jd={className:"name",relevance:0,keywords:ld,begin:od,starts:Gd},Fd=[Ld,fd,Nd,Od,md,kd,Ad,pd,vd,dd];return Ld.contains=[qa.COMMENT("comment",""),jd,Gd],Gd.contains=Fd,Ad.contains=Fd,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[qa.SHEBANG(),Ld,fd,Nd,Od,md,kd,Ad,pd,vd]}}return hy_1=Ra,hy_1}var inform7_1,hasRequiredInform7;function requireInform7(){if(hasRequiredInform7)return inform7_1;hasRequiredInform7=1;function Ra(qa){const nd="\\[",od="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:nd,end:od}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:nd,end:od,contains:["self"]}]}}return inform7_1=Ra,inform7_1}var ini_1,hasRequiredIni;function requireIni(){if(hasRequiredIni)return ini_1;hasRequiredIni=1;function Ra(qa){const nd=qa.regex,od={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:qa.NUMBER_RE}]},ld=qa.COMMENT();ld.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const ud={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},dd={className:"literal",begin:/\bon|off|true|false|yes|no\b/},pd={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},fd={begin:/\[/,end:/\]/,contains:[ld,dd,ud,pd,od,"self"],relevance:0},md=/[A-Za-z0-9_-]+/,vd=/"(\\"|[^"])*"/,Ad=/'[^']*'/,Nd=nd.either(md,vd,Ad),Od=nd.concat(Nd,"(\\s*\\.\\s*",Nd,")*",nd.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[ld,{className:"section",begin:/\[+/,end:/\]+/},{begin:Od,className:"attr",starts:{end:/$/,contains:[ld,fd,dd,ud,pd,od]}}]}}return ini_1=Ra,ini_1}var irpf90_1,hasRequiredIrpf90;function requireIrpf90(){if(hasRequiredIrpf90)return irpf90_1;hasRequiredIrpf90=1;function Ra(qa){const nd=qa.regex,od={className:"params",begin:"\\(",end:"\\)"},ld=/(_[a-z_\d]+)?/,ud=/([de][+-]?\d+)?/,dd={className:"number",variants:[{begin:nd.concat(/\b\d+/,/\.(\d*)/,ud,ld)},{begin:nd.concat(/\b\d+/,ud,ld)},{begin:nd.concat(/\.\d+/,ud,ld)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[qa.inherit(qa.APOS_STRING_MODE,{className:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[qa.UNDERSCORE_TITLE_MODE,od]},qa.COMMENT("!","$",{relevance:0}),qa.COMMENT("begin_doc","end_doc",{relevance:10}),dd]}}return irpf90_1=Ra,irpf90_1}var isbl_1,hasRequiredIsbl;function requireIsbl(){if(hasRequiredIsbl)return isbl_1;hasRequiredIsbl=1;function Ra(qa){const nd="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",od="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",ld="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",Jf="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",W_="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",qb="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",y0="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",sb="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Vb=Jf+W_,Iy=y0,V0="null true false nil ",Bg={className:"number",begin:qa.NUMBER_RE,relevance:0},z0={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},O0={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Ry={className:"comment",begin:"//",end:"$",relevance:0,contains:[qa.PHRASAL_WORDS_MODE,O0]},Av={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[qa.PHRASAL_WORDS_MODE,O0]},wv={variants:[Ry,Av]},k0={$pattern:nd,keyword:ld,built_in:Vb,class:Iy,literal:V0},Y_={begin:"\\.\\s*"+qa.UNDERSCORE_IDENT_RE,keywords:k0,relevance:0},Mb={className:"type",begin:":[ \\t]*("+sb.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},r0={className:"variable",keywords:k0,begin:nd,relevance:0,contains:[Mb,Y_]},M0=od+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:k0,illegal:"\\$|\\?|%|,|;$|~|#|@|ld(dd,pd,fd-1))}function ud(dd){const pd=dd.regex,fd="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",md=fd+ld("(?:<"+fd+"~~~(?:\\s*,\\s*"+fd+"~~~)*>)?",/~~~/g,2),kd={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},Ld={className:"meta",begin:"@"+fd,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},Gd={className:"params",begin:/\(/,end:/\)/,keywords:kd,relevance:0,contains:[dd.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:kd,illegal:/<\/|#/,contains:[dd.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[dd.BACKSLASH_ESCAPE]},dd.APOS_STRING_MODE,dd.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,fd],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[pd.concat(/(?!else)/,fd),/\s+/,fd,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,fd],className:{1:"keyword",3:"title.class"},contains:[Gd,dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+md+"\\s+)",dd.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:kd,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:kd,relevance:0,contains:[Ld,dd.APOS_STRING_MODE,dd.QUOTE_STRING_MODE,od,dd.C_BLOCK_COMMENT_MODE]},dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE]},od,Ld]}}return java_1=ud,java_1}var javascript_1,hasRequiredJavascript;function requireJavascript(){if(hasRequiredJavascript)return javascript_1;hasRequiredJavascript=1;const Ra="[A-Za-z$_][0-9A-Za-z$_]*",qa=["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"],nd=["true","false","null","undefined","NaN","Infinity"],od=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ld=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ud=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],dd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],pd=[].concat(ud,od,ld);function fd(md){const vd=md.regex,Ad=(Cf,{after:xf})=>{const Yf="",end:""},kd=/<[A-Za-z0-9\\._:-]+\s*\/>/,Ld={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Cf,xf)=>{const Yf=Cf[0].length+Cf.index,dh=Cf.input[Yf];if(dh==="<"||dh===","){xf.ignoreMatch();return}dh===">"&&(Ad(Cf,{after:Yf})||xf.ignoreMatch());let Rh;const th=Cf.input.substring(Yf);if(Rh=th.match(/^\s*=/)){xf.ignoreMatch();return}if((Rh=th.match(/^\s+extends\s+/))&&Rh.index===0){xf.ignoreMatch();return}}},Gd={$pattern:Ra,keyword:qa,literal:nd,built_in:pd,"variable.language":dd},jd="[0-9](_?[0-9])*",Fd=`\\.(${jd})`,Ud="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",qd={className:"number",variants:[{begin:`(\\b(${Ud})((${Fd})|\\.)?|(${Fd}))[eE][+-]?(${jd})\\b`},{begin:`\\b(${Ud})\\b((${Fd})\\b|\\.)?|(${Fd})\\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},zd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:Gd,contains:[]},Wd={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,zd],subLanguage:"xml"}},Jd={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,zd],subLanguage:"css"}},_f={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,zd],subLanguage:"graphql"}},Xd={className:"string",begin:"`",end:"`",contains:[md.BACKSLASH_ESCAPE,zd]},mf={className:"comment",variants:[md.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:Nd+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),md.C_BLOCK_COMMENT_MODE,md.C_LINE_COMMENT_MODE]},Sf=[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,Wd,Jd,_f,Xd,{match:/\$\d+/},qd];zd.contains=Sf.concat({begin:/\{/,end:/\}/,keywords:Gd,contains:["self"].concat(Sf)});const Tf=[].concat(mf,zd.contains),Af=Tf.concat([{begin:/(\s*)\(/,end:/\)/,keywords:Gd,contains:["self"].concat(Tf)}]),Ef={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Gd,contains:Af},Nf={variants:[{match:[/class/,/\s+/,Nd,/\s+/,/extends/,/\s+/,vd.concat(Nd,"(",vd.concat(/\./,Nd),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,Nd],scope:{1:"keyword",3:"title.class"}}]},If={relevance:0,match:vd.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...od,...ld]}},Gf={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Qf={variants:[{match:[/function/,/\s+/,Nd,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Ef],illegal:/%/},Xf={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ph(Cf){return vd.concat("(?!",Cf.join("|"),")")}const qf={match:vd.concat(/\b/,ph([...ud,"super","import"].map(Cf=>`${Cf}\\s*\\(`)),Nd,vd.lookahead(/\s*\(/)),className:"title.function",relevance:0},Lf={begin:vd.concat(/\./,vd.lookahead(vd.concat(Nd,/(?![0-9A-Za-z$_(])/))),end:Nd,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Wf={match:[/get|set/,/\s+/,Nd,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Ef]},Jf="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+md.UNDERSCORE_IDENT_RE+")\\s*=>",Kf={match:[/const|var|let/,/\s+/,Nd,/\s*/,/=\s*/,/(async\s*)?/,vd.lookahead(Jf)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Ef]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Gd,exports:{PARAMS_CONTAINS:Af,CLASS_REFERENCE:If},illegal:/#(?![$_A-z])/,contains:[md.SHEBANG({label:"shebang",binary:"node",relevance:5}),Gf,md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,Wd,Jd,_f,Xd,mf,{match:/\$\d+/},qd,If,{className:"attr",begin:Nd+vd.lookahead(":"),relevance:0},Kf,{begin:"("+md.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[mf,md.REGEXP_MODE,{className:"function",begin:Jf,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:md.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Gd,contains:Af}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:Od.begin,end:Od.end},{match:kd},{begin:Ld.begin,"on:begin":Ld.isTrulyOpeningTag,end:Ld.end}],subLanguage:"xml",contains:[{begin:Ld.begin,end:Ld.end,skip:!0,contains:["self"]}]}]},Qf,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+md.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Ef,md.inherit(md.TITLE_MODE,{begin:Nd,className:"title.function"})]},{match:/\.\.\./,relevance:0},Lf,{match:"\\$"+Nd,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Ef]},qf,Xf,Nf,Wf,{match:/\$[(.]/}]}}return javascript_1=fd,javascript_1}var jbossCli_1,hasRequiredJbossCli;function requireJbossCli(){if(hasRequiredJbossCli)return jbossCli_1;hasRequiredJbossCli=1;function Ra(qa){const od={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},ld={className:"function",begin:/:[\w\-.]+/,relevance:0},ud={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},dd={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,dd,ld,ud,od]}}return jbossCli_1=Ra,jbossCli_1}var json_1,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json_1;hasRequiredJson=1;function Ra(qa){const nd={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},od={match:/[{}[\],:]/,className:"punctuation",relevance:0},ld=["true","false","null"],ud={scope:"literal",beginKeywords:ld.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:ld},contains:[nd,od,qa.QUOTE_STRING_MODE,ud,qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return json_1=Ra,json_1}var julia_1,hasRequiredJulia;function requireJulia(){if(hasRequiredJulia)return julia_1;hasRequiredJulia=1;function Ra(qa){const nd="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",dd={$pattern:nd,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},pd={keywords:dd,illegal:/<\//},fd={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},md={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},vd={className:"subst",begin:/\$\(/,end:/\)/,keywords:dd},Ad={className:"variable",begin:"\\$"+nd},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,vd,Ad],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},Od={className:"string",contains:[qa.BACKSLASH_ESCAPE,vd,Ad],begin:"`",end:"`"},kd={className:"meta",begin:"@"+nd},Ld={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return pd.name="Julia",pd.contains=[fd,md,Nd,Od,kd,Ld,qa.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],vd.contains=pd.contains,pd}return julia_1=Ra,julia_1}var juliaRepl_1,hasRequiredJuliaRepl;function requireJuliaRepl(){if(hasRequiredJuliaRepl)return juliaRepl_1;hasRequiredJuliaRepl=1;function Ra(qa){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return juliaRepl_1=Ra,juliaRepl_1}var kotlin_1,hasRequiredKotlin;function requireKotlin(){if(hasRequiredKotlin)return kotlin_1;hasRequiredKotlin=1;var Ra="[0-9](_*[0-9])*",qa=`\\.(${Ra})`,nd="[0-9a-fA-F](_*[0-9a-fA-F])*",od={className:"number",variants:[{begin:`(\\b(${Ra})((${qa})|\\.)?|(${qa}))[eE][+-]?(${Ra})[fFdD]?\\b`},{begin:`\\b(${Ra})((${qa})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${qa})[fFdD]?\\b`},{begin:`\\b(${Ra})[fFdD]\\b`},{begin:`\\b0[xX]((${nd})\\.?|(${nd})?\\.(${nd}))[pP][+-]?(${Ra})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${nd})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function ld(ud){const dd={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},pd={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},fd={className:"symbol",begin:ud.UNDERSCORE_IDENT_RE+"@"},md={className:"subst",begin:/\$\{/,end:/\}/,contains:[ud.C_NUMBER_MODE]},vd={className:"variable",begin:"\\$"+ud.UNDERSCORE_IDENT_RE},Ad={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[vd,md]},{begin:"'",end:"'",illegal:/\n/,contains:[ud.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[ud.BACKSLASH_ESCAPE,vd,md]}]};md.contains.push(Ad);const Nd={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+ud.UNDERSCORE_IDENT_RE+")?"},Od={className:"meta",begin:"@"+ud.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[ud.inherit(Ad,{className:"string"}),"self"]}]},kd=od,Ld=ud.COMMENT("/\\*","\\*/",{contains:[ud.C_BLOCK_COMMENT_MODE]}),Gd={variants:[{className:"type",begin:ud.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},jd=Gd;return jd.variants[1].contains=[Gd],Gd.variants[1].contains=[jd],{name:"Kotlin",aliases:["kt","kts"],keywords:dd,contains:[ud.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),ud.C_LINE_COMMENT_MODE,Ld,pd,fd,Nd,Od,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:dd,relevance:5,contains:[{begin:ud.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[ud.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:dd,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[Gd,ud.C_LINE_COMMENT_MODE,Ld],relevance:0},ud.C_LINE_COMMENT_MODE,Ld,Nd,Od,Ad,ud.C_NUMBER_MODE]},Ld]},{begin:[/class|interface|trait/,/\s+/,ud.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},ud.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},Nd,Od]},Ad,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` @@ -967,8 +967,8 @@ res:`,intersect_default.polygon(qa,md,Nd)),intersect_default.polygon(qa,md,Nd)}, M${vd},${Ad-md} L${vd},${Ad+fd}`;qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const jd=Od.path(Gd,kd),Fd=ld.insert(()=>jd,":first-child");return Fd.attr("transform",`translate(${md/2}, ${md/2})`),Fd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",od),dd.attr("transform",`translate(${-(ud.width/2)+md/2-(ud.x-(ud.left??0))}, ${-(ud.height/2)+md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Fd),qa.intersect=function(Ud){return intersect_default.polygon(qa,Ld,Ud)},ld}__name(windowPane,"windowPane");async function textHelper(Ra,qa,nd,od,ld=nd.class.padding??12){const ud=od?0:3,dd=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId||qa.id);let pd=null,fd=null,md=null,vd=null,Ad=0,Nd=0,Od=0;if(pd=dd.insert("g").attr("class","annotation-group text"),qa.annotations.length>0){const Fd=qa.annotations[0];await addText(pd,{text:`«${Fd}»`},0),Ad=pd.node().getBBox().height}fd=dd.insert("g").attr("class","label-group text"),await addText(fd,qa,0,["font-weight: bolder"]);const kd=fd.node().getBBox();Nd=kd.height,md=dd.insert("g").attr("class","members-group text");let Ld=0;for(const Fd of qa.members){const Ud=await addText(md,Fd,Ld,[Fd.parseClassifier()]);Ld+=Ud+ud}Od=md.node().getBBox().height,Od<=0&&(Od=ld/2),vd=dd.insert("g").attr("class","methods-group text");let Gd=0;for(const Fd of qa.methods){const Ud=await addText(vd,Fd,Gd,[Fd.parseClassifier()]);Gd+=Ud+ud}let jd=dd.node().getBBox();if(pd!==null){const Fd=pd.node().getBBox();pd.attr("transform",`translate(${-Fd.width/2})`)}return fd.attr("transform",`translate(${-kd.width/2}, ${Ad})`),jd=dd.node().getBBox(),md.attr("transform",`translate(0, ${Ad+Nd+ld*2})`),jd=dd.node().getBBox(),vd.attr("transform",`translate(0, ${Ad+Nd+(Od?Od+ld*4:ld*2)})`),jd=dd.node().getBBox(),{shapeSvg:dd,bbox:jd}}__name(textHelper,"textHelper");async function addText(Ra,qa,nd,od=[]){const ld=Ra.insert("g").attr("class","label").attr("style",od.join("; ")),ud=getConfig$2();let dd="useHtmlLabels"in qa?qa.useHtmlLabels:evaluate(ud.htmlLabels)??!0,pd="";"text"in qa?pd=qa.text:pd=qa.label,!dd&&pd.startsWith("\\")&&(pd=pd.substring(1)),hasKatex(pd)&&(dd=!0);const fd=await createText(ld,sanitizeText3(decodeEntities(pd)),{width:calculateTextWidth(pd,ud)+50,classes:"markdown-node-label",useHtmlLabels:dd},ud);let md,vd=1;if(dd){const Ad=fd.children[0],Nd=select(fd);vd=Ad.innerHTML.split("
").length,Ad.innerHTML.includes("")&&(vd+=Ad.innerHTML.split("").length-1);const Od=Ad.getElementsByTagName("img");if(Od){const kd=pd.replace(/]*>/g,"").trim()==="";await Promise.all([...Od].map(Ld=>new Promise(Gd=>{function jd(){var Fd;if(Ld.style.display="flex",Ld.style.flexDirection="column",kd){const Ud=((Fd=ud.fontSize)==null?void 0:Fd.toString())??window.getComputedStyle(document.body).fontSize,zd=parseInt(Ud,10)*5+"px";Ld.style.minWidth=zd,Ld.style.maxWidth=zd}else Ld.style.width="100%";Gd(Ld)}__name(jd,"setupImage"),setTimeout(()=>{Ld.complete&&jd()}),Ld.addEventListener("error",jd),Ld.addEventListener("load",jd)})))}md=Ad.getBoundingClientRect(),Nd.attr("width",md.width),Nd.attr("height",md.height)}else{od.includes("font-weight: bolder")&&select(fd).selectAll("tspan").attr("font-weight",""),vd=fd.children.length;const Ad=fd.children[0];(fd.textContent===""||fd.textContent.includes(">"))&&(Ad.textContent=pd[0]+pd.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),pd[1]===" "&&(Ad.textContent=Ad.textContent[0]+" "+Ad.textContent.substring(1))),Ad.textContent==="undefined"&&(Ad.textContent=""),md=fd.getBBox()}return ld.attr("transform","translate(0,"+(-md.height/(2*vd)+nd)+")"),md.height}__name(addText,"addText");async function classBox(Ra,qa){var Xd,pf;const nd=getConfig2(),od=nd.class.padding??12,ld=od,ud=qa.useHtmlLabels??evaluate(nd.htmlLabels)??!0,dd=qa;dd.annotations=dd.annotations??[],dd.members=dd.members??[],dd.methods=dd.methods??[];const{shapeSvg:pd,bbox:fd}=await textHelper(Ra,qa,nd,ud,ld),{labelStyles:md,nodeStyles:vd}=styles2String(qa);qa.labelStyle=md,qa.cssStyles=dd.styles||"";const Ad=((Xd=dd.styles)==null?void 0:Xd.join(";"))||vd||"";qa.cssStyles||(qa.cssStyles=Ad.replaceAll("!important","").split(";"));const Nd=dd.members.length===0&&dd.methods.length===0&&!((pf=nd.class)!=null&&pf.hideEmptyMembersBox),Od=at$3.svg(pd),kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Ld=fd.width;let Gd=fd.height;dd.members.length===0&&dd.methods.length===0?Gd+=ld:dd.members.length>0&&dd.methods.length===0&&(Gd+=ld*2);const jd=-Ld/2,Fd=-Gd/2,Ud=Od.rectangle(jd-od,Fd-od-(Nd?od:dd.members.length===0&&dd.methods.length===0?-od/2:0),Ld+2*od,Gd+2*od+(Nd?od*2:dd.members.length===0&&dd.methods.length===0?-od:0),kd),qd=pd.insert(()=>Ud,":first-child");qd.attr("class","basic label-container");const zd=qd.node().getBBox();pd.selectAll(".text").each((mf,Sf,Tf)=>{var Qf;const Af=select(Tf[Sf]),Ef=Af.attr("transform");let Nf=0;if(Ef){const ph=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(Ef);ph&&(Nf=parseFloat(ph[2]))}let If=Nf+Fd+od-(Nd?od:dd.members.length===0&&dd.methods.length===0?-od/2:0);ud||(If-=4);let Gf=jd;(Af.attr("class").includes("label-group")||Af.attr("class").includes("annotation-group"))&&(Gf=-((Qf=Af.node())==null?void 0:Qf.getBBox().width)/2||0,pd.selectAll("text").each(function(Xf,ph,qf){window.getComputedStyle(qf[ph]).textAnchor==="middle"&&(Gf=0)})),Af.attr("transform",`translate(${Gf}, ${If})`)});const Wd=pd.select(".annotation-group").node().getBBox().height-(Nd?od/2:0)||0,Jd=pd.select(".label-group").node().getBBox().height-(Nd?od/2:0)||0,_f=pd.select(".members-group").node().getBBox().height-(Nd?od/2:0)||0;if(dd.members.length>0||dd.methods.length>0||Nd){const mf=Od.line(zd.x,Wd+Jd+Fd+od,zd.x+zd.width,Wd+Jd+Fd+od,kd);pd.insert(()=>mf).attr("class","divider").attr("style",Ad)}if(Nd||dd.members.length>0||dd.methods.length>0){const mf=Od.line(zd.x,Wd+Jd+_f+Fd+ld*2+od,zd.x+zd.width,Wd+Jd+_f+Fd+od+ld*2,kd);pd.insert(()=>mf).attr("class","divider").attr("style",Ad)}if(dd.look!=="handDrawn"&&pd.selectAll("path").attr("style",Ad),qd.select(":nth-child(2)").attr("style",Ad),pd.selectAll(".divider").select("path").attr("style",Ad),qa.labelStyle?pd.selectAll("span").attr("style",qa.labelStyle):pd.selectAll("span").attr("style",Ad),!ud){const mf=RegExp(/color\s*:\s*([^;]*)/),Sf=mf.exec(Ad);if(Sf){const Tf=Sf[0].replace("color","fill");pd.selectAll("tspan").attr("style",Tf)}else if(md){const Tf=mf.exec(md);if(Tf){const Af=Tf[0].replace("color","fill");pd.selectAll("tspan").attr("style",Af)}}}return updateNodeBounds(qa,qd),qa.intersect=function(mf){return intersect_default.rect(qa,mf)},pd}__name(classBox,"classBox");var colorFromPriority=__name(Ra=>{switch(Ra){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function kanbanItem(Ra,qa,{config:nd}){var Sf,Tf;const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od||"";const ud=10,dd=qa.width;qa.width=(qa.width??200)-10;const{shapeSvg:pd,bbox:fd,label:md}=await labelHelper(Ra,qa,getNodeClasses(qa)),vd=qa.padding||10;let Ad="",Nd;"ticket"in qa&&qa.ticket&&((Sf=nd==null?void 0:nd.kanban)!=null&&Sf.ticketBaseUrl)&&(Ad=(Tf=nd==null?void 0:nd.kanban)==null?void 0:Tf.ticketBaseUrl.replace("#TICKET#",qa.ticket),Nd=pd.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",Ad).attr("target","_blank"));const Od={useHtmlLabels:qa.useHtmlLabels,labelStyle:qa.labelStyle||"",width:qa.width,img:qa.img,padding:qa.padding||8,centerLabel:!1};let kd,Ld;Nd?{label:kd,bbox:Ld}=await insertLabel(Nd,"ticket"in qa&&qa.ticket||"",Od):{label:kd,bbox:Ld}=await insertLabel(pd,"ticket"in qa&&qa.ticket||"",Od);const{label:Gd,bbox:jd}=await insertLabel(pd,"assigned"in qa&&qa.assigned||"",Od);qa.width=dd;const Fd=10,Ud=(qa==null?void 0:qa.width)||0,qd=Math.max(Ld.height,jd.height)/2,zd=Math.max(fd.height+Fd*2,(qa==null?void 0:qa.height)||0)+qd,Wd=-Ud/2,Jd=-zd/2;md.attr("transform","translate("+(vd-Ud/2)+", "+(-qd-fd.height/2)+")"),kd.attr("transform","translate("+(vd-Ud/2)+", "+(-qd+fd.height/2)+")"),Gd.attr("transform","translate("+(vd+Ud/2-jd.width-2*ud)+", "+(-qd+fd.height/2)+")");let _f;const{rx:Xd,ry:pf}=qa,{cssStyles:mf}=qa;if(qa.look==="handDrawn"){const Af=at$3.svg(pd),Ef=userNodeOverrides(qa,{}),Nf=Xd||pf?Af.path(createRoundedRectPathD(Wd,Jd,Ud,zd,Xd||0),Ef):Af.rectangle(Wd,Jd,Ud,zd,Ef);_f=pd.insert(()=>Nf,":first-child"),_f.attr("class","basic label-container").attr("style",mf||null)}else{_f=pd.insert("rect",":first-child"),_f.attr("class","basic label-container __APA__").attr("style",ld).attr("rx",Xd??5).attr("ry",pf??5).attr("x",Wd).attr("y",Jd).attr("width",Ud).attr("height",zd);const Af="priority"in qa&&qa.priority;if(Af){const Ef=pd.append("line"),Nf=Wd+2,If=Jd+Math.floor((Xd??0)/2),Gf=Jd+zd-Math.floor((Xd??0)/2);Ef.attr("x1",Nf).attr("y1",If).attr("x2",Nf).attr("y2",Gf).attr("stroke-width","4").attr("stroke",colorFromPriority(Af))}}return updateNodeBounds(qa,_f),qa.height=zd,qa.intersect=function(Af){return intersect_default.rect(qa,Af)},pd}__name(kanbanItem,"kanbanItem");var shapesDefs=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:squareRect2},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:roundedRect},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:stadium},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:subroutine},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:cylinder},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:circle$1},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:question},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:hexagon},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:lean_right},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:lean_left},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:trapezoid},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:inv_trapezoid},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:doublecircle},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:text},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:card},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:shadedProcess},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:stateStart},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:stateEnd},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:forkJoin},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:hourglass},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:curlyBraceLeft},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:curlyBraceRight},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:curlyBraces},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:lightningBolt},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:waveEdgedRectangle},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:halfRoundedRectangle},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:tiltedCylinder},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:linedCylinder},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:curvedTrapezoid},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:dividedRectangle},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:triangle},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:windowPane},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:filledCircle},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:trapezoidalPentagon},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:flippedTriangle},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:slopedRect},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:multiWaveEdgedRectangle},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:multiRect},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:bowTieRect},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:crossedCircle},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:taggedWaveEdgedRectangle},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:taggedRect},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:waveRectangle},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:rect_left_inv_arrow},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:linedWaveEdgedRect}],generateShapeMap=__name(()=>{const qa=[...Object.entries({state:state$1,choice,note,rectWithTitle,labelRect,iconSquare,iconCircle,icon,iconRounded,imageSquare,anchor,kanbanItem,classBox}),...shapesDefs.flatMap(nd=>[nd.shortName,..."aliases"in nd?nd.aliases:[],..."internalAliases"in nd?nd.internalAliases:[]].map(ld=>[ld,nd.handler]))];return Object.fromEntries(qa)},"generateShapeMap"),shapes2=generateShapeMap();function isValidShape(Ra){return Ra in shapes2}__name(isValidShape,"isValidShape");var nodeElems=new Map;async function insertNode(Ra,qa,nd){let od,ld;qa.shape==="rect"&&(qa.rx&&qa.ry?qa.shape="roundedRect":qa.shape="squareRect");const ud=qa.shape?shapes2[qa.shape]:void 0;if(!ud)throw new Error(`No such shape: ${qa.shape}. Please check your syntax.`);if(qa.link){let dd;nd.config.securityLevel==="sandbox"?dd="_top":qa.linkTarget&&(dd=qa.linkTarget||"_blank"),od=Ra.insert("svg:a").attr("xlink:href",qa.link).attr("target",dd??null),ld=await ud(od,qa,nd)}else ld=await ud(Ra,qa,nd),od=ld;return qa.tooltip&&ld.attr("title",qa.tooltip),nodeElems.set(qa.id,od),qa.haveCallback&&od.attr("class",od.attr("class")+" clickable"),od}__name(insertNode,"insertNode");var setNodeElem=__name((Ra,qa)=>{nodeElems.set(qa.id,Ra)},"setNodeElem"),clear2=__name(()=>{nodeElems.clear()},"clear"),positionNode=__name(Ra=>{const qa=nodeElems.get(Ra.id);log$1.trace("Transforming node",Ra.diff,Ra,"translate("+(Ra.x-Ra.width/2-5)+", "+Ra.width/2+")");const nd=8,od=Ra.diff||0;return Ra.clusterNode?qa.attr("transform","translate("+(Ra.x+od-Ra.width/2)+", "+(Ra.y-Ra.height/2-nd)+")"):qa.attr("transform","translate("+Ra.x+", "+Ra.y+")"),od},"positionNode"),markerOffsets={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function calculateDeltaAndAngle(Ra,qa){if(Ra===void 0||qa===void 0)return{angle:0,deltaX:0,deltaY:0};Ra=pointTransformer(Ra),qa=pointTransformer(qa);const[nd,od]=[Ra.x,Ra.y],[ld,ud]=[qa.x,qa.y],dd=ld-nd,pd=ud-od;return{angle:Math.atan(pd/dd),deltaX:dd,deltaY:pd}}__name(calculateDeltaAndAngle,"calculateDeltaAndAngle");var pointTransformer=__name(Ra=>Array.isArray(Ra)?{x:Ra[0],y:Ra[1]}:Ra,"pointTransformer"),getLineFunctionsWithOffset=__name(Ra=>({x:__name(function(qa,nd,od){let ld=0;const ud=pointTransformer(od[0]).x=0?1:-1)}else if(nd===od.length-1&&Object.hasOwn(markerOffsets,Ra.arrowTypeEnd)){const{angle:Od,deltaX:kd}=calculateDeltaAndAngle(od[od.length-1],od[od.length-2]);ld=markerOffsets[Ra.arrowTypeEnd]*Math.cos(Od)*(kd>=0?1:-1)}const dd=Math.abs(pointTransformer(qa).x-pointTransformer(od[od.length-1]).x),pd=Math.abs(pointTransformer(qa).y-pointTransformer(od[od.length-1]).y),fd=Math.abs(pointTransformer(qa).x-pointTransformer(od[0]).x),md=Math.abs(pointTransformer(qa).y-pointTransformer(od[0]).y),vd=markerOffsets[Ra.arrowTypeStart],Ad=markerOffsets[Ra.arrowTypeEnd],Nd=1;if(dd0&&pd0&&md=0?1:-1)}else if(nd===od.length-1&&Object.hasOwn(markerOffsets,Ra.arrowTypeEnd)){const{angle:Od,deltaY:kd}=calculateDeltaAndAngle(od[od.length-1],od[od.length-2]);ld=markerOffsets[Ra.arrowTypeEnd]*Math.abs(Math.sin(Od))*(kd>=0?1:-1)}const dd=Math.abs(pointTransformer(qa).y-pointTransformer(od[od.length-1]).y),pd=Math.abs(pointTransformer(qa).x-pointTransformer(od[od.length-1]).x),fd=Math.abs(pointTransformer(qa).y-pointTransformer(od[0]).y),md=Math.abs(pointTransformer(qa).x-pointTransformer(od[0]).x),vd=markerOffsets[Ra.arrowTypeStart],Ad=markerOffsets[Ra.arrowTypeEnd],Nd=1;if(dd0&&pd0&&md{qa.arrowTypeStart&&addEdgeMarker(Ra,"start",qa.arrowTypeStart,nd,od,ld),qa.arrowTypeEnd&&addEdgeMarker(Ra,"end",qa.arrowTypeEnd,nd,od,ld)},"addEdgeMarkers"),arrowTypesMap={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},addEdgeMarker=__name((Ra,qa,nd,od,ld,ud)=>{const dd=arrowTypesMap[nd];if(!dd){log$1.warn(`Unknown arrow type: ${nd}`);return}const pd=qa==="start"?"Start":"End";Ra.attr(`marker-${qa}`,`url(${od}#${ld}_${ud}-${dd}${pd})`)},"addEdgeMarker"),edgeLabels=new Map,terminalLabels=new Map,clear=__name(()=>{edgeLabels.clear(),terminalLabels.clear()},"clear"),getLabelStyles=__name(Ra=>Ra?Ra.reduce((nd,od)=>nd+";"+od,""):"","getLabelStyles"),insertEdgeLabel=__name(async(Ra,qa)=>{let nd=evaluate(getConfig2().flowchart.htmlLabels);const od=await createText(Ra,qa.label,{style:getLabelStyles(qa.labelStyle),useHtmlLabels:nd,addSvgBackground:!0,isNode:!1});log$1.info("abc82",qa,qa.labelType);const ld=Ra.insert("g").attr("class","edgeLabel"),ud=ld.insert("g").attr("class","label");ud.node().appendChild(od);let dd=od.getBBox();if(nd){const fd=od.children[0],md=select(od);dd=fd.getBoundingClientRect(),md.attr("width",dd.width),md.attr("height",dd.height)}ud.attr("transform","translate("+-dd.width/2+", "+-dd.height/2+")"),edgeLabels.set(qa.id,ld),qa.width=dd.width,qa.height=dd.height;let pd;if(qa.startLabelLeft){const fd=await createLabel_default(qa.startLabelLeft,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).startLeft=md,setTerminalWidth(pd,qa.startLabelLeft)}if(qa.startLabelRight){const fd=await createLabel_default(qa.startLabelRight,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=md.node().appendChild(fd),vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).startRight=md,setTerminalWidth(pd,qa.startLabelRight)}if(qa.endLabelLeft){const fd=await createLabel_default(qa.endLabelLeft,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),md.node().appendChild(fd),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).endLeft=md,setTerminalWidth(pd,qa.endLabelLeft)}if(qa.endLabelRight){const fd=await createLabel_default(qa.endLabelRight,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),md.node().appendChild(fd),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).endRight=md,setTerminalWidth(pd,qa.endLabelRight)}return od},"insertEdgeLabel");function setTerminalWidth(Ra,qa){getConfig2().flowchart.htmlLabels&&Ra&&(Ra.style.width=qa.length*9+"px",Ra.style.height="12px")}__name(setTerminalWidth,"setTerminalWidth");var positionEdgeLabel=__name((Ra,qa)=>{log$1.debug("Moving label abc88 ",Ra.id,Ra.label,edgeLabels.get(Ra.id),qa);let nd=qa.updatedPath?qa.updatedPath:qa.originalPath;const od=getConfig2(),{subGraphTitleTotalMargin:ld}=getSubGraphTitleMargins(od);if(Ra.label){const ud=edgeLabels.get(Ra.id);let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcLabelPosition(nd);log$1.debug("Moving label "+Ra.label+" from (",dd,",",pd,") to (",fd.x,",",fd.y,") abc88"),qa.updatedPath&&(dd=fd.x,pd=fd.y)}ud.attr("transform",`translate(${dd}, ${pd+ld/2})`)}if(Ra.startLabelLeft){const ud=terminalLabels.get(Ra.id).startLeft;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeStart?10:0,"start_left",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.startLabelRight){const ud=terminalLabels.get(Ra.id).startRight;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeStart?10:0,"start_right",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.endLabelLeft){const ud=terminalLabels.get(Ra.id).endLeft;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeEnd?10:0,"end_left",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.endLabelRight){const ud=terminalLabels.get(Ra.id).endRight;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeEnd?10:0,"end_right",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}},"positionEdgeLabel"),outsideNode=__name((Ra,qa)=>{const nd=Ra.x,od=Ra.y,ld=Math.abs(qa.x-nd),ud=Math.abs(qa.y-od),dd=Ra.width/2,pd=Ra.height/2;return ld>=dd||ud>=pd},"outsideNode"),intersection=__name((Ra,qa,nd)=>{log$1.debug(`intersection calc abc89: outsidePoint: ${JSON.stringify(qa)} insidePoint : ${JSON.stringify(nd)} - node : x:${Ra.x} y:${Ra.y} w:${Ra.width} h:${Ra.height}`);const od=Ra.x,ld=Ra.y,ud=Math.abs(od-nd.x),dd=Ra.width/2;let pd=nd.xMath.abs(od-qa.x)*fd){let Ad=nd.y{log$1.warn("abc88 cutPathAtIntersect",Ra,qa);let nd=[],od=Ra[0],ld=!1;return Ra.forEach(ud=>{if(log$1.info("abc88 checking point",ud,qa),!outsideNode(qa,ud)&&!ld){const dd=intersection(qa,od,ud);log$1.debug("abc88 inside",ud,od,dd),log$1.debug("abc88 intersection",dd,qa);let pd=!1;nd.forEach(fd=>{pd=pd||fd.x===dd.x&&fd.y===dd.y}),nd.some(fd=>fd.x===dd.x&&fd.y===dd.y)?log$1.warn("abc88 no intersect",dd,nd):nd.push(dd),ld=!0}else log$1.warn("abc88 outside",ud,od),od=ud,ld||nd.push(ud)}),log$1.debug("returning points",nd),nd},"cutPathAtIntersect");function extractCornerPoints(Ra){const qa=[],nd=[];for(let od=1;od5&&Math.abs(ud.y-ld.y)>5||ld.y===ud.y&&ud.x===dd.x&&Math.abs(ud.x-ld.x)>5&&Math.abs(ud.y-dd.y)>5)&&(qa.push(ud),nd.push(od))}return{cornerPoints:qa,cornerPointPositions:nd}}__name(extractCornerPoints,"extractCornerPoints");var findAdjacentPoint=__name(function(Ra,qa,nd){const od=qa.x-Ra.x,ld=qa.y-Ra.y,ud=Math.sqrt(od*od+ld*ld),dd=nd/ud;return{x:qa.x-dd*od,y:qa.y-dd*ld}},"findAdjacentPoint"),fixCorners=__name(function(Ra){const{cornerPointPositions:qa}=extractCornerPoints(Ra),nd=[];for(let od=0;od10&&Math.abs(ud.y-ld.y)>=10){log$1.debug("Corner point fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));const Od=5;dd.x===pd.x?Nd={x:md<0?pd.x-Od+Ad:pd.x+Od-Ad,y:vd<0?pd.y-Ad:pd.y+Ad}:Nd={x:md<0?pd.x-Ad:pd.x+Ad,y:vd<0?pd.y-Od+Ad:pd.y+Od-Ad}}else log$1.debug("Corner point skipping fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));nd.push(Nd,fd)}else nd.push(Ra[od]);return nd},"fixCorners"),insertEdge=__name(function(Ra,qa,nd,od,ld,ud,dd){const{handDrawnSeed:pd}=getConfig2();let fd=qa.points,md=!1;const vd=ld;var Ad=ud;Ad.intersect&&vd.intersect&&(fd=fd.slice(1,qa.points.length-1),fd.unshift(vd.intersect(fd[0])),log$1.debug("Last point APA12",qa.start,"-->",qa.end,fd[fd.length-1],Ad,Ad.intersect(fd[fd.length-1])),fd.push(Ad.intersect(fd[fd.length-1]))),qa.toCluster&&(log$1.info("to cluster abc88",nd.get(qa.toCluster)),fd=cutPathAtIntersect(qa.points,nd.get(qa.toCluster).node),md=!0),qa.fromCluster&&(log$1.debug("from cluster abc88",nd.get(qa.fromCluster),JSON.stringify(fd,null,2)),fd=cutPathAtIntersect(fd.reverse(),nd.get(qa.fromCluster).node).reverse(),md=!0);let Nd=fd.filter(Jd=>!Number.isNaN(Jd.y));Nd=fixCorners(Nd);let Od=curveBasis;qa.curve&&(Od=qa.curve);const{x:kd,y:Ld}=getLineFunctionsWithOffset(qa),Gd=line$1().x(kd).y(Ld).curve(Od);let jd;switch(qa.thickness){case"normal":jd="edge-thickness-normal";break;case"thick":jd="edge-thickness-thick";break;case"invisible":jd="edge-thickness-invisible";break;default:jd="edge-thickness-normal"}switch(qa.pattern){case"solid":jd+=" edge-pattern-solid";break;case"dotted":jd+=" edge-pattern-dotted";break;case"dashed":jd+=" edge-pattern-dashed";break;default:jd+=" edge-pattern-solid"}let Fd,Ud=Gd(Nd);const qd=Array.isArray(qa.style)?qa.style:[qa.style];if(qa.look==="handDrawn"){const Jd=at$3.svg(Ra);Object.assign([],Nd);const _f=Jd.path(Ud,{roughness:.3,seed:pd});jd+=" transition",Fd=select(_f).select("path").attr("id",qa.id).attr("class"," "+jd+(qa.classes?" "+qa.classes:"")).attr("style",qd?qd.reduce((pf,mf)=>pf+";"+mf,""):"");let Xd=Fd.attr("d");Fd.attr("d",Xd),Ra.node().appendChild(Fd.node())}else Fd=Ra.append("path").attr("d",Ud).attr("id",qa.id).attr("class"," "+jd+(qa.classes?" "+qa.classes:"")).attr("style",qd?qd.reduce((Jd,_f)=>Jd+";"+_f,""):"");let zd="";(getConfig2().flowchart.arrowMarkerAbsolute||getConfig2().state.arrowMarkerAbsolute)&&(zd=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,zd=zd.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),log$1.info("arrowTypeStart",qa.arrowTypeStart),log$1.info("arrowTypeEnd",qa.arrowTypeEnd),addEdgeMarkers(Fd,qa,zd,dd,od);let Wd={};return md&&(Wd.updatedPath=fd),Wd.originalPath=qa.points,Wd},"insertEdge"),insertMarkers=__name((Ra,qa,nd,od)=>{qa.forEach(ld=>{markers[ld](Ra,nd,od)})},"insertMarkers"),extension=__name((Ra,qa,nd)=>{log$1.trace("Making markers for ",nd),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-extensionStart").attr("class","marker extension "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-extensionEnd").attr("class","marker extension "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),composition=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-compositionStart").attr("class","marker composition "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-compositionEnd").attr("class","marker composition "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),aggregation=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-aggregationStart").attr("class","marker aggregation "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-aggregationEnd").attr("class","marker aggregation "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),dependency=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-dependencyStart").attr("class","marker dependency "+qa).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-dependencyEnd").attr("class","marker dependency "+qa).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),lollipop=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-lollipopStart").attr("class","marker lollipop "+qa).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-lollipopEnd").attr("class","marker lollipop "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),point=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-pointEnd").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-pointStart").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),circle=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-circleEnd").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-circleStart").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),cross=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-crossEnd").attr("class","marker cross "+qa).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-crossStart").attr("class","marker cross "+qa).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),markers={extension,composition,aggregation,dependency,lollipop,point,circle,cross,barb},markers_default=insertMarkers,internalHelpers={common:common_default,getConfig:getConfig$2,insertCluster,insertEdge,insertEdgeLabel,insertMarkers:markers_default,insertNode,interpolateToCurve,labelHelper,log:log$1,positionEdgeLabel},layoutAlgorithms={},registerLayoutLoaders=__name(Ra=>{for(const qa of Ra)layoutAlgorithms[qa.name]=qa},"registerLayoutLoaders"),registerDefaultLayoutLoaders=__name(()=>{registerLayoutLoaders([{name:"dagre",loader:__name(async()=>await __vitePreload(()=>import("./md-dagre-4EVJKHTY-Cs_NiR1S.js"),__vite__mapDeps([0,1,2,3,4,5])),"loader")}])},"registerDefaultLayoutLoaders");registerDefaultLayoutLoaders();var render$1=__name(async(Ra,qa)=>{if(!(Ra.layoutAlgorithm in layoutAlgorithms))throw new Error(`Unknown layout algorithm: ${Ra.layoutAlgorithm}`);const nd=layoutAlgorithms[Ra.layoutAlgorithm];return(await nd.loader()).render(Ra,qa,internalHelpers,{algorithm:nd.algorithm})},"render"),getRegisteredLayoutAlgorithm=__name((Ra="",{fallback:qa="dagre"}={})=>{if(Ra in layoutAlgorithms)return Ra;if(qa in layoutAlgorithms)return log$1.warn(`Layout algorithm ${Ra} is not registered. Using ${qa} as fallback.`),qa;throw new Error(`Both layout algorithms ${Ra} and ${qa} are not registered.`)},"getRegisteredLayoutAlgorithm"),version$2="11.4.1",selectSvgElement=__name(Ra=>{var ld;const{securityLevel:qa}=getConfig2();let nd=select("body");if(qa==="sandbox"){const dd=((ld=select(`#i${Ra}`).node())==null?void 0:ld.contentDocument)??document;nd=select(dd.body)}return nd.select(`#${Ra}`)},"selectSvgElement"),COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs=Math.abs,from=String.fromCharCode;function trim$1(Ra){return Ra.trim()}function replace(Ra,qa,nd){return Ra.replace(qa,nd)}function indexof(Ra,qa,nd){return Ra.indexOf(qa,nd)}function charat(Ra,qa){return Ra.charCodeAt(qa)|0}function substr(Ra,qa,nd){return Ra.slice(qa,nd)}function strlen(Ra){return Ra.length}function sizeof(Ra){return Ra.length}function append(Ra,qa){return qa.push(Ra),Ra}var line=1,column=1,length=0,position=0,character=0,characters="";function node(Ra,qa,nd,od,ld,ud,dd,pd){return{value:Ra,root:qa,parent:nd,type:od,props:ld,children:ud,line,column,length:dd,return:"",siblings:pd}}function char(){return character}function prev(){return character=position>0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position2||token$1(character)>3?"":" "}function escaping(Ra,qa){for(;--qa&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(Ra,caret()+(qa<6&&peek()==32&&next()==32))}function delimiter(Ra){for(;next();)switch(character){case Ra:return position;case 34:case 39:Ra!==34&&Ra!==39&&delimiter(character);break;case 40:Ra===41&&delimiter(Ra);break;case 92:next();break}return position}function commenter(Ra,qa){for(;next()&&Ra+character!==57;)if(Ra+character===84&&peek()===47)break;return"/*"+slice(qa,position-1)+"*"+from(Ra===47?Ra:next())}function identifier(Ra){for(;!token$1(peek());)next();return slice(Ra,position)}function compile(Ra){return dealloc(parse$1("",null,null,null,[""],Ra=alloc(Ra),0,[0],Ra))}function parse$1(Ra,qa,nd,od,ld,ud,dd,pd,fd){for(var md=0,vd=0,Ad=dd,Nd=0,Od=0,kd=0,Ld=1,Gd=1,jd=1,Fd=0,Ud="",qd=ld,zd=ud,Wd=od,Jd=Ud;Gd;)switch(kd=Fd,Fd=next()){case 40:if(kd!=108&&charat(Jd,Ad-1)==58){indexof(Jd+=replace(delimit(Fd),"&","&\f"),"&\f",abs(md?pd[md-1]:0))!=-1&&(jd=-1);break}case 34:case 39:case 91:Jd+=delimit(Fd);break;case 9:case 10:case 13:case 32:Jd+=whitespace(kd);break;case 92:Jd+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),qa,nd,fd),fd),(token$1(kd||1)==5||token$1(peek()||1)==5)&&strlen(Jd)&&substr(Jd,-1,void 0)!==" "&&(Jd+=" ");break;default:Jd+="/"}break;case 123*Ld:pd[md++]=strlen(Jd)*jd;case 125*Ld:case 59:case 0:switch(Fd){case 0:case 125:Gd=0;case 59+vd:jd==-1&&(Jd=replace(Jd,/\f/g,"")),Od>0&&(strlen(Jd)-Ad||Ld===0&&kd===47)&&append(Od>32?declaration(Jd+";",od,nd,Ad-1,fd):declaration(replace(Jd," ","")+";",od,nd,Ad-2,fd),fd);break;case 59:Jd+=";";default:if(append(Wd=ruleset(Jd,qa,nd,md,vd,ld,pd,Ud,qd=[],zd=[],Ad,ud),ud),Fd===123)if(vd===0)parse$1(Jd,qa,Wd,Wd,qd,ud,Ad,pd,zd);else switch(Nd===99&&charat(Jd,3)===110?100:Nd){case 100:case 108:case 109:case 115:parse$1(Ra,Wd,Wd,od&&append(ruleset(Ra,Wd,Wd,0,0,ld,pd,Ud,ld,qd=[],Ad,zd),zd),ld,zd,Ad,pd,od?qd:zd);break;default:parse$1(Jd,Wd,Wd,Wd,[""],zd,0,pd,zd)}}md=vd=Od=0,Ld=jd=1,Ud=Jd="",Ad=dd;break;case 58:Ad=1+strlen(Jd),Od=kd;default:if(Ld<1){if(Fd==123)--Ld;else if(Fd==125&&Ld++==0&&prev()==125)continue}switch(Jd+=from(Fd),Fd*Ld){case 38:jd=vd>0?1:(Jd+="\f",-1);break;case 44:pd[md++]=(strlen(Jd)-1)*jd,jd=1;break;case 64:peek()===45&&(Jd+=delimit(next())),Nd=peek(),vd=Ad=strlen(Ud=Jd+=identifier(caret())),Fd++;break;case 45:kd===45&&strlen(Jd)==2&&(Ld=0)}}return ud}function ruleset(Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad){for(var Nd=ld-1,Od=ld===0?ud:[""],kd=sizeof(Od),Ld=0,Gd=0,jd=0;Ld0?Od[Fd]+" "+Ud:replace(Ud,/&\f/g,Od[Fd])))&&(fd[jd++]=qd);return node(Ra,qa,nd,ld===0?RULESET:pd,fd,md,vd,Ad)}function comment(Ra,qa,nd,od){return node(Ra,qa,nd,COMMENT,from(char()),substr(Ra,2,-2),0,od)}function declaration(Ra,qa,nd,od,ld){return node(Ra,qa,nd,DECLARATION,substr(Ra,0,od),substr(Ra,od+1,-1),od,ld)}function serialize(Ra,qa){for(var nd="",od=0;od/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(Ra),"detector"),loader=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-c4Diagram-6F5ED5ID-Bo9BgkNY.js");return{diagram:qa}},__vite__mapDeps([6,7]));return{id,diagram:Ra}},"loader"),plugin={id,detector,loader},c4Detector_default=plugin,id2="flowchart",detector2=__name((Ra,qa)=>{var nd,od;return((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"||((od=qa==null?void 0:qa.flowchart)==null?void 0:od.defaultRenderer)==="elk"?!1:/^\s*graph/.test(Ra)},"detector"),loader2=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-xPaGUtIu.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id2,diagram:Ra}},"loader"),plugin2={id:id2,detector:detector2,loader:loader2},flowDetector_default=plugin2,id3="flowchart-v2",detector3=__name((Ra,qa)=>{var nd,od,ld;return((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="dagre-d3"?!1:(((od=qa==null?void 0:qa.flowchart)==null?void 0:od.defaultRenderer)==="elk"&&(qa.layout="elk"),/^\s*graph/.test(Ra)&&((ld=qa==null?void 0:qa.flowchart)==null?void 0:ld.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(Ra))},"detector"),loader3=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-xPaGUtIu.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id3,diagram:Ra}},"loader"),plugin3={id:id3,detector:detector3,loader:loader3},flowDetector_v2_default=plugin3,id4="er",detector4=__name(Ra=>/^\s*erDiagram/.test(Ra),"detector"),loader4=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-erDiagram-6RL3IURR-Lowrmixy.js");return{diagram:qa}},__vite__mapDeps([11,1,2,3,4]));return{id:id4,diagram:Ra}},"loader"),plugin4={id:id4,detector:detector4,loader:loader4},erDetector_default=plugin4,id5="gitGraph",detector5=__name(Ra=>/^\s*gitGraph/.test(Ra),"detector"),loader5=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-gitGraphDiagram-NRZ2UAAF-DUTu-Bob.js");return{diagram:qa}},__vite__mapDeps([12,13,14,15,2,4,5]));return{id:id5,diagram:Ra}},"loader"),plugin5={id:id5,detector:detector5,loader:loader5},gitGraphDetector_default=plugin5,id6="gantt",detector6=__name(Ra=>/^\s*gantt/.test(Ra),"detector"),loader6=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-ganttDiagram-NTVNEXSI-cAHWgi6a.js");return{diagram:qa}},__vite__mapDeps([16,17,18]));return{id:id6,diagram:Ra}},"loader"),plugin6={id:id6,detector:detector6,loader:loader6},ganttDetector_default=plugin6,id7="info",detector7=__name(Ra=>/^\s*info/.test(Ra),"detector"),loader7=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-infoDiagram-A4XQUW5V-B6QSl22j.js");return{diagram:qa}},__vite__mapDeps([19,15,2,4,5]));return{id:id7,diagram:Ra}},"loader"),info={id:id7,detector:detector7,loader:loader7},id8="pie",detector8=__name(Ra=>/^\s*pie/.test(Ra),"detector"),loader8=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-pieDiagram-YF2LJOPJ-8PtYrOoZ.js");return{diagram:qa}},__vite__mapDeps([20,13,15,2,4,5,21,22,18]));return{id:id8,diagram:Ra}},"loader"),pie={id:id8,detector:detector8,loader:loader8},id9="quadrantChart",detector9=__name(Ra=>/^\s*quadrantChart/.test(Ra),"detector"),loader9=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-quadrantDiagram-OS5C2QUG-C_h7D4qT.js");return{diagram:qa}},__vite__mapDeps([23,17,18]));return{id:id9,diagram:Ra}},"loader"),plugin7={id:id9,detector:detector9,loader:loader9},quadrantDetector_default=plugin7,id10="xychart",detector10=__name(Ra=>/^\s*xychart-beta/.test(Ra),"detector"),loader10=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-xychartDiagram-6QU3TZC5-C7K88e2q.js");return{diagram:qa}},__vite__mapDeps([24,18,22,17]));return{id:id10,diagram:Ra}},"loader"),plugin8={id:id10,detector:detector10,loader:loader10},xychartDetector_default=plugin8,id11="requirement",detector11=__name(Ra=>/^\s*requirement(Diagram)?/.test(Ra),"detector"),loader11=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-requirementDiagram-MIRIMTAZ-CsEWpznw.js");return{diagram:qa}},__vite__mapDeps([25,1,2,3,4]));return{id:id11,diagram:Ra}},"loader"),plugin9={id:id11,detector:detector11,loader:loader11},requirementDetector_default=plugin9,id12="sequence",detector12=__name(Ra=>/^\s*sequenceDiagram/.test(Ra),"detector"),loader12=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-sequenceDiagram-G6AWOVSC-DFnPOvjK.js");return{diagram:qa}},__vite__mapDeps([26,7,14]));return{id:id12,diagram:Ra}},"loader"),plugin10={id:id12,detector:detector12,loader:loader12},sequenceDetector_default=plugin10,id13="class",detector13=__name((Ra,qa)=>{var nd;return((nd=qa==null?void 0:qa.class)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(Ra)},"detector"),loader13=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-classDiagram-LNE6IOMH-DgQA_Iq1.js");return{diagram:qa}},__vite__mapDeps([27,28,9]));return{id:id13,diagram:Ra}},"loader"),plugin11={id:id13,detector:detector13,loader:loader13},classDetector_default=plugin11,id14="classDiagram",detector14=__name((Ra,qa)=>{var nd;return/^\s*classDiagram/.test(Ra)&&((nd=qa==null?void 0:qa.class)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(Ra)},"detector"),loader14=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-classDiagram-v2-MQ7JQ4JX-DgQA_Iq1.js");return{diagram:qa}},__vite__mapDeps([29,28,9]));return{id:id14,diagram:Ra}},"loader"),plugin12={id:id14,detector:detector14,loader:loader14},classDetector_V2_default=plugin12,id15="state",detector15=__name((Ra,qa)=>{var nd;return((nd=qa==null?void 0:qa.state)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(Ra)},"detector"),loader15=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-stateDiagram-MAYHULR4-D3vUYtN1.js");return{diagram:qa}},__vite__mapDeps([30,31,9,1,2,3,4]));return{id:id15,diagram:Ra}},"loader"),plugin13={id:id15,detector:detector15,loader:loader15},stateDetector_default=plugin13,id16="stateDiagram",detector16=__name((Ra,qa)=>{var nd;return!!(/^\s*stateDiagram-v2/.test(Ra)||/^\s*stateDiagram/.test(Ra)&&((nd=qa==null?void 0:qa.state)==null?void 0:nd.defaultRenderer)==="dagre-wrapper")},"detector"),loader16=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-stateDiagram-v2-4JROLMXI-cgZ642t-.js");return{diagram:qa}},__vite__mapDeps([32,31,9]));return{id:id16,diagram:Ra}},"loader"),plugin14={id:id16,detector:detector16,loader:loader16},stateDetector_V2_default=plugin14,id17="journey",detector17=__name(Ra=>/^\s*journey/.test(Ra),"detector"),loader17=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-journeyDiagram-G5WM74LC-Bt4ZsCdk.js");return{diagram:qa}},__vite__mapDeps([33,7,21]));return{id:id17,diagram:Ra}},"loader"),plugin15={id:id17,detector:detector17,loader:loader17},journeyDetector_default=plugin15,draw=__name((Ra,qa,nd)=>{log$1.debug(`rendering svg for syntax error -`);const od=selectSvgElement(qa),ld=od.append("g");od.attr("viewBox","0 0 2412 512"),configureSvgSize(od,100,512,!0),ld.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),ld.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),ld.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),ld.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),ld.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),ld.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),ld.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),ld.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${nd}`)},"draw"),renderer={draw},errorRenderer_default=renderer,diagram={db:{},renderer,parser:{parse:__name(()=>{},"parse")}},errorDiagram_default=diagram,id18="flowchart-elk",detector18=__name((Ra,qa={})=>{var nd;return/^\s*flowchart-elk/.test(Ra)||/^\s*flowchart|graph/.test(Ra)&&((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="elk"?(qa.layout="elk",!0):!1},"detector"),loader18=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-xPaGUtIu.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id18,diagram:Ra}},"loader"),plugin16={id:id18,detector:detector18,loader:loader18},detector_default=plugin16,id19="timeline",detector19=__name(Ra=>/^\s*timeline/.test(Ra),"detector"),loader19=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-timeline-definition-U7ZMHBDA-BFlSnhx5.js");return{diagram:qa}},__vite__mapDeps([34,21]));return{id:id19,diagram:Ra}},"loader"),plugin17={id:id19,detector:detector19,loader:loader19},detector_default2=plugin17,id20="mindmap",detector20=__name(Ra=>/^\s*mindmap/.test(Ra),"detector"),loader20=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-mindmap-definition-GWI6TPTV-D0S0WzK8.js");return{diagram:qa}},__vite__mapDeps([35,36]));return{id:id20,diagram:Ra}},"loader"),plugin18={id:id20,detector:detector20,loader:loader20},detector_default3=plugin18,id21="kanban",detector21=__name(Ra=>/^\s*kanban/.test(Ra),"detector"),loader21=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-kanban-definition-QRCXZQQD-D2I46iO-.js");return{diagram:qa}},[]);return{id:id21,diagram:Ra}},"loader"),plugin19={id:id21,detector:detector21,loader:loader21},detector_default4=plugin19,id22="sankey",detector22=__name(Ra=>/^\s*sankey-beta/.test(Ra),"detector"),loader22=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-sankeyDiagram-Y46BX6SQ-BwN7ds3P.js");return{diagram:qa}},__vite__mapDeps([37,22,18]));return{id:id22,diagram:Ra}},"loader"),plugin20={id:id22,detector:detector22,loader:loader22},sankeyDetector_default=plugin20,id23="packet",detector23=__name(Ra=>/^\s*packet-beta/.test(Ra),"detector"),loader23=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-diagram-QW4FP2JN-KUS9RBZO.js");return{diagram:qa}},__vite__mapDeps([38,13,15,2,4,5]));return{id:id23,diagram:Ra}},"loader"),packet={id:id23,detector:detector23,loader:loader23},id24="block",detector24=__name(Ra=>/^\s*block-beta/.test(Ra),"detector"),loader24=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-blockDiagram-ZHA2E4KO-CvaWxelJ.js");return{diagram:qa}},__vite__mapDeps([39,5,2,1,10]));return{id:id24,diagram:Ra}},"loader"),plugin21={id:id24,detector:detector24,loader:loader24},blockDetector_default=plugin21,id25="architecture",detector25=__name(Ra=>/^\s*architecture/.test(Ra),"detector"),loader25=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-architectureDiagram-UYN6MBPD-sGaQdzaw.js");return{diagram:qa}},__vite__mapDeps([40,13,14,15,2,4,5,36]));return{id:id25,diagram:Ra}},"loader"),architecture={id:id25,detector:detector25,loader:loader25},architectureDetector_default=architecture,hasLoadedDiagrams=!1,addDiagrams=__name(()=>{hasLoadedDiagrams||(hasLoadedDiagrams=!0,registerDiagram("error",errorDiagram_default,Ra=>Ra.toLowerCase().trim()==="error"),registerDiagram("---",{db:{clear:__name(()=>{},"clear")},styles:{},renderer:{draw:__name(()=>{},"draw")},parser:{parse:__name(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:__name(()=>null,"init")},Ra=>Ra.toLowerCase().trimStart().startsWith("---")),registerLazyLoadedDiagrams(c4Detector_default,detector_default4,classDetector_V2_default,classDetector_default,erDetector_default,ganttDetector_default,info,pie,requirementDetector_default,sequenceDetector_default,detector_default,flowDetector_v2_default,flowDetector_default,detector_default3,detector_default2,gitGraphDetector_default,stateDetector_V2_default,stateDetector_default,journeyDetector_default,quadrantDetector_default,sankeyDetector_default,packet,xychartDetector_default,blockDetector_default,architectureDetector_default))},"addDiagrams"),loadRegisteredDiagrams=__name(async()=>{log$1.debug("Loading registered diagrams");const qa=(await Promise.allSettled(Object.entries(detectors).map(async([nd,{detector:od,loader:ld}])=>{if(ld)try{getDiagram(nd)}catch{try{const{diagram:ud,id:dd}=await ld();registerDiagram(dd,ud,od)}catch(ud){throw log$1.error(`Failed to load external diagram with key ${nd}. Removing from detectors.`),delete detectors[nd],ud}}}))).filter(nd=>nd.status==="rejected");if(qa.length>0){log$1.error(`Failed to load ${qa.length} external diagrams`);for(const nd of qa)log$1.error(nd);throw new Error(`Failed to load ${qa.length} external diagrams`)}},"loadRegisteredDiagrams"),SVG_ROLE="graphics-document document";function setA11yDiagramInfo(Ra,qa){Ra.attr("role",SVG_ROLE),qa!==""&&Ra.attr("aria-roledescription",qa)}__name(setA11yDiagramInfo,"setA11yDiagramInfo");function addSVGa11yTitleDescription(Ra,qa,nd,od){if(Ra.insert!==void 0){if(nd){const ld=`chart-desc-${od}`;Ra.attr("aria-describedby",ld),Ra.insert("desc",":first-child").attr("id",ld).text(nd)}if(qa){const ld=`chart-title-${od}`;Ra.attr("aria-labelledby",ld),Ra.insert("title",":first-child").attr("id",ld).text(qa)}}}__name(addSVGa11yTitleDescription,"addSVGa11yTitleDescription");var QE,Diagram=(QE=class{constructor(qa,nd,od,ld,ud){this.type=qa,this.text=nd,this.db=od,this.parser=ld,this.renderer=ud}static async fromText(qa,nd={}){var md,vd;const od=getConfig$2(),ld=detectType$1(qa,od);qa=encodeEntities(qa)+` + node : x:${Ra.x} y:${Ra.y} w:${Ra.width} h:${Ra.height}`);const od=Ra.x,ld=Ra.y,ud=Math.abs(od-nd.x),dd=Ra.width/2;let pd=nd.xMath.abs(od-qa.x)*fd){let Ad=nd.y{log$1.warn("abc88 cutPathAtIntersect",Ra,qa);let nd=[],od=Ra[0],ld=!1;return Ra.forEach(ud=>{if(log$1.info("abc88 checking point",ud,qa),!outsideNode(qa,ud)&&!ld){const dd=intersection(qa,od,ud);log$1.debug("abc88 inside",ud,od,dd),log$1.debug("abc88 intersection",dd,qa);let pd=!1;nd.forEach(fd=>{pd=pd||fd.x===dd.x&&fd.y===dd.y}),nd.some(fd=>fd.x===dd.x&&fd.y===dd.y)?log$1.warn("abc88 no intersect",dd,nd):nd.push(dd),ld=!0}else log$1.warn("abc88 outside",ud,od),od=ud,ld||nd.push(ud)}),log$1.debug("returning points",nd),nd},"cutPathAtIntersect");function extractCornerPoints(Ra){const qa=[],nd=[];for(let od=1;od5&&Math.abs(ud.y-ld.y)>5||ld.y===ud.y&&ud.x===dd.x&&Math.abs(ud.x-ld.x)>5&&Math.abs(ud.y-dd.y)>5)&&(qa.push(ud),nd.push(od))}return{cornerPoints:qa,cornerPointPositions:nd}}__name(extractCornerPoints,"extractCornerPoints");var findAdjacentPoint=__name(function(Ra,qa,nd){const od=qa.x-Ra.x,ld=qa.y-Ra.y,ud=Math.sqrt(od*od+ld*ld),dd=nd/ud;return{x:qa.x-dd*od,y:qa.y-dd*ld}},"findAdjacentPoint"),fixCorners=__name(function(Ra){const{cornerPointPositions:qa}=extractCornerPoints(Ra),nd=[];for(let od=0;od10&&Math.abs(ud.y-ld.y)>=10){log$1.debug("Corner point fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));const Od=5;dd.x===pd.x?Nd={x:md<0?pd.x-Od+Ad:pd.x+Od-Ad,y:vd<0?pd.y-Ad:pd.y+Ad}:Nd={x:md<0?pd.x-Ad:pd.x+Ad,y:vd<0?pd.y-Od+Ad:pd.y+Od-Ad}}else log$1.debug("Corner point skipping fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));nd.push(Nd,fd)}else nd.push(Ra[od]);return nd},"fixCorners"),insertEdge=__name(function(Ra,qa,nd,od,ld,ud,dd){const{handDrawnSeed:pd}=getConfig2();let fd=qa.points,md=!1;const vd=ld;var Ad=ud;Ad.intersect&&vd.intersect&&(fd=fd.slice(1,qa.points.length-1),fd.unshift(vd.intersect(fd[0])),log$1.debug("Last point APA12",qa.start,"-->",qa.end,fd[fd.length-1],Ad,Ad.intersect(fd[fd.length-1])),fd.push(Ad.intersect(fd[fd.length-1]))),qa.toCluster&&(log$1.info("to cluster abc88",nd.get(qa.toCluster)),fd=cutPathAtIntersect(qa.points,nd.get(qa.toCluster).node),md=!0),qa.fromCluster&&(log$1.debug("from cluster abc88",nd.get(qa.fromCluster),JSON.stringify(fd,null,2)),fd=cutPathAtIntersect(fd.reverse(),nd.get(qa.fromCluster).node).reverse(),md=!0);let Nd=fd.filter(Jd=>!Number.isNaN(Jd.y));Nd=fixCorners(Nd);let Od=curveBasis;qa.curve&&(Od=qa.curve);const{x:kd,y:Ld}=getLineFunctionsWithOffset(qa),Gd=line$1().x(kd).y(Ld).curve(Od);let jd;switch(qa.thickness){case"normal":jd="edge-thickness-normal";break;case"thick":jd="edge-thickness-thick";break;case"invisible":jd="edge-thickness-invisible";break;default:jd="edge-thickness-normal"}switch(qa.pattern){case"solid":jd+=" edge-pattern-solid";break;case"dotted":jd+=" edge-pattern-dotted";break;case"dashed":jd+=" edge-pattern-dashed";break;default:jd+=" edge-pattern-solid"}let Fd,Ud=Gd(Nd);const qd=Array.isArray(qa.style)?qa.style:[qa.style];if(qa.look==="handDrawn"){const Jd=at$3.svg(Ra);Object.assign([],Nd);const _f=Jd.path(Ud,{roughness:.3,seed:pd});jd+=" transition",Fd=select(_f).select("path").attr("id",qa.id).attr("class"," "+jd+(qa.classes?" "+qa.classes:"")).attr("style",qd?qd.reduce((pf,mf)=>pf+";"+mf,""):"");let Xd=Fd.attr("d");Fd.attr("d",Xd),Ra.node().appendChild(Fd.node())}else Fd=Ra.append("path").attr("d",Ud).attr("id",qa.id).attr("class"," "+jd+(qa.classes?" "+qa.classes:"")).attr("style",qd?qd.reduce((Jd,_f)=>Jd+";"+_f,""):"");let zd="";(getConfig2().flowchart.arrowMarkerAbsolute||getConfig2().state.arrowMarkerAbsolute)&&(zd=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,zd=zd.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),log$1.info("arrowTypeStart",qa.arrowTypeStart),log$1.info("arrowTypeEnd",qa.arrowTypeEnd),addEdgeMarkers(Fd,qa,zd,dd,od);let Wd={};return md&&(Wd.updatedPath=fd),Wd.originalPath=qa.points,Wd},"insertEdge"),insertMarkers=__name((Ra,qa,nd,od)=>{qa.forEach(ld=>{markers[ld](Ra,nd,od)})},"insertMarkers"),extension=__name((Ra,qa,nd)=>{log$1.trace("Making markers for ",nd),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-extensionStart").attr("class","marker extension "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-extensionEnd").attr("class","marker extension "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),composition=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-compositionStart").attr("class","marker composition "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-compositionEnd").attr("class","marker composition "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),aggregation=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-aggregationStart").attr("class","marker aggregation "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-aggregationEnd").attr("class","marker aggregation "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),dependency=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-dependencyStart").attr("class","marker dependency "+qa).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-dependencyEnd").attr("class","marker dependency "+qa).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),lollipop=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-lollipopStart").attr("class","marker lollipop "+qa).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-lollipopEnd").attr("class","marker lollipop "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),point=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-pointEnd").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-pointStart").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),circle=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-circleEnd").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-circleStart").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),cross=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-crossEnd").attr("class","marker cross "+qa).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-crossStart").attr("class","marker cross "+qa).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),markers={extension,composition,aggregation,dependency,lollipop,point,circle,cross,barb},markers_default=insertMarkers,internalHelpers={common:common_default,getConfig:getConfig$2,insertCluster,insertEdge,insertEdgeLabel,insertMarkers:markers_default,insertNode,interpolateToCurve,labelHelper,log:log$1,positionEdgeLabel},layoutAlgorithms={},registerLayoutLoaders=__name(Ra=>{for(const qa of Ra)layoutAlgorithms[qa.name]=qa},"registerLayoutLoaders"),registerDefaultLayoutLoaders=__name(()=>{registerLayoutLoaders([{name:"dagre",loader:__name(async()=>await __vitePreload(()=>import("./md-dagre-4EVJKHTY-CrtTNbcm.js"),__vite__mapDeps([0,1,2,3,4,5])),"loader")}])},"registerDefaultLayoutLoaders");registerDefaultLayoutLoaders();var render$1=__name(async(Ra,qa)=>{if(!(Ra.layoutAlgorithm in layoutAlgorithms))throw new Error(`Unknown layout algorithm: ${Ra.layoutAlgorithm}`);const nd=layoutAlgorithms[Ra.layoutAlgorithm];return(await nd.loader()).render(Ra,qa,internalHelpers,{algorithm:nd.algorithm})},"render"),getRegisteredLayoutAlgorithm=__name((Ra="",{fallback:qa="dagre"}={})=>{if(Ra in layoutAlgorithms)return Ra;if(qa in layoutAlgorithms)return log$1.warn(`Layout algorithm ${Ra} is not registered. Using ${qa} as fallback.`),qa;throw new Error(`Both layout algorithms ${Ra} and ${qa} are not registered.`)},"getRegisteredLayoutAlgorithm"),version$2="11.4.1",selectSvgElement=__name(Ra=>{var ld;const{securityLevel:qa}=getConfig2();let nd=select("body");if(qa==="sandbox"){const dd=((ld=select(`#i${Ra}`).node())==null?void 0:ld.contentDocument)??document;nd=select(dd.body)}return nd.select(`#${Ra}`)},"selectSvgElement"),COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs=Math.abs,from=String.fromCharCode;function trim$1(Ra){return Ra.trim()}function replace(Ra,qa,nd){return Ra.replace(qa,nd)}function indexof(Ra,qa,nd){return Ra.indexOf(qa,nd)}function charat(Ra,qa){return Ra.charCodeAt(qa)|0}function substr(Ra,qa,nd){return Ra.slice(qa,nd)}function strlen(Ra){return Ra.length}function sizeof(Ra){return Ra.length}function append(Ra,qa){return qa.push(Ra),Ra}var line=1,column=1,length=0,position=0,character=0,characters="";function node(Ra,qa,nd,od,ld,ud,dd,pd){return{value:Ra,root:qa,parent:nd,type:od,props:ld,children:ud,line,column,length:dd,return:"",siblings:pd}}function char(){return character}function prev(){return character=position>0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position2||token$1(character)>3?"":" "}function escaping(Ra,qa){for(;--qa&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(Ra,caret()+(qa<6&&peek()==32&&next()==32))}function delimiter(Ra){for(;next();)switch(character){case Ra:return position;case 34:case 39:Ra!==34&&Ra!==39&&delimiter(character);break;case 40:Ra===41&&delimiter(Ra);break;case 92:next();break}return position}function commenter(Ra,qa){for(;next()&&Ra+character!==57;)if(Ra+character===84&&peek()===47)break;return"/*"+slice(qa,position-1)+"*"+from(Ra===47?Ra:next())}function identifier(Ra){for(;!token$1(peek());)next();return slice(Ra,position)}function compile(Ra){return dealloc(parse$1("",null,null,null,[""],Ra=alloc(Ra),0,[0],Ra))}function parse$1(Ra,qa,nd,od,ld,ud,dd,pd,fd){for(var md=0,vd=0,Ad=dd,Nd=0,Od=0,kd=0,Ld=1,Gd=1,jd=1,Fd=0,Ud="",qd=ld,zd=ud,Wd=od,Jd=Ud;Gd;)switch(kd=Fd,Fd=next()){case 40:if(kd!=108&&charat(Jd,Ad-1)==58){indexof(Jd+=replace(delimit(Fd),"&","&\f"),"&\f",abs(md?pd[md-1]:0))!=-1&&(jd=-1);break}case 34:case 39:case 91:Jd+=delimit(Fd);break;case 9:case 10:case 13:case 32:Jd+=whitespace(kd);break;case 92:Jd+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),qa,nd,fd),fd),(token$1(kd||1)==5||token$1(peek()||1)==5)&&strlen(Jd)&&substr(Jd,-1,void 0)!==" "&&(Jd+=" ");break;default:Jd+="/"}break;case 123*Ld:pd[md++]=strlen(Jd)*jd;case 125*Ld:case 59:case 0:switch(Fd){case 0:case 125:Gd=0;case 59+vd:jd==-1&&(Jd=replace(Jd,/\f/g,"")),Od>0&&(strlen(Jd)-Ad||Ld===0&&kd===47)&&append(Od>32?declaration(Jd+";",od,nd,Ad-1,fd):declaration(replace(Jd," ","")+";",od,nd,Ad-2,fd),fd);break;case 59:Jd+=";";default:if(append(Wd=ruleset(Jd,qa,nd,md,vd,ld,pd,Ud,qd=[],zd=[],Ad,ud),ud),Fd===123)if(vd===0)parse$1(Jd,qa,Wd,Wd,qd,ud,Ad,pd,zd);else switch(Nd===99&&charat(Jd,3)===110?100:Nd){case 100:case 108:case 109:case 115:parse$1(Ra,Wd,Wd,od&&append(ruleset(Ra,Wd,Wd,0,0,ld,pd,Ud,ld,qd=[],Ad,zd),zd),ld,zd,Ad,pd,od?qd:zd);break;default:parse$1(Jd,Wd,Wd,Wd,[""],zd,0,pd,zd)}}md=vd=Od=0,Ld=jd=1,Ud=Jd="",Ad=dd;break;case 58:Ad=1+strlen(Jd),Od=kd;default:if(Ld<1){if(Fd==123)--Ld;else if(Fd==125&&Ld++==0&&prev()==125)continue}switch(Jd+=from(Fd),Fd*Ld){case 38:jd=vd>0?1:(Jd+="\f",-1);break;case 44:pd[md++]=(strlen(Jd)-1)*jd,jd=1;break;case 64:peek()===45&&(Jd+=delimit(next())),Nd=peek(),vd=Ad=strlen(Ud=Jd+=identifier(caret())),Fd++;break;case 45:kd===45&&strlen(Jd)==2&&(Ld=0)}}return ud}function ruleset(Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad){for(var Nd=ld-1,Od=ld===0?ud:[""],kd=sizeof(Od),Ld=0,Gd=0,jd=0;Ld0?Od[Fd]+" "+Ud:replace(Ud,/&\f/g,Od[Fd])))&&(fd[jd++]=qd);return node(Ra,qa,nd,ld===0?RULESET:pd,fd,md,vd,Ad)}function comment(Ra,qa,nd,od){return node(Ra,qa,nd,COMMENT,from(char()),substr(Ra,2,-2),0,od)}function declaration(Ra,qa,nd,od,ld){return node(Ra,qa,nd,DECLARATION,substr(Ra,0,od),substr(Ra,od+1,-1),od,ld)}function serialize(Ra,qa){for(var nd="",od=0;od/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(Ra),"detector"),loader=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-c4Diagram-6F5ED5ID-RoaEE6D3.js");return{diagram:qa}},__vite__mapDeps([6,7]));return{id,diagram:Ra}},"loader"),plugin={id,detector,loader},c4Detector_default=plugin,id2="flowchart",detector2=__name((Ra,qa)=>{var nd,od;return((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"||((od=qa==null?void 0:qa.flowchart)==null?void 0:od.defaultRenderer)==="elk"?!1:/^\s*graph/.test(Ra)},"detector"),loader2=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-D2L0sNan.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id2,diagram:Ra}},"loader"),plugin2={id:id2,detector:detector2,loader:loader2},flowDetector_default=plugin2,id3="flowchart-v2",detector3=__name((Ra,qa)=>{var nd,od,ld;return((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="dagre-d3"?!1:(((od=qa==null?void 0:qa.flowchart)==null?void 0:od.defaultRenderer)==="elk"&&(qa.layout="elk"),/^\s*graph/.test(Ra)&&((ld=qa==null?void 0:qa.flowchart)==null?void 0:ld.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(Ra))},"detector"),loader3=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-D2L0sNan.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id3,diagram:Ra}},"loader"),plugin3={id:id3,detector:detector3,loader:loader3},flowDetector_v2_default=plugin3,id4="er",detector4=__name(Ra=>/^\s*erDiagram/.test(Ra),"detector"),loader4=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-erDiagram-6RL3IURR-DWaCdaRm.js");return{diagram:qa}},__vite__mapDeps([11,1,2,3,4]));return{id:id4,diagram:Ra}},"loader"),plugin4={id:id4,detector:detector4,loader:loader4},erDetector_default=plugin4,id5="gitGraph",detector5=__name(Ra=>/^\s*gitGraph/.test(Ra),"detector"),loader5=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-gitGraphDiagram-NRZ2UAAF-DeLJDz1i.js");return{diagram:qa}},__vite__mapDeps([12,13,14,15,2,4,5]));return{id:id5,diagram:Ra}},"loader"),plugin5={id:id5,detector:detector5,loader:loader5},gitGraphDetector_default=plugin5,id6="gantt",detector6=__name(Ra=>/^\s*gantt/.test(Ra),"detector"),loader6=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-ganttDiagram-NTVNEXSI-CL-9Lky_.js");return{diagram:qa}},__vite__mapDeps([16,17,18]));return{id:id6,diagram:Ra}},"loader"),plugin6={id:id6,detector:detector6,loader:loader6},ganttDetector_default=plugin6,id7="info",detector7=__name(Ra=>/^\s*info/.test(Ra),"detector"),loader7=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-infoDiagram-A4XQUW5V-Bs4tWgYe.js");return{diagram:qa}},__vite__mapDeps([19,15,2,4,5]));return{id:id7,diagram:Ra}},"loader"),info={id:id7,detector:detector7,loader:loader7},id8="pie",detector8=__name(Ra=>/^\s*pie/.test(Ra),"detector"),loader8=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-pieDiagram-YF2LJOPJ-Dtr2pYGZ.js");return{diagram:qa}},__vite__mapDeps([20,13,15,2,4,5,21,22,18]));return{id:id8,diagram:Ra}},"loader"),pie={id:id8,detector:detector8,loader:loader8},id9="quadrantChart",detector9=__name(Ra=>/^\s*quadrantChart/.test(Ra),"detector"),loader9=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-quadrantDiagram-OS5C2QUG-CRTWPMC3.js");return{diagram:qa}},__vite__mapDeps([23,17,18]));return{id:id9,diagram:Ra}},"loader"),plugin7={id:id9,detector:detector9,loader:loader9},quadrantDetector_default=plugin7,id10="xychart",detector10=__name(Ra=>/^\s*xychart-beta/.test(Ra),"detector"),loader10=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-xychartDiagram-6QU3TZC5-DPptWv27.js");return{diagram:qa}},__vite__mapDeps([24,18,22,17]));return{id:id10,diagram:Ra}},"loader"),plugin8={id:id10,detector:detector10,loader:loader10},xychartDetector_default=plugin8,id11="requirement",detector11=__name(Ra=>/^\s*requirement(Diagram)?/.test(Ra),"detector"),loader11=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-requirementDiagram-MIRIMTAZ-Deu54LsJ.js");return{diagram:qa}},__vite__mapDeps([25,1,2,3,4]));return{id:id11,diagram:Ra}},"loader"),plugin9={id:id11,detector:detector11,loader:loader11},requirementDetector_default=plugin9,id12="sequence",detector12=__name(Ra=>/^\s*sequenceDiagram/.test(Ra),"detector"),loader12=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-sequenceDiagram-G6AWOVSC-BYz1U_V7.js");return{diagram:qa}},__vite__mapDeps([26,7,14]));return{id:id12,diagram:Ra}},"loader"),plugin10={id:id12,detector:detector12,loader:loader12},sequenceDetector_default=plugin10,id13="class",detector13=__name((Ra,qa)=>{var nd;return((nd=qa==null?void 0:qa.class)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(Ra)},"detector"),loader13=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-classDiagram-LNE6IOMH-CTBubuXI.js");return{diagram:qa}},__vite__mapDeps([27,28,9]));return{id:id13,diagram:Ra}},"loader"),plugin11={id:id13,detector:detector13,loader:loader13},classDetector_default=plugin11,id14="classDiagram",detector14=__name((Ra,qa)=>{var nd;return/^\s*classDiagram/.test(Ra)&&((nd=qa==null?void 0:qa.class)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(Ra)},"detector"),loader14=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-classDiagram-v2-MQ7JQ4JX-CTBubuXI.js");return{diagram:qa}},__vite__mapDeps([29,28,9]));return{id:id14,diagram:Ra}},"loader"),plugin12={id:id14,detector:detector14,loader:loader14},classDetector_V2_default=plugin12,id15="state",detector15=__name((Ra,qa)=>{var nd;return((nd=qa==null?void 0:qa.state)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(Ra)},"detector"),loader15=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-stateDiagram-MAYHULR4-DweyYq4M.js");return{diagram:qa}},__vite__mapDeps([30,31,9,1,2,3,4]));return{id:id15,diagram:Ra}},"loader"),plugin13={id:id15,detector:detector15,loader:loader15},stateDetector_default=plugin13,id16="stateDiagram",detector16=__name((Ra,qa)=>{var nd;return!!(/^\s*stateDiagram-v2/.test(Ra)||/^\s*stateDiagram/.test(Ra)&&((nd=qa==null?void 0:qa.state)==null?void 0:nd.defaultRenderer)==="dagre-wrapper")},"detector"),loader16=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-stateDiagram-v2-4JROLMXI-DiIlcWZx.js");return{diagram:qa}},__vite__mapDeps([32,31,9]));return{id:id16,diagram:Ra}},"loader"),plugin14={id:id16,detector:detector16,loader:loader16},stateDetector_V2_default=plugin14,id17="journey",detector17=__name(Ra=>/^\s*journey/.test(Ra),"detector"),loader17=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-journeyDiagram-G5WM74LC-FvtN3AEU.js");return{diagram:qa}},__vite__mapDeps([33,7,21]));return{id:id17,diagram:Ra}},"loader"),plugin15={id:id17,detector:detector17,loader:loader17},journeyDetector_default=plugin15,draw=__name((Ra,qa,nd)=>{log$1.debug(`rendering svg for syntax error +`);const od=selectSvgElement(qa),ld=od.append("g");od.attr("viewBox","0 0 2412 512"),configureSvgSize(od,100,512,!0),ld.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),ld.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),ld.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),ld.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),ld.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),ld.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),ld.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),ld.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${nd}`)},"draw"),renderer={draw},errorRenderer_default=renderer,diagram={db:{},renderer,parser:{parse:__name(()=>{},"parse")}},errorDiagram_default=diagram,id18="flowchart-elk",detector18=__name((Ra,qa={})=>{var nd;return/^\s*flowchart-elk/.test(Ra)||/^\s*flowchart|graph/.test(Ra)&&((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="elk"?(qa.layout="elk",!0):!1},"detector"),loader18=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-flowDiagram-7ASYPVHJ-D2L0sNan.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id18,diagram:Ra}},"loader"),plugin16={id:id18,detector:detector18,loader:loader18},detector_default=plugin16,id19="timeline",detector19=__name(Ra=>/^\s*timeline/.test(Ra),"detector"),loader19=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-timeline-definition-U7ZMHBDA-BNdRx5Eq.js");return{diagram:qa}},__vite__mapDeps([34,21]));return{id:id19,diagram:Ra}},"loader"),plugin17={id:id19,detector:detector19,loader:loader19},detector_default2=plugin17,id20="mindmap",detector20=__name(Ra=>/^\s*mindmap/.test(Ra),"detector"),loader20=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-mindmap-definition-GWI6TPTV-ClGGF_jF.js");return{diagram:qa}},__vite__mapDeps([35,36]));return{id:id20,diagram:Ra}},"loader"),plugin18={id:id20,detector:detector20,loader:loader20},detector_default3=plugin18,id21="kanban",detector21=__name(Ra=>/^\s*kanban/.test(Ra),"detector"),loader21=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-kanban-definition-QRCXZQQD-BS7gU4kH.js");return{diagram:qa}},[]);return{id:id21,diagram:Ra}},"loader"),plugin19={id:id21,detector:detector21,loader:loader21},detector_default4=plugin19,id22="sankey",detector22=__name(Ra=>/^\s*sankey-beta/.test(Ra),"detector"),loader22=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-sankeyDiagram-Y46BX6SQ-Di3XGLpk.js");return{diagram:qa}},__vite__mapDeps([37,22,18]));return{id:id22,diagram:Ra}},"loader"),plugin20={id:id22,detector:detector22,loader:loader22},sankeyDetector_default=plugin20,id23="packet",detector23=__name(Ra=>/^\s*packet-beta/.test(Ra),"detector"),loader23=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-diagram-QW4FP2JN-BhleLOjZ.js");return{diagram:qa}},__vite__mapDeps([38,13,15,2,4,5]));return{id:id23,diagram:Ra}},"loader"),packet={id:id23,detector:detector23,loader:loader23},id24="block",detector24=__name(Ra=>/^\s*block-beta/.test(Ra),"detector"),loader24=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-blockDiagram-ZHA2E4KO-BBH-2Yzm.js");return{diagram:qa}},__vite__mapDeps([39,5,2,1,10]));return{id:id24,diagram:Ra}},"loader"),plugin21={id:id24,detector:detector24,loader:loader24},blockDetector_default=plugin21,id25="architecture",detector25=__name(Ra=>/^\s*architecture/.test(Ra),"detector"),loader25=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./md-architectureDiagram-UYN6MBPD-IhHiqPvZ.js");return{diagram:qa}},__vite__mapDeps([40,13,14,15,2,4,5,36]));return{id:id25,diagram:Ra}},"loader"),architecture={id:id25,detector:detector25,loader:loader25},architectureDetector_default=architecture,hasLoadedDiagrams=!1,addDiagrams=__name(()=>{hasLoadedDiagrams||(hasLoadedDiagrams=!0,registerDiagram("error",errorDiagram_default,Ra=>Ra.toLowerCase().trim()==="error"),registerDiagram("---",{db:{clear:__name(()=>{},"clear")},styles:{},renderer:{draw:__name(()=>{},"draw")},parser:{parse:__name(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:__name(()=>null,"init")},Ra=>Ra.toLowerCase().trimStart().startsWith("---")),registerLazyLoadedDiagrams(c4Detector_default,detector_default4,classDetector_V2_default,classDetector_default,erDetector_default,ganttDetector_default,info,pie,requirementDetector_default,sequenceDetector_default,detector_default,flowDetector_v2_default,flowDetector_default,detector_default3,detector_default2,gitGraphDetector_default,stateDetector_V2_default,stateDetector_default,journeyDetector_default,quadrantDetector_default,sankeyDetector_default,packet,xychartDetector_default,blockDetector_default,architectureDetector_default))},"addDiagrams"),loadRegisteredDiagrams=__name(async()=>{log$1.debug("Loading registered diagrams");const qa=(await Promise.allSettled(Object.entries(detectors).map(async([nd,{detector:od,loader:ld}])=>{if(ld)try{getDiagram(nd)}catch{try{const{diagram:ud,id:dd}=await ld();registerDiagram(dd,ud,od)}catch(ud){throw log$1.error(`Failed to load external diagram with key ${nd}. Removing from detectors.`),delete detectors[nd],ud}}}))).filter(nd=>nd.status==="rejected");if(qa.length>0){log$1.error(`Failed to load ${qa.length} external diagrams`);for(const nd of qa)log$1.error(nd);throw new Error(`Failed to load ${qa.length} external diagrams`)}},"loadRegisteredDiagrams"),SVG_ROLE="graphics-document document";function setA11yDiagramInfo(Ra,qa){Ra.attr("role",SVG_ROLE),qa!==""&&Ra.attr("aria-roledescription",qa)}__name(setA11yDiagramInfo,"setA11yDiagramInfo");function addSVGa11yTitleDescription(Ra,qa,nd,od){if(Ra.insert!==void 0){if(nd){const ld=`chart-desc-${od}`;Ra.attr("aria-describedby",ld),Ra.insert("desc",":first-child").attr("id",ld).text(nd)}if(qa){const ld=`chart-title-${od}`;Ra.attr("aria-labelledby",ld),Ra.insert("title",":first-child").attr("id",ld).text(qa)}}}__name(addSVGa11yTitleDescription,"addSVGa11yTitleDescription");var QE,Diagram=(QE=class{constructor(qa,nd,od,ld,ud){this.type=qa,this.text=nd,this.db=od,this.parser=ld,this.renderer=ud}static async fromText(qa,nd={}){var md,vd;const od=getConfig$2(),ld=detectType$1(qa,od);qa=encodeEntities(qa)+` `;try{getDiagram(ld)}catch{const Ad=getDiagramLoader(ld);if(!Ad)throw new UnknownDiagramError(`Diagram ${ld} not found.`);const{id:Nd,diagram:Od}=await Ad();registerDiagram(Nd,Od)}const{db:ud,parser:dd,renderer:pd,init:fd}=getDiagram(ld);return dd.parser&&(dd.parser.yy=ud),(md=ud.clear)==null||md.call(ud),fd==null||fd(od),nd.title&&((vd=ud.setDiagramTitle)==null||vd.call(ud,nd.title)),await dd.parse(qa),new QE(ld,qa,ud,dd,pd)}async render(qa,nd){await this.renderer.draw(this.text,qa,nd,this)}getParser(){return this.parser}getType(){return this.type}},__name(QE,"Diagram"),QE),interactionFunctions=[],attachFunctions=__name(()=>{interactionFunctions.forEach(Ra=>{Ra()}),interactionFunctions=[]},"attachFunctions"),cleanupComments=__name(Ra=>Ra.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function extractFrontMatter(Ra){const qa=Ra.match(frontMatterRegex);if(!qa)return{text:Ra,metadata:{}};let nd=load(qa[1],{schema:JSON_SCHEMA})??{};nd=typeof nd=="object"&&!Array.isArray(nd)?nd:{};const od={};return nd.displayMode&&(od.displayMode=nd.displayMode.toString()),nd.title&&(od.title=nd.title.toString()),nd.config&&(od.config=nd.config),{text:Ra.slice(qa[0].length),metadata:od}}__name(extractFrontMatter,"extractFrontMatter");var cleanupText=__name(Ra=>Ra.replace(/\r\n?/g,` `).replace(/<(\w+)([^>]*)>/g,(qa,nd,od)=>"<"+nd+od.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),processFrontmatter=__name(Ra=>{const{text:qa,metadata:nd}=extractFrontMatter(Ra),{displayMode:od,title:ld,config:ud={}}=nd;return od&&(ud.gantt||(ud.gantt={}),ud.gantt.displayMode=od),{title:ld,config:ud,text:qa}},"processFrontmatter"),processDirectives=__name(Ra=>{const qa=utils_default.detectInit(Ra)??{},nd=utils_default.detectDirective(Ra,"wrap");return Array.isArray(nd)?qa.wrap=nd.some(({type:od})=>od==="wrap"):(nd==null?void 0:nd.type)==="wrap"&&(qa.wrap=!0),{text:removeDirectives(Ra),directive:qa}},"processDirectives");function preprocessDiagram(Ra){const qa=cleanupText(Ra),nd=processFrontmatter(qa),od=processDirectives(nd.text),ld=cleanAndMerge(nd.config,od.directive);return Ra=cleanupComments(od.text),{code:Ra,title:nd.title,config:ld}}__name(preprocessDiagram,"preprocessDiagram");function toBase64$1(Ra){const qa=new TextEncoder().encode(Ra),nd=Array.from(qa,od=>String.fromCodePoint(od)).join("");return btoa(nd)}__name(toBase64$1,"toBase64");var MAX_TEXTLENGTH=5e4,MAX_TEXTLENGTH_EXCEEDED_MSG="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",SECURITY_LVL_SANDBOX="sandbox",SECURITY_LVL_LOOSE="loose",XMLNS_SVG_STD="http://www.w3.org/2000/svg",XMLNS_XLINK_STD="http://www.w3.org/1999/xlink",XMLNS_XHTML_STD="http://www.w3.org/1999/xhtml",IFRAME_WIDTH="100%",IFRAME_HEIGHT="100%",IFRAME_STYLES="border:0;margin:0;",IFRAME_BODY_STYLE="margin:0",IFRAME_SANDBOX_OPTS="allow-top-navigation-by-user-activation allow-popups",IFRAME_NOT_SUPPORTED_MSG='The "iframe" tag is not supported by your browser.',DOMPURIFY_TAGS=["foreignobject"],DOMPURIFY_ATTR=["dominant-baseline"];function processAndSetConfigs(Ra){const qa=preprocessDiagram(Ra);return reset(),addDirective(qa.config??{}),qa}__name(processAndSetConfigs,"processAndSetConfigs");async function parse(Ra,qa){addDiagrams();try{const{code:nd,config:od}=processAndSetConfigs(Ra);return{diagramType:(await getDiagramFromText(nd)).type,config:od}}catch(nd){if(qa!=null&&qa.suppressErrors)return!1;throw nd}}__name(parse,"parse");var cssImportantStyles=__name((Ra,qa,nd=[])=>` .${Ra} ${qa} { ${nd.join(" !important; ")} !important; }`,"cssImportantStyles"),createCssStyles=__name((Ra,qa=new Map)=>{var od;let nd="";if(Ra.themeCSS!==void 0&&(nd+=` @@ -989,7 +989,7 @@ ${Ra.themeCSS}`),Ra.fontFamily!==void 0&&(nd+=` * * @author Feross Aboukhadijeh * @license MIT - */(function(Ra){var qa=requireBase64Js(),nd=ieee754,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=pd,Ra.SlowBuffer=Fd,Ra.INSPECT_MAX_BYTES=50;var ld=2147483647;Ra.kMaxLength=ld,pd.TYPED_ARRAY_SUPPORT=ud(),!pd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ud(){try{var uh=new Uint8Array(1),Pf={foo:function(){return 42}};return Object.setPrototypeOf(Pf,Uint8Array.prototype),Object.setPrototypeOf(uh,Pf),uh.foo()===42}catch{return!1}}Object.defineProperty(pd.prototype,"parent",{enumerable:!0,get:function(){if(pd.isBuffer(this))return this.buffer}}),Object.defineProperty(pd.prototype,"offset",{enumerable:!0,get:function(){if(pd.isBuffer(this))return this.byteOffset}});function dd(uh){if(uh>ld)throw new RangeError('The value "'+uh+'" is invalid for option "size"');var Pf=new Uint8Array(uh);return Object.setPrototypeOf(Pf,pd.prototype),Pf}function pd(uh,Pf,Uf){if(typeof uh=="number"){if(typeof Pf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ad(uh)}return fd(uh,Pf,Uf)}pd.poolSize=8192;function fd(uh,Pf,Uf){if(typeof uh=="string")return Nd(uh,Pf);if(ArrayBuffer.isView(uh))return kd(uh);if(uh==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof uh);if(Bf(uh,ArrayBuffer)||uh&&Bf(uh.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Bf(uh,SharedArrayBuffer)||uh&&Bf(uh.buffer,SharedArrayBuffer)))return Ld(uh,Pf,Uf);if(typeof uh=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Zf=uh.valueOf&&uh.valueOf();if(Zf!=null&&Zf!==uh)return pd.from(Zf,Pf,Uf);var mh=Gd(uh);if(mh)return mh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof uh[Symbol.toPrimitive]=="function")return pd.from(uh[Symbol.toPrimitive]("string"),Pf,Uf);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof uh)}pd.from=function(uh,Pf,Uf){return fd(uh,Pf,Uf)},Object.setPrototypeOf(pd.prototype,Uint8Array.prototype),Object.setPrototypeOf(pd,Uint8Array);function md(uh){if(typeof uh!="number")throw new TypeError('"size" argument must be of type number');if(uh<0)throw new RangeError('The value "'+uh+'" is invalid for option "size"')}function vd(uh,Pf,Uf){return md(uh),uh<=0?dd(uh):Pf!==void 0?typeof Uf=="string"?dd(uh).fill(Pf,Uf):dd(uh).fill(Pf):dd(uh)}pd.alloc=function(uh,Pf,Uf){return vd(uh,Pf,Uf)};function Ad(uh){return md(uh),dd(uh<0?0:jd(uh)|0)}pd.allocUnsafe=function(uh){return Ad(uh)},pd.allocUnsafeSlow=function(uh){return Ad(uh)};function Nd(uh,Pf){if((typeof Pf!="string"||Pf==="")&&(Pf="utf8"),!pd.isEncoding(Pf))throw new TypeError("Unknown encoding: "+Pf);var Uf=Ud(uh,Pf)|0,Zf=dd(Uf),mh=Zf.write(uh,Pf);return mh!==Uf&&(Zf=Zf.slice(0,mh)),Zf}function Od(uh){for(var Pf=uh.length<0?0:jd(uh.length)|0,Uf=dd(Pf),Zf=0;Zf=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return uh|0}function Fd(uh){return+uh!=uh&&(uh=0),pd.alloc(+uh)}pd.isBuffer=function(Pf){return Pf!=null&&Pf._isBuffer===!0&&Pf!==pd.prototype},pd.compare=function(Pf,Uf){if(Bf(Pf,Uint8Array)&&(Pf=pd.from(Pf,Pf.offset,Pf.byteLength)),Bf(Uf,Uint8Array)&&(Uf=pd.from(Uf,Uf.offset,Uf.byteLength)),!pd.isBuffer(Pf)||!pd.isBuffer(Uf))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Pf===Uf)return 0;for(var Zf=Pf.length,mh=Uf.length,Mh=0,_h=Math.min(Zf,mh);Mh<_h;++Mh)if(Pf[Mh]!==Uf[Mh]){Zf=Pf[Mh],mh=Uf[Mh];break}return Zfmh.length?pd.from(_h).copy(mh,Mh):Uint8Array.prototype.set.call(mh,_h,Mh);else if(pd.isBuffer(_h))_h.copy(mh,Mh);else throw new TypeError('"list" argument must be an Array of Buffers');Mh+=_h.length}return mh};function Ud(uh,Pf){if(pd.isBuffer(uh))return uh.length;if(ArrayBuffer.isView(uh)||Bf(uh,ArrayBuffer))return uh.byteLength;if(typeof uh!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof uh);var Uf=uh.length,Zf=arguments.length>2&&arguments[2]===!0;if(!Zf&&Uf===0)return 0;for(var mh=!1;;)switch(Pf){case"ascii":case"latin1":case"binary":return Uf;case"utf8":case"utf-8":return xf(uh).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Uf*2;case"hex":return Uf>>>1;case"base64":return Rh(uh).length;default:if(mh)return Zf?-1:xf(uh).length;Pf=(""+Pf).toLowerCase(),mh=!0}}pd.byteLength=Ud;function qd(uh,Pf,Uf){var Zf=!1;if((Pf===void 0||Pf<0)&&(Pf=0),Pf>this.length||((Uf===void 0||Uf>this.length)&&(Uf=this.length),Uf<=0)||(Uf>>>=0,Pf>>>=0,Uf<=Pf))return"";for(uh||(uh="utf8");;)switch(uh){case"hex":return Qf(this,Pf,Uf);case"utf8":case"utf-8":return Af(this,Pf,Uf);case"ascii":return If(this,Pf,Uf);case"latin1":case"binary":return Gf(this,Pf,Uf);case"base64":return Tf(this,Pf,Uf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xf(this,Pf,Uf);default:if(Zf)throw new TypeError("Unknown encoding: "+uh);uh=(uh+"").toLowerCase(),Zf=!0}}pd.prototype._isBuffer=!0;function zd(uh,Pf,Uf){var Zf=uh[Pf];uh[Pf]=uh[Uf],uh[Uf]=Zf}pd.prototype.swap16=function(){var Pf=this.length;if(Pf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Uf=0;UfUf&&(Pf+=" ... "),""},od&&(pd.prototype[od]=pd.prototype.inspect),pd.prototype.compare=function(Pf,Uf,Zf,mh,Mh){if(Bf(Pf,Uint8Array)&&(Pf=pd.from(Pf,Pf.offset,Pf.byteLength)),!pd.isBuffer(Pf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Pf);if(Uf===void 0&&(Uf=0),Zf===void 0&&(Zf=Pf?Pf.length:0),mh===void 0&&(mh=0),Mh===void 0&&(Mh=this.length),Uf<0||Zf>Pf.length||mh<0||Mh>this.length)throw new RangeError("out of range index");if(mh>=Mh&&Uf>=Zf)return 0;if(mh>=Mh)return-1;if(Uf>=Zf)return 1;if(Uf>>>=0,Zf>>>=0,mh>>>=0,Mh>>>=0,this===Pf)return 0;for(var _h=Mh-mh,pm=Zf-Uf,Jh=Math.min(_h,pm),Mm=this.slice(mh,Mh),Im=Pf.slice(Uf,Zf),gm=0;gm2147483647?Uf=2147483647:Uf<-2147483648&&(Uf=-2147483648),Uf=+Uf,Sh(Uf)&&(Uf=mh?0:uh.length-1),Uf<0&&(Uf=uh.length+Uf),Uf>=uh.length){if(mh)return-1;Uf=uh.length-1}else if(Uf<0)if(mh)Uf=0;else return-1;if(typeof Pf=="string"&&(Pf=pd.from(Pf,Zf)),pd.isBuffer(Pf))return Pf.length===0?-1:Jd(uh,Pf,Uf,Zf,mh);if(typeof Pf=="number")return Pf=Pf&255,typeof Uint8Array.prototype.indexOf=="function"?mh?Uint8Array.prototype.indexOf.call(uh,Pf,Uf):Uint8Array.prototype.lastIndexOf.call(uh,Pf,Uf):Jd(uh,[Pf],Uf,Zf,mh);throw new TypeError("val must be string, number or Buffer")}function Jd(uh,Pf,Uf,Zf,mh){var Mh=1,_h=uh.length,pm=Pf.length;if(Zf!==void 0&&(Zf=String(Zf).toLowerCase(),Zf==="ucs2"||Zf==="ucs-2"||Zf==="utf16le"||Zf==="utf-16le")){if(uh.length<2||Pf.length<2)return-1;Mh=2,_h/=2,pm/=2,Uf/=2}function Jh(Vm,Th){return Mh===1?Vm[Th]:Vm.readUInt16BE(Th*Mh)}var Mm;if(mh){var Im=-1;for(Mm=Uf;Mm<_h;Mm++)if(Jh(uh,Mm)===Jh(Pf,Im===-1?0:Mm-Im)){if(Im===-1&&(Im=Mm),Mm-Im+1===pm)return Im*Mh}else Im!==-1&&(Mm-=Mm-Im),Im=-1}else for(Uf+pm>_h&&(Uf=_h-pm),Mm=Uf;Mm>=0;Mm--){for(var gm=!0,Lm=0;Lmmh&&(Zf=mh)):Zf=mh;var Mh=Pf.length;Zf>Mh/2&&(Zf=Mh/2);for(var _h=0;_h>>0,isFinite(Zf)?(Zf=Zf>>>0,mh===void 0&&(mh="utf8")):(mh=Zf,Zf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Mh=this.length-Uf;if((Zf===void 0||Zf>Mh)&&(Zf=Mh),Pf.length>0&&(Zf<0||Uf<0)||Uf>this.length)throw new RangeError("Attempt to write outside buffer bounds");mh||(mh="utf8");for(var _h=!1;;)switch(mh){case"hex":return _f(this,Pf,Uf,Zf);case"utf8":case"utf-8":return Xd(this,Pf,Uf,Zf);case"ascii":case"latin1":case"binary":return pf(this,Pf,Uf,Zf);case"base64":return mf(this,Pf,Uf,Zf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sf(this,Pf,Uf,Zf);default:if(_h)throw new TypeError("Unknown encoding: "+mh);mh=(""+mh).toLowerCase(),_h=!0}},pd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tf(uh,Pf,Uf){return Pf===0&&Uf===uh.length?qa.fromByteArray(uh):qa.fromByteArray(uh.slice(Pf,Uf))}function Af(uh,Pf,Uf){Uf=Math.min(uh.length,Uf);for(var Zf=[],mh=Pf;mh239?4:Mh>223?3:Mh>191?2:1;if(mh+pm<=Uf){var Jh,Mm,Im,gm;switch(pm){case 1:Mh<128&&(_h=Mh);break;case 2:Jh=uh[mh+1],(Jh&192)===128&&(gm=(Mh&31)<<6|Jh&63,gm>127&&(_h=gm));break;case 3:Jh=uh[mh+1],Mm=uh[mh+2],(Jh&192)===128&&(Mm&192)===128&&(gm=(Mh&15)<<12|(Jh&63)<<6|Mm&63,gm>2047&&(gm<55296||gm>57343)&&(_h=gm));break;case 4:Jh=uh[mh+1],Mm=uh[mh+2],Im=uh[mh+3],(Jh&192)===128&&(Mm&192)===128&&(Im&192)===128&&(gm=(Mh&15)<<18|(Jh&63)<<12|(Mm&63)<<6|Im&63,gm>65535&&gm<1114112&&(_h=gm))}}_h===null?(_h=65533,pm=1):_h>65535&&(_h-=65536,Zf.push(_h>>>10&1023|55296),_h=56320|_h&1023),Zf.push(_h),mh+=pm}return Nf(Zf)}var Ef=4096;function Nf(uh){var Pf=uh.length;if(Pf<=Ef)return String.fromCharCode.apply(String,uh);for(var Uf="",Zf=0;ZfZf)&&(Uf=Zf);for(var mh="",Mh=Pf;MhZf&&(Pf=Zf),Uf<0?(Uf+=Zf,Uf<0&&(Uf=0)):Uf>Zf&&(Uf=Zf),UfUf)throw new RangeError("Trying to access beyond buffer length")}pd.prototype.readUintLE=pd.prototype.readUIntLE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf],Mh=1,_h=0;++_h>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf+--Uf],Mh=1;Uf>0&&(Mh*=256);)mh+=this[Pf+--Uf]*Mh;return mh},pd.prototype.readUint8=pd.prototype.readUInt8=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,1,this.length),this[Pf]},pd.prototype.readUint16LE=pd.prototype.readUInt16LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,2,this.length),this[Pf]|this[Pf+1]<<8},pd.prototype.readUint16BE=pd.prototype.readUInt16BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,2,this.length),this[Pf]<<8|this[Pf+1]},pd.prototype.readUint32LE=pd.prototype.readUInt32LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),(this[Pf]|this[Pf+1]<<8|this[Pf+2]<<16)+this[Pf+3]*16777216},pd.prototype.readUint32BE=pd.prototype.readUInt32BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]*16777216+(this[Pf+1]<<16|this[Pf+2]<<8|this[Pf+3])},pd.prototype.readIntLE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf],Mh=1,_h=0;++_h=Mh&&(mh-=Math.pow(2,8*Uf)),mh},pd.prototype.readIntBE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=Uf,Mh=1,_h=this[Pf+--mh];mh>0&&(Mh*=256);)_h+=this[Pf+--mh]*Mh;return Mh*=128,_h>=Mh&&(_h-=Math.pow(2,8*Uf)),_h},pd.prototype.readInt8=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,1,this.length),this[Pf]&128?(255-this[Pf]+1)*-1:this[Pf]},pd.prototype.readInt16LE=function(Pf,Uf){Pf=Pf>>>0,Uf||ph(Pf,2,this.length);var Zf=this[Pf]|this[Pf+1]<<8;return Zf&32768?Zf|4294901760:Zf},pd.prototype.readInt16BE=function(Pf,Uf){Pf=Pf>>>0,Uf||ph(Pf,2,this.length);var Zf=this[Pf+1]|this[Pf]<<8;return Zf&32768?Zf|4294901760:Zf},pd.prototype.readInt32LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]|this[Pf+1]<<8|this[Pf+2]<<16|this[Pf+3]<<24},pd.prototype.readInt32BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]<<24|this[Pf+1]<<16|this[Pf+2]<<8|this[Pf+3]},pd.prototype.readFloatLE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),nd.read(this,Pf,!0,23,4)},pd.prototype.readFloatBE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),nd.read(this,Pf,!1,23,4)},pd.prototype.readDoubleLE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,8,this.length),nd.read(this,Pf,!0,52,8)},pd.prototype.readDoubleBE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,8,this.length),nd.read(this,Pf,!1,52,8)};function qf(uh,Pf,Uf,Zf,mh,Mh){if(!pd.isBuffer(uh))throw new TypeError('"buffer" argument must be a Buffer instance');if(Pf>mh||Pfuh.length)throw new RangeError("Index out of range")}pd.prototype.writeUintLE=pd.prototype.writeUIntLE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,Zf=Zf>>>0,!mh){var Mh=Math.pow(2,8*Zf)-1;qf(this,Pf,Uf,Zf,Mh,0)}var _h=1,pm=0;for(this[Uf]=Pf&255;++pm>>0,Zf=Zf>>>0,!mh){var Mh=Math.pow(2,8*Zf)-1;qf(this,Pf,Uf,Zf,Mh,0)}var _h=Zf-1,pm=1;for(this[Uf+_h]=Pf&255;--_h>=0&&(pm*=256);)this[Uf+_h]=Pf/pm&255;return Uf+Zf},pd.prototype.writeUint8=pd.prototype.writeUInt8=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,1,255,0),this[Uf]=Pf&255,Uf+1},pd.prototype.writeUint16LE=pd.prototype.writeUInt16LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,65535,0),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,Uf+2},pd.prototype.writeUint16BE=pd.prototype.writeUInt16BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,65535,0),this[Uf]=Pf>>>8,this[Uf+1]=Pf&255,Uf+2},pd.prototype.writeUint32LE=pd.prototype.writeUInt32LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,4294967295,0),this[Uf+3]=Pf>>>24,this[Uf+2]=Pf>>>16,this[Uf+1]=Pf>>>8,this[Uf]=Pf&255,Uf+4},pd.prototype.writeUint32BE=pd.prototype.writeUInt32BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,4294967295,0),this[Uf]=Pf>>>24,this[Uf+1]=Pf>>>16,this[Uf+2]=Pf>>>8,this[Uf+3]=Pf&255,Uf+4},pd.prototype.writeIntLE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,!mh){var Mh=Math.pow(2,8*Zf-1);qf(this,Pf,Uf,Zf,Mh-1,-Mh)}var _h=0,pm=1,Jh=0;for(this[Uf]=Pf&255;++_h>0)-Jh&255;return Uf+Zf},pd.prototype.writeIntBE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,!mh){var Mh=Math.pow(2,8*Zf-1);qf(this,Pf,Uf,Zf,Mh-1,-Mh)}var _h=Zf-1,pm=1,Jh=0;for(this[Uf+_h]=Pf&255;--_h>=0&&(pm*=256);)Pf<0&&Jh===0&&this[Uf+_h+1]!==0&&(Jh=1),this[Uf+_h]=(Pf/pm>>0)-Jh&255;return Uf+Zf},pd.prototype.writeInt8=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,1,127,-128),Pf<0&&(Pf=255+Pf+1),this[Uf]=Pf&255,Uf+1},pd.prototype.writeInt16LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,32767,-32768),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,Uf+2},pd.prototype.writeInt16BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,32767,-32768),this[Uf]=Pf>>>8,this[Uf+1]=Pf&255,Uf+2},pd.prototype.writeInt32LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,2147483647,-2147483648),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,this[Uf+2]=Pf>>>16,this[Uf+3]=Pf>>>24,Uf+4},pd.prototype.writeInt32BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,2147483647,-2147483648),Pf<0&&(Pf=4294967295+Pf+1),this[Uf]=Pf>>>24,this[Uf+1]=Pf>>>16,this[Uf+2]=Pf>>>8,this[Uf+3]=Pf&255,Uf+4};function Lf(uh,Pf,Uf,Zf,mh,Mh){if(Uf+Zf>uh.length)throw new RangeError("Index out of range");if(Uf<0)throw new RangeError("Index out of range")}function Wf(uh,Pf,Uf,Zf,mh){return Pf=+Pf,Uf=Uf>>>0,mh||Lf(uh,Pf,Uf,4),nd.write(uh,Pf,Uf,Zf,23,4),Uf+4}pd.prototype.writeFloatLE=function(Pf,Uf,Zf){return Wf(this,Pf,Uf,!0,Zf)},pd.prototype.writeFloatBE=function(Pf,Uf,Zf){return Wf(this,Pf,Uf,!1,Zf)};function Jf(uh,Pf,Uf,Zf,mh){return Pf=+Pf,Uf=Uf>>>0,mh||Lf(uh,Pf,Uf,8),nd.write(uh,Pf,Uf,Zf,52,8),Uf+8}pd.prototype.writeDoubleLE=function(Pf,Uf,Zf){return Jf(this,Pf,Uf,!0,Zf)},pd.prototype.writeDoubleBE=function(Pf,Uf,Zf){return Jf(this,Pf,Uf,!1,Zf)},pd.prototype.copy=function(Pf,Uf,Zf,mh){if(!pd.isBuffer(Pf))throw new TypeError("argument should be a Buffer");if(Zf||(Zf=0),!mh&&mh!==0&&(mh=this.length),Uf>=Pf.length&&(Uf=Pf.length),Uf||(Uf=0),mh>0&&mh=this.length)throw new RangeError("Index out of range");if(mh<0)throw new RangeError("sourceEnd out of bounds");mh>this.length&&(mh=this.length),Pf.length-Uf>>0,Zf=Zf===void 0?this.length:Zf>>>0,Pf||(Pf=0);var _h;if(typeof Pf=="number")for(_h=Uf;_h55295&&Uf<57344){if(!mh){if(Uf>56319){(Pf-=3)>-1&&Mh.push(239,191,189);continue}else if(_h+1===Zf){(Pf-=3)>-1&&Mh.push(239,191,189);continue}mh=Uf;continue}if(Uf<56320){(Pf-=3)>-1&&Mh.push(239,191,189),mh=Uf;continue}Uf=(mh-55296<<10|Uf-56320)+65536}else mh&&(Pf-=3)>-1&&Mh.push(239,191,189);if(mh=null,Uf<128){if((Pf-=1)<0)break;Mh.push(Uf)}else if(Uf<2048){if((Pf-=2)<0)break;Mh.push(Uf>>6|192,Uf&63|128)}else if(Uf<65536){if((Pf-=3)<0)break;Mh.push(Uf>>12|224,Uf>>6&63|128,Uf&63|128)}else if(Uf<1114112){if((Pf-=4)<0)break;Mh.push(Uf>>18|240,Uf>>12&63|128,Uf>>6&63|128,Uf&63|128)}else throw new Error("Invalid code point")}return Mh}function Yf(uh){for(var Pf=[],Uf=0;Uf>8,mh=Uf%256,Mh.push(mh),Mh.push(Zf);return Mh}function Rh(uh){return qa.toByteArray(Cf(uh))}function th(uh,Pf,Uf,Zf){for(var mh=0;mh=Pf.length||mh>=uh.length);++mh)Pf[mh+Uf]=uh[mh];return mh}function Bf(uh,Pf){return uh instanceof Pf||uh!=null&&uh.constructor!=null&&uh.constructor.name!=null&&uh.constructor.name===Pf.name}function Sh(uh){return uh!==uh}var Fh=function(){for(var uh="0123456789abcdef",Pf=new Array(256),Uf=0;Uf<16;++Uf)for(var Zf=Uf*16,mh=0;mh<16;++mh)Pf[Zf+mh]=uh[Uf]+uh[mh];return Pf}()})(buffer);var util$a={},types$1={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var qa={},nd=Symbol("test"),od=Object(nd);if(typeof nd=="string"||Object.prototype.toString.call(nd)!=="[object Symbol]"||Object.prototype.toString.call(od)!=="[object Symbol]")return!1;var ld=42;qa[nd]=ld;for(nd in qa)return!1;if(typeof Object.keys=="function"&&Object.keys(qa).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(qa).length!==0)return!1;var ud=Object.getOwnPropertySymbols(qa);if(ud.length!==1||ud[0]!==nd||!Object.prototype.propertyIsEnumerable.call(qa,nd))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var dd=Object.getOwnPropertyDescriptor(qa,nd);if(dd.value!==ld||dd.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range$1=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test$1={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test$1}.foo===test$1.foo&&!(test$1 instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(qa,nd){for(var od=[],ld=0;ld"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(Ra){var errorProto=getProto$1(getProto$1(Ra));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function Ra(qa){var nd;if(qa==="%AsyncFunction%")nd=getEvalledConstructor("async function () {}");else if(qa==="%GeneratorFunction%")nd=getEvalledConstructor("function* () {}");else if(qa==="%AsyncGeneratorFunction%")nd=getEvalledConstructor("async function* () {}");else if(qa==="%AsyncGenerator%"){var od=Ra("%AsyncGeneratorFunction%");od&&(nd=od.prototype)}else if(qa==="%AsyncIteratorPrototype%"){var ld=Ra("%AsyncGenerator%");ld&&getProto$1&&(nd=getProto$1(ld.prototype))}return INTRINSICS[qa]=nd,nd},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$1=functionBind,hasOwn=hasown,$concat=bind$1.call(Function.call,Array.prototype.concat),$spliceApply=bind$1.call(Function.apply,Array.prototype.splice),$replace=bind$1.call(Function.call,String.prototype.replace),$strSlice=bind$1.call(Function.call,String.prototype.slice),$exec=bind$1.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(qa){var nd=$strSlice(qa,0,1),od=$strSlice(qa,-1);if(nd==="%"&&od!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(od==="%"&&nd!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var ld=[];return $replace(qa,rePropName,function(ud,dd,pd,fd){ld[ld.length]=pd?$replace(fd,reEscapeChar,"$1"):dd||ud}),ld},getBaseIntrinsic=function(qa,nd){var od=qa,ld;if(hasOwn(LEGACY_ALIASES,od)&&(ld=LEGACY_ALIASES[od],od="%"+ld[0]+"%"),hasOwn(INTRINSICS,od)){var ud=INTRINSICS[od];if(ud===needsEval&&(ud=doEval(od)),typeof ud>"u"&&!nd)throw new $TypeError$2("intrinsic "+qa+" exists, but is not available. Please file an issue!");return{alias:ld,name:od,value:ud}}throw new $SyntaxError$1("intrinsic "+qa+" does not exist!")},getIntrinsic=function(qa,nd){if(typeof qa!="string"||qa.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof nd!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,qa)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var od=stringToPath(qa),ld=od.length>0?od[0]:"",ud=getBaseIntrinsic("%"+ld+"%",nd),dd=ud.name,pd=ud.value,fd=!1,md=ud.alias;md&&(ld=md[0],$spliceApply(od,$concat([0,1],md)));for(var vd=1,Ad=!0;vd=od.length){var Ld=$gOPD$1(pd,Nd);Ad=!!Ld,Ad&&"get"in Ld&&!("originalValue"in Ld.get)?pd=Ld.get:pd=pd[Nd]}else Ad=hasOwn(pd,Nd),pd=pd[Nd];Ad&&!fd&&(INTRINSICS[dd]=pd)}}return pd},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var Ra=getIntrinsic,qa=Ra("%Object.defineProperty%",!0)||!1;if(qa)try{qa({},"a",{value:1})}catch{qa=!1}return esDefineProperty=qa,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type,gopd=gopd$1,defineDataProperty=function(qa,nd,od){if(!qa||typeof qa!="object"&&typeof qa!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof nd!="string"&&typeof nd!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var ld=arguments.length>3?arguments[3]:null,ud=arguments.length>4?arguments[4]:null,dd=arguments.length>5?arguments[5]:null,pd=arguments.length>6?arguments[6]:!1,fd=!!gopd&&gopd(qa,nd);if($defineProperty$1)$defineProperty$1(qa,nd,{configurable:dd===null&&fd?fd.configurable:!dd,enumerable:ld===null&&fd?fd.enumerable:!ld,value:od,writable:ud===null&&fd?fd.writable:!ud});else if(pd||!ld&&!ud&&!dd)qa[nd]=od;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(qa,nd){if(typeof qa!="function")throw new $TypeError("`fn` is not a function");if(typeof nd!="number"||nd<0||nd>4294967295||$floor(nd)!==nd)throw new $TypeError("`length` must be a positive 32-bit integer");var od=arguments.length>2&&!!arguments[2],ld=!0,ud=!0;if("length"in qa&&gOPD$1){var dd=gOPD$1(qa,"length");dd&&!dd.configurable&&(ld=!1),dd&&!dd.writable&&(ud=!1)}return(ld||ud||!od)&&(hasDescriptors?define(qa,"length",nd,!0,!0):define(qa,"length",nd)),qa};(function(Ra){var qa=functionBind,nd=getIntrinsic,od=setFunctionLength,ld=type,ud=nd("%Function.prototype.apply%"),dd=nd("%Function.prototype.call%"),pd=nd("%Reflect.apply%",!0)||qa.call(dd,ud),fd=requireEsDefineProperty(),md=nd("%Math.max%");Ra.exports=function(Nd){if(typeof Nd!="function")throw new ld("a function is required");var Od=pd(qa,dd,arguments);return od(Od,1+md(0,Nd.length-(arguments.length-1)),!0)};var vd=function(){return pd(qa,ud,arguments)};fd?fd(Ra.exports,"apply",{value:vd}):Ra.exports.apply=vd})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(qa,nd){var od=GetIntrinsic(qa,!!nd);return typeof od=="function"&&$indexOf$1(qa,".prototype.")>-1?callBind$1(od):od},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(qa){return hasToStringTag$3&&qa&&typeof qa=="object"&&Symbol.toStringTag in qa?!1:$toString$1(qa)==="[object Arguments]"},isLegacyArguments=function(qa){return isStandardArguments(qa)?!0:qa!==null&&typeof qa=="object"&&typeof qa.length=="number"&&qa.length>=0&&$toString$1(qa)!=="[object Array]"&&$toString$1(qa.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(qa){if(typeof qa!="function")return!1;if(isFnRegex.test(fnToStr$1.call(qa)))return!0;if(!hasToStringTag$2){var nd=toStr$2.call(qa);return nd==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var od=getGeneratorFunc();GeneratorFunction=od?getProto(od):!1}return getProto(qa)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(Ra){Ra!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(qa){try{var nd=fnToStr.call(qa);return constructorRegex.test(nd)}catch{return!1}},tryFunctionObject=function(qa){try{return isES6ClassFn(qa)?!1:(fnToStr.call(qa),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(qa){if((isIE68||!qa)&&(typeof qa>"u"||typeof qa=="object"))try{var nd=toStr$1.call(qa);return(nd===ddaClass||nd===ddaClass2||nd===ddaClass3||nd===objectClass)&&qa("")==null}catch{}return!1})}var isCallable$2=reflectApply?function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;try{reflectApply(qa,null,badArrayLike)}catch(nd){if(nd!==isCallableMarker)return!1}return!isES6ClassFn(qa)&&tryFunctionObject(qa)}:function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(qa);if(isES6ClassFn(qa))return!1;var nd=toStr$1.call(qa);return nd!==fnClass&&nd!==genClass&&!/^\[object HTML/.test(nd)?!1:tryFunctionObject(qa)},isCallable$1=isCallable$2,toStr=Object.prototype.toString,hasOwnProperty$2=Object.prototype.hasOwnProperty,forEachArray=function(qa,nd,od){for(var ld=0,ud=qa.length;ld=3&&(ld=od),toStr.call(qa)==="[object Array]"?forEachArray(qa,nd,ld):typeof qa=="string"?forEachString(qa,nd,ld):forEachObject(qa,nd,ld)},forEach_1=forEach$3,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$2=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var qa=[],nd=0;nd"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf$1=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(qa,nd){for(var od=0;od-1?nd:nd!=="Object"?!1:trySlices(qa)}return gOPD?tryTypedArrays(qa):null},whichTypedArray=whichTypedArray$1,isTypedArray$1=function(qa){return!!whichTypedArray(qa)};(function(Ra){var qa=isArguments,nd=isGeneratorFunction,od=whichTypedArray$1,ld=isTypedArray$1;function ud(Zf){return Zf.call.bind(Zf)}var dd=typeof BigInt<"u",pd=typeof Symbol<"u",fd=ud(Object.prototype.toString),md=ud(Number.prototype.valueOf),vd=ud(String.prototype.valueOf),Ad=ud(Boolean.prototype.valueOf);if(dd)var Nd=ud(BigInt.prototype.valueOf);if(pd)var Od=ud(Symbol.prototype.valueOf);function kd(Zf,mh){if(typeof Zf!="object")return!1;try{return mh(Zf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=nd,Ra.isTypedArray=ld;function Ld(Zf){return typeof Promise<"u"&&Zf instanceof Promise||Zf!==null&&typeof Zf=="object"&&typeof Zf.then=="function"&&typeof Zf.catch=="function"}Ra.isPromise=Ld;function Gd(Zf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Zf):ld(Zf)||Lf(Zf)}Ra.isArrayBufferView=Gd;function jd(Zf){return od(Zf)==="Uint8Array"}Ra.isUint8Array=jd;function Fd(Zf){return od(Zf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Fd;function Ud(Zf){return od(Zf)==="Uint16Array"}Ra.isUint16Array=Ud;function qd(Zf){return od(Zf)==="Uint32Array"}Ra.isUint32Array=qd;function zd(Zf){return od(Zf)==="Int8Array"}Ra.isInt8Array=zd;function Wd(Zf){return od(Zf)==="Int16Array"}Ra.isInt16Array=Wd;function Jd(Zf){return od(Zf)==="Int32Array"}Ra.isInt32Array=Jd;function _f(Zf){return od(Zf)==="Float32Array"}Ra.isFloat32Array=_f;function Xd(Zf){return od(Zf)==="Float64Array"}Ra.isFloat64Array=Xd;function pf(Zf){return od(Zf)==="BigInt64Array"}Ra.isBigInt64Array=pf;function mf(Zf){return od(Zf)==="BigUint64Array"}Ra.isBigUint64Array=mf;function Sf(Zf){return fd(Zf)==="[object Map]"}Sf.working=typeof Map<"u"&&Sf(new Map);function Tf(Zf){return typeof Map>"u"?!1:Sf.working?Sf(Zf):Zf instanceof Map}Ra.isMap=Tf;function Af(Zf){return fd(Zf)==="[object Set]"}Af.working=typeof Set<"u"&&Af(new Set);function Ef(Zf){return typeof Set>"u"?!1:Af.working?Af(Zf):Zf instanceof Set}Ra.isSet=Ef;function Nf(Zf){return fd(Zf)==="[object WeakMap]"}Nf.working=typeof WeakMap<"u"&&Nf(new WeakMap);function If(Zf){return typeof WeakMap>"u"?!1:Nf.working?Nf(Zf):Zf instanceof WeakMap}Ra.isWeakMap=If;function Gf(Zf){return fd(Zf)==="[object WeakSet]"}Gf.working=typeof WeakSet<"u"&&Gf(new WeakSet);function Qf(Zf){return Gf(Zf)}Ra.isWeakSet=Qf;function Xf(Zf){return fd(Zf)==="[object ArrayBuffer]"}Xf.working=typeof ArrayBuffer<"u"&&Xf(new ArrayBuffer);function ph(Zf){return typeof ArrayBuffer>"u"?!1:Xf.working?Xf(Zf):Zf instanceof ArrayBuffer}Ra.isArrayBuffer=ph;function qf(Zf){return fd(Zf)==="[object DataView]"}qf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&qf(new DataView(new ArrayBuffer(1),0,1));function Lf(Zf){return typeof DataView>"u"?!1:qf.working?qf(Zf):Zf instanceof DataView}Ra.isDataView=Lf;var Wf=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Jf(Zf){return fd(Zf)==="[object SharedArrayBuffer]"}function Kf(Zf){return typeof Wf>"u"?!1:(typeof Jf.working>"u"&&(Jf.working=Jf(new Wf)),Jf.working?Jf(Zf):Zf instanceof Wf)}Ra.isSharedArrayBuffer=Kf;function Cf(Zf){return fd(Zf)==="[object AsyncFunction]"}Ra.isAsyncFunction=Cf;function xf(Zf){return fd(Zf)==="[object Map Iterator]"}Ra.isMapIterator=xf;function Yf(Zf){return fd(Zf)==="[object Set Iterator]"}Ra.isSetIterator=Yf;function dh(Zf){return fd(Zf)==="[object Generator]"}Ra.isGeneratorObject=dh;function Rh(Zf){return fd(Zf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=Rh;function th(Zf){return kd(Zf,md)}Ra.isNumberObject=th;function Bf(Zf){return kd(Zf,vd)}Ra.isStringObject=Bf;function Sh(Zf){return kd(Zf,Ad)}Ra.isBooleanObject=Sh;function Fh(Zf){return dd&&kd(Zf,Nd)}Ra.isBigIntObject=Fh;function uh(Zf){return pd&&kd(Zf,Od)}Ra.isSymbolObject=uh;function Pf(Zf){return th(Zf)||Bf(Zf)||Sh(Zf)||Fh(Zf)||uh(Zf)}Ra.isBoxedPrimitive=Pf;function Uf(Zf){return typeof Uint8Array<"u"&&(ph(Zf)||Kf(Zf))}Ra.isAnyArrayBuffer=Uf,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Zf){Object.defineProperty(Ra,Zf,{enumerable:!1,value:function(){throw new Error(Zf+" is not supported in userland")}})})})(types$1);var isBufferBrowser=function(qa){return qa&&typeof qa=="object"&&typeof qa.copy=="function"&&typeof qa.fill=="function"&&typeof qa.readUInt8=="function"};(function(Ra){var qa={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},nd={},od=Object.getOwnPropertyDescriptors||function(Jf){for(var Kf=Object.keys(Jf),Cf={},xf=0;xf=xf)return Rh;switch(Rh){case"%s":return String(Cf[Kf++]);case"%d":return Number(Cf[Kf++]);case"%j":try{return JSON.stringify(Cf[Kf++])}catch{return"[Circular]"}default:return Rh}}),dh=Cf[Kf];Kf"u")return function(){return Ra.deprecate(Wf,Jf).apply(this,arguments)};var Kf=!1;function Cf(){if(!Kf){if(qa.throwDeprecation)throw new Error(Jf);qa.traceDeprecation?console.trace(Jf):console.error(Jf),Kf=!0}return Wf.apply(this,arguments)}return Cf};var ud={},dd=/^$/;if(nd.NODE_DEBUG){var pd=nd.NODE_DEBUG;pd=pd.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),dd=new RegExp("^"+pd+"$","i")}Ra.debuglog=function(Wf){if(Wf=Wf.toUpperCase(),!ud[Wf])if(dd.test(Wf)){var Jf=qa.pid;ud[Wf]=function(){var Kf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",Wf,Jf,Kf)}}else ud[Wf]=function(){};return ud[Wf]};function fd(Wf,Jf){var Kf={seen:[],stylize:vd};return arguments.length>=3&&(Kf.depth=arguments[2]),arguments.length>=4&&(Kf.colors=arguments[3]),Ud(Jf)?Kf.showHidden=Jf:Jf&&Ra._extend(Kf,Jf),Xd(Kf.showHidden)&&(Kf.showHidden=!1),Xd(Kf.depth)&&(Kf.depth=2),Xd(Kf.colors)&&(Kf.colors=!1),Xd(Kf.customInspect)&&(Kf.customInspect=!0),Kf.colors&&(Kf.stylize=md),Nd(Kf,Wf,Kf.depth)}Ra.inspect=fd,fd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},fd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function md(Wf,Jf){var Kf=fd.styles[Jf];return Kf?"\x1B["+fd.colors[Kf][0]+"m"+Wf+"\x1B["+fd.colors[Kf][1]+"m":Wf}function vd(Wf,Jf){return Wf}function Ad(Wf){var Jf={};return Wf.forEach(function(Kf,Cf){Jf[Kf]=!0}),Jf}function Nd(Wf,Jf,Kf){if(Wf.customInspect&&Jf&&Af(Jf.inspect)&&Jf.inspect!==Ra.inspect&&!(Jf.constructor&&Jf.constructor.prototype===Jf)){var Cf=Jf.inspect(Kf,Wf);return Jd(Cf)||(Cf=Nd(Wf,Cf,Kf)),Cf}var xf=Od(Wf,Jf);if(xf)return xf;var Yf=Object.keys(Jf),dh=Ad(Yf);if(Wf.showHidden&&(Yf=Object.getOwnPropertyNames(Jf)),Tf(Jf)&&(Yf.indexOf("message")>=0||Yf.indexOf("description")>=0))return kd(Jf);if(Yf.length===0){if(Af(Jf)){var Rh=Jf.name?": "+Jf.name:"";return Wf.stylize("[Function"+Rh+"]","special")}if(pf(Jf))return Wf.stylize(RegExp.prototype.toString.call(Jf),"regexp");if(Sf(Jf))return Wf.stylize(Date.prototype.toString.call(Jf),"date");if(Tf(Jf))return kd(Jf)}var th="",Bf=!1,Sh=["{","}"];if(Fd(Jf)&&(Bf=!0,Sh=["[","]"]),Af(Jf)){var Fh=Jf.name?": "+Jf.name:"";th=" [Function"+Fh+"]"}if(pf(Jf)&&(th=" "+RegExp.prototype.toString.call(Jf)),Sf(Jf)&&(th=" "+Date.prototype.toUTCString.call(Jf)),Tf(Jf)&&(th=" "+kd(Jf)),Yf.length===0&&(!Bf||Jf.length==0))return Sh[0]+th+Sh[1];if(Kf<0)return pf(Jf)?Wf.stylize(RegExp.prototype.toString.call(Jf),"regexp"):Wf.stylize("[Object]","special");Wf.seen.push(Jf);var uh;return Bf?uh=Ld(Wf,Jf,Kf,dh,Yf):uh=Yf.map(function(Pf){return Gd(Wf,Jf,Kf,dh,Pf,Bf)}),Wf.seen.pop(),jd(uh,th,Sh)}function Od(Wf,Jf){if(Xd(Jf))return Wf.stylize("undefined","undefined");if(Jd(Jf)){var Kf="'"+JSON.stringify(Jf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Wf.stylize(Kf,"string")}if(Wd(Jf))return Wf.stylize(""+Jf,"number");if(Ud(Jf))return Wf.stylize(""+Jf,"boolean");if(qd(Jf))return Wf.stylize("null","null")}function kd(Wf){return"["+Error.prototype.toString.call(Wf)+"]"}function Ld(Wf,Jf,Kf,Cf,xf){for(var Yf=[],dh=0,Rh=Jf.length;dhld)throw new RangeError('The value "'+uh+'" is invalid for option "size"');var Pf=new Uint8Array(uh);return Object.setPrototypeOf(Pf,pd.prototype),Pf}function pd(uh,Pf,Uf){if(typeof uh=="number"){if(typeof Pf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ad(uh)}return fd(uh,Pf,Uf)}pd.poolSize=8192;function fd(uh,Pf,Uf){if(typeof uh=="string")return Nd(uh,Pf);if(ArrayBuffer.isView(uh))return kd(uh);if(uh==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof uh);if(Bf(uh,ArrayBuffer)||uh&&Bf(uh.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Bf(uh,SharedArrayBuffer)||uh&&Bf(uh.buffer,SharedArrayBuffer)))return Ld(uh,Pf,Uf);if(typeof uh=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Zf=uh.valueOf&&uh.valueOf();if(Zf!=null&&Zf!==uh)return pd.from(Zf,Pf,Uf);var mh=Gd(uh);if(mh)return mh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof uh[Symbol.toPrimitive]=="function")return pd.from(uh[Symbol.toPrimitive]("string"),Pf,Uf);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof uh)}pd.from=function(uh,Pf,Uf){return fd(uh,Pf,Uf)},Object.setPrototypeOf(pd.prototype,Uint8Array.prototype),Object.setPrototypeOf(pd,Uint8Array);function md(uh){if(typeof uh!="number")throw new TypeError('"size" argument must be of type number');if(uh<0)throw new RangeError('The value "'+uh+'" is invalid for option "size"')}function vd(uh,Pf,Uf){return md(uh),uh<=0?dd(uh):Pf!==void 0?typeof Uf=="string"?dd(uh).fill(Pf,Uf):dd(uh).fill(Pf):dd(uh)}pd.alloc=function(uh,Pf,Uf){return vd(uh,Pf,Uf)};function Ad(uh){return md(uh),dd(uh<0?0:jd(uh)|0)}pd.allocUnsafe=function(uh){return Ad(uh)},pd.allocUnsafeSlow=function(uh){return Ad(uh)};function Nd(uh,Pf){if((typeof Pf!="string"||Pf==="")&&(Pf="utf8"),!pd.isEncoding(Pf))throw new TypeError("Unknown encoding: "+Pf);var Uf=Ud(uh,Pf)|0,Zf=dd(Uf),mh=Zf.write(uh,Pf);return mh!==Uf&&(Zf=Zf.slice(0,mh)),Zf}function Od(uh){for(var Pf=uh.length<0?0:jd(uh.length)|0,Uf=dd(Pf),Zf=0;Zf=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return uh|0}function Fd(uh){return+uh!=uh&&(uh=0),pd.alloc(+uh)}pd.isBuffer=function(Pf){return Pf!=null&&Pf._isBuffer===!0&&Pf!==pd.prototype},pd.compare=function(Pf,Uf){if(Bf(Pf,Uint8Array)&&(Pf=pd.from(Pf,Pf.offset,Pf.byteLength)),Bf(Uf,Uint8Array)&&(Uf=pd.from(Uf,Uf.offset,Uf.byteLength)),!pd.isBuffer(Pf)||!pd.isBuffer(Uf))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Pf===Uf)return 0;for(var Zf=Pf.length,mh=Uf.length,Mh=0,_h=Math.min(Zf,mh);Mh<_h;++Mh)if(Pf[Mh]!==Uf[Mh]){Zf=Pf[Mh],mh=Uf[Mh];break}return Zfmh.length?pd.from(_h).copy(mh,Mh):Uint8Array.prototype.set.call(mh,_h,Mh);else if(pd.isBuffer(_h))_h.copy(mh,Mh);else throw new TypeError('"list" argument must be an Array of Buffers');Mh+=_h.length}return mh};function Ud(uh,Pf){if(pd.isBuffer(uh))return uh.length;if(ArrayBuffer.isView(uh)||Bf(uh,ArrayBuffer))return uh.byteLength;if(typeof uh!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof uh);var Uf=uh.length,Zf=arguments.length>2&&arguments[2]===!0;if(!Zf&&Uf===0)return 0;for(var mh=!1;;)switch(Pf){case"ascii":case"latin1":case"binary":return Uf;case"utf8":case"utf-8":return xf(uh).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Uf*2;case"hex":return Uf>>>1;case"base64":return Rh(uh).length;default:if(mh)return Zf?-1:xf(uh).length;Pf=(""+Pf).toLowerCase(),mh=!0}}pd.byteLength=Ud;function qd(uh,Pf,Uf){var Zf=!1;if((Pf===void 0||Pf<0)&&(Pf=0),Pf>this.length||((Uf===void 0||Uf>this.length)&&(Uf=this.length),Uf<=0)||(Uf>>>=0,Pf>>>=0,Uf<=Pf))return"";for(uh||(uh="utf8");;)switch(uh){case"hex":return Qf(this,Pf,Uf);case"utf8":case"utf-8":return Af(this,Pf,Uf);case"ascii":return If(this,Pf,Uf);case"latin1":case"binary":return Gf(this,Pf,Uf);case"base64":return Tf(this,Pf,Uf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xf(this,Pf,Uf);default:if(Zf)throw new TypeError("Unknown encoding: "+uh);uh=(uh+"").toLowerCase(),Zf=!0}}pd.prototype._isBuffer=!0;function zd(uh,Pf,Uf){var Zf=uh[Pf];uh[Pf]=uh[Uf],uh[Uf]=Zf}pd.prototype.swap16=function(){var Pf=this.length;if(Pf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Uf=0;UfUf&&(Pf+=" ... "),""},od&&(pd.prototype[od]=pd.prototype.inspect),pd.prototype.compare=function(Pf,Uf,Zf,mh,Mh){if(Bf(Pf,Uint8Array)&&(Pf=pd.from(Pf,Pf.offset,Pf.byteLength)),!pd.isBuffer(Pf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Pf);if(Uf===void 0&&(Uf=0),Zf===void 0&&(Zf=Pf?Pf.length:0),mh===void 0&&(mh=0),Mh===void 0&&(Mh=this.length),Uf<0||Zf>Pf.length||mh<0||Mh>this.length)throw new RangeError("out of range index");if(mh>=Mh&&Uf>=Zf)return 0;if(mh>=Mh)return-1;if(Uf>=Zf)return 1;if(Uf>>>=0,Zf>>>=0,mh>>>=0,Mh>>>=0,this===Pf)return 0;for(var _h=Mh-mh,pm=Zf-Uf,Jh=Math.min(_h,pm),Mm=this.slice(mh,Mh),Im=Pf.slice(Uf,Zf),gm=0;gm2147483647?Uf=2147483647:Uf<-2147483648&&(Uf=-2147483648),Uf=+Uf,Sh(Uf)&&(Uf=mh?0:uh.length-1),Uf<0&&(Uf=uh.length+Uf),Uf>=uh.length){if(mh)return-1;Uf=uh.length-1}else if(Uf<0)if(mh)Uf=0;else return-1;if(typeof Pf=="string"&&(Pf=pd.from(Pf,Zf)),pd.isBuffer(Pf))return Pf.length===0?-1:Jd(uh,Pf,Uf,Zf,mh);if(typeof Pf=="number")return Pf=Pf&255,typeof Uint8Array.prototype.indexOf=="function"?mh?Uint8Array.prototype.indexOf.call(uh,Pf,Uf):Uint8Array.prototype.lastIndexOf.call(uh,Pf,Uf):Jd(uh,[Pf],Uf,Zf,mh);throw new TypeError("val must be string, number or Buffer")}function Jd(uh,Pf,Uf,Zf,mh){var Mh=1,_h=uh.length,pm=Pf.length;if(Zf!==void 0&&(Zf=String(Zf).toLowerCase(),Zf==="ucs2"||Zf==="ucs-2"||Zf==="utf16le"||Zf==="utf-16le")){if(uh.length<2||Pf.length<2)return-1;Mh=2,_h/=2,pm/=2,Uf/=2}function Jh(Vm,Th){return Mh===1?Vm[Th]:Vm.readUInt16BE(Th*Mh)}var Mm;if(mh){var Im=-1;for(Mm=Uf;Mm<_h;Mm++)if(Jh(uh,Mm)===Jh(Pf,Im===-1?0:Mm-Im)){if(Im===-1&&(Im=Mm),Mm-Im+1===pm)return Im*Mh}else Im!==-1&&(Mm-=Mm-Im),Im=-1}else for(Uf+pm>_h&&(Uf=_h-pm),Mm=Uf;Mm>=0;Mm--){for(var gm=!0,Lm=0;Lmmh&&(Zf=mh)):Zf=mh;var Mh=Pf.length;Zf>Mh/2&&(Zf=Mh/2);for(var _h=0;_h>>0,isFinite(Zf)?(Zf=Zf>>>0,mh===void 0&&(mh="utf8")):(mh=Zf,Zf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Mh=this.length-Uf;if((Zf===void 0||Zf>Mh)&&(Zf=Mh),Pf.length>0&&(Zf<0||Uf<0)||Uf>this.length)throw new RangeError("Attempt to write outside buffer bounds");mh||(mh="utf8");for(var _h=!1;;)switch(mh){case"hex":return _f(this,Pf,Uf,Zf);case"utf8":case"utf-8":return Xd(this,Pf,Uf,Zf);case"ascii":case"latin1":case"binary":return pf(this,Pf,Uf,Zf);case"base64":return mf(this,Pf,Uf,Zf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sf(this,Pf,Uf,Zf);default:if(_h)throw new TypeError("Unknown encoding: "+mh);mh=(""+mh).toLowerCase(),_h=!0}},pd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tf(uh,Pf,Uf){return Pf===0&&Uf===uh.length?qa.fromByteArray(uh):qa.fromByteArray(uh.slice(Pf,Uf))}function Af(uh,Pf,Uf){Uf=Math.min(uh.length,Uf);for(var Zf=[],mh=Pf;mh239?4:Mh>223?3:Mh>191?2:1;if(mh+pm<=Uf){var Jh,Mm,Im,gm;switch(pm){case 1:Mh<128&&(_h=Mh);break;case 2:Jh=uh[mh+1],(Jh&192)===128&&(gm=(Mh&31)<<6|Jh&63,gm>127&&(_h=gm));break;case 3:Jh=uh[mh+1],Mm=uh[mh+2],(Jh&192)===128&&(Mm&192)===128&&(gm=(Mh&15)<<12|(Jh&63)<<6|Mm&63,gm>2047&&(gm<55296||gm>57343)&&(_h=gm));break;case 4:Jh=uh[mh+1],Mm=uh[mh+2],Im=uh[mh+3],(Jh&192)===128&&(Mm&192)===128&&(Im&192)===128&&(gm=(Mh&15)<<18|(Jh&63)<<12|(Mm&63)<<6|Im&63,gm>65535&&gm<1114112&&(_h=gm))}}_h===null?(_h=65533,pm=1):_h>65535&&(_h-=65536,Zf.push(_h>>>10&1023|55296),_h=56320|_h&1023),Zf.push(_h),mh+=pm}return Nf(Zf)}var Ef=4096;function Nf(uh){var Pf=uh.length;if(Pf<=Ef)return String.fromCharCode.apply(String,uh);for(var Uf="",Zf=0;ZfZf)&&(Uf=Zf);for(var mh="",Mh=Pf;MhZf&&(Pf=Zf),Uf<0?(Uf+=Zf,Uf<0&&(Uf=0)):Uf>Zf&&(Uf=Zf),UfUf)throw new RangeError("Trying to access beyond buffer length")}pd.prototype.readUintLE=pd.prototype.readUIntLE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf],Mh=1,_h=0;++_h>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf+--Uf],Mh=1;Uf>0&&(Mh*=256);)mh+=this[Pf+--Uf]*Mh;return mh},pd.prototype.readUint8=pd.prototype.readUInt8=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,1,this.length),this[Pf]},pd.prototype.readUint16LE=pd.prototype.readUInt16LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,2,this.length),this[Pf]|this[Pf+1]<<8},pd.prototype.readUint16BE=pd.prototype.readUInt16BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,2,this.length),this[Pf]<<8|this[Pf+1]},pd.prototype.readUint32LE=pd.prototype.readUInt32LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),(this[Pf]|this[Pf+1]<<8|this[Pf+2]<<16)+this[Pf+3]*16777216},pd.prototype.readUint32BE=pd.prototype.readUInt32BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]*16777216+(this[Pf+1]<<16|this[Pf+2]<<8|this[Pf+3])},pd.prototype.readIntLE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=this[Pf],Mh=1,_h=0;++_h=Mh&&(mh-=Math.pow(2,8*Uf)),mh},pd.prototype.readIntBE=function(Pf,Uf,Zf){Pf=Pf>>>0,Uf=Uf>>>0,Zf||ph(Pf,Uf,this.length);for(var mh=Uf,Mh=1,_h=this[Pf+--mh];mh>0&&(Mh*=256);)_h+=this[Pf+--mh]*Mh;return Mh*=128,_h>=Mh&&(_h-=Math.pow(2,8*Uf)),_h},pd.prototype.readInt8=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,1,this.length),this[Pf]&128?(255-this[Pf]+1)*-1:this[Pf]},pd.prototype.readInt16LE=function(Pf,Uf){Pf=Pf>>>0,Uf||ph(Pf,2,this.length);var Zf=this[Pf]|this[Pf+1]<<8;return Zf&32768?Zf|4294901760:Zf},pd.prototype.readInt16BE=function(Pf,Uf){Pf=Pf>>>0,Uf||ph(Pf,2,this.length);var Zf=this[Pf+1]|this[Pf]<<8;return Zf&32768?Zf|4294901760:Zf},pd.prototype.readInt32LE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]|this[Pf+1]<<8|this[Pf+2]<<16|this[Pf+3]<<24},pd.prototype.readInt32BE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),this[Pf]<<24|this[Pf+1]<<16|this[Pf+2]<<8|this[Pf+3]},pd.prototype.readFloatLE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),nd.read(this,Pf,!0,23,4)},pd.prototype.readFloatBE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,4,this.length),nd.read(this,Pf,!1,23,4)},pd.prototype.readDoubleLE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,8,this.length),nd.read(this,Pf,!0,52,8)},pd.prototype.readDoubleBE=function(Pf,Uf){return Pf=Pf>>>0,Uf||ph(Pf,8,this.length),nd.read(this,Pf,!1,52,8)};function qf(uh,Pf,Uf,Zf,mh,Mh){if(!pd.isBuffer(uh))throw new TypeError('"buffer" argument must be a Buffer instance');if(Pf>mh||Pfuh.length)throw new RangeError("Index out of range")}pd.prototype.writeUintLE=pd.prototype.writeUIntLE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,Zf=Zf>>>0,!mh){var Mh=Math.pow(2,8*Zf)-1;qf(this,Pf,Uf,Zf,Mh,0)}var _h=1,pm=0;for(this[Uf]=Pf&255;++pm>>0,Zf=Zf>>>0,!mh){var Mh=Math.pow(2,8*Zf)-1;qf(this,Pf,Uf,Zf,Mh,0)}var _h=Zf-1,pm=1;for(this[Uf+_h]=Pf&255;--_h>=0&&(pm*=256);)this[Uf+_h]=Pf/pm&255;return Uf+Zf},pd.prototype.writeUint8=pd.prototype.writeUInt8=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,1,255,0),this[Uf]=Pf&255,Uf+1},pd.prototype.writeUint16LE=pd.prototype.writeUInt16LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,65535,0),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,Uf+2},pd.prototype.writeUint16BE=pd.prototype.writeUInt16BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,65535,0),this[Uf]=Pf>>>8,this[Uf+1]=Pf&255,Uf+2},pd.prototype.writeUint32LE=pd.prototype.writeUInt32LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,4294967295,0),this[Uf+3]=Pf>>>24,this[Uf+2]=Pf>>>16,this[Uf+1]=Pf>>>8,this[Uf]=Pf&255,Uf+4},pd.prototype.writeUint32BE=pd.prototype.writeUInt32BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,4294967295,0),this[Uf]=Pf>>>24,this[Uf+1]=Pf>>>16,this[Uf+2]=Pf>>>8,this[Uf+3]=Pf&255,Uf+4},pd.prototype.writeIntLE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,!mh){var Mh=Math.pow(2,8*Zf-1);qf(this,Pf,Uf,Zf,Mh-1,-Mh)}var _h=0,pm=1,Jh=0;for(this[Uf]=Pf&255;++_h>0)-Jh&255;return Uf+Zf},pd.prototype.writeIntBE=function(Pf,Uf,Zf,mh){if(Pf=+Pf,Uf=Uf>>>0,!mh){var Mh=Math.pow(2,8*Zf-1);qf(this,Pf,Uf,Zf,Mh-1,-Mh)}var _h=Zf-1,pm=1,Jh=0;for(this[Uf+_h]=Pf&255;--_h>=0&&(pm*=256);)Pf<0&&Jh===0&&this[Uf+_h+1]!==0&&(Jh=1),this[Uf+_h]=(Pf/pm>>0)-Jh&255;return Uf+Zf},pd.prototype.writeInt8=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,1,127,-128),Pf<0&&(Pf=255+Pf+1),this[Uf]=Pf&255,Uf+1},pd.prototype.writeInt16LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,32767,-32768),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,Uf+2},pd.prototype.writeInt16BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,2,32767,-32768),this[Uf]=Pf>>>8,this[Uf+1]=Pf&255,Uf+2},pd.prototype.writeInt32LE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,2147483647,-2147483648),this[Uf]=Pf&255,this[Uf+1]=Pf>>>8,this[Uf+2]=Pf>>>16,this[Uf+3]=Pf>>>24,Uf+4},pd.prototype.writeInt32BE=function(Pf,Uf,Zf){return Pf=+Pf,Uf=Uf>>>0,Zf||qf(this,Pf,Uf,4,2147483647,-2147483648),Pf<0&&(Pf=4294967295+Pf+1),this[Uf]=Pf>>>24,this[Uf+1]=Pf>>>16,this[Uf+2]=Pf>>>8,this[Uf+3]=Pf&255,Uf+4};function Lf(uh,Pf,Uf,Zf,mh,Mh){if(Uf+Zf>uh.length)throw new RangeError("Index out of range");if(Uf<0)throw new RangeError("Index out of range")}function Wf(uh,Pf,Uf,Zf,mh){return Pf=+Pf,Uf=Uf>>>0,mh||Lf(uh,Pf,Uf,4),nd.write(uh,Pf,Uf,Zf,23,4),Uf+4}pd.prototype.writeFloatLE=function(Pf,Uf,Zf){return Wf(this,Pf,Uf,!0,Zf)},pd.prototype.writeFloatBE=function(Pf,Uf,Zf){return Wf(this,Pf,Uf,!1,Zf)};function Jf(uh,Pf,Uf,Zf,mh){return Pf=+Pf,Uf=Uf>>>0,mh||Lf(uh,Pf,Uf,8),nd.write(uh,Pf,Uf,Zf,52,8),Uf+8}pd.prototype.writeDoubleLE=function(Pf,Uf,Zf){return Jf(this,Pf,Uf,!0,Zf)},pd.prototype.writeDoubleBE=function(Pf,Uf,Zf){return Jf(this,Pf,Uf,!1,Zf)},pd.prototype.copy=function(Pf,Uf,Zf,mh){if(!pd.isBuffer(Pf))throw new TypeError("argument should be a Buffer");if(Zf||(Zf=0),!mh&&mh!==0&&(mh=this.length),Uf>=Pf.length&&(Uf=Pf.length),Uf||(Uf=0),mh>0&&mh=this.length)throw new RangeError("Index out of range");if(mh<0)throw new RangeError("sourceEnd out of bounds");mh>this.length&&(mh=this.length),Pf.length-Uf>>0,Zf=Zf===void 0?this.length:Zf>>>0,Pf||(Pf=0);var _h;if(typeof Pf=="number")for(_h=Uf;_h55295&&Uf<57344){if(!mh){if(Uf>56319){(Pf-=3)>-1&&Mh.push(239,191,189);continue}else if(_h+1===Zf){(Pf-=3)>-1&&Mh.push(239,191,189);continue}mh=Uf;continue}if(Uf<56320){(Pf-=3)>-1&&Mh.push(239,191,189),mh=Uf;continue}Uf=(mh-55296<<10|Uf-56320)+65536}else mh&&(Pf-=3)>-1&&Mh.push(239,191,189);if(mh=null,Uf<128){if((Pf-=1)<0)break;Mh.push(Uf)}else if(Uf<2048){if((Pf-=2)<0)break;Mh.push(Uf>>6|192,Uf&63|128)}else if(Uf<65536){if((Pf-=3)<0)break;Mh.push(Uf>>12|224,Uf>>6&63|128,Uf&63|128)}else if(Uf<1114112){if((Pf-=4)<0)break;Mh.push(Uf>>18|240,Uf>>12&63|128,Uf>>6&63|128,Uf&63|128)}else throw new Error("Invalid code point")}return Mh}function Yf(uh){for(var Pf=[],Uf=0;Uf>8,mh=Uf%256,Mh.push(mh),Mh.push(Zf);return Mh}function Rh(uh){return qa.toByteArray(Cf(uh))}function th(uh,Pf,Uf,Zf){for(var mh=0;mh=Pf.length||mh>=uh.length);++mh)Pf[mh+Uf]=uh[mh];return mh}function Bf(uh,Pf){return uh instanceof Pf||uh!=null&&uh.constructor!=null&&uh.constructor.name!=null&&uh.constructor.name===Pf.name}function Sh(uh){return uh!==uh}var Fh=function(){for(var uh="0123456789abcdef",Pf=new Array(256),Uf=0;Uf<16;++Uf)for(var Zf=Uf*16,mh=0;mh<16;++mh)Pf[Zf+mh]=uh[Uf]+uh[mh];return Pf}()})(buffer);var util$a={},types$1={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var qa={},nd=Symbol("test"),od=Object(nd);if(typeof nd=="string"||Object.prototype.toString.call(nd)!=="[object Symbol]"||Object.prototype.toString.call(od)!=="[object Symbol]")return!1;var ld=42;qa[nd]=ld;for(nd in qa)return!1;if(typeof Object.keys=="function"&&Object.keys(qa).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(qa).length!==0)return!1;var ud=Object.getOwnPropertySymbols(qa);if(ud.length!==1||ud[0]!==nd||!Object.prototype.propertyIsEnumerable.call(qa,nd))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var dd=Object.getOwnPropertyDescriptor(qa,nd);if(dd.value!==ld||dd.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range$1=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test$1={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test$1}.foo===test$1.foo&&!(test$1 instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(qa,nd){for(var od=[],ld=0;ld"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(Ra){var errorProto=getProto$1(getProto$1(Ra));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function Ra(qa){var nd;if(qa==="%AsyncFunction%")nd=getEvalledConstructor("async function () {}");else if(qa==="%GeneratorFunction%")nd=getEvalledConstructor("function* () {}");else if(qa==="%AsyncGeneratorFunction%")nd=getEvalledConstructor("async function* () {}");else if(qa==="%AsyncGenerator%"){var od=Ra("%AsyncGeneratorFunction%");od&&(nd=od.prototype)}else if(qa==="%AsyncIteratorPrototype%"){var ld=Ra("%AsyncGenerator%");ld&&getProto$1&&(nd=getProto$1(ld.prototype))}return INTRINSICS[qa]=nd,nd},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$1=functionBind,hasOwn=hasown,$concat=bind$1.call(Function.call,Array.prototype.concat),$spliceApply=bind$1.call(Function.apply,Array.prototype.splice),$replace=bind$1.call(Function.call,String.prototype.replace),$strSlice=bind$1.call(Function.call,String.prototype.slice),$exec=bind$1.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(qa){var nd=$strSlice(qa,0,1),od=$strSlice(qa,-1);if(nd==="%"&&od!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(od==="%"&&nd!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var ld=[];return $replace(qa,rePropName,function(ud,dd,pd,fd){ld[ld.length]=pd?$replace(fd,reEscapeChar,"$1"):dd||ud}),ld},getBaseIntrinsic=function(qa,nd){var od=qa,ld;if(hasOwn(LEGACY_ALIASES,od)&&(ld=LEGACY_ALIASES[od],od="%"+ld[0]+"%"),hasOwn(INTRINSICS,od)){var ud=INTRINSICS[od];if(ud===needsEval&&(ud=doEval(od)),typeof ud>"u"&&!nd)throw new $TypeError$2("intrinsic "+qa+" exists, but is not available. Please file an issue!");return{alias:ld,name:od,value:ud}}throw new $SyntaxError$1("intrinsic "+qa+" does not exist!")},getIntrinsic=function(qa,nd){if(typeof qa!="string"||qa.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof nd!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,qa)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var od=stringToPath(qa),ld=od.length>0?od[0]:"",ud=getBaseIntrinsic("%"+ld+"%",nd),dd=ud.name,pd=ud.value,fd=!1,md=ud.alias;md&&(ld=md[0],$spliceApply(od,$concat([0,1],md)));for(var vd=1,Ad=!0;vd=od.length){var Ld=$gOPD$1(pd,Nd);Ad=!!Ld,Ad&&"get"in Ld&&!("originalValue"in Ld.get)?pd=Ld.get:pd=pd[Nd]}else Ad=hasOwn(pd,Nd),pd=pd[Nd];Ad&&!fd&&(INTRINSICS[dd]=pd)}}return pd},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var Ra=getIntrinsic,qa=Ra("%Object.defineProperty%",!0)||!1;if(qa)try{qa({},"a",{value:1})}catch{qa=!1}return esDefineProperty=qa,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type,gopd=gopd$1,defineDataProperty=function(qa,nd,od){if(!qa||typeof qa!="object"&&typeof qa!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof nd!="string"&&typeof nd!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var ld=arguments.length>3?arguments[3]:null,ud=arguments.length>4?arguments[4]:null,dd=arguments.length>5?arguments[5]:null,pd=arguments.length>6?arguments[6]:!1,fd=!!gopd&&gopd(qa,nd);if($defineProperty$1)$defineProperty$1(qa,nd,{configurable:dd===null&&fd?fd.configurable:!dd,enumerable:ld===null&&fd?fd.enumerable:!ld,value:od,writable:ud===null&&fd?fd.writable:!ud});else if(pd||!ld&&!ud&&!dd)qa[nd]=od;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(qa,nd){if(typeof qa!="function")throw new $TypeError("`fn` is not a function");if(typeof nd!="number"||nd<0||nd>4294967295||$floor(nd)!==nd)throw new $TypeError("`length` must be a positive 32-bit integer");var od=arguments.length>2&&!!arguments[2],ld=!0,ud=!0;if("length"in qa&&gOPD$1){var dd=gOPD$1(qa,"length");dd&&!dd.configurable&&(ld=!1),dd&&!dd.writable&&(ud=!1)}return(ld||ud||!od)&&(hasDescriptors?define(qa,"length",nd,!0,!0):define(qa,"length",nd)),qa};(function(Ra){var qa=functionBind,nd=getIntrinsic,od=setFunctionLength,ld=type,ud=nd("%Function.prototype.apply%"),dd=nd("%Function.prototype.call%"),pd=nd("%Reflect.apply%",!0)||qa.call(dd,ud),fd=requireEsDefineProperty(),md=nd("%Math.max%");Ra.exports=function(Nd){if(typeof Nd!="function")throw new ld("a function is required");var Od=pd(qa,dd,arguments);return od(Od,1+md(0,Nd.length-(arguments.length-1)),!0)};var vd=function(){return pd(qa,ud,arguments)};fd?fd(Ra.exports,"apply",{value:vd}):Ra.exports.apply=vd})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(qa,nd){var od=GetIntrinsic(qa,!!nd);return typeof od=="function"&&$indexOf$1(qa,".prototype.")>-1?callBind$1(od):od},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(qa){return hasToStringTag$3&&qa&&typeof qa=="object"&&Symbol.toStringTag in qa?!1:$toString$1(qa)==="[object Arguments]"},isLegacyArguments=function(qa){return isStandardArguments(qa)?!0:qa!==null&&typeof qa=="object"&&typeof qa.length=="number"&&qa.length>=0&&$toString$1(qa)!=="[object Array]"&&$toString$1(qa.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(qa){if(typeof qa!="function")return!1;if(isFnRegex.test(fnToStr$1.call(qa)))return!0;if(!hasToStringTag$2){var nd=toStr$2.call(qa);return nd==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var od=getGeneratorFunc();GeneratorFunction=od?getProto(od):!1}return getProto(qa)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(Ra){Ra!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(qa){try{var nd=fnToStr.call(qa);return constructorRegex.test(nd)}catch{return!1}},tryFunctionObject=function(qa){try{return isES6ClassFn(qa)?!1:(fnToStr.call(qa),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(qa){if((isIE68||!qa)&&(typeof qa>"u"||typeof qa=="object"))try{var nd=toStr$1.call(qa);return(nd===ddaClass||nd===ddaClass2||nd===ddaClass3||nd===objectClass)&&qa("")==null}catch{}return!1})}var isCallable$2=reflectApply?function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;try{reflectApply(qa,null,badArrayLike)}catch(nd){if(nd!==isCallableMarker)return!1}return!isES6ClassFn(qa)&&tryFunctionObject(qa)}:function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(qa);if(isES6ClassFn(qa))return!1;var nd=toStr$1.call(qa);return nd!==fnClass&&nd!==genClass&&!/^\[object HTML/.test(nd)?!1:tryFunctionObject(qa)},isCallable$1=isCallable$2,toStr=Object.prototype.toString,hasOwnProperty$2=Object.prototype.hasOwnProperty,forEachArray=function(qa,nd,od){for(var ld=0,ud=qa.length;ld=3&&(ld=od),toStr.call(qa)==="[object Array]"?forEachArray(qa,nd,ld):typeof qa=="string"?forEachString(qa,nd,ld):forEachObject(qa,nd,ld)},forEach_1=forEach$3,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$2=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var qa=[],nd=0;nd"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf$1=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(qa,nd){for(var od=0;od-1?nd:nd!=="Object"?!1:trySlices(qa)}return gOPD?tryTypedArrays(qa):null},whichTypedArray=whichTypedArray$1,isTypedArray$1=function(qa){return!!whichTypedArray(qa)};(function(Ra){var qa=isArguments,nd=isGeneratorFunction,od=whichTypedArray$1,ld=isTypedArray$1;function ud(Zf){return Zf.call.bind(Zf)}var dd=typeof BigInt<"u",pd=typeof Symbol<"u",fd=ud(Object.prototype.toString),md=ud(Number.prototype.valueOf),vd=ud(String.prototype.valueOf),Ad=ud(Boolean.prototype.valueOf);if(dd)var Nd=ud(BigInt.prototype.valueOf);if(pd)var Od=ud(Symbol.prototype.valueOf);function kd(Zf,mh){if(typeof Zf!="object")return!1;try{return mh(Zf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=nd,Ra.isTypedArray=ld;function Ld(Zf){return typeof Promise<"u"&&Zf instanceof Promise||Zf!==null&&typeof Zf=="object"&&typeof Zf.then=="function"&&typeof Zf.catch=="function"}Ra.isPromise=Ld;function Gd(Zf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Zf):ld(Zf)||Lf(Zf)}Ra.isArrayBufferView=Gd;function jd(Zf){return od(Zf)==="Uint8Array"}Ra.isUint8Array=jd;function Fd(Zf){return od(Zf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Fd;function Ud(Zf){return od(Zf)==="Uint16Array"}Ra.isUint16Array=Ud;function qd(Zf){return od(Zf)==="Uint32Array"}Ra.isUint32Array=qd;function zd(Zf){return od(Zf)==="Int8Array"}Ra.isInt8Array=zd;function Wd(Zf){return od(Zf)==="Int16Array"}Ra.isInt16Array=Wd;function Jd(Zf){return od(Zf)==="Int32Array"}Ra.isInt32Array=Jd;function _f(Zf){return od(Zf)==="Float32Array"}Ra.isFloat32Array=_f;function Xd(Zf){return od(Zf)==="Float64Array"}Ra.isFloat64Array=Xd;function pf(Zf){return od(Zf)==="BigInt64Array"}Ra.isBigInt64Array=pf;function mf(Zf){return od(Zf)==="BigUint64Array"}Ra.isBigUint64Array=mf;function Sf(Zf){return fd(Zf)==="[object Map]"}Sf.working=typeof Map<"u"&&Sf(new Map);function Tf(Zf){return typeof Map>"u"?!1:Sf.working?Sf(Zf):Zf instanceof Map}Ra.isMap=Tf;function Af(Zf){return fd(Zf)==="[object Set]"}Af.working=typeof Set<"u"&&Af(new Set);function Ef(Zf){return typeof Set>"u"?!1:Af.working?Af(Zf):Zf instanceof Set}Ra.isSet=Ef;function Nf(Zf){return fd(Zf)==="[object WeakMap]"}Nf.working=typeof WeakMap<"u"&&Nf(new WeakMap);function If(Zf){return typeof WeakMap>"u"?!1:Nf.working?Nf(Zf):Zf instanceof WeakMap}Ra.isWeakMap=If;function Gf(Zf){return fd(Zf)==="[object WeakSet]"}Gf.working=typeof WeakSet<"u"&&Gf(new WeakSet);function Qf(Zf){return Gf(Zf)}Ra.isWeakSet=Qf;function Xf(Zf){return fd(Zf)==="[object ArrayBuffer]"}Xf.working=typeof ArrayBuffer<"u"&&Xf(new ArrayBuffer);function ph(Zf){return typeof ArrayBuffer>"u"?!1:Xf.working?Xf(Zf):Zf instanceof ArrayBuffer}Ra.isArrayBuffer=ph;function qf(Zf){return fd(Zf)==="[object DataView]"}qf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&qf(new DataView(new ArrayBuffer(1),0,1));function Lf(Zf){return typeof DataView>"u"?!1:qf.working?qf(Zf):Zf instanceof DataView}Ra.isDataView=Lf;var Wf=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Jf(Zf){return fd(Zf)==="[object SharedArrayBuffer]"}function Kf(Zf){return typeof Wf>"u"?!1:(typeof Jf.working>"u"&&(Jf.working=Jf(new Wf)),Jf.working?Jf(Zf):Zf instanceof Wf)}Ra.isSharedArrayBuffer=Kf;function Cf(Zf){return fd(Zf)==="[object AsyncFunction]"}Ra.isAsyncFunction=Cf;function xf(Zf){return fd(Zf)==="[object Map Iterator]"}Ra.isMapIterator=xf;function Yf(Zf){return fd(Zf)==="[object Set Iterator]"}Ra.isSetIterator=Yf;function dh(Zf){return fd(Zf)==="[object Generator]"}Ra.isGeneratorObject=dh;function Rh(Zf){return fd(Zf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=Rh;function th(Zf){return kd(Zf,md)}Ra.isNumberObject=th;function Bf(Zf){return kd(Zf,vd)}Ra.isStringObject=Bf;function Sh(Zf){return kd(Zf,Ad)}Ra.isBooleanObject=Sh;function Fh(Zf){return dd&&kd(Zf,Nd)}Ra.isBigIntObject=Fh;function uh(Zf){return pd&&kd(Zf,Od)}Ra.isSymbolObject=uh;function Pf(Zf){return th(Zf)||Bf(Zf)||Sh(Zf)||Fh(Zf)||uh(Zf)}Ra.isBoxedPrimitive=Pf;function Uf(Zf){return typeof Uint8Array<"u"&&(ph(Zf)||Kf(Zf))}Ra.isAnyArrayBuffer=Uf,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Zf){Object.defineProperty(Ra,Zf,{enumerable:!1,value:function(){throw new Error(Zf+" is not supported in userland")}})})})(types$1);var isBufferBrowser=function(qa){return qa&&typeof qa=="object"&&typeof qa.copy=="function"&&typeof qa.fill=="function"&&typeof qa.readUInt8=="function"};(function(Ra){var qa={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},nd={},od=Object.getOwnPropertyDescriptors||function(Jf){for(var Kf=Object.keys(Jf),Cf={},xf=0;xf=xf)return Rh;switch(Rh){case"%s":return String(Cf[Kf++]);case"%d":return Number(Cf[Kf++]);case"%j":try{return JSON.stringify(Cf[Kf++])}catch{return"[Circular]"}default:return Rh}}),dh=Cf[Kf];Kf"u")return function(){return Ra.deprecate(Wf,Jf).apply(this,arguments)};var Kf=!1;function Cf(){if(!Kf){if(qa.throwDeprecation)throw new Error(Jf);qa.traceDeprecation?console.trace(Jf):console.error(Jf),Kf=!0}return Wf.apply(this,arguments)}return Cf};var ud={},dd=/^$/;if(nd.NODE_DEBUG){var pd=nd.NODE_DEBUG;pd=pd.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),dd=new RegExp("^"+pd+"$","i")}Ra.debuglog=function(Wf){if(Wf=Wf.toUpperCase(),!ud[Wf])if(dd.test(Wf)){var Jf=qa.pid;ud[Wf]=function(){var Kf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",Wf,Jf,Kf)}}else ud[Wf]=function(){};return ud[Wf]};function fd(Wf,Jf){var Kf={seen:[],stylize:vd};return arguments.length>=3&&(Kf.depth=arguments[2]),arguments.length>=4&&(Kf.colors=arguments[3]),Ud(Jf)?Kf.showHidden=Jf:Jf&&Ra._extend(Kf,Jf),Xd(Kf.showHidden)&&(Kf.showHidden=!1),Xd(Kf.depth)&&(Kf.depth=2),Xd(Kf.colors)&&(Kf.colors=!1),Xd(Kf.customInspect)&&(Kf.customInspect=!0),Kf.colors&&(Kf.stylize=md),Nd(Kf,Wf,Kf.depth)}Ra.inspect=fd,fd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},fd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function md(Wf,Jf){var Kf=fd.styles[Jf];return Kf?"\x1B["+fd.colors[Kf][0]+"m"+Wf+"\x1B["+fd.colors[Kf][1]+"m":Wf}function vd(Wf,Jf){return Wf}function Ad(Wf){var Jf={};return Wf.forEach(function(Kf,Cf){Jf[Kf]=!0}),Jf}function Nd(Wf,Jf,Kf){if(Wf.customInspect&&Jf&&Af(Jf.inspect)&&Jf.inspect!==Ra.inspect&&!(Jf.constructor&&Jf.constructor.prototype===Jf)){var Cf=Jf.inspect(Kf,Wf);return Jd(Cf)||(Cf=Nd(Wf,Cf,Kf)),Cf}var xf=Od(Wf,Jf);if(xf)return xf;var Yf=Object.keys(Jf),dh=Ad(Yf);if(Wf.showHidden&&(Yf=Object.getOwnPropertyNames(Jf)),Tf(Jf)&&(Yf.indexOf("message")>=0||Yf.indexOf("description")>=0))return kd(Jf);if(Yf.length===0){if(Af(Jf)){var Rh=Jf.name?": "+Jf.name:"";return Wf.stylize("[Function"+Rh+"]","special")}if(pf(Jf))return Wf.stylize(RegExp.prototype.toString.call(Jf),"regexp");if(Sf(Jf))return Wf.stylize(Date.prototype.toString.call(Jf),"date");if(Tf(Jf))return kd(Jf)}var th="",Bf=!1,Sh=["{","}"];if(Fd(Jf)&&(Bf=!0,Sh=["[","]"]),Af(Jf)){var Fh=Jf.name?": "+Jf.name:"";th=" [Function"+Fh+"]"}if(pf(Jf)&&(th=" "+RegExp.prototype.toString.call(Jf)),Sf(Jf)&&(th=" "+Date.prototype.toUTCString.call(Jf)),Tf(Jf)&&(th=" "+kd(Jf)),Yf.length===0&&(!Bf||Jf.length==0))return Sh[0]+th+Sh[1];if(Kf<0)return pf(Jf)?Wf.stylize(RegExp.prototype.toString.call(Jf),"regexp"):Wf.stylize("[Object]","special");Wf.seen.push(Jf);var uh;return Bf?uh=Ld(Wf,Jf,Kf,dh,Yf):uh=Yf.map(function(Pf){return Gd(Wf,Jf,Kf,dh,Pf,Bf)}),Wf.seen.pop(),jd(uh,th,Sh)}function Od(Wf,Jf){if(Xd(Jf))return Wf.stylize("undefined","undefined");if(Jd(Jf)){var Kf="'"+JSON.stringify(Jf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Wf.stylize(Kf,"string")}if(Wd(Jf))return Wf.stylize(""+Jf,"number");if(Ud(Jf))return Wf.stylize(""+Jf,"boolean");if(qd(Jf))return Wf.stylize("null","null")}function kd(Wf){return"["+Error.prototype.toString.call(Wf)+"]"}function Ld(Wf,Jf,Kf,Cf,xf){for(var Yf=[],dh=0,Rh=Jf.length;dh-1&&(Yf?Rh=Rh.split(` `).map(function(Bf){return" "+Bf}).join(` `).slice(2):Rh=` @@ -998,7 +998,7 @@ ${Ra.themeCSS}`),Ra.fontFamily!==void 0&&(nd+=` `))):Rh=Wf.stylize("[Circular]","special")),Xd(dh)){if(Yf&&xf.match(/^\d+$/))return Rh;dh=JSON.stringify(""+xf),dh.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(dh=dh.slice(1,-1),dh=Wf.stylize(dh,"name")):(dh=dh.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),dh=Wf.stylize(dh,"string"))}return dh+": "+Rh}function jd(Wf,Jf,Kf){var Cf=Wf.reduce(function(xf,Yf){return Yf.indexOf(` `)>=0,xf+Yf.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Cf>60?Kf[0]+(Jf===""?"":Jf+` `)+" "+Wf.join(`, - `)+" "+Kf[1]:Kf[0]+Jf+" "+Wf.join(", ")+" "+Kf[1]}Ra.types=types$1;function Fd(Wf){return Array.isArray(Wf)}Ra.isArray=Fd;function Ud(Wf){return typeof Wf=="boolean"}Ra.isBoolean=Ud;function qd(Wf){return Wf===null}Ra.isNull=qd;function zd(Wf){return Wf==null}Ra.isNullOrUndefined=zd;function Wd(Wf){return typeof Wf=="number"}Ra.isNumber=Wd;function Jd(Wf){return typeof Wf=="string"}Ra.isString=Jd;function _f(Wf){return typeof Wf=="symbol"}Ra.isSymbol=_f;function Xd(Wf){return Wf===void 0}Ra.isUndefined=Xd;function pf(Wf){return mf(Wf)&&Nf(Wf)==="[object RegExp]"}Ra.isRegExp=pf,Ra.types.isRegExp=pf;function mf(Wf){return typeof Wf=="object"&&Wf!==null}Ra.isObject=mf;function Sf(Wf){return mf(Wf)&&Nf(Wf)==="[object Date]"}Ra.isDate=Sf,Ra.types.isDate=Sf;function Tf(Wf){return mf(Wf)&&(Nf(Wf)==="[object Error]"||Wf instanceof Error)}Ra.isError=Tf,Ra.types.isNativeError=Tf;function Af(Wf){return typeof Wf=="function"}Ra.isFunction=Af;function Ef(Wf){return Wf===null||typeof Wf=="boolean"||typeof Wf=="number"||typeof Wf=="string"||typeof Wf=="symbol"||typeof Wf>"u"}Ra.isPrimitive=Ef,Ra.isBuffer=isBufferBrowser;function Nf(Wf){return Object.prototype.toString.call(Wf)}function If(Wf){return Wf<10?"0"+Wf.toString(10):Wf.toString(10)}var Gf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qf(){var Wf=new Date,Jf=[If(Wf.getHours()),If(Wf.getMinutes()),If(Wf.getSeconds())].join(":");return[Wf.getDate(),Gf[Wf.getMonth()],Jf].join(" ")}Ra.log=function(){console.log("%s - %s",Qf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function(Wf,Jf){if(!Jf||!mf(Jf))return Wf;for(var Kf=Object.keys(Jf),Cf=Kf.length;Cf--;)Wf[Kf[Cf]]=Jf[Kf[Cf]];return Wf};function Xf(Wf,Jf){return Object.prototype.hasOwnProperty.call(Wf,Jf)}var ph=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(Jf){if(typeof Jf!="function")throw new TypeError('The "original" argument must be of type Function');if(ph&&Jf[ph]){var Kf=Jf[ph];if(typeof Kf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Kf,ph,{value:Kf,enumerable:!1,writable:!1,configurable:!0}),Kf}function Kf(){for(var Cf,xf,Yf=new Promise(function(th,Bf){Cf=th,xf=Bf}),dh=[],Rh=0;Rh0?this.tail.next=jd:this.head=jd,this.tail=jd,++this.length}},{key:"unshift",value:function(Gd){var jd={data:Gd,next:this.head};this.length===0&&(this.tail=jd),this.head=jd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Gd=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Gd}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Gd){if(this.length===0)return"";for(var jd=this.head,Fd=""+jd.data;jd=jd.next;)Fd+=Gd+jd.data;return Fd}},{key:"concat",value:function(Gd){if(this.length===0)return md.alloc(0);for(var jd=md.allocUnsafe(Gd>>>0),Fd=this.head,Ud=0;Fd;)Od(Fd.data,jd,Ud),Ud+=Fd.data.length,Fd=Fd.next;return jd}},{key:"consume",value:function(Gd,jd){var Fd;return Gdqd.length?qd.length:Gd;if(zd===qd.length?Ud+=qd:Ud+=qd.slice(0,Gd),Gd-=zd,Gd===0){zd===qd.length?(++Fd,jd.next?this.head=jd.next:this.head=this.tail=null):(this.head=jd,jd.data=qd.slice(zd));break}++Fd}return this.length-=Fd,Ud}},{key:"_getBuffer",value:function(Gd){var jd=md.allocUnsafe(Gd),Fd=this.head,Ud=1;for(Fd.data.copy(jd),Gd-=Fd.data.length;Fd=Fd.next;){var qd=Fd.data,zd=Gd>qd.length?qd.length:Gd;if(qd.copy(jd,jd.length-Gd,0,zd),Gd-=zd,Gd===0){zd===qd.length?(++Ud,Fd.next?this.head=Fd.next:this.head=this.tail=null):(this.head=Fd,Fd.data=qd.slice(zd));break}++Ud}return this.length-=Ud,jd}},{key:Nd,value:function(Gd,jd){return Ad(this,qa(qa({},jd),{},{depth:0,customInspect:!1}))}}]),kd}(),buffer_list}var define_process_default$8={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function destroy(Ra,qa){var nd=this,od=this._readableState&&this._readableState.destroyed,ld=this._writableState&&this._writableState.destroyed;return od||ld?(qa?qa(Ra):Ra&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,define_process_default$8.nextTick(emitErrorNT,this,Ra)):define_process_default$8.nextTick(emitErrorNT,this,Ra)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Ra||null,function(ud){!qa&&ud?nd._writableState?nd._writableState.errorEmitted?define_process_default$8.nextTick(emitCloseNT,nd):(nd._writableState.errorEmitted=!0,define_process_default$8.nextTick(emitErrorAndCloseNT,nd,ud)):define_process_default$8.nextTick(emitErrorAndCloseNT,nd,ud):qa?(define_process_default$8.nextTick(emitCloseNT,nd),qa(ud)):define_process_default$8.nextTick(emitCloseNT,nd)}),this)}function emitErrorAndCloseNT(Ra,qa){emitErrorNT(Ra,qa),emitCloseNT(Ra)}function emitCloseNT(Ra){Ra._writableState&&!Ra._writableState.emitClose||Ra._readableState&&!Ra._readableState.emitClose||Ra.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(Ra,qa){Ra.emit("error",qa)}function errorOrDestroy(Ra,qa){var nd=Ra._readableState,od=Ra._writableState;nd&&nd.autoDestroy||od&&od.autoDestroy?Ra.destroy(qa):Ra.emit("error",qa)}var destroy_1={destroy,undestroy,errorOrDestroy},errorsBrowser={};function _inheritsLoose(Ra,qa){Ra.prototype=Object.create(qa.prototype),Ra.prototype.constructor=Ra,Ra.__proto__=qa}var codes={};function createErrorType(Ra,qa,nd){nd||(nd=Error);function od(ud,dd,pd){return typeof qa=="string"?qa:qa(ud,dd,pd)}var ld=function(ud){_inheritsLoose(dd,ud);function dd(pd,fd,md){return ud.call(this,od(pd,fd,md))||this}return dd}(nd);ld.prototype.name=nd.name,ld.prototype.code=Ra,codes[Ra]=ld}function oneOf(Ra,qa){if(Array.isArray(Ra)){var nd=Ra.length;return Ra=Ra.map(function(od){return String(od)}),nd>2?"one of ".concat(qa," ").concat(Ra.slice(0,nd-1).join(", "),", or ")+Ra[nd-1]:nd===2?"one of ".concat(qa," ").concat(Ra[0]," or ").concat(Ra[1]):"of ".concat(qa," ").concat(Ra[0])}else return"of ".concat(qa," ").concat(String(Ra))}function startsWith(Ra,qa,nd){return Ra.substr(0,qa.length)===qa}function endsWith$1(Ra,qa,nd){return(nd===void 0||nd>Ra.length)&&(nd=Ra.length),Ra.substring(nd-qa.length,nd)===qa}function includes(Ra,qa,nd){return typeof nd!="number"&&(nd=0),nd+qa.length>Ra.length?!1:Ra.indexOf(qa,nd)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(Ra,qa){return'The value "'+qa+'" is invalid for option "'+Ra+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(Ra,qa,nd){var od;typeof qa=="string"&&startsWith(qa,"not ")?(od="must not be",qa=qa.replace(/^not /,"")):od="must be";var ld;if(endsWith$1(Ra," argument"))ld="The ".concat(Ra," ").concat(od," ").concat(oneOf(qa,"type"));else{var ud=includes(Ra,".")?"property":"argument";ld='The "'.concat(Ra,'" ').concat(ud," ").concat(od," ").concat(oneOf(qa,"type"))}return ld+=". Received type ".concat(typeof nd),ld},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(Ra){return"The "+Ra+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(Ra){return"Cannot call "+Ra+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(Ra){return"Unknown encoding: "+Ra},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");errorsBrowser.codes=codes;var ERR_INVALID_OPT_VALUE=errorsBrowser.codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(Ra,qa,nd){return Ra.highWaterMark!=null?Ra.highWaterMark:qa?Ra[nd]:null}function getHighWaterMark(Ra,qa,nd,od){var ld=highWaterMarkFrom(qa,od,nd);if(ld!=null){if(!(isFinite(ld)&&Math.floor(ld)===ld)||ld<0){var ud=od?nd:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(ud,ld)}return Math.floor(ld)}return Ra.objectMode?16:16*1024}var state={getHighWaterMark},browser$1=deprecate;function deprecate(Ra,qa){if(config("noDeprecation"))return Ra;var nd=!1;function od(){if(!nd){if(config("throwDeprecation"))throw new Error(qa);config("traceDeprecation")?console.trace(qa):console.warn(qa),nd=!0}return Ra.apply(this,arguments)}return od}function config(Ra){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var qa=commonjsGlobal.localStorage[Ra];return qa==null?!1:String(qa).toLowerCase()==="true"}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_writable=Xd;function qa(Cf){var xf=this;this.next=null,this.entry=null,this.finish=function(){Kf(xf,Cf)}}var nd;Xd.WritableState=Jd;var od={deprecate:browser$1},ld=streamBrowser,ud=buffer.Buffer,dd=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pd(Cf){return ud.from(Cf)}function fd(Cf){return ud.isBuffer(Cf)||Cf instanceof dd}var md=destroy_1,vd=state,Ad=vd.getHighWaterMark,Nd=errorsBrowser.codes,Od=Nd.ERR_INVALID_ARG_TYPE,kd=Nd.ERR_METHOD_NOT_IMPLEMENTED,Ld=Nd.ERR_MULTIPLE_CALLBACK,Gd=Nd.ERR_STREAM_CANNOT_PIPE,jd=Nd.ERR_STREAM_DESTROYED,Fd=Nd.ERR_STREAM_NULL_VALUES,Ud=Nd.ERR_STREAM_WRITE_AFTER_END,qd=Nd.ERR_UNKNOWN_ENCODING,zd=md.errorOrDestroy;inherits_browserExports(Xd,ld);function Wd(){}function Jd(Cf,xf,Yf){nd=nd||require_stream_duplex(),Cf=Cf||{},typeof Yf!="boolean"&&(Yf=xf instanceof nd),this.objectMode=!!Cf.objectMode,Yf&&(this.objectMode=this.objectMode||!!Cf.writableObjectMode),this.highWaterMark=Ad(this,Cf,"writableHighWaterMark",Yf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var dh=Cf.decodeStrings===!1;this.decodeStrings=!dh,this.defaultEncoding=Cf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Rh){If(xf,Rh)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Cf.emitClose!==!1,this.autoDestroy=!!Cf.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new qa(this)}Jd.prototype.getBuffer=function(){for(var xf=this.bufferedRequest,Yf=[];xf;)Yf.push(xf),xf=xf.next;return Yf},function(){try{Object.defineProperty(Jd.prototype,"buffer",{get:od.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var _f;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_f=Function.prototype[Symbol.hasInstance],Object.defineProperty(Xd,Symbol.hasInstance,{value:function(xf){return _f.call(this,xf)?!0:this!==Xd?!1:xf&&xf._writableState instanceof Jd}})):_f=function(xf){return xf instanceof this};function Xd(Cf){nd=nd||require_stream_duplex();var xf=this instanceof nd;if(!xf&&!_f.call(Xd,this))return new Xd(Cf);this._writableState=new Jd(Cf,this,xf),this.writable=!0,Cf&&(typeof Cf.write=="function"&&(this._write=Cf.write),typeof Cf.writev=="function"&&(this._writev=Cf.writev),typeof Cf.destroy=="function"&&(this._destroy=Cf.destroy),typeof Cf.final=="function"&&(this._final=Cf.final)),ld.call(this)}Xd.prototype.pipe=function(){zd(this,new Gd)};function pf(Cf,xf){var Yf=new Ud;zd(Cf,Yf),Ra.nextTick(xf,Yf)}function mf(Cf,xf,Yf,dh){var Rh;return Yf===null?Rh=new Fd:typeof Yf!="string"&&!xf.objectMode&&(Rh=new Od("chunk",["string","Buffer"],Yf)),Rh?(zd(Cf,Rh),Ra.nextTick(dh,Rh),!1):!0}Xd.prototype.write=function(Cf,xf,Yf){var dh=this._writableState,Rh=!1,th=!dh.objectMode&&fd(Cf);return th&&!ud.isBuffer(Cf)&&(Cf=pd(Cf)),typeof xf=="function"&&(Yf=xf,xf=null),th?xf="buffer":xf||(xf=dh.defaultEncoding),typeof Yf!="function"&&(Yf=Wd),dh.ending?pf(this,Yf):(th||mf(this,dh,Cf,Yf))&&(dh.pendingcb++,Rh=Tf(this,dh,th,Cf,xf,Yf)),Rh},Xd.prototype.cork=function(){this._writableState.corked++},Xd.prototype.uncork=function(){var Cf=this._writableState;Cf.corked&&(Cf.corked--,!Cf.writing&&!Cf.corked&&!Cf.bufferProcessing&&Cf.bufferedRequest&&Xf(this,Cf))},Xd.prototype.setDefaultEncoding=function(xf){if(typeof xf=="string"&&(xf=xf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((xf+"").toLowerCase())>-1))throw new qd(xf);return this._writableState.defaultEncoding=xf,this},Object.defineProperty(Xd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Sf(Cf,xf,Yf){return!Cf.objectMode&&Cf.decodeStrings!==!1&&typeof xf=="string"&&(xf=ud.from(xf,Yf)),xf}Object.defineProperty(Xd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Tf(Cf,xf,Yf,dh,Rh,th){if(!Yf){var Bf=Sf(xf,dh,Rh);dh!==Bf&&(Yf=!0,Rh="buffer",dh=Bf)}var Sh=xf.objectMode?1:dh.length;xf.length+=Sh;var Fh=xf.length */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(Ra,qa){var nd=buffer,od=nd.Buffer;function ld(dd,pd){for(var fd in dd)pd[fd]=dd[fd]}od.from&&od.alloc&&od.allocUnsafe&&od.allocUnsafeSlow?Ra.exports=nd:(ld(nd,qa),qa.Buffer=ud);function ud(dd,pd,fd){return od(dd,pd,fd)}ud.prototype=Object.create(od.prototype),ld(od,ud),ud.from=function(dd,pd,fd){if(typeof dd=="number")throw new TypeError("Argument must not be a number");return od(dd,pd,fd)},ud.alloc=function(dd,pd,fd){if(typeof dd!="number")throw new TypeError("Argument must be a number");var md=od(dd);return pd!==void 0?typeof fd=="string"?md.fill(pd,fd):md.fill(pd):md.fill(0),md},ud.allocUnsafe=function(dd){if(typeof dd!="number")throw new TypeError("Argument must be a number");return od(dd)},ud.allocUnsafeSlow=function(dd){if(typeof dd!="number")throw new TypeError("Argument must be a number");return nd.SlowBuffer(dd)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var Ra=requireSafeBuffer().Buffer,qa=Ra.isEncoding||function(jd){switch(jd=""+jd,jd&&jd.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function nd(jd){if(!jd)return"utf8";for(var Fd;;)switch(jd){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return jd;default:if(Fd)return;jd=(""+jd).toLowerCase(),Fd=!0}}function od(jd){var Fd=nd(jd);if(typeof Fd!="string"&&(Ra.isEncoding===qa||!qa(jd)))throw new Error("Unknown encoding: "+jd);return Fd||jd}string_decoder.StringDecoder=ld;function ld(jd){this.encoding=od(jd);var Fd;switch(this.encoding){case"utf16le":this.text=Ad,this.end=Nd,Fd=4;break;case"utf8":this.fillLast=fd,Fd=4;break;case"base64":this.text=Od,this.end=kd,Fd=3;break;default:this.write=Ld,this.end=Gd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Fd)}ld.prototype.write=function(jd){if(jd.length===0)return"";var Fd,Ud;if(this.lastNeed){if(Fd=this.fillLast(jd),Fd===void 0)return"";Ud=this.lastNeed,this.lastNeed=0}else Ud=0;return Ud>5===6?2:jd>>4===14?3:jd>>3===30?4:jd>>6===2?-1:-2}function dd(jd,Fd,Ud){var qd=Fd.length-1;if(qd=0?(zd>0&&(jd.lastNeed=zd-1),zd):--qd=0?(zd>0&&(jd.lastNeed=zd-2),zd):--qd=0?(zd>0&&(zd===2?zd=0:jd.lastNeed=zd-3),zd):0))}function pd(jd,Fd,Ud){if((Fd[0]&192)!==128)return jd.lastNeed=0,"�";if(jd.lastNeed>1&&Fd.length>1){if((Fd[1]&192)!==128)return jd.lastNeed=1,"�";if(jd.lastNeed>2&&Fd.length>2&&(Fd[2]&192)!==128)return jd.lastNeed=2,"�"}}function fd(jd){var Fd=this.lastTotal-this.lastNeed,Ud=pd(this,jd);if(Ud!==void 0)return Ud;if(this.lastNeed<=jd.length)return jd.copy(this.lastChar,Fd,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);jd.copy(this.lastChar,Fd,0,jd.length),this.lastNeed-=jd.length}function md(jd,Fd){var Ud=dd(this,jd,Fd);if(!this.lastNeed)return jd.toString("utf8",Fd);this.lastTotal=Ud;var qd=jd.length-(Ud-this.lastNeed);return jd.copy(this.lastChar,0,qd),jd.toString("utf8",Fd,qd)}function vd(jd){var Fd=jd&&jd.length?this.write(jd):"";return this.lastNeed?Fd+"�":Fd}function Ad(jd,Fd){if((jd.length-Fd)%2===0){var Ud=jd.toString("utf16le",Fd);if(Ud){var qd=Ud.charCodeAt(Ud.length-1);if(qd>=55296&&qd<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=jd[jd.length-2],this.lastChar[1]=jd[jd.length-1],Ud.slice(0,-1)}return Ud}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=jd[jd.length-1],jd.toString("utf16le",Fd,jd.length-1)}function Nd(jd){var Fd=jd&&jd.length?this.write(jd):"";if(this.lastNeed){var Ud=this.lastTotal-this.lastNeed;return Fd+this.lastChar.toString("utf16le",0,Ud)}return Fd}function Od(jd,Fd){var Ud=(jd.length-Fd)%3;return Ud===0?jd.toString("base64",Fd):(this.lastNeed=3-Ud,this.lastTotal=3,Ud===1?this.lastChar[0]=jd[jd.length-1]:(this.lastChar[0]=jd[jd.length-2],this.lastChar[1]=jd[jd.length-1]),jd.toString("base64",Fd,jd.length-Ud))}function kd(jd){var Fd=jd&&jd.length?this.write(jd):"";return this.lastNeed?Fd+this.lastChar.toString("base64",0,3-this.lastNeed):Fd}function Ld(jd){return jd.toString(this.encoding)}function Gd(jd){return jd&&jd.length?this.write(jd):""}return string_decoder}var ERR_STREAM_PREMATURE_CLOSE=errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;function once$2(Ra){var qa=!1;return function(){if(!qa){qa=!0;for(var nd=arguments.length,od=new Array(nd),ld=0;ld0)if(typeof Bf!="string"&&!Pf.objectMode&&Object.getPrototypeOf(Bf)!==ld.prototype&&(Bf=dd(Bf)),Fh)Pf.endEmitted?Wd(th,new Fd):Sf(th,Pf,Bf,!0);else if(Pf.ended)Wd(th,new Gd);else{if(Pf.destroyed)return!1;Pf.reading=!1,Pf.decoder&&!Sh?(Bf=Pf.decoder.write(Bf),Pf.objectMode||Bf.length!==0?Sf(th,Pf,Bf,!1):Xf(th,Pf)):Sf(th,Pf,Bf,!1)}else Fh||(Pf.reading=!1,Xf(th,Pf))}return!Pf.ended&&(Pf.length=Af?th=Af:(th--,th|=th>>>1,th|=th>>>2,th|=th>>>4,th|=th>>>8,th|=th>>>16,th++),th}function Nf(th,Bf){return th<=0||Bf.length===0&&Bf.ended?0:Bf.objectMode?1:th!==th?Bf.flowing&&Bf.length?Bf.buffer.head.data.length:Bf.length:(th>Bf.highWaterMark&&(Bf.highWaterMark=Ef(th)),th<=Bf.length?th:Bf.ended?Bf.length:(Bf.needReadable=!0,0))}pf.prototype.read=function(th){md("read",th),th=parseInt(th,10);var Bf=this._readableState,Sh=th;if(th!==0&&(Bf.emittedReadable=!1),th===0&&Bf.needReadable&&((Bf.highWaterMark!==0?Bf.length>=Bf.highWaterMark:Bf.length>0)||Bf.ended))return md("read: emitReadable",Bf.length,Bf.ended),Bf.length===0&&Bf.ended?Yf(this):Gf(this),null;if(th=Nf(th,Bf),th===0&&Bf.ended)return Bf.length===0&&Yf(this),null;var Fh=Bf.needReadable;md("need readable",Fh),(Bf.length===0||Bf.length-th0?uh=xf(th,Bf):uh=null,uh===null?(Bf.needReadable=Bf.length<=Bf.highWaterMark,th=0):(Bf.length-=th,Bf.awaitDrain=0),Bf.length===0&&(Bf.ended||(Bf.needReadable=!0),Sh!==th&&Bf.ended&&Yf(this)),uh!==null&&this.emit("data",uh),uh};function If(th,Bf){if(md("onEofChunk"),!Bf.ended){if(Bf.decoder){var Sh=Bf.decoder.end();Sh&&Sh.length&&(Bf.buffer.push(Sh),Bf.length+=Bf.objectMode?1:Sh.length)}Bf.ended=!0,Bf.sync?Gf(th):(Bf.needReadable=!1,Bf.emittedReadable||(Bf.emittedReadable=!0,Qf(th)))}}function Gf(th){var Bf=th._readableState;md("emitReadable",Bf.needReadable,Bf.emittedReadable),Bf.needReadable=!1,Bf.emittedReadable||(md("emitReadable",Bf.flowing),Bf.emittedReadable=!0,Ra.nextTick(Qf,th))}function Qf(th){var Bf=th._readableState;md("emitReadable_",Bf.destroyed,Bf.length,Bf.ended),!Bf.destroyed&&(Bf.length||Bf.ended)&&(th.emit("readable"),Bf.emittedReadable=!1),Bf.needReadable=!Bf.flowing&&!Bf.ended&&Bf.length<=Bf.highWaterMark,Cf(th)}function Xf(th,Bf){Bf.readingMore||(Bf.readingMore=!0,Ra.nextTick(ph,th,Bf))}function ph(th,Bf){for(;!Bf.reading&&!Bf.ended&&(Bf.length1&&Rh(Fh.pipes,th)!==-1)&&!Mh&&(md("false write response, pause",Fh.awaitDrain),Fh.awaitDrain++),Sh.pause())}function Jh(Lm){md("onerror",Lm),gm(),th.removeListener("error",Jh),nd(th,"error")===0&&Wd(th,Lm)}_f(th,"error",Jh);function Mm(){th.removeListener("finish",Im),gm()}th.once("close",Mm);function Im(){md("onfinish"),th.removeListener("close",Mm),gm()}th.once("finish",Im);function gm(){md("unpipe"),Sh.unpipe(th)}return th.emit("pipe",Sh),Fh.flowing||(md("pipe resume"),Sh.resume()),th};function qf(th){return function(){var Sh=th._readableState;md("pipeOnDrain",Sh.awaitDrain),Sh.awaitDrain&&Sh.awaitDrain--,Sh.awaitDrain===0&&nd(th,"data")&&(Sh.flowing=!0,Cf(th))}}pf.prototype.unpipe=function(th){var Bf=this._readableState,Sh={hasUnpiped:!1};if(Bf.pipesCount===0)return this;if(Bf.pipesCount===1)return th&&th!==Bf.pipes?this:(th||(th=Bf.pipes),Bf.pipes=null,Bf.pipesCount=0,Bf.flowing=!1,th&&th.emit("unpipe",this,Sh),this);if(!th){var Fh=Bf.pipes,uh=Bf.pipesCount;Bf.pipes=null,Bf.pipesCount=0,Bf.flowing=!1;for(var Pf=0;Pf0,Fh.flowing!==!1&&this.resume()):th==="readable"&&!Fh.endEmitted&&!Fh.readableListening&&(Fh.readableListening=Fh.needReadable=!0,Fh.flowing=!1,Fh.emittedReadable=!1,md("on readable",Fh.length,Fh.reading),Fh.length?Gf(this):Fh.reading||Ra.nextTick(Wf,this)),Sh},pf.prototype.addListener=pf.prototype.on,pf.prototype.removeListener=function(th,Bf){var Sh=od.prototype.removeListener.call(this,th,Bf);return th==="readable"&&Ra.nextTick(Lf,this),Sh},pf.prototype.removeAllListeners=function(th){var Bf=od.prototype.removeAllListeners.apply(this,arguments);return(th==="readable"||th===void 0)&&Ra.nextTick(Lf,this),Bf};function Lf(th){var Bf=th._readableState;Bf.readableListening=th.listenerCount("readable")>0,Bf.resumeScheduled&&!Bf.paused?Bf.flowing=!0:th.listenerCount("data")>0&&th.resume()}function Wf(th){md("readable nexttick read 0"),th.read(0)}pf.prototype.resume=function(){var th=this._readableState;return th.flowing||(md("resume"),th.flowing=!th.readableListening,Jf(this,th)),th.paused=!1,this};function Jf(th,Bf){Bf.resumeScheduled||(Bf.resumeScheduled=!0,Ra.nextTick(Kf,th,Bf))}function Kf(th,Bf){md("resume",Bf.reading),Bf.reading||th.read(0),Bf.resumeScheduled=!1,th.emit("resume"),Cf(th),Bf.flowing&&!Bf.reading&&th.read(0)}pf.prototype.pause=function(){return md("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(md("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Cf(th){var Bf=th._readableState;for(md("flow",Bf.flowing);Bf.flowing&&th.read()!==null;);}pf.prototype.wrap=function(th){var Bf=this,Sh=this._readableState,Fh=!1;th.on("end",function(){if(md("wrapped end"),Sh.decoder&&!Sh.ended){var Uf=Sh.decoder.end();Uf&&Uf.length&&Bf.push(Uf)}Bf.push(null)}),th.on("data",function(Uf){if(md("wrapped data"),Sh.decoder&&(Uf=Sh.decoder.write(Uf)),!(Sh.objectMode&&Uf==null)&&!(!Sh.objectMode&&(!Uf||!Uf.length))){var Zf=Bf.push(Uf);Zf||(Fh=!0,th.pause())}});for(var uh in th)this[uh]===void 0&&typeof th[uh]=="function"&&(this[uh]=function(Zf){return function(){return th[Zf].apply(th,arguments)}}(uh));for(var Pf=0;Pf=Bf.length?(Bf.decoder?Sh=Bf.buffer.join(""):Bf.buffer.length===1?Sh=Bf.buffer.first():Sh=Bf.buffer.concat(Bf.length),Bf.buffer.clear()):Sh=Bf.buffer.consume(th,Bf.decoder),Sh}function Yf(th){var Bf=th._readableState;md("endReadable",Bf.endEmitted),Bf.endEmitted||(Bf.ended=!0,Ra.nextTick(dh,Bf,th))}function dh(th,Bf){if(md("endReadableNT",th.endEmitted,th.length),!th.endEmitted&&th.length===0&&(th.endEmitted=!0,Bf.readable=!1,Bf.emit("end"),th.autoDestroy)){var Sh=Bf._writableState;(!Sh||Sh.autoDestroy&&Sh.finished)&&Bf.destroy()}}typeof Symbol=="function"&&(pf.from=function(th,Bf){return zd===void 0&&(zd=requireFromBrowser()),zd(pf,th,Bf)});function Rh(th,Bf){for(var Sh=0,Fh=th.length;Sh0;return destroyer(dd,fd,md,function(vd){ld||(ld=vd),vd&&ud.forEach(call),!fd&&(ud.forEach(call),od(ld))})});return qa.reduce(pipe)}var pipeline_1=pipeline$1,streamBrowserify=Stream$1,EE=eventsExports.EventEmitter,inherits$2=inherits_browserExports;inherits$2(Stream$1,EE);Stream$1.Readable=require_stream_readable();Stream$1.Writable=require_stream_writable();Stream$1.Duplex=require_stream_duplex();Stream$1.Transform=_stream_transform;Stream$1.PassThrough=_stream_passthrough;Stream$1.finished=endOfStream;Stream$1.pipeline=pipeline_1;Stream$1.Stream=Stream$1;function Stream$1(){EE.call(this)}Stream$1.prototype.pipe=function(Ra,qa){var nd=this;function od(vd){Ra.writable&&Ra.write(vd)===!1&&nd.pause&&nd.pause()}nd.on("data",od);function ld(){nd.readable&&nd.resume&&nd.resume()}Ra.on("drain",ld),!Ra._isStdio&&(!qa||qa.end!==!1)&&(nd.on("end",dd),nd.on("close",pd));var ud=!1;function dd(){ud||(ud=!0,Ra.end())}function pd(){ud||(ud=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function fd(vd){if(md(),EE.listenerCount(this,"error")===0)throw vd}nd.on("error",fd),Ra.on("error",fd);function md(){nd.removeListener("data",od),Ra.removeListener("drain",ld),nd.removeListener("end",dd),nd.removeListener("close",pd),nd.removeListener("error",fd),Ra.removeListener("error",fd),nd.removeListener("end",md),nd.removeListener("close",md),Ra.removeListener("close",md)}return nd.on("end",md),nd.on("close",md),Ra.on("close",md),Ra.emit("pipe",nd),Ra};/*! + `)+" "+Kf[1]:Kf[0]+Jf+" "+Wf.join(", ")+" "+Kf[1]}Ra.types=types$1;function Fd(Wf){return Array.isArray(Wf)}Ra.isArray=Fd;function Ud(Wf){return typeof Wf=="boolean"}Ra.isBoolean=Ud;function qd(Wf){return Wf===null}Ra.isNull=qd;function zd(Wf){return Wf==null}Ra.isNullOrUndefined=zd;function Wd(Wf){return typeof Wf=="number"}Ra.isNumber=Wd;function Jd(Wf){return typeof Wf=="string"}Ra.isString=Jd;function _f(Wf){return typeof Wf=="symbol"}Ra.isSymbol=_f;function Xd(Wf){return Wf===void 0}Ra.isUndefined=Xd;function pf(Wf){return mf(Wf)&&Nf(Wf)==="[object RegExp]"}Ra.isRegExp=pf,Ra.types.isRegExp=pf;function mf(Wf){return typeof Wf=="object"&&Wf!==null}Ra.isObject=mf;function Sf(Wf){return mf(Wf)&&Nf(Wf)==="[object Date]"}Ra.isDate=Sf,Ra.types.isDate=Sf;function Tf(Wf){return mf(Wf)&&(Nf(Wf)==="[object Error]"||Wf instanceof Error)}Ra.isError=Tf,Ra.types.isNativeError=Tf;function Af(Wf){return typeof Wf=="function"}Ra.isFunction=Af;function Ef(Wf){return Wf===null||typeof Wf=="boolean"||typeof Wf=="number"||typeof Wf=="string"||typeof Wf=="symbol"||typeof Wf>"u"}Ra.isPrimitive=Ef,Ra.isBuffer=isBufferBrowser;function Nf(Wf){return Object.prototype.toString.call(Wf)}function If(Wf){return Wf<10?"0"+Wf.toString(10):Wf.toString(10)}var Gf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qf(){var Wf=new Date,Jf=[If(Wf.getHours()),If(Wf.getMinutes()),If(Wf.getSeconds())].join(":");return[Wf.getDate(),Gf[Wf.getMonth()],Jf].join(" ")}Ra.log=function(){console.log("%s - %s",Qf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function(Wf,Jf){if(!Jf||!mf(Jf))return Wf;for(var Kf=Object.keys(Jf),Cf=Kf.length;Cf--;)Wf[Kf[Cf]]=Jf[Kf[Cf]];return Wf};function Xf(Wf,Jf){return Object.prototype.hasOwnProperty.call(Wf,Jf)}var ph=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(Jf){if(typeof Jf!="function")throw new TypeError('The "original" argument must be of type Function');if(ph&&Jf[ph]){var Kf=Jf[ph];if(typeof Kf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Kf,ph,{value:Kf,enumerable:!1,writable:!1,configurable:!0}),Kf}function Kf(){for(var Cf,xf,Yf=new Promise(function(th,Bf){Cf=th,xf=Bf}),dh=[],Rh=0;Rh0?this.tail.next=jd:this.head=jd,this.tail=jd,++this.length}},{key:"unshift",value:function(Gd){var jd={data:Gd,next:this.head};this.length===0&&(this.tail=jd),this.head=jd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Gd=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Gd}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Gd){if(this.length===0)return"";for(var jd=this.head,Fd=""+jd.data;jd=jd.next;)Fd+=Gd+jd.data;return Fd}},{key:"concat",value:function(Gd){if(this.length===0)return md.alloc(0);for(var jd=md.allocUnsafe(Gd>>>0),Fd=this.head,Ud=0;Fd;)Od(Fd.data,jd,Ud),Ud+=Fd.data.length,Fd=Fd.next;return jd}},{key:"consume",value:function(Gd,jd){var Fd;return Gdqd.length?qd.length:Gd;if(zd===qd.length?Ud+=qd:Ud+=qd.slice(0,Gd),Gd-=zd,Gd===0){zd===qd.length?(++Fd,jd.next?this.head=jd.next:this.head=this.tail=null):(this.head=jd,jd.data=qd.slice(zd));break}++Fd}return this.length-=Fd,Ud}},{key:"_getBuffer",value:function(Gd){var jd=md.allocUnsafe(Gd),Fd=this.head,Ud=1;for(Fd.data.copy(jd),Gd-=Fd.data.length;Fd=Fd.next;){var qd=Fd.data,zd=Gd>qd.length?qd.length:Gd;if(qd.copy(jd,jd.length-Gd,0,zd),Gd-=zd,Gd===0){zd===qd.length?(++Ud,Fd.next?this.head=Fd.next:this.head=this.tail=null):(this.head=Fd,Fd.data=qd.slice(zd));break}++Ud}return this.length-=Ud,jd}},{key:Nd,value:function(Gd,jd){return Ad(this,qa(qa({},jd),{},{depth:0,customInspect:!1}))}}]),kd}(),buffer_list}var define_process_default$8={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function destroy(Ra,qa){var nd=this,od=this._readableState&&this._readableState.destroyed,ld=this._writableState&&this._writableState.destroyed;return od||ld?(qa?qa(Ra):Ra&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,define_process_default$8.nextTick(emitErrorNT,this,Ra)):define_process_default$8.nextTick(emitErrorNT,this,Ra)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Ra||null,function(ud){!qa&&ud?nd._writableState?nd._writableState.errorEmitted?define_process_default$8.nextTick(emitCloseNT,nd):(nd._writableState.errorEmitted=!0,define_process_default$8.nextTick(emitErrorAndCloseNT,nd,ud)):define_process_default$8.nextTick(emitErrorAndCloseNT,nd,ud):qa?(define_process_default$8.nextTick(emitCloseNT,nd),qa(ud)):define_process_default$8.nextTick(emitCloseNT,nd)}),this)}function emitErrorAndCloseNT(Ra,qa){emitErrorNT(Ra,qa),emitCloseNT(Ra)}function emitCloseNT(Ra){Ra._writableState&&!Ra._writableState.emitClose||Ra._readableState&&!Ra._readableState.emitClose||Ra.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(Ra,qa){Ra.emit("error",qa)}function errorOrDestroy(Ra,qa){var nd=Ra._readableState,od=Ra._writableState;nd&&nd.autoDestroy||od&&od.autoDestroy?Ra.destroy(qa):Ra.emit("error",qa)}var destroy_1={destroy,undestroy,errorOrDestroy},errorsBrowser={};function _inheritsLoose(Ra,qa){Ra.prototype=Object.create(qa.prototype),Ra.prototype.constructor=Ra,Ra.__proto__=qa}var codes={};function createErrorType(Ra,qa,nd){nd||(nd=Error);function od(ud,dd,pd){return typeof qa=="string"?qa:qa(ud,dd,pd)}var ld=function(ud){_inheritsLoose(dd,ud);function dd(pd,fd,md){return ud.call(this,od(pd,fd,md))||this}return dd}(nd);ld.prototype.name=nd.name,ld.prototype.code=Ra,codes[Ra]=ld}function oneOf(Ra,qa){if(Array.isArray(Ra)){var nd=Ra.length;return Ra=Ra.map(function(od){return String(od)}),nd>2?"one of ".concat(qa," ").concat(Ra.slice(0,nd-1).join(", "),", or ")+Ra[nd-1]:nd===2?"one of ".concat(qa," ").concat(Ra[0]," or ").concat(Ra[1]):"of ".concat(qa," ").concat(Ra[0])}else return"of ".concat(qa," ").concat(String(Ra))}function startsWith(Ra,qa,nd){return Ra.substr(0,qa.length)===qa}function endsWith$1(Ra,qa,nd){return(nd===void 0||nd>Ra.length)&&(nd=Ra.length),Ra.substring(nd-qa.length,nd)===qa}function includes(Ra,qa,nd){return typeof nd!="number"&&(nd=0),nd+qa.length>Ra.length?!1:Ra.indexOf(qa,nd)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(Ra,qa){return'The value "'+qa+'" is invalid for option "'+Ra+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(Ra,qa,nd){var od;typeof qa=="string"&&startsWith(qa,"not ")?(od="must not be",qa=qa.replace(/^not /,"")):od="must be";var ld;if(endsWith$1(Ra," argument"))ld="The ".concat(Ra," ").concat(od," ").concat(oneOf(qa,"type"));else{var ud=includes(Ra,".")?"property":"argument";ld='The "'.concat(Ra,'" ').concat(ud," ").concat(od," ").concat(oneOf(qa,"type"))}return ld+=". Received type ".concat(typeof nd),ld},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(Ra){return"The "+Ra+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(Ra){return"Cannot call "+Ra+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(Ra){return"Unknown encoding: "+Ra},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");errorsBrowser.codes=codes;var ERR_INVALID_OPT_VALUE=errorsBrowser.codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(Ra,qa,nd){return Ra.highWaterMark!=null?Ra.highWaterMark:qa?Ra[nd]:null}function getHighWaterMark(Ra,qa,nd,od){var ld=highWaterMarkFrom(qa,od,nd);if(ld!=null){if(!(isFinite(ld)&&Math.floor(ld)===ld)||ld<0){var ud=od?nd:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(ud,ld)}return Math.floor(ld)}return Ra.objectMode?16:16*1024}var state={getHighWaterMark},browser$1=deprecate;function deprecate(Ra,qa){if(config("noDeprecation"))return Ra;var nd=!1;function od(){if(!nd){if(config("throwDeprecation"))throw new Error(qa);config("traceDeprecation")?console.trace(qa):console.warn(qa),nd=!0}return Ra.apply(this,arguments)}return od}function config(Ra){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var qa=commonjsGlobal.localStorage[Ra];return qa==null?!1:String(qa).toLowerCase()==="true"}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_writable=Xd;function qa(Cf){var xf=this;this.next=null,this.entry=null,this.finish=function(){Kf(xf,Cf)}}var nd;Xd.WritableState=Jd;var od={deprecate:browser$1},ld=streamBrowser,ud=buffer.Buffer,dd=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pd(Cf){return ud.from(Cf)}function fd(Cf){return ud.isBuffer(Cf)||Cf instanceof dd}var md=destroy_1,vd=state,Ad=vd.getHighWaterMark,Nd=errorsBrowser.codes,Od=Nd.ERR_INVALID_ARG_TYPE,kd=Nd.ERR_METHOD_NOT_IMPLEMENTED,Ld=Nd.ERR_MULTIPLE_CALLBACK,Gd=Nd.ERR_STREAM_CANNOT_PIPE,jd=Nd.ERR_STREAM_DESTROYED,Fd=Nd.ERR_STREAM_NULL_VALUES,Ud=Nd.ERR_STREAM_WRITE_AFTER_END,qd=Nd.ERR_UNKNOWN_ENCODING,zd=md.errorOrDestroy;inherits_browserExports(Xd,ld);function Wd(){}function Jd(Cf,xf,Yf){nd=nd||require_stream_duplex(),Cf=Cf||{},typeof Yf!="boolean"&&(Yf=xf instanceof nd),this.objectMode=!!Cf.objectMode,Yf&&(this.objectMode=this.objectMode||!!Cf.writableObjectMode),this.highWaterMark=Ad(this,Cf,"writableHighWaterMark",Yf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var dh=Cf.decodeStrings===!1;this.decodeStrings=!dh,this.defaultEncoding=Cf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Rh){If(xf,Rh)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Cf.emitClose!==!1,this.autoDestroy=!!Cf.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new qa(this)}Jd.prototype.getBuffer=function(){for(var xf=this.bufferedRequest,Yf=[];xf;)Yf.push(xf),xf=xf.next;return Yf},function(){try{Object.defineProperty(Jd.prototype,"buffer",{get:od.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var _f;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_f=Function.prototype[Symbol.hasInstance],Object.defineProperty(Xd,Symbol.hasInstance,{value:function(xf){return _f.call(this,xf)?!0:this!==Xd?!1:xf&&xf._writableState instanceof Jd}})):_f=function(xf){return xf instanceof this};function Xd(Cf){nd=nd||require_stream_duplex();var xf=this instanceof nd;if(!xf&&!_f.call(Xd,this))return new Xd(Cf);this._writableState=new Jd(Cf,this,xf),this.writable=!0,Cf&&(typeof Cf.write=="function"&&(this._write=Cf.write),typeof Cf.writev=="function"&&(this._writev=Cf.writev),typeof Cf.destroy=="function"&&(this._destroy=Cf.destroy),typeof Cf.final=="function"&&(this._final=Cf.final)),ld.call(this)}Xd.prototype.pipe=function(){zd(this,new Gd)};function pf(Cf,xf){var Yf=new Ud;zd(Cf,Yf),Ra.nextTick(xf,Yf)}function mf(Cf,xf,Yf,dh){var Rh;return Yf===null?Rh=new Fd:typeof Yf!="string"&&!xf.objectMode&&(Rh=new Od("chunk",["string","Buffer"],Yf)),Rh?(zd(Cf,Rh),Ra.nextTick(dh,Rh),!1):!0}Xd.prototype.write=function(Cf,xf,Yf){var dh=this._writableState,Rh=!1,th=!dh.objectMode&&fd(Cf);return th&&!ud.isBuffer(Cf)&&(Cf=pd(Cf)),typeof xf=="function"&&(Yf=xf,xf=null),th?xf="buffer":xf||(xf=dh.defaultEncoding),typeof Yf!="function"&&(Yf=Wd),dh.ending?pf(this,Yf):(th||mf(this,dh,Cf,Yf))&&(dh.pendingcb++,Rh=Tf(this,dh,th,Cf,xf,Yf)),Rh},Xd.prototype.cork=function(){this._writableState.corked++},Xd.prototype.uncork=function(){var Cf=this._writableState;Cf.corked&&(Cf.corked--,!Cf.writing&&!Cf.corked&&!Cf.bufferProcessing&&Cf.bufferedRequest&&Xf(this,Cf))},Xd.prototype.setDefaultEncoding=function(xf){if(typeof xf=="string"&&(xf=xf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((xf+"").toLowerCase())>-1))throw new qd(xf);return this._writableState.defaultEncoding=xf,this},Object.defineProperty(Xd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Sf(Cf,xf,Yf){return!Cf.objectMode&&Cf.decodeStrings!==!1&&typeof xf=="string"&&(xf=ud.from(xf,Yf)),xf}Object.defineProperty(Xd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Tf(Cf,xf,Yf,dh,Rh,th){if(!Yf){var Bf=Sf(xf,dh,Rh);dh!==Bf&&(Yf=!0,Rh="buffer",dh=Bf)}var Sh=xf.objectMode?1:dh.length;xf.length+=Sh;var Fh=xf.length */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(Ra,qa){var nd=buffer,od=nd.Buffer;function ld(dd,pd){for(var fd in dd)pd[fd]=dd[fd]}od.from&&od.alloc&&od.allocUnsafe&&od.allocUnsafeSlow?Ra.exports=nd:(ld(nd,qa),qa.Buffer=ud);function ud(dd,pd,fd){return od(dd,pd,fd)}ud.prototype=Object.create(od.prototype),ld(od,ud),ud.from=function(dd,pd,fd){if(typeof dd=="number")throw new TypeError("Argument must not be a number");return od(dd,pd,fd)},ud.alloc=function(dd,pd,fd){if(typeof dd!="number")throw new TypeError("Argument must be a number");var md=od(dd);return pd!==void 0?typeof fd=="string"?md.fill(pd,fd):md.fill(pd):md.fill(0),md},ud.allocUnsafe=function(dd){if(typeof dd!="number")throw new TypeError("Argument must be a number");return od(dd)},ud.allocUnsafeSlow=function(dd){if(typeof dd!="number")throw new TypeError("Argument must be a number");return nd.SlowBuffer(dd)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var Ra=requireSafeBuffer().Buffer,qa=Ra.isEncoding||function(jd){switch(jd=""+jd,jd&&jd.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function nd(jd){if(!jd)return"utf8";for(var Fd;;)switch(jd){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return jd;default:if(Fd)return;jd=(""+jd).toLowerCase(),Fd=!0}}function od(jd){var Fd=nd(jd);if(typeof Fd!="string"&&(Ra.isEncoding===qa||!qa(jd)))throw new Error("Unknown encoding: "+jd);return Fd||jd}string_decoder.StringDecoder=ld;function ld(jd){this.encoding=od(jd);var Fd;switch(this.encoding){case"utf16le":this.text=Ad,this.end=Nd,Fd=4;break;case"utf8":this.fillLast=fd,Fd=4;break;case"base64":this.text=Od,this.end=kd,Fd=3;break;default:this.write=Ld,this.end=Gd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Fd)}ld.prototype.write=function(jd){if(jd.length===0)return"";var Fd,Ud;if(this.lastNeed){if(Fd=this.fillLast(jd),Fd===void 0)return"";Ud=this.lastNeed,this.lastNeed=0}else Ud=0;return Ud>5===6?2:jd>>4===14?3:jd>>3===30?4:jd>>6===2?-1:-2}function dd(jd,Fd,Ud){var qd=Fd.length-1;if(qd=0?(zd>0&&(jd.lastNeed=zd-1),zd):--qd=0?(zd>0&&(jd.lastNeed=zd-2),zd):--qd=0?(zd>0&&(zd===2?zd=0:jd.lastNeed=zd-3),zd):0))}function pd(jd,Fd,Ud){if((Fd[0]&192)!==128)return jd.lastNeed=0,"�";if(jd.lastNeed>1&&Fd.length>1){if((Fd[1]&192)!==128)return jd.lastNeed=1,"�";if(jd.lastNeed>2&&Fd.length>2&&(Fd[2]&192)!==128)return jd.lastNeed=2,"�"}}function fd(jd){var Fd=this.lastTotal-this.lastNeed,Ud=pd(this,jd);if(Ud!==void 0)return Ud;if(this.lastNeed<=jd.length)return jd.copy(this.lastChar,Fd,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);jd.copy(this.lastChar,Fd,0,jd.length),this.lastNeed-=jd.length}function md(jd,Fd){var Ud=dd(this,jd,Fd);if(!this.lastNeed)return jd.toString("utf8",Fd);this.lastTotal=Ud;var qd=jd.length-(Ud-this.lastNeed);return jd.copy(this.lastChar,0,qd),jd.toString("utf8",Fd,qd)}function vd(jd){var Fd=jd&&jd.length?this.write(jd):"";return this.lastNeed?Fd+"�":Fd}function Ad(jd,Fd){if((jd.length-Fd)%2===0){var Ud=jd.toString("utf16le",Fd);if(Ud){var qd=Ud.charCodeAt(Ud.length-1);if(qd>=55296&&qd<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=jd[jd.length-2],this.lastChar[1]=jd[jd.length-1],Ud.slice(0,-1)}return Ud}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=jd[jd.length-1],jd.toString("utf16le",Fd,jd.length-1)}function Nd(jd){var Fd=jd&&jd.length?this.write(jd):"";if(this.lastNeed){var Ud=this.lastTotal-this.lastNeed;return Fd+this.lastChar.toString("utf16le",0,Ud)}return Fd}function Od(jd,Fd){var Ud=(jd.length-Fd)%3;return Ud===0?jd.toString("base64",Fd):(this.lastNeed=3-Ud,this.lastTotal=3,Ud===1?this.lastChar[0]=jd[jd.length-1]:(this.lastChar[0]=jd[jd.length-2],this.lastChar[1]=jd[jd.length-1]),jd.toString("base64",Fd,jd.length-Ud))}function kd(jd){var Fd=jd&&jd.length?this.write(jd):"";return this.lastNeed?Fd+this.lastChar.toString("base64",0,3-this.lastNeed):Fd}function Ld(jd){return jd.toString(this.encoding)}function Gd(jd){return jd&&jd.length?this.write(jd):""}return string_decoder}var ERR_STREAM_PREMATURE_CLOSE=errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;function once$2(Ra){var qa=!1;return function(){if(!qa){qa=!0;for(var nd=arguments.length,od=new Array(nd),ld=0;ld0)if(typeof Bf!="string"&&!Pf.objectMode&&Object.getPrototypeOf(Bf)!==ld.prototype&&(Bf=dd(Bf)),Fh)Pf.endEmitted?Wd(th,new Fd):Sf(th,Pf,Bf,!0);else if(Pf.ended)Wd(th,new Gd);else{if(Pf.destroyed)return!1;Pf.reading=!1,Pf.decoder&&!Sh?(Bf=Pf.decoder.write(Bf),Pf.objectMode||Bf.length!==0?Sf(th,Pf,Bf,!1):Xf(th,Pf)):Sf(th,Pf,Bf,!1)}else Fh||(Pf.reading=!1,Xf(th,Pf))}return!Pf.ended&&(Pf.length=Af?th=Af:(th--,th|=th>>>1,th|=th>>>2,th|=th>>>4,th|=th>>>8,th|=th>>>16,th++),th}function Nf(th,Bf){return th<=0||Bf.length===0&&Bf.ended?0:Bf.objectMode?1:th!==th?Bf.flowing&&Bf.length?Bf.buffer.head.data.length:Bf.length:(th>Bf.highWaterMark&&(Bf.highWaterMark=Ef(th)),th<=Bf.length?th:Bf.ended?Bf.length:(Bf.needReadable=!0,0))}pf.prototype.read=function(th){md("read",th),th=parseInt(th,10);var Bf=this._readableState,Sh=th;if(th!==0&&(Bf.emittedReadable=!1),th===0&&Bf.needReadable&&((Bf.highWaterMark!==0?Bf.length>=Bf.highWaterMark:Bf.length>0)||Bf.ended))return md("read: emitReadable",Bf.length,Bf.ended),Bf.length===0&&Bf.ended?Yf(this):Gf(this),null;if(th=Nf(th,Bf),th===0&&Bf.ended)return Bf.length===0&&Yf(this),null;var Fh=Bf.needReadable;md("need readable",Fh),(Bf.length===0||Bf.length-th0?uh=xf(th,Bf):uh=null,uh===null?(Bf.needReadable=Bf.length<=Bf.highWaterMark,th=0):(Bf.length-=th,Bf.awaitDrain=0),Bf.length===0&&(Bf.ended||(Bf.needReadable=!0),Sh!==th&&Bf.ended&&Yf(this)),uh!==null&&this.emit("data",uh),uh};function If(th,Bf){if(md("onEofChunk"),!Bf.ended){if(Bf.decoder){var Sh=Bf.decoder.end();Sh&&Sh.length&&(Bf.buffer.push(Sh),Bf.length+=Bf.objectMode?1:Sh.length)}Bf.ended=!0,Bf.sync?Gf(th):(Bf.needReadable=!1,Bf.emittedReadable||(Bf.emittedReadable=!0,Qf(th)))}}function Gf(th){var Bf=th._readableState;md("emitReadable",Bf.needReadable,Bf.emittedReadable),Bf.needReadable=!1,Bf.emittedReadable||(md("emitReadable",Bf.flowing),Bf.emittedReadable=!0,Ra.nextTick(Qf,th))}function Qf(th){var Bf=th._readableState;md("emitReadable_",Bf.destroyed,Bf.length,Bf.ended),!Bf.destroyed&&(Bf.length||Bf.ended)&&(th.emit("readable"),Bf.emittedReadable=!1),Bf.needReadable=!Bf.flowing&&!Bf.ended&&Bf.length<=Bf.highWaterMark,Cf(th)}function Xf(th,Bf){Bf.readingMore||(Bf.readingMore=!0,Ra.nextTick(ph,th,Bf))}function ph(th,Bf){for(;!Bf.reading&&!Bf.ended&&(Bf.length1&&Rh(Fh.pipes,th)!==-1)&&!Mh&&(md("false write response, pause",Fh.awaitDrain),Fh.awaitDrain++),Sh.pause())}function Jh(Lm){md("onerror",Lm),gm(),th.removeListener("error",Jh),nd(th,"error")===0&&Wd(th,Lm)}_f(th,"error",Jh);function Mm(){th.removeListener("finish",Im),gm()}th.once("close",Mm);function Im(){md("onfinish"),th.removeListener("close",Mm),gm()}th.once("finish",Im);function gm(){md("unpipe"),Sh.unpipe(th)}return th.emit("pipe",Sh),Fh.flowing||(md("pipe resume"),Sh.resume()),th};function qf(th){return function(){var Sh=th._readableState;md("pipeOnDrain",Sh.awaitDrain),Sh.awaitDrain&&Sh.awaitDrain--,Sh.awaitDrain===0&&nd(th,"data")&&(Sh.flowing=!0,Cf(th))}}pf.prototype.unpipe=function(th){var Bf=this._readableState,Sh={hasUnpiped:!1};if(Bf.pipesCount===0)return this;if(Bf.pipesCount===1)return th&&th!==Bf.pipes?this:(th||(th=Bf.pipes),Bf.pipes=null,Bf.pipesCount=0,Bf.flowing=!1,th&&th.emit("unpipe",this,Sh),this);if(!th){var Fh=Bf.pipes,uh=Bf.pipesCount;Bf.pipes=null,Bf.pipesCount=0,Bf.flowing=!1;for(var Pf=0;Pf0,Fh.flowing!==!1&&this.resume()):th==="readable"&&!Fh.endEmitted&&!Fh.readableListening&&(Fh.readableListening=Fh.needReadable=!0,Fh.flowing=!1,Fh.emittedReadable=!1,md("on readable",Fh.length,Fh.reading),Fh.length?Gf(this):Fh.reading||Ra.nextTick(Wf,this)),Sh},pf.prototype.addListener=pf.prototype.on,pf.prototype.removeListener=function(th,Bf){var Sh=od.prototype.removeListener.call(this,th,Bf);return th==="readable"&&Ra.nextTick(Lf,this),Sh},pf.prototype.removeAllListeners=function(th){var Bf=od.prototype.removeAllListeners.apply(this,arguments);return(th==="readable"||th===void 0)&&Ra.nextTick(Lf,this),Bf};function Lf(th){var Bf=th._readableState;Bf.readableListening=th.listenerCount("readable")>0,Bf.resumeScheduled&&!Bf.paused?Bf.flowing=!0:th.listenerCount("data")>0&&th.resume()}function Wf(th){md("readable nexttick read 0"),th.read(0)}pf.prototype.resume=function(){var th=this._readableState;return th.flowing||(md("resume"),th.flowing=!th.readableListening,Jf(this,th)),th.paused=!1,this};function Jf(th,Bf){Bf.resumeScheduled||(Bf.resumeScheduled=!0,Ra.nextTick(Kf,th,Bf))}function Kf(th,Bf){md("resume",Bf.reading),Bf.reading||th.read(0),Bf.resumeScheduled=!1,th.emit("resume"),Cf(th),Bf.flowing&&!Bf.reading&&th.read(0)}pf.prototype.pause=function(){return md("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(md("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Cf(th){var Bf=th._readableState;for(md("flow",Bf.flowing);Bf.flowing&&th.read()!==null;);}pf.prototype.wrap=function(th){var Bf=this,Sh=this._readableState,Fh=!1;th.on("end",function(){if(md("wrapped end"),Sh.decoder&&!Sh.ended){var Uf=Sh.decoder.end();Uf&&Uf.length&&Bf.push(Uf)}Bf.push(null)}),th.on("data",function(Uf){if(md("wrapped data"),Sh.decoder&&(Uf=Sh.decoder.write(Uf)),!(Sh.objectMode&&Uf==null)&&!(!Sh.objectMode&&(!Uf||!Uf.length))){var Zf=Bf.push(Uf);Zf||(Fh=!0,th.pause())}});for(var uh in th)this[uh]===void 0&&typeof th[uh]=="function"&&(this[uh]=function(Zf){return function(){return th[Zf].apply(th,arguments)}}(uh));for(var Pf=0;Pf=Bf.length?(Bf.decoder?Sh=Bf.buffer.join(""):Bf.buffer.length===1?Sh=Bf.buffer.first():Sh=Bf.buffer.concat(Bf.length),Bf.buffer.clear()):Sh=Bf.buffer.consume(th,Bf.decoder),Sh}function Yf(th){var Bf=th._readableState;md("endReadable",Bf.endEmitted),Bf.endEmitted||(Bf.ended=!0,Ra.nextTick(dh,Bf,th))}function dh(th,Bf){if(md("endReadableNT",th.endEmitted,th.length),!th.endEmitted&&th.length===0&&(th.endEmitted=!0,Bf.readable=!1,Bf.emit("end"),th.autoDestroy)){var Sh=Bf._writableState;(!Sh||Sh.autoDestroy&&Sh.finished)&&Bf.destroy()}}typeof Symbol=="function"&&(pf.from=function(th,Bf){return zd===void 0&&(zd=requireFromBrowser()),zd(pf,th,Bf)});function Rh(th,Bf){for(var Sh=0,Fh=th.length;Sh0;return destroyer(dd,fd,md,function(vd){ld||(ld=vd),vd&&ud.forEach(call),!fd&&(ud.forEach(call),od(ld))})});return qa.reduce(pipe)}var pipeline_1=pipeline$1,streamBrowserify=Stream$1,EE=eventsExports.EventEmitter,inherits$2=inherits_browserExports;inherits$2(Stream$1,EE);Stream$1.Readable=require_stream_readable();Stream$1.Writable=require_stream_writable();Stream$1.Duplex=require_stream_duplex();Stream$1.Transform=_stream_transform;Stream$1.PassThrough=_stream_passthrough;Stream$1.finished=endOfStream;Stream$1.pipeline=pipeline_1;Stream$1.Stream=Stream$1;function Stream$1(){EE.call(this)}Stream$1.prototype.pipe=function(Ra,qa){var nd=this;function od(vd){Ra.writable&&Ra.write(vd)===!1&&nd.pause&&nd.pause()}nd.on("data",od);function ld(){nd.readable&&nd.resume&&nd.resume()}Ra.on("drain",ld),!Ra._isStdio&&(!qa||qa.end!==!1)&&(nd.on("end",dd),nd.on("close",pd));var ud=!1;function dd(){ud||(ud=!0,Ra.end())}function pd(){ud||(ud=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function fd(vd){if(md(),EE.listenerCount(this,"error")===0)throw vd}nd.on("error",fd),Ra.on("error",fd);function md(){nd.removeListener("data",od),Ra.removeListener("drain",ld),nd.removeListener("end",dd),nd.removeListener("close",pd),nd.removeListener("error",fd),Ra.removeListener("error",fd),nd.removeListener("end",md),nd.removeListener("close",md),Ra.removeListener("close",md)}return nd.on("end",md),nd.on("close",md),Ra.on("close",md),Ra.emit("pipe",nd),Ra};/*! * reading-time * Copyright (c) Nicolas Gryman * MIT Licensed @@ -1107,7 +1107,7 @@ ${vd} attempted value: ${dd} `+(pd!==dd?`result of cast: ${pd}`:""))}return ud}_cast(qa,nd){let od=qa===void 0?qa:this.transforms.reduce((ld,ud)=>ud.call(this,ld,qa,this),qa);return od===void 0&&(od=this.getDefault(nd)),od}_validate(qa,nd={},od,ld){let{path:ud,originalValue:dd=qa,strict:pd=this.spec.strict}=nd,fd=qa;pd||(fd=this._cast(fd,Object.assign({assert:!1},nd)));let md=[];for(let vd of Object.values(this.internalTests))vd&&md.push(vd);this.runTests({path:ud,value:fd,originalValue:dd,options:nd,tests:md},od,vd=>{if(vd.length)return ld(vd,fd);this.runTests({path:ud,value:fd,originalValue:dd,options:nd,tests:this.tests},od,ld)})}runTests(qa,nd,od){let ld=!1,{tests:ud,value:dd,originalValue:pd,path:fd,options:md}=qa,vd=Ld=>{ld||(ld=!0,nd(Ld,dd))},Ad=Ld=>{ld||(ld=!0,od(Ld,dd))},Nd=ud.length,Od=[];if(!Nd)return Ad([]);let kd={value:dd,originalValue:pd,path:fd,options:md,schema:this};for(let Ld=0;Ldthis.resolve(vd)._validate(md,vd,Nd,Od)}validate(qa,nd){var od;let ld=this.resolve(Object.assign({},nd,{value:qa})),ud=(od=nd==null?void 0:nd.disableStackTrace)!=null?od:ld.spec.disableStackTrace;return new Promise((dd,pd)=>ld._validate(qa,nd,(fd,md)=>{ValidationError.isError(fd)&&(fd.value=md),pd(fd)},(fd,md)=>{fd.length?pd(new ValidationError(fd,md,void 0,void 0,ud)):dd(md)}))}validateSync(qa,nd){var od;let ld=this.resolve(Object.assign({},nd,{value:qa})),ud,dd=(od=nd==null?void 0:nd.disableStackTrace)!=null?od:ld.spec.disableStackTrace;return ld._validate(qa,Object.assign({},nd,{sync:!0}),(pd,fd)=>{throw ValidationError.isError(pd)&&(pd.value=fd),pd},(pd,fd)=>{if(pd.length)throw new ValidationError(pd,qa,void 0,void 0,dd);ud=fd}),ud}isValid(qa,nd){return this.validate(qa,nd).then(()=>!0,od=>{if(ValidationError.isError(od))return!1;throw od})}isValidSync(qa,nd){try{return this.validateSync(qa,nd),!0}catch(od){if(ValidationError.isError(od))return!1;throw od}}_getDefault(qa){let nd=this.spec.default;return nd==null?nd:typeof nd=="function"?nd.call(this,qa):clone(nd)}getDefault(qa){return this.resolve(qa||{})._getDefault(qa)}default(qa){return arguments.length===0?this._getDefault():this.clone({default:qa})}strict(qa=!0){return this.clone({strict:qa})}nullability(qa,nd){const od=this.clone({nullable:qa});return od.internalTests.nullable=createValidation({message:nd,name:"nullable",test(ld){return ld===null?this.schema.spec.nullable:!0}}),od}optionality(qa,nd){const od=this.clone({optional:qa});return od.internalTests.optionality=createValidation({message:nd,name:"optionality",test(ld){return ld===void 0?this.schema.spec.optional:!0}}),od}optional(){return this.optionality(!0)}defined(qa=mixed.defined){return this.optionality(!1,qa)}nullable(){return this.nullability(!0)}nonNullable(qa=mixed.notNull){return this.nullability(!1,qa)}required(qa=mixed.required){return this.clone().withMutation(nd=>nd.nonNullable(qa).defined(qa))}notRequired(){return this.clone().withMutation(qa=>qa.nullable().optional())}transform(qa){let nd=this.clone();return nd.transforms.push(qa),nd}test(...qa){let nd;if(qa.length===1?typeof qa[0]=="function"?nd={test:qa[0]}:nd=qa[0]:qa.length===2?nd={name:qa[0],test:qa[1]}:nd={name:qa[0],message:qa[1],test:qa[2]},nd.message===void 0&&(nd.message=mixed.default),typeof nd.test!="function")throw new TypeError("`test` is a required parameters");let od=this.clone(),ld=createValidation(nd),ud=nd.exclusive||nd.name&&od.exclusiveTests[nd.name]===!0;if(nd.exclusive&&!nd.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return nd.name&&(od.exclusiveTests[nd.name]=!!nd.exclusive),od.tests=od.tests.filter(dd=>!(dd.OPTIONS.name===nd.name&&(ud||dd.OPTIONS.test===ld.OPTIONS.test))),od.tests.push(ld),od}when(qa,nd){!Array.isArray(qa)&&typeof qa!="string"&&(nd=qa,qa=".");let od=this.clone(),ld=toArray$2(qa).map(ud=>new Reference(ud));return ld.forEach(ud=>{ud.isSibling&&od.deps.push(ud.key)}),od.conditions.push(typeof nd=="function"?new Condition(ld,nd):Condition.fromOptions(ld,nd)),od}typeError(qa){let nd=this.clone();return nd.internalTests.typeError=createValidation({message:qa,name:"typeError",skipAbsent:!0,test(od){return this.schema._typeCheck(od)?!0:this.createError({params:{type:this.schema.type}})}}),nd}oneOf(qa,nd=mixed.oneOf){let od=this.clone();return qa.forEach(ld=>{od._whitelist.add(ld),od._blacklist.delete(ld)}),od.internalTests.whiteList=createValidation({message:nd,name:"oneOf",skipAbsent:!0,test(ld){let ud=this.schema._whitelist,dd=ud.resolveAll(this.resolve);return dd.includes(ld)?!0:this.createError({params:{values:Array.from(ud).join(", "),resolved:dd}})}}),od}notOneOf(qa,nd=mixed.notOneOf){let od=this.clone();return qa.forEach(ld=>{od._blacklist.add(ld),od._whitelist.delete(ld)}),od.internalTests.blacklist=createValidation({message:nd,name:"notOneOf",test(ld){let ud=this.schema._blacklist,dd=ud.resolveAll(this.resolve);return dd.includes(ld)?this.createError({params:{values:Array.from(ud).join(", "),resolved:dd}}):!0}}),od}strip(qa=!0){let nd=this.clone();return nd.spec.strip=qa,nd}describe(qa){const nd=(qa?this.resolve(qa):this).clone(),{label:od,meta:ld,optional:ud,nullable:dd}=nd.spec;return{meta:ld,label:od,optional:ud,nullable:dd,default:nd.getDefault(qa),type:nd.type,oneOf:nd._whitelist.describe(),notOneOf:nd._blacklist.describe(),tests:nd.tests.map(fd=>({name:fd.OPTIONS.name,params:fd.OPTIONS.params})).filter((fd,md,vd)=>vd.findIndex(Ad=>Ad.name===fd.name)===md)}}}Schema.prototype.__isYupSchema__=!0;for(const Ra of["validate","validateSync"])Schema.prototype[`${Ra}At`]=function(qa,nd,od={}){const{parent:ld,parentPath:ud,schema:dd}=getIn(this,qa,nd,od.context);return dd[Ra](ld&&ld[ud],Object.assign({},od,{parent:ld,path:qa}))};for(const Ra of["equals","is"])Schema.prototype[Ra]=Schema.prototype.oneOf;for(const Ra of["not","nope"])Schema.prototype[Ra]=Schema.prototype.notOneOf;function create$7(){return new BooleanSchema}class BooleanSchema extends Schema{constructor(){super({type:"boolean",check(qa){return qa instanceof Boolean&&(qa=qa.valueOf()),typeof qa=="boolean"}}),this.withMutation(()=>{this.transform((qa,nd,od)=>{if(od.spec.coerce&&!od.isType(qa)){if(/^(true|1)$/i.test(String(qa)))return!0;if(/^(false|0)$/i.test(String(qa)))return!1}return qa})})}isTrue(qa=boolean.isValue){return this.test({message:qa,name:"is-value",exclusive:!0,params:{value:"true"},test(nd){return isAbsent(nd)||nd===!0}})}isFalse(qa=boolean.isValue){return this.test({message:qa,name:"is-value",exclusive:!0,params:{value:"false"},test(nd){return isAbsent(nd)||nd===!1}})}default(qa){return super.default(qa)}defined(qa){return super.defined(qa)}optional(){return super.optional()}required(qa){return super.required(qa)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(qa){return super.nonNullable(qa)}strip(qa){return super.strip(qa)}}create$7.prototype=BooleanSchema.prototype;const isoReg=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function parseIsoDate(Ra){const qa=parseDateStruct(Ra);if(!qa)return Date.parse?Date.parse(Ra):Number.NaN;if(qa.z===void 0&&qa.plusMinus===void 0)return new Date(qa.year,qa.month,qa.day,qa.hour,qa.minute,qa.second,qa.millisecond).valueOf();let nd=0;return qa.z!=="Z"&&qa.plusMinus!==void 0&&(nd=qa.hourOffset*60+qa.minuteOffset,qa.plusMinus==="+"&&(nd=0-nd)),Date.UTC(qa.year,qa.month,qa.day,qa.hour,qa.minute+nd,qa.second,qa.millisecond)}function parseDateStruct(Ra){var qa,nd;const od=isoReg.exec(Ra);return od?{year:toNumber$3(od[1]),month:toNumber$3(od[2],1)-1,day:toNumber$3(od[3],1),hour:toNumber$3(od[4]),minute:toNumber$3(od[5]),second:toNumber$3(od[6]),millisecond:od[7]?toNumber$3(od[7].substring(0,3)):0,precision:(qa=(nd=od[7])==null?void 0:nd.length)!=null?qa:void 0,z:od[8]||void 0,plusMinus:od[9]||void 0,hourOffset:toNumber$3(od[10]),minuteOffset:toNumber$3(od[11])}:null}function toNumber$3(Ra,qa=0){return Number(Ra)||qa}let rEmail=/^[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])?)*$/,rUrl=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,rUUID=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,yearMonthDay="^\\d{4}-\\d{2}-\\d{2}",hourMinuteSecond="\\d{2}:\\d{2}:\\d{2}",zOrOffset="(([+-]\\d{2}(:?\\d{2})?)|Z)",rIsoDateTime=new RegExp(`${yearMonthDay}T${hourMinuteSecond}(\\.\\d+)?${zOrOffset}$`),isTrimmed=Ra=>isAbsent(Ra)||Ra===Ra.trim(),objStringTag={}.toString();function create$6(){return new StringSchema}class StringSchema extends Schema{constructor(){super({type:"string",check(qa){return qa instanceof String&&(qa=qa.valueOf()),typeof qa=="string"}}),this.withMutation(()=>{this.transform((qa,nd,od)=>{if(!od.spec.coerce||od.isType(qa)||Array.isArray(qa))return qa;const ld=qa!=null&&qa.toString?qa.toString():qa;return ld===objStringTag?qa:ld})})}required(qa){return super.required(qa).withMutation(nd=>nd.test({message:qa||mixed.required,name:"required",skipAbsent:!0,test:od=>!!od.length}))}notRequired(){return super.notRequired().withMutation(qa=>(qa.tests=qa.tests.filter(nd=>nd.OPTIONS.name!=="required"),qa))}length(qa,nd=string.length){return this.test({message:nd,name:"length",exclusive:!0,params:{length:qa},skipAbsent:!0,test(od){return od.length===this.resolve(qa)}})}min(qa,nd=string.min){return this.test({message:nd,name:"min",exclusive:!0,params:{min:qa},skipAbsent:!0,test(od){return od.length>=this.resolve(qa)}})}max(qa,nd=string.max){return this.test({name:"max",exclusive:!0,message:nd,params:{max:qa},skipAbsent:!0,test(od){return od.length<=this.resolve(qa)}})}matches(qa,nd){let od=!1,ld,ud;return nd&&(typeof nd=="object"?{excludeEmptyString:od=!1,message:ld,name:ud}=nd:ld=nd),this.test({name:ud||"matches",message:ld||string.matches,params:{regex:qa},skipAbsent:!0,test:dd=>dd===""&&od||dd.search(qa)!==-1})}email(qa=string.email){return this.matches(rEmail,{name:"email",message:qa,excludeEmptyString:!0})}url(qa=string.url){return this.matches(rUrl,{name:"url",message:qa,excludeEmptyString:!0})}uuid(qa=string.uuid){return this.matches(rUUID,{name:"uuid",message:qa,excludeEmptyString:!1})}datetime(qa){let nd="",od,ld;return qa&&(typeof qa=="object"?{message:nd="",allowOffset:od=!1,precision:ld=void 0}=qa:nd=qa),this.matches(rIsoDateTime,{name:"datetime",message:nd||string.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:nd||string.datetime_offset,params:{allowOffset:od},skipAbsent:!0,test:ud=>{if(!ud||od)return!0;const dd=parseDateStruct(ud);return dd?!!dd.z:!1}}).test({name:"datetime_precision",message:nd||string.datetime_precision,params:{precision:ld},skipAbsent:!0,test:ud=>{if(!ud||ld==null)return!0;const dd=parseDateStruct(ud);return dd?dd.precision===ld:!1}})}ensure(){return this.default("").transform(qa=>qa===null?"":qa)}trim(qa=string.trim){return this.transform(nd=>nd!=null?nd.trim():nd).test({message:qa,name:"trim",test:isTrimmed})}lowercase(qa=string.lowercase){return this.transform(nd=>isAbsent(nd)?nd:nd.toLowerCase()).test({message:qa,name:"string_case",exclusive:!0,skipAbsent:!0,test:nd=>isAbsent(nd)||nd===nd.toLowerCase()})}uppercase(qa=string.uppercase){return this.transform(nd=>isAbsent(nd)?nd:nd.toUpperCase()).test({message:qa,name:"string_case",exclusive:!0,skipAbsent:!0,test:nd=>isAbsent(nd)||nd===nd.toUpperCase()})}}create$6.prototype=StringSchema.prototype;let invalidDate=new Date(""),isDate$1=Ra=>Object.prototype.toString.call(Ra)==="[object Date]";class DateSchema extends Schema{constructor(){super({type:"date",check(qa){return isDate$1(qa)&&!isNaN(qa.getTime())}}),this.withMutation(()=>{this.transform((qa,nd,od)=>!od.spec.coerce||od.isType(qa)||qa===null?qa:(qa=parseIsoDate(qa),isNaN(qa)?DateSchema.INVALID_DATE:new Date(qa)))})}prepareParam(qa,nd){let od;if(Reference.isRef(qa))od=qa;else{let ld=this.cast(qa);if(!this._typeCheck(ld))throw new TypeError(`\`${nd}\` must be a Date or a value that can be \`cast()\` to a Date`);od=ld}return od}min(qa,nd=date.min){let od=this.prepareParam(qa,"min");return this.test({message:nd,name:"min",exclusive:!0,params:{min:qa},skipAbsent:!0,test(ld){return ld>=this.resolve(od)}})}max(qa,nd=date.max){let od=this.prepareParam(qa,"max");return this.test({message:nd,name:"max",exclusive:!0,params:{max:qa},skipAbsent:!0,test(ld){return ld<=this.resolve(od)}})}}DateSchema.INVALID_DATE=invalidDate;DateSchema.prototype;function sortFields(Ra,qa=[]){let nd=[],od=new Set,ld=new Set(qa.map(([dd,pd])=>`${dd}-${pd}`));function ud(dd,pd){let fd=propertyExpr.split(dd)[0];od.add(fd),ld.has(`${pd}-${fd}`)||nd.push([pd,fd])}for(const dd of Object.keys(Ra)){let pd=Ra[dd];od.add(dd),Reference.isRef(pd)&&pd.isSibling?ud(pd.path,dd):isSchema(pd)&&"deps"in pd&&pd.deps.forEach(fd=>ud(fd,dd))}return toposort$1.array(Array.from(od),nd).reverse()}function findIndex(Ra,qa){let nd=1/0;return Ra.some((od,ld)=>{var ud;if((ud=qa.path)!=null&&ud.includes(od))return nd=ld,!0}),nd}function sortByKeyOrder(Ra){return(qa,nd)=>findIndex(Ra,qa)-findIndex(Ra,nd)}const parseJson=(Ra,qa,nd)=>{if(typeof Ra!="string")return Ra;let od=Ra;try{od=JSON.parse(Ra)}catch{}return nd.isType(od)?od:Ra};function deepPartial(Ra){if("fields"in Ra){const qa={};for(const[nd,od]of Object.entries(Ra.fields))qa[nd]=deepPartial(od);return Ra.setFields(qa)}if(Ra.type==="array"){const qa=Ra.optional();return qa.innerType&&(qa.innerType=deepPartial(qa.innerType)),qa}return Ra.type==="tuple"?Ra.optional().clone({types:Ra.spec.types.map(deepPartial)}):"optional"in Ra?Ra.optional():Ra}const deepHas=(Ra,qa)=>{const nd=[...propertyExpr.normalizePath(qa)];if(nd.length===1)return nd[0]in Ra;let od=nd.pop(),ld=propertyExpr.getter(propertyExpr.join(nd),!0)(Ra);return!!(ld&&od in ld)};let isObject$2=Ra=>Object.prototype.toString.call(Ra)==="[object Object]";function unknown(Ra,qa){let nd=Object.keys(Ra.fields);return Object.keys(qa).filter(od=>nd.indexOf(od)===-1)}const defaultSort=sortByKeyOrder([]);function create$3(Ra){return new ObjectSchema(Ra)}class ObjectSchema extends Schema{constructor(qa){super({type:"object",check(nd){return isObject$2(nd)||typeof nd=="function"}}),this.fields=Object.create(null),this._sortErrors=defaultSort,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{qa&&this.shape(qa)})}_cast(qa,nd={}){var od;let ld=super._cast(qa,nd);if(ld===void 0)return this.getDefault(nd);if(!this._typeCheck(ld))return ld;let ud=this.fields,dd=(od=nd.stripUnknown)!=null?od:this.spec.noUnknown,pd=[].concat(this._nodes,Object.keys(ld).filter(Ad=>!this._nodes.includes(Ad))),fd={},md=Object.assign({},nd,{parent:fd,__validating:nd.__validating||!1}),vd=!1;for(const Ad of pd){let Nd=ud[Ad],Od=Ad in ld;if(Nd){let kd,Ld=ld[Ad];md.path=(nd.path?`${nd.path}.`:"")+Ad,Nd=Nd.resolve({value:Ld,context:nd.context,parent:fd});let Gd=Nd instanceof Schema?Nd.spec:void 0,jd=Gd==null?void 0:Gd.strict;if(Gd!=null&&Gd.strip){vd=vd||Ad in ld;continue}kd=!nd.__validating||!jd?Nd.cast(ld[Ad],md):ld[Ad],kd!==void 0&&(fd[Ad]=kd)}else Od&&!dd&&(fd[Ad]=ld[Ad]);(Od!==Ad in fd||fd[Ad]!==ld[Ad])&&(vd=!0)}return vd?fd:ld}_validate(qa,nd={},od,ld){let{from:ud=[],originalValue:dd=qa,recursive:pd=this.spec.recursive}=nd;nd.from=[{schema:this,value:dd},...ud],nd.__validating=!0,nd.originalValue=dd,super._validate(qa,nd,od,(fd,md)=>{if(!pd||!isObject$2(md)){ld(fd,md);return}dd=dd||md;let vd=[];for(let Ad of this._nodes){let Nd=this.fields[Ad];!Nd||Reference.isRef(Nd)||vd.push(Nd.asNestedTest({options:nd,key:Ad,parent:md,parentPath:nd.path,originalParent:dd}))}this.runTests({tests:vd,value:md,originalValue:dd,options:nd},od,Ad=>{ld(Ad.sort(this._sortErrors).concat(fd),md)})})}clone(qa){const nd=super.clone(qa);return nd.fields=Object.assign({},this.fields),nd._nodes=this._nodes,nd._excludedEdges=this._excludedEdges,nd._sortErrors=this._sortErrors,nd}concat(qa){let nd=super.concat(qa),od=nd.fields;for(let[ld,ud]of Object.entries(this.fields)){const dd=od[ld];od[ld]=dd===void 0?ud:dd}return nd.withMutation(ld=>ld.setFields(od,[...this._excludedEdges,...qa._excludedEdges]))}_getDefault(qa){if("default"in this.spec)return super._getDefault(qa);if(!this._nodes.length)return;let nd={};return this._nodes.forEach(od=>{var ld;const ud=this.fields[od];let dd=qa;(ld=dd)!=null&&ld.value&&(dd=Object.assign({},dd,{parent:dd.value,value:dd.value[od]})),nd[od]=ud&&"getDefault"in ud?ud.getDefault(dd):void 0}),nd}setFields(qa,nd){let od=this.clone();return od.fields=qa,od._nodes=sortFields(qa,nd),od._sortErrors=sortByKeyOrder(Object.keys(qa)),nd&&(od._excludedEdges=nd),od}shape(qa,nd=[]){return this.clone().withMutation(od=>{let ld=od._excludedEdges;return nd.length&&(Array.isArray(nd[0])||(nd=[nd]),ld=[...od._excludedEdges,...nd]),od.setFields(Object.assign(od.fields,qa),ld)})}partial(){const qa={};for(const[nd,od]of Object.entries(this.fields))qa[nd]="optional"in od&&od.optional instanceof Function?od.optional():od;return this.setFields(qa)}deepPartial(){return deepPartial(this)}pick(qa){const nd={};for(const od of qa)this.fields[od]&&(nd[od]=this.fields[od]);return this.setFields(nd,this._excludedEdges.filter(([od,ld])=>qa.includes(od)&&qa.includes(ld)))}omit(qa){const nd=[];for(const od of Object.keys(this.fields))qa.includes(od)||nd.push(od);return this.pick(nd)}from(qa,nd,od){let ld=propertyExpr.getter(qa,!0);return this.transform(ud=>{if(!ud)return ud;let dd=ud;return deepHas(ud,qa)&&(dd=Object.assign({},ud),od||delete dd[qa],dd[nd]=ld(ud)),dd})}json(){return this.transform(parseJson)}exact(qa){return this.test({name:"exact",exclusive:!0,message:qa||object.exact,test(nd){if(nd==null)return!0;const od=unknown(this.schema,nd);return od.length===0||this.createError({params:{properties:od.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(qa=!0,nd=object.noUnknown){typeof qa!="boolean"&&(nd=qa,qa=!0);let od=this.test({name:"noUnknown",exclusive:!0,message:nd,test(ld){if(ld==null)return!0;const ud=unknown(this.schema,ld);return!qa||ud.length===0||this.createError({params:{unknown:ud.join(", ")}})}});return od.spec.noUnknown=qa,od}unknown(qa=!0,nd=object.noUnknown){return this.noUnknown(!qa,nd)}transformKeys(qa){return this.transform(nd=>{if(!nd)return nd;const od={};for(const ld of Object.keys(nd))od[qa(ld)]=nd[ld];return od})}camelCase(){return this.transformKeys(tinyCase.camelCase)}snakeCase(){return this.transformKeys(tinyCase.snakeCase)}constantCase(){return this.transformKeys(qa=>tinyCase.snakeCase(qa).toUpperCase())}describe(qa){const nd=(qa?this.resolve(qa):this).clone(),od=super.describe(qa);od.fields={};for(const[ud,dd]of Object.entries(nd.fields)){var ld;let pd=qa;(ld=pd)!=null&&ld.value&&(pd=Object.assign({},pd,{parent:pd.value,value:pd.value[ud]})),od.fields[ud]=dd.describe(pd)}return od}}create$3.prototype=ObjectSchema.prototype;const _hoisted_1$9={class:"flex flex-col items-start"},_hoisted_2$6={class:"flex flex-col items-start"},_sfc_main$S=defineComponent({__name:"UploadImgDialog",emits:["uploadImage"],setup(Ra,{emit:qa}){const nd=qa,od=useDisplayStore(),ld=toTypedSchema(create$3({repo:create$6().required("GitHub 仓库不能为空"),branch:create$6().optional(),accessToken:create$6().required("GitHub Token 不能为空")})),ud=ref$1(localStorage.getItem("githubConfig")?JSON.parse(localStorage.getItem("githubConfig")):{repo:"",branch:"",accessToken:""});function dd(Qf){localStorage.setItem("githubConfig",JSON.stringify(Qf)),ud.value=Qf,Ke$1.success("保存成功")}const pd=toTypedSchema(create$3({accessKeyId:create$6().required("AccessKey ID 不能为空"),accessKeySecret:create$6().required("AccessKey Secret 不能为空"),bucket:create$6().required("Bucket 不能为空"),region:create$6().required("Region 不能为空"),useSSL:create$7().required(),cdnHost:create$6().optional(),path:create$6().optional()})),fd=ref$1(localStorage.getItem("aliOSSConfig")?JSON.parse(localStorage.getItem("aliOSSConfig")):{accessKeyId:"",accessKeySecret:"",bucket:"",region:"",useSSL:!0,cdnHost:"",path:""});function md(Qf){localStorage.setItem("aliOSSConfig",JSON.stringify(Qf)),fd.value=Qf,Ke$1.success("保存成功")}const vd=toTypedSchema(create$3({secretId:create$6().required("Secret ID 不能为空"),secretKey:create$6().required("Secret Key 不能为空"),bucket:create$6().required("Bucket 不能为空"),region:create$6().required("Region 不能为空"),cdnHost:create$6().optional(),path:create$6().optional()})),Ad=ref$1(localStorage.getItem("txCOSConfig")?JSON.parse(localStorage.getItem("txCOSConfig")):{secretId:"",secretKey:"",bucket:"",region:"",cdnHost:"",path:""});function Nd(Qf){localStorage.setItem("txCOSConfig",JSON.stringify(Qf)),Ad.value=Qf,Ke$1.success("保存成功")}const Od=toTypedSchema(create$3({accessKey:create$6().required("AccessKey 不能为空"),secretKey:create$6().required("SecretKey 不能为空"),bucket:create$6().required("Bucket 不能为空"),domain:create$6().required("Bucket 对应域名不能为空"),region:create$6().optional(),path:create$6().optional()})),kd=ref$1(localStorage.getItem("qiniuConfig")?JSON.parse(localStorage.getItem("qiniuConfig")):{accessKey:"",secretKey:"",bucket:"",domain:"",region:"",path:""});function Ld(Qf){localStorage.setItem("qiniuConfig",JSON.stringify(Qf)),kd.value=Qf,Ke$1.success("保存成功")}const Gd=toTypedSchema(create$3({endpoint:create$6().required("Endpoint 不能为空"),port:create$6().optional(),useSSL:create$7().required(),bucket:create$6().required("Bucket 不能为空"),accessKey:create$6().required("AccessKey 不能为空"),secretKey:create$6().required("SecretKey 不能为空")})),jd=ref$1(localStorage.getItem("minioConfig")?JSON.parse(localStorage.getItem("minioConfig")):{endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""});function Fd(Qf){localStorage.setItem("minioConfig",JSON.stringify(Qf)),jd.value=Qf,Ke$1.success("保存成功")}const Ud=ref$1(window.location.href.startsWith("http")),qd=toTypedSchema(create$3({proxyOrigin:Ud.value?create$6().required("代理域名不能为空"):create$6().optional(),appID:create$6().required("AppID 不能为空"),appsecret:create$6().required("AppSecret 不能为空")})),zd=ref$1(localStorage.getItem("mpConfig")?JSON.parse(localStorage.getItem("mpConfig")):{proxyOrigin:"",appID:"",appsecret:""});function Wd(Qf){localStorage.setItem("mpConfig",JSON.stringify(Qf)),zd.value=Qf,Ke$1.success("保存成功")}const Jd=toTypedSchema(create$3({accountId:create$6().required("Account ID 不能为空"),accessKey:create$6().required("AccessKey 不能为空"),secretKey:create$6().required("SecretKey 不能为空"),bucket:create$6().required("Bucket 不能为空"),domain:create$6().required("Bucket 对应域名不能为空"),path:create$6().optional()})),_f=ref$1(localStorage.getItem("r2Config")?JSON.parse(localStorage.getItem("r2Config")):{accountId:"",accessKey:"",secretKey:"",bucket:"",domain:"",path:""});function Xd(Qf){localStorage.setItem("r2Config",JSON.stringify(Qf)),_f.value=Qf,Ke$1.success("保存成功")}const pf=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"mp",label:"公众号图床"},{value:"r2",label:"Cloudflare R2"},{value:"formCustom",label:"自定义代码"}],mf=ref$1("default"),Sf=ref$1("upload");onBeforeMount(()=>{localStorage.getItem("imgHost")&&(mf.value=localStorage.getItem("imgHost"))});function Tf(){localStorage.setItem("imgHost",mf.value),Ke$1.success("已成功切换图床")}function Af(Qf){const Xf=checkImage(Qf);if(!Xf.ok)return Ke$1.error(Xf.msg||""),!1;let ph=localStorage.getItem("imgHost");ph=ph||"default",localStorage.setItem("imgHost",ph);const qf=localStorage.getItem(`${ph}Config`);return ph==="default"||qf?!0:(Ke$1.error(`请先配置 ${ph} 图床参数`),!1)}const Ef=ref$1(!1),{open:Nf,onChange:If}=useFileDialog({accept:"image/*"});If(Qf=>{if(Qf==null)return;const Xf=Qf[0];Af(Xf)&&nd("uploadImage",Xf)});function Gf(Qf){Ef.value=!1,Qf.stopPropagation();const Xf=Array.from(Qf.dataTransfer.files)[0];Af(Xf)&&nd("uploadImage",Xf)}return(Qf,Xf)=>{const ph=_sfc_main$16,qf=_sfc_main$17,Lf=_sfc_main$T,Wf=_sfc_main$U,Jf=_sfc_main$W,Kf=_sfc_main$X,Cf=_sfc_main$_,xf=_sfc_main$V,Yf=_sfc_main$$,dh=_sfc_main$18,Rh=_sfc_main$10,th=_sfc_main$1e,Bf=__unplugin_components_12,Sh=_sfc_main$1o,Fh=_sfc_main$12,uh=_sfc_main$13,Pf=_sfc_main$14,Uf=_sfc_main$1g,Zf=_sfc_main$1h;return openBlock(),createBlock(Zf,{open:unref(od).isShowUploadImgDialog,"onUpdate:open":Xf[6]||(Xf[6]=mh=>unref(od).isShowUploadImgDialog=mh)},{default:withCtx(()=>[createVNode(Uf,{class:"max-w-max",onPointerDownOutside:Xf[5]||(Xf[5]=mh=>mh.preventDefault())},{default:withCtx(()=>[createVNode(qf,null,{default:withCtx(()=>[createVNode(ph,null,{default:withCtx(()=>Xf[7]||(Xf[7]=[createTextVNode("本地上传")])),_:1})]),_:1}),createVNode(Pf,{modelValue:unref(Sf),"onUpdate:modelValue":Xf[4]||(Xf[4]=mh=>isRef(Sf)?Sf.value=mh:null),class:"w-max"},{default:withCtx(()=>[createVNode(Wf,null,{default:withCtx(()=>[createVNode(Lf,{value:"upload"},{default:withCtx(()=>Xf[8]||(Xf[8]=[createTextVNode(" 选择上传 ")])),_:1}),(openBlock(!0),createElementBlock(Fragment,null,renderList(pf.filter(mh=>mh.value!=="default"),mh=>(openBlock(),createBlock(Lf,{key:mh.value,value:mh.value},{default:withCtx(()=>[createTextVNode(toDisplayString(mh.label),1)]),_:2},1032,["value"]))),128))]),_:1}),createVNode(Rh,{value:"upload"},{default:withCtx(()=>[createVNode(dh,null,{default:withCtx(()=>[Xf[9]||(Xf[9]=createBaseVNode("span",{class:"my-4 block"}," 图床 ",-1)),createVNode(Yf,{modelValue:unref(mf),"onUpdate:modelValue":[Xf[0]||(Xf[0]=mh=>isRef(mf)?mf.value=mh:null),Tf]},{default:withCtx(()=>[createVNode(Kf,null,{default:withCtx(()=>[createVNode(Jf,{placeholder:"请选择"})]),_:1}),createVNode(xf,null,{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(pf,mh=>createVNode(Cf,{key:mh.value,label:mh.label,value:mh.value},{default:withCtx(()=>[createTextVNode(toDisplayString(mh.label),1)]),_:2},1032,["label","value"])),64))]),_:1})]),_:1},8,["modelValue"])]),_:1}),createBaseVNode("div",{class:normalizeClass(["bg-clip-padding mt-4 h-50 flex flex-col cursor-pointer items-center justify-evenly border-2 rounded border-dashed transition-colors hover:border-gray-700 hover:bg-gray-400/50 dark:hover:border-gray-200 dark:hover:bg-gray-500/50",{"border-gray-700 bg-gray-400/50 dark:border-gray-200 dark:bg-gray-500/50":unref(Ef)}]),onClick:Xf[1]||(Xf[1]=mh=>unref(Nf)()),onDrop:withModifiers(Gf,["prevent"]),onDragover:Xf[2]||(Xf[2]=withModifiers(mh=>Ef.value=!0,["prevent"])),onDragleave:Xf[3]||(Xf[3]=withModifiers(mh=>Ef.value=!1,["prevent"]))},[createVNode(unref(CloudUpload),{class:"size-20"}),Xf[10]||(Xf[10]=createBaseVNode("p",null,[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("strong",null,"点击上传")],-1))],34)]),_:1}),createVNode(Rh,{value:"github"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(ld),"initial-values":unref(ud),onSubmit:dd},{default:withCtx(()=>[createVNode(unref(Field),{name:"repo"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"GitHub 仓库",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:github.com/yanglbme/resource"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"branch"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"分支",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:release,可不填,默认 master"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"accessToken"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Token",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"},{default:withCtx(()=>Xf[11]||(Xf[11]=[createTextVNode(" 如何获取 GitHub Token? ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[12]||(Xf[12]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"aliOSS"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(pd),"initial-values":unref(fd),onSubmit:md},{default:withCtx(()=>[createVNode(unref(Field),{name:"accessKeyId"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey ID",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"accessKeySecret"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey Secret",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:doocs"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"region"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket 所在区域",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:oss-cn-shenzhen"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"useSSL",type:"boolean"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"UseSSL",required:"",error:Mh},{default:withCtx(()=>[createVNode(Fh,{checked:mh.value,name:mh.name,"onUpdate:checked":mh.onChange,onBlur:mh.onBlur},null,8,["checked","name","onUpdate:checked","onBlur"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"cdnHost"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"自定义 CDN 域名",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:https://imagecdn.alidaodao.com,可不填"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"path"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储路径",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:img,可不填,默认为根目录"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"},{default:withCtx(()=>Xf[13]||(Xf[13]=[createTextVNode(" 如何使用阿里云 OSS? ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[14]||(Xf[14]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"txCOS"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(vd),"initial-values":unref(Ad),onSubmit:Nd},{default:withCtx(()=>[createVNode(unref(Field),{name:"secretId"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretId",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"secretKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:doocs-3212520134"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"region"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket 所在区域",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:ap-guangzhou"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"cdnHost"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"自定义 CDN 域名",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:https://imagecdn.alidaodao.com,可不填"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"path"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储路径",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:img,可不填,默认根目录"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"},{default:withCtx(()=>Xf[15]||(Xf[15]=[createTextVNode(" 如何使用腾讯云 COS? ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[16]||(Xf[16]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"qiniu"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(Od),"initial-values":unref(kd),onSubmit:Ld},{default:withCtx(()=>[createVNode(unref(Field),{name:"accessKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"secretKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:md"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"domain"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket 对应域名",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:https://images.123ylb.cn"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"region"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储区域",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:z2,可不填"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"path"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储路径",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:img,可不填,默认为根目录"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://developer.qiniu.com/kodo",target:"_blank"},{default:withCtx(()=>Xf[17]||(Xf[17]=[createTextVNode(" 如何使用七牛云 Kodo? ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[18]||(Xf[18]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"minio"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(Gd),"initial-values":unref(jd),onSubmit:Fd},{default:withCtx(()=>[createVNode(unref(Field),{name:"endpoint"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Endpoint",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:play.min.io"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"port"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Port",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"number",placeholder:"如:9000,可不填,http 默认为 80,https 默认为 443"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"useSSL",type:"boolean"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"UseSSL",required:"",error:Mh},{default:withCtx(()=>[createVNode(Fh,{checked:mh.value,name:mh.name,"onUpdate:checked":mh.onChange,onBlur:mh.onBlur},null,8,["checked","name","onUpdate:checked","onBlur"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:doocs"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"accessKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:zhangsan"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"secretKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:asdasdasd"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"http://docs.minio.org.cn/docs/master/minio-client-complete-guide",target:"_blank"},{default:withCtx(()=>Xf[19]||(Xf[19]=[createTextVNode(" 如何使用 MinIO? ")])),_:1})]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[20]||(Xf[20]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"mp"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(qd),"initial-values":unref(zd),onSubmit:Wd},{default:withCtx(()=>[createVNode(unref(Field),{name:"proxyOrigin"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"代理域名",required:unref(Ud),error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:http://proxy.example.com,使用插件时可不填"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["required","error"])]),_:1}),createVNode(unref(Field),{name:"appID"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"appID",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:wx6e1234567890efa3"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"appsecret"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"appsecret",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:d9f1abcdef01234567890abcdef82397"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$9,[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Getting_Started_Guide.html",target:"_blank"},{default:withCtx(()=>Xf[21]||(Xf[21]=[createTextVNode(" 如何开启公众号开发者模式并获取应用账号密钥? ")])),_:1}),createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://mpmd.pages.dev/tutorial/",target:"_blank"},{default:withCtx(()=>Xf[22]||(Xf[22]=[createTextVNode(" 如何在浏览器插件中使用公众号图床? ")])),_:1})])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[23]||(Xf[23]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"r2"},{default:withCtx(()=>[createVNode(unref(Form),{"validation-schema":unref(Jd),"initial-values":unref(_f),onSubmit:Xd},{default:withCtx(()=>[createVNode(unref(Field),{name:"accountId"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccountId",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如: 0030f123e55a57546f4c281c564e560",class:"min-w-[350px]"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"accessKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"AccessKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如: 358090b3a12824a6b0787gae7ad0fc72"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"secretKey"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"SecretKey",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,type:"password",placeholder:"如: c1c4dbcb0b6b785ac6633422a06dff3dac055fe74fe40xj1b5c5fcf1bf128010"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"bucket"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"Bucket",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:md"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"domain"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"域名",required:"",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:https://oss.example.com"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(unref(Field),{name:"path"},{default:withCtx(({field:mh,errorMessage:Mh})=>[createVNode(Bf,{label:"存储路径",error:Mh},{default:withCtx(()=>[createVNode(th,mergeProps(mh,{modelValue:mh.value,"onUpdate:modelValue":_h=>mh.value=_h,placeholder:"如:img,可不填,默认为根目录"}),null,16,["modelValue","onUpdate:modelValue"])]),_:2},1032,["error"])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$6,[createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://developers.cloudflare.com/r2/api/s3/api/",target:"_blank"},{default:withCtx(()=>Xf[24]||(Xf[24]=[createTextVNode(" 如何使用 S3 API 操作 Cloudflare R2 ")])),_:1}),createVNode(Sh,{variant:"link",class:"p-0",as:"a",href:"https://developers.cloudflare.com/r2/buckets/cors/",target:"_blank"},{default:withCtx(()=>Xf[25]||(Xf[25]=[createTextVNode(" 如何设置跨域(CORS) ")])),_:1})])]),_:1}),createVNode(Bf,null,{default:withCtx(()=>[createVNode(Sh,{type:"submit"},{default:withCtx(()=>Xf[26]||(Xf[26]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["validation-schema","initial-values"])]),_:1}),createVNode(Rh,{value:"formCustom"},{default:withCtx(()=>[createVNode(uh)]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["open"])}}});var E$2="top",R$2="bottom",W$2="right",P$2="left",me$1="auto",G$2=[E$2,R$2,W$2,P$2],U$2="start",J$2="end",Xe="clippingParents",je$1="viewport",K$2="popper",Ye="reference",De=G$2.reduce(function(Ra,qa){return Ra.concat([qa+"-"+U$2,qa+"-"+J$2])},[]),Ee$1=[].concat(G$2,[me$1]).reduce(function(Ra,qa){return Ra.concat([qa,qa+"-"+U$2,qa+"-"+J$2])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C$1(Ra){return Ra?(Ra.nodeName||"").toLowerCase():null}function H$2(Ra){if(Ra==null)return window;if(Ra.toString()!=="[object Window]"){var qa=Ra.ownerDocument;return qa&&qa.defaultView||window}return Ra}function Q$2(Ra){var qa=H$2(Ra).Element;return Ra instanceof qa||Ra instanceof Element}function B$2(Ra){var qa=H$2(Ra).HTMLElement;return Ra instanceof qa||Ra instanceof HTMLElement}function Pe$1(Ra){if(typeof ShadowRoot>"u")return!1;var qa=H$2(Ra).ShadowRoot;return Ra instanceof qa||Ra instanceof ShadowRoot}function Mt(Ra){var qa=Ra.state;Object.keys(qa.elements).forEach(function(nd){var od=qa.styles[nd]||{},ld=qa.attributes[nd]||{},ud=qa.elements[nd];!B$2(ud)||!C$1(ud)||(Object.assign(ud.style,od),Object.keys(ld).forEach(function(dd){var pd=ld[dd];pd===!1?ud.removeAttribute(dd):ud.setAttribute(dd,pd===!0?"":pd)}))})}function Rt(Ra){var qa=Ra.state,nd={popper:{position:qa.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(qa.elements.popper.style,nd.popper),qa.styles=nd,qa.elements.arrow&&Object.assign(qa.elements.arrow.style,nd.arrow),function(){Object.keys(qa.elements).forEach(function(od){var ld=qa.elements[od],ud=qa.attributes[od]||{},dd=Object.keys(qa.styles.hasOwnProperty(od)?qa.styles[od]:nd[od]),pd=dd.reduce(function(fd,md){return fd[md]="",fd},{});!B$2(ld)||!C$1(ld)||(Object.assign(ld.style,pd),Object.keys(ud).forEach(function(fd){ld.removeAttribute(fd)}))})}}var Ae$1={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q$2(Ra){return Ra.split("-")[0]}var X$2=Math.max,ve$1=Math.min,Z$2=Math.round;function ee$1(Ra,qa){qa===void 0&&(qa=!1);var nd=Ra.getBoundingClientRect(),od=1,ld=1;if(B$2(Ra)&&qa){var ud=Ra.offsetHeight,dd=Ra.offsetWidth;dd>0&&(od=Z$2(nd.width)/dd||1),ud>0&&(ld=Z$2(nd.height)/ud||1)}return{width:nd.width/od,height:nd.height/ld,top:nd.top/ld,right:nd.right/od,bottom:nd.bottom/ld,left:nd.left/od,x:nd.left/od,y:nd.top/ld}}function ke$1(Ra){var qa=ee$1(Ra),nd=Ra.offsetWidth,od=Ra.offsetHeight;return Math.abs(qa.width-nd)<=1&&(nd=qa.width),Math.abs(qa.height-od)<=1&&(od=qa.height),{x:Ra.offsetLeft,y:Ra.offsetTop,width:nd,height:od}}function it(Ra,qa){var nd=qa.getRootNode&&qa.getRootNode();if(Ra.contains(qa))return!0;if(nd&&Pe$1(nd)){var od=qa;do{if(od&&Ra.isSameNode(od))return!0;od=od.parentNode||od.host}while(od)}return!1}function N$1(Ra){return H$2(Ra).getComputedStyle(Ra)}function Wt(Ra){return["table","td","th"].indexOf(C$1(Ra))>=0}function I$1(Ra){return((Q$2(Ra)?Ra.ownerDocument:Ra.document)||window.document).documentElement}function ge$1(Ra){return C$1(Ra)==="html"?Ra:Ra.assignedSlot||Ra.parentNode||(Pe$1(Ra)?Ra.host:null)||I$1(Ra)}function at$1(Ra){return!B$2(Ra)||N$1(Ra).position==="fixed"?null:Ra.offsetParent}function Bt(Ra){var qa=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,nd=navigator.userAgent.indexOf("Trident")!==-1;if(nd&&B$2(Ra)){var od=N$1(Ra);if(od.position==="fixed")return null}var ld=ge$1(Ra);for(Pe$1(ld)&&(ld=ld.host);B$2(ld)&&["html","body"].indexOf(C$1(ld))<0;){var ud=N$1(ld);if(ud.transform!=="none"||ud.perspective!=="none"||ud.contain==="paint"||["transform","perspective"].indexOf(ud.willChange)!==-1||qa&&ud.willChange==="filter"||qa&&ud.filter&&ud.filter!=="none")return ld;ld=ld.parentNode}return null}function se$1(Ra){for(var qa=H$2(Ra),nd=at$1(Ra);nd&&Wt(nd)&&N$1(nd).position==="static";)nd=at$1(nd);return nd&&(C$1(nd)==="html"||C$1(nd)==="body"&&N$1(nd).position==="static")?qa:nd||Bt(Ra)||qa}function Le$1(Ra){return["top","bottom"].indexOf(Ra)>=0?"x":"y"}function fe$1(Ra,qa,nd){return X$2(Ra,ve$1(qa,nd))}function St(Ra,qa,nd){var od=fe$1(Ra,qa,nd);return od>nd?nd:od}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(Ra){return Object.assign({},st(),Ra)}function ct$1(Ra,qa){return qa.reduce(function(nd,od){return nd[od]=Ra,nd},{})}var Tt=function(Ra,qa){return Ra=typeof Ra=="function"?Ra(Object.assign({},qa.rects,{placement:qa.placement})):Ra,ft(typeof Ra!="number"?Ra:ct$1(Ra,G$2))};function Ht(Ra){var qa,nd=Ra.state,od=Ra.name,ld=Ra.options,ud=nd.elements.arrow,dd=nd.modifiersData.popperOffsets,pd=q$2(nd.placement),fd=Le$1(pd),md=[P$2,W$2].indexOf(pd)>=0,vd=md?"height":"width";if(!(!ud||!dd)){var Ad=Tt(ld.padding,nd),Nd=ke$1(ud),Od=fd==="y"?E$2:P$2,kd=fd==="y"?R$2:W$2,Ld=nd.rects.reference[vd]+nd.rects.reference[fd]-dd[fd]-nd.rects.popper[vd],Gd=dd[fd]-nd.rects.reference[fd],jd=se$1(ud),Fd=jd?fd==="y"?jd.clientHeight||0:jd.clientWidth||0:0,Ud=Ld/2-Gd/2,qd=Ad[Od],zd=Fd-Nd[vd]-Ad[kd],Wd=Fd/2-Nd[vd]/2+Ud,Jd=fe$1(qd,Wd,zd),_f=fd;nd.modifiersData[od]=(qa={},qa[_f]=Jd,qa.centerOffset=Jd-Wd,qa)}}function Ct(Ra){var qa=Ra.state,nd=Ra.options,od=nd.element,ld=od===void 0?"[data-popper-arrow]":od;ld!=null&&(typeof ld=="string"&&(ld=qa.elements.popper.querySelector(ld),!ld)||!it(qa.elements.popper,ld)||(qa.elements.arrow=ld))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te$1(Ra){return Ra.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(Ra){var qa=Ra.x,nd=Ra.y,od=window,ld=od.devicePixelRatio||1;return{x:Z$2(qa*ld)/ld||0,y:Z$2(nd*ld)/ld||0}}function ut(Ra){var qa,nd=Ra.popper,od=Ra.popperRect,ld=Ra.placement,ud=Ra.variation,dd=Ra.offsets,pd=Ra.position,fd=Ra.gpuAcceleration,md=Ra.adaptive,vd=Ra.roundOffsets,Ad=Ra.isFixed,Nd=dd.x,Od=Nd===void 0?0:Nd,kd=dd.y,Ld=kd===void 0?0:kd,Gd=typeof vd=="function"?vd({x:Od,y:Ld}):{x:Od,y:Ld};Od=Gd.x,Ld=Gd.y;var jd=dd.hasOwnProperty("x"),Fd=dd.hasOwnProperty("y"),Ud=P$2,qd=E$2,zd=window;if(md){var Wd=se$1(nd),Jd="clientHeight",_f="clientWidth";if(Wd===H$2(nd)&&(Wd=I$1(nd),N$1(Wd).position!=="static"&&pd==="absolute"&&(Jd="scrollHeight",_f="scrollWidth")),Wd=Wd,ld===E$2||(ld===P$2||ld===W$2)&&ud===J$2){qd=R$2;var Xd=Ad&&Wd===zd&&zd.visualViewport?zd.visualViewport.height:Wd[Jd];Ld-=Xd-od.height,Ld*=fd?1:-1}if(ld===P$2||(ld===E$2||ld===R$2)&&ud===J$2){Ud=W$2;var pf=Ad&&Wd===zd&&zd.visualViewport?zd.visualViewport.width:Wd[_f];Od-=pf-od.width,Od*=fd?1:-1}}var mf=Object.assign({position:pd},md&&qt),Sf=vd===!0?Vt({x:Od,y:Ld}):{x:Od,y:Ld};if(Od=Sf.x,Ld=Sf.y,fd){var Tf;return Object.assign({},mf,(Tf={},Tf[qd]=Fd?"0":"",Tf[Ud]=jd?"0":"",Tf.transform=(zd.devicePixelRatio||1)<=1?"translate("+Od+"px, "+Ld+"px)":"translate3d("+Od+"px, "+Ld+"px, 0)",Tf))}return Object.assign({},mf,(qa={},qa[qd]=Fd?Ld+"px":"",qa[Ud]=jd?Od+"px":"",qa.transform="",qa))}function Nt(Ra){var qa=Ra.state,nd=Ra.options,od=nd.gpuAcceleration,ld=od===void 0?!0:od,ud=nd.adaptive,dd=ud===void 0?!0:ud,pd=nd.roundOffsets,fd=pd===void 0?!0:pd,md={placement:q$2(qa.placement),variation:te$1(qa.placement),popper:qa.elements.popper,popperRect:qa.rects.popper,gpuAcceleration:ld,isFixed:qa.options.strategy==="fixed"};qa.modifiersData.popperOffsets!=null&&(qa.styles.popper=Object.assign({},qa.styles.popper,ut(Object.assign({},md,{offsets:qa.modifiersData.popperOffsets,position:qa.options.strategy,adaptive:dd,roundOffsets:fd})))),qa.modifiersData.arrow!=null&&(qa.styles.arrow=Object.assign({},qa.styles.arrow,ut(Object.assign({},md,{offsets:qa.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:fd})))),qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-placement":qa.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye$1={passive:!0};function It(Ra){var qa=Ra.state,nd=Ra.instance,od=Ra.options,ld=od.scroll,ud=ld===void 0?!0:ld,dd=od.resize,pd=dd===void 0?!0:dd,fd=H$2(qa.elements.popper),md=[].concat(qa.scrollParents.reference,qa.scrollParents.popper);return ud&&md.forEach(function(vd){vd.addEventListener("scroll",nd.update,ye$1)}),pd&&fd.addEventListener("resize",nd.update,ye$1),function(){ud&&md.forEach(function(vd){vd.removeEventListener("scroll",nd.update,ye$1)}),pd&&fd.removeEventListener("resize",nd.update,ye$1)}}var Re$1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be$2(Ra){return Ra.replace(/left|right|bottom|top/g,function(qa){return _t[qa]})}var zt={start:"end",end:"start"};function lt(Ra){return Ra.replace(/start|end/g,function(qa){return zt[qa]})}function We(Ra){var qa=H$2(Ra),nd=qa.pageXOffset,od=qa.pageYOffset;return{scrollLeft:nd,scrollTop:od}}function Be$1(Ra){return ee$1(I$1(Ra)).left+We(Ra).scrollLeft}function Ft(Ra){var qa=H$2(Ra),nd=I$1(Ra),od=qa.visualViewport,ld=nd.clientWidth,ud=nd.clientHeight,dd=0,pd=0;return od&&(ld=od.width,ud=od.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(dd=od.offsetLeft,pd=od.offsetTop)),{width:ld,height:ud,x:dd+Be$1(Ra),y:pd}}function Ut(Ra){var qa,nd=I$1(Ra),od=We(Ra),ld=(qa=Ra.ownerDocument)==null?void 0:qa.body,ud=X$2(nd.scrollWidth,nd.clientWidth,ld?ld.scrollWidth:0,ld?ld.clientWidth:0),dd=X$2(nd.scrollHeight,nd.clientHeight,ld?ld.scrollHeight:0,ld?ld.clientHeight:0),pd=-od.scrollLeft+Be$1(Ra),fd=-od.scrollTop;return N$1(ld||nd).direction==="rtl"&&(pd+=X$2(nd.clientWidth,ld?ld.clientWidth:0)-ud),{width:ud,height:dd,x:pd,y:fd}}function Se$1(Ra){var qa=N$1(Ra),nd=qa.overflow,od=qa.overflowX,ld=qa.overflowY;return/auto|scroll|overlay|hidden/.test(nd+ld+od)}function dt(Ra){return["html","body","#document"].indexOf(C$1(Ra))>=0?Ra.ownerDocument.body:B$2(Ra)&&Se$1(Ra)?Ra:dt(ge$1(Ra))}function ce$2(Ra,qa){var nd;qa===void 0&&(qa=[]);var od=dt(Ra),ld=od===((nd=Ra.ownerDocument)==null?void 0:nd.body),ud=H$2(od),dd=ld?[ud].concat(ud.visualViewport||[],Se$1(od)?od:[]):od,pd=qa.concat(dd);return ld?pd:pd.concat(ce$2(ge$1(dd)))}function Te(Ra){return Object.assign({},Ra,{left:Ra.x,top:Ra.y,right:Ra.x+Ra.width,bottom:Ra.y+Ra.height})}function Xt(Ra){var qa=ee$1(Ra);return qa.top=qa.top+Ra.clientTop,qa.left=qa.left+Ra.clientLeft,qa.bottom=qa.top+Ra.clientHeight,qa.right=qa.left+Ra.clientWidth,qa.width=Ra.clientWidth,qa.height=Ra.clientHeight,qa.x=qa.left,qa.y=qa.top,qa}function ht(Ra,qa){return qa===je$1?Te(Ft(Ra)):Q$2(qa)?Xt(qa):Te(Ut(I$1(Ra)))}function Yt(Ra){var qa=ce$2(ge$1(Ra)),nd=["absolute","fixed"].indexOf(N$1(Ra).position)>=0,od=nd&&B$2(Ra)?se$1(Ra):Ra;return Q$2(od)?qa.filter(function(ld){return Q$2(ld)&&it(ld,od)&&C$1(ld)!=="body"}):[]}function Gt(Ra,qa,nd){var od=qa==="clippingParents"?Yt(Ra):[].concat(qa),ld=[].concat(od,[nd]),ud=ld[0],dd=ld.reduce(function(pd,fd){var md=ht(Ra,fd);return pd.top=X$2(md.top,pd.top),pd.right=ve$1(md.right,pd.right),pd.bottom=ve$1(md.bottom,pd.bottom),pd.left=X$2(md.left,pd.left),pd},ht(Ra,ud));return dd.width=dd.right-dd.left,dd.height=dd.bottom-dd.top,dd.x=dd.left,dd.y=dd.top,dd}function mt(Ra){var qa=Ra.reference,nd=Ra.element,od=Ra.placement,ld=od?q$2(od):null,ud=od?te$1(od):null,dd=qa.x+qa.width/2-nd.width/2,pd=qa.y+qa.height/2-nd.height/2,fd;switch(ld){case E$2:fd={x:dd,y:qa.y-nd.height};break;case R$2:fd={x:dd,y:qa.y+qa.height};break;case W$2:fd={x:qa.x+qa.width,y:pd};break;case P$2:fd={x:qa.x-nd.width,y:pd};break;default:fd={x:qa.x,y:qa.y}}var md=ld?Le$1(ld):null;if(md!=null){var vd=md==="y"?"height":"width";switch(ud){case U$2:fd[md]=fd[md]-(qa[vd]/2-nd[vd]/2);break;case J$2:fd[md]=fd[md]+(qa[vd]/2-nd[vd]/2);break}}return fd}function ne$1(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=od===void 0?Ra.placement:od,ud=nd.boundary,dd=ud===void 0?Xe:ud,pd=nd.rootBoundary,fd=pd===void 0?je$1:pd,md=nd.elementContext,vd=md===void 0?K$2:md,Ad=nd.altBoundary,Nd=Ad===void 0?!1:Ad,Od=nd.padding,kd=Od===void 0?0:Od,Ld=ft(typeof kd!="number"?kd:ct$1(kd,G$2)),Gd=vd===K$2?Ye:K$2,jd=Ra.rects.popper,Fd=Ra.elements[Nd?Gd:vd],Ud=Gt(Q$2(Fd)?Fd:Fd.contextElement||I$1(Ra.elements.popper),dd,fd),qd=ee$1(Ra.elements.reference),zd=mt({reference:qd,element:jd,strategy:"absolute",placement:ld}),Wd=Te(Object.assign({},jd,zd)),Jd=vd===K$2?Wd:qd,_f={top:Ud.top-Jd.top+Ld.top,bottom:Jd.bottom-Ud.bottom+Ld.bottom,left:Ud.left-Jd.left+Ld.left,right:Jd.right-Ud.right+Ld.right},Xd=Ra.modifiersData.offset;if(vd===K$2&&Xd){var pf=Xd[ld];Object.keys(_f).forEach(function(mf){var Sf=[W$2,R$2].indexOf(mf)>=0?1:-1,Tf=[E$2,R$2].indexOf(mf)>=0?"y":"x";_f[mf]+=pf[Tf]*Sf})}return _f}function Jt(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=nd.boundary,ud=nd.rootBoundary,dd=nd.padding,pd=nd.flipVariations,fd=nd.allowedAutoPlacements,md=fd===void 0?Ee$1:fd,vd=te$1(od),Ad=vd?pd?De:De.filter(function(kd){return te$1(kd)===vd}):G$2,Nd=Ad.filter(function(kd){return md.indexOf(kd)>=0});Nd.length===0&&(Nd=Ad);var Od=Nd.reduce(function(kd,Ld){return kd[Ld]=ne$1(Ra,{placement:Ld,boundary:ld,rootBoundary:ud,padding:dd})[q$2(Ld)],kd},{});return Object.keys(Od).sort(function(kd,Ld){return Od[kd]-Od[Ld]})}function Kt(Ra){if(q$2(Ra)===me$1)return[];var qa=be$2(Ra);return[lt(Ra),qa,lt(qa)]}function Qt(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name;if(!qa.modifiersData[od]._skip){for(var ld=nd.mainAxis,ud=ld===void 0?!0:ld,dd=nd.altAxis,pd=dd===void 0?!0:dd,fd=nd.fallbackPlacements,md=nd.padding,vd=nd.boundary,Ad=nd.rootBoundary,Nd=nd.altBoundary,Od=nd.flipVariations,kd=Od===void 0?!0:Od,Ld=nd.allowedAutoPlacements,Gd=qa.options.placement,jd=q$2(Gd),Fd=jd===Gd,Ud=fd||(Fd||!kd?[be$2(Gd)]:Kt(Gd)),qd=[Gd].concat(Ud).reduce(function(Wf,Jf){return Wf.concat(q$2(Jf)===me$1?Jt(qa,{placement:Jf,boundary:vd,rootBoundary:Ad,padding:md,flipVariations:kd,allowedAutoPlacements:Ld}):Jf)},[]),zd=qa.rects.reference,Wd=qa.rects.popper,Jd=new Map,_f=!0,Xd=qd[0],pf=0;pf=0,Ef=Af?"width":"height",Nf=ne$1(qa,{placement:mf,boundary:vd,rootBoundary:Ad,altBoundary:Nd,padding:md}),If=Af?Tf?W$2:P$2:Tf?R$2:E$2;zd[Ef]>Wd[Ef]&&(If=be$2(If));var Gf=be$2(If),Qf=[];if(ud&&Qf.push(Nf[Sf]<=0),pd&&Qf.push(Nf[If]<=0,Nf[Gf]<=0),Qf.every(function(Wf){return Wf})){Xd=mf,_f=!1;break}Jd.set(mf,Qf)}if(_f)for(var Xf=kd?3:1,ph=function(Wf){var Jf=qd.find(function(Kf){var Cf=Jd.get(Kf);if(Cf)return Cf.slice(0,Wf).every(function(xf){return xf})});if(Jf)return Xd=Jf,"break"},qf=Xf;qf>0;qf--){var Lf=ph(qf);if(Lf==="break")break}qa.placement!==Xd&&(qa.modifiersData[od]._skip=!0,qa.placement=Xd,qa.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(Ra,qa,nd){return nd===void 0&&(nd={x:0,y:0}),{top:Ra.top-qa.height-nd.y,right:Ra.right-qa.width+nd.x,bottom:Ra.bottom-qa.height+nd.y,left:Ra.left-qa.width-nd.x}}function yt(Ra){return[E$2,W$2,R$2,P$2].some(function(qa){return Ra[qa]>=0})}function Zt(Ra){var qa=Ra.state,nd=Ra.name,od=qa.rects.reference,ld=qa.rects.popper,ud=qa.modifiersData.preventOverflow,dd=ne$1(qa,{elementContext:"reference"}),pd=ne$1(qa,{altBoundary:!0}),fd=gt(dd,od),md=gt(pd,ld,ud),vd=yt(fd),Ad=yt(md);qa.modifiersData[nd]={referenceClippingOffsets:fd,popperEscapeOffsets:md,isReferenceHidden:vd,hasPopperEscaped:Ad},qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-reference-hidden":vd,"data-popper-escaped":Ad})}var bt$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(Ra,qa,nd){var od=q$2(Ra),ld=[P$2,E$2].indexOf(od)>=0?-1:1,ud=typeof nd=="function"?nd(Object.assign({},qa,{placement:Ra})):nd,dd=ud[0],pd=ud[1];return dd=dd||0,pd=(pd||0)*ld,[P$2,W$2].indexOf(od)>=0?{x:pd,y:dd}:{x:dd,y:pd}}function tn(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.offset,ud=ld===void 0?[0,0]:ld,dd=Ee$1.reduce(function(vd,Ad){return vd[Ad]=en(Ad,qa.rects,ud),vd},{}),pd=dd[qa.placement],fd=pd.x,md=pd.y;qa.modifiersData.popperOffsets!=null&&(qa.modifiersData.popperOffsets.x+=fd,qa.modifiersData.popperOffsets.y+=md),qa.modifiersData[od]=dd}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(Ra){var qa=Ra.state,nd=Ra.name;qa.modifiersData[nd]=mt({reference:qa.rects.reference,element:qa.rects.popper,strategy:"absolute",placement:qa.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(Ra){return Ra==="x"?"y":"x"}function on(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.mainAxis,ud=ld===void 0?!0:ld,dd=nd.altAxis,pd=dd===void 0?!1:dd,fd=nd.boundary,md=nd.rootBoundary,vd=nd.altBoundary,Ad=nd.padding,Nd=nd.tether,Od=Nd===void 0?!0:Nd,kd=nd.tetherOffset,Ld=kd===void 0?0:kd,Gd=ne$1(qa,{boundary:fd,rootBoundary:md,padding:Ad,altBoundary:vd}),jd=q$2(qa.placement),Fd=te$1(qa.placement),Ud=!Fd,qd=Le$1(jd),zd=rn(qd),Wd=qa.modifiersData.popperOffsets,Jd=qa.rects.reference,_f=qa.rects.popper,Xd=typeof Ld=="function"?Ld(Object.assign({},qa.rects,{placement:qa.placement})):Ld,pf=typeof Xd=="number"?{mainAxis:Xd,altAxis:Xd}:Object.assign({mainAxis:0,altAxis:0},Xd),mf=qa.modifiersData.offset?qa.modifiersData.offset[qa.placement]:null,Sf={x:0,y:0};if(Wd){if(ud){var Tf,Af=qd==="y"?E$2:P$2,Ef=qd==="y"?R$2:W$2,Nf=qd==="y"?"height":"width",If=Wd[qd],Gf=If+Gd[Af],Qf=If-Gd[Ef],Xf=Od?-_f[Nf]/2:0,ph=Fd===U$2?Jd[Nf]:_f[Nf],qf=Fd===U$2?-_f[Nf]:-Jd[Nf],Lf=qa.elements.arrow,Wf=Od&&Lf?ke$1(Lf):{width:0,height:0},Jf=qa.modifiersData["arrow#persistent"]?qa.modifiersData["arrow#persistent"].padding:st(),Kf=Jf[Af],Cf=Jf[Ef],xf=fe$1(0,Jd[Nf],Wf[Nf]),Yf=Ud?Jd[Nf]/2-Xf-xf-Kf-pf.mainAxis:ph-xf-Kf-pf.mainAxis,dh=Ud?-Jd[Nf]/2+Xf+xf+Cf+pf.mainAxis:qf+xf+Cf+pf.mainAxis,Rh=qa.elements.arrow&&se$1(qa.elements.arrow),th=Rh?qd==="y"?Rh.clientTop||0:Rh.clientLeft||0:0,Bf=(Tf=mf==null?void 0:mf[qd])!=null?Tf:0,Sh=If+Yf-Bf-th,Fh=If+dh-Bf,uh=fe$1(Od?ve$1(Gf,Sh):Gf,If,Od?X$2(Qf,Fh):Qf);Wd[qd]=uh,Sf[qd]=uh-If}if(pd){var Pf,Uf=qd==="x"?E$2:P$2,Zf=qd==="x"?R$2:W$2,mh=Wd[zd],Mh=zd==="y"?"height":"width",_h=mh+Gd[Uf],pm=mh-Gd[Zf],Jh=[E$2,P$2].indexOf(jd)!==-1,Mm=(Pf=mf==null?void 0:mf[zd])!=null?Pf:0,Im=Jh?_h:mh-Jd[Mh]-_f[Mh]-Mm+pf.altAxis,gm=Jh?mh+Jd[Mh]+_f[Mh]-Mm-pf.altAxis:pm,Lm=Od&&Jh?St(Im,mh,gm):fe$1(Od?Im:_h,mh,Od?gm:pm);Wd[zd]=Lm,Sf[zd]=Lm-mh}qa.modifiersData[od]=Sf}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an$1(Ra){return{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}}function sn(Ra){return Ra===H$2(Ra)||!B$2(Ra)?We(Ra):an$1(Ra)}function fn(Ra){var qa=Ra.getBoundingClientRect(),nd=Z$2(qa.width)/Ra.offsetWidth||1,od=Z$2(qa.height)/Ra.offsetHeight||1;return nd!==1||od!==1}function cn$1(Ra,qa,nd){nd===void 0&&(nd=!1);var od=B$2(qa),ld=B$2(qa)&&fn(qa),ud=I$1(qa),dd=ee$1(Ra,ld),pd={scrollLeft:0,scrollTop:0},fd={x:0,y:0};return(od||!od&&!nd)&&((C$1(qa)!=="body"||Se$1(ud))&&(pd=sn(qa)),B$2(qa)?(fd=ee$1(qa,!0),fd.x+=qa.clientLeft,fd.y+=qa.clientTop):ud&&(fd.x=Be$1(ud))),{x:dd.left+pd.scrollLeft-fd.x,y:dd.top+pd.scrollTop-fd.y,width:dd.width,height:dd.height}}function pn(Ra){var qa=new Map,nd=new Set,od=[];Ra.forEach(function(ud){qa.set(ud.name,ud)});function ld(ud){nd.add(ud.name);var dd=[].concat(ud.requires||[],ud.requiresIfExists||[]);dd.forEach(function(pd){if(!nd.has(pd)){var fd=qa.get(pd);fd&&ld(fd)}}),od.push(ud)}return Ra.forEach(function(ud){nd.has(ud.name)||ld(ud)}),od}function un(Ra){var qa=pn(Ra);return ot.reduce(function(nd,od){return nd.concat(qa.filter(function(ld){return ld.phase===od}))},[])}function ln(Ra){var qa;return function(){return qa||(qa=new Promise(function(nd){Promise.resolve().then(function(){qa=void 0,nd(Ra())})})),qa}}function dn(Ra){var qa=Ra.reduce(function(nd,od){var ld=nd[od.name];return nd[od.name]=ld?Object.assign({},ld,od,{options:Object.assign({},ld.options,od.options),data:Object.assign({},ld.data,od.data)}):od,nd},{});return Object.keys(qa).map(function(nd){return qa[nd]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var Ra=arguments.length,qa=new Array(Ra),nd=0;ndRa.length)&&(qa=Ra.length);for(var nd=0,od=Array(qa);nd=0;--qf){var Lf=this.tryEntries[qf],Wf=Lf.completion;if(Lf.tryLoc==="root")return ph("end");if(Lf.tryLoc<=this.prev){var Jf=dd.call(Lf,"catchLoc"),Kf=dd.call(Lf,"finallyLoc");if(Jf&&Kf){if(this.prev=0;--ph){var qf=this.tryEntries[ph];if(qf.tryLoc<=this.prev&&dd.call(qf,"finallyLoc")&&this.prev=0;--Xf){var ph=this.tryEntries[Xf];if(ph.finallyLoc===Qf)return this.complete(ph.completion,ph.afterLoc),Nf(ph),Ud}},catch:function(Qf){for(var Xf=this.tryEntries.length-1;Xf>=0;--Xf){var ph=this.tryEntries[Xf];if(ph.tryLoc===Qf){var qf=ph.completion;if(qf.type==="throw"){var Lf=qf.arg;Nf(ph)}return Lf}}throw Error("illegal catch attempt")},delegateYield:function(Qf,Xf,ph){return this.delegate={iterator:Gf(Qf),resultName:Xf,nextLoc:ph},this.method==="next"&&(this.arg=od),Ud}},ld}Ra.exports=nd,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports}(B$1);var z$1=B$1.exports(),M$1=z$1;try{regeneratorRuntime=z$1}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=z$1:Function("r","regeneratorRuntime = r")(z$1)}function D$1(Ra,qa){return function(nd){if(Array.isArray(nd))return nd}(Ra)||function(nd,od){var ld=nd==null?null:typeof Symbol<"u"&&nd[Symbol.iterator]||nd["@@iterator"];if(ld!=null){var ud,dd,pd,fd,md=[],vd=!0,Ad=!1;try{if(pd=(ld=ld.call(nd)).next,od===0){if(Object(ld)!==ld)return;vd=!1}else for(;!(vd=(ud=pd.call(ld)).done)&&(md.push(ud.value),md.length!==od);vd=!0);}catch(Nd){Ad=!0,dd=Nd}finally{try{if(!vd&&ld.return!=null&&(fd=ld.return(),Object(fd)!==fd))return}finally{if(Ad)throw dd}}return md}}(Ra,qa)||_$1(Ra,qa)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function T$1(Ra){var qa=function(nd,od){if(P$1(nd)!="object"||!nd)return nd;var ld=nd[Symbol.toPrimitive];if(ld!==void 0){var ud=ld.call(nd,od||"default");if(P$1(ud)!="object")return ud;throw new TypeError("@@toPrimitive must return a primitive value.")}return(od==="string"?String:Number)(nd)}(Ra,"string");return P$1(qa)=="symbol"?qa:qa+""}function H$1(Ra,qa,nd){return(qa=T$1(qa))in Ra?Object.defineProperty(Ra,qa,{value:nd,enumerable:!0,configurable:!0,writable:!0}):Ra[qa]=nd,Ra}var G$1=defineComponent({name:"Saturation",props:{size:{type:Number,default:160},hue:{type:Number,default:0},saturation:{type:Number,default:0},value:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),background:"hsl(".concat(Ra.hue,", 100%, 50%)")}});return{saturationStyle:od,sliderStyle:computed(function(){return{top:"".concat((100-Ra.value)/100*Ra.size-5,"px"),left:"".concat(Ra.saturation*Ra.size/100-5,"px"),width:"".concat(10,"px"),height:"".concat(10,"px")}}),onSelect:function(ld){var ud=ld.target.getBoundingClientRect(),dd=ud.left,pd=ud.top,fd=function(vd){var Ad=vd.clientX,Nd=vd.clientY,Od=Ad-dd,kd=Nd-pd;Od<0&&(Od=0),kd<0&&(kd=0),Od>Ra.size&&(Od=Ra.size),kd>Ra.size&&(kd=Ra.size);var Ld=Od/Ra.size*100,Gd=100-kd/Ra.size*100;nd("change",Ld,Gd)},md=function(){document.removeEventListener("mousemove",fd),document.removeEventListener("mouseup",md)};fd(ld),document.addEventListener("mousemove",fd),document.addEventListener("mouseup",md)}}}});function V$1(Ra,qa){qa===void 0&&(qa={});var nd=qa.insertAt;if(Ra&&typeof document<"u"){var od=document.head||document.getElementsByTagName("head")[0],ld=document.createElement("style");ld.type="text/css",nd==="top"&&od.firstChild?od.insertBefore(ld,od.firstChild):od.appendChild(ld),ld.styleSheet?ld.styleSheet.cssText=Ra:ld.appendChild(document.createTextNode(Ra))}}V$1(".saturation[data-v-24517fec]{position:relative}.saturation-black[data-v-24517fec],.saturation-white[data-v-24517fec]{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.saturation-white[data-v-24517fec]{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.saturation-black[data-v-24517fec]{background:linear-gradient(0deg,#000,transparent)}.slider[data-v-24517fec]{border:1px solid #fff;border-radius:50%;box-shadow:0 0 1px 1px rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;top:0;z-index:1}"),G$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"saturation",style:normalizeStyle(Ra.saturationStyle),onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[qa[1]||(qa[1]=createBaseVNode("div",{class:"saturation-white"},null,-1)),qa[2]||(qa[2]=createBaseVNode("div",{class:"saturation-black"},null,-1)),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],36)},G$1.__scopeId="data-v-24517fec",G$1.__file="src/picker/Saturation.vue";var Y$1=defineComponent({name:"Hue",props:{width:{type:Number,default:15},height:{type:Number,default:160},hue:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat((1-Ra.hue/360)*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1();return onMounted(function(){(function(){ld.value.width=Ra.width,ld.value.height=Ra.height;var ud=ld.value.getContext("2d"),dd=ud.createLinearGradient(0,0,0,Ra.height);dd.addColorStop(0,"#FF0000"),dd.addColorStop(.17,"#FF00FF"),dd.addColorStop(.34,"#0000FF"),dd.addColorStop(.51,"#00FFFF"),dd.addColorStop(.68,"#00FF00"),dd.addColorStop(.17*5,"#FFFF00"),dd.addColorStop(1,"#FF0000"),ud.fillStyle=dd,ud.fillRect(0,0,Ra.width,Ra.height)})()}),{canvas:ld,sliderStyle:od,onSelect:function(ud){var dd=ud.target.getBoundingClientRect().top,pd=function(md){var vd=md.clientY-dd;vd<0&&(vd=0),vd>Ra.height&&(vd=Ra.height);var Ad=-100*vd/Ra.height+100;nd("change",360*Ad/100)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(ud),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}}),$={ref:"canvas"};V$1(".hue[data-v-78b9f4f0]{position:relative}.slider[data-v-78b9f4f0]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),Y$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"hue",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",$,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},Y$1.__scopeId="data-v-78b9f4f0",Y$1.__file="src/picker/Hue.vue";var J$1=defineComponent({name:"Alpha",props:{width:{type:Number,default:15},height:{type:Number,default:160},color:{type:String,default:"#000000"},alpha:{type:Number,default:1}},setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat(Ra.alpha*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1(),ud=function(){var dd=ld.value.getContext("2d");ld.value.width=Ra.width,ld.value.height=Ra.height;var pd=function(md){var vd=document.createElement("canvas"),Ad=vd.getContext("2d"),Nd=2*md;return vd.width=Nd,vd.height=Nd,Ad.fillStyle="#ffffff",Ad.fillRect(0,0,Nd,Nd),Ad.fillStyle="#ccd5db",Ad.fillRect(0,0,md,md),Ad.fillRect(md,md,md,md),vd}(5);dd.fillStyle=dd.createPattern(pd,"repeat"),dd.fillRect(0,0,Ra.width,Ra.height);var fd=dd.createLinearGradient(0,0,0,Ra.height);fd.addColorStop(.01,"rgba(255,255,255,0)"),fd.addColorStop(.99,Ra.color),dd.fillStyle=fd,dd.fillRect(0,0,Ra.width,Ra.height)};return watch(function(){return Ra.color},function(){ud()}),onMounted(function(){ud()}),{canvas:ld,sliderStyle:od,onSelect:function(dd){var pd=dd.target.getBoundingClientRect().top,fd=function(vd){var Ad=vd.clientY-pd;Ad<0&&(Ad=0),Ad>Ra.height&&(Ad=Ra.height);var Nd=parseFloat((Ad/Ra.height).toFixed(2));nd("change",Nd)},md=function(){document.removeEventListener("mousemove",fd),document.removeEventListener("mouseup",md)};fd(dd),document.addEventListener("mousemove",fd),document.addEventListener("mouseup",md)}}}}),X$1={ref:"canvas"};V$1(".alpha[data-v-24dc9656]{position:relative}.slider[data-v-24dc9656]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),J$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"alpha",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",X$1,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},J$1.__scopeId="data-v-24dc9656",J$1.__file="src/picker/Alpha.vue";var q$1={rgb:"RGBA",hex:"HEX",hsl:"HSLA",hsv:"HSVA"},U$1={rgb:"RGB",hex:"HEX",hsl:"HSL",hsv:"HSV"},W$1={RGB:"rgb",RGBA:"rgb",HEX:"hex",HSL:"hsl",HSLA:"hsl",HSV:"hsv",HSVA:"hsv"};function K$1(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Q$1(Ra){for(var qa=1;qa1}),fd=computed(function(){var vd=Ra.options,Ad=Ra.showAlpha,Nd=Ra.value;return Array.isArray(vd)?Ad?vd.map(function(Od){return q$1[Od]}).filter(function(Od){return!Od.includes(Nd)}):vd.map(function(Od){return U$1[Od]}).filter(function(Od){return!Od.includes(Nd)}):[]}),md=function(vd){var Ad,Nd,Od=vd.target;!((Ad=unref(od))!==null&&Ad!==void 0&&Ad.isEqualNode(Od))&&(!((Nd=unref(od))===null||Nd===void 0)&&Nd.contains(Od))||(ud.value=!1)};return onMounted(function(){document.addEventListener("mouseup",md,!1)}),onUnmounted(function(){document.removeEventListener("mouseup",md,!1)}),{targetRef:od,selectorRef:ld,selectorStyle:dd,isShowSelector:ud,isNeedSelect:pd,formatOptions:fd,onShow:function(){pd.value&&(ud.value=!0)},onFormatChange:function(vd){nd("change",W$1[vd])}}}}),re={class:"format"},ne={key:0,class:"arrow"},oe=["onClick"];V$1(".format[data-v-5f6e8f5e]{position:relative}.label[data-v-5f6e8f5e]{align-items:center;background:#e7e8e9;color:#999;display:flex;float:left;font-weight:500;height:30px;justify-content:center;position:relative;width:60px}[pick-colors-theme=dark] .label[data-v-5f6e8f5e]{background:#252930;color:#999}.arrow[data-v-5f6e8f5e]{height:6px;margin-bottom:4px;margin-left:5px;transform:rotate(135deg);width:6px}.arrow[data-v-5f6e8f5e],[pick-colors-theme=dark] .arrow[data-v-5f6e8f5e]{border-right:1px solid #999;border-top:1px solid #999}.selector[data-v-5f6e8f5e]{align-items:center;background:#f7f8f9;border-radius:5px;box-shadow:0 0 16px 0 rgba(0,0,0,.16);cursor:pointer;display:flex;flex-direction:column;font-weight:400;justify-content:center;padding:4px}[pick-colors-theme=dark] .selector[data-v-5f6e8f5e]{background:#252930;color:#999}.selector-item[data-v-5f6e8f5e]{align-items:center;display:flex;height:30px;justify-content:center;width:60px}.selector-item[data-v-5f6e8f5e]:hover{background:#e1f2fe}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]{color:#fff}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]:hover{background:#0087fa}.active-selector-item[data-v-5f6e8f5e]{background:#e1f2fe}[pick-colors-theme=dark] .active-selector-item[data-v-5f6e8f5e]{background:#0087fa}.v-enter-active[data-v-5f6e8f5e],.v-leave-active[data-v-5f6e8f5e]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-5f6e8f5e],.v-leave-to[data-v-5f6e8f5e]{opacity:0;transform:scaleY(0)}"),te.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",re,[createBaseVNode("div",{class:"label",ref:"targetRef",onClick:qa[0]||(qa[0]=function(){return Ra.onShow&&Ra.onShow.apply(Ra,arguments)})},[createBaseVNode("span",null,toDisplayString(Ra.value),1),Ra.isNeedSelect?(openBlock(),createElementBlock("div",ne)):createCommentVNode("v-if",!0)],512),createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowSelector?(openBlock(),createElementBlock("div",{key:0,class:"selector",ref:"selectorRef",style:normalizeStyle(Ra.selectorStyle)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.formatOptions,function(dd){return openBlock(),createElementBlock("div",{class:"selector-item",key:dd,onClick:function(pd){return Ra.onFormatChange(dd)}},toDisplayString(dd),9,oe)}),128))],4)):createCommentVNode("v-if",!0)]}),_:1})])},te.__scopeId="data-v-5f6e8f5e",te.__file="src/picker/input-value/FormatValue.vue";var ae$1=defineComponent({name:"Input",components:{FormatValue:te},props:{format:{type:String,default:"RGBA"},value:{type:String,default:""},width:{type:Number},showAlpha:{type:Boolean},formatOptions:{type:[Boolean,Array]}},emits:["change","focus","blur","enter","formatChange"],setup:function(Ra,qa){var nd=qa.emit;return{onInput:function(od){var ld;nd("change",(ld=od.target)===null||ld===void 0?void 0:ld.value)},valueStyle:computed(function(){return{minWidth:"".concat(Ra.width,"px"),maxWidth:"".concat(Ra.width,"px"),width:"".concat(Ra.width,"px")}}),onFocus:function(){nd("focus")},onBlur:function(){nd("blur")},onEnter:function(){nd("enter")},onFormatChange:function(od){nd("formatChange",od)}}}}),ie={class:"input"},le=[".value"];function ce$1(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function ue(Ra){for(var qa=1;qa0?parseFloat(od.toFixed(2)):od,qa){case"hsl":var md=se(ud,dd/100,pd/100);return"hsla(".concat(ud.toFixed(0),", ").concat(Math.round(100*md[1]),"%, ").concat(Math.round(100*md[2]),"%, ").concat(fd,")");case"hsv":return"hsva(".concat(ud.toFixed(0),", ").concat(Math.round(dd),"%, ").concat(Math.round(pd),"%, ").concat(fd,")");case"rgb":var vd=ve(ud,dd,pd),Ad=vd.r,Nd=vd.g,Od=vd.b;return"rgba(".concat(Ad,", ").concat(Nd,", ").concat(Od,", ").concat(fd,")");default:return"".concat(pe(ve(ud,dd,pd))).concat(de(255*fd))}else switch(qa){case"hsl":var kd=se(ud,dd/100,pd/100);return"hsl(".concat(ud.toFixed(0),", ").concat(Math.round(100*kd[1]),"%, ").concat(Math.round(100*kd[2]),"%)");case"hsv":return"hsv(".concat(ud.toFixed(0),", ").concat(Math.round(dd),"%, ").concat(Math.round(pd),"%)");case"rgb":var Ld=ve(ud,dd,pd),Gd=Ld.r,jd=Ld.g,Fd=Ld.b;return"rgb(".concat(Gd,", ").concat(jd,", ").concat(Fd,")");default:return pe(ve(ud,dd,pd))}},ge=function(Ra){var qa=Ra.r,nd=Ra.g,od=Ra.b;qa=he(qa,255),nd=he(nd,255),od=he(od,255);var ld,ud=Math.max(qa,nd,od),dd=Math.min(qa,nd,od),pd=ud,fd=ud-dd,md=ud===0?0:fd/ud;if(ud===dd)ld=0;else{switch(ud){case qa:ld=(nd-od)/fd+(nd2&&arguments[2]!==void 0)||arguments[2])switch(qa){case"rgb":var nd=we(Ra),od=nd.r,ld=nd.g,ud=nd.b,dd=nd.a;return ue(ue({},ge({r:od,g:ld,b:ud})),{},{a:+dd});case"hsv":var pd=ke(Ra);return{h:pd.h,s:pd.s,v:pd.v,a:pd.a};case"hsl":var fd=Se(Ra),md=fd.h,vd=fd.s,Ad=fd.l,Nd=fd.a;return ue(ue({},ye({h:md,s:vd,l:Ad})),{},{a:+Nd});default:var Od=be$1(Ra),kd=Od.r,Ld=Od.g,Gd=Od.b,jd=Od.a;return ue(ue({},ge({r:kd,g:Ld,b:Gd})),{},{a:jd/255})}else switch(qa){case"rgb":return ue(ue({},ge(we(Ra))),{},{a:1});case"hsv":var Fd=ke(Ra);return{h:Fd.h,s:Fd.s,v:Fd.v,a:1};case"hsl":return ue(ue({},ye(Se(Ra))),{},{a:1});default:return ue(ue({},ge(be$1(Ra))),{},{a:1})}},Oe=function(Ra){return Ra.match(/^#/)?"hex":Ra.match(/^rgb/)?"rgb":Ra.match(/^hsl/)?"hsl":Ra.match(/^hsv/)?"hsv":"hex"},Ae=function(Ra){var qa=Ra.h,nd=Ra.s,od=Ra.v,ld=Ra.a;return isNaN(qa)&&isNaN(nd)&&isNaN(od)?null:(isNaN(qa)&&(qa=0),isNaN(nd)&&(nd=0),isNaN(od)&&(od=0),isNaN(ld)&&(ld=1),{h:qa,s:nd,v:od,a:ld})},Ne=defineComponent({name:"ColorItem",props:{size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},value:{type:String,default:""},border:{type:Boolean,default:!0},borderRadius:{type:Number,default:5},selected:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1}},emits:["select"],setup:function(Ra){var qa=ref$1(),nd=inject("theme",{theme:"light"}).theme,od=computed(function(){return parseFloat((Ra.width||Ra.size)+"")}),ld=computed(function(){return parseFloat((Ra.height||Ra.size)+"")}),ud=computed(function(){return{width:"".concat(unref(od),"px"),height:"".concat(unref(ld),"px"),border:Ra.border?"1px solid ".concat(unref(nd)==="dark"?"#434345":"#d9d9d9"):"",borderRadius:"".concat(Ra.borderRadius,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(nd)==="dark"?"#2681ff":"#1890ff"):""}}),dd=function(){var pd=qa.value.getContext("2d");qa.value.width=unref(od),qa.value.height=unref(ld);var fd=function(md){var vd=document.createElement("canvas"),Ad=vd.getContext("2d"),Nd=2*md;return vd.width=Nd,vd.height=Nd,Ad.fillStyle="#ffffff",Ad.fillRect(0,0,Nd,Nd),Ad.fillStyle="#ccd5db",Ad.fillRect(0,0,md,md),Ad.fillRect(md,md,md,md),vd}(5);pd.fillStyle=pd.createPattern(fd,"repeat"),pd.fillRect(0,0,unref(od),unref(ld)),pd.fillStyle=Ra.value,pd.fillRect(0,0,unref(od),unref(ld))};return watch(function(){return Ra.value},function(){dd()}),onMounted(function(){dd()}),{canvas:qa,colorItemStyle:ud}}}),Ie=["draggable"];V$1(".color-item[data-v-02da71fd]{display:inline-block;vertical-align:top}"),Ne.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("canvas",{class:"color-item",style:normalizeStyle(Ra.colorItemStyle),ref:"canvas",draggable:Ra.draggable},null,12,Ie)},Ne.__scopeId="data-v-02da71fd",Ne.__file="src/color-item/ColorItem.vue";var Fe=defineComponent({name:"Colors",components:{ColorItem:Ne},props:{colors:{type:Array,default:function(){return[]}},selectedIndex:{type:Number,default:-1}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit;return{onSelectColor:function(od,ld){nd("change",od,ld)},useColors:computed(function(){return Ra.colors.map(function(od){return xe(od,"hex",!0)})})}}}),_e$1={class:"colors"};function Ee(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Pe(Ra){for(var qa=1;qa0?(openBlock(),createBlock(vd,{key:0,class:"colors",colors:Ra.colors,"selected-index":Ra.selectColorIndex,onChange:Ra.onSelectColor},null,8,["colors","selected-index","onChange"])):createCommentVNode("v-if",!0)])],4)},je.__scopeId="data-v-6ceadec6",je.__file="src/picker/Picker.vue";var Re=defineComponent({name:"AddColorItem",props:{size:{type:Number,default:20},selected:{type:Boolean,default:!1}},setup:function(Ra){var qa=inject("theme",{theme:"light"}).theme;return{addColorItemStyle:computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),lineHeight:"".concat(Ra.size,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(qa)==="dark"?"#2681ff":"#1890ff"):""}})}}});V$1(".add-color-item[data-v-ceb1719c]{background:#fff;border:1px solid #d9d9d9;border-radius:5px;vertical-align:top}.container[data-v-ceb1719c]{pointer-events:none;transform:scale(.9);transform-origin:center}[pick-colors-theme=dark] .add-color-item[data-v-ceb1719c]{background:#141414;border:1px solid #434343}path[data-v-ceb1719c]{fill:#000}[pick-colors-theme=dark] path[data-v-ceb1719c]{fill:#fff}"),Re.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("svg",{class:"add-color-item",style:normalizeStyle(Ra.addColorItemStyle),viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},qa[0]||(qa[0]=[createBaseVNode("g",{class:"container"},[createBaseVNode("path",{d:"M544 464V160h-80v304H160v80h304v304h80V544h304v-80z"})],-1)]),4)},Re.__scopeId="data-v-ceb1719c",Re.__file="src/add-color-item/AddColorItem.vue";var ze=defineComponent({name:"ColorPicker",components:{ColorItem:Ne,Picker:je,AddColorItem:Re},props:{value:{type:[String,Array]},theme:{type:String,default:"light"},size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},format:{type:String},showPicker:{type:Boolean,default:void 0},showAlpha:{type:Boolean,default:!1},addColor:{type:Boolean,default:!1},deleteColor:{type:Boolean,default:!0},max:{type:Number,default:13},popupContainer:{type:[String,Object,Boolean],default:"body"},zIndex:{type:Number,default:1e3},colors:{type:Array,default:function(){return["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","#ff4500","#ff7d4d","#00babd","#1f93ff","#fa64c3"]}},position:{type:String},placement:{type:String},formatOptions:{type:[Boolean,Array],default:!1}},emits:["change","update:value","update:showPicker","overflowMax","closePicker","formatChange"],setup:function(Ra,qa){var nd=qa.emit,od=ref$1([]),ld=computed(function(){return unref(od).map(function(Xd){return xe(Xd,"hex",Ra.showAlpha)})}),ud=ref$1("hex");watch(function(){return Ra.format},function(){ud.value=Ra.format},{immediate:!0}),watch(function(){return Ra.value},function(){var Xd=Ra.value||"",pf=Array.isArray(Xd)?Xd:[Xd];od.value=pf.map(function(mf){return xe(mf,unref(ud),Ra.showAlpha)})},{immediate:!0});var dd=ref$1(void 0),pd=computed(function(){return unref(od)[unref(dd)]}),fd=ref$1(!1);watch(function(){return Ra.showPicker},function(){fd.value=Ra.showPicker},{immediate:!0});var md,vd,Ad=ref$1(null),Nd=ref$1(null),Od=ee(Ad,Nd,{defaultStyle:{zIndex:Ra.zIndex},strategy:Ra.position,placement:Ra.placement}).style,kd=function(){unref(Ad)==null&&(Ad.value=unref(_f)[0]),unref(dd)==null&&(dd.value=0),Ra.showPicker===void 0?fd.value=!0:nd("update:showPicker",!0)},Ld=function(){dd.value=void 0,Ra.showPicker===void 0?fd.value=!1:nd("update:showPicker",!1),nd("closePicker",toRaw(Array.isArray(Ra.value)||Ra.addColor?unref(od):unref(od)[0]))},Gd=ref$1(),jd=function(){var Xd=L$1(M$1.mark(function pf(mf){var Sf,Tf,Af,Ef;return M$1.wrap(function(Nf){for(;;)switch(Nf.prev=Nf.next){case 0:if(Tf=mf.target,(Af=(Sf=Tf.dataset)===null||Sf===void 0?void 0:Sf.index)!=null&&Af!==""){Nf.next=4;break}return Nf.abrupt("return");case 4:if(Ef=+Af,unref(dd)!==Ef){Nf.next=7;break}return Nf.abrupt("return");case 7:unref(dd)!=null&&unref(dd)!==Ef?(Ld(),md&&clearTimeout(md),md=setTimeout(function(){kd(),clearTimeout(md)},100)):kd(),dd.value=Ef,Ad.value=Tf;case 10:case"end":return Nf.stop()}},pf)}));return function(pf){return Xd.apply(this,arguments)}}(),Fd=function(){var Xd=L$1(M$1.mark(function pf(mf){var Sf,Tf,Af,Ef,Nf;return M$1.wrap(function(If){for(;;)switch(If.prev=If.next){case 0:if(Ef=mf.target,!(!((Sf=unref(Gd))!==null&&Sf!==void 0&&Sf.isEqualNode(Ef))&&(!((Tf=unref(Gd))===null||Tf===void 0)&&Tf.contains(Ef)))){If.next=4;break}return If.abrupt("return");case 4:if(Nf=(Af=unref(Nd))===null||Af===void 0?void 0:Af.$el,!(Nf!=null&&Nf.contains(Ef))){If.next=8;break}return If.abrupt("return");case 8:vd&&clearTimeout(vd),vd=setTimeout(function(){unref(fd)&&Ld()},0);case 10:case"end":return If.stop()}},pf)}));return function(pf){return Xd.apply(this,arguments)}}();watch(fd,function(){unref(fd)&&(kd(),clearTimeout(vd))});var Ud,qd=ref$1(Ra.max>unref(od).length),zd=computed(function(){return typeof Ra.popupContainer=="string"||P$1(Ra.popupContainer)==="object"&&Ra.popupContainer!=null?Ra.popupContainer:"body"}),Wd=computed(function(){return typeof Ra.popupContainer=="boolean"&&Ra.popupContainer===!1}),Jd=computed(function(){return Ra.theme});watch(function(){return[Ra.theme,unref(Nd)]},function(){nextTick$1(function(){var Xd,pf;(Xd=unref(Gd))===null||Xd===void 0||Xd.setAttribute("pick-colors-theme",unref(Jd)),(pf=unref(Nd))===null||pf===void 0||(pf=pf.$el)===null||pf===void 0||pf.setAttribute("pick-colors-theme",unref(Jd))})},{immediate:!0}),provide("theme",{theme:Jd});var _f=ref$1([]);return onMounted(function(){document.addEventListener("mouseup",Fd,!1),Ra.showPicker&&kd()}),onUnmounted(function(){document.removeEventListener("mouseup",Fd,!1),md&&(clearTimeout(md),md=null),vd&&(clearTimeout(vd),vd=null)}),{valueList:od,colorItemSelected:function(Xd){return(Ra.addColor?unref(od).length>0:unref(od).length>1)&&unref(dd)===Xd},selectedColor:pd,selectedIndex:dd,isShowPicker:fd,addColorItemShow:qd,onPickerChange:function(Xd){var pf=unref(dd),mf=unref(od).slice(),Sf=unref(od).length;if(pf!=null){pf>=0?mf[pf]=Xd:(dd.value=Sf,mf.push(Xd));var Tf="";Tf=Array.isArray(Ra.value)||Ra.addColor?mf:Xd,od.value=Array.isArray(Tf)?Tf:[Tf],nd("update:value",Tf),nd("change",Tf,Xd,pf),Ra.addColor&&Sf>=Ra.max&&(qd.value=!1,nd("overflowMax"))}},colorPicker:Gd,onColorClick:jd,pickerRef:Nd,onColorItemDragStart:function(Xd){Xd.dataTransfer.effectAllowed="move";var pf=Xd.target;Ud=+pf.dataset.index},onColorItemDragOver:function(Xd){},onColorItemDrop:function(Xd){var pf=+Xd.target.dataset.index,mf=E$1(unref(od)),Sf=mf[Ud];mf.splice(Ud,1);var Tf=mf.slice(0,pf),Af=mf.splice(pf),Ef=Tf.concat([Sf]).concat(Af);nd("update:value",Ef),nd("change",Ef,Ef[Ud],Ud)},colorItemsRef:_f,pickerStyle:Od,values:ld,teleportDisabled:Wd,toPopupContainer:zd,formatValue:ud,onFormatChange:function(Xd){ud.value=Xd,nd("formatChange",Xd)}}}});V$1(".color-picker[data-v-3c43ade8]{display:inline-block}.color-item[data-v-3c43ade8]{margin:5px}.add-color-item[data-v-3c43ade8]{display:inline-block;margin:5px}.picker[data-v-3c43ade8]{overflow:hidden}.v-enter-active[data-v-3c43ade8],.v-leave-active[data-v-3c43ade8]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-3c43ade8],.v-leave-to[data-v-3c43ade8]{opacity:0;transform:scaleY(0)}"),ze.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("color-item"),pd=resolveComponent("add-color-item"),fd=resolveComponent("picker");return openBlock(),createElementBlock("div",{class:"color-picker",ref:"colorPicker",onDragstart:qa[0]||(qa[0]=withModifiers(function(){return Ra.onColorItemDragStart&&Ra.onColorItemDragStart.apply(Ra,arguments)},["stop"])),onDragover:qa[1]||(qa[1]=withModifiers(function(){return Ra.onColorItemDragOver&&Ra.onColorItemDragOver.apply(Ra,arguments)},["prevent","stop"])),onDrop:qa[2]||(qa[2]=withModifiers(function(){return Ra.onColorItemDrop&&Ra.onColorItemDrop.apply(Ra,arguments)},["prevent","stop"])),onClick:qa[3]||(qa[3]=withModifiers(function(){return Ra.onColorClick&&Ra.onColorClick.apply(Ra,arguments)},["stop"]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.values,function(md,vd){return openBlock(),createBlock(dd,{class:"color-item",key:vd,ref_for:!0,ref:function(Ad){return Ra.colorItemsRef[vd]=Ad},size:Ra.size,width:Ra.width,height:Ra.height,value:md,selected:Ra.colorItemSelected(vd),"data-index":vd,draggable:Ra.valueList.length>1,format:Ra.formatValue},null,8,["size","width","height","value","selected","data-index","draggable","format"])}),128)),Ra.addColor&&Ra.addColorItemShow?(openBlock(),createBlock(pd,{key:0,class:"add-color-item",ref:"addColorItem",selected:Ra.colorItemSelected(-1),"data-index":-1},null,8,["selected"])):createCommentVNode("v-if",!0),(openBlock(),createBlock(Teleport,{to:Ra.toPopupContainer,disabled:Ra.teleportDisabled},[createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowPicker?(openBlock(),createBlock(fd,{key:0,class:"picker",style:normalizeStyle(Ra.pickerStyle),ref:"pickerRef",value:Ra.selectedColor,format:Ra.formatValue,"show-alpha":Ra.showAlpha,colors:Ra.colors,formatOptions:Ra.formatOptions,onChange:Ra.onPickerChange,onFormatChange:Ra.onFormatChange},null,8,["style","value","format","show-alpha","colors","formatOptions","onChange","onFormatChange"])):createCommentVNode("v-if",!0)]}),_:1})],8,["to","disabled"]))],544)},ze.__scopeId="data-v-3c43ade8",ze.__file="src/ColorPicker.vue";const _hoisted_1$8={class:"space-y-2"},_hoisted_2$5={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_3$4={class:"space-y-2"},_hoisted_4$4={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_5$3={class:"space-y-2"},_hoisted_6$3={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_7$1={class:"space-y-2"},_hoisted_8$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_9={class:"space-y-2"},_hoisted_10={class:"space-y-2"},_hoisted_11={class:"space-y-2"},_hoisted_12={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_13={class:"space-y-2"},_hoisted_14={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_15={class:"space-y-2"},_hoisted_16={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_17={class:"space-y-2"},_hoisted_18={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_19={class:"space-y-2"},_hoisted_20={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_21={class:"space-y-2"},_hoisted_22={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_23={class:"space-y-2"},_hoisted_24={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_25={class:"space-y-2"},_sfc_main$R=defineComponent({__name:"RightSlider",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{isDark:od,primaryColor:ld}=storeToRefs(qa);function ud(){nd.toggleShowCssEditor(),setTimeout(()=>{qa.cssEditor.refresh()},50)}const dd=ref$1(!1),pd=ref$1("");watch(dd,()=>{dd.value&&(pd.value="")});const fd=useTemplateRef("pickColorsContainer"),md=ref$1("rgb"),vd=ref$1(["rgb","hex","hsl","hsv"]);return(Ad,Nd)=>{const Od=_sfc_main$1o,kd=_sfc_main$W,Ld=_sfc_main$X,Gd=_sfc_main$_,jd=_sfc_main$V,Fd=_sfc_main$$;return openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden bg-gray/20 transition-width duration-300 dark:bg-gray/40",{"w-0":!unref(qa).isOpenRightSlider,"w-100":unref(qa).isOpenRightSlider}])},[createBaseVNode("div",{class:normalizeClass(["space-y-4 h-full overflow-auto p-4 transition-transform",{"translate-x-0":unref(qa).isOpenRightSlider,"translate-x-full":!unref(qa).isOpenRightSlider}])},[createBaseVNode("div",_hoisted_1$8,[Nd[14]||(Nd[14]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_2$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).theme===qd}]),variant:"outline",onClick:zd=>unref(qa).themeChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_3$4,[Nd[15]||(Nd[15]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_4$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).fontFamily===qd}]),onClick:zd=>unref(qa).fontChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5$3,[Nd[16]||(Nd[16]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_6$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:Ud,desc:qd})=>(openBlock(),createBlock(Od,{key:Ud,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).fontSize===Ud}]),onClick:zd=>unref(qa).sizeChanged(Ud)},{default:withCtx(()=>[createTextVNode(toDisplayString(qd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7$1,[Nd[17]||(Nd[17]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_8$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).primaryColor===qd}]),variant:"outline",onClick:zd=>unref(qa).colorChanged(qd)},{default:withCtx(()=>[createBaseVNode("span",{class:"mr-2 inline-block h-4 w-4 rounded-full",style:normalizeStyle({background:qd})},null,4),createTextVNode(" "+toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Nd[18]||(Nd[18]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",{ref_key:"pickColorsContainer",ref:fd},[unref(fd)?(openBlock(),createBlock(unref(ze),{key:0,value:unref(ld),"onUpdate:value":Nd[0]||(Nd[0]=Ud=>isRef(ld)?ld.value=Ud:null),"show-alpha":"",format:unref(md),"format-options":unref(vd),theme:unref(qa).isDark?"dark":"light","popup-container":unref(fd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])):createCommentVNode("",!0)],512)]),createBaseVNode("div",_hoisted_10,[Nd[19]||(Nd[19]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(Fd,{modelValue:unref(qa).codeBlockTheme,"onUpdate:modelValue":[Nd[1]||(Nd[1]=Ud=>unref(qa).codeBlockTheme=Ud),unref(qa).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(Ld,null,{default:withCtx(()=>[createVNode(kd,{placeholder:"Select a fruit"})]),_:1}),createVNode(jd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Gd,{key:Ud,value:qd},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_11,[Nd[20]||(Nd[20]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_12,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).legend===qd}]),variant:"outline",onClick:zd=>unref(qa).legendChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_13,[Nd[23]||(Nd[23]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_14,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isMacCodeBlock}]),variant:"outline",onClick:Nd[2]||(Nd[2]=Ud=>!unref(qa).isMacCodeBlock&&unref(qa).macCodeBlockChanged())},{default:withCtx(()=>Nd[21]||(Nd[21]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isMacCodeBlock}]),variant:"outline",onClick:Nd[3]||(Nd[3]=Ud=>unref(qa).isMacCodeBlock&&unref(qa).macCodeBlockChanged())},{default:withCtx(()=>Nd[22]||(Nd[22]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_15,[Nd[26]||(Nd[26]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_16,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isCiteStatus}]),variant:"outline",onClick:Nd[4]||(Nd[4]=Ud=>!unref(qa).isCiteStatus&&unref(qa).citeStatusChanged())},{default:withCtx(()=>Nd[24]||(Nd[24]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isCiteStatus}]),variant:"outline",onClick:Nd[5]||(Nd[5]=Ud=>unref(qa).isCiteStatus&&unref(qa).citeStatusChanged())},{default:withCtx(()=>Nd[25]||(Nd[25]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Nd[29]||(Nd[29]=createBaseVNode("h2",null,"段落首行缩进",-1)),createBaseVNode("div",_hoisted_18,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isUseIndent}]),variant:"outline",onClick:Nd[6]||(Nd[6]=Ud=>!unref(qa).isUseIndent&&unref(qa).useIndentChanged())},{default:withCtx(()=>Nd[27]||(Nd[27]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isUseIndent}]),variant:"outline",onClick:Nd[7]||(Nd[7]=Ud=>unref(qa).isUseIndent&&unref(qa).useIndentChanged())},{default:withCtx(()=>Nd[28]||(Nd[28]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Nd[32]||(Nd[32]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_20,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).isShowCssEditor}]),variant:"outline",onClick:Nd[8]||(Nd[8]=Ud=>!unref(nd).isShowCssEditor&&ud())},{default:withCtx(()=>Nd[30]||(Nd[30]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(nd).isShowCssEditor}]),variant:"outline",onClick:Nd[9]||(Nd[9]=Ud=>unref(nd).isShowCssEditor&&ud())},{default:withCtx(()=>Nd[31]||(Nd[31]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Nd[35]||(Nd[35]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_22,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isEditOnLeft}]),variant:"outline",onClick:Nd[10]||(Nd[10]=Ud=>!unref(qa).isEditOnLeft&&unref(qa).toggleEditOnLeft())},{default:withCtx(()=>Nd[33]||(Nd[33]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isEditOnLeft}]),variant:"outline",onClick:Nd[11]||(Nd[11]=Ud=>unref(qa).isEditOnLeft&&unref(qa).toggleEditOnLeft())},{default:withCtx(()=>Nd[34]||(Nd[34]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Nd[36]||(Nd[36]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_24,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(od)}]),variant:"outline",onClick:Nd[12]||(Nd[12]=Ud=>unref(qa).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(od)}]),variant:"outline",onClick:Nd[13]||(Nd[13]=Ud=>unref(qa).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Nd[38]||(Nd[38]=createBaseVNode("h2",null,"样式配置",-1)),createVNode(Od,{onClick:unref(qa).resetStyleConfirm},{default:withCtx(()=>Nd[37]||(Nd[37]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])])],2)],2)}}}),_sfc_main$Q=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Su$2),mergeProps(unref(od),{class:unref(cn$5)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$7={class:"cssEditor-wrapper h-full flex flex-col border-l-1"},_sfc_main$P=defineComponent({__name:"CssEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),od=ref$1(!1),ld=ref$1(""),ud=ref$1(["",qa.cssContentConfig.active]);function dd(jd){ld.value=jd,od.value=!0}function pd(){if(!ld.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(ld.value)){Ke$1.error("不能与现有方案重名");return}qa.renameTab(ld.value),od.value=!1,Ke$1.success("修改成功~")}const fd=ref$1(!1),md=ref$1("");function vd(){if(!md.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(md.value)){Ke$1.error("不能与现有方案重名");return}qa.addCssContentTab(md.value),fd.value=!1,qa.cssContentConfig.active=md.value,ud.value=[ud.value[1],md.value],Ke$1.success("新建成功~")}const Ad=ref$1(!1),Nd=ref$1("");function Od(jd){Nd.value=jd,Ad.value=!0}function kd(){const jd=qa.cssContentConfig.tabs;if(jd.length===1){Ke$1.warning("至少保留一个方案");return}let Fd=qa.cssContentConfig.active;Fd===Nd.value&&jd.forEach((Ud,qd)=>{if(Ud.name===Nd.value){const zd=jd[qd+1]||jd[qd-1];zd&&(Fd=zd.name)}}),qa.tabChanged(Fd),qa.cssContentConfig.tabs=jd.filter(Ud=>Ud.name!==Nd.value),Ke$1.success("删除成功~")}function Ld(){md.value=`方案${qa.cssContentConfig.tabs.length+1}`,fd.value=!0}function Gd(jd){if(jd==="add"){qa.cssContentConfig.active=ud.value[1],Ld();return}ud.value=[ud.value[1],jd],qa.tabChanged(jd)}return(jd,Fd)=>{const Ud=_sfc_main$T,qd=_sfc_main$U,zd=_sfc_main$14,Wd=_sfc_main$16,Jd=_sfc_main$Q,_f=_sfc_main$17,Xd=_sfc_main$1e,pf=_sfc_main$1o,mf=_sfc_main$1f,Sf=_sfc_main$1g,Tf=_sfc_main$1h,Af=_sfc_main$1j,Ef=_sfc_main$1k,Nf=_sfc_main$1l,If=_sfc_main$1m,Gf=_sfc_main$1n,Qf=_sfc_main$1p,Xf=_sfc_main$1q,ph=_sfc_main$1r;return openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createBaseVNode("div",_hoisted_1$7,[createVNode(zd,{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":[Fd[0]||(Fd[0]=qf=>unref(qa).cssContentConfig.active=qf),Gd]},{default:withCtx(()=>[createVNode(qd,{class:"w-full overflow-x-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,qf=>(openBlock(),createBlock(Ud,{key:qf.name,value:qf.name,class:"flex-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(qf.title)+" ",1),withDirectives(createVNode(unref(PenLine),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:Lf=>dd(qf.name)},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===qf.name]]),withDirectives(createVNode(unref(X$7),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:withModifiers(Lf=>Od(qf.name),["self"])},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===qf.name]])]),_:2},1032,["value"]))),128)),createVNode(Ud,{value:"add"},{default:withCtx(()=>[createVNode(unref(Plus),{class:"h-5 w-5"})]),_:1})]),_:1})]),_:1},8,["modelValue"]),Fd[21]||(Fd[21]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1)),createVNode(Tf,{open:unref(fd),"onUpdate:open":Fd[4]||(Fd[4]=qf=>isRef(fd)?fd.value=qf:null)},{default:withCtx(()=>[createVNode(Sf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(_f,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>Fd[9]||(Fd[9]=[createTextVNode("新建自定义 CSS")])),_:1}),createVNode(Jd,null,{default:withCtx(()=>Fd[10]||(Fd[10]=[createTextVNode(" 请输入方案名称 ")])),_:1})]),_:1}),createVNode(Xd,{modelValue:unref(md),"onUpdate:modelValue":Fd[1]||(Fd[1]=qf=>isRef(md)?md.value=qf:null)},null,8,["modelValue"]),createVNode(mf,null,{default:withCtx(()=>[createVNode(pf,{variant:"outline",onClick:Fd[2]||(Fd[2]=qf=>fd.value=!1)},{default:withCtx(()=>Fd[11]||(Fd[11]=[createTextVNode(" 取消 ")])),_:1}),createVNode(pf,{onClick:Fd[3]||(Fd[3]=qf=>vd())},{default:withCtx(()=>Fd[12]||(Fd[12]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Tf,{open:unref(od),"onUpdate:open":Fd[7]||(Fd[7]=qf=>isRef(od)?od.value=qf:null)},{default:withCtx(()=>[createVNode(Sf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(_f,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>Fd[13]||(Fd[13]=[createTextVNode("编辑方案名称")])),_:1}),createVNode(Jd,null,{default:withCtx(()=>Fd[14]||(Fd[14]=[createTextVNode(" 请输入新的方案名称 ")])),_:1})]),_:1}),createVNode(Xd,{modelValue:unref(ld),"onUpdate:modelValue":Fd[5]||(Fd[5]=qf=>isRef(ld)?ld.value=qf:null)},null,8,["modelValue"]),createVNode(mf,null,{default:withCtx(()=>[createVNode(pf,{variant:"outline",onClick:Fd[6]||(Fd[6]=qf=>od.value=!1)},{default:withCtx(()=>Fd[15]||(Fd[15]=[createTextVNode(" 取消 ")])),_:1}),createVNode(pf,{onClick:pd},{default:withCtx(()=>Fd[16]||(Fd[16]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(ph,{open:unref(Ad),"onUpdate:open":Fd[8]||(Fd[8]=qf=>isRef(Ad)?Ad.value=qf:null)},{default:withCtx(()=>[createVNode(Xf,null,{default:withCtx(()=>[createVNode(Nf,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>Fd[17]||(Fd[17]=[createTextVNode("提示")])),_:1}),createVNode(Ef,null,{default:withCtx(()=>Fd[18]||(Fd[18]=[createTextVNode(" 此操作将删除该自定义方案,是否继续? ")])),_:1})]),_:1}),createVNode(Qf,null,{default:withCtx(()=>[createVNode(If,null,{default:withCtx(()=>Fd[19]||(Fd[19]=[createTextVNode("取消")])),_:1}),createVNode(Gf,{onClick:kd},{default:withCtx(()=>Fd[20]||(Fd[20]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512),[[vShow,unref(nd).isShowCssEditor]])]),_:1})}}}),__unplugin_components_9=_export_sfc(_sfc_main$P,[["__scopeId","data-v-4be1e5f4"]]),_sfc_main$O=defineComponent({__name:"BackTop",props:{left:{},top:{},right:{},bottom:{},visibilityHeight:{},target:{},onClick:{type:Function}},setup(Ra){const qa=Ra,nd=ref$1(qa.visibilityHeight??400),od=ref$1(!1),ld=ref$1(null);function ud(pd){var fd,md;console.log("scrollToTop"),(fd=ld.value)==null||fd.scrollTo({top:0,left:0,behavior:"smooth"}),(md=qa.onClick)==null||md.call(qa,pd)}const dd=throttle$1(pd=>{pd instanceof HTMLElement?od.value=pd.scrollTop>nd.value:od.value=window.scrollY>nd.value},200,{edges:["leading","trailing"]});return onMounted(()=>{qa.target?ld.value=document.getElementById(qa.target):ld.value=window,ld.value.addEventListener("scroll",()=>{dd(ld.value)})}),onUnmounted(()=>{ld.value.removeEventListener("scroll",()=>{dd(ld.value)})}),(pd,fd)=>{const md=_sfc_main$1o;return unref(od)?(openBlock(),createBlock(md,{key:0,variant:"outline",size:"icon",class:"fixed z-50 rounded-full",style:normalizeStyle({left:`${pd.left}px`,top:`${pd.top}px`,right:`${pd.right}px`,bottom:`${pd.bottom}px`}),onClick:ud},{default:withCtx(()=>[createVNode(unref(ArrowUpFromLine))]),_:1},8,["style"])):createCommentVNode("",!0)}}}),_sfc_main$N=defineComponent({__name:"ContextMenu",props:{dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(em$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$M=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},sticky:{},hideWhenDetached:{type:Boolean},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(am$1),null,{default:withCtx(()=>[createVNode(unref(nm$1),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$L=defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$K=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(rm$1),mergeProps(nd.value,{class:unref(cn$5)("-mx-1 my-1 h-px bg-border",qa.class)}),null,16,["class"]))}}),_sfc_main$J=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(lm),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",dd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$I=defineComponent({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(tm$1),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$H=defineComponent({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(ah$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$G=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(oh),null,{default:withCtx(()=>[createVNode(unref(lh),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$F=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(rh),mergeProps(unref(od),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$E=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(nh),mergeProps({class:"outline-none"},unref(nd)),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$D=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ji$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_hoisted_1$6=["onClick"],_hoisted_2$4={class:"line-clamp-1"},_sfc_main$C=defineComponent({__name:"PostSlider",setup(Ra){const qa=useStore(),nd=ref$1(!1),od=ref$1("");watch(nd,()=>{nd.value&&(od.value="")});function ld(){if(od.value===""){Ke$1.error("内容标题不可为空");return}qa.addPost(od.value),nd.value=!1,Ke$1.success("内容新增成功")}const ud=ref$1(-1),dd=ref$1(!1),pd=ref$1("");function fd(Od){ud.value=Od,pd.value=qa.posts[Od].title,dd.value=!0}function md(){if(pd.value===""){Ke$1.error("内容标题不可为空");return}qa.renamePost(ud.value,pd.value),dd.value=!1,Ke$1.success("内容重命名成功")}const vd=ref$1(!1);function Ad(Od){ud.value=Od,vd.value=!0}function Nd(){qa.delPost(ud.value),vd.value=!1,Ke$1.success("内容删除成功")}return(Od,kd)=>{const Ld=_sfc_main$1o,Gd=_sfc_main$D,jd=_sfc_main$16,Fd=_sfc_main$Q,Ud=_sfc_main$17,qd=_sfc_main$1e,zd=_sfc_main$1f,Wd=_sfc_main$1g,Jd=_sfc_main$1h,_f=_sfc_main$E,Xd=_sfc_main$F,pf=_sfc_main$G,mf=_sfc_main$H,Sf=_sfc_main$1j,Tf=_sfc_main$1k,Af=_sfc_main$1l,Ef=_sfc_main$1m,Nf=_sfc_main$1n,If=_sfc_main$1p,Gf=_sfc_main$1q,Qf=_sfc_main$1r;return openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden bg-gray/20 transition-width duration-300 dark:bg-gray/40",{"w-0":!unref(qa).isOpenPostSlider,"w-50":unref(qa).isOpenPostSlider}])},[createBaseVNode("nav",{class:normalizeClass(["space-y-1 h-full overflow-auto p-2 transition-transform",{"translate-x-100":unref(qa).isOpenPostSlider,"-translate-x-full":!unref(qa).isOpenPostSlider}])},[createVNode(Jd,{open:unref(nd),"onUpdate:open":kd[2]||(kd[2]=Xf=>isRef(nd)?nd.value=Xf:null)},{default:withCtx(()=>[createVNode(Gd,{"as-child":""},{default:withCtx(()=>[createVNode(Ld,{variant:"outline",class:"w-full",size:"xs"},{default:withCtx(()=>[createVNode(unref(Plus)),kd[9]||(kd[9]=createTextVNode(" 新增内容 "))]),_:1})]),_:1}),createVNode(Wd,null,{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>[createVNode(jd,null,{default:withCtx(()=>kd[10]||(kd[10]=[createTextVNode("新增内容")])),_:1}),createVNode(Fd,null,{default:withCtx(()=>kd[11]||(kd[11]=[createTextVNode(" 请输入内容名称 ")])),_:1})]),_:1}),createVNode(qd,{modelValue:unref(od),"onUpdate:modelValue":kd[0]||(kd[0]=Xf=>isRef(od)?od.value=Xf:null)},null,8,["modelValue"]),createVNode(zd,null,{default:withCtx(()=>[createVNode(Ld,{onClick:kd[1]||(kd[1]=Xf=>ld())},{default:withCtx(()=>kd[12]||(kd[12]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).posts,(Xf,ph)=>(openBlock(),createElementBlock("a",{key:Xf.title,href:"#",class:normalizeClass([{"bg-primary text-primary-foreground shadow-lg border-2 border-primary":unref(qa).currentPostIndex===ph,"dark:bg-primary-dark dark:text-primary-foreground-dark dark:border-primary-dark":unref(qa).currentPostIndex===ph},"hover:bg-primary/90 hover:text-primary-foreground dark:bg-muted dark:hover:bg-muted dark:hover:border-primary-dark h-8 w-full inline-flex items-center justify-start gap-2 whitespace-nowrap rounded px-2 text-sm transition-colors dark:text-white dark:hover:text-white"]),onClick:qf=>unref(qa).currentPostIndex=ph},[createBaseVNode("span",_hoisted_2$4,toDisplayString(Xf.title),1),createVNode(mf,null,{default:withCtx(()=>[createVNode(_f,{"as-child":""},{default:withCtx(()=>[createVNode(Ld,{size:"xs",variant:"ghost",class:"ml-auto px-1.5"},{default:withCtx(()=>[createVNode(unref(Ellipsis),{class:"size-4"})]),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Xd,{onClick:withModifiers(qf=>fd(ph),["stop"])},{default:withCtx(()=>[createVNode(unref(PenLine),{class:"mr-2 size-4"}),kd[13]||(kd[13]=createTextVNode(" 重命名 "))]),_:2},1032,["onClick"]),unref(qa).posts.length>1?(openBlock(),createBlock(Xd,{key:0,onClick:withModifiers(qf=>Ad(ph),["stop"])},{default:withCtx(()=>[createVNode(unref(Trash),{class:"mr-2 size-4"}),kd[14]||(kd[14]=createTextVNode(" 删除 "))]),_:2},1032,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)],10,_hoisted_1$6))),128)),createVNode(Jd,{open:unref(dd),"onUpdate:open":kd[6]||(kd[6]=Xf=>isRef(dd)?dd.value=Xf:null)},{default:withCtx(()=>[createVNode(Wd,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>[createVNode(jd,null,{default:withCtx(()=>kd[15]||(kd[15]=[createTextVNode("编辑内容名称")])),_:1}),createVNode(Fd,null,{default:withCtx(()=>kd[16]||(kd[16]=[createTextVNode(" 请输入新的内容名称 ")])),_:1})]),_:1}),createVNode(qd,{modelValue:unref(pd),"onUpdate:modelValue":kd[3]||(kd[3]=Xf=>isRef(pd)?pd.value=Xf:null)},null,8,["modelValue"]),createVNode(zd,null,{default:withCtx(()=>[createVNode(Ld,{variant:"outline",onClick:kd[4]||(kd[4]=Xf=>dd.value=!1)},{default:withCtx(()=>kd[17]||(kd[17]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Ld,{onClick:kd[5]||(kd[5]=Xf=>md())},{default:withCtx(()=>kd[18]||(kd[18]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Qf,{open:unref(vd),"onUpdate:open":kd[8]||(kd[8]=Xf=>isRef(vd)?vd.value=Xf:null)},{default:withCtx(()=>[createVNode(Gf,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>[createVNode(Sf,null,{default:withCtx(()=>kd[19]||(kd[19]=[createTextVNode("提示")])),_:1}),createVNode(Tf,null,{default:withCtx(()=>kd[20]||(kd[20]=[createTextVNode(" 此操作将删除该内容,是否继续? ")])),_:1})]),_:1}),createVNode(If,null,{default:withCtx(()=>[createVNode(Ef,null,{default:withCtx(()=>kd[21]||(kd[21]=[createTextVNode("取消")])),_:1}),createVNode(Nf,{onClick:kd[7]||(kd[7]=Xf=>Nd())},{default:withCtx(()=>kd[22]||(kd[22]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],2)],2)}}}),_hoisted_1$5={class:"mt-4"},_hoisted_2$3={key:0,class:"py-4 text-center"},_hoisted_3$3={key:1,class:"max-h-[400px] flex flex-col overflow-y-auto"},_hoisted_4$3={class:"mb-2 flex items-center gap-2"},_hoisted_5$2=["src"],_hoisted_6$2=["href"],_sfc_main$B=defineComponent({__name:"PostTaskDialog",props:{post:{},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed({get:()=>nd.open,set:fd=>od("update:open",fd)}),ud=ref$1(null),dd=ref$1(!1);async function pd(){var fd;if(nd.post)try{(fd=window.$syncer)==null||fd.addTask({post:{title:nd.post.title,content:nd.post.content,markdown:nd.post.markdown,thumb:nd.post.thumb,desc:nd.post.desc},accounts:nd.post.accounts.filter(md=>md.checked)},md=>{ud.value=md},()=>{dd.value=!1})}catch(md){console.error("发布失败:",md)}}return watch(()=>nd.open,fd=>{fd&&pd()}),(fd,md)=>(openBlock(),createBlock(unref(_sfc_main$1h),{open:unref(ld),"onUpdate:open":md[0]||(md[0]=vd=>isRef(ld)?ld.value=vd:null)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1g),null,{default:withCtx(()=>{var vd;return[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>md[1]||(md[1]=[createTextVNode("提交发布任务")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$5,[unref(ud)?(openBlock(),createElementBlock("div",_hoisted_3$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList((vd=unref(ud))==null?void 0:vd.accounts,Ad=>(openBlock(),createElementBlock("div",{key:Ad.uid+Ad.displayName,class:"border-b py-4 last:border-b-0"},[createBaseVNode("div",_hoisted_4$3,[Ad.icon?(openBlock(),createElementBlock("img",{key:0,src:Ad.icon,class:"object-cover h-5 w-5",alt:""},null,8,_hoisted_5$2)):createCommentVNode("",!0),createBaseVNode("span",null,toDisplayString(Ad.title)+" - "+toDisplayString(Ad.displayName||Ad.home),1)]),createBaseVNode("div",{class:normalizeClass(["w-full flex-1 gap-2 overflow-auto pl-7 text-sm",{"text-yellow-600":Ad.status==="uploading","text-red-600":Ad.status==="failed","text-green-600":Ad.status==="done"}])},[Ad.status==="uploading"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Ad.msg||"发布中"),1)],64)):createCommentVNode("",!0),Ad.status==="failed"?(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(" 同步失败, 错误内容:"+toDisplayString(Ad.error),1)],64)):createCommentVNode("",!0),Ad.status==="done"&&Ad.editResp?(openBlock(),createElementBlock(Fragment,{key:2},[md[2]||(md[2]=createTextVNode(" 同步成功 ")),Ad.type!=="wordpress"&&Ad.editResp?(openBlock(),createElementBlock("a",{key:0,href:Ad.editResp.draftLink,class:"ml-2 text-blue-500 hover:underline",referrerPolicy:"no-referrer",target:"_blank"},"查看草稿",8,_hoisted_6$2)):createCommentVNode("",!0)],64)):createCommentVNode("",!0)],2)]))),128))])):(openBlock(),createElementBlock("div",_hoisted_2$3," 等待发布.. "))])]}),_:1})]),_:1},8,["open"]))}}),__unplugin_components_13=_export_sfc(_sfc_main$B,[["__scopeId","data-v-3407b3ac"]]),_sfc_main$A=defineComponent({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel$1(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,dd)=>withDirectives((openBlock(),createElementBlock("textarea",{"onUpdate:modelValue":dd[0]||(dd[0]=pd=>isRef(ld)?ld.value=pd:null),class:normalizeClass(unref(cn$5)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$z=defineComponent({__name:"AlertDescription",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("text-sm [&_p]:leading-relaxed",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$y=defineComponent({__name:"AlertTitle",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("h5",{class:normalizeClass(unref(cn$5)("mb-1 font-medium leading-none tracking-tight",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),alertVariants=cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),_sfc_main$x=defineComponent({__name:"Alert",props:{class:{},variant:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)(unref(alertVariants)({variant:nd.variant}),qa.class)),role:"alert"},[renderSlot(nd.$slots,"default")],2))}}),_hoisted_1$4={class:"w-full flex items-center gap-4"},_hoisted_2$2={class:"w-full flex items-center gap-4"},_hoisted_3$2={class:"w-full flex items-start gap-4"},_hoisted_4$2={class:"w-full flex items-start gap-4"},_hoisted_5$1={class:"flex flex-1 flex-col gap-2"},_hoisted_6$1={class:"flex flex-row items-center gap-4"},_hoisted_7={class:"flex items-center gap-2 text-sm"},_hoisted_8=["src"],_sfc_main$w=defineComponent({__name:"PostInfo",setup(Ra){const qa=useStore(),{output:nd,editor:od}=storeToRefs(qa),ld=ref$1(!1),ud=ref$1(!1),dd=ref$1([]),pd=ref$1(!1),fd=ref$1({title:"",desc:"",thumb:"",content:"",markdown:"",accounts:[]}),md=computed(()=>ud.value&&fd.value.accounts.some(Ld=>Ld.checked));async function vd(){var jd,Fd;ud.value&&dd.value.length===0&&await Ad();let Ld={thumb:"",title:"",desc:"",content:"",markdown:"",accounts:[]};const Gd=dd.value.filter(Ud=>!["weixin","ipfs"].includes(Ud.type));try{Ld={thumb:((jd=document.querySelector("#output img"))==null?void 0:jd.src)??"",title:[1,2,3,4,5,6].map(Ud=>document.querySelector(`#output h${Ud}`)).filter(Ud=>Ud)[0].textContent??"",desc:document.querySelector("#output p").textContent??"",content:nd.value,markdown:((Fd=od.value)==null?void 0:Fd.getValue())??"",accounts:Gd}}catch(Ud){console.log("error",Ud)}finally{fd.value={...Ld}}}async function Ad(){return new Promise(Ld=>{var Gd;(Gd=window.$syncer)==null||Gd.getAccounts(jd=>{dd.value=jd.map(Fd=>({...Fd,checked:!0})),Ld()})})}function Nd(){fd.value.accounts=fd.value.accounts.filter(Ld=>Ld.checked),pd.value=!0,ld.value=!1}function Od(Ld){Ld||(ld.value=!1)}function kd(){if(window.$syncer!==void 0){ud.value=!0;return}let Ld=0;const Gd=setInterval(async()=>{if(window.$syncer!==void 0){ud.value=!0,await Ad(),clearInterval(Gd);return}Ld++,Ld>10&&clearInterval(Gd)},500)}return onBeforeMount(()=>{kd()}),(Ld,Gd)=>{const jd=_sfc_main$1o,Fd=_sfc_main$D,Ud=_sfc_main$16,qd=_sfc_main$17,zd=_sfc_main$y,Wd=_sfc_main$z,Jd=_sfc_main$x,_f=_sfc_main$18,Xd=_sfc_main$1e,pf=_sfc_main$A,mf=_sfc_main$1f,Sf=_sfc_main$1g,Tf=_sfc_main$1h,Af=__unplugin_components_13;return openBlock(),createElementBlock(Fragment,null,[createVNode(Tf,{open:unref(ld),"onUpdate:open":[Gd[4]||(Gd[4]=Ef=>isRef(ld)?ld.value=Ef:null),Od]},{default:withCtx(()=>[createVNode(Fd,null,{default:withCtx(()=>[createVNode(jd,{variant:"outline",onClick:vd},{default:withCtx(()=>Gd[6]||(Gd[6]=[createTextVNode(" 发布 ")])),_:1})]),_:1}),createVNode(Sf,null,{default:withCtx(()=>[createVNode(qd,null,{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>Gd[7]||(Gd[7]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(Jd,null,{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(zd,null,{default:withCtx(()=>Gd[8]||(Gd[8]=[createTextVNode("提示")])),_:1}),createVNode(Wd,null,{default:withCtx(()=>Gd[9]||(Gd[9]=[createTextVNode(" 此功能由第三方浏览器插件支持,本平台不保证安全性及同步准确度。 ")])),_:1})]),_:1}),unref(ud)?createCommentVNode("",!0):(openBlock(),createBlock(Jd,{key:0},{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(zd,null,{default:withCtx(()=>Gd[10]||(Gd[10]=[createTextVNode("未检测到插件")])),_:1}),createVNode(Wd,null,{default:withCtx(()=>[Gd[12]||(Gd[12]=createTextVNode(" 请安装 ")),createVNode(unref(O$4),{as:"a",class:"text-blue-500",href:"https://www.wechatsync.com/?utm_source=syncicon#install",target:"_blank"},{default:withCtx(()=>Gd[11]||(Gd[11]=[createTextVNode(" 文章同步助手 ")])),_:1}),Gd[13]||(Gd[13]=createTextVNode(" 插件 "))]),_:1})]),_:1})),createBaseVNode("div",_hoisted_1$4,[createVNode(_f,{for:"thumb",class:"w-10 text-end"},{default:withCtx(()=>Gd[14]||(Gd[14]=[createTextVNode(" 封面 ")])),_:1}),createVNode(Xd,{id:"thumb",modelValue:unref(fd).thumb,"onUpdate:modelValue":Gd[0]||(Gd[0]=Ef=>unref(fd).thumb=Ef),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_2$2,[createVNode(_f,{for:"title",class:"w-10 text-end"},{default:withCtx(()=>Gd[15]||(Gd[15]=[createTextVNode(" 标题 ")])),_:1}),createVNode(Xd,{id:"title",modelValue:unref(fd).title,"onUpdate:modelValue":Gd[1]||(Gd[1]=Ef=>unref(fd).title=Ef),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_3$2,[createVNode(_f,{for:"desc",class:"w-10 text-end"},{default:withCtx(()=>Gd[16]||(Gd[16]=[createTextVNode(" 描述 ")])),_:1}),createVNode(pf,{id:"desc",modelValue:unref(fd).desc,"onUpdate:modelValue":Gd[2]||(Gd[2]=Ef=>unref(fd).desc=Ef),placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_4$2,[createVNode(_f,{class:"w-10 text-end"},{default:withCtx(()=>Gd[17]||(Gd[17]=[createTextVNode(" 账号 ")])),_:1}),createBaseVNode("div",_hoisted_5$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fd).accounts,Ef=>(openBlock(),createElementBlock("div",{key:Ef.uid+Ef.displayName,class:"flex items-center gap-2"},[createBaseVNode("label",_hoisted_6$1,[createVNode(unref(Vv),{checked:Ef.checked,"onUpdate:checked":Nf=>Ef.checked=Nf,class:"bg-background hover:bg-muted h-[25px] w-[25px] flex appearance-none items-center justify-center border border-gray-200 rounded-[4px] outline-none"},{default:withCtx(()=>[createVNode(unref(Fv),null,{default:withCtx(()=>[Ef.checked?(openBlock(),createBlock(unref(Check),{key:0,class:"h-4 w-4"})):createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["checked","onUpdate:checked"]),createBaseVNode("span",_hoisted_7,[createBaseVNode("img",{src:Ef.icon,alt:"",class:"inline-block h-[20px] w-[20px]"},null,8,_hoisted_8),createTextVNode(" "+toDisplayString(Ef.title)+" - "+toDisplayString(Ef.displayName??Ef.home),1)])])]))),128))])]),createVNode(mf,null,{default:withCtx(()=>[createVNode(jd,{variant:"outline",onClick:Gd[3]||(Gd[3]=Ef=>ld.value=!1)},{default:withCtx(()=>Gd[18]||(Gd[18]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(jd,{disabled:!unref(md),onClick:Nd},{default:withCtx(()=>Gd[19]||(Gd[19]=[createTextVNode(" 确 定 ")])),_:1},8,["disabled"])]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Af,{open:unref(pd),"onUpdate:open":Gd[5]||(Gd[5]=Ef=>isRef(pd)?pd.value=Ef:null),post:unref(fd)},null,8,["open","post"])],64)}}}),_sfc_main$v=defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(fh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$3={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$u=defineComponent({__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(vh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$3,[createVNode(unref(ch$1),null,{default:withCtx(()=>[createVNode(unref(Circle),{class:"h-2 w-2 fill-current"})]),_:1})]),renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$t=defineComponent({__name:"Separator",props:{orientation:{},decorative:{type:Boolean},asChild:{type:Boolean},as:{},class:{},label:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(qp$1),mergeProps(nd.value,{class:unref(cn$5)("shrink-0 bg-border relative",qa.orientation==="vertical"?"w-px h-full":"h-px w-full",qa.class)}),{default:withCtx(()=>[qa.label?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(cn$5)("text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex justify-center items-center",qa.orientation==="vertical"?"w-[1px] px-1 py-2":"h-[1px] py-1 px-2"))},toDisplayString(qa.label),3)):createCommentVNode("",!0)]),_:1},16,["class"]))}}),_sfc_main$s=defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Mg),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$r=defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Vg),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$q=defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(zg),null,{default:withCtx(()=>[createVNode(unref(Ng),mergeProps({...unref(ud),...dd.$attrs},{class:unref(cn$5)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$p=defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Fg),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$o=defineComponent({__name:"Menubar",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Nh),mergeProps(unref(ud),{class:unref(cn$5)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$n=defineComponent({__name:"AboutDialog",props:{visible:{type:Boolean,default:!1}},emits:["close"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;function ld(pd){pd||od("close")}const ud=[{label:"GitHub 仓库",url:"https://github.com/doocs/md"},{label:"Gitee 仓库",url:"https://gitee.com/doocs/md"},{label:"GitCode 仓库",url:"https://gitcode.com/doocs/md"}];function dd(pd){window.open(pd,"_blank")}return(pd,fd)=>{const md=_sfc_main$16,vd=_sfc_main$17,Ad=_sfc_main$1o,Nd=_sfc_main$1f,Od=_sfc_main$1g,kd=_sfc_main$1h;return openBlock(),createBlock(kd,{open:nd.visible,"onUpdate:open":ld},{default:withCtx(()=>[createVNode(Od,null,{default:withCtx(()=>[createVNode(vd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>fd[0]||(fd[0]=[createTextVNode("关于")])),_:1})]),_:1}),fd[1]||(fd[1]=createBaseVNode("div",{class:"text-center"},[createBaseVNode("h3",null,"一款高度简洁的微信 Markdown 编辑器"),createBaseVNode("p",null,"扫码关注公众号 Doocs,原创技术内容第一时间推送!"),createBaseVNode("img",{class:"mx-auto my-5",src:"https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png",alt:"Doocs Markdown 编辑器",style:{width:"40%"}})],-1)),createVNode(Nd,{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(ud,Ld=>createVNode(Ad,{key:Ld.url,onClick:Gd=>dd(Ld.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ld.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$m=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Lh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$l=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:8},align:{default:"start"},alignOffset:{default:-4},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(Hh),mergeProps(unref(od),{class:unref(cn$5)("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_hoisted_1$2={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$k=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(qh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$2,[createVNode(unref(Yh),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$j=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zh),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$i=defineComponent({__name:"HelpDropdown",setup(Ra){const qa=ref$1(!1);return(nd,od)=>{const ld=_sfc_main$j,ud=_sfc_main$k,dd=_sfc_main$l,pd=_sfc_main$m,fd=_sfc_main$n;return openBlock(),createElementBlock(Fragment,null,[createVNode(pd,null,{default:withCtx(()=>[createVNode(ld,null,{default:withCtx(()=>od[2]||(od[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(dd,{align:"start"},{default:withCtx(()=>[createVNode(ud,{onClick:od[0]||(od[0]=md=>qa.value=!0)},{default:withCtx(()=>od[3]||(od[3]=[createBaseVNode("span",null,"关于",-1)])),_:1})]),_:1})]),_:1}),createVNode(fd,{visible:unref(qa),onClose:od[1]||(od[1]=md=>qa.value=!1)},null,8,["visible"])],64)}}}),_sfc_main$h=defineComponent({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Eh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$g=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Dh),null,{default:withCtx(()=>[createVNode(unref($h),mergeProps(unref(od),{class:unref(cn$5)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$f=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ph),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$e=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gh),mergeProps({class:unref(cn$5)("-mx-1 my-1 h-px bg-muted",qa.class)},unref(od)),null,16,["class"]))}}),_sfc_main$d=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Qh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$c=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(ey),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$b=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest opacity-60",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$a=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(ty),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$9=defineComponent({__name:"StyleOptionMenu",props:{title:{},options:{},current:{},change:{type:Function}},setup(Ra){const qa=Ra;function nd(od,ld){switch(od){case"字体":return{fontFamily:ld};case"字号":return{fontSize:ld};case"主题色":return{color:ld};default:return{}}}return(od,ld)=>{const ud=_sfc_main$a,dd=_sfc_main$b,pd=_sfc_main$k,fd=_sfc_main$c,md=_sfc_main$d;return openBlock(),createBlock(md,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>[ld[0]||(ld[0]=createBaseVNode("span",{class:"mr-2 h-4 w-4"},null,-1)),createBaseVNode("span",null,toDisplayString(qa.title),1)]),_:1}),createVNode(fd,{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(od.options,({label:vd,value:Ad,desc:Nd})=>(openBlock(),createBlock(pd,{key:Ad,label:vd,"model-value":Ad,class:"w-50",checked:od.current===Ad,onClick:Od=>od.change(Ad)},{default:withCtx(()=>[createTextVNode(toDisplayString(vd)+" ",1),createVNode(dd,{style:normalizeStyle(nd(od.title,Ad))},{default:withCtx(()=>[createTextVNode(toDisplayString(Nd),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","checked","onClick"]))),128))]),_:1})]),_:1})}}}),_sfc_main$8=defineComponent({__name:"StyleDropdown",setup(Ra){const qa=useStore(),{toggleShowCssEditor:nd}=useDisplayStore(),{theme:od,fontFamily:ld,fontSize:ud,primaryColor:dd,codeBlockTheme:pd,legend:fd,isMacCodeBlock:md,cssEditor:vd}=storeToRefs(qa),{resetStyleConfirm:Ad,themeChanged:Nd,fontChanged:Od,sizeChanged:kd,colorChanged:Ld,codeBlockThemeChanged:Gd,legendChanged:jd,macCodeBlockChanged:Fd}=qa,Ud=ref$1(null);function qd(){var Xd;(Xd=Ud.value)==null||Xd.show()}function zd(){nd(),setTimeout(()=>{vd.value.refresh()},50)}const Wd=useTemplateRef("pickColorsContainer"),Jd=ref$1("rgb"),_f=ref$1(["rgb","hex","hsl","hsv"]);return(Xd,pf)=>{const mf=_sfc_main$j,Sf=_sfc_main$9,Tf=_sfc_main$e,Af=_sfc_main$f,Ef=_sfc_main$g,Nf=_sfc_main$h,If=_sfc_main$k,Gf=_sfc_main$l,Qf=_sfc_main$m;return openBlock(),createBlock(Qf,null,{default:withCtx(()=>[createVNode(mf,null,{default:withCtx(()=>pf[1]||(pf[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(Gf,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(Sf,{title:"主题",options:unref(themeOptions),current:unref(od),change:unref(Nd)},null,8,["options","current","change"]),createVNode(Tf),createVNode(Sf,{title:"字体",options:unref(fontFamilyOptions),current:unref(ld),change:unref(Od)},null,8,["options","current","change"]),createVNode(Sf,{title:"字号",options:unref(fontSizeOptions),current:unref(ud),change:unref(kd)},null,8,["options","current","change"]),createVNode(Sf,{title:"主题色",options:unref(colorOptions),current:unref(dd),change:unref(Ld)},null,8,["options","current","change"]),createVNode(Sf,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(pd),change:unref(Gd)},null,8,["options","current","change"]),createVNode(Sf,{title:"图注格式",options:unref(legendOptions),current:unref(fd),change:unref(jd)},null,8,["options","current","change"]),createVNode(Tf),createVNode(If,{onClick:withModifiers(qd,["self","prevent"])},{default:withCtx(()=>[createVNode(Nf,{"open-delay":100},{default:withCtx(()=>[createVNode(Af,{class:"w-full flex"},{default:withCtx(()=>pf[2]||(pf[2]=[createTextVNode(" 自定义主题色 ")])),_:1}),createVNode(Ef,{side:"right",class:"w-min"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"pickColorsContainer",ref:Wd},[createVNode(unref(ze),{value:unref(dd),"onUpdate:value":pf[0]||(pf[0]=Xf=>isRef(dd)?dd.value=Xf:null),"show-alpha":"",format:unref(Jd),"format-options":unref(_f),theme:unref(qa).isDark?"dark":"light","popup-container":unref(Wd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])],512)]),_:1})]),_:1})]),_:1}),createVNode(If,{onClick:zd},{default:withCtx(()=>pf[3]||(pf[3]=[createTextVNode(" 自定义 CSS ")])),_:1}),createVNode(Tf),createVNode(If,{checked:unref(md),onClick:unref(Fd)},{default:withCtx(()=>pf[4]||(pf[4]=[createTextVNode(" Mac 代码块 ")])),_:1},8,["checked","onClick"]),createVNode(Tf),createVNode(If,{divided:"",onClick:unref(Ad)},{default:withCtx(()=>pf[5]||(pf[5]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])]),_:1})]),_:1})}}}),_sfc_main$7=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(jh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",dd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$6=defineComponent({__name:"EditDropdown",setup(Ra){const{toggleShowInsertFormDialog:qa,toggleShowUploadImgDialog:nd}=useDisplayStore();return(od,ld)=>{const ud=_sfc_main$j,dd=_sfc_main$7,pd=_sfc_main$l,fd=_sfc_main$m;return openBlock(),createBlock(fd,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>ld[2]||(ld[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(pd,{align:"start"},{default:withCtx(()=>[createVNode(dd,{onClick:ld[0]||(ld[0]=md=>unref(nd)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),ld[3]||(ld[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(dd,{onClick:ld[1]||(ld[1]=md=>unref(qa)())},{default:withCtx(()=>[createVNode(unref(Table),{class:"mr-2 h-4 w-4"}),ld[4]||(ld[4]=createTextVNode(" 插入表格 "))]),_:1})]),_:1})]),_:1})}}}),_sfc_main$5=defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$4=defineComponent({__name:"FileDropdown",setup(Ra){const qa=useStore(),{isDark:nd,isEditOnLeft:od}=storeToRefs(qa),{exportEditorContent2HTML:ld,exportEditorContent2MD:ud,importMarkdownContent:dd}=qa;return(pd,fd)=>{const md=_sfc_main$j,vd=_sfc_main$7,Ad=_sfc_main$e,Nd=_sfc_main$k,Od=_sfc_main$l,kd=_sfc_main$m;return openBlock(),createBlock(kd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>fd[5]||(fd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Od,{align:"start"},{default:withCtx(()=>[createVNode(vd,{onClick:fd[0]||(fd[0]=Ld=>unref(dd)())},{default:withCtx(()=>[createVNode(unref(Upload),{class:"mr-2 size-4"}),fd[6]||(fd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(vd,{onClick:fd[1]||(fd[1]=Ld=>unref(ud)())},{default:withCtx(()=>[createVNode(unref(Download),{class:"mr-2 size-4"}),fd[7]||(fd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(vd,{onClick:fd[2]||(fd[2]=Ld=>unref(ld)())},{default:withCtx(()=>[createVNode(unref(FileCode),{class:"mr-2 size-4"}),fd[8]||(fd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(Ad),createVNode(Nd,{checked:unref(nd),"onUpdate:checked":fd[3]||(fd[3]=Ld=>isRef(nd)?nd.value=Ld:null)},{default:withCtx(()=>fd[9]||(fd[9]=[createTextVNode(" 深色模式 ")])),_:1},8,["checked"]),createVNode(Ad),createVNode(Nd,{checked:unref(od),"onUpdate:checked":fd[4]||(fd[4]=Ld=>isRef(od)?od.value=Ld:null)},{default:withCtx(()=>fd[10]||(fd[10]=[createTextVNode(" 左侧编辑 ")])),_:1},8,["checked"])]),_:1})]),_:1})}}}),_sfc_main$3=defineComponent({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},dir:{},icons:{},containerAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ve),mergeProps({class:"toaster group"},qa,{"toast-options":{classes:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}}}),null,16))}}),_hoisted_1$1={class:"header-container h-15 flex items-center justify-between px-5"},_hoisted_2$1={class:"space-x-2 flex"},_hoisted_3$1={class:"space-x-2 flex"},_hoisted_4$1={class:"space-x-1 bg-background text-background-foreground mx-2 flex items-center border rounded-md"},_sfc_main$2=defineComponent({__name:"index",emits:["addFormat","formatContent","startCopy","endCopy"],setup(Ra,{emit:qa}){const nd=qa,od=[{label:"加粗",kbd:[ctrlSign,"B"],emitArgs:["addFormat",`${ctrlKey}-B`]},{label:"斜体",kbd:[ctrlSign,"I"],emitArgs:["addFormat",`${ctrlKey}-I`]},{label:"删除线",kbd:[ctrlSign,"D"],emitArgs:["addFormat",`${ctrlKey}-D`]},{label:"超链接",kbd:[ctrlSign,"K"],emitArgs:["addFormat",`${ctrlKey}-K`]},{label:"行内代码",kbd:[ctrlSign,"E"],emitArgs:["addFormat",`${ctrlKey}-E`]},{label:"格式化",kbd:[altSign,shiftSign,"F"],emitArgs:["formatContent"]}],ld=useStore(),{isDark:ud,isCiteStatus:dd,isCountStatus:pd,output:fd,primaryColor:md,isOpenPostSlider:vd}=storeToRefs(ld),{toggleDark:Ad,editorRefresh:Nd,citeStatusChanged:Od,countStatusChanged:kd}=ld,Ld=useStorage(addPrefix("copyMode"),"txt"),Gd=ref$1(""),{copy:jd}=useClipboard({source:Gd});function Fd(){nd("startCopy"),setTimeout(()=>{const Ud=ud.value;Ud&&Ad(),nextTick$1(async()=>{processClipboardContent(md.value);const qd=document.getElementById("output");qd.focus(),window.getSelection().removeAllRanges();const zd=qd.innerHTML;if(Ld.value==="txt"){const Wd=document.createRange();Wd.setStartBefore(qd.firstChild),Wd.setEndAfter(qd.lastChild),window.getSelection().addRange(Wd),document.execCommand("copy"),window.getSelection().removeAllRanges()}qd.innerHTML=fd.value,Ud&&nextTick$1(()=>Ad()),Ld.value==="html"&&await jd(zd),Ke$1.success(Ld.value==="html"?"已复制 HTML 源码,请进行下一步操作。":"已复制渲染后的内容到剪贴板,可直接到公众号后台粘贴。"),Nd(),nd("endCopy")})},350)}return(Ud,qd)=>{const zd=_sfc_main$4,Wd=_sfc_main$j,Jd=_sfc_main$5,_f=_sfc_main$k,Xd=_sfc_main$e,pf=_sfc_main$l,mf=_sfc_main$m,Sf=_sfc_main$6,Tf=_sfc_main$8,Af=_sfc_main$i,Ef=_sfc_main$o,Nf=_sfc_main$1o,If=_sfc_main$p,Gf=_sfc_main$q,Qf=_sfc_main$r,Xf=_sfc_main$s,ph=_sfc_main$t,qf=_sfc_main$E,Lf=_sfc_main$u,Wf=_sfc_main$v,Jf=_sfc_main$G,Kf=_sfc_main$H,Cf=_sfc_main$w;return openBlock(),createElementBlock("header",_hoisted_1$1,[createBaseVNode("div",_hoisted_2$1,[createVNode(Ef,{class:"menubar"},{default:withCtx(()=>[createVNode(zd),createVNode(mf,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>qd[7]||(qd[7]=[createTextVNode(" 格式 ")])),_:1}),createVNode(pf,{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(od,({label:xf,kbd:Yf,emitArgs:dh})=>createVNode(_f,{key:xf,onClick:Rh=>dh[0]==="addFormat"?Ud.$emit(dh[0],dh[1]):Ud.$emit(dh[0])},{default:withCtx(()=>[createTextVNode(toDisplayString(xf)+" ",1),createVNode(Jd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Yf,Rh=>(openBlock(),createElementBlock("kbd",{key:Rh,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(Rh),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(Xd),createVNode(_f,{checked:unref(dd),onClick:qd[0]||(qd[0]=xf=>unref(Od)())},{default:withCtx(()=>qd[8]||(qd[8]=[createTextVNode(" 微信外链转底部引用 ")])),_:1},8,["checked"]),createVNode(Xd),createVNode(_f,{checked:unref(pd),onClick:qd[1]||(qd[1]=xf=>unref(kd)())},{default:withCtx(()=>qd[9]||(qd[9]=[createTextVNode(" 统计字数和阅读时间 ")])),_:1},8,["checked"])]),_:1})]),_:1}),createVNode(Sf),createVNode(Tf),createVNode(Af)]),_:1})]),createBaseVNode("div",_hoisted_3$1,[createVNode(Xf,{"delay-duration":200},{default:withCtx(()=>[createVNode(Qf,null,{default:withCtx(()=>[createVNode(If,{"as-child":""},{default:withCtx(()=>[createVNode(Nf,{variant:"outline",onClick:qd[2]||(qd[2]=xf=>vd.value=!unref(vd))},{default:withCtx(()=>[withDirectives(createVNode(unref(PanelLeftOpen),{class:"size-4"},null,512),[[vShow,!unref(vd)]]),withDirectives(createVNode(unref(PanelLeftClose),{class:"size-4"},null,512),[[vShow,unref(vd)]])]),_:1})]),_:1}),createVNode(Gf,{side:"left"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vd)?"关闭":"内容管理"),1)]),_:1})]),_:1})]),_:1}),createVNode(Nf,{variant:"outline",onClick:qd[3]||(qd[3]=xf=>unref(Ad)())},{default:withCtx(()=>[withDirectives(createVNode(unref(Moon),{class:"size-4"},null,512),[[vShow,unref(ud)]]),withDirectives(createVNode(unref(Sun),{class:"size-4"},null,512),[[vShow,!unref(ud)]])]),_:1}),createBaseVNode("div",_hoisted_4$1,[createVNode(Nf,{variant:"ghost",class:"shadow-none",onClick:Fd},{default:withCtx(()=>qd[10]||(qd[10]=[createTextVNode(" 复制 ")])),_:1}),createVNode(ph,{orientation:"vertical",class:"h-5"}),createVNode(Kf,{modelValue:unref(Ld),"onUpdate:modelValue":qd[5]||(qd[5]=xf=>isRef(Ld)?Ld.value=xf:null)},{default:withCtx(()=>[createVNode(qf,{"as-child":""},{default:withCtx(()=>[createVNode(Nf,{variant:"ghost",class:"px-2 shadow-none"},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"text-secondary-foreground h-4 w-4"})]),_:1})]),_:1}),createVNode(Jf,{align:"end","align-offset":-5,class:"w-[200px]"},{default:withCtx(()=>[createVNode(Wf,{modelValue:unref(Ld),"onUpdate:modelValue":qd[4]||(qd[4]=xf=>isRef(Ld)?Ld.value=xf:null)},{default:withCtx(()=>[createVNode(Lf,{value:"txt"},{default:withCtx(()=>qd[11]||(qd[11]=[createTextVNode(" 公众号格式 ")])),_:1}),createVNode(Lf,{value:"html"},{default:withCtx(()=>qd[12]||(qd[12]=[createTextVNode(" HTML 格式 ")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])]),createVNode(Cf),createVNode(Nf,{variant:"outline",onClick:qd[6]||(qd[6]=xf=>unref(ld).isOpenRightSlider=!unref(ld).isOpenRightSlider)},{default:withCtx(()=>[createVNode(unref(Settings),{class:"size-4"})]),_:1}),createVNode(unref(_sfc_main$3),{"rich-colors":"",position:"top-center"})])])}}}),__unplugin_components_0=_export_sfc(_sfc_main$2,[["__scopeId","data-v-7e8ee93b"]]);function bind(Ra,qa){return function(){return Ra.apply(qa,arguments)}}var define_process_default$7={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const{toString:toString$1}=Object.prototype,{getPrototypeOf}=Object,kindOf=(Ra=>qa=>{const nd=toString$1.call(qa);return Ra[nd]||(Ra[nd]=nd.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=Ra=>(Ra=Ra.toLowerCase(),qa=>kindOf(qa)===Ra),typeOfTest=Ra=>qa=>typeof qa===Ra,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(Ra){return Ra!==null&&!isUndefined(Ra)&&Ra.constructor!==null&&!isUndefined(Ra.constructor)&&isFunction$1(Ra.constructor.isBuffer)&&Ra.constructor.isBuffer(Ra)}const isArrayBuffer$2=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer$2(Ra.buffer),qa}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$1=Ra=>Ra!==null&&typeof Ra=="object",isBoolean$1=Ra=>Ra===!0||Ra===!1,isPlainObject=Ra=>{if(kindOf(Ra)!=="object")return!1;const qa=getPrototypeOf(Ra);return(qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null)&&!(Symbol.toStringTag in Ra)&&!(Symbol.iterator in Ra)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=Ra=>isObject$1(Ra)&&isFunction$1(Ra.pipe),isFormData=Ra=>{let qa;return Ra&&(typeof FormData=="function"&&Ra instanceof FormData||isFunction$1(Ra.append)&&((qa=kindOf(Ra))==="formdata"||qa==="object"&&isFunction$1(Ra.toString)&&Ra.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream$3,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=Ra=>Ra.trim?Ra.trim():Ra.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(Ra,qa,{allOwnKeys:nd=!1}={}){if(Ra===null||typeof Ra>"u")return;let od,ld;if(typeof Ra!="object"&&(Ra=[Ra]),isArray(Ra))for(od=0,ld=Ra.length;od0;)if(ld=nd[od],qa===ld.toLowerCase())return ld;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$1,isContextDefined=Ra=>!isUndefined(Ra)&&Ra!==_global;function merge(){const{caseless:Ra}=isContextDefined(this)&&this||{},qa={},nd=(od,ld)=>{const ud=Ra&&findKey(qa,ld)||ld;isPlainObject(qa[ud])&&isPlainObject(od)?qa[ud]=merge(qa[ud],od):isPlainObject(od)?qa[ud]=merge({},od):isArray(od)?qa[ud]=od.slice():qa[ud]=od};for(let od=0,ld=arguments.length;od(forEach(qa,(ld,ud)=>{nd&&isFunction$1(ld)?Ra[ud]=bind(ld,nd):Ra[ud]=ld},{allOwnKeys:od}),Ra),stripBOM=Ra=>(Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)),Ra),inherits$1=(Ra,qa,nd,od)=>{Ra.prototype=Object.create(qa.prototype,od),Ra.prototype.constructor=Ra,Object.defineProperty(Ra,"super",{value:qa.prototype}),nd&&Object.assign(Ra.prototype,nd)},toFlatObject=(Ra,qa,nd,od)=>{let ld,ud,dd;const pd={};if(qa=qa||{},Ra==null)return qa;do{for(ld=Object.getOwnPropertyNames(Ra),ud=ld.length;ud-- >0;)dd=ld[ud],(!od||od(dd,Ra,qa))&&!pd[dd]&&(qa[dd]=Ra[dd],pd[dd]=!0);Ra=nd!==!1&&getPrototypeOf(Ra)}while(Ra&&(!nd||nd(Ra,qa))&&Ra!==Object.prototype);return qa},endsWith=(Ra,qa,nd)=>{Ra=String(Ra),(nd===void 0||nd>Ra.length)&&(nd=Ra.length),nd-=qa.length;const od=Ra.indexOf(qa,nd);return od!==-1&&od===nd},toArray$1=Ra=>{if(!Ra)return null;if(isArray(Ra))return Ra;let qa=Ra.length;if(!isNumber$1(qa))return null;const nd=new Array(qa);for(;qa-- >0;)nd[qa]=Ra[qa];return nd},isTypedArray=(Ra=>qa=>Ra&&qa instanceof Ra)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(Ra,qa)=>{const od=(Ra&&Ra[Symbol.iterator]).call(Ra);let ld;for(;(ld=od.next())&&!ld.done;){const ud=ld.value;qa.call(Ra,ud[0],ud[1])}},matchAll=(Ra,qa)=>{let nd;const od=[];for(;(nd=Ra.exec(qa))!==null;)od.push(nd);return od},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=Ra=>Ra.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(nd,od,ld){return od.toUpperCase()+ld}),hasOwnProperty$1=(({hasOwnProperty:Ra})=>(qa,nd)=>Ra.call(qa,nd))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(Ra,qa)=>{const nd=Object.getOwnPropertyDescriptors(Ra),od={};forEach(nd,(ld,ud)=>{let dd;(dd=qa(ld,ud,Ra))!==!1&&(od[ud]=dd||ld)}),Object.defineProperties(Ra,od)},freezeMethods=Ra=>{reduceDescriptors(Ra,(qa,nd)=>{if(isFunction$1(Ra)&&["arguments","caller","callee"].indexOf(nd)!==-1)return!1;const od=Ra[nd];if(isFunction$1(od)){if(qa.enumerable=!1,"writable"in qa){qa.writable=!1;return}qa.set||(qa.set=()=>{throw Error("Can not rewrite read-only method '"+nd+"'")})}})},toObjectSet=(Ra,qa)=>{const nd={},od=ld=>{ld.forEach(ud=>{nd[ud]=!0})};return isArray(Ra)?od(Ra):od(String(Ra).split(qa)),nd},noop=()=>{},toFiniteNumber=(Ra,qa)=>Ra!=null&&Number.isFinite(Ra=+Ra)?Ra:qa,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(Ra=16,qa=ALPHABET.ALPHA_DIGIT)=>{let nd="";const{length:od}=qa;for(;Ra--;)nd+=qa[Math.random()*od|0];return nd};function isSpecCompliantForm(Ra){return!!(Ra&&isFunction$1(Ra.append)&&Ra[Symbol.toStringTag]==="FormData"&&Ra[Symbol.iterator])}const toJSONObject=Ra=>{const qa=new Array(10),nd=(od,ld)=>{if(isObject$1(od)){if(qa.indexOf(od)>=0)return;if(!("toJSON"in od)){qa[ld]=od;const ud=isArray(od)?[]:{};return forEach(od,(dd,pd)=>{const fd=nd(dd,ld+1);!isUndefined(fd)&&(ud[pd]=fd)}),qa[ld]=void 0,ud}}return od};return nd(Ra,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=Ra=>Ra&&(isObject$1(Ra)||isFunction$1(Ra))&&isFunction$1(Ra.then)&&isFunction$1(Ra.catch),_setImmediate=((Ra,qa)=>Ra?setImmediate:qa?((nd,od)=>(_global.addEventListener("message",({source:ld,data:ud})=>{ld===_global&&ud===nd&&od.length&&od.shift()()},!1),ld=>{od.push(ld),_global.postMessage(nd,"*")}))(`axios@${Math.random()}`,[]):nd=>setTimeout(nd))(typeof setImmediate=="function",isFunction$1(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof define_process_default$7<"u"&&define_process_default$7.nextTick||_setImmediate,utils$2={isArray,isArrayBuffer:isArrayBuffer$2,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$1,isPlainObject,isReadableStream:isReadableStream$3,isRequest,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$1,hasOwnProp:hasOwnProperty$1,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(Ra,qa,nd,od,ld){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=Ra,this.name="AxiosError",qa&&(this.code=qa),nd&&(this.config=nd),od&&(this.request=od),ld&&(this.response=ld,this.status=ld.status?ld.status:null)}utils$2.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$2.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(Ra=>{descriptors[Ra]={value:Ra}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(Ra,qa,nd,od,ld,ud)=>{const dd=Object.create(prototype$1);return utils$2.toFlatObject(Ra,dd,function(fd){return fd!==Error.prototype},pd=>pd!=="isAxiosError"),AxiosError.call(dd,Ra.message,qa,nd,od,ld),dd.cause=Ra,dd.name=Ra.name,ud&&Object.assign(dd,ud),dd};const httpAdapter=null;function isVisitable(Ra){return utils$2.isPlainObject(Ra)||utils$2.isArray(Ra)}function removeBrackets(Ra){return utils$2.endsWith(Ra,"[]")?Ra.slice(0,-2):Ra}function renderKey(Ra,qa,nd){return Ra?Ra.concat(qa).map(function(ld,ud){return ld=removeBrackets(ld),!nd&&ud?"["+ld+"]":ld}).join(nd?".":""):qa}function isFlatArray(Ra){return utils$2.isArray(Ra)&&!Ra.some(isVisitable)}const predicates=utils$2.toFlatObject(utils$2,{},null,function(qa){return/^is[A-Z]/.test(qa)});function toFormData(Ra,qa,nd){if(!utils$2.isObject(Ra))throw new TypeError("target must be an object");qa=qa||new FormData,nd=utils$2.toFlatObject(nd,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Ld,Gd){return!utils$2.isUndefined(Gd[Ld])});const od=nd.metaTokens,ld=nd.visitor||vd,ud=nd.dots,dd=nd.indexes,fd=(nd.Blob||typeof Blob<"u"&&Blob)&&utils$2.isSpecCompliantForm(qa);if(!utils$2.isFunction(ld))throw new TypeError("visitor must be a function");function md(kd){if(kd===null)return"";if(utils$2.isDate(kd))return kd.toISOString();if(!fd&&utils$2.isBlob(kd))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$2.isArrayBuffer(kd)||utils$2.isTypedArray(kd)?fd&&typeof Blob=="function"?new Blob([kd]):Buffer$4.from(kd):kd}function vd(kd,Ld,Gd){let jd=kd;if(kd&&!Gd&&typeof kd=="object"){if(utils$2.endsWith(Ld,"{}"))Ld=od?Ld:Ld.slice(0,-2),kd=JSON.stringify(kd);else if(utils$2.isArray(kd)&&isFlatArray(kd)||(utils$2.isFileList(kd)||utils$2.endsWith(Ld,"[]"))&&(jd=utils$2.toArray(kd)))return Ld=removeBrackets(Ld),jd.forEach(function(Ud,qd){!(utils$2.isUndefined(Ud)||Ud===null)&&qa.append(dd===!0?renderKey([Ld],qd,ud):dd===null?Ld:Ld+"[]",md(Ud))}),!1}return isVisitable(kd)?!0:(qa.append(renderKey(Gd,Ld,ud),md(kd)),!1)}const Ad=[],Nd=Object.assign(predicates,{defaultVisitor:vd,convertValue:md,isVisitable});function Od(kd,Ld){if(!utils$2.isUndefined(kd)){if(Ad.indexOf(kd)!==-1)throw Error("Circular reference detected in "+Ld.join("."));Ad.push(kd),utils$2.forEach(kd,function(jd,Fd){(!(utils$2.isUndefined(jd)||jd===null)&&ld.call(qa,jd,utils$2.isString(Fd)?Fd.trim():Fd,Ld,Nd))===!0&&Od(jd,Ld?Ld.concat(Fd):[Fd])}),Ad.pop()}}if(!utils$2.isObject(Ra))throw new TypeError("data must be an object");return Od(Ra),qa}function encode$2(Ra){const qa={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Ra).replace(/[!'()~]|%20|%00/g,function(od){return qa[od]})}function AxiosURLSearchParams(Ra,qa){this._pairs=[],Ra&&toFormData(Ra,this,qa)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(qa,nd){this._pairs.push([qa,nd])};prototype.toString=function(qa){const nd=qa?function(od){return qa.call(this,od,encode$2)}:encode$2;return this._pairs.map(function(ld){return nd(ld[0])+"="+nd(ld[1])},"").join("&")};function encode$1(Ra){return encodeURIComponent(Ra).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(Ra,qa,nd){if(!qa)return Ra;const od=nd&&nd.encode||encode$1;utils$2.isFunction(nd)&&(nd={serialize:nd});const ld=nd&&nd.serialize;let ud;if(ld?ud=ld(qa,nd):ud=utils$2.isURLSearchParams(qa)?qa.toString():new AxiosURLSearchParams(qa,nd).toString(od),ud){const dd=Ra.indexOf("#");dd!==-1&&(Ra=Ra.slice(0,dd)),Ra+=(Ra.indexOf("?")===-1?"?":"&")+ud}return Ra}class InterceptorManager{constructor(){this.handlers=[]}use(qa,nd,od){return this.handlers.push({fulfilled:qa,rejected:nd,synchronous:od?od.synchronous:!1,runWhen:od?od.runWhen:null}),this.handlers.length-1}eject(qa){this.handlers[qa]&&(this.handlers[qa]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(qa){utils$2.forEach(this.handlers,function(od){od!==null&&qa(od)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils$1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils$1,...platform$1};function toURLEncodedForm(Ra,qa){return toFormData(Ra,new platform.classes.URLSearchParams,Object.assign({visitor:function(nd,od,ld,ud){return platform.isNode&&utils$2.isBuffer(nd)?(this.append(od,nd.toString("base64")),!1):ud.defaultVisitor.apply(this,arguments)}},qa))}function parsePropPath(Ra){return utils$2.matchAll(/\w+|\[(\w*)]/g,Ra).map(qa=>qa[0]==="[]"?"":qa[1]||qa[0])}function arrayToObject(Ra){const qa={},nd=Object.keys(Ra);let od;const ld=nd.length;let ud;for(od=0;od=nd.length;return dd=!dd&&utils$2.isArray(ld)?ld.length:dd,fd?(utils$2.hasOwnProp(ld,dd)?ld[dd]=[ld[dd],od]:ld[dd]=od,!pd):((!ld[dd]||!utils$2.isObject(ld[dd]))&&(ld[dd]=[]),qa(nd,od,ld[dd],ud)&&utils$2.isArray(ld[dd])&&(ld[dd]=arrayToObject(ld[dd])),!pd)}if(utils$2.isFormData(Ra)&&utils$2.isFunction(Ra.entries)){const nd={};return utils$2.forEachEntry(Ra,(od,ld)=>{qa(parsePropPath(od),ld,nd,0)}),nd}return null}function stringifySafely(Ra,qa,nd){if(utils$2.isString(Ra))try{return(qa||JSON.parse)(Ra),utils$2.trim(Ra)}catch(od){if(od.name!=="SyntaxError")throw od}return(0,JSON.stringify)(Ra)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(qa,nd){const od=nd.getContentType()||"",ld=od.indexOf("application/json")>-1,ud=utils$2.isObject(qa);if(ud&&utils$2.isHTMLForm(qa)&&(qa=new FormData(qa)),utils$2.isFormData(qa))return ld?JSON.stringify(formDataToJSON(qa)):qa;if(utils$2.isArrayBuffer(qa)||utils$2.isBuffer(qa)||utils$2.isStream(qa)||utils$2.isFile(qa)||utils$2.isBlob(qa)||utils$2.isReadableStream(qa))return qa;if(utils$2.isArrayBufferView(qa))return qa.buffer;if(utils$2.isURLSearchParams(qa))return nd.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),qa.toString();let pd;if(ud){if(od.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((pd=utils$2.isFileList(qa))||od.indexOf("multipart/form-data")>-1){const fd=this.env&&this.env.FormData;return toFormData(pd?{"files[]":qa}:qa,fd&&new fd,this.formSerializer)}}return ud||ld?(nd.setContentType("application/json",!1),stringifySafely(qa)):qa}],transformResponse:[function(qa){const nd=this.transitional||defaults$1.transitional,od=nd&&nd.forcedJSONParsing,ld=this.responseType==="json";if(utils$2.isResponse(qa)||utils$2.isReadableStream(qa))return qa;if(qa&&utils$2.isString(qa)&&(od&&!this.responseType||ld)){const dd=!(nd&&nd.silentJSONParsing)&&ld;try{return JSON.parse(qa)}catch(pd){if(dd)throw pd.name==="SyntaxError"?AxiosError.from(pd,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):pd}}return qa}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(qa){return qa>=200&&qa<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$2.forEach(["delete","get","head","post","put","patch"],Ra=>{defaults$1.headers[Ra]={}});const ignoreDuplicateOf=utils$2.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=Ra=>{const qa={};let nd,od,ld;return Ra&&Ra.split(` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function T$1(Ra){var qa=function(nd,od){if(P$1(nd)!="object"||!nd)return nd;var ld=nd[Symbol.toPrimitive];if(ld!==void 0){var ud=ld.call(nd,od||"default");if(P$1(ud)!="object")return ud;throw new TypeError("@@toPrimitive must return a primitive value.")}return(od==="string"?String:Number)(nd)}(Ra,"string");return P$1(qa)=="symbol"?qa:qa+""}function H$1(Ra,qa,nd){return(qa=T$1(qa))in Ra?Object.defineProperty(Ra,qa,{value:nd,enumerable:!0,configurable:!0,writable:!0}):Ra[qa]=nd,Ra}var G$1=defineComponent({name:"Saturation",props:{size:{type:Number,default:160},hue:{type:Number,default:0},saturation:{type:Number,default:0},value:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),background:"hsl(".concat(Ra.hue,", 100%, 50%)")}});return{saturationStyle:od,sliderStyle:computed(function(){return{top:"".concat((100-Ra.value)/100*Ra.size-5,"px"),left:"".concat(Ra.saturation*Ra.size/100-5,"px"),width:"".concat(10,"px"),height:"".concat(10,"px")}}),onSelect:function(ld){var ud=ld.target.getBoundingClientRect(),dd=ud.left,pd=ud.top,fd=function(vd){var Ad=vd.clientX,Nd=vd.clientY,Od=Ad-dd,kd=Nd-pd;Od<0&&(Od=0),kd<0&&(kd=0),Od>Ra.size&&(Od=Ra.size),kd>Ra.size&&(kd=Ra.size);var Ld=Od/Ra.size*100,Gd=100-kd/Ra.size*100;nd("change",Ld,Gd)},md=function(){document.removeEventListener("mousemove",fd),document.removeEventListener("mouseup",md)};fd(ld),document.addEventListener("mousemove",fd),document.addEventListener("mouseup",md)}}}});function V$1(Ra,qa){qa===void 0&&(qa={});var nd=qa.insertAt;if(Ra&&typeof document<"u"){var od=document.head||document.getElementsByTagName("head")[0],ld=document.createElement("style");ld.type="text/css",nd==="top"&&od.firstChild?od.insertBefore(ld,od.firstChild):od.appendChild(ld),ld.styleSheet?ld.styleSheet.cssText=Ra:ld.appendChild(document.createTextNode(Ra))}}V$1(".saturation[data-v-24517fec]{position:relative}.saturation-black[data-v-24517fec],.saturation-white[data-v-24517fec]{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.saturation-white[data-v-24517fec]{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.saturation-black[data-v-24517fec]{background:linear-gradient(0deg,#000,transparent)}.slider[data-v-24517fec]{border:1px solid #fff;border-radius:50%;box-shadow:0 0 1px 1px rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;top:0;z-index:1}"),G$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"saturation",style:normalizeStyle(Ra.saturationStyle),onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[qa[1]||(qa[1]=createBaseVNode("div",{class:"saturation-white"},null,-1)),qa[2]||(qa[2]=createBaseVNode("div",{class:"saturation-black"},null,-1)),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],36)},G$1.__scopeId="data-v-24517fec",G$1.__file="src/picker/Saturation.vue";var Y$1=defineComponent({name:"Hue",props:{width:{type:Number,default:15},height:{type:Number,default:160},hue:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat((1-Ra.hue/360)*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1();return onMounted(function(){(function(){ld.value.width=Ra.width,ld.value.height=Ra.height;var ud=ld.value.getContext("2d"),dd=ud.createLinearGradient(0,0,0,Ra.height);dd.addColorStop(0,"#FF0000"),dd.addColorStop(.17,"#FF00FF"),dd.addColorStop(.34,"#0000FF"),dd.addColorStop(.51,"#00FFFF"),dd.addColorStop(.68,"#00FF00"),dd.addColorStop(.17*5,"#FFFF00"),dd.addColorStop(1,"#FF0000"),ud.fillStyle=dd,ud.fillRect(0,0,Ra.width,Ra.height)})()}),{canvas:ld,sliderStyle:od,onSelect:function(ud){var dd=ud.target.getBoundingClientRect().top,pd=function(md){var vd=md.clientY-dd;vd<0&&(vd=0),vd>Ra.height&&(vd=Ra.height);var Ad=-100*vd/Ra.height+100;nd("change",360*Ad/100)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(ud),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}}),$={ref:"canvas"};V$1(".hue[data-v-78b9f4f0]{position:relative}.slider[data-v-78b9f4f0]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),Y$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"hue",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",$,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},Y$1.__scopeId="data-v-78b9f4f0",Y$1.__file="src/picker/Hue.vue";var J$1=defineComponent({name:"Alpha",props:{width:{type:Number,default:15},height:{type:Number,default:160},color:{type:String,default:"#000000"},alpha:{type:Number,default:1}},setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat(Ra.alpha*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1(),ud=function(){var dd=ld.value.getContext("2d");ld.value.width=Ra.width,ld.value.height=Ra.height;var pd=function(md){var vd=document.createElement("canvas"),Ad=vd.getContext("2d"),Nd=2*md;return vd.width=Nd,vd.height=Nd,Ad.fillStyle="#ffffff",Ad.fillRect(0,0,Nd,Nd),Ad.fillStyle="#ccd5db",Ad.fillRect(0,0,md,md),Ad.fillRect(md,md,md,md),vd}(5);dd.fillStyle=dd.createPattern(pd,"repeat"),dd.fillRect(0,0,Ra.width,Ra.height);var fd=dd.createLinearGradient(0,0,0,Ra.height);fd.addColorStop(.01,"rgba(255,255,255,0)"),fd.addColorStop(.99,Ra.color),dd.fillStyle=fd,dd.fillRect(0,0,Ra.width,Ra.height)};return watch(function(){return Ra.color},function(){ud()}),onMounted(function(){ud()}),{canvas:ld,sliderStyle:od,onSelect:function(dd){var pd=dd.target.getBoundingClientRect().top,fd=function(vd){var Ad=vd.clientY-pd;Ad<0&&(Ad=0),Ad>Ra.height&&(Ad=Ra.height);var Nd=parseFloat((Ad/Ra.height).toFixed(2));nd("change",Nd)},md=function(){document.removeEventListener("mousemove",fd),document.removeEventListener("mouseup",md)};fd(dd),document.addEventListener("mousemove",fd),document.addEventListener("mouseup",md)}}}}),X$1={ref:"canvas"};V$1(".alpha[data-v-24dc9656]{position:relative}.slider[data-v-24dc9656]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),J$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"alpha",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",X$1,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},J$1.__scopeId="data-v-24dc9656",J$1.__file="src/picker/Alpha.vue";var q$1={rgb:"RGBA",hex:"HEX",hsl:"HSLA",hsv:"HSVA"},U$1={rgb:"RGB",hex:"HEX",hsl:"HSL",hsv:"HSV"},W$1={RGB:"rgb",RGBA:"rgb",HEX:"hex",HSL:"hsl",HSLA:"hsl",HSV:"hsv",HSVA:"hsv"};function K$1(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Q$1(Ra){for(var qa=1;qa1}),fd=computed(function(){var vd=Ra.options,Ad=Ra.showAlpha,Nd=Ra.value;return Array.isArray(vd)?Ad?vd.map(function(Od){return q$1[Od]}).filter(function(Od){return!Od.includes(Nd)}):vd.map(function(Od){return U$1[Od]}).filter(function(Od){return!Od.includes(Nd)}):[]}),md=function(vd){var Ad,Nd,Od=vd.target;!((Ad=unref(od))!==null&&Ad!==void 0&&Ad.isEqualNode(Od))&&(!((Nd=unref(od))===null||Nd===void 0)&&Nd.contains(Od))||(ud.value=!1)};return onMounted(function(){document.addEventListener("mouseup",md,!1)}),onUnmounted(function(){document.removeEventListener("mouseup",md,!1)}),{targetRef:od,selectorRef:ld,selectorStyle:dd,isShowSelector:ud,isNeedSelect:pd,formatOptions:fd,onShow:function(){pd.value&&(ud.value=!0)},onFormatChange:function(vd){nd("change",W$1[vd])}}}}),re={class:"format"},ne={key:0,class:"arrow"},oe=["onClick"];V$1(".format[data-v-5f6e8f5e]{position:relative}.label[data-v-5f6e8f5e]{align-items:center;background:#e7e8e9;color:#999;display:flex;float:left;font-weight:500;height:30px;justify-content:center;position:relative;width:60px}[pick-colors-theme=dark] .label[data-v-5f6e8f5e]{background:#252930;color:#999}.arrow[data-v-5f6e8f5e]{height:6px;margin-bottom:4px;margin-left:5px;transform:rotate(135deg);width:6px}.arrow[data-v-5f6e8f5e],[pick-colors-theme=dark] .arrow[data-v-5f6e8f5e]{border-right:1px solid #999;border-top:1px solid #999}.selector[data-v-5f6e8f5e]{align-items:center;background:#f7f8f9;border-radius:5px;box-shadow:0 0 16px 0 rgba(0,0,0,.16);cursor:pointer;display:flex;flex-direction:column;font-weight:400;justify-content:center;padding:4px}[pick-colors-theme=dark] .selector[data-v-5f6e8f5e]{background:#252930;color:#999}.selector-item[data-v-5f6e8f5e]{align-items:center;display:flex;height:30px;justify-content:center;width:60px}.selector-item[data-v-5f6e8f5e]:hover{background:#e1f2fe}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]{color:#fff}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]:hover{background:#0087fa}.active-selector-item[data-v-5f6e8f5e]{background:#e1f2fe}[pick-colors-theme=dark] .active-selector-item[data-v-5f6e8f5e]{background:#0087fa}.v-enter-active[data-v-5f6e8f5e],.v-leave-active[data-v-5f6e8f5e]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-5f6e8f5e],.v-leave-to[data-v-5f6e8f5e]{opacity:0;transform:scaleY(0)}"),te.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",re,[createBaseVNode("div",{class:"label",ref:"targetRef",onClick:qa[0]||(qa[0]=function(){return Ra.onShow&&Ra.onShow.apply(Ra,arguments)})},[createBaseVNode("span",null,toDisplayString(Ra.value),1),Ra.isNeedSelect?(openBlock(),createElementBlock("div",ne)):createCommentVNode("v-if",!0)],512),createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowSelector?(openBlock(),createElementBlock("div",{key:0,class:"selector",ref:"selectorRef",style:normalizeStyle(Ra.selectorStyle)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.formatOptions,function(dd){return openBlock(),createElementBlock("div",{class:"selector-item",key:dd,onClick:function(pd){return Ra.onFormatChange(dd)}},toDisplayString(dd),9,oe)}),128))],4)):createCommentVNode("v-if",!0)]}),_:1})])},te.__scopeId="data-v-5f6e8f5e",te.__file="src/picker/input-value/FormatValue.vue";var ae$1=defineComponent({name:"Input",components:{FormatValue:te},props:{format:{type:String,default:"RGBA"},value:{type:String,default:""},width:{type:Number},showAlpha:{type:Boolean},formatOptions:{type:[Boolean,Array]}},emits:["change","focus","blur","enter","formatChange"],setup:function(Ra,qa){var nd=qa.emit;return{onInput:function(od){var ld;nd("change",(ld=od.target)===null||ld===void 0?void 0:ld.value)},valueStyle:computed(function(){return{minWidth:"".concat(Ra.width,"px"),maxWidth:"".concat(Ra.width,"px"),width:"".concat(Ra.width,"px")}}),onFocus:function(){nd("focus")},onBlur:function(){nd("blur")},onEnter:function(){nd("enter")},onFormatChange:function(od){nd("formatChange",od)}}}}),ie={class:"input"},le=[".value"];function ce$1(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function ue(Ra){for(var qa=1;qa0?parseFloat(od.toFixed(2)):od,qa){case"hsl":var md=se(ud,dd/100,pd/100);return"hsla(".concat(ud.toFixed(0),", ").concat(Math.round(100*md[1]),"%, ").concat(Math.round(100*md[2]),"%, ").concat(fd,")");case"hsv":return"hsva(".concat(ud.toFixed(0),", ").concat(Math.round(dd),"%, ").concat(Math.round(pd),"%, ").concat(fd,")");case"rgb":var vd=ve(ud,dd,pd),Ad=vd.r,Nd=vd.g,Od=vd.b;return"rgba(".concat(Ad,", ").concat(Nd,", ").concat(Od,", ").concat(fd,")");default:return"".concat(pe(ve(ud,dd,pd))).concat(de(255*fd))}else switch(qa){case"hsl":var kd=se(ud,dd/100,pd/100);return"hsl(".concat(ud.toFixed(0),", ").concat(Math.round(100*kd[1]),"%, ").concat(Math.round(100*kd[2]),"%)");case"hsv":return"hsv(".concat(ud.toFixed(0),", ").concat(Math.round(dd),"%, ").concat(Math.round(pd),"%)");case"rgb":var Ld=ve(ud,dd,pd),Gd=Ld.r,jd=Ld.g,Fd=Ld.b;return"rgb(".concat(Gd,", ").concat(jd,", ").concat(Fd,")");default:return pe(ve(ud,dd,pd))}},ge=function(Ra){var qa=Ra.r,nd=Ra.g,od=Ra.b;qa=he(qa,255),nd=he(nd,255),od=he(od,255);var ld,ud=Math.max(qa,nd,od),dd=Math.min(qa,nd,od),pd=ud,fd=ud-dd,md=ud===0?0:fd/ud;if(ud===dd)ld=0;else{switch(ud){case qa:ld=(nd-od)/fd+(nd2&&arguments[2]!==void 0)||arguments[2])switch(qa){case"rgb":var nd=we(Ra),od=nd.r,ld=nd.g,ud=nd.b,dd=nd.a;return ue(ue({},ge({r:od,g:ld,b:ud})),{},{a:+dd});case"hsv":var pd=ke(Ra);return{h:pd.h,s:pd.s,v:pd.v,a:pd.a};case"hsl":var fd=Se(Ra),md=fd.h,vd=fd.s,Ad=fd.l,Nd=fd.a;return ue(ue({},ye({h:md,s:vd,l:Ad})),{},{a:+Nd});default:var Od=be$1(Ra),kd=Od.r,Ld=Od.g,Gd=Od.b,jd=Od.a;return ue(ue({},ge({r:kd,g:Ld,b:Gd})),{},{a:jd/255})}else switch(qa){case"rgb":return ue(ue({},ge(we(Ra))),{},{a:1});case"hsv":var Fd=ke(Ra);return{h:Fd.h,s:Fd.s,v:Fd.v,a:1};case"hsl":return ue(ue({},ye(Se(Ra))),{},{a:1});default:return ue(ue({},ge(be$1(Ra))),{},{a:1})}},Oe=function(Ra){return Ra.match(/^#/)?"hex":Ra.match(/^rgb/)?"rgb":Ra.match(/^hsl/)?"hsl":Ra.match(/^hsv/)?"hsv":"hex"},Ae=function(Ra){var qa=Ra.h,nd=Ra.s,od=Ra.v,ld=Ra.a;return isNaN(qa)&&isNaN(nd)&&isNaN(od)?null:(isNaN(qa)&&(qa=0),isNaN(nd)&&(nd=0),isNaN(od)&&(od=0),isNaN(ld)&&(ld=1),{h:qa,s:nd,v:od,a:ld})},Ne=defineComponent({name:"ColorItem",props:{size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},value:{type:String,default:""},border:{type:Boolean,default:!0},borderRadius:{type:Number,default:5},selected:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1}},emits:["select"],setup:function(Ra){var qa=ref$1(),nd=inject("theme",{theme:"light"}).theme,od=computed(function(){return parseFloat((Ra.width||Ra.size)+"")}),ld=computed(function(){return parseFloat((Ra.height||Ra.size)+"")}),ud=computed(function(){return{width:"".concat(unref(od),"px"),height:"".concat(unref(ld),"px"),border:Ra.border?"1px solid ".concat(unref(nd)==="dark"?"#434345":"#d9d9d9"):"",borderRadius:"".concat(Ra.borderRadius,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(nd)==="dark"?"#2681ff":"#1890ff"):""}}),dd=function(){var pd=qa.value.getContext("2d");qa.value.width=unref(od),qa.value.height=unref(ld);var fd=function(md){var vd=document.createElement("canvas"),Ad=vd.getContext("2d"),Nd=2*md;return vd.width=Nd,vd.height=Nd,Ad.fillStyle="#ffffff",Ad.fillRect(0,0,Nd,Nd),Ad.fillStyle="#ccd5db",Ad.fillRect(0,0,md,md),Ad.fillRect(md,md,md,md),vd}(5);pd.fillStyle=pd.createPattern(fd,"repeat"),pd.fillRect(0,0,unref(od),unref(ld)),pd.fillStyle=Ra.value,pd.fillRect(0,0,unref(od),unref(ld))};return watch(function(){return Ra.value},function(){dd()}),onMounted(function(){dd()}),{canvas:qa,colorItemStyle:ud}}}),Ie=["draggable"];V$1(".color-item[data-v-02da71fd]{display:inline-block;vertical-align:top}"),Ne.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("canvas",{class:"color-item",style:normalizeStyle(Ra.colorItemStyle),ref:"canvas",draggable:Ra.draggable},null,12,Ie)},Ne.__scopeId="data-v-02da71fd",Ne.__file="src/color-item/ColorItem.vue";var Fe=defineComponent({name:"Colors",components:{ColorItem:Ne},props:{colors:{type:Array,default:function(){return[]}},selectedIndex:{type:Number,default:-1}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit;return{onSelectColor:function(od,ld){nd("change",od,ld)},useColors:computed(function(){return Ra.colors.map(function(od){return xe(od,"hex",!0)})})}}}),_e$1={class:"colors"};function Ee(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Pe(Ra){for(var qa=1;qa0?(openBlock(),createBlock(vd,{key:0,class:"colors",colors:Ra.colors,"selected-index":Ra.selectColorIndex,onChange:Ra.onSelectColor},null,8,["colors","selected-index","onChange"])):createCommentVNode("v-if",!0)])],4)},je.__scopeId="data-v-6ceadec6",je.__file="src/picker/Picker.vue";var Re=defineComponent({name:"AddColorItem",props:{size:{type:Number,default:20},selected:{type:Boolean,default:!1}},setup:function(Ra){var qa=inject("theme",{theme:"light"}).theme;return{addColorItemStyle:computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),lineHeight:"".concat(Ra.size,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(qa)==="dark"?"#2681ff":"#1890ff"):""}})}}});V$1(".add-color-item[data-v-ceb1719c]{background:#fff;border:1px solid #d9d9d9;border-radius:5px;vertical-align:top}.container[data-v-ceb1719c]{pointer-events:none;transform:scale(.9);transform-origin:center}[pick-colors-theme=dark] .add-color-item[data-v-ceb1719c]{background:#141414;border:1px solid #434343}path[data-v-ceb1719c]{fill:#000}[pick-colors-theme=dark] path[data-v-ceb1719c]{fill:#fff}"),Re.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("svg",{class:"add-color-item",style:normalizeStyle(Ra.addColorItemStyle),viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},qa[0]||(qa[0]=[createBaseVNode("g",{class:"container"},[createBaseVNode("path",{d:"M544 464V160h-80v304H160v80h304v304h80V544h304v-80z"})],-1)]),4)},Re.__scopeId="data-v-ceb1719c",Re.__file="src/add-color-item/AddColorItem.vue";var ze=defineComponent({name:"ColorPicker",components:{ColorItem:Ne,Picker:je,AddColorItem:Re},props:{value:{type:[String,Array]},theme:{type:String,default:"light"},size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},format:{type:String},showPicker:{type:Boolean,default:void 0},showAlpha:{type:Boolean,default:!1},addColor:{type:Boolean,default:!1},deleteColor:{type:Boolean,default:!0},max:{type:Number,default:13},popupContainer:{type:[String,Object,Boolean],default:"body"},zIndex:{type:Number,default:1e3},colors:{type:Array,default:function(){return["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","#ff4500","#ff7d4d","#00babd","#1f93ff","#fa64c3"]}},position:{type:String},placement:{type:String},formatOptions:{type:[Boolean,Array],default:!1}},emits:["change","update:value","update:showPicker","overflowMax","closePicker","formatChange"],setup:function(Ra,qa){var nd=qa.emit,od=ref$1([]),ld=computed(function(){return unref(od).map(function(Xd){return xe(Xd,"hex",Ra.showAlpha)})}),ud=ref$1("hex");watch(function(){return Ra.format},function(){ud.value=Ra.format},{immediate:!0}),watch(function(){return Ra.value},function(){var Xd=Ra.value||"",pf=Array.isArray(Xd)?Xd:[Xd];od.value=pf.map(function(mf){return xe(mf,unref(ud),Ra.showAlpha)})},{immediate:!0});var dd=ref$1(void 0),pd=computed(function(){return unref(od)[unref(dd)]}),fd=ref$1(!1);watch(function(){return Ra.showPicker},function(){fd.value=Ra.showPicker},{immediate:!0});var md,vd,Ad=ref$1(null),Nd=ref$1(null),Od=ee(Ad,Nd,{defaultStyle:{zIndex:Ra.zIndex},strategy:Ra.position,placement:Ra.placement}).style,kd=function(){unref(Ad)==null&&(Ad.value=unref(_f)[0]),unref(dd)==null&&(dd.value=0),Ra.showPicker===void 0?fd.value=!0:nd("update:showPicker",!0)},Ld=function(){dd.value=void 0,Ra.showPicker===void 0?fd.value=!1:nd("update:showPicker",!1),nd("closePicker",toRaw(Array.isArray(Ra.value)||Ra.addColor?unref(od):unref(od)[0]))},Gd=ref$1(),jd=function(){var Xd=L$1(M$1.mark(function pf(mf){var Sf,Tf,Af,Ef;return M$1.wrap(function(Nf){for(;;)switch(Nf.prev=Nf.next){case 0:if(Tf=mf.target,(Af=(Sf=Tf.dataset)===null||Sf===void 0?void 0:Sf.index)!=null&&Af!==""){Nf.next=4;break}return Nf.abrupt("return");case 4:if(Ef=+Af,unref(dd)!==Ef){Nf.next=7;break}return Nf.abrupt("return");case 7:unref(dd)!=null&&unref(dd)!==Ef?(Ld(),md&&clearTimeout(md),md=setTimeout(function(){kd(),clearTimeout(md)},100)):kd(),dd.value=Ef,Ad.value=Tf;case 10:case"end":return Nf.stop()}},pf)}));return function(pf){return Xd.apply(this,arguments)}}(),Fd=function(){var Xd=L$1(M$1.mark(function pf(mf){var Sf,Tf,Af,Ef,Nf;return M$1.wrap(function(If){for(;;)switch(If.prev=If.next){case 0:if(Ef=mf.target,!(!((Sf=unref(Gd))!==null&&Sf!==void 0&&Sf.isEqualNode(Ef))&&(!((Tf=unref(Gd))===null||Tf===void 0)&&Tf.contains(Ef)))){If.next=4;break}return If.abrupt("return");case 4:if(Nf=(Af=unref(Nd))===null||Af===void 0?void 0:Af.$el,!(Nf!=null&&Nf.contains(Ef))){If.next=8;break}return If.abrupt("return");case 8:vd&&clearTimeout(vd),vd=setTimeout(function(){unref(fd)&&Ld()},0);case 10:case"end":return If.stop()}},pf)}));return function(pf){return Xd.apply(this,arguments)}}();watch(fd,function(){unref(fd)&&(kd(),clearTimeout(vd))});var Ud,qd=ref$1(Ra.max>unref(od).length),zd=computed(function(){return typeof Ra.popupContainer=="string"||P$1(Ra.popupContainer)==="object"&&Ra.popupContainer!=null?Ra.popupContainer:"body"}),Wd=computed(function(){return typeof Ra.popupContainer=="boolean"&&Ra.popupContainer===!1}),Jd=computed(function(){return Ra.theme});watch(function(){return[Ra.theme,unref(Nd)]},function(){nextTick$1(function(){var Xd,pf;(Xd=unref(Gd))===null||Xd===void 0||Xd.setAttribute("pick-colors-theme",unref(Jd)),(pf=unref(Nd))===null||pf===void 0||(pf=pf.$el)===null||pf===void 0||pf.setAttribute("pick-colors-theme",unref(Jd))})},{immediate:!0}),provide("theme",{theme:Jd});var _f=ref$1([]);return onMounted(function(){document.addEventListener("mouseup",Fd,!1),Ra.showPicker&&kd()}),onUnmounted(function(){document.removeEventListener("mouseup",Fd,!1),md&&(clearTimeout(md),md=null),vd&&(clearTimeout(vd),vd=null)}),{valueList:od,colorItemSelected:function(Xd){return(Ra.addColor?unref(od).length>0:unref(od).length>1)&&unref(dd)===Xd},selectedColor:pd,selectedIndex:dd,isShowPicker:fd,addColorItemShow:qd,onPickerChange:function(Xd){var pf=unref(dd),mf=unref(od).slice(),Sf=unref(od).length;if(pf!=null){pf>=0?mf[pf]=Xd:(dd.value=Sf,mf.push(Xd));var Tf="";Tf=Array.isArray(Ra.value)||Ra.addColor?mf:Xd,od.value=Array.isArray(Tf)?Tf:[Tf],nd("update:value",Tf),nd("change",Tf,Xd,pf),Ra.addColor&&Sf>=Ra.max&&(qd.value=!1,nd("overflowMax"))}},colorPicker:Gd,onColorClick:jd,pickerRef:Nd,onColorItemDragStart:function(Xd){Xd.dataTransfer.effectAllowed="move";var pf=Xd.target;Ud=+pf.dataset.index},onColorItemDragOver:function(Xd){},onColorItemDrop:function(Xd){var pf=+Xd.target.dataset.index,mf=E$1(unref(od)),Sf=mf[Ud];mf.splice(Ud,1);var Tf=mf.slice(0,pf),Af=mf.splice(pf),Ef=Tf.concat([Sf]).concat(Af);nd("update:value",Ef),nd("change",Ef,Ef[Ud],Ud)},colorItemsRef:_f,pickerStyle:Od,values:ld,teleportDisabled:Wd,toPopupContainer:zd,formatValue:ud,onFormatChange:function(Xd){ud.value=Xd,nd("formatChange",Xd)}}}});V$1(".color-picker[data-v-3c43ade8]{display:inline-block}.color-item[data-v-3c43ade8]{margin:5px}.add-color-item[data-v-3c43ade8]{display:inline-block;margin:5px}.picker[data-v-3c43ade8]{overflow:hidden}.v-enter-active[data-v-3c43ade8],.v-leave-active[data-v-3c43ade8]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-3c43ade8],.v-leave-to[data-v-3c43ade8]{opacity:0;transform:scaleY(0)}"),ze.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("color-item"),pd=resolveComponent("add-color-item"),fd=resolveComponent("picker");return openBlock(),createElementBlock("div",{class:"color-picker",ref:"colorPicker",onDragstart:qa[0]||(qa[0]=withModifiers(function(){return Ra.onColorItemDragStart&&Ra.onColorItemDragStart.apply(Ra,arguments)},["stop"])),onDragover:qa[1]||(qa[1]=withModifiers(function(){return Ra.onColorItemDragOver&&Ra.onColorItemDragOver.apply(Ra,arguments)},["prevent","stop"])),onDrop:qa[2]||(qa[2]=withModifiers(function(){return Ra.onColorItemDrop&&Ra.onColorItemDrop.apply(Ra,arguments)},["prevent","stop"])),onClick:qa[3]||(qa[3]=withModifiers(function(){return Ra.onColorClick&&Ra.onColorClick.apply(Ra,arguments)},["stop"]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.values,function(md,vd){return openBlock(),createBlock(dd,{class:"color-item",key:vd,ref_for:!0,ref:function(Ad){return Ra.colorItemsRef[vd]=Ad},size:Ra.size,width:Ra.width,height:Ra.height,value:md,selected:Ra.colorItemSelected(vd),"data-index":vd,draggable:Ra.valueList.length>1,format:Ra.formatValue},null,8,["size","width","height","value","selected","data-index","draggable","format"])}),128)),Ra.addColor&&Ra.addColorItemShow?(openBlock(),createBlock(pd,{key:0,class:"add-color-item",ref:"addColorItem",selected:Ra.colorItemSelected(-1),"data-index":-1},null,8,["selected"])):createCommentVNode("v-if",!0),(openBlock(),createBlock(Teleport,{to:Ra.toPopupContainer,disabled:Ra.teleportDisabled},[createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowPicker?(openBlock(),createBlock(fd,{key:0,class:"picker",style:normalizeStyle(Ra.pickerStyle),ref:"pickerRef",value:Ra.selectedColor,format:Ra.formatValue,"show-alpha":Ra.showAlpha,colors:Ra.colors,formatOptions:Ra.formatOptions,onChange:Ra.onPickerChange,onFormatChange:Ra.onFormatChange},null,8,["style","value","format","show-alpha","colors","formatOptions","onChange","onFormatChange"])):createCommentVNode("v-if",!0)]}),_:1})],8,["to","disabled"]))],544)},ze.__scopeId="data-v-3c43ade8",ze.__file="src/ColorPicker.vue";const _hoisted_1$8={class:"space-y-2"},_hoisted_2$5={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_3$4={class:"space-y-2"},_hoisted_4$4={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_5$3={class:"space-y-2"},_hoisted_6$3={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_7$1={class:"space-y-2"},_hoisted_8$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_9={class:"space-y-2"},_hoisted_10={class:"space-y-2"},_hoisted_11={class:"space-y-2"},_hoisted_12={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_13={class:"space-y-2"},_hoisted_14={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_15={class:"space-y-2"},_hoisted_16={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_17={class:"space-y-2"},_hoisted_18={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_19={class:"space-y-2"},_hoisted_20={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_21={class:"space-y-2"},_hoisted_22={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_23={class:"space-y-2"},_hoisted_24={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_25={class:"space-y-2"},_sfc_main$R=defineComponent({__name:"RightSlider",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{isDark:od,primaryColor:ld}=storeToRefs(qa);function ud(){nd.toggleShowCssEditor(),setTimeout(()=>{qa.cssEditor.refresh()},50)}const dd=ref$1(!1),pd=ref$1("");watch(dd,()=>{dd.value&&(pd.value="")});const fd=useTemplateRef("pickColorsContainer"),md=ref$1("rgb"),vd=ref$1(["rgb","hex","hsl","hsv"]);return(Ad,Nd)=>{const Od=_sfc_main$1o,kd=_sfc_main$W,Ld=_sfc_main$X,Gd=_sfc_main$_,jd=_sfc_main$V,Fd=_sfc_main$$;return openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden bg-gray/20 transition-width duration-300 dark:bg-gray/40",{"w-0":!unref(qa).isOpenRightSlider,"w-100":unref(qa).isOpenRightSlider}])},[createBaseVNode("div",{class:normalizeClass(["space-y-4 h-full overflow-auto p-4 transition-transform",{"translate-x-0":unref(qa).isOpenRightSlider,"translate-x-full":!unref(qa).isOpenRightSlider}])},[createBaseVNode("div",_hoisted_1$8,[Nd[14]||(Nd[14]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_2$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).theme===qd}]),variant:"outline",onClick:zd=>unref(qa).themeChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_3$4,[Nd[15]||(Nd[15]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_4$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).fontFamily===qd}]),onClick:zd=>unref(qa).fontChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5$3,[Nd[16]||(Nd[16]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_6$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:Ud,desc:qd})=>(openBlock(),createBlock(Od,{key:Ud,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).fontSize===Ud}]),onClick:zd=>unref(qa).sizeChanged(Ud)},{default:withCtx(()=>[createTextVNode(toDisplayString(qd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7$1,[Nd[17]||(Nd[17]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_8$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).primaryColor===qd}]),variant:"outline",onClick:zd=>unref(qa).colorChanged(qd)},{default:withCtx(()=>[createBaseVNode("span",{class:"mr-2 inline-block h-4 w-4 rounded-full",style:normalizeStyle({background:qd})},null,4),createTextVNode(" "+toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Nd[18]||(Nd[18]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",{ref_key:"pickColorsContainer",ref:fd},[unref(fd)?(openBlock(),createBlock(unref(ze),{key:0,value:unref(ld),"onUpdate:value":Nd[0]||(Nd[0]=Ud=>isRef(ld)?ld.value=Ud:null),"show-alpha":"",format:unref(md),"format-options":unref(vd),theme:unref(qa).isDark?"dark":"light","popup-container":unref(fd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])):createCommentVNode("",!0)],512)]),createBaseVNode("div",_hoisted_10,[Nd[19]||(Nd[19]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(Fd,{modelValue:unref(qa).codeBlockTheme,"onUpdate:modelValue":[Nd[1]||(Nd[1]=Ud=>unref(qa).codeBlockTheme=Ud),unref(qa).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(Ld,null,{default:withCtx(()=>[createVNode(kd,{placeholder:"Select a fruit"})]),_:1}),createVNode(jd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Gd,{key:Ud,value:qd},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_11,[Nd[20]||(Nd[20]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_12,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:Ud,value:qd})=>(openBlock(),createBlock(Od,{key:qd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).legend===qd}]),variant:"outline",onClick:zd=>unref(qa).legendChanged(qd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_13,[Nd[23]||(Nd[23]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_14,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isMacCodeBlock}]),variant:"outline",onClick:Nd[2]||(Nd[2]=Ud=>!unref(qa).isMacCodeBlock&&unref(qa).macCodeBlockChanged())},{default:withCtx(()=>Nd[21]||(Nd[21]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isMacCodeBlock}]),variant:"outline",onClick:Nd[3]||(Nd[3]=Ud=>unref(qa).isMacCodeBlock&&unref(qa).macCodeBlockChanged())},{default:withCtx(()=>Nd[22]||(Nd[22]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_15,[Nd[26]||(Nd[26]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_16,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isCiteStatus}]),variant:"outline",onClick:Nd[4]||(Nd[4]=Ud=>!unref(qa).isCiteStatus&&unref(qa).citeStatusChanged())},{default:withCtx(()=>Nd[24]||(Nd[24]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isCiteStatus}]),variant:"outline",onClick:Nd[5]||(Nd[5]=Ud=>unref(qa).isCiteStatus&&unref(qa).citeStatusChanged())},{default:withCtx(()=>Nd[25]||(Nd[25]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Nd[29]||(Nd[29]=createBaseVNode("h2",null,"段落首行缩进",-1)),createBaseVNode("div",_hoisted_18,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isUseIndent}]),variant:"outline",onClick:Nd[6]||(Nd[6]=Ud=>!unref(qa).isUseIndent&&unref(qa).useIndentChanged())},{default:withCtx(()=>Nd[27]||(Nd[27]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isUseIndent}]),variant:"outline",onClick:Nd[7]||(Nd[7]=Ud=>unref(qa).isUseIndent&&unref(qa).useIndentChanged())},{default:withCtx(()=>Nd[28]||(Nd[28]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Nd[32]||(Nd[32]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_20,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).isShowCssEditor}]),variant:"outline",onClick:Nd[8]||(Nd[8]=Ud=>!unref(nd).isShowCssEditor&&ud())},{default:withCtx(()=>Nd[30]||(Nd[30]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(nd).isShowCssEditor}]),variant:"outline",onClick:Nd[9]||(Nd[9]=Ud=>unref(nd).isShowCssEditor&&ud())},{default:withCtx(()=>Nd[31]||(Nd[31]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Nd[35]||(Nd[35]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_22,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(qa).isEditOnLeft}]),variant:"outline",onClick:Nd[10]||(Nd[10]=Ud=>!unref(qa).isEditOnLeft&&unref(qa).toggleEditOnLeft())},{default:withCtx(()=>Nd[33]||(Nd[33]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(qa).isEditOnLeft}]),variant:"outline",onClick:Nd[11]||(Nd[11]=Ud=>unref(qa).isEditOnLeft&&unref(qa).toggleEditOnLeft())},{default:withCtx(()=>Nd[34]||(Nd[34]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Nd[36]||(Nd[36]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_24,[createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(od)}]),variant:"outline",onClick:Nd[12]||(Nd[12]=Ud=>unref(qa).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(Od,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(od)}]),variant:"outline",onClick:Nd[13]||(Nd[13]=Ud=>unref(qa).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Nd[38]||(Nd[38]=createBaseVNode("h2",null,"样式配置",-1)),createVNode(Od,{onClick:unref(qa).resetStyleConfirm},{default:withCtx(()=>Nd[37]||(Nd[37]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])])],2)],2)}}}),_sfc_main$Q=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Su$2),mergeProps(unref(od),{class:unref(cn$5)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$7={class:"cssEditor-wrapper h-full flex flex-col border-l-1"},_sfc_main$P=defineComponent({__name:"CssEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),od=ref$1(!1),ld=ref$1(""),ud=ref$1(["",qa.cssContentConfig.active]);function dd(jd){ld.value=jd,od.value=!0}function pd(){if(!ld.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(ld.value)){Ke$1.error("不能与现有方案重名");return}qa.renameTab(ld.value),od.value=!1,Ke$1.success("修改成功~")}const fd=ref$1(!1),md=ref$1("");function vd(){if(!md.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(md.value)){Ke$1.error("不能与现有方案重名");return}qa.addCssContentTab(md.value),fd.value=!1,qa.cssContentConfig.active=md.value,ud.value=[ud.value[1],md.value],Ke$1.success("新建成功~")}const Ad=ref$1(!1),Nd=ref$1("");function Od(jd){Nd.value=jd,Ad.value=!0}function kd(){const jd=qa.cssContentConfig.tabs;if(jd.length===1){Ke$1.warning("至少保留一个方案");return}let Fd=qa.cssContentConfig.active;Fd===Nd.value&&jd.forEach((Ud,qd)=>{if(Ud.name===Nd.value){const zd=jd[qd+1]||jd[qd-1];zd&&(Fd=zd.name)}}),qa.tabChanged(Fd),qa.cssContentConfig.tabs=jd.filter(Ud=>Ud.name!==Nd.value),Ke$1.success("删除成功~")}function Ld(){md.value=`方案${qa.cssContentConfig.tabs.length+1}`,fd.value=!0}function Gd(jd){if(jd==="add"){qa.cssContentConfig.active=ud.value[1],Ld();return}ud.value=[ud.value[1],jd],qa.tabChanged(jd)}return(jd,Fd)=>{const Ud=_sfc_main$T,qd=_sfc_main$U,zd=_sfc_main$14,Wd=_sfc_main$16,Jd=_sfc_main$Q,_f=_sfc_main$17,Xd=_sfc_main$1e,pf=_sfc_main$1o,mf=_sfc_main$1f,Sf=_sfc_main$1g,Tf=_sfc_main$1h,Af=_sfc_main$1j,Ef=_sfc_main$1k,Nf=_sfc_main$1l,If=_sfc_main$1m,Gf=_sfc_main$1n,Qf=_sfc_main$1p,Xf=_sfc_main$1q,ph=_sfc_main$1r;return openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createBaseVNode("div",_hoisted_1$7,[createVNode(zd,{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":[Fd[0]||(Fd[0]=qf=>unref(qa).cssContentConfig.active=qf),Gd]},{default:withCtx(()=>[createVNode(qd,{class:"w-full overflow-x-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,qf=>(openBlock(),createBlock(Ud,{key:qf.name,value:qf.name,class:"flex-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(qf.title)+" ",1),withDirectives(createVNode(unref(PenLine),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:Lf=>dd(qf.name)},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===qf.name]]),withDirectives(createVNode(unref(X$7),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:withModifiers(Lf=>Od(qf.name),["self"])},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===qf.name]])]),_:2},1032,["value"]))),128)),createVNode(Ud,{value:"add"},{default:withCtx(()=>[createVNode(unref(Plus),{class:"h-5 w-5"})]),_:1})]),_:1})]),_:1},8,["modelValue"]),Fd[21]||(Fd[21]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1)),createVNode(Tf,{open:unref(fd),"onUpdate:open":Fd[4]||(Fd[4]=qf=>isRef(fd)?fd.value=qf:null)},{default:withCtx(()=>[createVNode(Sf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(_f,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>Fd[9]||(Fd[9]=[createTextVNode("新建自定义 CSS")])),_:1}),createVNode(Jd,null,{default:withCtx(()=>Fd[10]||(Fd[10]=[createTextVNode(" 请输入方案名称 ")])),_:1})]),_:1}),createVNode(Xd,{modelValue:unref(md),"onUpdate:modelValue":Fd[1]||(Fd[1]=qf=>isRef(md)?md.value=qf:null)},null,8,["modelValue"]),createVNode(mf,null,{default:withCtx(()=>[createVNode(pf,{variant:"outline",onClick:Fd[2]||(Fd[2]=qf=>fd.value=!1)},{default:withCtx(()=>Fd[11]||(Fd[11]=[createTextVNode(" 取消 ")])),_:1}),createVNode(pf,{onClick:Fd[3]||(Fd[3]=qf=>vd())},{default:withCtx(()=>Fd[12]||(Fd[12]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Tf,{open:unref(od),"onUpdate:open":Fd[7]||(Fd[7]=qf=>isRef(od)?od.value=qf:null)},{default:withCtx(()=>[createVNode(Sf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(_f,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>Fd[13]||(Fd[13]=[createTextVNode("编辑方案名称")])),_:1}),createVNode(Jd,null,{default:withCtx(()=>Fd[14]||(Fd[14]=[createTextVNode(" 请输入新的方案名称 ")])),_:1})]),_:1}),createVNode(Xd,{modelValue:unref(ld),"onUpdate:modelValue":Fd[5]||(Fd[5]=qf=>isRef(ld)?ld.value=qf:null)},null,8,["modelValue"]),createVNode(mf,null,{default:withCtx(()=>[createVNode(pf,{variant:"outline",onClick:Fd[6]||(Fd[6]=qf=>od.value=!1)},{default:withCtx(()=>Fd[15]||(Fd[15]=[createTextVNode(" 取消 ")])),_:1}),createVNode(pf,{onClick:pd},{default:withCtx(()=>Fd[16]||(Fd[16]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(ph,{open:unref(Ad),"onUpdate:open":Fd[8]||(Fd[8]=qf=>isRef(Ad)?Ad.value=qf:null)},{default:withCtx(()=>[createVNode(Xf,null,{default:withCtx(()=>[createVNode(Nf,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>Fd[17]||(Fd[17]=[createTextVNode("提示")])),_:1}),createVNode(Ef,null,{default:withCtx(()=>Fd[18]||(Fd[18]=[createTextVNode(" 此操作将删除该自定义方案,是否继续? ")])),_:1})]),_:1}),createVNode(Qf,null,{default:withCtx(()=>[createVNode(If,null,{default:withCtx(()=>Fd[19]||(Fd[19]=[createTextVNode("取消")])),_:1}),createVNode(Gf,{onClick:kd},{default:withCtx(()=>Fd[20]||(Fd[20]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512),[[vShow,unref(nd).isShowCssEditor]])]),_:1})}}}),__unplugin_components_9=_export_sfc(_sfc_main$P,[["__scopeId","data-v-4be1e5f4"]]),_sfc_main$O=defineComponent({__name:"BackTop",props:{left:{},top:{},right:{},bottom:{},visibilityHeight:{},target:{},onClick:{type:Function}},setup(Ra){const qa=Ra,nd=ref$1(qa.visibilityHeight??400),od=ref$1(!1),ld=ref$1(null);function ud(pd){var fd,md;console.log("scrollToTop"),(fd=ld.value)==null||fd.scrollTo({top:0,left:0,behavior:"smooth"}),(md=qa.onClick)==null||md.call(qa,pd)}const dd=throttle$1(pd=>{pd instanceof HTMLElement?od.value=pd.scrollTop>nd.value:od.value=window.scrollY>nd.value},200,{edges:["leading","trailing"]});return onMounted(()=>{qa.target?ld.value=document.getElementById(qa.target):ld.value=window,ld.value.addEventListener("scroll",()=>{dd(ld.value)})}),onUnmounted(()=>{ld.value.removeEventListener("scroll",()=>{dd(ld.value)})}),(pd,fd)=>{const md=_sfc_main$1o;return unref(od)?(openBlock(),createBlock(md,{key:0,variant:"outline",size:"icon",class:"fixed z-50 rounded-full",style:normalizeStyle({left:`${pd.left}px`,top:`${pd.top}px`,right:`${pd.right}px`,bottom:`${pd.bottom}px`}),onClick:ud},{default:withCtx(()=>[createVNode(unref(ArrowUpFromLine))]),_:1},8,["style"])):createCommentVNode("",!0)}}}),_sfc_main$N=defineComponent({__name:"ContextMenu",props:{dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(em$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$M=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},sticky:{},hideWhenDetached:{type:Boolean},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(am$1),null,{default:withCtx(()=>[createVNode(unref(nm$1),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$L=defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$K=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(rm$1),mergeProps(nd.value,{class:unref(cn$5)("-mx-1 my-1 h-px bg-border",qa.class)}),null,16,["class"]))}}),_sfc_main$J=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(lm),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",dd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$I=defineComponent({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(tm$1),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$H=defineComponent({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(ah$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$G=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(oh),null,{default:withCtx(()=>[createVNode(unref(lh),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$F=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(rh),mergeProps(unref(od),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$E=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(nh),mergeProps({class:"outline-none"},unref(nd)),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$D=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ji$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_hoisted_1$6=["onClick"],_hoisted_2$4={class:"line-clamp-1"},_sfc_main$C=defineComponent({__name:"PostSlider",setup(Ra){const qa=useStore(),nd=ref$1(!1),od=ref$1("");watch(nd,()=>{nd.value&&(od.value="")});function ld(){if(od.value===""){Ke$1.error("内容标题不可为空");return}qa.addPost(od.value),nd.value=!1,Ke$1.success("内容新增成功")}const ud=ref$1(-1),dd=ref$1(!1),pd=ref$1("");function fd(Od){ud.value=Od,pd.value=qa.posts[Od].title,dd.value=!0}function md(){if(pd.value===""){Ke$1.error("内容标题不可为空");return}qa.renamePost(ud.value,pd.value),dd.value=!1,Ke$1.success("内容重命名成功")}const vd=ref$1(!1);function Ad(Od){ud.value=Od,vd.value=!0}function Nd(){qa.delPost(ud.value),vd.value=!1,Ke$1.success("内容删除成功")}return(Od,kd)=>{const Ld=_sfc_main$1o,Gd=_sfc_main$D,jd=_sfc_main$16,Fd=_sfc_main$Q,Ud=_sfc_main$17,qd=_sfc_main$1e,zd=_sfc_main$1f,Wd=_sfc_main$1g,Jd=_sfc_main$1h,_f=_sfc_main$E,Xd=_sfc_main$F,pf=_sfc_main$G,mf=_sfc_main$H,Sf=_sfc_main$1j,Tf=_sfc_main$1k,Af=_sfc_main$1l,Ef=_sfc_main$1m,Nf=_sfc_main$1n,If=_sfc_main$1p,Gf=_sfc_main$1q,Qf=_sfc_main$1r;return openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden bg-gray/20 transition-width duration-300 dark:bg-gray/40",{"w-0":!unref(qa).isOpenPostSlider,"w-50":unref(qa).isOpenPostSlider}])},[createBaseVNode("nav",{class:normalizeClass(["space-y-1 h-full overflow-auto p-2 transition-transform",{"translate-x-100":unref(qa).isOpenPostSlider,"-translate-x-full":!unref(qa).isOpenPostSlider}])},[createVNode(Jd,{open:unref(nd),"onUpdate:open":kd[2]||(kd[2]=Xf=>isRef(nd)?nd.value=Xf:null)},{default:withCtx(()=>[createVNode(Gd,{"as-child":""},{default:withCtx(()=>[createVNode(Ld,{variant:"outline",class:"w-full",size:"xs"},{default:withCtx(()=>[createVNode(unref(Plus)),kd[9]||(kd[9]=createTextVNode(" 新增内容 "))]),_:1})]),_:1}),createVNode(Wd,null,{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>[createVNode(jd,null,{default:withCtx(()=>kd[10]||(kd[10]=[createTextVNode("新增内容")])),_:1}),createVNode(Fd,null,{default:withCtx(()=>kd[11]||(kd[11]=[createTextVNode(" 请输入内容名称 ")])),_:1})]),_:1}),createVNode(qd,{modelValue:unref(od),"onUpdate:modelValue":kd[0]||(kd[0]=Xf=>isRef(od)?od.value=Xf:null)},null,8,["modelValue"]),createVNode(zd,null,{default:withCtx(()=>[createVNode(Ld,{onClick:kd[1]||(kd[1]=Xf=>ld())},{default:withCtx(()=>kd[12]||(kd[12]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).posts,(Xf,ph)=>(openBlock(),createElementBlock("a",{key:Xf.title,href:"#",class:normalizeClass([{"bg-primary text-primary-foreground shadow-lg border-2 border-primary":unref(qa).currentPostIndex===ph,"dark:bg-primary-dark dark:text-primary-foreground-dark dark:border-primary-dark":unref(qa).currentPostIndex===ph},"hover:bg-primary/90 hover:text-primary-foreground dark:bg-muted dark:hover:bg-muted dark:hover:border-primary-dark h-8 w-full inline-flex items-center justify-start gap-2 whitespace-nowrap rounded px-2 text-sm transition-colors dark:text-white dark:hover:text-white"]),onClick:qf=>unref(qa).currentPostIndex=ph},[createBaseVNode("span",_hoisted_2$4,toDisplayString(Xf.title),1),createVNode(mf,null,{default:withCtx(()=>[createVNode(_f,{"as-child":""},{default:withCtx(()=>[createVNode(Ld,{size:"xs",variant:"ghost",class:"ml-auto px-1.5"},{default:withCtx(()=>[createVNode(unref(Ellipsis),{class:"size-4"})]),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Xd,{onClick:withModifiers(qf=>fd(ph),["stop"])},{default:withCtx(()=>[createVNode(unref(PenLine),{class:"mr-2 size-4"}),kd[13]||(kd[13]=createTextVNode(" 重命名 "))]),_:2},1032,["onClick"]),unref(qa).posts.length>1?(openBlock(),createBlock(Xd,{key:0,onClick:withModifiers(qf=>Ad(ph),["stop"])},{default:withCtx(()=>[createVNode(unref(Trash),{class:"mr-2 size-4"}),kd[14]||(kd[14]=createTextVNode(" 删除 "))]),_:2},1032,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)],10,_hoisted_1$6))),128)),createVNode(Jd,{open:unref(dd),"onUpdate:open":kd[6]||(kd[6]=Xf=>isRef(dd)?dd.value=Xf:null)},{default:withCtx(()=>[createVNode(Wd,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>[createVNode(jd,null,{default:withCtx(()=>kd[15]||(kd[15]=[createTextVNode("编辑内容名称")])),_:1}),createVNode(Fd,null,{default:withCtx(()=>kd[16]||(kd[16]=[createTextVNode(" 请输入新的内容名称 ")])),_:1})]),_:1}),createVNode(qd,{modelValue:unref(pd),"onUpdate:modelValue":kd[3]||(kd[3]=Xf=>isRef(pd)?pd.value=Xf:null)},null,8,["modelValue"]),createVNode(zd,null,{default:withCtx(()=>[createVNode(Ld,{variant:"outline",onClick:kd[4]||(kd[4]=Xf=>dd.value=!1)},{default:withCtx(()=>kd[17]||(kd[17]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Ld,{onClick:kd[5]||(kd[5]=Xf=>md())},{default:withCtx(()=>kd[18]||(kd[18]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Qf,{open:unref(vd),"onUpdate:open":kd[8]||(kd[8]=Xf=>isRef(vd)?vd.value=Xf:null)},{default:withCtx(()=>[createVNode(Gf,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>[createVNode(Sf,null,{default:withCtx(()=>kd[19]||(kd[19]=[createTextVNode("提示")])),_:1}),createVNode(Tf,null,{default:withCtx(()=>kd[20]||(kd[20]=[createTextVNode(" 此操作将删除该内容,是否继续? ")])),_:1})]),_:1}),createVNode(If,null,{default:withCtx(()=>[createVNode(Ef,null,{default:withCtx(()=>kd[21]||(kd[21]=[createTextVNode("取消")])),_:1}),createVNode(Nf,{onClick:kd[7]||(kd[7]=Xf=>Nd())},{default:withCtx(()=>kd[22]||(kd[22]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],2)],2)}}}),_hoisted_1$5={class:"mt-4"},_hoisted_2$3={key:0,class:"py-4 text-center"},_hoisted_3$3={key:1,class:"max-h-[400px] flex flex-col overflow-y-auto"},_hoisted_4$3={class:"mb-2 flex items-center gap-2"},_hoisted_5$2=["src"],_hoisted_6$2=["href"],_sfc_main$B=defineComponent({__name:"PostTaskDialog",props:{post:{},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed({get:()=>nd.open,set:fd=>od("update:open",fd)}),ud=ref$1(null),dd=ref$1(!1);async function pd(){var fd;if(nd.post)try{(fd=window.$syncer)==null||fd.addTask({post:{title:nd.post.title,content:nd.post.content,markdown:nd.post.markdown,thumb:nd.post.thumb,desc:nd.post.desc},accounts:nd.post.accounts.filter(md=>md.checked)},md=>{ud.value=md},()=>{dd.value=!1})}catch(md){console.error("发布失败:",md)}}return watch(()=>nd.open,fd=>{fd&&pd()}),(fd,md)=>(openBlock(),createBlock(unref(_sfc_main$1h),{open:unref(ld),"onUpdate:open":md[0]||(md[0]=vd=>isRef(ld)?ld.value=vd:null)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1g),null,{default:withCtx(()=>{var vd;return[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>md[1]||(md[1]=[createTextVNode("提交发布任务")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$5,[unref(ud)?(openBlock(),createElementBlock("div",_hoisted_3$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList((vd=unref(ud))==null?void 0:vd.accounts,Ad=>(openBlock(),createElementBlock("div",{key:Ad.uid+Ad.displayName,class:"border-b py-4 last:border-b-0"},[createBaseVNode("div",_hoisted_4$3,[Ad.icon?(openBlock(),createElementBlock("img",{key:0,src:Ad.icon,class:"object-cover h-5 w-5",alt:""},null,8,_hoisted_5$2)):createCommentVNode("",!0),createBaseVNode("span",null,toDisplayString(Ad.title)+" - "+toDisplayString(Ad.displayName||Ad.home),1)]),createBaseVNode("div",{class:normalizeClass(["w-full flex-1 gap-2 overflow-auto pl-7 text-sm",{"text-yellow-600":Ad.status==="uploading","text-red-600":Ad.status==="failed","text-green-600":Ad.status==="done"}])},[Ad.status==="uploading"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Ad.msg||"发布中"),1)],64)):createCommentVNode("",!0),Ad.status==="failed"?(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(" 同步失败, 错误内容:"+toDisplayString(Ad.error),1)],64)):createCommentVNode("",!0),Ad.status==="done"&&Ad.editResp?(openBlock(),createElementBlock(Fragment,{key:2},[md[2]||(md[2]=createTextVNode(" 同步成功 ")),Ad.type!=="wordpress"&&Ad.editResp?(openBlock(),createElementBlock("a",{key:0,href:Ad.editResp.draftLink,class:"ml-2 text-blue-500 hover:underline",referrerPolicy:"no-referrer",target:"_blank"},"查看草稿",8,_hoisted_6$2)):createCommentVNode("",!0)],64)):createCommentVNode("",!0)],2)]))),128))])):(openBlock(),createElementBlock("div",_hoisted_2$3," 等待发布.. "))])]}),_:1})]),_:1},8,["open"]))}}),__unplugin_components_13=_export_sfc(_sfc_main$B,[["__scopeId","data-v-3407b3ac"]]),_sfc_main$A=defineComponent({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel$1(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,dd)=>withDirectives((openBlock(),createElementBlock("textarea",{"onUpdate:modelValue":dd[0]||(dd[0]=pd=>isRef(ld)?ld.value=pd:null),class:normalizeClass(unref(cn$5)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$z=defineComponent({__name:"AlertDescription",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("text-sm [&_p]:leading-relaxed",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$y=defineComponent({__name:"AlertTitle",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("h5",{class:normalizeClass(unref(cn$5)("mb-1 font-medium leading-none tracking-tight",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),alertVariants=cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),_sfc_main$x=defineComponent({__name:"Alert",props:{class:{},variant:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)(unref(alertVariants)({variant:nd.variant}),qa.class)),role:"alert"},[renderSlot(nd.$slots,"default")],2))}}),_hoisted_1$4={class:"w-full flex items-center gap-4"},_hoisted_2$2={class:"w-full flex items-center gap-4"},_hoisted_3$2={class:"w-full flex items-start gap-4"},_hoisted_4$2={class:"w-full flex items-start gap-4"},_hoisted_5$1={class:"flex flex-1 flex-col gap-2"},_hoisted_6$1={class:"flex flex-row items-center gap-4"},_hoisted_7={class:"flex items-center gap-2 text-sm"},_hoisted_8=["src"],_sfc_main$w=defineComponent({__name:"PostInfo",setup(Ra){const qa=useStore(),{output:nd,editor:od}=storeToRefs(qa),ld=ref$1(!1),ud=ref$1(!1),dd=ref$1([]),pd=ref$1(!1),fd=ref$1({title:"",desc:"",thumb:"",content:"",markdown:"",accounts:[]}),md=computed(()=>ud.value&&fd.value.accounts.some(Ld=>Ld.checked));async function vd(){var jd,Fd;ud.value&&dd.value.length===0&&await Ad();let Ld={thumb:"",title:"",desc:"",content:"",markdown:"",accounts:[]};const Gd=dd.value.filter(Ud=>!["weixin","ipfs"].includes(Ud.type));try{Ld={thumb:((jd=document.querySelector("#output img"))==null?void 0:jd.src)??"",title:[1,2,3,4,5,6].map(Ud=>document.querySelector(`#output h${Ud}`)).filter(Ud=>Ud)[0].textContent??"",desc:document.querySelector("#output p").textContent??"",content:nd.value,markdown:((Fd=od.value)==null?void 0:Fd.getValue())??"",accounts:Gd}}catch(Ud){console.log("error",Ud)}finally{fd.value={...Ld}}}async function Ad(){return new Promise(Ld=>{var Gd;(Gd=window.$syncer)==null||Gd.getAccounts(jd=>{dd.value=jd.map(Fd=>({...Fd,checked:!0})),Ld()})})}function Nd(){fd.value.accounts=fd.value.accounts.filter(Ld=>Ld.checked),pd.value=!0,ld.value=!1}function Od(Ld){Ld||(ld.value=!1)}function kd(){if(window.$syncer!==void 0){ud.value=!0;return}let Ld=0;const Gd=setInterval(async()=>{if(window.$syncer!==void 0){ud.value=!0,await Ad(),clearInterval(Gd);return}Ld++,Ld>10&&clearInterval(Gd)},500)}return onBeforeMount(()=>{kd()}),(Ld,Gd)=>{const jd=_sfc_main$1o,Fd=_sfc_main$D,Ud=_sfc_main$16,qd=_sfc_main$17,zd=_sfc_main$y,Wd=_sfc_main$z,Jd=_sfc_main$x,_f=_sfc_main$18,Xd=_sfc_main$1e,pf=_sfc_main$A,mf=_sfc_main$1f,Sf=_sfc_main$1g,Tf=_sfc_main$1h,Af=__unplugin_components_13;return openBlock(),createElementBlock(Fragment,null,[createVNode(Tf,{open:unref(ld),"onUpdate:open":[Gd[4]||(Gd[4]=Ef=>isRef(ld)?ld.value=Ef:null),Od]},{default:withCtx(()=>[createVNode(Fd,null,{default:withCtx(()=>[createVNode(jd,{variant:"outline",onClick:vd},{default:withCtx(()=>Gd[6]||(Gd[6]=[createTextVNode(" 发布 ")])),_:1})]),_:1}),createVNode(Sf,null,{default:withCtx(()=>[createVNode(qd,null,{default:withCtx(()=>[createVNode(Ud,null,{default:withCtx(()=>Gd[7]||(Gd[7]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(Jd,null,{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(zd,null,{default:withCtx(()=>Gd[8]||(Gd[8]=[createTextVNode("提示")])),_:1}),createVNode(Wd,null,{default:withCtx(()=>Gd[9]||(Gd[9]=[createTextVNode(" 此功能由第三方浏览器插件支持,本平台不保证安全性及同步准确度。 ")])),_:1})]),_:1}),unref(ud)?createCommentVNode("",!0):(openBlock(),createBlock(Jd,{key:0},{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(zd,null,{default:withCtx(()=>Gd[10]||(Gd[10]=[createTextVNode("未检测到插件")])),_:1}),createVNode(Wd,null,{default:withCtx(()=>[Gd[12]||(Gd[12]=createTextVNode(" 请安装 ")),createVNode(unref(O$4),{as:"a",class:"text-blue-500",href:"https://www.wechatsync.com/?utm_source=syncicon#install",target:"_blank"},{default:withCtx(()=>Gd[11]||(Gd[11]=[createTextVNode(" 文章同步助手 ")])),_:1}),Gd[13]||(Gd[13]=createTextVNode(" 插件 "))]),_:1})]),_:1})),createBaseVNode("div",_hoisted_1$4,[createVNode(_f,{for:"thumb",class:"w-10 text-end"},{default:withCtx(()=>Gd[14]||(Gd[14]=[createTextVNode(" 封面 ")])),_:1}),createVNode(Xd,{id:"thumb",modelValue:unref(fd).thumb,"onUpdate:modelValue":Gd[0]||(Gd[0]=Ef=>unref(fd).thumb=Ef),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_2$2,[createVNode(_f,{for:"title",class:"w-10 text-end"},{default:withCtx(()=>Gd[15]||(Gd[15]=[createTextVNode(" 标题 ")])),_:1}),createVNode(Xd,{id:"title",modelValue:unref(fd).title,"onUpdate:modelValue":Gd[1]||(Gd[1]=Ef=>unref(fd).title=Ef),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_3$2,[createVNode(_f,{for:"desc",class:"w-10 text-end"},{default:withCtx(()=>Gd[16]||(Gd[16]=[createTextVNode(" 描述 ")])),_:1}),createVNode(pf,{id:"desc",modelValue:unref(fd).desc,"onUpdate:modelValue":Gd[2]||(Gd[2]=Ef=>unref(fd).desc=Ef),placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_4$2,[createVNode(_f,{class:"w-10 text-end"},{default:withCtx(()=>Gd[17]||(Gd[17]=[createTextVNode(" 账号 ")])),_:1}),createBaseVNode("div",_hoisted_5$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fd).accounts,Ef=>(openBlock(),createElementBlock("div",{key:Ef.uid+Ef.displayName,class:"flex items-center gap-2"},[createBaseVNode("label",_hoisted_6$1,[createVNode(unref(Vv),{checked:Ef.checked,"onUpdate:checked":Nf=>Ef.checked=Nf,class:"bg-background hover:bg-muted h-[25px] w-[25px] flex appearance-none items-center justify-center border border-gray-200 rounded-[4px] outline-none"},{default:withCtx(()=>[createVNode(unref(Fv),null,{default:withCtx(()=>[Ef.checked?(openBlock(),createBlock(unref(Check),{key:0,class:"h-4 w-4"})):createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["checked","onUpdate:checked"]),createBaseVNode("span",_hoisted_7,[createBaseVNode("img",{src:Ef.icon,alt:"",class:"inline-block h-[20px] w-[20px]"},null,8,_hoisted_8),createTextVNode(" "+toDisplayString(Ef.title)+" - "+toDisplayString(Ef.displayName??Ef.home),1)])])]))),128))])]),createVNode(mf,null,{default:withCtx(()=>[createVNode(jd,{variant:"outline",onClick:Gd[3]||(Gd[3]=Ef=>ld.value=!1)},{default:withCtx(()=>Gd[18]||(Gd[18]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(jd,{disabled:!unref(md),onClick:Nd},{default:withCtx(()=>Gd[19]||(Gd[19]=[createTextVNode(" 确 定 ")])),_:1},8,["disabled"])]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Af,{open:unref(pd),"onUpdate:open":Gd[5]||(Gd[5]=Ef=>isRef(pd)?pd.value=Ef:null),post:unref(fd)},null,8,["open","post"])],64)}}}),_sfc_main$v=defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(fh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$3={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$u=defineComponent({__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(vh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$3,[createVNode(unref(ch$1),null,{default:withCtx(()=>[createVNode(unref(Circle),{class:"h-2 w-2 fill-current"})]),_:1})]),renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$t=defineComponent({__name:"Separator",props:{orientation:{},decorative:{type:Boolean},asChild:{type:Boolean},as:{},class:{},label:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(qp$1),mergeProps(nd.value,{class:unref(cn$5)("shrink-0 bg-border relative",qa.orientation==="vertical"?"w-px h-full":"h-px w-full",qa.class)}),{default:withCtx(()=>[qa.label?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(cn$5)("text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex justify-center items-center",qa.orientation==="vertical"?"w-[1px] px-1 py-2":"h-[1px] py-1 px-2"))},toDisplayString(qa.label),3)):createCommentVNode("",!0)]),_:1},16,["class"]))}}),_sfc_main$s=defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Mg),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$r=defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Vg),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$q=defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(zg),null,{default:withCtx(()=>[createVNode(unref(Ng),mergeProps({...unref(ud),...dd.$attrs},{class:unref(cn$5)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$p=defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Fg),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$o=defineComponent({__name:"Menubar",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Nh),mergeProps(unref(ud),{class:unref(cn$5)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$n=defineComponent({__name:"AboutDialog",props:{visible:{type:Boolean,default:!1}},emits:["close"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;function ld(pd){pd||od("close")}const ud=[{label:"GitHub 仓库",url:"https://github.com/doocs/md"},{label:"Gitee 仓库",url:"https://gitee.com/doocs/md"},{label:"GitCode 仓库",url:"https://gitcode.com/doocs/md"}];function dd(pd){window.open(pd,"_blank")}return(pd,fd)=>{const md=_sfc_main$16,vd=_sfc_main$17,Ad=_sfc_main$1o,Nd=_sfc_main$1f,Od=_sfc_main$1g,kd=_sfc_main$1h;return openBlock(),createBlock(kd,{open:nd.visible,"onUpdate:open":ld},{default:withCtx(()=>[createVNode(Od,null,{default:withCtx(()=>[createVNode(vd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>fd[0]||(fd[0]=[createTextVNode("关于")])),_:1})]),_:1}),fd[1]||(fd[1]=createBaseVNode("div",{class:"text-center"},[createBaseVNode("h3",null,"一款高度简洁的微信 Markdown 编辑器"),createBaseVNode("p",null,"扫码关注公众号 Doocs,原创技术内容第一时间推送!"),createBaseVNode("img",{class:"mx-auto my-5",src:"https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png",alt:"Doocs Markdown 编辑器",style:{width:"40%"}})],-1)),createVNode(Nd,{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(ud,Ld=>createVNode(Ad,{key:Ld.url,onClick:Gd=>dd(Ld.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ld.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$m=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Lh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$l=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:8},align:{default:"start"},alignOffset:{default:-4},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(Hh),mergeProps(unref(od),{class:unref(cn$5)("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_hoisted_1$2={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$k=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(qh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$2,[createVNode(unref(Yh),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$j=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zh),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$i=defineComponent({__name:"HelpDropdown",setup(Ra){const qa=ref$1(!1);return(nd,od)=>{const ld=_sfc_main$j,ud=_sfc_main$k,dd=_sfc_main$l,pd=_sfc_main$m,fd=_sfc_main$n;return openBlock(),createElementBlock(Fragment,null,[createVNode(pd,null,{default:withCtx(()=>[createVNode(ld,null,{default:withCtx(()=>od[2]||(od[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(dd,{align:"start"},{default:withCtx(()=>[createVNode(ud,{onClick:od[0]||(od[0]=md=>qa.value=!0)},{default:withCtx(()=>od[3]||(od[3]=[createBaseVNode("span",null,"关于",-1)])),_:1})]),_:1})]),_:1}),createVNode(fd,{visible:unref(qa),onClose:od[1]||(od[1]=md=>qa.value=!1)},null,8,["visible"])],64)}}}),_sfc_main$h=defineComponent({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Eh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$g=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Dh),null,{default:withCtx(()=>[createVNode(unref($h),mergeProps(unref(od),{class:unref(cn$5)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$f=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ph),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$e=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gh),mergeProps({class:unref(cn$5)("-mx-1 my-1 h-px bg-muted",qa.class)},unref(od)),null,16,["class"]))}}),_sfc_main$d=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Qh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$c=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(ey),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$b=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest opacity-60",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$a=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(ty),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$9=defineComponent({__name:"StyleOptionMenu",props:{title:{},options:{},current:{},change:{type:Function}},setup(Ra){const qa=Ra;function nd(od,ld){switch(od){case"字体":return{fontFamily:ld};case"字号":return{fontSize:ld};case"主题色":return{color:ld};default:return{}}}return(od,ld)=>{const ud=_sfc_main$a,dd=_sfc_main$b,pd=_sfc_main$k,fd=_sfc_main$c,md=_sfc_main$d;return openBlock(),createBlock(md,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>[ld[0]||(ld[0]=createBaseVNode("span",{class:"mr-2 h-4 w-4"},null,-1)),createBaseVNode("span",null,toDisplayString(qa.title),1)]),_:1}),createVNode(fd,{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(od.options,({label:vd,value:Ad,desc:Nd})=>(openBlock(),createBlock(pd,{key:Ad,label:vd,"model-value":Ad,class:"w-50",checked:od.current===Ad,onClick:Od=>od.change(Ad)},{default:withCtx(()=>[createTextVNode(toDisplayString(vd)+" ",1),createVNode(dd,{style:normalizeStyle(nd(od.title,Ad))},{default:withCtx(()=>[createTextVNode(toDisplayString(Nd),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","checked","onClick"]))),128))]),_:1})]),_:1})}}}),_sfc_main$8=defineComponent({__name:"StyleDropdown",setup(Ra){const qa=useStore(),{toggleShowCssEditor:nd}=useDisplayStore(),{theme:od,fontFamily:ld,fontSize:ud,primaryColor:dd,codeBlockTheme:pd,legend:fd,isMacCodeBlock:md,cssEditor:vd}=storeToRefs(qa),{resetStyleConfirm:Ad,themeChanged:Nd,fontChanged:Od,sizeChanged:kd,colorChanged:Ld,codeBlockThemeChanged:Gd,legendChanged:jd,macCodeBlockChanged:Fd}=qa,Ud=ref$1(null);function qd(){var Xd;(Xd=Ud.value)==null||Xd.show()}function zd(){nd(),setTimeout(()=>{vd.value.refresh()},50)}const Wd=useTemplateRef("pickColorsContainer"),Jd=ref$1("rgb"),_f=ref$1(["rgb","hex","hsl","hsv"]);return(Xd,pf)=>{const mf=_sfc_main$j,Sf=_sfc_main$9,Tf=_sfc_main$e,Af=_sfc_main$f,Ef=_sfc_main$g,Nf=_sfc_main$h,If=_sfc_main$k,Gf=_sfc_main$l,Qf=_sfc_main$m;return openBlock(),createBlock(Qf,null,{default:withCtx(()=>[createVNode(mf,null,{default:withCtx(()=>pf[1]||(pf[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(Gf,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(Sf,{title:"主题",options:unref(themeOptions),current:unref(od),change:unref(Nd)},null,8,["options","current","change"]),createVNode(Tf),createVNode(Sf,{title:"字体",options:unref(fontFamilyOptions),current:unref(ld),change:unref(Od)},null,8,["options","current","change"]),createVNode(Sf,{title:"字号",options:unref(fontSizeOptions),current:unref(ud),change:unref(kd)},null,8,["options","current","change"]),createVNode(Sf,{title:"主题色",options:unref(colorOptions),current:unref(dd),change:unref(Ld)},null,8,["options","current","change"]),createVNode(Sf,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(pd),change:unref(Gd)},null,8,["options","current","change"]),createVNode(Sf,{title:"图注格式",options:unref(legendOptions),current:unref(fd),change:unref(jd)},null,8,["options","current","change"]),createVNode(Tf),createVNode(If,{onClick:withModifiers(qd,["self","prevent"])},{default:withCtx(()=>[createVNode(Nf,{"open-delay":100},{default:withCtx(()=>[createVNode(Af,{class:"w-full flex"},{default:withCtx(()=>pf[2]||(pf[2]=[createTextVNode(" 自定义主题色 ")])),_:1}),createVNode(Ef,{side:"right",class:"w-min"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"pickColorsContainer",ref:Wd},[createVNode(unref(ze),{value:unref(dd),"onUpdate:value":pf[0]||(pf[0]=Xf=>isRef(dd)?dd.value=Xf:null),"show-alpha":"",format:unref(Jd),"format-options":unref(_f),theme:unref(qa).isDark?"dark":"light","popup-container":unref(Wd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])],512)]),_:1})]),_:1})]),_:1}),createVNode(If,{onClick:zd},{default:withCtx(()=>pf[3]||(pf[3]=[createTextVNode(" 自定义 CSS ")])),_:1}),createVNode(Tf),createVNode(If,{checked:unref(md),onClick:unref(Fd)},{default:withCtx(()=>pf[4]||(pf[4]=[createTextVNode(" Mac 代码块 ")])),_:1},8,["checked","onClick"]),createVNode(Tf),createVNode(If,{divided:"",onClick:unref(Ad)},{default:withCtx(()=>pf[5]||(pf[5]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])]),_:1})]),_:1})}}}),_sfc_main$7=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(jh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",dd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$6=defineComponent({__name:"EditDropdown",setup(Ra){const{toggleShowInsertFormDialog:qa,toggleShowUploadImgDialog:nd}=useDisplayStore();return(od,ld)=>{const ud=_sfc_main$j,dd=_sfc_main$7,pd=_sfc_main$l,fd=_sfc_main$m;return openBlock(),createBlock(fd,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>ld[2]||(ld[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(pd,{align:"start"},{default:withCtx(()=>[createVNode(dd,{onClick:ld[0]||(ld[0]=md=>unref(nd)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),ld[3]||(ld[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(dd,{onClick:ld[1]||(ld[1]=md=>unref(qa)())},{default:withCtx(()=>[createVNode(unref(Table),{class:"mr-2 h-4 w-4"}),ld[4]||(ld[4]=createTextVNode(" 插入表格 "))]),_:1})]),_:1})]),_:1})}}}),_sfc_main$5=defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$4=defineComponent({__name:"FileDropdown",setup(Ra){const qa=useStore(),{isDark:nd,isEditOnLeft:od}=storeToRefs(qa),{exportEditorContent2HTML:ld,exportEditorContent2MD:ud,importMarkdownContent:dd}=qa;return(pd,fd)=>{const md=_sfc_main$j,vd=_sfc_main$7,Ad=_sfc_main$e,Nd=_sfc_main$k,Od=_sfc_main$l,kd=_sfc_main$m;return openBlock(),createBlock(kd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>fd[5]||(fd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Od,{align:"start"},{default:withCtx(()=>[createVNode(vd,{onClick:fd[0]||(fd[0]=Ld=>unref(dd)())},{default:withCtx(()=>[createVNode(unref(Upload),{class:"mr-2 size-4"}),fd[6]||(fd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(vd,{onClick:fd[1]||(fd[1]=Ld=>unref(ud)())},{default:withCtx(()=>[createVNode(unref(Download),{class:"mr-2 size-4"}),fd[7]||(fd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(vd,{onClick:fd[2]||(fd[2]=Ld=>unref(ld)())},{default:withCtx(()=>[createVNode(unref(FileCode),{class:"mr-2 size-4"}),fd[8]||(fd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(Ad),createVNode(Nd,{checked:unref(nd),"onUpdate:checked":fd[3]||(fd[3]=Ld=>isRef(nd)?nd.value=Ld:null)},{default:withCtx(()=>fd[9]||(fd[9]=[createTextVNode(" 深色模式 ")])),_:1},8,["checked"]),createVNode(Ad),createVNode(Nd,{checked:unref(od),"onUpdate:checked":fd[4]||(fd[4]=Ld=>isRef(od)?od.value=Ld:null)},{default:withCtx(()=>fd[10]||(fd[10]=[createTextVNode(" 左侧编辑 ")])),_:1},8,["checked"])]),_:1})]),_:1})}}}),_sfc_main$3=defineComponent({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},dir:{},icons:{},containerAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ve),mergeProps({class:"toaster group"},qa,{"toast-options":{classes:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}}}),null,16))}}),_hoisted_1$1={class:"header-container h-15 flex items-center justify-between px-5"},_hoisted_2$1={class:"space-x-2 flex"},_hoisted_3$1={class:"space-x-2 flex"},_hoisted_4$1={class:"space-x-1 bg-background text-background-foreground mx-2 flex items-center border rounded-md"},_sfc_main$2=defineComponent({__name:"index",emits:["addFormat","formatContent","startCopy","endCopy"],setup(Ra,{emit:qa}){const nd=qa,od=[{label:"加粗",kbd:[ctrlSign,"B"],emitArgs:["addFormat",`${ctrlKey}-B`]},{label:"斜体",kbd:[ctrlSign,"I"],emitArgs:["addFormat",`${ctrlKey}-I`]},{label:"删除线",kbd:[ctrlSign,"D"],emitArgs:["addFormat",`${ctrlKey}-D`]},{label:"超链接",kbd:[ctrlSign,"K"],emitArgs:["addFormat",`${ctrlKey}-K`]},{label:"行内代码",kbd:[ctrlSign,"E"],emitArgs:["addFormat",`${ctrlKey}-E`]},{label:"格式化",kbd:[altSign,shiftSign,"F"],emitArgs:["formatContent"]}],ld=useStore(),{isDark:ud,isCiteStatus:dd,isCountStatus:pd,output:fd,primaryColor:md,isOpenPostSlider:vd}=storeToRefs(ld),{toggleDark:Ad,editorRefresh:Nd,citeStatusChanged:Od,countStatusChanged:kd}=ld,Ld=useStorage(addPrefix("copyMode"),"txt"),Gd=ref$1(""),{copy:jd}=useClipboard({source:Gd});function Fd(){nd("startCopy"),setTimeout(()=>{const Ud=ud.value;Ud&&Ad(),nextTick$1(async()=>{processClipboardContent(md.value);const qd=document.getElementById("output");qd.focus(),window.getSelection().removeAllRanges();const zd=qd.innerHTML;if(Ld.value==="txt"){const Wd=document.createRange();Wd.setStartBefore(qd.firstChild),Wd.setEndAfter(qd.lastChild),window.getSelection().addRange(Wd),document.execCommand("copy"),window.getSelection().removeAllRanges()}qd.innerHTML=fd.value,Ud&&nextTick$1(()=>Ad()),Ld.value==="html"&&await jd(zd),Ke$1.success(Ld.value==="html"?"已复制 HTML 源码,请进行下一步操作。":"已复制渲染后的内容到剪贴板,可直接到公众号后台粘贴。"),Nd(),nd("endCopy")})},350)}return(Ud,qd)=>{const zd=_sfc_main$4,Wd=_sfc_main$j,Jd=_sfc_main$5,_f=_sfc_main$k,Xd=_sfc_main$e,pf=_sfc_main$l,mf=_sfc_main$m,Sf=_sfc_main$6,Tf=_sfc_main$8,Af=_sfc_main$i,Ef=_sfc_main$o,Nf=_sfc_main$1o,If=_sfc_main$p,Gf=_sfc_main$q,Qf=_sfc_main$r,Xf=_sfc_main$s,ph=_sfc_main$t,qf=_sfc_main$E,Lf=_sfc_main$u,Wf=_sfc_main$v,Jf=_sfc_main$G,Kf=_sfc_main$H,Cf=_sfc_main$w;return openBlock(),createElementBlock("header",_hoisted_1$1,[createBaseVNode("div",_hoisted_2$1,[createVNode(Ef,{class:"menubar"},{default:withCtx(()=>[createVNode(zd),createVNode(mf,null,{default:withCtx(()=>[createVNode(Wd,null,{default:withCtx(()=>qd[7]||(qd[7]=[createTextVNode(" 格式 ")])),_:1}),createVNode(pf,{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(od,({label:xf,kbd:Yf,emitArgs:dh})=>createVNode(_f,{key:xf,onClick:Rh=>dh[0]==="addFormat"?Ud.$emit(dh[0],dh[1]):Ud.$emit(dh[0])},{default:withCtx(()=>[createTextVNode(toDisplayString(xf)+" ",1),createVNode(Jd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Yf,Rh=>(openBlock(),createElementBlock("kbd",{key:Rh,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(Rh),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(Xd),createVNode(_f,{checked:unref(dd),onClick:qd[0]||(qd[0]=xf=>unref(Od)())},{default:withCtx(()=>qd[8]||(qd[8]=[createTextVNode(" 微信外链转底部引用 ")])),_:1},8,["checked"]),createVNode(Xd),createVNode(_f,{checked:unref(pd),onClick:qd[1]||(qd[1]=xf=>unref(kd)())},{default:withCtx(()=>qd[9]||(qd[9]=[createTextVNode(" 统计字数和阅读时间 ")])),_:1},8,["checked"])]),_:1})]),_:1}),createVNode(Sf),createVNode(Tf),createVNode(Af)]),_:1})]),createBaseVNode("div",_hoisted_3$1,[createVNode(Xf,{"delay-duration":200},{default:withCtx(()=>[createVNode(Qf,null,{default:withCtx(()=>[createVNode(If,{"as-child":""},{default:withCtx(()=>[createVNode(Nf,{variant:"outline",onClick:qd[2]||(qd[2]=xf=>vd.value=!unref(vd))},{default:withCtx(()=>[withDirectives(createVNode(unref(PanelLeftOpen),{class:"size-4"},null,512),[[vShow,!unref(vd)]]),withDirectives(createVNode(unref(PanelLeftClose),{class:"size-4"},null,512),[[vShow,unref(vd)]])]),_:1})]),_:1}),createVNode(Gf,{side:"left"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vd)?"关闭":"内容管理"),1)]),_:1})]),_:1})]),_:1}),createVNode(Nf,{variant:"outline",onClick:qd[3]||(qd[3]=xf=>unref(Ad)())},{default:withCtx(()=>[withDirectives(createVNode(unref(Moon),{class:"size-4"},null,512),[[vShow,unref(ud)]]),withDirectives(createVNode(unref(Sun),{class:"size-4"},null,512),[[vShow,!unref(ud)]])]),_:1}),createBaseVNode("div",_hoisted_4$1,[createVNode(Nf,{variant:"ghost",class:"shadow-none",onClick:Fd},{default:withCtx(()=>qd[10]||(qd[10]=[createTextVNode(" 复制 ")])),_:1}),createVNode(ph,{orientation:"vertical",class:"h-5"}),createVNode(Kf,{modelValue:unref(Ld),"onUpdate:modelValue":qd[5]||(qd[5]=xf=>isRef(Ld)?Ld.value=xf:null)},{default:withCtx(()=>[createVNode(qf,{"as-child":""},{default:withCtx(()=>[createVNode(Nf,{variant:"ghost",class:"px-2 shadow-none"},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"text-secondary-foreground h-4 w-4"})]),_:1})]),_:1}),createVNode(Jf,{align:"end","align-offset":-5,class:"w-[200px]"},{default:withCtx(()=>[createVNode(Wf,{modelValue:unref(Ld),"onUpdate:modelValue":qd[4]||(qd[4]=xf=>isRef(Ld)?Ld.value=xf:null)},{default:withCtx(()=>[createVNode(Lf,{value:"txt"},{default:withCtx(()=>qd[11]||(qd[11]=[createTextVNode(" 公众号格式 ")])),_:1}),createVNode(Lf,{value:"html"},{default:withCtx(()=>qd[12]||(qd[12]=[createTextVNode(" HTML 格式 ")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])]),createVNode(Cf),createVNode(Nf,{variant:"outline",onClick:qd[6]||(qd[6]=xf=>unref(ld).isOpenRightSlider=!unref(ld).isOpenRightSlider)},{default:withCtx(()=>[createVNode(unref(Settings),{class:"size-4"})]),_:1}),createVNode(unref(_sfc_main$3),{"rich-colors":"",position:"top-center"})])])}}}),__unplugin_components_0=_export_sfc(_sfc_main$2,[["__scopeId","data-v-7e8ee93b"]]);function bind(Ra,qa){return function(){return Ra.apply(qa,arguments)}}var define_process_default$7={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const{toString:toString$1}=Object.prototype,{getPrototypeOf}=Object,kindOf=(Ra=>qa=>{const nd=toString$1.call(qa);return Ra[nd]||(Ra[nd]=nd.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=Ra=>(Ra=Ra.toLowerCase(),qa=>kindOf(qa)===Ra),typeOfTest=Ra=>qa=>typeof qa===Ra,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(Ra){return Ra!==null&&!isUndefined(Ra)&&Ra.constructor!==null&&!isUndefined(Ra.constructor)&&isFunction$1(Ra.constructor.isBuffer)&&Ra.constructor.isBuffer(Ra)}const isArrayBuffer$2=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer$2(Ra.buffer),qa}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$1=Ra=>Ra!==null&&typeof Ra=="object",isBoolean$1=Ra=>Ra===!0||Ra===!1,isPlainObject=Ra=>{if(kindOf(Ra)!=="object")return!1;const qa=getPrototypeOf(Ra);return(qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null)&&!(Symbol.toStringTag in Ra)&&!(Symbol.iterator in Ra)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=Ra=>isObject$1(Ra)&&isFunction$1(Ra.pipe),isFormData=Ra=>{let qa;return Ra&&(typeof FormData=="function"&&Ra instanceof FormData||isFunction$1(Ra.append)&&((qa=kindOf(Ra))==="formdata"||qa==="object"&&isFunction$1(Ra.toString)&&Ra.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream$3,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=Ra=>Ra.trim?Ra.trim():Ra.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(Ra,qa,{allOwnKeys:nd=!1}={}){if(Ra===null||typeof Ra>"u")return;let od,ld;if(typeof Ra!="object"&&(Ra=[Ra]),isArray(Ra))for(od=0,ld=Ra.length;od0;)if(ld=nd[od],qa===ld.toLowerCase())return ld;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$1,isContextDefined=Ra=>!isUndefined(Ra)&&Ra!==_global;function merge(){const{caseless:Ra}=isContextDefined(this)&&this||{},qa={},nd=(od,ld)=>{const ud=Ra&&findKey(qa,ld)||ld;isPlainObject(qa[ud])&&isPlainObject(od)?qa[ud]=merge(qa[ud],od):isPlainObject(od)?qa[ud]=merge({},od):isArray(od)?qa[ud]=od.slice():qa[ud]=od};for(let od=0,ld=arguments.length;od(forEach(qa,(ld,ud)=>{nd&&isFunction$1(ld)?Ra[ud]=bind(ld,nd):Ra[ud]=ld},{allOwnKeys:od}),Ra),stripBOM=Ra=>(Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)),Ra),inherits$1=(Ra,qa,nd,od)=>{Ra.prototype=Object.create(qa.prototype,od),Ra.prototype.constructor=Ra,Object.defineProperty(Ra,"super",{value:qa.prototype}),nd&&Object.assign(Ra.prototype,nd)},toFlatObject=(Ra,qa,nd,od)=>{let ld,ud,dd;const pd={};if(qa=qa||{},Ra==null)return qa;do{for(ld=Object.getOwnPropertyNames(Ra),ud=ld.length;ud-- >0;)dd=ld[ud],(!od||od(dd,Ra,qa))&&!pd[dd]&&(qa[dd]=Ra[dd],pd[dd]=!0);Ra=nd!==!1&&getPrototypeOf(Ra)}while(Ra&&(!nd||nd(Ra,qa))&&Ra!==Object.prototype);return qa},endsWith=(Ra,qa,nd)=>{Ra=String(Ra),(nd===void 0||nd>Ra.length)&&(nd=Ra.length),nd-=qa.length;const od=Ra.indexOf(qa,nd);return od!==-1&&od===nd},toArray$1=Ra=>{if(!Ra)return null;if(isArray(Ra))return Ra;let qa=Ra.length;if(!isNumber$1(qa))return null;const nd=new Array(qa);for(;qa-- >0;)nd[qa]=Ra[qa];return nd},isTypedArray=(Ra=>qa=>Ra&&qa instanceof Ra)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(Ra,qa)=>{const od=(Ra&&Ra[Symbol.iterator]).call(Ra);let ld;for(;(ld=od.next())&&!ld.done;){const ud=ld.value;qa.call(Ra,ud[0],ud[1])}},matchAll=(Ra,qa)=>{let nd;const od=[];for(;(nd=Ra.exec(qa))!==null;)od.push(nd);return od},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=Ra=>Ra.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(nd,od,ld){return od.toUpperCase()+ld}),hasOwnProperty$1=(({hasOwnProperty:Ra})=>(qa,nd)=>Ra.call(qa,nd))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(Ra,qa)=>{const nd=Object.getOwnPropertyDescriptors(Ra),od={};forEach(nd,(ld,ud)=>{let dd;(dd=qa(ld,ud,Ra))!==!1&&(od[ud]=dd||ld)}),Object.defineProperties(Ra,od)},freezeMethods=Ra=>{reduceDescriptors(Ra,(qa,nd)=>{if(isFunction$1(Ra)&&["arguments","caller","callee"].indexOf(nd)!==-1)return!1;const od=Ra[nd];if(isFunction$1(od)){if(qa.enumerable=!1,"writable"in qa){qa.writable=!1;return}qa.set||(qa.set=()=>{throw Error("Can not rewrite read-only method '"+nd+"'")})}})},toObjectSet=(Ra,qa)=>{const nd={},od=ld=>{ld.forEach(ud=>{nd[ud]=!0})};return isArray(Ra)?od(Ra):od(String(Ra).split(qa)),nd},noop=()=>{},toFiniteNumber=(Ra,qa)=>Ra!=null&&Number.isFinite(Ra=+Ra)?Ra:qa,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(Ra=16,qa=ALPHABET.ALPHA_DIGIT)=>{let nd="";const{length:od}=qa;for(;Ra--;)nd+=qa[Math.random()*od|0];return nd};function isSpecCompliantForm(Ra){return!!(Ra&&isFunction$1(Ra.append)&&Ra[Symbol.toStringTag]==="FormData"&&Ra[Symbol.iterator])}const toJSONObject=Ra=>{const qa=new Array(10),nd=(od,ld)=>{if(isObject$1(od)){if(qa.indexOf(od)>=0)return;if(!("toJSON"in od)){qa[ld]=od;const ud=isArray(od)?[]:{};return forEach(od,(dd,pd)=>{const fd=nd(dd,ld+1);!isUndefined(fd)&&(ud[pd]=fd)}),qa[ld]=void 0,ud}}return od};return nd(Ra,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=Ra=>Ra&&(isObject$1(Ra)||isFunction$1(Ra))&&isFunction$1(Ra.then)&&isFunction$1(Ra.catch),_setImmediate=((Ra,qa)=>Ra?setImmediate:qa?((nd,od)=>(_global.addEventListener("message",({source:ld,data:ud})=>{ld===_global&&ud===nd&&od.length&&od.shift()()},!1),ld=>{od.push(ld),_global.postMessage(nd,"*")}))(`axios@${Math.random()}`,[]):nd=>setTimeout(nd))(typeof setImmediate=="function",isFunction$1(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof define_process_default$7<"u"&&define_process_default$7.nextTick||_setImmediate,utils$2={isArray,isArrayBuffer:isArrayBuffer$2,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$1,isPlainObject,isReadableStream:isReadableStream$3,isRequest,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$1,hasOwnProp:hasOwnProperty$1,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(Ra,qa,nd,od,ld){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=Ra,this.name="AxiosError",qa&&(this.code=qa),nd&&(this.config=nd),od&&(this.request=od),ld&&(this.response=ld,this.status=ld.status?ld.status:null)}utils$2.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$2.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(Ra=>{descriptors[Ra]={value:Ra}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(Ra,qa,nd,od,ld,ud)=>{const dd=Object.create(prototype$1);return utils$2.toFlatObject(Ra,dd,function(fd){return fd!==Error.prototype},pd=>pd!=="isAxiosError"),AxiosError.call(dd,Ra.message,qa,nd,od,ld),dd.cause=Ra,dd.name=Ra.name,ud&&Object.assign(dd,ud),dd};const httpAdapter=null;function isVisitable(Ra){return utils$2.isPlainObject(Ra)||utils$2.isArray(Ra)}function removeBrackets(Ra){return utils$2.endsWith(Ra,"[]")?Ra.slice(0,-2):Ra}function renderKey(Ra,qa,nd){return Ra?Ra.concat(qa).map(function(ld,ud){return ld=removeBrackets(ld),!nd&&ud?"["+ld+"]":ld}).join(nd?".":""):qa}function isFlatArray(Ra){return utils$2.isArray(Ra)&&!Ra.some(isVisitable)}const predicates=utils$2.toFlatObject(utils$2,{},null,function(qa){return/^is[A-Z]/.test(qa)});function toFormData(Ra,qa,nd){if(!utils$2.isObject(Ra))throw new TypeError("target must be an object");qa=qa||new FormData,nd=utils$2.toFlatObject(nd,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Ld,Gd){return!utils$2.isUndefined(Gd[Ld])});const od=nd.metaTokens,ld=nd.visitor||vd,ud=nd.dots,dd=nd.indexes,fd=(nd.Blob||typeof Blob<"u"&&Blob)&&utils$2.isSpecCompliantForm(qa);if(!utils$2.isFunction(ld))throw new TypeError("visitor must be a function");function md(kd){if(kd===null)return"";if(utils$2.isDate(kd))return kd.toISOString();if(!fd&&utils$2.isBlob(kd))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$2.isArrayBuffer(kd)||utils$2.isTypedArray(kd)?fd&&typeof Blob=="function"?new Blob([kd]):Buffer$4.from(kd):kd}function vd(kd,Ld,Gd){let jd=kd;if(kd&&!Gd&&typeof kd=="object"){if(utils$2.endsWith(Ld,"{}"))Ld=od?Ld:Ld.slice(0,-2),kd=JSON.stringify(kd);else if(utils$2.isArray(kd)&&isFlatArray(kd)||(utils$2.isFileList(kd)||utils$2.endsWith(Ld,"[]"))&&(jd=utils$2.toArray(kd)))return Ld=removeBrackets(Ld),jd.forEach(function(Ud,qd){!(utils$2.isUndefined(Ud)||Ud===null)&&qa.append(dd===!0?renderKey([Ld],qd,ud):dd===null?Ld:Ld+"[]",md(Ud))}),!1}return isVisitable(kd)?!0:(qa.append(renderKey(Gd,Ld,ud),md(kd)),!1)}const Ad=[],Nd=Object.assign(predicates,{defaultVisitor:vd,convertValue:md,isVisitable});function Od(kd,Ld){if(!utils$2.isUndefined(kd)){if(Ad.indexOf(kd)!==-1)throw Error("Circular reference detected in "+Ld.join("."));Ad.push(kd),utils$2.forEach(kd,function(jd,Fd){(!(utils$2.isUndefined(jd)||jd===null)&&ld.call(qa,jd,utils$2.isString(Fd)?Fd.trim():Fd,Ld,Nd))===!0&&Od(jd,Ld?Ld.concat(Fd):[Fd])}),Ad.pop()}}if(!utils$2.isObject(Ra))throw new TypeError("data must be an object");return Od(Ra),qa}function encode$2(Ra){const qa={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Ra).replace(/[!'()~]|%20|%00/g,function(od){return qa[od]})}function AxiosURLSearchParams(Ra,qa){this._pairs=[],Ra&&toFormData(Ra,this,qa)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(qa,nd){this._pairs.push([qa,nd])};prototype.toString=function(qa){const nd=qa?function(od){return qa.call(this,od,encode$2)}:encode$2;return this._pairs.map(function(ld){return nd(ld[0])+"="+nd(ld[1])},"").join("&")};function encode$1(Ra){return encodeURIComponent(Ra).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(Ra,qa,nd){if(!qa)return Ra;const od=nd&&nd.encode||encode$1;utils$2.isFunction(nd)&&(nd={serialize:nd});const ld=nd&&nd.serialize;let ud;if(ld?ud=ld(qa,nd):ud=utils$2.isURLSearchParams(qa)?qa.toString():new AxiosURLSearchParams(qa,nd).toString(od),ud){const dd=Ra.indexOf("#");dd!==-1&&(Ra=Ra.slice(0,dd)),Ra+=(Ra.indexOf("?")===-1?"?":"&")+ud}return Ra}class InterceptorManager{constructor(){this.handlers=[]}use(qa,nd,od){return this.handlers.push({fulfilled:qa,rejected:nd,synchronous:od?od.synchronous:!1,runWhen:od?od.runWhen:null}),this.handlers.length-1}eject(qa){this.handlers[qa]&&(this.handlers[qa]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(qa){utils$2.forEach(this.handlers,function(od){od!==null&&qa(od)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils$1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils$1,...platform$1};function toURLEncodedForm(Ra,qa){return toFormData(Ra,new platform.classes.URLSearchParams,Object.assign({visitor:function(nd,od,ld,ud){return platform.isNode&&utils$2.isBuffer(nd)?(this.append(od,nd.toString("base64")),!1):ud.defaultVisitor.apply(this,arguments)}},qa))}function parsePropPath(Ra){return utils$2.matchAll(/\w+|\[(\w*)]/g,Ra).map(qa=>qa[0]==="[]"?"":qa[1]||qa[0])}function arrayToObject(Ra){const qa={},nd=Object.keys(Ra);let od;const ld=nd.length;let ud;for(od=0;od=nd.length;return dd=!dd&&utils$2.isArray(ld)?ld.length:dd,fd?(utils$2.hasOwnProp(ld,dd)?ld[dd]=[ld[dd],od]:ld[dd]=od,!pd):((!ld[dd]||!utils$2.isObject(ld[dd]))&&(ld[dd]=[]),qa(nd,od,ld[dd],ud)&&utils$2.isArray(ld[dd])&&(ld[dd]=arrayToObject(ld[dd])),!pd)}if(utils$2.isFormData(Ra)&&utils$2.isFunction(Ra.entries)){const nd={};return utils$2.forEachEntry(Ra,(od,ld)=>{qa(parsePropPath(od),ld,nd,0)}),nd}return null}function stringifySafely(Ra,qa,nd){if(utils$2.isString(Ra))try{return(qa||JSON.parse)(Ra),utils$2.trim(Ra)}catch(od){if(od.name!=="SyntaxError")throw od}return(0,JSON.stringify)(Ra)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(qa,nd){const od=nd.getContentType()||"",ld=od.indexOf("application/json")>-1,ud=utils$2.isObject(qa);if(ud&&utils$2.isHTMLForm(qa)&&(qa=new FormData(qa)),utils$2.isFormData(qa))return ld?JSON.stringify(formDataToJSON(qa)):qa;if(utils$2.isArrayBuffer(qa)||utils$2.isBuffer(qa)||utils$2.isStream(qa)||utils$2.isFile(qa)||utils$2.isBlob(qa)||utils$2.isReadableStream(qa))return qa;if(utils$2.isArrayBufferView(qa))return qa.buffer;if(utils$2.isURLSearchParams(qa))return nd.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),qa.toString();let pd;if(ud){if(od.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((pd=utils$2.isFileList(qa))||od.indexOf("multipart/form-data")>-1){const fd=this.env&&this.env.FormData;return toFormData(pd?{"files[]":qa}:qa,fd&&new fd,this.formSerializer)}}return ud||ld?(nd.setContentType("application/json",!1),stringifySafely(qa)):qa}],transformResponse:[function(qa){const nd=this.transitional||defaults$1.transitional,od=nd&&nd.forcedJSONParsing,ld=this.responseType==="json";if(utils$2.isResponse(qa)||utils$2.isReadableStream(qa))return qa;if(qa&&utils$2.isString(qa)&&(od&&!this.responseType||ld)){const dd=!(nd&&nd.silentJSONParsing)&&ld;try{return JSON.parse(qa)}catch(pd){if(dd)throw pd.name==="SyntaxError"?AxiosError.from(pd,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):pd}}return qa}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(qa){return qa>=200&&qa<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$2.forEach(["delete","get","head","post","put","patch"],Ra=>{defaults$1.headers[Ra]={}});const ignoreDuplicateOf=utils$2.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=Ra=>{const qa={};let nd,od,ld;return Ra&&Ra.split(` `).forEach(function(dd){ld=dd.indexOf(":"),nd=dd.substring(0,ld).trim().toLowerCase(),od=dd.substring(ld+1).trim(),!(!nd||qa[nd]&&ignoreDuplicateOf[nd])&&(nd==="set-cookie"?qa[nd]?qa[nd].push(od):qa[nd]=[od]:qa[nd]=qa[nd]?qa[nd]+", "+od:od)}),qa},$internals=Symbol("internals");function normalizeHeader(Ra){return Ra&&String(Ra).trim().toLowerCase()}function normalizeValue(Ra){return Ra===!1||Ra==null?Ra:utils$2.isArray(Ra)?Ra.map(normalizeValue):String(Ra)}function parseTokens(Ra){const qa=Object.create(null),nd=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let od;for(;od=nd.exec(Ra);)qa[od[1]]=od[2];return qa}const isValidHeaderName=Ra=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Ra.trim());function matchHeaderValue(Ra,qa,nd,od,ld){if(utils$2.isFunction(od))return od.call(this,qa,nd);if(ld&&(qa=nd),!!utils$2.isString(qa)){if(utils$2.isString(od))return qa.indexOf(od)!==-1;if(utils$2.isRegExp(od))return od.test(qa)}}function formatHeader(Ra){return Ra.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(qa,nd,od)=>nd.toUpperCase()+od)}function buildAccessors(Ra,qa){const nd=utils$2.toCamelCase(" "+qa);["get","set","has"].forEach(od=>{Object.defineProperty(Ra,od+nd,{value:function(ld,ud,dd){return this[od].call(this,qa,ld,ud,dd)},configurable:!0})})}class AxiosHeaders{constructor(qa){qa&&this.set(qa)}set(qa,nd,od){const ld=this;function ud(pd,fd,md){const vd=normalizeHeader(fd);if(!vd)throw new Error("header name must be a non-empty string");const Ad=utils$2.findKey(ld,vd);(!Ad||ld[Ad]===void 0||md===!0||md===void 0&&ld[Ad]!==!1)&&(ld[Ad||fd]=normalizeValue(pd))}const dd=(pd,fd)=>utils$2.forEach(pd,(md,vd)=>ud(md,vd,fd));if(utils$2.isPlainObject(qa)||qa instanceof this.constructor)dd(qa,nd);else if(utils$2.isString(qa)&&(qa=qa.trim())&&!isValidHeaderName(qa))dd(parseHeaders(qa),nd);else if(utils$2.isHeaders(qa))for(const[pd,fd]of qa.entries())ud(fd,pd,od);else qa!=null&&ud(nd,qa,od);return this}get(qa,nd){if(qa=normalizeHeader(qa),qa){const od=utils$2.findKey(this,qa);if(od){const ld=this[od];if(!nd)return ld;if(nd===!0)return parseTokens(ld);if(utils$2.isFunction(nd))return nd.call(this,ld,od);if(utils$2.isRegExp(nd))return nd.exec(ld);throw new TypeError("parser must be boolean|regexp|function")}}}has(qa,nd){if(qa=normalizeHeader(qa),qa){const od=utils$2.findKey(this,qa);return!!(od&&this[od]!==void 0&&(!nd||matchHeaderValue(this,this[od],od,nd)))}return!1}delete(qa,nd){const od=this;let ld=!1;function ud(dd){if(dd=normalizeHeader(dd),dd){const pd=utils$2.findKey(od,dd);pd&&(!nd||matchHeaderValue(od,od[pd],pd,nd))&&(delete od[pd],ld=!0)}}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),ld}clear(qa){const nd=Object.keys(this);let od=nd.length,ld=!1;for(;od--;){const ud=nd[od];(!qa||matchHeaderValue(this,this[ud],ud,qa,!0))&&(delete this[ud],ld=!0)}return ld}normalize(qa){const nd=this,od={};return utils$2.forEach(this,(ld,ud)=>{const dd=utils$2.findKey(od,ud);if(dd){nd[dd]=normalizeValue(ld),delete nd[ud];return}const pd=qa?formatHeader(ud):String(ud).trim();pd!==ud&&delete nd[ud],nd[pd]=normalizeValue(ld),od[pd]=!0}),this}concat(...qa){return this.constructor.concat(this,...qa)}toJSON(qa){const nd=Object.create(null);return utils$2.forEach(this,(od,ld)=>{od!=null&&od!==!1&&(nd[ld]=qa&&utils$2.isArray(od)?od.join(", "):od)}),nd}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([qa,nd])=>qa+": "+nd).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(qa){return qa instanceof this?qa:new this(qa)}static concat(qa,...nd){const od=new this(qa);return nd.forEach(ld=>od.set(ld)),od}static accessor(qa){const od=(this[$internals]=this[$internals]={accessors:{}}).accessors,ld=this.prototype;function ud(dd){const pd=normalizeHeader(dd);od[pd]||(buildAccessors(ld,dd),od[pd]=!0)}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$2.reduceDescriptors(AxiosHeaders.prototype,({value:Ra},qa)=>{let nd=qa[0].toUpperCase()+qa.slice(1);return{get:()=>Ra,set(od){this[nd]=od}}});utils$2.freezeMethods(AxiosHeaders);function transformData(Ra,qa){const nd=this||defaults$1,od=qa||nd,ld=AxiosHeaders.from(od.headers);let ud=od.data;return utils$2.forEach(Ra,function(pd){ud=pd.call(nd,ud,ld.normalize(),qa?qa.status:void 0)}),ld.normalize(),ud}function isCancel(Ra){return!!(Ra&&Ra.__CANCEL__)}function CanceledError(Ra,qa,nd){AxiosError.call(this,Ra??"canceled",AxiosError.ERR_CANCELED,qa,nd),this.name="CanceledError"}utils$2.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(Ra,qa,nd){const od=nd.config.validateStatus;!nd.status||!od||od(nd.status)?Ra(nd):qa(new AxiosError("Request failed with status code "+nd.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(nd.status/100)-4],nd.config,nd.request,nd))}function parseProtocol(Ra){const qa=/^([-+\w]{1,25})(:?\/\/|:)/.exec(Ra);return qa&&qa[1]||""}function speedometer(Ra,qa){Ra=Ra||10;const nd=new Array(Ra),od=new Array(Ra);let ld=0,ud=0,dd;return qa=qa!==void 0?qa:1e3,function(fd){const md=Date.now(),vd=od[ud];dd||(dd=md),nd[ld]=fd,od[ld]=md;let Ad=ud,Nd=0;for(;Ad!==ld;)Nd+=nd[Ad++],Ad=Ad%Ra;if(ld=(ld+1)%Ra,ld===ud&&(ud=(ud+1)%Ra),md-dd{nd=vd,ld=null,ud&&(clearTimeout(ud),ud=null),Ra.apply(null,md)};return[(...md)=>{const vd=Date.now(),Ad=vd-nd;Ad>=od?dd(md,vd):(ld=md,ud||(ud=setTimeout(()=>{ud=null,dd(ld)},od-Ad)))},()=>ld&&dd(ld)]}const progressEventReducer=(Ra,qa,nd=3)=>{let od=0;const ld=speedometer(50,250);return throttle(ud=>{const dd=ud.loaded,pd=ud.lengthComputable?ud.total:void 0,fd=dd-od,md=ld(fd),vd=dd<=pd;od=dd;const Ad={loaded:dd,total:pd,progress:pd?dd/pd:void 0,bytes:fd,rate:md||void 0,estimated:md&&pd&&vd?(pd-dd)/md:void 0,event:ud,lengthComputable:pd!=null,[qa?"download":"upload"]:!0};Ra(Ad)},nd)},progressEventDecorator=(Ra,qa)=>{const nd=Ra!=null;return[od=>qa[0]({lengthComputable:nd,total:Ra,loaded:od}),qa[1]]},asyncDecorator=Ra=>(...qa)=>utils$2.asap(()=>Ra(...qa)),isURLSameOrigin=platform.hasStandardBrowserEnv?((Ra,qa)=>nd=>(nd=new URL(nd,platform.origin),Ra.protocol===nd.protocol&&Ra.host===nd.host&&(qa||Ra.port===nd.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0,cookies=platform.hasStandardBrowserEnv?{write(Ra,qa,nd,od,ld,ud){const dd=[Ra+"="+encodeURIComponent(qa)];utils$2.isNumber(nd)&&dd.push("expires="+new Date(nd).toGMTString()),utils$2.isString(od)&&dd.push("path="+od),utils$2.isString(ld)&&dd.push("domain="+ld),ud===!0&&dd.push("secure"),document.cookie=dd.join("; ")},read(Ra){const qa=document.cookie.match(new RegExp("(^|;\\s*)("+Ra+")=([^;]*)"));return qa?decodeURIComponent(qa[3]):null},remove(Ra){this.write(Ra,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(Ra){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Ra)}function combineURLs(Ra,qa){return qa?Ra.replace(/\/?\/$/,"")+"/"+qa.replace(/^\/+/,""):Ra}function buildFullPath(Ra,qa){return Ra&&!isAbsoluteURL(qa)?combineURLs(Ra,qa):qa}const headersToObject=Ra=>Ra instanceof AxiosHeaders?{...Ra}:Ra;function mergeConfig(Ra,qa){qa=qa||{};const nd={};function od(md,vd,Ad,Nd){return utils$2.isPlainObject(md)&&utils$2.isPlainObject(vd)?utils$2.merge.call({caseless:Nd},md,vd):utils$2.isPlainObject(vd)?utils$2.merge({},vd):utils$2.isArray(vd)?vd.slice():vd}function ld(md,vd,Ad,Nd){if(utils$2.isUndefined(vd)){if(!utils$2.isUndefined(md))return od(void 0,md,Ad,Nd)}else return od(md,vd,Ad,Nd)}function ud(md,vd){if(!utils$2.isUndefined(vd))return od(void 0,vd)}function dd(md,vd){if(utils$2.isUndefined(vd)){if(!utils$2.isUndefined(md))return od(void 0,md)}else return od(void 0,vd)}function pd(md,vd,Ad){if(Ad in qa)return od(md,vd);if(Ad in Ra)return od(void 0,md)}const fd={url:ud,method:ud,data:ud,baseURL:dd,transformRequest:dd,transformResponse:dd,paramsSerializer:dd,timeout:dd,timeoutMessage:dd,withCredentials:dd,withXSRFToken:dd,adapter:dd,responseType:dd,xsrfCookieName:dd,xsrfHeaderName:dd,onUploadProgress:dd,onDownloadProgress:dd,decompress:dd,maxContentLength:dd,maxBodyLength:dd,beforeRedirect:dd,transport:dd,httpAgent:dd,httpsAgent:dd,cancelToken:dd,socketPath:dd,responseEncoding:dd,validateStatus:pd,headers:(md,vd,Ad)=>ld(headersToObject(md),headersToObject(vd),Ad,!0)};return utils$2.forEach(Object.keys(Object.assign({},Ra,qa)),function(vd){const Ad=fd[vd]||ld,Nd=Ad(Ra[vd],qa[vd],vd);utils$2.isUndefined(Nd)&&Ad!==pd||(nd[vd]=Nd)}),nd}const resolveConfig=Ra=>{const qa=mergeConfig({},Ra);let{data:nd,withXSRFToken:od,xsrfHeaderName:ld,xsrfCookieName:ud,headers:dd,auth:pd}=qa;qa.headers=dd=AxiosHeaders.from(dd),qa.url=buildURL(buildFullPath(qa.baseURL,qa.url),Ra.params,Ra.paramsSerializer),pd&&dd.set("Authorization","Basic "+btoa((pd.username||"")+":"+(pd.password?unescape(encodeURIComponent(pd.password)):"")));let fd;if(utils$2.isFormData(nd)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)dd.setContentType(void 0);else if((fd=dd.getContentType())!==!1){const[md,...vd]=fd?fd.split(";").map(Ad=>Ad.trim()).filter(Boolean):[];dd.setContentType([md||"multipart/form-data",...vd].join("; "))}}if(platform.hasStandardBrowserEnv&&(od&&utils$2.isFunction(od)&&(od=od(qa)),od||od!==!1&&isURLSameOrigin(qa.url))){const md=ld&&ud&&cookies.read(ud);md&&dd.set(ld,md)}return qa},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(Ra){return new Promise(function(nd,od){const ld=resolveConfig(Ra);let ud=ld.data;const dd=AxiosHeaders.from(ld.headers).normalize();let{responseType:pd,onUploadProgress:fd,onDownloadProgress:md}=ld,vd,Ad,Nd,Od,kd;function Ld(){Od&&Od(),kd&&kd(),ld.cancelToken&&ld.cancelToken.unsubscribe(vd),ld.signal&&ld.signal.removeEventListener("abort",vd)}let Gd=new XMLHttpRequest;Gd.open(ld.method.toUpperCase(),ld.url,!0),Gd.timeout=ld.timeout;function jd(){if(!Gd)return;const Ud=AxiosHeaders.from("getAllResponseHeaders"in Gd&&Gd.getAllResponseHeaders()),zd={data:!pd||pd==="text"||pd==="json"?Gd.responseText:Gd.response,status:Gd.status,statusText:Gd.statusText,headers:Ud,config:Ra,request:Gd};settle(function(Jd){nd(Jd),Ld()},function(Jd){od(Jd),Ld()},zd),Gd=null}"onloadend"in Gd?Gd.onloadend=jd:Gd.onreadystatechange=function(){!Gd||Gd.readyState!==4||Gd.status===0&&!(Gd.responseURL&&Gd.responseURL.indexOf("file:")===0)||setTimeout(jd)},Gd.onabort=function(){Gd&&(od(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ra,Gd)),Gd=null)},Gd.onerror=function(){od(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Gd)),Gd=null},Gd.ontimeout=function(){let qd=ld.timeout?"timeout of "+ld.timeout+"ms exceeded":"timeout exceeded";const zd=ld.transitional||transitionalDefaults;ld.timeoutErrorMessage&&(qd=ld.timeoutErrorMessage),od(new AxiosError(qd,zd.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ra,Gd)),Gd=null},ud===void 0&&dd.setContentType(null),"setRequestHeader"in Gd&&utils$2.forEach(dd.toJSON(),function(qd,zd){Gd.setRequestHeader(zd,qd)}),utils$2.isUndefined(ld.withCredentials)||(Gd.withCredentials=!!ld.withCredentials),pd&&pd!=="json"&&(Gd.responseType=ld.responseType),md&&([Nd,kd]=progressEventReducer(md,!0),Gd.addEventListener("progress",Nd)),fd&&Gd.upload&&([Ad,Od]=progressEventReducer(fd),Gd.upload.addEventListener("progress",Ad),Gd.upload.addEventListener("loadend",Od)),(ld.cancelToken||ld.signal)&&(vd=Ud=>{Gd&&(od(!Ud||Ud.type?new CanceledError(null,Ra,Gd):Ud),Gd.abort(),Gd=null)},ld.cancelToken&&ld.cancelToken.subscribe(vd),ld.signal&&(ld.signal.aborted?vd():ld.signal.addEventListener("abort",vd)));const Fd=parseProtocol(ld.url);if(Fd&&platform.protocols.indexOf(Fd)===-1){od(new AxiosError("Unsupported protocol "+Fd+":",AxiosError.ERR_BAD_REQUEST,Ra));return}Gd.send(ud||null)})},composeSignals=(Ra,qa)=>{const{length:nd}=Ra=Ra?Ra.filter(Boolean):[];if(qa||nd){let od=new AbortController,ld;const ud=function(md){if(!ld){ld=!0,pd();const vd=md instanceof Error?md:this.reason;od.abort(vd instanceof AxiosError?vd:new CanceledError(vd instanceof Error?vd.message:vd))}};let dd=qa&&setTimeout(()=>{dd=null,ud(new AxiosError(`timeout ${qa} of ms exceeded`,AxiosError.ETIMEDOUT))},qa);const pd=()=>{Ra&&(dd&&clearTimeout(dd),dd=null,Ra.forEach(md=>{md.unsubscribe?md.unsubscribe(ud):md.removeEventListener("abort",ud)}),Ra=null)};Ra.forEach(md=>md.addEventListener("abort",ud));const{signal:fd}=od;return fd.unsubscribe=()=>utils$2.asap(pd),fd}},streamChunk=function*(Ra,qa){let nd=Ra.byteLength;if(nd{const ld=readBytes(Ra,qa);let ud=0,dd,pd=fd=>{dd||(dd=!0,od&&od(fd))};return new ReadableStream({async pull(fd){try{const{done:md,value:vd}=await ld.next();if(md){pd(),fd.close();return}let Ad=vd.byteLength;if(nd){let Nd=ud+=Ad;nd(Nd)}fd.enqueue(new Uint8Array(vd))}catch(md){throw pd(md),md}},cancel(fd){return pd(fd),ld.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(Ra=>qa=>Ra.encode(qa))(new TextEncoder):async Ra=>new Uint8Array(await new Response(Ra).arrayBuffer())),test=(Ra,...qa)=>{try{return!!Ra(...qa)}catch{return!1}},supportsRequestStream=isReadableStreamSupported&&test(()=>{let Ra=!1;const qa=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return Ra=!0,"half"}}).headers.has("Content-Type");return Ra&&!qa}),DEFAULT_CHUNK_SIZE$1=64*1024,supportsResponseStream=isReadableStreamSupported&&test(()=>utils$2.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(Ra=>Ra.body)};isFetchSupported&&(Ra=>{["text","arrayBuffer","blob","formData","stream"].forEach(qa=>{!resolvers[qa]&&(resolvers[qa]=utils$2.isFunction(Ra[qa])?nd=>nd[qa]():(nd,od)=>{throw new AxiosError(`Response type '${qa}' is not supported`,AxiosError.ERR_NOT_SUPPORT,od)})})})(new Response);const getBodyLength=async Ra=>{if(Ra==null)return 0;if(utils$2.isBlob(Ra))return Ra.size;if(utils$2.isSpecCompliantForm(Ra))return(await new Request(platform.origin,{method:"POST",body:Ra}).arrayBuffer()).byteLength;if(utils$2.isArrayBufferView(Ra)||utils$2.isArrayBuffer(Ra))return Ra.byteLength;if(utils$2.isURLSearchParams(Ra)&&(Ra=Ra+""),utils$2.isString(Ra))return(await encodeText(Ra)).byteLength},resolveBodyLength=async(Ra,qa)=>{const nd=utils$2.toFiniteNumber(Ra.getContentLength());return nd??getBodyLength(qa)},fetchAdapter=isFetchSupported&&(async Ra=>{let{url:qa,method:nd,data:od,signal:ld,cancelToken:ud,timeout:dd,onDownloadProgress:pd,onUploadProgress:fd,responseType:md,headers:vd,withCredentials:Ad="same-origin",fetchOptions:Nd}=resolveConfig(Ra);md=md?(md+"").toLowerCase():"text";let Od=composeSignals([ld,ud&&ud.toAbortSignal()],dd),kd;const Ld=Od&&Od.unsubscribe&&(()=>{Od.unsubscribe()});let Gd;try{if(fd&&supportsRequestStream&&nd!=="get"&&nd!=="head"&&(Gd=await resolveBodyLength(vd,od))!==0){let zd=new Request(qa,{method:"POST",body:od,duplex:"half"}),Wd;if(utils$2.isFormData(od)&&(Wd=zd.headers.get("content-type"))&&vd.setContentType(Wd),zd.body){const[Jd,_f]=progressEventDecorator(Gd,progressEventReducer(asyncDecorator(fd)));od=trackStream(zd.body,DEFAULT_CHUNK_SIZE$1,Jd,_f)}}utils$2.isString(Ad)||(Ad=Ad?"include":"omit");const jd="credentials"in Request.prototype;kd=new Request(qa,{...Nd,signal:Od,method:nd.toUpperCase(),headers:vd.normalize().toJSON(),body:od,duplex:"half",credentials:jd?Ad:void 0});let Fd=await fetch(kd);const Ud=supportsResponseStream&&(md==="stream"||md==="response");if(supportsResponseStream&&(pd||Ud&&Ld)){const zd={};["status","statusText","headers"].forEach(Xd=>{zd[Xd]=Fd[Xd]});const Wd=utils$2.toFiniteNumber(Fd.headers.get("content-length")),[Jd,_f]=pd&&progressEventDecorator(Wd,progressEventReducer(asyncDecorator(pd),!0))||[];Fd=new Response(trackStream(Fd.body,DEFAULT_CHUNK_SIZE$1,Jd,()=>{_f&&_f(),Ld&&Ld()}),zd)}md=md||"text";let qd=await resolvers[utils$2.findKey(resolvers,md)||"text"](Fd,Ra);return!Ud&&Ld&&Ld(),await new Promise((zd,Wd)=>{settle(zd,Wd,{data:qd,headers:AxiosHeaders.from(Fd.headers),status:Fd.status,statusText:Fd.statusText,config:Ra,request:kd})})}catch(jd){throw Ld&&Ld(),jd&&jd.name==="TypeError"&&/fetch/i.test(jd.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,kd),{cause:jd.cause||jd}):AxiosError.from(jd,jd&&jd.code,Ra,kd)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$2.forEach(knownAdapters,(Ra,qa)=>{if(Ra){try{Object.defineProperty(Ra,"name",{value:qa})}catch{}Object.defineProperty(Ra,"adapterName",{value:qa})}});const renderReason=Ra=>`- ${Ra}`,isResolvedHandle=Ra=>utils$2.isFunction(Ra)||Ra===null||Ra===!1,adapters={getAdapter:Ra=>{Ra=utils$2.isArray(Ra)?Ra:[Ra];const{length:qa}=Ra;let nd,od;const ld={};for(let ud=0;ud`adapter ${pd} `+(fd===!1?"is not supported by the environment":"is not available in the build"));let dd=qa?ud.length>1?`since : `+ud.map(renderReason).join(` @@ -1173,7 +1173,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * Counter block mode compatible with Dr Brian Gladman fileenc.c * derived from CryptoJS.mode.CTR * Jan Hruby jhruby.web@gmail.com - */return nd.mode.CTRGladman=function(){var od=nd.lib.BlockCipherMode.extend();function ld(pd){if((pd>>24&255)===255){var fd=pd>>16&255,md=pd>>8&255,vd=pd&255;fd===255?(fd=0,md===255?(md=0,vd===255?vd=0:++vd):++md):++fd,pd=0,pd+=fd<<16,pd+=md<<8,pd+=vd}else pd+=1<<24;return pd}function ud(pd){return(pd[0]=ld(pd[0]))===0&&(pd[1]=ld(pd[1])),pd}var dd=od.Encryptor=od.extend({processBlock:function(pd,fd){var md=this._cipher,vd=md.blockSize,Ad=this._iv,Nd=this._counter;Ad&&(Nd=this._counter=Ad.slice(0),this._iv=void 0),ud(Nd);var Od=Nd.slice(0);md.encryptBlock(Od,0);for(var kd=0;kd>>2]|=pd<<24-fd%4*8,od.sigBytes+=pd},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso10126={pad:function(od,ld){var ud=ld*4,dd=ud-od.sigBytes%ud;od.concat(nd.lib.WordArray.random(dd-1)).concat(nd.lib.WordArray.create([dd<<24],1))},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso97971={pad:function(od,ld){od.concat(nd.lib.WordArray.create([2147483648],1)),nd.pad.ZeroPadding.pad(od,ld)},unpad:function(od){nd.pad.ZeroPadding.unpad(od),od.sigBytes--}},nd.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.ZeroPadding={pad:function(od,ld){var ud=ld*4;od.clamp(),od.sigBytes+=ud-(od.sigBytes%ud||ud)},unpad:function(od){for(var ld=od.words,ud=od.sigBytes-1,ud=od.sigBytes-1;ud>=0;ud--)if(ld[ud>>>2]>>>24-ud%4*8&255){od.sigBytes=ud+1;break}}},nd.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.NoPadding={pad:function(){},unpad:function(){}},nd.pad.NoPadding})}(padNopadding)),padNopadding.exports}var formatHex={exports:{}},hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.CipherParams,pd=ld.enc,fd=pd.Hex,md=ld.format;md.Hex={stringify:function(vd){return vd.ciphertext.toString(fd)},parse:function(vd){var Ad=fd.parse(vd);return dd.create({ciphertext:Ad})}}}(),nd.format.Hex})}(formatHex)),formatHex.exports}var aes={exports:{}},hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,dd=od.algo,pd=[],fd=[],md=[],vd=[],Ad=[],Nd=[],Od=[],kd=[],Ld=[],Gd=[];(function(){for(var Ud=[],qd=0;qd<256;qd++)qd<128?Ud[qd]=qd<<1:Ud[qd]=qd<<1^283;for(var zd=0,Wd=0,qd=0;qd<256;qd++){var Jd=Wd^Wd<<1^Wd<<2^Wd<<3^Wd<<4;Jd=Jd>>>8^Jd&255^99,pd[zd]=Jd,fd[Jd]=zd;var _f=Ud[zd],Xd=Ud[_f],pf=Ud[Xd],mf=Ud[Jd]*257^Jd*16843008;md[zd]=mf<<24|mf>>>8,vd[zd]=mf<<16|mf>>>16,Ad[zd]=mf<<8|mf>>>24,Nd[zd]=mf;var mf=pf*16843009^Xd*65537^_f*257^zd*16843008;Od[Jd]=mf<<24|mf>>>8,kd[Jd]=mf<<16|mf>>>16,Ld[Jd]=mf<<8|mf>>>24,Gd[Jd]=mf,zd?(zd=_f^Ud[Ud[Ud[pf^_f]]],Wd^=Ud[Ud[Wd]]):zd=Wd=1}})();var jd=[0,1,2,4,8,16,32,64,128,27,54],Fd=dd.AES=ud.extend({_doReset:function(){var Ud;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var qd=this._keyPriorReset=this._key,zd=qd.words,Wd=qd.sigBytes/4,Jd=this._nRounds=Wd+6,_f=(Jd+1)*4,Xd=this._keySchedule=[],pf=0;pf<_f;pf++)pf6&&pf%Wd==4&&(Ud=pd[Ud>>>24]<<24|pd[Ud>>>16&255]<<16|pd[Ud>>>8&255]<<8|pd[Ud&255]):(Ud=Ud<<8|Ud>>>24,Ud=pd[Ud>>>24]<<24|pd[Ud>>>16&255]<<16|pd[Ud>>>8&255]<<8|pd[Ud&255],Ud^=jd[pf/Wd|0]<<24),Xd[pf]=Xd[pf-Wd]^Ud);for(var mf=this._invKeySchedule=[],Sf=0;Sf<_f;Sf++){var pf=_f-Sf;if(Sf%4)var Ud=Xd[pf];else var Ud=Xd[pf-4];Sf<4||pf<=4?mf[Sf]=Ud:mf[Sf]=Od[pd[Ud>>>24]]^kd[pd[Ud>>>16&255]]^Ld[pd[Ud>>>8&255]]^Gd[pd[Ud&255]]}}},encryptBlock:function(Ud,qd){this._doCryptBlock(Ud,qd,this._keySchedule,md,vd,Ad,Nd,pd)},decryptBlock:function(Ud,qd){var zd=Ud[qd+1];Ud[qd+1]=Ud[qd+3],Ud[qd+3]=zd,this._doCryptBlock(Ud,qd,this._invKeySchedule,Od,kd,Ld,Gd,fd);var zd=Ud[qd+1];Ud[qd+1]=Ud[qd+3],Ud[qd+3]=zd},_doCryptBlock:function(Ud,qd,zd,Wd,Jd,_f,Xd,pf){for(var mf=this._nRounds,Sf=Ud[qd]^zd[0],Tf=Ud[qd+1]^zd[1],Af=Ud[qd+2]^zd[2],Ef=Ud[qd+3]^zd[3],Nf=4,If=1;If>>24]^Jd[Tf>>>16&255]^_f[Af>>>8&255]^Xd[Ef&255]^zd[Nf++],Qf=Wd[Tf>>>24]^Jd[Af>>>16&255]^_f[Ef>>>8&255]^Xd[Sf&255]^zd[Nf++],Xf=Wd[Af>>>24]^Jd[Ef>>>16&255]^_f[Sf>>>8&255]^Xd[Tf&255]^zd[Nf++],ph=Wd[Ef>>>24]^Jd[Sf>>>16&255]^_f[Tf>>>8&255]^Xd[Af&255]^zd[Nf++];Sf=Gf,Tf=Qf,Af=Xf,Ef=ph}var Gf=(pf[Sf>>>24]<<24|pf[Tf>>>16&255]<<16|pf[Af>>>8&255]<<8|pf[Ef&255])^zd[Nf++],Qf=(pf[Tf>>>24]<<24|pf[Af>>>16&255]<<16|pf[Ef>>>8&255]<<8|pf[Sf&255])^zd[Nf++],Xf=(pf[Af>>>24]<<24|pf[Ef>>>16&255]<<16|pf[Sf>>>8&255]<<8|pf[Tf&255])^zd[Nf++],ph=(pf[Ef>>>24]<<24|pf[Sf>>>16&255]<<16|pf[Tf>>>8&255]<<8|pf[Af&255])^zd[Nf++];Ud[qd]=Gf,Ud[qd+1]=Qf,Ud[qd+2]=Xf,Ud[qd+3]=ph},keySize:256/32});od.AES=ud._createHelper(Fd)}(),nd.AES})}(aes)),aes.exports}var tripledes={exports:{}},hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=ld.BlockCipher,pd=od.algo,fd=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],md=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],vd=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],Ad=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Nd=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Od=pd.DES=dd.extend({_doReset:function(){for(var jd=this._key,Fd=jd.words,Ud=[],qd=0;qd<56;qd++){var zd=fd[qd]-1;Ud[qd]=Fd[zd>>>5]>>>31-zd%32&1}for(var Wd=this._subKeys=[],Jd=0;Jd<16;Jd++){for(var _f=Wd[Jd]=[],Xd=vd[Jd],qd=0;qd<24;qd++)_f[qd/6|0]|=Ud[(md[qd]-1+Xd)%28]<<31-qd%6,_f[4+(qd/6|0)]|=Ud[28+(md[qd+24]-1+Xd)%28]<<31-qd%6;_f[0]=_f[0]<<1|_f[0]>>>31;for(var qd=1;qd<7;qd++)_f[qd]=_f[qd]>>>(qd-1)*4+3;_f[7]=_f[7]<<5|_f[7]>>>27}for(var pf=this._invSubKeys=[],qd=0;qd<16;qd++)pf[qd]=Wd[15-qd]},encryptBlock:function(jd,Fd){this._doCryptBlock(jd,Fd,this._subKeys)},decryptBlock:function(jd,Fd){this._doCryptBlock(jd,Fd,this._invSubKeys)},_doCryptBlock:function(jd,Fd,Ud){this._lBlock=jd[Fd],this._rBlock=jd[Fd+1],kd.call(this,4,252645135),kd.call(this,16,65535),Ld.call(this,2,858993459),Ld.call(this,8,16711935),kd.call(this,1,1431655765);for(var qd=0;qd<16;qd++){for(var zd=Ud[qd],Wd=this._lBlock,Jd=this._rBlock,_f=0,Xd=0;Xd<8;Xd++)_f|=Ad[Xd][((Jd^zd[Xd])&Nd[Xd])>>>0];this._lBlock=Jd,this._rBlock=Wd^_f}var pf=this._lBlock;this._lBlock=this._rBlock,this._rBlock=pf,kd.call(this,1,1431655765),Ld.call(this,8,16711935),Ld.call(this,2,858993459),kd.call(this,16,65535),kd.call(this,4,252645135),jd[Fd]=this._lBlock,jd[Fd+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function kd(jd,Fd){var Ud=(this._lBlock>>>jd^this._rBlock)&Fd;this._rBlock^=Ud,this._lBlock^=Ud<>>jd^this._lBlock)&Fd;this._lBlock^=Ud,this._rBlock^=Ud<192.");var Ud=Fd.slice(0,2),qd=Fd.length<4?Fd.slice(0,2):Fd.slice(2,4),zd=Fd.length<6?Fd.slice(0,2):Fd.slice(4,6);this._des1=Od.createEncryptor(ud.create(Ud)),this._des2=Od.createEncryptor(ud.create(qd)),this._des3=Od.createEncryptor(ud.create(zd))},encryptBlock:function(jd,Fd){this._des1.encryptBlock(jd,Fd),this._des2.decryptBlock(jd,Fd),this._des3.encryptBlock(jd,Fd)},decryptBlock:function(jd,Fd){this._des3.decryptBlock(jd,Fd),this._des2.encryptBlock(jd,Fd),this._des1.decryptBlock(jd,Fd)},keySize:192/32,ivSize:64/32,blockSize:64/32});od.TripleDES=dd._createHelper(Gd)}(),nd.TripleDES})}(tripledes)),tripledes.exports}var rc4={exports:{}},hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=dd.RC4=ud.extend({_doReset:function(){for(var vd=this._key,Ad=vd.words,Nd=vd.sigBytes,Od=this._S=[],kd=0;kd<256;kd++)Od[kd]=kd;for(var kd=0,Ld=0;kd<256;kd++){var Gd=kd%Nd,jd=Ad[Gd>>>2]>>>24-Gd%4*8&255;Ld=(Ld+Od[kd]+jd)%256;var Fd=Od[kd];Od[kd]=Od[Ld],Od[Ld]=Fd}this._i=this._j=0},_doProcessBlock:function(vd,Ad){vd[Ad]^=fd.call(this)},keySize:256/32,ivSize:0});function fd(){for(var vd=this._S,Ad=this._i,Nd=this._j,Od=0,kd=0;kd<4;kd++){Ad=(Ad+1)%256,Nd=(Nd+vd[Ad])%256;var Ld=vd[Ad];vd[Ad]=vd[Nd],vd[Nd]=Ld,Od|=vd[(vd[Ad]+vd[Nd])%256]<<24-kd*8}return this._i=Ad,this._j=Nd,Od}od.RC4=ud._createHelper(pd);var md=dd.RC4Drop=pd.extend({cfg:pd.cfg.extend({drop:192}),_doReset:function(){pd._doReset.call(this);for(var vd=this.cfg.drop;vd>0;vd--)fd.call(this)}});od.RC4Drop=ud._createHelper(md)}(),nd.RC4})}(rc4)),rc4.exports}var rabbit={exports:{}},hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=[],fd=[],md=[],vd=dd.Rabbit=ud.extend({_doReset:function(){for(var Nd=this._key.words,Od=this.cfg.iv,kd=0;kd<4;kd++)Nd[kd]=(Nd[kd]<<8|Nd[kd]>>>24)&16711935|(Nd[kd]<<24|Nd[kd]>>>8)&4278255360;var Ld=this._X=[Nd[0],Nd[3]<<16|Nd[2]>>>16,Nd[1],Nd[0]<<16|Nd[3]>>>16,Nd[2],Nd[1]<<16|Nd[0]>>>16,Nd[3],Nd[2]<<16|Nd[1]>>>16],Gd=this._C=[Nd[2]<<16|Nd[2]>>>16,Nd[0]&4294901760|Nd[1]&65535,Nd[3]<<16|Nd[3]>>>16,Nd[1]&4294901760|Nd[2]&65535,Nd[0]<<16|Nd[0]>>>16,Nd[2]&4294901760|Nd[3]&65535,Nd[1]<<16|Nd[1]>>>16,Nd[3]&4294901760|Nd[0]&65535];this._b=0;for(var kd=0;kd<4;kd++)Ad.call(this);for(var kd=0;kd<8;kd++)Gd[kd]^=Ld[kd+4&7];if(Od){var jd=Od.words,Fd=jd[0],Ud=jd[1],qd=(Fd<<8|Fd>>>24)&16711935|(Fd<<24|Fd>>>8)&4278255360,zd=(Ud<<8|Ud>>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360,Wd=qd>>>16|zd&4294901760,Jd=zd<<16|qd&65535;Gd[0]^=qd,Gd[1]^=Wd,Gd[2]^=zd,Gd[3]^=Jd,Gd[4]^=qd,Gd[5]^=Wd,Gd[6]^=zd,Gd[7]^=Jd;for(var kd=0;kd<4;kd++)Ad.call(this)}},_doProcessBlock:function(Nd,Od){var kd=this._X;Ad.call(this),pd[0]=kd[0]^kd[5]>>>16^kd[3]<<16,pd[1]=kd[2]^kd[7]>>>16^kd[5]<<16,pd[2]=kd[4]^kd[1]>>>16^kd[7]<<16,pd[3]=kd[6]^kd[3]>>>16^kd[1]<<16;for(var Ld=0;Ld<4;Ld++)pd[Ld]=(pd[Ld]<<8|pd[Ld]>>>24)&16711935|(pd[Ld]<<24|pd[Ld]>>>8)&4278255360,Nd[Od+Ld]^=pd[Ld]},blockSize:128/32,ivSize:64/32});function Ad(){for(var Nd=this._X,Od=this._C,kd=0;kd<8;kd++)fd[kd]=Od[kd];Od[0]=Od[0]+1295307597+this._b|0,Od[1]=Od[1]+3545052371+(Od[0]>>>0>>0?1:0)|0,Od[2]=Od[2]+886263092+(Od[1]>>>0>>0?1:0)|0,Od[3]=Od[3]+1295307597+(Od[2]>>>0>>0?1:0)|0,Od[4]=Od[4]+3545052371+(Od[3]>>>0>>0?1:0)|0,Od[5]=Od[5]+886263092+(Od[4]>>>0>>0?1:0)|0,Od[6]=Od[6]+1295307597+(Od[5]>>>0>>0?1:0)|0,Od[7]=Od[7]+3545052371+(Od[6]>>>0>>0?1:0)|0,this._b=Od[7]>>>0>>0?1:0;for(var kd=0;kd<8;kd++){var Ld=Nd[kd]+Od[kd],Gd=Ld&65535,jd=Ld>>>16,Fd=((Gd*Gd>>>17)+Gd*jd>>>15)+jd*jd,Ud=((Ld&4294901760)*Ld|0)+((Ld&65535)*Ld|0);md[kd]=Fd^Ud}Nd[0]=md[0]+(md[7]<<16|md[7]>>>16)+(md[6]<<16|md[6]>>>16)|0,Nd[1]=md[1]+(md[0]<<8|md[0]>>>24)+md[7]|0,Nd[2]=md[2]+(md[1]<<16|md[1]>>>16)+(md[0]<<16|md[0]>>>16)|0,Nd[3]=md[3]+(md[2]<<8|md[2]>>>24)+md[1]|0,Nd[4]=md[4]+(md[3]<<16|md[3]>>>16)+(md[2]<<16|md[2]>>>16)|0,Nd[5]=md[5]+(md[4]<<8|md[4]>>>24)+md[3]|0,Nd[6]=md[6]+(md[5]<<16|md[5]>>>16)+(md[4]<<16|md[4]>>>16)|0,Nd[7]=md[7]+(md[6]<<8|md[6]>>>24)+md[5]|0}od.Rabbit=ud._createHelper(vd)}(),nd.Rabbit})}(rabbit)),rabbit.exports}var rabbitLegacy={exports:{}},hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=[],fd=[],md=[],vd=dd.RabbitLegacy=ud.extend({_doReset:function(){var Nd=this._key.words,Od=this.cfg.iv,kd=this._X=[Nd[0],Nd[3]<<16|Nd[2]>>>16,Nd[1],Nd[0]<<16|Nd[3]>>>16,Nd[2],Nd[1]<<16|Nd[0]>>>16,Nd[3],Nd[2]<<16|Nd[1]>>>16],Ld=this._C=[Nd[2]<<16|Nd[2]>>>16,Nd[0]&4294901760|Nd[1]&65535,Nd[3]<<16|Nd[3]>>>16,Nd[1]&4294901760|Nd[2]&65535,Nd[0]<<16|Nd[0]>>>16,Nd[2]&4294901760|Nd[3]&65535,Nd[1]<<16|Nd[1]>>>16,Nd[3]&4294901760|Nd[0]&65535];this._b=0;for(var Gd=0;Gd<4;Gd++)Ad.call(this);for(var Gd=0;Gd<8;Gd++)Ld[Gd]^=kd[Gd+4&7];if(Od){var jd=Od.words,Fd=jd[0],Ud=jd[1],qd=(Fd<<8|Fd>>>24)&16711935|(Fd<<24|Fd>>>8)&4278255360,zd=(Ud<<8|Ud>>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360,Wd=qd>>>16|zd&4294901760,Jd=zd<<16|qd&65535;Ld[0]^=qd,Ld[1]^=Wd,Ld[2]^=zd,Ld[3]^=Jd,Ld[4]^=qd,Ld[5]^=Wd,Ld[6]^=zd,Ld[7]^=Jd;for(var Gd=0;Gd<4;Gd++)Ad.call(this)}},_doProcessBlock:function(Nd,Od){var kd=this._X;Ad.call(this),pd[0]=kd[0]^kd[5]>>>16^kd[3]<<16,pd[1]=kd[2]^kd[7]>>>16^kd[5]<<16,pd[2]=kd[4]^kd[1]>>>16^kd[7]<<16,pd[3]=kd[6]^kd[3]>>>16^kd[1]<<16;for(var Ld=0;Ld<4;Ld++)pd[Ld]=(pd[Ld]<<8|pd[Ld]>>>24)&16711935|(pd[Ld]<<24|pd[Ld]>>>8)&4278255360,Nd[Od+Ld]^=pd[Ld]},blockSize:128/32,ivSize:64/32});function Ad(){for(var Nd=this._X,Od=this._C,kd=0;kd<8;kd++)fd[kd]=Od[kd];Od[0]=Od[0]+1295307597+this._b|0,Od[1]=Od[1]+3545052371+(Od[0]>>>0>>0?1:0)|0,Od[2]=Od[2]+886263092+(Od[1]>>>0>>0?1:0)|0,Od[3]=Od[3]+1295307597+(Od[2]>>>0>>0?1:0)|0,Od[4]=Od[4]+3545052371+(Od[3]>>>0>>0?1:0)|0,Od[5]=Od[5]+886263092+(Od[4]>>>0>>0?1:0)|0,Od[6]=Od[6]+1295307597+(Od[5]>>>0>>0?1:0)|0,Od[7]=Od[7]+3545052371+(Od[6]>>>0>>0?1:0)|0,this._b=Od[7]>>>0>>0?1:0;for(var kd=0;kd<8;kd++){var Ld=Nd[kd]+Od[kd],Gd=Ld&65535,jd=Ld>>>16,Fd=((Gd*Gd>>>17)+Gd*jd>>>15)+jd*jd,Ud=((Ld&4294901760)*Ld|0)+((Ld&65535)*Ld|0);md[kd]=Fd^Ud}Nd[0]=md[0]+(md[7]<<16|md[7]>>>16)+(md[6]<<16|md[6]>>>16)|0,Nd[1]=md[1]+(md[0]<<8|md[0]>>>24)+md[7]|0,Nd[2]=md[2]+(md[1]<<16|md[1]>>>16)+(md[0]<<16|md[0]>>>16)|0,Nd[3]=md[3]+(md[2]<<8|md[2]>>>24)+md[1]|0,Nd[4]=md[4]+(md[3]<<16|md[3]>>>16)+(md[2]<<16|md[2]>>>16)|0,Nd[5]=md[5]+(md[4]<<8|md[4]>>>24)+md[3]|0,Nd[6]=md[6]+(md[5]<<16|md[5]>>>16)+(md[4]<<16|md[4]>>>16)|0,Nd[7]=md[7]+(md[6]<<8|md[6]>>>24)+md[5]|0}od.RabbitLegacy=ud._createHelper(vd)}(),nd.RabbitLegacy})}(rabbitLegacy)),rabbitLegacy.exports}var blowfish={exports:{}},hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,dd=od.algo;const pd=16,fd=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],md=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var vd={pbox:[],sbox:[]};function Ad(Gd,jd){let Fd=jd>>24&255,Ud=jd>>16&255,qd=jd>>8&255,zd=jd&255,Wd=Gd.sbox[0][Fd]+Gd.sbox[1][Ud];return Wd=Wd^Gd.sbox[2][qd],Wd=Wd+Gd.sbox[3][zd],Wd}function Nd(Gd,jd,Fd){let Ud=jd,qd=Fd,zd;for(let Wd=0;Wd1;--Wd)Ud=Ud^Gd.pbox[Wd],qd=Ad(Gd,Ud)^qd,zd=Ud,Ud=qd,qd=zd;return zd=Ud,Ud=qd,qd=zd,qd=qd^Gd.pbox[1],Ud=Ud^Gd.pbox[0],{left:Ud,right:qd}}function kd(Gd,jd,Fd){for(let Jd=0;Jd<4;Jd++){Gd.sbox[Jd]=[];for(let _f=0;_f<256;_f++)Gd.sbox[Jd][_f]=md[Jd][_f]}let Ud=0;for(let Jd=0;Jd=Fd&&(Ud=0);let qd=0,zd=0,Wd=0;for(let Jd=0;Jd2){var fd=nd.lastIndexOf("/");if(fd!==nd.length-1){fd===-1?(nd="",od=0):(nd=nd.slice(0,fd),od=nd.length-1-nd.lastIndexOf("/")),ld=pd,ud=0;continue}}else if(nd.length===2||nd.length===1){nd="",od=0,ld=pd,ud=0;continue}}qa&&(nd.length>0?nd+="/..":nd="..",od=2)}else nd.length>0?nd+="/"+Ra.slice(ld+1,pd):nd=Ra.slice(ld+1,pd),od=pd-ld-1;ld=pd,ud=0}else dd===46&&ud!==-1?++ud:ud=-1}return nd}function _format(Ra,qa){var nd=qa.dir||qa.root,od=qa.base||(qa.name||"")+(qa.ext||"");return nd?nd===qa.root?nd+od:nd+Ra+od:od}var posix={resolve:function(){for(var qa="",nd=!1,od,ld=arguments.length-1;ld>=-1&&!nd;ld--){var ud;ld>=0?ud=arguments[ld]:(od===void 0&&(od=define_process_default$6.cwd()),ud=od),assertPath(ud),ud.length!==0&&(qa=ud+"/"+qa,nd=ud.charCodeAt(0)===47)}return qa=normalizeStringPosix(qa,!nd),nd?qa.length>0?"/"+qa:"/":qa.length>0?qa:"."},normalize:function(qa){if(assertPath(qa),qa.length===0)return".";var nd=qa.charCodeAt(0)===47,od=qa.charCodeAt(qa.length-1)===47;return qa=normalizeStringPosix(qa,!nd),qa.length===0&&!nd&&(qa="."),qa.length>0&&od&&(qa+="/"),nd?"/"+qa:qa},isAbsolute:function(qa){return assertPath(qa),qa.length>0&&qa.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var qa,nd=0;nd0&&(qa===void 0?qa=od:qa+="/"+od)}return qa===void 0?".":posix.normalize(qa)},relative:function(qa,nd){if(assertPath(qa),assertPath(nd),qa===nd||(qa=posix.resolve(qa),nd=posix.resolve(nd),qa===nd))return"";for(var od=1;odmd){if(nd.charCodeAt(dd+Ad)===47)return nd.slice(dd+Ad+1);if(Ad===0)return nd.slice(dd+Ad)}else ud>md&&(qa.charCodeAt(od+Ad)===47?vd=Ad:Ad===0&&(vd=0));break}var Nd=qa.charCodeAt(od+Ad),Od=nd.charCodeAt(dd+Ad);if(Nd!==Od)break;Nd===47&&(vd=Ad)}var kd="";for(Ad=od+vd+1;Ad<=ld;++Ad)(Ad===ld||qa.charCodeAt(Ad)===47)&&(kd.length===0?kd+="..":kd+="/..");return kd.length>0?kd+nd.slice(dd+vd):(dd+=vd,nd.charCodeAt(dd)===47&&++dd,nd.slice(dd))},_makeLong:function(qa){return qa},dirname:function(qa){if(assertPath(qa),qa.length===0)return".";for(var nd=qa.charCodeAt(0),od=nd===47,ld=-1,ud=!0,dd=qa.length-1;dd>=1;--dd)if(nd=qa.charCodeAt(dd),nd===47){if(!ud){ld=dd;break}}else ud=!1;return ld===-1?od?"/":".":od&&ld===1?"//":qa.slice(0,ld)},basename:function(qa,nd){if(nd!==void 0&&typeof nd!="string")throw new TypeError('"ext" argument must be a string');assertPath(qa);var od=0,ld=-1,ud=!0,dd;if(nd!==void 0&&nd.length>0&&nd.length<=qa.length){if(nd.length===qa.length&&nd===qa)return"";var pd=nd.length-1,fd=-1;for(dd=qa.length-1;dd>=0;--dd){var md=qa.charCodeAt(dd);if(md===47){if(!ud){od=dd+1;break}}else fd===-1&&(ud=!1,fd=dd+1),pd>=0&&(md===nd.charCodeAt(pd)?--pd===-1&&(ld=dd):(pd=-1,ld=fd))}return od===ld?ld=fd:ld===-1&&(ld=qa.length),qa.slice(od,ld)}else{for(dd=qa.length-1;dd>=0;--dd)if(qa.charCodeAt(dd)===47){if(!ud){od=dd+1;break}}else ld===-1&&(ud=!1,ld=dd+1);return ld===-1?"":qa.slice(od,ld)}},extname:function(qa){assertPath(qa);for(var nd=-1,od=0,ld=-1,ud=!0,dd=0,pd=qa.length-1;pd>=0;--pd){var fd=qa.charCodeAt(pd);if(fd===47){if(!ud){od=pd+1;break}continue}ld===-1&&(ud=!1,ld=pd+1),fd===46?nd===-1?nd=pd:dd!==1&&(dd=1):nd!==-1&&(dd=-1)}return nd===-1||ld===-1||dd===0||dd===1&&nd===ld-1&&nd===od+1?"":qa.slice(nd,ld)},format:function(qa){if(qa===null||typeof qa!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof qa);return _format("/",qa)},parse:function(qa){assertPath(qa);var nd={root:"",dir:"",base:"",ext:"",name:""};if(qa.length===0)return nd;var od=qa.charCodeAt(0),ld=od===47,ud;ld?(nd.root="/",ud=1):ud=0;for(var dd=-1,pd=0,fd=-1,md=!0,vd=qa.length-1,Ad=0;vd>=ud;--vd){if(od=qa.charCodeAt(vd),od===47){if(!md){pd=vd+1;break}continue}fd===-1&&(md=!1,fd=vd+1),od===46?dd===-1?dd=vd:Ad!==1&&(Ad=1):dd!==-1&&(Ad=-1)}return dd===-1||fd===-1||Ad===0||Ad===1&&dd===fd-1&&dd===pd+1?fd!==-1&&(pd===0&&ld?nd.base=nd.name=qa.slice(1,fd):nd.base=nd.name=qa.slice(pd,fd)):(pd===0&&ld?(nd.name=qa.slice(1,dd),nd.base=qa.slice(1,fd)):(nd.name=qa.slice(pd,dd),nd.base=qa.slice(pd,fd)),nd.ext=qa.slice(dd,fd)),pd>0?nd.dir=qa.slice(0,pd-1):ld&&(nd.dir="/"),nd},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,define_process_default$5={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function apply(Ra,...qa){return(...nd)=>Ra(...qa,...nd)}function initialParams(Ra){return function(...qa){var nd=qa.pop();return Ra.call(this,qa,nd)}}var hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hasNextTick=typeof define_process_default$5=="object"&&typeof define_process_default$5.nextTick=="function";function fallback(Ra){setTimeout(Ra,0)}function wrap(Ra){return(qa,...nd)=>Ra(()=>qa(...nd))}var _defer$1;hasQueueMicrotask?_defer$1=queueMicrotask:hasSetImmediate?_defer$1=setImmediate:hasNextTick?_defer$1=define_process_default$5.nextTick:_defer$1=fallback;var setImmediate$1$1=wrap(_defer$1);function asyncify(Ra){return isAsync(Ra)?function(...qa){const nd=qa.pop(),od=Ra.apply(this,qa);return handlePromise(od,nd)}:initialParams(function(qa,nd){var od;try{od=Ra.apply(this,qa)}catch(ld){return nd(ld)}if(od&&typeof od.then=="function")return handlePromise(od,nd);nd(null,od)})}function handlePromise(Ra,qa){return Ra.then(nd=>{invokeCallback(qa,null,nd)},nd=>{invokeCallback(qa,nd&&(nd instanceof Error||nd.message)?nd:new Error(nd))})}function invokeCallback(Ra,qa,nd){try{Ra(qa,nd)}catch(od){setImmediate$1$1(ld=>{throw ld},od)}}function isAsync(Ra){return Ra[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(Ra){return Ra[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(Ra){return typeof Ra[Symbol.asyncIterator]=="function"}function wrapAsync(Ra){if(typeof Ra!="function")throw new Error("expected a function");return isAsync(Ra)?asyncify(Ra):Ra}function awaitify(Ra,qa){if(qa||(qa=Ra.length),!qa)throw new Error("arity is undefined");function nd(...od){return typeof od[qa-1]=="function"?Ra.apply(this,od):new Promise((ld,ud)=>{od[qa-1]=(dd,...pd)=>{if(dd)return ud(dd);ld(pd.length>1?pd:pd[0])},Ra.apply(this,od)})}return nd}function applyEach$1(Ra){return function(nd,...od){return awaitify(function(ud){var dd=this;return Ra(nd,(pd,fd)=>{wrapAsync(pd).apply(dd,od.concat(fd))},ud)})}}function _asyncMap(Ra,qa,nd,od){qa=qa||[];var ld=[],ud=0,dd=wrapAsync(nd);return Ra(qa,(pd,fd,md)=>{var vd=ud++;dd(pd,(Ad,Nd)=>{ld[vd]=Nd,md(Ad)})},pd=>{od(pd,ld)})}function isArrayLike(Ra){return Ra&&typeof Ra.length=="number"&&Ra.length>=0&&Ra.length%1===0}const breakLoop={};function once(Ra){function qa(...nd){if(Ra!==null){var od=Ra;Ra=null,od.apply(this,nd)}}return Object.assign(qa,Ra),qa}function getIterator(Ra){return Ra[Symbol.iterator]&&Ra[Symbol.iterator]()}function createArrayIterator(Ra){var qa=-1,nd=Ra.length;return function(){return++qa=qa||dd||ld||(dd=!0,Ra.next().then(({value:Nd,done:Od})=>{if(!(ud||ld)){if(dd=!1,Od){ld=!0,pd<=0&&od(null);return}pd++,nd(Nd,fd,vd),fd++,md()}}).catch(Ad))}function vd(Nd,Od){if(pd-=1,!ud){if(Nd)return Ad(Nd);if(Nd===!1){ld=!0,ud=!0;return}if(Od===breakLoop||ld&&pd<=0)return ld=!0,od(null);md()}}function Ad(Nd){ud||(dd=!1,ld=!0,od(Nd))}md()}var eachOfLimit$2=Ra=>(qa,nd,od)=>{if(od=once(od),Ra<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!qa)return od(null);if(isAsyncGenerator(qa))return asyncEachOfLimit(qa,Ra,nd,od);if(isAsyncIterable(qa))return asyncEachOfLimit(qa[Symbol.asyncIterator](),Ra,nd,od);var ld=createIterator(qa),ud=!1,dd=!1,pd=0,fd=!1;function md(Ad,Nd){if(!dd)if(pd-=1,Ad)ud=!0,od(Ad);else if(Ad===!1)ud=!0,dd=!0;else{if(Nd===breakLoop||ud&&pd<=0)return ud=!0,od(null);fd||vd()}}function vd(){for(fd=!0;pd1?ld:ld[0])}return nd[PROMISE_SYMBOL]=new Promise((od,ld)=>{Ra=od,qa=ld}),nd}function auto(Ra,qa,nd){typeof qa!="number"&&(nd=qa,qa=null),nd=once(nd||promiseCallback());var od=Object.keys(Ra).length;if(!od)return nd(null);qa||(qa=od);var ld={},ud=0,dd=!1,pd=!1,fd=Object.create(null),md=[],vd=[],Ad={};Object.keys(Ra).forEach(Ud=>{var qd=Ra[Ud];if(!Array.isArray(qd)){Nd(Ud,[qd]),vd.push(Ud);return}var zd=qd.slice(0,qd.length-1),Wd=zd.length;if(Wd===0){Nd(Ud,qd),vd.push(Ud);return}Ad[Ud]=Wd,zd.forEach(Jd=>{if(!Ra[Jd])throw new Error("async.auto task `"+Ud+"` has a non-existent dependency `"+Jd+"` in "+zd.join(", "));kd(Jd,()=>{Wd--,Wd===0&&Nd(Ud,qd)})})}),jd(),Od();function Nd(Ud,qd){md.push(()=>Gd(Ud,qd))}function Od(){if(!dd){if(md.length===0&&ud===0)return nd(null,ld);for(;md.length&&udzd()),Od()}function Gd(Ud,qd){if(!pd){var zd=onlyOnce((Jd,..._f)=>{if(ud--,Jd===!1){dd=!0;return}if(_f.length<2&&([_f]=_f),Jd){var Xd={};if(Object.keys(ld).forEach(pf=>{Xd[pf]=ld[pf]}),Xd[Ud]=_f,pd=!0,fd=Object.create(null),dd)return;nd(Jd,Xd)}else ld[Ud]=_f,Ld(Ud)});ud++;var Wd=wrapAsync(qd[qd.length-1]);qd.length>1?Wd(ld,zd):Wd(zd)}}function jd(){for(var Ud,qd=0;vd.length;)Ud=vd.pop(),qd++,Fd(Ud).forEach(zd=>{--Ad[zd]===0&&vd.push(zd)});if(qd!==od)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Fd(Ud){var qd=[];return Object.keys(Ra).forEach(zd=>{const Wd=Ra[zd];Array.isArray(Wd)&&Wd.indexOf(Ud)>=0&&qd.push(zd)}),qd}return nd[PROMISE_SYMBOL]}var FN_ARGS=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ARROW_FN_ARGS=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,FN_ARG_SPLIT=/,/,FN_ARG=/(=.+)?(\s*)$/;function stripComments(Ra){let qa="",nd=0,od=Ra.indexOf("*/");for(;nd>24&255)===255){var fd=pd>>16&255,md=pd>>8&255,vd=pd&255;fd===255?(fd=0,md===255?(md=0,vd===255?vd=0:++vd):++md):++fd,pd=0,pd+=fd<<16,pd+=md<<8,pd+=vd}else pd+=1<<24;return pd}function ud(pd){return(pd[0]=ld(pd[0]))===0&&(pd[1]=ld(pd[1])),pd}var dd=od.Encryptor=od.extend({processBlock:function(pd,fd){var md=this._cipher,vd=md.blockSize,Ad=this._iv,Nd=this._counter;Ad&&(Nd=this._counter=Ad.slice(0),this._iv=void 0),ud(Nd);var Od=Nd.slice(0);md.encryptBlock(Od,0);for(var kd=0;kd>>2]|=pd<<24-fd%4*8,od.sigBytes+=pd},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso10126={pad:function(od,ld){var ud=ld*4,dd=ud-od.sigBytes%ud;od.concat(nd.lib.WordArray.random(dd-1)).concat(nd.lib.WordArray.create([dd<<24],1))},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso97971={pad:function(od,ld){od.concat(nd.lib.WordArray.create([2147483648],1)),nd.pad.ZeroPadding.pad(od,ld)},unpad:function(od){nd.pad.ZeroPadding.unpad(od),od.sigBytes--}},nd.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.ZeroPadding={pad:function(od,ld){var ud=ld*4;od.clamp(),od.sigBytes+=ud-(od.sigBytes%ud||ud)},unpad:function(od){for(var ld=od.words,ud=od.sigBytes-1,ud=od.sigBytes-1;ud>=0;ud--)if(ld[ud>>>2]>>>24-ud%4*8&255){od.sigBytes=ud+1;break}}},nd.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.NoPadding={pad:function(){},unpad:function(){}},nd.pad.NoPadding})}(padNopadding)),padNopadding.exports}var formatHex={exports:{}},hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.CipherParams,pd=ld.enc,fd=pd.Hex,md=ld.format;md.Hex={stringify:function(vd){return vd.ciphertext.toString(fd)},parse:function(vd){var Ad=fd.parse(vd);return dd.create({ciphertext:Ad})}}}(),nd.format.Hex})}(formatHex)),formatHex.exports}var aes={exports:{}},hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,dd=od.algo,pd=[],fd=[],md=[],vd=[],Ad=[],Nd=[],Od=[],kd=[],Ld=[],Gd=[];(function(){for(var Ud=[],qd=0;qd<256;qd++)qd<128?Ud[qd]=qd<<1:Ud[qd]=qd<<1^283;for(var zd=0,Wd=0,qd=0;qd<256;qd++){var Jd=Wd^Wd<<1^Wd<<2^Wd<<3^Wd<<4;Jd=Jd>>>8^Jd&255^99,pd[zd]=Jd,fd[Jd]=zd;var _f=Ud[zd],Xd=Ud[_f],pf=Ud[Xd],mf=Ud[Jd]*257^Jd*16843008;md[zd]=mf<<24|mf>>>8,vd[zd]=mf<<16|mf>>>16,Ad[zd]=mf<<8|mf>>>24,Nd[zd]=mf;var mf=pf*16843009^Xd*65537^_f*257^zd*16843008;Od[Jd]=mf<<24|mf>>>8,kd[Jd]=mf<<16|mf>>>16,Ld[Jd]=mf<<8|mf>>>24,Gd[Jd]=mf,zd?(zd=_f^Ud[Ud[Ud[pf^_f]]],Wd^=Ud[Ud[Wd]]):zd=Wd=1}})();var jd=[0,1,2,4,8,16,32,64,128,27,54],Fd=dd.AES=ud.extend({_doReset:function(){var Ud;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var qd=this._keyPriorReset=this._key,zd=qd.words,Wd=qd.sigBytes/4,Jd=this._nRounds=Wd+6,_f=(Jd+1)*4,Xd=this._keySchedule=[],pf=0;pf<_f;pf++)pf6&&pf%Wd==4&&(Ud=pd[Ud>>>24]<<24|pd[Ud>>>16&255]<<16|pd[Ud>>>8&255]<<8|pd[Ud&255]):(Ud=Ud<<8|Ud>>>24,Ud=pd[Ud>>>24]<<24|pd[Ud>>>16&255]<<16|pd[Ud>>>8&255]<<8|pd[Ud&255],Ud^=jd[pf/Wd|0]<<24),Xd[pf]=Xd[pf-Wd]^Ud);for(var mf=this._invKeySchedule=[],Sf=0;Sf<_f;Sf++){var pf=_f-Sf;if(Sf%4)var Ud=Xd[pf];else var Ud=Xd[pf-4];Sf<4||pf<=4?mf[Sf]=Ud:mf[Sf]=Od[pd[Ud>>>24]]^kd[pd[Ud>>>16&255]]^Ld[pd[Ud>>>8&255]]^Gd[pd[Ud&255]]}}},encryptBlock:function(Ud,qd){this._doCryptBlock(Ud,qd,this._keySchedule,md,vd,Ad,Nd,pd)},decryptBlock:function(Ud,qd){var zd=Ud[qd+1];Ud[qd+1]=Ud[qd+3],Ud[qd+3]=zd,this._doCryptBlock(Ud,qd,this._invKeySchedule,Od,kd,Ld,Gd,fd);var zd=Ud[qd+1];Ud[qd+1]=Ud[qd+3],Ud[qd+3]=zd},_doCryptBlock:function(Ud,qd,zd,Wd,Jd,_f,Xd,pf){for(var mf=this._nRounds,Sf=Ud[qd]^zd[0],Tf=Ud[qd+1]^zd[1],Af=Ud[qd+2]^zd[2],Ef=Ud[qd+3]^zd[3],Nf=4,If=1;If>>24]^Jd[Tf>>>16&255]^_f[Af>>>8&255]^Xd[Ef&255]^zd[Nf++],Qf=Wd[Tf>>>24]^Jd[Af>>>16&255]^_f[Ef>>>8&255]^Xd[Sf&255]^zd[Nf++],Xf=Wd[Af>>>24]^Jd[Ef>>>16&255]^_f[Sf>>>8&255]^Xd[Tf&255]^zd[Nf++],ph=Wd[Ef>>>24]^Jd[Sf>>>16&255]^_f[Tf>>>8&255]^Xd[Af&255]^zd[Nf++];Sf=Gf,Tf=Qf,Af=Xf,Ef=ph}var Gf=(pf[Sf>>>24]<<24|pf[Tf>>>16&255]<<16|pf[Af>>>8&255]<<8|pf[Ef&255])^zd[Nf++],Qf=(pf[Tf>>>24]<<24|pf[Af>>>16&255]<<16|pf[Ef>>>8&255]<<8|pf[Sf&255])^zd[Nf++],Xf=(pf[Af>>>24]<<24|pf[Ef>>>16&255]<<16|pf[Sf>>>8&255]<<8|pf[Tf&255])^zd[Nf++],ph=(pf[Ef>>>24]<<24|pf[Sf>>>16&255]<<16|pf[Tf>>>8&255]<<8|pf[Af&255])^zd[Nf++];Ud[qd]=Gf,Ud[qd+1]=Qf,Ud[qd+2]=Xf,Ud[qd+3]=ph},keySize:256/32});od.AES=ud._createHelper(Fd)}(),nd.AES})}(aes)),aes.exports}var tripledes={exports:{}},hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=ld.BlockCipher,pd=od.algo,fd=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],md=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],vd=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],Ad=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Nd=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Od=pd.DES=dd.extend({_doReset:function(){for(var jd=this._key,Fd=jd.words,Ud=[],qd=0;qd<56;qd++){var zd=fd[qd]-1;Ud[qd]=Fd[zd>>>5]>>>31-zd%32&1}for(var Wd=this._subKeys=[],Jd=0;Jd<16;Jd++){for(var _f=Wd[Jd]=[],Xd=vd[Jd],qd=0;qd<24;qd++)_f[qd/6|0]|=Ud[(md[qd]-1+Xd)%28]<<31-qd%6,_f[4+(qd/6|0)]|=Ud[28+(md[qd+24]-1+Xd)%28]<<31-qd%6;_f[0]=_f[0]<<1|_f[0]>>>31;for(var qd=1;qd<7;qd++)_f[qd]=_f[qd]>>>(qd-1)*4+3;_f[7]=_f[7]<<5|_f[7]>>>27}for(var pf=this._invSubKeys=[],qd=0;qd<16;qd++)pf[qd]=Wd[15-qd]},encryptBlock:function(jd,Fd){this._doCryptBlock(jd,Fd,this._subKeys)},decryptBlock:function(jd,Fd){this._doCryptBlock(jd,Fd,this._invSubKeys)},_doCryptBlock:function(jd,Fd,Ud){this._lBlock=jd[Fd],this._rBlock=jd[Fd+1],kd.call(this,4,252645135),kd.call(this,16,65535),Ld.call(this,2,858993459),Ld.call(this,8,16711935),kd.call(this,1,1431655765);for(var qd=0;qd<16;qd++){for(var zd=Ud[qd],Wd=this._lBlock,Jd=this._rBlock,_f=0,Xd=0;Xd<8;Xd++)_f|=Ad[Xd][((Jd^zd[Xd])&Nd[Xd])>>>0];this._lBlock=Jd,this._rBlock=Wd^_f}var pf=this._lBlock;this._lBlock=this._rBlock,this._rBlock=pf,kd.call(this,1,1431655765),Ld.call(this,8,16711935),Ld.call(this,2,858993459),kd.call(this,16,65535),kd.call(this,4,252645135),jd[Fd]=this._lBlock,jd[Fd+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function kd(jd,Fd){var Ud=(this._lBlock>>>jd^this._rBlock)&Fd;this._rBlock^=Ud,this._lBlock^=Ud<>>jd^this._lBlock)&Fd;this._lBlock^=Ud,this._rBlock^=Ud<192.");var Ud=Fd.slice(0,2),qd=Fd.length<4?Fd.slice(0,2):Fd.slice(2,4),zd=Fd.length<6?Fd.slice(0,2):Fd.slice(4,6);this._des1=Od.createEncryptor(ud.create(Ud)),this._des2=Od.createEncryptor(ud.create(qd)),this._des3=Od.createEncryptor(ud.create(zd))},encryptBlock:function(jd,Fd){this._des1.encryptBlock(jd,Fd),this._des2.decryptBlock(jd,Fd),this._des3.encryptBlock(jd,Fd)},decryptBlock:function(jd,Fd){this._des3.decryptBlock(jd,Fd),this._des2.encryptBlock(jd,Fd),this._des1.decryptBlock(jd,Fd)},keySize:192/32,ivSize:64/32,blockSize:64/32});od.TripleDES=dd._createHelper(Gd)}(),nd.TripleDES})}(tripledes)),tripledes.exports}var rc4={exports:{}},hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=dd.RC4=ud.extend({_doReset:function(){for(var vd=this._key,Ad=vd.words,Nd=vd.sigBytes,Od=this._S=[],kd=0;kd<256;kd++)Od[kd]=kd;for(var kd=0,Ld=0;kd<256;kd++){var Gd=kd%Nd,jd=Ad[Gd>>>2]>>>24-Gd%4*8&255;Ld=(Ld+Od[kd]+jd)%256;var Fd=Od[kd];Od[kd]=Od[Ld],Od[Ld]=Fd}this._i=this._j=0},_doProcessBlock:function(vd,Ad){vd[Ad]^=fd.call(this)},keySize:256/32,ivSize:0});function fd(){for(var vd=this._S,Ad=this._i,Nd=this._j,Od=0,kd=0;kd<4;kd++){Ad=(Ad+1)%256,Nd=(Nd+vd[Ad])%256;var Ld=vd[Ad];vd[Ad]=vd[Nd],vd[Nd]=Ld,Od|=vd[(vd[Ad]+vd[Nd])%256]<<24-kd*8}return this._i=Ad,this._j=Nd,Od}od.RC4=ud._createHelper(pd);var md=dd.RC4Drop=pd.extend({cfg:pd.cfg.extend({drop:192}),_doReset:function(){pd._doReset.call(this);for(var vd=this.cfg.drop;vd>0;vd--)fd.call(this)}});od.RC4Drop=ud._createHelper(md)}(),nd.RC4})}(rc4)),rc4.exports}var rabbit={exports:{}},hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=[],fd=[],md=[],vd=dd.Rabbit=ud.extend({_doReset:function(){for(var Nd=this._key.words,Od=this.cfg.iv,kd=0;kd<4;kd++)Nd[kd]=(Nd[kd]<<8|Nd[kd]>>>24)&16711935|(Nd[kd]<<24|Nd[kd]>>>8)&4278255360;var Ld=this._X=[Nd[0],Nd[3]<<16|Nd[2]>>>16,Nd[1],Nd[0]<<16|Nd[3]>>>16,Nd[2],Nd[1]<<16|Nd[0]>>>16,Nd[3],Nd[2]<<16|Nd[1]>>>16],Gd=this._C=[Nd[2]<<16|Nd[2]>>>16,Nd[0]&4294901760|Nd[1]&65535,Nd[3]<<16|Nd[3]>>>16,Nd[1]&4294901760|Nd[2]&65535,Nd[0]<<16|Nd[0]>>>16,Nd[2]&4294901760|Nd[3]&65535,Nd[1]<<16|Nd[1]>>>16,Nd[3]&4294901760|Nd[0]&65535];this._b=0;for(var kd=0;kd<4;kd++)Ad.call(this);for(var kd=0;kd<8;kd++)Gd[kd]^=Ld[kd+4&7];if(Od){var jd=Od.words,Fd=jd[0],Ud=jd[1],qd=(Fd<<8|Fd>>>24)&16711935|(Fd<<24|Fd>>>8)&4278255360,zd=(Ud<<8|Ud>>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360,Wd=qd>>>16|zd&4294901760,Jd=zd<<16|qd&65535;Gd[0]^=qd,Gd[1]^=Wd,Gd[2]^=zd,Gd[3]^=Jd,Gd[4]^=qd,Gd[5]^=Wd,Gd[6]^=zd,Gd[7]^=Jd;for(var kd=0;kd<4;kd++)Ad.call(this)}},_doProcessBlock:function(Nd,Od){var kd=this._X;Ad.call(this),pd[0]=kd[0]^kd[5]>>>16^kd[3]<<16,pd[1]=kd[2]^kd[7]>>>16^kd[5]<<16,pd[2]=kd[4]^kd[1]>>>16^kd[7]<<16,pd[3]=kd[6]^kd[3]>>>16^kd[1]<<16;for(var Ld=0;Ld<4;Ld++)pd[Ld]=(pd[Ld]<<8|pd[Ld]>>>24)&16711935|(pd[Ld]<<24|pd[Ld]>>>8)&4278255360,Nd[Od+Ld]^=pd[Ld]},blockSize:128/32,ivSize:64/32});function Ad(){for(var Nd=this._X,Od=this._C,kd=0;kd<8;kd++)fd[kd]=Od[kd];Od[0]=Od[0]+1295307597+this._b|0,Od[1]=Od[1]+3545052371+(Od[0]>>>0>>0?1:0)|0,Od[2]=Od[2]+886263092+(Od[1]>>>0>>0?1:0)|0,Od[3]=Od[3]+1295307597+(Od[2]>>>0>>0?1:0)|0,Od[4]=Od[4]+3545052371+(Od[3]>>>0>>0?1:0)|0,Od[5]=Od[5]+886263092+(Od[4]>>>0>>0?1:0)|0,Od[6]=Od[6]+1295307597+(Od[5]>>>0>>0?1:0)|0,Od[7]=Od[7]+3545052371+(Od[6]>>>0>>0?1:0)|0,this._b=Od[7]>>>0>>0?1:0;for(var kd=0;kd<8;kd++){var Ld=Nd[kd]+Od[kd],Gd=Ld&65535,jd=Ld>>>16,Fd=((Gd*Gd>>>17)+Gd*jd>>>15)+jd*jd,Ud=((Ld&4294901760)*Ld|0)+((Ld&65535)*Ld|0);md[kd]=Fd^Ud}Nd[0]=md[0]+(md[7]<<16|md[7]>>>16)+(md[6]<<16|md[6]>>>16)|0,Nd[1]=md[1]+(md[0]<<8|md[0]>>>24)+md[7]|0,Nd[2]=md[2]+(md[1]<<16|md[1]>>>16)+(md[0]<<16|md[0]>>>16)|0,Nd[3]=md[3]+(md[2]<<8|md[2]>>>24)+md[1]|0,Nd[4]=md[4]+(md[3]<<16|md[3]>>>16)+(md[2]<<16|md[2]>>>16)|0,Nd[5]=md[5]+(md[4]<<8|md[4]>>>24)+md[3]|0,Nd[6]=md[6]+(md[5]<<16|md[5]>>>16)+(md[4]<<16|md[4]>>>16)|0,Nd[7]=md[7]+(md[6]<<8|md[6]>>>24)+md[5]|0}od.Rabbit=ud._createHelper(vd)}(),nd.Rabbit})}(rabbit)),rabbit.exports}var rabbitLegacy={exports:{}},hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=[],fd=[],md=[],vd=dd.RabbitLegacy=ud.extend({_doReset:function(){var Nd=this._key.words,Od=this.cfg.iv,kd=this._X=[Nd[0],Nd[3]<<16|Nd[2]>>>16,Nd[1],Nd[0]<<16|Nd[3]>>>16,Nd[2],Nd[1]<<16|Nd[0]>>>16,Nd[3],Nd[2]<<16|Nd[1]>>>16],Ld=this._C=[Nd[2]<<16|Nd[2]>>>16,Nd[0]&4294901760|Nd[1]&65535,Nd[3]<<16|Nd[3]>>>16,Nd[1]&4294901760|Nd[2]&65535,Nd[0]<<16|Nd[0]>>>16,Nd[2]&4294901760|Nd[3]&65535,Nd[1]<<16|Nd[1]>>>16,Nd[3]&4294901760|Nd[0]&65535];this._b=0;for(var Gd=0;Gd<4;Gd++)Ad.call(this);for(var Gd=0;Gd<8;Gd++)Ld[Gd]^=kd[Gd+4&7];if(Od){var jd=Od.words,Fd=jd[0],Ud=jd[1],qd=(Fd<<8|Fd>>>24)&16711935|(Fd<<24|Fd>>>8)&4278255360,zd=(Ud<<8|Ud>>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360,Wd=qd>>>16|zd&4294901760,Jd=zd<<16|qd&65535;Ld[0]^=qd,Ld[1]^=Wd,Ld[2]^=zd,Ld[3]^=Jd,Ld[4]^=qd,Ld[5]^=Wd,Ld[6]^=zd,Ld[7]^=Jd;for(var Gd=0;Gd<4;Gd++)Ad.call(this)}},_doProcessBlock:function(Nd,Od){var kd=this._X;Ad.call(this),pd[0]=kd[0]^kd[5]>>>16^kd[3]<<16,pd[1]=kd[2]^kd[7]>>>16^kd[5]<<16,pd[2]=kd[4]^kd[1]>>>16^kd[7]<<16,pd[3]=kd[6]^kd[3]>>>16^kd[1]<<16;for(var Ld=0;Ld<4;Ld++)pd[Ld]=(pd[Ld]<<8|pd[Ld]>>>24)&16711935|(pd[Ld]<<24|pd[Ld]>>>8)&4278255360,Nd[Od+Ld]^=pd[Ld]},blockSize:128/32,ivSize:64/32});function Ad(){for(var Nd=this._X,Od=this._C,kd=0;kd<8;kd++)fd[kd]=Od[kd];Od[0]=Od[0]+1295307597+this._b|0,Od[1]=Od[1]+3545052371+(Od[0]>>>0>>0?1:0)|0,Od[2]=Od[2]+886263092+(Od[1]>>>0>>0?1:0)|0,Od[3]=Od[3]+1295307597+(Od[2]>>>0>>0?1:0)|0,Od[4]=Od[4]+3545052371+(Od[3]>>>0>>0?1:0)|0,Od[5]=Od[5]+886263092+(Od[4]>>>0>>0?1:0)|0,Od[6]=Od[6]+1295307597+(Od[5]>>>0>>0?1:0)|0,Od[7]=Od[7]+3545052371+(Od[6]>>>0>>0?1:0)|0,this._b=Od[7]>>>0>>0?1:0;for(var kd=0;kd<8;kd++){var Ld=Nd[kd]+Od[kd],Gd=Ld&65535,jd=Ld>>>16,Fd=((Gd*Gd>>>17)+Gd*jd>>>15)+jd*jd,Ud=((Ld&4294901760)*Ld|0)+((Ld&65535)*Ld|0);md[kd]=Fd^Ud}Nd[0]=md[0]+(md[7]<<16|md[7]>>>16)+(md[6]<<16|md[6]>>>16)|0,Nd[1]=md[1]+(md[0]<<8|md[0]>>>24)+md[7]|0,Nd[2]=md[2]+(md[1]<<16|md[1]>>>16)+(md[0]<<16|md[0]>>>16)|0,Nd[3]=md[3]+(md[2]<<8|md[2]>>>24)+md[1]|0,Nd[4]=md[4]+(md[3]<<16|md[3]>>>16)+(md[2]<<16|md[2]>>>16)|0,Nd[5]=md[5]+(md[4]<<8|md[4]>>>24)+md[3]|0,Nd[6]=md[6]+(md[5]<<16|md[5]>>>16)+(md[4]<<16|md[4]>>>16)|0,Nd[7]=md[7]+(md[6]<<8|md[6]>>>24)+md[5]|0}od.RabbitLegacy=ud._createHelper(vd)}(),nd.RabbitLegacy})}(rabbitLegacy)),rabbitLegacy.exports}var blowfish={exports:{}},hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,dd=od.algo;const pd=16,fd=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],md=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var vd={pbox:[],sbox:[]};function Ad(Gd,jd){let Fd=jd>>24&255,Ud=jd>>16&255,qd=jd>>8&255,zd=jd&255,Wd=Gd.sbox[0][Fd]+Gd.sbox[1][Ud];return Wd=Wd^Gd.sbox[2][qd],Wd=Wd+Gd.sbox[3][zd],Wd}function Nd(Gd,jd,Fd){let Ud=jd,qd=Fd,zd;for(let Wd=0;Wd1;--Wd)Ud=Ud^Gd.pbox[Wd],qd=Ad(Gd,Ud)^qd,zd=Ud,Ud=qd,qd=zd;return zd=Ud,Ud=qd,qd=zd,qd=qd^Gd.pbox[1],Ud=Ud^Gd.pbox[0],{left:Ud,right:qd}}function kd(Gd,jd,Fd){for(let Jd=0;Jd<4;Jd++){Gd.sbox[Jd]=[];for(let _f=0;_f<256;_f++)Gd.sbox[Jd][_f]=md[Jd][_f]}let Ud=0;for(let Jd=0;Jd=Fd&&(Ud=0);let qd=0,zd=0,Wd=0;for(let Jd=0;Jd2){var fd=nd.lastIndexOf("/");if(fd!==nd.length-1){fd===-1?(nd="",od=0):(nd=nd.slice(0,fd),od=nd.length-1-nd.lastIndexOf("/")),ld=pd,ud=0;continue}}else if(nd.length===2||nd.length===1){nd="",od=0,ld=pd,ud=0;continue}}qa&&(nd.length>0?nd+="/..":nd="..",od=2)}else nd.length>0?nd+="/"+Ra.slice(ld+1,pd):nd=Ra.slice(ld+1,pd),od=pd-ld-1;ld=pd,ud=0}else dd===46&&ud!==-1?++ud:ud=-1}return nd}function _format(Ra,qa){var nd=qa.dir||qa.root,od=qa.base||(qa.name||"")+(qa.ext||"");return nd?nd===qa.root?nd+od:nd+Ra+od:od}var posix={resolve:function(){for(var qa="",nd=!1,od,ld=arguments.length-1;ld>=-1&&!nd;ld--){var ud;ld>=0?ud=arguments[ld]:(od===void 0&&(od=define_process_default$6.cwd()),ud=od),assertPath(ud),ud.length!==0&&(qa=ud+"/"+qa,nd=ud.charCodeAt(0)===47)}return qa=normalizeStringPosix(qa,!nd),nd?qa.length>0?"/"+qa:"/":qa.length>0?qa:"."},normalize:function(qa){if(assertPath(qa),qa.length===0)return".";var nd=qa.charCodeAt(0)===47,od=qa.charCodeAt(qa.length-1)===47;return qa=normalizeStringPosix(qa,!nd),qa.length===0&&!nd&&(qa="."),qa.length>0&&od&&(qa+="/"),nd?"/"+qa:qa},isAbsolute:function(qa){return assertPath(qa),qa.length>0&&qa.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var qa,nd=0;nd0&&(qa===void 0?qa=od:qa+="/"+od)}return qa===void 0?".":posix.normalize(qa)},relative:function(qa,nd){if(assertPath(qa),assertPath(nd),qa===nd||(qa=posix.resolve(qa),nd=posix.resolve(nd),qa===nd))return"";for(var od=1;odmd){if(nd.charCodeAt(dd+Ad)===47)return nd.slice(dd+Ad+1);if(Ad===0)return nd.slice(dd+Ad)}else ud>md&&(qa.charCodeAt(od+Ad)===47?vd=Ad:Ad===0&&(vd=0));break}var Nd=qa.charCodeAt(od+Ad),Od=nd.charCodeAt(dd+Ad);if(Nd!==Od)break;Nd===47&&(vd=Ad)}var kd="";for(Ad=od+vd+1;Ad<=ld;++Ad)(Ad===ld||qa.charCodeAt(Ad)===47)&&(kd.length===0?kd+="..":kd+="/..");return kd.length>0?kd+nd.slice(dd+vd):(dd+=vd,nd.charCodeAt(dd)===47&&++dd,nd.slice(dd))},_makeLong:function(qa){return qa},dirname:function(qa){if(assertPath(qa),qa.length===0)return".";for(var nd=qa.charCodeAt(0),od=nd===47,ld=-1,ud=!0,dd=qa.length-1;dd>=1;--dd)if(nd=qa.charCodeAt(dd),nd===47){if(!ud){ld=dd;break}}else ud=!1;return ld===-1?od?"/":".":od&&ld===1?"//":qa.slice(0,ld)},basename:function(qa,nd){if(nd!==void 0&&typeof nd!="string")throw new TypeError('"ext" argument must be a string');assertPath(qa);var od=0,ld=-1,ud=!0,dd;if(nd!==void 0&&nd.length>0&&nd.length<=qa.length){if(nd.length===qa.length&&nd===qa)return"";var pd=nd.length-1,fd=-1;for(dd=qa.length-1;dd>=0;--dd){var md=qa.charCodeAt(dd);if(md===47){if(!ud){od=dd+1;break}}else fd===-1&&(ud=!1,fd=dd+1),pd>=0&&(md===nd.charCodeAt(pd)?--pd===-1&&(ld=dd):(pd=-1,ld=fd))}return od===ld?ld=fd:ld===-1&&(ld=qa.length),qa.slice(od,ld)}else{for(dd=qa.length-1;dd>=0;--dd)if(qa.charCodeAt(dd)===47){if(!ud){od=dd+1;break}}else ld===-1&&(ud=!1,ld=dd+1);return ld===-1?"":qa.slice(od,ld)}},extname:function(qa){assertPath(qa);for(var nd=-1,od=0,ld=-1,ud=!0,dd=0,pd=qa.length-1;pd>=0;--pd){var fd=qa.charCodeAt(pd);if(fd===47){if(!ud){od=pd+1;break}continue}ld===-1&&(ud=!1,ld=pd+1),fd===46?nd===-1?nd=pd:dd!==1&&(dd=1):nd!==-1&&(dd=-1)}return nd===-1||ld===-1||dd===0||dd===1&&nd===ld-1&&nd===od+1?"":qa.slice(nd,ld)},format:function(qa){if(qa===null||typeof qa!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof qa);return _format("/",qa)},parse:function(qa){assertPath(qa);var nd={root:"",dir:"",base:"",ext:"",name:""};if(qa.length===0)return nd;var od=qa.charCodeAt(0),ld=od===47,ud;ld?(nd.root="/",ud=1):ud=0;for(var dd=-1,pd=0,fd=-1,md=!0,vd=qa.length-1,Ad=0;vd>=ud;--vd){if(od=qa.charCodeAt(vd),od===47){if(!md){pd=vd+1;break}continue}fd===-1&&(md=!1,fd=vd+1),od===46?dd===-1?dd=vd:Ad!==1&&(Ad=1):dd!==-1&&(Ad=-1)}return dd===-1||fd===-1||Ad===0||Ad===1&&dd===fd-1&&dd===pd+1?fd!==-1&&(pd===0&&ld?nd.base=nd.name=qa.slice(1,fd):nd.base=nd.name=qa.slice(pd,fd)):(pd===0&&ld?(nd.name=qa.slice(1,dd),nd.base=qa.slice(1,fd)):(nd.name=qa.slice(pd,dd),nd.base=qa.slice(pd,fd)),nd.ext=qa.slice(dd,fd)),pd>0?nd.dir=qa.slice(0,pd-1):ld&&(nd.dir="/"),nd},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,define_process_default$5={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function apply(Ra,...qa){return(...nd)=>Ra(...qa,...nd)}function initialParams(Ra){return function(...qa){var nd=qa.pop();return Ra.call(this,qa,nd)}}var hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hasNextTick=typeof define_process_default$5=="object"&&typeof define_process_default$5.nextTick=="function";function fallback(Ra){setTimeout(Ra,0)}function wrap(Ra){return(qa,...nd)=>Ra(()=>qa(...nd))}var _defer$1;hasQueueMicrotask?_defer$1=queueMicrotask:hasSetImmediate?_defer$1=setImmediate:hasNextTick?_defer$1=define_process_default$5.nextTick:_defer$1=fallback;var setImmediate$1$1=wrap(_defer$1);function asyncify(Ra){return isAsync(Ra)?function(...qa){const nd=qa.pop(),od=Ra.apply(this,qa);return handlePromise(od,nd)}:initialParams(function(qa,nd){var od;try{od=Ra.apply(this,qa)}catch(ld){return nd(ld)}if(od&&typeof od.then=="function")return handlePromise(od,nd);nd(null,od)})}function handlePromise(Ra,qa){return Ra.then(nd=>{invokeCallback(qa,null,nd)},nd=>{invokeCallback(qa,nd&&(nd instanceof Error||nd.message)?nd:new Error(nd))})}function invokeCallback(Ra,qa,nd){try{Ra(qa,nd)}catch(od){setImmediate$1$1(ld=>{throw ld},od)}}function isAsync(Ra){return Ra[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(Ra){return Ra[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(Ra){return typeof Ra[Symbol.asyncIterator]=="function"}function wrapAsync(Ra){if(typeof Ra!="function")throw new Error("expected a function");return isAsync(Ra)?asyncify(Ra):Ra}function awaitify(Ra,qa){if(qa||(qa=Ra.length),!qa)throw new Error("arity is undefined");function nd(...od){return typeof od[qa-1]=="function"?Ra.apply(this,od):new Promise((ld,ud)=>{od[qa-1]=(dd,...pd)=>{if(dd)return ud(dd);ld(pd.length>1?pd:pd[0])},Ra.apply(this,od)})}return nd}function applyEach$1(Ra){return function(nd,...od){return awaitify(function(ud){var dd=this;return Ra(nd,(pd,fd)=>{wrapAsync(pd).apply(dd,od.concat(fd))},ud)})}}function _asyncMap(Ra,qa,nd,od){qa=qa||[];var ld=[],ud=0,dd=wrapAsync(nd);return Ra(qa,(pd,fd,md)=>{var vd=ud++;dd(pd,(Ad,Nd)=>{ld[vd]=Nd,md(Ad)})},pd=>{od(pd,ld)})}function isArrayLike(Ra){return Ra&&typeof Ra.length=="number"&&Ra.length>=0&&Ra.length%1===0}const breakLoop={};function once(Ra){function qa(...nd){if(Ra!==null){var od=Ra;Ra=null,od.apply(this,nd)}}return Object.assign(qa,Ra),qa}function getIterator(Ra){return Ra[Symbol.iterator]&&Ra[Symbol.iterator]()}function createArrayIterator(Ra){var qa=-1,nd=Ra.length;return function(){return++qa=qa||dd||ld||(dd=!0,Ra.next().then(({value:Nd,done:Od})=>{if(!(ud||ld)){if(dd=!1,Od){ld=!0,pd<=0&&od(null);return}pd++,nd(Nd,fd,vd),fd++,md()}}).catch(Ad))}function vd(Nd,Od){if(pd-=1,!ud){if(Nd)return Ad(Nd);if(Nd===!1){ld=!0,ud=!0;return}if(Od===breakLoop||ld&&pd<=0)return ld=!0,od(null);md()}}function Ad(Nd){ud||(dd=!1,ld=!0,od(Nd))}md()}var eachOfLimit$2=Ra=>(qa,nd,od)=>{if(od=once(od),Ra<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!qa)return od(null);if(isAsyncGenerator(qa))return asyncEachOfLimit(qa,Ra,nd,od);if(isAsyncIterable(qa))return asyncEachOfLimit(qa[Symbol.asyncIterator](),Ra,nd,od);var ld=createIterator(qa),ud=!1,dd=!1,pd=0,fd=!1;function md(Ad,Nd){if(!dd)if(pd-=1,Ad)ud=!0,od(Ad);else if(Ad===!1)ud=!0,dd=!0;else{if(Nd===breakLoop||ud&&pd<=0)return ud=!0,od(null);fd||vd()}}function vd(){for(fd=!0;pd1?ld:ld[0])}return nd[PROMISE_SYMBOL]=new Promise((od,ld)=>{Ra=od,qa=ld}),nd}function auto(Ra,qa,nd){typeof qa!="number"&&(nd=qa,qa=null),nd=once(nd||promiseCallback());var od=Object.keys(Ra).length;if(!od)return nd(null);qa||(qa=od);var ld={},ud=0,dd=!1,pd=!1,fd=Object.create(null),md=[],vd=[],Ad={};Object.keys(Ra).forEach(Ud=>{var qd=Ra[Ud];if(!Array.isArray(qd)){Nd(Ud,[qd]),vd.push(Ud);return}var zd=qd.slice(0,qd.length-1),Wd=zd.length;if(Wd===0){Nd(Ud,qd),vd.push(Ud);return}Ad[Ud]=Wd,zd.forEach(Jd=>{if(!Ra[Jd])throw new Error("async.auto task `"+Ud+"` has a non-existent dependency `"+Jd+"` in "+zd.join(", "));kd(Jd,()=>{Wd--,Wd===0&&Nd(Ud,qd)})})}),jd(),Od();function Nd(Ud,qd){md.push(()=>Gd(Ud,qd))}function Od(){if(!dd){if(md.length===0&&ud===0)return nd(null,ld);for(;md.length&&udzd()),Od()}function Gd(Ud,qd){if(!pd){var zd=onlyOnce((Jd,..._f)=>{if(ud--,Jd===!1){dd=!0;return}if(_f.length<2&&([_f]=_f),Jd){var Xd={};if(Object.keys(ld).forEach(pf=>{Xd[pf]=ld[pf]}),Xd[Ud]=_f,pd=!0,fd=Object.create(null),dd)return;nd(Jd,Xd)}else ld[Ud]=_f,Ld(Ud)});ud++;var Wd=wrapAsync(qd[qd.length-1]);qd.length>1?Wd(ld,zd):Wd(zd)}}function jd(){for(var Ud,qd=0;vd.length;)Ud=vd.pop(),qd++,Fd(Ud).forEach(zd=>{--Ad[zd]===0&&vd.push(zd)});if(qd!==od)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Fd(Ud){var qd=[];return Object.keys(Ra).forEach(zd=>{const Wd=Ra[zd];Array.isArray(Wd)&&Wd.indexOf(Ud)>=0&&qd.push(zd)}),qd}return nd[PROMISE_SYMBOL]}var FN_ARGS=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ARROW_FN_ARGS=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,FN_ARG_SPLIT=/,/,FN_ARG=/(=.+)?(\s*)$/;function stripComments(Ra){let qa="",nd=0,od=Ra.indexOf("*/");for(;ndld.replace(FN_ARG,"").trim())}function autoInject(Ra,qa){var nd={};return Object.keys(Ra).forEach(od=>{var ld=Ra[od],ud,dd=isAsync(ld),pd=!dd&&ld.length===1||dd&&ld.length===0;if(Array.isArray(ld))ud=[...ld],ld=ud.pop(),nd[od]=ud.concat(ud.length>0?fd:ld);else if(pd)nd[od]=ld;else{if(ud=parseParams(ld),ld.length===0&&!dd&&ud.length===0)throw new Error("autoInject task functions require explicit parameters.");dd||ud.pop(),nd[od]=ud.concat(fd)}function fd(md,vd){var Ad=ud.map(Nd=>md[Nd]);Ad.push(vd),wrapAsync(ld)(...Ad)}}),auto(nd,qa)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(qa){return qa.prev?qa.prev.next=qa.next:this.head=qa.next,qa.next?qa.next.prev=qa.prev:this.tail=qa.prev,qa.prev=qa.next=null,this.length-=1,qa}empty(){for(;this.head;)this.shift();return this}insertAfter(qa,nd){nd.prev=qa,nd.next=qa.next,qa.next?qa.next.prev=nd:this.tail=nd,qa.next=nd,this.length+=1}insertBefore(qa,nd){nd.prev=qa.prev,nd.next=qa,qa.prev?qa.prev.next=nd:this.head=nd,qa.prev=nd,this.length+=1}unshift(qa){this.head?this.insertBefore(this.head,qa):setInitial(this,qa)}push(qa){this.tail?this.insertAfter(this.tail,qa):setInitial(this,qa)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var qa=this.head;qa;)yield qa.data,qa=qa.next}remove(qa){for(var nd=this.head;nd;){var{next:od}=nd;qa(nd)&&this.removeLink(nd),nd=od}return this}}function setInitial(Ra,qa){Ra.length=1,Ra.head=Ra.tail=qa}function queue$1(Ra,qa,nd){if(qa==null)qa=1;else if(qa===0)throw new RangeError("Concurrency must not be zero");var od=wrapAsync(Ra),ld=0,ud=[];const dd={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function pd(Fd,Ud){dd[Fd].push(Ud)}function fd(Fd,Ud){const qd=(...zd)=>{md(Fd,qd),Ud(...zd)};dd[Fd].push(qd)}function md(Fd,Ud){if(!Fd)return Object.keys(dd).forEach(qd=>dd[qd]=[]);if(!Ud)return dd[Fd]=[];dd[Fd]=dd[Fd].filter(qd=>qd!==Ud)}function vd(Fd,...Ud){dd[Fd].forEach(qd=>qd(...Ud))}var Ad=!1;function Nd(Fd,Ud,qd,zd){if(zd!=null&&typeof zd!="function")throw new Error("task callback must be a function");jd.started=!0;var Wd,Jd;function _f(pf,...mf){if(pf)return qd?Jd(pf):Wd();if(mf.length<=1)return Wd(mf[0]);Wd(mf)}var Xd=jd._createTaskItem(Fd,qd?_f:zd||_f);if(Ud?jd._tasks.unshift(Xd):jd._tasks.push(Xd),Ad||(Ad=!0,setImmediate$1$1(()=>{Ad=!1,jd.process()})),qd||!zd)return new Promise((pf,mf)=>{Wd=pf,Jd=mf})}function Od(Fd){return function(Ud,...qd){ld-=1;for(var zd=0,Wd=Fd.length;zd0&&ud.splice(_f,1),Jd.callback(Ud,...qd),Ud!=null&&vd("error",Ud,Jd.data)}ld<=jd.concurrency-jd.buffer&&vd("unsaturated"),jd.idle()&&vd("drain"),jd.process()}}function kd(Fd){return Fd.length===0&&jd.idle()?(setImmediate$1$1(()=>vd("drain")),!0):!1}const Ld=Fd=>Ud=>{if(!Ud)return new Promise((qd,zd)=>{fd(Fd,(Wd,Jd)=>{if(Wd)return zd(Wd);qd(Jd)})});md(Fd),pd(Fd,Ud)};var Gd=!1,jd={_tasks:new DLL,_createTaskItem(Fd,Ud){return{data:Fd,callback:Ud}},*[Symbol.iterator](){yield*jd._tasks[Symbol.iterator]()},concurrency:qa,payload:nd,buffer:qa/4,started:!1,paused:!1,push(Fd,Ud){return Array.isArray(Fd)?kd(Fd)?void 0:Fd.map(qd=>Nd(qd,!1,!1,Ud)):Nd(Fd,!1,!1,Ud)},pushAsync(Fd,Ud){return Array.isArray(Fd)?kd(Fd)?void 0:Fd.map(qd=>Nd(qd,!1,!0,Ud)):Nd(Fd,!1,!0,Ud)},kill(){md(),jd._tasks.empty()},unshift(Fd,Ud){return Array.isArray(Fd)?kd(Fd)?void 0:Fd.map(qd=>Nd(qd,!0,!1,Ud)):Nd(Fd,!0,!1,Ud)},unshiftAsync(Fd,Ud){return Array.isArray(Fd)?kd(Fd)?void 0:Fd.map(qd=>Nd(qd,!0,!0,Ud)):Nd(Fd,!0,!0,Ud)},remove(Fd){jd._tasks.remove(Fd)},process(){if(!Gd){for(Gd=!0;!jd.paused&&ld{ld(qa,ud,(fd,md)=>{qa=md,pd(fd)})},ud=>od(ud,qa))}var reduce$1=awaitify(reduce,4);function seq(...Ra){var qa=Ra.map(wrapAsync);return function(...nd){var od=this,ld=nd[nd.length-1];return typeof ld=="function"?nd.pop():ld=promiseCallback(),reduce$1(qa,nd,(ud,dd,pd)=>{dd.apply(od,ud.concat((fd,...md)=>{pd(fd,md)}))},(ud,dd)=>ld(ud,...dd)),ld[PROMISE_SYMBOL]}}function compose(...Ra){return seq(...Ra.reverse())}function mapLimit(Ra,qa,nd,od){return _asyncMap(eachOfLimit$2(qa),Ra,nd,od)}var mapLimit$1=awaitify(mapLimit,4);function concatLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,dd)=>{ld(ud,(pd,...fd)=>pd?dd(pd):dd(pd,fd))},(ud,dd)=>{for(var pd=[],fd=0;fd{var dd=!1,pd;const fd=wrapAsync(ld);nd(od,(md,vd,Ad)=>{fd(md,(Nd,Od)=>{if(Nd||Nd===!1)return Ad(Nd);if(Ra(Od)&&!pd)return dd=!0,pd=qa(!0,md),Ad(null,breakLoop);Ad()})},md=>{if(md)return ud(md);ud(null,dd?pd:qa(!1))})}}function detect(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOf$1,Ra,qa,nd)}var detect$1=awaitify(detect,3);function detectLimit(Ra,qa,nd,od){return _createTester(ld=>ld,(ld,ud)=>ud)(eachOfLimit$2(qa),Ra,nd,od)}var detectLimit$1=awaitify(detectLimit,4);function detectSeries(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOfLimit$2(1),Ra,qa,nd)}var detectSeries$1=awaitify(detectSeries,3);function consoleFunc(Ra){return(qa,...nd)=>wrapAsync(qa)(...nd,(od,...ld)=>{typeof console=="object"&&(od?console.error&&console.error(od):console[Ra]&&ld.forEach(ud=>console[Ra](ud)))})}var dir=consoleFunc("dir");function doWhilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(Ra),ld=wrapAsync(qa),ud;function dd(fd,...md){if(fd)return nd(fd);fd!==!1&&(ud=md,ld(...md,pd))}function pd(fd,md){if(fd)return nd(fd);if(fd!==!1){if(!md)return nd(null,...ud);od(dd)}}return pd(null,!0)}var doWhilst$1=awaitify(doWhilst,3);function doUntil(Ra,qa,nd){const od=wrapAsync(qa);return doWhilst$1(Ra,(...ld)=>{const ud=ld.pop();od(...ld,(dd,pd)=>ud(dd,!pd))},nd)}function _withoutIndex(Ra){return(qa,nd,od)=>Ra(qa,od)}function eachLimit$2(Ra,qa,nd){return eachOf$1(Ra,_withoutIndex(wrapAsync(qa)),nd)}var each=awaitify(eachLimit$2,3);function eachLimit(Ra,qa,nd,od){return eachOfLimit$2(qa)(Ra,_withoutIndex(wrapAsync(nd)),od)}var eachLimit$1=awaitify(eachLimit,4);function eachSeries(Ra,qa,nd){return eachLimit$1(Ra,1,qa,nd)}var eachSeries$1=awaitify(eachSeries,3);function ensureAsync(Ra){return isAsync(Ra)?Ra:function(...qa){var nd=qa.pop(),od=!0;qa.push((...ld)=>{od?setImmediate$1$1(()=>nd(...ld)):nd(...ld)}),Ra.apply(this,qa),od=!1}}function every(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOf$1,Ra,qa,nd)}var every$1=awaitify(every,3);function everyLimit(Ra,qa,nd,od){return _createTester(ld=>!ld,ld=>!ld)(eachOfLimit$2(qa),Ra,nd,od)}var everyLimit$1=awaitify(everyLimit,4);function everySeries(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOfSeries$1,Ra,qa,nd)}var everySeries$1=awaitify(everySeries,3);function filterArray(Ra,qa,nd,od){var ld=new Array(qa.length);Ra(qa,(ud,dd,pd)=>{nd(ud,(fd,md)=>{ld[dd]=!!md,pd(fd)})},ud=>{if(ud)return od(ud);for(var dd=[],pd=0;pd{nd(ud,(fd,md)=>{if(fd)return pd(fd);md&&ld.push({index:dd,value:ud}),pd(fd)})},ud=>{if(ud)return od(ud);od(null,ld.sort((dd,pd)=>dd.index-pd.index).map(dd=>dd.value))})}function _filter(Ra,qa,nd,od){var ld=isArrayLike(qa)?filterArray:filterGeneric;return ld(Ra,qa,wrapAsync(nd),od)}function filter(Ra,qa,nd){return _filter(eachOf$1,Ra,qa,nd)}var filter$1=awaitify(filter,3);function filterLimit(Ra,qa,nd,od){return _filter(eachOfLimit$2(qa),Ra,nd,od)}var filterLimit$1=awaitify(filterLimit,4);function filterSeries(Ra,qa,nd){return _filter(eachOfSeries$1,Ra,qa,nd)}var filterSeries$1=awaitify(filterSeries,3);function forever(Ra,qa){var nd=onlyOnce(qa),od=wrapAsync(ensureAsync(Ra));function ld(ud){if(ud)return nd(ud);ud!==!1&&od(ld)}return ld()}var forever$1=awaitify(forever,2);function groupByLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,dd)=>{ld(ud,(pd,fd)=>pd?dd(pd):dd(pd,{key:fd,val:ud}))},(ud,dd)=>{for(var pd={},{hasOwnProperty:fd}=Object.prototype,md=0;md{ud(dd,pd,(md,vd)=>{if(md)return fd(md);ld[pd]=vd,fd(md)})},dd=>od(dd,ld))}var mapValuesLimit$1=awaitify(mapValuesLimit,4);function mapValues(Ra,qa,nd){return mapValuesLimit$1(Ra,1/0,qa,nd)}function mapValuesSeries(Ra,qa,nd){return mapValuesLimit$1(Ra,1,qa,nd)}function memoize(Ra,qa=nd=>nd){var nd=Object.create(null),od=Object.create(null),ld=wrapAsync(Ra),ud=initialParams((dd,pd)=>{var fd=qa(...dd);fd in nd?setImmediate$1$1(()=>pd(null,...nd[fd])):fd in od?od[fd].push(pd):(od[fd]=[pd],ld(...dd,(md,...vd)=>{md||(nd[fd]=vd);var Ad=od[fd];delete od[fd];for(var Nd=0,Od=Ad.length;Nd{var od=isArrayLike(qa)?[]:{};Ra(qa,(ld,ud,dd)=>{wrapAsync(ld)((pd,...fd)=>{fd.length<2&&([fd]=fd),od[ud]=fd,dd(pd)})},ld=>nd(ld,od))},3);function parallel(Ra,qa){return _parallel(eachOf$1,Ra,qa)}function parallelLimit(Ra,qa,nd){return _parallel(eachOfLimit$2(qa),Ra,nd)}function queue(Ra,qa){var nd=wrapAsync(Ra);return queue$1((od,ld)=>{nd(od[0],ld)},qa,1)}class Heap{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(qa){let nd;for(;qa>0&&smaller(this.heap[qa],this.heap[nd=parent(qa)]);){let od=this.heap[qa];this.heap[qa]=this.heap[nd],this.heap[nd]=od,qa=nd}}percDown(qa){let nd;for(;(nd=leftChi(qa))=0;od--)this.percDown(od);return this}}function leftChi(Ra){return(Ra<<1)+1}function parent(Ra){return(Ra+1>>1)-1}function smaller(Ra,qa){return Ra.priority!==qa.priority?Ra.priority({data:dd,priority:pd,callback:fd});function ud(dd,pd){return Array.isArray(dd)?dd.map(fd=>({data:fd,priority:pd})):{data:dd,priority:pd}}return nd.push=function(dd,pd=0,fd){return od(ud(dd,pd),fd)},nd.pushAsync=function(dd,pd=0,fd){return ld(ud(dd,pd),fd)},delete nd.unshift,delete nd.unshiftAsync,nd}function race(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new TypeError("First argument to race must be an array of functions"));if(!Ra.length)return qa();for(var nd=0,od=Ra.length;nd{let pd={};if(ud&&(pd.error=ud),dd.length>0){var fd=dd;dd.length<=1&&([fd]=dd),pd.value=fd}ld(null,pd)}),qa.apply(this,od)})}function reflectAll(Ra){var qa;return Array.isArray(Ra)?qa=Ra.map(reflect):(qa={},Object.keys(Ra).forEach(nd=>{qa[nd]=reflect.call(this,Ra[nd])})),qa}function reject$2(Ra,qa,nd,od){const ld=wrapAsync(nd);return _filter(Ra,qa,(ud,dd)=>{ld(ud,(pd,fd)=>{dd(pd,!fd)})},od)}function reject(Ra,qa,nd){return reject$2(eachOf$1,Ra,qa,nd)}var reject$1=awaitify(reject,3);function rejectLimit(Ra,qa,nd,od){return reject$2(eachOfLimit$2(qa),Ra,nd,od)}var rejectLimit$1=awaitify(rejectLimit,4);function rejectSeries(Ra,qa,nd){return reject$2(eachOfSeries$1,Ra,qa,nd)}var rejectSeries$1=awaitify(rejectSeries,3);function constant(Ra){return function(){return Ra}}const DEFAULT_TIMES=5,DEFAULT_INTERVAL=0;function retry(Ra,qa,nd){var od={times:DEFAULT_TIMES,intervalFunc:constant(DEFAULT_INTERVAL)};if(arguments.length<3&&typeof Ra=="function"?(nd=qa||promiseCallback(),qa=Ra):(parseTimes(od,Ra),nd=nd||promiseCallback()),typeof qa!="function")throw new Error("Invalid arguments for async.retry");var ld=wrapAsync(qa),ud=1;function dd(){ld((pd,...fd)=>{pd!==!1&&(pd&&ud++{(ld.lengthod)(eachOf$1,Ra,qa,nd)}var some$1=awaitify(some,3);function someLimit(Ra,qa,nd,od){return _createTester(Boolean,ld=>ld)(eachOfLimit$2(qa),Ra,nd,od)}var someLimit$1=awaitify(someLimit,4);function someSeries(Ra,qa,nd){return _createTester(Boolean,od=>od)(eachOfSeries$1,Ra,qa,nd)}var someSeries$1=awaitify(someSeries,3);function sortBy(Ra,qa,nd){var od=wrapAsync(qa);return map$1(Ra,(ud,dd)=>{od(ud,(pd,fd)=>{if(pd)return dd(pd);dd(pd,{value:ud,criteria:fd})})},(ud,dd)=>{if(ud)return nd(ud);nd(null,dd.sort(ld).map(pd=>pd.value))});function ld(ud,dd){var pd=ud.criteria,fd=dd.criteria;return pdfd?1:0}}var sortBy$1=awaitify(sortBy,3);function timeout(Ra,qa,nd){var od=wrapAsync(Ra);return initialParams((ld,ud)=>{var dd=!1,pd;function fd(){var md=Ra.name||"anonymous",vd=new Error('Callback function "'+md+'" timed out.');vd.code="ETIMEDOUT",nd&&(vd.info=nd),dd=!0,ud(vd)}ld.push((...md)=>{dd||(ud(...md),clearTimeout(pd))}),pd=setTimeout(fd,qa),od(...ld)})}function range(Ra){for(var qa=Array(Ra);Ra--;)qa[Ra]=Ra;return qa}function timesLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(range(Ra),qa,ld,od)}function times(Ra,qa,nd){return timesLimit(Ra,1/0,qa,nd)}function timesSeries(Ra,qa,nd){return timesLimit(Ra,1,qa,nd)}function transform(Ra,qa,nd,od){arguments.length<=3&&typeof qa=="function"&&(od=nd,nd=qa,qa=Array.isArray(Ra)?[]:{}),od=once(od||promiseCallback());var ld=wrapAsync(nd);return eachOf$1(Ra,(ud,dd,pd)=>{ld(qa,ud,dd,pd)},ud=>od(ud,qa)),od[PROMISE_SYMBOL]}function tryEach(Ra,qa){var nd=null,od;return eachSeries$1(Ra,(ld,ud)=>{wrapAsync(ld)((dd,...pd)=>{if(dd===!1)return ud(dd);pd.length<2?[od]=pd:od=pd,nd=dd,ud(dd?null:{})})},()=>qa(nd,od))}var tryEach$1=awaitify(tryEach);function unmemoize(Ra){return(...qa)=>(Ra.unmemoized||Ra)(...qa)}function whilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(qa),ld=wrapAsync(Ra),ud=[];function dd(fd,...md){if(fd)return nd(fd);ud=md,fd!==!1&&ld(pd)}function pd(fd,md){if(fd)return nd(fd);if(fd!==!1){if(!md)return nd(null,...ud);od(dd)}}return ld(pd)}var whilst$1=awaitify(whilst,3);function until(Ra,qa,nd){const od=wrapAsync(Ra);return whilst$1(ld=>od((ud,dd)=>ld(ud,!dd)),qa,nd)}function waterfall(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new Error("First argument to waterfall must be an array of functions"));if(!Ra.length)return qa();var nd=0;function od(ud){var dd=wrapAsync(Ra[nd++]);dd(...ud,onlyOnce(ld))}function ld(ud,...dd){if(ud!==!1){if(ud||nd===Ra.length)return qa(ud,...dd);od(dd)}}od([])}var waterfall$1=awaitify(waterfall),index={apply,applyEach,applyEachSeries,asyncify,auto,autoInject,cargo:cargo$1,cargoQueue:cargo,compose,concat:concat$1,concatLimit:concatLimit$1,concatSeries:concatSeries$1,constant:constant$1,detect:detect$1,detectLimit:detectLimit$1,detectSeries:detectSeries$1,dir,doUntil,doWhilst:doWhilst$1,each,eachLimit:eachLimit$1,eachOf:eachOf$1,eachOfLimit:eachOfLimit$1,eachOfSeries:eachOfSeries$1,eachSeries:eachSeries$1,ensureAsync,every:every$1,everyLimit:everyLimit$1,everySeries:everySeries$1,filter:filter$1,filterLimit:filterLimit$1,filterSeries:filterSeries$1,forever:forever$1,groupBy,groupByLimit:groupByLimit$1,groupBySeries,log,map:map$1,mapLimit:mapLimit$1,mapSeries:mapSeries$1,mapValues,mapValuesLimit:mapValuesLimit$1,mapValuesSeries,memoize,nextTick,parallel,parallelLimit,priorityQueue,queue,race:race$1,reduce:reduce$1,reduceRight,reflect,reflectAll,reject:reject$1,rejectLimit:rejectLimit$1,rejectSeries:rejectSeries$1,retry,retryable,seq,series,setImmediate:setImmediate$1$1,some:some$1,someLimit:someLimit$1,someSeries:someSeries$1,sortBy:sortBy$1,timeout,times,timesLimit,timesSeries,transform,tryEach:tryEach$1,unmemoize,until,waterfall:waterfall$1,whilst:whilst$1,all:every$1,allLimit:everyLimit$1,allSeries:everySeries$1,any:some$1,anyLimit:someLimit$1,anySeries:someSeries$1,find:detect$1,findLimit:detectLimit$1,findSeries:detectSeries$1,flatMap:concat$1,flatMapLimit:concatLimit$1,flatMapSeries:concatSeries$1,forEach:each,forEachSeries:eachSeries$1,forEachLimit:eachLimit$1,forEachOf:eachOf$1,forEachOfSeries:eachOfSeries$1,forEachOfLimit:eachOfLimit$1,inject:reduce$1,foldl:reduce$1,foldr:reduceRight,select:filter$1,selectLimit:filterLimit$1,selectSeries:filterSeries$1,wrapSync:asyncify,during:whilst$1,doDuring:doWhilst$1},readableBrowser={exports:{}};(function(Ra,qa){qa=Ra.exports=require_stream_readable(),qa.Stream=qa,qa.Readable=qa,qa.Writable=require_stream_writable(),qa.Duplex=require_stream_duplex(),qa.Transform=_stream_transform,qa.PassThrough=_stream_passthrough,qa.finished=endOfStream,qa.pipeline=pipeline_1})(readableBrowser,readableBrowser.exports);var readableBrowserExports=readableBrowser.exports;const{Transform:Transform$1}=readableBrowserExports;class Block extends Transform$1{constructor(qa,nd={}){super(nd),typeof qa=="object"&&(nd=qa,qa=nd.size),this.size=qa||512;const{nopad:od,zeroPadding:ld=!0}=nd;od?this._zeroPadding=!1:this._zeroPadding=!!ld,this._buffered=[],this._bufferedBytes=0}_transform(qa,nd,od){for(this._bufferedBytes+=qa.length,this._buffered.push(qa);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;const ld=[];let ud=0;for(;ud=Xh)return Yd;var Rm=Df-Uv(eh);if(Rm<1)return eh;var Fm=Nm?H0(Nm,0,Rm).join(""):Yd.slice(0,Rm);if(Oh===nd)return Fm+eh;if(Nm&&(Rm+=Fm.length-Rm),C1(Oh)){if(Yd.slice(Rm).search(Oh)){var tg,rg=Fm;for(Oh.global||(Oh=AE(Oh.source,I_(fm.exec(Oh))+"g")),Oh.lastIndex=0;tg=Oh.exec(rg);)var sg=tg.index;Fm=Fm.slice(0,sg===nd?Rm:sg)}}else if(Yd.indexOf(jb(Oh),Rm)!=Rm){var Rg=Fm.lastIndexOf(Oh);Rg>-1&&(Fm=Fm.slice(0,Rg))}return Fm+eh}function WN(Yd){return Yd=I_(Yd),Yd&&wg.test(Yd)?Yd.replace(Zm,HT):Yd}var YN=uE(function(Yd,gf,Df){return Yd+(Df?" ":"")+gf.toUpperCase()}),N1=Nx("toUpperCase");function hC(Yd,gf,Df){return Yd=I_(Yd),gf=Df?nd:gf,gf===nd?FT(Yd)?qT(Yd):QS(Yd):Yd.match(gf)||[]}var mC=o_(function(Yd,gf){try{return Db(Yd,nd,gf)}catch(Df){return x1(Df)?Df:new t_(Df)}}),KN=w0(function(Yd,gf){return $b(gf,function(Df){Df=U_(Df),j0(Yd,Df,S1(Yd[Df],Yd))}),Yd});function XN(Yd){var gf=Yd==null?0:Yd.length,Df=Wg();return Yd=gf?k_(Yd,function(eh){if(typeof eh[1]!="function")throw new Kb(dd);return[Df(eh[0]),eh[1]]}):[],o_(function(eh){for(var Oh=-1;++OhGf)return[];var Df=ph,eh=tb(Yd,ph);gf=Wg(gf),Yd-=ph;for(var Oh=yg(eh,gf);++Df0||gf<0)?new Yg(Df):(Yd<0?Df=Df.takeRight(-Yd):Yd&&(Df=Df.drop(Yd)),gf!==nd&&(gf=l_(gf),Df=gf<0?Df.dropRight(-gf):Df.take(gf-Yd)),Df)},Yg.prototype.takeRightWhile=function(Yd){return this.reverse().takeWhile(Yd).reverse()},Yg.prototype.toArray=function(){return this.take(ph)},Qb(Yg.prototype,function(Yd,gf){var Df=/^(?:filter|find|map|reject)|While$/.test(gf),eh=/^(?:head|last)$/.test(gf),Oh=Vh[eh?"take"+(gf=="last"?"Right":""):gf],Xh=eh||/^find/.test(gf);Oh&&(Vh.prototype[gf]=function(){var Nm=this.__wrapped__,Rm=eh?[1]:arguments,Fm=Nm instanceof Yg,tg=Rm[0],rg=Fm||s_(Nm),sg=function(f_){var b_=Oh.apply(Vh,i0([f_],Rm));return eh&&Rg?b_[0]:b_};rg&&Df&&typeof tg=="function"&&tg.length!=1&&(Fm=rg=!1);var Rg=this.__chain__,Hg=!!this.__actions__.length,Qg=Xh&&!Rg,c_=Fm&&!Hg;if(!Xh&&rg){Nm=c_?Nm:new Yg(this);var Jg=Yd.apply(Nm,Rm);return Jg.__actions__.push({func:Px,args:[sg],thisArg:nd}),new C_(Jg,Rg)}return Qg&&c_?Yd.apply(this,Rm):(Jg=this.thru(sg),Qg?eh?Jg.value()[0]:Jg.value():Jg)})}),$b(["pop","push","shift","sort","splice","unshift"],function(Yd){var gf=pS[Yd],Df=/^(?:push|sort|unshift)$/.test(Yd)?"tap":"thru",eh=/^(?:pop|shift)$/.test(Yd);Vh.prototype[Yd]=function(){var Oh=arguments;if(eh&&!this.__chain__){var Xh=this.value();return gf.apply(s_(Xh)?Xh:[],Oh)}return this[Df](function(Nm){return gf.apply(s_(Nm)?Nm:[],Oh)})}}),Qb(Yg.prototype,function(Yd,gf){var Df=Vh[gf];if(Df){var eh=Df.name+"";T_.call(nv,eh)||(nv[eh]=[]),nv[eh].push({name:gf,func:Df})}}),nv[OS(nd,jd).name]=[{name:"wrapper",func:nd}],Yg.prototype.clone=lb,Yg.prototype.reverse=RE,Yg.prototype.value=Qx,Vh.prototype.at=yA,Vh.prototype.chain=vA,Vh.prototype.commit=EA,Vh.prototype.next=SA,Vh.prototype.plant=xA,Vh.prototype.reverse=CA,Vh.prototype.toJSON=Vh.prototype.valueOf=Vh.prototype.value=AA,Vh.prototype.first=Vh.prototype.head,Zy&&(Vh.prototype[Zy]=TA),Vh},P0=eT();$0?(($0.exports=P0)._=P0,SE._=P0):x_._=P0}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports);var queryString={},strictUriEncode=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(Ra,qa){try{return[decodeURIComponent(Ra.join(""))]}catch{}if(Ra.length===1)return Ra;qa=qa||1;var nd=Ra.slice(0,qa),od=Ra.slice(qa);return Array.prototype.concat.call([],decodeComponents(nd),decodeComponents(od))}function decode(Ra){try{return decodeURIComponent(Ra)}catch{for(var qa=Ra.match(singleMatcher)||[],nd=1;nd{if(!(typeof Ra=="string"&&typeof qa=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(qa==="")return[Ra];const nd=Ra.indexOf(qa);return nd===-1?[Ra]:[Ra.slice(0,nd),Ra.slice(nd+qa.length)]},filterObj=function(Ra,qa){for(var nd={},od=Object.keys(Ra),ld=Array.isArray(qa),ud=0;udFd==null,dd=Symbol("encodeFragmentIdentifier");function pd(Fd){switch(Fd.arrayFormat){case"index":return Ud=>(qd,zd)=>{const Wd=qd.length;return zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),"[",Wd,"]"].join("")]:[...qd,[vd(Ud,Fd),"[",vd(Wd,Fd),"]=",vd(zd,Fd)].join("")]};case"bracket":return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),"[]"].join("")]:[...qd,[vd(Ud,Fd),"[]=",vd(zd,Fd)].join("")];case"colon-list-separator":return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),":list="].join("")]:[...qd,[vd(Ud,Fd),":list=",vd(zd,Fd)].join("")];case"comma":case"separator":case"bracket-separator":{const Ud=Fd.arrayFormat==="bracket-separator"?"[]=":"=";return qd=>(zd,Wd)=>Wd===void 0||Fd.skipNull&&Wd===null||Fd.skipEmptyString&&Wd===""?zd:(Wd=Wd===null?"":Wd,zd.length===0?[[vd(qd,Fd),Ud,vd(Wd,Fd)].join("")]:[[zd,vd(Wd,Fd)].join(Fd.arrayFormatSeparator)])}default:return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,vd(Ud,Fd)]:[...qd,[vd(Ud,Fd),"=",vd(zd,Fd)].join("")]}}function fd(Fd){let Ud;switch(Fd.arrayFormat){case"index":return(qd,zd,Wd)=>{if(Ud=/\[(\d*)\]$/.exec(qd),qd=qd.replace(/\[\d*\]$/,""),!Ud){Wd[qd]=zd;return}Wd[qd]===void 0&&(Wd[qd]={}),Wd[qd][Ud[1]]=zd};case"bracket":return(qd,zd,Wd)=>{if(Ud=/(\[\])$/.exec(qd),qd=qd.replace(/\[\]$/,""),!Ud){Wd[qd]=zd;return}if(Wd[qd]===void 0){Wd[qd]=[zd];return}Wd[qd]=[].concat(Wd[qd],zd)};case"colon-list-separator":return(qd,zd,Wd)=>{if(Ud=/(:list)$/.exec(qd),qd=qd.replace(/:list$/,""),!Ud){Wd[qd]=zd;return}if(Wd[qd]===void 0){Wd[qd]=[zd];return}Wd[qd]=[].concat(Wd[qd],zd)};case"comma":case"separator":return(qd,zd,Wd)=>{const Jd=typeof zd=="string"&&zd.includes(Fd.arrayFormatSeparator),_f=typeof zd=="string"&&!Jd&&Ad(zd,Fd).includes(Fd.arrayFormatSeparator);zd=_f?Ad(zd,Fd):zd;const Xd=Jd||_f?zd.split(Fd.arrayFormatSeparator).map(pf=>Ad(pf,Fd)):zd===null?zd:Ad(zd,Fd);Wd[qd]=Xd};case"bracket-separator":return(qd,zd,Wd)=>{const Jd=/(\[\])$/.test(qd);if(qd=qd.replace(/\[\]$/,""),!Jd){Wd[qd]=zd&&Ad(zd,Fd);return}const _f=zd===null?[]:zd.split(Fd.arrayFormatSeparator).map(Xd=>Ad(Xd,Fd));if(Wd[qd]===void 0){Wd[qd]=_f;return}Wd[qd]=[].concat(Wd[qd],_f)};default:return(qd,zd,Wd)=>{if(Wd[qd]===void 0){Wd[qd]=zd;return}Wd[qd]=[].concat(Wd[qd],zd)}}}function md(Fd){if(typeof Fd!="string"||Fd.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function vd(Fd,Ud){return Ud.encode?Ud.strict?qa(Fd):encodeURIComponent(Fd):Fd}function Ad(Fd,Ud){return Ud.decode?nd(Fd):Fd}function Nd(Fd){return Array.isArray(Fd)?Fd.sort():typeof Fd=="object"?Nd(Object.keys(Fd)).sort((Ud,qd)=>Number(Ud)-Number(qd)).map(Ud=>Fd[Ud]):Fd}function Od(Fd){const Ud=Fd.indexOf("#");return Ud!==-1&&(Fd=Fd.slice(0,Ud)),Fd}function kd(Fd){let Ud="";const qd=Fd.indexOf("#");return qd!==-1&&(Ud=Fd.slice(qd)),Ud}function Ld(Fd){Fd=Od(Fd);const Ud=Fd.indexOf("?");return Ud===-1?"":Fd.slice(Ud+1)}function Gd(Fd,Ud){return Ud.parseNumbers&&!Number.isNaN(Number(Fd))&&typeof Fd=="string"&&Fd.trim()!==""?Fd=Number(Fd):Ud.parseBooleans&&Fd!==null&&(Fd.toLowerCase()==="true"||Fd.toLowerCase()==="false")&&(Fd=Fd.toLowerCase()==="true"),Fd}function jd(Fd,Ud){Ud=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Ud),md(Ud.arrayFormatSeparator);const qd=fd(Ud),zd=Object.create(null);if(typeof Fd!="string"||(Fd=Fd.trim().replace(/^[?#&]/,""),!Fd))return zd;for(const Wd of Fd.split("&")){if(Wd==="")continue;let[Jd,_f]=od(Ud.decode?Wd.replace(/\+/g," "):Wd,"=");_f=_f===void 0?null:["comma","separator","bracket-separator"].includes(Ud.arrayFormat)?_f:Ad(_f,Ud),qd(Ad(Jd,Ud),_f,zd)}for(const Wd of Object.keys(zd)){const Jd=zd[Wd];if(typeof Jd=="object"&&Jd!==null)for(const _f of Object.keys(Jd))Jd[_f]=Gd(Jd[_f],Ud);else zd[Wd]=Gd(Jd,Ud)}return Ud.sort===!1?zd:(Ud.sort===!0?Object.keys(zd).sort():Object.keys(zd).sort(Ud.sort)).reduce((Wd,Jd)=>{const _f=zd[Jd];return _f&&typeof _f=="object"&&!Array.isArray(_f)?Wd[Jd]=Nd(_f):Wd[Jd]=_f,Wd},Object.create(null))}Ra.extract=Ld,Ra.parse=jd,Ra.stringify=(Fd,Ud)=>{if(!Fd)return"";Ud=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Ud),md(Ud.arrayFormatSeparator);const qd=_f=>Ud.skipNull&&ud(Fd[_f])||Ud.skipEmptyString&&Fd[_f]==="",zd=pd(Ud),Wd={};for(const _f of Object.keys(Fd))qd(_f)||(Wd[_f]=Fd[_f]);const Jd=Object.keys(Wd);return Ud.sort!==!1&&Jd.sort(Ud.sort),Jd.map(_f=>{const Xd=Fd[_f];return Xd===void 0?"":Xd===null?vd(_f,Ud):Array.isArray(Xd)?Xd.length===0&&Ud.arrayFormat==="bracket-separator"?vd(_f,Ud)+"[]":Xd.reduce(zd(_f),[]).join("&"):vd(_f,Ud)+"="+vd(Xd,Ud)}).filter(_f=>_f.length>0).join("&")},Ra.parseUrl=(Fd,Ud)=>{Ud=Object.assign({decode:!0},Ud);const[qd,zd]=od(Fd,"#");return Object.assign({url:qd.split("?")[0]||"",query:jd(Ld(Fd),Ud)},Ud&&Ud.parseFragmentIdentifier&&zd?{fragmentIdentifier:Ad(zd,Ud)}:{})},Ra.stringifyUrl=(Fd,Ud)=>{Ud=Object.assign({encode:!0,strict:!0,[dd]:!0},Ud);const qd=Od(Fd.url).split("?")[0]||"",zd=Ra.extract(Fd.url),Wd=Ra.parse(zd,{sort:!1}),Jd=Object.assign(Wd,Fd.query);let _f=Ra.stringify(Jd,Ud);_f&&(_f=`?${_f}`);let Xd=kd(Fd.url);return Fd.fragmentIdentifier&&(Xd=`#${Ud[dd]?vd(Fd.fragmentIdentifier,Ud):Fd.fragmentIdentifier}`),`${qd}${_f}${Xd}`},Ra.pick=(Fd,Ud,qd)=>{qd=Object.assign({parseFragmentIdentifier:!0,[dd]:!1},qd);const{url:zd,query:Wd,fragmentIdentifier:Jd}=Ra.parseUrl(Fd,qd);return Ra.stringifyUrl({url:zd,query:ld(Wd,Ud),fragmentIdentifier:Jd},qd)},Ra.exclude=(Fd,Ud,qd)=>{const zd=Array.isArray(Ud)?Wd=>!Ud.includes(Wd):(Wd,Jd)=>!Ud(Wd,Jd);return Ra.pick(Fd,zd,qd)}})(queryString);const Encoder=TextEncoder;var xml$2={exports:{}},XML_CHARACTER_MAP={"&":"&",'"':""","'":"'","<":"<",">":">"};function escapeForXML$1(Ra){return Ra&&Ra.replace?Ra.replace(/([&"<>'])/g,function(qa,nd){return XML_CHARACTER_MAP[nd]}):Ra}var escapeForXML_1=escapeForXML$1,define_process_default$4={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},escapeForXML=escapeForXML_1,Stream=streamBrowserify.Stream,DEFAULT_INDENT=" ";function xml$1(Ra,qa){typeof qa!="object"&&(qa={indent:qa});var nd=qa.stream?new Stream:null,od="",ld=!1,ud=qa.indent?qa.indent===!0?DEFAULT_INDENT:qa.indent:"",dd=!0;function pd(Nd){dd?define_process_default$4.nextTick(Nd):Nd()}function fd(Nd,Od){if(Od!==void 0&&(od+=Od),Nd&&!ld&&(nd=nd||new Stream,ld=!0),Nd&&ld){var kd=od;pd(function(){nd.emit("data",kd)}),od=""}}function md(Nd,Od){format(fd,resolve(Nd,ud,ud?1:0),Od)}function vd(){if(nd){var Nd=od;pd(function(){nd.emit("data",Nd),nd.emit("end"),nd.readable=!1,nd.emit("close")})}}function Ad(Nd){var Od=Nd.encoding||"UTF-8",kd={version:"1.0",encoding:Od};Nd.standalone&&(kd.standalone=Nd.standalone),md({"?xml":{_attr:kd}}),od=od.replace("/>","?>")}return pd(function(){dd=!1}),qa.declaration&&Ad(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Nd,Od){var kd;Od+1===Ra.length&&(kd=vd),md(Nd,kd)}):md(Ra,vd),nd?(nd.readable=!0,nd):od}function element(){var Ra=Array.prototype.slice.call(arguments),qa={_elem:resolve(Ra)};return qa.push=function(nd){if(!this.append)throw new Error("not assigned to a parent!");var od=this,ld=this._elem.indent;format(this.append,resolve(nd,ld,this._elem.icount+(ld?1:0)),function(){od.append(!0)})},qa.close=function(nd){nd!==void 0&&this.push(nd),this.end&&this.end()},qa}function create_indent(Ra,qa){return new Array(qa||0).join(Ra||"")}function resolve(Ra,qa,nd){nd=nd||0;var od=create_indent(qa,nd),ld,ud=Ra,dd=!1;if(typeof Ra=="object"){var pd=Object.keys(Ra);if(ld=pd[0],ud=Ra[ld],ud&&ud._elem)return ud._elem.name=ld,ud._elem.icount=nd,ud._elem.indent=qa,ud._elem.indents=od,ud._elem.interrupt=ud,ud._elem}var fd=[],md=[],vd;function Ad(Nd){var Od=Object.keys(Nd);Od.forEach(function(kd){fd.push(attribute(kd,Nd[kd]))})}switch(typeof ud){case"object":if(ud===null)break;ud._attr&&Ad(ud._attr),ud._cdata&&md.push(("/g,"]]]]>")+"]]>"),ud.forEach&&(vd=!1,md.push(""),ud.forEach(function(Nd){if(typeof Nd=="object"){var Od=Object.keys(Nd)[0];Od=="_attr"?Ad(Nd._attr):md.push(resolve(Nd,qa,nd+1))}else md.pop(),vd=!0,md.push(escapeForXML(Nd))}),vd||md.push(""));break;default:md.push(escapeForXML(ud))}return{name:ld,interrupt:dd,attributes:fd,content:md,icount:nd,indents:od,indent:qa}}function format(Ra,qa,nd){if(typeof qa!="object")return Ra(!1,qa);var od=qa.interrupt?1:qa.content.length;function ld(){for(;qa.content.length;){var dd=qa.content.shift();if(dd!==void 0){if(ud(dd))return;format(Ra,dd)}}Ra(!1,(od>1?qa.indents:"")+(qa.name?"":"")+(qa.indent&&!nd?` +}`;var c_=mC(function(){return g_(Xh,Hg+"return "+sg).apply(nd,Nm)});if(c_.source=sg,x1(c_))throw c_;return c_}function UN(Yd){return I_(Yd).toLowerCase()}function HN(Yd){return I_(Yd).toUpperCase()}function GN(Yd,gf,Df){if(Yd=I_(Yd),Yd&&(Df||gf===nd))return Og(Yd);if(!Yd||!(gf=jb(gf)))return Yd;var eh=a0(Yd),Oh=a0(gf),Xh=v_(eh,Oh),Nm=ob(eh,Oh)+1;return H0(eh,Xh,Nm).join("")}function qN(Yd,gf,Df){if(Yd=I_(Yd),Yd&&(Df||gf===nd))return Yd.slice(0,ZS(Yd)+1);if(!Yd||!(gf=jb(gf)))return Yd;var eh=a0(Yd),Oh=ob(eh,a0(gf))+1;return H0(eh,0,Oh).join("")}function VN(Yd,gf,Df){if(Yd=I_(Yd),Yd&&(Df||gf===nd))return Yd.replace(y_,"");if(!Yd||!(gf=jb(gf)))return Yd;var eh=a0(Yd),Oh=v_(eh,a0(gf));return H0(eh,Oh).join("")}function zN(Yd,gf){var Df=pf,eh=mf;if(J_(gf)){var Oh="separator"in gf?gf.separator:Oh;Df="length"in gf?l_(gf.length):Df,eh="omission"in gf?jb(gf.omission):eh}Yd=I_(Yd);var Xh=Yd.length;if(jv(Yd)){var Nm=a0(Yd);Xh=Nm.length}if(Df>=Xh)return Yd;var Rm=Df-Uv(eh);if(Rm<1)return eh;var Fm=Nm?H0(Nm,0,Rm).join(""):Yd.slice(0,Rm);if(Oh===nd)return Fm+eh;if(Nm&&(Rm+=Fm.length-Rm),C1(Oh)){if(Yd.slice(Rm).search(Oh)){var tg,rg=Fm;for(Oh.global||(Oh=AE(Oh.source,I_(fm.exec(Oh))+"g")),Oh.lastIndex=0;tg=Oh.exec(rg);)var sg=tg.index;Fm=Fm.slice(0,sg===nd?Rm:sg)}}else if(Yd.indexOf(jb(Oh),Rm)!=Rm){var Rg=Fm.lastIndexOf(Oh);Rg>-1&&(Fm=Fm.slice(0,Rg))}return Fm+eh}function WN(Yd){return Yd=I_(Yd),Yd&&wg.test(Yd)?Yd.replace(Zm,HT):Yd}var YN=uE(function(Yd,gf,Df){return Yd+(Df?" ":"")+gf.toUpperCase()}),N1=Nx("toUpperCase");function hC(Yd,gf,Df){return Yd=I_(Yd),gf=Df?nd:gf,gf===nd?FT(Yd)?qT(Yd):QS(Yd):Yd.match(gf)||[]}var mC=o_(function(Yd,gf){try{return Db(Yd,nd,gf)}catch(Df){return x1(Df)?Df:new t_(Df)}}),KN=w0(function(Yd,gf){return $b(gf,function(Df){Df=U_(Df),j0(Yd,Df,S1(Yd[Df],Yd))}),Yd});function XN(Yd){var gf=Yd==null?0:Yd.length,Df=Wg();return Yd=gf?k_(Yd,function(eh){if(typeof eh[1]!="function")throw new Kb(dd);return[Df(eh[0]),eh[1]]}):[],o_(function(eh){for(var Oh=-1;++OhGf)return[];var Df=ph,eh=tb(Yd,ph);gf=Wg(gf),Yd-=ph;for(var Oh=yg(eh,gf);++Df0||gf<0)?new Yg(Df):(Yd<0?Df=Df.takeRight(-Yd):Yd&&(Df=Df.drop(Yd)),gf!==nd&&(gf=l_(gf),Df=gf<0?Df.dropRight(-gf):Df.take(gf-Yd)),Df)},Yg.prototype.takeRightWhile=function(Yd){return this.reverse().takeWhile(Yd).reverse()},Yg.prototype.toArray=function(){return this.take(ph)},Qb(Yg.prototype,function(Yd,gf){var Df=/^(?:filter|find|map|reject)|While$/.test(gf),eh=/^(?:head|last)$/.test(gf),Oh=Vh[eh?"take"+(gf=="last"?"Right":""):gf],Xh=eh||/^find/.test(gf);Oh&&(Vh.prototype[gf]=function(){var Nm=this.__wrapped__,Rm=eh?[1]:arguments,Fm=Nm instanceof Yg,tg=Rm[0],rg=Fm||s_(Nm),sg=function(f_){var b_=Oh.apply(Vh,i0([f_],Rm));return eh&&Rg?b_[0]:b_};rg&&Df&&typeof tg=="function"&&tg.length!=1&&(Fm=rg=!1);var Rg=this.__chain__,Hg=!!this.__actions__.length,Qg=Xh&&!Rg,c_=Fm&&!Hg;if(!Xh&&rg){Nm=c_?Nm:new Yg(this);var Jg=Yd.apply(Nm,Rm);return Jg.__actions__.push({func:Px,args:[sg],thisArg:nd}),new C_(Jg,Rg)}return Qg&&c_?Yd.apply(this,Rm):(Jg=this.thru(sg),Qg?eh?Jg.value()[0]:Jg.value():Jg)})}),$b(["pop","push","shift","sort","splice","unshift"],function(Yd){var gf=pS[Yd],Df=/^(?:push|sort|unshift)$/.test(Yd)?"tap":"thru",eh=/^(?:pop|shift)$/.test(Yd);Vh.prototype[Yd]=function(){var Oh=arguments;if(eh&&!this.__chain__){var Xh=this.value();return gf.apply(s_(Xh)?Xh:[],Oh)}return this[Df](function(Nm){return gf.apply(s_(Nm)?Nm:[],Oh)})}}),Qb(Yg.prototype,function(Yd,gf){var Df=Vh[gf];if(Df){var eh=Df.name+"";T_.call(nv,eh)||(nv[eh]=[]),nv[eh].push({name:gf,func:Df})}}),nv[OS(nd,jd).name]=[{name:"wrapper",func:nd}],Yg.prototype.clone=lb,Yg.prototype.reverse=RE,Yg.prototype.value=Qx,Vh.prototype.at=yA,Vh.prototype.chain=vA,Vh.prototype.commit=EA,Vh.prototype.next=SA,Vh.prototype.plant=xA,Vh.prototype.reverse=CA,Vh.prototype.toJSON=Vh.prototype.valueOf=Vh.prototype.value=AA,Vh.prototype.first=Vh.prototype.head,Zy&&(Vh.prototype[Zy]=TA),Vh},P0=eT();$0?(($0.exports=P0)._=P0,SE._=P0):x_._=P0}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports);var queryString={},strictUriEncode=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(Ra,qa){try{return[decodeURIComponent(Ra.join(""))]}catch{}if(Ra.length===1)return Ra;qa=qa||1;var nd=Ra.slice(0,qa),od=Ra.slice(qa);return Array.prototype.concat.call([],decodeComponents(nd),decodeComponents(od))}function decode(Ra){try{return decodeURIComponent(Ra)}catch{for(var qa=Ra.match(singleMatcher)||[],nd=1;nd{if(!(typeof Ra=="string"&&typeof qa=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(qa==="")return[Ra];const nd=Ra.indexOf(qa);return nd===-1?[Ra]:[Ra.slice(0,nd),Ra.slice(nd+qa.length)]},filterObj=function(Ra,qa){for(var nd={},od=Object.keys(Ra),ld=Array.isArray(qa),ud=0;udFd==null,dd=Symbol("encodeFragmentIdentifier");function pd(Fd){switch(Fd.arrayFormat){case"index":return Ud=>(qd,zd)=>{const Wd=qd.length;return zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),"[",Wd,"]"].join("")]:[...qd,[vd(Ud,Fd),"[",vd(Wd,Fd),"]=",vd(zd,Fd)].join("")]};case"bracket":return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),"[]"].join("")]:[...qd,[vd(Ud,Fd),"[]=",vd(zd,Fd)].join("")];case"colon-list-separator":return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,[vd(Ud,Fd),":list="].join("")]:[...qd,[vd(Ud,Fd),":list=",vd(zd,Fd)].join("")];case"comma":case"separator":case"bracket-separator":{const Ud=Fd.arrayFormat==="bracket-separator"?"[]=":"=";return qd=>(zd,Wd)=>Wd===void 0||Fd.skipNull&&Wd===null||Fd.skipEmptyString&&Wd===""?zd:(Wd=Wd===null?"":Wd,zd.length===0?[[vd(qd,Fd),Ud,vd(Wd,Fd)].join("")]:[[zd,vd(Wd,Fd)].join(Fd.arrayFormatSeparator)])}default:return Ud=>(qd,zd)=>zd===void 0||Fd.skipNull&&zd===null||Fd.skipEmptyString&&zd===""?qd:zd===null?[...qd,vd(Ud,Fd)]:[...qd,[vd(Ud,Fd),"=",vd(zd,Fd)].join("")]}}function fd(Fd){let Ud;switch(Fd.arrayFormat){case"index":return(qd,zd,Wd)=>{if(Ud=/\[(\d*)\]$/.exec(qd),qd=qd.replace(/\[\d*\]$/,""),!Ud){Wd[qd]=zd;return}Wd[qd]===void 0&&(Wd[qd]={}),Wd[qd][Ud[1]]=zd};case"bracket":return(qd,zd,Wd)=>{if(Ud=/(\[\])$/.exec(qd),qd=qd.replace(/\[\]$/,""),!Ud){Wd[qd]=zd;return}if(Wd[qd]===void 0){Wd[qd]=[zd];return}Wd[qd]=[].concat(Wd[qd],zd)};case"colon-list-separator":return(qd,zd,Wd)=>{if(Ud=/(:list)$/.exec(qd),qd=qd.replace(/:list$/,""),!Ud){Wd[qd]=zd;return}if(Wd[qd]===void 0){Wd[qd]=[zd];return}Wd[qd]=[].concat(Wd[qd],zd)};case"comma":case"separator":return(qd,zd,Wd)=>{const Jd=typeof zd=="string"&&zd.includes(Fd.arrayFormatSeparator),_f=typeof zd=="string"&&!Jd&&Ad(zd,Fd).includes(Fd.arrayFormatSeparator);zd=_f?Ad(zd,Fd):zd;const Xd=Jd||_f?zd.split(Fd.arrayFormatSeparator).map(pf=>Ad(pf,Fd)):zd===null?zd:Ad(zd,Fd);Wd[qd]=Xd};case"bracket-separator":return(qd,zd,Wd)=>{const Jd=/(\[\])$/.test(qd);if(qd=qd.replace(/\[\]$/,""),!Jd){Wd[qd]=zd&&Ad(zd,Fd);return}const _f=zd===null?[]:zd.split(Fd.arrayFormatSeparator).map(Xd=>Ad(Xd,Fd));if(Wd[qd]===void 0){Wd[qd]=_f;return}Wd[qd]=[].concat(Wd[qd],_f)};default:return(qd,zd,Wd)=>{if(Wd[qd]===void 0){Wd[qd]=zd;return}Wd[qd]=[].concat(Wd[qd],zd)}}}function md(Fd){if(typeof Fd!="string"||Fd.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function vd(Fd,Ud){return Ud.encode?Ud.strict?qa(Fd):encodeURIComponent(Fd):Fd}function Ad(Fd,Ud){return Ud.decode?nd(Fd):Fd}function Nd(Fd){return Array.isArray(Fd)?Fd.sort():typeof Fd=="object"?Nd(Object.keys(Fd)).sort((Ud,qd)=>Number(Ud)-Number(qd)).map(Ud=>Fd[Ud]):Fd}function Od(Fd){const Ud=Fd.indexOf("#");return Ud!==-1&&(Fd=Fd.slice(0,Ud)),Fd}function kd(Fd){let Ud="";const qd=Fd.indexOf("#");return qd!==-1&&(Ud=Fd.slice(qd)),Ud}function Ld(Fd){Fd=Od(Fd);const Ud=Fd.indexOf("?");return Ud===-1?"":Fd.slice(Ud+1)}function Gd(Fd,Ud){return Ud.parseNumbers&&!Number.isNaN(Number(Fd))&&typeof Fd=="string"&&Fd.trim()!==""?Fd=Number(Fd):Ud.parseBooleans&&Fd!==null&&(Fd.toLowerCase()==="true"||Fd.toLowerCase()==="false")&&(Fd=Fd.toLowerCase()==="true"),Fd}function jd(Fd,Ud){Ud=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Ud),md(Ud.arrayFormatSeparator);const qd=fd(Ud),zd=Object.create(null);if(typeof Fd!="string"||(Fd=Fd.trim().replace(/^[?#&]/,""),!Fd))return zd;for(const Wd of Fd.split("&")){if(Wd==="")continue;let[Jd,_f]=od(Ud.decode?Wd.replace(/\+/g," "):Wd,"=");_f=_f===void 0?null:["comma","separator","bracket-separator"].includes(Ud.arrayFormat)?_f:Ad(_f,Ud),qd(Ad(Jd,Ud),_f,zd)}for(const Wd of Object.keys(zd)){const Jd=zd[Wd];if(typeof Jd=="object"&&Jd!==null)for(const _f of Object.keys(Jd))Jd[_f]=Gd(Jd[_f],Ud);else zd[Wd]=Gd(Jd,Ud)}return Ud.sort===!1?zd:(Ud.sort===!0?Object.keys(zd).sort():Object.keys(zd).sort(Ud.sort)).reduce((Wd,Jd)=>{const _f=zd[Jd];return _f&&typeof _f=="object"&&!Array.isArray(_f)?Wd[Jd]=Nd(_f):Wd[Jd]=_f,Wd},Object.create(null))}Ra.extract=Ld,Ra.parse=jd,Ra.stringify=(Fd,Ud)=>{if(!Fd)return"";Ud=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Ud),md(Ud.arrayFormatSeparator);const qd=_f=>Ud.skipNull&&ud(Fd[_f])||Ud.skipEmptyString&&Fd[_f]==="",zd=pd(Ud),Wd={};for(const _f of Object.keys(Fd))qd(_f)||(Wd[_f]=Fd[_f]);const Jd=Object.keys(Wd);return Ud.sort!==!1&&Jd.sort(Ud.sort),Jd.map(_f=>{const Xd=Fd[_f];return Xd===void 0?"":Xd===null?vd(_f,Ud):Array.isArray(Xd)?Xd.length===0&&Ud.arrayFormat==="bracket-separator"?vd(_f,Ud)+"[]":Xd.reduce(zd(_f),[]).join("&"):vd(_f,Ud)+"="+vd(Xd,Ud)}).filter(_f=>_f.length>0).join("&")},Ra.parseUrl=(Fd,Ud)=>{Ud=Object.assign({decode:!0},Ud);const[qd,zd]=od(Fd,"#");return Object.assign({url:qd.split("?")[0]||"",query:jd(Ld(Fd),Ud)},Ud&&Ud.parseFragmentIdentifier&&zd?{fragmentIdentifier:Ad(zd,Ud)}:{})},Ra.stringifyUrl=(Fd,Ud)=>{Ud=Object.assign({encode:!0,strict:!0,[dd]:!0},Ud);const qd=Od(Fd.url).split("?")[0]||"",zd=Ra.extract(Fd.url),Wd=Ra.parse(zd,{sort:!1}),Jd=Object.assign(Wd,Fd.query);let _f=Ra.stringify(Jd,Ud);_f&&(_f=`?${_f}`);let Xd=kd(Fd.url);return Fd.fragmentIdentifier&&(Xd=`#${Ud[dd]?vd(Fd.fragmentIdentifier,Ud):Fd.fragmentIdentifier}`),`${qd}${_f}${Xd}`},Ra.pick=(Fd,Ud,qd)=>{qd=Object.assign({parseFragmentIdentifier:!0,[dd]:!1},qd);const{url:zd,query:Wd,fragmentIdentifier:Jd}=Ra.parseUrl(Fd,qd);return Ra.stringifyUrl({url:zd,query:ld(Wd,Ud),fragmentIdentifier:Jd},qd)},Ra.exclude=(Fd,Ud,qd)=>{const zd=Array.isArray(Ud)?Wd=>!Ud.includes(Wd):(Wd,Jd)=>!Ud(Wd,Jd);return Ra.pick(Fd,zd,qd)}})(queryString);const Encoder=TextEncoder;var xml$2={exports:{}},XML_CHARACTER_MAP={"&":"&",'"':""","'":"'","<":"<",">":">"};function escapeForXML$1(Ra){return Ra&&Ra.replace?Ra.replace(/([&"<>'])/g,function(qa,nd){return XML_CHARACTER_MAP[nd]}):Ra}var escapeForXML_1=escapeForXML$1,define_process_default$4={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},escapeForXML=escapeForXML_1,Stream=streamBrowserify.Stream,DEFAULT_INDENT=" ";function xml$1(Ra,qa){typeof qa!="object"&&(qa={indent:qa});var nd=qa.stream?new Stream:null,od="",ld=!1,ud=qa.indent?qa.indent===!0?DEFAULT_INDENT:qa.indent:"",dd=!0;function pd(Nd){dd?define_process_default$4.nextTick(Nd):Nd()}function fd(Nd,Od){if(Od!==void 0&&(od+=Od),Nd&&!ld&&(nd=nd||new Stream,ld=!0),Nd&&ld){var kd=od;pd(function(){nd.emit("data",kd)}),od=""}}function md(Nd,Od){format(fd,resolve(Nd,ud,ud?1:0),Od)}function vd(){if(nd){var Nd=od;pd(function(){nd.emit("data",Nd),nd.emit("end"),nd.readable=!1,nd.emit("close")})}}function Ad(Nd){var Od=Nd.encoding||"UTF-8",kd={version:"1.0",encoding:Od};Nd.standalone&&(kd.standalone=Nd.standalone),md({"?xml":{_attr:kd}}),od=od.replace("/>","?>")}return pd(function(){dd=!1}),qa.declaration&&Ad(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Nd,Od){var kd;Od+1===Ra.length&&(kd=vd),md(Nd,kd)}):md(Ra,vd),nd?(nd.readable=!0,nd):od}function element(){var Ra=Array.prototype.slice.call(arguments),qa={_elem:resolve(Ra)};return qa.push=function(nd){if(!this.append)throw new Error("not assigned to a parent!");var od=this,ld=this._elem.indent;format(this.append,resolve(nd,ld,this._elem.icount+(ld?1:0)),function(){od.append(!0)})},qa.close=function(nd){nd!==void 0&&this.push(nd),this.end&&this.end()},qa}function create_indent(Ra,qa){return new Array(qa||0).join(Ra||"")}function resolve(Ra,qa,nd){nd=nd||0;var od=create_indent(qa,nd),ld,ud=Ra,dd=!1;if(typeof Ra=="object"){var pd=Object.keys(Ra);if(ld=pd[0],ud=Ra[ld],ud&&ud._elem)return ud._elem.name=ld,ud._elem.icount=nd,ud._elem.indent=qa,ud._elem.indents=od,ud._elem.interrupt=ud,ud._elem}var fd=[],md=[],vd;function Ad(Nd){var Od=Object.keys(Nd);Od.forEach(function(kd){fd.push(attribute(kd,Nd[kd]))})}switch(typeof ud){case"object":if(ud===null)break;ud._attr&&Ad(ud._attr),ud._cdata&&md.push(("/g,"]]]]>")+"]]>"),ud.forEach&&(vd=!1,md.push(""),ud.forEach(function(Nd){if(typeof Nd=="object"){var Od=Object.keys(Nd)[0];Od=="_attr"?Ad(Nd._attr):md.push(resolve(Nd,qa,nd+1))}else md.pop(),vd=!0,md.push(escapeForXML(Nd))}),vd||md.push(""));break;default:md.push(escapeForXML(ud))}return{name:ld,interrupt:dd,attributes:fd,content:md,icount:nd,indents:od,indent:qa}}function format(Ra,qa,nd){if(typeof qa!="object")return Ra(!1,qa);var od=qa.interrupt?1:qa.content.length;function ld(){for(;qa.content.length;){var dd=qa.content.shift();if(dd!==void 0){if(ud(dd))return;format(Ra,dd)}}Ra(!1,(od>1?qa.indents:"")+(qa.name?"":"")+(qa.indent&&!nd?` `:"")),nd&&nd()}function ud(dd){return dd.interrupt?(dd.interrupt.append=Ra,dd.interrupt.end=ld,dd.interrupt=!1,Ra(!0),!0):!1}if(Ra(!1,qa.indents+(qa.name?"<"+qa.name:"")+(qa.attributes.length?" "+qa.attributes.join(" "):"")+(od?qa.name?">":"":qa.name?"/>":"")+(qa.indent&&od>1?` `:"")),!od)return Ra(!1,qa.indent?` `:"");ud(qa)||ld()}function attribute(Ra,qa){return Ra+'="'+escapeForXML(qa)+'"'}xml$2.exports=xml$1;xml$2.exports.element=xml$2.exports.Element=element;var xmlExports=xml$2.exports;const Xml=getDefaultExportFromCjs(xmlExports);var xml2js={},defaults={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` @@ -1215,7 +1215,7 @@ Char: `+Cf.c),xf=new Error(xf),Cf.error=xf,mf(Cf,"onerror",xf),Cf}function Nf(Cf Actual: `+Cf.attribValue);else if(dh==="xmlns"&&Cf.attribValue!==kd)If(Cf,"xmlns: prefix must be bound to "+kd+` Actual: `+Cf.attribValue);else{var Rh=Cf.tag,th=Cf.tags[Cf.tags.length-1]||Cf;Rh.ns===th.ns&&(Rh.ns=Object.create(th.ns)),Rh.ns[dh]=Cf.attribValue}Cf.attribList.push([Cf.attribName,Cf.attribValue])}else Cf.tag.attributes[Cf.attribName]=Cf.attribValue,Sf(Cf,"onattribute",{name:Cf.attribName,value:Cf.attribValue});Cf.attribName=Cf.attribValue=""}function ph(Cf,xf){if(Cf.opt.xmlns){var Yf=Cf.tag,dh=Qf(Cf.tagName);Yf.prefix=dh.prefix,Yf.local=dh.local,Yf.uri=Yf.ns[dh.prefix]||"",Yf.prefix&&!Yf.uri&&(If(Cf,"Unbound namespace prefix: "+JSON.stringify(Cf.tagName)),Yf.uri=dh.prefix);var Rh=Cf.tags[Cf.tags.length-1]||Cf;Yf.ns&&Rh.ns!==Yf.ns&&Object.keys(Yf.ns).forEach(function(_h){Sf(Cf,"onopennamespace",{prefix:_h,uri:Yf.ns[_h]})});for(var th=0,Bf=Cf.attribList.length;th",Cf.tagName="",Cf.state=Xd.SCRIPT;return}Sf(Cf,"onscript",Cf.script),Cf.script=""}var xf=Cf.tags.length,Yf=Cf.tagName;Cf.strict||(Yf=Yf[Cf.looseCase]());for(var dh=Yf;xf--;){var Rh=Cf.tags[xf];if(Rh.name!==dh)If(Cf,"Unexpected close tag");else break}if(xf<0){If(Cf,"Unmatched closing tag: "+Cf.tagName),Cf.textNode+="",Cf.state=Xd.TEXT;return}Cf.tagName=Yf;for(var th=Cf.tags.length;th-- >xf;){var Bf=Cf.tag=Cf.tags.pop();Cf.tagName=Cf.tag.name,Sf(Cf,"onclosetag",Cf.tagName);var Sh={};for(var Fh in Bf.ns)Sh[Fh]=Bf.ns[Fh];var uh=Cf.tags[Cf.tags.length-1]||Cf;Cf.opt.xmlns&&Bf.ns!==uh.ns&&Object.keys(Bf.ns).forEach(function(Pf){var Uf=Bf.ns[Pf];Sf(Cf,"onclosenamespace",{prefix:Pf,uri:Uf})})}xf===0&&(Cf.closedRoot=!0),Cf.tagName=Cf.attribValue=Cf.attribName="",Cf.attribList.length=0,Cf.state=Xd.TEXT}function Lf(Cf){var xf=Cf.entity,Yf=xf.toLowerCase(),dh,Rh="";return Cf.ENTITIES[xf]?Cf.ENTITIES[xf]:Cf.ENTITIES[Yf]?Cf.ENTITIES[Yf]:(xf=Yf,xf.charAt(0)==="#"&&(xf.charAt(1)==="x"?(xf=xf.slice(2),dh=parseInt(xf,16),Rh=dh.toString(16)):(xf=xf.slice(1),dh=parseInt(xf,10),Rh=dh.toString(10))),xf=xf.replace(/^0+/,""),isNaN(dh)||Rh.toLowerCase()!==xf?(If(Cf,"Invalid character entity"),"&"+Cf.entity+";"):String.fromCodePoint(dh))}function Wf(Cf,xf){xf==="<"?(Cf.state=Xd.OPEN_WAKA,Cf.startTagPosition=Cf.position):qd(xf)||(If(Cf,"Non-whitespace before first tag."),Cf.textNode=xf,Cf.state=Xd.TEXT)}function Jf(Cf,xf){var Yf="";return xf"?(Sf(xf,"onsgmldeclaration",xf.sgmlDecl),xf.sgmlDecl="",xf.state=Xd.TEXT):(zd(dh)&&(xf.state=Xd.SGML_DECL_QUOTED),xf.sgmlDecl+=dh);continue;case Xd.SGML_DECL_QUOTED:dh===xf.q&&(xf.state=Xd.SGML_DECL,xf.q=""),xf.sgmlDecl+=dh;continue;case Xd.DOCTYPE:dh===">"?(xf.state=Xd.TEXT,Sf(xf,"ondoctype",xf.doctype),xf.doctype=!0):(xf.doctype+=dh,dh==="["?xf.state=Xd.DOCTYPE_DTD:zd(dh)&&(xf.state=Xd.DOCTYPE_QUOTED,xf.q=dh));continue;case Xd.DOCTYPE_QUOTED:xf.doctype+=dh,dh===xf.q&&(xf.q="",xf.state=Xd.DOCTYPE);continue;case Xd.DOCTYPE_DTD:dh==="]"?(xf.doctype+=dh,xf.state=Xd.DOCTYPE):dh==="<"?(xf.state=Xd.OPEN_WAKA,xf.startTagPosition=xf.position):zd(dh)?(xf.doctype+=dh,xf.state=Xd.DOCTYPE_DTD_QUOTED,xf.q=dh):xf.doctype+=dh;continue;case Xd.DOCTYPE_DTD_QUOTED:xf.doctype+=dh,dh===xf.q&&(xf.state=Xd.DOCTYPE_DTD,xf.q="");continue;case Xd.COMMENT:dh==="-"?xf.state=Xd.COMMENT_ENDING:xf.comment+=dh;continue;case Xd.COMMENT_ENDING:dh==="-"?(xf.state=Xd.COMMENT_ENDED,xf.comment=Af(xf.opt,xf.comment),xf.comment&&Sf(xf,"oncomment",xf.comment),xf.comment=""):(xf.comment+="-"+dh,xf.state=Xd.COMMENT);continue;case Xd.COMMENT_ENDED:dh!==">"?(If(xf,"Malformed comment"),xf.comment+="--"+dh,xf.state=Xd.COMMENT):xf.doctype&&xf.doctype!==!0?xf.state=Xd.DOCTYPE_DTD:xf.state=Xd.TEXT;continue;case Xd.CDATA:dh==="]"?xf.state=Xd.CDATA_ENDING:xf.cdata+=dh;continue;case Xd.CDATA_ENDING:dh==="]"?xf.state=Xd.CDATA_ENDING_2:(xf.cdata+="]"+dh,xf.state=Xd.CDATA);continue;case Xd.CDATA_ENDING_2:dh===">"?(xf.cdata&&Sf(xf,"oncdata",xf.cdata),Sf(xf,"onclosecdata"),xf.cdata="",xf.state=Xd.TEXT):dh==="]"?xf.cdata+="]":(xf.cdata+="]]"+dh,xf.state=Xd.CDATA);continue;case Xd.PROC_INST:dh==="?"?xf.state=Xd.PROC_INST_ENDING:qd(dh)?xf.state=Xd.PROC_INST_BODY:xf.procInstName+=dh;continue;case Xd.PROC_INST_BODY:if(!xf.procInstBody&&qd(dh))continue;dh==="?"?xf.state=Xd.PROC_INST_ENDING:xf.procInstBody+=dh;continue;case Xd.PROC_INST_ENDING:dh===">"?(Sf(xf,"onprocessinginstruction",{name:xf.procInstName,body:xf.procInstBody}),xf.procInstName=xf.procInstBody="",xf.state=Xd.TEXT):(xf.procInstBody+="?"+dh,xf.state=Xd.PROC_INST_BODY);continue;case Xd.OPEN_TAG:Jd(jd,dh)?xf.tagName+=dh:(Gf(xf),dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:(qd(dh)||If(xf,"Invalid character in tag name"),xf.state=Xd.ATTRIB));continue;case Xd.OPEN_TAG_SLASH:dh===">"?(ph(xf,!0),qf(xf)):(If(xf,"Forward-slash in opening tag not followed by >"),xf.state=Xd.ATTRIB);continue;case Xd.ATTRIB:if(qd(dh))continue;dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:Jd(Gd,dh)?(xf.attribName=dh,xf.attribValue="",xf.state=Xd.ATTRIB_NAME):If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_NAME:dh==="="?xf.state=Xd.ATTRIB_VALUE:dh===">"?(If(xf,"Attribute without value"),xf.attribValue=xf.attribName,Xf(xf),ph(xf)):qd(dh)?xf.state=Xd.ATTRIB_NAME_SAW_WHITE:Jd(jd,dh)?xf.attribName+=dh:If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_NAME_SAW_WHITE:if(dh==="=")xf.state=Xd.ATTRIB_VALUE;else{if(qd(dh))continue;If(xf,"Attribute without value"),xf.tag.attributes[xf.attribName]="",xf.attribValue="",Sf(xf,"onattribute",{name:xf.attribName,value:""}),xf.attribName="",dh===">"?ph(xf):Jd(Gd,dh)?(xf.attribName=dh,xf.state=Xd.ATTRIB_NAME):(If(xf,"Invalid attribute name"),xf.state=Xd.ATTRIB)}continue;case Xd.ATTRIB_VALUE:if(qd(dh))continue;zd(dh)?(xf.q=dh,xf.state=Xd.ATTRIB_VALUE_QUOTED):(xf.opt.unquotedAttributeValues||Ef(xf,"Unquoted attribute value"),xf.state=Xd.ATTRIB_VALUE_UNQUOTED,xf.attribValue=dh);continue;case Xd.ATTRIB_VALUE_QUOTED:if(dh!==xf.q){dh==="&"?xf.state=Xd.ATTRIB_VALUE_ENTITY_Q:xf.attribValue+=dh;continue}Xf(xf),xf.q="",xf.state=Xd.ATTRIB_VALUE_CLOSED;continue;case Xd.ATTRIB_VALUE_CLOSED:qd(dh)?xf.state=Xd.ATTRIB:dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:Jd(Gd,dh)?(If(xf,"No whitespace between attributes"),xf.attribName=dh,xf.attribValue="",xf.state=Xd.ATTRIB_NAME):If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_VALUE_UNQUOTED:if(!Wd(dh)){dh==="&"?xf.state=Xd.ATTRIB_VALUE_ENTITY_U:xf.attribValue+=dh;continue}Xf(xf),dh===">"?ph(xf):xf.state=Xd.ATTRIB;continue;case Xd.CLOSE_TAG:if(xf.tagName)dh===">"?qf(xf):Jd(jd,dh)?xf.tagName+=dh:xf.script?(xf.script+=""?qf(xf):If(xf,"Invalid characters in closing tag");continue;case Xd.TEXT_ENTITY:case Xd.ATTRIB_VALUE_ENTITY_Q:case Xd.ATTRIB_VALUE_ENTITY_U:var Bf,Sh;switch(xf.state){case Xd.TEXT_ENTITY:Bf=Xd.TEXT,Sh="textNode";break;case Xd.ATTRIB_VALUE_ENTITY_Q:Bf=Xd.ATTRIB_VALUE_QUOTED,Sh="attribValue";break;case Xd.ATTRIB_VALUE_ENTITY_U:Bf=Xd.ATTRIB_VALUE_UNQUOTED,Sh="attribValue";break}if(dh===";"){var Fh=Lf(xf);xf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(Fh)?(xf.entity="",xf.state=Bf,xf.write(Fh)):(xf[Sh]+=Fh,xf.entity="",xf.state=Bf)}else Jd(xf.entity.length?Ud:Fd,dh)?xf.entity+=dh:(If(xf,"Invalid character in entity name"),xf[Sh]+="&"+xf.entity+dh,xf.entity="",xf.state=Bf);continue;default:throw new Error(xf,"Unknown state: "+xf.state)}return xf.position>=xf.bufferCheckPosition&&ld(xf),xf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Cf=String.fromCharCode,xf=Math.floor,Yf=function(){var dh=16384,Rh=[],th,Bf,Sh=-1,Fh=arguments.length;if(!Fh)return"";for(var uh="";++Sh1114111||xf(Pf)!==Pf)throw RangeError("Invalid code point: "+Pf);Pf<=65535?Rh.push(Pf):(Pf-=65536,th=(Pf>>10)+55296,Bf=Pf%1024+56320,Rh.push(th,Bf)),(Sh+1===Fh||Rh.length>dh)&&(uh+=Cf.apply(null,Rh),Rh.length=0)}return uh};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Yf,configurable:!0,writable:!0}):String.fromCodePoint=Yf}()})(Ra)}(sax)),sax}var bom={},hasRequiredBom;function requireBom(){return hasRequiredBom||(hasRequiredBom=1,(function(){bom.stripBOM=function(Ra){return Ra[0]==="\uFEFF"?Ra.substring(1):Ra}}).call(commonjsGlobal)),bom}var processors={},hasRequiredProcessors;function requireProcessors(){return hasRequiredProcessors||(hasRequiredProcessors=1,(function(){var Ra;Ra=new RegExp(/(?!xmlns)^.*:/),processors.normalize=function(qa){return qa.toLowerCase()},processors.firstCharLowerCase=function(qa){return qa.charAt(0).toLowerCase()+qa.slice(1)},processors.stripPrefix=function(qa){return qa.replace(Ra,"")},processors.parseNumbers=function(qa){return isNaN(qa)||(qa=qa%1===0?parseInt(qa,10):parseFloat(qa)),qa},processors.parseBooleans=function(qa){return/^(?:true|false)$/i.test(qa)&&(qa=qa.toLowerCase()==="true"),qa}}).call(commonjsGlobal)),processors}var main={},setImmediate$1={},hasRequiredSetImmediate;function requireSetImmediate(){if(hasRequiredSetImmediate)return setImmediate$1;hasRequiredSetImmediate=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};return function(qa,nd){if(qa.setImmediate)return;var od=1,ld={},ud=!1,dd=qa.document,pd;function fd(Ud){typeof Ud!="function"&&(Ud=new Function(""+Ud));for(var qd=new Array(arguments.length-1),zd=0;zd"u"?commonjsGlobal:self),setImmediate$1}var hasRequiredMain;function requireMain(){if(hasRequiredMain)return main;hasRequiredMain=1;var Ra=typeof commonjsGlobal<"u"&&commonjsGlobal||typeof self<"u"&&self||window,qa=Function.prototype.apply;main.setTimeout=function(){return new nd(qa.call(setTimeout,Ra,arguments),clearTimeout)},main.setInterval=function(){return new nd(qa.call(setInterval,Ra,arguments),clearInterval)},main.clearTimeout=main.clearInterval=function(od){od&&od.close()};function nd(od,ld){this._id=od,this._clearFn=ld}return nd.prototype.unref=nd.prototype.ref=function(){},nd.prototype.close=function(){this._clearFn.call(Ra,this._id)},main.enroll=function(od,ld){clearTimeout(od._idleTimeoutId),od._idleTimeout=ld},main.unenroll=function(od){clearTimeout(od._idleTimeoutId),od._idleTimeout=-1},main._unrefActive=main.active=function(od){clearTimeout(od._idleTimeoutId);var ld=od._idleTimeout;ld>=0&&(od._idleTimeoutId=setTimeout(function(){od._onTimeout&&od._onTimeout()},ld))},requireSetImmediate(),main.setImmediate=typeof self<"u"&&self.setImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.setImmediate||commonjsGlobal&&commonjsGlobal.setImmediate,main.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.clearImmediate||commonjsGlobal&&commonjsGlobal.clearImmediate,main}var hasRequiredParser;function requireParser(){return hasRequiredParser||(hasRequiredParser=1,function(Ra){(function(){var qa,nd,od,ld,ud,dd,pd,fd,md=function(Nd,Od){return function(){return Nd.apply(Od,arguments)}},vd=function(Nd,Od){for(var kd in Od)Ad.call(Od,kd)&&(Nd[kd]=Od[kd]);function Ld(){this.constructor=Nd}return Ld.prototype=Od.prototype,Nd.prototype=new Ld,Nd.__super__=Od.prototype,Nd},Ad={}.hasOwnProperty;pd=requireSax(),od=eventsExports,qa=requireBom(),dd=requireProcessors(),fd=requireMain().setImmediate,nd=requireDefaults().defaults,ld=function(Nd){return typeof Nd=="object"&&Nd!=null&&Object.keys(Nd).length===0},ud=function(Nd,Od,kd){var Ld,Gd,jd;for(Ld=0,Gd=Nd.length;Ld0&&(Wd[Fd.options.childkey]=_f),_f=Wd;else if(mf){mf[Fd.options.childkey]=mf[Fd.options.childkey]||[],Xd=Object.create(null);for(zd in _f)Ad.call(_f,zd)&&(Xd[zd]=_f[zd]);mf[Fd.options.childkey].push(Xd),delete _f["#name"],Object.keys(_f).length===1&&Ld in _f&&!Fd.EXPLICIT_CHARKEY&&(_f=_f[Ld])}}return jd.length>0?Fd.assignOrPush(mf,Jd,_f):(Fd.options.explicitRoot&&(pf=_f,_f=Object.create(null),_f[Jd]=pf),Fd.resultObject=_f,Fd.saxParser.ended=!0,Fd.emit("end",Fd.resultObject))}}(this),Gd=function(Fd){return function(Ud){var qd,zd;if(zd=jd[jd.length-1],zd)return zd[Ld]+=Ud,Fd.options.explicitChildren&&Fd.options.preserveChildrenOrder&&Fd.options.charsAsChildren&&(Fd.options.includeWhiteChars||Ud.replace(/\\n/g,"").trim()!=="")&&(zd[Fd.options.childkey]=zd[Fd.options.childkey]||[],qd={"#name":"__text__"},qd[Ld]=Ud,Fd.options.normalize&&(qd[Ld]=qd[Ld].replace(/\s{2,}/g," ").trim()),zd[Fd.options.childkey].push(qd)),zd}}(this),this.saxParser.ontext=Gd,this.saxParser.oncdata=function(Fd){return function(Ud){var qd;if(qd=Gd(Ud),qd)return qd.cdata=!0}}()},Od.prototype.parseString=function(kd,Ld){var Gd;Ld!=null&&typeof Ld=="function"&&(this.on("end",function(jd){return this.reset(),Ld(null,jd)}),this.on("error",function(jd){return this.reset(),Ld(jd)}));try{return kd=kd.toString(),kd.trim()===""?(this.emit("end",null),!0):(kd=qa.stripBOM(kd),this.options.async?(this.remaining=kd,fd(this.processAsync),this.saxParser):this.saxParser.write(kd).close())}catch(jd){if(Gd=jd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Gd}else return this.emit("error",Gd),this.saxParser.errThrown=!0}},Od.prototype.parseStringPromise=function(kd){return new Promise(function(Ld){return function(Gd,jd){return Ld.parseString(kd,function(Fd,Ud){return Fd?jd(Fd):Gd(Ud)})}}(this))},Od}(od),Ra.parseString=function(Nd,Od,kd){var Ld,Gd,jd;return kd!=null?(typeof kd=="function"&&(Ld=kd),typeof Od=="object"&&(Gd=Od)):(typeof Od=="function"&&(Ld=Od),Gd={}),jd=new Ra.Parser(Gd),jd.parseString(Nd,Ld)},Ra.parseStringPromise=function(Nd,Od){var kd,Ld;return typeof Od=="object"&&(kd=Od),Ld=new Ra.Parser(kd),Ld.parseStringPromise(Nd)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,nd,od,ld=function(dd,pd){for(var fd in pd)ud.call(pd,fd)&&(dd[fd]=pd[fd]);function md(){this.constructor=dd}return md.prototype=pd.prototype,dd.prototype=new md,dd.__super__=pd.prototype,dd},ud={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),nd=requireParser(),od=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=od,xml2js.ValidationError=function(dd){ld(pd,dd);function pd(fd){this.message=fd}return pd}(Error),xml2js.Builder=Ra.Builder,xml2js.Parser=nd.Parser,xml2js.parseString=nd.parseString,xml2js.parseStringPromise=nd.parseStringPromise}).call(commonjsGlobal);class ExtendableError extends Error{constructor(qa,nd){super(qa,nd),this.name=this.constructor.name}}class AnonymousRequestError extends ExtendableError{}class InvalidArgumentError extends ExtendableError{}class InvalidEndpointError extends ExtendableError{}class InvalidBucketNameError extends ExtendableError{}class InvalidObjectNameError extends ExtendableError{}class AccessKeyRequiredError extends ExtendableError{}class SecretKeyRequiredError extends ExtendableError{}class ExpiresParamError extends ExtendableError{}class InvalidDateError extends ExtendableError{}class InvalidPrefixError extends ExtendableError{}class InvalidBucketPolicyError extends ExtendableError{}class InvalidXMLError extends ExtendableError{}class S3Error extends ExtendableError{}class IsValidBucketNameError extends ExtendableError{}var validator$2={},util$4={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nd=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",od="["+qa+"]["+nd+"]*",ld=new RegExp("^"+od+"$"),ud=function(pd,fd){const md=[];let vd=fd.exec(pd);for(;vd;){const Ad=[];Ad.startIndex=fd.lastIndex-vd[0].length;const Nd=vd.length;for(let Od=0;Od"u")};Ra.isExist=function(pd){return typeof pd<"u"},Ra.isEmptyObject=function(pd){return Object.keys(pd).length===0},Ra.merge=function(pd,fd,md){if(fd){const vd=Object.keys(fd),Ad=vd.length;for(let Nd=0;Nd"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==` +`?(xf.line++,xf.column=0):xf.column++);xf.textNode+=Cf.substring(Rh,Yf-1)}dh==="<"&&!(xf.sawRoot&&xf.closedRoot&&!xf.strict)?(xf.state=Xd.OPEN_WAKA,xf.startTagPosition=xf.position):(!qd(dh)&&(!xf.sawRoot||xf.closedRoot)&&If(xf,"Text data outside of root node."),dh==="&"?xf.state=Xd.TEXT_ENTITY:xf.textNode+=dh);continue;case Xd.SCRIPT:dh==="<"?xf.state=Xd.SCRIPT_ENDING:xf.script+=dh;continue;case Xd.SCRIPT_ENDING:dh==="/"?xf.state=Xd.CLOSE_TAG:(xf.script+="<"+dh,xf.state=Xd.SCRIPT);continue;case Xd.OPEN_WAKA:if(dh==="!")xf.state=Xd.SGML_DECL,xf.sgmlDecl="";else if(!qd(dh))if(Jd(Gd,dh))xf.state=Xd.OPEN_TAG,xf.tagName=dh;else if(dh==="/")xf.state=Xd.CLOSE_TAG,xf.tagName="";else if(dh==="?")xf.state=Xd.PROC_INST,xf.procInstName=xf.procInstBody="";else{if(If(xf,"Unencoded <"),xf.startTagPosition+1"?(Sf(xf,"onsgmldeclaration",xf.sgmlDecl),xf.sgmlDecl="",xf.state=Xd.TEXT):(zd(dh)&&(xf.state=Xd.SGML_DECL_QUOTED),xf.sgmlDecl+=dh);continue;case Xd.SGML_DECL_QUOTED:dh===xf.q&&(xf.state=Xd.SGML_DECL,xf.q=""),xf.sgmlDecl+=dh;continue;case Xd.DOCTYPE:dh===">"?(xf.state=Xd.TEXT,Sf(xf,"ondoctype",xf.doctype),xf.doctype=!0):(xf.doctype+=dh,dh==="["?xf.state=Xd.DOCTYPE_DTD:zd(dh)&&(xf.state=Xd.DOCTYPE_QUOTED,xf.q=dh));continue;case Xd.DOCTYPE_QUOTED:xf.doctype+=dh,dh===xf.q&&(xf.q="",xf.state=Xd.DOCTYPE);continue;case Xd.DOCTYPE_DTD:dh==="]"?(xf.doctype+=dh,xf.state=Xd.DOCTYPE):dh==="<"?(xf.state=Xd.OPEN_WAKA,xf.startTagPosition=xf.position):zd(dh)?(xf.doctype+=dh,xf.state=Xd.DOCTYPE_DTD_QUOTED,xf.q=dh):xf.doctype+=dh;continue;case Xd.DOCTYPE_DTD_QUOTED:xf.doctype+=dh,dh===xf.q&&(xf.state=Xd.DOCTYPE_DTD,xf.q="");continue;case Xd.COMMENT:dh==="-"?xf.state=Xd.COMMENT_ENDING:xf.comment+=dh;continue;case Xd.COMMENT_ENDING:dh==="-"?(xf.state=Xd.COMMENT_ENDED,xf.comment=Af(xf.opt,xf.comment),xf.comment&&Sf(xf,"oncomment",xf.comment),xf.comment=""):(xf.comment+="-"+dh,xf.state=Xd.COMMENT);continue;case Xd.COMMENT_ENDED:dh!==">"?(If(xf,"Malformed comment"),xf.comment+="--"+dh,xf.state=Xd.COMMENT):xf.doctype&&xf.doctype!==!0?xf.state=Xd.DOCTYPE_DTD:xf.state=Xd.TEXT;continue;case Xd.CDATA:dh==="]"?xf.state=Xd.CDATA_ENDING:xf.cdata+=dh;continue;case Xd.CDATA_ENDING:dh==="]"?xf.state=Xd.CDATA_ENDING_2:(xf.cdata+="]"+dh,xf.state=Xd.CDATA);continue;case Xd.CDATA_ENDING_2:dh===">"?(xf.cdata&&Sf(xf,"oncdata",xf.cdata),Sf(xf,"onclosecdata"),xf.cdata="",xf.state=Xd.TEXT):dh==="]"?xf.cdata+="]":(xf.cdata+="]]"+dh,xf.state=Xd.CDATA);continue;case Xd.PROC_INST:dh==="?"?xf.state=Xd.PROC_INST_ENDING:qd(dh)?xf.state=Xd.PROC_INST_BODY:xf.procInstName+=dh;continue;case Xd.PROC_INST_BODY:if(!xf.procInstBody&&qd(dh))continue;dh==="?"?xf.state=Xd.PROC_INST_ENDING:xf.procInstBody+=dh;continue;case Xd.PROC_INST_ENDING:dh===">"?(Sf(xf,"onprocessinginstruction",{name:xf.procInstName,body:xf.procInstBody}),xf.procInstName=xf.procInstBody="",xf.state=Xd.TEXT):(xf.procInstBody+="?"+dh,xf.state=Xd.PROC_INST_BODY);continue;case Xd.OPEN_TAG:Jd(jd,dh)?xf.tagName+=dh:(Gf(xf),dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:(qd(dh)||If(xf,"Invalid character in tag name"),xf.state=Xd.ATTRIB));continue;case Xd.OPEN_TAG_SLASH:dh===">"?(ph(xf,!0),qf(xf)):(If(xf,"Forward-slash in opening tag not followed by >"),xf.state=Xd.ATTRIB);continue;case Xd.ATTRIB:if(qd(dh))continue;dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:Jd(Gd,dh)?(xf.attribName=dh,xf.attribValue="",xf.state=Xd.ATTRIB_NAME):If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_NAME:dh==="="?xf.state=Xd.ATTRIB_VALUE:dh===">"?(If(xf,"Attribute without value"),xf.attribValue=xf.attribName,Xf(xf),ph(xf)):qd(dh)?xf.state=Xd.ATTRIB_NAME_SAW_WHITE:Jd(jd,dh)?xf.attribName+=dh:If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_NAME_SAW_WHITE:if(dh==="=")xf.state=Xd.ATTRIB_VALUE;else{if(qd(dh))continue;If(xf,"Attribute without value"),xf.tag.attributes[xf.attribName]="",xf.attribValue="",Sf(xf,"onattribute",{name:xf.attribName,value:""}),xf.attribName="",dh===">"?ph(xf):Jd(Gd,dh)?(xf.attribName=dh,xf.state=Xd.ATTRIB_NAME):(If(xf,"Invalid attribute name"),xf.state=Xd.ATTRIB)}continue;case Xd.ATTRIB_VALUE:if(qd(dh))continue;zd(dh)?(xf.q=dh,xf.state=Xd.ATTRIB_VALUE_QUOTED):(xf.opt.unquotedAttributeValues||Ef(xf,"Unquoted attribute value"),xf.state=Xd.ATTRIB_VALUE_UNQUOTED,xf.attribValue=dh);continue;case Xd.ATTRIB_VALUE_QUOTED:if(dh!==xf.q){dh==="&"?xf.state=Xd.ATTRIB_VALUE_ENTITY_Q:xf.attribValue+=dh;continue}Xf(xf),xf.q="",xf.state=Xd.ATTRIB_VALUE_CLOSED;continue;case Xd.ATTRIB_VALUE_CLOSED:qd(dh)?xf.state=Xd.ATTRIB:dh===">"?ph(xf):dh==="/"?xf.state=Xd.OPEN_TAG_SLASH:Jd(Gd,dh)?(If(xf,"No whitespace between attributes"),xf.attribName=dh,xf.attribValue="",xf.state=Xd.ATTRIB_NAME):If(xf,"Invalid attribute name");continue;case Xd.ATTRIB_VALUE_UNQUOTED:if(!Wd(dh)){dh==="&"?xf.state=Xd.ATTRIB_VALUE_ENTITY_U:xf.attribValue+=dh;continue}Xf(xf),dh===">"?ph(xf):xf.state=Xd.ATTRIB;continue;case Xd.CLOSE_TAG:if(xf.tagName)dh===">"?qf(xf):Jd(jd,dh)?xf.tagName+=dh:xf.script?(xf.script+=""?qf(xf):If(xf,"Invalid characters in closing tag");continue;case Xd.TEXT_ENTITY:case Xd.ATTRIB_VALUE_ENTITY_Q:case Xd.ATTRIB_VALUE_ENTITY_U:var Bf,Sh;switch(xf.state){case Xd.TEXT_ENTITY:Bf=Xd.TEXT,Sh="textNode";break;case Xd.ATTRIB_VALUE_ENTITY_Q:Bf=Xd.ATTRIB_VALUE_QUOTED,Sh="attribValue";break;case Xd.ATTRIB_VALUE_ENTITY_U:Bf=Xd.ATTRIB_VALUE_UNQUOTED,Sh="attribValue";break}if(dh===";"){var Fh=Lf(xf);xf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(Fh)?(xf.entity="",xf.state=Bf,xf.write(Fh)):(xf[Sh]+=Fh,xf.entity="",xf.state=Bf)}else Jd(xf.entity.length?Ud:Fd,dh)?xf.entity+=dh:(If(xf,"Invalid character in entity name"),xf[Sh]+="&"+xf.entity+dh,xf.entity="",xf.state=Bf);continue;default:throw new Error(xf,"Unknown state: "+xf.state)}return xf.position>=xf.bufferCheckPosition&&ld(xf),xf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Cf=String.fromCharCode,xf=Math.floor,Yf=function(){var dh=16384,Rh=[],th,Bf,Sh=-1,Fh=arguments.length;if(!Fh)return"";for(var uh="";++Sh1114111||xf(Pf)!==Pf)throw RangeError("Invalid code point: "+Pf);Pf<=65535?Rh.push(Pf):(Pf-=65536,th=(Pf>>10)+55296,Bf=Pf%1024+56320,Rh.push(th,Bf)),(Sh+1===Fh||Rh.length>dh)&&(uh+=Cf.apply(null,Rh),Rh.length=0)}return uh};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Yf,configurable:!0,writable:!0}):String.fromCodePoint=Yf}()})(Ra)}(sax)),sax}var bom={},hasRequiredBom;function requireBom(){return hasRequiredBom||(hasRequiredBom=1,(function(){bom.stripBOM=function(Ra){return Ra[0]==="\uFEFF"?Ra.substring(1):Ra}}).call(commonjsGlobal)),bom}var processors={},hasRequiredProcessors;function requireProcessors(){return hasRequiredProcessors||(hasRequiredProcessors=1,(function(){var Ra;Ra=new RegExp(/(?!xmlns)^.*:/),processors.normalize=function(qa){return qa.toLowerCase()},processors.firstCharLowerCase=function(qa){return qa.charAt(0).toLowerCase()+qa.slice(1)},processors.stripPrefix=function(qa){return qa.replace(Ra,"")},processors.parseNumbers=function(qa){return isNaN(qa)||(qa=qa%1===0?parseInt(qa,10):parseFloat(qa)),qa},processors.parseBooleans=function(qa){return/^(?:true|false)$/i.test(qa)&&(qa=qa.toLowerCase()==="true"),qa}}).call(commonjsGlobal)),processors}var main={},setImmediate$1={},hasRequiredSetImmediate;function requireSetImmediate(){if(hasRequiredSetImmediate)return setImmediate$1;hasRequiredSetImmediate=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};return function(qa,nd){if(qa.setImmediate)return;var od=1,ld={},ud=!1,dd=qa.document,pd;function fd(Ud){typeof Ud!="function"&&(Ud=new Function(""+Ud));for(var qd=new Array(arguments.length-1),zd=0;zd"u"?commonjsGlobal:self),setImmediate$1}var hasRequiredMain;function requireMain(){if(hasRequiredMain)return main;hasRequiredMain=1;var Ra=typeof commonjsGlobal<"u"&&commonjsGlobal||typeof self<"u"&&self||window,qa=Function.prototype.apply;main.setTimeout=function(){return new nd(qa.call(setTimeout,Ra,arguments),clearTimeout)},main.setInterval=function(){return new nd(qa.call(setInterval,Ra,arguments),clearInterval)},main.clearTimeout=main.clearInterval=function(od){od&&od.close()};function nd(od,ld){this._id=od,this._clearFn=ld}return nd.prototype.unref=nd.prototype.ref=function(){},nd.prototype.close=function(){this._clearFn.call(Ra,this._id)},main.enroll=function(od,ld){clearTimeout(od._idleTimeoutId),od._idleTimeout=ld},main.unenroll=function(od){clearTimeout(od._idleTimeoutId),od._idleTimeout=-1},main._unrefActive=main.active=function(od){clearTimeout(od._idleTimeoutId);var ld=od._idleTimeout;ld>=0&&(od._idleTimeoutId=setTimeout(function(){od._onTimeout&&od._onTimeout()},ld))},requireSetImmediate(),main.setImmediate=typeof self<"u"&&self.setImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.setImmediate||commonjsGlobal&&commonjsGlobal.setImmediate,main.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.clearImmediate||commonjsGlobal&&commonjsGlobal.clearImmediate,main}var hasRequiredParser;function requireParser(){return hasRequiredParser||(hasRequiredParser=1,function(Ra){(function(){var qa,nd,od,ld,ud,dd,pd,fd,md=function(Nd,Od){return function(){return Nd.apply(Od,arguments)}},vd=function(Nd,Od){for(var kd in Od)Ad.call(Od,kd)&&(Nd[kd]=Od[kd]);function Ld(){this.constructor=Nd}return Ld.prototype=Od.prototype,Nd.prototype=new Ld,Nd.__super__=Od.prototype,Nd},Ad={}.hasOwnProperty;pd=requireSax(),od=eventsExports,qa=requireBom(),dd=requireProcessors(),fd=requireMain().setImmediate,nd=requireDefaults().defaults,ld=function(Nd){return typeof Nd=="object"&&Nd!=null&&Object.keys(Nd).length===0},ud=function(Nd,Od,kd){var Ld,Gd,jd;for(Ld=0,Gd=Nd.length;Ld0&&(Wd[Fd.options.childkey]=_f),_f=Wd;else if(mf){mf[Fd.options.childkey]=mf[Fd.options.childkey]||[],Xd=Object.create(null);for(zd in _f)Ad.call(_f,zd)&&(Xd[zd]=_f[zd]);mf[Fd.options.childkey].push(Xd),delete _f["#name"],Object.keys(_f).length===1&&Ld in _f&&!Fd.EXPLICIT_CHARKEY&&(_f=_f[Ld])}}return jd.length>0?Fd.assignOrPush(mf,Jd,_f):(Fd.options.explicitRoot&&(pf=_f,_f=Object.create(null),_f[Jd]=pf),Fd.resultObject=_f,Fd.saxParser.ended=!0,Fd.emit("end",Fd.resultObject))}}(this),Gd=function(Fd){return function(Ud){var qd,zd;if(zd=jd[jd.length-1],zd)return zd[Ld]+=Ud,Fd.options.explicitChildren&&Fd.options.preserveChildrenOrder&&Fd.options.charsAsChildren&&(Fd.options.includeWhiteChars||Ud.replace(/\\n/g,"").trim()!=="")&&(zd[Fd.options.childkey]=zd[Fd.options.childkey]||[],qd={"#name":"__text__"},qd[Ld]=Ud,Fd.options.normalize&&(qd[Ld]=qd[Ld].replace(/\s{2,}/g," ").trim()),zd[Fd.options.childkey].push(qd)),zd}}(this),this.saxParser.ontext=Gd,this.saxParser.oncdata=function(Fd){return function(Ud){var qd;if(qd=Gd(Ud),qd)return qd.cdata=!0}}()},Od.prototype.parseString=function(kd,Ld){var Gd;Ld!=null&&typeof Ld=="function"&&(this.on("end",function(jd){return this.reset(),Ld(null,jd)}),this.on("error",function(jd){return this.reset(),Ld(jd)}));try{return kd=kd.toString(),kd.trim()===""?(this.emit("end",null),!0):(kd=qa.stripBOM(kd),this.options.async?(this.remaining=kd,fd(this.processAsync),this.saxParser):this.saxParser.write(kd).close())}catch(jd){if(Gd=jd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Gd}else return this.emit("error",Gd),this.saxParser.errThrown=!0}},Od.prototype.parseStringPromise=function(kd){return new Promise(function(Ld){return function(Gd,jd){return Ld.parseString(kd,function(Fd,Ud){return Fd?jd(Fd):Gd(Ud)})}}(this))},Od}(od),Ra.parseString=function(Nd,Od,kd){var Ld,Gd,jd;return kd!=null?(typeof kd=="function"&&(Ld=kd),typeof Od=="object"&&(Gd=Od)):(typeof Od=="function"&&(Ld=Od),Gd={}),jd=new Ra.Parser(Gd),jd.parseString(Nd,Ld)},Ra.parseStringPromise=function(Nd,Od){var kd,Ld;return typeof Od=="object"&&(kd=Od),Ld=new Ra.Parser(kd),Ld.parseStringPromise(Nd)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,nd,od,ld=function(dd,pd){for(var fd in pd)ud.call(pd,fd)&&(dd[fd]=pd[fd]);function md(){this.constructor=dd}return md.prototype=pd.prototype,dd.prototype=new md,dd.__super__=pd.prototype,dd},ud={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),nd=requireParser(),od=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=od,xml2js.ValidationError=function(dd){ld(pd,dd);function pd(fd){this.message=fd}return pd}(Error),xml2js.Builder=Ra.Builder,xml2js.Parser=nd.Parser,xml2js.parseString=nd.parseString,xml2js.parseStringPromise=nd.parseStringPromise}).call(commonjsGlobal);class ExtendableError extends Error{constructor(qa,nd){super(qa,nd),this.name=this.constructor.name}}class AnonymousRequestError extends ExtendableError{}class InvalidArgumentError extends ExtendableError{}class InvalidEndpointError extends ExtendableError{}class InvalidBucketNameError extends ExtendableError{}class InvalidObjectNameError extends ExtendableError{}class AccessKeyRequiredError extends ExtendableError{}class SecretKeyRequiredError extends ExtendableError{}class ExpiresParamError extends ExtendableError{}class InvalidDateError extends ExtendableError{}class InvalidPrefixError extends ExtendableError{}class InvalidBucketPolicyError extends ExtendableError{}class InvalidXMLError extends ExtendableError{}class S3Error extends ExtendableError{}class IsValidBucketNameError extends ExtendableError{}var validator$2={},util$4={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nd=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",od="["+qa+"]["+nd+"]*",ld=new RegExp("^"+od+"$"),ud=function(pd,fd){const md=[];let vd=fd.exec(pd);for(;vd;){const Ad=[];Ad.startIndex=fd.lastIndex-vd[0].length;const Nd=vd.length;for(let Od=0;Od"u")};Ra.isExist=function(pd){return typeof pd<"u"},Ra.isEmptyObject=function(pd){return Object.keys(pd).length===0},Ra.merge=function(pd,fd,md){if(fd){const vd=Object.keys(fd),Ad=vd.length;for(let Nd=0;Nd"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==` `&&Ra[ud]!=="\r";ud++)fd+=Ra[ud];if(fd=fd.trim(),fd[fd.length-1]==="/"&&(fd=fd.substring(0,fd.length-1),ud--),!validateTagName(fd)){let Ad;return fd.trim().length===0?Ad="Invalid space after '<'.":Ad="Tag '"+fd+"' is an invalid name.",getErrorObject("InvalidTag",Ad,getLineNumberForPosition(Ra,ud))}const md=readAttributeStr(Ra,ud);if(md===!1)return getErrorObject("InvalidAttr","Attributes for '"+fd+"' have open quote.",getLineNumberForPosition(Ra,ud));let vd=md.value;if(ud=md.index,vd[vd.length-1]==="/"){const Ad=ud-vd.length;vd=vd.substring(0,vd.length-1);const Nd=validateAttributeString(vd,qa);if(Nd===!0)od=!0;else return getErrorObject(Nd.err.code,Nd.err.msg,getLineNumberForPosition(Ra,Ad+Nd.err.line))}else if(pd)if(md.tagClosed){if(vd.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+fd+"' can't have attributes or invalid starting.",getLineNumberForPosition(Ra,dd));if(nd.length===0)return getErrorObject("InvalidTag","Closing tag '"+fd+"' has not been opened.",getLineNumberForPosition(Ra,dd));{const Ad=nd.pop();if(fd!==Ad.tagName){let Nd=getLineNumberForPosition(Ra,Ad.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+Ad.tagName+"' (opened in line "+Nd.line+", col "+Nd.col+") instead of closing tag '"+fd+"'.",getLineNumberForPosition(Ra,dd))}nd.length==0&&(ld=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+fd+"' doesn't have proper closing.",getLineNumberForPosition(Ra,ud));else{const Ad=validateAttributeString(vd,qa);if(Ad!==!0)return getErrorObject(Ad.err.code,Ad.err.msg,getLineNumberForPosition(Ra,ud-vd.length+Ad.err.line));if(ld===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(Ra,ud));qa.unpairedTags.indexOf(fd)!==-1||nd.push({tagName:fd,tagStartPos:dd}),od=!0}for(ud++;ud0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(nd.map(ud=>ud.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(Ra){return Ra===" "||Ra===" "||Ra===` `||Ra==="\r"}function readPI(Ra,qa){const nd=qa;for(;qa5&&od==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(Ra,qa));if(Ra[qa]=="?"&&Ra[qa+1]==">"){qa++;break}else continue}return qa}function readCommentAndCDATA(Ra,qa){if(Ra.length>qa+5&&Ra[qa+1]==="-"&&Ra[qa+2]==="-"){for(qa+=3;qa"){qa+=2;break}}else if(Ra.length>qa+8&&Ra[qa+1]==="D"&&Ra[qa+2]==="O"&&Ra[qa+3]==="C"&&Ra[qa+4]==="T"&&Ra[qa+5]==="Y"&&Ra[qa+6]==="P"&&Ra[qa+7]==="E"){let nd=1;for(qa+=8;qa"&&(nd--,nd===0))break}else if(Ra.length>qa+9&&Ra[qa+1]==="["&&Ra[qa+2]==="C"&&Ra[qa+3]==="D"&&Ra[qa+4]==="A"&&Ra[qa+5]==="T"&&Ra[qa+6]==="A"&&Ra[qa+7]==="["){for(qa+=8;qa"){qa+=2;break}}return qa}const doubleQuote='"',singleQuote="'";function readAttributeStr(Ra,qa){let nd="",od="",ld=!1;for(;qa"&&od===""){ld=!0;break}nd+=Ra[qa]}return od!==""?!1:{value:nd,index:qa,tagClosed:ld}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(Ra,qa){const nd=util$3.getAllMatches(Ra,validAttrStrRegxp),od={};for(let ld=0;ld!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(Ra,qa,nd){return Ra}},buildOptions$1=function(Ra){return Object.assign({},defaultOptions$1,Ra)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(qa){this.tagname=qa,this.child=[],this[":@"]={}}add(qa,nd){qa==="__proto__"&&(qa="#__proto__"),this.child.push({[qa]:nd})}addChild(qa){qa.tagname==="__proto__"&&(qa.tagname="#__proto__"),qa[":@"]&&Object.keys(qa[":@"]).length>0?this.child.push({[qa.tagname]:qa.child,":@":qa[":@"]}):this.child.push({[qa.tagname]:qa.child})}}var xmlNode$1=XmlNode;const util$2=util$4;function readDocType$1(Ra,qa){const nd={};if(Ra[qa+3]==="O"&&Ra[qa+4]==="C"&&Ra[qa+5]==="T"&&Ra[qa+6]==="Y"&&Ra[qa+7]==="P"&&Ra[qa+8]==="E"){qa=qa+9;let od=1,ld=!1,ud=!1,dd="";for(;qa"){if(ud?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(ud=!1,od--):od--,od===0)break}else Ra[qa]==="["?ld=!0:dd+=Ra[qa];if(od!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:nd,i:qa}}function readEntityExp(Ra,qa){let nd="";for(;qa{for(const nd of Ra)if(typeof nd=="string"&&qa===nd||nd instanceof RegExp&&nd.test(qa))return!0}:()=>!1}var ignoreAttributes=getIgnoreAttributesFn$2;const util$1=util$4,xmlNode=xmlNode$1,readDocType=DocTypeReader,toNumber=strnum,getIgnoreAttributesFn$1=ignoreAttributes;let OrderedObjParser$1=class{constructor(qa){this.options=qa,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,16))}},this.addExternalEntities=addExternalEntities,this.parseXml=parseXml$1,this.parseTextData=parseTextData,this.resolveNameSpace=resolveNameSpace,this.buildAttributesMap=buildAttributesMap,this.isItStopNode=isItStopNode,this.replaceEntitiesValue=replaceEntitiesValue$1,this.readStopNodeData=readStopNodeData,this.saveTextToParentTag=saveTextToParentTag,this.addChild=addChild,this.ignoreAttributesFn=getIgnoreAttributesFn$1(this.options.ignoreAttributes)}};function addExternalEntities(Ra){const qa=Object.keys(Ra);for(let nd=0;nd0)){dd||(Ra=this.replaceEntitiesValue(Ra));const pd=this.options.tagValueProcessor(qa,Ra,nd,ld,ud);return pd==null?Ra:typeof pd!=typeof Ra||pd!==Ra?pd:this.options.trimValues?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra.trim()===Ra?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra}}function resolveNameSpace(Ra){if(this.options.removeNSPrefix){const qa=Ra.split(":"),nd=Ra.charAt(0)==="/"?"/":"";if(qa[0]==="xmlns")return"";qa.length===2&&(Ra=nd+qa[1])}return Ra}const attrsRegx=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function buildAttributesMap(Ra,qa,nd){if(this.options.ignoreAttributes!==!0&&typeof Ra=="string"){const od=util$1.getAllMatches(Ra,attrsRegx),ld=od.length,ud={};for(let dd=0;dd",ud,"Closing Tag is not closed.");let fd=Ra.substring(ud+2,pd).trim();if(this.options.removeNSPrefix){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1))}this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&(od=this.saveTextToParentTag(od,nd,ld));const md=ld.substring(ld.lastIndexOf(".")+1);if(fd&&this.options.unpairedTags.indexOf(fd)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let vd=0;md&&this.options.unpairedTags.indexOf(md)!==-1?(vd=ld.lastIndexOf(".",ld.lastIndexOf(".")-1),this.tagsNodeStack.pop()):vd=ld.lastIndexOf("."),ld=ld.substring(0,vd),nd=this.tagsNodeStack.pop(),od="",ud=pd}else if(Ra[ud+1]==="?"){let pd=readTagExp(Ra,ud,!1,"?>");if(!pd)throw new Error("Pi Tag is not closed.");if(od=this.saveTextToParentTag(od,nd,ld),!(this.options.ignoreDeclaration&&pd.tagName==="?xml"||this.options.ignorePiTags)){const fd=new xmlNode(pd.tagName);fd.add(this.options.textNodeName,""),pd.tagName!==pd.tagExp&&pd.attrExpPresent&&(fd[":@"]=this.buildAttributesMap(pd.tagExp,ld,pd.tagName)),this.addChild(nd,fd,ld)}ud=pd.closeIndex+1}else if(Ra.substr(ud+1,3)==="!--"){const pd=findClosingIndex(Ra,"-->",ud+4,"Comment is not closed.");if(this.options.commentPropName){const fd=Ra.substring(ud+4,pd-2);od=this.saveTextToParentTag(od,nd,ld),nd.add(this.options.commentPropName,[{[this.options.textNodeName]:fd}])}ud=pd}else if(Ra.substr(ud+1,2)==="!D"){const pd=readDocType(Ra,ud);this.docTypeEntities=pd.entities,ud=pd.i}else if(Ra.substr(ud+1,2)==="!["){const pd=findClosingIndex(Ra,"]]>",ud,"CDATA is not closed.")-2,fd=Ra.substring(ud+9,pd);od=this.saveTextToParentTag(od,nd,ld);let md=this.parseTextData(fd,nd.tagname,ld,!0,!1,!0,!0);md==null&&(md=""),this.options.cdataPropName?nd.add(this.options.cdataPropName,[{[this.options.textNodeName]:fd}]):nd.add(this.options.textNodeName,md),ud=pd+2}else{let pd=readTagExp(Ra,ud,this.options.removeNSPrefix),fd=pd.tagName;const md=pd.rawTagName;let vd=pd.tagExp,Ad=pd.attrExpPresent,Nd=pd.closeIndex;this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&od&&nd.tagname!=="!xml"&&(od=this.saveTextToParentTag(od,nd,ld,!1));const Od=nd;if(Od&&this.options.unpairedTags.indexOf(Od.tagname)!==-1&&(nd=this.tagsNodeStack.pop(),ld=ld.substring(0,ld.lastIndexOf("."))),fd!==qa.tagname&&(ld+=ld?"."+fd:fd),this.isItStopNode(this.options.stopNodes,ld,fd)){let kd="";if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1)fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),ud=pd.closeIndex;else if(this.options.unpairedTags.indexOf(fd)!==-1)ud=pd.closeIndex;else{const Gd=this.readStopNodeData(Ra,md,Nd+1);if(!Gd)throw new Error(`Unexpected end of ${md}`);ud=Gd.i,kd=Gd.tagContent}const Ld=new xmlNode(fd);fd!==vd&&Ad&&(Ld[":@"]=this.buildAttributesMap(vd,ld,fd)),kd&&(kd=this.parseTextData(kd,fd,ld,!0,Ad,!0,!0)),ld=ld.substr(0,ld.lastIndexOf(".")),Ld.add(this.options.textNodeName,kd),this.addChild(nd,Ld,ld)}else{if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1){fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),this.options.transformTagName&&(fd=this.options.transformTagName(fd));const kd=new xmlNode(fd);fd!==vd&&Ad&&(kd[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,kd,ld),ld=ld.substr(0,ld.lastIndexOf("."))}else{const kd=new xmlNode(fd);this.tagsNodeStack.push(nd),fd!==vd&&Ad&&(kd[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,kd,ld),nd=kd}od="",ud=Nd}}else od+=Ra[ud];return qa.child};function addChild(Ra,qa,nd){const od=this.options.updateTag(qa.tagname,nd,qa[":@"]);od===!1||(typeof od=="string"&&(qa.tagname=od),Ra.addChild(qa))}const replaceEntitiesValue$1=function(Ra){if(this.options.processEntities){for(let qa in this.docTypeEntities){const nd=this.docTypeEntities[qa];Ra=Ra.replace(nd.regx,nd.val)}for(let qa in this.lastEntities){const nd=this.lastEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}if(this.options.htmlEntities)for(let qa in this.htmlEntities){const nd=this.htmlEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}Ra=Ra.replace(this.ampEntity.regex,this.ampEntity.val)}return Ra};function saveTextToParentTag(Ra,qa,nd,od){return Ra&&(od===void 0&&(od=Object.keys(qa.child).length===0),Ra=this.parseTextData(Ra,qa.tagname,nd,!1,qa[":@"]?Object.keys(qa[":@"]).length!==0:!1,od),Ra!==void 0&&Ra!==""&&qa.add(this.options.textNodeName,Ra),Ra=""),Ra}function isItStopNode(Ra,qa,nd){const od="*."+nd;for(const ld in Ra){const ud=Ra[ld];if(od===ud||qa===ud)return!0}return!1}function tagExpWithClosingIndex(Ra,qa,nd=">"){let od,ld="";for(let ud=qa;ud",nd,`${qa} is not closed`);if(Ra.substring(nd+2,ud).trim()===qa&&(ld--,ld===0))return{tagContent:Ra.substring(od,nd),i:ud};nd=ud}else if(Ra[nd+1]==="?")nd=findClosingIndex(Ra,"?>",nd+1,"StopNode is not closed.");else if(Ra.substr(nd+1,3)==="!--")nd=findClosingIndex(Ra,"-->",nd+3,"StopNode is not closed.");else if(Ra.substr(nd+1,2)==="![")nd=findClosingIndex(Ra,"]]>",nd,"StopNode is not closed.")-2;else{const ud=readTagExp(Ra,nd,">");ud&&((ud&&ud.tagName)===qa&&ud.tagExp[ud.tagExp.length-1]!=="/"&&ld++,nd=ud.closeIndex)}}function parseValue(Ra,qa,nd){if(qa&&typeof Ra=="string"){const od=Ra.trim();return od==="true"?!0:od==="false"?!1:toNumber(Ra,nd)}else return util$1.isExist(Ra)?Ra:""}var OrderedObjParser_1=OrderedObjParser$1,node2json={};function prettify$1(Ra,qa){return compress(Ra,qa)}function compress(Ra,qa,nd){let od;const ld={};for(let ud=0;ud0&&(ld[qa.textNodeName]=od):od!==void 0&&(ld[qa.textNodeName]=od),ld}function propName$1(Ra){const qa=Object.keys(Ra);for(let nd=0;ndqd||Ud===qd&&Ad[Fd].substr(0,12)==="application/"))continue}Ad[Fd]=kd}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(Ra){return Ra.SSEC="SSE-C",Ra.KMS="KMS",Ra}({}),RETENTION_MODES=function(Ra){return Ra.GOVERNANCE="GOVERNANCE",Ra.COMPLIANCE="COMPLIANCE",Ra}({}),RETENTION_VALIDITY_UNITS=function(Ra){return Ra.DAYS="Days",Ra.YEARS="Years",Ra}({}),LEGAL_HOLD_STATUS=function(Ra){return Ra.ENABLED="ON",Ra.DISABLED="OFF",Ra}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(Ra){return Ra.split("").reduce((qa,nd)=>{const od=Buffer$4.from(nd);if(od.length===1&&("A"<=nd&&nd<="Z"||"a"<=nd&&nd<="z"||"0"<=nd&&nd<="9"||nd==="_"||nd==="."||nd==="~"||nd==="-"))return qa=qa+nd,qa;for(const ld of od)qa=qa+"%"+ld.toString(16).toUpperCase();return qa},"")}function uriResourceEscape(Ra){return uriEscape(Ra).replace(/%2F/g,"/")}function getScope(Ra,qa,nd="s3"){return`${makeDateShort(qa)}/${Ra}/${nd}/aws4_request`}function isAmazonEndpoint(Ra){return Ra==="s3.amazonaws.com"||Ra==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(Ra,qa,nd,od){return qa==="https:"&&nd.includes(".")?!1:isAmazonEndpoint(Ra)||!od}function isValidIP(Ra){return ipaddr.isValid(Ra)}function isValidEndpoint(Ra){return isValidDomain(Ra)||isValidIP(Ra)}function isValidDomain(Ra){if(!isString(Ra)||Ra.length===0||Ra.length>255||Ra[0]==="-"||Ra.slice(-1)==="-"||Ra[0]==="_"||Ra.slice(-1)==="_"||Ra[0]===".")return!1;const qa="`~!@#$%^&*()+={}[]|\\\"';:>63||Ra.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(Ra)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(Ra)}function isValidObjectName(Ra){return isValidPrefix(Ra)?Ra.length!==0:!1}function isValidPrefix(Ra){return!(!isString(Ra)||Ra.length>1024)}function isNumber(Ra){return typeof Ra=="number"}function isFunction(Ra){return typeof Ra=="function"}function isString(Ra){return typeof Ra=="string"}function isObject(Ra){return typeof Ra=="object"&&Ra!==null}function isReadableStream(Ra){return isObject(Ra)&&isFunction(Ra._read)}function isBoolean(Ra){return typeof Ra=="boolean"}function isEmpty(Ra){return _.isEmpty(Ra)}function isEmptyObject(Ra){return Object.values(Ra).filter(qa=>qa!==void 0).length!==0}function isDefined(Ra){return Ra!=null}function isValidDate(Ra){return Ra instanceof Date&&!isNaN(Ra)}function makeDateLong(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,13)+qa.slice(14,16)+qa.slice(17,19)+"Z"}function makeDateShort(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,10)}function pipesetup(...Ra){return Ra.reduce((qa,nd)=>(qa.on("error",od=>nd.emit("error",od)),qa.pipe(nd)))}function readableStream(Ra){const qa=new streamBrowserify.Readable;return qa._read=()=>{},qa.push(Ra),qa.push(null),qa}function insertContentType(Ra,qa){for(const nd in Ra)if(nd.toLowerCase()==="content-type")return Ra;return{...Ra,"content-type":probeContentType(qa)}}function prependXAMZMeta(Ra){return Ra?_.mapKeys(Ra,(qa,nd)=>isAmzHeader(nd)||isSupportedHeader(nd)||isStorageClassHeader(nd)?nd:MetaDataHeaderPrefix+nd):{}}function isAmzHeader(Ra){const qa=Ra.toLowerCase();return qa.startsWith(MetaDataHeaderPrefix)||qa==="x-amz-acl"||qa.startsWith("x-amz-server-side-encryption-")||qa==="x-amz-server-side-encryption"}function isSupportedHeader(Ra){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].includes(Ra.toLowerCase())}function isStorageClassHeader(Ra){return Ra.toLowerCase()==="x-amz-storage-class"}function extractMetadata(Ra){return _.mapKeys(_.pickBy(Ra,(qa,nd)=>isSupportedHeader(nd)||isStorageClassHeader(nd)||isAmzHeader(nd)),(qa,nd)=>{const od=nd.toLowerCase();return od.startsWith(MetaDataHeaderPrefix)?od.slice(MetaDataHeaderPrefix.length):nd})}function getVersionId(Ra={}){return Ra["x-amz-version-id"]||null}function getSourceVersionId(Ra={}){return Ra["x-amz-copy-source-version-id"]||null}function sanitizeETag(Ra=""){const qa={'"':"",""":"",""":"",""":"",""":""};return Ra.replace(/^("|"|")|("|"|")$/g,nd=>qa[nd])}function toMd5(Ra){return(void 0)("md5").update(Buffer$4.from(Ra)).digest().toString("base64")}function toSha256(Ra){return(void 0)("sha256").update(Ra).digest("hex")}function toArray(Ra){return Array.isArray(Ra)?Ra:[Ra]}function sanitizeObjectKey(Ra){const qa=(Ra?Ra.toString():"").replace(/\+/g," ");return decodeURIComponent(qa)}function sanitizeSize(Ra){return Ra?Number.parseInt(Ra):void 0}const PART_CONSTRAINTS={ABS_MIN_PART_SIZE:1024*1024*5,MIN_PART_SIZE:1024*1024*16,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:1024*1024*1024*5,MAX_SINGLE_PUT_OBJECT_SIZE:1024*1024*1024*5,MAX_MULTIPART_PUT_OBJECT_SIZE:1024*1024*1024*1024*5},GENERIC_SSE_HEADER="X-Amz-Server-Side-Encryption",ENCRYPTION_HEADERS={sseGenericHeader:GENERIC_SSE_HEADER,sseKmsKeyID:GENERIC_SSE_HEADER+"-Aws-Kms-Key-Id"};function getEncryptionHeaders(Ra){const qa=Ra.type;if(!isEmpty(qa)){if(qa===ENCRYPTION_TYPES.SSEC)return{[ENCRYPTION_HEADERS.sseGenericHeader]:"AES256"};if(qa===ENCRYPTION_TYPES.KMS)return{[ENCRYPTION_HEADERS.sseGenericHeader]:Ra.SSEAlgorithm,[ENCRYPTION_HEADERS.sseKmsKeyID]:Ra.KMSMasterKeyID}}return{}}function partsRequired(Ra){const qa=PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE/(PART_CONSTRAINTS.MAX_PARTS_COUNT-1);let nd=Ra/qa;return Ra%qa>0&&nd++,nd=Math.trunc(nd),nd}function calculateEvenSplits(Ra,qa){if(Ra===0)return null;const nd=partsRequired(Ra),od=[],ld=[];let ud=qa.Start;(isEmpty(ud)||ud===-1)&&(ud=0);const dd=Math.trunc(Ra/nd),pd=Ra%nd;let fd=ud;for(let md=0;mdthis.End||this.Start<0)throw new InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!isNumber(this.Start)||!isNumber(this.End))throw new InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified.");return!0}getHeaders(){const qa={};return qa["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),isEmpty(this.VersionID)||(qa["x-amz-copy-source"]=`${encodeURI(this.Bucket+"/"+this.Object)}?versionId=${this.VersionID}`),isEmpty(this.MatchETag)||(qa["x-amz-copy-source-if-match"]=this.MatchETag),isEmpty(this.NoMatchETag)||(qa["x-amz-copy-source-if-none-match"]=this.NoMatchETag),isEmpty(this.MatchModifiedSince)||(qa["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),isEmpty(this.MatchUnmodifiedSince)||(qa["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),qa}}class CopyDestinationOptions{constructor({Bucket:qa,Object:nd,Encryption:od,UserMetadata:ld,UserTags:ud,LegalHold:dd,RetainUntilDate:pd,Mode:fd,MetadataDirective:md}){this.Bucket=qa,this.Object=nd,this.Encryption=od??void 0,this.UserMetadata=ld,this.UserTags=ud,this.LegalHold=dd,this.Mode=fd,this.RetainUntilDate=pd,this.MetadataDirective=md}getHeaders(){const qa="REPLACE",nd={},od=this.UserTags;if(isEmpty(od)||(nd["X-Amz-Tagging-Directive"]=qa,nd["X-Amz-Tagging"]=isObject(od)?queryString.stringify(od):isString(od)?od:""),this.Mode&&(nd["X-Amz-Object-Lock-Mode"]=this.Mode),this.RetainUntilDate&&(nd["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),this.LegalHold&&(nd["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),this.UserMetadata)for(const[ld,ud]of Object.entries(this.UserMetadata))nd[`X-Amz-Meta-${ld}`]=ud.toString();if(this.MetadataDirective&&(nd["X-Amz-Metadata-Directive"]=this.MetadataDirective),this.Encryption){const ld=getEncryptionHeaders(this.Encryption);for(const[ud,dd]of Object.entries(ld))nd[ud]=dd}return nd}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!isEmpty(this.UserMetadata)&&!isObject(this.UserMetadata))throw new InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!isEmpty(this.Mode)&&![RETENTION_MODES.GOVERNANCE,RETENTION_MODES.COMPLIANCE].includes(this.Mode))throw new InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(this.Encryption!==void 0&&isEmptyObject(this.Encryption))throw new InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}}class SelectResults{constructor({records:qa,response:nd,stats:od,progress:ld}){this.records=qa,this.response=nd,this.stats=od,this.progress=ld}setStats(qa){this.stats=qa}getStats(){return this.stats}setProgress(qa){this.progress=qa}getProgress(){return this.progress}setResponse(qa){this.response=qa}getResponse(){return this.response}setRecords(qa){this.records=qa}getRecords(){return this.records}}function callbackify(Ra){return function(){const qa=[...arguments],nd=qa.pop();return typeof nd=="function"?Ra.apply(this,qa).then(od=>nd(null,od),od=>nd(od)):Ra.apply(this,arguments)}}var lib$1={},define_process_default$3={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Object.defineProperty(lib$1,"__esModule",{value:!0});var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ra){return typeof Ra}:function(Ra){return Ra&&typeof Symbol=="function"&&Ra.constructor===Symbol&&Ra!==Symbol.prototype?"symbol":typeof Ra},isBrowser=typeof window<"u"&&typeof window.document<"u",isNode=typeof define_process_default$3<"u"&&define_process_default$3.versions!=null&&define_process_default$3.versions.node!=null,isWebWorker=(typeof self>"u"?"undefined":_typeof(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",isJsDom=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",isBrowser_1=lib$1.isBrowser=isBrowser;lib$1.isWebWorker=isWebWorker;lib$1.isNode=isNode;lib$1.isJsDom=isJsDom;lib$1.isDeno=isDeno;class Credentials{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.accessKey=qa,this.secretKey=nd,this.sessionToken=od}setAccessKey(qa){this.accessKey=qa}getAccessKey(){return this.accessKey}setSecretKey(qa){this.secretKey=qa}getSecretKey(){return this.secretKey}setSessionToken(qa){this.sessionToken=qa}getSessionToken(){return this.sessionToken}get(){return this}}class CredentialProvider{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.credentials=new Credentials({accessKey:qa,secretKey:nd,sessionToken:od})}async getCredentials(){return this.credentials.get()}setCredentials(qa){if(qa instanceof Credentials)this.credentials=qa;else throw new Error("Unable to set Credentials. it should be an instance of Credentials class")}setAccessKey(qa){this.credentials.setAccessKey(qa)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(qa){this.credentials.setSecretKey(qa)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(qa){this.credentials.setSessionToken(qa)}getSessionToken(){return this.credentials.getSessionToken()}}const signV4Algorithm="AWS4-HMAC-SHA256";function getCanonicalRequest(Ra,qa,nd,od,ld){if(!isString(Ra))throw new TypeError('method should be of type "string"');if(!isString(qa))throw new TypeError('path should be of type "string"');if(!isObject(nd))throw new TypeError('headers should be of type "object"');if(!Array.isArray(od))throw new TypeError('signedHeaders should be of type "array"');if(!isString(ld))throw new TypeError('hashedPayload should be of type "string"');const ud=od.reduce((fd,md)=>{const vd=`${nd[md]}`.replace(/ +/g," ");return fd.push(`${md.toLowerCase()}:${vd}`),fd},[]),dd=qa.split("?")[0];let pd=qa.split("?")[1];return pd||(pd=""),pd&&(pd=pd.split("&").sort().map(fd=>fd.includes("=")?fd:fd+"=").join("&")),[Ra.toUpperCase(),dd,pd,ud.join(` + */(function(Ra){var qa=mimeDb,nd=pathBrowserify.extname,od=/^\s*([^;\s]*)(?:;|\s|$)/,ld=/^text\//i;Ra.charset=ud,Ra.charsets={lookup:ud},Ra.contentType=dd,Ra.extension=pd,Ra.extensions=Object.create(null),Ra.lookup=fd,Ra.types=Object.create(null),md(Ra.extensions,Ra.types);function ud(vd){if(!vd||typeof vd!="string")return!1;var Ad=od.exec(vd),Nd=Ad&&qa[Ad[1].toLowerCase()];return Nd&&Nd.charset?Nd.charset:Ad&&ld.test(Ad[1])?"UTF-8":!1}function dd(vd){if(!vd||typeof vd!="string")return!1;var Ad=vd.indexOf("/")===-1?Ra.lookup(vd):vd;if(!Ad)return!1;if(Ad.indexOf("charset")===-1){var Nd=Ra.charset(Ad);Nd&&(Ad+="; charset="+Nd.toLowerCase())}return Ad}function pd(vd){if(!vd||typeof vd!="string")return!1;var Ad=od.exec(vd),Nd=Ad&&Ra.extensions[Ad[1].toLowerCase()];return!Nd||!Nd.length?!1:Nd[0]}function fd(vd){if(!vd||typeof vd!="string")return!1;var Ad=nd("x."+vd).toLowerCase().substr(1);return Ad&&Ra.types[Ad]||!1}function md(vd,Ad){var Nd=["nginx","apache",void 0,"iana"];Object.keys(qa).forEach(function(kd){var Ld=qa[kd],Gd=Ld.extensions;if(!(!Gd||!Gd.length)){vd[kd]=Gd;for(var jd=0;jdqd||Ud===qd&&Ad[Fd].substr(0,12)==="application/"))continue}Ad[Fd]=kd}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(Ra){return Ra.SSEC="SSE-C",Ra.KMS="KMS",Ra}({}),RETENTION_MODES=function(Ra){return Ra.GOVERNANCE="GOVERNANCE",Ra.COMPLIANCE="COMPLIANCE",Ra}({}),RETENTION_VALIDITY_UNITS=function(Ra){return Ra.DAYS="Days",Ra.YEARS="Years",Ra}({}),LEGAL_HOLD_STATUS=function(Ra){return Ra.ENABLED="ON",Ra.DISABLED="OFF",Ra}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(Ra){return Ra.split("").reduce((qa,nd)=>{const od=Buffer$4.from(nd);if(od.length===1&&("A"<=nd&&nd<="Z"||"a"<=nd&&nd<="z"||"0"<=nd&&nd<="9"||nd==="_"||nd==="."||nd==="~"||nd==="-"))return qa=qa+nd,qa;for(const ld of od)qa=qa+"%"+ld.toString(16).toUpperCase();return qa},"")}function uriResourceEscape(Ra){return uriEscape(Ra).replace(/%2F/g,"/")}function getScope(Ra,qa,nd="s3"){return`${makeDateShort(qa)}/${Ra}/${nd}/aws4_request`}function isAmazonEndpoint(Ra){return Ra==="s3.amazonaws.com"||Ra==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(Ra,qa,nd,od){return qa==="https:"&&nd.includes(".")?!1:isAmazonEndpoint(Ra)||!od}function isValidIP(Ra){return ipaddr.isValid(Ra)}function isValidEndpoint(Ra){return isValidDomain(Ra)||isValidIP(Ra)}function isValidDomain(Ra){if(!isString(Ra)||Ra.length===0||Ra.length>255||Ra[0]==="-"||Ra.slice(-1)==="-"||Ra[0]==="_"||Ra.slice(-1)==="_"||Ra[0]===".")return!1;const qa="`~!@#$%^&*()+={}[]|\\\"';:>63||Ra.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(Ra)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(Ra)}function isValidObjectName(Ra){return isValidPrefix(Ra)?Ra.length!==0:!1}function isValidPrefix(Ra){return!(!isString(Ra)||Ra.length>1024)}function isNumber(Ra){return typeof Ra=="number"}function isFunction(Ra){return typeof Ra=="function"}function isString(Ra){return typeof Ra=="string"}function isObject(Ra){return typeof Ra=="object"&&Ra!==null}function isReadableStream(Ra){return isObject(Ra)&&isFunction(Ra._read)}function isBoolean(Ra){return typeof Ra=="boolean"}function isEmpty(Ra){return _.isEmpty(Ra)}function isEmptyObject(Ra){return Object.values(Ra).filter(qa=>qa!==void 0).length!==0}function isDefined(Ra){return Ra!=null}function isValidDate(Ra){return Ra instanceof Date&&!isNaN(Ra)}function makeDateLong(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,13)+qa.slice(14,16)+qa.slice(17,19)+"Z"}function makeDateShort(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,10)}function pipesetup(...Ra){return Ra.reduce((qa,nd)=>(qa.on("error",od=>nd.emit("error",od)),qa.pipe(nd)))}function readableStream(Ra){const qa=new streamBrowserify.Readable;return qa._read=()=>{},qa.push(Ra),qa.push(null),qa}function insertContentType(Ra,qa){for(const nd in Ra)if(nd.toLowerCase()==="content-type")return Ra;return{...Ra,"content-type":probeContentType(qa)}}function prependXAMZMeta(Ra){return Ra?_.mapKeys(Ra,(qa,nd)=>isAmzHeader(nd)||isSupportedHeader(nd)||isStorageClassHeader(nd)?nd:MetaDataHeaderPrefix+nd):{}}function isAmzHeader(Ra){const qa=Ra.toLowerCase();return qa.startsWith(MetaDataHeaderPrefix)||qa==="x-amz-acl"||qa.startsWith("x-amz-server-side-encryption-")||qa==="x-amz-server-side-encryption"}function isSupportedHeader(Ra){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].includes(Ra.toLowerCase())}function isStorageClassHeader(Ra){return Ra.toLowerCase()==="x-amz-storage-class"}function extractMetadata(Ra){return _.mapKeys(_.pickBy(Ra,(qa,nd)=>isSupportedHeader(nd)||isStorageClassHeader(nd)||isAmzHeader(nd)),(qa,nd)=>{const od=nd.toLowerCase();return od.startsWith(MetaDataHeaderPrefix)?od.slice(MetaDataHeaderPrefix.length):nd})}function getVersionId(Ra={}){return Ra["x-amz-version-id"]||null}function getSourceVersionId(Ra={}){return Ra["x-amz-copy-source-version-id"]||null}function sanitizeETag(Ra=""){const qa={'"':"",""":"",""":"",""":"",""":""};return Ra.replace(/^("|"|")|("|"|")$/g,nd=>qa[nd])}function toMd5(Ra){return(void 0)("md5").update(Buffer$4.from(Ra)).digest().toString("base64")}function toSha256(Ra){return(void 0)("sha256").update(Ra).digest("hex")}function toArray(Ra){return Array.isArray(Ra)?Ra:[Ra]}function sanitizeObjectKey(Ra){const qa=(Ra?Ra.toString():"").replace(/\+/g," ");return decodeURIComponent(qa)}function sanitizeSize(Ra){return Ra?Number.parseInt(Ra):void 0}const PART_CONSTRAINTS={ABS_MIN_PART_SIZE:1024*1024*5,MIN_PART_SIZE:1024*1024*16,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:1024*1024*1024*5,MAX_SINGLE_PUT_OBJECT_SIZE:1024*1024*1024*5,MAX_MULTIPART_PUT_OBJECT_SIZE:1024*1024*1024*1024*5},GENERIC_SSE_HEADER="X-Amz-Server-Side-Encryption",ENCRYPTION_HEADERS={sseGenericHeader:GENERIC_SSE_HEADER,sseKmsKeyID:GENERIC_SSE_HEADER+"-Aws-Kms-Key-Id"};function getEncryptionHeaders(Ra){const qa=Ra.type;if(!isEmpty(qa)){if(qa===ENCRYPTION_TYPES.SSEC)return{[ENCRYPTION_HEADERS.sseGenericHeader]:"AES256"};if(qa===ENCRYPTION_TYPES.KMS)return{[ENCRYPTION_HEADERS.sseGenericHeader]:Ra.SSEAlgorithm,[ENCRYPTION_HEADERS.sseKmsKeyID]:Ra.KMSMasterKeyID}}return{}}function partsRequired(Ra){const qa=PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE/(PART_CONSTRAINTS.MAX_PARTS_COUNT-1);let nd=Ra/qa;return Ra%qa>0&&nd++,nd=Math.trunc(nd),nd}function calculateEvenSplits(Ra,qa){if(Ra===0)return null;const nd=partsRequired(Ra),od=[],ld=[];let ud=qa.Start;(isEmpty(ud)||ud===-1)&&(ud=0);const dd=Math.trunc(Ra/nd),pd=Ra%nd;let fd=ud;for(let md=0;mdthis.End||this.Start<0)throw new InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!isNumber(this.Start)||!isNumber(this.End))throw new InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified.");return!0}getHeaders(){const qa={};return qa["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),isEmpty(this.VersionID)||(qa["x-amz-copy-source"]=`${encodeURI(this.Bucket+"/"+this.Object)}?versionId=${this.VersionID}`),isEmpty(this.MatchETag)||(qa["x-amz-copy-source-if-match"]=this.MatchETag),isEmpty(this.NoMatchETag)||(qa["x-amz-copy-source-if-none-match"]=this.NoMatchETag),isEmpty(this.MatchModifiedSince)||(qa["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),isEmpty(this.MatchUnmodifiedSince)||(qa["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),qa}}class CopyDestinationOptions{constructor({Bucket:qa,Object:nd,Encryption:od,UserMetadata:ld,UserTags:ud,LegalHold:dd,RetainUntilDate:pd,Mode:fd,MetadataDirective:md}){this.Bucket=qa,this.Object=nd,this.Encryption=od??void 0,this.UserMetadata=ld,this.UserTags=ud,this.LegalHold=dd,this.Mode=fd,this.RetainUntilDate=pd,this.MetadataDirective=md}getHeaders(){const qa="REPLACE",nd={},od=this.UserTags;if(isEmpty(od)||(nd["X-Amz-Tagging-Directive"]=qa,nd["X-Amz-Tagging"]=isObject(od)?queryString.stringify(od):isString(od)?od:""),this.Mode&&(nd["X-Amz-Object-Lock-Mode"]=this.Mode),this.RetainUntilDate&&(nd["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),this.LegalHold&&(nd["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),this.UserMetadata)for(const[ld,ud]of Object.entries(this.UserMetadata))nd[`X-Amz-Meta-${ld}`]=ud.toString();if(this.MetadataDirective&&(nd["X-Amz-Metadata-Directive"]=this.MetadataDirective),this.Encryption){const ld=getEncryptionHeaders(this.Encryption);for(const[ud,dd]of Object.entries(ld))nd[ud]=dd}return nd}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!isEmpty(this.UserMetadata)&&!isObject(this.UserMetadata))throw new InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!isEmpty(this.Mode)&&![RETENTION_MODES.GOVERNANCE,RETENTION_MODES.COMPLIANCE].includes(this.Mode))throw new InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(this.Encryption!==void 0&&isEmptyObject(this.Encryption))throw new InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}}class SelectResults{constructor({records:qa,response:nd,stats:od,progress:ld}){this.records=qa,this.response=nd,this.stats=od,this.progress=ld}setStats(qa){this.stats=qa}getStats(){return this.stats}setProgress(qa){this.progress=qa}getProgress(){return this.progress}setResponse(qa){this.response=qa}getResponse(){return this.response}setRecords(qa){this.records=qa}getRecords(){return this.records}}function callbackify(Ra){return function(){const qa=[...arguments],nd=qa.pop();return typeof nd=="function"?Ra.apply(this,qa).then(od=>nd(null,od),od=>nd(od)):Ra.apply(this,arguments)}}var lib$1={},define_process_default$3={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Object.defineProperty(lib$1,"__esModule",{value:!0});var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ra){return typeof Ra}:function(Ra){return Ra&&typeof Symbol=="function"&&Ra.constructor===Symbol&&Ra!==Symbol.prototype?"symbol":typeof Ra},isBrowser=typeof window<"u"&&typeof window.document<"u",isNode=typeof define_process_default$3<"u"&&define_process_default$3.versions!=null&&define_process_default$3.versions.node!=null,isWebWorker=(typeof self>"u"?"undefined":_typeof(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",isJsDom=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",isBrowser_1=lib$1.isBrowser=isBrowser;lib$1.isWebWorker=isWebWorker;lib$1.isNode=isNode;lib$1.isJsDom=isJsDom;lib$1.isDeno=isDeno;class Credentials{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.accessKey=qa,this.secretKey=nd,this.sessionToken=od}setAccessKey(qa){this.accessKey=qa}getAccessKey(){return this.accessKey}setSecretKey(qa){this.secretKey=qa}getSecretKey(){return this.secretKey}setSessionToken(qa){this.sessionToken=qa}getSessionToken(){return this.sessionToken}get(){return this}}class CredentialProvider{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.credentials=new Credentials({accessKey:qa,secretKey:nd,sessionToken:od})}async getCredentials(){return this.credentials.get()}setCredentials(qa){if(qa instanceof Credentials)this.credentials=qa;else throw new Error("Unable to set Credentials. it should be an instance of Credentials class")}setAccessKey(qa){this.credentials.setAccessKey(qa)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(qa){this.credentials.setSecretKey(qa)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(qa){this.credentials.setSessionToken(qa)}getSessionToken(){return this.credentials.getSessionToken()}}const signV4Algorithm="AWS4-HMAC-SHA256";function getCanonicalRequest(Ra,qa,nd,od,ld){if(!isString(Ra))throw new TypeError('method should be of type "string"');if(!isString(qa))throw new TypeError('path should be of type "string"');if(!isObject(nd))throw new TypeError('headers should be of type "object"');if(!Array.isArray(od))throw new TypeError('signedHeaders should be of type "array"');if(!isString(ld))throw new TypeError('hashedPayload should be of type "string"');const ud=od.reduce((fd,md)=>{const vd=`${nd[md]}`.replace(/ +/g," ");return fd.push(`${md.toLowerCase()}:${vd}`),fd},[]),dd=qa.split("?")[0];let pd=qa.split("?")[1];return pd||(pd=""),pd&&(pd=pd.split("&").sort().map(fd=>fd.includes("=")?fd:fd+"=").join("&")),[Ra.toUpperCase(),dd,pd,ud.join(` `)+` `,od.join(";").toLowerCase(),ld].join(` `)}function getCredential(Ra,qa,nd,od="s3"){if(!isString(Ra))throw new TypeError('accessKey should be of type "string"');if(!isString(qa))throw new TypeError('region should be of type "string"');if(!isObject(nd))throw new TypeError('requestDate should be of type "object"');return`${Ra}/${getScope(qa,nd,od)}`}function getSignedHeaders(Ra){if(!isObject(Ra))throw new TypeError('request should be of type "object"');const qa=["authorization","content-length","content-type","user-agent"];return Object.keys(Ra).filter(nd=>!qa.includes(nd)).sort()}function getSigningKey(Ra,qa,nd,od="s3"){if(!isObject(Ra))throw new TypeError('date should be of type "object"');if(!isString(qa))throw new TypeError('region should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');const ld=makeDateShort(Ra);return(void 0)("sha256",(void 0)("sha256",(void 0)("sha256",(void 0)("sha256","AWS4"+nd).update(ld).digest()).update(qa).digest()).update(od).digest()).update("aws4_request").digest()}function getStringToSign(Ra,qa,nd,od="s3"){if(!isString(Ra))throw new TypeError('canonicalRequest should be of type "string"');if(!isObject(qa))throw new TypeError('requestDate should be of type "object"');if(!isString(nd))throw new TypeError('region should be of type "string"');const ld=(void 0)("sha256").update(Ra).digest("hex"),ud=getScope(nd,qa,od);return[signV4Algorithm,makeDateLong(qa),ud,ld].join(` -`)}function postPresignSignatureV4(Ra,qa,nd,od){if(!isString(Ra))throw new TypeError('region should be of type "string"');if(!isObject(qa))throw new TypeError('date should be of type "object"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(qa,Ra,nd)).update(od).digest("hex").toLowerCase()}function signV4(Ra,qa,nd,od,ld,ud,dd="s3"){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for signing");if(!nd)throw new SecretKeyRequiredError("secretKey is required for signing");const pd=getSignedHeaders(Ra.headers),fd=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,pd,ud),md=dd||"s3",vd=getStringToSign(fd,ld,od,md),Ad=getSigningKey(ld,od,nd,md),Nd=getCredential(qa,od,ld,md),Od=(void 0)("sha256",Ad).update(vd).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Nd}, SignedHeaders=${pd.join(";").toLowerCase()}, Signature=${Od}`}function presignSignatureV4(Ra,qa,nd,od,ld,ud,dd){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(ld))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!nd)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber(dd))throw new TypeError('expires should be of type "number"');if(dd<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(dd>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const pd=makeDateLong(ud),fd=getSignedHeaders(Ra.headers),md=getCredential(qa,ld,ud),vd="UNSIGNED-PAYLOAD",Ad=[];Ad.push(`X-Amz-Algorithm=${signV4Algorithm}`),Ad.push(`X-Amz-Credential=${uriEscape(md)}`),Ad.push(`X-Amz-Date=${pd}`),Ad.push(`X-Amz-Expires=${dd}`),Ad.push(`X-Amz-SignedHeaders=${uriEscape(fd.join(";").toLowerCase())}`),od&&Ad.push(`X-Amz-Security-Token=${uriEscape(od)}`);const Nd=Ra.path.split("?")[0];let Od=Ra.path.split("?")[1];Od?Od=Od+"&"+Ad.join("&"):Od=Ad.join("&");const kd=Nd+"?"+Od,Ld=getCanonicalRequest(Ra.method,kd,Ra.headers,fd,vd),Gd=getStringToSign(Ld,ud,ld),Fd=(void 0)("sha256",getSigningKey(ud,ld,nd)).update(Gd).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+kd+`&X-Amz-Signature=${Fd}`}async function readAsBuffer(Ra){return new Promise((qa,nd)=>{const od=[];Ra.on("data",ld=>od.push(ld)).on("error",ld=>nd(ld)).on("end",()=>qa(Buffer$4.concat(od)))})}async function readAsString(Ra){return(await readAsBuffer(Ra)).toString()}async function drainResponse(Ra){return new Promise((qa,nd)=>{Ra.on("data",()=>{}).on("error",od=>nd(od)).on("end",()=>qa())})}function parseBucketRegion(Ra){return parseXml(Ra).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(Ra,qa){let nd={};const od=fxp.parse(Ra);od.Error&&(nd=od.Error);const ld=new S3Error;return Object.entries(nd).forEach(([ud,dd])=>{ld[ud.toLowerCase()]=dd}),Object.entries(qa).forEach(([ud,dd])=>{ld[ud]=dd}),ld}async function parseResponseError(Ra){const qa=Ra.statusCode;let nd,od;qa===301?(nd="MovedPermanently",od="Moved Permanently"):qa===307?(nd="TemporaryRedirect",od="Are you using the correct endpoint URL?"):qa===403?(nd="AccessDenied",od="Valid and authorized credentials required"):qa===404?(nd="NotFound",od="Not Found"):qa===405||qa===501?(nd="MethodNotAllowed",od="Method Not Allowed"):(nd="UnknownError",od=`${qa}`);const ld={};ld.amzRequestid=Ra.headers["x-amz-request-id"],ld.amzId2=Ra.headers["x-amz-id-2"],ld.amzBucketRegion=Ra.headers["x-amz-bucket-region"];const ud=await readAsString(Ra);if(ud)throw parseError(ud,ld);const dd=new S3Error(od,{cause:ld});throw dd.code=nd,Object.entries(ld).forEach(([pd,fd])=>{dd[pd]=fd}),dd}function parseListObjectsV2WithMetadata(Ra){const qa={objects:[],isTruncated:!1,nextContinuationToken:""};let nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{const ld=sanitizeObjectKey(od.Key),ud=new Date(od.LastModified),dd=sanitizeETag(od.ETag),pd=od.Size;let fd;od.UserMetadata!=null?fd=toArray(od.UserMetadata)[0]:fd=null,qa.objects.push({name:ld,lastModified:ud,etag:dd,size:pd,metadata:fd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseListParts(Ra){let qa=parseXml(Ra);const nd={isTruncated:!1,parts:[],marker:0};if(!qa.ListPartsResult)throw new InvalidXMLError('Missing tag: "ListPartsResult"');return qa=qa.ListPartsResult,qa.IsTruncated&&(nd.isTruncated=qa.IsTruncated),qa.NextPartNumberMarker&&(nd.marker=toArray(qa.NextPartNumberMarker)[0]||""),qa.Part&&toArray(qa.Part).forEach(od=>{const ld=parseInt(toArray(od.PartNumber)[0],10),ud=new Date(od.LastModified),dd=od.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");nd.parts.push({part:ld,lastModified:ud,etag:dd,size:parseInt(od.Size,10)})}),nd}function parseListBucket(Ra){let qa=[];const nd=parseXml(Ra);if(!nd.ListAllMyBucketsResult)throw new InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');const{ListAllMyBucketsResult:{Buckets:od={}}={}}=nd;return od.Bucket&&(qa=toArray(od.Bucket).map((ld={})=>{const{Name:ud,CreationDate:dd}=ld,pd=new Date(dd);return{name:ud,creationDate:pd}})),qa}function parseInitiateMultipart(Ra){let qa=parseXml(Ra);if(!qa.InitiateMultipartUploadResult)throw new InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if(qa=qa.InitiateMultipartUploadResult,qa.UploadId)return qa.UploadId;throw new InvalidXMLError('Missing tag: "UploadId"')}function parseReplicationConfig(Ra){const qa=parseXml(Ra),{Role:nd,Rule:od}=qa.ReplicationConfiguration;return{ReplicationConfiguration:{role:nd,rules:toArray(od)}}}class Extensions{constructor(qa){this.client=qa}listObjectsV2WithMetadata(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');const ud=od?"":"/";return streamBrowserify.Readable.from(this.listObjectsV2WithMetadataGen(qa,nd,ud,ld),{objectMode:!0})}async*listObjectsV2WithMetadataGen(qa,nd,od,ld){let ud=!1,dd="";do{const pd=await this.listObjectsV2WithMetadataQuery(qa,nd,dd,od,ld);ud=!pd.isTruncated,dd=pd.nextContinuationToken;for(const fd of pd.objects)yield fd}while(!ud)}async listObjectsV2WithMetadataQuery(qa,nd,od,ld,ud){const dd=[];dd.push("list-type=2"),dd.push("encoding-type=url"),dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ld)}`),dd.push("metadata=true"),od&&(od=uriEscape(od),dd.push(`continuation-token=${od}`)),ud&&(ud=uriEscape(ud),dd.push(`start-after=${ud}`)),dd.push("max-keys=1000"),dd.sort();let pd="";dd.length>0&&(pd=`${dd.join("&")}`);const md=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:pd});return parseListObjectsV2WithMetadata(await readAsString(md))}}async function request$1(Ra,qa,nd=null){return new Promise((od,ld)=>{const ud=Ra.request(qa,dd=>{od(dd)});if(!nd||Buffer$4.isBuffer(nd)||typeof nd=="string"){ud.on("error",dd=>{ld(dd)}).end(nd);return}streamBrowserify.pipeline(nd,ud,dd=>{dd&&ld(dd)})})}const awsS3Endpoint={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com","eu-north-1":"s3.eu-north-1.amazonaws.com"};function getS3Endpoint(Ra){if(!isString(Ra))throw new TypeError(`Invalid region: ${Ra}`);const qa=awsS3Endpoint[Ra];return qa||"s3.amazonaws.com"}var define_process_default$2={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const Package={version:"7.1.3"},requestOptionProperties=["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"];class TypedClient{constructor(qa){kg(this,"partSize",64*1024*1024);kg(this,"maximumPartSize",5*1024*1024*1024);kg(this,"maxObjectSize",5*1024*1024*1024*1024);if(qa.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(qa.useSSL===void 0&&(qa.useSSL=!0),qa.port||(qa.port=0),!isValidEndpoint(qa.endPoint))throw new InvalidEndpointError(`Invalid endPoint : ${qa.endPoint}`);if(!isValidPort(qa.port))throw new InvalidArgumentError(`Invalid port : ${qa.port}`);if(!isBoolean(qa.useSSL))throw new InvalidArgumentError(`Invalid useSSL flag type : ${qa.useSSL}, expected to be of type "boolean"`);if(qa.region&&!isString(qa.region))throw new InvalidArgumentError(`Invalid region : ${qa.region}`);const nd=qa.endPoint.toLowerCase();let od=qa.port,ld,ud,dd;if(qa.useSSL?(ud=http,ld="https:",od=od||443,dd=void 0):(ud=http,ld="http:",od=od||80,dd=void 0),qa.transport){if(!isObject(qa.transport))throw new InvalidArgumentError(`Invalid transport type : ${qa.transport}, expected to be type "object"`);ud=qa.transport}if(qa.transportAgent){if(!isObject(qa.transportAgent))throw new InvalidArgumentError(`Invalid transportAgent type: ${qa.transportAgent}, expected to be type "object"`);dd=qa.transportAgent}const fd=`MinIO ${`(${define_process_default$2.platform}; ${define_process_default$2.arch})`} minio-js/${Package.version}`;if(this.transport=ud,this.transportAgent=dd,this.host=nd,this.port=od,this.protocol=ld,this.userAgent=`${fd}`,qa.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=qa.pathStyle,this.accessKey=qa.accessKey??"",this.secretKey=qa.secretKey??"",this.sessionToken=qa.sessionToken,this.anonymous=!this.accessKey||!this.secretKey,qa.credentialsProvider&&(this.credentialsProvider=qa.credentialsProvider),this.regionMap={},qa.region&&(this.region=qa.region),qa.partSize&&(this.partSize=qa.partSize,this.overRidePartSize=!0),this.partSize<5*1024*1024)throw new InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5*1024*1024*1024)throw new InvalidArgumentError("Part size should be less than 5GB");this.enableSHA256=!this.anonymous&&!qa.useSSL,this.s3AccelerateEndpoint=qa.s3AccelerateEndpoint||void 0,this.reqOptions={},this.clientExtensions=new Extensions(this)}get extensions(){return this.clientExtensions}setS3TransferAccelerate(qa){this.s3AccelerateEndpoint=qa}setRequestOptions(qa){if(!isObject(qa))throw new TypeError('request options should be of type "object"');this.reqOptions=_.pick(qa,requestOptionProperties)}getAccelerateEndPointIfSet(qa,nd){if(!isEmpty(this.s3AccelerateEndpoint)&&!isEmpty(qa)&&!isEmpty(nd)){if(qa.includes("."))throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${qa}`);return this.s3AccelerateEndpoint}return!1}getRequestOptions(qa){const nd=qa.method,od=qa.region,ld=qa.bucketName;let ud=qa.objectName;const dd=qa.headers,pd=qa.query;let fd={method:nd,headers:{},protocol:this.protocol,agent:this.transportAgent},md;ld&&(md=isVirtualHostStyle(this.host,this.protocol,ld,this.pathStyle));let vd="/",Ad=this.host,Nd;if(this.port&&(Nd=this.port),ud&&(ud=uriResourceEscape(ud)),isAmazonEndpoint(Ad)){const Od=this.getAccelerateEndPointIfSet(ld,ud);Od?Ad=`${Od}`:Ad=getS3Endpoint(od)}if(md&&!qa.pathStyle?(ld&&(Ad=`${ld}.${Ad}`),ud&&(vd=`/${ud}`)):(ld&&(vd=`/${ld}`),ud&&(vd=`/${ld}/${ud}`)),pd&&(vd+=`?${pd}`),fd.headers.host=Ad,(fd.protocol==="http:"&&Nd!==80||fd.protocol==="https:"&&Nd!==443)&&(fd.headers.host=`${Ad}:${Nd}`),fd.headers["user-agent"]=this.userAgent,dd)for(const[Od,kd]of Object.entries(dd))fd.headers[Od.toLowerCase()]=kd;return fd=Object.assign({},this.reqOptions,fd),{...fd,headers:_.mapValues(_.pickBy(fd.headers,isDefined),Od=>Od.toString()),host:Ad,port:Nd,path:vd}}async setCredentialsProvider(qa){if(!(qa instanceof CredentialProvider))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=qa,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)try{const qa=await this.credentialsProvider.getCredentials();this.accessKey=qa.getAccessKey(),this.secretKey=qa.getSecretKey(),this.sessionToken=qa.getSessionToken()}catch(qa){throw new Error(`Unable to get credentials: ${qa}`,{cause:qa})}}logHTTP(qa,nd,od){if(!this.logStream)return;if(!isObject(qa))throw new TypeError('reqOptions should be of type "object"');if(nd&&!isReadableStream(nd))throw new TypeError('response should be of type "Stream"');if(od&&!(od instanceof Error))throw new TypeError('err should be of type "Error"');const ld=this.logStream,ud=dd=>{Object.entries(dd).forEach(([pd,fd])=>{if(pd=="authorization"&&isString(fd)){const md=new RegExp("Signature=([0-9a-f]+)");fd=fd.replace(md,"Signature=**REDACTED**")}ld.write(`${pd}: ${fd} +`)}function postPresignSignatureV4(Ra,qa,nd,od){if(!isString(Ra))throw new TypeError('region should be of type "string"');if(!isObject(qa))throw new TypeError('date should be of type "object"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(qa,Ra,nd)).update(od).digest("hex").toLowerCase()}function signV4(Ra,qa,nd,od,ld,ud,dd="s3"){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for signing");if(!nd)throw new SecretKeyRequiredError("secretKey is required for signing");const pd=getSignedHeaders(Ra.headers),fd=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,pd,ud),md=dd||"s3",vd=getStringToSign(fd,ld,od,md),Ad=getSigningKey(ld,od,nd,md),Nd=getCredential(qa,od,ld,md),Od=(void 0)("sha256",Ad).update(vd).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Nd}, SignedHeaders=${pd.join(";").toLowerCase()}, Signature=${Od}`}function presignSignatureV4(Ra,qa,nd,od,ld,ud,dd){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(ld))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!nd)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber(dd))throw new TypeError('expires should be of type "number"');if(dd<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(dd>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const pd=makeDateLong(ud),fd=getSignedHeaders(Ra.headers),md=getCredential(qa,ld,ud),vd="UNSIGNED-PAYLOAD",Ad=[];Ad.push(`X-Amz-Algorithm=${signV4Algorithm}`),Ad.push(`X-Amz-Credential=${uriEscape(md)}`),Ad.push(`X-Amz-Date=${pd}`),Ad.push(`X-Amz-Expires=${dd}`),Ad.push(`X-Amz-SignedHeaders=${uriEscape(fd.join(";").toLowerCase())}`),od&&Ad.push(`X-Amz-Security-Token=${uriEscape(od)}`);const Nd=Ra.path.split("?")[0];let Od=Ra.path.split("?")[1];Od?Od=Od+"&"+Ad.join("&"):Od=Ad.join("&");const kd=Nd+"?"+Od,Ld=getCanonicalRequest(Ra.method,kd,Ra.headers,fd,vd),Gd=getStringToSign(Ld,ud,ld),Fd=(void 0)("sha256",getSigningKey(ud,ld,nd)).update(Gd).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+kd+`&X-Amz-Signature=${Fd}`}async function readAsBuffer(Ra){return new Promise((qa,nd)=>{const od=[];Ra.on("data",ld=>od.push(ld)).on("error",ld=>nd(ld)).on("end",()=>qa(Buffer$4.concat(od)))})}async function readAsString(Ra){return(await readAsBuffer(Ra)).toString()}async function drainResponse(Ra){return new Promise((qa,nd)=>{Ra.on("data",()=>{}).on("error",od=>nd(od)).on("end",()=>qa())})}function parseBucketRegion(Ra){return parseXml(Ra).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(Ra,qa){let nd={};const od=fxp.parse(Ra);od.Error&&(nd=od.Error);const ld=new S3Error;return Object.entries(nd).forEach(([ud,dd])=>{ld[ud.toLowerCase()]=dd}),Object.entries(qa).forEach(([ud,dd])=>{ld[ud]=dd}),ld}async function parseResponseError(Ra){const qa=Ra.statusCode;let nd,od;qa===301?(nd="MovedPermanently",od="Moved Permanently"):qa===307?(nd="TemporaryRedirect",od="Are you using the correct endpoint URL?"):qa===403?(nd="AccessDenied",od="Valid and authorized credentials required"):qa===404?(nd="NotFound",od="Not Found"):qa===405||qa===501?(nd="MethodNotAllowed",od="Method Not Allowed"):(nd="UnknownError",od=`${qa}`);const ld={};ld.amzRequestid=Ra.headers["x-amz-request-id"],ld.amzId2=Ra.headers["x-amz-id-2"],ld.amzBucketRegion=Ra.headers["x-amz-bucket-region"];const ud=await readAsString(Ra);if(ud)throw parseError(ud,ld);const dd=new S3Error(od,{cause:ld});throw dd.code=nd,Object.entries(ld).forEach(([pd,fd])=>{dd[pd]=fd}),dd}function parseListObjectsV2WithMetadata(Ra){const qa={objects:[],isTruncated:!1,nextContinuationToken:""};let nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{const ld=sanitizeObjectKey(od.Key),ud=new Date(od.LastModified),dd=sanitizeETag(od.ETag),pd=od.Size;let fd;od.UserMetadata!=null?fd=toArray(od.UserMetadata)[0]:fd=null,qa.objects.push({name:ld,lastModified:ud,etag:dd,size:pd,metadata:fd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseListParts(Ra){let qa=parseXml(Ra);const nd={isTruncated:!1,parts:[],marker:0};if(!qa.ListPartsResult)throw new InvalidXMLError('Missing tag: "ListPartsResult"');return qa=qa.ListPartsResult,qa.IsTruncated&&(nd.isTruncated=qa.IsTruncated),qa.NextPartNumberMarker&&(nd.marker=toArray(qa.NextPartNumberMarker)[0]||""),qa.Part&&toArray(qa.Part).forEach(od=>{const ld=parseInt(toArray(od.PartNumber)[0],10),ud=new Date(od.LastModified),dd=od.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");nd.parts.push({part:ld,lastModified:ud,etag:dd,size:parseInt(od.Size,10)})}),nd}function parseListBucket(Ra){let qa=[];const nd=parseXml(Ra);if(!nd.ListAllMyBucketsResult)throw new InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');const{ListAllMyBucketsResult:{Buckets:od={}}={}}=nd;return od.Bucket&&(qa=toArray(od.Bucket).map((ld={})=>{const{Name:ud,CreationDate:dd}=ld,pd=new Date(dd);return{name:ud,creationDate:pd}})),qa}function parseInitiateMultipart(Ra){let qa=parseXml(Ra);if(!qa.InitiateMultipartUploadResult)throw new InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if(qa=qa.InitiateMultipartUploadResult,qa.UploadId)return qa.UploadId;throw new InvalidXMLError('Missing tag: "UploadId"')}function parseReplicationConfig(Ra){const qa=parseXml(Ra),{Role:nd,Rule:od}=qa.ReplicationConfiguration;return{ReplicationConfiguration:{role:nd,rules:toArray(od)}}}class Extensions{constructor(qa){this.client=qa}listObjectsV2WithMetadata(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');const ud=od?"":"/";return streamBrowserify.Readable.from(this.listObjectsV2WithMetadataGen(qa,nd,ud,ld),{objectMode:!0})}async*listObjectsV2WithMetadataGen(qa,nd,od,ld){let ud=!1,dd="";do{const pd=await this.listObjectsV2WithMetadataQuery(qa,nd,dd,od,ld);ud=!pd.isTruncated,dd=pd.nextContinuationToken;for(const fd of pd.objects)yield fd}while(!ud)}async listObjectsV2WithMetadataQuery(qa,nd,od,ld,ud){const dd=[];dd.push("list-type=2"),dd.push("encoding-type=url"),dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ld)}`),dd.push("metadata=true"),od&&(od=uriEscape(od),dd.push(`continuation-token=${od}`)),ud&&(ud=uriEscape(ud),dd.push(`start-after=${ud}`)),dd.push("max-keys=1000"),dd.sort();let pd="";dd.length>0&&(pd=`${dd.join("&")}`);const md=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:pd});return parseListObjectsV2WithMetadata(await readAsString(md))}}async function request$1(Ra,qa,nd=null){return new Promise((od,ld)=>{const ud=Ra.request(qa,dd=>{od(dd)});if(!nd||Buffer$4.isBuffer(nd)||typeof nd=="string"){ud.on("error",dd=>{ld(dd)}).end(nd);return}streamBrowserify.pipeline(nd,ud,dd=>{dd&&ld(dd)})})}const awsS3Endpoint={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com","eu-north-1":"s3.eu-north-1.amazonaws.com"};function getS3Endpoint(Ra){if(!isString(Ra))throw new TypeError(`Invalid region: ${Ra}`);const qa=awsS3Endpoint[Ra];return qa||"s3.amazonaws.com"}var define_process_default$2={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const Package={version:"7.1.3"},requestOptionProperties=["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"];class TypedClient{constructor(qa){kg(this,"partSize",64*1024*1024);kg(this,"maximumPartSize",5*1024*1024*1024);kg(this,"maxObjectSize",5*1024*1024*1024*1024);if(qa.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(qa.useSSL===void 0&&(qa.useSSL=!0),qa.port||(qa.port=0),!isValidEndpoint(qa.endPoint))throw new InvalidEndpointError(`Invalid endPoint : ${qa.endPoint}`);if(!isValidPort(qa.port))throw new InvalidArgumentError(`Invalid port : ${qa.port}`);if(!isBoolean(qa.useSSL))throw new InvalidArgumentError(`Invalid useSSL flag type : ${qa.useSSL}, expected to be of type "boolean"`);if(qa.region&&!isString(qa.region))throw new InvalidArgumentError(`Invalid region : ${qa.region}`);const nd=qa.endPoint.toLowerCase();let od=qa.port,ld,ud,dd;if(qa.useSSL?(ud=http,ld="https:",od=od||443,dd=void 0):(ud=http,ld="http:",od=od||80,dd=void 0),qa.transport){if(!isObject(qa.transport))throw new InvalidArgumentError(`Invalid transport type : ${qa.transport}, expected to be type "object"`);ud=qa.transport}if(qa.transportAgent){if(!isObject(qa.transportAgent))throw new InvalidArgumentError(`Invalid transportAgent type: ${qa.transportAgent}, expected to be type "object"`);dd=qa.transportAgent}const fd=`MinIO ${`(${define_process_default$2.platform}; ${define_process_default$2.arch})`} minio-js/${Package.version}`;if(this.transport=ud,this.transportAgent=dd,this.host=nd,this.port=od,this.protocol=ld,this.userAgent=`${fd}`,qa.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=qa.pathStyle,this.accessKey=qa.accessKey??"",this.secretKey=qa.secretKey??"",this.sessionToken=qa.sessionToken,this.anonymous=!this.accessKey||!this.secretKey,qa.credentialsProvider&&(this.credentialsProvider=qa.credentialsProvider),this.regionMap={},qa.region&&(this.region=qa.region),qa.partSize&&(this.partSize=qa.partSize,this.overRidePartSize=!0),this.partSize<5*1024*1024)throw new InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5*1024*1024*1024)throw new InvalidArgumentError("Part size should be less than 5GB");this.enableSHA256=!this.anonymous&&!qa.useSSL,this.s3AccelerateEndpoint=qa.s3AccelerateEndpoint||void 0,this.reqOptions={},this.clientExtensions=new Extensions(this)}get extensions(){return this.clientExtensions}setS3TransferAccelerate(qa){this.s3AccelerateEndpoint=qa}setRequestOptions(qa){if(!isObject(qa))throw new TypeError('request options should be of type "object"');this.reqOptions=_.pick(qa,requestOptionProperties)}getAccelerateEndPointIfSet(qa,nd){if(!isEmpty(this.s3AccelerateEndpoint)&&!isEmpty(qa)&&!isEmpty(nd)){if(qa.includes("."))throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${qa}`);return this.s3AccelerateEndpoint}return!1}getRequestOptions(qa){const nd=qa.method,od=qa.region,ld=qa.bucketName;let ud=qa.objectName;const dd=qa.headers,pd=qa.query;let fd={method:nd,headers:{},protocol:this.protocol,agent:this.transportAgent},md;ld&&(md=isVirtualHostStyle(this.host,this.protocol,ld,this.pathStyle));let vd="/",Ad=this.host,Nd;if(this.port&&(Nd=this.port),ud&&(ud=uriResourceEscape(ud)),isAmazonEndpoint(Ad)){const Od=this.getAccelerateEndPointIfSet(ld,ud);Od?Ad=`${Od}`:Ad=getS3Endpoint(od)}if(md&&!qa.pathStyle?(ld&&(Ad=`${ld}.${Ad}`),ud&&(vd=`/${ud}`)):(ld&&(vd=`/${ld}`),ud&&(vd=`/${ld}/${ud}`)),pd&&(vd+=`?${pd}`),fd.headers.host=Ad,(fd.protocol==="http:"&&Nd!==80||fd.protocol==="https:"&&Nd!==443)&&(fd.headers.host=`${Ad}:${Nd}`),fd.headers["user-agent"]=this.userAgent,dd)for(const[Od,kd]of Object.entries(dd))fd.headers[Od.toLowerCase()]=kd;return fd=Object.assign({},this.reqOptions,fd),{...fd,headers:_.mapValues(_.pickBy(fd.headers,isDefined),Od=>Od.toString()),host:Ad,port:Nd,path:vd}}async setCredentialsProvider(qa){if(!(qa instanceof CredentialProvider))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=qa,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)try{const qa=await this.credentialsProvider.getCredentials();this.accessKey=qa.getAccessKey(),this.secretKey=qa.getSecretKey(),this.sessionToken=qa.getSessionToken()}catch(qa){throw new Error(`Unable to get credentials: ${qa}`,{cause:qa})}}logHTTP(qa,nd,od){if(!this.logStream)return;if(!isObject(qa))throw new TypeError('reqOptions should be of type "object"');if(nd&&!isReadableStream(nd))throw new TypeError('response should be of type "Stream"');if(od&&!(od instanceof Error))throw new TypeError('err should be of type "Error"');const ld=this.logStream,ud=dd=>{Object.entries(dd).forEach(([pd,fd])=>{if(pd=="authorization"&&isString(fd)){const md=new RegExp("Signature=([0-9a-f]+)");fd=fd.replace(md,"Signature=**REDACTED**")}ld.write(`${pd}: ${fd} `)}),ld.write(` `)};if(ld.write(`REQUEST: ${qa.method} ${qa.path} `),ud(qa.headers),nd&&(this.logStream.write(`RESPONSE: ${nd.statusCode} `),ud(nd.headers)),od){ld.write(`ERROR BODY: `);const dd=JSON.stringify(od,null," ");ld.write(`${dd} -`)}}traceOn(qa){qa||(qa=define_process_default$2.stdout),this.logStream=qa}traceOff(){this.logStream=void 0}async makeRequestAsync(qa,nd="",od=[200],ld=""){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!isString(nd)&&!isObject(nd))throw new TypeError('payload should be of type "string" or "Buffer"');if(od.forEach(dd=>{if(!isNumber(dd))throw new TypeError('statusCode should be of type "number"')}),!isString(ld))throw new TypeError('region should be of type "string"');qa.headers||(qa.headers={}),(qa.method==="POST"||qa.method==="PUT"||qa.method==="DELETE")&&(qa.headers["content-length"]=nd.length.toString());const ud=this.enableSHA256?toSha256(nd):"";return this.makeRequestStreamAsync(qa,nd,ud,od,ld)}async makeRequestAsyncOmit(qa,nd="",od=[200],ld=""){const ud=await this.makeRequestAsync(qa,nd,od,ld);return await drainResponse(ud),ud}async makeRequestStreamAsync(qa,nd,od,ld,ud){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!(Buffer$4.isBuffer(nd)||typeof nd=="string"||isReadableStream(nd)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof nd} instead`);if(!isString(od))throw new TypeError('sha256sum should be of type "string"');if(ld.forEach(fd=>{if(!isNumber(fd))throw new TypeError('statusCode should be of type "number"')}),!isString(ud))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&od.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&od.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${od}`);await this.checkAndRefreshCreds(),ud=ud||await this.getBucketRegionAsync(qa.bucketName);const dd=this.getRequestOptions({...qa,region:ud});if(!this.anonymous){this.enableSHA256||(od="UNSIGNED-PAYLOAD");const fd=new Date;dd.headers["x-amz-date"]=makeDateLong(fd),dd.headers["x-amz-content-sha256"]=od,this.sessionToken&&(dd.headers["x-amz-security-token"]=this.sessionToken),dd.headers.authorization=signV4(dd,this.accessKey,this.secretKey,ud,fd,od)}const pd=await request$1(this.transport,dd,nd);if(!pd.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!ld.includes(pd.statusCode)){delete this.regionMap[qa.bucketName];const fd=await parseResponseError(pd);throw this.logHTTP(dd,pd,fd),fd}return this.logHTTP(dd,pd),pd}async getBucketRegionAsync(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);if(this.region)return this.region;const nd=this.regionMap[qa];if(nd)return nd;const od=async md=>{const vd=await readAsString(md),Ad=parseBucketRegion(vd)||DEFAULT_REGION;return this.regionMap[qa]=Ad,Ad},ld="GET",ud="location",dd=this.pathStyle&&!isBrowser_1;let pd;try{const md=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:dd},"",[200],DEFAULT_REGION);return od(md)}catch(md){if(md.name!=="AuthorizationHeaderMalformed"||(pd=md.Region,!pd))throw md}const fd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:dd},"",[200],pd);return await od(fd)}makeRequest(qa,nd="",od=[200],ld="",ud,dd){let pd;ud?pd=this.makeRequestAsync(qa,nd,od,ld):pd=this.makeRequestAsyncOmit(qa,nd,od,ld),pd.then(fd=>dd(null,fd),fd=>{dd(fd)})}makeRequestStream(qa,nd,od,ld,ud,dd,pd){(async()=>{const md=await this.makeRequestStreamAsync(qa,nd,od,ld,ud);return dd||await drainResponse(md),md})().then(md=>pd(null,md),md=>pd(md))}getBucketRegion(qa,nd){return this.getBucketRegionAsync(qa).then(od=>nd(null,od),od=>nd(od))}async removeBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa},"",[204]),delete this.regionMap[qa]}async statObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('statOpts should be of type "object"');const ld=queryString.stringify(od),dd=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:nd,query:ld});return{size:parseInt(dd.headers["content-length"]),metaData:extractMetadata(dd.headers),lastModified:new Date(dd.headers["last-modified"]),versionId:getVersionId(dd.headers),etag:sanitizeETag(dd.headers.etag)}}async removeObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');const ld="DELETE",ud={};od.governanceBypass&&(ud["X-Amz-Bypass-Governance-Retention"]=!0),od.forceDelete&&(ud["x-minio-force-delete"]=!0);const dd={};od.versionId&&(dd.versionId=`${od.versionId}`);const pd=queryString.stringify(dd);await this.makeRequestAsyncOmit({method:ld,bucketName:qa,objectName:nd,headers:ud,query:pd},"",[200,204])}async initiateNewMultipartUpload(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidObjectNameError('contentType should be of type "object"');const dd=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:nd,query:"uploads",headers:od}),pd=await readAsBuffer(dd);return parseInitiateMultipart(pd.toString())}async abortMultipartUpload(qa,nd,od){const ld="DELETE",ud=`uploadId=${od}`,dd={method:ld,bucketName:qa,objectName:nd,query:ud};await this.makeRequestAsyncOmit(dd,"",[204])}async listParts(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");const ld=[];let ud=0,dd;do dd=await this.listPartsQuery(qa,nd,od,ud),ud=dd.marker,ld.push(...dd.parts);while(dd.isTruncated);return ld}async listPartsQuery(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isNumber(ld))throw new TypeError('marker should be of type "number"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");let ud=`uploadId=${uriEscape(od)}`;ld&&(ud+=`&part-number-marker=${ld}`);const pd=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:nd,query:ud});return parseListParts(await readAsString(pd))}async listBuckets(){const nd=await this.makeRequestAsync({method:"GET"},"",[200],DEFAULT_REGION),od=await readAsString(nd);return parseListBucket(od)}async removeBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa,query:"replication"},"",[200,204],"")}async setBucketReplication(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)){if(_.isEmpty(nd.role))throw new InvalidArgumentError("Role cannot be empty");if(nd.role&&!isString(nd.role))throw new InvalidArgumentError("Invalid value for role",nd.role);if(_.isEmpty(nd.rules))throw new InvalidArgumentError("Minimum one replication rule must be specified")}else throw new InvalidArgumentError('replicationConfig should be of type "object"');const od="PUT",ld="replication",ud={},dd={ReplicationConfiguration:{Role:nd.role,Rule:nd.rules}},fd=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(dd);ud["Content-MD5"]=toMd5(fd),await this.makeRequestAsyncOmit({method:od,bucketName:qa,query:ld,headers:ud},fd)}async getBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ld=await this.makeRequestAsync({method:"GET",bucketName:qa,query:"replication"},"",[200,204]),ud=await readAsString(ld);return parseReplicationConfig(ud)}}class CopyConditions{constructor(){kg(this,"modified","");kg(this,"unmodified","");kg(this,"matchETag","");kg(this,"matchETagExcept","")}setModified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.modified=qa.toUTCString()}setUnmodified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=qa.toUTCString()}setMatchETag(qa){this.matchETag=qa}setMatchETagExcept(qa){this.matchETagExcept=qa}}class PostPolicy{constructor(){kg(this,"policy",{conditions:[]});kg(this,"formData",{})}setExpires(qa){if(!qa)throw new InvalidDateError("Invalid date: cannot be null");this.policy.expiration=qa.toISOString()}setKey(qa){if(!isValidObjectName(qa))throw new InvalidObjectNameError(`Invalid object name : ${qa}`);this.policy.conditions.push(["eq","$key",qa]),this.formData.key=qa}setKeyStartsWith(qa){if(!isValidPrefix(qa))throw new InvalidPrefixError(`Invalid prefix : ${qa}`);this.policy.conditions.push(["starts-with","$key",qa]),this.formData.key=qa}setBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);this.policy.conditions.push(["eq","$bucket",qa]),this.formData.bucket=qa}setContentType(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentTypeStartsWith(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentDisposition(qa){if(!qa)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",qa]),this.formData["Content-Disposition"]=qa}setContentLengthRange(qa,nd){if(qa>nd)throw new Error("min cannot be more than max");if(qa<0)throw new Error("min should be > 0");if(nd<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",qa,nd])}setUserMetaData(qa){if(!isObject(qa))throw new TypeError('metadata should be of type "object"');Object.entries(qa).forEach(([nd,od])=>{const ld=`x-amz-meta-${nd}`;this.policy.conditions.push(["eq",`$${ld}`,od]),this.formData[ld]=od.toString()})}}var jsonStream={exports:{}},util=util$a,TransformStream$1=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream$1.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream$1);JSONStream.prototype._transform=function(Ra,qa,nd){Buffer$4.isBuffer(Ra)||(Ra=new Buffer$4(Ra)),this._buffer&&(Ra=Buffer$4.concat([this._buffer,Ra]));for(var od=0,ld=0;++od<=Ra.length;)if(Ra[od]===10||od===Ra.length){var ud;try{ud=JSON.parse(Ra.slice(ld,od))}catch{}ud&&(this.push(ud),ud=null),Ra[od]===10&&(ld=++od)}return this._buffer=Ra.slice(ld),this._async?void setImmediate(nd):void nd()};var jsonStreamExports=jsonStream.exports;const JSONParser=getDefaultExportFromCjs(jsonStreamExports);var through2$1={exports:{}};const{Transform}=readableBrowserExports;function inherits(Ra,qa){Ra.super_=qa,Ra.prototype=Object.create(qa.prototype,{constructor:{value:Ra,enumerable:!1,writable:!0,configurable:!0}})}function through2(Ra){return(qa,nd,od)=>(typeof qa=="function"&&(od=nd,nd=qa,qa={}),typeof nd!="function"&&(nd=(ld,ud,dd)=>dd(null,ld)),typeof od!="function"&&(od=null),Ra(qa,nd,od))}const make=through2((Ra,qa,nd)=>{const od=new Transform(Ra);return od._transform=qa,nd&&(od._flush=nd),od}),ctor=through2((Ra,qa,nd)=>{function od(ld){if(!(this instanceof od))return new od(ld);this.options=Object.assign({},Ra,ld),Transform.call(this,this.options),this._transform=qa,nd&&(this._flush=nd)}return inherits(od,Transform),od}),obj=through2(function(Ra,qa,nd){const od=new Transform(Object.assign({objectMode:!0,highWaterMark:16},Ra));return od._transform=qa,nd&&(od._flush=nd),od});through2$1.exports=make;through2$1.exports.ctor=ctor;through2$1.exports.obj=obj;var through2Exports=through2$1.exports;const Through2=getDefaultExportFromCjs(through2Exports);var Buffer=buffer.Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(Ra){if(Buffer.isBuffer(Ra))return Ra;var qa=typeof Buffer.alloc=="function"&&typeof Buffer.from=="function";if(typeof Ra=="number")return qa?Buffer.alloc(Ra):new Buffer(Ra);if(typeof Ra=="string")return qa?Buffer.from(Ra):new Buffer(Ra);throw new Error("input must be buffer, number, or string, received "+typeof Ra)}function bufferizeInt(Ra){var qa=ensureBuffer(4);return qa.writeInt32BE(Ra,0),qa}function _crc32(Ra,qa){Ra=ensureBuffer(Ra),Buffer.isBuffer(qa)&&(qa=qa.readUInt32BE(0));for(var nd=~~qa^-1,od=0;od>>8;return nd^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var bufferCrc32=crc32;const crc32$1=getDefaultExportFromCjs(bufferCrc32),fxpWithoutNumParser=new fxp$2.XMLParser({numberParseOptions:{skipLike:/./}});function parseCopyObject(Ra){var qa={etag:"",lastModified:""},nd=parseXml(Ra);if(!nd.CopyObjectResult)throw new InvalidXMLError('Missing tag: "CopyObjectResult"');return nd=nd.CopyObjectResult,nd.ETag&&(qa.etag=nd.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")),nd.LastModified&&(qa.lastModified=new Date(nd.LastModified)),qa}function parseListMultipart(Ra){var qa={uploads:[],prefixes:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListMultipartUploadsResult)throw new InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return nd=nd.ListMultipartUploadsResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextKeyMarker&&(qa.nextKeyMarker=nd.NextKeyMarker),nd.NextUploadIdMarker&&(qa.nextUploadIdMarker=nd.nextUploadIdMarker||""),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.prefixes.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0])})}),nd.Upload&&toArray(nd.Upload).forEach(od=>{var ld=od.Key,ud=od.UploadId,dd={id:od.Initiator.ID,displayName:od.Initiator.DisplayName},pd={id:od.Owner.ID,displayName:od.Owner.DisplayName},fd=od.StorageClass,md=new Date(od.Initiated);qa.uploads.push({key:ld,uploadId:ud,initiator:dd,owner:pd,storageClass:fd,initiated:md})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},nd=function(ud){var dd=[];return ud&&toArray(ud).forEach(pd=>{dd.push(pd)}),dd},od=function(ud){var dd=[];return ud&&(ud=toArray(ud),ud[0].S3Key&&(ud[0].S3Key=toArray(ud[0].S3Key),ud[0].S3Key[0].FilterRule&&toArray(ud[0].S3Key[0].FilterRule).forEach(pd=>{var fd=toArray(pd.Name)[0],md=toArray(pd.Value)[0];dd.push({Name:fd,Value:md})}))),dd},ld=parseXml(Ra);return ld=ld.NotificationConfiguration,ld.TopicConfiguration&&toArray(ld.TopicConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.Topic)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.TopicConfiguration.push({Id:dd,Topic:pd,Event:fd,Filter:md})}),ld.QueueConfiguration&&toArray(ld.QueueConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.Queue)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.QueueConfiguration.push({Id:dd,Queue:pd,Event:fd,Filter:md})}),ld.CloudFunctionConfiguration&&toArray(ld.CloudFunctionConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.CloudFunction)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.CloudFunctionConfiguration.push({Id:dd,CloudFunction:pd,Event:fd,Filter:md})}),qa}function parseCompleteMultipart(Ra){var qa=parseXml(Ra).CompleteMultipartUploadResult;if(qa.Location){var nd=toArray(qa.Location)[0],od=toArray(qa.Bucket)[0],ld=qa.Key,ud=qa.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");return{location:nd,bucket:od,key:ld,etag:ud}}if(qa.Code&&qa.Message){var dd=toArray(qa.Code)[0],pd=toArray(qa.Message)[0];return{errCode:dd,errMessage:pd}}}const formatObjInfo=(Ra,qa={})=>{let{Key:nd,LastModified:od,ETag:ld,Size:ud,VersionId:dd,IsLatest:pd}=Ra;isObject(qa)||(qa={});const fd=sanitizeObjectKey(toArray(nd)[0]),md=new Date(toArray(od)[0]),vd=sanitizeETag(toArray(ld)[0]),Ad=sanitizeSize(ud);return{name:fd,lastModified:md,etag:vd,size:Ad,versionId:dd,isLatest:pd,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let nd=!1,od,ld;const ud=fxpWithoutNumParser.parse(Ra),dd=md=>{md&&toArray(md).forEach(vd=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(vd.Prefix)[0]),size:0})})},pd=ud.ListBucketResult,fd=ud.ListVersionsResult;return pd&&(pd.IsTruncated&&(nd=pd.IsTruncated),pd.Contents&&toArray(pd.Contents).forEach(md=>{const vd=sanitizeObjectKey(toArray(md.Key)[0]),Ad=new Date(toArray(md.LastModified)[0]),Nd=sanitizeETag(toArray(md.ETag)[0]),Od=sanitizeSize(md.Size);qa.objects.push({name:vd,lastModified:Ad,etag:Nd,size:Od})}),pd.NextMarker&&(od=pd.NextMarker),dd(pd.CommonPrefixes)),fd&&(fd.IsTruncated&&(nd=fd.IsTruncated),fd.Version&&toArray(fd.Version).forEach(md=>{qa.objects.push(formatObjInfo(md))}),fd.DeleteMarker&&toArray(fd.DeleteMarker).forEach(md=>{qa.objects.push(formatObjInfo(md,{IsDeleteMarker:!0}))}),fd.NextKeyMarker&&(ld=fd.NextKeyMarker),fd.NextVersionIdMarker&&(qa.versionIdMarker=fd.NextVersionIdMarker),dd(fd.CommonPrefixes)),qa.isTruncated=nd,nd&&(qa.nextMarker=ld||od),qa}function parseListObjectsV2(Ra){var qa={objects:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{var ld=sanitizeObjectKey(toArray(od.Key)[0]),ud=new Date(od.LastModified),dd=sanitizeETag(od.ETag),pd=od.Size;qa.objects.push({name:ld,lastModified:ud,etag:dd,size:pd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseBucketVersioningConfig(Ra){var qa=parseXml(Ra);return qa.VersioningConfiguration}function parseTagging(Ra){const qa=parseXml(Ra);let nd=[];if(qa.Tagging&&qa.Tagging.TagSet&&qa.Tagging.TagSet.Tag){const od=qa.Tagging.TagSet.Tag;isObject(od)?nd.push(od):nd=od}return nd}function parseLifecycleConfig(Ra){return parseXml(Ra).LifecycleConfiguration}function parseObjectLockConfig(Ra){const qa=parseXml(Ra);let nd={};if(qa.ObjectLockConfiguration){nd={objectLockEnabled:qa.ObjectLockConfiguration.ObjectLockEnabled};let od;if(qa.ObjectLockConfiguration&&qa.ObjectLockConfiguration.Rule&&qa.ObjectLockConfiguration.Rule.DefaultRetention&&(od=qa.ObjectLockConfiguration.Rule.DefaultRetention||{},nd.mode=od.Mode),od){const ld=od.Years;ld?(nd.validity=ld,nd.unit=RETENTION_VALIDITY_UNITS.YEARS):(nd.validity=od.Days,nd.unit=RETENTION_VALIDITY_UNITS.DAYS)}return nd}}function parseObjectRetentionConfig(Ra){const nd=parseXml(Ra).Retention;return{mode:nd.Mode,retainUntilDate:nd.RetainUntilDate}}function parseBucketEncryptionConfig(Ra){return parseXml(Ra)}function parseObjectLegalHoldConfig(Ra){return parseXml(Ra).LegalHold}function uploadPartParser(Ra){return parseXml(Ra).CopyPartResult}function removeObjectsParser(Ra){const qa=parseXml(Ra);return qa.DeleteResult&&qa.DeleteResult.Error?toArray(qa.DeleteResult.Error):[]}function parseSelectObjectContentResponse(Ra){function qa(ud){const dd=Buffer$4.from(ud.read(1)).readUInt8(),fd=(Buffer$4.from(ud.read(dd)).toString()||"").split(":");return fd.length>=1?fd[1]:""}function nd(ud){const dd=Buffer$4.from(ud.read(2)).readUInt16BE();return Buffer$4.from(ud.read(dd)).toString()}const od=new SelectResults({}),ld=readableStream(Ra);for(;ld._readableState.length;){let ud;const dd=Buffer$4.from(ld.read(4));ud=crc32$1(dd);const pd=Buffer$4.from(ld.read(4));ud=crc32$1(pd,ud);const fd=ud.readInt32BE(),md=Buffer$4.from(ld.read(4));ud=crc32$1(md,ud);const vd=dd.readInt32BE(),Ad=pd.readInt32BE(),Nd=md.readInt32BE();if(Nd!==fd)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Nd} does not equal expected CRC of ${fd}`);const Od={};if(Ad>0){const jd=Buffer$4.from(ld.read(Ad));ud=crc32$1(jd,ud);const Fd=readableStream(jd);for(;Fd._readableState.length;){let Ud=qa(Fd);Fd.read(1),Od[Ud]=nd(Fd)}}let kd;const Ld=vd-Ad-16;if(Ld>0){const jd=Buffer$4.from(ld.read(Ld));ud=crc32$1(jd,ud);const Fd=Buffer$4.from(ld.read(4)).readInt32BE(),Ud=ud.readInt32BE();if(Fd!==Ud)throw new Error(`Message Checksum Mismatch, Message CRC of ${Fd} does not equal expected CRC of ${Ud}`);kd=readableStream(jd)}const Gd=Od["message-type"];switch(Gd){case"error":{const jd=Od["error-code"]+':"'+Od["error-message"]+'"';throw new Error(jd)}case"event":{const jd=Od["content-type"];switch(Od["event-type"]){case"End":return od.setResponse(Ra),od;case"Records":{const Ud=kd.read(Ld);od.setRecords(Ud);break}case"Progress":switch(jd){case"text/xml":{const Ud=kd.read(Ld);od.setProgress(Ud.toString());break}default:{const Ud=`Unexpected content-type ${jd} sent for event-type Progress`;throw new Error(Ud)}}break;case"Stats":switch(jd){case"text/xml":{const Ud=kd.read(Ld);od.setStats(Ud.toString());break}default:{const Ud=`Unexpected content-type ${jd} sent for event-type Stats`;throw new Error(Ud)}}break;default:{const Ud=`Un implemented event detected ${Gd}.`;console.warn(Ud)}}}}}}function getConcater(Ra,qa){var nd=!1,od=[];if(Ra&&!isFunction(Ra))throw new TypeError('parser should be of type "function"');return Ra&&(nd=!0),Through2({objectMode:nd},function(ld,ud,dd){od.push(ld),dd()},function(ld){od.length&&(Ra?this.push(Ra(Buffer$4.concat(od).toString())):this.push(Buffer$4.concat(od))),ld()})}function getCopyObjectTransformer(){return getConcater(parseCopyObject)}function getListMultipartTransformer(){return getConcater(parseListMultipart)}function getListObjectsTransformer(){return getConcater(parseListObjects)}function getListObjectsV2Transformer(){return getConcater(parseListObjectsV2)}function getCompleteMultipartTransformer(){return getConcater(parseCompleteMultipart)}function getBucketNotificationTransformer(){return getConcater(parseBucketNotification)}function getNotificationTransformer(){return new JSONParser}function bucketVersioningTransformer(){return getConcater(parseBucketVersioningConfig)}function getTagsTransformer(){return getConcater(parseTagging)}function lifecycleTransformer(){return getConcater(parseLifecycleConfig)}function objectLockTransformer(){return getConcater(parseObjectLockConfig)}function objectRetentionTransformer(){return getConcater(parseObjectRetentionConfig)}function bucketEncryptionTransformer(){return getConcater(parseBucketEncryptionConfig)}function objectLegalHoldTransformer(){return getConcater(parseObjectLegalHoldConfig)}function uploadPartTransformer(){return getConcater(uploadPartParser)}function selectObjectContentTransformer(){return getConcater()}function removeObjectsTransformer(){return getConcater(removeObjectsParser)}var define_process_default$1={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class NotificationConfig{add(qa){let nd="";qa instanceof TopicConfig&&(nd="TopicConfiguration"),qa instanceof QueueConfig&&(nd="QueueConfiguration"),qa instanceof CloudFunctionConfig&&(nd="CloudFunctionConfiguration"),this[nd]||(this[nd]=[]),this[nd].push(qa)}}class TargetConfig{setId(qa){this.Id=qa}addEvent(qa){this.Event||(this.Event=[]),this.Event.push(qa)}addFilterSuffix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:qa})}addFilterPrefix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:qa})}}class TopicConfig extends TargetConfig{constructor(qa){super(),this.Topic=qa}}class QueueConfig extends TargetConfig{constructor(qa){super(),this.Queue=qa}}class CloudFunctionConfig extends TargetConfig{constructor(qa){super(),this.CloudFunction=qa}}class NotificationPoller extends eventsExports.EventEmitter{constructor(qa,nd,od,ld,ud){super(),this.client=qa,this.bucketName=nd,this.prefix=od,this.suffix=ld,this.events=ud,this.ending=!1}start(){this.ending=!1,define_process_default$1.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;let qa="GET";var nd=[];if(this.prefix){var od=uriEscape(this.prefix);nd.push(`prefix=${od}`)}if(this.suffix){var ld=uriEscape(this.suffix);nd.push(`suffix=${ld}`)}this.events&&this.events.forEach(pd=>nd.push("events="+uriEscape(pd))),nd.sort();var ud="";nd.length>0&&(ud=`${nd.join("&")}`);const dd=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:ud},"",[200],dd,!0,(pd,fd)=>{if(pd)return this.emit("error",pd);let md=getNotificationTransformer();pipesetup(fd,md).on("data",vd=>{let Ad=vd.Records;Ad||(Ad=[]),Ad.forEach(Nd=>{this.emit("notification",Nd)}),this.ending&&fd.destroy()}).on("error",vd=>this.emit("error",vd)).on("end",()=>{define_process_default$1.nextTick(()=>{this.checkForChanges()})})})}}var define_process_default={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_bb88ddd5-4279-4c6f-947f-f85497217002",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_bb88ddd5-4279-4c6f-947f-f85497217002",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az-extension",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250113.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7238",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12783920053",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",AZURE_CONFIG_DIR:"/opt/az-config",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_83786369-4617-45c5-8f39-31f93b825b99",INVOCATION_ID:"7945cb212d9540bf82b2c2f5483f1075",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"492",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 5",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"068c50382af3d3e6d64b33940400a1491e6a29d6",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_bb88ddd5-4279-4c6f-947f-f85497217002",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_bb88ddd5-4279-4c6f-947f-f85497217002",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_bb88ddd5-4279-4c6f-947f-f85497217002",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2141,ppid:2139,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class ObjectUploader extends streamBrowserify.Transform{constructor(qa,nd,od,ld,ud,dd){super(),this.emptyStream=!0,this.client=qa,this.bucketName=nd,this.objectName=od,this.partSize=ld,this.metaData=ud,this.callback=dd,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",pd=>{dd(pd)})}_transform(qa,nd,od){this.emptyStream=!1;let ld="PUT",ud={"Content-Length":qa.length},dd="";if(this.client.enableSHA256||(dd=(void 0)("md5").update(qa).digest(),ud["Content-MD5"]=dd.toString("base64")),this.partNumber==1&&qa.length{if(Ad)return od(Ad);let Od={etag:sanitizeETag(Nd.headers.etag),versionId:getVersionId(Nd.headers)};Nd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,Od)}),od()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,nd,od)}),this.client.findUploadId(this.bucketName,this.objectName,(vd,Ad)=>{if(vd)return this.emit("error",vd);if(!Ad){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Nd=>{this.id=Nd,this.emit("ready")},Nd=>od(Nd));return}this.id=Ad,this.client.listParts(this.bucketName,this.objectName,Ad).then(Nd=>{Nd||(Nd=[]),this.oldParts=Nd.reduce(function(Od,kd){return Od[kd.part]||(Od[kd.part]=kd),Od},{}),this.emit("ready")},Nd=>this.emit("error",Nd))});return}let pd=this.partNumber++;if(this.oldParts){let vd=this.oldParts[pd];if(dd||(dd=(void 0)("md5").update(qa).digest()),vd&&dd.toString("hex")===vd.etag){this.etags.push({part:pd,etag:vd.etag}),od();return}}let fd=queryString.stringify({partNumber:pd,uploadId:this.id}),md={method:ld,query:fd,headers:ud,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(md,qa,[200],"",!0,(vd,Ad)=>{if(vd)return od(vd);let Nd=Ad.headers.etag;Nd&&(Nd=Nd.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:pd,etag:Nd}),Ad.on("data",()=>{}),od()})}_flush(qa){if(this.emptyStream){let nd="PUT",od=Object.assign({},this.metaData,{"Content-Length":0}),ld={method:nd,headers:od,query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(ld,"",[200],"",!0,(ud,dd)=>{if(ud)return qa(ud);let pd={etag:sanitizeETag(dd.headers.etag),versionId:getVersionId(dd.headers)};dd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,pd)}),qa()});return}this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(nd,od)=>{if(nd)return qa(nd);define_process_default.nextTick(()=>{this.callback(null,od)}),qa()})}}function promisify(Ra){return function(){if(typeof arguments[arguments.length-1]=="function")return Ra.apply(this,arguments);let nd=[...arguments];return new Promise((od,ld)=>{nd.push((ud,dd)=>{if(ud)return ld(ud);od(dd)}),Ra.apply(this,nd)})}}class Client extends TypedClient{setAppInfo(qa,nd){if(!isString(qa))throw new TypeError(`Invalid appName: ${qa}`);if(qa.trim()==="")throw new InvalidArgumentError("Input appName cannot be empty.");if(!isString(nd))throw new TypeError(`Invalid appVersion: ${nd}`);if(nd.trim()==="")throw new InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${qa}/${nd}`}calculatePartSize(qa){if(!isNumber(qa))throw new TypeError('size should be of type "number"');if(qa>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var nd=this.partSize;;){if(nd*1e4>qa)return nd;nd+=16*1024*1024}}makeBucket(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)&&(ld=od,od=nd,nd=""),isFunction(nd)&&(ld=nd,nd="",od={}),isFunction(od)&&(ld=od,od={}),!isString(nd))throw new TypeError('region should be of type "string"');if(!isObject(od))throw new TypeError('makeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');var ud="";if(nd&&this.region&&nd!==this.region)throw new InvalidArgumentError(`Configured region ${this.region}, requested ${nd}`);if(nd&&nd!==DEFAULT_REGION){var dd=[];dd.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),dd.push({LocationConstraint:nd});var pd={CreateBucketConfiguration:dd};ud=Xml(pd)}var fd="PUT",md={};od.ObjectLocking&&(md["x-amz-bucket-object-lock-enabled"]=!0),nd||(nd=DEFAULT_REGION);const vd=Ad=>{if(Ad&&(nd===""||nd===DEFAULT_REGION))if(Ad.code==="AuthorizationHeaderMalformed"&&Ad.region!=="")this.makeRequest({method:fd,bucketName:qa,headers:md},ud,[200],Ad.region,!1,ld);else return ld&&ld(Ad);return ld&&ld(Ad)};this.makeRequest({method:fd,bucketName:qa,headers:md},ud,[200],nd,!1,vd)}listIncompleteUploads(qa,nd,od){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');var ld=od?"":"/",ud="",dd="",pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length)return md.push(pd.shift());if(fd)return md.push(null);this.listIncompleteUploadsQuery(qa,nd,ud,dd,ld).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.prefixes.forEach(Ad=>pd.push(Ad)),index.eachSeries(vd.uploads,(Ad,Nd)=>{this.listParts(qa,Ad.key,Ad.uploadId).then(Od=>{Ad.size=Od.reduce((kd,Ld)=>kd+Ld.size,0),pd.push(Ad),Nd()},Nd)},Ad=>{if(Ad){md.emit("error",Ad);return}vd.isTruncated?(ud=vd.nextKeyMarker,dd=vd.nextUploadIdMarker):fd=!0,md._read()})})},md}bucketExists(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="HEAD";this.makeRequest({method:od,bucketName:qa},"",[200],"",!1,ld=>{if(ld)return ld.code=="NoSuchBucket"||ld.code=="NotFound"?nd(null,!1):nd(ld);nd(null,!0)})}removeIncompleteUpload(qa,nd,od){if(!isValidBucketName(qa))throw new IsValidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld;index.during(ud=>{this.findUploadId(qa,nd,(dd,pd)=>{if(dd)return ud(dd);ld=pd,ud(null,pd)})},ud=>{var dd="DELETE",pd=`uploadId=${ld}`;this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd},"",[204],"",!1,fd=>ud(fd))},od)}fGetObject(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isFunction(ud))throw new TypeError('callback should be of type "function"');var dd,pd,fd,md=vd=>{if(vd)return ud(vd);(void 0)(dd,od,ud)};index.waterfall([vd=>this.statObject(qa,nd,ld,vd),(vd,Ad)=>{fd=vd,(void 0)(pathBrowserify.dirname(od),{recursive:!0},Nd=>Ad(Nd))},vd=>{dd=`${od}.${fd.etag}.part.minio`,(void 0)(dd,(Ad,Nd)=>{var Od=0;if(Ad)pd=(void 0)(dd,{flags:"w"});else{if(fd.size===Nd.size)return md();Od=Nd.size,pd=(void 0)(dd,{flags:"a"})}this.getPartialObject(qa,nd,Od,0,ld,vd)})},(vd,Ad)=>{pipesetup(vd,pd).on("error",Nd=>Ad(Nd)).on("finish",Ad)},vd=>(void 0)(dd,vd),(vd,Ad)=>{if(vd.size===fd.size)return Ad();Ad(new Error("Size mismatch between downloaded file and the object"))}],md)}getObject(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),!isFunction(ld))throw new TypeError('callback should be of type "function"');this.getPartialObject(qa,nd,0,0,od,ld)}getPartialObject(qa,nd,od,ld,ud={},dd){if(isFunction(ld)&&(dd=ld,ld=0),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isNumber(od))throw new TypeError('offset should be of type "number"');if(!isNumber(ld))throw new TypeError('length should be of type "number"');if(isFunction(ud)&&(dd=ud,ud={}),!isFunction(dd))throw new TypeError('callback should be of type "function"');var pd="";(od||ld)&&(od?pd=`bytes=${+od}-`:(pd="bytes=0-",od=0),ld&&(pd+=`${+ld+od-1}`));var fd={};pd!==""&&(fd.range=pd);var md=[200];pd&&md.push(206);var vd="GET",Ad=queryString.stringify(ud);this.makeRequest({method:vd,bucketName:qa,objectName:nd,headers:fd,query:Ad},"",md,"",!0,dd)}fPutObject(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isObject(ld))throw new TypeError('metaData should be of type "object"');ld=insertContentType(ld,od),(void 0)(od,(dd,pd)=>dd?ud(dd):this.putObject(qa,nd,(void 0)(od),pd.size,ld,ud))}putObject(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(ld)?(dd=ld,ud={}):isFunction(ud)&&(dd=ud,ud={}),isObject(ld)&&(ud=ld),ud=prependXAMZMeta(ud),typeof od=="string"||od instanceof Buffer$4)ld=od.length,od=readableStream(od);else if(!isReadableStream(od))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!isFunction(dd))throw new TypeError('callback should be of type "function"');if(isNumber(ld)&&ld<0)throw new InvalidArgumentError(`size cannot be negative, given size: ${ld}`);isNumber(ld)||(ld=this.maxObjectSize),ld=this.calculatePartSize(ld);let pd=new BlockStream2({size:ld,zeroPadding:!1}),fd=new ObjectUploader(this,qa,nd,ld,ud,dd);pipesetup(od,pd,fd)}copyObjectV1(qa,nd,od,ld,ud){var dd=qa,pd=nd,fd=od,md,vd;if(typeof ld=="function"&&ud===void 0?(md=null,vd=ld):(md=ld,vd=ud),!isValidBucketName(dd))throw new InvalidBucketNameError("Invalid bucket name: "+dd);if(!isValidObjectName(pd))throw new InvalidObjectNameError(`Invalid object name: ${pd}`);if(!isString(fd))throw new TypeError('srcObject should be of type "string"');if(fd==="")throw new InvalidPrefixError("Empty source prefix");if(md!==null&&!(md instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var Ad={};Ad["x-amz-copy-source"]=uriResourceEscape(fd),md!==null&&(md.modified!==""&&(Ad["x-amz-copy-source-if-modified-since"]=md.modified),md.unmodified!==""&&(Ad["x-amz-copy-source-if-unmodified-since"]=md.unmodified),md.matchETag!==""&&(Ad["x-amz-copy-source-if-match"]=md.matchETag),md.matchEtagExcept!==""&&(Ad["x-amz-copy-source-if-none-match"]=md.matchETagExcept));var Nd="PUT";this.makeRequest({method:Nd,bucketName:dd,objectName:pd,headers:Ad},"",[200],"",!0,(Od,kd)=>{if(Od)return vd(Od);var Ld=getCopyObjectTransformer();pipesetup(kd,Ld).on("error",Gd=>vd(Gd)).on("data",Gd=>vd(null,Gd))})}copyObjectV2(qa,nd,od){if(!(qa instanceof CopySourceOptions))throw new InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(nd instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!nd.validate()||!nd.validate())return!1;if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=Object.assign({},qa.getHeaders(),nd.getHeaders()),ud=nd.Bucket,dd=nd.Object;this.makeRequest({method:"PUT",bucketName:ud,objectName:dd,headers:ld},"",[200],"",!0,(fd,md)=>{if(fd)return od(fd);const vd=getCopyObjectTransformer();pipesetup(md,vd).on("error",Ad=>od(Ad)).on("data",Ad=>{const Nd=md.headers,Od={Bucket:nd.Bucket,Key:nd.Object,LastModified:Ad.LastModified,MetaData:extractMetadata(Nd),VersionId:getVersionId(Nd),SourceVersionId:getSourceVersionId(Nd),Etag:sanitizeETag(Nd.etag),Size:+Nd["content-length"]};return od(null,Od)})})}copyObject(...qa){return qa[0]instanceof CopySourceOptions&&qa[1]instanceof CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(qa,nd,od,ld={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('marker should be of type "string"');let{Delimiter:ud,MaxKeys:dd,IncludeVersion:pd}=ld;if(!isObject(ld))throw new TypeError('listQueryOpts should be of type "object"');if(!isString(ud))throw new TypeError('Delimiter should be of type "string"');if(!isNumber(dd))throw new TypeError('MaxKeys should be of type "number"');const fd=[];fd.push(`prefix=${uriEscape(nd)}`),fd.push(`delimiter=${uriEscape(ud)}`),fd.push("encoding-type=url"),pd&&fd.push("versions"),od&&(od=uriEscape(od),pd?fd.push(`key-marker=${od}`):fd.push(`marker=${od}`)),dd&&(dd>=1e3&&(dd=1e3),fd.push(`max-keys=${dd}`)),fd.sort();var md="";fd.length>0&&(md=`${fd.join("&")}`);var vd="GET",Ad=getListObjectsTransformer();return this.makeRequest({method:vd,bucketName:qa,query:md},"",[200],"",!0,(Nd,Od)=>{if(Nd)return Ad.emit("error",Nd);pipesetup(Od,Ad)}),Ad}listObjects(qa,nd,od,ld={}){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isObject(ld))throw new TypeError('listOpts should be of type "object"');var ud="";const dd={Delimiter:od?"":"/",MaxKeys:1e3,IncludeVersion:ld.IncludeVersion};var pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length){md.push(pd.shift());return}if(fd)return md.push(null);this.listObjectsQuery(qa,nd,ud,dd).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.isTruncated?ud=vd.nextMarker||vd.versionIdMarker:fd=!0,pd=vd.objects,md._read()})},md}listObjectsV2Query(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('continuationToken should be of type "string"');if(!isString(ld))throw new TypeError('delimiter should be of type "string"');if(!isNumber(ud))throw new TypeError('maxKeys should be of type "number"');if(!isString(dd))throw new TypeError('startAfter should be of type "string"');var pd=[];pd.push("list-type=2"),pd.push("encoding-type=url"),pd.push(`prefix=${uriEscape(nd)}`),pd.push(`delimiter=${uriEscape(ld)}`),od&&(od=uriEscape(od),pd.push(`continuation-token=${od}`)),dd&&(dd=uriEscape(dd),pd.push(`start-after=${dd}`)),ud&&(ud>=1e3&&(ud=1e3),pd.push(`max-keys=${ud}`)),pd.sort();var fd="";pd.length>0&&(fd=`${pd.join("&")}`);var md="GET",vd=getListObjectsV2Transformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}listObjectsV2(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');var ud=od?"":"/",dd="",pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length){md.push(pd.shift());return}if(fd)return md.push(null);this.listObjectsV2Query(qa,nd,dd,ud,1e3,ld).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.isTruncated?dd=vd.nextContinuationToken:fd=!0,pd=vd.objects,md._read()})},md}removeObjects(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Array.isArray(nd))throw new InvalidArgumentError("objectsList should be a list");if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=1e3,ud="delete",dd="POST";let pd=nd.reduce((vd,Ad)=>(vd.list.push(Ad),vd.list.length===ld&&(vd.listOfList.push(vd.list),vd.list=[]),vd),{listOfList:[],list:[]});pd.list.length>0&&pd.listOfList.push(pd.list);const fd=new Encoder,md=[];index.eachSeries(pd.listOfList,(vd,Ad)=>{var Nd=[];vd.forEach(function(Fd){isObject(Fd)?Nd.push({Key:Fd.name,VersionId:Fd.versionId}):Nd.push({Key:Fd})});let Od={Delete:{Quiet:!0,Object:Nd}},Ld=new xml2js.Builder({headless:!0}).buildObject(Od);Ld=Buffer$4.from(fd.encode(Ld));const Gd={};Gd["Content-MD5"]=toMd5(Ld);let jd;this.makeRequest({method:dd,bucketName:qa,query:ud,headers:Gd},Ld,[200],"",!0,(Fd,Ud)=>{if(Fd)return Ad(Fd);pipesetup(Ud,removeObjectsTransformer()).on("data",qd=>{jd=qd}).on("error",qd=>Ad(qd,null)).on("end",()=>(md.push(jd),Ad(null,jd)))})},()=>{od(null,_.flatten(md))})}getBucketPolicy(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"policy"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,getConcater()).on("data",fd=>pd=fd).on("error",nd).on("end",()=>{nd(null,pd.toString())})})}setBucketPolicy(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new InvalidBucketPolicyError(`Invalid bucket policy: ${nd} - must be "string"`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');let ld="DELETE",ud="policy";nd&&(ld="PUT"),this.makeRequest({method:ld,bucketName:qa,query:ud},nd,[204],"",!1,od)}presignedUrl(qa,nd,od,ld,ud,dd,pd){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction(dd)&&(pd=dd,dd=new Date),isFunction(ud)&&(pd=ud,ud={},dd=new Date),isFunction(ld)&&(pd=ld,ud={},ld=24*60*60*7,dd=new Date),!isNumber(ld))throw new TypeError('expires should be of type "number"');if(!isObject(ud))throw new TypeError('reqParams should be of type "object"');if(!isValidDate(dd))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction(pd))throw new TypeError('callback should be of type "function"');var fd=queryString.stringify(ud);this.getBucketRegion(nd,(md,vd)=>{if(md)return pd(md);var Ad,Nd=this.getRequestOptions({method:qa,region:vd,bucketName:nd,objectName:od,query:fd});this.checkAndRefreshCreds();try{Ad=presignSignatureV4(Nd,this.accessKey,this.secretKey,this.sessionToken,vd,dd,ld)}catch(Od){return pd(Od)}pd(null,Ad)})}presignedGetObject(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);isFunction(ld)&&(dd=ld,ld={},ud=new Date);var pd=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return pd.forEach(fd=>{if(ld!==void 0&&ld[fd]!==void 0&&!isString(ld[fd]))throw new TypeError(`response header ${fd} should be of type "string"`)}),this.presignedUrl("GET",qa,nd,od,ld,ud,dd)}presignedPutObject(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);return this.presignedUrl("PUT",qa,nd,od,ld)}newPostPolicy(){return new PostPolicy}presignedPostPolicy(qa,nd){if(this.anonymous)throw new AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!isObject(qa))throw new TypeError('postPolicy should be of type "object"');if(!isFunction(nd))throw new TypeError('cb should be of type "function"');this.getBucketRegion(qa.formData.bucket,(od,ld)=>{if(od)return nd(od);var ud=new Date,dd=makeDateLong(ud);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var pd=new Date;pd.setSeconds(24*60*60*7),qa.setExpires(pd)}qa.policy.conditions.push(["eq","$x-amz-date",dd]),qa.formData["x-amz-date"]=dd,qa.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),qa.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",qa.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+getScope(ld,ud)]),qa.formData["x-amz-credential"]=this.accessKey+"/"+getScope(ld,ud),this.sessionToken&&(qa.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),qa.formData["x-amz-security-token"]=this.sessionToken);var fd=Buffer$4.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=fd;var md=postPresignSignatureV4(ld,ud,this.secretKey,fd);qa.formData["x-amz-signature"]=md;var vd={};vd.region=ld,vd.bucketName=qa.formData.bucket;var Ad=this.getRequestOptions(vd),Nd=this.port==80||this.port===443?"":`:${this.port.toString()}`,Od=`${Ad.protocol}//${Ad.host}${Nd}${Ad.path}`;nd(null,{postURL:Od,formData:qa.formData})})}completeMultipartUpload(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isObject(ld))throw new TypeError('etags should be of type "Array"');if(!isFunction(ud))throw new TypeError('cb should be of type "function"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");var dd="POST",pd=`uploadId=${uriEscape(od)}`,fd=[];ld.forEach(Ad=>{fd.push({Part:[{PartNumber:Ad.part},{ETag:Ad.etag}]})});var md={CompleteMultipartUpload:fd},vd=Xml(md);this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd},vd,[200],"",!0,(Ad,Nd)=>{if(Ad)return ud(Ad);var Od=getCompleteMultipartTransformer();pipesetup(Nd,Od).on("error",kd=>ud(kd)).on("data",kd=>{if(kd.errCode)ud(new S3Error(kd.errMessage));else{const Ld={etag:kd.etag,versionId:getVersionId(Nd.headers)};ud(null,Ld)}})})}listIncompleteUploadsQuery(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('keyMarker should be of type "string"');if(!isString(ld))throw new TypeError('uploadIdMarker should be of type "string"');if(!isString(ud))throw new TypeError('delimiter should be of type "string"');var dd=[];dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ud)}`),od&&(od=uriEscape(od),dd.push(`key-marker=${od}`)),ld&&dd.push(`upload-id-marker=${ld}`);var pd=1e3;dd.push(`max-uploads=${pd}`),dd.sort(),dd.unshift("uploads");var fd="";dd.length>0&&(fd=`${dd.join("&")}`);var md="GET",vd=getListMultipartTransformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}findUploadId(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('cb should be of type "function"');var ld,ud=(dd,pd)=>{this.listIncompleteUploadsQuery(qa,nd,dd,pd,"").on("error",fd=>od(fd)).on("data",fd=>{if(fd.uploads.forEach(md=>{if(md.key===nd&&(!ld||md.initiated.getTime()>ld.initiated.getTime())){ld=md;return}}),fd.isTruncated){ud(fd.nextKeyMarker,fd.nextUploadIdMarker);return}if(ld)return od(null,ld.uploadId);od(null,void 0)})};ud("","")}setBucketNotification(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new TypeError('notification config should be of type "Object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="notification",dd=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),pd=dd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},pd,[200],"",!1,od)}removeAllBucketNotification(qa,nd){this.setBucketNotification(qa,new NotificationConfig,nd)}getBucketNotification(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="GET",ld="notification";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);var pd=getBucketNotificationTransformer(),fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}listenBucketNotification(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new TypeError("prefix must be of type string");if(!isString(od))throw new TypeError("suffix must be of type string");if(!Array.isArray(ld))throw new TypeError("events must be of type Array");let ud=new NotificationPoller(this,qa,nd,od,ld);return ud.start(),ud}getBucketVersioning(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');var od="GET",ld="versioning";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,bucketVersioningTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}setBucketVersioning(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Object.keys(nd).length)throw new InvalidArgumentError('versionConfig should be of type "object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="versioning",dd=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),pd=dd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},pd,[200],"",!1,od)}setTagging(qa){const{bucketName:nd,objectName:od,tags:ld,putOpts:ud={},cb:dd}=qa,pd="PUT";let fd="tagging";ud&&ud.versionId&&(fd=`${fd}&versionId=${ud.versionId}`);const md=[];for(const[Gd,jd]of Object.entries(ld))md.push({Key:Gd,Value:jd});const vd={Tagging:{TagSet:{Tag:md}}},Ad=new Encoder,Nd={};let kd=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(vd);kd=Buffer$4.from(Ad.encode(kd)),Nd["Content-MD5"]=toMd5(kd);const Ld={method:pd,bucketName:nd,query:fd,headers:Nd};od&&(Ld.objectName=od),Nd["Content-MD5"]=toMd5(kd),this.makeRequest(Ld,kd,[200],"",!1,dd)}setBucketTagging(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(nd).length>10)throw new InvalidArgumentError('maximum tags allowed is 10"');if(!isFunction(od))throw new InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:qa,tags:nd,cb:od})}setObjectTagging(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(ld)&&(ud=ld,ld={}),!isObject(od))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(od).length>10)throw new InvalidArgumentError('Maximum tags allowed is 10"');if(!isFunction(ud))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:qa,objectName:nd,tags:od,putOpts:ld,cb:ud})}removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld}){const ud="DELETE";let dd="tagging";od&&Object.keys(od).length&&od.versionId&&(dd=`${dd}&versionId=${od.versionId}`);const pd={method:ud,bucketName:qa,objectName:nd,query:dd};nd&&(pd.objectName=nd),this.makeRequest(pd,"",[200,204],"",!0,ld)}removeBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,cb:nd})}removeObjectTagging(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),od&&Object.keys(od).length&&!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld})}getBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);const ud={method:"GET",bucketName:qa,query:"tagging"};this.makeRequest(ud,"",[200],"",!0,(dd,pd)=>{var fd=getTagsTransformer();if(dd)return nd(dd);let md;pipesetup(pd,fd).on("data",vd=>md=vd).on("error",vd=>nd(vd)).on("end",()=>nd(null,md))})}getObjectTagging(qa,nd,od={},ld=()=>!1){const ud="GET";let dd="tagging";if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),!isObject(od))throw new InvalidArgumentError('getOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');od&&od.versionId&&(dd=`${dd}&versionId=${od.versionId}`);const pd={method:ud,bucketName:qa,query:dd};nd&&(pd.objectName=nd),this.makeRequest(pd,"",[200],"",!0,(fd,md)=>{const vd=getTagsTransformer();if(fd)return ld(fd);let Ad;pipesetup(md,vd).on("data",Nd=>Ad=Nd).on("error",Nd=>ld(Nd)).on("end",()=>ld(null,Ad))})}applyBucketLifecycle(qa,nd,od){const ld="PUT",ud="lifecycle",dd=new Encoder,pd={};let md=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(nd);md=Buffer$4.from(dd.encode(md));const vd={method:ld,bucketName:qa,query:ud,headers:pd};pd["Content-MD5"]=toMd5(md),this.makeRequest(vd,md,[200],"",!1,od)}removeBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);this.makeRequest({method:"DELETE",bucketName:qa,query:"lifecycle"},"",[204],"",!1,nd)}setBucketLifecycle(qa,nd=null,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);_.isEmpty(nd)?this.removeBucketLifecycle(qa,od):this.applyBucketLifecycle(qa,nd,od)}getBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ud={method:"GET",bucketName:qa,query:"lifecycle"};this.makeRequest(ud,"",[200],"",!0,(dd,pd)=>{const fd=lifecycleTransformer();if(dd)return nd(dd);let md;pipesetup(pd,fd).on("data",vd=>md=vd).on("error",vd=>nd(vd)).on("end",()=>nd(null,md))})}setObjectLockConfig(qa,nd={},od){const ld=[RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE],ud=[RETENTION_VALIDITY_UNITS.DAYS,RETENTION_VALIDITY_UNITS.YEARS];if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(nd.mode&&!ld.includes(nd.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${ld}`);if(nd.unit&&!ud.includes(nd.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${ud}`);if(nd.validity&&!isNumber(nd.validity))throw new TypeError("lockConfigOpts.validity should be a number");const dd="PUT",pd="object-lock";let fd={ObjectLockEnabled:"Enabled"};const md=Object.keys(nd);if(md.length>0){if(_.difference(md,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");fd.Rule={DefaultRetention:{}},nd.mode&&(fd.Rule.DefaultRetention.Mode=nd.mode),nd.unit===RETENTION_VALIDITY_UNITS.DAYS?fd.Rule.DefaultRetention.Days=nd.validity:nd.unit===RETENTION_VALIDITY_UNITS.YEARS&&(fd.Rule.DefaultRetention.Years=nd.validity)}const Ad=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(fd),Nd={};Nd["Content-MD5"]=toMd5(Ad),this.makeRequest({method:dd,bucketName:qa,query:pd,headers:Nd},Ad,[200],"",!1,od)}getObjectLockConfig(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"object-lock"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,objectLockTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}putObjectRetention(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.governanceBypass&&!isBoolean(od.governanceBypass))throw new InvalidArgumentError("Invalid value for governanceBypass",od.governanceBypass);if(od.mode&&![RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE].includes(od.mode))throw new InvalidArgumentError("Invalid object retention mode ",od.mode);if(od.retainUntilDate&&!isString(od.retainUntilDate))throw new InvalidArgumentError("Invalid value for retainUntilDate",od.retainUntilDate);if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError("Invalid value for versionId",od.versionId)}else throw new InvalidArgumentError('retentionOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="PUT";let dd="retention";const pd={};od.governanceBypass&&(pd["X-Amz-Bypass-Governance-Retention"]=!0);const fd=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),md={};od.mode&&(md.Mode=od.mode),od.retainUntilDate&&(md.RetainUntilDate=od.retainUntilDate),od.versionId&&(dd+=`&versionId=${od.versionId}`);let vd=fd.buildObject(md);pd["Content-MD5"]=toMd5(vd),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd,headers:pd},vd,[200,204],"",!1,ld)}getObjectRetention(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError('VersionID should be of type "string"')}else throw new InvalidArgumentError('callback should be of type "object"');if(ld&&!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let dd="retention";od.versionId&&(dd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},"",[200],"",!0,(pd,fd)=>{if(pd)return ld(pd);let md=Buffer$4.from("");pipesetup(fd,objectRetentionTransformer()).on("data",vd=>{md=vd}).on("error",ld).on("end",()=>{ld(null,md)})})}setBucketEncryption(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isFunction(nd)&&(od=nd,nd=null),!_.isEmpty(nd)&&nd.Rule.length>1)throw new InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+nd.Rule);if(od&&!isFunction(od))throw new TypeError('callback should be of type "function"');let ld=nd;_.isEmpty(nd)&&(ld={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let ud="PUT",dd="encryption",fd=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ld);const md={};md["Content-MD5"]=toMd5(fd),this.makeRequest({method:ud,bucketName:qa,query:dd,headers:md},fd,[200],"",!1,od)}getBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"encryption"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,bucketEncryptionTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}removeBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:qa,query:"encryption"},"",[204],"",!1,nd)}getObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),isObject(od)){if(Object.keys(od).length>0&&od.versionId&&!isString(od.versionId))throw new TypeError("versionId should be of type string.:",od.versionId)}else throw new TypeError('getOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let dd="legal-hold";od.versionId&&(dd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},"",[200],"",!0,(pd,fd)=>{if(pd)return ld(pd);let md=Buffer$4.from("");pipesetup(fd,objectLegalHoldTransformer()).on("data",vd=>{md=vd}).on("error",ld).on("end",()=>{ld(null,md)})})}setObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);const ud={status:LEGAL_HOLD_STATUS.ENABLED};if(isFunction(od)&&(ld=od,od=ud),isObject(od)){if(![LEGAL_HOLD_STATUS.ENABLED,LEGAL_HOLD_STATUS.DISABLED].includes(od.status))throw new TypeError("Invalid status: "+od.status);if(od.versionId&&!od.versionId.length)throw new TypeError("versionId should be of type string.:"+od.versionId)}else throw new TypeError('setOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');_.isEmpty(od)&&(od={defaultOpts:ud});const dd="PUT";let pd="legal-hold";od.versionId&&(pd+=`&versionId=${od.versionId}`);let fd={Status:od.status};const vd=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(fd),Ad={};Ad["Content-MD5"]=toMd5(vd),this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd,headers:Ad},vd,[200],"",!1,ld)}uploadPartCopy(qa,nd){const{bucketName:od,objectName:ld,uploadID:ud,partNumber:dd,headers:pd}=qa,fd="PUT";let md=`uploadId=${ud}&partNumber=${dd}`;const vd={method:fd,bucketName:od,objectName:ld,query:md,headers:pd};return this.makeRequest(vd,"",[200],"",!0,(Ad,Nd)=>{let Od=Buffer$4.from("");if(Ad)return nd(Ad);pipesetup(Nd,uploadPartTransformer()).on("data",kd=>{Od=kd}).on("error",nd).on("end",()=>{let kd={etag:sanitizeETag(Od.ETag),key:ld,part:dd};nd(null,kd)})})}composeObject(qa={},nd=[],od){const ld=this,ud=nd.length;if(!Array.isArray(nd))throw new InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(qa instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(ud<1||ud>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`"There must be as least one and up to ${PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');for(let Ad=0;Ad{let Nd={};return _.isEmpty(Ad.VersionID)||(Nd={versionId:Ad.VersionID}),Nd},pd=[];let fd=0,md=0;const vd=nd.map(Ad=>ld.statObject(Ad.Bucket,Ad.Object,dd(Ad)));return Promise.all(vd).then(Ad=>{const Nd=Ad.map((jd,Fd)=>{const Ud=nd[Fd];let qd=jd.size;if(Ud.MatchRange){const zd=Ud.Start,Wd=Ud.End;if(Wd>=qd||zd<0)throw new InvalidArgumentError(`CopySrcOptions ${Fd} has invalid segment-to-copy [${zd}, ${Wd}] (size is ${qd})`);qd=Wd-zd+1}if(qdPART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${fd} (> 5TiB)`);if(pd[Fd]=qd,md+=partsRequired(qd),md>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return jd});if(md===1&&fd<=PART_CONSTRAINTS.MAX_PART_SIZE||fd===0)return this.copyObject(nd[0],qa,od);for(let jd=0;jdcalculateEvenSplits(pd[Fd],nd[Fd]));function kd(jd){const Fd=[];return Od.forEach((Ud,qd)=>{const{startIndex:zd,endIndex:Wd,objInfo:Jd}=Ud;let _f=qd+1;const Xd=Array.from(zd),pf=nd[qd].getHeaders();Xd.forEach((mf,Sf)=>{let Tf=Wd[Sf];const Af=`${Jd.Bucket}/${Jd.Object}`;pf["x-amz-copy-source"]=`${Af}`,pf["x-amz-copy-source-range"]=`bytes=${mf}-${Tf}`;const Ef={bucketName:qa.Bucket,objectName:qa.Object,uploadID:jd,partNumber:_f,headers:pf,sourceObj:Af};Fd.push(Ef)})}),Fd}const Ld=jd=>{const Fd=kd(jd);index.map(Fd,ld.uploadPartCopy.bind(ld),(Ud,qd)=>{if(Ud){this.abortMultipartUpload(qa.Bucket,qa.Object,jd).then(()=>od(),Wd=>od(Wd));return}const zd=qd.map(Wd=>({etag:Wd.etag,part:Wd.part}));return ld.completeMultipartUpload(qa.Bucket,qa.Object,jd,zd,od)})},Gd=qa.getHeaders();ld.initiateNewMultipartUpload(qa.Bucket,qa.Object,Gd).then(jd=>{Ld(jd)},jd=>{od(jd,null)})}).catch(Ad=>{od(Ad,null)})}selectObjectContent(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(_.isEmpty(od))throw new TypeError("valid select configuration is required");if(!isString(od.expression))throw new TypeError('sqlExpression should be of type "string"');if(_.isEmpty(od.inputSerialization))throw new TypeError("inputSerialization is required");if(!isObject(od.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(_.isEmpty(od.outputSerialization))throw new TypeError("outputSerialization is required");if(!isObject(od.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="POST";let dd="select";dd+="&select-type=2";const pd=[{Expression:od.expression},{ExpressionType:od.expressionType||"SQL"},{InputSerialization:[od.inputSerialization]},{OutputSerialization:[od.outputSerialization]}];od.requestProgress&&pd.push({RequestProgress:od.requestProgress}),od.scanRange&&pd.push({ScanRange:od.scanRange});const md=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(pd);this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},md,[200],"",!0,(vd,Ad)=>{if(vd)return ld(vd);let Nd;pipesetup(Ad,selectObjectContentTransformer()).on("data",Od=>{Nd=parseSelectObjectContentResponse(Od)}).on("error",ld).on("end",()=>{ld(null,Nd)})})}}Client.prototype.makeBucket=promisify(Client.prototype.makeBucket);Client.prototype.bucketExists=promisify(Client.prototype.bucketExists);Client.prototype.getObject=promisify(Client.prototype.getObject);Client.prototype.getPartialObject=promisify(Client.prototype.getPartialObject);Client.prototype.fGetObject=promisify(Client.prototype.fGetObject);Client.prototype.putObject=promisify(Client.prototype.putObject);Client.prototype.fPutObject=promisify(Client.prototype.fPutObject);Client.prototype.copyObject=promisify(Client.prototype.copyObject);Client.prototype.removeObjects=promisify(Client.prototype.removeObjects);Client.prototype.presignedUrl=promisify(Client.prototype.presignedUrl);Client.prototype.presignedGetObject=promisify(Client.prototype.presignedGetObject);Client.prototype.presignedPutObject=promisify(Client.prototype.presignedPutObject);Client.prototype.presignedPostPolicy=promisify(Client.prototype.presignedPostPolicy);Client.prototype.getBucketNotification=promisify(Client.prototype.getBucketNotification);Client.prototype.setBucketNotification=promisify(Client.prototype.setBucketNotification);Client.prototype.removeAllBucketNotification=promisify(Client.prototype.removeAllBucketNotification);Client.prototype.getBucketPolicy=promisify(Client.prototype.getBucketPolicy);Client.prototype.setBucketPolicy=promisify(Client.prototype.setBucketPolicy);Client.prototype.removeIncompleteUpload=promisify(Client.prototype.removeIncompleteUpload);Client.prototype.getBucketVersioning=promisify(Client.prototype.getBucketVersioning);Client.prototype.setBucketVersioning=promisify(Client.prototype.setBucketVersioning);Client.prototype.setBucketTagging=promisify(Client.prototype.setBucketTagging);Client.prototype.removeBucketTagging=promisify(Client.prototype.removeBucketTagging);Client.prototype.getBucketTagging=promisify(Client.prototype.getBucketTagging);Client.prototype.setObjectTagging=promisify(Client.prototype.setObjectTagging);Client.prototype.removeObjectTagging=promisify(Client.prototype.removeObjectTagging);Client.prototype.getObjectTagging=promisify(Client.prototype.getObjectTagging);Client.prototype.setBucketLifecycle=promisify(Client.prototype.setBucketLifecycle);Client.prototype.getBucketLifecycle=promisify(Client.prototype.getBucketLifecycle);Client.prototype.removeBucketLifecycle=promisify(Client.prototype.removeBucketLifecycle);Client.prototype.setObjectLockConfig=promisify(Client.prototype.setObjectLockConfig);Client.prototype.getObjectLockConfig=promisify(Client.prototype.getObjectLockConfig);Client.prototype.putObjectRetention=promisify(Client.prototype.putObjectRetention);Client.prototype.getObjectRetention=promisify(Client.prototype.getObjectRetention);Client.prototype.setBucketEncryption=promisify(Client.prototype.setBucketEncryption);Client.prototype.getBucketEncryption=promisify(Client.prototype.getBucketEncryption);Client.prototype.removeBucketEncryption=promisify(Client.prototype.removeBucketEncryption);Client.prototype.setObjectLegalHold=promisify(Client.prototype.setObjectLegalHold);Client.prototype.getObjectLegalHold=promisify(Client.prototype.getObjectLegalHold);Client.prototype.composeObject=promisify(Client.prototype.composeObject);Client.prototype.selectObjectContent=promisify(Client.prototype.selectObjectContent);Client.prototype.removeObject=callbackify(Client.prototype.removeObject);Client.prototype.statObject=callbackify(Client.prototype.statObject);Client.prototype.removeBucket=callbackify(Client.prototype.removeBucket);Client.prototype.listBuckets=callbackify(Client.prototype.listBuckets);Client.prototype.removeBucketReplication=callbackify(Client.prototype.removeBucketReplication);Client.prototype.setBucketReplication=callbackify(Client.prototype.setBucketReplication);Client.prototype.getBucketReplication=callbackify(Client.prototype.getBucketReplication);var __extends$3=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),QiniuErrorName;(function(Ra){Ra.InvalidFile="InvalidFile",Ra.InvalidToken="InvalidToken",Ra.InvalidMetadata="InvalidMetadata",Ra.InvalidChunkSize="InvalidChunkSize",Ra.InvalidCustomVars="InvalidCustomVars",Ra.NotAvailableUploadHost="NotAvailableUploadHost",Ra.ReadCacheFailed="ReadCacheFailed",Ra.InvalidCacheData="InvalidCacheData",Ra.WriteCacheFailed="WriteCacheFailed",Ra.RemoveCacheFailed="RemoveCacheFailed",Ra.GetCanvasContextFailed="GetCanvasContextFailed",Ra.UnsupportedFileType="UnsupportedFileType",Ra.FileReaderReadFailed="FileReaderReadFailed",Ra.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",Ra.InvalidProgressEventTarget="InvalidProgressEventTarget",Ra.RequestError="RequestError"})(QiniuErrorName||(QiniuErrorName={}));var QiniuError=function(){function Ra(qa,nd){this.name=qa,this.message=nd,this.stack=new Error().stack}return Ra}(),QiniuRequestError=function(Ra){__extends$3(qa,Ra);function qa(nd,od,ld,ud){var dd=Ra.call(this,QiniuErrorName.RequestError,ld)||this;return dd.code=nd,dd.reqId=od,dd.isRequestError=!0,dd.data=ud,dd}return qa}(QiniuError),QiniuNetworkError=function(Ra){__extends$3(qa,Ra);function qa(nd,od){return od===void 0&&(od=""),Ra.call(this,0,od,nd)||this}return qa}(QiniuRequestError),Pool=function(){function Ra(qa,nd){this.runTask=qa,this.limit=nd,this.aborted=!1,this.queue=[],this.processing=[]}return Ra.prototype.enqueue=function(qa){var nd=this;return new Promise(function(od,ld){nd.queue.push({task:qa,resolve:od,reject:ld}),nd.check()})},Ra.prototype.run=function(qa){var nd=this;this.queue=this.queue.filter(function(od){return od!==qa}),this.processing.push(qa),this.runTask(qa.task).then(function(){nd.processing=nd.processing.filter(function(od){return od!==qa}),qa.resolve(),nd.check()},function(od){return qa.reject(od)})},Ra.prototype.check=function(){var qa=this;if(!this.aborted){var nd=this.processing.length,od=this.limit-nd;this.queue.slice(0,od).forEach(function(ld){qa.run(ld)})}},Ra.prototype.abort=function(){this.queue=[],this.aborted=!0},Ra}(),__extends$2=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$6=function(){return __assign$6=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd"u")return"";var qa=Ra+"",nd="",od,ld,ud=0;od=ld=0,ud=qa.length;for(var dd=0;dd127&&pd<2048)fd=String.fromCharCode(pd>>6|192,pd&63|128);else if((pd&63488^55296)>0)fd=String.fromCharCode(pd>>12|224,pd>>6&63|128,pd&63|128);else{if((pd&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+dd);var md=qa.charCodeAt(++dd);if((md&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(dd-1));pd=((pd&1023)<<10)+(md&1023)+65536,fd=String.fromCharCode(pd>>18|240,pd>>12&63|128,pd>>6&63|128,pd&63|128)}fd!==null&&(ld>od&&(nd+=qa.slice(od,ld)),nd+=fd,od=ld=dd+1)}return ld>od&&(nd+=qa.slice(od,ud)),nd}function utf8Decode(Ra){var qa=[],nd=0,od=0,ld=0;for(Ra+="";nd>10&1023)),qa.push(String.fromCharCode(56320|od&1023))):qa.push(String.fromCharCode(od)),nd+=ld}return qa.join("")}function base64Encode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,dd,pd,fd,md,vd=0,Ad=0,Nd="",Od=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do nd=Ra.charCodeAt(vd++),od=Ra.charCodeAt(vd++),ld=Ra.charCodeAt(vd++),md=nd<<16|od<<8|ld,ud=md>>18&63,dd=md>>12&63,pd=md>>6&63,fd=md&63,Od[Ad++]=qa.charAt(ud)+qa.charAt(dd)+qa.charAt(pd)+qa.charAt(fd);while(vd>16&255,od=md>>8&255,ld=md&255,pd===64?Od[Ad++]=String.fromCharCode(nd):fd===64?Od[Ad++]=String.fromCharCode(nd,od):Od[Ad++]=String.fromCharCode(nd,od,ld);while(vd>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[1]-389564586|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[2]+606105819|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[3]-1044525330|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[4]-176418897|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[5]+1200080426|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[6]-1473231341|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[7]-45705983|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[8]+1770035416|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[9]-1958414417|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[10]-42063|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[11]-1990404162|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[12]+1804603682|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[13]-40341101|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[14]-1502002290|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[15]+1236535329|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[1]-165796510|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[6]-1069501632|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[11]+643717713|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[0]-373897302|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[5]-701558691|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[10]+38016083|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[15]-660478335|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[4]-405537848|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[9]+568446438|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[14]-1019803690|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[3]-187363961|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[8]+1163531501|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[13]-1444681467|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[2]-51403784|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[7]+1735328473|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[12]-1926607734|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd^zd^Wd)+Fd[5]-378558|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[8]-2022574463|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[11]+1839030562|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[14]-35309556|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[1]-1530992060|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[4]+1272893353|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[7]-155497632|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[10]-1094730640|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[13]+681279174|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[0]-358537222|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[3]-722521979|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[6]+76029189|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[9]-640364487|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[12]-421815835|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[15]+530742520|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[2]-995338651|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[0]-198630844|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[7]+1126891415|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[14]-1416354905|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[5]-57434055|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[12]+1700485571|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[3]-1894986606|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[10]-1051523|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[1]-2054922799|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[8]+1873313359|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[15]-30611744|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[6]-1560198380|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[13]+1309151649|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[4]-145523070|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[11]-1120210379|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[2]+718787259|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[9]-343485551|0,qd=(qd<<21|qd>>>11)+zd|0,jd[0]=Ud+jd[0]|0,jd[1]=qd+jd[1]|0,jd[2]=zd+jd[2]|0,jd[3]=Wd+jd[3]|0}function ud(jd){var Fd=[],Ud;for(Ud=0;Ud<64;Ud+=4)Fd[Ud>>2]=jd.charCodeAt(Ud)+(jd.charCodeAt(Ud+1)<<8)+(jd.charCodeAt(Ud+2)<<16)+(jd.charCodeAt(Ud+3)<<24);return Fd}function dd(jd){var Fd=[],Ud;for(Ud=0;Ud<64;Ud+=4)Fd[Ud>>2]=jd[Ud]+(jd[Ud+1]<<8)+(jd[Ud+2]<<16)+(jd[Ud+3]<<24);return Fd}function pd(jd){var Fd=jd.length,Ud=[1732584193,-271733879,-1732584194,271733878],qd,zd,Wd,Jd,_f,Xd;for(qd=64;qd<=Fd;qd+=64)ld(Ud,ud(jd.substring(qd-64,qd)));for(jd=jd.substring(qd-64),zd=jd.length,Wd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],qd=0;qd>2]|=jd.charCodeAt(qd)<<(qd%4<<3);if(Wd[qd>>2]|=128<<(qd%4<<3),qd>55)for(ld(Ud,Wd),qd=0;qd<16;qd+=1)Wd[qd]=0;return Jd=Fd*8,Jd=Jd.toString(16).match(/(.*?)(.{0,8})$/),_f=parseInt(Jd[2],16),Xd=parseInt(Jd[1],16)||0,Wd[14]=_f,Wd[15]=Xd,ld(Ud,Wd),Ud}function fd(jd){var Fd=jd.length,Ud=[1732584193,-271733879,-1732584194,271733878],qd,zd,Wd,Jd,_f,Xd;for(qd=64;qd<=Fd;qd+=64)ld(Ud,dd(jd.subarray(qd-64,qd)));for(jd=qd-64>2]|=jd[qd]<<(qd%4<<3);if(Wd[qd>>2]|=128<<(qd%4<<3),qd>55)for(ld(Ud,Wd),qd=0;qd<16;qd+=1)Wd[qd]=0;return Jd=Fd*8,Jd=Jd.toString(16).match(/(.*?)(.{0,8})$/),_f=parseInt(Jd[2],16),Xd=parseInt(Jd[1],16)||0,Wd[14]=_f,Wd[15]=Xd,ld(Ud,Wd),Ud}function md(jd){var Fd="",Ud;for(Ud=0;Ud<4;Ud+=1)Fd+=od[jd>>Ud*8+4&15]+od[jd>>Ud*8&15];return Fd}function vd(jd){var Fd;for(Fd=0;FdWd?new ArrayBuffer(0):(Jd=Wd-zd,_f=new ArrayBuffer(Jd),Xd=new Uint8Array(_f),pf=new Uint8Array(this,zd,Jd),Xd.set(pf),_f)}}();function Ad(jd){return/[\u0080-\uFFFF]/.test(jd)&&(jd=unescape(encodeURIComponent(jd))),jd}function Nd(jd,Fd){var Ud=jd.length,qd=new ArrayBuffer(Ud),zd=new Uint8Array(qd),Wd;for(Wd=0;Wd>2]|=Fd.charCodeAt(qd)<<(qd%4<<3);return this._finish(zd,Ud),Wd=vd(this._hash),jd&&(Wd=Ld(Wd)),this.reset(),Wd},Gd.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Gd.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Gd.prototype.setState=function(jd){return this._buff=jd.buff,this._length=jd.length,this._hash=jd.hash,this},Gd.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Gd.prototype._finish=function(jd,Fd){var Ud=Fd,qd,zd,Wd;if(jd[Ud>>2]|=128<<(Ud%4<<3),Ud>55)for(ld(this._hash,jd),Ud=0;Ud<16;Ud+=1)jd[Ud]=0;qd=this._length*8,qd=qd.toString(16).match(/(.*?)(.{0,8})$/),zd=parseInt(qd[2],16),Wd=parseInt(qd[1],16)||0,jd[14]=zd,jd[15]=Wd,ld(this._hash,jd)},Gd.hash=function(jd,Fd){return Gd.hashBinary(Ad(jd),Fd)},Gd.hashBinary=function(jd,Fd){var Ud=pd(jd),qd=vd(Ud);return Fd?Ld(qd):qd},Gd.ArrayBuffer=function(){this.reset()},Gd.ArrayBuffer.prototype.append=function(jd){var Fd=kd(this._buff.buffer,jd),Ud=Fd.length,qd;for(this._length+=jd.byteLength,qd=64;qd<=Ud;qd+=64)ld(this._hash,dd(Fd.subarray(qd-64,qd)));return this._buff=qd-64>2]|=Fd[zd]<<(zd%4<<3);return this._finish(qd,Ud),Wd=vd(this._hash),jd&&(Wd=Ld(Wd)),this.reset(),Wd},Gd.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Gd.ArrayBuffer.prototype.getState=function(){var jd=Gd.prototype.getState.call(this);return jd.buff=Od(jd.buff),jd},Gd.ArrayBuffer.prototype.setState=function(jd){return jd.buff=Nd(jd.buff,!0),Gd.prototype.setState.call(this,jd)},Gd.ArrayBuffer.prototype.destroy=Gd.prototype.destroy,Gd.ArrayBuffer.prototype._finish=Gd.prototype._finish,Gd.ArrayBuffer.hash=function(jd,Fd){var Ud=fd(new Uint8Array(jd)),qd=vd(Ud);return Fd?Ld(qd):qd},Gd})})(sparkMd5);var sparkMd5Exports=sparkMd5.exports;const SparkMD5=getDefaultExportFromCjs(sparkMd5Exports);var __assign$5=function(){return __assign$5=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]Ra.size)nd=Ra.size;else for(;Ra.size>nd*1e4;)nd*=2;for(var od=[],ld=Math.ceil(Ra.size/nd),ud=0;ud3?qa[1]:qa[0];if(!nd)throw new QiniuError(QiniuErrorName.InvalidToken,"missing assess key field.");var od=null;try{od=JSON.parse(urlSafeBase64Decode(qa[qa.length-1]))}catch{throw new QiniuError(QiniuErrorName.InvalidToken,"token parse failed.")}if(od==null)throw new QiniuError(QiniuErrorName.InvalidToken,"putPolicy is null.");if(od.scope==null)throw new QiniuError(QiniuErrorName.InvalidToken,"scope field is null.");var ld=od.scope.split(":")[0];if(!ld)throw new QiniuError(QiniuErrorName.InvalidToken,"resolve bucketName failed.");return{assessKey:nd,bucketName:ld,scope:od.scope}}function createObjectURL(Ra){var qa=window.URL||window.webkitURL||window.mozURL;return qa.createObjectURL(Ra)}var _a,region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},regionUphostMap=(_a={},_a[region.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_a[region.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_a[region.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_a[region.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_a[region.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_a[region.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_a),stringifyPrimitive=function(Ra){switch(typeof Ra){case"string":return Ra;case"boolean":return Ra?"true":"false";case"number":return isFinite(Ra)?Ra:"";default:return""}},encode=function(Ra,qa,nd,od){return qa=qa||"&",nd=nd||"=",Ra===null&&(Ra=void 0),typeof Ra=="object"?Object.keys(Ra).map(function(ld){var ud=encodeURIComponent(stringifyPrimitive(ld))+nd;return Array.isArray(Ra[ld])?Ra[ld].map(function(dd){return ud+encodeURIComponent(stringifyPrimitive(dd))}).join(qa):ud+encodeURIComponent(stringifyPrimitive(Ra[ld]))}).filter(Boolean).join(qa):od?encodeURIComponent(stringifyPrimitive(od))+nd+encodeURIComponent(stringifyPrimitive(Ra)):""},stringify;stringify=encode;var __assign$4=function(){return __assign$4=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]0?[2,od+"://"+nd.uphost[0]]:(ld=getPutPolicy(qa),[4,getUpHosts(ld.assessKey,ld.bucketName,od)]);case 1:return ud=pd.sent(),dd=ud.data.up.acc.main,[2,od+"://"+dd[0]]}})})}var __assign$3=function(){return __assign$3=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$3=function(){for(var Ra=[],qa=0;qa1e4*GB)return this.handleError(new QiniuError(QiniuErrorName.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!isCustomVarsValid(this.putExtra.customVars))return this.handleError(new QiniuError(QiniuErrorName.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!isMetaDataValid(this.putExtra.metadata))return this.handleError(new QiniuError(QiniuErrorName.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];ud.label=1;case 1:return ud.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return ud.sent(),[4,this.run()];case 3:return qa=ud.sent(),this.onComplete(qa.data),this.checkAndUnfreezeHost(),this.sendLog(qa.reqId,200),[2];case 4:return nd=ud.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(nd),nd instanceof QiniuRequestError&&(this.sendLog(nd.reqId,nd.code),this.checkAndFreezeHost(nd),od=++this.retryCount<=this.config.retryCount,ld=RETRY_CODE_LIST.includes(nd.code),ld&&od)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(nd),[3,5]));case 5:return[2]}})})},Ra.prototype.clear=function(){this.xhrList.forEach(function(qa){qa.onreadystatechange=null,qa.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},Ra.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},Ra.prototype.addXhr=function(qa){this.xhrList.push(qa)},Ra.prototype.sendLog=function(qa,nd){var od,ld;this.logger.report({code:nd,reqId:qa,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:getPortFromUrl((od=this.uploadHost)===null||od===void 0?void 0:od.getUrl()),host:getDomainFromUrl((ld=this.uploadHost)===null||ld===void 0?void 0:ld.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},Ra.prototype.getProgressInfoItem=function(qa,nd,od){return __assign$3({size:nd,loaded:qa,percent:qa/nd*100},od==null?{}:{fromCache:od})},Ra}(),__extends$1=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$2=function(){return __assign$2=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]1024)throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:fd.sent(),nd=new Pool(function(md){return __awaiter$4(pd,void 0,void 0,function(){return __generator$4(this,function(vd){switch(vd.label){case 0:if(this.aborted)throw nd.abort(),new Error("pool is aborted");return[4,this.uploadChunk(md)];case 1:return vd.sent(),[2]}})})},this.config.concurrentRequestLimit),od=null,ld=this.getLocalKey(),ud=this.chunks.map(function(md,vd){return nd.enqueue({chunk:md,index:vd})}),fd.label=2;case 2:return fd.trys.push([2,5,,6]),[4,Promise.all(ud)];case 3:return fd.sent(),[4,this.mkFileReq()];case 4:return od=fd.sent(),[3,6];case 5:throw dd=fd.sent(),dd instanceof QiniuRequestError&&(dd.code===612||dd.code===400)&&removeLocalFileInfo(ld,this.logger),dd;case 6:return removeLocalFileInfo(ld,this.logger),[2,od]}})})},qa.prototype.uploadChunk=function(nd){return __awaiter$4(this,void 0,void 0,function(){var od,ld,ud,dd,pd,fd,md,vd,Ad,Nd=this;return __generator$4(this,function(Od){switch(Od.label){case 0:return od=nd.index,ld=nd.chunk,ud=this.cachedUploadedList[od],this.logger.info("upload part "+od+", cache:",ud),dd=this.config.checkByMD5,pd=function(){Nd.usedCacheList[od]=!0,Nd.updateChunkProgress(ld.size,od),Nd.uploadedList[od]=ud,Nd.updateLocalCache()},ud&&!dd?(pd(),[2]):[4,computeMd5(ld)];case 1:return fd=Od.sent(),this.logger.info("computed part md5.",fd),ud&&fd===ud.md5?(pd(),[2]):(this.usedCacheList[od]=!1,md=function(kd){Nd.updateChunkProgress(kd.loaded,od)},vd={body:ld,md5:this.config.checkByServer?fd:void 0,onProgress:md,onCreate:function(kd){return Nd.addXhr(kd)}},this.logger.info("part "+od+" start uploading."),[4,uploadChunk(this.token,this.key,nd.index+1,this.getUploadInfo(),vd)]);case 2:return Ad=Od.sent(),this.logger.info("part "+od+" upload completed."),md({loaded:ld.size,total:ld.size}),this.uploadedList[od]={etag:Ad.data.etag,md5:Ad.data.md5,size:ld.size},this.updateLocalCache(),[2]}})})},qa.prototype.mkFileReq=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld=this;return __generator$4(this,function(ud){switch(ud.label){case 0:return nd=__assign$2(__assign$2(__assign$2({parts:this.uploadedList.map(function(dd,pd){return{etag:dd.etag,partNumber:pd+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",nd),[4,uploadComplete(this.token,this.key,this.getUploadInfo(),{onCreate:function(dd){return ld.addXhr(dd)},body:JSON.stringify(nd)})];case 1:return od=ud.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,od]}})})},qa.prototype.initBeforeUploadChunks=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld;return __generator$4(this,function(ud){switch(ud.label){case 0:return this.uploadedList=[],this.usedCacheList=[],nd=getLocalFileInfo(this.getLocalKey(),this.logger),nd?[3,2]:(this.logger.info("init upload parts from api."),[4,initUploadParts(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return od=ud.sent(),this.logger.info("initd upload parts of id: "+od.data.uploadId+"."),this.uploadId=od.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:ld=["resume upload parts from local cache,","total "+nd.data.length+" part,","id is "+nd.id+"."],this.logger.info(ld.join(" ")),this.cachedUploadedList=nd.data,this.uploadId=nd.id,ud.label=3;case 3:return this.chunks=getChunks(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(dd){return 0})},this.notifyResumeProgress(),[2]}})})},qa.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},qa.prototype.getLocalKey=function(){return createLocalKey(this.file.name,this.key,this.file.size)},qa.prototype.updateLocalCache=function(){setLocalFileInfo(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},qa.prototype.updateChunkProgress=function(nd,od){this.loaded.chunks[od]=nd,this.notifyResumeProgress()},qa.prototype.updateMkFileProgress=function(nd){this.loaded.mkFileProgress=nd,this.notifyResumeProgress()},qa.prototype.notifyResumeProgress=function(){var nd=this;this.progress={total:this.getProgressInfoItem(sum(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(od,ld){var ud=nd.usedCacheList[ld];return nd.getProgressInfoItem(nd.loaded.chunks[ld],od.size,ud)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},qa}(Base),__awaiter$3=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$3=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]>>1^3988292384:od>>>=1;qa[nd]=od}return qa},Ra.prototype.append=function(qa){for(var nd=this.crc,od=0;od>>8^this.table[(nd^qa[od])&255];this.crc=nd},Ra.prototype.compute=function(){return(this.crc^-1)>>>0},Ra.prototype.readAsUint8Array=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd;return __generator$3(this,function(od){switch(od.label){case 0:return typeof qa.arrayBuffer!="function"?[3,2]:(nd=Uint8Array.bind,[4,qa.arrayBuffer()]);case 1:return[2,new(nd.apply(Uint8Array,[void 0,od.sent()]))];case 2:return[2,new Promise(function(ld,ud){var dd=new FileReader;dd.onload=function(){if(dd.result==null){ud();return}if(typeof dd.result=="string"){ud();return}ld(new Uint8Array(dd.result))},dd.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd,od,ld,ud,dd,pd;return __generator$3(this,function(fd){switch(fd.label){case 0:return qa.size<=MB?(nd=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return nd.apply(this,[fd.sent()]),[2,this.compute()];case 2:od=Math.ceil(qa.size/MB),ld=0,fd.label=3;case 3:return ld0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]0&&reportV3(Ra,qa,nd-1)};var ld=[qa.code||"",qa.reqId||"",qa.host||"",qa.remoteIp||"",qa.port||"",qa.duration||"",qa.time||"",qa.bytesSent||"",qa.upType||"",qa.size||""].join(",");od.send(ld)}var __read$2=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$2=function(){for(var Ra=[],qa=0;qa0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$1=function(){for(var Ra=[],qa=0;qa=qa},Ra.prototype.freeze=function(qa){qa===void 0&&(qa=20);var nd=new Date().getTime()+qa*1e3;unfreezeTimeMap.set(this.host,nd)},Ra.prototype.unfreeze=function(){unfreezeTimeMap.delete(this.host)},Ra.prototype.getUrl=function(){return this.protocol+"://"+this.host},Ra.prototype.getUnfreezeTime=function(){return unfreezeTimeMap.get(this.host)},Ra}(),HostPool=function(){function Ra(qa){qa===void 0&&(qa=[]),this.initHosts=qa,this.cachedHostsMap=new Map}return Ra.prototype.register=function(qa,nd,od,ld){this.cachedHostsMap.set(qa+"@"+nd,od.map(function(ud){return new Host(ud,ld)}))},Ra.prototype.refresh=function(qa,nd,od){var ld,ud,dd,pd;return __awaiter$1(this,void 0,void 0,function(){var fd,md,vd;return __generator$1(this,function(Ad){switch(Ad.label){case 0:return fd=this.cachedHostsMap.get(qa+"@"+nd)||[],fd.length>0?[2]:this.initHosts.length>0?(this.register(qa,nd,this.initHosts,od),[2]):[4,getUpHosts(qa,nd,od)];case 1:return md=Ad.sent(),(md==null?void 0:md.data)!=null&&(vd=__spread$1(((ud=(ld=md.data.up)===null||ld===void 0?void 0:ld.acc)===null||ud===void 0?void 0:ud.main)||[],((pd=(dd=md.data.up)===null||dd===void 0?void 0:dd.acc)===null||pd===void 0?void 0:pd.backup)||[]),this.register(qa,nd,vd,od)),[2]}})})},Ra.prototype.getUp=function(qa,nd,od){return __awaiter$1(this,void 0,void 0,function(){var ld,ud,dd;return __generator$1(this,function(pd){switch(pd.label){case 0:return[4,this.refresh(qa,nd,od)];case 1:return pd.sent(),ld=this.cachedHostsMap.get(qa+"@"+nd)||[],ld.length===0?[2,null]:(ud=ld.filter(function(fd){return!fd.isFrozen()}),ud.length>0?[2,ud[0]]:(dd=ld.slice().sort(function(fd,md){return(fd.getUnfreezeTime()||0)-(md.getUnfreezeTime()||0)}),[2,dd[0]]))}})})},Ra}();function createUploadManager(Ra,qa,nd,od){return Ra.config&&Ra.config.forceDirect?(od.info("ues forceDirect mode."),new Direct(Ra,qa,nd,od)):Ra.file.size>4*MB?(od.info("file size over 4M, use Resume."),new Resume(Ra,qa,nd,od)):(od.info("file size less or equal than 4M, use Direct."),new Direct(Ra,qa,nd,od))}function upload(Ra,qa,nd,od,ld){var ud=new Logger(nd,ld==null?void 0:ld.disableStatisticsReport,ld==null?void 0:ld.debugLogLevel,Ra.name),dd={file:Ra,key:qa,token:nd,putExtra:od,config:normalizeUploadConfig(ld,ud)},pd=new HostPool(dd.config.uphost);return new Observable(function(fd){var md=createUploadManager(dd,{onData:function(vd){return fd.next(vd)},onError:function(vd){return fd.error(vd)},onComplete:function(vd){return fd.complete(vd)}},pd,ud);return md.putFile(),md.stop.bind(md)})}var __assign$1=function(){return __assign$1=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread=function(){for(var Ra=[],qa=0;qa0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:dd,width:ud.width,height:ud.height}]}})})},Ra.prototype.clear=function(qa,nd,od){this.outputType===defaultType?(qa.fillStyle="#fff",qa.fillRect(0,0,nd,od)):qa.clearRect(0,0,nd,od)},Ra.prototype.getOriginImage=function(){var qa=this;return new Promise(function(nd,od){var ld=createObjectURL(qa.file),ud=new Image;ud.onload=function(){nd(ud)},ud.onerror=function(){od("image load error")},ud.src=ld})},Ra.prototype.getCanvas=function(qa){var nd=this;return new Promise(function(od,ld){var ud=document.createElement("canvas"),dd=ud.getContext("2d");if(!dd){ld(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var pd=qa.width,fd=qa.height;ud.height=fd,ud.width=pd,nd.clear(dd,pd,fd),dd.drawImage(qa,0,0),od(ud)})},Ra.prototype.doScale=function(qa,nd){return __awaiter(this,void 0,void 0,function(){var od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od,kd,Ld,Gd,jd,Fd;return __generator(this,function(Ud){if(nd===1)return[2,qa];if(od=qa.getContext("2d"),ld=Math.min(maxSteps,Math.ceil(1/nd/scaleFactor)),ud=Math.pow(nd,1/ld),dd=document.createElement("canvas"),pd=dd.getContext("2d"),fd=qa.width,md=qa.height,vd=fd,Ad=md,dd.width=fd,dd.height=md,!pd||!od)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(kd=0;kd{if(!isNumber(dd))throw new TypeError('statusCode should be of type "number"')}),!isString(ld))throw new TypeError('region should be of type "string"');qa.headers||(qa.headers={}),(qa.method==="POST"||qa.method==="PUT"||qa.method==="DELETE")&&(qa.headers["content-length"]=nd.length.toString());const ud=this.enableSHA256?toSha256(nd):"";return this.makeRequestStreamAsync(qa,nd,ud,od,ld)}async makeRequestAsyncOmit(qa,nd="",od=[200],ld=""){const ud=await this.makeRequestAsync(qa,nd,od,ld);return await drainResponse(ud),ud}async makeRequestStreamAsync(qa,nd,od,ld,ud){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!(Buffer$4.isBuffer(nd)||typeof nd=="string"||isReadableStream(nd)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof nd} instead`);if(!isString(od))throw new TypeError('sha256sum should be of type "string"');if(ld.forEach(fd=>{if(!isNumber(fd))throw new TypeError('statusCode should be of type "number"')}),!isString(ud))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&od.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&od.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${od}`);await this.checkAndRefreshCreds(),ud=ud||await this.getBucketRegionAsync(qa.bucketName);const dd=this.getRequestOptions({...qa,region:ud});if(!this.anonymous){this.enableSHA256||(od="UNSIGNED-PAYLOAD");const fd=new Date;dd.headers["x-amz-date"]=makeDateLong(fd),dd.headers["x-amz-content-sha256"]=od,this.sessionToken&&(dd.headers["x-amz-security-token"]=this.sessionToken),dd.headers.authorization=signV4(dd,this.accessKey,this.secretKey,ud,fd,od)}const pd=await request$1(this.transport,dd,nd);if(!pd.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!ld.includes(pd.statusCode)){delete this.regionMap[qa.bucketName];const fd=await parseResponseError(pd);throw this.logHTTP(dd,pd,fd),fd}return this.logHTTP(dd,pd),pd}async getBucketRegionAsync(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);if(this.region)return this.region;const nd=this.regionMap[qa];if(nd)return nd;const od=async md=>{const vd=await readAsString(md),Ad=parseBucketRegion(vd)||DEFAULT_REGION;return this.regionMap[qa]=Ad,Ad},ld="GET",ud="location",dd=this.pathStyle&&!isBrowser_1;let pd;try{const md=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:dd},"",[200],DEFAULT_REGION);return od(md)}catch(md){if(md.name!=="AuthorizationHeaderMalformed"||(pd=md.Region,!pd))throw md}const fd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:dd},"",[200],pd);return await od(fd)}makeRequest(qa,nd="",od=[200],ld="",ud,dd){let pd;ud?pd=this.makeRequestAsync(qa,nd,od,ld):pd=this.makeRequestAsyncOmit(qa,nd,od,ld),pd.then(fd=>dd(null,fd),fd=>{dd(fd)})}makeRequestStream(qa,nd,od,ld,ud,dd,pd){(async()=>{const md=await this.makeRequestStreamAsync(qa,nd,od,ld,ud);return dd||await drainResponse(md),md})().then(md=>pd(null,md),md=>pd(md))}getBucketRegion(qa,nd){return this.getBucketRegionAsync(qa).then(od=>nd(null,od),od=>nd(od))}async removeBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa},"",[204]),delete this.regionMap[qa]}async statObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('statOpts should be of type "object"');const ld=queryString.stringify(od),dd=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:nd,query:ld});return{size:parseInt(dd.headers["content-length"]),metaData:extractMetadata(dd.headers),lastModified:new Date(dd.headers["last-modified"]),versionId:getVersionId(dd.headers),etag:sanitizeETag(dd.headers.etag)}}async removeObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');const ld="DELETE",ud={};od.governanceBypass&&(ud["X-Amz-Bypass-Governance-Retention"]=!0),od.forceDelete&&(ud["x-minio-force-delete"]=!0);const dd={};od.versionId&&(dd.versionId=`${od.versionId}`);const pd=queryString.stringify(dd);await this.makeRequestAsyncOmit({method:ld,bucketName:qa,objectName:nd,headers:ud,query:pd},"",[200,204])}async initiateNewMultipartUpload(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidObjectNameError('contentType should be of type "object"');const dd=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:nd,query:"uploads",headers:od}),pd=await readAsBuffer(dd);return parseInitiateMultipart(pd.toString())}async abortMultipartUpload(qa,nd,od){const ld="DELETE",ud=`uploadId=${od}`,dd={method:ld,bucketName:qa,objectName:nd,query:ud};await this.makeRequestAsyncOmit(dd,"",[204])}async listParts(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");const ld=[];let ud=0,dd;do dd=await this.listPartsQuery(qa,nd,od,ud),ud=dd.marker,ld.push(...dd.parts);while(dd.isTruncated);return ld}async listPartsQuery(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isNumber(ld))throw new TypeError('marker should be of type "number"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");let ud=`uploadId=${uriEscape(od)}`;ld&&(ud+=`&part-number-marker=${ld}`);const pd=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:nd,query:ud});return parseListParts(await readAsString(pd))}async listBuckets(){const nd=await this.makeRequestAsync({method:"GET"},"",[200],DEFAULT_REGION),od=await readAsString(nd);return parseListBucket(od)}async removeBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa,query:"replication"},"",[200,204],"")}async setBucketReplication(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)){if(_.isEmpty(nd.role))throw new InvalidArgumentError("Role cannot be empty");if(nd.role&&!isString(nd.role))throw new InvalidArgumentError("Invalid value for role",nd.role);if(_.isEmpty(nd.rules))throw new InvalidArgumentError("Minimum one replication rule must be specified")}else throw new InvalidArgumentError('replicationConfig should be of type "object"');const od="PUT",ld="replication",ud={},dd={ReplicationConfiguration:{Role:nd.role,Rule:nd.rules}},fd=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(dd);ud["Content-MD5"]=toMd5(fd),await this.makeRequestAsyncOmit({method:od,bucketName:qa,query:ld,headers:ud},fd)}async getBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ld=await this.makeRequestAsync({method:"GET",bucketName:qa,query:"replication"},"",[200,204]),ud=await readAsString(ld);return parseReplicationConfig(ud)}}class CopyConditions{constructor(){kg(this,"modified","");kg(this,"unmodified","");kg(this,"matchETag","");kg(this,"matchETagExcept","")}setModified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.modified=qa.toUTCString()}setUnmodified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=qa.toUTCString()}setMatchETag(qa){this.matchETag=qa}setMatchETagExcept(qa){this.matchETagExcept=qa}}class PostPolicy{constructor(){kg(this,"policy",{conditions:[]});kg(this,"formData",{})}setExpires(qa){if(!qa)throw new InvalidDateError("Invalid date: cannot be null");this.policy.expiration=qa.toISOString()}setKey(qa){if(!isValidObjectName(qa))throw new InvalidObjectNameError(`Invalid object name : ${qa}`);this.policy.conditions.push(["eq","$key",qa]),this.formData.key=qa}setKeyStartsWith(qa){if(!isValidPrefix(qa))throw new InvalidPrefixError(`Invalid prefix : ${qa}`);this.policy.conditions.push(["starts-with","$key",qa]),this.formData.key=qa}setBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);this.policy.conditions.push(["eq","$bucket",qa]),this.formData.bucket=qa}setContentType(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentTypeStartsWith(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentDisposition(qa){if(!qa)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",qa]),this.formData["Content-Disposition"]=qa}setContentLengthRange(qa,nd){if(qa>nd)throw new Error("min cannot be more than max");if(qa<0)throw new Error("min should be > 0");if(nd<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",qa,nd])}setUserMetaData(qa){if(!isObject(qa))throw new TypeError('metadata should be of type "object"');Object.entries(qa).forEach(([nd,od])=>{const ld=`x-amz-meta-${nd}`;this.policy.conditions.push(["eq",`$${ld}`,od]),this.formData[ld]=od.toString()})}}var jsonStream={exports:{}},util=util$a,TransformStream$1=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream$1.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream$1);JSONStream.prototype._transform=function(Ra,qa,nd){Buffer$4.isBuffer(Ra)||(Ra=new Buffer$4(Ra)),this._buffer&&(Ra=Buffer$4.concat([this._buffer,Ra]));for(var od=0,ld=0;++od<=Ra.length;)if(Ra[od]===10||od===Ra.length){var ud;try{ud=JSON.parse(Ra.slice(ld,od))}catch{}ud&&(this.push(ud),ud=null),Ra[od]===10&&(ld=++od)}return this._buffer=Ra.slice(ld),this._async?void setImmediate(nd):void nd()};var jsonStreamExports=jsonStream.exports;const JSONParser=getDefaultExportFromCjs(jsonStreamExports);var through2$1={exports:{}};const{Transform}=readableBrowserExports;function inherits(Ra,qa){Ra.super_=qa,Ra.prototype=Object.create(qa.prototype,{constructor:{value:Ra,enumerable:!1,writable:!0,configurable:!0}})}function through2(Ra){return(qa,nd,od)=>(typeof qa=="function"&&(od=nd,nd=qa,qa={}),typeof nd!="function"&&(nd=(ld,ud,dd)=>dd(null,ld)),typeof od!="function"&&(od=null),Ra(qa,nd,od))}const make=through2((Ra,qa,nd)=>{const od=new Transform(Ra);return od._transform=qa,nd&&(od._flush=nd),od}),ctor=through2((Ra,qa,nd)=>{function od(ld){if(!(this instanceof od))return new od(ld);this.options=Object.assign({},Ra,ld),Transform.call(this,this.options),this._transform=qa,nd&&(this._flush=nd)}return inherits(od,Transform),od}),obj=through2(function(Ra,qa,nd){const od=new Transform(Object.assign({objectMode:!0,highWaterMark:16},Ra));return od._transform=qa,nd&&(od._flush=nd),od});through2$1.exports=make;through2$1.exports.ctor=ctor;through2$1.exports.obj=obj;var through2Exports=through2$1.exports;const Through2=getDefaultExportFromCjs(through2Exports);var Buffer=buffer.Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(Ra){if(Buffer.isBuffer(Ra))return Ra;var qa=typeof Buffer.alloc=="function"&&typeof Buffer.from=="function";if(typeof Ra=="number")return qa?Buffer.alloc(Ra):new Buffer(Ra);if(typeof Ra=="string")return qa?Buffer.from(Ra):new Buffer(Ra);throw new Error("input must be buffer, number, or string, received "+typeof Ra)}function bufferizeInt(Ra){var qa=ensureBuffer(4);return qa.writeInt32BE(Ra,0),qa}function _crc32(Ra,qa){Ra=ensureBuffer(Ra),Buffer.isBuffer(qa)&&(qa=qa.readUInt32BE(0));for(var nd=~~qa^-1,od=0;od>>8;return nd^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var bufferCrc32=crc32;const crc32$1=getDefaultExportFromCjs(bufferCrc32),fxpWithoutNumParser=new fxp$2.XMLParser({numberParseOptions:{skipLike:/./}});function parseCopyObject(Ra){var qa={etag:"",lastModified:""},nd=parseXml(Ra);if(!nd.CopyObjectResult)throw new InvalidXMLError('Missing tag: "CopyObjectResult"');return nd=nd.CopyObjectResult,nd.ETag&&(qa.etag=nd.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")),nd.LastModified&&(qa.lastModified=new Date(nd.LastModified)),qa}function parseListMultipart(Ra){var qa={uploads:[],prefixes:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListMultipartUploadsResult)throw new InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return nd=nd.ListMultipartUploadsResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextKeyMarker&&(qa.nextKeyMarker=nd.NextKeyMarker),nd.NextUploadIdMarker&&(qa.nextUploadIdMarker=nd.nextUploadIdMarker||""),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.prefixes.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0])})}),nd.Upload&&toArray(nd.Upload).forEach(od=>{var ld=od.Key,ud=od.UploadId,dd={id:od.Initiator.ID,displayName:od.Initiator.DisplayName},pd={id:od.Owner.ID,displayName:od.Owner.DisplayName},fd=od.StorageClass,md=new Date(od.Initiated);qa.uploads.push({key:ld,uploadId:ud,initiator:dd,owner:pd,storageClass:fd,initiated:md})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},nd=function(ud){var dd=[];return ud&&toArray(ud).forEach(pd=>{dd.push(pd)}),dd},od=function(ud){var dd=[];return ud&&(ud=toArray(ud),ud[0].S3Key&&(ud[0].S3Key=toArray(ud[0].S3Key),ud[0].S3Key[0].FilterRule&&toArray(ud[0].S3Key[0].FilterRule).forEach(pd=>{var fd=toArray(pd.Name)[0],md=toArray(pd.Value)[0];dd.push({Name:fd,Value:md})}))),dd},ld=parseXml(Ra);return ld=ld.NotificationConfiguration,ld.TopicConfiguration&&toArray(ld.TopicConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.Topic)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.TopicConfiguration.push({Id:dd,Topic:pd,Event:fd,Filter:md})}),ld.QueueConfiguration&&toArray(ld.QueueConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.Queue)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.QueueConfiguration.push({Id:dd,Queue:pd,Event:fd,Filter:md})}),ld.CloudFunctionConfiguration&&toArray(ld.CloudFunctionConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.CloudFunction)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.CloudFunctionConfiguration.push({Id:dd,CloudFunction:pd,Event:fd,Filter:md})}),qa}function parseCompleteMultipart(Ra){var qa=parseXml(Ra).CompleteMultipartUploadResult;if(qa.Location){var nd=toArray(qa.Location)[0],od=toArray(qa.Bucket)[0],ld=qa.Key,ud=qa.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");return{location:nd,bucket:od,key:ld,etag:ud}}if(qa.Code&&qa.Message){var dd=toArray(qa.Code)[0],pd=toArray(qa.Message)[0];return{errCode:dd,errMessage:pd}}}const formatObjInfo=(Ra,qa={})=>{let{Key:nd,LastModified:od,ETag:ld,Size:ud,VersionId:dd,IsLatest:pd}=Ra;isObject(qa)||(qa={});const fd=sanitizeObjectKey(toArray(nd)[0]),md=new Date(toArray(od)[0]),vd=sanitizeETag(toArray(ld)[0]),Ad=sanitizeSize(ud);return{name:fd,lastModified:md,etag:vd,size:Ad,versionId:dd,isLatest:pd,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let nd=!1,od,ld;const ud=fxpWithoutNumParser.parse(Ra),dd=md=>{md&&toArray(md).forEach(vd=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(vd.Prefix)[0]),size:0})})},pd=ud.ListBucketResult,fd=ud.ListVersionsResult;return pd&&(pd.IsTruncated&&(nd=pd.IsTruncated),pd.Contents&&toArray(pd.Contents).forEach(md=>{const vd=sanitizeObjectKey(toArray(md.Key)[0]),Ad=new Date(toArray(md.LastModified)[0]),Nd=sanitizeETag(toArray(md.ETag)[0]),Od=sanitizeSize(md.Size);qa.objects.push({name:vd,lastModified:Ad,etag:Nd,size:Od})}),pd.NextMarker&&(od=pd.NextMarker),dd(pd.CommonPrefixes)),fd&&(fd.IsTruncated&&(nd=fd.IsTruncated),fd.Version&&toArray(fd.Version).forEach(md=>{qa.objects.push(formatObjInfo(md))}),fd.DeleteMarker&&toArray(fd.DeleteMarker).forEach(md=>{qa.objects.push(formatObjInfo(md,{IsDeleteMarker:!0}))}),fd.NextKeyMarker&&(ld=fd.NextKeyMarker),fd.NextVersionIdMarker&&(qa.versionIdMarker=fd.NextVersionIdMarker),dd(fd.CommonPrefixes)),qa.isTruncated=nd,nd&&(qa.nextMarker=ld||od),qa}function parseListObjectsV2(Ra){var qa={objects:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{var ld=sanitizeObjectKey(toArray(od.Key)[0]),ud=new Date(od.LastModified),dd=sanitizeETag(od.ETag),pd=od.Size;qa.objects.push({name:ld,lastModified:ud,etag:dd,size:pd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseBucketVersioningConfig(Ra){var qa=parseXml(Ra);return qa.VersioningConfiguration}function parseTagging(Ra){const qa=parseXml(Ra);let nd=[];if(qa.Tagging&&qa.Tagging.TagSet&&qa.Tagging.TagSet.Tag){const od=qa.Tagging.TagSet.Tag;isObject(od)?nd.push(od):nd=od}return nd}function parseLifecycleConfig(Ra){return parseXml(Ra).LifecycleConfiguration}function parseObjectLockConfig(Ra){const qa=parseXml(Ra);let nd={};if(qa.ObjectLockConfiguration){nd={objectLockEnabled:qa.ObjectLockConfiguration.ObjectLockEnabled};let od;if(qa.ObjectLockConfiguration&&qa.ObjectLockConfiguration.Rule&&qa.ObjectLockConfiguration.Rule.DefaultRetention&&(od=qa.ObjectLockConfiguration.Rule.DefaultRetention||{},nd.mode=od.Mode),od){const ld=od.Years;ld?(nd.validity=ld,nd.unit=RETENTION_VALIDITY_UNITS.YEARS):(nd.validity=od.Days,nd.unit=RETENTION_VALIDITY_UNITS.DAYS)}return nd}}function parseObjectRetentionConfig(Ra){const nd=parseXml(Ra).Retention;return{mode:nd.Mode,retainUntilDate:nd.RetainUntilDate}}function parseBucketEncryptionConfig(Ra){return parseXml(Ra)}function parseObjectLegalHoldConfig(Ra){return parseXml(Ra).LegalHold}function uploadPartParser(Ra){return parseXml(Ra).CopyPartResult}function removeObjectsParser(Ra){const qa=parseXml(Ra);return qa.DeleteResult&&qa.DeleteResult.Error?toArray(qa.DeleteResult.Error):[]}function parseSelectObjectContentResponse(Ra){function qa(ud){const dd=Buffer$4.from(ud.read(1)).readUInt8(),fd=(Buffer$4.from(ud.read(dd)).toString()||"").split(":");return fd.length>=1?fd[1]:""}function nd(ud){const dd=Buffer$4.from(ud.read(2)).readUInt16BE();return Buffer$4.from(ud.read(dd)).toString()}const od=new SelectResults({}),ld=readableStream(Ra);for(;ld._readableState.length;){let ud;const dd=Buffer$4.from(ld.read(4));ud=crc32$1(dd);const pd=Buffer$4.from(ld.read(4));ud=crc32$1(pd,ud);const fd=ud.readInt32BE(),md=Buffer$4.from(ld.read(4));ud=crc32$1(md,ud);const vd=dd.readInt32BE(),Ad=pd.readInt32BE(),Nd=md.readInt32BE();if(Nd!==fd)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Nd} does not equal expected CRC of ${fd}`);const Od={};if(Ad>0){const jd=Buffer$4.from(ld.read(Ad));ud=crc32$1(jd,ud);const Fd=readableStream(jd);for(;Fd._readableState.length;){let Ud=qa(Fd);Fd.read(1),Od[Ud]=nd(Fd)}}let kd;const Ld=vd-Ad-16;if(Ld>0){const jd=Buffer$4.from(ld.read(Ld));ud=crc32$1(jd,ud);const Fd=Buffer$4.from(ld.read(4)).readInt32BE(),Ud=ud.readInt32BE();if(Fd!==Ud)throw new Error(`Message Checksum Mismatch, Message CRC of ${Fd} does not equal expected CRC of ${Ud}`);kd=readableStream(jd)}const Gd=Od["message-type"];switch(Gd){case"error":{const jd=Od["error-code"]+':"'+Od["error-message"]+'"';throw new Error(jd)}case"event":{const jd=Od["content-type"];switch(Od["event-type"]){case"End":return od.setResponse(Ra),od;case"Records":{const Ud=kd.read(Ld);od.setRecords(Ud);break}case"Progress":switch(jd){case"text/xml":{const Ud=kd.read(Ld);od.setProgress(Ud.toString());break}default:{const Ud=`Unexpected content-type ${jd} sent for event-type Progress`;throw new Error(Ud)}}break;case"Stats":switch(jd){case"text/xml":{const Ud=kd.read(Ld);od.setStats(Ud.toString());break}default:{const Ud=`Unexpected content-type ${jd} sent for event-type Stats`;throw new Error(Ud)}}break;default:{const Ud=`Un implemented event detected ${Gd}.`;console.warn(Ud)}}}}}}function getConcater(Ra,qa){var nd=!1,od=[];if(Ra&&!isFunction(Ra))throw new TypeError('parser should be of type "function"');return Ra&&(nd=!0),Through2({objectMode:nd},function(ld,ud,dd){od.push(ld),dd()},function(ld){od.length&&(Ra?this.push(Ra(Buffer$4.concat(od).toString())):this.push(Buffer$4.concat(od))),ld()})}function getCopyObjectTransformer(){return getConcater(parseCopyObject)}function getListMultipartTransformer(){return getConcater(parseListMultipart)}function getListObjectsTransformer(){return getConcater(parseListObjects)}function getListObjectsV2Transformer(){return getConcater(parseListObjectsV2)}function getCompleteMultipartTransformer(){return getConcater(parseCompleteMultipart)}function getBucketNotificationTransformer(){return getConcater(parseBucketNotification)}function getNotificationTransformer(){return new JSONParser}function bucketVersioningTransformer(){return getConcater(parseBucketVersioningConfig)}function getTagsTransformer(){return getConcater(parseTagging)}function lifecycleTransformer(){return getConcater(parseLifecycleConfig)}function objectLockTransformer(){return getConcater(parseObjectLockConfig)}function objectRetentionTransformer(){return getConcater(parseObjectRetentionConfig)}function bucketEncryptionTransformer(){return getConcater(parseBucketEncryptionConfig)}function objectLegalHoldTransformer(){return getConcater(parseObjectLegalHoldConfig)}function uploadPartTransformer(){return getConcater(uploadPartParser)}function selectObjectContentTransformer(){return getConcater()}function removeObjectsTransformer(){return getConcater(removeObjectsParser)}var define_process_default$1={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class NotificationConfig{add(qa){let nd="";qa instanceof TopicConfig&&(nd="TopicConfiguration"),qa instanceof QueueConfig&&(nd="QueueConfiguration"),qa instanceof CloudFunctionConfig&&(nd="CloudFunctionConfiguration"),this[nd]||(this[nd]=[]),this[nd].push(qa)}}class TargetConfig{setId(qa){this.Id=qa}addEvent(qa){this.Event||(this.Event=[]),this.Event.push(qa)}addFilterSuffix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:qa})}addFilterPrefix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:qa})}}class TopicConfig extends TargetConfig{constructor(qa){super(),this.Topic=qa}}class QueueConfig extends TargetConfig{constructor(qa){super(),this.Queue=qa}}class CloudFunctionConfig extends TargetConfig{constructor(qa){super(),this.CloudFunction=qa}}class NotificationPoller extends eventsExports.EventEmitter{constructor(qa,nd,od,ld,ud){super(),this.client=qa,this.bucketName=nd,this.prefix=od,this.suffix=ld,this.events=ud,this.ending=!1}start(){this.ending=!1,define_process_default$1.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;let qa="GET";var nd=[];if(this.prefix){var od=uriEscape(this.prefix);nd.push(`prefix=${od}`)}if(this.suffix){var ld=uriEscape(this.suffix);nd.push(`suffix=${ld}`)}this.events&&this.events.forEach(pd=>nd.push("events="+uriEscape(pd))),nd.sort();var ud="";nd.length>0&&(ud=`${nd.join("&")}`);const dd=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:ud},"",[200],dd,!0,(pd,fd)=>{if(pd)return this.emit("error",pd);let md=getNotificationTransformer();pipesetup(fd,md).on("data",vd=>{let Ad=vd.Records;Ad||(Ad=[]),Ad.forEach(Nd=>{this.emit("notification",Nd)}),this.ending&&fd.destroy()}).on("error",vd=>this.emit("error",vd)).on("end",()=>{define_process_default$1.nextTick(()=>{this.checkForChanges()})})})}}var define_process_default={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_1164a745-b3dc-4b9f-a9be-9609c1b3622a",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_1164a745-b3dc-4b9f-a9be-9609c1b3622a",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.12",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250105.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:7633",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12854182433",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_eb6908e4-3cff-452d-a339-25146be9740f",INVOCATION_ID:"049b7125072941398f5d27a5cb59ad7a",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"493",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 18",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"48e96440ccd3380207facf388b934063850f0b3c",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_1164a745-b3dc-4b9f-a9be-9609c1b3622a",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_1164a745-b3dc-4b9f-a9be-9609c1b3622a",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_1164a745-b3dc-4b9f-a9be-9609c1b3622a",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2166,ppid:2165,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class ObjectUploader extends streamBrowserify.Transform{constructor(qa,nd,od,ld,ud,dd){super(),this.emptyStream=!0,this.client=qa,this.bucketName=nd,this.objectName=od,this.partSize=ld,this.metaData=ud,this.callback=dd,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",pd=>{dd(pd)})}_transform(qa,nd,od){this.emptyStream=!1;let ld="PUT",ud={"Content-Length":qa.length},dd="";if(this.client.enableSHA256||(dd=(void 0)("md5").update(qa).digest(),ud["Content-MD5"]=dd.toString("base64")),this.partNumber==1&&qa.length{if(Ad)return od(Ad);let Od={etag:sanitizeETag(Nd.headers.etag),versionId:getVersionId(Nd.headers)};Nd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,Od)}),od()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,nd,od)}),this.client.findUploadId(this.bucketName,this.objectName,(vd,Ad)=>{if(vd)return this.emit("error",vd);if(!Ad){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Nd=>{this.id=Nd,this.emit("ready")},Nd=>od(Nd));return}this.id=Ad,this.client.listParts(this.bucketName,this.objectName,Ad).then(Nd=>{Nd||(Nd=[]),this.oldParts=Nd.reduce(function(Od,kd){return Od[kd.part]||(Od[kd.part]=kd),Od},{}),this.emit("ready")},Nd=>this.emit("error",Nd))});return}let pd=this.partNumber++;if(this.oldParts){let vd=this.oldParts[pd];if(dd||(dd=(void 0)("md5").update(qa).digest()),vd&&dd.toString("hex")===vd.etag){this.etags.push({part:pd,etag:vd.etag}),od();return}}let fd=queryString.stringify({partNumber:pd,uploadId:this.id}),md={method:ld,query:fd,headers:ud,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(md,qa,[200],"",!0,(vd,Ad)=>{if(vd)return od(vd);let Nd=Ad.headers.etag;Nd&&(Nd=Nd.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:pd,etag:Nd}),Ad.on("data",()=>{}),od()})}_flush(qa){if(this.emptyStream){let nd="PUT",od=Object.assign({},this.metaData,{"Content-Length":0}),ld={method:nd,headers:od,query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(ld,"",[200],"",!0,(ud,dd)=>{if(ud)return qa(ud);let pd={etag:sanitizeETag(dd.headers.etag),versionId:getVersionId(dd.headers)};dd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,pd)}),qa()});return}this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(nd,od)=>{if(nd)return qa(nd);define_process_default.nextTick(()=>{this.callback(null,od)}),qa()})}}function promisify(Ra){return function(){if(typeof arguments[arguments.length-1]=="function")return Ra.apply(this,arguments);let nd=[...arguments];return new Promise((od,ld)=>{nd.push((ud,dd)=>{if(ud)return ld(ud);od(dd)}),Ra.apply(this,nd)})}}class Client extends TypedClient{setAppInfo(qa,nd){if(!isString(qa))throw new TypeError(`Invalid appName: ${qa}`);if(qa.trim()==="")throw new InvalidArgumentError("Input appName cannot be empty.");if(!isString(nd))throw new TypeError(`Invalid appVersion: ${nd}`);if(nd.trim()==="")throw new InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${qa}/${nd}`}calculatePartSize(qa){if(!isNumber(qa))throw new TypeError('size should be of type "number"');if(qa>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var nd=this.partSize;;){if(nd*1e4>qa)return nd;nd+=16*1024*1024}}makeBucket(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)&&(ld=od,od=nd,nd=""),isFunction(nd)&&(ld=nd,nd="",od={}),isFunction(od)&&(ld=od,od={}),!isString(nd))throw new TypeError('region should be of type "string"');if(!isObject(od))throw new TypeError('makeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');var ud="";if(nd&&this.region&&nd!==this.region)throw new InvalidArgumentError(`Configured region ${this.region}, requested ${nd}`);if(nd&&nd!==DEFAULT_REGION){var dd=[];dd.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),dd.push({LocationConstraint:nd});var pd={CreateBucketConfiguration:dd};ud=Xml(pd)}var fd="PUT",md={};od.ObjectLocking&&(md["x-amz-bucket-object-lock-enabled"]=!0),nd||(nd=DEFAULT_REGION);const vd=Ad=>{if(Ad&&(nd===""||nd===DEFAULT_REGION))if(Ad.code==="AuthorizationHeaderMalformed"&&Ad.region!=="")this.makeRequest({method:fd,bucketName:qa,headers:md},ud,[200],Ad.region,!1,ld);else return ld&&ld(Ad);return ld&&ld(Ad)};this.makeRequest({method:fd,bucketName:qa,headers:md},ud,[200],nd,!1,vd)}listIncompleteUploads(qa,nd,od){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');var ld=od?"":"/",ud="",dd="",pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length)return md.push(pd.shift());if(fd)return md.push(null);this.listIncompleteUploadsQuery(qa,nd,ud,dd,ld).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.prefixes.forEach(Ad=>pd.push(Ad)),index.eachSeries(vd.uploads,(Ad,Nd)=>{this.listParts(qa,Ad.key,Ad.uploadId).then(Od=>{Ad.size=Od.reduce((kd,Ld)=>kd+Ld.size,0),pd.push(Ad),Nd()},Nd)},Ad=>{if(Ad){md.emit("error",Ad);return}vd.isTruncated?(ud=vd.nextKeyMarker,dd=vd.nextUploadIdMarker):fd=!0,md._read()})})},md}bucketExists(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="HEAD";this.makeRequest({method:od,bucketName:qa},"",[200],"",!1,ld=>{if(ld)return ld.code=="NoSuchBucket"||ld.code=="NotFound"?nd(null,!1):nd(ld);nd(null,!0)})}removeIncompleteUpload(qa,nd,od){if(!isValidBucketName(qa))throw new IsValidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld;index.during(ud=>{this.findUploadId(qa,nd,(dd,pd)=>{if(dd)return ud(dd);ld=pd,ud(null,pd)})},ud=>{var dd="DELETE",pd=`uploadId=${ld}`;this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd},"",[204],"",!1,fd=>ud(fd))},od)}fGetObject(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isFunction(ud))throw new TypeError('callback should be of type "function"');var dd,pd,fd,md=vd=>{if(vd)return ud(vd);(void 0)(dd,od,ud)};index.waterfall([vd=>this.statObject(qa,nd,ld,vd),(vd,Ad)=>{fd=vd,(void 0)(pathBrowserify.dirname(od),{recursive:!0},Nd=>Ad(Nd))},vd=>{dd=`${od}.${fd.etag}.part.minio`,(void 0)(dd,(Ad,Nd)=>{var Od=0;if(Ad)pd=(void 0)(dd,{flags:"w"});else{if(fd.size===Nd.size)return md();Od=Nd.size,pd=(void 0)(dd,{flags:"a"})}this.getPartialObject(qa,nd,Od,0,ld,vd)})},(vd,Ad)=>{pipesetup(vd,pd).on("error",Nd=>Ad(Nd)).on("finish",Ad)},vd=>(void 0)(dd,vd),(vd,Ad)=>{if(vd.size===fd.size)return Ad();Ad(new Error("Size mismatch between downloaded file and the object"))}],md)}getObject(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),!isFunction(ld))throw new TypeError('callback should be of type "function"');this.getPartialObject(qa,nd,0,0,od,ld)}getPartialObject(qa,nd,od,ld,ud={},dd){if(isFunction(ld)&&(dd=ld,ld=0),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isNumber(od))throw new TypeError('offset should be of type "number"');if(!isNumber(ld))throw new TypeError('length should be of type "number"');if(isFunction(ud)&&(dd=ud,ud={}),!isFunction(dd))throw new TypeError('callback should be of type "function"');var pd="";(od||ld)&&(od?pd=`bytes=${+od}-`:(pd="bytes=0-",od=0),ld&&(pd+=`${+ld+od-1}`));var fd={};pd!==""&&(fd.range=pd);var md=[200];pd&&md.push(206);var vd="GET",Ad=queryString.stringify(ud);this.makeRequest({method:vd,bucketName:qa,objectName:nd,headers:fd,query:Ad},"",md,"",!0,dd)}fPutObject(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isObject(ld))throw new TypeError('metaData should be of type "object"');ld=insertContentType(ld,od),(void 0)(od,(dd,pd)=>dd?ud(dd):this.putObject(qa,nd,(void 0)(od),pd.size,ld,ud))}putObject(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(ld)?(dd=ld,ud={}):isFunction(ud)&&(dd=ud,ud={}),isObject(ld)&&(ud=ld),ud=prependXAMZMeta(ud),typeof od=="string"||od instanceof Buffer$4)ld=od.length,od=readableStream(od);else if(!isReadableStream(od))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!isFunction(dd))throw new TypeError('callback should be of type "function"');if(isNumber(ld)&&ld<0)throw new InvalidArgumentError(`size cannot be negative, given size: ${ld}`);isNumber(ld)||(ld=this.maxObjectSize),ld=this.calculatePartSize(ld);let pd=new BlockStream2({size:ld,zeroPadding:!1}),fd=new ObjectUploader(this,qa,nd,ld,ud,dd);pipesetup(od,pd,fd)}copyObjectV1(qa,nd,od,ld,ud){var dd=qa,pd=nd,fd=od,md,vd;if(typeof ld=="function"&&ud===void 0?(md=null,vd=ld):(md=ld,vd=ud),!isValidBucketName(dd))throw new InvalidBucketNameError("Invalid bucket name: "+dd);if(!isValidObjectName(pd))throw new InvalidObjectNameError(`Invalid object name: ${pd}`);if(!isString(fd))throw new TypeError('srcObject should be of type "string"');if(fd==="")throw new InvalidPrefixError("Empty source prefix");if(md!==null&&!(md instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var Ad={};Ad["x-amz-copy-source"]=uriResourceEscape(fd),md!==null&&(md.modified!==""&&(Ad["x-amz-copy-source-if-modified-since"]=md.modified),md.unmodified!==""&&(Ad["x-amz-copy-source-if-unmodified-since"]=md.unmodified),md.matchETag!==""&&(Ad["x-amz-copy-source-if-match"]=md.matchETag),md.matchEtagExcept!==""&&(Ad["x-amz-copy-source-if-none-match"]=md.matchETagExcept));var Nd="PUT";this.makeRequest({method:Nd,bucketName:dd,objectName:pd,headers:Ad},"",[200],"",!0,(Od,kd)=>{if(Od)return vd(Od);var Ld=getCopyObjectTransformer();pipesetup(kd,Ld).on("error",Gd=>vd(Gd)).on("data",Gd=>vd(null,Gd))})}copyObjectV2(qa,nd,od){if(!(qa instanceof CopySourceOptions))throw new InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(nd instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!nd.validate()||!nd.validate())return!1;if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=Object.assign({},qa.getHeaders(),nd.getHeaders()),ud=nd.Bucket,dd=nd.Object;this.makeRequest({method:"PUT",bucketName:ud,objectName:dd,headers:ld},"",[200],"",!0,(fd,md)=>{if(fd)return od(fd);const vd=getCopyObjectTransformer();pipesetup(md,vd).on("error",Ad=>od(Ad)).on("data",Ad=>{const Nd=md.headers,Od={Bucket:nd.Bucket,Key:nd.Object,LastModified:Ad.LastModified,MetaData:extractMetadata(Nd),VersionId:getVersionId(Nd),SourceVersionId:getSourceVersionId(Nd),Etag:sanitizeETag(Nd.etag),Size:+Nd["content-length"]};return od(null,Od)})})}copyObject(...qa){return qa[0]instanceof CopySourceOptions&&qa[1]instanceof CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(qa,nd,od,ld={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('marker should be of type "string"');let{Delimiter:ud,MaxKeys:dd,IncludeVersion:pd}=ld;if(!isObject(ld))throw new TypeError('listQueryOpts should be of type "object"');if(!isString(ud))throw new TypeError('Delimiter should be of type "string"');if(!isNumber(dd))throw new TypeError('MaxKeys should be of type "number"');const fd=[];fd.push(`prefix=${uriEscape(nd)}`),fd.push(`delimiter=${uriEscape(ud)}`),fd.push("encoding-type=url"),pd&&fd.push("versions"),od&&(od=uriEscape(od),pd?fd.push(`key-marker=${od}`):fd.push(`marker=${od}`)),dd&&(dd>=1e3&&(dd=1e3),fd.push(`max-keys=${dd}`)),fd.sort();var md="";fd.length>0&&(md=`${fd.join("&")}`);var vd="GET",Ad=getListObjectsTransformer();return this.makeRequest({method:vd,bucketName:qa,query:md},"",[200],"",!0,(Nd,Od)=>{if(Nd)return Ad.emit("error",Nd);pipesetup(Od,Ad)}),Ad}listObjects(qa,nd,od,ld={}){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isObject(ld))throw new TypeError('listOpts should be of type "object"');var ud="";const dd={Delimiter:od?"":"/",MaxKeys:1e3,IncludeVersion:ld.IncludeVersion};var pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length){md.push(pd.shift());return}if(fd)return md.push(null);this.listObjectsQuery(qa,nd,ud,dd).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.isTruncated?ud=vd.nextMarker||vd.versionIdMarker:fd=!0,pd=vd.objects,md._read()})},md}listObjectsV2Query(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('continuationToken should be of type "string"');if(!isString(ld))throw new TypeError('delimiter should be of type "string"');if(!isNumber(ud))throw new TypeError('maxKeys should be of type "number"');if(!isString(dd))throw new TypeError('startAfter should be of type "string"');var pd=[];pd.push("list-type=2"),pd.push("encoding-type=url"),pd.push(`prefix=${uriEscape(nd)}`),pd.push(`delimiter=${uriEscape(ld)}`),od&&(od=uriEscape(od),pd.push(`continuation-token=${od}`)),dd&&(dd=uriEscape(dd),pd.push(`start-after=${dd}`)),ud&&(ud>=1e3&&(ud=1e3),pd.push(`max-keys=${ud}`)),pd.sort();var fd="";pd.length>0&&(fd=`${pd.join("&")}`);var md="GET",vd=getListObjectsV2Transformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}listObjectsV2(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');var ud=od?"":"/",dd="",pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length){md.push(pd.shift());return}if(fd)return md.push(null);this.listObjectsV2Query(qa,nd,dd,ud,1e3,ld).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.isTruncated?dd=vd.nextContinuationToken:fd=!0,pd=vd.objects,md._read()})},md}removeObjects(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Array.isArray(nd))throw new InvalidArgumentError("objectsList should be a list");if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=1e3,ud="delete",dd="POST";let pd=nd.reduce((vd,Ad)=>(vd.list.push(Ad),vd.list.length===ld&&(vd.listOfList.push(vd.list),vd.list=[]),vd),{listOfList:[],list:[]});pd.list.length>0&&pd.listOfList.push(pd.list);const fd=new Encoder,md=[];index.eachSeries(pd.listOfList,(vd,Ad)=>{var Nd=[];vd.forEach(function(Fd){isObject(Fd)?Nd.push({Key:Fd.name,VersionId:Fd.versionId}):Nd.push({Key:Fd})});let Od={Delete:{Quiet:!0,Object:Nd}},Ld=new xml2js.Builder({headless:!0}).buildObject(Od);Ld=Buffer$4.from(fd.encode(Ld));const Gd={};Gd["Content-MD5"]=toMd5(Ld);let jd;this.makeRequest({method:dd,bucketName:qa,query:ud,headers:Gd},Ld,[200],"",!0,(Fd,Ud)=>{if(Fd)return Ad(Fd);pipesetup(Ud,removeObjectsTransformer()).on("data",qd=>{jd=qd}).on("error",qd=>Ad(qd,null)).on("end",()=>(md.push(jd),Ad(null,jd)))})},()=>{od(null,_.flatten(md))})}getBucketPolicy(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"policy"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,getConcater()).on("data",fd=>pd=fd).on("error",nd).on("end",()=>{nd(null,pd.toString())})})}setBucketPolicy(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new InvalidBucketPolicyError(`Invalid bucket policy: ${nd} - must be "string"`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');let ld="DELETE",ud="policy";nd&&(ld="PUT"),this.makeRequest({method:ld,bucketName:qa,query:ud},nd,[204],"",!1,od)}presignedUrl(qa,nd,od,ld,ud,dd,pd){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction(dd)&&(pd=dd,dd=new Date),isFunction(ud)&&(pd=ud,ud={},dd=new Date),isFunction(ld)&&(pd=ld,ud={},ld=24*60*60*7,dd=new Date),!isNumber(ld))throw new TypeError('expires should be of type "number"');if(!isObject(ud))throw new TypeError('reqParams should be of type "object"');if(!isValidDate(dd))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction(pd))throw new TypeError('callback should be of type "function"');var fd=queryString.stringify(ud);this.getBucketRegion(nd,(md,vd)=>{if(md)return pd(md);var Ad,Nd=this.getRequestOptions({method:qa,region:vd,bucketName:nd,objectName:od,query:fd});this.checkAndRefreshCreds();try{Ad=presignSignatureV4(Nd,this.accessKey,this.secretKey,this.sessionToken,vd,dd,ld)}catch(Od){return pd(Od)}pd(null,Ad)})}presignedGetObject(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);isFunction(ld)&&(dd=ld,ld={},ud=new Date);var pd=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return pd.forEach(fd=>{if(ld!==void 0&&ld[fd]!==void 0&&!isString(ld[fd]))throw new TypeError(`response header ${fd} should be of type "string"`)}),this.presignedUrl("GET",qa,nd,od,ld,ud,dd)}presignedPutObject(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);return this.presignedUrl("PUT",qa,nd,od,ld)}newPostPolicy(){return new PostPolicy}presignedPostPolicy(qa,nd){if(this.anonymous)throw new AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!isObject(qa))throw new TypeError('postPolicy should be of type "object"');if(!isFunction(nd))throw new TypeError('cb should be of type "function"');this.getBucketRegion(qa.formData.bucket,(od,ld)=>{if(od)return nd(od);var ud=new Date,dd=makeDateLong(ud);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var pd=new Date;pd.setSeconds(24*60*60*7),qa.setExpires(pd)}qa.policy.conditions.push(["eq","$x-amz-date",dd]),qa.formData["x-amz-date"]=dd,qa.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),qa.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",qa.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+getScope(ld,ud)]),qa.formData["x-amz-credential"]=this.accessKey+"/"+getScope(ld,ud),this.sessionToken&&(qa.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),qa.formData["x-amz-security-token"]=this.sessionToken);var fd=Buffer$4.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=fd;var md=postPresignSignatureV4(ld,ud,this.secretKey,fd);qa.formData["x-amz-signature"]=md;var vd={};vd.region=ld,vd.bucketName=qa.formData.bucket;var Ad=this.getRequestOptions(vd),Nd=this.port==80||this.port===443?"":`:${this.port.toString()}`,Od=`${Ad.protocol}//${Ad.host}${Nd}${Ad.path}`;nd(null,{postURL:Od,formData:qa.formData})})}completeMultipartUpload(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isObject(ld))throw new TypeError('etags should be of type "Array"');if(!isFunction(ud))throw new TypeError('cb should be of type "function"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");var dd="POST",pd=`uploadId=${uriEscape(od)}`,fd=[];ld.forEach(Ad=>{fd.push({Part:[{PartNumber:Ad.part},{ETag:Ad.etag}]})});var md={CompleteMultipartUpload:fd},vd=Xml(md);this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd},vd,[200],"",!0,(Ad,Nd)=>{if(Ad)return ud(Ad);var Od=getCompleteMultipartTransformer();pipesetup(Nd,Od).on("error",kd=>ud(kd)).on("data",kd=>{if(kd.errCode)ud(new S3Error(kd.errMessage));else{const Ld={etag:kd.etag,versionId:getVersionId(Nd.headers)};ud(null,Ld)}})})}listIncompleteUploadsQuery(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('keyMarker should be of type "string"');if(!isString(ld))throw new TypeError('uploadIdMarker should be of type "string"');if(!isString(ud))throw new TypeError('delimiter should be of type "string"');var dd=[];dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ud)}`),od&&(od=uriEscape(od),dd.push(`key-marker=${od}`)),ld&&dd.push(`upload-id-marker=${ld}`);var pd=1e3;dd.push(`max-uploads=${pd}`),dd.sort(),dd.unshift("uploads");var fd="";dd.length>0&&(fd=`${dd.join("&")}`);var md="GET",vd=getListMultipartTransformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}findUploadId(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('cb should be of type "function"');var ld,ud=(dd,pd)=>{this.listIncompleteUploadsQuery(qa,nd,dd,pd,"").on("error",fd=>od(fd)).on("data",fd=>{if(fd.uploads.forEach(md=>{if(md.key===nd&&(!ld||md.initiated.getTime()>ld.initiated.getTime())){ld=md;return}}),fd.isTruncated){ud(fd.nextKeyMarker,fd.nextUploadIdMarker);return}if(ld)return od(null,ld.uploadId);od(null,void 0)})};ud("","")}setBucketNotification(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new TypeError('notification config should be of type "Object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="notification",dd=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),pd=dd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},pd,[200],"",!1,od)}removeAllBucketNotification(qa,nd){this.setBucketNotification(qa,new NotificationConfig,nd)}getBucketNotification(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="GET",ld="notification";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);var pd=getBucketNotificationTransformer(),fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}listenBucketNotification(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new TypeError("prefix must be of type string");if(!isString(od))throw new TypeError("suffix must be of type string");if(!Array.isArray(ld))throw new TypeError("events must be of type Array");let ud=new NotificationPoller(this,qa,nd,od,ld);return ud.start(),ud}getBucketVersioning(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');var od="GET",ld="versioning";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,bucketVersioningTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}setBucketVersioning(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Object.keys(nd).length)throw new InvalidArgumentError('versionConfig should be of type "object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="versioning",dd=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),pd=dd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},pd,[200],"",!1,od)}setTagging(qa){const{bucketName:nd,objectName:od,tags:ld,putOpts:ud={},cb:dd}=qa,pd="PUT";let fd="tagging";ud&&ud.versionId&&(fd=`${fd}&versionId=${ud.versionId}`);const md=[];for(const[Gd,jd]of Object.entries(ld))md.push({Key:Gd,Value:jd});const vd={Tagging:{TagSet:{Tag:md}}},Ad=new Encoder,Nd={};let kd=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(vd);kd=Buffer$4.from(Ad.encode(kd)),Nd["Content-MD5"]=toMd5(kd);const Ld={method:pd,bucketName:nd,query:fd,headers:Nd};od&&(Ld.objectName=od),Nd["Content-MD5"]=toMd5(kd),this.makeRequest(Ld,kd,[200],"",!1,dd)}setBucketTagging(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(nd).length>10)throw new InvalidArgumentError('maximum tags allowed is 10"');if(!isFunction(od))throw new InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:qa,tags:nd,cb:od})}setObjectTagging(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(ld)&&(ud=ld,ld={}),!isObject(od))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(od).length>10)throw new InvalidArgumentError('Maximum tags allowed is 10"');if(!isFunction(ud))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:qa,objectName:nd,tags:od,putOpts:ld,cb:ud})}removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld}){const ud="DELETE";let dd="tagging";od&&Object.keys(od).length&&od.versionId&&(dd=`${dd}&versionId=${od.versionId}`);const pd={method:ud,bucketName:qa,objectName:nd,query:dd};nd&&(pd.objectName=nd),this.makeRequest(pd,"",[200,204],"",!0,ld)}removeBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,cb:nd})}removeObjectTagging(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),od&&Object.keys(od).length&&!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld})}getBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);const ud={method:"GET",bucketName:qa,query:"tagging"};this.makeRequest(ud,"",[200],"",!0,(dd,pd)=>{var fd=getTagsTransformer();if(dd)return nd(dd);let md;pipesetup(pd,fd).on("data",vd=>md=vd).on("error",vd=>nd(vd)).on("end",()=>nd(null,md))})}getObjectTagging(qa,nd,od={},ld=()=>!1){const ud="GET";let dd="tagging";if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),!isObject(od))throw new InvalidArgumentError('getOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');od&&od.versionId&&(dd=`${dd}&versionId=${od.versionId}`);const pd={method:ud,bucketName:qa,query:dd};nd&&(pd.objectName=nd),this.makeRequest(pd,"",[200],"",!0,(fd,md)=>{const vd=getTagsTransformer();if(fd)return ld(fd);let Ad;pipesetup(md,vd).on("data",Nd=>Ad=Nd).on("error",Nd=>ld(Nd)).on("end",()=>ld(null,Ad))})}applyBucketLifecycle(qa,nd,od){const ld="PUT",ud="lifecycle",dd=new Encoder,pd={};let md=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(nd);md=Buffer$4.from(dd.encode(md));const vd={method:ld,bucketName:qa,query:ud,headers:pd};pd["Content-MD5"]=toMd5(md),this.makeRequest(vd,md,[200],"",!1,od)}removeBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);this.makeRequest({method:"DELETE",bucketName:qa,query:"lifecycle"},"",[204],"",!1,nd)}setBucketLifecycle(qa,nd=null,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);_.isEmpty(nd)?this.removeBucketLifecycle(qa,od):this.applyBucketLifecycle(qa,nd,od)}getBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ud={method:"GET",bucketName:qa,query:"lifecycle"};this.makeRequest(ud,"",[200],"",!0,(dd,pd)=>{const fd=lifecycleTransformer();if(dd)return nd(dd);let md;pipesetup(pd,fd).on("data",vd=>md=vd).on("error",vd=>nd(vd)).on("end",()=>nd(null,md))})}setObjectLockConfig(qa,nd={},od){const ld=[RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE],ud=[RETENTION_VALIDITY_UNITS.DAYS,RETENTION_VALIDITY_UNITS.YEARS];if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(nd.mode&&!ld.includes(nd.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${ld}`);if(nd.unit&&!ud.includes(nd.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${ud}`);if(nd.validity&&!isNumber(nd.validity))throw new TypeError("lockConfigOpts.validity should be a number");const dd="PUT",pd="object-lock";let fd={ObjectLockEnabled:"Enabled"};const md=Object.keys(nd);if(md.length>0){if(_.difference(md,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");fd.Rule={DefaultRetention:{}},nd.mode&&(fd.Rule.DefaultRetention.Mode=nd.mode),nd.unit===RETENTION_VALIDITY_UNITS.DAYS?fd.Rule.DefaultRetention.Days=nd.validity:nd.unit===RETENTION_VALIDITY_UNITS.YEARS&&(fd.Rule.DefaultRetention.Years=nd.validity)}const Ad=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(fd),Nd={};Nd["Content-MD5"]=toMd5(Ad),this.makeRequest({method:dd,bucketName:qa,query:pd,headers:Nd},Ad,[200],"",!1,od)}getObjectLockConfig(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"object-lock"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,objectLockTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}putObjectRetention(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.governanceBypass&&!isBoolean(od.governanceBypass))throw new InvalidArgumentError("Invalid value for governanceBypass",od.governanceBypass);if(od.mode&&![RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE].includes(od.mode))throw new InvalidArgumentError("Invalid object retention mode ",od.mode);if(od.retainUntilDate&&!isString(od.retainUntilDate))throw new InvalidArgumentError("Invalid value for retainUntilDate",od.retainUntilDate);if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError("Invalid value for versionId",od.versionId)}else throw new InvalidArgumentError('retentionOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="PUT";let dd="retention";const pd={};od.governanceBypass&&(pd["X-Amz-Bypass-Governance-Retention"]=!0);const fd=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),md={};od.mode&&(md.Mode=od.mode),od.retainUntilDate&&(md.RetainUntilDate=od.retainUntilDate),od.versionId&&(dd+=`&versionId=${od.versionId}`);let vd=fd.buildObject(md);pd["Content-MD5"]=toMd5(vd),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd,headers:pd},vd,[200,204],"",!1,ld)}getObjectRetention(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError('VersionID should be of type "string"')}else throw new InvalidArgumentError('callback should be of type "object"');if(ld&&!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let dd="retention";od.versionId&&(dd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},"",[200],"",!0,(pd,fd)=>{if(pd)return ld(pd);let md=Buffer$4.from("");pipesetup(fd,objectRetentionTransformer()).on("data",vd=>{md=vd}).on("error",ld).on("end",()=>{ld(null,md)})})}setBucketEncryption(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isFunction(nd)&&(od=nd,nd=null),!_.isEmpty(nd)&&nd.Rule.length>1)throw new InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+nd.Rule);if(od&&!isFunction(od))throw new TypeError('callback should be of type "function"');let ld=nd;_.isEmpty(nd)&&(ld={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let ud="PUT",dd="encryption",fd=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ld);const md={};md["Content-MD5"]=toMd5(fd),this.makeRequest({method:ud,bucketName:qa,query:dd,headers:md},fd,[200],"",!1,od)}getBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"encryption"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,bucketEncryptionTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}removeBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:qa,query:"encryption"},"",[204],"",!1,nd)}getObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),isObject(od)){if(Object.keys(od).length>0&&od.versionId&&!isString(od.versionId))throw new TypeError("versionId should be of type string.:",od.versionId)}else throw new TypeError('getOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let dd="legal-hold";od.versionId&&(dd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},"",[200],"",!0,(pd,fd)=>{if(pd)return ld(pd);let md=Buffer$4.from("");pipesetup(fd,objectLegalHoldTransformer()).on("data",vd=>{md=vd}).on("error",ld).on("end",()=>{ld(null,md)})})}setObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);const ud={status:LEGAL_HOLD_STATUS.ENABLED};if(isFunction(od)&&(ld=od,od=ud),isObject(od)){if(![LEGAL_HOLD_STATUS.ENABLED,LEGAL_HOLD_STATUS.DISABLED].includes(od.status))throw new TypeError("Invalid status: "+od.status);if(od.versionId&&!od.versionId.length)throw new TypeError("versionId should be of type string.:"+od.versionId)}else throw new TypeError('setOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');_.isEmpty(od)&&(od={defaultOpts:ud});const dd="PUT";let pd="legal-hold";od.versionId&&(pd+=`&versionId=${od.versionId}`);let fd={Status:od.status};const vd=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(fd),Ad={};Ad["Content-MD5"]=toMd5(vd),this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd,headers:Ad},vd,[200],"",!1,ld)}uploadPartCopy(qa,nd){const{bucketName:od,objectName:ld,uploadID:ud,partNumber:dd,headers:pd}=qa,fd="PUT";let md=`uploadId=${ud}&partNumber=${dd}`;const vd={method:fd,bucketName:od,objectName:ld,query:md,headers:pd};return this.makeRequest(vd,"",[200],"",!0,(Ad,Nd)=>{let Od=Buffer$4.from("");if(Ad)return nd(Ad);pipesetup(Nd,uploadPartTransformer()).on("data",kd=>{Od=kd}).on("error",nd).on("end",()=>{let kd={etag:sanitizeETag(Od.ETag),key:ld,part:dd};nd(null,kd)})})}composeObject(qa={},nd=[],od){const ld=this,ud=nd.length;if(!Array.isArray(nd))throw new InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(qa instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(ud<1||ud>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`"There must be as least one and up to ${PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');for(let Ad=0;Ad{let Nd={};return _.isEmpty(Ad.VersionID)||(Nd={versionId:Ad.VersionID}),Nd},pd=[];let fd=0,md=0;const vd=nd.map(Ad=>ld.statObject(Ad.Bucket,Ad.Object,dd(Ad)));return Promise.all(vd).then(Ad=>{const Nd=Ad.map((jd,Fd)=>{const Ud=nd[Fd];let qd=jd.size;if(Ud.MatchRange){const zd=Ud.Start,Wd=Ud.End;if(Wd>=qd||zd<0)throw new InvalidArgumentError(`CopySrcOptions ${Fd} has invalid segment-to-copy [${zd}, ${Wd}] (size is ${qd})`);qd=Wd-zd+1}if(qdPART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${fd} (> 5TiB)`);if(pd[Fd]=qd,md+=partsRequired(qd),md>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return jd});if(md===1&&fd<=PART_CONSTRAINTS.MAX_PART_SIZE||fd===0)return this.copyObject(nd[0],qa,od);for(let jd=0;jdcalculateEvenSplits(pd[Fd],nd[Fd]));function kd(jd){const Fd=[];return Od.forEach((Ud,qd)=>{const{startIndex:zd,endIndex:Wd,objInfo:Jd}=Ud;let _f=qd+1;const Xd=Array.from(zd),pf=nd[qd].getHeaders();Xd.forEach((mf,Sf)=>{let Tf=Wd[Sf];const Af=`${Jd.Bucket}/${Jd.Object}`;pf["x-amz-copy-source"]=`${Af}`,pf["x-amz-copy-source-range"]=`bytes=${mf}-${Tf}`;const Ef={bucketName:qa.Bucket,objectName:qa.Object,uploadID:jd,partNumber:_f,headers:pf,sourceObj:Af};Fd.push(Ef)})}),Fd}const Ld=jd=>{const Fd=kd(jd);index.map(Fd,ld.uploadPartCopy.bind(ld),(Ud,qd)=>{if(Ud){this.abortMultipartUpload(qa.Bucket,qa.Object,jd).then(()=>od(),Wd=>od(Wd));return}const zd=qd.map(Wd=>({etag:Wd.etag,part:Wd.part}));return ld.completeMultipartUpload(qa.Bucket,qa.Object,jd,zd,od)})},Gd=qa.getHeaders();ld.initiateNewMultipartUpload(qa.Bucket,qa.Object,Gd).then(jd=>{Ld(jd)},jd=>{od(jd,null)})}).catch(Ad=>{od(Ad,null)})}selectObjectContent(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(_.isEmpty(od))throw new TypeError("valid select configuration is required");if(!isString(od.expression))throw new TypeError('sqlExpression should be of type "string"');if(_.isEmpty(od.inputSerialization))throw new TypeError("inputSerialization is required");if(!isObject(od.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(_.isEmpty(od.outputSerialization))throw new TypeError("outputSerialization is required");if(!isObject(od.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="POST";let dd="select";dd+="&select-type=2";const pd=[{Expression:od.expression},{ExpressionType:od.expressionType||"SQL"},{InputSerialization:[od.inputSerialization]},{OutputSerialization:[od.outputSerialization]}];od.requestProgress&&pd.push({RequestProgress:od.requestProgress}),od.scanRange&&pd.push({ScanRange:od.scanRange});const md=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(pd);this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},md,[200],"",!0,(vd,Ad)=>{if(vd)return ld(vd);let Nd;pipesetup(Ad,selectObjectContentTransformer()).on("data",Od=>{Nd=parseSelectObjectContentResponse(Od)}).on("error",ld).on("end",()=>{ld(null,Nd)})})}}Client.prototype.makeBucket=promisify(Client.prototype.makeBucket);Client.prototype.bucketExists=promisify(Client.prototype.bucketExists);Client.prototype.getObject=promisify(Client.prototype.getObject);Client.prototype.getPartialObject=promisify(Client.prototype.getPartialObject);Client.prototype.fGetObject=promisify(Client.prototype.fGetObject);Client.prototype.putObject=promisify(Client.prototype.putObject);Client.prototype.fPutObject=promisify(Client.prototype.fPutObject);Client.prototype.copyObject=promisify(Client.prototype.copyObject);Client.prototype.removeObjects=promisify(Client.prototype.removeObjects);Client.prototype.presignedUrl=promisify(Client.prototype.presignedUrl);Client.prototype.presignedGetObject=promisify(Client.prototype.presignedGetObject);Client.prototype.presignedPutObject=promisify(Client.prototype.presignedPutObject);Client.prototype.presignedPostPolicy=promisify(Client.prototype.presignedPostPolicy);Client.prototype.getBucketNotification=promisify(Client.prototype.getBucketNotification);Client.prototype.setBucketNotification=promisify(Client.prototype.setBucketNotification);Client.prototype.removeAllBucketNotification=promisify(Client.prototype.removeAllBucketNotification);Client.prototype.getBucketPolicy=promisify(Client.prototype.getBucketPolicy);Client.prototype.setBucketPolicy=promisify(Client.prototype.setBucketPolicy);Client.prototype.removeIncompleteUpload=promisify(Client.prototype.removeIncompleteUpload);Client.prototype.getBucketVersioning=promisify(Client.prototype.getBucketVersioning);Client.prototype.setBucketVersioning=promisify(Client.prototype.setBucketVersioning);Client.prototype.setBucketTagging=promisify(Client.prototype.setBucketTagging);Client.prototype.removeBucketTagging=promisify(Client.prototype.removeBucketTagging);Client.prototype.getBucketTagging=promisify(Client.prototype.getBucketTagging);Client.prototype.setObjectTagging=promisify(Client.prototype.setObjectTagging);Client.prototype.removeObjectTagging=promisify(Client.prototype.removeObjectTagging);Client.prototype.getObjectTagging=promisify(Client.prototype.getObjectTagging);Client.prototype.setBucketLifecycle=promisify(Client.prototype.setBucketLifecycle);Client.prototype.getBucketLifecycle=promisify(Client.prototype.getBucketLifecycle);Client.prototype.removeBucketLifecycle=promisify(Client.prototype.removeBucketLifecycle);Client.prototype.setObjectLockConfig=promisify(Client.prototype.setObjectLockConfig);Client.prototype.getObjectLockConfig=promisify(Client.prototype.getObjectLockConfig);Client.prototype.putObjectRetention=promisify(Client.prototype.putObjectRetention);Client.prototype.getObjectRetention=promisify(Client.prototype.getObjectRetention);Client.prototype.setBucketEncryption=promisify(Client.prototype.setBucketEncryption);Client.prototype.getBucketEncryption=promisify(Client.prototype.getBucketEncryption);Client.prototype.removeBucketEncryption=promisify(Client.prototype.removeBucketEncryption);Client.prototype.setObjectLegalHold=promisify(Client.prototype.setObjectLegalHold);Client.prototype.getObjectLegalHold=promisify(Client.prototype.getObjectLegalHold);Client.prototype.composeObject=promisify(Client.prototype.composeObject);Client.prototype.selectObjectContent=promisify(Client.prototype.selectObjectContent);Client.prototype.removeObject=callbackify(Client.prototype.removeObject);Client.prototype.statObject=callbackify(Client.prototype.statObject);Client.prototype.removeBucket=callbackify(Client.prototype.removeBucket);Client.prototype.listBuckets=callbackify(Client.prototype.listBuckets);Client.prototype.removeBucketReplication=callbackify(Client.prototype.removeBucketReplication);Client.prototype.setBucketReplication=callbackify(Client.prototype.setBucketReplication);Client.prototype.getBucketReplication=callbackify(Client.prototype.getBucketReplication);var __extends$3=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),QiniuErrorName;(function(Ra){Ra.InvalidFile="InvalidFile",Ra.InvalidToken="InvalidToken",Ra.InvalidMetadata="InvalidMetadata",Ra.InvalidChunkSize="InvalidChunkSize",Ra.InvalidCustomVars="InvalidCustomVars",Ra.NotAvailableUploadHost="NotAvailableUploadHost",Ra.ReadCacheFailed="ReadCacheFailed",Ra.InvalidCacheData="InvalidCacheData",Ra.WriteCacheFailed="WriteCacheFailed",Ra.RemoveCacheFailed="RemoveCacheFailed",Ra.GetCanvasContextFailed="GetCanvasContextFailed",Ra.UnsupportedFileType="UnsupportedFileType",Ra.FileReaderReadFailed="FileReaderReadFailed",Ra.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",Ra.InvalidProgressEventTarget="InvalidProgressEventTarget",Ra.RequestError="RequestError"})(QiniuErrorName||(QiniuErrorName={}));var QiniuError=function(){function Ra(qa,nd){this.name=qa,this.message=nd,this.stack=new Error().stack}return Ra}(),QiniuRequestError=function(Ra){__extends$3(qa,Ra);function qa(nd,od,ld,ud){var dd=Ra.call(this,QiniuErrorName.RequestError,ld)||this;return dd.code=nd,dd.reqId=od,dd.isRequestError=!0,dd.data=ud,dd}return qa}(QiniuError),QiniuNetworkError=function(Ra){__extends$3(qa,Ra);function qa(nd,od){return od===void 0&&(od=""),Ra.call(this,0,od,nd)||this}return qa}(QiniuRequestError),Pool=function(){function Ra(qa,nd){this.runTask=qa,this.limit=nd,this.aborted=!1,this.queue=[],this.processing=[]}return Ra.prototype.enqueue=function(qa){var nd=this;return new Promise(function(od,ld){nd.queue.push({task:qa,resolve:od,reject:ld}),nd.check()})},Ra.prototype.run=function(qa){var nd=this;this.queue=this.queue.filter(function(od){return od!==qa}),this.processing.push(qa),this.runTask(qa.task).then(function(){nd.processing=nd.processing.filter(function(od){return od!==qa}),qa.resolve(),nd.check()},function(od){return qa.reject(od)})},Ra.prototype.check=function(){var qa=this;if(!this.aborted){var nd=this.processing.length,od=this.limit-nd;this.queue.slice(0,od).forEach(function(ld){qa.run(ld)})}},Ra.prototype.abort=function(){this.queue=[],this.aborted=!0},Ra}(),__extends$2=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$6=function(){return __assign$6=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd"u")return"";var qa=Ra+"",nd="",od,ld,ud=0;od=ld=0,ud=qa.length;for(var dd=0;dd127&&pd<2048)fd=String.fromCharCode(pd>>6|192,pd&63|128);else if((pd&63488^55296)>0)fd=String.fromCharCode(pd>>12|224,pd>>6&63|128,pd&63|128);else{if((pd&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+dd);var md=qa.charCodeAt(++dd);if((md&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(dd-1));pd=((pd&1023)<<10)+(md&1023)+65536,fd=String.fromCharCode(pd>>18|240,pd>>12&63|128,pd>>6&63|128,pd&63|128)}fd!==null&&(ld>od&&(nd+=qa.slice(od,ld)),nd+=fd,od=ld=dd+1)}return ld>od&&(nd+=qa.slice(od,ud)),nd}function utf8Decode(Ra){var qa=[],nd=0,od=0,ld=0;for(Ra+="";nd>10&1023)),qa.push(String.fromCharCode(56320|od&1023))):qa.push(String.fromCharCode(od)),nd+=ld}return qa.join("")}function base64Encode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,dd,pd,fd,md,vd=0,Ad=0,Nd="",Od=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do nd=Ra.charCodeAt(vd++),od=Ra.charCodeAt(vd++),ld=Ra.charCodeAt(vd++),md=nd<<16|od<<8|ld,ud=md>>18&63,dd=md>>12&63,pd=md>>6&63,fd=md&63,Od[Ad++]=qa.charAt(ud)+qa.charAt(dd)+qa.charAt(pd)+qa.charAt(fd);while(vd>16&255,od=md>>8&255,ld=md&255,pd===64?Od[Ad++]=String.fromCharCode(nd):fd===64?Od[Ad++]=String.fromCharCode(nd,od):Od[Ad++]=String.fromCharCode(nd,od,ld);while(vd>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[1]-389564586|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[2]+606105819|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[3]-1044525330|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[4]-176418897|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[5]+1200080426|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[6]-1473231341|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[7]-45705983|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[8]+1770035416|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[9]-1958414417|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[10]-42063|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[11]-1990404162|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&zd|~qd&Wd)+Fd[12]+1804603682|0,Ud=(Ud<<7|Ud>>>25)+qd|0,Wd+=(Ud&qd|~Ud&zd)+Fd[13]-40341101|0,Wd=(Wd<<12|Wd>>>20)+Ud|0,zd+=(Wd&Ud|~Wd&qd)+Fd[14]-1502002290|0,zd=(zd<<17|zd>>>15)+Wd|0,qd+=(zd&Wd|~zd&Ud)+Fd[15]+1236535329|0,qd=(qd<<22|qd>>>10)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[1]-165796510|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[6]-1069501632|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[11]+643717713|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[0]-373897302|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[5]-701558691|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[10]+38016083|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[15]-660478335|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[4]-405537848|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[9]+568446438|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[14]-1019803690|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[3]-187363961|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[8]+1163531501|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd&Wd|zd&~Wd)+Fd[13]-1444681467|0,Ud=(Ud<<5|Ud>>>27)+qd|0,Wd+=(Ud&zd|qd&~zd)+Fd[2]-51403784|0,Wd=(Wd<<9|Wd>>>23)+Ud|0,zd+=(Wd&qd|Ud&~qd)+Fd[7]+1735328473|0,zd=(zd<<14|zd>>>18)+Wd|0,qd+=(zd&Ud|Wd&~Ud)+Fd[12]-1926607734|0,qd=(qd<<20|qd>>>12)+zd|0,Ud+=(qd^zd^Wd)+Fd[5]-378558|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[8]-2022574463|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[11]+1839030562|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[14]-35309556|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[1]-1530992060|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[4]+1272893353|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[7]-155497632|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[10]-1094730640|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[13]+681279174|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[0]-358537222|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[3]-722521979|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[6]+76029189|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(qd^zd^Wd)+Fd[9]-640364487|0,Ud=(Ud<<4|Ud>>>28)+qd|0,Wd+=(Ud^qd^zd)+Fd[12]-421815835|0,Wd=(Wd<<11|Wd>>>21)+Ud|0,zd+=(Wd^Ud^qd)+Fd[15]+530742520|0,zd=(zd<<16|zd>>>16)+Wd|0,qd+=(zd^Wd^Ud)+Fd[2]-995338651|0,qd=(qd<<23|qd>>>9)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[0]-198630844|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[7]+1126891415|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[14]-1416354905|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[5]-57434055|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[12]+1700485571|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[3]-1894986606|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[10]-1051523|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[1]-2054922799|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[8]+1873313359|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[15]-30611744|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[6]-1560198380|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[13]+1309151649|0,qd=(qd<<21|qd>>>11)+zd|0,Ud+=(zd^(qd|~Wd))+Fd[4]-145523070|0,Ud=(Ud<<6|Ud>>>26)+qd|0,Wd+=(qd^(Ud|~zd))+Fd[11]-1120210379|0,Wd=(Wd<<10|Wd>>>22)+Ud|0,zd+=(Ud^(Wd|~qd))+Fd[2]+718787259|0,zd=(zd<<15|zd>>>17)+Wd|0,qd+=(Wd^(zd|~Ud))+Fd[9]-343485551|0,qd=(qd<<21|qd>>>11)+zd|0,jd[0]=Ud+jd[0]|0,jd[1]=qd+jd[1]|0,jd[2]=zd+jd[2]|0,jd[3]=Wd+jd[3]|0}function ud(jd){var Fd=[],Ud;for(Ud=0;Ud<64;Ud+=4)Fd[Ud>>2]=jd.charCodeAt(Ud)+(jd.charCodeAt(Ud+1)<<8)+(jd.charCodeAt(Ud+2)<<16)+(jd.charCodeAt(Ud+3)<<24);return Fd}function dd(jd){var Fd=[],Ud;for(Ud=0;Ud<64;Ud+=4)Fd[Ud>>2]=jd[Ud]+(jd[Ud+1]<<8)+(jd[Ud+2]<<16)+(jd[Ud+3]<<24);return Fd}function pd(jd){var Fd=jd.length,Ud=[1732584193,-271733879,-1732584194,271733878],qd,zd,Wd,Jd,_f,Xd;for(qd=64;qd<=Fd;qd+=64)ld(Ud,ud(jd.substring(qd-64,qd)));for(jd=jd.substring(qd-64),zd=jd.length,Wd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],qd=0;qd>2]|=jd.charCodeAt(qd)<<(qd%4<<3);if(Wd[qd>>2]|=128<<(qd%4<<3),qd>55)for(ld(Ud,Wd),qd=0;qd<16;qd+=1)Wd[qd]=0;return Jd=Fd*8,Jd=Jd.toString(16).match(/(.*?)(.{0,8})$/),_f=parseInt(Jd[2],16),Xd=parseInt(Jd[1],16)||0,Wd[14]=_f,Wd[15]=Xd,ld(Ud,Wd),Ud}function fd(jd){var Fd=jd.length,Ud=[1732584193,-271733879,-1732584194,271733878],qd,zd,Wd,Jd,_f,Xd;for(qd=64;qd<=Fd;qd+=64)ld(Ud,dd(jd.subarray(qd-64,qd)));for(jd=qd-64>2]|=jd[qd]<<(qd%4<<3);if(Wd[qd>>2]|=128<<(qd%4<<3),qd>55)for(ld(Ud,Wd),qd=0;qd<16;qd+=1)Wd[qd]=0;return Jd=Fd*8,Jd=Jd.toString(16).match(/(.*?)(.{0,8})$/),_f=parseInt(Jd[2],16),Xd=parseInt(Jd[1],16)||0,Wd[14]=_f,Wd[15]=Xd,ld(Ud,Wd),Ud}function md(jd){var Fd="",Ud;for(Ud=0;Ud<4;Ud+=1)Fd+=od[jd>>Ud*8+4&15]+od[jd>>Ud*8&15];return Fd}function vd(jd){var Fd;for(Fd=0;FdWd?new ArrayBuffer(0):(Jd=Wd-zd,_f=new ArrayBuffer(Jd),Xd=new Uint8Array(_f),pf=new Uint8Array(this,zd,Jd),Xd.set(pf),_f)}}();function Ad(jd){return/[\u0080-\uFFFF]/.test(jd)&&(jd=unescape(encodeURIComponent(jd))),jd}function Nd(jd,Fd){var Ud=jd.length,qd=new ArrayBuffer(Ud),zd=new Uint8Array(qd),Wd;for(Wd=0;Wd>2]|=Fd.charCodeAt(qd)<<(qd%4<<3);return this._finish(zd,Ud),Wd=vd(this._hash),jd&&(Wd=Ld(Wd)),this.reset(),Wd},Gd.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Gd.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Gd.prototype.setState=function(jd){return this._buff=jd.buff,this._length=jd.length,this._hash=jd.hash,this},Gd.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Gd.prototype._finish=function(jd,Fd){var Ud=Fd,qd,zd,Wd;if(jd[Ud>>2]|=128<<(Ud%4<<3),Ud>55)for(ld(this._hash,jd),Ud=0;Ud<16;Ud+=1)jd[Ud]=0;qd=this._length*8,qd=qd.toString(16).match(/(.*?)(.{0,8})$/),zd=parseInt(qd[2],16),Wd=parseInt(qd[1],16)||0,jd[14]=zd,jd[15]=Wd,ld(this._hash,jd)},Gd.hash=function(jd,Fd){return Gd.hashBinary(Ad(jd),Fd)},Gd.hashBinary=function(jd,Fd){var Ud=pd(jd),qd=vd(Ud);return Fd?Ld(qd):qd},Gd.ArrayBuffer=function(){this.reset()},Gd.ArrayBuffer.prototype.append=function(jd){var Fd=kd(this._buff.buffer,jd),Ud=Fd.length,qd;for(this._length+=jd.byteLength,qd=64;qd<=Ud;qd+=64)ld(this._hash,dd(Fd.subarray(qd-64,qd)));return this._buff=qd-64>2]|=Fd[zd]<<(zd%4<<3);return this._finish(qd,Ud),Wd=vd(this._hash),jd&&(Wd=Ld(Wd)),this.reset(),Wd},Gd.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Gd.ArrayBuffer.prototype.getState=function(){var jd=Gd.prototype.getState.call(this);return jd.buff=Od(jd.buff),jd},Gd.ArrayBuffer.prototype.setState=function(jd){return jd.buff=Nd(jd.buff,!0),Gd.prototype.setState.call(this,jd)},Gd.ArrayBuffer.prototype.destroy=Gd.prototype.destroy,Gd.ArrayBuffer.prototype._finish=Gd.prototype._finish,Gd.ArrayBuffer.hash=function(jd,Fd){var Ud=fd(new Uint8Array(jd)),qd=vd(Ud);return Fd?Ld(qd):qd},Gd})})(sparkMd5);var sparkMd5Exports=sparkMd5.exports;const SparkMD5=getDefaultExportFromCjs(sparkMd5Exports);var __assign$5=function(){return __assign$5=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]Ra.size)nd=Ra.size;else for(;Ra.size>nd*1e4;)nd*=2;for(var od=[],ld=Math.ceil(Ra.size/nd),ud=0;ud3?qa[1]:qa[0];if(!nd)throw new QiniuError(QiniuErrorName.InvalidToken,"missing assess key field.");var od=null;try{od=JSON.parse(urlSafeBase64Decode(qa[qa.length-1]))}catch{throw new QiniuError(QiniuErrorName.InvalidToken,"token parse failed.")}if(od==null)throw new QiniuError(QiniuErrorName.InvalidToken,"putPolicy is null.");if(od.scope==null)throw new QiniuError(QiniuErrorName.InvalidToken,"scope field is null.");var ld=od.scope.split(":")[0];if(!ld)throw new QiniuError(QiniuErrorName.InvalidToken,"resolve bucketName failed.");return{assessKey:nd,bucketName:ld,scope:od.scope}}function createObjectURL(Ra){var qa=window.URL||window.webkitURL||window.mozURL;return qa.createObjectURL(Ra)}var _a,region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},regionUphostMap=(_a={},_a[region.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_a[region.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_a[region.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_a[region.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_a[region.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_a[region.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_a),stringifyPrimitive=function(Ra){switch(typeof Ra){case"string":return Ra;case"boolean":return Ra?"true":"false";case"number":return isFinite(Ra)?Ra:"";default:return""}},encode=function(Ra,qa,nd,od){return qa=qa||"&",nd=nd||"=",Ra===null&&(Ra=void 0),typeof Ra=="object"?Object.keys(Ra).map(function(ld){var ud=encodeURIComponent(stringifyPrimitive(ld))+nd;return Array.isArray(Ra[ld])?Ra[ld].map(function(dd){return ud+encodeURIComponent(stringifyPrimitive(dd))}).join(qa):ud+encodeURIComponent(stringifyPrimitive(Ra[ld]))}).filter(Boolean).join(qa):od?encodeURIComponent(stringifyPrimitive(od))+nd+encodeURIComponent(stringifyPrimitive(Ra)):""},stringify;stringify=encode;var __assign$4=function(){return __assign$4=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]0?[2,od+"://"+nd.uphost[0]]:(ld=getPutPolicy(qa),[4,getUpHosts(ld.assessKey,ld.bucketName,od)]);case 1:return ud=pd.sent(),dd=ud.data.up.acc.main,[2,od+"://"+dd[0]]}})})}var __assign$3=function(){return __assign$3=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$3=function(){for(var Ra=[],qa=0;qa1e4*GB)return this.handleError(new QiniuError(QiniuErrorName.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!isCustomVarsValid(this.putExtra.customVars))return this.handleError(new QiniuError(QiniuErrorName.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!isMetaDataValid(this.putExtra.metadata))return this.handleError(new QiniuError(QiniuErrorName.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];ud.label=1;case 1:return ud.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return ud.sent(),[4,this.run()];case 3:return qa=ud.sent(),this.onComplete(qa.data),this.checkAndUnfreezeHost(),this.sendLog(qa.reqId,200),[2];case 4:return nd=ud.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(nd),nd instanceof QiniuRequestError&&(this.sendLog(nd.reqId,nd.code),this.checkAndFreezeHost(nd),od=++this.retryCount<=this.config.retryCount,ld=RETRY_CODE_LIST.includes(nd.code),ld&&od)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(nd),[3,5]));case 5:return[2]}})})},Ra.prototype.clear=function(){this.xhrList.forEach(function(qa){qa.onreadystatechange=null,qa.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},Ra.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},Ra.prototype.addXhr=function(qa){this.xhrList.push(qa)},Ra.prototype.sendLog=function(qa,nd){var od,ld;this.logger.report({code:nd,reqId:qa,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:getPortFromUrl((od=this.uploadHost)===null||od===void 0?void 0:od.getUrl()),host:getDomainFromUrl((ld=this.uploadHost)===null||ld===void 0?void 0:ld.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},Ra.prototype.getProgressInfoItem=function(qa,nd,od){return __assign$3({size:nd,loaded:qa,percent:qa/nd*100},od==null?{}:{fromCache:od})},Ra}(),__extends$1=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$2=function(){return __assign$2=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]1024)throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:fd.sent(),nd=new Pool(function(md){return __awaiter$4(pd,void 0,void 0,function(){return __generator$4(this,function(vd){switch(vd.label){case 0:if(this.aborted)throw nd.abort(),new Error("pool is aborted");return[4,this.uploadChunk(md)];case 1:return vd.sent(),[2]}})})},this.config.concurrentRequestLimit),od=null,ld=this.getLocalKey(),ud=this.chunks.map(function(md,vd){return nd.enqueue({chunk:md,index:vd})}),fd.label=2;case 2:return fd.trys.push([2,5,,6]),[4,Promise.all(ud)];case 3:return fd.sent(),[4,this.mkFileReq()];case 4:return od=fd.sent(),[3,6];case 5:throw dd=fd.sent(),dd instanceof QiniuRequestError&&(dd.code===612||dd.code===400)&&removeLocalFileInfo(ld,this.logger),dd;case 6:return removeLocalFileInfo(ld,this.logger),[2,od]}})})},qa.prototype.uploadChunk=function(nd){return __awaiter$4(this,void 0,void 0,function(){var od,ld,ud,dd,pd,fd,md,vd,Ad,Nd=this;return __generator$4(this,function(Od){switch(Od.label){case 0:return od=nd.index,ld=nd.chunk,ud=this.cachedUploadedList[od],this.logger.info("upload part "+od+", cache:",ud),dd=this.config.checkByMD5,pd=function(){Nd.usedCacheList[od]=!0,Nd.updateChunkProgress(ld.size,od),Nd.uploadedList[od]=ud,Nd.updateLocalCache()},ud&&!dd?(pd(),[2]):[4,computeMd5(ld)];case 1:return fd=Od.sent(),this.logger.info("computed part md5.",fd),ud&&fd===ud.md5?(pd(),[2]):(this.usedCacheList[od]=!1,md=function(kd){Nd.updateChunkProgress(kd.loaded,od)},vd={body:ld,md5:this.config.checkByServer?fd:void 0,onProgress:md,onCreate:function(kd){return Nd.addXhr(kd)}},this.logger.info("part "+od+" start uploading."),[4,uploadChunk(this.token,this.key,nd.index+1,this.getUploadInfo(),vd)]);case 2:return Ad=Od.sent(),this.logger.info("part "+od+" upload completed."),md({loaded:ld.size,total:ld.size}),this.uploadedList[od]={etag:Ad.data.etag,md5:Ad.data.md5,size:ld.size},this.updateLocalCache(),[2]}})})},qa.prototype.mkFileReq=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld=this;return __generator$4(this,function(ud){switch(ud.label){case 0:return nd=__assign$2(__assign$2(__assign$2({parts:this.uploadedList.map(function(dd,pd){return{etag:dd.etag,partNumber:pd+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",nd),[4,uploadComplete(this.token,this.key,this.getUploadInfo(),{onCreate:function(dd){return ld.addXhr(dd)},body:JSON.stringify(nd)})];case 1:return od=ud.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,od]}})})},qa.prototype.initBeforeUploadChunks=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld;return __generator$4(this,function(ud){switch(ud.label){case 0:return this.uploadedList=[],this.usedCacheList=[],nd=getLocalFileInfo(this.getLocalKey(),this.logger),nd?[3,2]:(this.logger.info("init upload parts from api."),[4,initUploadParts(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return od=ud.sent(),this.logger.info("initd upload parts of id: "+od.data.uploadId+"."),this.uploadId=od.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:ld=["resume upload parts from local cache,","total "+nd.data.length+" part,","id is "+nd.id+"."],this.logger.info(ld.join(" ")),this.cachedUploadedList=nd.data,this.uploadId=nd.id,ud.label=3;case 3:return this.chunks=getChunks(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(dd){return 0})},this.notifyResumeProgress(),[2]}})})},qa.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},qa.prototype.getLocalKey=function(){return createLocalKey(this.file.name,this.key,this.file.size)},qa.prototype.updateLocalCache=function(){setLocalFileInfo(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},qa.prototype.updateChunkProgress=function(nd,od){this.loaded.chunks[od]=nd,this.notifyResumeProgress()},qa.prototype.updateMkFileProgress=function(nd){this.loaded.mkFileProgress=nd,this.notifyResumeProgress()},qa.prototype.notifyResumeProgress=function(){var nd=this;this.progress={total:this.getProgressInfoItem(sum(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(od,ld){var ud=nd.usedCacheList[ld];return nd.getProgressInfoItem(nd.loaded.chunks[ld],od.size,ud)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},qa}(Base),__awaiter$3=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$3=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]>>1^3988292384:od>>>=1;qa[nd]=od}return qa},Ra.prototype.append=function(qa){for(var nd=this.crc,od=0;od>>8^this.table[(nd^qa[od])&255];this.crc=nd},Ra.prototype.compute=function(){return(this.crc^-1)>>>0},Ra.prototype.readAsUint8Array=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd;return __generator$3(this,function(od){switch(od.label){case 0:return typeof qa.arrayBuffer!="function"?[3,2]:(nd=Uint8Array.bind,[4,qa.arrayBuffer()]);case 1:return[2,new(nd.apply(Uint8Array,[void 0,od.sent()]))];case 2:return[2,new Promise(function(ld,ud){var dd=new FileReader;dd.onload=function(){if(dd.result==null){ud();return}if(typeof dd.result=="string"){ud();return}ld(new Uint8Array(dd.result))},dd.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd,od,ld,ud,dd,pd;return __generator$3(this,function(fd){switch(fd.label){case 0:return qa.size<=MB?(nd=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return nd.apply(this,[fd.sent()]),[2,this.compute()];case 2:od=Math.ceil(qa.size/MB),ld=0,fd.label=3;case 3:return ld0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]0&&reportV3(Ra,qa,nd-1)};var ld=[qa.code||"",qa.reqId||"",qa.host||"",qa.remoteIp||"",qa.port||"",qa.duration||"",qa.time||"",qa.bytesSent||"",qa.upType||"",qa.size||""].join(",");od.send(ld)}var __read$2=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$2=function(){for(var Ra=[],qa=0;qa0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$1=function(){for(var Ra=[],qa=0;qa=qa},Ra.prototype.freeze=function(qa){qa===void 0&&(qa=20);var nd=new Date().getTime()+qa*1e3;unfreezeTimeMap.set(this.host,nd)},Ra.prototype.unfreeze=function(){unfreezeTimeMap.delete(this.host)},Ra.prototype.getUrl=function(){return this.protocol+"://"+this.host},Ra.prototype.getUnfreezeTime=function(){return unfreezeTimeMap.get(this.host)},Ra}(),HostPool=function(){function Ra(qa){qa===void 0&&(qa=[]),this.initHosts=qa,this.cachedHostsMap=new Map}return Ra.prototype.register=function(qa,nd,od,ld){this.cachedHostsMap.set(qa+"@"+nd,od.map(function(ud){return new Host(ud,ld)}))},Ra.prototype.refresh=function(qa,nd,od){var ld,ud,dd,pd;return __awaiter$1(this,void 0,void 0,function(){var fd,md,vd;return __generator$1(this,function(Ad){switch(Ad.label){case 0:return fd=this.cachedHostsMap.get(qa+"@"+nd)||[],fd.length>0?[2]:this.initHosts.length>0?(this.register(qa,nd,this.initHosts,od),[2]):[4,getUpHosts(qa,nd,od)];case 1:return md=Ad.sent(),(md==null?void 0:md.data)!=null&&(vd=__spread$1(((ud=(ld=md.data.up)===null||ld===void 0?void 0:ld.acc)===null||ud===void 0?void 0:ud.main)||[],((pd=(dd=md.data.up)===null||dd===void 0?void 0:dd.acc)===null||pd===void 0?void 0:pd.backup)||[]),this.register(qa,nd,vd,od)),[2]}})})},Ra.prototype.getUp=function(qa,nd,od){return __awaiter$1(this,void 0,void 0,function(){var ld,ud,dd;return __generator$1(this,function(pd){switch(pd.label){case 0:return[4,this.refresh(qa,nd,od)];case 1:return pd.sent(),ld=this.cachedHostsMap.get(qa+"@"+nd)||[],ld.length===0?[2,null]:(ud=ld.filter(function(fd){return!fd.isFrozen()}),ud.length>0?[2,ud[0]]:(dd=ld.slice().sort(function(fd,md){return(fd.getUnfreezeTime()||0)-(md.getUnfreezeTime()||0)}),[2,dd[0]]))}})})},Ra}();function createUploadManager(Ra,qa,nd,od){return Ra.config&&Ra.config.forceDirect?(od.info("ues forceDirect mode."),new Direct(Ra,qa,nd,od)):Ra.file.size>4*MB?(od.info("file size over 4M, use Resume."),new Resume(Ra,qa,nd,od)):(od.info("file size less or equal than 4M, use Direct."),new Direct(Ra,qa,nd,od))}function upload(Ra,qa,nd,od,ld){var ud=new Logger(nd,ld==null?void 0:ld.disableStatisticsReport,ld==null?void 0:ld.debugLogLevel,Ra.name),dd={file:Ra,key:qa,token:nd,putExtra:od,config:normalizeUploadConfig(ld,ud)},pd=new HostPool(dd.config.uphost);return new Observable(function(fd){var md=createUploadManager(dd,{onData:function(vd){return fd.next(vd)},onError:function(vd){return fd.error(vd)},onComplete:function(vd){return fd.complete(vd)}},pd,ud);return md.putFile(),md.stop.bind(md)})}var __assign$1=function(){return __assign$1=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread=function(){for(var Ra=[],qa=0;qa0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:dd,width:ud.width,height:ud.height}]}})})},Ra.prototype.clear=function(qa,nd,od){this.outputType===defaultType?(qa.fillStyle="#fff",qa.fillRect(0,0,nd,od)):qa.clearRect(0,0,nd,od)},Ra.prototype.getOriginImage=function(){var qa=this;return new Promise(function(nd,od){var ld=createObjectURL(qa.file),ud=new Image;ud.onload=function(){nd(ud)},ud.onerror=function(){od("image load error")},ud.src=ld})},Ra.prototype.getCanvas=function(qa){var nd=this;return new Promise(function(od,ld){var ud=document.createElement("canvas"),dd=ud.getContext("2d");if(!dd){ld(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var pd=qa.width,fd=qa.height;ud.height=fd,ud.width=pd,nd.clear(dd,pd,fd),dd.drawImage(qa,0,0),od(ud)})},Ra.prototype.doScale=function(qa,nd){return __awaiter(this,void 0,void 0,function(){var od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Od,kd,Ld,Gd,jd,Fd;return __generator(this,function(Ud){if(nd===1)return[2,qa];if(od=qa.getContext("2d"),ld=Math.min(maxSteps,Math.ceil(1/nd/scaleFactor)),ud=Math.pow(nd,1/ld),dd=document.createElement("canvas"),pd=dd.getContext("2d"),fd=qa.width,md=qa.height,vd=fd,Ad=md,dd.width=fd,dd.height=md,!pd||!od)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(kd=0;kd{const a=await g("info",r);s.debug(a)},"parse")},d={version:p},m=e(()=>d.version,"getVersion"),c={getVersion:m},l=e((r,a,o)=>{s.debug(`rendering info diagram +import{_ as e,l as s,G as n,k as i,H as p}from"./md-index-TGP-egEp.js";import{p as g}from"./md-gitGraph-YCYPL57B-DO9uQgTZ.js";import"./md-_baseUniq-Bm0iSxF4.js";import"./md-_basePickBy-D2Yv_vSZ.js";import"./md-clone-Bb0Qs8zN.js";var v={parse:e(async r=>{const a=await g("info",r);s.debug(a)},"parse")},d={version:p},m=e(()=>d.version,"getVersion"),c={getVersion:m},l=e((r,a,o)=>{s.debug(`rendering info diagram `+r);const t=n(a);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),f={draw:l},S={parser:v,db:c,renderer:f};export{S as diagram}; diff --git a/static/js/md-journeyDiagram-G5WM74LC-Bt4ZsCdk.js b/static/js/md-journeyDiagram-G5WM74LC-FvtN3AEU.js similarity index 99% rename from static/js/md-journeyDiagram-G5WM74LC-Bt4ZsCdk.js rename to static/js/md-journeyDiagram-G5WM74LC-FvtN3AEU.js index 9bf35e6..0ed2237 100644 --- a/static/js/md-journeyDiagram-G5WM74LC-Bt4ZsCdk.js +++ b/static/js/md-journeyDiagram-G5WM74LC-FvtN3AEU.js @@ -1,4 +1,4 @@ -import{d as ft,f as gt,g as at,b as mt}from"./md-chunk-ASOPGD6M-fXQ-YCai.js";import{_ as i,d as A,p as xt,q as kt,s as _t,g as vt,c as bt,b as wt,v as Tt,j as W,k as St}from"./md-index-trBnGDGX.js";import{d as tt}from"./md-arc-CJtsns1o.js";var H=function(){var t=i(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],c=[1,10],s=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:i(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:i(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,J=0,ut=2,K=1,yt=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(E.yy[O]=this.yy[O]);k.setInput(r,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Y=k.yylloc;o.push(Y);var dt=k.options&&k.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(b){l.length=l.length-2*b,f.length=f.length-b,o.length=o.length-b}i(pt,"popStack");function Q(){var b;return b=y.pop()||k.lex()||K,typeof b!="number"&&(b instanceof Array&&(y=b,b=y.pop()),b=a.symbols_[b]||b),b}i(Q,"lex");for(var v,P,w,q,C={},j,M,D,N;;){if(P=l[l.length-1],this.defaultActions[P]?w=this.defaultActions[P]:((v===null||typeof v>"u")&&(v=Q()),w=S[P]&&S[P][v]),typeof w>"u"||!w.length||!w[0]){var G="";N=[];for(j in S[P])this.terminals_[j]&&j>ut&&N.push("'"+this.terminals_[j]+"'");k.showPosition?G="Parse error on line "+(B+1)+`: +import{d as ft,f as gt,g as at,b as mt}from"./md-chunk-ASOPGD6M-BXMG1Nfx.js";import{_ as i,d as A,p as xt,q as kt,s as _t,g as vt,c as bt,b as wt,v as Tt,j as W,k as St}from"./md-index-TGP-egEp.js";import{d as tt}from"./md-arc-Ce2V3LWk.js";var H=function(){var t=i(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],c=[1,10],s=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:i(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:i(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,J=0,ut=2,K=1,yt=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(E.yy[O]=this.yy[O]);k.setInput(r,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Y=k.yylloc;o.push(Y);var dt=k.options&&k.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(b){l.length=l.length-2*b,f.length=f.length-b,o.length=o.length-b}i(pt,"popStack");function Q(){var b;return b=y.pop()||k.lex()||K,typeof b!="number"&&(b instanceof Array&&(y=b,b=y.pop()),b=a.symbols_[b]||b),b}i(Q,"lex");for(var v,P,w,q,C={},j,M,D,N;;){if(P=l[l.length-1],this.defaultActions[P]?w=this.defaultActions[P]:((v===null||typeof v>"u")&&(v=Q()),w=S[P]&&S[P][v]),typeof w>"u"||!w.length||!w[0]){var G="";N=[];for(j in S[P])this.terminals_[j]&&j>ut&&N.push("'"+this.terminals_[j]+"'");k.showPosition?G="Parse error on line "+(B+1)+`: `+k.showPosition()+` Expecting `+N.join(", ")+", got '"+(this.terminals_[v]||v)+"'":G="Parse error on line "+(B+1)+": Unexpected "+(v==K?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(G,{text:k.match,token:this.terminals_[v]||v,line:k.yylineno,loc:Y,expected:N})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+v);switch(w[0]){case 1:l.push(v),f.push(k.yytext),o.push(k.yylloc),l.push(w[1]),v=null,J=k.yyleng,_=k.yytext,B=k.yylineno,Y=k.yylloc;break;case 2:if(M=this.productions_[w[1]][1],C.$=f[f.length-M],C._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},dt&&(C._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),q=this.performAction.apply(C,[_,J,B,E.yy,w[1],f,o].concat(yt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),f=f.slice(0,-1*M),o=o.slice(0,-1*M)),l.push(this.productions_[w[1]][0]),f.push(C.$),o.push(C._$),D=S[l[l.length-2]][l[l.length-1]],l.push(D);break;case 3:return!0}}return!0},"parse")},x=function(){var g={EOF:1,parseError:i(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:i(function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:i(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(r){this.unput(this.match.slice(r))},"less"),pastInput:i(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/static/js/md-kanban-definition-QRCXZQQD-D2I46iO-.js b/static/js/md-kanban-definition-QRCXZQQD-BS7gU4kH.js similarity index 99% rename from static/js/md-kanban-definition-QRCXZQQD-D2I46iO-.js rename to static/js/md-kanban-definition-QRCXZQQD-BS7gU4kH.js index 929fa45..c978f69 100644 --- a/static/js/md-kanban-definition-QRCXZQQD-D2I46iO-.js +++ b/static/js/md-kanban-definition-QRCXZQQD-BS7gU4kH.js @@ -1,4 +1,4 @@ -import{_ as c,l as te,d as W,G as fe,ae as ye,af as be,ag as me,V as _e,B as K,i as F,r as Ee,J as ke,W as Se,X as le,Y as ce}from"./md-index-trBnGDGX.js";var $=function(){var t=c(function(_,s,n,a){for(n=n||{},a=_.length;a--;n[_[a]]=s);return n},"o"),g=[1,4],d=[1,13],r=[1,12],p=[1,15],E=[1,16],f=[1,20],h=[1,19],L=[6,7,8],C=[1,26],w=[1,24],N=[1,25],i=[6,7,11],M=[1,31],x=[6,7,11,24],P=[1,6,13,16,17,20,23],U=[1,35],j=[1,36],A=[1,6,7,11,13,16,17,20,23],H=[1,38],V={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(s,n,a,o,u,e,B){var l=e.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",e[l-1].id),o.addNode(e[l-2].length,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 16:o.getLogger().info("Node: ",e[l].id),o.addNode(e[l-1].length,e[l].id,e[l].descr,e[l].type);break;case 17:o.getLogger().trace("Icon: ",e[l]),o.decorateNode({icon:e[l]});break;case 18:case 23:o.decorateNode({class:e[l]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",e[l-1].id),o.addNode(0,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 21:o.getLogger().trace("Node: ",e[l].id),o.addNode(0,e[l].id,e[l].descr,e[l].type);break;case 22:o.decorateNode({icon:e[l]});break;case 27:o.getLogger().trace("node found ..",e[l-2]),this.$={id:e[l-1],descr:e[l-1],type:o.getType(e[l-2],e[l])};break;case 28:this.$={id:e[l],descr:e[l],type:0};break;case 29:o.getLogger().trace("node found ..",e[l-3]),this.$={id:e[l-3],descr:e[l-1],type:o.getType(e[l-2],e[l])};break;case 30:this.$=e[l-1]+e[l];break;case 31:this.$=e[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:g},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:g},{6:d,7:[1,10],9:9,12:11,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},t(L,[2,3]),{1:[2,2]},t(L,[2,4]),t(L,[2,5]),{1:[2,6],6:d,12:21,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},{6:d,9:22,12:11,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},{6:C,7:w,10:23,11:N},t(i,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:f,23:h}),t(i,[2,19]),t(i,[2,21],{15:30,24:M}),t(i,[2,22]),t(i,[2,23]),t(x,[2,25]),t(x,[2,26]),t(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:w,10:34,11:N},{1:[2,7],6:d,12:21,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},t(P,[2,14],{7:U,11:j}),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(i,[2,16],{15:37,24:M}),t(i,[2,17]),t(i,[2,18]),t(i,[2,20],{24:H}),t(x,[2,31]),{21:[1,39]},{22:[1,40]},t(P,[2,13],{7:U,11:j}),t(A,[2,11]),t(A,[2,12]),t(i,[2,15],{24:H}),t(x,[2,30]),{22:[1,41]},t(x,[2,27]),t(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(s,n){if(n.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=n,a}},"parseError"),parse:c(function(s){var n=this,a=[0],o=[],u=[null],e=[],B=this.table,l="",z=0,ie=0,ue=2,re=1,ge=e.slice.call(arguments,1),b=Object.create(this.lexer),T={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(T.yy[J]=this.yy[J]);b.setInput(s,T.yy),T.yy.lexer=b,T.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;e.push(q);var de=b.options&&b.options.ranges;typeof T.yy.parseError=="function"?this.parseError=T.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){a.length=a.length-2*S,u.length=u.length-S,e.length=e.length-S}c(pe,"popStack");function ae(){var S;return S=o.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=n.symbols_[S]||S),S}c(ae,"lex");for(var k,R,v,Q,G={},X,I,oe,Y;;){if(R=a[a.length-1],this.defaultActions[R]?v=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=ae()),v=B[R]&&B[R][k]),typeof v>"u"||!v.length||!v[0]){var Z="";Y=[];for(X in B[R])this.terminals_[X]&&X>ue&&Y.push("'"+this.terminals_[X]+"'");b.showPosition?Z="Parse error on line "+(z+1)+`: +import{_ as c,l as te,d as W,G as fe,ae as ye,af as be,ag as me,V as _e,B as K,i as F,r as Ee,J as ke,W as Se,X as le,Y as ce}from"./md-index-TGP-egEp.js";var $=function(){var t=c(function(_,s,n,a){for(n=n||{},a=_.length;a--;n[_[a]]=s);return n},"o"),g=[1,4],d=[1,13],r=[1,12],p=[1,15],E=[1,16],f=[1,20],h=[1,19],L=[6,7,8],C=[1,26],w=[1,24],N=[1,25],i=[6,7,11],M=[1,31],x=[6,7,11,24],P=[1,6,13,16,17,20,23],U=[1,35],j=[1,36],A=[1,6,7,11,13,16,17,20,23],H=[1,38],V={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(s,n,a,o,u,e,B){var l=e.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",e[l-1].id),o.addNode(e[l-2].length,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 16:o.getLogger().info("Node: ",e[l].id),o.addNode(e[l-1].length,e[l].id,e[l].descr,e[l].type);break;case 17:o.getLogger().trace("Icon: ",e[l]),o.decorateNode({icon:e[l]});break;case 18:case 23:o.decorateNode({class:e[l]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",e[l-1].id),o.addNode(0,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 21:o.getLogger().trace("Node: ",e[l].id),o.addNode(0,e[l].id,e[l].descr,e[l].type);break;case 22:o.decorateNode({icon:e[l]});break;case 27:o.getLogger().trace("node found ..",e[l-2]),this.$={id:e[l-1],descr:e[l-1],type:o.getType(e[l-2],e[l])};break;case 28:this.$={id:e[l],descr:e[l],type:0};break;case 29:o.getLogger().trace("node found ..",e[l-3]),this.$={id:e[l-3],descr:e[l-1],type:o.getType(e[l-2],e[l])};break;case 30:this.$=e[l-1]+e[l];break;case 31:this.$=e[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:g},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:g},{6:d,7:[1,10],9:9,12:11,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},t(L,[2,3]),{1:[2,2]},t(L,[2,4]),t(L,[2,5]),{1:[2,6],6:d,12:21,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},{6:d,9:22,12:11,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},{6:C,7:w,10:23,11:N},t(i,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:f,23:h}),t(i,[2,19]),t(i,[2,21],{15:30,24:M}),t(i,[2,22]),t(i,[2,23]),t(x,[2,25]),t(x,[2,26]),t(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:w,10:34,11:N},{1:[2,7],6:d,12:21,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},t(P,[2,14],{7:U,11:j}),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(i,[2,16],{15:37,24:M}),t(i,[2,17]),t(i,[2,18]),t(i,[2,20],{24:H}),t(x,[2,31]),{21:[1,39]},{22:[1,40]},t(P,[2,13],{7:U,11:j}),t(A,[2,11]),t(A,[2,12]),t(i,[2,15],{24:H}),t(x,[2,30]),{22:[1,41]},t(x,[2,27]),t(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(s,n){if(n.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=n,a}},"parseError"),parse:c(function(s){var n=this,a=[0],o=[],u=[null],e=[],B=this.table,l="",z=0,ie=0,ue=2,re=1,ge=e.slice.call(arguments,1),b=Object.create(this.lexer),T={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(T.yy[J]=this.yy[J]);b.setInput(s,T.yy),T.yy.lexer=b,T.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;e.push(q);var de=b.options&&b.options.ranges;typeof T.yy.parseError=="function"?this.parseError=T.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){a.length=a.length-2*S,u.length=u.length-S,e.length=e.length-S}c(pe,"popStack");function ae(){var S;return S=o.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=n.symbols_[S]||S),S}c(ae,"lex");for(var k,R,v,Q,G={},X,I,oe,Y;;){if(R=a[a.length-1],this.defaultActions[R]?v=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=ae()),v=B[R]&&B[R][k]),typeof v>"u"||!v.length||!v[0]){var Z="";Y=[];for(X in B[R])this.terminals_[X]&&X>ue&&Y.push("'"+this.terminals_[X]+"'");b.showPosition?Z="Parse error on line "+(z+1)+`: `+b.showPosition()+` Expecting `+Y.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Z="Parse error on line "+(z+1)+": Unexpected "+(k==re?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[k]||k,line:b.yylineno,loc:q,expected:Y})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+k);switch(v[0]){case 1:a.push(k),u.push(b.yytext),e.push(b.yylloc),a.push(v[1]),k=null,ie=b.yyleng,l=b.yytext,z=b.yylineno,q=b.yylloc;break;case 2:if(I=this.productions_[v[1]][1],G.$=u[u.length-I],G._$={first_line:e[e.length-(I||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(I||1)].first_column,last_column:e[e.length-1].last_column},de&&(G._$.range=[e[e.length-(I||1)].range[0],e[e.length-1].range[1]]),Q=this.performAction.apply(G,[l,ie,z,T.yy,v[1],u,e].concat(ge)),typeof Q<"u")return Q;I&&(a=a.slice(0,-1*I*2),u=u.slice(0,-1*I),e=e.slice(0,-1*I)),a.push(this.productions_[v[1]][0]),u.push(G.$),e.push(G._$),oe=B[a[a.length-2]][a[a.length-1]],a.push(oe);break;case 3:return!0}}return!0},"parse")},m=function(){var _={EOF:1,parseError:c(function(n,a){if(this.yy.parser)this.yy.parser.parseError(n,a);else throw new Error(n)},"parseError"),setInput:c(function(s,n){return this.yy=n||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:c(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:c(function(s){var n=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:c(function(s){this.unput(this.match.slice(s))},"less"),pastInput:c(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+` diff --git a/static/js/md-layout-RM1NcZIM.js b/static/js/md-layout-D5yfjIxP.js similarity index 98% rename from static/js/md-layout-RM1NcZIM.js rename to static/js/md-layout-D5yfjIxP.js index ae60c23..66cf946 100644 --- a/static/js/md-layout-RM1NcZIM.js +++ b/static/js/md-layout-D5yfjIxP.js @@ -1 +1 @@ -import{G as g}from"./md-graph-u9ZJyewn.js";import{b as Te,p as ce,q as le,g as z,e as ee,l as j,o as Ie,s as Me,c as Se,u as Fe,d as f,i as m,f as _,v as x,r as M}from"./md-_baseUniq-B7UZj1IW.js";import{f as O,b as he,a as je,c as Ve,d as Ae,t as V,m as w,e as P,h as ve,g as U,l as T,i as Be}from"./md-_basePickBy-BMLPiLYr.js";import{b6 as Ge,b7 as Ye,b8 as De,aO as qe,b9 as $e,aS as pe,aR as we,ba as We,aN as q,aA as ze,aU as Ue,aC as Xe,bb as $}from"./md-index-trBnGDGX.js";function He(e){return Ge(Ye(e,void 0,O),e+"")}var Je=1,Ze=4;function Ke(e){return Te(e,Je|Ze)}function Qe(e,n){return e==null?e:De(e,ce(n),qe)}function en(e,n){return e&&le(e,ce(n))}function nn(e,n){return e>n}function S(e,n){var r={};return n=z(n),le(e,function(t,a,i){$e(r,a,n(t,a,i))}),r}function y(e){return e&&e.length?he(e,pe,nn):void 0}function X(e,n){return e&&e.length?he(e,z(n),je):void 0}function rn(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e}function tn(e,n){if(e!==n){var r=e!==void 0,t=e===null,a=e===e,i=ee(e),o=n!==void 0,u=n===null,d=n===n,s=ee(n);if(!u&&!s&&!i&&e>n||i&&o&&d&&!u&&!s||t&&o&&d||!r&&d||!a)return 1;if(!t&&!i&&!s&&e=u)return d;var s=r[t];return d*(s=="desc"?-1:1)}}return e.index-n.index}function on(e,n,r){n.length?n=j(n,function(i){return we(i)?function(o){return Ie(o,i.length===1?i[0]:i)}:i}):n=[pe];var t=-1;n=j(n,We(z));var a=Ve(e,function(i,o,u){var d=j(n,function(s){return s(i)});return{criteria:d,index:++t,value:i}});return rn(a,function(i,o){return an(i,o,r)})}function un(e,n){return Ae(e,n,function(r,t){return Me(e,t)})}var I=He(function(e,n){return e==null?{}:un(e,n)}),dn=Math.ceil,sn=Math.max;function fn(e,n,r,t){for(var a=-1,i=sn(dn((n-e)/(r||1)),0),o=Array(i);i--;)o[++a]=e,e+=r;return o}function cn(e){return function(n,r,t){return t&&typeof t!="number"&&q(n,r,t)&&(r=t=void 0),n=V(n),r===void 0?(r=n,n=0):r=V(r),t=t===void 0?n1&&q(e,n[0],n[1])?n=[]:r>2&&q(n[0],n[1],n[2])&&(n=[n[0]]),on(e,Se(n),[])}),ln=0;function H(e){var n=++ln;return Fe(e)+n}function hn(e,n,r){for(var t=-1,a=e.length,i=n.length,o={};++t0;--u)if(o=n[u].dequeue(),o){t=t.concat(A(e,n,r,o,!0));break}}}return t}function A(e,n,r,t,a){var i=a?[]:void 0;return f(e.inEdges(t.v),function(o){var u=e.edge(o),d=e.node(o.v);a&&i.push({v:o.v,w:o.w}),d.out-=u,W(n,r,d)}),f(e.outEdges(t.v),function(o){var u=e.edge(o),d=o.w,s=e.node(d);s.in-=u,W(n,r,s)}),e.removeNode(t.v),i}function yn(e,n){var r=new g,t=0,a=0;f(e.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),f(e.edges(),function(u){var d=r.edge(u.v,u.w)||0,s=n(u),c=d+s;r.setEdge(u.v,u.w,c),a=Math.max(a,r.node(u.v).out+=s),t=Math.max(t,r.node(u.w).in+=s)});var i=E(a+t+3).map(function(){return new pn}),o=t+1;return f(r.nodes(),function(u){W(i,o,r.node(u))}),{graph:r,buckets:i,zeroIdx:o}}function W(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function kn(e){var n=e.graph().acyclicer==="greedy"?mn(e,r(e)):xn(e);f(n,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,H("rev"))});function r(t){return function(a){return t.edge(a).weight}}}function xn(e){var n=[],r={},t={};function a(i){Object.prototype.hasOwnProperty.call(t,i)||(t[i]=!0,r[i]=!0,f(e.outEdges(i),function(o){Object.prototype.hasOwnProperty.call(r,o.w)?n.push(o):a(o.w)}),delete r[i])}return f(e.nodes(),a),n}function En(e){f(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}function L(e,n,r,t){var a;do a=H(t);while(e.hasNode(a));return r.dummy=n,e.setNode(a,r),a}function On(e){var n=new g().setGraph(e.graph());return f(e.nodes(),function(r){n.setNode(r,e.node(r))}),f(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},a=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),n}function be(e){var n=new g({multigraph:e.isMultigraph()}).setGraph(e.graph());return f(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),f(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function re(e,n){var r=e.x,t=e.y,a=n.x-r,i=n.y-t,o=e.width/2,u=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var d,s;return Math.abs(i)*o>Math.abs(a)*u?(i<0&&(u=-u),d=u*a/i,s=u):(a<0&&(o=-o),d=o,s=o*i/a),{x:r+d,y:t+s}}function F(e){var n=w(E(me(e)+1),function(){return[]});return f(e.nodes(),function(r){var t=e.node(r),a=t.rank;m(a)||(n[a][t.order]=r)}),n}function Ln(e){var n=P(w(e.nodes(),function(r){return e.node(r).rank}));f(e.nodes(),function(r){var t=e.node(r);ve(t,"rank")&&(t.rank-=n)})}function Nn(e){var n=P(w(e.nodes(),function(i){return e.node(i).rank})),r=[];f(e.nodes(),function(i){var o=e.node(i).rank-n;r[o]||(r[o]=[]),r[o].push(i)});var t=0,a=e.graph().nodeRankFactor;f(r,function(i,o){m(i)&&o%a!==0?--t:t&&f(i,function(u){e.node(u).rank+=t})})}function te(e,n,r,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=r,a.order=t),L(e,"border",a,n)}function me(e){return y(w(e.nodes(),function(n){var r=e.node(n).rank;if(!m(r))return r}))}function Pn(e,n){var r={lhs:[],rhs:[]};return f(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}function Cn(e,n){return n()}function _n(e){function n(r){var t=e.children(r),a=e.node(r);if(t.length&&f(t,n),Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,o=a.maxRank+1;io.lim&&(u=o,d=!0);var s=_(n.edges(),function(c){return d===oe(e,e.node(c.v),u)&&d!==oe(e,e.node(c.w),u)});return X(s,function(c){return C(n,c)})}function Pe(e,n,r,t){var a=r.v,i=r.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),K(e),Z(e,n),$n(e,n)}function $n(e,n){var r=U(e.nodes(),function(a){return!n.node(a).parent}),t=Dn(e,r);t=t.slice(1),f(t,function(a){var i=e.node(a).parent,o=n.edge(a,i),u=!1;o||(o=n.edge(i,a),u=!0),n.node(a).rank=n.node(i).rank+(u?o.minlen:-o.minlen)})}function Wn(e,n,r){return e.hasEdge(n,r)}function oe(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function zn(e){switch(e.graph().ranker){case"network-simplex":ue(e);break;case"tight-tree":Xn(e);break;case"longest-path":Un(e);break;default:ue(e)}}var Un=J;function Xn(e){J(e),ye(e)}function ue(e){k(e)}function Hn(e){var n=L(e,"root",{},"_root"),r=Jn(e),t=y(x(r))-1,a=2*t+1;e.graph().nestingRoot=n,f(e.edges(),function(o){e.edge(o).minlen*=a});var i=Zn(e)+1;f(e.children(),function(o){Ce(e,n,a,i,t,r,o)}),e.graph().nodeRankFactor=a}function Ce(e,n,r,t,a,i,o){var u=e.children(o);if(!u.length){o!==n&&e.setEdge(n,o,{weight:0,minlen:r});return}var d=te(e,"_bt"),s=te(e,"_bb"),c=e.node(o);e.setParent(d,o),c.borderTop=d,e.setParent(s,o),c.borderBottom=s,f(u,function(l){Ce(e,n,r,t,a,i,l);var h=e.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,b=h.borderTop?t:2*t,N=v!==p?1:a-i[o]+1;e.setEdge(d,v,{weight:b,minlen:N,nestingEdge:!0}),e.setEdge(p,s,{weight:b,minlen:N,nestingEdge:!0})}),e.parent(o)||e.setEdge(n,d,{weight:0,minlen:a+i[o]})}function Jn(e){var n={};function r(t,a){var i=e.children(t);i&&i.length&&f(i,function(o){r(o,a+1)}),n[t]=a}return f(e.children(),function(t){r(t,1)}),n}function Zn(e){return M(e.edges(),function(n,r){return n+e.edge(r).weight},0)}function Kn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,f(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}function Qn(e,n,r){var t={},a;f(r,function(i){for(var o=e.parent(i),u,d;o;){if(u=e.parent(o),u?(d=t[u],t[u]=o):(d=a,a=o),d&&d!==o){n.setEdge(d,o);return}o=u}})}function er(e,n,r){var t=nr(e),a=new g({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return f(e.nodes(),function(i){var o=e.node(i),u=e.parent(i);(o.rank===n||o.minRank<=n&&n<=o.maxRank)&&(a.setNode(i),a.setParent(i,u||t),f(e[r](i),function(d){var s=d.v===i?d.w:d.v,c=a.edge(s,i),l=m(c)?0:c.weight;a.setEdge(s,i,{weight:e.edge(d).weight+l})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&a.setNode(i,{borderLeft:o.borderLeft[n],borderRight:o.borderRight[n]}))}),a}function nr(e){for(var n;e.hasNode(n=H("_root")););return n}function rr(e,n){for(var r=0,t=1;t0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=s.weight;d+=s.weight*l})),d}function ar(e){var n={},r=_(e.nodes(),function(u){return!e.children(u).length}),t=y(w(r,function(u){return e.node(u).rank})),a=w(E(t+1),function(){return[]});function i(u){if(!ve(n,u)){n[u]=!0;var d=e.node(u);a[d.rank].push(u),f(e.successors(u),i)}}var o=R(r,function(u){return e.node(u).rank});return f(o,i),a}function ir(e,n){return w(n,function(r){var t=e.inEdges(r);if(t.length){var a=M(t,function(i,o){var u=e.edge(o),d=e.node(o.v);return{sum:i.sum+u.weight*d.order,weight:i.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:r}})}function or(e,n){var r={};f(e,function(a,i){var o=r[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};m(a.barycenter)||(o.barycenter=a.barycenter,o.weight=a.weight)}),f(n.edges(),function(a){var i=r[a.v],o=r[a.w];!m(i)&&!m(o)&&(o.indegree++,i.out.push(r[a.w]))});var t=_(r,function(a){return!a.indegree});return ur(t)}function ur(e){var n=[];function r(i){return function(o){o.merged||(m(o.barycenter)||m(i.barycenter)||o.barycenter>=i.barycenter)&&dr(i,o)}}function t(i){return function(o){o.in.push(i),--o.indegree===0&&e.push(o)}}for(;e.length;){var a=e.pop();n.push(a),f(a.in.reverse(),r(a)),f(a.out,t(a))}return w(_(n,function(i){return!i.merged}),function(i){return I(i,["vs","i","barycenter","weight"])})}function dr(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}function sr(e,n){var r=Pn(e,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),t=r.lhs,a=R(r.rhs,function(c){return-c.i}),i=[],o=0,u=0,d=0;t.sort(fr(!!n)),d=de(i,a,d),f(t,function(c){d+=c.vs.length,i.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=de(i,a,d)});var s={vs:O(i)};return u&&(s.barycenter=o/u,s.weight=u),s}function de(e,n,r){for(var t;n.length&&(t=T(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function fr(e){return function(n,r){return n.barycenterr.barycenter?1:e?r.i-n.i:n.i-r.i}}function _e(e,n,r,t){var a=e.children(n),i=e.node(n),o=i?i.borderLeft:void 0,u=i?i.borderRight:void 0,d={};o&&(a=_(a,function(p){return p!==o&&p!==u}));var s=ir(e,a);f(s,function(p){if(e.children(p.v).length){var b=_e(e,p.v,r,t);d[p.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter")&&lr(p,b)}});var c=or(s,r);cr(c,d);var l=sr(c,t);if(o&&(l.vs=O([o,l.vs,u]),e.predecessors(o).length)){var h=e.node(e.predecessors(o)[0]),v=e.node(e.predecessors(u)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function cr(e,n){f(e,function(r){r.vs=O(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}function lr(e,n){m(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function hr(e){var n=me(e),r=se(e,E(1,n+1),"inEdges"),t=se(e,E(n-1,-1,-1),"outEdges"),a=ar(e);fe(e,a);for(var i=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){vr(u%2?r:t,u%4>=2),a=F(e);var s=rr(e,a);so||u>n[d].lim));for(s=d,d=t;(d=e.parent(d))!==s;)i.push(d);return{path:a.concat(i.reverse()),lca:s}}function br(e){var n={},r=0;function t(a){var i=r;f(e.children(a),t),n[a]={low:i,lim:r++}}return f(e.children(),t),n}function mr(e,n){var r={};function t(a,i){var o=0,u=0,d=a.length,s=T(i);return f(i,function(c,l){var h=yr(e,c),v=h?e.node(h).order:d;(h||c===s)&&(f(i.slice(u,l+1),function(p){f(e.predecessors(p),function(b){var N=e.node(b),Q=N.order;(Qs)&&Re(r,h,c)})})}function a(i,o){var u=-1,d,s=0;return f(o,function(c,l){if(e.node(c).dummy==="border"){var h=e.predecessors(c);h.length&&(d=e.node(h[0]).order,t(o,s,l,u,d),s=l,u=d)}t(o,s,o.length,d,i.length)}),o}return M(n,a),r}function yr(e,n){if(e.node(n).dummy)return U(e.predecessors(n),function(r){return e.node(r).dummy})}function Re(e,n,r){if(n>r){var t=n;n=r,r=t}var a=e[n];a||(e[n]=a={}),a[r]=!0}function kr(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function xr(e,n,r,t){var a={},i={},o={};return f(n,function(u){f(u,function(d,s){a[d]=d,i[d]=d,o[d]=s})}),f(n,function(u){var d=-1;f(u,function(s){var c=t(s);if(c.length){c=R(c,function(b){return o[b]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];i[s]===s&&d{var t=r(" buildLayoutGraph",()=>qr(e));r(" runLayout",()=>Mr(t,r)),r(" updateInputGraph",()=>Sr(e,t))})}function Mr(e,n){n(" makeSpaceForEdgeLabels",()=>$r(e)),n(" removeSelfEdges",()=>Qr(e)),n(" acyclic",()=>kn(e)),n(" nestingGraph.run",()=>Hn(e)),n(" rank",()=>zn(be(e))),n(" injectEdgeLabelProxies",()=>Wr(e)),n(" removeEmptyRanks",()=>Nn(e)),n(" nestingGraph.cleanup",()=>Kn(e)),n(" normalizeRanks",()=>Ln(e)),n(" assignRankMinMax",()=>zr(e)),n(" removeEdgeLabelProxies",()=>Ur(e)),n(" normalize.run",()=>Sn(e)),n(" parentDummyChains",()=>pr(e)),n(" addBorderSegments",()=>_n(e)),n(" order",()=>hr(e)),n(" insertSelfEdges",()=>et(e)),n(" adjustCoordinateSystem",()=>Rn(e)),n(" position",()=>Tr(e)),n(" positionSelfEdges",()=>nt(e)),n(" removeBorderNodes",()=>Kr(e)),n(" normalize.undo",()=>jn(e)),n(" fixupEdgeLabelCoords",()=>Jr(e)),n(" undoCoordinateSystem",()=>Tn(e)),n(" translateGraph",()=>Xr(e)),n(" assignNodeIntersects",()=>Hr(e)),n(" reversePoints",()=>Zr(e)),n(" acyclic.undo",()=>En(e))}function Sr(e,n){f(e.nodes(),function(r){var t=e.node(r),a=n.node(r);t&&(t.x=a.x,t.y=a.y,n.children(r).length&&(t.width=a.width,t.height=a.height))}),f(e.edges(),function(r){var t=e.edge(r),a=n.edge(r);t.points=a.points,Object.prototype.hasOwnProperty.call(a,"x")&&(t.x=a.x,t.y=a.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var Fr=["nodesep","edgesep","ranksep","marginx","marginy"],jr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Vr=["acyclicer","ranker","rankdir","align"],Ar=["width","height"],Br={width:0,height:0},Gr=["minlen","weight","width","height","labeloffset"],Yr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Dr=["labelpos"];function qr(e){var n=new g({multigraph:!0,compound:!0}),r=D(e.graph());return n.setGraph($({},jr,Y(r,Fr),I(r,Vr))),f(e.nodes(),function(t){var a=D(e.node(t));n.setNode(t,Be(Y(a,Ar),Br)),n.setParent(t,e.parent(t))}),f(e.edges(),function(t){var a=D(e.edge(t));n.setEdge(t,$({},Yr,Y(a,Gr),I(a,Dr)))}),n}function $r(e){var n=e.graph();n.ranksep/=2,f(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function Wr(e){f(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),a=e.node(n.w),i={rank:(a.rank-t.rank)/2+t.rank,e:n};L(e,"edge-proxy",i,"_ep")}})}function zr(e){var n=0;f(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=y(n,t.maxRank))}),e.graph().maxRank=n}function Ur(e){f(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}function Xr(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,a=0,i=e.graph(),o=i.marginx||0,u=i.marginy||0;function d(s){var c=s.x,l=s.y,h=s.width,v=s.height;n=Math.min(n,c-h/2),r=Math.max(r,c+h/2),t=Math.min(t,l-v/2),a=Math.max(a,l+v/2)}f(e.nodes(),function(s){d(e.node(s))}),f(e.edges(),function(s){var c=e.edge(s);Object.prototype.hasOwnProperty.call(c,"x")&&d(c)}),n-=o,t-=u,f(e.nodes(),function(s){var c=e.node(s);c.x-=n,c.y-=t}),f(e.edges(),function(s){var c=e.edge(s);f(c.points,function(l){l.x-=n,l.y-=t}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=n),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=t)}),i.width=r-n+o,i.height=a-t+u}function Hr(e){f(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),a=e.node(n.w),i,o;r.points?(i=r.points[0],o=r.points[r.points.length-1]):(r.points=[],i=a,o=t),r.points.unshift(re(t,i)),r.points.push(re(a,o))})}function Jr(e){f(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function Zr(e){f(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}function Kr(e){f(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),a=e.node(r.borderBottom),i=e.node(T(r.borderLeft)),o=e.node(T(r.borderRight));r.width=Math.abs(o.x-i.x),r.height=Math.abs(a.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}}),f(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function Qr(e){f(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function et(e){var n=F(e);f(n,function(r){var t=0;f(r,function(a,i){var o=e.node(a);o.order=i+t,f(o.selfEdges,function(u){L(e,"selfedge",{width:u.label.width,height:u.label.height,rank:o.rank,order:i+ ++t,e:u.e,label:u.label},"_se")}),delete o.selfEdges})})}function nt(e){f(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),a=t.x+t.width/2,i=t.y,o=r.x-a,u=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:a+2*o/3,y:i-u},{x:a+5*o/6,y:i-u},{x:a+o,y:i},{x:a+5*o/6,y:i+u},{x:a+2*o/3,y:i+u}],r.label.x=r.x,r.label.y=r.y}})}function Y(e,n){return S(I(e,n),Number)}function D(e){var n={};return f(e,function(r,t){n[t.toLowerCase()]=r}),n}export{ot as l}; +import{G as g}from"./md-graph-BqJ5nvx-.js";import{b as Te,p as ce,q as le,g as z,e as ee,l as j,o as Ie,s as Me,c as Se,u as Fe,d as f,i as m,f as _,v as x,r as M}from"./md-_baseUniq-Bm0iSxF4.js";import{f as O,b as he,a as je,c as Ve,d as Ae,t as V,m as w,e as P,h as ve,g as U,l as T,i as Be}from"./md-_basePickBy-D2Yv_vSZ.js";import{b6 as Ge,b7 as Ye,b8 as De,aO as qe,b9 as $e,aS as pe,aR as we,ba as We,aN as q,aA as ze,aU as Ue,aC as Xe,bb as $}from"./md-index-TGP-egEp.js";function He(e){return Ge(Ye(e,void 0,O),e+"")}var Je=1,Ze=4;function Ke(e){return Te(e,Je|Ze)}function Qe(e,n){return e==null?e:De(e,ce(n),qe)}function en(e,n){return e&&le(e,ce(n))}function nn(e,n){return e>n}function S(e,n){var r={};return n=z(n),le(e,function(t,a,i){$e(r,a,n(t,a,i))}),r}function y(e){return e&&e.length?he(e,pe,nn):void 0}function X(e,n){return e&&e.length?he(e,z(n),je):void 0}function rn(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e}function tn(e,n){if(e!==n){var r=e!==void 0,t=e===null,a=e===e,i=ee(e),o=n!==void 0,u=n===null,d=n===n,s=ee(n);if(!u&&!s&&!i&&e>n||i&&o&&d&&!u&&!s||t&&o&&d||!r&&d||!a)return 1;if(!t&&!i&&!s&&e=u)return d;var s=r[t];return d*(s=="desc"?-1:1)}}return e.index-n.index}function on(e,n,r){n.length?n=j(n,function(i){return we(i)?function(o){return Ie(o,i.length===1?i[0]:i)}:i}):n=[pe];var t=-1;n=j(n,We(z));var a=Ve(e,function(i,o,u){var d=j(n,function(s){return s(i)});return{criteria:d,index:++t,value:i}});return rn(a,function(i,o){return an(i,o,r)})}function un(e,n){return Ae(e,n,function(r,t){return Me(e,t)})}var I=He(function(e,n){return e==null?{}:un(e,n)}),dn=Math.ceil,sn=Math.max;function fn(e,n,r,t){for(var a=-1,i=sn(dn((n-e)/(r||1)),0),o=Array(i);i--;)o[++a]=e,e+=r;return o}function cn(e){return function(n,r,t){return t&&typeof t!="number"&&q(n,r,t)&&(r=t=void 0),n=V(n),r===void 0?(r=n,n=0):r=V(r),t=t===void 0?n1&&q(e,n[0],n[1])?n=[]:r>2&&q(n[0],n[1],n[2])&&(n=[n[0]]),on(e,Se(n),[])}),ln=0;function H(e){var n=++ln;return Fe(e)+n}function hn(e,n,r){for(var t=-1,a=e.length,i=n.length,o={};++t0;--u)if(o=n[u].dequeue(),o){t=t.concat(A(e,n,r,o,!0));break}}}return t}function A(e,n,r,t,a){var i=a?[]:void 0;return f(e.inEdges(t.v),function(o){var u=e.edge(o),d=e.node(o.v);a&&i.push({v:o.v,w:o.w}),d.out-=u,W(n,r,d)}),f(e.outEdges(t.v),function(o){var u=e.edge(o),d=o.w,s=e.node(d);s.in-=u,W(n,r,s)}),e.removeNode(t.v),i}function yn(e,n){var r=new g,t=0,a=0;f(e.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),f(e.edges(),function(u){var d=r.edge(u.v,u.w)||0,s=n(u),c=d+s;r.setEdge(u.v,u.w,c),a=Math.max(a,r.node(u.v).out+=s),t=Math.max(t,r.node(u.w).in+=s)});var i=E(a+t+3).map(function(){return new pn}),o=t+1;return f(r.nodes(),function(u){W(i,o,r.node(u))}),{graph:r,buckets:i,zeroIdx:o}}function W(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function kn(e){var n=e.graph().acyclicer==="greedy"?mn(e,r(e)):xn(e);f(n,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,H("rev"))});function r(t){return function(a){return t.edge(a).weight}}}function xn(e){var n=[],r={},t={};function a(i){Object.prototype.hasOwnProperty.call(t,i)||(t[i]=!0,r[i]=!0,f(e.outEdges(i),function(o){Object.prototype.hasOwnProperty.call(r,o.w)?n.push(o):a(o.w)}),delete r[i])}return f(e.nodes(),a),n}function En(e){f(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}function L(e,n,r,t){var a;do a=H(t);while(e.hasNode(a));return r.dummy=n,e.setNode(a,r),a}function On(e){var n=new g().setGraph(e.graph());return f(e.nodes(),function(r){n.setNode(r,e.node(r))}),f(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},a=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),n}function be(e){var n=new g({multigraph:e.isMultigraph()}).setGraph(e.graph());return f(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),f(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function re(e,n){var r=e.x,t=e.y,a=n.x-r,i=n.y-t,o=e.width/2,u=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var d,s;return Math.abs(i)*o>Math.abs(a)*u?(i<0&&(u=-u),d=u*a/i,s=u):(a<0&&(o=-o),d=o,s=o*i/a),{x:r+d,y:t+s}}function F(e){var n=w(E(me(e)+1),function(){return[]});return f(e.nodes(),function(r){var t=e.node(r),a=t.rank;m(a)||(n[a][t.order]=r)}),n}function Ln(e){var n=P(w(e.nodes(),function(r){return e.node(r).rank}));f(e.nodes(),function(r){var t=e.node(r);ve(t,"rank")&&(t.rank-=n)})}function Nn(e){var n=P(w(e.nodes(),function(i){return e.node(i).rank})),r=[];f(e.nodes(),function(i){var o=e.node(i).rank-n;r[o]||(r[o]=[]),r[o].push(i)});var t=0,a=e.graph().nodeRankFactor;f(r,function(i,o){m(i)&&o%a!==0?--t:t&&f(i,function(u){e.node(u).rank+=t})})}function te(e,n,r,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=r,a.order=t),L(e,"border",a,n)}function me(e){return y(w(e.nodes(),function(n){var r=e.node(n).rank;if(!m(r))return r}))}function Pn(e,n){var r={lhs:[],rhs:[]};return f(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}function Cn(e,n){return n()}function _n(e){function n(r){var t=e.children(r),a=e.node(r);if(t.length&&f(t,n),Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,o=a.maxRank+1;io.lim&&(u=o,d=!0);var s=_(n.edges(),function(c){return d===oe(e,e.node(c.v),u)&&d!==oe(e,e.node(c.w),u)});return X(s,function(c){return C(n,c)})}function Pe(e,n,r,t){var a=r.v,i=r.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),K(e),Z(e,n),$n(e,n)}function $n(e,n){var r=U(e.nodes(),function(a){return!n.node(a).parent}),t=Dn(e,r);t=t.slice(1),f(t,function(a){var i=e.node(a).parent,o=n.edge(a,i),u=!1;o||(o=n.edge(i,a),u=!0),n.node(a).rank=n.node(i).rank+(u?o.minlen:-o.minlen)})}function Wn(e,n,r){return e.hasEdge(n,r)}function oe(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function zn(e){switch(e.graph().ranker){case"network-simplex":ue(e);break;case"tight-tree":Xn(e);break;case"longest-path":Un(e);break;default:ue(e)}}var Un=J;function Xn(e){J(e),ye(e)}function ue(e){k(e)}function Hn(e){var n=L(e,"root",{},"_root"),r=Jn(e),t=y(x(r))-1,a=2*t+1;e.graph().nestingRoot=n,f(e.edges(),function(o){e.edge(o).minlen*=a});var i=Zn(e)+1;f(e.children(),function(o){Ce(e,n,a,i,t,r,o)}),e.graph().nodeRankFactor=a}function Ce(e,n,r,t,a,i,o){var u=e.children(o);if(!u.length){o!==n&&e.setEdge(n,o,{weight:0,minlen:r});return}var d=te(e,"_bt"),s=te(e,"_bb"),c=e.node(o);e.setParent(d,o),c.borderTop=d,e.setParent(s,o),c.borderBottom=s,f(u,function(l){Ce(e,n,r,t,a,i,l);var h=e.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,b=h.borderTop?t:2*t,N=v!==p?1:a-i[o]+1;e.setEdge(d,v,{weight:b,minlen:N,nestingEdge:!0}),e.setEdge(p,s,{weight:b,minlen:N,nestingEdge:!0})}),e.parent(o)||e.setEdge(n,d,{weight:0,minlen:a+i[o]})}function Jn(e){var n={};function r(t,a){var i=e.children(t);i&&i.length&&f(i,function(o){r(o,a+1)}),n[t]=a}return f(e.children(),function(t){r(t,1)}),n}function Zn(e){return M(e.edges(),function(n,r){return n+e.edge(r).weight},0)}function Kn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,f(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}function Qn(e,n,r){var t={},a;f(r,function(i){for(var o=e.parent(i),u,d;o;){if(u=e.parent(o),u?(d=t[u],t[u]=o):(d=a,a=o),d&&d!==o){n.setEdge(d,o);return}o=u}})}function er(e,n,r){var t=nr(e),a=new g({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return f(e.nodes(),function(i){var o=e.node(i),u=e.parent(i);(o.rank===n||o.minRank<=n&&n<=o.maxRank)&&(a.setNode(i),a.setParent(i,u||t),f(e[r](i),function(d){var s=d.v===i?d.w:d.v,c=a.edge(s,i),l=m(c)?0:c.weight;a.setEdge(s,i,{weight:e.edge(d).weight+l})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&a.setNode(i,{borderLeft:o.borderLeft[n],borderRight:o.borderRight[n]}))}),a}function nr(e){for(var n;e.hasNode(n=H("_root")););return n}function rr(e,n){for(var r=0,t=1;t0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=s.weight;d+=s.weight*l})),d}function ar(e){var n={},r=_(e.nodes(),function(u){return!e.children(u).length}),t=y(w(r,function(u){return e.node(u).rank})),a=w(E(t+1),function(){return[]});function i(u){if(!ve(n,u)){n[u]=!0;var d=e.node(u);a[d.rank].push(u),f(e.successors(u),i)}}var o=R(r,function(u){return e.node(u).rank});return f(o,i),a}function ir(e,n){return w(n,function(r){var t=e.inEdges(r);if(t.length){var a=M(t,function(i,o){var u=e.edge(o),d=e.node(o.v);return{sum:i.sum+u.weight*d.order,weight:i.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:r}})}function or(e,n){var r={};f(e,function(a,i){var o=r[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};m(a.barycenter)||(o.barycenter=a.barycenter,o.weight=a.weight)}),f(n.edges(),function(a){var i=r[a.v],o=r[a.w];!m(i)&&!m(o)&&(o.indegree++,i.out.push(r[a.w]))});var t=_(r,function(a){return!a.indegree});return ur(t)}function ur(e){var n=[];function r(i){return function(o){o.merged||(m(o.barycenter)||m(i.barycenter)||o.barycenter>=i.barycenter)&&dr(i,o)}}function t(i){return function(o){o.in.push(i),--o.indegree===0&&e.push(o)}}for(;e.length;){var a=e.pop();n.push(a),f(a.in.reverse(),r(a)),f(a.out,t(a))}return w(_(n,function(i){return!i.merged}),function(i){return I(i,["vs","i","barycenter","weight"])})}function dr(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}function sr(e,n){var r=Pn(e,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),t=r.lhs,a=R(r.rhs,function(c){return-c.i}),i=[],o=0,u=0,d=0;t.sort(fr(!!n)),d=de(i,a,d),f(t,function(c){d+=c.vs.length,i.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=de(i,a,d)});var s={vs:O(i)};return u&&(s.barycenter=o/u,s.weight=u),s}function de(e,n,r){for(var t;n.length&&(t=T(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function fr(e){return function(n,r){return n.barycenterr.barycenter?1:e?r.i-n.i:n.i-r.i}}function _e(e,n,r,t){var a=e.children(n),i=e.node(n),o=i?i.borderLeft:void 0,u=i?i.borderRight:void 0,d={};o&&(a=_(a,function(p){return p!==o&&p!==u}));var s=ir(e,a);f(s,function(p){if(e.children(p.v).length){var b=_e(e,p.v,r,t);d[p.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter")&&lr(p,b)}});var c=or(s,r);cr(c,d);var l=sr(c,t);if(o&&(l.vs=O([o,l.vs,u]),e.predecessors(o).length)){var h=e.node(e.predecessors(o)[0]),v=e.node(e.predecessors(u)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function cr(e,n){f(e,function(r){r.vs=O(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}function lr(e,n){m(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function hr(e){var n=me(e),r=se(e,E(1,n+1),"inEdges"),t=se(e,E(n-1,-1,-1),"outEdges"),a=ar(e);fe(e,a);for(var i=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){vr(u%2?r:t,u%4>=2),a=F(e);var s=rr(e,a);so||u>n[d].lim));for(s=d,d=t;(d=e.parent(d))!==s;)i.push(d);return{path:a.concat(i.reverse()),lca:s}}function br(e){var n={},r=0;function t(a){var i=r;f(e.children(a),t),n[a]={low:i,lim:r++}}return f(e.children(),t),n}function mr(e,n){var r={};function t(a,i){var o=0,u=0,d=a.length,s=T(i);return f(i,function(c,l){var h=yr(e,c),v=h?e.node(h).order:d;(h||c===s)&&(f(i.slice(u,l+1),function(p){f(e.predecessors(p),function(b){var N=e.node(b),Q=N.order;(Qs)&&Re(r,h,c)})})}function a(i,o){var u=-1,d,s=0;return f(o,function(c,l){if(e.node(c).dummy==="border"){var h=e.predecessors(c);h.length&&(d=e.node(h[0]).order,t(o,s,l,u,d),s=l,u=d)}t(o,s,o.length,d,i.length)}),o}return M(n,a),r}function yr(e,n){if(e.node(n).dummy)return U(e.predecessors(n),function(r){return e.node(r).dummy})}function Re(e,n,r){if(n>r){var t=n;n=r,r=t}var a=e[n];a||(e[n]=a={}),a[r]=!0}function kr(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function xr(e,n,r,t){var a={},i={},o={};return f(n,function(u){f(u,function(d,s){a[d]=d,i[d]=d,o[d]=s})}),f(n,function(u){var d=-1;f(u,function(s){var c=t(s);if(c.length){c=R(c,function(b){return o[b]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];i[s]===s&&d{var t=r(" buildLayoutGraph",()=>qr(e));r(" runLayout",()=>Mr(t,r)),r(" updateInputGraph",()=>Sr(e,t))})}function Mr(e,n){n(" makeSpaceForEdgeLabels",()=>$r(e)),n(" removeSelfEdges",()=>Qr(e)),n(" acyclic",()=>kn(e)),n(" nestingGraph.run",()=>Hn(e)),n(" rank",()=>zn(be(e))),n(" injectEdgeLabelProxies",()=>Wr(e)),n(" removeEmptyRanks",()=>Nn(e)),n(" nestingGraph.cleanup",()=>Kn(e)),n(" normalizeRanks",()=>Ln(e)),n(" assignRankMinMax",()=>zr(e)),n(" removeEdgeLabelProxies",()=>Ur(e)),n(" normalize.run",()=>Sn(e)),n(" parentDummyChains",()=>pr(e)),n(" addBorderSegments",()=>_n(e)),n(" order",()=>hr(e)),n(" insertSelfEdges",()=>et(e)),n(" adjustCoordinateSystem",()=>Rn(e)),n(" position",()=>Tr(e)),n(" positionSelfEdges",()=>nt(e)),n(" removeBorderNodes",()=>Kr(e)),n(" normalize.undo",()=>jn(e)),n(" fixupEdgeLabelCoords",()=>Jr(e)),n(" undoCoordinateSystem",()=>Tn(e)),n(" translateGraph",()=>Xr(e)),n(" assignNodeIntersects",()=>Hr(e)),n(" reversePoints",()=>Zr(e)),n(" acyclic.undo",()=>En(e))}function Sr(e,n){f(e.nodes(),function(r){var t=e.node(r),a=n.node(r);t&&(t.x=a.x,t.y=a.y,n.children(r).length&&(t.width=a.width,t.height=a.height))}),f(e.edges(),function(r){var t=e.edge(r),a=n.edge(r);t.points=a.points,Object.prototype.hasOwnProperty.call(a,"x")&&(t.x=a.x,t.y=a.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var Fr=["nodesep","edgesep","ranksep","marginx","marginy"],jr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Vr=["acyclicer","ranker","rankdir","align"],Ar=["width","height"],Br={width:0,height:0},Gr=["minlen","weight","width","height","labeloffset"],Yr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Dr=["labelpos"];function qr(e){var n=new g({multigraph:!0,compound:!0}),r=D(e.graph());return n.setGraph($({},jr,Y(r,Fr),I(r,Vr))),f(e.nodes(),function(t){var a=D(e.node(t));n.setNode(t,Be(Y(a,Ar),Br)),n.setParent(t,e.parent(t))}),f(e.edges(),function(t){var a=D(e.edge(t));n.setEdge(t,$({},Yr,Y(a,Gr),I(a,Dr)))}),n}function $r(e){var n=e.graph();n.ranksep/=2,f(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function Wr(e){f(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),a=e.node(n.w),i={rank:(a.rank-t.rank)/2+t.rank,e:n};L(e,"edge-proxy",i,"_ep")}})}function zr(e){var n=0;f(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=y(n,t.maxRank))}),e.graph().maxRank=n}function Ur(e){f(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}function Xr(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,a=0,i=e.graph(),o=i.marginx||0,u=i.marginy||0;function d(s){var c=s.x,l=s.y,h=s.width,v=s.height;n=Math.min(n,c-h/2),r=Math.max(r,c+h/2),t=Math.min(t,l-v/2),a=Math.max(a,l+v/2)}f(e.nodes(),function(s){d(e.node(s))}),f(e.edges(),function(s){var c=e.edge(s);Object.prototype.hasOwnProperty.call(c,"x")&&d(c)}),n-=o,t-=u,f(e.nodes(),function(s){var c=e.node(s);c.x-=n,c.y-=t}),f(e.edges(),function(s){var c=e.edge(s);f(c.points,function(l){l.x-=n,l.y-=t}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=n),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=t)}),i.width=r-n+o,i.height=a-t+u}function Hr(e){f(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),a=e.node(n.w),i,o;r.points?(i=r.points[0],o=r.points[r.points.length-1]):(r.points=[],i=a,o=t),r.points.unshift(re(t,i)),r.points.push(re(a,o))})}function Jr(e){f(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function Zr(e){f(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}function Kr(e){f(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),a=e.node(r.borderBottom),i=e.node(T(r.borderLeft)),o=e.node(T(r.borderRight));r.width=Math.abs(o.x-i.x),r.height=Math.abs(a.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}}),f(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function Qr(e){f(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function et(e){var n=F(e);f(n,function(r){var t=0;f(r,function(a,i){var o=e.node(a);o.order=i+t,f(o.selfEdges,function(u){L(e,"selfedge",{width:u.label.width,height:u.label.height,rank:o.rank,order:i+ ++t,e:u.e,label:u.label},"_se")}),delete o.selfEdges})})}function nt(e){f(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),a=t.x+t.width/2,i=t.y,o=r.x-a,u=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:a+2*o/3,y:i-u},{x:a+5*o/6,y:i-u},{x:a+o,y:i},{x:a+5*o/6,y:i+u},{x:a+2*o/3,y:i+u}],r.label.x=r.x,r.label.y=r.y}})}function Y(e,n){return S(I(e,n),Number)}function D(e){var n={};return f(e,function(r,t){n[t.toLowerCase()]=r}),n}export{ot as l}; diff --git a/static/js/md-linear-qIPm0QjV.js b/static/js/md-linear-BWd3aXuT.js similarity index 99% rename from static/js/md-linear-qIPm0QjV.js rename to static/js/md-linear-BWd3aXuT.js index f83536f..d315bed 100644 --- a/static/js/md-linear-qIPm0QjV.js +++ b/static/js/md-linear-BWd3aXuT.js @@ -1 +1 @@ -import{b1 as un,b2 as I,b3 as U,b4 as Y,b5 as fn}from"./md-index-trBnGDGX.js";import{i as cn}from"./md-init-Gi6I4Gst.js";function F(n,t){return n==null||t==null?NaN:nt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function _(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=_(F),dn=sn.right;_(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function Z(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:Sn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?J:jn(K.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?J:Pn(K.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,b=h.symbol,k=h.zero,S=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):H[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=b==="$"?e:b==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=b==="$"?r:/[%p]/.test(d)?a:"",O=H[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?Q[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,b=Math.pow(10,-y),k=Q[8+y/3];return function(S){return p(b*S)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var W=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=bn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Un(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Yn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Un(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Zn(){var n=Xn();return n.copy=function(){return On(n,Zn())},cn.apply(n,arguments),Yn(n)}export{On as a,_ as b,Xn as c,Zn as l,wn as t}; +import{b1 as un,b2 as I,b3 as U,b4 as Y,b5 as fn}from"./md-index-TGP-egEp.js";import{i as cn}from"./md-init-Gi6I4Gst.js";function F(n,t){return n==null||t==null?NaN:nt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function _(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=_(F),dn=sn.right;_(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function Z(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:Sn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?J:jn(K.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?J:Pn(K.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,b=h.symbol,k=h.zero,S=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):H[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=b==="$"?e:b==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=b==="$"?r:/[%p]/.test(d)?a:"",O=H[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?Q[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,b=Math.pow(10,-y),k=Q[8+y/3];return function(S){return p(b*S)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var W=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=bn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Un(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Yn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Un(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Zn(){var n=Xn();return n.copy=function(){return On(n,Zn())},cn.apply(n,arguments),Yn(n)}export{On as a,_ as b,Xn as c,Zn as l,wn as t}; diff --git a/static/js/md-mindmap-definition-GWI6TPTV-D0S0WzK8.js b/static/js/md-mindmap-definition-GWI6TPTV-ClGGF_jF.js similarity index 99% rename from static/js/md-mindmap-definition-GWI6TPTV-D0S0WzK8.js rename to static/js/md-mindmap-definition-GWI6TPTV-ClGGF_jF.js index 3da120d..590de8c 100644 --- a/static/js/md-mindmap-definition-GWI6TPTV-D0S0WzK8.js +++ b/static/js/md-mindmap-definition-GWI6TPTV-ClGGF_jF.js @@ -1,4 +1,4 @@ -import{aH as at,aI as Nt,_ as S,l as z,j as Dt,aj as mt,O as Ot,d as ot,G as At,V as It,B as tt,i as et,W as Ct,X as Rt,Y as xt}from"./md-index-trBnGDGX.js";import{c as pt}from"./md-cytoscape.esm-DbjHHeqK.js";var dt={exports:{}},it={exports:{}},nt={exports:{}},ut;function Mt(){return ut||(ut=1,function(I,w){(function(m,y){I.exports=y()})(at,function(){return function(f){var m={};function y(r){if(m[r])return m[r].exports;var t=m[r]={i:r,l:!1,exports:{}};return f[r].call(t.exports,t,t.exports,y),t.l=!0,t.exports}return y.m=f,y.c=m,y.i=function(r){return r},y.d=function(r,t,e){y.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return y.d(t,"a",t),t},y.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},y.p="",y(y.s=26)}([function(f,m,y){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,f.exports=r},function(f,m,y){var r=y(2),t=y(8),e=y(9);function i(g,a,v){r.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(var o in r)i[o]=r[o];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(var v=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(v.getOwner()==a)return v;if(v.getOwner()==n)break;v=v.getOwner().getParent()}return null},i.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=i},function(f,m,y){function r(t){this.vGraphObject=t}f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(13),i=y(0),o=y(16),g=y(4);function a(n,c,l,E){l==null&&E==null&&(E=c),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,l!=null&&c!=null?this.rect=new e(c.x,c.y,l.width,l.height):this.rect=new e}a.prototype=Object.create(r.prototype);for(var v in r)a[v]=r[v];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(n){this.rect.width=n},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(n){this.rect.height=n},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(n,c){this.rect.x=n.x,this.rect.y=n.y,this.rect.width=c.width,this.rect.height=c.height},a.prototype.setCenter=function(n,c){this.rect.x=n-this.rect.width/2,this.rect.y=c-this.rect.height/2},a.prototype.setLocation=function(n,c){this.rect.x=n,this.rect.y=c},a.prototype.moveBy=function(n,c){this.rect.x+=n,this.rect.y+=c},a.prototype.getEdgeListToNode=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(E.target==n){if(E.source!=l)throw"Incorrect edge source!";c.push(E)}}),c},a.prototype.getEdgesBetween=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(!(E.source==l||E.target==l))throw"Incorrect edge source and/or target";(E.target==n||E.source==n)&&c.push(E)}),c},a.prototype.getNeighborsList=function(){var n=new Set,c=this;return c.edges.forEach(function(l){if(l.source==c)n.add(l.target);else{if(l.target!=c)throw"Incorrect incidency!";n.add(l.source)}}),n},a.prototype.withChildren=function(){var n=new Set,c,l;if(n.add(this),this.child!=null)for(var E=this.child.getNodes(),T=0;Tc&&(this.rect.x-=(this.labelWidth-c)/2,this.setWidth(this.labelWidth)),this.labelHeight>l&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-l)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-l),this.setHeight(this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(n){var c=this.rect.x;c>i.WORLD_BOUNDARY?c=i.WORLD_BOUNDARY:c<-i.WORLD_BOUNDARY&&(c=-i.WORLD_BOUNDARY);var l=this.rect.y;l>i.WORLD_BOUNDARY?l=i.WORLD_BOUNDARY:l<-i.WORLD_BOUNDARY&&(l=-i.WORLD_BOUNDARY);var E=new g(c,l),T=n.inverseTransformPoint(E);this.setLocation(T.x,T.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=a},function(f,m,y){function r(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(0),i=y(6),o=y(3),g=y(1),a=y(13),v=y(12),n=y(11);function c(E,T,D){r.call(this,D),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,T!=null&&T instanceof i?this.graphManager=T:T!=null&&T instanceof Layout&&(this.graphManager=T.graphManager)}c.prototype=Object.create(r.prototype);for(var l in r)c[l]=r[l];c.prototype.getNodes=function(){return this.nodes},c.prototype.getEdges=function(){return this.edges},c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getParent=function(){return this.parent},c.prototype.getLeft=function(){return this.left},c.prototype.getRight=function(){return this.right},c.prototype.getTop=function(){return this.top},c.prototype.getBottom=function(){return this.bottom},c.prototype.isConnected=function(){return this.isConnected},c.prototype.add=function(E,T,D){if(T==null&&D==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var O=E;if(!(this.getNodes().indexOf(T)>-1&&this.getNodes().indexOf(D)>-1))throw"Source or target not in graph!";if(!(T.owner==D.owner&&T.owner==this))throw"Both owners must be this graph!";return T.owner!=D.owner?null:(O.source=T,O.target=D,O.isInterGraph=!1,this.getEdges().push(O),T.edges.push(O),D!=T&&D.edges.push(O),O)}},c.prototype.remove=function(E){var T=E;if(E instanceof o){if(T==null)throw"Node is null!";if(!(T.owner!=null&&T.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var D=T.edges.slice(),L,O=D.length,d=0;d-1&&h>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(s,1),L.target!=L.source&&L.target.edges.splice(h,1);var N=L.source.owner.getEdges().indexOf(L);if(N==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(N,1)}},c.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,T=t.MAX_VALUE,D,L,O,d=this.getNodes(),N=d.length,s=0;sD&&(E=D),T>L&&(T=L)}return E==t.MAX_VALUE?null:(d[0].getParent().paddingLeft!=null?O=d[0].getParent().paddingLeft:O=this.margin,this.left=T-O,this.top=E-O,new v(this.left,this.top))},c.prototype.updateBounds=function(E){for(var T=t.MAX_VALUE,D=-t.MAX_VALUE,L=t.MAX_VALUE,O=-t.MAX_VALUE,d,N,s,h,u,p=this.nodes,A=p.length,C=0;Cd&&(T=d),Ds&&(L=s),Od&&(T=d),Ds&&(L=s),O=this.nodes.length){var A=0;D.forEach(function(C){C.owner==E&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},f.exports=c},function(f,m,y){var r,t=y(1);function e(i){r=y(5),this.layout=i,this.graphs=[],this.edges=[]}e.prototype.addRoot=function(){var i=this.layout.newGraph(),o=this.layout.newNode(null),g=this.add(i,o);return this.setRootGraph(g),this.rootGraph},e.prototype.add=function(i,o,g,a,v){if(g==null&&a==null&&v==null){if(i==null)throw"Graph is null!";if(o==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(o.child!=null)throw"Already has a child!";return i.parent=o,o.child=i,i}else{v=g,a=o,g=i;var n=a.getOwner(),c=v.getOwner();if(!(n!=null&&n.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(c!=null&&c.getGraphManager()==this))throw"Target not in this graph mgr!";if(n==c)return g.isInterGraph=!1,n.add(g,a,v);if(g.isInterGraph=!0,g.source=a,g.target=v,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},e.prototype.remove=function(i){if(i instanceof r){var o=i;if(o.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(o==this.rootGraph||o.parent!=null&&o.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(o.getEdges());for(var a,v=g.length,n=0;n=i.getRight()?o[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight()):i.getX()<=e.getX()&&i.getRight()>=e.getRight()&&(o[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight())),e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()?o[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()):i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()&&(o[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()));var v=Math.abs((i.getCenterY()-e.getCenterY())/(i.getCenterX()-e.getCenterX()));i.getCenterY()===e.getCenterY()&&i.getCenterX()===e.getCenterX()&&(v=1);var n=v*o[0],c=o[1]/v;o[0]n)return o[0]=g,o[1]=l,o[2]=v,o[3]=p,!1;if(av)return o[0]=c,o[1]=a,o[2]=h,o[3]=n,!1;if(gv?(o[0]=T,o[1]=D,x=!0):(o[0]=E,o[1]=l,x=!0):U===M&&(g>v?(o[0]=c,o[1]=l,x=!0):(o[0]=L,o[1]=D,x=!0)),-X===M?v>g?(o[2]=u,o[3]=p,_=!0):(o[2]=h,o[3]=s,_=!0):X===M&&(v>g?(o[2]=N,o[3]=s,_=!0):(o[2]=A,o[3]=p,_=!0)),x&&_)return!1;if(g>v?a>n?(G=this.getCardinalDirection(U,M,4),F=this.getCardinalDirection(X,M,2)):(G=this.getCardinalDirection(-U,M,3),F=this.getCardinalDirection(-X,M,1)):a>n?(G=this.getCardinalDirection(-U,M,1),F=this.getCardinalDirection(-X,M,3)):(G=this.getCardinalDirection(U,M,2),F=this.getCardinalDirection(X,M,4)),!x)switch(G){case 1:Y=l,b=g+-d/M,o[0]=b,o[1]=Y;break;case 2:b=L,Y=a+O*M,o[0]=b,o[1]=Y;break;case 3:Y=D,b=g+d/M,o[0]=b,o[1]=Y;break;case 4:b=T,Y=a+-O*M,o[0]=b,o[1]=Y;break}if(!_)switch(F){case 1:H=s,k=v+-R/M,o[2]=k,o[3]=H;break;case 2:k=A,H=n+C*M,o[2]=k,o[3]=H;break;case 3:H=p,k=v+R/M,o[2]=k,o[3]=H;break;case 4:k=u,H=n+-C*M,o[2]=k,o[3]=H;break}}return!1},t.getCardinalDirection=function(e,i,o){return e>i?o:1+o%4},t.getIntersection=function(e,i,o,g){if(g==null)return this.getIntersection2(e,i,o);var a=e.x,v=e.y,n=i.x,c=i.y,l=o.x,E=o.y,T=g.x,D=g.y,L=void 0,O=void 0,d=void 0,N=void 0,s=void 0,h=void 0,u=void 0,p=void 0,A=void 0;return d=c-v,s=a-n,u=n*v-a*c,N=D-E,h=l-T,p=T*E-l*D,A=d*h-N*s,A===0?null:(L=(s*p-h*u)/A,O=(N*u-d*p)/A,new r(L,O))},t.angleOfVector=function(e,i,o,g){var a=void 0;return e!==o?(a=Math.atan((g-i)/(o-e)),o0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},f.exports=r},function(f,m,y){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,f.exports=r},function(f,m,y){var r=function(){function a(v,n){for(var c=0;c"u"?"undefined":r(e);return e==null||i!="object"&&i!="function"},f.exports=t},function(f,m,y){function r(l){if(Array.isArray(l)){for(var E=0,T=Array(l.length);E0&&E;){for(d.push(s[0]);d.length>0&&E;){var h=d[0];d.splice(0,1),O.add(h);for(var u=h.getEdges(),L=0;L-1&&s.splice(R,1)}O=new Set,N=new Map}}return l},c.prototype.createDummyNodesForBendpoints=function(l){for(var E=[],T=l.source,D=this.graphManager.calcLowestCommonAncestor(l.source,l.target),L=0;L0){for(var D=this.edgeToDummyNodes.get(T),L=0;L=0&&E.splice(p,1);var A=N.getNeighborsList();A.forEach(function(x){if(T.indexOf(x)<0){var _=D.get(x),U=_-1;U==1&&h.push(x),D.set(x,U)}})}T=T.concat(h),(E.length==1||E.length==2)&&(L=!0,O=E[0])}return O},c.prototype.setGraphManager=function(l){this.graphManager=l},f.exports=c},function(f,m,y){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=Math.sin(r.seed++)*1e4,r.x-Math.floor(r.x)},f.exports=r},function(f,m,y){var r=y(4);function t(e,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var i=0,o=this.lworldExtX;return o!=0&&(i=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/o),i},t.prototype.transformY=function(e){var i=0,o=this.lworldExtY;return o!=0&&(i=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/o),i},t.prototype.inverseTransformX=function(e){var i=0,o=this.ldeviceExtX;return o!=0&&(i=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/o),i},t.prototype.inverseTransformY=function(e){var i=0,o=this.ldeviceExtY;return o!=0&&(i=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/o),i},t.prototype.inverseTransformPoint=function(e){var i=new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return i},f.exports=t},function(f,m,y){function r(n){if(Array.isArray(n)){for(var c=0,l=Array(n.length);ce.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(n>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var n=this.getAllEdges(),c,l=0;l0&&arguments[0]!==void 0?arguments[0]:!0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l,E,T,D,L=this.getAllNodes(),O;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&n&&this.updateGrid(),O=new Set,l=0;ld||O>d)&&(n.gravitationForceX=-this.gravityConstant*T,n.gravitationForceY=-this.gravityConstant*D)):(d=c.getEstimatedSize()*this.compoundGravityRangeFactor,(L>d||O>d)&&(n.gravitationForceX=-this.gravityConstant*T*this.compoundGravityConstant,n.gravitationForceY=-this.gravityConstant*D*this.compoundGravityConstant))},a.prototype.isConverged=function(){var n,c=!1;return this.totalIterations>this.maxIterations/3&&(c=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),n=this.totalDisplacement=L.length||d>=L[0].length)){for(var N=0;Na}}]),o}();f.exports=i},function(f,m,y){var r=function(){function i(o,g){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,i),this.sequence1=o,this.sequence2=g,this.match_score=a,this.mismatch_penalty=v,this.gap_penalty=n,this.iMax=o.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var c=0;c=0;o--){var g=this.listeners[o];g.event===e&&g.callback===i&&this.listeners.splice(o,1)}},t.emit=function(e,i){for(var o=0;og.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},i.prototype.propogateDisplacementToChildren=function(g,a){for(var v=this.getChild().getNodes(),n,c=0;c0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var h=new Set(this.getAllNodes()),u=this.nodesWithGravity.filter(function(p){return h.has(p)});this.graphManager.setAllNodesToApplyGravitation(u),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%v.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),h=this.nodesWithGravity.filter(function(A){return s.has(A)});this.graphManager.setAllNodesToApplyGravitation(h),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var u=!this.isTreeGrowing&&!this.isGrowthFinished,p=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(u,p),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),h={},u=0;u1){var x;for(x=0;xp&&(p=Math.floor(R.y)),C=Math.floor(R.x+a.DEFAULT_COMPONENT_SEPERATION)}this.transform(new l(n.WORLD_CENTER_X-R.x/2,n.WORLD_CENTER_Y-R.y/2))},d.radialLayout=function(s,h,u){var p=Math.max(this.maxDiagonalInTree(s),a.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(h,null,0,359,0,p);var A=L.calculateBounds(s),C=new O;C.setDeviceOrgX(A.getMinX()),C.setDeviceOrgY(A.getMinY()),C.setWorldOrgX(u.x),C.setWorldOrgY(u.y);for(var R=0;R1;){var H=k[0];k.splice(0,1);var P=M.indexOf(H);P>=0&&M.splice(P,1),b--,G--}h!=null?Y=(M.indexOf(k[0])+1)%b:Y=0;for(var B=Math.abs(p-u)/G,$=Y;F!=G;$=++$%b){var K=M[$].getOtherEnd(s);if(K!=h){var Q=(u+F*B)%360,J=(Q+B)%360;d.branchRadialLayout(K,s,Q,J,A+C,C),F++}}},d.maxDiagonalInTree=function(s){for(var h=T.MIN_VALUE,u=0;uh&&(h=A)}return h},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var s=this,h={};this.memberGroups={},this.idToDummyNode={};for(var u=[],p=this.graphManager.getAllNodes(),A=0;A"u"&&(h[x]=[]),h[x]=h[x].concat(C)}Object.keys(h).forEach(function(_){if(h[_].length>1){var U="DummyCompound_"+_;s.memberGroups[U]=h[_];var X=h[_][0].getParent(),M=new o(s.graphManager);M.id=U,M.paddingLeft=X.paddingLeft||0,M.paddingRight=X.paddingRight||0,M.paddingBottom=X.paddingBottom||0,M.paddingTop=X.paddingTop||0,s.idToDummyNode[U]=M;var G=s.getGraphManager().add(s.newGraph(),M),F=X.getChild();F.add(M);for(var b=0;b=0;s--){var h=this.compoundOrder[s],u=h.id,p=h.paddingLeft,A=h.paddingTop;this.adjustLocations(this.tiledMemberPack[u],h.rect.x,h.rect.y,p,A)}},d.prototype.repopulateZeroDegreeMembers=function(){var s=this,h=this.tiledZeroDegreePack;Object.keys(h).forEach(function(u){var p=s.idToDummyNode[u],A=p.paddingLeft,C=p.paddingTop;s.adjustLocations(h[u],p.rect.x,p.rect.y,A,C)})},d.prototype.getToBeTiled=function(s){var h=s.id;if(this.toBeTiled[h]!=null)return this.toBeTiled[h];var u=s.getChild();if(u==null)return this.toBeTiled[h]=!1,!1;for(var p=u.getNodes(),A=0;A0)return this.toBeTiled[h]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[h]=!1,!1}return this.toBeTiled[h]=!0,!0},d.prototype.getNodeDegree=function(s){s.id;for(var h=s.getEdges(),u=0,p=0;p_&&(_=X.rect.height)}u+=_+s.verticalPadding}},d.prototype.tileCompoundMembers=function(s,h){var u=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(p){var A=h[p];u.tiledMemberPack[p]=u.tileNodes(s[p],A.paddingLeft+A.paddingRight),A.rect.width=u.tiledMemberPack[p].width,A.rect.height=u.tiledMemberPack[p].height})},d.prototype.tileNodes=function(s,h){var u=a.TILING_PADDING_VERTICAL,p=a.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:h,verticalPadding:u,horizontalPadding:p};s.sort(function(x,_){return x.rect.width*x.rect.height>_.rect.width*_.rect.height?-1:x.rect.width*x.rect.height<_.rect.width*_.rect.height?1:0});for(var C=0;C0&&(R+=s.horizontalPadding),s.rowWidth[u]=R,s.width0&&(x+=s.verticalPadding);var _=0;x>s.rowHeight[u]&&(_=s.rowHeight[u],s.rowHeight[u]=x,_=s.rowHeight[u]-_),s.height+=_,s.rows[u].push(h)},d.prototype.getShortestRowIndex=function(s){for(var h=-1,u=Number.MAX_VALUE,p=0;pu&&(h=p,u=s.rowWidth[p]);return h},d.prototype.canAddHorizontal=function(s,h,u){var p=this.getShortestRowIndex(s);if(p<0)return!0;var A=s.rowWidth[p];if(A+s.horizontalPadding+h<=s.width)return!0;var C=0;s.rowHeight[p]0&&(C=u+s.verticalPadding-s.rowHeight[p]);var R;s.width-A>=h+s.horizontalPadding?R=(s.height+C)/(A+h+s.horizontalPadding):R=(s.height+C)/s.width,C=u+s.verticalPadding;var x;return s.widthC&&h!=u){p.splice(-1,1),s.rows[u].push(A),s.rowWidth[h]=s.rowWidth[h]-C,s.rowWidth[u]=s.rowWidth[u]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var R=Number.MIN_VALUE,x=0;xR&&(R=p[x].height);h>0&&(R+=s.verticalPadding);var _=s.rowHeight[h]+s.rowHeight[u];s.rowHeight[h]=R,s.rowHeight[u]0)for(var F=A;F<=C;F++)G[0]+=this.grid[F][R-1].length+this.grid[F][R].length-1;if(C0)for(var F=R;F<=x;F++)G[3]+=this.grid[A-1][F].length+this.grid[A][F].length-1;for(var b=T.MAX_VALUE,Y,k,H=0;H0){var x;x=O.getGraphManager().add(O.newGraph(),u),this.processChildrenList(x,h,O)}}},l.prototype.stop=function(){return this.stopped=!0,this};var T=function(L){L("layout","cose-bilkent",l)};typeof cytoscape<"u"&&T(cytoscape),m.exports=T}])})})(dt);var St=dt.exports;const Gt=Nt(St);var st=function(){var I=S(function(O,d,N,s){for(N=N||{},s=O.length;s--;N[O[s]]=d);return N},"o"),w=[1,4],f=[1,13],m=[1,12],y=[1,15],r=[1,16],t=[1,20],e=[1,19],i=[6,7,8],o=[1,26],g=[1,24],a=[1,25],v=[6,7,11],n=[1,6,13,15,16,19,22],c=[1,33],l=[1,34],E=[1,6,7,11,13,15,16,19,22],T={trace:S(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:S(function(d,N,s,h,u,p,A){var C=p.length-1;switch(u){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",p[C].id),h.addNode(p[C-1].length,p[C].id,p[C].descr,p[C].type);break;case 16:h.getLogger().trace("Icon: ",p[C]),h.decorateNode({icon:p[C]});break;case 17:case 21:h.decorateNode({class:p[C]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",p[C].id),h.addNode(0,p[C].id,p[C].descr,p[C].type);break;case 20:h.decorateNode({icon:p[C]});break;case 25:h.getLogger().trace("node found ..",p[C-2]),this.$={id:p[C-1],descr:p[C-1],type:h.getType(p[C-2],p[C])};break;case 26:this.$={id:p[C],descr:p[C],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",p[C-3]),this.$={id:p[C-3],descr:p[C-1],type:h.getType(p[C-2],p[C])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:w},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:w},{6:f,7:[1,10],9:9,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(i,[2,3]),{1:[2,2]},I(i,[2,4]),I(i,[2,5]),{1:[2,6],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:f,9:22,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:o,7:g,10:23,11:a},I(v,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),I(v,[2,18]),I(v,[2,19]),I(v,[2,20]),I(v,[2,21]),I(v,[2,23]),I(v,[2,24]),I(v,[2,26],{19:[1,30]}),{20:[1,31]},{6:o,7:g,10:32,11:a},{1:[2,7],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(n,[2,14],{7:c,11:l}),I(E,[2,8]),I(E,[2,9]),I(E,[2,10]),I(v,[2,15]),I(v,[2,16]),I(v,[2,17]),{20:[1,35]},{21:[1,36]},I(n,[2,13],{7:c,11:l}),I(E,[2,11]),I(E,[2,12]),{21:[1,37]},I(v,[2,25]),I(v,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:S(function(d,N){if(N.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=N,s}},"parseError"),parse:S(function(d){var N=this,s=[0],h=[],u=[null],p=[],A=this.table,C="",R=0,x=0,_=2,U=1,X=p.slice.call(arguments,1),M=Object.create(this.lexer),G={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(G.yy[F]=this.yy[F]);M.setInput(d,G.yy),G.yy.lexer=M,G.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var b=M.yylloc;p.push(b);var Y=M.options&&M.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(V){s.length=s.length-2*V,u.length=u.length-V,p.length=p.length-V}S(k,"popStack");function H(){var V;return V=h.pop()||M.lex()||U,typeof V!="number"&&(V instanceof Array&&(h=V,V=h.pop()),V=N.symbols_[V]||V),V}S(H,"lex");for(var P,B,$,K,Q={},J,j,gt,q;;){if(B=s[s.length-1],this.defaultActions[B]?$=this.defaultActions[B]:((P===null||typeof P>"u")&&(P=H()),$=A[B]&&A[B][P]),typeof $>"u"||!$.length||!$[0]){var rt="";q=[];for(J in A[B])this.terminals_[J]&&J>_&&q.push("'"+this.terminals_[J]+"'");M.showPosition?rt="Parse error on line "+(R+1)+`: +import{aH as at,aI as Nt,_ as S,l as z,j as Dt,aj as mt,O as Ot,d as ot,G as At,V as It,B as tt,i as et,W as Ct,X as Rt,Y as xt}from"./md-index-TGP-egEp.js";import{c as pt}from"./md-cytoscape.esm-bEGULzDv.js";var dt={exports:{}},it={exports:{}},nt={exports:{}},ut;function Mt(){return ut||(ut=1,function(I,w){(function(m,y){I.exports=y()})(at,function(){return function(f){var m={};function y(r){if(m[r])return m[r].exports;var t=m[r]={i:r,l:!1,exports:{}};return f[r].call(t.exports,t,t.exports,y),t.l=!0,t.exports}return y.m=f,y.c=m,y.i=function(r){return r},y.d=function(r,t,e){y.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return y.d(t,"a",t),t},y.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},y.p="",y(y.s=26)}([function(f,m,y){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,f.exports=r},function(f,m,y){var r=y(2),t=y(8),e=y(9);function i(g,a,v){r.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(var o in r)i[o]=r[o];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(var v=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(v.getOwner()==a)return v;if(v.getOwner()==n)break;v=v.getOwner().getParent()}return null},i.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=i},function(f,m,y){function r(t){this.vGraphObject=t}f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(13),i=y(0),o=y(16),g=y(4);function a(n,c,l,E){l==null&&E==null&&(E=c),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,l!=null&&c!=null?this.rect=new e(c.x,c.y,l.width,l.height):this.rect=new e}a.prototype=Object.create(r.prototype);for(var v in r)a[v]=r[v];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(n){this.rect.width=n},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(n){this.rect.height=n},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(n,c){this.rect.x=n.x,this.rect.y=n.y,this.rect.width=c.width,this.rect.height=c.height},a.prototype.setCenter=function(n,c){this.rect.x=n-this.rect.width/2,this.rect.y=c-this.rect.height/2},a.prototype.setLocation=function(n,c){this.rect.x=n,this.rect.y=c},a.prototype.moveBy=function(n,c){this.rect.x+=n,this.rect.y+=c},a.prototype.getEdgeListToNode=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(E.target==n){if(E.source!=l)throw"Incorrect edge source!";c.push(E)}}),c},a.prototype.getEdgesBetween=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(!(E.source==l||E.target==l))throw"Incorrect edge source and/or target";(E.target==n||E.source==n)&&c.push(E)}),c},a.prototype.getNeighborsList=function(){var n=new Set,c=this;return c.edges.forEach(function(l){if(l.source==c)n.add(l.target);else{if(l.target!=c)throw"Incorrect incidency!";n.add(l.source)}}),n},a.prototype.withChildren=function(){var n=new Set,c,l;if(n.add(this),this.child!=null)for(var E=this.child.getNodes(),T=0;Tc&&(this.rect.x-=(this.labelWidth-c)/2,this.setWidth(this.labelWidth)),this.labelHeight>l&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-l)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-l),this.setHeight(this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(n){var c=this.rect.x;c>i.WORLD_BOUNDARY?c=i.WORLD_BOUNDARY:c<-i.WORLD_BOUNDARY&&(c=-i.WORLD_BOUNDARY);var l=this.rect.y;l>i.WORLD_BOUNDARY?l=i.WORLD_BOUNDARY:l<-i.WORLD_BOUNDARY&&(l=-i.WORLD_BOUNDARY);var E=new g(c,l),T=n.inverseTransformPoint(E);this.setLocation(T.x,T.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=a},function(f,m,y){function r(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(0),i=y(6),o=y(3),g=y(1),a=y(13),v=y(12),n=y(11);function c(E,T,D){r.call(this,D),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,T!=null&&T instanceof i?this.graphManager=T:T!=null&&T instanceof Layout&&(this.graphManager=T.graphManager)}c.prototype=Object.create(r.prototype);for(var l in r)c[l]=r[l];c.prototype.getNodes=function(){return this.nodes},c.prototype.getEdges=function(){return this.edges},c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getParent=function(){return this.parent},c.prototype.getLeft=function(){return this.left},c.prototype.getRight=function(){return this.right},c.prototype.getTop=function(){return this.top},c.prototype.getBottom=function(){return this.bottom},c.prototype.isConnected=function(){return this.isConnected},c.prototype.add=function(E,T,D){if(T==null&&D==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var O=E;if(!(this.getNodes().indexOf(T)>-1&&this.getNodes().indexOf(D)>-1))throw"Source or target not in graph!";if(!(T.owner==D.owner&&T.owner==this))throw"Both owners must be this graph!";return T.owner!=D.owner?null:(O.source=T,O.target=D,O.isInterGraph=!1,this.getEdges().push(O),T.edges.push(O),D!=T&&D.edges.push(O),O)}},c.prototype.remove=function(E){var T=E;if(E instanceof o){if(T==null)throw"Node is null!";if(!(T.owner!=null&&T.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var D=T.edges.slice(),L,O=D.length,d=0;d-1&&h>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(s,1),L.target!=L.source&&L.target.edges.splice(h,1);var N=L.source.owner.getEdges().indexOf(L);if(N==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(N,1)}},c.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,T=t.MAX_VALUE,D,L,O,d=this.getNodes(),N=d.length,s=0;sD&&(E=D),T>L&&(T=L)}return E==t.MAX_VALUE?null:(d[0].getParent().paddingLeft!=null?O=d[0].getParent().paddingLeft:O=this.margin,this.left=T-O,this.top=E-O,new v(this.left,this.top))},c.prototype.updateBounds=function(E){for(var T=t.MAX_VALUE,D=-t.MAX_VALUE,L=t.MAX_VALUE,O=-t.MAX_VALUE,d,N,s,h,u,p=this.nodes,A=p.length,C=0;Cd&&(T=d),Ds&&(L=s),Od&&(T=d),Ds&&(L=s),O=this.nodes.length){var A=0;D.forEach(function(C){C.owner==E&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},f.exports=c},function(f,m,y){var r,t=y(1);function e(i){r=y(5),this.layout=i,this.graphs=[],this.edges=[]}e.prototype.addRoot=function(){var i=this.layout.newGraph(),o=this.layout.newNode(null),g=this.add(i,o);return this.setRootGraph(g),this.rootGraph},e.prototype.add=function(i,o,g,a,v){if(g==null&&a==null&&v==null){if(i==null)throw"Graph is null!";if(o==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(o.child!=null)throw"Already has a child!";return i.parent=o,o.child=i,i}else{v=g,a=o,g=i;var n=a.getOwner(),c=v.getOwner();if(!(n!=null&&n.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(c!=null&&c.getGraphManager()==this))throw"Target not in this graph mgr!";if(n==c)return g.isInterGraph=!1,n.add(g,a,v);if(g.isInterGraph=!0,g.source=a,g.target=v,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},e.prototype.remove=function(i){if(i instanceof r){var o=i;if(o.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(o==this.rootGraph||o.parent!=null&&o.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(o.getEdges());for(var a,v=g.length,n=0;n=i.getRight()?o[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight()):i.getX()<=e.getX()&&i.getRight()>=e.getRight()&&(o[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight())),e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()?o[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()):i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()&&(o[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()));var v=Math.abs((i.getCenterY()-e.getCenterY())/(i.getCenterX()-e.getCenterX()));i.getCenterY()===e.getCenterY()&&i.getCenterX()===e.getCenterX()&&(v=1);var n=v*o[0],c=o[1]/v;o[0]n)return o[0]=g,o[1]=l,o[2]=v,o[3]=p,!1;if(av)return o[0]=c,o[1]=a,o[2]=h,o[3]=n,!1;if(gv?(o[0]=T,o[1]=D,x=!0):(o[0]=E,o[1]=l,x=!0):U===M&&(g>v?(o[0]=c,o[1]=l,x=!0):(o[0]=L,o[1]=D,x=!0)),-X===M?v>g?(o[2]=u,o[3]=p,_=!0):(o[2]=h,o[3]=s,_=!0):X===M&&(v>g?(o[2]=N,o[3]=s,_=!0):(o[2]=A,o[3]=p,_=!0)),x&&_)return!1;if(g>v?a>n?(G=this.getCardinalDirection(U,M,4),F=this.getCardinalDirection(X,M,2)):(G=this.getCardinalDirection(-U,M,3),F=this.getCardinalDirection(-X,M,1)):a>n?(G=this.getCardinalDirection(-U,M,1),F=this.getCardinalDirection(-X,M,3)):(G=this.getCardinalDirection(U,M,2),F=this.getCardinalDirection(X,M,4)),!x)switch(G){case 1:Y=l,b=g+-d/M,o[0]=b,o[1]=Y;break;case 2:b=L,Y=a+O*M,o[0]=b,o[1]=Y;break;case 3:Y=D,b=g+d/M,o[0]=b,o[1]=Y;break;case 4:b=T,Y=a+-O*M,o[0]=b,o[1]=Y;break}if(!_)switch(F){case 1:H=s,k=v+-R/M,o[2]=k,o[3]=H;break;case 2:k=A,H=n+C*M,o[2]=k,o[3]=H;break;case 3:H=p,k=v+R/M,o[2]=k,o[3]=H;break;case 4:k=u,H=n+-C*M,o[2]=k,o[3]=H;break}}return!1},t.getCardinalDirection=function(e,i,o){return e>i?o:1+o%4},t.getIntersection=function(e,i,o,g){if(g==null)return this.getIntersection2(e,i,o);var a=e.x,v=e.y,n=i.x,c=i.y,l=o.x,E=o.y,T=g.x,D=g.y,L=void 0,O=void 0,d=void 0,N=void 0,s=void 0,h=void 0,u=void 0,p=void 0,A=void 0;return d=c-v,s=a-n,u=n*v-a*c,N=D-E,h=l-T,p=T*E-l*D,A=d*h-N*s,A===0?null:(L=(s*p-h*u)/A,O=(N*u-d*p)/A,new r(L,O))},t.angleOfVector=function(e,i,o,g){var a=void 0;return e!==o?(a=Math.atan((g-i)/(o-e)),o0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},f.exports=r},function(f,m,y){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,f.exports=r},function(f,m,y){var r=function(){function a(v,n){for(var c=0;c"u"?"undefined":r(e);return e==null||i!="object"&&i!="function"},f.exports=t},function(f,m,y){function r(l){if(Array.isArray(l)){for(var E=0,T=Array(l.length);E0&&E;){for(d.push(s[0]);d.length>0&&E;){var h=d[0];d.splice(0,1),O.add(h);for(var u=h.getEdges(),L=0;L-1&&s.splice(R,1)}O=new Set,N=new Map}}return l},c.prototype.createDummyNodesForBendpoints=function(l){for(var E=[],T=l.source,D=this.graphManager.calcLowestCommonAncestor(l.source,l.target),L=0;L0){for(var D=this.edgeToDummyNodes.get(T),L=0;L=0&&E.splice(p,1);var A=N.getNeighborsList();A.forEach(function(x){if(T.indexOf(x)<0){var _=D.get(x),U=_-1;U==1&&h.push(x),D.set(x,U)}})}T=T.concat(h),(E.length==1||E.length==2)&&(L=!0,O=E[0])}return O},c.prototype.setGraphManager=function(l){this.graphManager=l},f.exports=c},function(f,m,y){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=Math.sin(r.seed++)*1e4,r.x-Math.floor(r.x)},f.exports=r},function(f,m,y){var r=y(4);function t(e,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var i=0,o=this.lworldExtX;return o!=0&&(i=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/o),i},t.prototype.transformY=function(e){var i=0,o=this.lworldExtY;return o!=0&&(i=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/o),i},t.prototype.inverseTransformX=function(e){var i=0,o=this.ldeviceExtX;return o!=0&&(i=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/o),i},t.prototype.inverseTransformY=function(e){var i=0,o=this.ldeviceExtY;return o!=0&&(i=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/o),i},t.prototype.inverseTransformPoint=function(e){var i=new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return i},f.exports=t},function(f,m,y){function r(n){if(Array.isArray(n)){for(var c=0,l=Array(n.length);ce.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(n>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var n=this.getAllEdges(),c,l=0;l0&&arguments[0]!==void 0?arguments[0]:!0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l,E,T,D,L=this.getAllNodes(),O;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&n&&this.updateGrid(),O=new Set,l=0;ld||O>d)&&(n.gravitationForceX=-this.gravityConstant*T,n.gravitationForceY=-this.gravityConstant*D)):(d=c.getEstimatedSize()*this.compoundGravityRangeFactor,(L>d||O>d)&&(n.gravitationForceX=-this.gravityConstant*T*this.compoundGravityConstant,n.gravitationForceY=-this.gravityConstant*D*this.compoundGravityConstant))},a.prototype.isConverged=function(){var n,c=!1;return this.totalIterations>this.maxIterations/3&&(c=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),n=this.totalDisplacement=L.length||d>=L[0].length)){for(var N=0;Na}}]),o}();f.exports=i},function(f,m,y){var r=function(){function i(o,g){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,i),this.sequence1=o,this.sequence2=g,this.match_score=a,this.mismatch_penalty=v,this.gap_penalty=n,this.iMax=o.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var c=0;c=0;o--){var g=this.listeners[o];g.event===e&&g.callback===i&&this.listeners.splice(o,1)}},t.emit=function(e,i){for(var o=0;og.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},i.prototype.propogateDisplacementToChildren=function(g,a){for(var v=this.getChild().getNodes(),n,c=0;c0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var h=new Set(this.getAllNodes()),u=this.nodesWithGravity.filter(function(p){return h.has(p)});this.graphManager.setAllNodesToApplyGravitation(u),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%v.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),h=this.nodesWithGravity.filter(function(A){return s.has(A)});this.graphManager.setAllNodesToApplyGravitation(h),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var u=!this.isTreeGrowing&&!this.isGrowthFinished,p=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(u,p),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),h={},u=0;u1){var x;for(x=0;xp&&(p=Math.floor(R.y)),C=Math.floor(R.x+a.DEFAULT_COMPONENT_SEPERATION)}this.transform(new l(n.WORLD_CENTER_X-R.x/2,n.WORLD_CENTER_Y-R.y/2))},d.radialLayout=function(s,h,u){var p=Math.max(this.maxDiagonalInTree(s),a.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(h,null,0,359,0,p);var A=L.calculateBounds(s),C=new O;C.setDeviceOrgX(A.getMinX()),C.setDeviceOrgY(A.getMinY()),C.setWorldOrgX(u.x),C.setWorldOrgY(u.y);for(var R=0;R1;){var H=k[0];k.splice(0,1);var P=M.indexOf(H);P>=0&&M.splice(P,1),b--,G--}h!=null?Y=(M.indexOf(k[0])+1)%b:Y=0;for(var B=Math.abs(p-u)/G,$=Y;F!=G;$=++$%b){var K=M[$].getOtherEnd(s);if(K!=h){var Q=(u+F*B)%360,J=(Q+B)%360;d.branchRadialLayout(K,s,Q,J,A+C,C),F++}}},d.maxDiagonalInTree=function(s){for(var h=T.MIN_VALUE,u=0;uh&&(h=A)}return h},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var s=this,h={};this.memberGroups={},this.idToDummyNode={};for(var u=[],p=this.graphManager.getAllNodes(),A=0;A"u"&&(h[x]=[]),h[x]=h[x].concat(C)}Object.keys(h).forEach(function(_){if(h[_].length>1){var U="DummyCompound_"+_;s.memberGroups[U]=h[_];var X=h[_][0].getParent(),M=new o(s.graphManager);M.id=U,M.paddingLeft=X.paddingLeft||0,M.paddingRight=X.paddingRight||0,M.paddingBottom=X.paddingBottom||0,M.paddingTop=X.paddingTop||0,s.idToDummyNode[U]=M;var G=s.getGraphManager().add(s.newGraph(),M),F=X.getChild();F.add(M);for(var b=0;b=0;s--){var h=this.compoundOrder[s],u=h.id,p=h.paddingLeft,A=h.paddingTop;this.adjustLocations(this.tiledMemberPack[u],h.rect.x,h.rect.y,p,A)}},d.prototype.repopulateZeroDegreeMembers=function(){var s=this,h=this.tiledZeroDegreePack;Object.keys(h).forEach(function(u){var p=s.idToDummyNode[u],A=p.paddingLeft,C=p.paddingTop;s.adjustLocations(h[u],p.rect.x,p.rect.y,A,C)})},d.prototype.getToBeTiled=function(s){var h=s.id;if(this.toBeTiled[h]!=null)return this.toBeTiled[h];var u=s.getChild();if(u==null)return this.toBeTiled[h]=!1,!1;for(var p=u.getNodes(),A=0;A0)return this.toBeTiled[h]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[h]=!1,!1}return this.toBeTiled[h]=!0,!0},d.prototype.getNodeDegree=function(s){s.id;for(var h=s.getEdges(),u=0,p=0;p_&&(_=X.rect.height)}u+=_+s.verticalPadding}},d.prototype.tileCompoundMembers=function(s,h){var u=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(p){var A=h[p];u.tiledMemberPack[p]=u.tileNodes(s[p],A.paddingLeft+A.paddingRight),A.rect.width=u.tiledMemberPack[p].width,A.rect.height=u.tiledMemberPack[p].height})},d.prototype.tileNodes=function(s,h){var u=a.TILING_PADDING_VERTICAL,p=a.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:h,verticalPadding:u,horizontalPadding:p};s.sort(function(x,_){return x.rect.width*x.rect.height>_.rect.width*_.rect.height?-1:x.rect.width*x.rect.height<_.rect.width*_.rect.height?1:0});for(var C=0;C0&&(R+=s.horizontalPadding),s.rowWidth[u]=R,s.width0&&(x+=s.verticalPadding);var _=0;x>s.rowHeight[u]&&(_=s.rowHeight[u],s.rowHeight[u]=x,_=s.rowHeight[u]-_),s.height+=_,s.rows[u].push(h)},d.prototype.getShortestRowIndex=function(s){for(var h=-1,u=Number.MAX_VALUE,p=0;pu&&(h=p,u=s.rowWidth[p]);return h},d.prototype.canAddHorizontal=function(s,h,u){var p=this.getShortestRowIndex(s);if(p<0)return!0;var A=s.rowWidth[p];if(A+s.horizontalPadding+h<=s.width)return!0;var C=0;s.rowHeight[p]0&&(C=u+s.verticalPadding-s.rowHeight[p]);var R;s.width-A>=h+s.horizontalPadding?R=(s.height+C)/(A+h+s.horizontalPadding):R=(s.height+C)/s.width,C=u+s.verticalPadding;var x;return s.widthC&&h!=u){p.splice(-1,1),s.rows[u].push(A),s.rowWidth[h]=s.rowWidth[h]-C,s.rowWidth[u]=s.rowWidth[u]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var R=Number.MIN_VALUE,x=0;xR&&(R=p[x].height);h>0&&(R+=s.verticalPadding);var _=s.rowHeight[h]+s.rowHeight[u];s.rowHeight[h]=R,s.rowHeight[u]0)for(var F=A;F<=C;F++)G[0]+=this.grid[F][R-1].length+this.grid[F][R].length-1;if(C0)for(var F=R;F<=x;F++)G[3]+=this.grid[A-1][F].length+this.grid[A][F].length-1;for(var b=T.MAX_VALUE,Y,k,H=0;H0){var x;x=O.getGraphManager().add(O.newGraph(),u),this.processChildrenList(x,h,O)}}},l.prototype.stop=function(){return this.stopped=!0,this};var T=function(L){L("layout","cose-bilkent",l)};typeof cytoscape<"u"&&T(cytoscape),m.exports=T}])})})(dt);var St=dt.exports;const Gt=Nt(St);var st=function(){var I=S(function(O,d,N,s){for(N=N||{},s=O.length;s--;N[O[s]]=d);return N},"o"),w=[1,4],f=[1,13],m=[1,12],y=[1,15],r=[1,16],t=[1,20],e=[1,19],i=[6,7,8],o=[1,26],g=[1,24],a=[1,25],v=[6,7,11],n=[1,6,13,15,16,19,22],c=[1,33],l=[1,34],E=[1,6,7,11,13,15,16,19,22],T={trace:S(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:S(function(d,N,s,h,u,p,A){var C=p.length-1;switch(u){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",p[C].id),h.addNode(p[C-1].length,p[C].id,p[C].descr,p[C].type);break;case 16:h.getLogger().trace("Icon: ",p[C]),h.decorateNode({icon:p[C]});break;case 17:case 21:h.decorateNode({class:p[C]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",p[C].id),h.addNode(0,p[C].id,p[C].descr,p[C].type);break;case 20:h.decorateNode({icon:p[C]});break;case 25:h.getLogger().trace("node found ..",p[C-2]),this.$={id:p[C-1],descr:p[C-1],type:h.getType(p[C-2],p[C])};break;case 26:this.$={id:p[C],descr:p[C],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",p[C-3]),this.$={id:p[C-3],descr:p[C-1],type:h.getType(p[C-2],p[C])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:w},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:w},{6:f,7:[1,10],9:9,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(i,[2,3]),{1:[2,2]},I(i,[2,4]),I(i,[2,5]),{1:[2,6],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:f,9:22,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:o,7:g,10:23,11:a},I(v,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),I(v,[2,18]),I(v,[2,19]),I(v,[2,20]),I(v,[2,21]),I(v,[2,23]),I(v,[2,24]),I(v,[2,26],{19:[1,30]}),{20:[1,31]},{6:o,7:g,10:32,11:a},{1:[2,7],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(n,[2,14],{7:c,11:l}),I(E,[2,8]),I(E,[2,9]),I(E,[2,10]),I(v,[2,15]),I(v,[2,16]),I(v,[2,17]),{20:[1,35]},{21:[1,36]},I(n,[2,13],{7:c,11:l}),I(E,[2,11]),I(E,[2,12]),{21:[1,37]},I(v,[2,25]),I(v,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:S(function(d,N){if(N.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=N,s}},"parseError"),parse:S(function(d){var N=this,s=[0],h=[],u=[null],p=[],A=this.table,C="",R=0,x=0,_=2,U=1,X=p.slice.call(arguments,1),M=Object.create(this.lexer),G={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(G.yy[F]=this.yy[F]);M.setInput(d,G.yy),G.yy.lexer=M,G.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var b=M.yylloc;p.push(b);var Y=M.options&&M.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(V){s.length=s.length-2*V,u.length=u.length-V,p.length=p.length-V}S(k,"popStack");function H(){var V;return V=h.pop()||M.lex()||U,typeof V!="number"&&(V instanceof Array&&(h=V,V=h.pop()),V=N.symbols_[V]||V),V}S(H,"lex");for(var P,B,$,K,Q={},J,j,gt,q;;){if(B=s[s.length-1],this.defaultActions[B]?$=this.defaultActions[B]:((P===null||typeof P>"u")&&(P=H()),$=A[B]&&A[B][P]),typeof $>"u"||!$.length||!$[0]){var rt="";q=[];for(J in A[B])this.terminals_[J]&&J>_&&q.push("'"+this.terminals_[J]+"'");M.showPosition?rt="Parse error on line "+(R+1)+`: `+M.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[P]||P)+"'":rt="Parse error on line "+(R+1)+": Unexpected "+(P==U?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(rt,{text:M.match,token:this.terminals_[P]||P,line:M.yylineno,loc:b,expected:q})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+B+", token: "+P);switch($[0]){case 1:s.push(P),u.push(M.yytext),p.push(M.yylloc),s.push($[1]),P=null,x=M.yyleng,C=M.yytext,R=M.yylineno,b=M.yylloc;break;case 2:if(j=this.productions_[$[1]][1],Q.$=u[u.length-j],Q._$={first_line:p[p.length-(j||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(j||1)].first_column,last_column:p[p.length-1].last_column},Y&&(Q._$.range=[p[p.length-(j||1)].range[0],p[p.length-1].range[1]]),K=this.performAction.apply(Q,[C,x,R,G.yy,$[1],u,p].concat(X)),typeof K<"u")return K;j&&(s=s.slice(0,-1*j*2),u=u.slice(0,-1*j),p=p.slice(0,-1*j)),s.push(this.productions_[$[1]][0]),u.push(Q.$),p.push(Q._$),gt=A[s[s.length-2]][s[s.length-1]],s.push(gt);break;case 3:return!0}}return!0},"parse")},D=function(){var O={EOF:1,parseError:S(function(N,s){if(this.yy.parser)this.yy.parser.parseError(N,s);else throw new Error(N)},"parseError"),setInput:S(function(d,N){return this.yy=N||this.yy||{},this._input=d,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:S(function(){var d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var N=d.match(/(?:\r\n?|\n).*/g);return N?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),d},"input"),unput:S(function(d){var N=d.length,s=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-N),this.offset-=N;var h=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===h.length?this.yylloc.first_column:0)+h[h.length-s.length].length-s[0].length:this.yylloc.first_column-N},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-N]),this.yyleng=this.yytext.length,this},"unput"),more:S(function(){return this._more=!0,this},"more"),reject:S(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:S(function(d){this.unput(this.match.slice(d))},"less"),pastInput:S(function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:S(function(){var d=this.match;return d.length<20&&(d+=this._input.substr(0,20-d.length)),(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:S(function(){var d=this.pastInput(),N=new Array(d.length+1).join("-");return d+this.upcomingInput()+` diff --git a/static/js/md-pieDiagram-YF2LJOPJ-8PtYrOoZ.js b/static/js/md-pieDiagram-YF2LJOPJ-Dtr2pYGZ.js similarity index 93% rename from static/js/md-pieDiagram-YF2LJOPJ-8PtYrOoZ.js rename to static/js/md-pieDiagram-YF2LJOPJ-Dtr2pYGZ.js index 6074fa7..e689b87 100644 --- a/static/js/md-pieDiagram-YF2LJOPJ-8PtYrOoZ.js +++ b/static/js/md-pieDiagram-YF2LJOPJ-Dtr2pYGZ.js @@ -1,4 +1,4 @@ -import{p as U}from"./md-chunk-TMUBEWPD-DWs3TCfi.js";import{aa as y,a2 as G,aG as j,B as q,p as Z,q as H,s as J,g as K,c as Q,b as X,_ as p,l as z,v as Y,d as tt,C as et,G as at,O as rt,k as nt}from"./md-index-trBnGDGX.js";import{p as it}from"./md-gitGraph-YCYPL57B-CcCkDaPL.js";import{d as P}from"./md-arc-CJtsns1o.js";import{o as st}from"./md-ordinal-CxVaQH2l.js";import"./md-_baseUniq-B7UZj1IW.js";import"./md-_basePickBy-BMLPiLYr.js";import"./md-clone-D08UH0Wo.js";import"./md-init-Gi6I4Gst.js";function ot(t,a){return at?1:a>=t?0:NaN}function lt(t){return t}function ct(){var t=lt,a=ot,m=null,o=y(0),g=y(G),x=y(0);function i(e){var r,l=(e=j(e)).length,c,A,h=0,u=new Array(l),n=new Array(l),v=+o.apply(this,arguments),w=Math.min(G,Math.max(-G,g.apply(this,arguments)-v)),f,T=Math.min(Math.abs(w)/l,x.apply(this,arguments)),$=T*(w<0?-1:1),d;for(r=0;r0&&(h+=d);for(a!=null?u.sort(function(S,C){return a(n[S],n[C])}):m!=null&&u.sort(function(S,C){return m(e[S],e[C])}),r=0,A=h?(w-l*$)/h:0;r0?d*A:0)+$,n[c]={data:e[c],index:r,value:d,startAngle:v,endAngle:f,padAngle:T};return n}return i.value=function(e){return arguments.length?(t=typeof e=="function"?e:y(+e),i):t},i.sortValues=function(e){return arguments.length?(a=e,m=null,i):a},i.sort=function(e){return arguments.length?(m=e,a=null,i):m},i.startAngle=function(e){return arguments.length?(o=typeof e=="function"?e:y(+e),i):o},i.endAngle=function(e){return arguments.length?(g=typeof e=="function"?e:y(+e),i):g},i.padAngle=function(e){return arguments.length?(x=typeof e=="function"?e:y(+e),i):x},i}var R=q.pie,F={sections:new Map,showData:!1,config:R},b=F.sections,O=F.showData,ut=structuredClone(R),pt=p(()=>structuredClone(ut),"getConfig"),gt=p(()=>{b=new Map,O=F.showData,Y()},"clear"),dt=p(({label:t,value:a})=>{b.has(t)||(b.set(t,a),z.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),ft=p(()=>b,"getSections"),mt=p(t=>{O=t},"setShowData"),ht=p(()=>O,"getShowData"),I={getConfig:pt,clear:gt,setDiagramTitle:Z,getDiagramTitle:H,setAccTitle:J,getAccTitle:K,setAccDescription:Q,getAccDescription:X,addSection:dt,getSections:ft,setShowData:mt,getShowData:ht},vt=p((t,a)=>{U(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),St={parse:p(async t=>{const a=await it("pie",t);z.debug(a),vt(a,I)},"parse")},yt=p(t=>` +import{p as U}from"./md-chunk-TMUBEWPD-Czd4q-Vh.js";import{aa as y,a2 as G,aG as j,B as q,p as Z,q as H,s as J,g as K,c as Q,b as X,_ as p,l as z,v as Y,d as tt,C as et,G as at,O as rt,k as nt}from"./md-index-TGP-egEp.js";import{p as it}from"./md-gitGraph-YCYPL57B-DO9uQgTZ.js";import{d as P}from"./md-arc-Ce2V3LWk.js";import{o as st}from"./md-ordinal-CxVaQH2l.js";import"./md-_baseUniq-Bm0iSxF4.js";import"./md-_basePickBy-D2Yv_vSZ.js";import"./md-clone-Bb0Qs8zN.js";import"./md-init-Gi6I4Gst.js";function ot(t,a){return at?1:a>=t?0:NaN}function lt(t){return t}function ct(){var t=lt,a=ot,m=null,o=y(0),g=y(G),x=y(0);function i(e){var r,l=(e=j(e)).length,c,A,h=0,u=new Array(l),n=new Array(l),v=+o.apply(this,arguments),w=Math.min(G,Math.max(-G,g.apply(this,arguments)-v)),f,T=Math.min(Math.abs(w)/l,x.apply(this,arguments)),$=T*(w<0?-1:1),d;for(r=0;r0&&(h+=d);for(a!=null?u.sort(function(S,C){return a(n[S],n[C])}):m!=null&&u.sort(function(S,C){return m(e[S],e[C])}),r=0,A=h?(w-l*$)/h:0;r0?d*A:0)+$,n[c]={data:e[c],index:r,value:d,startAngle:v,endAngle:f,padAngle:T};return n}return i.value=function(e){return arguments.length?(t=typeof e=="function"?e:y(+e),i):t},i.sortValues=function(e){return arguments.length?(a=e,m=null,i):a},i.sort=function(e){return arguments.length?(m=e,a=null,i):m},i.startAngle=function(e){return arguments.length?(o=typeof e=="function"?e:y(+e),i):o},i.endAngle=function(e){return arguments.length?(g=typeof e=="function"?e:y(+e),i):g},i.padAngle=function(e){return arguments.length?(x=typeof e=="function"?e:y(+e),i):x},i}var R=q.pie,F={sections:new Map,showData:!1,config:R},b=F.sections,O=F.showData,ut=structuredClone(R),pt=p(()=>structuredClone(ut),"getConfig"),gt=p(()=>{b=new Map,O=F.showData,Y()},"clear"),dt=p(({label:t,value:a})=>{b.has(t)||(b.set(t,a),z.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),ft=p(()=>b,"getSections"),mt=p(t=>{O=t},"setShowData"),ht=p(()=>O,"getShowData"),I={getConfig:pt,clear:gt,setDiagramTitle:Z,getDiagramTitle:H,setAccTitle:J,getAccTitle:K,setAccDescription:Q,getAccDescription:X,addSection:dt,getSections:ft,setShowData:mt,getShowData:ht},vt=p((t,a)=>{U(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),St={parse:p(async t=>{const a=await it("pie",t);z.debug(a),vt(a,I)},"parse")},yt=p(t=>` .pieCircle{ stroke: ${t.pieStrokeColor}; stroke-width : ${t.pieStrokeWidth}; diff --git a/static/js/md-quadrantDiagram-OS5C2QUG-C_h7D4qT.js b/static/js/md-quadrantDiagram-OS5C2QUG-CRTWPMC3.js similarity index 99% rename from static/js/md-quadrantDiagram-OS5C2QUG-C_h7D4qT.js rename to static/js/md-quadrantDiagram-OS5C2QUG-CRTWPMC3.js index 63e2543..915c41e 100644 --- a/static/js/md-quadrantDiagram-OS5C2QUG-C_h7D4qT.js +++ b/static/js/md-quadrantDiagram-OS5C2QUG-CRTWPMC3.js @@ -1,4 +1,4 @@ -import{_ as o,I as _e,B as D,l as At,d as wt,i as Ae,q as ie,s as ke,g as Fe,p as Pe,b as ve,c as Ce,v as Le,j as zt,k as Ee}from"./md-index-trBnGDGX.js";import{l as ee}from"./md-linear-qIPm0QjV.js";import"./md-init-Gi6I4Gst.js";var Vt=function(){var t=o(function(j,r,l,g){for(l=l||{},g=j.length;g--;l[j[g]]=r);return l},"o"),n=[1,3],u=[1,4],c=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],A=[2,36],d=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],x=[1,41],O=[1,14],Y=[1,23],G=[1,18],yt=[1,19],Tt=[1,20],dt=[1,21],Ft=[1,22],ut=[1,24],xt=[1,25],ft=[1,26],gt=[1,27],i=[1,28],Bt=[1,29],W=[1,32],U=[1,33],k=[1,34],F=[1,39],P=[1,40],v=[1,42],C=[1,44],H=[1,62],X=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Rt=[1,65],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Ht=[1,71],Xt=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],$=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],ot=[1,98],Pt=[1,102],Kt=[10,55,56,57],R=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],vt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,g,f,_,e,pt){var s=e.length-1;switch(_){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],f.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:f.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:f.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:f.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:f.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:f.setXAxisLeftText(e[s-2]),f.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",f.setXAxisLeftText(e[s-1]);break;case 53:f.setXAxisLeftText(e[s]);break;case 54:f.setYAxisBottomText(e[s-2]),f.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",f.setYAxisBottomText(e[s-1]);break;case 56:f.setYAxisBottomText(e[s]);break;case 57:f.setQuadrant1Text(e[s]);break;case 58:f.setQuadrant2Text(e[s]);break;case 59:f.setQuadrant3Text(e[s]);break;case 60:f.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:u,55:c,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:u,55:c,56:h,57:p},{18:n,26:9,27:2,28:u,55:c,56:h,57:p},t(y,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(a,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(y,[2,34]),{27:45,55:c,56:h,57:p},t(a,[2,37]),t(a,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(a,[2,45]),t(a,[2,46]),{18:[1,50]},{4:d,5:T,10:q,12:m,13:b,14:x,43:51,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:52,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:53,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:54,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:55,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:56,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:v,67:C},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:64,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,21:63},t(a,[2,53],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,77],63:k,64:F,65:P,66:v,67:C}),t(a,[2,56],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,78],63:k,64:F,65:P,66:v,67:C}),t(a,[2,57],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,58],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,59],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,60],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,18:[1,81]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(a,[2,52],{58:31,43:83,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,55],{58:31,43:84,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:88,23:87},t(I,[2,24]),t(a,[2,51],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,54],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,47],{22:88,16:89,23:100,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{46:[1,101]},t(a,[2,29],{10:Pt}),t(Kt,[2,27],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),t(R,[2,25]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,21]),t(R,[2,22]),t(a,[2,49],{10:Pt}),t(a,[2,48],{22:88,16:89,23:104,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:105},t(R,[2,26]),t(a,[2,50],{10:Pt}),t(Kt,[2,28],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=l,g}},"parseError"),parse:o(function(r){var l=this,g=[0],f=[],_=[null],e=[],pt=this.table,s="",mt=0,Zt=0,qe=2,Jt=1,me=e.slice.call(arguments,1),E=Object.create(this.lexer),K={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(K.yy[Ct]=this.yy[Ct]);E.setInput(r,K.yy),K.yy.lexer=E,K.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var Lt=E.yylloc;e.push(Lt);var be=E.options&&E.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(B){g.length=g.length-2*B,_.length=_.length-B,e.length=e.length-B}o(Se,"popStack");function $t(){var B;return B=f.pop()||E.lex()||Jt,typeof B!="number"&&(B instanceof Array&&(f=B,B=f.pop()),B=l.symbols_[B]||B),B}o($t,"lex");for(var w,Z,N,Et,lt={},bt,M,te,St;;){if(Z=g[g.length-1],this.defaultActions[Z]?N=this.defaultActions[Z]:((w===null||typeof w>"u")&&(w=$t()),N=pt[Z]&&pt[Z][w]),typeof N>"u"||!N.length||!N[0]){var Dt="";St=[];for(bt in pt[Z])this.terminals_[bt]&&bt>qe&&St.push("'"+this.terminals_[bt]+"'");E.showPosition?Dt="Parse error on line "+(mt+1)+`: +import{_ as o,I as _e,B as D,l as At,d as wt,i as Ae,q as ie,s as ke,g as Fe,p as Pe,b as ve,c as Ce,v as Le,j as zt,k as Ee}from"./md-index-TGP-egEp.js";import{l as ee}from"./md-linear-BWd3aXuT.js";import"./md-init-Gi6I4Gst.js";var Vt=function(){var t=o(function(j,r,l,g){for(l=l||{},g=j.length;g--;l[j[g]]=r);return l},"o"),n=[1,3],u=[1,4],c=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],A=[2,36],d=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],x=[1,41],O=[1,14],Y=[1,23],G=[1,18],yt=[1,19],Tt=[1,20],dt=[1,21],Ft=[1,22],ut=[1,24],xt=[1,25],ft=[1,26],gt=[1,27],i=[1,28],Bt=[1,29],W=[1,32],U=[1,33],k=[1,34],F=[1,39],P=[1,40],v=[1,42],C=[1,44],H=[1,62],X=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Rt=[1,65],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Ht=[1,71],Xt=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],$=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],ot=[1,98],Pt=[1,102],Kt=[10,55,56,57],R=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],vt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,g,f,_,e,pt){var s=e.length-1;switch(_){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],f.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:f.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:f.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:f.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:f.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:f.setXAxisLeftText(e[s-2]),f.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",f.setXAxisLeftText(e[s-1]);break;case 53:f.setXAxisLeftText(e[s]);break;case 54:f.setYAxisBottomText(e[s-2]),f.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",f.setYAxisBottomText(e[s-1]);break;case 56:f.setYAxisBottomText(e[s]);break;case 57:f.setQuadrant1Text(e[s]);break;case 58:f.setQuadrant2Text(e[s]);break;case 59:f.setQuadrant3Text(e[s]);break;case 60:f.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:u,55:c,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:u,55:c,56:h,57:p},{18:n,26:9,27:2,28:u,55:c,56:h,57:p},t(y,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(a,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(y,[2,34]),{27:45,55:c,56:h,57:p},t(a,[2,37]),t(a,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(a,[2,45]),t(a,[2,46]),{18:[1,50]},{4:d,5:T,10:q,12:m,13:b,14:x,43:51,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:52,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:53,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:54,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:55,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:56,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:v,67:C},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:64,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,21:63},t(a,[2,53],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,77],63:k,64:F,65:P,66:v,67:C}),t(a,[2,56],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,78],63:k,64:F,65:P,66:v,67:C}),t(a,[2,57],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,58],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,59],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,60],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,18:[1,81]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(a,[2,52],{58:31,43:83,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,55],{58:31,43:84,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:88,23:87},t(I,[2,24]),t(a,[2,51],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,54],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,47],{22:88,16:89,23:100,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{46:[1,101]},t(a,[2,29],{10:Pt}),t(Kt,[2,27],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),t(R,[2,25]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,21]),t(R,[2,22]),t(a,[2,49],{10:Pt}),t(a,[2,48],{22:88,16:89,23:104,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:105},t(R,[2,26]),t(a,[2,50],{10:Pt}),t(Kt,[2,28],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=l,g}},"parseError"),parse:o(function(r){var l=this,g=[0],f=[],_=[null],e=[],pt=this.table,s="",mt=0,Zt=0,qe=2,Jt=1,me=e.slice.call(arguments,1),E=Object.create(this.lexer),K={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(K.yy[Ct]=this.yy[Ct]);E.setInput(r,K.yy),K.yy.lexer=E,K.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var Lt=E.yylloc;e.push(Lt);var be=E.options&&E.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(B){g.length=g.length-2*B,_.length=_.length-B,e.length=e.length-B}o(Se,"popStack");function $t(){var B;return B=f.pop()||E.lex()||Jt,typeof B!="number"&&(B instanceof Array&&(f=B,B=f.pop()),B=l.symbols_[B]||B),B}o($t,"lex");for(var w,Z,N,Et,lt={},bt,M,te,St;;){if(Z=g[g.length-1],this.defaultActions[Z]?N=this.defaultActions[Z]:((w===null||typeof w>"u")&&(w=$t()),N=pt[Z]&&pt[Z][w]),typeof N>"u"||!N.length||!N[0]){var Dt="";St=[];for(bt in pt[Z])this.terminals_[bt]&&bt>qe&&St.push("'"+this.terminals_[bt]+"'");E.showPosition?Dt="Parse error on line "+(mt+1)+`: `+E.showPosition()+` Expecting `+St.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Dt="Parse error on line "+(mt+1)+": Unexpected "+(w==Jt?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Dt,{text:E.match,token:this.terminals_[w]||w,line:E.yylineno,loc:Lt,expected:St})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z+", token: "+w);switch(N[0]){case 1:g.push(w),_.push(E.yytext),e.push(E.yylloc),g.push(N[1]),w=null,Zt=E.yyleng,s=E.yytext,mt=E.yylineno,Lt=E.yylloc;break;case 2:if(M=this.productions_[N[1]][1],lt.$=_[_.length-M],lt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},be&&(lt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),Et=this.performAction.apply(lt,[s,Zt,mt,K.yy,N[1],_,e].concat(me)),typeof Et<"u")return Et;M&&(g=g.slice(0,-1*M*2),_=_.slice(0,-1*M),e=e.slice(0,-1*M)),g.push(this.productions_[N[1]][0]),_.push(lt.$),e.push(lt._$),te=pt[g[g.length-2]][g[g.length-1]],g.push(te);break;case 3:return!0}}return!0},"parse")},Te=function(){var j={EOF:1,parseError:o(function(l,g){if(this.yy.parser)this.yy.parser.parseError(l,g);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,g=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===f.length?this.yylloc.first_column:0)+f[f.length-g.length].length-g[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/static/js/md-requirementDiagram-MIRIMTAZ-CsEWpznw.js b/static/js/md-requirementDiagram-MIRIMTAZ-Deu54LsJ.js similarity index 99% rename from static/js/md-requirementDiagram-MIRIMTAZ-CsEWpznw.js rename to static/js/md-requirementDiagram-MIRIMTAZ-Deu54LsJ.js index a22e125..2addb56 100644 --- a/static/js/md-requirementDiagram-MIRIMTAZ-CsEWpznw.js +++ b/static/js/md-requirementDiagram-MIRIMTAZ-Deu54LsJ.js @@ -1,4 +1,4 @@ -import{_ as r,d as ve,s as Fe,g as De,c as Pe,b as Ye,l as xe,v as Ue,j as ce,k as Be,K as Qe,e as Te}from"./md-index-trBnGDGX.js";import{G as He}from"./md-graph-u9ZJyewn.js";import{l as We}from"./md-layout-RM1NcZIM.js";import"./md-_baseUniq-B7UZj1IW.js";import"./md-_basePickBy-BMLPiLYr.js";var he=function(){var e=r(function($,i,a,l){for(a=a||{},l=$.length;l--;a[$[l]]=i);return a},"o"),t=[1,3],c=[1,4],d=[1,5],u=[1,6],p=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],y=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],I=[1,25],b=[1,26],w=[1,27],q=[1,20],v=[1,28],A=[1,29],F=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],fe=[1,47],ye=[1,48],_e=[1,49],ge=[1,50],Ee=[1,51],Re=[1,52],me=[1,53],O=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],j=[1,69],X=[1,70],J=[1,67],Z=[1,68],S=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ne={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:r(function(i,a,l,n,f,s,K){var E=s.length-1;switch(f){case 4:this.$=s[E].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[E-3],s[E-4]);break;case 14:n.setNewReqId(s[E-2]);break;case 15:n.setNewReqText(s[E-2]);break;case 16:n.setNewReqRisk(s[E-2]);break;case 17:n.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[E-3]);break;case 34:n.setNewElementType(s[E-2]);break;case 35:n.setNewElementDocRef(s[E-2]);break;case 38:n.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:n.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:t,9:c,11:d,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:c,11:d,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(p,[2,6]),{3:12,4:2,6:t,9:c,11:d,13:u},{1:[2,2]},{4:17,5:y,7:13,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},e(p,[2,4]),e(p,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:y,7:31,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:32,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:33,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:34,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:35,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{52:54,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:66,47:J,49:Z},{23:71,62:v,63:A},{23:72,62:v,63:A},e(S,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(S,[2,19]),e(S,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:X,46:80,47:J,49:Z},e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),{23:81,62:v,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(S,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(S,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:110,47:J,49:Z},{5:j,30:X,46:111,47:J,49:Z},e(S,[2,14]),e(S,[2,15]),e(S,[2,16]),e(S,[2,17]),e(S,[2,34]),e(S,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:r(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:r(function(i){var a=this,l=[0],n=[],f=[null],s=[],K=this.table,E="",te=0,Ie=0,Le=2,be=1,Oe=s.slice.call(arguments,1),m=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);m.setInput(i,C.yy),C.yy.lexer=m,C.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var ae=m.yylloc;s.push(ae);var Ce=m.options&&m.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(N){l.length=l.length-2*N,f.length=f.length-N,s.length=s.length-N}r(Me,"popStack");function Se(){var N;return N=n.pop()||m.lex()||be,typeof N!="number"&&(N instanceof Array&&(n=N,N=n.pop()),N=a.symbols_[N]||N),N}r(Se,"lex");for(var k,M,x,le,H={},ie,V,ke,re;;){if(M=l[l.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((k===null||typeof k>"u")&&(k=Se()),x=K[M]&&K[M][k]),typeof x>"u"||!x.length||!x[0]){var oe="";re=[];for(ie in K[M])this.terminals_[ie]&&ie>Le&&re.push("'"+this.terminals_[ie]+"'");m.showPosition?oe="Parse error on line "+(te+1)+`: +import{_ as r,d as ve,s as Fe,g as De,c as Pe,b as Ye,l as xe,v as Ue,j as ce,k as Be,K as Qe,e as Te}from"./md-index-TGP-egEp.js";import{G as He}from"./md-graph-BqJ5nvx-.js";import{l as We}from"./md-layout-D5yfjIxP.js";import"./md-_baseUniq-Bm0iSxF4.js";import"./md-_basePickBy-D2Yv_vSZ.js";var he=function(){var e=r(function($,i,a,l){for(a=a||{},l=$.length;l--;a[$[l]]=i);return a},"o"),t=[1,3],c=[1,4],d=[1,5],u=[1,6],p=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],y=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],I=[1,25],b=[1,26],w=[1,27],q=[1,20],v=[1,28],A=[1,29],F=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],fe=[1,47],ye=[1,48],_e=[1,49],ge=[1,50],Ee=[1,51],Re=[1,52],me=[1,53],O=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],j=[1,69],X=[1,70],J=[1,67],Z=[1,68],S=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ne={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:r(function(i,a,l,n,f,s,K){var E=s.length-1;switch(f){case 4:this.$=s[E].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[E-3],s[E-4]);break;case 14:n.setNewReqId(s[E-2]);break;case 15:n.setNewReqText(s[E-2]);break;case 16:n.setNewReqRisk(s[E-2]);break;case 17:n.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[E-3]);break;case 34:n.setNewElementType(s[E-2]);break;case 35:n.setNewElementDocRef(s[E-2]);break;case 38:n.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:n.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:t,9:c,11:d,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:c,11:d,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(p,[2,6]),{3:12,4:2,6:t,9:c,11:d,13:u},{1:[2,2]},{4:17,5:y,7:13,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},e(p,[2,4]),e(p,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:y,7:31,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:32,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:33,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:34,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:35,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{52:54,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:66,47:J,49:Z},{23:71,62:v,63:A},{23:72,62:v,63:A},e(S,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(S,[2,19]),e(S,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:X,46:80,47:J,49:Z},e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),{23:81,62:v,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(S,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(S,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:110,47:J,49:Z},{5:j,30:X,46:111,47:J,49:Z},e(S,[2,14]),e(S,[2,15]),e(S,[2,16]),e(S,[2,17]),e(S,[2,34]),e(S,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:r(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:r(function(i){var a=this,l=[0],n=[],f=[null],s=[],K=this.table,E="",te=0,Ie=0,Le=2,be=1,Oe=s.slice.call(arguments,1),m=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);m.setInput(i,C.yy),C.yy.lexer=m,C.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var ae=m.yylloc;s.push(ae);var Ce=m.options&&m.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(N){l.length=l.length-2*N,f.length=f.length-N,s.length=s.length-N}r(Me,"popStack");function Se(){var N;return N=n.pop()||m.lex()||be,typeof N!="number"&&(N instanceof Array&&(n=N,N=n.pop()),N=a.symbols_[N]||N),N}r(Se,"lex");for(var k,M,x,le,H={},ie,V,ke,re;;){if(M=l[l.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((k===null||typeof k>"u")&&(k=Se()),x=K[M]&&K[M][k]),typeof x>"u"||!x.length||!x[0]){var oe="";re=[];for(ie in K[M])this.terminals_[ie]&&ie>Le&&re.push("'"+this.terminals_[ie]+"'");m.showPosition?oe="Parse error on line "+(te+1)+`: `+m.showPosition()+` Expecting `+re.join(", ")+", got '"+(this.terminals_[k]||k)+"'":oe="Parse error on line "+(te+1)+": Unexpected "+(k==be?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(oe,{text:m.match,token:this.terminals_[k]||k,line:m.yylineno,loc:ae,expected:re})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+k);switch(x[0]){case 1:l.push(k),f.push(m.yytext),s.push(m.yylloc),l.push(x[1]),k=null,Ie=m.yyleng,E=m.yytext,te=m.yylineno,ae=m.yylloc;break;case 2:if(V=this.productions_[x[1]][1],H.$=f[f.length-V],H._$={first_line:s[s.length-(V||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(V||1)].first_column,last_column:s[s.length-1].last_column},Ce&&(H._$.range=[s[s.length-(V||1)].range[0],s[s.length-1].range[1]]),le=this.performAction.apply(H,[E,Ie,te,C.yy,x[1],f,s].concat(Oe)),typeof le<"u")return le;V&&(l=l.slice(0,-1*V*2),f=f.slice(0,-1*V),s=s.slice(0,-1*V)),l.push(this.productions_[x[1]][0]),f.push(H.$),s.push(H._$),ke=K[l[l.length-2]][l[l.length-1]],l.push(ke);break;case 3:return!0}}return!0},"parse")},$e=function(){var $={EOF:1,parseError:r(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:r(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r(function(i){var a=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===n.length?this.yylloc.first_column:0)+n[n.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/static/js/md-sankeyDiagram-Y46BX6SQ-BwN7ds3P.js b/static/js/md-sankeyDiagram-Y46BX6SQ-Di3XGLpk.js similarity index 99% rename from static/js/md-sankeyDiagram-Y46BX6SQ-BwN7ds3P.js rename to static/js/md-sankeyDiagram-Y46BX6SQ-Di3XGLpk.js index 3709d0e..b21727d 100644 --- a/static/js/md-sankeyDiagram-Y46BX6SQ-BwN7ds3P.js +++ b/static/js/md-sankeyDiagram-Y46BX6SQ-Di3XGLpk.js @@ -1,4 +1,4 @@ -import{_ as m,d as lt,g as _t,s as xt,b as vt,c as bt,q as wt,p as St,v as Lt,e as Et,o as At,j as H,V as Tt}from"./md-index-trBnGDGX.js";import{o as Mt}from"./md-ordinal-CxVaQH2l.js";import"./md-init-Gi6I4Gst.js";function Nt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i=h)&&(i=h)}return i}function pt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function nt(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function Ot(t,e){return e-1-t.height}function mt(t,e){return t.sourceLinks.length?t.depth:e-1}function Dt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function X(t){return function(){return t}}function ut(t,e){return Q(t.source,e.source)||t.index-e.index}function ht(t,e){return Q(t.target,e.target)||t.index-e.index}function Q(t,e){return t.y0-e.y0}function it(t){return t.value}function jt(t){return t.index}function zt(t){return t.nodes}function $t(t){return t.links}function ft(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function yt({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function Bt(){let t=0,e=0,i=1,a=1,h=24,d=8,p,_=jt,s=mt,o,l,x=zt,v=$t,y=6;function b(){const n={nodes:x.apply(null,arguments),links:v.apply(null,arguments)};return M(n),T(n),N(n),C(n),S(n),yt(n),n}b.update=function(n){return yt(n),n},b.nodeId=function(n){return arguments.length?(_=typeof n=="function"?n:X(n),b):_},b.nodeAlign=function(n){return arguments.length?(s=typeof n=="function"?n:X(n),b):s},b.nodeSort=function(n){return arguments.length?(o=n,b):o},b.nodeWidth=function(n){return arguments.length?(h=+n,b):h},b.nodePadding=function(n){return arguments.length?(d=p=+n,b):d},b.nodes=function(n){return arguments.length?(x=typeof n=="function"?n:X(n),b):x},b.links=function(n){return arguments.length?(v=typeof n=="function"?n:X(n),b):v},b.linkSort=function(n){return arguments.length?(l=n,b):l},b.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],b):[i-t,a-e]},b.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],b):[[t,e],[i,a]]},b.iterations=function(n){return arguments.length?(y=+n,b):y};function M({nodes:n,links:f}){for(const[c,r]of n.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((c,r)=>[_(c,r,n),c]));for(const[c,r]of f.entries()){r.index=c;let{source:k,target:w}=r;typeof k!="object"&&(k=r.source=ft(u,k)),typeof w!="object"&&(w=r.target=ft(u,w)),k.sourceLinks.push(r),w.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of n)c.sort(l),r.sort(l)}function T({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function N({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.depth=r;for(const{target:w}of k.sourceLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function C({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.height=r;for(const{source:w}of k.targetLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function j({nodes:n}){const f=ct(n,r=>r.depth)+1,u=(i-t-h)/(f-1),c=new Array(f);for(const r of n){const k=Math.max(0,Math.min(f-1,Math.floor(s.call(null,r,f))));r.layer=k,r.x0=t+k*u,r.x1=r.x0+h,c[k]?c[k].push(r):c[k]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(n){const f=pt(n,u=>(a-e-(u.length-1)*p)/nt(u,it));for(const u of n){let c=e;for(const r of u){r.y0=c,r.y1=c+r.value*f,c=r.y1+p;for(const k of r.sourceLinks)k.width=k.value*f}c=(a-c+p)/(u.length+1);for(let r=0;ru.length)-1)),R(f);for(let u=0;u0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function B(n,f,u){for(let c=n.length,r=c-2;r>=0;--r){const k=n[r];for(const w of k){let L=0,V=0;for(const{target:Y,value:et}of w.sourceLinks){let q=et*(Y.layer-w.layer);L+=I(w,Y)*q,V+=q}if(!(V>0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function O(n,f){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,f),D(n,c.y1+p,u+1,f),g(n,a,n.length-1,f),D(n,e,0,f)}function D(n,f,u,c){for(;u1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+p}}function g(n,f,u,c){for(;u>=0;--u){const r=n[u],k=(r.y1-f)*c;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-p}}function E({sourceLinks:n,targetLinks:f}){if(l===void 0){for(const{source:{sourceLinks:u}}of f)u.sort(ht);for(const{target:{targetLinks:u}}of n)u.sort(ut)}}function A(n){if(l===void 0)for(const{sourceLinks:f,targetLinks:u}of n)f.sort(ht),u.sort(ut)}function z(n,f){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u+=r+p}for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u-=r}return u}function I(n,f){let u=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u+=r+p}for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u-=r}return u}return b}var st=Math.PI,rt=2*st,F=1e-6,Rt=rt-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kt(){return new ot}ot.prototype=kt.prototype={constructor:ot,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,d){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+d)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var d=this._x1,p=this._y1,_=i-t,s=a-e,o=d-t,l=p-e,x=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(x>F)if(!(Math.abs(l*_-s*o)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var v=i-d,y=a-p,b=_*_+s*s,M=v*v+y*y,T=Math.sqrt(b),N=Math.sqrt(x),C=h*Math.tan((st-Math.acos((b+x-M)/(2*T*N)))/2),j=C/N,R=C/T;Math.abs(j-1)>F&&(this._+="L"+(t+j*o)+","+(e+j*l)),this._+="A"+h+","+h+",0,0,"+ +(l*v>o*y)+","+(this._x1=t+R*_)+","+(this._y1=e+R*s)}},arc:function(t,e,i,a,h,d){t=+t,e=+e,i=+i,d=!!d;var p=i*Math.cos(a),_=i*Math.sin(a),s=t+p,o=e+_,l=1^d,x=d?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>F||Math.abs(this._y1-o)>F)&&(this._+="L"+s+","+o),i&&(x<0&&(x=x%rt+rt),x>Rt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-_)+"A"+i+","+i+",0,1,"+l+","+(this._x1=s)+","+(this._y1=o):x>F&&(this._+="A"+i+","+i+",0,"+ +(x>=st)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Vt(t){return t[0]}function Ft(t){return t[1]}var Wt=Array.prototype.slice;function Ut(t){return t.source}function Gt(t){return t.target}function Yt(t){var e=Ut,i=Gt,a=Vt,h=Ft,d=null;function p(){var _,s=Wt.call(arguments),o=e.apply(this,s),l=i.apply(this,s);if(d||(d=_=kt()),t(d,+a.apply(this,(s[0]=o,s)),+h.apply(this,s),+a.apply(this,(s[0]=l,s)),+h.apply(this,s)),_)return d=null,_+""||null}return p.source=function(_){return arguments.length?(e=_,p):e},p.target=function(_){return arguments.length?(i=_,p):i},p.x=function(_){return arguments.length?(a=typeof _=="function"?_:dt(+_),p):a},p.y=function(_){return arguments.length?(h=typeof _=="function"?_:dt(+_),p):h},p.context=function(_){return arguments.length?(d=_??null,p):d},p}function qt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function Ht(){return Yt(qt)}function Xt(t){return[t.source.x1,t.y0]}function Qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(Qt)}var at=function(){var t=m(function(_,s,o,l){for(o=o||{},l=_.length;l--;o[_[l]]=s);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:m(function(s,o,l,x,v,y,b){var M=y.length-1;switch(v){case 7:const T=x.findOrCreateNode(y[M-4].trim().replaceAll('""','"')),N=x.findOrCreateNode(y[M-2].trim().replaceAll('""','"')),C=parseFloat(y[M].trim());x.addLink(T,N,C);break;case 8:case 9:case 11:this.$=y[M];break;case 10:this.$=y[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:m(function(s,o){if(o.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=o,l}},"parseError"),parse:m(function(s){var o=this,l=[0],x=[],v=[null],y=[],b=this.table,M="",T=0,N=0,C=2,j=1,R=y.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(P.yy[B]=this.yy[B]);S.setInput(s,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var O=S.yylloc;y.push(O);var D=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,v.length=v.length-L,y.length=y.length-L}m(g,"popStack");function E(){var L;return L=x.pop()||S.lex()||j,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=o.symbols_[L]||L),L}m(E,"lex");for(var A,z,I,n,f={},u,c,r,k;;){if(z=l[l.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((A===null||typeof A>"u")&&(A=E()),I=b[z]&&b[z][A]),typeof I>"u"||!I.length||!I[0]){var w="";k=[];for(u in b[z])this.terminals_[u]&&u>C&&k.push("'"+this.terminals_[u]+"'");S.showPosition?w="Parse error on line "+(T+1)+`: +import{_ as m,d as lt,g as _t,s as xt,b as vt,c as bt,q as wt,p as St,v as Lt,e as Et,o as At,j as H,V as Tt}from"./md-index-TGP-egEp.js";import{o as Mt}from"./md-ordinal-CxVaQH2l.js";import"./md-init-Gi6I4Gst.js";function Nt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i=h)&&(i=h)}return i}function pt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function nt(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function Ot(t,e){return e-1-t.height}function mt(t,e){return t.sourceLinks.length?t.depth:e-1}function Dt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function X(t){return function(){return t}}function ut(t,e){return Q(t.source,e.source)||t.index-e.index}function ht(t,e){return Q(t.target,e.target)||t.index-e.index}function Q(t,e){return t.y0-e.y0}function it(t){return t.value}function jt(t){return t.index}function zt(t){return t.nodes}function $t(t){return t.links}function ft(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function yt({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function Bt(){let t=0,e=0,i=1,a=1,h=24,d=8,p,_=jt,s=mt,o,l,x=zt,v=$t,y=6;function b(){const n={nodes:x.apply(null,arguments),links:v.apply(null,arguments)};return M(n),T(n),N(n),C(n),S(n),yt(n),n}b.update=function(n){return yt(n),n},b.nodeId=function(n){return arguments.length?(_=typeof n=="function"?n:X(n),b):_},b.nodeAlign=function(n){return arguments.length?(s=typeof n=="function"?n:X(n),b):s},b.nodeSort=function(n){return arguments.length?(o=n,b):o},b.nodeWidth=function(n){return arguments.length?(h=+n,b):h},b.nodePadding=function(n){return arguments.length?(d=p=+n,b):d},b.nodes=function(n){return arguments.length?(x=typeof n=="function"?n:X(n),b):x},b.links=function(n){return arguments.length?(v=typeof n=="function"?n:X(n),b):v},b.linkSort=function(n){return arguments.length?(l=n,b):l},b.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],b):[i-t,a-e]},b.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],b):[[t,e],[i,a]]},b.iterations=function(n){return arguments.length?(y=+n,b):y};function M({nodes:n,links:f}){for(const[c,r]of n.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((c,r)=>[_(c,r,n),c]));for(const[c,r]of f.entries()){r.index=c;let{source:k,target:w}=r;typeof k!="object"&&(k=r.source=ft(u,k)),typeof w!="object"&&(w=r.target=ft(u,w)),k.sourceLinks.push(r),w.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of n)c.sort(l),r.sort(l)}function T({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function N({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.depth=r;for(const{target:w}of k.sourceLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function C({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.height=r;for(const{source:w}of k.targetLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function j({nodes:n}){const f=ct(n,r=>r.depth)+1,u=(i-t-h)/(f-1),c=new Array(f);for(const r of n){const k=Math.max(0,Math.min(f-1,Math.floor(s.call(null,r,f))));r.layer=k,r.x0=t+k*u,r.x1=r.x0+h,c[k]?c[k].push(r):c[k]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(n){const f=pt(n,u=>(a-e-(u.length-1)*p)/nt(u,it));for(const u of n){let c=e;for(const r of u){r.y0=c,r.y1=c+r.value*f,c=r.y1+p;for(const k of r.sourceLinks)k.width=k.value*f}c=(a-c+p)/(u.length+1);for(let r=0;ru.length)-1)),R(f);for(let u=0;u0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function B(n,f,u){for(let c=n.length,r=c-2;r>=0;--r){const k=n[r];for(const w of k){let L=0,V=0;for(const{target:Y,value:et}of w.sourceLinks){let q=et*(Y.layer-w.layer);L+=I(w,Y)*q,V+=q}if(!(V>0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function O(n,f){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,f),D(n,c.y1+p,u+1,f),g(n,a,n.length-1,f),D(n,e,0,f)}function D(n,f,u,c){for(;u1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+p}}function g(n,f,u,c){for(;u>=0;--u){const r=n[u],k=(r.y1-f)*c;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-p}}function E({sourceLinks:n,targetLinks:f}){if(l===void 0){for(const{source:{sourceLinks:u}}of f)u.sort(ht);for(const{target:{targetLinks:u}}of n)u.sort(ut)}}function A(n){if(l===void 0)for(const{sourceLinks:f,targetLinks:u}of n)f.sort(ht),u.sort(ut)}function z(n,f){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u+=r+p}for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u-=r}return u}function I(n,f){let u=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u+=r+p}for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u-=r}return u}return b}var st=Math.PI,rt=2*st,F=1e-6,Rt=rt-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kt(){return new ot}ot.prototype=kt.prototype={constructor:ot,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,d){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+d)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var d=this._x1,p=this._y1,_=i-t,s=a-e,o=d-t,l=p-e,x=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(x>F)if(!(Math.abs(l*_-s*o)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var v=i-d,y=a-p,b=_*_+s*s,M=v*v+y*y,T=Math.sqrt(b),N=Math.sqrt(x),C=h*Math.tan((st-Math.acos((b+x-M)/(2*T*N)))/2),j=C/N,R=C/T;Math.abs(j-1)>F&&(this._+="L"+(t+j*o)+","+(e+j*l)),this._+="A"+h+","+h+",0,0,"+ +(l*v>o*y)+","+(this._x1=t+R*_)+","+(this._y1=e+R*s)}},arc:function(t,e,i,a,h,d){t=+t,e=+e,i=+i,d=!!d;var p=i*Math.cos(a),_=i*Math.sin(a),s=t+p,o=e+_,l=1^d,x=d?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>F||Math.abs(this._y1-o)>F)&&(this._+="L"+s+","+o),i&&(x<0&&(x=x%rt+rt),x>Rt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-_)+"A"+i+","+i+",0,1,"+l+","+(this._x1=s)+","+(this._y1=o):x>F&&(this._+="A"+i+","+i+",0,"+ +(x>=st)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Vt(t){return t[0]}function Ft(t){return t[1]}var Wt=Array.prototype.slice;function Ut(t){return t.source}function Gt(t){return t.target}function Yt(t){var e=Ut,i=Gt,a=Vt,h=Ft,d=null;function p(){var _,s=Wt.call(arguments),o=e.apply(this,s),l=i.apply(this,s);if(d||(d=_=kt()),t(d,+a.apply(this,(s[0]=o,s)),+h.apply(this,s),+a.apply(this,(s[0]=l,s)),+h.apply(this,s)),_)return d=null,_+""||null}return p.source=function(_){return arguments.length?(e=_,p):e},p.target=function(_){return arguments.length?(i=_,p):i},p.x=function(_){return arguments.length?(a=typeof _=="function"?_:dt(+_),p):a},p.y=function(_){return arguments.length?(h=typeof _=="function"?_:dt(+_),p):h},p.context=function(_){return arguments.length?(d=_??null,p):d},p}function qt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function Ht(){return Yt(qt)}function Xt(t){return[t.source.x1,t.y0]}function Qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(Qt)}var at=function(){var t=m(function(_,s,o,l){for(o=o||{},l=_.length;l--;o[_[l]]=s);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:m(function(s,o,l,x,v,y,b){var M=y.length-1;switch(v){case 7:const T=x.findOrCreateNode(y[M-4].trim().replaceAll('""','"')),N=x.findOrCreateNode(y[M-2].trim().replaceAll('""','"')),C=parseFloat(y[M].trim());x.addLink(T,N,C);break;case 8:case 9:case 11:this.$=y[M];break;case 10:this.$=y[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:m(function(s,o){if(o.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=o,l}},"parseError"),parse:m(function(s){var o=this,l=[0],x=[],v=[null],y=[],b=this.table,M="",T=0,N=0,C=2,j=1,R=y.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(P.yy[B]=this.yy[B]);S.setInput(s,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var O=S.yylloc;y.push(O);var D=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,v.length=v.length-L,y.length=y.length-L}m(g,"popStack");function E(){var L;return L=x.pop()||S.lex()||j,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=o.symbols_[L]||L),L}m(E,"lex");for(var A,z,I,n,f={},u,c,r,k;;){if(z=l[l.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((A===null||typeof A>"u")&&(A=E()),I=b[z]&&b[z][A]),typeof I>"u"||!I.length||!I[0]){var w="";k=[];for(u in b[z])this.terminals_[u]&&u>C&&k.push("'"+this.terminals_[u]+"'");S.showPosition?w="Parse error on line "+(T+1)+`: `+S.showPosition()+` Expecting `+k.join(", ")+", got '"+(this.terminals_[A]||A)+"'":w="Parse error on line "+(T+1)+": Unexpected "+(A==j?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(w,{text:S.match,token:this.terminals_[A]||A,line:S.yylineno,loc:O,expected:k})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+A);switch(I[0]){case 1:l.push(A),v.push(S.yytext),y.push(S.yylloc),l.push(I[1]),A=null,N=S.yyleng,M=S.yytext,T=S.yylineno,O=S.yylloc;break;case 2:if(c=this.productions_[I[1]][1],f.$=v[v.length-c],f._$={first_line:y[y.length-(c||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(c||1)].first_column,last_column:y[y.length-1].last_column},D&&(f._$.range=[y[y.length-(c||1)].range[0],y[y.length-1].range[1]]),n=this.performAction.apply(f,[M,N,T,P.yy,I[1],v,y].concat(R)),typeof n<"u")return n;c&&(l=l.slice(0,-1*c*2),v=v.slice(0,-1*c),y=y.slice(0,-1*c)),l.push(this.productions_[I[1]][0]),v.push(f.$),y.push(f._$),r=b[l[l.length-2]][l[l.length-1]],l.push(r);break;case 3:return!0}}return!0},"parse")},d=function(){var _={EOF:1,parseError:m(function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},"parseError"),setInput:m(function(s,o){return this.yy=o||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:m(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var o=s.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:m(function(s){var o=s.length,l=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===x.length?this.yylloc.first_column:0)+x[x.length-l.length].length-l[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:m(function(s){this.unput(this.match.slice(s))},"less"),pastInput:m(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+` diff --git a/static/js/md-sequenceDiagram-G6AWOVSC-DFnPOvjK.js b/static/js/md-sequenceDiagram-G6AWOVSC-BYz1U_V7.js similarity index 99% rename from static/js/md-sequenceDiagram-G6AWOVSC-DFnPOvjK.js rename to static/js/md-sequenceDiagram-G6AWOVSC-BYz1U_V7.js index ee90cbd..1f3476b 100644 --- a/static/js/md-sequenceDiagram-G6AWOVSC-DFnPOvjK.js +++ b/static/js/md-sequenceDiagram-G6AWOVSC-BYz1U_V7.js @@ -1,4 +1,4 @@ -import{g as St,a as Kt,d as Se,b as Me,c as Re,e as De}from"./md-chunk-ASOPGD6M-fXQ-YCai.js";import{I as Ce}from"./md-chunk-KFBOBJHC-CIi2d-ms.js";import{_ as d,g as Oe,q as Be,p as Ve,d as at,s as se,c as Ye,b as Fe,e as _,L as lt,M as wt,u as F,l as J,v as We,i as Mt,a as qe,j as kt,k as ze,m as ae,N as ie,D as Ft,O as ne,Z as He}from"./md-index-trBnGDGX.js";var Wt=function(){var t=d(function(pt,I,L,A){for(L=L||{},A=pt.length;A--;L[pt[A]]=I);return L},"o"),e=[1,2],o=[1,3],r=[1,4],a=[2,4],i=[1,9],c=[1,11],h=[1,13],p=[1,14],s=[1,16],f=[1,17],E=[1,18],g=[1,24],T=[1,25],m=[1,26],w=[1,27],k=[1,28],V=[1,29],M=[1,30],Y=[1,31],C=[1,32],z=[1,33],H=[1,34],Z=[1,35],et=[1,36],K=[1,37],U=[1,38],q=[1,39],R=[1,41],Q=[1,42],G=[1,43],j=[1,44],rt=[1,45],S=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],it=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Jt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ot=[68,69,70],dt=[1,122],Ct={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:d(function(I,L,A,b,D,l,mt){var u=l.length-1;switch(D){case 3:return b.apply(l[u]),l[u];case 4:case 9:this.$=[];break;case 5:case 10:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 11:case 12:this.$=l[u];break;case 8:case 13:this.$=[];break;case 15:l[u].type="createParticipant",this.$=l[u];break;case 16:l[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 29:b.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 30:b.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 31:this.$=l[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=l[u].trim(),b.setAccDescription(this.$);break;case 34:l[u-1].unshift({type:"loopStart",loopText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 35:l[u-1].unshift({type:"rectStart",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"optStart",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"altStart",altText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"breakStart",breakText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 43:this.$=l[u-3].concat([{type:"option",optionText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 45:this.$=l[u-3].concat([{type:"and",parText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.PAR_AND},l[u]]);break;case 47:this.$=l[u-3].concat([{type:"else",altText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.ALT_ELSE},l[u]]);break;case 48:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 49:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 50:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 51:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 52:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 53:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 54:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 55:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 56:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 57:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 58:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-2],l[u]];break;case 62:this.$=l[u];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 66:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 67:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 68:this.$={type:"addParticipant",actor:l[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=b.LINETYPE.DOTTED;break;case 74:this.$=b.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=b.LINETYPE.SOLID_CROSS;break;case 76:this.$=b.LINETYPE.DOTTED_CROSS;break;case 77:this.$=b.LINETYPE.SOLID_POINT;break;case 78:this.$=b.LINETYPE.DOTTED_POINT;break;case 79:this.$=b.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:o,6:r},{1:[3]},{3:5,4:e,5:o,6:r},{3:6,4:e,5:o,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:K,52:U,53:q},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t($,a,{7:99}),t($,a,{7:100}),t($,a,{7:101}),t(it,a,{40:102,7:103}),t(N,a,{42:104,7:105}),t(N,a,{7:105,42:106}),t(Jt,a,{45:107,7:108}),t($,a,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(ot,[2,69]),t(ot,[2,70]),t(ot,[2,71]),t(ot,[2,72]),t(ot,[2,73]),t(ot,[2,74]),t(ot,[2,75]),t(ot,[2,76]),t(ot,[2,77]),t(ot,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:dt},{56:123,81:dt},{56:124,81:dt},{56:125,81:dt},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:K,52:U,53:q},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,133],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,134],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,49:[1,136],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,48:[1,138],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,47:[1,141],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,142],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:dt},{56:148,81:dt},{56:149,81:dt},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:151,50:K,52:U,53:q},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:dt},{56:158,81:dt},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(P,[2,11]),t(it,a,{7:103,40:160}),t(N,a,{7:105,42:161}),t(Jt,a,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:d(function(I,L){if(L.recoverable)this.trace(I);else{var A=new Error(I);throw A.hash=L,A}},"parseError"),parse:d(function(I){var L=this,A=[0],b=[],D=[null],l=[],mt=this.table,u="",Lt=0,Zt=0,Pe=2,Qt=1,Ae=l.slice.call(arguments,1),W=Object.create(this.lexer),ut={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(ut.yy[Ot]=this.yy[Ot]);W.setInput(I,ut.yy),ut.yy.lexer=W,ut.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var Bt=W.yylloc;l.push(Bt);var ke=W.options&&W.options.ranges;typeof ut.yy.parseError=="function"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ne(tt){A.length=A.length-2*tt,D.length=D.length-tt,l.length=l.length-tt}d(Ne,"popStack");function jt(){var tt;return tt=b.pop()||W.lex()||Qt,typeof tt!="number"&&(tt instanceof Array&&(b=tt,tt=b.pop()),tt=L.symbols_[tt]||tt),tt}d(jt,"lex");for(var X,gt,st,Vt,yt={},Pt,ht,$t,At;;){if(gt=A[A.length-1],this.defaultActions[gt]?st=this.defaultActions[gt]:((X===null||typeof X>"u")&&(X=jt()),st=mt[gt]&&mt[gt][X]),typeof st>"u"||!st.length||!st[0]){var Yt="";At=[];for(Pt in mt[gt])this.terminals_[Pt]&&Pt>Pe&&At.push("'"+this.terminals_[Pt]+"'");W.showPosition?Yt="Parse error on line "+(Lt+1)+`: +import{g as St,a as Kt,d as Se,b as Me,c as Re,e as De}from"./md-chunk-ASOPGD6M-BXMG1Nfx.js";import{I as Ce}from"./md-chunk-KFBOBJHC-pqV5ft4Q.js";import{_ as d,g as Oe,q as Be,p as Ve,d as at,s as se,c as Ye,b as Fe,e as _,L as lt,M as wt,u as F,l as J,v as We,i as Mt,a as qe,j as kt,k as ze,m as ae,N as ie,D as Ft,O as ne,Z as He}from"./md-index-TGP-egEp.js";var Wt=function(){var t=d(function(pt,I,L,A){for(L=L||{},A=pt.length;A--;L[pt[A]]=I);return L},"o"),e=[1,2],o=[1,3],r=[1,4],a=[2,4],i=[1,9],c=[1,11],h=[1,13],p=[1,14],s=[1,16],f=[1,17],E=[1,18],g=[1,24],T=[1,25],m=[1,26],w=[1,27],k=[1,28],V=[1,29],M=[1,30],Y=[1,31],C=[1,32],z=[1,33],H=[1,34],Z=[1,35],et=[1,36],K=[1,37],U=[1,38],q=[1,39],R=[1,41],Q=[1,42],G=[1,43],j=[1,44],rt=[1,45],S=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],it=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Jt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ot=[68,69,70],dt=[1,122],Ct={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:d(function(I,L,A,b,D,l,mt){var u=l.length-1;switch(D){case 3:return b.apply(l[u]),l[u];case 4:case 9:this.$=[];break;case 5:case 10:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 11:case 12:this.$=l[u];break;case 8:case 13:this.$=[];break;case 15:l[u].type="createParticipant",this.$=l[u];break;case 16:l[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 29:b.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 30:b.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 31:this.$=l[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=l[u].trim(),b.setAccDescription(this.$);break;case 34:l[u-1].unshift({type:"loopStart",loopText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 35:l[u-1].unshift({type:"rectStart",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"optStart",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"altStart",altText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"breakStart",breakText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 43:this.$=l[u-3].concat([{type:"option",optionText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 45:this.$=l[u-3].concat([{type:"and",parText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.PAR_AND},l[u]]);break;case 47:this.$=l[u-3].concat([{type:"else",altText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.ALT_ELSE},l[u]]);break;case 48:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 49:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 50:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 51:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 52:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 53:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 54:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 55:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 56:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 57:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 58:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-2],l[u]];break;case 62:this.$=l[u];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 66:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 67:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 68:this.$={type:"addParticipant",actor:l[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=b.LINETYPE.DOTTED;break;case 74:this.$=b.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=b.LINETYPE.SOLID_CROSS;break;case 76:this.$=b.LINETYPE.DOTTED_CROSS;break;case 77:this.$=b.LINETYPE.SOLID_POINT;break;case 78:this.$=b.LINETYPE.DOTTED_POINT;break;case 79:this.$=b.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:o,6:r},{1:[3]},{3:5,4:e,5:o,6:r},{3:6,4:e,5:o,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:K,52:U,53:q},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t($,a,{7:99}),t($,a,{7:100}),t($,a,{7:101}),t(it,a,{40:102,7:103}),t(N,a,{42:104,7:105}),t(N,a,{7:105,42:106}),t(Jt,a,{45:107,7:108}),t($,a,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(ot,[2,69]),t(ot,[2,70]),t(ot,[2,71]),t(ot,[2,72]),t(ot,[2,73]),t(ot,[2,74]),t(ot,[2,75]),t(ot,[2,76]),t(ot,[2,77]),t(ot,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:dt},{56:123,81:dt},{56:124,81:dt},{56:125,81:dt},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:K,52:U,53:q},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,133],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,134],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,49:[1,136],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,48:[1,138],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,47:[1,141],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,142],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:dt},{56:148,81:dt},{56:149,81:dt},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:151,50:K,52:U,53:q},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:dt},{56:158,81:dt},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(P,[2,11]),t(it,a,{7:103,40:160}),t(N,a,{7:105,42:161}),t(Jt,a,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:d(function(I,L){if(L.recoverable)this.trace(I);else{var A=new Error(I);throw A.hash=L,A}},"parseError"),parse:d(function(I){var L=this,A=[0],b=[],D=[null],l=[],mt=this.table,u="",Lt=0,Zt=0,Pe=2,Qt=1,Ae=l.slice.call(arguments,1),W=Object.create(this.lexer),ut={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(ut.yy[Ot]=this.yy[Ot]);W.setInput(I,ut.yy),ut.yy.lexer=W,ut.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var Bt=W.yylloc;l.push(Bt);var ke=W.options&&W.options.ranges;typeof ut.yy.parseError=="function"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ne(tt){A.length=A.length-2*tt,D.length=D.length-tt,l.length=l.length-tt}d(Ne,"popStack");function jt(){var tt;return tt=b.pop()||W.lex()||Qt,typeof tt!="number"&&(tt instanceof Array&&(b=tt,tt=b.pop()),tt=L.symbols_[tt]||tt),tt}d(jt,"lex");for(var X,gt,st,Vt,yt={},Pt,ht,$t,At;;){if(gt=A[A.length-1],this.defaultActions[gt]?st=this.defaultActions[gt]:((X===null||typeof X>"u")&&(X=jt()),st=mt[gt]&&mt[gt][X]),typeof st>"u"||!st.length||!st[0]){var Yt="";At=[];for(Pt in mt[gt])this.terminals_[Pt]&&Pt>Pe&&At.push("'"+this.terminals_[Pt]+"'");W.showPosition?Yt="Parse error on line "+(Lt+1)+`: `+W.showPosition()+` Expecting `+At.join(", ")+", got '"+(this.terminals_[X]||X)+"'":Yt="Parse error on line "+(Lt+1)+": Unexpected "+(X==Qt?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError(Yt,{text:W.match,token:this.terminals_[X]||X,line:W.yylineno,loc:Bt,expected:At})}if(st[0]instanceof Array&&st.length>1)throw new Error("Parse Error: multiple actions possible at state: "+gt+", token: "+X);switch(st[0]){case 1:A.push(X),D.push(W.yytext),l.push(W.yylloc),A.push(st[1]),X=null,Zt=W.yyleng,u=W.yytext,Lt=W.yylineno,Bt=W.yylloc;break;case 2:if(ht=this.productions_[st[1]][1],yt.$=D[D.length-ht],yt._$={first_line:l[l.length-(ht||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ht||1)].first_column,last_column:l[l.length-1].last_column},ke&&(yt._$.range=[l[l.length-(ht||1)].range[0],l[l.length-1].range[1]]),Vt=this.performAction.apply(yt,[u,Zt,Lt,ut.yy,st[1],D,l].concat(Ae)),typeof Vt<"u")return Vt;ht&&(A=A.slice(0,-1*ht*2),D=D.slice(0,-1*ht),l=l.slice(0,-1*ht)),A.push(this.productions_[st[1]][0]),D.push(yt.$),l.push(yt._$),$t=mt[A[A.length-2]][A[A.length-1]],A.push($t);break;case 3:return!0}}return!0},"parse")},Le=function(){var pt={EOF:1,parseError:d(function(L,A){if(this.yy.parser)this.yy.parser.parseError(L,A);else throw new Error(L)},"parseError"),setInput:d(function(I,L){return this.yy=L||this.yy||{},this._input=I,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var I=this._input[0];this.yytext+=I,this.yyleng++,this.offset++,this.match+=I,this.matched+=I;var L=I.match(/(?:\r\n?|\n).*/g);return L?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),I},"input"),unput:d(function(I){var L=I.length,A=I.split(/(?:\r\n?|\n)/g);this._input=I+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L),this.offset-=L;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===b.length?this.yylloc.first_column:0)+b[b.length-A.length].length-A[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-L]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(I){this.unput(this.match.slice(I))},"less"),pastInput:d(function(){var I=this.matched.substr(0,this.matched.length-this.match.length);return(I.length>20?"...":"")+I.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var I=this.match;return I.length<20&&(I+=this._input.substr(0,20-I.length)),(I.substr(0,20)+(I.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var I=this.pastInput(),L=new Array(I.length+1).join("-");return I+this.upcomingInput()+` diff --git a/static/js/md-stateDiagram-MAYHULR4-D3vUYtN1.js b/static/js/md-stateDiagram-MAYHULR4-DweyYq4M.js similarity index 96% rename from static/js/md-stateDiagram-MAYHULR4-D3vUYtN1.js rename to static/js/md-stateDiagram-MAYHULR4-DweyYq4M.js index 6ed7f9b..e09d1ad 100644 --- a/static/js/md-stateDiagram-MAYHULR4-D3vUYtN1.js +++ b/static/js/md-stateDiagram-MAYHULR4-DweyYq4M.js @@ -1 +1 @@ -import{s as W,a as N,b as P}from"./md-chunk-7U56Z5CX-CdqdQnR2.js";import{_ as u,d as t,j as H,l as S,k as C,e as z,K as U,Q as F,u as O}from"./md-index-trBnGDGX.js";import{G as J}from"./md-graph-u9ZJyewn.js";import{l as X}from"./md-layout-RM1NcZIM.js";import"./md-chunk-5HRBRIJM-BSZ1VC5p.js";import"./md-_baseUniq-B7UZj1IW.js";import"./md-_basePickBy-BMLPiLYr.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),K=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),Q=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(p,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Z=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let c=Math.max(x,p);c===p&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,x>p&&(l=(p-c)/2+o),Math.abs(a-B.x)p&&(l=a-(x-p)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),x<=p&&s.attr("x",a+(c-n)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");if(c.text(x),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&K(n,i),i.type==="default"&&i.descriptions.length>0&&Q(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(F),p=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:x}=O.calcLabelPosition(i.points),c=z.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const h=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",x+l),w=h.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,x+l),l===0&&(l=h.node().getBBox().height,S.info("Title height",l,x)),B.push(h)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((h,w)=>h.attr("y",x+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",x-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,T={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=H("#i"+i));const p=n==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,p,a,o);const x=b.padding,c=s.node().getBBox(),l=c.width+x*2,B=c.height+x*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,p)=>{const a=new J({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s{const w=h.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},ft={parser:W,db:N,renderer:ot,styles:P,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()},"init")};export{ft as diagram}; +import{s as W,a as N,b as P}from"./md-chunk-7U56Z5CX-DSlGDS0l.js";import{_ as u,d as t,j as H,l as S,k as C,e as z,K as U,Q as F,u as O}from"./md-index-TGP-egEp.js";import{G as J}from"./md-graph-BqJ5nvx-.js";import{l as X}from"./md-layout-D5yfjIxP.js";import"./md-chunk-5HRBRIJM-DIfJDOBU.js";import"./md-_baseUniq-Bm0iSxF4.js";import"./md-_basePickBy-D2Yv_vSZ.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),K=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),Q=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(p,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Z=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let c=Math.max(x,p);c===p&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,x>p&&(l=(p-c)/2+o),Math.abs(a-B.x)p&&(l=a-(x-p)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),x<=p&&s.attr("x",a+(c-n)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");if(c.text(x),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&K(n,i),i.type==="default"&&i.descriptions.length>0&&Q(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(F),p=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:x}=O.calcLabelPosition(i.points),c=z.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const h=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",x+l),w=h.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,x+l),l===0&&(l=h.node().getBBox().height,S.info("Title height",l,x)),B.push(h)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((h,w)=>h.attr("y",x+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",x-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,T={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=H("#i"+i));const p=n==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,p,a,o);const x=b.padding,c=s.node().getBBox(),l=c.width+x*2,B=c.height+x*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,p)=>{const a=new J({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s{const w=h.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},ft={parser:W,db:N,renderer:ot,styles:P,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()},"init")};export{ft as diagram}; diff --git a/static/js/md-stateDiagram-v2-4JROLMXI-DiIlcWZx.js b/static/js/md-stateDiagram-v2-4JROLMXI-DiIlcWZx.js new file mode 100644 index 0000000..5b540be --- /dev/null +++ b/static/js/md-stateDiagram-v2-4JROLMXI-DiIlcWZx.js @@ -0,0 +1 @@ +import{s as t,a as e,c as r,b as s}from"./md-chunk-7U56Z5CX-DSlGDS0l.js";import{_ as i}from"./md-index-TGP-egEp.js";import"./md-chunk-5HRBRIJM-DIfJDOBU.js";var _={parser:t,db:e,renderer:r,styles:s,init:i(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute,e.clear()},"init")};export{_ as diagram}; diff --git a/static/js/md-stateDiagram-v2-4JROLMXI-cgZ642t-.js b/static/js/md-stateDiagram-v2-4JROLMXI-cgZ642t-.js deleted file mode 100644 index 1944840..0000000 --- a/static/js/md-stateDiagram-v2-4JROLMXI-cgZ642t-.js +++ /dev/null @@ -1 +0,0 @@ -import{s as t,a as e,c as r,b as s}from"./md-chunk-7U56Z5CX-CdqdQnR2.js";import{_ as i}from"./md-index-trBnGDGX.js";import"./md-chunk-5HRBRIJM-BSZ1VC5p.js";var _={parser:t,db:e,renderer:r,styles:s,init:i(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute,e.clear()},"init")};export{_ as diagram}; diff --git a/static/js/md-timeline-definition-U7ZMHBDA-BFlSnhx5.js b/static/js/md-timeline-definition-U7ZMHBDA-BNdRx5Eq.js similarity index 99% rename from static/js/md-timeline-definition-U7ZMHBDA-BFlSnhx5.js rename to static/js/md-timeline-definition-U7ZMHBDA-BNdRx5Eq.js index ea4d0a7..f3dbf65 100644 --- a/static/js/md-timeline-definition-U7ZMHBDA-BFlSnhx5.js +++ b/static/js/md-timeline-definition-U7ZMHBDA-BNdRx5Eq.js @@ -1,4 +1,4 @@ -import{_ as s,T as xt,U as kt,v as vt,j as U,d as _t,l as T,V as bt,W as wt,X as St,Y as Et}from"./md-index-trBnGDGX.js";import{d as nt}from"./md-arc-CJtsns1o.js";var X=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,S){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],S=this.table,k="",M=0,P=0,B=2,J=1,O=o.slice.call(arguments,1),v=Object.create(this.lexer),E={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(E.yy[b]=this.yy[b]);v.setInput(i,E.yy),E.yy.lexer=v,E.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var L=v.yylloc;o.push(L);var A=v.options&&v.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(I){d.length=d.length-2*I,y.length=y.length-I,o.length=o.length-I}s(R,"popStack");function F(){var I;return I=u.pop()||v.lex()||J,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(F,"lex");for(var w,C,N,K,V={},j,$,et,G;;){if(C=d[d.length-1],this.defaultActions[C]?N=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=F()),N=S[C]&&S[C][w]),typeof N>"u"||!N.length||!N[0]){var Q="";G=[];for(j in S[C])this.terminals_[j]&&j>B&&G.push("'"+this.terminals_[j]+"'");v.showPosition?Q="Parse error on line "+(M+1)+`: +import{_ as s,T as xt,U as kt,v as vt,j as U,d as _t,l as T,V as bt,W as wt,X as St,Y as Et}from"./md-index-TGP-egEp.js";import{d as nt}from"./md-arc-Ce2V3LWk.js";var X=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,S){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],S=this.table,k="",M=0,P=0,B=2,J=1,O=o.slice.call(arguments,1),v=Object.create(this.lexer),E={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(E.yy[b]=this.yy[b]);v.setInput(i,E.yy),E.yy.lexer=v,E.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var L=v.yylloc;o.push(L);var A=v.options&&v.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(I){d.length=d.length-2*I,y.length=y.length-I,o.length=o.length-I}s(R,"popStack");function F(){var I;return I=u.pop()||v.lex()||J,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(F,"lex");for(var w,C,N,K,V={},j,$,et,G;;){if(C=d[d.length-1],this.defaultActions[C]?N=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=F()),N=S[C]&&S[C][w]),typeof N>"u"||!N.length||!N[0]){var Q="";G=[];for(j in S[C])this.terminals_[j]&&j>B&&G.push("'"+this.terminals_[j]+"'");v.showPosition?Q="Parse error on line "+(M+1)+`: `+v.showPosition()+` Expecting `+G.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Q="Parse error on line "+(M+1)+": Unexpected "+(w==J?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Q,{text:v.match,token:this.terminals_[w]||w,line:v.yylineno,loc:L,expected:G})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+w);switch(N[0]){case 1:d.push(w),y.push(v.yytext),o.push(v.yylloc),d.push(N[1]),w=null,P=v.yyleng,k=v.yytext,M=v.yylineno,L=v.yylloc;break;case 2:if($=this.productions_[N[1]][1],V.$=y[y.length-$],V._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},A&&(V._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),K=this.performAction.apply(V,[k,P,M,E.yy,N[1],y,o].concat(O)),typeof K<"u")return K;$&&(d=d.slice(0,-1*$*2),y=y.slice(0,-1*$),o=o.slice(0,-1*$)),d.push(this.productions_[N[1]][0]),y.push(V.$),o.push(V._$),et=S[d[d.length-2]][d[d.length-1]],d.push(et);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:s(function(a,d){if(this.yy.parser)this.yy.parser.parseError(a,d);else throw new Error(a)},"parseError"),setInput:s(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:s(function(i){var a=i.length,d=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/static/js/md-xychartDiagram-6QU3TZC5-C7K88e2q.js b/static/js/md-xychartDiagram-6QU3TZC5-DPptWv27.js similarity index 99% rename from static/js/md-xychartDiagram-6QU3TZC5-C7K88e2q.js rename to static/js/md-xychartDiagram-6QU3TZC5-DPptWv27.js index 51ebd16..2609b2c 100644 --- a/static/js/md-xychartDiagram-6QU3TZC5-C7K88e2q.js +++ b/static/js/md-xychartDiagram-6QU3TZC5-DPptWv27.js @@ -1,4 +1,4 @@ -import{_ as a,aF as ui,l as Ft,K as Bt,I as gi,D as At,C as Xt,B as xi,i as di,q as Nt,s as pi,g as fi,p as mi,b as yi,c as bi,v as Ai,G as wi,k as Ci}from"./md-index-trBnGDGX.js";import{i as Si}from"./md-init-Gi6I4Gst.js";import{o as _i}from"./md-ordinal-CxVaQH2l.js";import{l as Wt}from"./md-linear-qIPm0QjV.js";function ki(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s"u"&&(T.yylloc={});var gt=T.yylloc;r.push(gt);var li=T.options&&T.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ci(L){g.length=g.length-2*L,A.length=A.length-L,r.length=r.length-L}a(ci,"popStack");function Mt(){var L;return L=x.pop()||T.lex()||It,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=c.symbols_[L]||L),L}a(Mt,"lex");for(var P,O,M,xt,z={},at,V,Vt,rt;;){if(O=g[g.length-1],this.defaultActions[O]?M=this.defaultActions[O]:((P===null||typeof P>"u")&&(P=Mt()),M=Z[O]&&Z[O][P]),typeof M>"u"||!M.length||!M[0]){var dt="";rt=[];for(at in Z[O])this.terminals_[at]&&at>oi&&rt.push("'"+this.terminals_[at]+"'");T.showPosition?dt="Parse error on line "+(nt+1)+`: +import{_ as a,aF as ui,l as Ft,K as Bt,I as gi,D as At,C as Xt,B as xi,i as di,q as Nt,s as pi,g as fi,p as mi,b as yi,c as bi,v as Ai,G as wi,k as Ci}from"./md-index-TGP-egEp.js";import{i as Si}from"./md-init-Gi6I4Gst.js";import{o as _i}from"./md-ordinal-CxVaQH2l.js";import{l as Wt}from"./md-linear-BWd3aXuT.js";function ki(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s"u"&&(T.yylloc={});var gt=T.yylloc;r.push(gt);var li=T.options&&T.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ci(L){g.length=g.length-2*L,A.length=A.length-L,r.length=r.length-L}a(ci,"popStack");function Mt(){var L;return L=x.pop()||T.lex()||It,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=c.symbols_[L]||L),L}a(Mt,"lex");for(var P,O,M,xt,z={},at,V,Vt,rt;;){if(O=g[g.length-1],this.defaultActions[O]?M=this.defaultActions[O]:((P===null||typeof P>"u")&&(P=Mt()),M=Z[O]&&Z[O][P]),typeof M>"u"||!M.length||!M[0]){var dt="";rt=[];for(at in Z[O])this.terminals_[at]&&at>oi&&rt.push("'"+this.terminals_[at]+"'");T.showPosition?dt="Parse error on line "+(nt+1)+`: `+T.showPosition()+` Expecting `+rt.join(", ")+", got '"+(this.terminals_[P]||P)+"'":dt="Parse error on line "+(nt+1)+": Unexpected "+(P==It?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(dt,{text:T.match,token:this.terminals_[P]||P,line:T.yylineno,loc:gt,expected:rt})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+P);switch(M[0]){case 1:g.push(P),A.push(T.yytext),r.push(T.yylloc),g.push(M[1]),P=null,Et=T.yyleng,d=T.yytext,nt=T.yylineno,gt=T.yylloc;break;case 2:if(V=this.productions_[M[1]][1],z.$=A[A.length-V],z._$={first_line:r[r.length-(V||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(V||1)].first_column,last_column:r[r.length-1].last_column},li&&(z._$.range=[r[r.length-(V||1)].range[0],r[r.length-1].range[1]]),xt=this.performAction.apply(z,[d,Et,nt,W.yy,M[1],A,r].concat(hi)),typeof xt<"u")return xt;V&&(g=g.slice(0,-1*V*2),A=A.slice(0,-1*V),r=r.slice(0,-1*V)),g.push(this.productions_[M[1]][0]),A.push(z.$),r.push(z._$),Vt=Z[g[g.length-2]][g[g.length-1]],g.push(Vt);break;case 3:return!0}}return!0},"parse")},ri=function(){var B={EOF:1,parseError:a(function(c,g){if(this.yy.parser)this.yy.parser.parseError(c,g);else throw new Error(c)},"parseError"),setInput:a(function(h,c){return this.yy=c||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var c=h.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:a(function(h){var c=h.length,g=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===x.length?this.yylloc.first_column:0)+x[x.length-g.length].length-g[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(h){this.unput(this.match.slice(h))},"less"),pastInput:a(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var h=this.pastInput(),c=new Array(h.length+1).join("-");return h+this.upcomingInput()+`