diff --git a/dist/assets/index-0aZ8QMJ1.css b/dist/assets/index-0aZ8QMJ1.css deleted file mode 100644 index e50e58d..0000000 --- a/dist/assets/index-0aZ8QMJ1.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,: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:Inter,ui-sans-serif,system-ui,sans-serif;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}.collapse{visibility:collapse}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.h-8{height:2rem}.max-h-\[520px\]{max-height:520px}.min-h-screen{min-height:100vh}.w-8{width:2rem}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-7xl{max-width:80rem}.border-collapse{border-collapse:collapse}.cursor-pointer{cursor:pointer}.resize-y{resize:vertical}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * 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))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-rose-200{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity, 1))}.border-rose-300{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity, 1))}.border-sky-300{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity, 1))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.border-white\/15{border-color:#ffffff26}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-rose-50{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity, 1))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity, 1))}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/10{background-color:#ffffff1a}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-serif{font-family:Georgia,Cambria,Times New Roman,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.leading-relaxed{line-height:1.625}.tracking-\[0\.18em\]{letter-spacing:.18em}.tracking-\[0\.24em\]{letter-spacing:.24em}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity, 1))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity, 1))}.text-rose-600{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity, 1))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-panel{--tw-shadow: 0 10px 30px rgba(15, 23, 42, .08);--tw-shadow-colored: 0 10px 30px 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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-1{--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(1px + 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-sky-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(186 230 253 / var(--tw-ring-opacity, 1))}.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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:root{color-scheme:light}html,body,#root{min-height:100%}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f8fafc;color:#0f172a}::-moz-selection{background:#0f172a2e}::selection{background:#0f172a2e}button,input,textarea,select{font:inherit}.scrollbar-thin::-webkit-scrollbar{width:9px;height:9px}.scrollbar-thin::-webkit-scrollbar-thumb{background:#94a3b8b3;border-radius:9999px}.scrollbar-thin::-webkit-scrollbar-track{background:#94a3b81f}.hover\:border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity, 1))}.hover\:bg-emerald-400:hover{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.hover\:bg-rose-100:hover{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity, 1))}.hover\:bg-sky-400:hover{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity, 1))}.hover\:bg-slate-50:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\:bg-slate-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/15:hover{background-color:#ffffff26}.hover\:text-slate-700:hover{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.focus\:border-sky-500:focus{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.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-sky-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(186 230 253 / var(--tw-ring-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-slate-500:disabled{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity, 1))}.disabled\:opacity-40:disabled{opacity:.4}.group:hover .group-hover\:bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}@media (min-width: 640px){.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-\[1\.4fr_1fr\]{grid-template-columns:1.4fr 1fr}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}}@media (min-width: 1024px){.lg\:grid-cols-\[1\.25fr_0\.75fr\]{grid-template-columns:1.25fr .75fr}.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width: 1280px){.xl\:grid-cols-\[1\.8fr_1fr\]{grid-template-columns:1.8fr 1fr}} diff --git a/dist/assets/index-Bou6tA49.js b/dist/assets/index-Bou6tA49.js deleted file mode 100644 index 9a903d3..0000000 --- a/dist/assets/index-Bou6tA49.js +++ /dev/null @@ -1,157 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();function sd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var od={exports:{}},ws={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var cy=Symbol.for("react.transitional.element"),fy=Symbol.for("react.fragment");function ud(e,t,r){var n=null;if(r!==void 0&&(n=""+r),t.key!==void 0&&(n=""+t.key),"key"in t){r={};for(var a in t)a!=="key"&&(r[a]=t[a])}else r=t;return t=r.ref,{$$typeof:cy,type:e,key:n,ref:t!==void 0?t:null,props:r}}ws.Fragment=fy;ws.jsx=ud;ws.jsxs=ud;od.exports=ws;var le=od.exports,cd={exports:{}},we={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Vu=Symbol.for("react.transitional.element"),hy=Symbol.for("react.portal"),dy=Symbol.for("react.fragment"),py=Symbol.for("react.strict_mode"),my=Symbol.for("react.profiler"),yy=Symbol.for("react.consumer"),vy=Symbol.for("react.context"),gy=Symbol.for("react.forward_ref"),by=Symbol.for("react.suspense"),wy=Symbol.for("react.memo"),fd=Symbol.for("react.lazy"),_y=Symbol.for("react.activity"),cf=Symbol.iterator;function xy(e){return e===null||typeof e!="object"?null:(e=cf&&e[cf]||e["@@iterator"],typeof e=="function"?e:null)}var hd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dd=Object.assign,pd={};function ka(e,t,r){this.props=e,this.context=t,this.refs=pd,this.updater=r||hd}ka.prototype.isReactComponent={};ka.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ka.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function md(){}md.prototype=ka.prototype;function Ku(e,t,r){this.props=e,this.context=t,this.refs=pd,this.updater=r||hd}var Yu=Ku.prototype=new md;Yu.constructor=Ku;dd(Yu,ka.prototype);Yu.isPureReactComponent=!0;var ff=Array.isArray;function Go(){}var He={H:null,A:null,T:null,S:null},yd=Object.prototype.hasOwnProperty;function Xu(e,t,r){var n=r.ref;return{$$typeof:Vu,type:e,key:t,ref:n!==void 0?n:null,props:r}}function Sy(e,t){return Xu(e.type,t,e.props)}function Pu(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vu}function Ey(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var hf=/\/+/g;function Ys(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Ey(""+e.key):t.toString(36)}function Ty(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Go,Go):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Yn(e,t,r,n,a){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Vu:case hy:l=!0;break;case fd:return l=e._init,Yn(l(e._payload),t,r,n,a)}}if(l)return a=a(e),l=n===""?"."+Ys(e,0):n,ff(a)?(r="",l!=null&&(r=l.replace(hf,"$&/")+"/"),Yn(a,t,r,"",function(d){return d})):a!=null&&(Pu(a)&&(a=Sy(a,r+(a.key==null||e&&e.key===a.key?"":(""+a.key).replace(hf,"$&/")+"/")+l)),t.push(a)),1;l=0;var s=n===""?".":n+":";if(ff(e))for(var u=0;u>>1,te=X[Q];if(0>>1;Qa(I,re))Ya($,I)?(X[Q]=$,X[Y]=re,Q=Y):(X[Q]=I,X[D]=re,Q=D);else if(Ya($,re))X[Q]=$,X[Y]=re,Q=Y;else break e}}return V}function a(X,V){var re=X.sortIndex-V.sortIndex;return re!==0?re:X.id-V.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var u=[],d=[],y=1,g=null,v=3,h=!1,_=!1,E=!1,R=!1,m=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;function b(X){for(var V=r(d);V!==null;){if(V.callback===null)n(d);else if(V.startTime<=X)n(d),V.sortIndex=V.expirationTime,t(u,V);else break;V=r(d)}}function A(X){if(E=!1,b(X),!_)if(r(u)!==null)_=!0,S||(S=!0,M());else{var V=r(d);V!==null&&P(A,V.startTime-X)}}var S=!1,B=-1,z=5,O=-1;function G(){return R?!0:!(e.unstable_now()-OX&&G());){var Q=g.callback;if(typeof Q=="function"){g.callback=null,v=g.priorityLevel;var te=Q(g.expirationTime<=X);if(X=e.unstable_now(),typeof te=="function"){g.callback=te,b(X),V=!0;break t}g===r(u)&&n(u),b(X)}else n(u);g=r(u)}if(g!==null)V=!0;else{var Z=r(d);Z!==null&&P(A,Z.startTime-X),V=!1}}break e}finally{g=null,v=re,h=!1}V=void 0}}finally{V?M():S=!1}}}var M;if(typeof p=="function")M=function(){p(ee)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,C=K.port2;K.port1.onmessage=ee,M=function(){C.postMessage(null)}}else M=function(){m(ee,0)};function P(X,V){B=m(function(){X(e.unstable_now())},V)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(X){X.callback=null},e.unstable_forceFrameRate=function(X){0>X||125Q?(X.sortIndex=re,t(d,X),r(u)===null&&X===r(d)&&(E?(f(B),B=-1):E=!0,P(A,re-Q))):(X.sortIndex=te,t(u,X),_||h||(_=!0,S||(S=!0,M()))),X},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(X){var V=v;return function(){var re=v;v=V;try{return X.apply(this,arguments)}finally{v=re}}}})(bd);gd.exports=bd;var Ry=gd.exports,wd={exports:{}},gt={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Cy=lt;function _d(e){var t="https://react.dev/errors/"+e;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xd)}catch(e){console.error(e)}}xd(),wd.exports=gt;var By=wd.exports;/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var tt=Ry,Sd=lt,My=By;function oe(e){var t="https://react.dev/errors/"+e;if(1Qn||(e.current=Zo[Qn],Zo[Qn]=null,Qn--)}function ze(e,t){Qn++,Zo[Qn]=e.current,e.current=t}var lr=sr(null),Si=sr(null),Pr=sr(null),Gl=sr(null);function Vl(e,t){switch(ze(Pr,t),ze(Si,e),ze(lr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?_h(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=_h(t),e=Zm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}it(lr),ze(lr,e)}function ya(){it(lr),it(Si),it(Pr)}function Wo(e){e.memoizedState!==null&&ze(Gl,e);var t=lr.current,r=Zm(t,e.type);t!==r&&(ze(Si,e),ze(lr,r))}function Kl(e){Si.current===e&&(it(lr),it(Si)),Gl.current===e&&(it(Gl),Mi._currentValue=Sn)}var Xs,yf;function gn(e){if(Xs===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Xs=t&&t[1]||"",yf=-1)":-1a||u[n]!==d[a]){var y=` -`+u[n].replace(" at new "," at ");return e.displayName&&y.includes("")&&(y=y.replace("",e.displayName)),y}while(1<=n&&0<=a);break}}}finally{Ps=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?gn(r):""}function Hy(e,t){switch(e.tag){case 26:case 27:case 5:return gn(e.type);case 16:return gn("Lazy");case 13:return e.child!==t&&t!==null?gn("Suspense Fallback"):gn("Suspense");case 19:return gn("SuspenseList");case 0:case 15:return Zs(e.type,!1);case 11:return Zs(e.type.render,!1);case 1:return Zs(e.type,!0);case 31:return gn("Activity");default:return""}}function vf(e){try{var t="",r=null;do t+=Hy(e,r),r=e,e=e.return;while(e);return t}catch(n){return` -Error generating stack: `+n.message+` -`+n.stack}}var Qo=Object.prototype.hasOwnProperty,Qu=tt.unstable_scheduleCallback,Ws=tt.unstable_cancelCallback,Fy=tt.unstable_shouldYield,Iy=tt.unstable_requestPaint,Dt=tt.unstable_now,qy=tt.unstable_getCurrentPriorityLevel,Cd=tt.unstable_ImmediatePriority,Dd=tt.unstable_UserBlockingPriority,Yl=tt.unstable_NormalPriority,Gy=tt.unstable_LowPriority,kd=tt.unstable_IdlePriority,Vy=tt.log,Ky=tt.unstable_setDisableYieldValue,Ii=null,kt=null;function Gr(e){if(typeof Vy=="function"&&Ky(e),kt&&typeof kt.setStrictMode=="function")try{kt.setStrictMode(Ii,e)}catch{}}var Bt=Math.clz32?Math.clz32:Py,Yy=Math.log,Xy=Math.LN2;function Py(e){return e>>>=0,e===0?32:31-(Yy(e)/Xy|0)|0}var ol=256,ul=262144,cl=4194304;function bn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ss(e,t,r){var n=e.pendingLanes;if(n===0)return 0;var a=0,i=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var s=n&134217727;return s!==0?(n=s&~i,n!==0?a=bn(n):(l&=s,l!==0?a=bn(l):r||(r=s&~e,r!==0&&(a=bn(r))))):(s=n&~i,s!==0?a=bn(s):l!==0?a=bn(l):r||(r=n&~e,r!==0&&(a=bn(r)))),a===0?0:t!==0&&t!==a&&!(t&i)&&(i=a&-a,r=t&-t,i>=r||i===32&&(r&4194048)!==0)?t:a}function qi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Zy(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bd(){var e=cl;return cl<<=1,!(cl&62914560)&&(cl=4194304),e}function Qs(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Gi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Wy(e,t,r,n,a,i){var l=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var s=e.entanglements,u=e.expirationTimes,d=e.hiddenUpdates;for(r=l&~r;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var rv=/[\n"\\]/g;function It(e){return e.replace(rv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function eu(e,t,r,n,a,i,l,s){e.name="",l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.type=l:e.removeAttribute("type"),t!=null?l==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+jt(t)):e.value!==""+jt(t)&&(e.value=""+jt(t)):l!=="submit"&&l!=="reset"||e.removeAttribute("value"),t!=null?tu(e,l,jt(t)):r!=null?tu(e,l,jt(r)):n!=null&&e.removeAttribute("value"),a==null&&i!=null&&(e.defaultChecked=!!i),a!=null&&(e.checked=a&&typeof a!="function"&&typeof a!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+jt(s):e.removeAttribute("name")}function qd(e,t,r,n,a,i,l,s){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||r!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){$o(e);return}r=r!=null?""+jt(r):"",t=t!=null?""+jt(t):r,s||t===e.value||(e.value=t),e.defaultValue=t}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=s?e.checked:!!n,e.defaultChecked=!!n,l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(e.name=l),$o(e)}function tu(e,t,r){t==="number"&&Xl(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function ua(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nu=!1;if(Or)try{var Ya={};Object.defineProperty(Ya,"passive",{get:function(){nu=!0}}),window.addEventListener("test",Ya,Ya),window.removeEventListener("test",Ya,Ya)}catch{nu=!1}var Vr=null,nc=null,Cl=null;function Xd(){if(Cl)return Cl;var e,t=nc,r=t.length,n,a="value"in Vr?Vr.value:Vr.textContent,i=a.length;for(e=0;e=oi),Of=" ",Rf=!1;function Zd(e,t){switch(e){case"keyup":return Cv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ea=!1;function kv(e,t){switch(e){case"compositionend":return Wd(t);case"keypress":return t.which!==32?null:(Rf=!0,Of);case"textInput":return e=t.data,e===Of&&Rf?null:e;default:return null}}function Bv(e,t){if(ea)return e==="compositionend"||!ic&&Zd(e,t)?(e=Xd(),Cl=nc=Vr=null,ea=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Mf(r)}}function ep(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ep(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function tp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Xl(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Xl(e.document)}return t}function lc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Iv=Or&&"documentMode"in document&&11>=document.documentMode,ta=null,au=null,ci=null,iu=!1;function Uf(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;iu||ta==null||ta!==Xl(n)||(n=ta,"selectionStart"in n&&lc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ci&&Ai(ci,n)||(ci=n,n=fs(au,"onSelect"),0>=l,a-=l,rr=1<<32-Bt(t)+a|r<z?(O=B,B=null):O=B.sibling;var G=v(m,B,p[z],b);if(G===null){B===null&&(B=O);break}e&&B&&G.alternate===null&&t(m,B),f=i(G,f,z),S===null?A=G:S.sibling=G,S=G,B=O}if(z===p.length)return r(m,B),Ne&&br(m,z),A;if(B===null){for(;zz?(O=B,B=null):O=B.sibling;var ee=v(m,B,G.value,b);if(ee===null){B===null&&(B=O);break}e&&B&&ee.alternate===null&&t(m,B),f=i(ee,f,z),S===null?A=ee:S.sibling=ee,S=ee,B=O}if(G.done)return r(m,B),Ne&&br(m,z),A;if(B===null){for(;!G.done;z++,G=p.next())G=g(m,G.value,b),G!==null&&(f=i(G,f,z),S===null?A=G:S.sibling=G,S=G);return Ne&&br(m,z),A}for(B=n(B);!G.done;z++,G=p.next())G=h(B,m,z,G.value,b),G!==null&&(e&&G.alternate!==null&&B.delete(G.key===null?z:G.key),f=i(G,f,z),S===null?A=G:S.sibling=G,S=G);return e&&B.forEach(function(M){return t(m,M)}),Ne&&br(m,z),A}function R(m,f,p,b){if(typeof p=="object"&&p!==null&&p.type===Wn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case sl:e:{for(var A=p.key;f!==null;){if(f.key===A){if(A=p.type,A===Wn){if(f.tag===7){r(m,f.sibling),b=a(f,p.props.children),b.return=m,m=b;break e}}else if(f.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Ur&&wn(A)===f.type){r(m,f.sibling),b=a(f,p.props),Pa(b,p),b.return=m,m=b;break e}r(m,f);break}else t(m,f);f=f.sibling}p.type===Wn?(b=En(p.props.children,m.mode,b,p.key),b.return=m,m=b):(b=kl(p.type,p.key,p.props,null,m.mode,b),Pa(b,p),b.return=m,m=b)}return l(m);case ti:e:{for(A=p.key;f!==null;){if(f.key===A)if(f.tag===4&&f.stateNode.containerInfo===p.containerInfo&&f.stateNode.implementation===p.implementation){r(m,f.sibling),b=a(f,p.children||[]),b.return=m,m=b;break e}else{r(m,f);break}else t(m,f);f=f.sibling}b=lo(p,m.mode,b),b.return=m,m=b}return l(m);case Ur:return p=wn(p),R(m,f,p,b)}if(ri(p))return _(m,f,p,b);if(Ka(p)){if(A=Ka(p),typeof A!="function")throw Error(oe(150));return p=A.call(p),E(m,f,p,b)}if(typeof p.then=="function")return R(m,f,pl(p),b);if(p.$$typeof===_r)return R(m,f,dl(m,p),b);ml(m,p)}return typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint"?(p=""+p,f!==null&&f.tag===6?(r(m,f.sibling),b=a(f,p),b.return=m,m=b):(r(m,f),b=io(p,m.mode,b),b.return=m,m=b),l(m)):r(m,f)}return function(m,f,p,b){try{Ri=0;var A=R(m,f,p,b);return ha=null,A}catch(B){if(B===Ua||B===Rs)throw B;var S=Rt(29,B,null,m.mode);return S.lanes=b,S.return=m,S}finally{}}}var kn=yp(!0),vp=yp(!1),Lr=!1;function mc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function hu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Wr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Qr(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,Oe&2){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,t=Zl(e),op(e,null,r),t}return Os(e,n,t,r),Zl(e)}function hi(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,zd(e,r)}}function oo(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var a=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var l={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};i===null?a=i=l:i=i.next=l,r=r.next}while(r!==null);i===null?a=i=t:i=i.next=t}else a=i=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var du=!1;function di(){if(du){var e=fa;if(e!==null)throw e}}function pi(e,t,r,n){du=!1;var a=e.updateQueue;Lr=!1;var i=a.firstBaseUpdate,l=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var u=s,d=u.next;u.next=null,l===null?i=d:l.next=d,l=u;var y=e.alternate;y!==null&&(y=y.updateQueue,s=y.lastBaseUpdate,s!==l&&(s===null?y.firstBaseUpdate=d:s.next=d,y.lastBaseUpdate=u))}if(i!==null){var g=a.baseState;l=0,y=d=u=null,s=i;do{var v=s.lane&-536870913,h=v!==s.lane;if(h?(Ae&v)===v:(n&v)===v){v!==0&&v===ba&&(du=!0),y!==null&&(y=y.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var _=e,E=s;v=t;var R=r;switch(E.tag){case 1:if(_=E.payload,typeof _=="function"){g=_.call(R,g,v);break e}g=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=E.payload,v=typeof _=="function"?_.call(R,g,v):_,v==null)break e;g=Fe({},g,v);break e;case 2:Lr=!0}}v=s.callback,v!==null&&(e.flags|=64,h&&(e.flags|=8192),h=a.callbacks,h===null?a.callbacks=[v]:h.push(v))}else h={lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},y===null?(d=y=h,u=g):y=y.next=h,l|=v;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;h=s,s=h.next,h.next=null,a.lastBaseUpdate=h,a.shared.pending=null}}while(!0);y===null&&(u=g),a.baseState=u,a.firstBaseUpdate=d,a.lastBaseUpdate=y,i===null&&(a.shared.lanes=0),sn|=l,e.lanes=l,e.memoizedState=g}}function gp(e,t){if(typeof e!="function")throw Error(oe(191,e));e.call(t)}function bp(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;ei?i:8;var l=ge.T,s={};ge.T=s,Oc(e,!1,t,r);try{var u=a(),d=ge.S;if(d!==null&&d(s,u),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=Wv(u,n);mi(e,t,y,Mt(e))}else mi(e,t,n,Mt(e))}catch(g){mi(e,t,{then:function(){},status:"rejected",reason:g},Mt())}finally{Re.p=i,l!==null&&s.types!==null&&(l.types=s.types),ge.T=l}}function rg(){}function gu(e,t,r,n){if(e.tag!==5)throw Error(oe(476));var a=Vp(e).queue;Gp(e,a,t,Sn,r===null?rg:function(){return Kp(e),r(n)})}function Vp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Sn,baseState:Sn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cr,lastRenderedState:Sn},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cr,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Kp(e){var t=Vp(e);t.next===null&&(t=e.alternate.memoizedState),mi(e,t.next.queue,{},Mt())}function Nc(){return ft(Mi)}function Yp(){return Ze().memoizedState}function Xp(){return Ze().memoizedState}function ng(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var r=Mt();e=Wr(r);var n=Qr(t,e,r);n!==null&&(Et(n,t,r),hi(n,t,r)),t={cache:hc()},e.payload=t;return}t=t.return}}function ag(e,t,r){var n=Mt();r={lane:n,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Bs(e)?Zp(t,r):(r=oc(e,t,r,n),r!==null&&(Et(r,e,n),Wp(r,t,n)))}function Pp(e,t,r){var n=Mt();mi(e,t,r,n)}function mi(e,t,r,n){var a={lane:n,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Bs(e))Zp(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,s=i(l,r);if(a.hasEagerState=!0,a.eagerState=s,zt(s,l))return Os(e,t,a,0),Me===null&&Ns(),!1}catch{}finally{}if(r=oc(e,t,a,n),r!==null)return Et(r,e,n),Wp(r,t,n),!0}return!1}function Oc(e,t,r,n){if(n={lane:2,revertLane:Lc(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Bs(e)){if(t)throw Error(oe(479))}else t=oc(e,r,n,2),t!==null&&Et(t,e,2)}function Bs(e){var t=e.alternate;return e===_e||t!==null&&t===_e}function Zp(e,t){da=ts=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Wp(e,t,r){if(r&4194048){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,zd(e,r)}}var Di={readContext:ft,use:Ds,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useLayoutEffect:Ke,useInsertionEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useSyncExternalStore:Ke,useId:Ke,useHostTransitionStatus:Ke,useFormState:Ke,useActionState:Ke,useOptimistic:Ke,useMemoCache:Ke,useCacheRefresh:Ke};Di.useEffectEvent=Ke;var Qp={readContext:ft,use:Ds,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:ft,useEffect:Qf,useImperativeHandle:function(e,t,r){r=r!=null?r.concat([e]):null,zl(4194308,4,jp.bind(null,t,e),r)},useLayoutEffect:function(e,t){return zl(4194308,4,e,t)},useInsertionEffect:function(e,t){zl(4,2,e,t)},useMemo:function(e,t){var r=mt();t=t===void 0?null:t;var n=e();if(Bn){Gr(!0);try{e()}finally{Gr(!1)}}return r.memoizedState=[n,t],n},useReducer:function(e,t,r){var n=mt();if(r!==void 0){var a=r(t);if(Bn){Gr(!0);try{r(t)}finally{Gr(!1)}}}else a=t;return n.memoizedState=n.baseState=a,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},n.queue=e,e=e.dispatch=ag.bind(null,_e,e),[n.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:function(e){e=yu(e);var t=e.queue,r=Pp.bind(null,_e,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:Tc,useDeferredValue:function(e,t){var r=mt();return Ac(r,e,t)},useTransition:function(){var e=yu(!1);return e=Gp.bind(null,_e,e.queue,!0,!1),mt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var n=_e,a=mt();if(Ne){if(r===void 0)throw Error(oe(407));r=r()}else{if(r=t(),Me===null)throw Error(oe(349));Ae&127||Ep(n,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,Qf(Ap.bind(null,n,i,e),[e]),n.flags|=2048,_a(9,{destroy:void 0},Tp.bind(null,n,i,r,t),null),r},useId:function(){var e=mt(),t=Me.identifierPrefix;if(Ne){var r=nr,n=rr;r=(n&~(1<<32-Bt(n)-1)).toString(32)+r,t="_"+t+"R_"+r,r=rs++,0<\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?l.createElement("select",{is:n.is}):l.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?l.createElement(a,{is:n.is}):l.createElement(a)}}i[ot]=t,i[Tt]=n;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)i.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=i;e:switch(ht(i,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&hr(t)}}return Ue(t),vo(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&hr(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(oe(166));if(e=Pr.current,qn(t)){if(e=t.stateNode,r=t.memoizedProps,n=null,a=ut,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}e[ot]=t,e=!!(e.nodeValue===r||n!==null&&n.suppressHydrationWarning===!0||Pm(e.nodeValue,r)),e||an(t,!0)}else e=hs(e).createTextNode(n),e[ot]=t,t.stateNode=e}return Ue(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(n=qn(t),r!==null){if(e===null){if(!n)throw Error(oe(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(oe(557));e[ot]=t}else Cn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ue(t),e=!1}else r=so(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(Ot(t),t):(Ot(t),null);if(t.flags&128)throw Error(oe(558))}return Ue(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=qn(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(oe(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(oe(317));a[ot]=t}else Cn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ue(t),a=!1}else a=so(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Ot(t),t):(Ot(t),null)}return Ot(t),t.flags&128?(t.lanes=r,t):(r=n!==null,e=e!==null&&e.memoizedState!==null,r&&(n=t.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==a&&(n.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),yl(t,t.updateQueue),Ue(t),null);case 4:return ya(),e===null&&jc(t.stateNode.containerInfo),Ue(t),null;case 10:return Ar(t.type),Ue(t),null;case 19:if(it(Pe),n=t.memoizedState,n===null)return Ue(t),null;if(a=(t.flags&128)!==0,i=n.rendering,i===null)if(a)Za(n,!1);else{if(Ye!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=es(e),i!==null){for(t.flags|=128,Za(n,!1),e=i.updateQueue,t.updateQueue=e,yl(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)up(r,e),r=r.sibling;return ze(Pe,Pe.current&1|2),Ne&&br(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&Dt()>ls&&(t.flags|=128,a=!0,Za(n,!1),t.lanes=4194304)}else{if(!a)if(e=es(i),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,yl(t,e),Za(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!Ne)return Ue(t),null}else 2*Dt()-n.renderingStartTime>ls&&r!==536870912&&(t.flags|=128,a=!0,Za(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=Dt(),e.sibling=null,r=Pe.current,ze(Pe,a?r&1|2:r&1),Ne&&br(t,n.treeForkCount),e):(Ue(t),null);case 22:case 23:return Ot(t),yc(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?r&536870912&&!(t.flags&128)&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),r=t.updateQueue,r!==null&&yl(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==r&&(t.flags|=2048),e!==null&&it(Tn),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ar(Je),Ue(t),null;case 25:return null;case 30:return null}throw Error(oe(156,t.tag))}function ug(e,t){switch(fc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ar(Je),ya(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Kl(t),null;case 31:if(t.memoizedState!==null){if(Ot(t),t.alternate===null)throw Error(oe(340));Cn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ot(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(oe(340));Cn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return it(Pe),null;case 4:return ya(),null;case 10:return Ar(t.type),null;case 22:case 23:return Ot(t),yc(),e!==null&&it(Tn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ar(Je),null;case 25:return null;default:return null}}function um(e,t){switch(fc(t),t.tag){case 3:Ar(Je),ya();break;case 26:case 27:case 5:Kl(t);break;case 4:ya();break;case 31:t.memoizedState!==null&&Ot(t);break;case 13:Ot(t);break;case 19:it(Pe);break;case 10:Ar(t.type);break;case 22:case 23:Ot(t),yc(),e!==null&&it(Tn);break;case 24:Ar(Je)}}function Pi(e,t){try{var r=t.updateQueue,n=r!==null?r.lastEffect:null;if(n!==null){var a=n.next;r=a;do{if((r.tag&e)===e){n=void 0;var i=r.create,l=r.inst;n=i(),l.destroy=n}r=r.next}while(r!==a)}}catch(s){De(t,t.return,s)}}function ln(e,t,r){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&e)===e){var l=n.inst,s=l.destroy;if(s!==void 0){l.destroy=void 0,a=t;var u=r,d=s;try{d()}catch(y){De(a,u,y)}}}n=n.next}while(n!==i)}}catch(y){De(t,t.return,y)}}function cm(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;try{bp(t,r)}catch(n){De(e,e.return,n)}}}function fm(e,t,r){r.props=Mn(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(n){De(e,t,n)}}function yi(e,t){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof r=="function"?e.refCleanup=r(n):r.current=n}}catch(a){De(e,t,a)}}function ar(e,t){var r=e.ref,n=e.refCleanup;if(r!==null)if(typeof n=="function")try{n()}catch(a){De(e,t,a)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(a){De(e,t,a)}else r.current=null}function hm(e){var t=e.type,r=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&n.focus();break e;case"img":r.src?n.src=r.src:r.srcSet&&(n.srcset=r.srcSet)}}catch(a){De(e,e.return,a)}}function go(e,t,r){try{var n=e.stateNode;Dg(n,e.type,r,t),n[Tt]=t}catch(a){De(e,e.return,a)}}function dm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&un(e.type)||e.tag===4}function bo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||dm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&un(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Su(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t):(t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=xr));else if(n!==4&&(n===27&&un(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(Su(e,t,r),e=e.sibling;e!==null;)Su(e,t,r),e=e.sibling}function is(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(n===27&&un(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(is(e,t,r),e=e.sibling;e!==null;)is(e,t,r),e=e.sibling}function pm(e){var t=e.stateNode,r=e.memoizedProps;try{for(var n=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);ht(t,n,r),t[ot]=e,t[Tt]=r}catch(i){De(e,e.return,i)}}var wr=!1,Qe=!1,wo=!1,ch=typeof WeakSet=="function"?WeakSet:Set,nt=null;function cg(e,t){if(e=e.containerInfo,Cu=ys,e=tp(e),lc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var l=0,s=-1,u=-1,d=0,y=0,g=e,v=null;t:for(;;){for(var h;g!==r||a!==0&&g.nodeType!==3||(s=l+a),g!==i||n!==0&&g.nodeType!==3||(u=l+n),g.nodeType===3&&(l+=g.nodeValue.length),(h=g.firstChild)!==null;)v=g,g=h;for(;;){if(g===e)break t;if(v===r&&++d===a&&(s=l),v===i&&++y===n&&(u=l),(h=g.nextSibling)!==null)break;g=v,v=g.parentNode}g=h}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Du={focusedElem:e,selectionRange:r},ys=!1,nt=t;nt!==null;)if(t=nt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,nt=e;else for(;nt!==null;){switch(t=nt,i=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r title"))),ht(i,n,r),i[ot]=e,at(i),n=i;break e;case"link":var l=Ch("link","href",a).get(n+(r.href||""));if(l){for(var s=0;sR&&(l=R,R=E,E=l);var m=zf(s,E),f=zf(s,R);if(m&&f&&(h.rangeCount!==1||h.anchorNode!==m.node||h.anchorOffset!==m.offset||h.focusNode!==f.node||h.focusOffset!==f.offset)){var p=g.createRange();p.setStart(m.node,m.offset),h.removeAllRanges(),E>R?(h.addRange(p),h.extend(f.node,f.offset)):(p.setEnd(f.node,f.offset),h.addRange(p))}}}}for(g=[],h=s;h=h.parentNode;)h.nodeType===1&&g.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;sr?32:r,ge.T=null,r=Au,Au=null;var i=$r,l=Nr;if(et=0,Sa=$r=null,Nr=0,Oe&6)throw Error(oe(331));var s=Oe;if(Oe|=4,Tm(i.current),xm(i,i.current,l,r),Oe=s,Zi(0,!1),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(Ii,i)}catch{}return!0}finally{Re.p=a,ge.T=n,Fm(e,t)}}function ph(e,t,r){t=qt(r,t),t=wu(e.stateNode,t,2),e=Qr(e,t,2),e!==null&&(Gi(e,2),or(e))}function De(e,t,r){if(e.tag===3)ph(e,e,r);else for(;t!==null;){if(t.tag===3){ph(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Jr===null||!Jr.has(n))){e=qt(r,e),r=rm(2),n=Qr(t,r,2),n!==null&&(nm(r,n,t,e),Gi(n,2),or(n));break}}t=t.return}}function xo(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new dg;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(r)||(Mc=!0,a.add(r),e=gg.bind(null,e,t,r),t.then(e,e))}function gg(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,Me===e&&(Ae&r)===r&&(Ye===4||Ye===3&&(Ae&62914560)===Ae&&300>Dt()-Ms?!(Oe&2)&&Ea(e,0):zc|=r,xa===Ae&&(xa=0)),or(e)}function qm(e,t){t===0&&(t=Bd()),e=Hn(e,t),e!==null&&(Gi(e,t),or(e))}function bg(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),qm(e,r)}function wg(e,t){var r=0;switch(e.tag){case 31:case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(oe(314))}n!==null&&n.delete(t),qm(e,r)}function _g(e,t){return Qu(e,t)}var us=null,Pn=null,Ou=!1,cs=!1,So=!1,Xr=0;function or(e){e!==Pn&&e.next===null&&(Pn===null?us=Pn=e:Pn=Pn.next=e),cs=!0,Ou||(Ou=!0,Sg())}function Zi(e,t){if(!So&&cs){So=!0;do for(var r=!1,n=us;n!==null;){if(e!==0){var a=n.pendingLanes;if(a===0)var i=0;else{var l=n.suspendedLanes,s=n.pingedLanes;i=(1<<31-Bt(42|e)+1)-1,i&=a&~(l&~s),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(r=!0,mh(n,i))}else i=Ae,i=Ss(n,n===Me?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),!(i&3)||qi(n,i)||(r=!0,mh(n,i));n=n.next}while(r);So=!1}}function xg(){Gm()}function Gm(){cs=Ou=!1;var e=0;Xr!==0&&Bg()&&(e=Xr);for(var t=Dt(),r=null,n=us;n!==null;){var a=n.next,i=Vm(n,t);i===0?(n.next=null,r===null?us=a:r.next=a,a===null&&(Pn=r)):(r=n,(e!==0||i&3)&&(cs=!0)),n=a}et!==0&&et!==5||Zi(e),Xr!==0&&(Xr=0)}function Vm(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes&-62914561;0s)break;var y=u.transferSize,g=u.initiatorType;y&&wh(g)&&(u=u.responseEnd,l+=y*(u"u"?null:document;function $m(e,t,r){var n=ja;if(n&&typeof t=="string"&&t){var a=It(t);a='link[rel="'+e+'"][href="'+a+'"]',typeof r=="string"&&(a+='[crossorigin="'+r+'"]'),Nh.has(a)||(Nh.add(a),e={rel:e,crossOrigin:r,href:t},n.querySelector(a)===null&&(t=n.createElement("link"),ht(t,"link",e),at(t),n.head.appendChild(t)))}}function qg(e){Br.D(e),$m("dns-prefetch",e,null)}function Gg(e,t){Br.C(e,t),$m("preconnect",e,t)}function Vg(e,t,r){Br.L(e,t,r);var n=ja;if(n&&e&&t){var a='link[rel="preload"][as="'+It(t)+'"]';t==="image"&&r&&r.imageSrcSet?(a+='[imagesrcset="'+It(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(a+='[imagesizes="'+It(r.imageSizes)+'"]')):a+='[href="'+It(e)+'"]';var i=a;switch(t){case"style":i=Ta(e);break;case"script":i=Ha(e)}Yt.has(i)||(e=Fe({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),Yt.set(i,e),n.querySelector(a)!==null||t==="style"&&n.querySelector(Wi(i))||t==="script"&&n.querySelector(Qi(i))||(t=n.createElement("link"),ht(t,"link",e),at(t),n.head.appendChild(t)))}}function Kg(e,t){Br.m(e,t);var r=ja;if(r&&e){var n=t&&typeof t.as=="string"?t.as:"script",a='link[rel="modulepreload"][as="'+It(n)+'"][href="'+It(e)+'"]',i=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Ha(e)}if(!Yt.has(i)&&(e=Fe({rel:"modulepreload",href:e},t),Yt.set(i,e),r.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Qi(i)))return}n=r.createElement("link"),ht(n,"link",e),at(n),r.head.appendChild(n)}}}function Yg(e,t,r){Br.S(e,t,r);var n=ja;if(n&&e){var a=oa(n).hoistableStyles,i=Ta(e);t=t||"default";var l=a.get(i);if(!l){var s={loading:0,preload:null};if(l=n.querySelector(Wi(i)))s.loading=5;else{e=Fe({rel:"stylesheet",href:e,"data-precedence":t},r),(r=Yt.get(i))&&Hc(e,r);var u=l=n.createElement("link");at(u),ht(u,"link",e),u._p=new Promise(function(d,y){u.onload=d,u.onerror=y}),u.addEventListener("load",function(){s.loading|=1}),u.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Hl(l,t,n)}l={type:"stylesheet",instance:l,count:1,state:s},a.set(i,l)}}}function Xg(e,t){Br.X(e,t);var r=ja;if(r&&e){var n=oa(r).hoistableScripts,a=Ha(e),i=n.get(a);i||(i=r.querySelector(Qi(a)),i||(e=Fe({src:e,async:!0},t),(t=Yt.get(a))&&Fc(e,t),i=r.createElement("script"),at(i),ht(i,"link",e),r.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function Pg(e,t){Br.M(e,t);var r=ja;if(r&&e){var n=oa(r).hoistableScripts,a=Ha(e),i=n.get(a);i||(i=r.querySelector(Qi(a)),i||(e=Fe({src:e,async:!0,type:"module"},t),(t=Yt.get(a))&&Fc(e,t),i=r.createElement("script"),at(i),ht(i,"link",e),r.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function Oh(e,t,r,n){var a=(a=Pr.current)?ds(a):null;if(!a)throw Error(oe(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=Ta(r.href),r=oa(a).hoistableStyles,n=r.get(t),n||(n={type:"style",instance:null,count:0,state:null},r.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Ta(r.href);var i=oa(a).hoistableStyles,l=i.get(e);if(l||(a=a.ownerDocument||a,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,l),(i=a.querySelector(Wi(e)))&&!i._p&&(l.instance=i,l.state.loading=5),Yt.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},Yt.set(e,r),i||Zg(a,e,r,l.state))),t&&n===null)throw Error(oe(528,""));return l}if(t&&n!==null)throw Error(oe(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ha(r),r=oa(a).hoistableScripts,n=r.get(t),n||(n={type:"script",instance:null,count:0,state:null},r.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(oe(444,e))}}function Ta(e){return'href="'+It(e)+'"'}function Wi(e){return'link[rel="stylesheet"]['+e+"]"}function e0(e){return Fe({},e,{"data-precedence":e.precedence,precedence:null})}function Zg(e,t,r,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),ht(t,"link",r),at(t),e.head.appendChild(t))}function Ha(e){return'[src="'+It(e)+'"]'}function Qi(e){return"script[async]"+e}function Rh(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+It(r.href)+'"]');if(n)return t.instance=n,at(n),n;var a=Fe({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),at(n),ht(n,"style",a),Hl(n,r.precedence,e),t.instance=n;case"stylesheet":a=Ta(r.href);var i=e.querySelector(Wi(a));if(i)return t.state.loading|=4,t.instance=i,at(i),i;n=e0(r),(a=Yt.get(a))&&Hc(n,a),i=(e.ownerDocument||e).createElement("link"),at(i);var l=i;return l._p=new Promise(function(s,u){l.onload=s,l.onerror=u}),ht(i,"link",n),t.state.loading|=4,Hl(i,r.precedence,e),t.instance=i;case"script":return i=Ha(r.src),(a=e.querySelector(Qi(i)))?(t.instance=a,at(a),a):(n=r,(a=Yt.get(i))&&(n=Fe({},r),Fc(n,a)),e=e.ownerDocument||e,a=e.createElement("script"),at(a),ht(a,"link",n),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(oe(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(n=t.instance,t.state.loading|=4,Hl(n,r.precedence,e));return t.instance}function Hl(e,t,r){for(var n=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,i=a,l=0;l title"):null)}function Wg(e,t,r){if(r===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function t0(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}function Qg(e,t,r,n){if(r.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&!(r.state.loading&4)){if(r.instance===null){var a=Ta(n.href),i=t.querySelector(Wi(a));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ps.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=i,at(i);return}i=t.ownerDocument||t,n=e0(n),(a=Yt.get(a))&&Hc(n,a),i=i.createElement("link"),at(i);var l=i;l._p=new Promise(function(s,u){l.onload=s,l.onerror=u}),ht(i,"link",n),r.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&!(r.state.loading&3)&&(e.count++,r=ps.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}var Ro=0;function Jg(e,t){return e.stylesheets&&e.count===0&&Il(e,e.stylesheets),0Ro?50:800)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function ps(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Il(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ms=null;function Il(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ms=new Map,t.forEach($g,e),ms=null,ps.call(e))}function $g(e,t){if(!(t.state.loading&4)){var r=ms.get(e);if(r)var n=r.get(null);else{r=new Map,ms.set(e,r);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u0)}catch(e){console.error(e)}}u0(),vd.exports=_s;var s1=vd.exports;const o1=sd(s1);var u1=Object.create,c0=Object.defineProperty,c1=Object.getOwnPropertyDescriptor,f1=Object.getOwnPropertyNames,h1=Object.getPrototypeOf,d1=Object.prototype.hasOwnProperty,f0=(e,t)=>()=>(e&&(t=e(e=0)),t),he=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),p1=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=f1(t),i=0,l=a.length,s;it[u]).bind(null,s),enumerable:!(n=c1(t,s))||n.enumerable});return e},Kc=(e,t,r)=>(r=e!=null?u1(h1(e)):{},p1(c0(r,"default",{value:e,enumerable:!0}),e)),xl=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});function Li(e){"@babel/helpers - typeof";return Li=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Li(e)}function m1(e,t){if(Li(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Li(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function y1(e){var t=m1(e,"string");return Li(t)=="symbol"?t:t+""}function se(e,t,r){return(t=y1(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gs=class{constructor(e){se(this,"rootKey",void 0),this.rootKey=e}},v1=Object.seal({}),de=class extends gs{constructor(e){super(e),se(this,"root",void 0),this.root=new Array}prepForXml(e){var t;e.stack.push(this);const r=this.root.map(n=>n instanceof gs?n.prepForXml(e):n).filter(n=>n!==void 0);return e.stack.pop(),{[this.rootKey]:r.length?r.length===1&&(!((t=r[0])===null||t===void 0)&&t._attr)?r[0]:r:v1}}addChildElement(e){return this.root.push(e),this}},cn=class extends de{constructor(e,t){super(e),se(this,"includeIfEmpty",void 0),this.includeIfEmpty=t}prepForXml(e){const t=super.prepForXml(e);if(this.includeIfEmpty||t&&(typeof t[this.rootKey]!="object"||Object.keys(t[this.rootKey]).length))return t}};function jh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ye(e){for(var t=1;t{if(n!==void 0){const a=this.xmlKeys&&this.xmlKeys[r]||r;t[a]=n}}),{_attr:t}}},g1=class extends gs{constructor(e){super("_attr"),this.root=e}prepForXml(e){return{_attr:Object.values(this.root).filter(({value:t})=>t!==void 0).reduce((t,{key:r,value:n})=>ye(ye({},t),{},{[r]:n}),{})}}},pt=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}},Yc=he((e,t)=>{var r=typeof Reflect=="object"?Reflect:null,n=r&&typeof r.apply=="function"?r.apply:function(B,z,O){return Function.prototype.apply.call(B,z,O)},a;r&&typeof r.ownKeys=="function"?a=r.ownKeys:Object.getOwnPropertySymbols?a=function(B){return Object.getOwnPropertyNames(B).concat(Object.getOwnPropertySymbols(B))}:a=function(B){return Object.getOwnPropertyNames(B)};function i(S){console&&console.warn&&console.warn(S)}var l=Number.isNaN||function(B){return B!==B};function s(){s.init.call(this)}t.exports=s,t.exports.once=p,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function d(S){if(typeof S!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof S)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(S){if(typeof S!="number"||S<0||l(S))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+S+".");u=S}}),s.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(B){if(typeof B!="number"||B<0||l(B))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+B+".");return this._maxListeners=B,this};function y(S){return S._maxListeners===void 0?s.defaultMaxListeners:S._maxListeners}s.prototype.getMaxListeners=function(){return y(this)},s.prototype.emit=function(B){for(var z=[],O=1;O0&&(M=z[0]),M instanceof Error)throw M;var K=new Error("Unhandled error."+(M?" ("+M.message+")":""));throw K.context=M,K}var C=ee[B];if(C===void 0)return!1;if(typeof C=="function")n(C,this,z);else for(var P=C.length,X=R(C,P),O=0;O0&&M.length>G&&!M.warned){M.warned=!0;var K=new Error("Possible EventEmitter memory leak detected. "+M.length+" "+String(B)+" listeners added. Use emitter.setMaxListeners() to increase limit");K.name="MaxListenersExceededWarning",K.emitter=S,K.type=B,K.count=M.length,i(K)}return S}s.prototype.addListener=function(B,z){return g(this,B,z,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(B,z){return g(this,B,z,!0)};function v(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(S,B,z){var O={fired:!1,wrapFn:void 0,target:S,type:B,listener:z},G=v.bind(O);return G.listener=z,O.wrapFn=G,G}s.prototype.once=function(B,z){return d(z),this.on(B,h(this,B,z)),this},s.prototype.prependOnceListener=function(B,z){return d(z),this.prependListener(B,h(this,B,z)),this},s.prototype.removeListener=function(B,z){var O,G,ee,M,K;if(d(z),G=this._events,G===void 0)return this;if(O=G[B],O===void 0)return this;if(O===z||O.listener===z)--this._eventsCount===0?this._events=Object.create(null):(delete G[B],G.removeListener&&this.emit("removeListener",B,O.listener||z));else if(typeof O!="function"){for(ee=-1,M=O.length-1;M>=0;M--)if(O[M]===z||O[M].listener===z){K=O[M].listener,ee=M;break}if(ee<0)return this;ee===0?O.shift():m(O,ee),O.length===1&&(G[B]=O[0]),G.removeListener!==void 0&&this.emit("removeListener",B,K||z)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(B){var z,O=this._events,G;if(O===void 0)return this;if(O.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):O[B]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete O[B]),this;if(arguments.length===0){var ee=Object.keys(O),M;for(G=0;G=0;G--)this.removeListener(B,z[G]);return this};function _(S,B,z){var O=S._events;if(O===void 0)return[];var G=O[B];return G===void 0?[]:typeof G=="function"?z?[G.listener||G]:[G]:z?f(G):R(G,G.length)}s.prototype.listeners=function(B){return _(this,B,!0)},s.prototype.rawListeners=function(B){return _(this,B,!1)},s.listenerCount=function(S,B){return typeof S.listenerCount=="function"?S.listenerCount(B):E.call(S,B)},s.prototype.listenerCount=E;function E(S){var B=this._events;if(B!==void 0){var z=B[S];if(typeof z=="function")return 1;if(z!==void 0)return z.length}return 0}s.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]};function R(S,B){for(var z=new Array(B),O=0;O{typeof Object.create=="function"?t.exports=function(n,a){a&&(n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(n,a){if(a){n.super_=a;var i=function(){};i.prototype=a.prototype,n.prototype=new i,n.prototype.constructor=n}}}),yt,Fa=f0(()=>{yt=globalThis||self});function b1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Hu(){throw new Error("setTimeout has not been defined")}function Fu(){throw new Error("clearTimeout has not been defined")}function h0(e){if(er===setTimeout)return setTimeout(e,0);if((er===Hu||!er)&&setTimeout)return er=setTimeout,setTimeout(e,0);try{return er(e,0)}catch{try{return er.call(null,e,0)}catch{return er.call(this,e,0)}}}function w1(e){if(tr===clearTimeout)return clearTimeout(e);if((tr===Fu||!tr)&&clearTimeout)return tr=clearTimeout,clearTimeout(e);try{return tr(e)}catch{try{return tr.call(null,e)}catch{return tr.call(this,e)}}}function _1(){!On||!xn||(On=!1,xn.length?ir=xn.concat(ir):_i=-1,ir.length&&d0())}function d0(){if(!On){var e=h0(_1);On=!0;for(var t=ir.length;t;){for(xn=ir,ir=[];++_i{Co={exports:{}},Ve=Co.exports={},function(){try{typeof setTimeout=="function"?er=setTimeout:er=Hu}catch{er=Hu}try{typeof clearTimeout=="function"?tr=clearTimeout:tr=Fu}catch{tr=Fu}}(),ir=[],On=!1,_i=-1,Ve.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r{t.exports=Yc().EventEmitter}),x1=he(e=>{e.byteLength=u,e.toByteArray=y,e.fromByteArray=h;for(var t=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,l=a.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var R=_.indexOf("=");R===-1&&(R=E);var m=R===E?0:4-R%4;return[R,m]}function u(_){var E=s(_),R=E[0],m=E[1];return(R+m)*3/4-m}function d(_,E,R){return(E+R)*3/4-R}function y(_){var E,R=s(_),m=R[0],f=R[1],p=new n(d(_,m,f)),b=0,A=f>0?m-4:m,S;for(S=0;S>16&255,p[b++]=E>>8&255,p[b++]=E&255;return f===2&&(E=r[_.charCodeAt(S)]<<2|r[_.charCodeAt(S+1)]>>4,p[b++]=E&255),f===1&&(E=r[_.charCodeAt(S)]<<10|r[_.charCodeAt(S+1)]<<4|r[_.charCodeAt(S+2)]>>2,p[b++]=E>>8&255,p[b++]=E&255),p}function g(_){return t[_>>18&63]+t[_>>12&63]+t[_>>6&63]+t[_&63]}function v(_,E,R){for(var m,f=[],p=E;pA?A:b+p));return m===1?(E=_[R-1],f.push(t[E>>2]+t[E<<4&63]+"==")):m===2&&(E=(_[R-2]<<8)+_[R-1],f.push(t[E>>10]+t[E>>4&63]+t[E<<2&63]+"=")),f.join("")}}),S1=he(e=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */e.read=function(t,r,n,a,i){var l,s,u=i*8-a-1,d=(1<>1,g=-7,v=n?i-1:0,h=n?-1:1,_=t[r+v];for(v+=h,l=_&(1<<-g)-1,_>>=-g,g+=u;g>0;l=l*256+t[r+v],v+=h,g-=8);for(s=l&(1<<-g)-1,l>>=-g,g+=a;g>0;s=s*256+t[r+v],v+=h,g-=8);if(l===0)l=1-y;else{if(l===d)return s?NaN:(_?-1:1)*(1/0);s=s+Math.pow(2,a),l=l-y}return(_?-1:1)*s*Math.pow(2,l-a)},e.write=function(t,r,n,a,i,l){var s,u,d,y=l*8-i-1,g=(1<>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=a?0:l-1,E=a?1:-1,R=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,s=g):(s=Math.floor(Math.log(r)/Math.LN2),r*(d=Math.pow(2,-s))<1&&(s--,d*=2),s+v>=1?r+=h/d:r+=h*Math.pow(2,1-v),r*d>=2&&(s++,d/=2),s+v>=g?(u=0,s=g):s+v>=1?(u=(r*d-1)*Math.pow(2,i),s=s+v):(u=r*Math.pow(2,v-1)*Math.pow(2,i),s=0));i>=8;t[n+_]=u&255,_+=E,u/=256,i-=8);for(s=s<0;t[n+_]=s&255,_+=E,s/=256,y-=8);t[n+_-E]|=R*128}});/*! -* The buffer module from node.js, for the browser. -* -* @author Feross Aboukhadijeh -* @license MIT -*/var Hs=he(e=>{var t=x1(),r=S1(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=f,e.INSPECT_MAX_BYTES=50;var a=2147483647;e.kMaxLength=a,s.TYPED_ARRAY_SUPPORT=i(),!s.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 i(){try{var k=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(k,o),k.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function l(k){if(k>a)throw new RangeError('The value "'+k+'" is invalid for option "size"');var o=new Uint8Array(k);return Object.setPrototypeOf(o,s.prototype),o}function s(k,o,c){if(typeof k=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(k)}return u(k,o,c)}s.poolSize=8192;function u(k,o,c){if(typeof k=="string")return v(k,o);if(ArrayBuffer.isView(k))return _(k);if(k==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k);if(L(k,ArrayBuffer)||k&&L(k.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(L(k,SharedArrayBuffer)||k&&L(k.buffer,SharedArrayBuffer)))return E(k,o,c);if(typeof k=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var T=k.valueOf&&k.valueOf();if(T!=null&&T!==k)return s.from(T,o,c);var H=R(k);if(H)return H;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof k[Symbol.toPrimitive]=="function")return s.from(k[Symbol.toPrimitive]("string"),o,c);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k)}s.from=function(k,o,c){return u(k,o,c)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function d(k){if(typeof k!="number")throw new TypeError('"size" argument must be of type number');if(k<0)throw new RangeError('The value "'+k+'" is invalid for option "size"')}function y(k,o,c){return d(k),k<=0?l(k):o!==void 0?typeof c=="string"?l(k).fill(o,c):l(k).fill(o):l(k)}s.alloc=function(k,o,c){return y(k,o,c)};function g(k){return d(k),l(k<0?0:m(k)|0)}s.allocUnsafe=function(k){return g(k)},s.allocUnsafeSlow=function(k){return g(k)};function v(k,o){if((typeof o!="string"||o==="")&&(o="utf8"),!s.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var c=p(k,o)|0,T=l(c),H=T.write(k,o);return H!==c&&(T=T.slice(0,H)),T}function h(k){for(var o=k.length<0?0:m(k.length)|0,c=l(o),T=0;T=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return k|0}function f(k){return+k!=k&&(k=0),s.alloc(+k)}s.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==s.prototype},s.compare=function(o,c){if(L(o,Uint8Array)&&(o=s.from(o,o.offset,o.byteLength)),L(c,Uint8Array)&&(c=s.from(c,c.offset,c.byteLength)),!s.isBuffer(o)||!s.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===c)return 0;for(var T=o.length,H=c.length,W=0,q=Math.min(T,H);WH.length?s.from(q).copy(H,W):Uint8Array.prototype.set.call(H,q,W);else if(s.isBuffer(q))q.copy(H,W);else throw new TypeError('"list" argument must be an Array of Buffers');W+=q.length}return H};function p(k,o){if(s.isBuffer(k))return k.length;if(ArrayBuffer.isView(k)||L(k,ArrayBuffer))return k.byteLength;if(typeof k!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof k);var c=k.length,T=arguments.length>2&&arguments[2]===!0;if(!T&&c===0)return 0;for(var H=!1;;)switch(o){case"ascii":case"latin1":case"binary":return c;case"utf8":case"utf-8":return x(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c*2;case"hex":return c>>>1;case"base64":return ne(k).length;default:if(H)return T?-1:x(k).length;o=(""+o).toLowerCase(),H=!0}}s.byteLength=p;function b(k,o,c){var T=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((c===void 0||c>this.length)&&(c=this.length),c<=0)||(c>>>=0,o>>>=0,c<=o))return"";for(k||(k="utf8");;)switch(k){case"hex":return Q(this,o,c);case"utf8":case"utf-8":return C(this,o,c);case"ascii":return V(this,o,c);case"latin1":case"binary":return re(this,o,c);case"base64":return K(this,o,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,o,c);default:if(T)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),T=!0}}s.prototype._isBuffer=!0;function A(k,o,c){var T=k[o];k[o]=k[c],k[c]=T}s.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var c=0;cc&&(o+=" ... "),""},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(o,c,T,H,W){if(L(o,Uint8Array)&&(o=s.from(o,o.offset,o.byteLength)),!s.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(c===void 0&&(c=0),T===void 0&&(T=o?o.length:0),H===void 0&&(H=0),W===void 0&&(W=this.length),c<0||T>o.length||H<0||W>this.length)throw new RangeError("out of range index");if(H>=W&&c>=T)return 0;if(H>=W)return-1;if(c>=T)return 1;if(c>>>=0,T>>>=0,H>>>=0,W>>>=0,this===o)return 0;for(var q=W-H,ae=T-c,ce=Math.min(q,ae),ie=this.slice(H,W),pe=o.slice(c,T),me=0;me2147483647?c=2147483647:c<-2147483648&&(c=-2147483648),c=+c,w(c)&&(c=H?0:k.length-1),c<0&&(c=k.length+c),c>=k.length){if(H)return-1;c=k.length-1}else if(c<0)if(H)c=0;else return-1;if(typeof o=="string"&&(o=s.from(o,T)),s.isBuffer(o))return o.length===0?-1:B(k,o,c,T,H);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?H?Uint8Array.prototype.indexOf.call(k,o,c):Uint8Array.prototype.lastIndexOf.call(k,o,c):B(k,[o],c,T,H);throw new TypeError("val must be string, number or Buffer")}function B(k,o,c,T,H){var W=1,q=k.length,ae=o.length;if(T!==void 0&&(T=String(T).toLowerCase(),T==="ucs2"||T==="ucs-2"||T==="utf16le"||T==="utf-16le")){if(k.length<2||o.length<2)return-1;W=2,q/=2,ae/=2,c/=2}function ce(rt,Mr){return W===1?rt[Mr]:rt.readUInt16BE(Mr*W)}var ie;if(H){var pe=-1;for(ie=c;ieq&&(c=q-ae),ie=c;ie>=0;ie--){for(var me=!0,ve=0;veH&&(T=H)):T=H;var W=o.length;T>W/2&&(T=W/2);for(var q=0;q>>0,isFinite(T)?(T=T>>>0,H===void 0&&(H="utf8")):(H=T,T=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var W=this.length-c;if((T===void 0||T>W)&&(T=W),o.length>0&&(T<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");H||(H="utf8");for(var q=!1;;)switch(H){case"hex":return z(this,o,c,T);case"utf8":case"utf-8":return O(this,o,c,T);case"ascii":case"latin1":case"binary":return G(this,o,c,T);case"base64":return ee(this,o,c,T);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,o,c,T);default:if(q)throw new TypeError("Unknown encoding: "+H);H=(""+H).toLowerCase(),q=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function K(k,o,c){return o===0&&c===k.length?t.fromByteArray(k):t.fromByteArray(k.slice(o,c))}function C(k,o,c){c=Math.min(k.length,c);for(var T=[],H=o;H239?4:W>223?3:W>191?2:1;if(H+ae<=c){var ce,ie,pe,me;switch(ae){case 1:W<128&&(q=W);break;case 2:ce=k[H+1],(ce&192)===128&&(me=(W&31)<<6|ce&63,me>127&&(q=me));break;case 3:ce=k[H+1],ie=k[H+2],(ce&192)===128&&(ie&192)===128&&(me=(W&15)<<12|(ce&63)<<6|ie&63,me>2047&&(me<55296||me>57343)&&(q=me));break;case 4:ce=k[H+1],ie=k[H+2],pe=k[H+3],(ce&192)===128&&(ie&192)===128&&(pe&192)===128&&(me=(W&15)<<18|(ce&63)<<12|(ie&63)<<6|pe&63,me>65535&&me<1114112&&(q=me))}}q===null?(q=65533,ae=1):q>65535&&(q-=65536,T.push(q>>>10&1023|55296),q=56320|q&1023),T.push(q),H+=ae}return X(T)}var P=4096;function X(k){var o=k.length;if(o<=P)return String.fromCharCode.apply(String,k);for(var c="",T=0;TT)&&(c=T);for(var H="",W=o;WT&&(o=T),c<0?(c+=T,c<0&&(c=0)):c>T&&(c=T),cc)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(o,c,T){o=o>>>0,c=c>>>0,T||Z(o,c,this.length);for(var H=this[o],W=1,q=0;++q>>0,c=c>>>0,T||Z(o,c,this.length);for(var H=this[o+--c],W=1;c>0&&(W*=256);)H+=this[o+--c]*W;return H},s.prototype.readUint8=s.prototype.readUInt8=function(o,c){return o=o>>>0,c||Z(o,1,this.length),this[o]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(o,c){return o=o>>>0,c||Z(o,2,this.length),this[o]|this[o+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(o,c){return o=o>>>0,c||Z(o,2,this.length),this[o]<<8|this[o+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(o,c){return o=o>>>0,c||Z(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(o,c){return o=o>>>0,c||Z(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])},s.prototype.readIntLE=function(o,c,T){o=o>>>0,c=c>>>0,T||Z(o,c,this.length);for(var H=this[o],W=1,q=0;++q=W&&(H-=Math.pow(2,8*c)),H},s.prototype.readIntBE=function(o,c,T){o=o>>>0,c=c>>>0,T||Z(o,c,this.length);for(var H=c,W=1,q=this[o+--H];H>0&&(W*=256);)q+=this[o+--H]*W;return W*=128,q>=W&&(q-=Math.pow(2,8*c)),q},s.prototype.readInt8=function(o,c){return o=o>>>0,c||Z(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]},s.prototype.readInt16LE=function(o,c){o=o>>>0,c||Z(o,2,this.length);var T=this[o]|this[o+1]<<8;return T&32768?T|4294901760:T},s.prototype.readInt16BE=function(o,c){o=o>>>0,c||Z(o,2,this.length);var T=this[o+1]|this[o]<<8;return T&32768?T|4294901760:T},s.prototype.readInt32LE=function(o,c){return o=o>>>0,c||Z(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24},s.prototype.readInt32BE=function(o,c){return o=o>>>0,c||Z(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]},s.prototype.readFloatLE=function(o,c){return o=o>>>0,c||Z(o,4,this.length),r.read(this,o,!0,23,4)},s.prototype.readFloatBE=function(o,c){return o=o>>>0,c||Z(o,4,this.length),r.read(this,o,!1,23,4)},s.prototype.readDoubleLE=function(o,c){return o=o>>>0,c||Z(o,8,this.length),r.read(this,o,!0,52,8)},s.prototype.readDoubleBE=function(o,c){return o=o>>>0,c||Z(o,8,this.length),r.read(this,o,!1,52,8)};function D(k,o,c,T,H,W){if(!s.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>H||ok.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(o,c,T,H){if(o=+o,c=c>>>0,T=T>>>0,!H){var W=Math.pow(2,8*T)-1;D(this,o,c,T,W,0)}var q=1,ae=0;for(this[c]=o&255;++ae>>0,T=T>>>0,!H){var W=Math.pow(2,8*T)-1;D(this,o,c,T,W,0)}var q=T-1,ae=1;for(this[c+q]=o&255;--q>=0&&(ae*=256);)this[c+q]=o/ae&255;return c+T},s.prototype.writeUint8=s.prototype.writeUInt8=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,1,255,0),this[c]=o&255,c+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,2,65535,0),this[c]=o&255,this[c+1]=o>>>8,c+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,2,65535,0),this[c]=o>>>8,this[c+1]=o&255,c+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,4,4294967295,0),this[c+3]=o>>>24,this[c+2]=o>>>16,this[c+1]=o>>>8,this[c]=o&255,c+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,4,4294967295,0),this[c]=o>>>24,this[c+1]=o>>>16,this[c+2]=o>>>8,this[c+3]=o&255,c+4},s.prototype.writeIntLE=function(o,c,T,H){if(o=+o,c=c>>>0,!H){var W=Math.pow(2,8*T-1);D(this,o,c,T,W-1,-W)}var q=0,ae=1,ce=0;for(this[c]=o&255;++q>0)-ce&255;return c+T},s.prototype.writeIntBE=function(o,c,T,H){if(o=+o,c=c>>>0,!H){var W=Math.pow(2,8*T-1);D(this,o,c,T,W-1,-W)}var q=T-1,ae=1,ce=0;for(this[c+q]=o&255;--q>=0&&(ae*=256);)o<0&&ce===0&&this[c+q+1]!==0&&(ce=1),this[c+q]=(o/ae>>0)-ce&255;return c+T},s.prototype.writeInt8=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,1,127,-128),o<0&&(o=255+o+1),this[c]=o&255,c+1},s.prototype.writeInt16LE=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,2,32767,-32768),this[c]=o&255,this[c+1]=o>>>8,c+2},s.prototype.writeInt16BE=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,2,32767,-32768),this[c]=o>>>8,this[c+1]=o&255,c+2},s.prototype.writeInt32LE=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,4,2147483647,-2147483648),this[c]=o&255,this[c+1]=o>>>8,this[c+2]=o>>>16,this[c+3]=o>>>24,c+4},s.prototype.writeInt32BE=function(o,c,T){return o=+o,c=c>>>0,T||D(this,o,c,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[c]=o>>>24,this[c+1]=o>>>16,this[c+2]=o>>>8,this[c+3]=o&255,c+4};function I(k,o,c,T,H,W){if(c+T>k.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("Index out of range")}function Y(k,o,c,T,H){return o=+o,c=c>>>0,H||I(k,o,c,4),r.write(k,o,c,T,23,4),c+4}s.prototype.writeFloatLE=function(o,c,T){return Y(this,o,c,!0,T)},s.prototype.writeFloatBE=function(o,c,T){return Y(this,o,c,!1,T)};function $(k,o,c,T,H){return o=+o,c=c>>>0,H||I(k,o,c,8),r.write(k,o,c,T,52,8),c+8}s.prototype.writeDoubleLE=function(o,c,T){return $(this,o,c,!0,T)},s.prototype.writeDoubleBE=function(o,c,T){return $(this,o,c,!1,T)},s.prototype.copy=function(o,c,T,H){if(!s.isBuffer(o))throw new TypeError("argument should be a Buffer");if(T||(T=0),!H&&H!==0&&(H=this.length),c>=o.length&&(c=o.length),c||(c=0),H>0&&H=this.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("sourceEnd out of bounds");H>this.length&&(H=this.length),o.length-c>>0,T=T===void 0?this.length:T>>>0,o||(o=0);var q;if(typeof o=="number")for(q=c;q55295&&c<57344){if(!H){if(c>56319){(o-=3)>-1&&W.push(239,191,189);continue}else if(q+1===T){(o-=3)>-1&&W.push(239,191,189);continue}H=c;continue}if(c<56320){(o-=3)>-1&&W.push(239,191,189),H=c;continue}c=(H-55296<<10|c-56320)+65536}else H&&(o-=3)>-1&&W.push(239,191,189);if(H=null,c<128){if((o-=1)<0)break;W.push(c)}else if(c<2048){if((o-=2)<0)break;W.push(c>>6|192,c&63|128)}else if(c<65536){if((o-=3)<0)break;W.push(c>>12|224,c>>6&63|128,c&63|128)}else if(c<1114112){if((o-=4)<0)break;W.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw new Error("Invalid code point")}return W}function F(k){for(var o=[],c=0;c>8,H=c%256,W.push(H),W.push(T);return W}function ne(k){return t.toByteArray(N(k))}function U(k,o,c,T){for(var H=0;H=o.length||H>=k.length);++H)o[H+c]=k[H];return H}function L(k,o){return k instanceof o||k!=null&&k.constructor!=null&&k.constructor.name!=null&&k.constructor.name===o.name}function w(k){return k!==k}var J=function(){for(var k="0123456789abcdef",o=new Array(256),c=0;c<16;++c)for(var T=c*16,H=0;H<16;++H)o[T+H]=k[c]+k[H];return o}()}),m0=he((e,t)=>{t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),i=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var l=42;n[a]=l;for(var s in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(n,a);if(d.value!==l||d.enumerable!==!0)return!1}return!0}}),Xc=he((e,t)=>{var r=m0();t.exports=function(){return r()&&!!Symbol.toStringTag}}),y0=he((e,t)=>{t.exports=Object}),E1=he((e,t)=>{t.exports=Error}),T1=he((e,t)=>{t.exports=EvalError}),A1=he((e,t)=>{t.exports=RangeError}),N1=he((e,t)=>{t.exports=ReferenceError}),v0=he((e,t)=>{t.exports=SyntaxError}),Fs=he((e,t)=>{t.exports=TypeError}),O1=he((e,t)=>{t.exports=URIError}),R1=he((e,t)=>{t.exports=Math.abs}),C1=he((e,t)=>{t.exports=Math.floor}),D1=he((e,t)=>{t.exports=Math.max}),k1=he((e,t)=>{t.exports=Math.min}),B1=he((e,t)=>{t.exports=Math.pow}),M1=he((e,t)=>{t.exports=Math.round}),z1=he((e,t)=>{t.exports=Number.isNaN||function(n){return n!==n}}),U1=he((e,t)=>{var r=z1();t.exports=function(a){return r(a)||a===0?a:a<0?-1:1}}),L1=he((e,t)=>{t.exports=Object.getOwnPropertyDescriptor}),Ji=he((e,t)=>{var r=L1();if(r)try{r([],"length")}catch{r=null}t.exports=r}),Is=he((e,t)=>{var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}),j1=he((e,t)=>{var r=typeof Symbol<"u"&&Symbol,n=m0();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}),g0=he((e,t)=>{t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),b0=he((e,t)=>{t.exports=y0().getPrototypeOf||null}),H1=he((e,t)=>{var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,a=Math.max,i="[object Function]",l=function(y,g){for(var v=[],h=0;h{var r=H1();t.exports=Function.prototype.bind||r}),Pc=he((e,t)=>{t.exports=Function.prototype.call}),Zc=he((e,t)=>{t.exports=Function.prototype.apply}),F1=he((e,t)=>{t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),w0=he((e,t)=>{var r=$i(),n=Zc(),a=Pc();t.exports=F1()||r.call(a,n)}),Wc=he((e,t)=>{var r=$i(),n=Fs(),a=Pc(),i=w0();t.exports=function(s){if(s.length<1||typeof s[0]!="function")throw new n("a function is required");return i(r,a,s)}}),I1=he((e,t)=>{var r=Wc(),n=Ji(),a;try{a=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var i=!!a&&n&&n(Object.prototype,"__proto__"),l=Object,s=l.getPrototypeOf;t.exports=i&&typeof i.get=="function"?r([i.get]):typeof s=="function"?function(d){return s(d==null?d:l(d))}:!1}),_0=he((e,t)=>{var r=g0(),n=b0(),a=I1();t.exports=r?function(l){return r(l)}:n?function(l){if(!l||typeof l!="object"&&typeof l!="function")throw new TypeError("getProto: not an object");return n(l)}:a?function(l){return a(l)}:null}),q1=he((e,t)=>{var r=Function.prototype.call,n=Object.prototype.hasOwnProperty;t.exports=$i().call(r,n)}),x0=he((e,t)=>{var r,n=y0(),a=E1(),i=T1(),l=A1(),s=N1(),u=v0(),d=Fs(),y=O1(),g=R1(),v=C1(),h=D1(),_=k1(),E=B1(),R=M1(),m=U1(),f=Function,p=function(j){try{return f('"use strict"; return ('+j+").constructor;")()}catch{}},b=Ji(),A=Is(),S=function(){throw new d},B=b?function(){try{return arguments.callee,S}catch{try{return b(arguments,"callee").get}catch{return S}}}():S,z=j1()(),O=_0(),G=b0(),ee=g0(),M=Zc(),K=Pc(),C={},P=typeof Uint8Array>"u"||!O?r:O(Uint8Array),X={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":z&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":C,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":z&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!z||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":l,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!z||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z&&O?O(""[Symbol.iterator]()):r,"%Symbol%":z?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":B,"%TypedArray%":P,"%TypeError%":d,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":K,"%Function.prototype.apply%":M,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":G,"%Math.abs%":g,"%Math.floor%":v,"%Math.max%":h,"%Math.min%":_,"%Math.pow%":E,"%Math.round%":R,"%Math.sign%":m,"%Reflect.getPrototypeOf%":ee};if(O)try{null.error}catch(j){X["%Error.prototype%"]=O(O(j))}var V=function j(ne){var U;if(ne==="%AsyncFunction%")U=p("async function () {}");else if(ne==="%GeneratorFunction%")U=p("function* () {}");else if(ne==="%AsyncGeneratorFunction%")U=p("async function* () {}");else if(ne==="%AsyncGenerator%"){var L=j("%AsyncGeneratorFunction%");L&&(U=L.prototype)}else if(ne==="%AsyncIteratorPrototype%"){var w=j("%AsyncGenerator%");w&&O&&(U=O(w.prototype))}return X[ne]=U,U},re={__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"]},Q=$i(),te=q1(),Z=Q.call(K,Array.prototype.concat),D=Q.call(M,Array.prototype.splice),I=Q.call(K,String.prototype.replace),Y=Q.call(K,String.prototype.slice),$=Q.call(K,RegExp.prototype.exec),ue=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,x=function(ne){var U=Y(ne,0,1),L=Y(ne,-1);if(U==="%"&&L!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(L==="%"&&U!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var w=[];return I(ne,ue,function(J,k,o,c){w[w.length]=o?I(c,N,"$1"):k||J}),w},F=function(ne,U){var L=ne,w;if(te(re,L)&&(w=re[L],L="%"+w[0]+"%"),te(X,L)){var J=X[L];if(J===C&&(J=V(L)),typeof J>"u"&&!U)throw new d("intrinsic "+ne+" exists, but is not available. Please file an issue!");return{alias:w,name:L,value:J}}throw new u("intrinsic "+ne+" does not exist!")};t.exports=function(ne,U){if(typeof ne!="string"||ne.length===0)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof U!="boolean")throw new d('"allowMissing" argument must be a boolean');if($(/^%?[^%]*%?$/,ne)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var L=x(ne),w=L.length>0?L[0]:"",J=F("%"+w+"%",U),k=J.name,o=J.value,c=!1,T=J.alias;T&&(w=T[0],D(L,Z([0,1],T)));for(var H=1,W=!0;H=L.length){var ie=b(o,q);W=!!ie,W&&"get"in ie&&!("originalValue"in ie.get)?o=ie.get:o=o[q]}else W=te(o,q),o=o[q];W&&!c&&(X[k]=o)}}return o}}),S0=he((e,t)=>{var r=x0(),n=Wc(),a=n([r("%String.prototype.indexOf%")]);t.exports=function(l,s){var u=r(l,!!s);return typeof u=="function"&&a(l,".prototype.")>-1?n([u]):u}}),G1=he((e,t)=>{var r=Xc()(),n=S0()("Object.prototype.toString"),a=function(u){return r&&u&&typeof u=="object"&&Symbol.toStringTag in u?!1:n(u)==="[object Arguments]"},i=function(u){return a(u)?!0:u!==null&&typeof u=="object"&&"length"in u&&typeof u.length=="number"&&u.length>=0&&n(u)!=="[object Array]"&&"callee"in u&&n(u.callee)==="[object Function]"},l=function(){return a(arguments)}();a.isLegacyArguments=i,t.exports=l?a:i}),V1=he((e,t)=>{var r=Object.prototype.toString,n=Function.prototype.toString,a=/^\s*(?:function)?\*/,i=Xc()(),l=Object.getPrototypeOf,s=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch{}},u;t.exports=function(y){if(typeof y!="function")return!1;if(a.test(n.call(y)))return!0;if(!i)return r.call(y)==="[object GeneratorFunction]";if(!l)return!1;if(typeof u>"u"){var g=s();u=g?l(g):!1}return l(y)===u}}),K1=he((e,t)=>{var r=Function.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,a,i;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{a=Object.defineProperty({},"length",{get:function(){throw i}}),i={},n(function(){throw 42},null,a)}catch(b){b!==i&&(n=null)}else n=null;var l=/^\s*class\b/,s=function(A){try{var S=r.call(A);return l.test(S)}catch{return!1}},u=function(A){try{return s(A)?!1:(r.call(A),!0)}catch{return!1}},d=Object.prototype.toString,y="[object Object]",g="[object Function]",v="[object GeneratorFunction]",h="[object HTMLAllCollection]",_="[object HTML document.all class]",E="[object HTMLCollection]",R=typeof Symbol=="function"&&!!Symbol.toStringTag,m=!(0 in[,]),f=function(){return!1};if(typeof document=="object"){var p=document.all;d.call(p)===d.call(document.all)&&(f=function(A){if((m||!A)&&(typeof A>"u"||typeof A=="object"))try{var S=d.call(A);return(S===h||S===_||S===E||S===y)&&A("")==null}catch{}return!1})}t.exports=n?function(A){if(f(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;try{n(A,null,a)}catch(S){if(S!==i)return!1}return!s(A)&&u(A)}:function(A){if(f(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;if(R)return u(A);if(s(A))return!1;var S=d.call(A);return S!==g&&S!==v&&!/^\[object HTML/.test(S)?!1:u(A)}}),Y1=he((e,t)=>{var r=K1(),n=Object.prototype.toString,a=Object.prototype.hasOwnProperty,i=function(y,g,v){for(var h=0,_=y.length;h<_;h++)a.call(y,h)&&(v==null?g(y[h],h,y):g.call(v,y[h],h,y))},l=function(y,g,v){for(var h=0,_=y.length;h<_;h++)v==null?g(y.charAt(h),h,y):g.call(v,y.charAt(h),h,y)},s=function(y,g,v){for(var h in y)a.call(y,h)&&(v==null?g(y[h],h,y):g.call(v,y[h],h,y))};function u(d){return n.call(d)==="[object Array]"}t.exports=function(y,g,v){if(!r(g))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=v),u(y)?i(y,g,h):typeof y=="string"?l(y,g,h):s(y,g,h)}}),X1=he((e,t)=>{t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),P1=he((e,t)=>{Fa();var r=X1(),n=typeof globalThis>"u"?yt:globalThis;t.exports=function(){for(var i=[],l=0;l{var r=Is(),n=v0(),a=Fs(),i=Ji();t.exports=function(s,u,d){if(!s||typeof s!="object"&&typeof s!="function")throw new a("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new a("`loose`, if provided, must be a boolean");var y=arguments.length>3?arguments[3]:null,g=arguments.length>4?arguments[4]:null,v=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,_=!!i&&i(s,u);if(r)r(s,u,{configurable:v===null&&_?_.configurable:!v,enumerable:y===null&&_?_.enumerable:!y,value:d,writable:g===null&&_?_.writable:!g});else if(h||!y&&!g&&!v)s[u]=d;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),W1=he((e,t)=>{var r=Is(),n=function(){return!!r};n.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},t.exports=n}),Q1=he((e,t)=>{var r=x0(),n=Z1(),a=W1()(),i=Ji(),l=Fs(),s=r("%Math.floor%");t.exports=function(d,y){if(typeof d!="function")throw new l("`fn` is not a function");if(typeof y!="number"||y<0||y>4294967295||s(y)!==y)throw new l("`length` must be a positive 32-bit integer");var g=arguments.length>2&&!!arguments[2],v=!0,h=!0;if("length"in d&&i){var _=i(d,"length");_&&!_.configurable&&(v=!1),_&&!_.writable&&(h=!1)}return(v||h||!g)&&(a?n(d,"length",y,!0,!0):n(d,"length",y)),d}}),J1=he((e,t)=>{var r=$i(),n=Zc(),a=w0();t.exports=function(){return a(r,n,arguments)}}),$1=he((e,t)=>{var r=Q1(),n=Is(),a=Wc(),i=J1();t.exports=function(s){var u=a(arguments),d=s.length-(arguments.length-1);return r(u,1+(d>0?d:0),!0)},n?n(t.exports,"apply",{value:i}):t.exports.apply=i}),E0=he((e,t)=>{Fa();var r=Y1(),n=P1(),a=$1(),i=S0(),l=Ji(),s=_0(),u=i("Object.prototype.toString"),d=Xc()(),y=typeof globalThis>"u"?yt:globalThis,g=n(),v=i("String.prototype.slice"),h=i("Array.prototype.indexOf",!0)||function(f,p){for(var b=0;b-1?p:p!=="Object"?!1:R(f)}return l?E(f):null}}),eb=he((e,t)=>{var r=E0();t.exports=function(a){return!!r(a)}}),tb=he(e=>{var t=G1(),r=V1(),n=E0(),a=eb();function i(T){return T.call.bind(T)}var l=typeof BigInt<"u",s=typeof Symbol<"u",u=i(Object.prototype.toString),d=i(Number.prototype.valueOf),y=i(String.prototype.valueOf),g=i(Boolean.prototype.valueOf);if(l)var v=i(BigInt.prototype.valueOf);if(s)var h=i(Symbol.prototype.valueOf);function _(T,H){if(typeof T!="object")return!1;try{return H(T),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=a;function E(T){return typeof Promise<"u"&&T instanceof Promise||T!==null&&typeof T=="object"&&typeof T.then=="function"&&typeof T.catch=="function"}e.isPromise=E;function R(T){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(T):a(T)||I(T)}e.isArrayBufferView=R;function m(T){return n(T)==="Uint8Array"}e.isUint8Array=m;function f(T){return n(T)==="Uint8ClampedArray"}e.isUint8ClampedArray=f;function p(T){return n(T)==="Uint16Array"}e.isUint16Array=p;function b(T){return n(T)==="Uint32Array"}e.isUint32Array=b;function A(T){return n(T)==="Int8Array"}e.isInt8Array=A;function S(T){return n(T)==="Int16Array"}e.isInt16Array=S;function B(T){return n(T)==="Int32Array"}e.isInt32Array=B;function z(T){return n(T)==="Float32Array"}e.isFloat32Array=z;function O(T){return n(T)==="Float64Array"}e.isFloat64Array=O;function G(T){return n(T)==="BigInt64Array"}e.isBigInt64Array=G;function ee(T){return n(T)==="BigUint64Array"}e.isBigUint64Array=ee;function M(T){return u(T)==="[object Map]"}M.working=typeof Map<"u"&&M(new Map);function K(T){return typeof Map>"u"?!1:M.working?M(T):T instanceof Map}e.isMap=K;function C(T){return u(T)==="[object Set]"}C.working=typeof Set<"u"&&C(new Set);function P(T){return typeof Set>"u"?!1:C.working?C(T):T instanceof Set}e.isSet=P;function X(T){return u(T)==="[object WeakMap]"}X.working=typeof WeakMap<"u"&&X(new WeakMap);function V(T){return typeof WeakMap>"u"?!1:X.working?X(T):T instanceof WeakMap}e.isWeakMap=V;function re(T){return u(T)==="[object WeakSet]"}re.working=typeof WeakSet<"u"&&re(new WeakSet);function Q(T){return re(T)}e.isWeakSet=Q;function te(T){return u(T)==="[object ArrayBuffer]"}te.working=typeof ArrayBuffer<"u"&&te(new ArrayBuffer);function Z(T){return typeof ArrayBuffer>"u"?!1:te.working?te(T):T instanceof ArrayBuffer}e.isArrayBuffer=Z;function D(T){return u(T)==="[object DataView]"}D.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&D(new DataView(new ArrayBuffer(1),0,1));function I(T){return typeof DataView>"u"?!1:D.working?D(T):T instanceof DataView}e.isDataView=I;var Y=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function $(T){return u(T)==="[object SharedArrayBuffer]"}function ue(T){return typeof Y>"u"?!1:(typeof $.working>"u"&&($.working=$(new Y)),$.working?$(T):T instanceof Y)}e.isSharedArrayBuffer=ue;function N(T){return u(T)==="[object AsyncFunction]"}e.isAsyncFunction=N;function x(T){return u(T)==="[object Map Iterator]"}e.isMapIterator=x;function F(T){return u(T)==="[object Set Iterator]"}e.isSetIterator=F;function j(T){return u(T)==="[object Generator]"}e.isGeneratorObject=j;function ne(T){return u(T)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=ne;function U(T){return _(T,d)}e.isNumberObject=U;function L(T){return _(T,y)}e.isStringObject=L;function w(T){return _(T,g)}e.isBooleanObject=w;function J(T){return l&&_(T,v)}e.isBigIntObject=J;function k(T){return s&&_(T,h)}e.isSymbolObject=k;function o(T){return U(T)||L(T)||w(T)||J(T)||k(T)}e.isBoxedPrimitive=o;function c(T){return typeof Uint8Array<"u"&&(Z(T)||ue(T))}e.isAnyArrayBuffer=c,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(T){Object.defineProperty(e,T,{enumerable:!1,value:function(){throw new Error(T+" is not supported in userland")}})})}),rb=he((e,t)=>{t.exports=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"}}),T0=he(e=>{hn();var t=Object.getOwnPropertyDescriptors||function(I){for(var Y=Object.keys(I),$={},ue=0;ue=ue)return F;switch(F){case"%s":return String($[Y++]);case"%d":return Number($[Y++]);case"%j":try{return JSON.stringify($[Y++])}catch{return"[Circular]"}default:return F}}),x=$[Y];Y"u")return function(){return e.deprecate(D,I).apply(this,arguments)};var Y=!1;function $(){if(!Y){if(xe.throwDeprecation)throw new Error(I);xe.traceDeprecation?console.trace(I):console.error(I),Y=!0}return D.apply(this,arguments)}return $};var n={},a=/^$/;if(xe.env.NODE_DEBUG){var i=xe.env.NODE_DEBUG;i=i.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+i+"$","i")}e.debuglog=function(D){if(D=D.toUpperCase(),!n[D])if(a.test(D)){var I=xe.pid;n[D]=function(){var Y=e.format.apply(e,arguments);console.error("%s %d: %s",D,I,Y)}}else n[D]=function(){};return n[D]};function l(D,I){var Y={seen:[],stylize:u};return arguments.length>=3&&(Y.depth=arguments[2]),arguments.length>=4&&(Y.colors=arguments[3]),m(I)?Y.showHidden=I:I&&e._extend(Y,I),B(Y.showHidden)&&(Y.showHidden=!1),B(Y.depth)&&(Y.depth=2),B(Y.colors)&&(Y.colors=!1),B(Y.customInspect)&&(Y.customInspect=!0),Y.colors&&(Y.stylize=s),y(Y,D,Y.depth)}e.inspect=l,l.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]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(D,I){var Y=l.styles[I];return Y?"\x1B["+l.colors[Y][0]+"m"+D+"\x1B["+l.colors[Y][1]+"m":D}function u(D,I){return D}function d(D){var I={};return D.forEach(function(Y,$){I[Y]=!0}),I}function y(D,I,Y){if(D.customInspect&&I&&M(I.inspect)&&I.inspect!==e.inspect&&!(I.constructor&&I.constructor.prototype===I)){var $=I.inspect(Y,D);return A($)||($=y(D,$,Y)),$}var ue=g(D,I);if(ue)return ue;var N=Object.keys(I),x=d(N);if(D.showHidden&&(N=Object.getOwnPropertyNames(I)),ee(I)&&(N.indexOf("message")>=0||N.indexOf("description")>=0))return v(I);if(N.length===0){if(M(I)){var F=I.name?": "+I.name:"";return D.stylize("[Function"+F+"]","special")}if(z(I))return D.stylize(RegExp.prototype.toString.call(I),"regexp");if(G(I))return D.stylize(Date.prototype.toString.call(I),"date");if(ee(I))return v(I)}var j="",ne=!1,U=["{","}"];if(R(I)&&(ne=!0,U=["[","]"]),M(I)&&(j=" [Function"+(I.name?": "+I.name:"")+"]"),z(I)&&(j=" "+RegExp.prototype.toString.call(I)),G(I)&&(j=" "+Date.prototype.toUTCString.call(I)),ee(I)&&(j=" "+v(I)),N.length===0&&(!ne||I.length==0))return U[0]+j+U[1];if(Y<0)return z(I)?D.stylize(RegExp.prototype.toString.call(I),"regexp"):D.stylize("[Object]","special");D.seen.push(I);var L;return ne?L=h(D,I,Y,x,N):L=N.map(function(w){return _(D,I,Y,x,w,ne)}),D.seen.pop(),E(L,j,U)}function g(D,I){if(B(I))return D.stylize("undefined","undefined");if(A(I)){var Y="'"+JSON.stringify(I).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return D.stylize(Y,"string")}if(b(I))return D.stylize(""+I,"number");if(m(I))return D.stylize(""+I,"boolean");if(f(I))return D.stylize("null","null")}function v(D){return"["+Error.prototype.toString.call(D)+"]"}function h(D,I,Y,$,ue){for(var N=[],x=0,F=I.length;x-1&&(N?F=F.split(` -`).map(function(ne){return" "+ne}).join(` -`).slice(2):F=` -`+F.split(` -`).map(function(ne){return" "+ne}).join(` -`))):F=D.stylize("[Circular]","special")),B(x)){if(N&&ue.match(/^\d+$/))return F;x=JSON.stringify(""+ue),x.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(x=x.slice(1,-1),x=D.stylize(x,"name")):(x=x.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),x=D.stylize(x,"string"))}return x+": "+F}function E(D,I,Y){return D.reduce(function($,ue){return ue.indexOf(` -`)>=0,$+ue.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?Y[0]+(I===""?"":I+` - `)+" "+D.join(`, - `)+" "+Y[1]:Y[0]+I+" "+D.join(", ")+" "+Y[1]}e.types=tb();function R(D){return Array.isArray(D)}e.isArray=R;function m(D){return typeof D=="boolean"}e.isBoolean=m;function f(D){return D===null}e.isNull=f;function p(D){return D==null}e.isNullOrUndefined=p;function b(D){return typeof D=="number"}e.isNumber=b;function A(D){return typeof D=="string"}e.isString=A;function S(D){return typeof D=="symbol"}e.isSymbol=S;function B(D){return D===void 0}e.isUndefined=B;function z(D){return O(D)&&C(D)==="[object RegExp]"}e.isRegExp=z,e.types.isRegExp=z;function O(D){return typeof D=="object"&&D!==null}e.isObject=O;function G(D){return O(D)&&C(D)==="[object Date]"}e.isDate=G,e.types.isDate=G;function ee(D){return O(D)&&(C(D)==="[object Error]"||D instanceof Error)}e.isError=ee,e.types.isNativeError=ee;function M(D){return typeof D=="function"}e.isFunction=M;function K(D){return D===null||typeof D=="boolean"||typeof D=="number"||typeof D=="string"||typeof D=="symbol"||typeof D>"u"}e.isPrimitive=K,e.isBuffer=rb();function C(D){return Object.prototype.toString.call(D)}function P(D){return D<10?"0"+D.toString(10):D.toString(10)}var X=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function V(){var D=new Date,I=[P(D.getHours()),P(D.getMinutes()),P(D.getSeconds())].join(":");return[D.getDate(),X[D.getMonth()],I].join(" ")}e.log=function(){console.log("%s - %s",V(),e.format.apply(e,arguments))},e.inherits=fn(),e._extend=function(D,I){if(!I||!O(I))return D;for(var Y=Object.keys(I),$=Y.length;$--;)D[Y[$]]=I[Y[$]];return D};function re(D,I){return Object.prototype.hasOwnProperty.call(D,I)}var Q=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(I){if(typeof I!="function")throw new TypeError('The "original" argument must be of type Function');if(Q&&I[Q]){var Y=I[Q];if(typeof Y!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Y,Q,{value:Y,enumerable:!1,writable:!1,configurable:!0}),Y}function Y(){for(var $,ue,N=new Promise(function(j,ne){$=j,ue=ne}),x=[],F=0;F{function r(_,E){var R=Object.keys(_);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(_);E&&(m=m.filter(function(f){return Object.getOwnPropertyDescriptor(_,f).enumerable})),R.push.apply(R,m)}return R}function n(_){for(var E=1;E0?this.tail.next=m:this.head=m,this.tail=m,++this.length}},{key:"unshift",value:function(R){var m={data:R,next:this.head};this.length===0&&(this.tail=m),this.head=m,++this.length}},{key:"shift",value:function(){if(this.length!==0){var R=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,R}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(R){if(this.length===0)return"";for(var m=this.head,f=""+m.data;m=m.next;)f+=R+m.data;return f}},{key:"concat",value:function(R){if(this.length===0)return y.alloc(0);for(var m=y.allocUnsafe(R>>>0),f=this.head,p=0;f;)h(f.data,m,p),p+=f.data.length,f=f.next;return m}},{key:"consume",value:function(R,m){var f;return Rb.length?b.length:R;if(A===b.length?p+=b:p+=b.slice(0,R),R-=A,R===0){A===b.length?(++f,m.next?this.head=m.next:this.head=this.tail=null):(this.head=m,m.data=b.slice(A));break}++f}return this.length-=f,p}},{key:"_getBuffer",value:function(R){var m=y.allocUnsafe(R),f=this.head,p=1;for(f.data.copy(m),R-=f.data.length;f=f.next;){var b=f.data,A=R>b.length?b.length:R;if(b.copy(m,m.length-R,0,A),R-=A,R===0){A===b.length?(++p,f.next?this.head=f.next:this.head=this.tail=null):(this.head=f,f.data=b.slice(A));break}++p}return this.length-=p,m}},{key:v,value:function(R,m){return g(this,n(n({},m),{},{depth:0,customInspect:!1}))}}]),_}()}),A0=he((e,t)=>{hn();function r(u,d){var y=this,g=this._readableState&&this._readableState.destroyed,v=this._writableState&&this._writableState.destroyed;return g||v?(d?d(u):u&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,xe.nextTick(l,this,u)):xe.nextTick(l,this,u)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(u||null,function(h){!d&&h?y._writableState?y._writableState.errorEmitted?xe.nextTick(a,y):(y._writableState.errorEmitted=!0,xe.nextTick(n,y,h)):xe.nextTick(n,y,h):d?(xe.nextTick(a,y),d(h)):xe.nextTick(a,y)}),this)}function n(u,d){l(u,d),a(u)}function a(u){u._writableState&&!u._writableState.emitClose||u._readableState&&!u._readableState.emitClose||u.emit("close")}function i(){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 l(u,d){u.emit("error",d)}function s(u,d){var y=u._readableState,g=u._writableState;y&&y.autoDestroy||g&&g.autoDestroy?u.destroy(d):u.emit("error",d)}t.exports={destroy:r,undestroy:i,errorOrDestroy:s}}),Ia=he((e,t)=>{function r(d,y){d.prototype=Object.create(y.prototype),d.prototype.constructor=d,d.__proto__=y}var n={};function a(d,y,g){g||(g=Error);function v(_,E,R){return typeof y=="string"?y:y(_,E,R)}var h=function(_){r(E,_);function E(R,m,f){return _.call(this,v(R,m,f))||this}return E}(g);h.prototype.name=g.name,h.prototype.code=d,n[d]=h}function i(d,y){if(Array.isArray(d)){var g=d.length;return d=d.map(function(v){return String(v)}),g>2?"one of ".concat(y," ").concat(d.slice(0,g-1).join(", "),", or ")+d[g-1]:g===2?"one of ".concat(y," ").concat(d[0]," or ").concat(d[1]):"of ".concat(y," ").concat(d[0])}else return"of ".concat(y," ").concat(String(d))}function l(d,y,g){return d.substr(0,y.length)===y}function s(d,y,g){return(g===void 0||g>d.length)&&(g=d.length),d.substring(g-y.length,g)===y}function u(d,y,g){return typeof g!="number"&&(g=0),g+y.length>d.length?!1:d.indexOf(y,g)!==-1}a("ERR_INVALID_OPT_VALUE",function(d,y){return'The value "'+y+'" is invalid for option "'+d+'"'},TypeError),a("ERR_INVALID_ARG_TYPE",function(d,y,g){var v;typeof y=="string"&&l(y,"not ")?(v="must not be",y=y.replace(/^not /,"")):v="must be";var h;if(s(d," argument"))h="The ".concat(d," ").concat(v," ").concat(i(y,"type"));else{var _=u(d,".")?"property":"argument";h='The "'.concat(d,'" ').concat(_," ").concat(v," ").concat(i(y,"type"))}return h+=". Received type ".concat(typeof g),h},TypeError),a("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),a("ERR_METHOD_NOT_IMPLEMENTED",function(d){return"The "+d+" method is not implemented"}),a("ERR_STREAM_PREMATURE_CLOSE","Premature close"),a("ERR_STREAM_DESTROYED",function(d){return"Cannot call "+d+" after a stream was destroyed"}),a("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),a("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),a("ERR_STREAM_WRITE_AFTER_END","write after end"),a("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),a("ERR_UNKNOWN_ENCODING",function(d){return"Unknown encoding: "+d},TypeError),a("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n}),N0=he((e,t)=>{var r=Ia().codes.ERR_INVALID_OPT_VALUE;function n(i,l,s){return i.highWaterMark!=null?i.highWaterMark:l?i[s]:null}function a(i,l,s,u){var d=n(l,u,s);if(d!=null){if(!(isFinite(d)&&Math.floor(d)===d)||d<0)throw new r(u?s:"highWaterMark",d);return Math.floor(d)}return i.objectMode?16:16*1024}t.exports={getHighWaterMark:a}}),ab=he((e,t)=>{Fa(),t.exports=r;function r(a,i){if(n("noDeprecation"))return a;var l=!1;function s(){if(!l){if(n("throwDeprecation"))throw new Error(i);n("traceDeprecation")?console.trace(i):console.warn(i),l=!0}return a.apply(this,arguments)}return s}function n(a){try{if(!yt.localStorage)return!1}catch{return!1}var i=yt.localStorage[a];return i==null?!1:String(i).toLowerCase()==="true"}}),O0=he((e,t)=>{Fa(),hn(),t.exports=O;function r(N){var x=this;this.next=null,this.entry=null,this.finish=function(){ue(x,N)}}var n;O.WritableState=B;var a={deprecate:ab()},i=p0(),l=Hs().Buffer,s=(typeof yt<"u"?yt:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function u(N){return l.from(N)}function d(N){return l.isBuffer(N)||N instanceof s}var y=A0(),g=N0().getHighWaterMark,v=Ia().codes,h=v.ERR_INVALID_ARG_TYPE,_=v.ERR_METHOD_NOT_IMPLEMENTED,E=v.ERR_MULTIPLE_CALLBACK,R=v.ERR_STREAM_CANNOT_PIPE,m=v.ERR_STREAM_DESTROYED,f=v.ERR_STREAM_NULL_VALUES,p=v.ERR_STREAM_WRITE_AFTER_END,b=v.ERR_UNKNOWN_ENCODING,A=y.errorOrDestroy;fn()(O,i);function S(){}function B(N,x,F){n=n||Na(),N=N||{},typeof F!="boolean"&&(F=x instanceof n),this.objectMode=!!N.objectMode,F&&(this.objectMode=this.objectMode||!!N.writableObjectMode),this.highWaterMark=g(this,N,"writableHighWaterMark",F),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=N.decodeStrings!==!1,this.defaultEncoding=N.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(j){V(x,j)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=N.emitClose!==!1,this.autoDestroy=!!N.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}B.prototype.getBuffer=function(){for(var x=this.bufferedRequest,F=[];x;)F.push(x),x=x.next;return F},function(){try{Object.defineProperty(B.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var z;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(z=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(x){return z.call(this,x)?!0:this!==O?!1:x&&x._writableState instanceof B}})):z=function(x){return x instanceof this};function O(N){n=n||Na();var x=this instanceof n;if(!x&&!z.call(O,this))return new O(N);this._writableState=new B(N,this,x),this.writable=!0,N&&(typeof N.write=="function"&&(this._write=N.write),typeof N.writev=="function"&&(this._writev=N.writev),typeof N.destroy=="function"&&(this._destroy=N.destroy),typeof N.final=="function"&&(this._final=N.final)),i.call(this)}O.prototype.pipe=function(){A(this,new R)};function G(N,x){var F=new p;A(N,F),xe.nextTick(x,F)}function ee(N,x,F,j){var ne;return F===null?ne=new f:typeof F!="string"&&!x.objectMode&&(ne=new h("chunk",["string","Buffer"],F)),ne?(A(N,ne),xe.nextTick(j,ne),!1):!0}O.prototype.write=function(N,x,F){var j=this._writableState,ne=!1,U=!j.objectMode&&d(N);return U&&!l.isBuffer(N)&&(N=u(N)),typeof x=="function"&&(F=x,x=null),U?x="buffer":x||(x=j.defaultEncoding),typeof F!="function"&&(F=S),j.ending?G(this,F):(U||ee(this,j,N,F))&&(j.pendingcb++,ne=K(this,j,U,N,x,F)),ne},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var N=this._writableState;N.corked&&(N.corked--,!N.writing&&!N.corked&&!N.bufferProcessing&&N.bufferedRequest&&te(this,N))},O.prototype.setDefaultEncoding=function(x){if(typeof x=="string"&&(x=x.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((x+"").toLowerCase())>-1))throw new b(x);return this._writableState.defaultEncoding=x,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function M(N,x,F){return!N.objectMode&&N.decodeStrings!==!1&&typeof x=="string"&&(x=l.from(x,F)),x}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K(N,x,F,j,ne,U){if(!F){var L=M(x,j,ne);j!==L&&(F=!0,ne="buffer",j=L)}var w=x.objectMode?1:j.length;x.length+=w;var J=x.length{hn();var r=Object.keys||function(g){var v=[];for(var h in g)v.push(h);return v};t.exports=u;var n=R0(),a=O0();fn()(u,n);for(var i=r(a.prototype),l=0;l{var r=Hs(),n=r.Buffer;function a(l,s){for(var u in l)s[u]=l[u]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(a(r,e),e.Buffer=i);function i(l,s,u){return n(l,s,u)}a(n,i),i.from=function(l,s,u){if(typeof l=="number")throw new TypeError("Argument must not be a number");return n(l,s,u)},i.alloc=function(l,s,u){if(typeof l!="number")throw new TypeError("Argument must be a number");var d=n(l);return s!==void 0?typeof u=="string"?d.fill(s,u):d.fill(s):d.fill(0),d},i.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return n(l)},i.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(l)}}),Iu=he(e=>{var t=ib().Buffer,r=t.isEncoding||function(f){switch(f=""+f,f&&f.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 n(f){if(!f)return"utf8";for(var p;;)switch(f){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 f;default:if(p)return;f=(""+f).toLowerCase(),p=!0}}function a(f){var p=n(f);if(typeof p!="string"&&(t.isEncoding===r||!r(f)))throw new Error("Unknown encoding: "+f);return p||f}e.StringDecoder=i;function i(f){this.encoding=a(f);var p;switch(this.encoding){case"utf16le":this.text=v,this.end=h,p=4;break;case"utf8":this.fillLast=d,p=4;break;case"base64":this.text=_,this.end=E,p=3;break;default:this.write=R,this.end=m;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(p)}i.prototype.write=function(f){if(f.length===0)return"";var p,b;if(this.lastNeed){if(p=this.fillLast(f),p===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b>5===6?2:f>>4===14?3:f>>3===30?4:f>>6===2?-1:-2}function s(f,p,b){var A=p.length-1;if(A=0?(S>0&&(f.lastNeed=S-1),S):--A=0?(S>0&&(f.lastNeed=S-2),S):--A=0?(S>0&&(S===2?S=0:f.lastNeed=S-3),S):0))}function u(f,p,b){if((p[0]&192)!==128)return f.lastNeed=0,"�";if(f.lastNeed>1&&p.length>1){if((p[1]&192)!==128)return f.lastNeed=1,"�";if(f.lastNeed>2&&p.length>2&&(p[2]&192)!==128)return f.lastNeed=2,"�"}}function d(f){var p=this.lastTotal-this.lastNeed,b=u(this,f);if(b!==void 0)return b;if(this.lastNeed<=f.length)return f.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,p,0,f.length),this.lastNeed-=f.length}function y(f,p){var b=s(this,f,p);if(!this.lastNeed)return f.toString("utf8",p);this.lastTotal=b;var A=f.length-(b-this.lastNeed);return f.copy(this.lastChar,0,A),f.toString("utf8",p,A)}function g(f){var p=f&&f.length?this.write(f):"";return this.lastNeed?p+"�":p}function v(f,p){if((f.length-p)%2===0){var b=f.toString("utf16le",p);if(b){var A=b.charCodeAt(b.length-1);if(A>=55296&&A<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",p,f.length-1)}function h(f){var p=f&&f.length?this.write(f):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return p+this.lastChar.toString("utf16le",0,b)}return p}function _(f,p){var b=(f.length-p)%3;return b===0?f.toString("base64",p):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",p,f.length-b))}function E(f){var p=f&&f.length?this.write(f):"";return this.lastNeed?p+this.lastChar.toString("base64",0,3-this.lastNeed):p}function R(f){return f.toString(this.encoding)}function m(f){return f&&f.length?this.write(f):""}}),Qc=he((e,t)=>{var r=Ia().codes.ERR_STREAM_PREMATURE_CLOSE;function n(s){var u=!1;return function(){if(!u){u=!0;for(var d=arguments.length,y=new Array(d),g=0;g{hn();var r;function n(b,A,S){return A=a(A),A in b?Object.defineProperty(b,A,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[A]=S,b}function a(b){var A=i(b,"string");return typeof A=="symbol"?A:String(A)}function i(b,A){if(typeof b!="object"||b===null)return b;var S=b[Symbol.toPrimitive];if(S!==void 0){var B=S.call(b,A);if(typeof B!="object")return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(b)}var l=Qc(),s=Symbol("lastResolve"),u=Symbol("lastReject"),d=Symbol("error"),y=Symbol("ended"),g=Symbol("lastPromise"),v=Symbol("handlePromise"),h=Symbol("stream");function _(b,A){return{value:b,done:A}}function E(b){var A=b[s];if(A!==null){var S=b[h].read();S!==null&&(b[g]=null,b[s]=null,b[u]=null,A(_(S,!1)))}}function R(b){xe.nextTick(E,b)}function m(b,A){return function(S,B){b.then(function(){if(A[y]){S(_(void 0,!0));return}A[v](S,B)},B)}}var f=Object.getPrototypeOf(function(){}),p=Object.setPrototypeOf((r={get stream(){return this[h]},next:function(){var A=this,S=this[d];if(S!==null)return Promise.reject(S);if(this[y])return Promise.resolve(_(void 0,!0));if(this[h].destroyed)return new Promise(function(G,ee){xe.nextTick(function(){A[d]?ee(A[d]):G(_(void 0,!0))})});var B=this[g],z;if(B)z=new Promise(m(B,this));else{var O=this[h].read();if(O!==null)return Promise.resolve(_(O,!1));z=new Promise(this[v])}return this[g]=z,z}},n(r,Symbol.asyncIterator,function(){return this}),n(r,"return",function(){var A=this;return new Promise(function(S,B){A[h].destroy(null,function(z){if(z){B(z);return}S(_(void 0,!0))})})}),r),f);t.exports=function(A){var S,B=Object.create(p,(S={},n(S,h,{value:A,writable:!0}),n(S,s,{value:null,writable:!0}),n(S,u,{value:null,writable:!0}),n(S,d,{value:null,writable:!0}),n(S,y,{value:A._readableState.endEmitted,writable:!0}),n(S,v,{value:function(O,G){var ee=B[h].read();ee?(B[g]=null,B[s]=null,B[u]=null,O(_(ee,!1))):(B[s]=O,B[u]=G)},writable:!0}),S));return B[g]=null,l(A,function(z){if(z&&z.code!=="ERR_STREAM_PREMATURE_CLOSE"){var O=B[u];O!==null&&(B[g]=null,B[s]=null,B[u]=null,O(z)),B[d]=z;return}var G=B[s];G!==null&&(B[g]=null,B[s]=null,B[u]=null,G(_(void 0,!0))),B[y]=!0}),A.on("readable",R.bind(null,B)),B}}),sb=he((e,t)=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}}),R0=he((e,t)=>{Fa(),hn(),t.exports=G;var r;G.ReadableState=O,Yc().EventEmitter;var n=function(L,w){return L.listeners(w).length},a=p0(),i=Hs().Buffer,l=(typeof yt<"u"?yt:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function s(U){return i.from(U)}function u(U){return i.isBuffer(U)||U instanceof l}var d=T0(),y;d&&d.debuglog?y=d.debuglog("stream"):y=function(){};var g=nb(),v=A0(),h=N0().getHighWaterMark,_=Ia().codes,E=_.ERR_INVALID_ARG_TYPE,R=_.ERR_STREAM_PUSH_AFTER_EOF,m=_.ERR_METHOD_NOT_IMPLEMENTED,f=_.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,p,b,A;fn()(G,a);var S=v.errorOrDestroy,B=["error","close","destroy","pause","resume"];function z(U,L,w){if(typeof U.prependListener=="function")return U.prependListener(L,w);!U._events||!U._events[L]?U.on(L,w):Array.isArray(U._events[L])?U._events[L].unshift(w):U._events[L]=[w,U._events[L]]}function O(U,L,w){r=r||Na(),U=U||{},typeof w!="boolean"&&(w=L instanceof r),this.objectMode=!!U.objectMode,w&&(this.objectMode=this.objectMode||!!U.readableObjectMode),this.highWaterMark=h(this,U,"readableHighWaterMark",w),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=U.emitClose!==!1,this.autoDestroy=!!U.autoDestroy,this.destroyed=!1,this.defaultEncoding=U.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,U.encoding&&(p||(p=Iu().StringDecoder),this.decoder=new p(U.encoding),this.encoding=U.encoding)}function G(U){if(r=r||Na(),!(this instanceof G))return new G(U);var L=this instanceof r;this._readableState=new O(U,this,L),this.readable=!0,U&&(typeof U.read=="function"&&(this._read=U.read),typeof U.destroy=="function"&&(this._destroy=U.destroy)),a.call(this)}Object.defineProperty(G.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(L){this._readableState&&(this._readableState.destroyed=L)}}),G.prototype.destroy=v.destroy,G.prototype._undestroy=v.undestroy,G.prototype._destroy=function(U,L){L(U)},G.prototype.push=function(U,L){var w=this._readableState,J;return w.objectMode?J=!0:typeof U=="string"&&(L=L||w.defaultEncoding,L!==w.encoding&&(U=i.from(U,L),L=""),J=!0),ee(this,U,L,!1,J)},G.prototype.unshift=function(U){return ee(this,U,null,!0,!1)};function ee(U,L,w,J,k){y("readableAddChunk",L);var o=U._readableState;if(L===null)o.reading=!1,V(U,o);else{var c;if(k||(c=K(o,L)),c)S(U,c);else if(o.objectMode||L&&L.length>0)if(typeof L!="string"&&!o.objectMode&&Object.getPrototypeOf(L)!==i.prototype&&(L=s(L)),J)o.endEmitted?S(U,new f):M(U,o,L,!0);else if(o.ended)S(U,new R);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!w?(L=o.decoder.write(L),o.objectMode||L.length!==0?M(U,o,L,!1):te(U,o)):M(U,o,L,!1)}else J||(o.reading=!1,te(U,o))}return!o.ended&&(o.length=C?U=C:(U--,U|=U>>>1,U|=U>>>2,U|=U>>>4,U|=U>>>8,U|=U>>>16,U++),U}function X(U,L){return U<=0||L.length===0&&L.ended?0:L.objectMode?1:U!==U?L.flowing&&L.length?L.buffer.head.data.length:L.length:(U>L.highWaterMark&&(L.highWaterMark=P(U)),U<=L.length?U:L.ended?L.length:(L.needReadable=!0,0))}G.prototype.read=function(U){y("read",U),U=parseInt(U,10);var L=this._readableState,w=U;if(U!==0&&(L.emittedReadable=!1),U===0&&L.needReadable&&((L.highWaterMark!==0?L.length>=L.highWaterMark:L.length>0)||L.ended))return y("read: emitReadable",L.length,L.ended),L.length===0&&L.ended?F(this):re(this),null;if(U=X(U,L),U===0&&L.ended)return L.length===0&&F(this),null;var J=L.needReadable;y("need readable",J),(L.length===0||L.length-U0?k=x(U,L):k=null,k===null?(L.needReadable=L.length<=L.highWaterMark,U=0):(L.length-=U,L.awaitDrain=0),L.length===0&&(L.ended||(L.needReadable=!0),w!==U&&L.ended&&F(this)),k!==null&&this.emit("data",k),k};function V(U,L){if(y("onEofChunk"),!L.ended){if(L.decoder){var w=L.decoder.end();w&&w.length&&(L.buffer.push(w),L.length+=L.objectMode?1:w.length)}L.ended=!0,L.sync?re(U):(L.needReadable=!1,L.emittedReadable||(L.emittedReadable=!0,Q(U)))}}function re(U){var L=U._readableState;y("emitReadable",L.needReadable,L.emittedReadable),L.needReadable=!1,L.emittedReadable||(y("emitReadable",L.flowing),L.emittedReadable=!0,xe.nextTick(Q,U))}function Q(U){var L=U._readableState;y("emitReadable_",L.destroyed,L.length,L.ended),!L.destroyed&&(L.length||L.ended)&&(U.emit("readable"),L.emittedReadable=!1),L.needReadable=!L.flowing&&!L.ended&&L.length<=L.highWaterMark,N(U)}function te(U,L){L.readingMore||(L.readingMore=!0,xe.nextTick(Z,U,L))}function Z(U,L){for(;!L.reading&&!L.ended&&(L.length1&&ne(J.pipes,U)!==-1)&&!H&&(y("false write response, pause",J.awaitDrain),J.awaitDrain++),w.pause())}function ae(me){y("onerror",me),pe(),U.removeListener("error",ae),n(U,"error")===0&&S(U,me)}z(U,"error",ae);function ce(){U.removeListener("finish",ie),pe()}U.once("close",ce);function ie(){y("onfinish"),U.removeListener("close",ce),pe()}U.once("finish",ie);function pe(){y("unpipe"),w.unpipe(U)}return U.emit("pipe",w),J.flowing||(y("pipe resume"),w.resume()),U};function D(U){return function(){var w=U._readableState;y("pipeOnDrain",w.awaitDrain),w.awaitDrain&&w.awaitDrain--,w.awaitDrain===0&&n(U,"data")&&(w.flowing=!0,N(U))}}G.prototype.unpipe=function(U){var L=this._readableState,w={hasUnpiped:!1};if(L.pipesCount===0)return this;if(L.pipesCount===1)return U&&U!==L.pipes?this:(U||(U=L.pipes),L.pipes=null,L.pipesCount=0,L.flowing=!1,U&&U.emit("unpipe",this,w),this);if(!U){var J=L.pipes,k=L.pipesCount;L.pipes=null,L.pipesCount=0,L.flowing=!1;for(var o=0;o0,J.flowing!==!1&&this.resume()):U==="readable"&&!J.endEmitted&&!J.readableListening&&(J.readableListening=J.needReadable=!0,J.flowing=!1,J.emittedReadable=!1,y("on readable",J.length,J.reading),J.length?re(this):J.reading||xe.nextTick(Y,this)),w},G.prototype.addListener=G.prototype.on,G.prototype.removeListener=function(U,L){var w=a.prototype.removeListener.call(this,U,L);return U==="readable"&&xe.nextTick(I,this),w},G.prototype.removeAllListeners=function(U){var L=a.prototype.removeAllListeners.apply(this,arguments);return(U==="readable"||U===void 0)&&xe.nextTick(I,this),L};function I(U){var L=U._readableState;L.readableListening=U.listenerCount("readable")>0,L.resumeScheduled&&!L.paused?L.flowing=!0:U.listenerCount("data")>0&&U.resume()}function Y(U){y("readable nexttick read 0"),U.read(0)}G.prototype.resume=function(){var U=this._readableState;return U.flowing||(y("resume"),U.flowing=!U.readableListening,$(this,U)),U.paused=!1,this};function $(U,L){L.resumeScheduled||(L.resumeScheduled=!0,xe.nextTick(ue,U,L))}function ue(U,L){y("resume",L.reading),L.reading||U.read(0),L.resumeScheduled=!1,U.emit("resume"),N(U),L.flowing&&!L.reading&&U.read(0)}G.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function N(U){var L=U._readableState;for(y("flow",L.flowing);L.flowing&&U.read()!==null;);}G.prototype.wrap=function(U){var L=this,w=this._readableState,J=!1;U.on("end",function(){if(y("wrapped end"),w.decoder&&!w.ended){var c=w.decoder.end();c&&c.length&&L.push(c)}L.push(null)}),U.on("data",function(c){y("wrapped data"),w.decoder&&(c=w.decoder.write(c)),!(w.objectMode&&c==null)&&(!w.objectMode&&(!c||!c.length)||L.push(c)||(J=!0,U.pause()))});for(var k in U)this[k]===void 0&&typeof U[k]=="function"&&(this[k]=function(T){return function(){return U[T].apply(U,arguments)}}(k));for(var o=0;o=L.length?(L.decoder?w=L.buffer.join(""):L.buffer.length===1?w=L.buffer.first():w=L.buffer.concat(L.length),L.buffer.clear()):w=L.buffer.consume(U,L.decoder),w}function F(U){var L=U._readableState;y("endReadable",L.endEmitted),L.endEmitted||(L.ended=!0,xe.nextTick(j,L,U))}function j(U,L){if(y("endReadableNT",U.endEmitted,U.length),!U.endEmitted&&U.length===0&&(U.endEmitted=!0,L.readable=!1,L.emit("end"),U.autoDestroy)){var w=L._writableState;(!w||w.autoDestroy&&w.finished)&&L.destroy()}}typeof Symbol=="function"&&(G.from=function(U,L){return A===void 0&&(A=sb()),A(G,U,L)});function ne(U,L){for(var w=0,J=U.length;w{t.exports=d;var r=Ia().codes,n=r.ERR_METHOD_NOT_IMPLEMENTED,a=r.ERR_MULTIPLE_CALLBACK,i=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=r.ERR_TRANSFORM_WITH_LENGTH_0,s=Na();fn()(d,s);function u(v,h){var _=this._transformState;_.transforming=!1;var E=_.writecb;if(E===null)return this.emit("error",new a);_.writechunk=null,_.writecb=null,h!=null&&this.push(h),E(v);var R=this._readableState;R.reading=!1,(R.needReadable||R.length{t.exports=n;var r=C0();fn()(n,r);function n(a){if(!(this instanceof n))return new n(a);r.call(this,a)}n.prototype._transform=function(a,i,l){l(null,a)}}),ub=he((e,t)=>{var r;function n(_){var E=!1;return function(){E||(E=!0,_.apply(void 0,arguments))}}var a=Ia().codes,i=a.ERR_MISSING_ARGS,l=a.ERR_STREAM_DESTROYED;function s(_){if(_)throw _}function u(_){return _.setHeader&&typeof _.abort=="function"}function d(_,E,R,m){m=n(m);var f=!1;_.on("close",function(){f=!0}),r===void 0&&(r=Qc()),r(_,{readable:E,writable:R},function(b){if(b)return m(b);f=!0,m()});var p=!1;return function(b){if(!f&&!p){if(p=!0,u(_))return _.abort();if(typeof _.destroy=="function")return _.destroy();m(b||new l("pipe"))}}}function y(_){_()}function g(_,E){return _.pipe(E)}function v(_){return!_.length||typeof _[_.length-1]!="function"?s:_.pop()}function h(){for(var _=arguments.length,E=new Array(_),R=0;R<_;R++)E[R]=arguments[R];var m=v(E);if(Array.isArray(E[0])&&(E=E[0]),E.length<2)throw new i("streams");var f,p=E.map(function(b,A){var S=A0,function(B){f||(f=B),B&&p.forEach(y),!S&&(p.forEach(y),m(f))})});return E.reduce(g)}t.exports=h}),Jc=he((e,t)=>{t.exports=n;var r=Yc().EventEmitter;fn()(n,r),n.Readable=R0(),n.Writable=O0(),n.Duplex=Na(),n.Transform=C0(),n.PassThrough=ob(),n.finished=Qc(),n.pipeline=ub(),n.Stream=n;function n(){r.call(this)}n.prototype.pipe=function(a,i){var l=this;function s(_){a.writable&&a.write(_)===!1&&l.pause&&l.pause()}l.on("data",s);function u(){l.readable&&l.resume&&l.resume()}a.on("drain",u),!a._isStdio&&(!i||i.end!==!1)&&(l.on("end",y),l.on("close",g));var d=!1;function y(){d||(d=!0,a.end())}function g(){d||(d=!0,typeof a.destroy=="function"&&a.destroy())}function v(_){if(h(),r.listenerCount(this,"error")===0)throw _}l.on("error",v),a.on("error",v);function h(){l.removeListener("data",s),a.removeListener("drain",u),l.removeListener("end",y),l.removeListener("close",g),l.removeListener("error",v),a.removeListener("error",v),l.removeListener("end",h),l.removeListener("close",h),a.removeListener("close",h)}return l.on("end",h),l.on("close",h),a.on("close",h),a.emit("pipe",l),a}}),cb=he(e=>{(function(t){t.parser=function(N,x){return new n(N,x)},t.SAXParser=n,t.SAXStream=y,t.createStream=d,t.MAX_BUFFER_LENGTH=64*1024;var r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function n(N,x){if(!(this instanceof n))return new n(N,x);var F=this;i(F),F.q=F.c="",F.bufferCheckPosition=t.MAX_BUFFER_LENGTH,F.opt=x||{},F.opt.lowercase=F.opt.lowercase||F.opt.lowercasetags,F.looseCase=F.opt.lowercase?"toLowerCase":"toUpperCase",F.tags=[],F.closed=F.closedRoot=F.sawRoot=!1,F.tag=F.error=null,F.strict=!!N,F.noscript=!!(N||F.opt.noscript),F.state=O.BEGIN,F.strictEntities=F.opt.strictEntities,F.ENTITIES=F.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),F.attribList=[],F.opt.xmlns&&(F.ns=Object.create(E)),F.trackPosition=F.opt.position!==!1,F.trackPosition&&(F.position=F.line=F.column=0),ee(F,"onready")}Object.create||(Object.create=function(N){function x(){}return x.prototype=N,new x}),Object.keys||(Object.keys=function(N){var x=[];for(var F in N)N.hasOwnProperty(F)&&x.push(F);return x});function a(N){for(var x=Math.max(t.MAX_BUFFER_LENGTH,10),F=0,j=0,ne=r.length;jx)switch(r[j]){case"textNode":K(N);break;case"cdata":M(N,"oncdata",N.cdata),N.cdata="";break;case"script":M(N,"onscript",N.script),N.script="";break;default:P(N,"Max buffer length exceeded: "+r[j])}F=Math.max(F,U)}N.bufferCheckPosition=t.MAX_BUFFER_LENGTH-F+N.position}function i(N){for(var x=0,F=r.length;x"||b(N)}function B(N,x){return N.test(x)}function z(N,x){return!B(N,x)}var O=0;t.STATE={BEGIN:O++,BEGIN_WHITESPACE:O++,TEXT:O++,TEXT_ENTITY:O++,OPEN_WAKA:O++,SGML_DECL:O++,SGML_DECL_QUOTED:O++,DOCTYPE:O++,DOCTYPE_QUOTED:O++,DOCTYPE_DTD:O++,DOCTYPE_DTD_QUOTED:O++,COMMENT_STARTING:O++,COMMENT:O++,COMMENT_ENDING:O++,COMMENT_ENDED:O++,CDATA:O++,CDATA_ENDING:O++,CDATA_ENDING_2:O++,PROC_INST:O++,PROC_INST_BODY:O++,PROC_INST_ENDING:O++,OPEN_TAG:O++,OPEN_TAG_SLASH:O++,ATTRIB:O++,ATTRIB_NAME:O++,ATTRIB_NAME_SAW_WHITE:O++,ATTRIB_VALUE:O++,ATTRIB_VALUE_QUOTED:O++,ATTRIB_VALUE_CLOSED:O++,ATTRIB_VALUE_UNQUOTED:O++,ATTRIB_VALUE_ENTITY_Q:O++,ATTRIB_VALUE_ENTITY_U:O++,CLOSE_TAG:O++,CLOSE_TAG_SAW_WHITE:O++,SCRIPT:O++,SCRIPT_ENDING:O++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(N){var x=t.ENTITIES[N],F=typeof x=="number"?String.fromCharCode(x):x;t.ENTITIES[N]=F});for(var G in t.STATE)t.STATE[t.STATE[G]]=G;O=t.STATE;function ee(N,x,F){N[x]&&N[x](F)}function M(N,x,F){N.textNode&&K(N),ee(N,x,F)}function K(N){N.textNode=C(N.opt,N.textNode),N.textNode&&ee(N,"ontext",N.textNode),N.textNode=""}function C(N,x){return N.trim&&(x=x.trim()),N.normalize&&(x=x.replace(/\s+/g," ")),x}function P(N,x){return K(N),N.trackPosition&&(x+=` -Line: `+N.line+` -Column: `+N.column+` -Char: `+N.c),x=new Error(x),N.error=x,ee(N,"onerror",x),N}function X(N){return N.sawRoot&&!N.closedRoot&&V(N,"Unclosed root tag"),N.state!==O.BEGIN&&N.state!==O.BEGIN_WHITESPACE&&N.state!==O.TEXT&&P(N,"Unexpected end"),K(N),N.c="",N.closed=!0,ee(N,"onend"),n.call(N,N.strict,N.opt),N}function V(N,x){if(typeof N!="object"||!(N instanceof n))throw new Error("bad call to strictFail");N.strict&&P(N,x)}function re(N){N.strict||(N.tagName=N.tagName[N.looseCase]());var x=N.tags[N.tags.length-1]||N,F=N.tag={name:N.tagName,attributes:{}};N.opt.xmlns&&(F.ns=x.ns),N.attribList.length=0,M(N,"onopentagstart",F)}function Q(N,x){var F=N.indexOf(":")<0?["",N]:N.split(":"),j=F[0],ne=F[1];return x&&N==="xmlns"&&(j="xmlns",ne=""),{prefix:j,local:ne}}function te(N){if(N.strict||(N.attribName=N.attribName[N.looseCase]()),N.attribList.indexOf(N.attribName)!==-1||N.tag.attributes.hasOwnProperty(N.attribName)){N.attribName=N.attribValue="";return}if(N.opt.xmlns){var x=Q(N.attribName,!0),F=x.prefix,j=x.local;if(F==="xmlns")if(j==="xml"&&N.attribValue!==h)V(N,"xml: prefix must be bound to "+h+` -Actual: `+N.attribValue);else if(j==="xmlns"&&N.attribValue!==_)V(N,"xmlns: prefix must be bound to "+_+` -Actual: `+N.attribValue);else{var ne=N.tag,U=N.tags[N.tags.length-1]||N;ne.ns===U.ns&&(ne.ns=Object.create(U.ns)),ne.ns[j]=N.attribValue}N.attribList.push([N.attribName,N.attribValue])}else N.tag.attributes[N.attribName]=N.attribValue,M(N,"onattribute",{name:N.attribName,value:N.attribValue});N.attribName=N.attribValue=""}function Z(N,x){if(N.opt.xmlns){var F=N.tag,j=Q(N.tagName);F.prefix=j.prefix,F.local=j.local,F.uri=F.ns[j.prefix]||"",F.prefix&&!F.uri&&(V(N,"Unbound namespace prefix: "+JSON.stringify(N.tagName)),F.uri=j.prefix);var ne=N.tags[N.tags.length-1]||N;F.ns&&ne.ns!==F.ns&&Object.keys(F.ns).forEach(function(q){M(N,"onopennamespace",{prefix:q,uri:F.ns[q]})});for(var U=0,L=N.attribList.length;U",N.tagName="",N.state=O.SCRIPT;return}M(N,"onscript",N.script),N.script=""}var x=N.tags.length,F=N.tagName;N.strict||(F=F[N.looseCase]());for(var j=F;x--&&N.tags[x].name!==j;)V(N,"Unexpected close tag");if(x<0){V(N,"Unmatched closing tag: "+N.tagName),N.textNode+="",N.state=O.TEXT;return}N.tagName=F;for(var ne=N.tags.length;ne-- >x;){var U=N.tag=N.tags.pop();N.tagName=N.tag.name,M(N,"onclosetag",N.tagName);var L={};for(var w in U.ns)L[w]=U.ns[w];var J=N.tags[N.tags.length-1]||N;N.opt.xmlns&&U.ns!==J.ns&&Object.keys(U.ns).forEach(function(k){var o=U.ns[k];M(N,"onclosenamespace",{prefix:k,uri:o})})}x===0&&(N.closedRoot=!0),N.tagName=N.attribValue=N.attribName="",N.attribList.length=0,N.state=O.TEXT}function I(N){var x=N.entity,F=x.toLowerCase(),j,ne="";return N.ENTITIES[x]?N.ENTITIES[x]:N.ENTITIES[F]?N.ENTITIES[F]:(x=F,x.charAt(0)==="#"&&(x.charAt(1)==="x"?(x=x.slice(2),j=parseInt(x,16),ne=j.toString(16)):(x=x.slice(1),j=parseInt(x,10),ne=j.toString(10))),x=x.replace(/^0+/,""),isNaN(j)||ne.toLowerCase()!==x?(V(N,"Invalid character entity"),"&"+N.entity+";"):String.fromCodePoint(j))}function Y(N,x){x==="<"?(N.state=O.OPEN_WAKA,N.startTagPosition=N.position):b(x)||(V(N,"Non-whitespace before first tag."),N.textNode=x,N.state=O.TEXT)}function $(N,x){var F="";return x"?(M(x,"onsgmldeclaration",x.sgmlDecl),x.sgmlDecl="",x.state=O.TEXT):(A(j)&&(x.state=O.SGML_DECL_QUOTED),x.sgmlDecl+=j);continue;case O.SGML_DECL_QUOTED:j===x.q&&(x.state=O.SGML_DECL,x.q=""),x.sgmlDecl+=j;continue;case O.DOCTYPE:j===">"?(x.state=O.TEXT,M(x,"ondoctype",x.doctype),x.doctype=!0):(x.doctype+=j,j==="["?x.state=O.DOCTYPE_DTD:A(j)&&(x.state=O.DOCTYPE_QUOTED,x.q=j));continue;case O.DOCTYPE_QUOTED:x.doctype+=j,j===x.q&&(x.q="",x.state=O.DOCTYPE);continue;case O.DOCTYPE_DTD:x.doctype+=j,j==="]"?x.state=O.DOCTYPE:A(j)&&(x.state=O.DOCTYPE_DTD_QUOTED,x.q=j);continue;case O.DOCTYPE_DTD_QUOTED:x.doctype+=j,j===x.q&&(x.state=O.DOCTYPE_DTD,x.q="");continue;case O.COMMENT:j==="-"?x.state=O.COMMENT_ENDING:x.comment+=j;continue;case O.COMMENT_ENDING:j==="-"?(x.state=O.COMMENT_ENDED,x.comment=C(x.opt,x.comment),x.comment&&M(x,"oncomment",x.comment),x.comment=""):(x.comment+="-"+j,x.state=O.COMMENT);continue;case O.COMMENT_ENDED:j!==">"?(V(x,"Malformed comment"),x.comment+="--"+j,x.state=O.COMMENT):x.state=O.TEXT;continue;case O.CDATA:j==="]"?x.state=O.CDATA_ENDING:x.cdata+=j;continue;case O.CDATA_ENDING:j==="]"?x.state=O.CDATA_ENDING_2:(x.cdata+="]"+j,x.state=O.CDATA);continue;case O.CDATA_ENDING_2:j===">"?(x.cdata&&M(x,"oncdata",x.cdata),M(x,"onclosecdata"),x.cdata="",x.state=O.TEXT):j==="]"?x.cdata+="]":(x.cdata+="]]"+j,x.state=O.CDATA);continue;case O.PROC_INST:j==="?"?x.state=O.PROC_INST_ENDING:b(j)?x.state=O.PROC_INST_BODY:x.procInstName+=j;continue;case O.PROC_INST_BODY:if(!x.procInstBody&&b(j))continue;j==="?"?x.state=O.PROC_INST_ENDING:x.procInstBody+=j;continue;case O.PROC_INST_ENDING:j===">"?(M(x,"onprocessinginstruction",{name:x.procInstName,body:x.procInstBody}),x.procInstName=x.procInstBody="",x.state=O.TEXT):(x.procInstBody+="?"+j,x.state=O.PROC_INST_BODY);continue;case O.OPEN_TAG:B(m,j)?x.tagName+=j:(re(x),j===">"?Z(x):j==="/"?x.state=O.OPEN_TAG_SLASH:(b(j)||V(x,"Invalid character in tag name"),x.state=O.ATTRIB));continue;case O.OPEN_TAG_SLASH:j===">"?(Z(x,!0),D(x)):(V(x,"Forward-slash in opening tag not followed by >"),x.state=O.ATTRIB);continue;case O.ATTRIB:if(b(j))continue;j===">"?Z(x):j==="/"?x.state=O.OPEN_TAG_SLASH:B(R,j)?(x.attribName=j,x.attribValue="",x.state=O.ATTRIB_NAME):V(x,"Invalid attribute name");continue;case O.ATTRIB_NAME:j==="="?x.state=O.ATTRIB_VALUE:j===">"?(V(x,"Attribute without value"),x.attribValue=x.attribName,te(x),Z(x)):b(j)?x.state=O.ATTRIB_NAME_SAW_WHITE:B(m,j)?x.attribName+=j:V(x,"Invalid attribute name");continue;case O.ATTRIB_NAME_SAW_WHITE:if(j==="=")x.state=O.ATTRIB_VALUE;else{if(b(j))continue;V(x,"Attribute without value"),x.tag.attributes[x.attribName]="",x.attribValue="",M(x,"onattribute",{name:x.attribName,value:""}),x.attribName="",j===">"?Z(x):B(R,j)?(x.attribName=j,x.state=O.ATTRIB_NAME):(V(x,"Invalid attribute name"),x.state=O.ATTRIB)}continue;case O.ATTRIB_VALUE:if(b(j))continue;A(j)?(x.q=j,x.state=O.ATTRIB_VALUE_QUOTED):(V(x,"Unquoted attribute value"),x.state=O.ATTRIB_VALUE_UNQUOTED,x.attribValue=j);continue;case O.ATTRIB_VALUE_QUOTED:if(j!==x.q){j==="&"?x.state=O.ATTRIB_VALUE_ENTITY_Q:x.attribValue+=j;continue}te(x),x.q="",x.state=O.ATTRIB_VALUE_CLOSED;continue;case O.ATTRIB_VALUE_CLOSED:b(j)?x.state=O.ATTRIB:j===">"?Z(x):j==="/"?x.state=O.OPEN_TAG_SLASH:B(R,j)?(V(x,"No whitespace between attributes"),x.attribName=j,x.attribValue="",x.state=O.ATTRIB_NAME):V(x,"Invalid attribute name");continue;case O.ATTRIB_VALUE_UNQUOTED:if(!S(j)){j==="&"?x.state=O.ATTRIB_VALUE_ENTITY_U:x.attribValue+=j;continue}te(x),j===">"?Z(x):x.state=O.ATTRIB;continue;case O.CLOSE_TAG:if(x.tagName)j===">"?D(x):B(m,j)?x.tagName+=j:x.script?(x.script+=""?D(x):V(x,"Invalid characters in closing tag");continue;case O.TEXT_ENTITY:case O.ATTRIB_VALUE_ENTITY_Q:case O.ATTRIB_VALUE_ENTITY_U:var L,w;switch(x.state){case O.TEXT_ENTITY:L=O.TEXT,w="textNode";break;case O.ATTRIB_VALUE_ENTITY_Q:L=O.ATTRIB_VALUE_QUOTED,w="attribValue";break;case O.ATTRIB_VALUE_ENTITY_U:L=O.ATTRIB_VALUE_UNQUOTED,w="attribValue";break}j===";"?(x[w]+=I(x),x.entity="",x.state=L):B(x.entity.length?p:f,j)?x.entity+=j:(V(x,"Invalid character in entity name"),x[w]+="&"+x.entity+j,x.entity="",x.state=L);continue;default:throw new Error(x,"Unknown state: "+x.state)}return x.position>=x.bufferCheckPosition&&a(x),x}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var N=String.fromCharCode,x=Math.floor,F=function(){var j=16384,ne=[],U,L,w=-1,J=arguments.length;if(!J)return"";for(var k="";++w1114111||x(o)!==o)throw RangeError("Invalid code point: "+o);o<=65535?ne.push(o):(o-=65536,U=(o>>10)+55296,L=o%1024+56320,ne.push(U,L)),(w+1===J||ne.length>j)&&(k+=N.apply(null,ne),ne.length=0)}return k};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:F,configurable:!0,writable:!0}):String.fromCodePoint=F}()})(typeof e>"u"?e.sax={}:e)}),$c=he((e,t)=>{t.exports={isArray:function(r){return Array.isArray?Array.isArray(r):Object.prototype.toString.call(r)==="[object Array]"}}}),ef=he((e,t)=>{var r=$c().isArray;t.exports={copyOptions:function(n){var a,i={};for(a in n)n.hasOwnProperty(a)&&(i[a]=n[a]);return i},ensureFlagExists:function(n,a){(!(n in a)||typeof a[n]!="boolean")&&(a[n]=!1)},ensureSpacesExists:function(n){(!("spaces"in n)||typeof n.spaces!="number"&&typeof n.spaces!="string")&&(n.spaces=0)},ensureAlwaysArrayExists:function(n){(!("alwaysArray"in n)||typeof n.alwaysArray!="boolean"&&!r(n.alwaysArray))&&(n.alwaysArray=!1)},ensureKeyExists:function(n,a){(!(n+"Key"in a)||typeof a[n+"Key"]!="string")&&(a[n+"Key"]=a.compact?"_"+n:n)},checkFnExists:function(n,a){return n+"Fn"in a}}}),D0=he((e,t)=>{var r=cb(),n=ef(),a=$c().isArray,i,l;function s(p){return i=n.copyOptions(p),n.ensureFlagExists("ignoreDeclaration",i),n.ensureFlagExists("ignoreInstruction",i),n.ensureFlagExists("ignoreAttributes",i),n.ensureFlagExists("ignoreText",i),n.ensureFlagExists("ignoreComment",i),n.ensureFlagExists("ignoreCdata",i),n.ensureFlagExists("ignoreDoctype",i),n.ensureFlagExists("compact",i),n.ensureFlagExists("alwaysChildren",i),n.ensureFlagExists("addParent",i),n.ensureFlagExists("trim",i),n.ensureFlagExists("nativeType",i),n.ensureFlagExists("nativeTypeAttributes",i),n.ensureFlagExists("sanitize",i),n.ensureFlagExists("instructionHasAttributes",i),n.ensureFlagExists("captureSpacesBetweenElements",i),n.ensureAlwaysArrayExists(i),n.ensureKeyExists("declaration",i),n.ensureKeyExists("instruction",i),n.ensureKeyExists("attributes",i),n.ensureKeyExists("text",i),n.ensureKeyExists("comment",i),n.ensureKeyExists("cdata",i),n.ensureKeyExists("doctype",i),n.ensureKeyExists("type",i),n.ensureKeyExists("name",i),n.ensureKeyExists("elements",i),n.ensureKeyExists("parent",i),n.checkFnExists("doctype",i),n.checkFnExists("instruction",i),n.checkFnExists("cdata",i),n.checkFnExists("comment",i),n.checkFnExists("text",i),n.checkFnExists("instructionName",i),n.checkFnExists("elementName",i),n.checkFnExists("attributeName",i),n.checkFnExists("attributeValue",i),n.checkFnExists("attributes",i),i}function u(p){var b=Number(p);if(!isNaN(b))return b;var A=p.toLowerCase();return A==="true"?!0:A==="false"?!1:p}function d(p,b){var A;if(i.compact){if(!l[i[p+"Key"]]&&(a(i.alwaysArray)?i.alwaysArray.indexOf(i[p+"Key"])!==-1:i.alwaysArray)&&(l[i[p+"Key"]]=[]),l[i[p+"Key"]]&&!a(l[i[p+"Key"]])&&(l[i[p+"Key"]]=[l[i[p+"Key"]]]),p+"Fn"in i&&typeof b=="string"&&(b=i[p+"Fn"](b,l)),p==="instruction"&&("instructionFn"in i||"instructionNameFn"in i)){for(A in b)if(b.hasOwnProperty(A))if("instructionFn"in i)b[A]=i.instructionFn(b[A],A,l);else{var S=b[A];delete b[A],b[i.instructionNameFn(A,S,l)]=S}}a(l[i[p+"Key"]])?l[i[p+"Key"]].push(b):l[i[p+"Key"]]=b}else{l[i.elementsKey]||(l[i.elementsKey]=[]);var B={};if(B[i.typeKey]=p,p==="instruction"){for(A in b)if(b.hasOwnProperty(A))break;B[i.nameKey]="instructionNameFn"in i?i.instructionNameFn(A,b,l):A,i.instructionHasAttributes?(B[i.attributesKey]=b[A][i.attributesKey],"instructionFn"in i&&(B[i.attributesKey]=i.instructionFn(B[i.attributesKey],A,l))):("instructionFn"in i&&(b[A]=i.instructionFn(b[A],A,l)),B[i.instructionKey]=b[A])}else p+"Fn"in i&&(b=i[p+"Fn"](b,l)),B[i[p+"Key"]]=b;i.addParent&&(B[i.parentKey]=l),l[i.elementsKey].push(B)}}function y(p){if("attributesFn"in i&&p&&(p=i.attributesFn(p,l)),(i.trim||"attributeValueFn"in i||"attributeNameFn"in i||i.nativeTypeAttributes)&&p){var b;for(b in p)if(p.hasOwnProperty(b)&&(i.trim&&(p[b]=p[b].trim()),i.nativeTypeAttributes&&(p[b]=u(p[b])),"attributeValueFn"in i&&(p[b]=i.attributeValueFn(p[b],b,l)),"attributeNameFn"in i)){var A=p[b];delete p[b],p[i.attributeNameFn(b,p[b],l)]=A}}return p}function g(p){var b={};if(p.body&&(p.name.toLowerCase()==="xml"||i.instructionHasAttributes)){for(var A=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g,S;(S=A.exec(p.body))!==null;)b[S[1]]=S[2]||S[3]||S[4];b=y(b)}if(p.name.toLowerCase()==="xml"){if(i.ignoreDeclaration)return;l[i.declarationKey]={},Object.keys(b).length&&(l[i.declarationKey][i.attributesKey]=b),i.addParent&&(l[i.declarationKey][i.parentKey]=l)}else{if(i.ignoreInstruction)return;i.trim&&(p.body=p.body.trim());var B={};i.instructionHasAttributes&&Object.keys(b).length?(B[p.name]={},B[p.name][i.attributesKey]=b):B[p.name]=p.body,d("instruction",B)}}function v(p,b){var A;if(typeof p=="object"&&(b=p.attributes,p=p.name),b=y(b),"elementNameFn"in i&&(p=i.elementNameFn(p,l)),i.compact){if(A={},!i.ignoreAttributes&&b&&Object.keys(b).length){A[i.attributesKey]={};var S;for(S in b)b.hasOwnProperty(S)&&(A[i.attributesKey][S]=b[S])}!(p in l)&&(a(i.alwaysArray)?i.alwaysArray.indexOf(p)!==-1:i.alwaysArray)&&(l[p]=[]),l[p]&&!a(l[p])&&(l[p]=[l[p]]),a(l[p])?l[p].push(A):l[p]=A}else l[i.elementsKey]||(l[i.elementsKey]=[]),A={},A[i.typeKey]="element",A[i.nameKey]=p,!i.ignoreAttributes&&b&&Object.keys(b).length&&(A[i.attributesKey]=b),i.alwaysChildren&&(A[i.elementsKey]=[]),l[i.elementsKey].push(A);A[i.parentKey]=l,l=A}function h(p){i.ignoreText||!p.trim()&&!i.captureSpacesBetweenElements||(i.trim&&(p=p.trim()),i.nativeType&&(p=u(p)),i.sanitize&&(p=p.replace(/&/g,"&").replace(//g,">")),d("text",p))}function _(p){i.ignoreComment||(i.trim&&(p=p.trim()),d("comment",p))}function E(p){var b=l[i.parentKey];i.addParent||delete l[i.parentKey],l=b}function R(p){i.ignoreCdata||(i.trim&&(p=p.trim()),d("cdata",p))}function m(p){i.ignoreDoctype||(p=p.replace(/^ /,""),i.trim&&(p=p.trim()),d("doctype",p))}function f(p){p.note=p}t.exports=function(p,b){var A=r.parser(!0,{}),S={};if(l=S,i=s(b),A.opt={strictEntities:!0},A.onopentag=v,A.ontext=h,A.oncomment=_,A.onclosetag=E,A.onerror=f,A.oncdata=R,A.ondoctype=m,A.onprocessinginstruction=g,A.write(p).close(),S[i.elementsKey]){var B=S[i.elementsKey];delete S[i.elementsKey],S[i.elementsKey]=B,delete S.text}return S}}),fb=he((e,t)=>{var r=ef(),n=D0();function a(i){var l=r.copyOptions(i);return r.ensureSpacesExists(l),l}t.exports=function(i,l){var s=a(l),u=n(i,s),d,y="compact"in s&&s.compact?"_parent":"parent";return"addParent"in s&&s.addParent?d=JSON.stringify(u,function(g,v){return g===y?"_":v},s.spaces):d=JSON.stringify(u,null,s.spaces),d.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}}),k0=he((e,t)=>{var r=ef(),n=$c().isArray,a,i;function l(A){var S=r.copyOptions(A);return r.ensureFlagExists("ignoreDeclaration",S),r.ensureFlagExists("ignoreInstruction",S),r.ensureFlagExists("ignoreAttributes",S),r.ensureFlagExists("ignoreText",S),r.ensureFlagExists("ignoreComment",S),r.ensureFlagExists("ignoreCdata",S),r.ensureFlagExists("ignoreDoctype",S),r.ensureFlagExists("compact",S),r.ensureFlagExists("indentText",S),r.ensureFlagExists("indentCdata",S),r.ensureFlagExists("indentAttributes",S),r.ensureFlagExists("indentInstruction",S),r.ensureFlagExists("fullTagEmptyElement",S),r.ensureFlagExists("noQuotesForNativeAttributes",S),r.ensureSpacesExists(S),typeof S.spaces=="number"&&(S.spaces=Array(S.spaces+1).join(" ")),r.ensureKeyExists("declaration",S),r.ensureKeyExists("instruction",S),r.ensureKeyExists("attributes",S),r.ensureKeyExists("text",S),r.ensureKeyExists("comment",S),r.ensureKeyExists("cdata",S),r.ensureKeyExists("doctype",S),r.ensureKeyExists("type",S),r.ensureKeyExists("name",S),r.ensureKeyExists("elements",S),r.checkFnExists("doctype",S),r.checkFnExists("instruction",S),r.checkFnExists("cdata",S),r.checkFnExists("comment",S),r.checkFnExists("text",S),r.checkFnExists("instructionName",S),r.checkFnExists("elementName",S),r.checkFnExists("attributeName",S),r.checkFnExists("attributeValue",S),r.checkFnExists("attributes",S),r.checkFnExists("fullTagEmptyElement",S),S}function s(A,S,B){return(!B&&A.spaces?` -`:"")+Array(S+1).join(A.spaces)}function u(A,S,B){if(S.ignoreAttributes)return"";"attributesFn"in S&&(A=S.attributesFn(A,i,a));var z,O,G,ee,M=[];for(z in A)A.hasOwnProperty(z)&&A[z]!==null&&A[z]!==void 0&&(ee=S.noQuotesForNativeAttributes&&typeof A[z]!="string"?"":'"',O=""+A[z],O=O.replace(/"/g,"""),G="attributeNameFn"in S?S.attributeNameFn(z,O,i,a):z,M.push(S.spaces&&S.indentAttributes?s(S,B+1,!1):" "),M.push(G+"="+ee+("attributeValueFn"in S?S.attributeValueFn(O,z,i,a):O)+ee));return A&&Object.keys(A).length&&S.spaces&&S.indentAttributes&&M.push(s(S,B,!1)),M.join("")}function d(A,S,B){return a=A,i="xml",S.ignoreDeclaration?"":""}function y(A,S,B){if(S.ignoreInstruction)return"";var z;for(z in A)if(A.hasOwnProperty(z))break;var O="instructionNameFn"in S?S.instructionNameFn(z,A[z],i,a):z;if(typeof A[z]=="object")return a=A,i=O,"";var G=A[z]?A[z]:"";return"instructionFn"in S&&(G=S.instructionFn(G,z,i,a)),""}function g(A,S){return S.ignoreComment?"":""}function v(A,S){return S.ignoreCdata?"":"","]]]]>"))+"]]>"}function h(A,S){return S.ignoreDoctype?"":""}function _(A,S){return S.ignoreText?"":(A=""+A,A=A.replace(/&/g,"&"),A=A.replace(/&/g,"&").replace(//g,">"),"textFn"in S?S.textFn(A,i,a):A)}function E(A,S){var B;if(A.elements&&A.elements.length)for(B=0;B"),A[S.elementsKey]&&A[S.elementsKey].length&&(z.push(m(A[S.elementsKey],S,B+1)),a=A,i=A.name),z.push(S.spaces&&E(A,S)?` -`+Array(B+1).join(S.spaces):""),z.push("")):z.push("/>"),z.join("")}function m(A,S,B,z){return A.reduce(function(O,G){var ee=s(S,B,z&&!O);switch(G.type){case"element":return O+ee+R(G,S,B);case"comment":return O+ee+g(G[S.commentKey],S);case"doctype":return O+ee+h(G[S.doctypeKey],S);case"cdata":return O+(S.indentCdata?ee:"")+v(G[S.cdataKey],S);case"text":return O+(S.indentText?ee:"")+_(G[S.textKey],S);case"instruction":var M={};return M[G[S.nameKey]]=G[S.attributesKey]?G:G[S.instructionKey],O+(S.indentInstruction?ee:"")+y(M,S,B)}},"")}function f(A,S,B){var z;for(z in A)if(A.hasOwnProperty(z))switch(z){case S.parentKey:case S.attributesKey:break;case S.textKey:if(S.indentText||B)return!0;break;case S.cdataKey:if(S.indentCdata||B)return!0;break;case S.instructionKey:if(S.indentInstruction||B)return!0;break;case S.doctypeKey:case S.commentKey:return!0;default:return!0}return!1}function p(A,S,B,z,O){a=A,i=S;var G="elementNameFn"in B?B.elementNameFn(S,A):S;if(typeof A>"u"||A===null||A==="")return"fullTagEmptyElementFn"in B&&B.fullTagEmptyElementFn(S,A)||B.fullTagEmptyElement?"<"+G+">":"<"+G+"/>";var ee=[];if(S){if(ee.push("<"+G),typeof A!="object")return ee.push(">"+_(A,B)+""),ee.join("");A[B.attributesKey]&&ee.push(u(A[B.attributesKey],B,z));var M=f(A,B,!0)||A[B.attributesKey]&&A[B.attributesKey]["xml:space"]==="preserve";if(M||("fullTagEmptyElementFn"in B?M=B.fullTagEmptyElementFn(S,A):M=B.fullTagEmptyElement),M)ee.push(">");else return ee.push("/>"),ee.join("")}return ee.push(b(A,B,z+1,!1)),a=A,i=S,S&&ee.push((O?s(B,z,!1):"")+""),ee.join("")}function b(A,S,B,z){var O,G,ee,M=[];for(G in A)if(A.hasOwnProperty(G))for(ee=n(A[G])?A[G]:[A[G]],O=0;O{var r=k0();t.exports=function(n,a){n instanceof Buffer&&(n=n.toString());var i=null;if(typeof n=="string")try{i=JSON.parse(n)}catch{throw new Error("The JSON structure is invalid")}else i=n;return r(i,a)}}),B0=he((e,t)=>{t.exports={xml2js:D0(),xml2json:fb(),js2xml:k0(),json2xml:hb()}})(),tf=e=>{switch(e.type){case void 0:case"element":const t=new pb(e.name,e.attributes),r=e.elements||[];for(const n of r){const a=tf(n);a!==void 0&&t.push(a)}return t;case"text":return e.text;default:return}},db=class extends Se{},pb=class extends de{static fromXmlString(e){return tf((0,B0.xml2js)(e,{compact:!1}))}constructor(e,t){super(e),t&&this.root.push(new db(t))}push(e){this.root.push(e)}},mb=class extends de{constructor(e){super(""),this._attr=e}prepForXml(e){return{_attr:this._attr}}},M0=class extends de{constructor(e,t){super(e),t&&(this.root=t.root)}},dt=e=>{if(isNaN(e))throw new Error(`Invalid value '${e}' specified. Must be an integer.`);return Math.floor(e)},qs=e=>{const t=dt(e);if(t<0)throw new Error(`Invalid value '${e}' specified. Must be a positive integer.`);return t},z0=(e,t)=>{const r=t*2;if(e.length!==r||isNaN(+`0x${e}`))throw new Error(`Invalid hex value '${e}'. Expected ${r} digit hex value`);return e},Ih=e=>z0(e,1),rf=e=>{const t=e.slice(-2),r=e.substring(0,e.length-2);return`${Number(r)}${t}`},U0=e=>{const t=rf(e);if(parseFloat(t)<0)throw new Error(`Invalid value '${t}' specified. Expected a positive number.`);return t},Oa=e=>e==="auto"?e:z0(e.charAt(0)==="#"?e.substring(1):e,3),Er=e=>typeof e=="string"?rf(e):dt(e),yb=e=>typeof e=="string"?U0(e):qs(e),ct=e=>typeof e=="string"?U0(e):qs(e),vb=e=>{const t=e.substring(0,e.length-1);return`${Number(t)}%`},L0=e=>typeof e=="number"?dt(e):e.slice(-1)==="%"?vb(e):rf(e),gb=qs,bb=qs,wb=e=>e.toISOString(),fe=class extends de{constructor(e,t=!0){super(e),t!==!0&&this.root.push(new pt({val:t}))}},Do=class extends de{constructor(e,t){super(e),this.root.push(new pt({val:yb(t)}))}},_b=class extends de{},Rn=class extends de{constructor(e,t){super(e),this.root.push(new pt({val:t}))}},Ja=(e,t)=>new be({name:e,attributes:{value:{key:"w:val",value:t}}}),xi=class extends de{constructor(e,t){super(e),this.root.push(new pt({val:t}))}},yn=class extends de{constructor(e,t){super(e),this.root.push(t)}},be=class extends de{constructor({name:e,attributes:t,children:r}){super(e),t&&this.root.push(new g1(t)),r&&this.root.push(...r)}},$t={START:"start",LEFT:"left"},j0=e=>new be({name:"w:jc",attributes:{val:{key:"w:val",value:e}}}),Ge=(e,{color:t,size:r,space:n,style:a})=>new be({name:e,attributes:{style:{key:"w:val",value:a},color:{key:"w:color",value:t===void 0?void 0:Oa(t)},size:{key:"w:sz",value:r===void 0?void 0:gb(r)},space:{key:"w:space",value:n===void 0?void 0:bb(n)}}}),nf={SINGLE:"single",NONE:"none"},xb=class extends cn{constructor(e){super("w:pBdr"),e.top&&this.root.push(Ge("w:top",e.top)),e.bottom&&this.root.push(Ge("w:bottom",e.bottom)),e.left&&this.root.push(Ge("w:left",e.left)),e.right&&this.root.push(Ge("w:right",e.right)),e.between&&this.root.push(Ge("w:between",e.between))}},Sb=class extends de{constructor(){super("w:pBdr");const e=Ge("w:bottom",{color:"auto",space:1,style:nf.SINGLE,size:6});this.root.push(e)}},Eb=({start:e,end:t,left:r,right:n,hanging:a,firstLine:i,firstLineChars:l})=>new be({name:"w:ind",attributes:{start:{key:"w:start",value:e===void 0?void 0:Er(e)},end:{key:"w:end",value:t===void 0?void 0:Er(t)},left:{key:"w:left",value:r===void 0?void 0:Er(r)},right:{key:"w:right",value:n===void 0?void 0:Er(n)},hanging:{key:"w:hanging",value:a===void 0?void 0:ct(a)},firstLine:{key:"w:firstLine",value:i===void 0?void 0:ct(i)},firstLineChars:{key:"w:firstLineChars",value:l===void 0?void 0:dt(l)}}}),Tb=()=>new be({name:"w:br"}),af={BEGIN:"begin",END:"end",SEPARATE:"separate"},lf=(e,t)=>new be({name:"w:fldChar",attributes:{type:{key:"w:fldCharType",value:e},dirty:{key:"w:dirty",value:t}}}),Sl=e=>lf(af.BEGIN,e),El=e=>lf(af.SEPARATE,e),Tl=e=>lf(af.END,e),Ra={DEFAULT:"default",PRESERVE:"preserve"},Ca=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{space:"xml:space"})}},Ab=class extends de{constructor(){super("w:instrText"),this.root.push(new Ca({space:Ra.PRESERVE})),this.root.push("PAGE")}},Nb=class extends de{constructor(){super("w:instrText"),this.root.push(new Ca({space:Ra.PRESERVE})),this.root.push("NUMPAGES")}},Ob=class extends de{constructor(){super("w:instrText"),this.root.push(new Ca({space:Ra.PRESERVE})),this.root.push("SECTIONPAGES")}},Rb=class extends de{constructor(){super("w:instrText"),this.root.push(new Ca({space:Ra.PRESERVE})),this.root.push("SECTION")}},Gs=({fill:e,color:t,type:r})=>new be({name:"w:shd",attributes:{fill:{key:"w:fill",value:e===void 0?void 0:Oa(e)},color:{key:"w:color",value:t===void 0?void 0:Oa(t)},type:{key:"w:val",value:r}}}),Xt=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}},Cb=class extends de{constructor(e){super("w:del"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date}))}},Db=class extends de{constructor(e){super("w:ins"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date}))}},kb={DOT:"dot"},Bb=(e=kb.DOT)=>new be({name:"w:em",attributes:{val:{key:"w:val",value:e}}}),Mb=class extends de{constructor(e){super("w:spacing"),this.root.push(new pt({val:Er(e)}))}},zb=class extends de{constructor(e){super("w:color"),this.root.push(new pt({val:Oa(e)}))}},Ub=class extends de{constructor(e){super("w:highlight"),this.root.push(new pt({val:e}))}},Lb=class extends de{constructor(e){super("w:highlightCs"),this.root.push(new pt({val:e}))}},jb=e=>new be({name:"w:lang",attributes:{value:{key:"w:val",value:e.value},eastAsia:{key:"w:eastAsia",value:e.eastAsia},bidirectional:{key:"w:bidi",value:e.bidirectional}}}),ko=(e,t)=>{if(typeof e=="string"){const n=e;return new be({name:"w:rFonts",attributes:{ascii:{key:"w:ascii",value:n},cs:{key:"w:cs",value:n},eastAsia:{key:"w:eastAsia",value:n},hAnsi:{key:"w:hAnsi",value:n},hint:{key:"w:hint",value:t}}})}const r=e;return new be({name:"w:rFonts",attributes:{ascii:{key:"w:ascii",value:r.ascii},cs:{key:"w:cs",value:r.cs},eastAsia:{key:"w:eastAsia",value:r.eastAsia},hAnsi:{key:"w:hAnsi",value:r.hAnsi},hint:{key:"w:hint",value:r.hint}}})},H0=e=>new be({name:"w:vertAlign",attributes:{val:{key:"w:val",value:e}}}),Hb=()=>H0("superscript"),Fb=()=>H0("subscript"),F0={SINGLE:"single"},Ib=(e=F0.SINGLE,t)=>new be({name:"w:u",attributes:{val:{key:"w:val",value:e},color:{key:"w:color",value:t===void 0?void 0:Oa(t)}}}),In=class extends cn{constructor(e){if(super("w:rPr"),!e)return;if(e.style&&this.push(new Rn("w:rStyle",e.style)),e.font&&(typeof e.font=="string"?this.push(ko(e.font)):"name"in e.font?this.push(ko(e.font.name,e.font.hint)):this.push(ko(e.font))),e.bold!==void 0&&this.push(new fe("w:b",e.bold)),e.boldComplexScript===void 0&&e.bold!==void 0||e.boldComplexScript){var t;this.push(new fe("w:bCs",(t=e.boldComplexScript)!==null&&t!==void 0?t:e.bold))}if(e.italics!==void 0&&this.push(new fe("w:i",e.italics)),e.italicsComplexScript===void 0&&e.italics!==void 0||e.italicsComplexScript){var r;this.push(new fe("w:iCs",(r=e.italicsComplexScript)!==null&&r!==void 0?r:e.italics))}e.smallCaps!==void 0?this.push(new fe("w:smallCaps",e.smallCaps)):e.allCaps!==void 0&&this.push(new fe("w:caps",e.allCaps)),e.strike!==void 0&&this.push(new fe("w:strike",e.strike)),e.doubleStrike!==void 0&&this.push(new fe("w:dstrike",e.doubleStrike)),e.emboss!==void 0&&this.push(new fe("w:emboss",e.emboss)),e.imprint!==void 0&&this.push(new fe("w:imprint",e.imprint)),e.noProof!==void 0&&this.push(new fe("w:noProof",e.noProof)),e.snapToGrid!==void 0&&this.push(new fe("w:snapToGrid",e.snapToGrid)),e.vanish&&this.push(new fe("w:vanish",e.vanish)),e.color&&this.push(new zb(e.color)),e.characterSpacing&&this.push(new Mb(e.characterSpacing)),e.scale!==void 0&&this.push(new xi("w:w",e.scale)),e.kern&&this.push(new Do("w:kern",e.kern)),e.position&&this.push(new Rn("w:position",e.position)),e.size!==void 0&&this.push(new Do("w:sz",e.size));const n=e.sizeComplexScript===void 0||e.sizeComplexScript===!0?e.size:e.sizeComplexScript;n&&this.push(new Do("w:szCs",n)),e.highlight&&this.push(new Ub(e.highlight));const a=e.highlightComplexScript===void 0||e.highlightComplexScript===!0?e.highlight:e.highlightComplexScript;a&&this.push(new Lb(a)),e.underline&&this.push(Ib(e.underline.type,e.underline.color)),e.effect&&this.push(new Rn("w:effect",e.effect)),e.border&&this.push(Ge("w:bdr",e.border)),e.shading&&this.push(Gs(e.shading)),e.subScript&&this.push(Fb()),e.superScript&&this.push(Hb()),e.rightToLeft!==void 0&&this.push(new fe("w:rtl",e.rightToLeft)),e.emphasisMark&&this.push(Bb(e.emphasisMark.type)),e.language&&this.push(jb(e.language)),e.specVanish&&this.push(new fe("w:specVanish",e.vanish)),e.math&&this.push(new fe("w:oMath",e.math)),e.revision&&this.push(new Gb(e.revision))}push(e){this.root.push(e)}},qb=class extends In{constructor(e){super(e),e!=null&&e.insertion&&this.push(new Db(e.insertion)),e!=null&&e.deletion&&this.push(new Cb(e.deletion))}},Gb=class extends de{constructor(e){super("w:rPrChange"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date})),this.addChildElement(new In(e))}},qh=class extends de{constructor(e){if(super("w:t"),typeof e=="string")this.root.push(new Ca({space:Ra.PRESERVE})),this.root.push(e);else{var t;this.root.push(new Ca({space:(t=e.space)!==null&&t!==void 0?t:Ra.DEFAULT})),this.root.push(e.text)}}},Al={CURRENT:"CURRENT",TOTAL_PAGES:"TOTAL_PAGES",TOTAL_PAGES_IN_SECTION:"TOTAL_PAGES_IN_SECTION",CURRENT_SECTION:"SECTION"},el=class extends de{constructor(e){if(super("w:r"),se(this,"properties",void 0),this.properties=new In(e),this.root.push(this.properties),e.break)for(let t=0;t{t.exports=r;function r(n,a){if(!n)throw new Error(a||"Assertion failed")}r.equal=function(a,i,l){if(a!=i)throw new Error(l||"Assertion failed: "+a+" != "+i)}}),ur=he(e=>{var t=tl();e.inherits=fn();function r(M,K){return(M.charCodeAt(K)&64512)!==55296||K<0||K+1>=M.length?!1:(M.charCodeAt(K+1)&64512)===56320}function n(M,K){if(Array.isArray(M))return M.slice();if(!M)return[];var C=[];if(typeof M=="string")if(K){if(K==="hex")for(M=M.replace(/[^a-z0-9]+/gi,""),M.length%2!==0&&(M="0"+M),X=0;X>6|192,C[P++]=V&63|128):r(M,X)?(V=65536+((V&1023)<<10)+(M.charCodeAt(++X)&1023),C[P++]=V>>18|240,C[P++]=V>>12&63|128,C[P++]=V>>6&63|128,C[P++]=V&63|128):(C[P++]=V>>12|224,C[P++]=V>>6&63|128,C[P++]=V&63|128)}else for(X=0;X>>24|M>>>8&65280|M<<8&16711680|(M&255)<<24)>>>0}e.htonl=i;function l(M,K){for(var C="",P=0;P>>0}return V}e.join32=d;function y(M,K){for(var C=new Array(M.length*4),P=0,X=0;P>>24,C[X+1]=V>>>16&255,C[X+2]=V>>>8&255,C[X+3]=V&255):(C[X+3]=V>>>24,C[X+2]=V>>>16&255,C[X+1]=V>>>8&255,C[X]=V&255)}return C}e.split32=y;function g(M,K){return M>>>K|M<<32-K}e.rotr32=g;function v(M,K){return M<>>32-K}e.rotl32=v;function h(M,K){return M+K>>>0}e.sum32=h;function _(M,K,C){return M+K+C>>>0}e.sum32_3=_;function E(M,K,C,P){return M+K+C+P>>>0}e.sum32_4=E;function R(M,K,C,P,X){return M+K+C+P+X>>>0}e.sum32_5=R;function m(M,K,C,P){var X=M[K],V=P+M[K+1]>>>0;M[K]=(V>>0,M[K+1]=V}e.sum64=m;function f(M,K,C,P){return(K+P>>>0>>0}e.sum64_hi=f;function p(M,K,C,P){return K+P>>>0}e.sum64_lo=p;function b(M,K,C,P,X,V,re,Q){var te=0,Z=K;return Z=Z+P>>>0,te+=Z>>0,te+=Z>>0,te+=Z>>0}e.sum64_4_hi=b;function A(M,K,C,P,X,V,re,Q){return K+P+V+Q>>>0}e.sum64_4_lo=A;function S(M,K,C,P,X,V,re,Q,te,Z){var D=0,I=K;return I=I+P>>>0,D+=I>>0,D+=I>>0,D+=I>>0,D+=I>>0}e.sum64_5_hi=S;function B(M,K,C,P,X,V,re,Q,te,Z){return K+P+V+Q+Z>>>0}e.sum64_5_lo=B;function z(M,K,C){return(K<<32-C|M>>>C)>>>0}e.rotr64_hi=z;function O(M,K,C){return(M<<32-C|K>>>C)>>>0}e.rotr64_lo=O;function G(M,K,C){return M>>>C}e.shr64_hi=G;function ee(M,K,C){return(M<<32-C|K>>>C)>>>0}e.shr64_lo=ee}),rl=he(e=>{var t=ur(),r=tl();function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=n,n.prototype.update=function(i,l){if(i=t.toArray(i,l),this.pending?this.pending=this.pending.concat(i):this.pending=i,this.pendingTotal+=i.length,this.pending.length>=this._delta8){i=this.pending;var s=i.length%this._delta8;this.pending=i.slice(i.length-s,i.length),this.pending.length===0&&(this.pending=null),i=t.join32(i,0,i.length-s,this.endian);for(var u=0;u>>24&255,u[d++]=i>>>16&255,u[d++]=i>>>8&255,u[d++]=i&255}else for(u[d++]=i&255,u[d++]=i>>>8&255,u[d++]=i>>>16&255,u[d++]=i>>>24&255,u[d++]=0,u[d++]=0,u[d++]=0,u[d++]=0,y=8;y{var t=ur().rotr32;function r(y,g,v,h){if(y===0)return n(g,v,h);if(y===1||y===3)return i(g,v,h);if(y===2)return a(g,v,h)}e.ft_1=r;function n(y,g,v){return y&g^~y&v}e.ch32=n;function a(y,g,v){return y&g^y&v^g&v}e.maj32=a;function i(y,g,v){return y^g^v}e.p32=i;function l(y){return t(y,2)^t(y,13)^t(y,22)}e.s0_256=l;function s(y){return t(y,6)^t(y,11)^t(y,25)}e.s1_256=s;function u(y){return t(y,7)^t(y,18)^y>>>3}e.g0_256=u;function d(y){return t(y,17)^t(y,19)^y>>>10}e.g1_256=d}),Vb=he((e,t)=>{var r=ur(),n=rl(),a=I0(),i=r.rotl32,l=r.sum32,s=r.sum32_5,u=a.ft_1,d=n.BlockHash,y=[1518500249,1859775393,2400959708,3395469782];function g(){if(!(this instanceof g))return new g;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(g,d),t.exports=g,g.blockSize=512,g.outSize=160,g.hmacStrength=80,g.padLength=64,g.prototype._update=function(h,_){for(var E=this.W,R=0;R<16;R++)E[R]=h[_+R];for(;R{var r=ur(),n=rl(),a=I0(),i=tl(),l=r.sum32,s=r.sum32_4,u=r.sum32_5,d=a.ch32,y=a.maj32,g=a.s0_256,v=a.s1_256,h=a.g0_256,_=a.g1_256,E=n.BlockHash,R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function m(){if(!(this instanceof m))return new m;E.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=R,this.W=new Array(64)}r.inherits(m,E),t.exports=m,m.blockSize=512,m.outSize=256,m.hmacStrength=192,m.padLength=64,m.prototype._update=function(p,b){for(var A=this.W,S=0;S<16;S++)A[S]=p[b+S];for(;S{var r=ur(),n=q0();function a(){if(!(this instanceof a))return new a;n.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(a,n),t.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(l){return l==="hex"?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}}),G0=he((e,t)=>{var r=ur(),n=rl(),a=tl(),i=r.rotr64_hi,l=r.rotr64_lo,s=r.shr64_hi,u=r.shr64_lo,d=r.sum64,y=r.sum64_hi,g=r.sum64_lo,v=r.sum64_4_hi,h=r.sum64_4_lo,_=r.sum64_5_hi,E=r.sum64_5_lo,R=n.BlockHash,m=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function f(){if(!(this instanceof f))return new f;R.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=m,this.W=new Array(160)}r.inherits(f,R),t.exports=f,f.blockSize=1024,f.outSize=512,f.hmacStrength=192,f.padLength=128,f.prototype._prepareBlock=function(X,V){for(var re=this.W,Q=0;Q<32;Q++)re[Q]=X[V+Q];for(;Q{var r=ur(),n=G0();function a(){if(!(this instanceof a))return new a;n.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(a,n),t.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(l){return l==="hex"?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}}),Xb=he(e=>{e.sha1=Vb(),e.sha224=Kb(),e.sha256=q0(),e.sha384=Yb(),e.sha512=G0()}),Pb=he(e=>{var t=ur(),r=rl(),n=t.rotl32,a=t.sum32,i=t.sum32_3,l=t.sum32_4,s=r.BlockHash;function u(){if(!(this instanceof u))return new u;s.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}t.inherits(u,s),e.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(m,f){for(var p=this.h[0],b=this.h[1],A=this.h[2],S=this.h[3],B=this.h[4],z=p,O=b,G=A,ee=S,M=B,K=0;K<80;K++){var C=a(n(l(p,d(K,b,A,S),m[v[K]+f],y(K)),_[K]),B);p=B,B=S,S=n(A,10),A=b,b=C,C=a(n(l(z,d(79-K,O,G,ee),m[h[K]+f],g(K)),E[K]),M),z=M,M=ee,ee=n(G,10),G=O,O=C}C=i(this.h[1],A,ee),this.h[1]=i(this.h[2],S,M),this.h[2]=i(this.h[3],B,z),this.h[3]=i(this.h[4],p,O),this.h[4]=i(this.h[0],b,G),this.h[0]=C},u.prototype._digest=function(m){return m==="hex"?t.toHex32(this.h,"little"):t.split32(this.h,"little")};function d(R,m,f,p){return R<=15?m^f^p:R<=31?m&f|~m&p:R<=47?(m|~f)^p:R<=63?m&p|f&~p:m^(f|~p)}function y(R){return R<=15?0:R<=31?1518500249:R<=47?1859775393:R<=63?2400959708:2840853838}function g(R){return R<=15?1352829926:R<=31?1548603684:R<=47?1836072691:R<=63?2053994217:0}var v=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],h=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],_=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],E=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}),Zb=he((e,t)=>{var r=ur(),n=tl();function a(i,l,s){if(!(this instanceof a))return new a(i,l,s);this.Hash=i,this.blockSize=i.blockSize/8,this.outSize=i.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(l,s))}t.exports=a,a.prototype._init=function(l){l.length>this.blockSize&&(l=new this.Hash().update(l).digest()),n(l.length<=this.blockSize);for(var s=l.length;s{var t=e;t.utils=ur(),t.common=rl(),t.sha=Xb(),t.ripemd=Pb(),t.hmac=Zb(),t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.ripemd.ripemd160})();var Wb="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Qb=(e,t=21)=>(r=t)=>{let n="",a=r|0;for(;a--;)n+=e[Math.random()*e.length|0];return n},Jb=(e=21)=>{let t="",r=e|0;for(;r--;)t+=Wb[Math.random()*64|0];return t},Zt=e=>Math.floor(e*72*20),sf=(e=0)=>{let t=e;return()=>++t},$b=()=>sf(),ew=()=>sf(1),tw=()=>sf(),rw=()=>Jb().toLowerCase(),$a=e=>Qb("1234567890abcdef",e)(),nw=()=>`${$a(8)}-${$a(4)}-${$a(4)}-${$a(4)}-${$a(12)}`,Bo=e=>new Uint8Array(new TextEncoder().encode(e)),aw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{xmlns:"xmlns"})}},iw={EXTERNAL:"External"},lw=(e,t,r,n)=>new be({name:"Relationship",attributes:{id:{key:"Id",value:e},type:{key:"Type",value:t},target:{key:"Target",value:r},targetMode:{key:"TargetMode",value:n}}}),dn=class extends de{constructor(){super("Relationships"),this.root.push(new aw({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}addRelationship(e,t,r,n){this.root.push(lw(`rId${e}`,t,r,n))}get RelationshipCount(){return this.root.length-1}},sw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}},ow=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{"xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps"})}},Gh=class extends de{constructor({id:e,initials:t,author:r,date:n=new Date,children:a},i){super("w:comment"),se(this,"paraId",void 0),this.paraId=i,this.root.push(new sw({id:e,initials:t,author:r,date:n.toISOString()}));for(const l of a)this.root.push(l)}prepForXml(e){const t=super.prepForXml(e);if(!t||!this.paraId)return t;const r=t["w:comment"];if(!Array.isArray(r))return t;for(let n=r.length-1;n>=0;n--){const a=r[n];if(a&&typeof a=="object"&&"w:p"in a){const i=a["w:p"];Array.isArray(i)&&i.unshift({_attr:{"w14:paraId":this.paraId,"w14:textId":this.paraId}});break}}return t}},uw=e=>(e+1).toString(16).toUpperCase().padStart(8,"0"),cw=class extends de{constructor({children:e}){if(super("w:comments"),se(this,"relationships",void 0),se(this,"threadData",void 0),this.root.push(new ow({"xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"})),e.some(t=>t.parentId!==void 0)){const t=new Map(e.map(r=>[r.id,uw(r.id)]));for(const r of e)this.root.push(new Gh(r,t.get(r.id)));this.threadData=e.map(r=>({paraId:t.get(r.id),parentParaId:r.parentId!==void 0?t.get(r.parentId):void 0,done:r.resolved}))}else for(const t of e)this.root.push(new Gh(t));this.relationships=new dn}get Relationships(){return this.relationships}get ThreadData(){return this.threadData}},fw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{"xmlns:wpc":"xmlns:wpc","xmlns:mc":"xmlns:mc","xmlns:w15":"xmlns:w15","mc:Ignorable":"mc:Ignorable"})}},hw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{paraId:"w15:paraId",paraIdParent:"w15:paraIdParent",done:"w15:done"})}},dw=class extends de{constructor(e){super("w15:commentEx"),this.root.push(new hw({paraId:e.paraId,paraIdParent:e.parentParaId,done:e.done!==void 0?e.done?"1":"0":void 0}))}},pw=class extends de{constructor(e){super("w15:commentsEx"),this.root.push(new fw({"xmlns:wpc":"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","mc:Ignorable":"w15"}));for(const t of e)this.root.push(new dw(t))}},mw=class extends _b{constructor(){super("w:endnoteRef")}},yw=class extends de{constructor(){super("w:pageBreakBefore")}},Da={AUTO:"auto"},vw=({after:e,before:t,line:r,lineRule:n,beforeAutoSpacing:a,afterAutoSpacing:i})=>new be({name:"w:spacing",attributes:{after:{key:"w:after",value:e},before:{key:"w:before",value:t},line:{key:"w:line",value:r},lineRule:{key:"w:lineRule",value:n},beforeAutoSpacing:{key:"w:beforeAutospacing",value:a},afterAutoSpacing:{key:"w:afterAutospacing",value:i}}}),Vh={HEADING_2:"Heading2",TITLE:"Title"},li=e=>new be({name:"w:pStyle",attributes:{val:{key:"w:val",value:e}}}),Kh={LEFT:"left",RIGHT:"right"},gw=({type:e,position:t,leader:r})=>new be({name:"w:tab",attributes:{val:{key:"w:val",value:e},pos:{key:"w:pos",value:t},leader:{key:"w:leader",value:r}}}),bw=e=>new be({name:"w:tabs",children:e.map(t=>gw(t))}),Mo=class extends de{constructor(e,t){super("w:numPr"),this.root.push(new ww(t)),this.root.push(new _w(e))}},ww=class extends de{constructor(e){if(super("w:ilvl"),e>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new pt({val:e}))}},_w=class extends de{constructor(e){super("w:numId"),this.root.push(new pt({val:typeof e=="string"?`{${e}}`:e}))}},V0=class extends de{constructor(...e){super(...e),se(this,"fileChild",Symbol())}},xw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}},Sw=class extends de{constructor(e,t,r){super("w:hyperlink"),se(this,"linkId",void 0),this.linkId=t;const n=new xw({history:1,anchor:r||void 0,id:r?void 0:`rId${this.linkId}`});this.root.push(n),e.forEach(a=>{this.root.push(a)})}},Ew=class extends de{constructor(e){super("w:externalHyperlink"),this.options=e}},Tw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{id:"w:id",name:"w:name"})}},Aw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{id:"w:id"})}},Nw=class{constructor(e){se(this,"bookmarkUniqueNumericId",tw()),se(this,"start",void 0),se(this,"children",void 0),se(this,"end",void 0);const t=this.bookmarkUniqueNumericId();this.start=new Ow(e.id,t),this.children=e.children,this.end=new Rw(t)}},Ow=class extends de{constructor(e,t){super("w:bookmarkStart");const r=new Tw({name:e,id:t});this.root.push(r)}},Rw=class extends de{constructor(e){super("w:bookmarkEnd");const t=new Aw({id:e});this.root.push(t)}},Cw=e=>new be({name:"w:outlineLvl",attributes:{val:{key:"w:val",value:e}}}),Nl=({id:e,fontKey:t,subsetted:r},n)=>new be({name:n,attributes:ye({id:{key:"r:id",value:e}},t?{fontKey:{key:"w:fontKey",value:`{${t}}`}}:{}),children:[...r?[new fe("w:subsetted",r)]:[]]}),Dw=({name:e,altName:t,panose1:r,charset:n,family:a,notTrueType:i,pitch:l,sig:s,embedRegular:u,embedBold:d,embedItalic:y,embedBoldItalic:g})=>new be({name:"w:font",attributes:{name:{key:"w:name",value:e}},children:[...t?[Ja("w:altName",t)]:[],...r?[Ja("w:panose1",r)]:[],...n?[Ja("w:charset",n)]:[],Ja("w:family",a),...i?[new fe("w:notTrueType",i)]:[],Ja("w:pitch",l),...s?[new be({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:s.usb0},usb1:{key:"w:usb1",value:s.usb1},usb2:{key:"w:usb2",value:s.usb2},usb3:{key:"w:usb3",value:s.usb3},csb0:{key:"w:csb0",value:s.csb0},csb1:{key:"w:csb1",value:s.csb1}}})]:[],...u?[Nl(u,"w:embedRegular")]:[],...d?[Nl(d,"w:embedBold")]:[],...y?[Nl(y,"w:embedItalic")]:[],...g?[Nl(g,"w:embedBoldItalic")]:[]]}),kw=({name:e,index:t,fontKey:r,characterSet:n})=>Dw({name:e,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:n,family:"auto",pitch:"variable",embedRegular:{fontKey:r,id:`rId${t}`}}),Bw=e=>new be({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:e.map((t,r)=>kw({name:t.name,index:r+1,fontKey:t.fontKey,characterSet:t.characterSet}))}),K0=class{constructor(e){se(this,"fontTable",void 0),se(this,"relationships",void 0),se(this,"fontOptionsWithKey",[]),this.options=e,this.fontOptionsWithKey=e.map(t=>ye(ye({},t),{},{fontKey:nw()})),this.fontTable=Bw(this.fontOptionsWithKey),this.relationships=new dn;for(let t=0;tnew be({name:"w:wordWrap",attributes:{val:{key:"w:val",value:0}}}),zw=e=>{var t,r;return new be({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:e.anchorLock},dropCap:{key:"w:dropCap",value:e.dropCap},width:{key:"w:w",value:e.width},height:{key:"w:h",value:e.height},x:{key:"w:x",value:e.position?e.position.x:void 0},y:{key:"w:y",value:e.position?e.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:e.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:e.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:(t=e.space)===null||t===void 0?void 0:t.horizontal},spaceVertical:{key:"w:vSpace",value:(r=e.space)===null||r===void 0?void 0:r.vertical},rule:{key:"w:hRule",value:e.rule},alignmentX:{key:"w:xAlign",value:e.alignment?e.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:e.alignment?e.alignment.y:void 0},lines:{key:"w:lines",value:e.lines},wrap:{key:"w:wrap",value:e.wrap}}})},zn=class extends cn{constructor(e){if(super("w:pPr",e==null?void 0:e.includeIfEmpty),se(this,"numberingReferences",[]),!e)return this;if(e.heading&&this.push(li(e.heading)),e.bullet&&this.push(li("ListParagraph")),e.numbering&&!e.style&&!e.heading&&(e.numbering.custom||this.push(li("ListParagraph"))),e.style&&this.push(li(e.style)),e.keepNext!==void 0&&this.push(new fe("w:keepNext",e.keepNext)),e.keepLines!==void 0&&this.push(new fe("w:keepLines",e.keepLines)),e.pageBreakBefore&&this.push(new yw),e.frame&&this.push(zw(e.frame)),e.widowControl!==void 0&&this.push(new fe("w:widowControl",e.widowControl)),e.bullet&&this.push(new Mo(1,e.bullet.level)),e.numbering){var t,r;this.numberingReferences.push({reference:e.numbering.reference,instance:(t=e.numbering.instance)!==null&&t!==void 0?t:0}),this.push(new Mo(`${e.numbering.reference}-${(r=e.numbering.instance)!==null&&r!==void 0?r:0}`,e.numbering.level))}else e.numbering===!1&&this.push(new Mo(0,0));e.border&&this.push(new xb(e.border)),e.thematicBreak&&this.push(new Sb),e.shading&&this.push(Gs(e.shading)),e.wordWrap&&this.push(Mw()),e.overflowPunctuation&&this.push(new fe("w:overflowPunct",e.overflowPunctuation));const n=[...e.rightTabStop!==void 0?[{type:Kh.RIGHT,position:e.rightTabStop}]:[],...e.tabStops?e.tabStops:[],...e.leftTabStop!==void 0?[{type:Kh.LEFT,position:e.leftTabStop}]:[]];n.length>0&&this.push(bw(n)),e.bidirectional!==void 0&&this.push(new fe("w:bidi",e.bidirectional)),e.spacing&&this.push(vw(e.spacing)),e.indent&&this.push(Eb(e.indent)),e.contextualSpacing!==void 0&&this.push(new fe("w:contextualSpacing",e.contextualSpacing)),e.alignment&&this.push(j0(e.alignment)),e.outlineLevel!==void 0&&this.push(Cw(e.outlineLevel)),e.suppressLineNumbers!==void 0&&this.push(new fe("w:suppressLineNumbers",e.suppressLineNumbers)),e.autoSpaceEastAsianText!==void 0&&this.push(new fe("w:autoSpaceDN",e.autoSpaceEastAsianText)),e.run&&this.push(new qb(e.run)),e.revision&&this.push(new Uw(e.revision))}push(e){this.root.push(e)}prepForXml(e){if(!(e.viewWrapper instanceof K0))for(const t of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(t.reference,t.instance);return super.prepForXml(e)}},Uw=class extends de{constructor(e){super("w:pPrChange"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date})),this.root.push(new zn(ye(ye({},e),{},{includeIfEmpty:!0})))}},qe=class extends V0{constructor(e){if(super("w:p"),se(this,"properties",void 0),typeof e=="string")return this.properties=new zn({}),this.root.push(this.properties),this.root.push(new ji(e)),this;if(this.properties=new zn(e),this.root.push(this.properties),e.text&&this.root.push(new ji(e.text)),e.children)for(const t of e.children){if(t instanceof Nw){this.root.push(t.start);for(const r of t.children)this.root.push(r);this.root.push(t.end);continue}this.root.push(t)}}prepForXml(e){for(const t of this.root)if(t instanceof Ew){const r=this.root.indexOf(t),n=new Sw(t.options.children,rw());e.viewWrapper.Relationships.addRelationship(n.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",t.options.link,iw.EXTERNAL),this.root[r]=n}return super.prepForXml(e)}addRunToFront(e){return this.root.splice(1,0,e),this}},Lw=e=>new be({name:"w:gridCol",attributes:e!==void 0?{width:{key:"w:w",value:ct(e)}}:void 0}),Y0=class extends de{constructor(e,t){super("w:tblGrid");for(const r of e)this.root.push(Lw(r));t&&this.root.push(new Hw(t))}},jw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{id:"w:id"})}},Hw=class extends de{constructor(e){super("w:tblGridChange"),this.root.push(new jw({id:e.id})),this.root.push(new Y0(e.columnWidths))}},Fw=class extends de{constructor(e){super("w:ins"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date}))}},Iw=class extends de{constructor(e){super("w:del"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date}))}},qw=class extends de{constructor(e){super("w:cellIns"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date}))}},Gw=class extends de{constructor(e){super("w:cellDel"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date}))}},Vw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date",verticalMerge:"w:vMerge",verticalMergeOriginal:"w:vMergeOrig"})}},Kw=class extends de{constructor(e){super("w:cellMerge"),this.root.push(new Vw(e))}},Yw={TOP:"top",CENTER:"center",BOTTOM:"bottom"};ye(ye({},Yw),{},{BOTH:"both"});var X0=e=>new be({name:"w:vAlign",attributes:{verticalAlign:{key:"w:val",value:e}}}),P0=({marginUnitType:e=Hi.DXA,top:t,left:r,bottom:n,right:a})=>[{name:"w:top",size:t},{name:"w:left",size:r},{name:"w:bottom",size:n},{name:"w:right",size:a}].filter(i=>i.size!==void 0).map(({name:i,size:l})=>bs(i,{type:e,size:l})),Xw=e=>{const t=P0(e);if(t.length!==0)return new be({name:"w:tblCellMar",children:t})},Pw=e=>{const t=P0(e);if(t.length!==0)return new be({name:"w:tcMar",children:t})},Hi={AUTO:"auto",DXA:"dxa",PERCENTAGE:"pct"},bs=(e,{type:t=Hi.AUTO,size:r})=>{let n=r;return t===Hi.PERCENTAGE&&typeof r=="number"&&(n=`${r}%`),new be({name:e,attributes:{type:{key:"w:type",value:t},size:{key:"w:w",value:L0(n)}}})},Zw=class extends cn{constructor(e){super("w:tcBorders"),e.top&&this.root.push(Ge("w:top",e.top)),e.start&&this.root.push(Ge("w:start",e.start)),e.left&&this.root.push(Ge("w:left",e.left)),e.bottom&&this.root.push(Ge("w:bottom",e.bottom)),e.end&&this.root.push(Ge("w:end",e.end)),e.right&&this.root.push(Ge("w:right",e.right))}},Ww=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{val:"w:val"})}},Qw=class extends de{constructor(e){super("w:gridSpan"),this.root.push(new Ww({val:dt(e)}))}},Z0={CONTINUE:"continue",RESTART:"restart"},Jw=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{val:"w:val"})}},Yh=class extends de{constructor(e){super("w:vMerge"),this.root.push(new Jw({val:e}))}},$w=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{val:"w:val"})}},e_=class extends de{constructor(e){super("w:textDirection"),this.root.push(new $w({val:e}))}},W0=class extends cn{constructor(e){if(super("w:tcPr",e.includeIfEmpty),e.width&&this.root.push(bs("w:tcW",e.width)),e.columnSpan&&this.root.push(new Qw(e.columnSpan)),e.verticalMerge?this.root.push(new Yh(e.verticalMerge)):e.rowSpan&&e.rowSpan>1&&this.root.push(new Yh(Z0.RESTART)),e.borders&&this.root.push(new Zw(e.borders)),e.shading&&this.root.push(Gs(e.shading)),e.margins){const t=Pw(e.margins);t&&this.root.push(t)}e.textDirection&&this.root.push(new e_(e.textDirection)),e.verticalAlign&&this.root.push(X0(e.verticalAlign)),e.insertion&&this.root.push(new qw(e.insertion)),e.deletion&&this.root.push(new Gw(e.deletion)),e.revision&&this.root.push(new t_(e.revision)),e.cellMerge&&this.root.push(new Kw(e.cellMerge))}},t_=class extends de{constructor(e){super("w:tcPrChange"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date})),this.root.push(new W0(ye(ye({},e),{},{includeIfEmpty:!0})))}},jr=class extends de{constructor(e){super("w:tc"),this.options=e,this.root.push(new W0(e));for(const t of e.children)this.root.push(t)}prepForXml(e){return this.root[this.root.length-1]instanceof qe||this.root.push(new qe({})),super.prepForXml(e)}},Vn={style:nf.NONE,size:0,color:"auto"},Kn={style:nf.SINGLE,size:4,color:"auto"},Q0=class extends de{constructor(e){var t,r,n,a,i,l;super("w:tblBorders"),this.root.push(Ge("w:top",(t=e.top)!==null&&t!==void 0?t:Kn)),this.root.push(Ge("w:left",(r=e.left)!==null&&r!==void 0?r:Kn)),this.root.push(Ge("w:bottom",(n=e.bottom)!==null&&n!==void 0?n:Kn)),this.root.push(Ge("w:right",(a=e.right)!==null&&a!==void 0?a:Kn)),this.root.push(Ge("w:insideH",(i=e.insideHorizontal)!==null&&i!==void 0?i:Kn)),this.root.push(Ge("w:insideV",(l=e.insideVertical)!==null&&l!==void 0?l:Kn))}};se(Q0,"NONE",{top:Vn,bottom:Vn,left:Vn,right:Vn,insideHorizontal:Vn,insideVertical:Vn});var r_=e=>new be({name:"w:tblOverlap",attributes:{val:{key:"w:val",value:e}}}),n_=({horizontalAnchor:e,verticalAnchor:t,absoluteHorizontalPosition:r,relativeHorizontalPosition:n,absoluteVerticalPosition:a,relativeVerticalPosition:i,bottomFromText:l,topFromText:s,leftFromText:u,rightFromText:d,overlap:y})=>new be({name:"w:tblpPr",attributes:{leftFromText:{key:"w:leftFromText",value:u===void 0?void 0:ct(u)},rightFromText:{key:"w:rightFromText",value:d===void 0?void 0:ct(d)},topFromText:{key:"w:topFromText",value:s===void 0?void 0:ct(s)},bottomFromText:{key:"w:bottomFromText",value:l===void 0?void 0:ct(l)},absoluteHorizontalPosition:{key:"w:tblpX",value:r===void 0?void 0:Er(r)},absoluteVerticalPosition:{key:"w:tblpY",value:a===void 0?void 0:Er(a)},horizontalAnchor:{key:"w:horzAnchor",value:e},relativeHorizontalPosition:{key:"w:tblpXSpec",value:n},relativeVerticalPosition:{key:"w:tblpYSpec",value:i},verticalAnchor:{key:"w:vertAnchor",value:t}},children:y?[r_(y)]:void 0}),a_=e=>new be({name:"w:tblLayout",attributes:{type:{key:"w:type",value:e}}}),i_={DXA:"dxa"},J0=({type:e=i_.DXA,value:t})=>new be({name:"w:tblCellSpacing",attributes:{type:{key:"w:type",value:e},value:{key:"w:w",value:L0(t)}}}),l_=({firstRow:e,lastRow:t,firstColumn:r,lastColumn:n,noHBand:a,noVBand:i})=>new be({name:"w:tblLook",attributes:{firstRow:{key:"w:firstRow",value:e},lastRow:{key:"w:lastRow",value:t},firstColumn:{key:"w:firstColumn",value:r},lastColumn:{key:"w:lastColumn",value:n},noHBand:{key:"w:noHBand",value:a},noVBand:{key:"w:noVBand",value:i}}}),$0=class extends cn{constructor(e){if(super("w:tblPr",e.includeIfEmpty),e.style&&this.root.push(new Rn("w:tblStyle",e.style)),e.float&&this.root.push(n_(e.float)),e.visuallyRightToLeft!==void 0&&this.root.push(new fe("w:bidiVisual",e.visuallyRightToLeft)),e.width&&this.root.push(bs("w:tblW",e.width)),e.alignment&&this.root.push(j0(e.alignment)),e.indent&&this.root.push(bs("w:tblInd",e.indent)),e.borders&&this.root.push(new Q0(e.borders)),e.shading&&this.root.push(Gs(e.shading)),e.layout&&this.root.push(a_(e.layout)),e.cellMargin){const t=Xw(e.cellMargin);t&&this.root.push(t)}e.tableLook&&this.root.push(l_(e.tableLook)),e.cellSpacing&&this.root.push(J0(e.cellSpacing)),e.revision&&this.root.push(new s_(e.revision))}},s_=class extends de{constructor(e){super("w:tblPrChange"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date})),this.root.push(new $0(ye(ye({},e),{},{includeIfEmpty:!0})))}},o_=class extends V0{constructor({rows:e,width:t,columnWidths:r=Array(Math.max(...e.map(E=>E.CellCount))).fill(100),columnWidthsRevision:n,margins:a,indent:i,float:l,layout:s,style:u,borders:d,alignment:y,visuallyRightToLeft:g,tableLook:v,cellSpacing:h,revision:_}){super("w:tbl"),this.root.push(new $0({borders:d??{},width:t??{size:100},indent:i,float:l,layout:s,style:u,alignment:y,cellMargin:a,visuallyRightToLeft:g,tableLook:v,cellSpacing:h,revision:_})),this.root.push(new Y0(r,n));for(const E of e)this.root.push(E);e.forEach((E,R)=>{if(R===e.length-1)return;let m=0;E.cells.forEach(f=>{if(f.options.rowSpan&&f.options.rowSpan>1){const p=new jr({rowSpan:f.options.rowSpan-1,columnSpan:f.options.columnSpan,borders:f.options.borders,children:[],verticalMerge:Z0.CONTINUE});e[R+1].addCellToColumnIndex(p,m)}m+=f.options.columnSpan||1})})}},u_=(e,t)=>new be({name:"w:trHeight",attributes:{value:{key:"w:val",value:ct(e)},rule:{key:"w:hRule",value:t}}}),ey=class extends cn{constructor(e){super("w:trPr",e.includeIfEmpty),e.cantSplit!==void 0&&this.root.push(new fe("w:cantSplit",e.cantSplit)),e.tableHeader!==void 0&&this.root.push(new fe("w:tblHeader",e.tableHeader)),e.height&&this.root.push(u_(e.height.value,e.height.rule)),e.cellSpacing&&this.root.push(J0(e.cellSpacing)),e.insertion&&this.root.push(new Fw(e.insertion)),e.deletion&&this.root.push(new Iw(e.deletion)),e.revision&&this.root.push(new c_(e.revision))}},c_=class extends de{constructor(e){super("w:trPrChange"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date})),this.root.push(new ey(ye(ye({},e),{},{includeIfEmpty:!0})))}},Xh=class extends de{constructor(e){super("w:tr"),this.options=e,this.root.push(new ey(e));for(const t of e.children)this.root.push(t)}get CellCount(){return this.options.children.length}get cells(){return this.root.filter(e=>e instanceof jr)}addCellToIndex(e,t){this.root.splice(t+1,0,e)}addCellToColumnIndex(e,t){const r=this.columnIndexToRootIndex(t,!0);this.addCellToIndex(e,r-1)}rootIndexToColumnIndex(e){if(e<1||e>=this.root.length)throw new Error(`cell 'rootIndex' should between 1 to ${this.root.length-1}`);let t=0;for(let r=1;r=this.root.length){if(t)return this.root.length;throw new Error(`cell 'columnIndex' should not great than ${r-1}`)}const a=this.root[n];n+=1,r+=a&&a.options.columnSpan||1}return n-1}},f_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}},h_=class extends de{constructor(){super("Properties"),this.root.push(new f_({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}},d_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{xmlns:"xmlns"})}},yr=(e,t)=>new be({name:"Default",attributes:{contentType:{key:"ContentType",value:e},extension:{key:"Extension",value:t}}}),_t=(e,t)=>new be({name:"Override",attributes:{contentType:{key:"ContentType",value:e},partName:{key:"PartName",value:t}}}),p_=class extends de{constructor(){super("Types"),this.root.push(new d_({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(yr("image/png","png")),this.root.push(yr("image/jpeg","jpeg")),this.root.push(yr("image/jpeg","jpg")),this.root.push(yr("image/bmp","bmp")),this.root.push(yr("image/gif","gif")),this.root.push(yr("image/svg+xml","svg")),this.root.push(yr("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(yr("application/xml","xml")),this.root.push(yr("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(_t("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml","/word/endnotes.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addCommentsExtended(){this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml","/word/commentsExtended.xml"))}addFooter(e){this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(_t("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}},Ph={wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Vs=class extends Se{constructor(e,t){super(ye({Ignorable:t},Object.fromEntries(e.map(r=>[r,Ph[r]])))),se(this,"xmlKeys",ye({Ignorable:"mc:Ignorable"},Object.fromEntries(Object.keys(Ph).map(r=>[r,`xmlns:${r}`]))))}},m_=class extends de{constructor(e){super("cp:coreProperties"),this.root.push(new Vs(["cp","dc","dcterms","dcmitype","xsi"])),e.title&&this.root.push(new yn("dc:title",e.title)),e.subject&&this.root.push(new yn("dc:subject",e.subject)),e.creator&&this.root.push(new yn("dc:creator",e.creator)),e.keywords&&this.root.push(new yn("cp:keywords",e.keywords)),e.description&&this.root.push(new yn("dc:description",e.description)),e.lastModifiedBy&&this.root.push(new yn("cp:lastModifiedBy",e.lastModifiedBy)),e.revision&&this.root.push(new yn("cp:revision",String(e.revision))),this.root.push(new Zh("dcterms:created")),this.root.push(new Zh("dcterms:modified"))}},y_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{type:"xsi:type"})}},Zh=class extends de{constructor(e){super(e),this.root.push(new y_({type:"dcterms:W3CDTF"})),this.root.push(wb(new Date))}},v_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}},g_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{formatId:"fmtid",pid:"pid",name:"name"})}},b_=class extends de{constructor(e,t){super("property"),this.root.push(new g_({formatId:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e.toString(),name:t.name})),this.root.push(new w_(t.value))}},w_=class extends de{constructor(e){super("vt:lpwstr"),this.root.push(e)}},__=class extends de{constructor(e){super("Properties"),se(this,"nextId",void 0),se(this,"properties",[]),this.root.push(new v_({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2;for(const t of e)this.addCustomProperty(t)}prepForXml(e){return this.properties.forEach(t=>this.root.push(t)),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new b_(this.nextId++,e))}},x_=({space:e,count:t,separate:r,equalWidth:n,children:a})=>new be({name:"w:cols",attributes:{space:{key:"w:space",value:e===void 0?void 0:ct(e)},count:{key:"w:num",value:t===void 0?void 0:dt(t)},separate:{key:"w:sep",value:r},equalWidth:{key:"w:equalWidth",value:n}},children:!n&&a?a:void 0}),S_=({type:e,linePitch:t,charSpace:r})=>new be({name:"w:docGrid",attributes:{type:{key:"w:type",value:e},linePitch:{key:"w:linePitch",value:dt(t)},charSpace:{key:"w:charSpace",value:r?dt(r):void 0}}}),ma={DEFAULT:"default",FIRST:"first",EVEN:"even"},Wh={HEADER:"w:headerReference",FOOTER:"w:footerReference"},zo=(e,t)=>new be({name:e,attributes:{type:{key:"w:type",value:t.type||ma.DEFAULT},id:{key:"r:id",value:`rId${t.id}`}}}),E_=({countBy:e,start:t,restart:r,distance:n})=>new be({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:e===void 0?void 0:dt(e)},start:{key:"w:start",value:t===void 0?void 0:dt(t)},restart:{key:"w:restart",value:r},distance:{key:"w:distance",value:n===void 0?void 0:ct(n)}}}),Qh=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}},T_=class extends cn{constructor(e){if(super("w:pgBorders"),!e)return this;e.pageBorders?this.root.push(new Qh({display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder})):this.root.push(new Qh({})),e.pageBorderTop&&this.root.push(Ge("w:top",e.pageBorderTop)),e.pageBorderLeft&&this.root.push(Ge("w:left",e.pageBorderLeft)),e.pageBorderBottom&&this.root.push(Ge("w:bottom",e.pageBorderBottom)),e.pageBorderRight&&this.root.push(Ge("w:right",e.pageBorderRight))}},A_=(e,t,r,n,a,i,l)=>new be({name:"w:pgMar",attributes:{top:{key:"w:top",value:Er(e)},right:{key:"w:right",value:ct(t)},bottom:{key:"w:bottom",value:Er(r)},left:{key:"w:left",value:ct(n)},header:{key:"w:header",value:ct(a)},footer:{key:"w:footer",value:ct(i)},gutter:{key:"w:gutter",value:ct(l)}}}),N_=({start:e,formatType:t,separator:r})=>new be({name:"w:pgNumType",attributes:{start:{key:"w:start",value:e===void 0?void 0:dt(e)},formatType:{key:"w:fmt",value:t},separator:{key:"w:chapSep",value:r}}}),qu={PORTRAIT:"portrait",LANDSCAPE:"landscape"},O_=({width:e,height:t,orientation:r,code:n})=>{const a=ct(e),i=ct(t);return new be({name:"w:pgSz",attributes:{width:{key:"w:w",value:r===qu.LANDSCAPE?i:a},height:{key:"w:h",value:r===qu.LANDSCAPE?a:i},orientation:{key:"w:orient",value:r},code:{key:"w:code",value:n}}})},R_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{val:"w:val"})}},C_=class extends de{constructor(e){super("w:textDirection"),this.root.push(new R_({val:e}))}},D_=e=>new be({name:"w:type",attributes:{val:{key:"w:val",value:e}}}),vn={TOP:1440,RIGHT:1440,BOTTOM:1440,LEFT:1440,HEADER:708,FOOTER:708,GUTTER:0},Uo={WIDTH:11906,HEIGHT:16838,ORIENTATION:qu.PORTRAIT},ty=class extends de{constructor({page:{size:{width:e=Uo.WIDTH,height:t=Uo.HEIGHT,orientation:r=Uo.ORIENTATION,code:n}={},margin:{top:a=vn.TOP,right:i=vn.RIGHT,bottom:l=vn.BOTTOM,left:s=vn.LEFT,header:u=vn.HEADER,footer:d=vn.FOOTER,gutter:y=vn.GUTTER}={},pageNumbers:g={},borders:v,textDirection:h}={},grid:{linePitch:_=360,charSpace:E,type:R}={},headerWrapperGroup:m={},footerWrapperGroup:f={},lineNumbers:p,titlePage:b,verticalAlign:A,column:S,type:B,revision:z}={}){super("w:sectPr"),this.addHeaderFooterGroup(Wh.HEADER,m),this.addHeaderFooterGroup(Wh.FOOTER,f),B&&this.root.push(D_(B)),this.root.push(O_({width:e,height:t,orientation:r,code:n})),this.root.push(A_(a,i,l,s,u,d,y)),v&&this.root.push(new T_(v)),p&&this.root.push(E_(p)),this.root.push(N_(g)),S&&this.root.push(x_(S)),A&&this.root.push(X0(A)),b!==void 0&&this.root.push(new fe("w:titlePg",b)),h&&this.root.push(new C_(h)),z&&this.root.push(new k_(z)),this.root.push(S_({linePitch:_,charSpace:E,type:R}))}addHeaderFooterGroup(e,t){t.default&&this.root.push(zo(e,{type:ma.DEFAULT,id:t.default.View.ReferenceId})),t.first&&this.root.push(zo(e,{type:ma.FIRST,id:t.first.View.ReferenceId})),t.even&&this.root.push(zo(e,{type:ma.EVEN,id:t.even.View.ReferenceId}))}},k_=class extends de{constructor(e){super("w:sectPrChange"),this.root.push(new Xt({id:e.id,author:e.author,date:e.date})),this.root.push(new ty(e))}},B_=class extends de{constructor(){super("w:body"),se(this,"sections",[])}addSection(e){const t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new ty(e))}prepForXml(e){return this.sections.length===1&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(e)}push(e){this.root.push(e)}createSectionParagraph(e){const t=new qe({}),r=new zn({});return r.push(e),t.addChildElement(r),t}},M_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}},z_=class extends de{constructor(e){super("w:background"),this.root.push(new M_({color:e.color===void 0?void 0:Oa(e.color),themeColor:e.themeColor,themeShade:e.themeShade===void 0?void 0:Ih(e.themeShade),themeTint:e.themeTint===void 0?void 0:Ih(e.themeTint)}))}},U_=class extends de{constructor(e){super("w:document"),se(this,"body",void 0),this.root.push(new Vs(["wpc","mc","o","r","m","v","wp14","wp","w10","w","w14","w15","wpg","wpi","wne","wps","cx","cx1","cx2","cx3","cx4","cx5","cx6","cx7","cx8","aink","am3d","w16cex","w16cid","w16","w16sdtdh","w16se"],"w14 w15 wp14")),this.body=new B_,e.background&&this.root.push(new z_(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}},L_=class{constructor(e){se(this,"document",void 0),se(this,"relationships",void 0),this.document=new U_(e),this.relationships=new dn}get View(){return this.document}get Relationships(){return this.relationships}},j_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}},H_=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{type:"w:type",id:"w:id"})}},F_=class extends el{constructor(){super({style:"EndnoteReference"}),this.root.push(new mw)}},Jh={SEPARATOR:"separator",CONTINUATION_SEPARATOR:"continuationSeparator"},Lo=class extends de{constructor(e){super("w:endnote"),this.root.push(new H_({type:e.type,id:e.id}));for(let t=0;t9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new ax({ilvl:dt(e),tentative:1}))}},fx=class extends cx{},hx=class extends de{constructor(e){super("w:multiLevelType"),this.root.push(new pt({val:e}))}},dx=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}},ed=class extends de{constructor(e,t){super("w:abstractNum"),se(this,"id",void 0),this.root.push(new dx({abstractNumId:dt(e),restartNumberingAfterBreak:0})),this.root.push(new hx("hybridMultilevel")),this.id=e;for(const r of t)this.root.push(new fx(r))}},px=class extends de{constructor(e){super("w:abstractNumId"),this.root.push(new pt({val:e}))}},mx=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{numId:"w:numId"})}},td=class extends de{constructor(e){if(super("w:num"),se(this,"numId",void 0),se(this,"reference",void 0),se(this,"instance",void 0),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new mx({numId:dt(e.numId)})),this.root.push(new px(dt(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(const t of e.overrideLevels)this.root.push(new vx(t.num,t.start))}},yx=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{ilvl:"w:ilvl"})}},vx=class extends de{constructor(e,t){super("w:lvlOverride"),this.root.push(new yx({ilvl:e})),t!==void 0&&this.root.push(new bx(t))}},gx=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{val:"w:val"})}},bx=class extends de{constructor(e){super("w:startOverride"),this.root.push(new gx({val:e}))}},wx=class extends de{constructor(e){super("w:numbering"),se(this,"abstractNumberingMap",new Map),se(this,"concreteNumberingMap",new Map),se(this,"referenceConfigMap",new Map),se(this,"abstractNumUniqueNumericId",$b()),se(this,"concreteNumUniqueNumericId",ew()),this.root.push(new Vs(["wpc","mc","o","r","m","v","wp14","wp","w10","w","w14","w15","wpg","wpi","wne","wps"],"w14 w15 wp14"));const t=new ed(this.abstractNumUniqueNumericId(),[{level:0,format:vr.BULLET,text:"●",alignment:$t.LEFT,style:{paragraph:{indent:{left:Zt(.5),hanging:Zt(.25)}}}},{level:1,format:vr.BULLET,text:"○",alignment:$t.LEFT,style:{paragraph:{indent:{left:Zt(1),hanging:Zt(.25)}}}},{level:2,format:vr.BULLET,text:"■",alignment:$t.LEFT,style:{paragraph:{indent:{left:2160,hanging:Zt(.25)}}}},{level:3,format:vr.BULLET,text:"●",alignment:$t.LEFT,style:{paragraph:{indent:{left:2880,hanging:Zt(.25)}}}},{level:4,format:vr.BULLET,text:"○",alignment:$t.LEFT,style:{paragraph:{indent:{left:3600,hanging:Zt(.25)}}}},{level:5,format:vr.BULLET,text:"■",alignment:$t.LEFT,style:{paragraph:{indent:{left:4320,hanging:Zt(.25)}}}},{level:6,format:vr.BULLET,text:"●",alignment:$t.LEFT,style:{paragraph:{indent:{left:5040,hanging:Zt(.25)}}}},{level:7,format:vr.BULLET,text:"●",alignment:$t.LEFT,style:{paragraph:{indent:{left:5760,hanging:Zt(.25)}}}},{level:8,format:vr.BULLET,text:"●",alignment:$t.LEFT,style:{paragraph:{indent:{left:6480,hanging:Zt(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new td({numId:1,abstractNumId:t.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",t);for(const r of e.config)this.abstractNumberingMap.set(r.reference,new ed(this.abstractNumUniqueNumericId(),r.levels)),this.referenceConfigMap.set(r.reference,r.levels)}prepForXml(e){for(const t of this.abstractNumberingMap.values())this.root.push(t);for(const t of this.concreteNumberingMap.values())this.root.push(t);return super.prepForXml(e)}createConcreteNumberingInstance(e,t){const r=this.abstractNumberingMap.get(e);if(!r)return;const n=`${e}-${t}`;if(this.concreteNumberingMap.has(n))return;const a=this.referenceConfigMap.get(e),i=a&&a[0].start,l={numId:this.concreteNumUniqueNumericId(),abstractNumId:r.id,reference:e,instance:t,overrideLevels:[typeof i=="number"&&Number.isInteger(i)?{num:0,start:i}:{num:0,start:1}]};this.concreteNumberingMap.set(n,new td(l))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}},_x=e=>new be({name:"w:compatSetting",attributes:{version:{key:"w:val",value:e},name:{key:"w:name",value:"compatibilityMode"},uri:{key:"w:uri",value:"http://schemas.microsoft.com/office/word"}}}),xx=class extends de{constructor(e){super("w:compat"),e.version&&this.root.push(_x(e.version)),e.useSingleBorderforContiguousCells&&this.root.push(new fe("w:useSingleBorderforContiguousCells",e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new fe("w:wpJustification",e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new fe("w:noTabHangInd",e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new fe("w:noLeading",e.noLeading)),e.spaceForUnderline&&this.root.push(new fe("w:spaceForUL",e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new fe("w:noColumnBalance",e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new fe("w:balanceSingleByteDoubleByteWidth",e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new fe("w:noExtraLineSpacing",e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new fe("w:doNotLeaveBackslashAlone",e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new fe("w:ulTrailSpace",e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new fe("w:doNotExpandShiftReturn",e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new fe("w:spacingInWholePoints",e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new fe("w:lineWrapLikeWord6",e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new fe("w:printBodyTextBeforeHeader",e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new fe("w:printColBlack",e.printColorsBlack)),e.spaceWidth&&this.root.push(new fe("w:wpSpaceWidth",e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new fe("w:showBreaksInFrames",e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new fe("w:subFontBySize",e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new fe("w:suppressBottomSpacing",e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new fe("w:suppressTopSpacing",e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new fe("w:suppressSpacingAtTopOfPage",e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new fe("w:suppressTopSpacingWP",e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new fe("w:suppressSpBfAfterPgBrk",e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new fe("w:swapBordersFacingPages",e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new fe("w:convMailMergeEsc",e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new fe("w:truncateFontHeightsLikeWP6",e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new fe("w:mwSmallCaps",e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new fe("w:usePrinterMetrics",e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new fe("w:doNotSuppressParagraphBorders",e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new fe("w:wrapTrailSpaces",e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new fe("w:footnoteLayoutLikeWW8",e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new fe("w:shapeLayoutLikeWW8",e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new fe("w:alignTablesRowByRow",e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new fe("w:forgetLastTabAlignment",e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new fe("w:adjustLineHeightInTable",e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new fe("w:autoSpaceLikeWord95",e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new fe("w:noSpaceRaiseLower",e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new fe("w:doNotUseHTMLParagraphAutoSpacing",e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new fe("w:layoutRawTableWidth",e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new fe("w:layoutTableRowsApart",e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new fe("w:useWord97LineBreakRules",e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new fe("w:doNotBreakWrappedTables",e.doNotBreakWrappedTables)),e.doNotSnapToGridInCell&&this.root.push(new fe("w:doNotSnapToGridInCell",e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new fe("w:selectFldWithFirstOrLastChar",e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new fe("w:applyBreakingRules",e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new fe("w:doNotWrapTextWithPunct",e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new fe("w:doNotUseEastAsianBreakRules",e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new fe("w:useWord2002TableStyleRules",e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new fe("w:growAutofit",e.growAutofit)),e.useFELayout&&this.root.push(new fe("w:useFELayout",e.useFELayout)),e.useNormalStyleForList&&this.root.push(new fe("w:useNormalStyleForList",e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new fe("w:doNotUseIndentAsNumberingTabStop",e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new fe("w:useAltKinsokuLineBreakRules",e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new fe("w:allowSpaceOfSameStyleInTable",e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new fe("w:doNotSuppressIndentation",e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new fe("w:doNotAutofitConstrainedTables",e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new fe("w:autofitToFirstFixedWidthCell",e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new fe("w:underlineTabInNumList",e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new fe("w:displayHangulFixedWidth",e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new fe("w:splitPgBreakAndParaMark",e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new fe("w:doNotVertAlignCellWithSp",e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new fe("w:doNotBreakConstrainedForcedTable",e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new fe("w:doNotVertAlignInTxbx",e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new fe("w:useAnsiKerningPairs",e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new fe("w:cachedColBalance",e.cachedColumnBalance))}},Sx=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}},Ex=class extends de{constructor(e){var t,r,n,a,i,l,s,u;super("w:settings"),this.root.push(new Sx({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new fe("w:displayBackgroundShape",!0)),e.trackRevisions!==void 0&&this.root.push(new fe("w:trackRevisions",e.trackRevisions)),e.evenAndOddHeaders!==void 0&&this.root.push(new fe("w:evenAndOddHeaders",e.evenAndOddHeaders)),e.updateFields!==void 0&&this.root.push(new fe("w:updateFields",e.updateFields)),e.defaultTabStop!==void 0&&this.root.push(new xi("w:defaultTabStop",e.defaultTabStop)),((t=e.hyphenation)===null||t===void 0?void 0:t.autoHyphenation)!==void 0&&this.root.push(new fe("w:autoHyphenation",e.hyphenation.autoHyphenation)),((r=e.hyphenation)===null||r===void 0?void 0:r.hyphenationZone)!==void 0&&this.root.push(new xi("w:hyphenationZone",e.hyphenation.hyphenationZone)),((n=e.hyphenation)===null||n===void 0?void 0:n.consecutiveHyphenLimit)!==void 0&&this.root.push(new xi("w:consecutiveHyphenLimit",e.hyphenation.consecutiveHyphenLimit)),((a=e.hyphenation)===null||a===void 0?void 0:a.doNotHyphenateCaps)!==void 0&&this.root.push(new fe("w:doNotHyphenateCaps",e.hyphenation.doNotHyphenateCaps)),this.root.push(new xx(ye(ye({},(i=e.compatibility)!==null&&i!==void 0?i:{}),{},{version:(l=(s=(u=e.compatibility)===null||u===void 0?void 0:u.version)!==null&&s!==void 0?s:e.compatibilityModeVersion)!==null&&l!==void 0?l:15})))}},ay=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{val:"w:val"})}},Tx=class extends de{constructor(e){super("w:name"),this.root.push(new ay({val:e}))}},Ax=class extends de{constructor(e){super("w:uiPriority"),this.root.push(new ay({val:dt(e)}))}},Nx=class extends Se{constructor(...e){super(...e),se(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}},iy=class extends de{constructor(e,t){super("w:style"),this.root.push(new Nx(e)),t.name&&this.root.push(new Tx(t.name)),t.basedOn&&this.root.push(new Rn("w:basedOn",t.basedOn)),t.next&&this.root.push(new Rn("w:next",t.next)),t.link&&this.root.push(new Rn("w:link",t.link)),t.uiPriority!==void 0&&this.root.push(new Ax(t.uiPriority)),t.semiHidden!==void 0&&this.root.push(new fe("w:semiHidden",t.semiHidden)),t.unhideWhenUsed!==void 0&&this.root.push(new fe("w:unhideWhenUsed",t.unhideWhenUsed)),t.quickFormat!==void 0&&this.root.push(new fe("w:qFormat",t.quickFormat))}},nl=class extends iy{constructor(e){super({type:"paragraph",styleId:e.id},e),se(this,"paragraphProperties",void 0),se(this,"runProperties",void 0),this.paragraphProperties=new zn(e.paragraph),this.runProperties=new In(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}},qa=class extends iy{constructor(e){super({type:"character",styleId:e.id},ye({uiPriority:99,unhideWhenUsed:!0},e)),se(this,"runProperties",void 0),this.runProperties=new In(e.run),this.root.push(this.runProperties)}},pn=class extends nl{constructor(e){super(ye({basedOn:"Normal",next:"Normal",quickFormat:!0},e))}},Ox=class extends pn{constructor(e){super(ye({id:"Title",name:"Title"},e))}},Rx=class extends pn{constructor(e){super(ye({id:"Heading1",name:"Heading 1"},e))}},Cx=class extends pn{constructor(e){super(ye({id:"Heading2",name:"Heading 2"},e))}},Dx=class extends pn{constructor(e){super(ye({id:"Heading3",name:"Heading 3"},e))}},kx=class extends pn{constructor(e){super(ye({id:"Heading4",name:"Heading 4"},e))}},Bx=class extends pn{constructor(e){super(ye({id:"Heading5",name:"Heading 5"},e))}},Mx=class extends pn{constructor(e){super(ye({id:"Heading6",name:"Heading 6"},e))}},zx=class extends pn{constructor(e){super(ye({id:"Strong",name:"Strong"},e))}},Ux=class extends nl{constructor(e){super(ye({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},e))}},Lx=class extends nl{constructor(e){super(ye({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:Da.AUTO}},run:{size:20}},e))}},jx=class extends qa{constructor(e){super(ye({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}},Hx=class extends qa{constructor(e){super(ye({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},e))}},Fx=class extends nl{constructor(e){super(ye({id:"EndnoteText",name:"endnote text",link:"EndnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:Da.AUTO}},run:{size:20}},e))}},Ix=class extends qa{constructor(e){super(ye({id:"EndnoteReference",name:"endnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}},qx=class extends qa{constructor(e){super(ye({id:"EndnoteTextChar",name:"Endnote Text Char",basedOn:"DefaultParagraphFont",link:"EndnoteText",semiHidden:!0,run:{size:20}},e))}},Gx=class extends qa{constructor(e){super(ye({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:F0.SINGLE}}},e))}},Ho=class extends de{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(const t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(const t of e.paragraphStyles)this.root.push(new nl(t));if(e.characterStyles)for(const t of e.characterStyles)this.root.push(new qa(t))}},Vx=class extends de{constructor(e){super("w:pPrDefault"),this.root.push(new zn(e))}},Kx=class extends de{constructor(e){super("w:rPrDefault"),this.root.push(new In(e))}},Yx=class extends de{constructor(e){super("w:docDefaults"),se(this,"runPropertiesDefaults",void 0),se(this,"paragraphPropertiesDefaults",void 0),this.runPropertiesDefaults=new Kx(e.run),this.paragraphPropertiesDefaults=new Vx(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}},Xx=class{newInstance(e){const t=(0,B0.xml2js)(e,{compact:!1});let r;for(const a of t.elements||[])a.name==="w:styles"&&(r=a);if(r===void 0)throw new Error("can not find styles element");const n=r.elements||[];return{initialStyles:new mb(r.attributes),importedStyles:n.map(a=>tf(a))}}},Fo=class{newInstance(e={}){var t;return{initialStyles:new Vs(["mc","r","w","w14","w15"],"w14 w15"),importedStyles:[new Yx((t=e.document)!==null&&t!==void 0?t:{}),new Ox(ye({run:{size:56}},e.title)),new Rx(ye({run:{color:"2E74B5",size:32}},e.heading1)),new Cx(ye({run:{color:"2E74B5",size:26}},e.heading2)),new Dx(ye({run:{color:"1F4D78",size:24}},e.heading3)),new kx(ye({run:{color:"2E74B5",italics:!0}},e.heading4)),new Bx(ye({run:{color:"2E74B5"}},e.heading5)),new Mx(ye({run:{color:"1F4D78"}},e.heading6)),new zx(ye({run:{bold:!0}},e.strong)),new Ux(e.listParagraph||{}),new Gx(e.hyperlink||{}),new jx(e.footnoteReference||{}),new Lx(e.footnoteText||{}),new Hx(e.footnoteTextChar||{}),new Ix(e.endnoteReference||{}),new Fx(e.endnoteText||{}),new qx(e.endnoteTextChar||{})]}}},Px=class{constructor(e){var t,r,n,a,i,l,s,u,d,y,g,v;if(se(this,"currentRelationshipId",1),se(this,"documentWrapper",void 0),se(this,"headers",[]),se(this,"footers",[]),se(this,"coreProperties",void 0),se(this,"numbering",void 0),se(this,"media",void 0),se(this,"fileRelationships",void 0),se(this,"footnotesWrapper",void 0),se(this,"endnotesWrapper",void 0),se(this,"settings",void 0),se(this,"contentTypes",void 0),se(this,"customProperties",void 0),se(this,"appProperties",void 0),se(this,"styles",void 0),se(this,"comments",void 0),se(this,"commentsExtended",void 0),se(this,"fontWrapper",void 0),this.coreProperties=new m_(ye(ye({},e),{},{creator:(t=e.creator)!==null&&t!==void 0?t:"Un-named",revision:(r=e.revision)!==null&&r!==void 0?r:1,lastModifiedBy:(n=e.lastModifiedBy)!==null&&n!==void 0?n:"Un-named"})),this.numbering=new wx(e.numbering?e.numbering:{config:[]}),this.comments=new cw((a=e.comments)!==null&&a!==void 0?a:{children:[]}),this.comments.ThreadData&&(this.commentsExtended=new pw(this.comments.ThreadData)),this.fileRelationships=new dn,this.customProperties=new __((i=e.customProperties)!==null&&i!==void 0?i:[]),this.appProperties=new h_,this.footnotesWrapper=new $_,this.endnotesWrapper=new V_,this.contentTypes=new p_,this.documentWrapper=new L_({background:e.background}),this.settings=new Ex({compatibilityModeVersion:e.compatabilityModeVersion,compatibility:e.compatibility,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,trackRevisions:(l=e.features)===null||l===void 0?void 0:l.trackRevisions,updateFields:(s=e.features)===null||s===void 0?void 0:s.updateFields,defaultTabStop:e.defaultTabStop,hyphenation:{autoHyphenation:(u=e.hyphenation)===null||u===void 0?void 0:u.autoHyphenation,hyphenationZone:(d=e.hyphenation)===null||d===void 0?void 0:d.hyphenationZone,consecutiveHyphenLimit:(y=e.hyphenation)===null||y===void 0?void 0:y.consecutiveHyphenLimit,doNotHyphenateCaps:(g=e.hyphenation)===null||g===void 0?void 0:g.doNotHyphenateCaps}}),this.media=new nx,e.externalStyles!==void 0){var h;const _=new Fo().newInstance((h=e.styles)===null||h===void 0?void 0:h.default),E=new Xx().newInstance(e.externalStyles);this.styles=new Ho(ye(ye({},E),{},{importedStyles:[..._.importedStyles,...E.importedStyles]}))}else e.styles?this.styles=new Ho(ye(ye({},new Fo().newInstance(e.styles.default)),e.styles)):this.styles=new Ho(new Fo().newInstance());this.addDefaultRelationships();for(const _ of e.sections)this.addSection(_);if(e.footnotes)for(const _ in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(_),e.footnotes[_].children);if(e.endnotes)for(const _ in e.endnotes)this.endnotesWrapper.View.createEndnote(parseFloat(_),e.endnotes[_].children);this.fontWrapper=new K0((v=e.fonts)!==null&&v!==void 0?v:[])}addSection({headers:e={},footers:t={},children:r,properties:n}){this.documentWrapper.View.Body.addSection(ye(ye({},n),{},{headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footerWrapperGroup:{default:t.default?this.createFooter(t.default):void 0,first:t.first?this.createFooter(t.first):void 0,even:t.even?this.createFooter(t.even):void 0}}));for(const a of r)this.documentWrapper.View.add(a)}createHeader(e){const t=new rx(this.media,this.currentRelationshipId++);for(const r of e.options.children)t.add(r);return this.addHeaderToDocument(t),t}createFooter(e){const t=new X_(this.media,this.currentRelationshipId++);for(const r of e.options.children)t.add(r);return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=ma.DEFAULT){this.headers.push({header:e,type:t}),this.documentWrapper.Relationships.addRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,t=ma.DEFAULT){this.footers.push({footer:e,type:t}),this.documentWrapper.Relationships.addRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.addRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.addRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.addRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.addRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes","endnotes.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml"),this.commentsExtended&&(this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.microsoft.com/office/2011/relationships/commentsExtended","commentsExtended.xml"),this.contentTypes.addCommentsExtended())}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Endnotes(){return this.endnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get CommentsExtended(){return this.commentsExtended}get FontTable(){return this.fontWrapper}},Zx=he((e,t)=>{Fa(),hn();/*! - -JSZip v3.10.1 - A JavaScript class for generating and reading zip files - - -(c) 2009-2016 Stuart Knightley -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. - -JSZip uses the library pako released under the MIT license : -https://github.com/nodeca/pako/blob/main/LICENSE -*/(function(r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define([],r):(typeof window<"u"?window:typeof yt<"u"?yt:typeof self<"u"?self:this).JSZip=r()})(function(){return function r(n,a,i){function l(d,y){if(!a[d]){if(!n[d]){var g=typeof xl=="function"&&xl;if(!y&&g)return g(d,!0);if(s)return s(d,!0);var v=new Error("Cannot find module '"+d+"'");throw v.code="MODULE_NOT_FOUND",v}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(_){var E=n[d][1][_];return l(E||_)},h,h.exports,r,n,a,i)}return a[d].exports}for(var s=typeof xl=="function"&&xl,u=0;u>2,h=(3&d)<<4|y>>4,_=1>6:64,E=2>4,y=(15&v)<<4|(h=s.indexOf(u.charAt(E++)))>>2,g=(3&h)<<6|(_=s.indexOf(u.charAt(E++))),f[R++]=d,h!==64&&(f[R++]=y),_!==64&&(f[R++]=g);return f}},{"./support":30,"./utils":32}],2:[function(r,n,a){var i=r("./external"),l=r("./stream/DataWorker"),s=r("./stream/Crc32Probe"),u=r("./stream/DataLengthProbe");function d(y,g,v,h,_){this.compressedSize=y,this.uncompressedSize=g,this.crc32=v,this.compression=h,this.compressedContent=_}d.prototype={getContentWorker:function(){var y=new l(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),g=this;return y.on("end",function(){if(this.streamInfo.data_length!==g.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),y},getCompressedWorker:function(){return new l(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(y,g,v){return y.pipe(new s).pipe(new u("uncompressedSize")).pipe(g.compressWorker(v)).pipe(new u("compressedSize")).withStreamInfo("compression",g)},n.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,n,a){var i=r("./stream/GenericWorker");a.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},a.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,n,a){var i=r("./utils"),l=function(){for(var s,u=[],d=0;d<256;d++){s=d;for(var y=0;y<8;y++)s=1&s?3988292384^s>>>1:s>>>1;u[d]=s}return u}();n.exports=function(s,u){return s!==void 0&&s.length?i.getTypeOf(s)!=="string"?function(d,y,g,v){var h=l,_=v+g;d^=-1;for(var E=v;E<_;E++)d=d>>>8^h[255&(d^y[E])];return-1^d}(0|u,s,s.length,0):function(d,y,g,v){var h=l,_=v+g;d^=-1;for(var E=v;E<_;E++)d=d>>>8^h[255&(d^y.charCodeAt(E))];return-1^d}(0|u,s,s.length,0):0}},{"./utils":32}],5:[function(r,n,a){a.base64=!1,a.binary=!1,a.dir=!1,a.createFolders=!0,a.date=null,a.compression=null,a.compressionOptions=null,a.comment=null,a.unixPermissions=null,a.dosPermissions=null},{}],6:[function(r,n,a){var i=null;i=typeof Promise<"u"?Promise:r("lie"),n.exports={Promise:i}},{lie:37}],7:[function(r,n,a){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=r("pako"),s=r("./utils"),u=r("./stream/GenericWorker"),d=i?"uint8array":"array";function y(g,v){u.call(this,"FlateWorker/"+g),this._pako=null,this._pakoAction=g,this._pakoOptions=v,this.meta={}}a.magic="\b\0",s.inherits(y,u),y.prototype.processChunk=function(g){this.meta=g.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(d,g.data),!1)},y.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},y.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},y.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var g=this;this._pako.onData=function(v){g.push({data:v,meta:g.meta})}},a.compressWorker=function(g){return new y("Deflate",g)},a.uncompressWorker=function(){return new y("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,n,a){function i(h,_){var E,R="";for(E=0;E<_;E++)R+=String.fromCharCode(255&h),h>>>=8;return R}function l(h,_,E,R,m,f){var p,b,A=h.file,S=h.compression,B=f!==d.utf8encode,z=s.transformTo("string",f(A.name)),O=s.transformTo("string",d.utf8encode(A.name)),G=A.comment,ee=s.transformTo("string",f(G)),M=s.transformTo("string",d.utf8encode(G)),K=O.length!==A.name.length,C=M.length!==G.length,P="",X="",V="",re=A.dir,Q=A.date,te={crc32:0,compressedSize:0,uncompressedSize:0};_&&!E||(te.crc32=h.crc32,te.compressedSize=h.compressedSize,te.uncompressedSize=h.uncompressedSize);var Z=0;_&&(Z|=8),B||!K&&!C||(Z|=2048);var D=0,I=0;re&&(D|=16),m==="UNIX"?(I=798,D|=function($,ue){var N=$;return $||(N=ue?16893:33204),(65535&N)<<16}(A.unixPermissions,re)):(I=20,D|=function($){return 63&($||0)}(A.dosPermissions)),p=Q.getUTCHours(),p<<=6,p|=Q.getUTCMinutes(),p<<=5,p|=Q.getUTCSeconds()/2,b=Q.getUTCFullYear()-1980,b<<=4,b|=Q.getUTCMonth()+1,b<<=5,b|=Q.getUTCDate(),K&&(X=i(1,1)+i(y(z),4)+O,P+="up"+i(X.length,2)+X),C&&(V=i(1,1)+i(y(ee),4)+M,P+="uc"+i(V.length,2)+V);var Y="";return Y+=` -\0`,Y+=i(Z,2),Y+=S.magic,Y+=i(p,2),Y+=i(b,2),Y+=i(te.crc32,4),Y+=i(te.compressedSize,4),Y+=i(te.uncompressedSize,4),Y+=i(z.length,2),Y+=i(P.length,2),{fileRecord:g.LOCAL_FILE_HEADER+Y+z+P,dirRecord:g.CENTRAL_FILE_HEADER+i(I,2)+Y+i(ee.length,2)+"\0\0\0\0"+i(D,4)+i(R,4)+z+P+ee}}var s=r("../utils"),u=r("../stream/GenericWorker"),d=r("../utf8"),y=r("../crc32"),g=r("../signature");function v(h,_,E,R){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=_,this.zipPlatform=E,this.encodeFileName=R,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(v,u),v.prototype.push=function(h){var _=h.meta.percent||0,E=this.entriesCount,R=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,u.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:E?(_+100*(E-R-1))/E:100}}))},v.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var _=this.streamFiles&&!h.file.dir;if(_){var E=l(h,_,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:E.fileRecord,meta:{percent:0}})}else this.accumulate=!0},v.prototype.closedSource=function(h){this.accumulate=!1;var _=this.streamFiles&&!h.file.dir,E=l(h,_,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(E.dirRecord),_)this.push({data:function(R){return g.DATA_DESCRIPTOR+i(R.crc32,4)+i(R.compressedSize,4)+i(R.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:E.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},v.prototype.flush=function(){for(var h=this.bytesWritten,_=0;_=this.index;u--)d=(d<<8)+this.byteAt(u);return this.index+=s,d},readString:function(s){return i.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},n.exports=l},{"../utils":32}],19:[function(r,n,a){var i=r("./Uint8ArrayReader");function l(s){i.call(this,s)}r("../utils").inherits(l,i),l.prototype.readData=function(s){this.checkOffset(s);var u=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,u},n.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(r,n,a){var i=r("./DataReader");function l(s){i.call(this,s)}r("../utils").inherits(l,i),l.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},l.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},l.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},l.prototype.readData=function(s){this.checkOffset(s);var u=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,u},n.exports=l},{"../utils":32,"./DataReader":18}],21:[function(r,n,a){var i=r("./ArrayReader");function l(s){i.call(this,s)}r("../utils").inherits(l,i),l.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,u},n.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(r,n,a){var i=r("../utils"),l=r("../support"),s=r("./ArrayReader"),u=r("./StringReader"),d=r("./NodeBufferReader"),y=r("./Uint8ArrayReader");n.exports=function(g){var v=i.getTypeOf(g);return i.checkSupport(v),v!=="string"||l.uint8array?v==="nodebuffer"?new d(g):l.uint8array?new y(i.transformTo("uint8array",g)):new s(i.transformTo("array",g)):new u(g)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(r,n,a){a.LOCAL_FILE_HEADER="PK",a.CENTRAL_FILE_HEADER="PK",a.CENTRAL_DIRECTORY_END="PK",a.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",a.ZIP64_CENTRAL_DIRECTORY_END="PK",a.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(r,n,a){var i=r("./GenericWorker"),l=r("../utils");function s(u){i.call(this,"ConvertWorker to "+u),this.destType=u}l.inherits(s,i),s.prototype.processChunk=function(u){this.push({data:l.transformTo(this.destType,u.data),meta:u.meta})},n.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(r,n,a){var i=r("./GenericWorker"),l=r("../crc32");function s(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r("../utils").inherits(s,i),s.prototype.processChunk=function(u){this.streamInfo.crc32=l(u.data,this.streamInfo.crc32||0),this.push(u)},n.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(r,n,a){var i=r("../utils"),l=r("./GenericWorker");function s(u){l.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}i.inherits(s,l),s.prototype.processChunk=function(u){if(u){var d=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=d+u.data.length}l.prototype.processChunk.call(this,u)},n.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(r,n,a){var i=r("../utils"),l=r("./GenericWorker");function s(u){l.call(this,"DataWorker");var d=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(y){d.dataIsReady=!0,d.data=y,d.max=y&&y.length||0,d.type=i.getTypeOf(y),d.isPaused||d._tickAndRepeat()},function(y){d.error(y)})}i.inherits(s,l),s.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,d=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,d);break;case"uint8array":u=this.data.subarray(this.index,d);break;case"array":case"nodebuffer":u=this.data.slice(this.index,d)}return this.index=d,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(r,n,a){function i(l){this.name=l||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(l){this.emit("data",l)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(l){this.emit("error",l)}return!0},error:function(l){return!this.isFinished&&(this.isPaused?this.generatedError=l:(this.isFinished=!0,this.emit("error",l),this.previous&&this.previous.error(l),this.cleanUp()),!0)},on:function(l,s){return this._listeners[l].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,s){if(this._listeners[l])for(var u=0;u "+l:l}},n.exports=i},{}],29:[function(r,n,a){var i=r("../utils"),l=r("./ConvertWorker"),s=r("./GenericWorker"),u=r("../base64"),d=r("../support"),y=r("../external"),g=null;if(d.nodestream)try{g=r("../nodejs/NodejsStreamOutputAdapter")}catch{}function v(_,E){return new y.Promise(function(R,m){var f=[],p=_._internalType,b=_._outputType,A=_._mimeType;_.on("data",function(S,B){f.push(S),E&&E(B)}).on("error",function(S){f=[],m(S)}).on("end",function(){try{R(function(S,B,z){switch(S){case"blob":return i.newBlob(i.transformTo("arraybuffer",B),z);case"base64":return u.encode(B);default:return i.transformTo(S,B)}}(b,function(S,B){var z,O=0,G=null,ee=0;for(z=0;z"u")a.blob=!1;else{var i=new ArrayBuffer(0);try{a.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(i),a.blob=l.getBlob("application/zip").size===0}catch{a.blob=!1}}}try{a.nodestream=!!r("readable-stream").Readable}catch{a.nodestream=!1}},{"readable-stream":16}],31:[function(r,n,a){for(var i=r("./utils"),l=r("./support"),s=r("./nodejsUtils"),u=r("./stream/GenericWorker"),d=new Array(256),y=0;y<256;y++)d[y]=252<=y?6:248<=y?5:240<=y?4:224<=y?3:192<=y?2:1;d[254]=d[254]=1;function g(){u.call(this,"utf-8 decode"),this.leftOver=null}function v(){u.call(this,"utf-8 encode")}a.utf8encode=function(h){return l.nodebuffer?s.newBufferFrom(h,"utf-8"):function(_){var E,R,m,f,p,b=_.length,A=0;for(f=0;f>>6:(R<65536?E[p++]=224|R>>>12:(E[p++]=240|R>>>18,E[p++]=128|R>>>12&63),E[p++]=128|R>>>6&63),E[p++]=128|63&R);return E}(h)},a.utf8decode=function(h){return l.nodebuffer?i.transformTo("nodebuffer",h).toString("utf-8"):function(_){var E,R,m,f,p=_.length,b=new Array(2*p);for(E=R=0;E>10&1023,b[R++]=56320|1023&m)}return b.length!==R&&(b.subarray?b=b.subarray(0,R):b.length=R),i.applyFromCharCode(b)}(h=i.transformTo(l.uint8array?"uint8array":"array",h))},i.inherits(g,u),g.prototype.processChunk=function(h){var _=i.transformTo(l.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var E=_;(_=new Uint8Array(E.length+this.leftOver.length)).set(this.leftOver,0),_.set(E,this.leftOver.length)}else _=this.leftOver.concat(_);this.leftOver=null}var R=function(f,p){var b;for((p=p||f.length)>f.length&&(p=f.length),b=p-1;0<=b&&(192&f[b])==128;)b--;return b<0||b===0?p:b+d[f[b]]>p?b:p}(_),m=_;R!==_.length&&(l.uint8array?(m=_.subarray(0,R),this.leftOver=_.subarray(R,_.length)):(m=_.slice(0,R),this.leftOver=_.slice(R,_.length))),this.push({data:a.utf8decode(m),meta:h.meta})},g.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=g,i.inherits(v,u),v.prototype.processChunk=function(h){this.push({data:a.utf8encode(h.data),meta:h.meta})},a.Utf8EncodeWorker=v},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(r,n,a){var i=r("./support"),l=r("./base64"),s=r("./nodejsUtils"),u=r("./external");function d(E){return E}function y(E,R){for(var m=0;m>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=i(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var _,E,R,m=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4>>6:(h<65536?v[R++]=224|h>>>12:(v[R++]=240|h>>>18,v[R++]=128|h>>>12&63),v[R++]=128|h>>>6&63),v[R++]=128|63&h);return v},a.buf2binstring=function(g){return y(g,g.length)},a.binstring2buf=function(g){for(var v=new i.Buf8(g.length),h=0,_=v.length;h<_;h++)v[h]=g.charCodeAt(h);return v},a.buf2string=function(g,v){var h,_,E,R,m=v||g.length,f=new Array(2*m);for(h=_=0;h>10&1023,f[_++]=56320|1023&E)}return y(f,_)},a.utf8border=function(g,v){var h;for((v=v||g.length)>g.length&&(v=g.length),h=v-1;0<=h&&(192&g[h])==128;)h--;return h<0||h===0?v:h+u[g[h]]>v?h:v}},{"./common":41}],43:[function(r,n,a){n.exports=function(i,l,s,u){for(var d=65535&i|0,y=i>>>16&65535|0,g=0;s!==0;){for(s-=g=2e3>>1:l>>>1;s[u]=l}return s}();n.exports=function(l,s,u,d){var y=i,g=d+u;l^=-1;for(var v=d;v>>8^y[255&(l^s[v])];return-1^l}},{}],46:[function(r,n,a){var i,l=r("../utils/common"),s=r("./trees"),u=r("./adler32"),d=r("./crc32"),y=r("./messages"),g=0,v=4,h=0,_=-2,E=-1,R=4,m=2,f=8,p=9,b=286,A=30,S=19,B=2*b+1,z=15,O=3,G=258,ee=G+O+1,M=42,K=113,C=1,P=2,X=3,V=4;function re(w,J){return w.msg=y[J],J}function Q(w){return(w<<1)-(4w.avail_out&&(k=w.avail_out),k!==0&&(l.arraySet(w.output,J.pending_buf,J.pending_out,k,w.next_out),w.next_out+=k,J.pending_out+=k,w.total_out+=k,w.avail_out-=k,J.pending-=k,J.pending===0&&(J.pending_out=0))}function D(w,J){s._tr_flush_block(w,0<=w.block_start?w.block_start:-1,w.strstart-w.block_start,J),w.block_start=w.strstart,Z(w.strm)}function I(w,J){w.pending_buf[w.pending++]=J}function Y(w,J){w.pending_buf[w.pending++]=J>>>8&255,w.pending_buf[w.pending++]=255&J}function $(w,J){var k,o,c=w.max_chain_length,T=w.strstart,H=w.prev_length,W=w.nice_match,q=w.strstart>w.w_size-ee?w.strstart-(w.w_size-ee):0,ae=w.window,ce=w.w_mask,ie=w.prev,pe=w.strstart+G,me=ae[T+H-1],ve=ae[T+H];w.prev_length>=w.good_match&&(c>>=2),W>w.lookahead&&(W=w.lookahead);do if(ae[(k=J)+H]===ve&&ae[k+H-1]===me&&ae[k]===ae[T]&&ae[++k]===ae[T+1]){T+=2,k++;do;while(ae[++T]===ae[++k]&&ae[++T]===ae[++k]&&ae[++T]===ae[++k]&&ae[++T]===ae[++k]&&ae[++T]===ae[++k]&&ae[++T]===ae[++k]&&ae[++T]===ae[++k]&&ae[++T]===ae[++k]&&Tq&&--c!=0);return H<=w.lookahead?H:w.lookahead}function ue(w){var J,k,o,c,T,H,W,q,ae,ce,ie=w.w_size;do{if(c=w.window_size-w.lookahead-w.strstart,w.strstart>=ie+(ie-ee)){for(l.arraySet(w.window,w.window,ie,ie,0),w.match_start-=ie,w.strstart-=ie,w.block_start-=ie,J=k=w.hash_size;o=w.head[--J],w.head[J]=ie<=o?o-ie:0,--k;);for(J=k=ie;o=w.prev[--J],w.prev[J]=ie<=o?o-ie:0,--k;);c+=ie}if(w.strm.avail_in===0)break;if(H=w.strm,W=w.window,q=w.strstart+w.lookahead,ae=c,ce=void 0,ce=H.avail_in,ae=O)for(T=w.strstart-w.insert,w.ins_h=w.window[T],w.ins_h=(w.ins_h<=O&&(w.ins_h=(w.ins_h<=O)if(o=s._tr_tally(w,w.strstart-w.match_start,w.match_length-O),w.lookahead-=w.match_length,w.match_length<=w.max_lazy_match&&w.lookahead>=O){for(w.match_length--;w.strstart++,w.ins_h=(w.ins_h<=O&&(w.ins_h=(w.ins_h<=O&&w.match_length<=w.prev_length){for(c=w.strstart+w.lookahead-O,o=s._tr_tally(w,w.strstart-1-w.prev_match,w.prev_length-O),w.lookahead-=w.prev_length-1,w.prev_length-=2;++w.strstart<=c&&(w.ins_h=(w.ins_h<w.pending_buf_size-5&&(k=w.pending_buf_size-5);;){if(w.lookahead<=1){if(ue(w),w.lookahead===0&&J===g)return C;if(w.lookahead===0)break}w.strstart+=w.lookahead,w.lookahead=0;var o=w.block_start+k;if((w.strstart===0||w.strstart>=o)&&(w.lookahead=w.strstart-o,w.strstart=o,D(w,!1),w.strm.avail_out===0)||w.strstart-w.block_start>=w.w_size-ee&&(D(w,!1),w.strm.avail_out===0))return C}return w.insert=0,J===v?(D(w,!0),w.strm.avail_out===0?X:V):(w.strstart>w.block_start&&(D(w,!1),w.strm.avail_out),C)}),new F(4,4,8,4,N),new F(4,5,16,8,N),new F(4,6,32,32,N),new F(4,4,16,16,x),new F(8,16,32,32,x),new F(8,16,128,128,x),new F(8,32,128,256,x),new F(32,128,258,1024,x),new F(32,258,258,4096,x)],a.deflateInit=function(w,J){return L(w,J,f,15,8,0)},a.deflateInit2=L,a.deflateReset=U,a.deflateResetKeep=ne,a.deflateSetHeader=function(w,J){return w&&w.state?w.state.wrap!==2?_:(w.state.gzhead=J,h):_},a.deflate=function(w,J){var k,o,c,T;if(!w||!w.state||5>8&255),I(o,o.gzhead.time>>16&255),I(o,o.gzhead.time>>24&255),I(o,o.level===9?2:2<=o.strategy||o.level<2?4:0),I(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(I(o,255&o.gzhead.extra.length),I(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(w.adler=d(w.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(I(o,0),I(o,0),I(o,0),I(o,0),I(o,0),I(o,o.level===9?2:2<=o.strategy||o.level<2?4:0),I(o,3),o.status=K);else{var H=f+(o.w_bits-8<<4)<<8;H|=(2<=o.strategy||o.level<2?0:o.level<6?1:o.level===6?2:3)<<6,o.strstart!==0&&(H|=32),H+=31-H%31,o.status=K,Y(o,H),o.strstart!==0&&(Y(o,w.adler>>>16),Y(o,65535&w.adler)),w.adler=1}if(o.status===69)if(o.gzhead.extra){for(c=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>c&&(w.adler=d(w.adler,o.pending_buf,o.pending-c,c)),Z(w),c=o.pending,o.pending!==o.pending_buf_size));)I(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>c&&(w.adler=d(w.adler,o.pending_buf,o.pending-c,c)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(o.status===73)if(o.gzhead.name){c=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>c&&(w.adler=d(w.adler,o.pending_buf,o.pending-c,c)),Z(w),c=o.pending,o.pending===o.pending_buf_size)){T=1;break}T=o.gzindexc&&(w.adler=d(w.adler,o.pending_buf,o.pending-c,c)),T===0&&(o.gzindex=0,o.status=91)}else o.status=91;if(o.status===91)if(o.gzhead.comment){c=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>c&&(w.adler=d(w.adler,o.pending_buf,o.pending-c,c)),Z(w),c=o.pending,o.pending===o.pending_buf_size)){T=1;break}T=o.gzindexc&&(w.adler=d(w.adler,o.pending_buf,o.pending-c,c)),T===0&&(o.status=103)}else o.status=103;if(o.status===103&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&Z(w),o.pending+2<=o.pending_buf_size&&(I(o,255&w.adler),I(o,w.adler>>8&255),w.adler=0,o.status=K)):o.status=K),o.pending!==0){if(Z(w),w.avail_out===0)return o.last_flush=-1,h}else if(w.avail_in===0&&Q(J)<=Q(k)&&J!==v)return re(w,-5);if(o.status===666&&w.avail_in!==0)return re(w,-5);if(w.avail_in!==0||o.lookahead!==0||J!==g&&o.status!==666){var W=o.strategy===2?function(q,ae){for(var ce;;){if(q.lookahead===0&&(ue(q),q.lookahead===0)){if(ae===g)return C;break}if(q.match_length=0,ce=s._tr_tally(q,0,q.window[q.strstart]),q.lookahead--,q.strstart++,ce&&(D(q,!1),q.strm.avail_out===0))return C}return q.insert=0,ae===v?(D(q,!0),q.strm.avail_out===0?X:V):q.last_lit&&(D(q,!1),q.strm.avail_out===0)?C:P}(o,J):o.strategy===3?function(q,ae){for(var ce,ie,pe,me,ve=q.window;;){if(q.lookahead<=G){if(ue(q),q.lookahead<=G&&ae===g)return C;if(q.lookahead===0)break}if(q.match_length=0,q.lookahead>=O&&0q.lookahead&&(q.match_length=q.lookahead)}if(q.match_length>=O?(ce=s._tr_tally(q,1,q.match_length-O),q.lookahead-=q.match_length,q.strstart+=q.match_length,q.match_length=0):(ce=s._tr_tally(q,0,q.window[q.strstart]),q.lookahead--,q.strstart++),ce&&(D(q,!1),q.strm.avail_out===0))return C}return q.insert=0,ae===v?(D(q,!0),q.strm.avail_out===0?X:V):q.last_lit&&(D(q,!1),q.strm.avail_out===0)?C:P}(o,J):i[o.level].func(o,J);if(W!==X&&W!==V||(o.status=666),W===C||W===X)return w.avail_out===0&&(o.last_flush=-1),h;if(W===P&&(J===1?s._tr_align(o):J!==5&&(s._tr_stored_block(o,0,0,!1),J===3&&(te(o.head),o.lookahead===0&&(o.strstart=0,o.block_start=0,o.insert=0))),Z(w),w.avail_out===0))return o.last_flush=-1,h}return J!==v?h:o.wrap<=0?1:(o.wrap===2?(I(o,255&w.adler),I(o,w.adler>>8&255),I(o,w.adler>>16&255),I(o,w.adler>>24&255),I(o,255&w.total_in),I(o,w.total_in>>8&255),I(o,w.total_in>>16&255),I(o,w.total_in>>24&255)):(Y(o,w.adler>>>16),Y(o,65535&w.adler)),Z(w),0=k.w_size&&(T===0&&(te(k.head),k.strstart=0,k.block_start=0,k.insert=0),ae=new l.Buf8(k.w_size),l.arraySet(ae,J,ce-k.w_size,k.w_size,0),J=ae,ce=k.w_size),H=w.avail_in,W=w.next_in,q=w.input,w.avail_in=ce,w.next_in=0,w.input=J,ue(k);k.lookahead>=O;){for(o=k.strstart,c=k.lookahead-(O-1);k.ins_h=(k.ins_h<>>=O=z>>>24,p-=O,(O=z>>>16&255)===0)P[y++]=65535&z;else{if(!(16&O)){if(!(64&O)){z=b[(65535&z)+(f&(1<>>=O,p-=O),p<15&&(f+=C[u++]<>>=O=z>>>24,p-=O,!(16&(O=z>>>16&255))){if(!(64&O)){z=A[(65535&z)+(f&(1<>>=O,p-=O,(O=y-g)>3,f&=(1<<(p-=G<<3))-1,i.next_in=u,i.next_out=y,i.avail_in=u>>24&255)+(M>>>8&65280)+((65280&M)<<8)+((255&M)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function p(M){var K;return M&&M.state?(K=M.state,M.total_in=M.total_out=K.total=0,M.msg="",K.wrap&&(M.adler=1&K.wrap),K.mode=_,K.last=0,K.havedict=0,K.dmax=32768,K.head=null,K.hold=0,K.bits=0,K.lencode=K.lendyn=new i.Buf32(E),K.distcode=K.distdyn=new i.Buf32(R),K.sane=1,K.back=-1,v):h}function b(M){var K;return M&&M.state?((K=M.state).wsize=0,K.whave=0,K.wnext=0,p(M)):h}function A(M,K){var C,P;return M&&M.state?(P=M.state,K<0?(C=0,K=-K):(C=1+(K>>4),K<48&&(K&=15)),K&&(K<8||15=V.wsize?(i.arraySet(V.window,K,C-V.wsize,V.wsize,0),V.wnext=0,V.whave=V.wsize):(P<(X=V.wsize-V.wnext)&&(X=P),i.arraySet(V.window,K,C-P,X,V.wnext),(P-=X)?(i.arraySet(V.window,K,C-P,P,0),V.wnext=P,V.whave=V.wsize):(V.wnext+=X,V.wnext===V.wsize&&(V.wnext=0),V.whave>>8&255,C.check=s(C.check,T,2,0),D=Z=0,C.mode=2;break}if(C.flags=0,C.head&&(C.head.done=!1),!(1&C.wrap)||(((255&Z)<<8)+(Z>>8))%31){M.msg="incorrect header check",C.mode=30;break}if((15&Z)!=8){M.msg="unknown compression method",C.mode=30;break}if(D-=4,w=8+(15&(Z>>>=4)),C.wbits===0)C.wbits=w;else if(w>C.wbits){M.msg="invalid window size",C.mode=30;break}C.dmax=1<>8&1),512&C.flags&&(T[0]=255&Z,T[1]=Z>>>8&255,C.check=s(C.check,T,2,0)),D=Z=0,C.mode=3;case 3:for(;D<32;){if(Q===0)break e;Q--,Z+=P[V++]<>>8&255,T[2]=Z>>>16&255,T[3]=Z>>>24&255,C.check=s(C.check,T,4,0)),D=Z=0,C.mode=4;case 4:for(;D<16;){if(Q===0)break e;Q--,Z+=P[V++]<>8),512&C.flags&&(T[0]=255&Z,T[1]=Z>>>8&255,C.check=s(C.check,T,2,0)),D=Z=0,C.mode=5;case 5:if(1024&C.flags){for(;D<16;){if(Q===0)break e;Q--,Z+=P[V++]<>>8&255,C.check=s(C.check,T,2,0)),D=Z=0}else C.head&&(C.head.extra=null);C.mode=6;case 6:if(1024&C.flags&&(Q<($=C.length)&&($=Q),$&&(C.head&&(w=C.head.extra_len-C.length,C.head.extra||(C.head.extra=new Array(C.head.extra_len)),i.arraySet(C.head.extra,P,V,$,w)),512&C.flags&&(C.check=s(C.check,P,$,V)),Q-=$,V+=$,C.length-=$),C.length))break e;C.length=0,C.mode=7;case 7:if(2048&C.flags){if(Q===0)break e;for($=0;w=P[V+$++],C.head&&w&&C.length<65536&&(C.head.name+=String.fromCharCode(w)),w&&$>9&1,C.head.done=!0),M.adler=C.check=0,C.mode=12;break;case 10:for(;D<32;){if(Q===0)break e;Q--,Z+=P[V++]<>>=7&D,D-=7&D,C.mode=27;break}for(;D<3;){if(Q===0)break e;Q--,Z+=P[V++]<>>=1)){case 0:C.mode=14;break;case 1:if(G(C),C.mode=20,K!==6)break;Z>>>=2,D-=2;break e;case 2:C.mode=17;break;case 3:M.msg="invalid block type",C.mode=30}Z>>>=2,D-=2;break;case 14:for(Z>>>=7&D,D-=7&D;D<32;){if(Q===0)break e;Q--,Z+=P[V++]<>>16^65535)){M.msg="invalid stored block lengths",C.mode=30;break}if(C.length=65535&Z,D=Z=0,C.mode=15,K===6)break e;case 15:C.mode=16;case 16:if($=C.length){if(Q<$&&($=Q),te<$&&($=te),$===0)break e;i.arraySet(X,P,V,$,re),Q-=$,V+=$,te-=$,re+=$,C.length-=$;break}C.mode=12;break;case 17:for(;D<14;){if(Q===0)break e;Q--,Z+=P[V++]<>>=5,D-=5,C.ndist=1+(31&Z),Z>>>=5,D-=5,C.ncode=4+(15&Z),Z>>>=4,D-=4,286>>=3,D-=3}for(;C.have<19;)C.lens[H[C.have++]]=0;if(C.lencode=C.lendyn,C.lenbits=7,k={bits:C.lenbits},J=d(0,C.lens,0,19,C.lencode,0,C.work,k),C.lenbits=k.bits,J){M.msg="invalid code lengths set",C.mode=30;break}C.have=0,C.mode=19;case 19:for(;C.have>>16&255,j=65535&c,!((x=c>>>24)<=D);){if(Q===0)break e;Q--,Z+=P[V++]<>>=x,D-=x,C.lens[C.have++]=j;else{if(j===16){for(o=x+2;D>>=x,D-=x,C.have===0){M.msg="invalid bit length repeat",C.mode=30;break}w=C.lens[C.have-1],$=3+(3&Z),Z>>>=2,D-=2}else if(j===17){for(o=x+3;D>>=x)),Z>>>=3,D-=3}else{for(o=x+7;D>>=x)),Z>>>=7,D-=7}if(C.have+$>C.nlen+C.ndist){M.msg="invalid bit length repeat",C.mode=30;break}for(;$--;)C.lens[C.have++]=w}}if(C.mode===30)break;if(C.lens[256]===0){M.msg="invalid code -- missing end-of-block",C.mode=30;break}if(C.lenbits=9,k={bits:C.lenbits},J=d(y,C.lens,0,C.nlen,C.lencode,0,C.work,k),C.lenbits=k.bits,J){M.msg="invalid literal/lengths set",C.mode=30;break}if(C.distbits=6,C.distcode=C.distdyn,k={bits:C.distbits},J=d(g,C.lens,C.nlen,C.ndist,C.distcode,0,C.work,k),C.distbits=k.bits,J){M.msg="invalid distances set",C.mode=30;break}if(C.mode=20,K===6)break e;case 20:C.mode=21;case 21:if(6<=Q&&258<=te){M.next_out=re,M.avail_out=te,M.next_in=V,M.avail_in=Q,C.hold=Z,C.bits=D,u(M,Y),re=M.next_out,X=M.output,te=M.avail_out,V=M.next_in,P=M.input,Q=M.avail_in,Z=C.hold,D=C.bits,C.mode===12&&(C.back=-1);break}for(C.back=0;F=(c=C.lencode[Z&(1<>>16&255,j=65535&c,!((x=c>>>24)<=D);){if(Q===0)break e;Q--,Z+=P[V++]<>ne)])>>>16&255,j=65535&c,!(ne+(x=c>>>24)<=D);){if(Q===0)break e;Q--,Z+=P[V++]<>>=ne,D-=ne,C.back+=ne}if(Z>>>=x,D-=x,C.back+=x,C.length=j,F===0){C.mode=26;break}if(32&F){C.back=-1,C.mode=12;break}if(64&F){M.msg="invalid literal/length code",C.mode=30;break}C.extra=15&F,C.mode=22;case 22:if(C.extra){for(o=C.extra;D>>=C.extra,D-=C.extra,C.back+=C.extra}C.was=C.length,C.mode=23;case 23:for(;F=(c=C.distcode[Z&(1<>>16&255,j=65535&c,!((x=c>>>24)<=D);){if(Q===0)break e;Q--,Z+=P[V++]<>ne)])>>>16&255,j=65535&c,!(ne+(x=c>>>24)<=D);){if(Q===0)break e;Q--,Z+=P[V++]<>>=ne,D-=ne,C.back+=ne}if(Z>>>=x,D-=x,C.back+=x,64&F){M.msg="invalid distance code",C.mode=30;break}C.offset=j,C.extra=15&F,C.mode=24;case 24:if(C.extra){for(o=C.extra;D>>=C.extra,D-=C.extra,C.back+=C.extra}if(C.offset>C.dmax){M.msg="invalid distance too far back",C.mode=30;break}C.mode=25;case 25:if(te===0)break e;if($=Y-te,C.offset>$){if(($=C.offset-$)>C.whave&&C.sane){M.msg="invalid distance too far back",C.mode=30;break}ue=$>C.wnext?($-=C.wnext,C.wsize-$):C.wnext-$,$>C.length&&($=C.length),N=C.window}else N=X,ue=re-C.offset,$=C.length;for(te<$&&($=te),te-=$,C.length-=$;X[re++]=N[ue++],--$;);C.length===0&&(C.mode=21);break;case 26:if(te===0)break e;X[re++]=C.length,te--,C.mode=21;break;case 27:if(C.wrap){for(;D<32;){if(Q===0)break e;Q--,Z|=P[V++]<B?(O=ue[N+R[K]],D[I+R[K]]):(O=96,0),f=1<>re)+(p-=f)]=z<<24|O<<16|G|0,p!==0;);for(f=1<>=1;if(f!==0?(Z&=f-1,Z+=f):Z=0,K++,--Y[M]==0){if(M===P)break;M=g[v+R[K]]}if(X>>7)]}function I(c,T){c.pending_buf[c.pending++]=255&T,c.pending_buf[c.pending++]=T>>>8&255}function Y(c,T,H){c.bi_valid>m-H?(c.bi_buf|=T<>m-c.bi_valid,c.bi_valid+=H-m):(c.bi_buf|=T<>>=1,H<<=1,0<--T;);return H>>>1}function N(c,T,H){var W,q,ae=new Array(R+1),ce=0;for(W=1;W<=R;W++)ae[W]=ce=ce+H[W-1]<<1;for(q=0;q<=T;q++){var ie=c[2*q+1];ie!==0&&(c[2*q]=ue(ae[ie]++,ie))}}function x(c){var T;for(T=0;T>1;1<=H;H--)ne(c,ae,H);for(q=pe;H=c.heap[1],c.heap[1]=c.heap[c.heap_len--],ne(c,ae,1),W=c.heap[1],c.heap[--c.heap_max]=H,c.heap[--c.heap_max]=W,ae[2*q]=ae[2*H]+ae[2*W],c.depth[q]=(c.depth[H]>=c.depth[W]?c.depth[H]:c.depth[W])+1,ae[2*H+1]=ae[2*W+1]=q,c.heap[1]=q++,ne(c,ae,1),2<=c.heap_len;);c.heap[--c.heap_max]=c.heap[1],function(ve,rt){var Mr,Jt,Ga,Xe,al,Ks,cr=rt.dyn_tree,of=rt.max_code,sy=rt.stat_desc.static_tree,oy=rt.stat_desc.has_stree,uy=rt.stat_desc.extra_bits,uf=rt.stat_desc.extra_base,Va=rt.stat_desc.max_length,il=0;for(Xe=0;Xe<=R;Xe++)ve.bl_count[Xe]=0;for(cr[2*ve.heap[ve.heap_max]+1]=0,Mr=ve.heap_max+1;Mr>=7;q>>=1)if(1&me&&ie.dyn_ltree[2*pe]!==0)return l;if(ie.dyn_ltree[18]!==0||ie.dyn_ltree[20]!==0||ie.dyn_ltree[26]!==0)return s;for(pe=32;pe>>3,(ae=c.static_len+3+7>>>3)<=q&&(q=ae)):q=ae=H+5,H+4<=q&&T!==-1?o(c,T,H,W):c.strategy===4||ae===q?(Y(c,2+(W?1:0),3),U(c,ee,M)):(Y(c,4+(W?1:0),3),function(ie,pe,me,ve){var rt;for(Y(ie,pe-257,5),Y(ie,me-1,5),Y(ie,ve-4,4),rt=0;rt>>8&255,c.pending_buf[c.d_buf+2*c.last_lit+1]=255&T,c.pending_buf[c.l_buf+c.last_lit]=255&H,c.last_lit++,T===0?c.dyn_ltree[2*H]++:(c.matches++,T--,c.dyn_ltree[2*(C[H]+g+1)]++,c.dyn_dtree[2*D(T)]++),c.last_lit===c.lit_bufsize-1},a._tr_align=function(c){Y(c,2,3),$(c,p,ee),function(T){T.bi_valid===16?(I(T,T.bi_buf),T.bi_buf=0,T.bi_valid=0):8<=T.bi_valid&&(T.pending_buf[T.pending++]=255&T.bi_buf,T.bi_buf>>=8,T.bi_valid-=8)}(c)}},{"../utils/common":41}],53:[function(r,n,a){n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(r,n,a){(function(i){(function(l,s){if(!l.setImmediate){var u,d,y,g,v=1,h={},_=!1,E=l.document,R=Object.getPrototypeOf&&Object.getPrototypeOf(l);R=R&&R.setTimeout?R:l,u={}.toString.call(l.process)==="[object process]"?function(b){xe.nextTick(function(){f(b)})}:function(){if(l.postMessage&&!l.importScripts){var b=!0,A=l.onmessage;return l.onmessage=function(){b=!1},l.postMessage("","*"),l.onmessage=A,b}}()?(g="setImmediate$"+Math.random()+"$",l.addEventListener?l.addEventListener("message",p,!1):l.attachEvent("onmessage",p),function(b){l.postMessage(g+b,"*")}):l.MessageChannel?((y=new MessageChannel).port1.onmessage=function(b){f(b.data)},function(b){y.port2.postMessage(b)}):E&&"onreadystatechange"in E.createElement("script")?(d=E.documentElement,function(b){var A=E.createElement("script");A.onreadystatechange=function(){f(b),A.onreadystatechange=null,d.removeChild(A),A=null},d.appendChild(A)}):function(b){setTimeout(f,0,b)},R.setImmediate=function(b){typeof b!="function"&&(b=new Function(""+b));for(var A=new Array(arguments.length-1),S=0;S"u"?i===void 0?this:i:self)}).call(this,typeof yt<"u"?yt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}),Wx=he((e,t)=>{var r={"&":"&",'"':""","'":"'","<":"<",">":">"};function n(a){return a&&a.replace?a.replace(/([&"<>'])/g,function(i,l){return r[l]}):a}t.exports=n}),Le=Kc(he((e,t)=>{hn();var r=Wx(),n=Jc().Stream,a=" ";function i(g,v){typeof v!="object"&&(v={indent:v});var h=v.stream?new n:null,_="",E=!1,R=v.indent?v.indent===!0?a:v.indent:"",m=!0;function f(B){m?xe.nextTick(B):B()}function p(B,z){if(z!==void 0&&(_+=z),B&&!E&&(h=h||new n,E=!0),B&&E){var O=_;f(function(){h.emit("data",O)}),_=""}}function b(B,z){d(p,u(B,R,R?1:0),z)}function A(){if(h){var B=_;f(function(){h.emit("data",B),h.emit("end"),h.readable=!1,h.emit("close")})}}function S(B){var z={version:"1.0",encoding:B.encoding||"UTF-8"};B.standalone&&(z.standalone=B.standalone),b({"?xml":{_attr:z}}),_=_.replace("/>","?>")}return f(function(){m=!1}),v.declaration&&S(v.declaration),g&&g.forEach?g.forEach(function(B,z){var O;z+1===g.length&&(O=A),b(B,O)}):b(g,A),h?(h.readable=!0,h):_}function l(){var g={_elem:u(Array.prototype.slice.call(arguments))};return g.push=function(v){if(!this.append)throw new Error("not assigned to a parent!");var h=this,_=this._elem.indent;d(this.append,u(v,_,this._elem.icount+(_?1:0)),function(){h.append(!0)})},g.close=function(v){v!==void 0&&this.push(v),this.end&&this.end()},g}function s(g,v){return new Array(v||0).join(g||"")}function u(g,v,h){h=h||0;var _=s(v,h),E,R=g,m=!1;if(typeof g=="object"&&(E=Object.keys(g)[0],R=g[E],R&&R._elem))return R._elem.name=E,R._elem.icount=h,R._elem.indent=v,R._elem.indents=_,R._elem.interrupt=R,R._elem;var f=[],p=[],b;function A(S){Object.keys(S).forEach(function(B){f.push(y(B,S[B]))})}switch(typeof R){case"object":if(R===null)break;R._attr&&A(R._attr),R._cdata&&p.push(("/g,"]]]]>")+"]]>"),R.forEach&&(b=!1,p.push(""),R.forEach(function(S){typeof S=="object"?Object.keys(S)[0]=="_attr"?A(S._attr):p.push(u(S,v,h+1)):(p.pop(),b=!0,p.push(r(S)))}),b||p.push(""));break;default:p.push(r(R))}return{name:E,interrupt:m,attributes:f,content:p,icount:h,indents:_,indent:v}}function d(g,v,h){if(typeof v!="object")return g(!1,v);var _=v.interrupt?1:v.content.length;function E(){for(;v.content.length;){var m=v.content.shift();if(m!==void 0){if(R(m))return;d(g,m)}}g(!1,(_>1?v.indents:"")+(v.name?"":"")+(v.indent&&!h?` -`:"")),h&&h()}function R(m){return m.interrupt?(m.interrupt.append=g,m.interrupt.end=E,m.interrupt=!1,g(!0),!0):!1}if(g(!1,v.indents+(v.name?"<"+v.name:"")+(v.attributes.length?" "+v.attributes.join(" "):"")+(_?v.name?">":"":v.name?"/>":"")+(v.indent&&_>1?` -`:"")),!_)return g(!1,v.indent?` -`:"");R(v)||E()}function y(g,v){return g+'="'+r(v)+'"'}t.exports=i,t.exports.element=t.exports.Element=l})()),Qx=Kc(Zx()),Jx=Jc(),ei=0,Io=32,$x=32,eS=(e,t)=>{const r=t.replace(/-/g,"");if(r.length!==$x)throw new Error(`Error: Cannot extract GUID from font filename: ${t}`);const n=r.replace(/(..)/g,"$1 ").trim().split(" ").map(l=>parseInt(l,16));n.reverse();const a=e.slice(ei,Io).map((l,s)=>l^n[s%n.length]),i=new Uint8Array(ei+a.length+Math.max(0,e.length-Io));return i.set(e.slice(0,ei)),i.set(a,ei),i.set(e.slice(Io),ei+a.length),i},tS=class{format(e,t={stack:[]}){const r=e.prepForXml(t);if(r)return r;throw Error("XMLComponent did not format correctly")}},rS=class{replace(e,t,r){let n=e;return t.forEach((a,i)=>{n=n.replace(new RegExp(`{${a.fileName}}`,"g"),(r+i).toString())}),n}getMediaData(e,t){return t.Array.filter(r=>e.search(`{${r.fileName}}`)>0)}},nS=class{replace(e,t){let r=e;for(const n of t)r=r.replace(new RegExp(`{${n.reference}-${n.instance}}`,"g"),n.numId.toString());return r}},aS=class{constructor(){se(this,"formatter",void 0),se(this,"imageReplacer",void 0),se(this,"numberingReplacer",void 0),this.formatter=new tS,this.imageReplacer=new rS,this.numberingReplacer=new nS}compile(e,t,r=[]){const n=new Qx.default,a=this.xmlifyFile(e,t),i=new Map(Object.entries(a));for(const[,l]of i)if(Array.isArray(l))for(const s of l)n.file(s.path,Bo(s.data));else n.file(l.path,Bo(l.data));for(const l of r)n.file(l.path,Bo(l.data));for(const l of e.Media.Array)l.type!=="svg"?n.file(`word/media/${l.fileName}`,l.data):(n.file(`word/media/${l.fileName}`,l.data),n.file(`word/media/${l.fallback.fileName}`,l.fallback.data));for(const[l,{data:s,fontKey:u}]of e.FontTable.fontOptionsWithKey.entries())n.file(`word/fonts/font${l+1}.odttf`,eS(s,u));return n}xmlifyFile(e,t){const r=e.Document.Relationships.RelationshipCount+1,n=(0,Le.default)(this.formatter.format(e.Document.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),a=e.Comments.Relationships.RelationshipCount+1,i=(0,Le.default)(this.formatter.format(e.Comments,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),l=e.FootNotes.Relationships.RelationshipCount+1,s=(0,Le.default)(this.formatter.format(e.FootNotes.View,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),u=this.imageReplacer.getMediaData(n,e.Media),d=this.imageReplacer.getMediaData(i,e.Media),y=this.imageReplacer.getMediaData(s,e.Media);return ye(ye({Relationships:{data:(u.forEach((g,v)=>{e.Document.Relationships.addRelationship(r+v,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${g.fileName}`)}),e.Document.Relationships.addRelationship(e.Document.Relationships.RelationshipCount+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable","fontTable.xml"),(0,Le.default)(this.formatter.format(e.Document.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const g=this.imageReplacer.replace(n,u,r);return this.numberingReplacer.replace(g,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const g=(0,Le.default)(this.formatter.format(e.Styles,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(g,e.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:(0,Le.default)(this.formatter.format(e.CoreProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:(0,Le.default)(this.formatter.format(e.Numbering,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:(0,Le.default)(this.formatter.format(e.FileRelationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((g,v)=>{const h=(0,Le.default)(this.formatter.format(g.View,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(h,e.Media).forEach((_,E)=>{g.Relationships.addRelationship(E,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${_.fileName}`)}),{data:(0,Le.default)(this.formatter.format(g.Relationships,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${v+1}.xml.rels`}}),FooterRelationships:e.Footers.map((g,v)=>{const h=(0,Le.default)(this.formatter.format(g.View,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(h,e.Media).forEach((_,E)=>{g.Relationships.addRelationship(E,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${_.fileName}`)}),{data:(0,Le.default)(this.formatter.format(g.Relationships,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${v+1}.xml.rels`}}),Headers:e.Headers.map((g,v)=>{const h=(0,Le.default)(this.formatter.format(g.View,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),_=this.imageReplacer.getMediaData(h,e.Media),E=this.imageReplacer.replace(h,_,0);return{data:this.numberingReplacer.replace(E,e.Numbering.ConcreteNumbering),path:`word/header${v+1}.xml`}}),Footers:e.Footers.map((g,v)=>{const h=(0,Le.default)(this.formatter.format(g.View,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),_=this.imageReplacer.getMediaData(h,e.Media),E=this.imageReplacer.replace(h,_,0);return{data:this.numberingReplacer.replace(E,e.Numbering.ConcreteNumbering),path:`word/footer${v+1}.xml`}}),ContentTypes:{data:(0,Le.default)(this.formatter.format(e.ContentTypes,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:(0,Le.default)(this.formatter.format(e.CustomProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:(0,Le.default)(this.formatter.format(e.AppProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:(()=>{const g=this.imageReplacer.replace(s,y,l);return this.numberingReplacer.replace(g,e.Numbering.ConcreteNumbering)})(),path:"word/footnotes.xml"},FootNotesRelationships:{data:(y.forEach((g,v)=>{e.FootNotes.Relationships.addRelationship(l+v,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${g.fileName}`)}),(0,Le.default)(this.formatter.format(e.FootNotes.Relationships,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/footnotes.xml.rels"},Endnotes:{data:(0,Le.default)(this.formatter.format(e.Endnotes.View,{viewWrapper:e.Endnotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/endnotes.xml"},EndnotesRelationships:{data:(0,Le.default)(this.formatter.format(e.Endnotes.Relationships,{viewWrapper:e.Endnotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/endnotes.xml.rels"},Settings:{data:(0,Le.default)(this.formatter.format(e.Settings,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:(()=>{const g=this.imageReplacer.replace(i,d,a);return this.numberingReplacer.replace(g,e.Numbering.ConcreteNumbering)})(),path:"word/comments.xml"},CommentsRelationships:{data:(d.forEach((g,v)=>{e.Comments.Relationships.addRelationship(a+v,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${g.fileName}`)}),(0,Le.default)(this.formatter.format(e.Comments.Relationships,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/comments.xml.rels"}},e.CommentsExtended?{CommentsExtended:{data:(0,Le.default)(this.formatter.format(e.CommentsExtended,{viewWrapper:{View:e.CommentsExtended,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/commentsExtended.xml"}}:{}),{},{FontTable:{data:(0,Le.default)(this.formatter.format(e.FontTable.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:(0,Le.default)(this.formatter.format(e.FontTable.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/fontTable.xml.rels"}})}};function rd(e,t,r,n,a,i,l){try{var s=e[i](l),u=s.value}catch(d){r(d);return}s.done?t(u):Promise.resolve(u).then(n,a)}function iS(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var i=e.apply(t,r);function l(u){rd(i,n,a,l,s,"next",u)}function s(u){rd(i,n,a,l,s,"throw",u)}l(void 0)})}}var lS={WITH_2_BLANKS:" "},nd=e=>e===!0?lS.WITH_2_BLANKS:e===!1?void 0:e,ly=class Zn{static pack(t,r,n){var a=this;return iS(function*(i,l,s,u=[]){return a.compiler.compile(i,nd(s),u).generateAsync({type:l,mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}).apply(this,arguments)}static toString(t,r,n=[]){return Zn.pack(t,"string",r,n)}static toBuffer(t,r,n=[]){return Zn.pack(t,"nodebuffer",r,n)}static toBase64String(t,r,n=[]){return Zn.pack(t,"base64",r,n)}static toBlob(t,r,n=[]){return Zn.pack(t,"blob",r,n)}static toArrayBuffer(t,r,n=[]){return Zn.pack(t,"arraybuffer",r,n)}static toStream(t,r,n=[]){const a=new Jx.Stream;return this.compiler.compile(t,nd(r),n).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(i=>{a.emit("data",i),a.emit("end")}),a}};se(ly,"compiler",new aS);const qo=[{name:"Matthew",abbrev:"MAT"},{name:"Mark",abbrev:"MRK"},{name:"Luke",abbrev:"LUK"},{name:"John",abbrev:"JHN"},{name:"Acts",abbrev:"ACT"},{name:"Romans",abbrev:"ROM"},{name:"1 Corinthians",abbrev:"1CO"},{name:"2 Corinthians",abbrev:"2CO"},{name:"Galatians",abbrev:"GAL"},{name:"Ephesians",abbrev:"EPH"},{name:"Philippians",abbrev:"PHP"},{name:"Colossians",abbrev:"COL"},{name:"1 Thessalonians",abbrev:"1TH"},{name:"2 Thessalonians",abbrev:"2TH"},{name:"1 Timothy",abbrev:"1TI"},{name:"2 Timothy",abbrev:"2TI"},{name:"Titus",abbrev:"TIT"},{name:"Philemon",abbrev:"PHM"},{name:"Hebrews",abbrev:"HEB"},{name:"James",abbrev:"JAS"},{name:"1 Peter",abbrev:"1PE"},{name:"2 Peter",abbrev:"2PE"},{name:"1 John",abbrev:"1JN"},{name:"2 John",abbrev:"2JN"},{name:"3 John",abbrev:"3JN"},{name:"Jude",abbrev:"JUD"},{name:"Revelation",abbrev:"REV"}],ad=(e,t,r)=>`bible-study-${e}-${t}-${r}`,id=()=>{var e;return((e=crypto.randomUUID)==null?void 0:e.call(crypto))??`${Date.now()}-${Math.random()}`};function sS(e){const t=` - body { font-family: Georgia, serif; color: #0f172a; margin: 0; padding: 32px; } - .page { max-width: 900px; margin: auto; } - h1, h2 { font-family: Georgia, serif; } - h1 { margin-bottom: 0.5rem; } - .chunk { margin-bottom: 2rem; padding: 1.25rem 1.5rem; border: 1px solid #cbd5e1; border-radius: 0.75rem; background: #ffffff; } - .verse { margin: 0 0 0.75rem; line-height: 1.7; } - .scripture-ref { font-weight: 700; margin-bottom: 0.75rem; } - .notes, .greek { margin-top: 1rem; } - .greek table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; } - .greek th, .greek td { border: 1px solid #d1d5db; padding: 0.65rem; text-align: left; } - .greek th { background: #f8fafc; } - .definition { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.6; } - .definition-block { margin-top: 1rem; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #f8fafc; } - `,r=e.chunks.map(n=>{const a=n.startVerse===n.endVerse?`${e.book} ${e.chapter}:${n.startVerse}`:`${e.book} ${e.chapter}:${n.startVerse}-${n.endVerse}`,i=e.verses.filter(y=>y.number>=n.startVerse&&y.number<=n.endVerse).map(y=>`

${y.number} ${y.text}

`).join(""),l=n.notes.trim().replace(/\n/g,"
")||"No notes.",s=n.greekWords.map(y=>` - - ${y.strongNumber} - ${y.lexeme||""} - ${y.transliteration||""} - ${y.partOfSpeech||""} - ${y.shortDefinition||""} - - `).join(""),u=oS(s),d=n.greekWords.filter(y=>y.definitionHtml).map(y=>` -
-

${y.strongNumber} — ${y.lexeme||""}

-
${y.definitionHtml}
-
- `).join("");return` -
-
${a}
- ${i} -
STUDY NOTES:

${l}

-
GREEK WORDS: - ${s?u:"

No Greek word notes.

"} - ${d} -
-
- `}).join("");return` - - - - - ${e.title} - - - -
-

${e.title}

-

${e.translation} — ${e.book} ${e.chapter}

- ${r} -
- -`}function oS(e){return` - - - - - - - - - - - - ${e} - -
Strong'sGreekTransliterationPart of SpeechShort Definition
- `}function uS(e){const t=/Part\(s\) of speech:\s*([^<]+)/i.exec(e||"");return t&&t[1]?t[1].trim():""}function cS(e=""){const r=new DOMParser().parseFromString(e,"text/html"),n=[];return r.body.childNodes.forEach(a=>{if(a.nodeType===Node.TEXT_NODE){n.push(a.textContent||"");return}if(a.nodeName==="BR"||a.nodeName==="P"){n.push(a.textContent||""),n.push(` -`);return}n.push(a.textContent||"")}),n.join("").replace(/\n{2,}/g,` -`).trim()}function ld(e){return e.split(/\n+/).map(t=>t.trim()).filter(Boolean).map(t=>new qe({children:[new ji({text:t})]}))}function Gu(e){return typeof e=="string"?e:Array.isArray(e)?e.map(Gu).join(""):e&&typeof e=="object"?e.lineBreak||e.type==="line_break"?` -`:Array.isArray(e.content)?Gu(e.content):"":""}function fS(e){var r;if(e!=null&&e.verses&&Array.isArray(e.verses))return e.verses.map(n=>({number:n.number,text:n.text}));const t=(r=e==null?void 0:e.chapter)==null?void 0:r.content;return Array.isArray(t)?t.filter(n=>(n==null?void 0:n.type)==="verse").map(n=>({number:n.number,text:Gu(n.content).replace(/\s+/g," ").trim()})):[]}const hS=()=>{const[e,t]=lt.useState(["BSB"]),[r,n]=lt.useState({translation:"BSB",book:"Titus",bookAbbrev:"TIT",chapter:"1",title:"Titus 1 Study"}),[a,i]=lt.useState(!1),[l,s]=lt.useState(null),[u,d]=lt.useState(""),[y,g]=lt.useState(null),[v,h]=lt.useState(null),[_,E]=lt.useState(!1),[R,m]=lt.useState(""),[f,p]=lt.useState(""),b=lt.useRef(null);lt.useEffect(()=>{fetch("https://bible.helloao.org/api/available_translations.json").then(D=>D.json()).then(D=>{Array.isArray(D)&&D.length>0&&t(D)}).catch(()=>{})},[]),lt.useEffect(()=>{a||n(D=>({...D,title:`${D.book} ${D.chapter} Study`}))},[r.book,r.chapter,a]),lt.useEffect(()=>{if(l)return b.current&&window.clearTimeout(b.current),b.current=window.setTimeout(()=>{const D=ad(l.translation,l.bookAbbrev,l.chapter);window.localStorage.setItem(D,JSON.stringify(l)),d("Saved"),window.setTimeout(()=>d(""),1400)},1e3),()=>{b.current&&window.clearTimeout(b.current)}},[l]);const A=(D,I)=>{if(D==="book"){const Y=qo.find($=>$.abbrev===I)??qo[0];n($=>({...$,book:Y.name,bookAbbrev:Y.abbrev}))}else n(Y=>({...Y,[D]:I}))},S=D=>({translation:r.translation,book:r.book,bookAbbrev:r.bookAbbrev,chapter:r.chapter,title:r.title,verses:D,chunks:[],selectedChunkId:null}),B=async()=>{if(!r.bookAbbrev||!r.chapter){m("Please choose a book and chapter.");return}m(""),E(!0);try{const D=await fetch(`https://bible.helloao.org/api/${r.translation}/${r.bookAbbrev}/${r.chapter}.json`);if(!D.ok)throw new Error("Unable to load chapter.");const I=await D.json(),Y=fS(I);if(!I||!Array.isArray(Y)||Y.length===0)throw new Error("Invalid Bible data returned.");const $=ad(r.translation,r.bookAbbrev,r.chapter),ue=window.localStorage.getItem($);if(ue){const N=JSON.parse(ue);if(N&&N.bookAbbrev===r.bookAbbrev&&N.chapter===r.chapter&&window.confirm("A saved study exists for this chapter. Resume saved project?")){s(N),E(!1);return}}s(S(Y))}catch(D){m(D.message||"Failed to load chapter.")}finally{E(!1)}},z=D=>{s(I=>I&&D(I))},O=(D,I)=>{if(!l)return;if(l.chunks.find(ue=>ue.startVerse===D&&ue.endVerse===I)){p("That chunk already exists."),window.setTimeout(()=>p(""),1800);return}const $={id:id(),startVerse:D,endVerse:I,notes:"",greekWords:[]};z(ue=>({...ue,chunks:[...ue.chunks,$],selectedChunkId:$.id}))},G=(D,I)=>{if(I.shiftKey&&y!==null){const Y=Math.min(y,D),$=Math.max(y,D);O(Y,$),g(null),h(null);return}g(D),h(D)},ee=(l==null?void 0:l.chunks.find(D=>D.id===l.selectedChunkId))??null,M=(D,I)=>{z(Y=>({...Y,chunks:Y.chunks.map($=>$.id===D?{...$,...I}:$)}))},K=(D,I,Y)=>{z($=>({...$,chunks:$.chunks.map(ue=>ue.id!==D?ue:{...ue,greekWords:ue.greekWords.map(N=>N.id===I?{...N,...Y}:N)})}))},C=D=>{const I={id:id(),query:"",strongNumber:"",lexeme:"",transliteration:"",partOfSpeech:"",shortDefinition:"",definitionHtml:"",loading:!1};z(Y=>({...Y,chunks:Y.chunks.map($=>$.id===D?{...$,greekWords:[...$.greekWords,I]}:$)}))},P=(D,I)=>{z(Y=>({...Y,chunks:Y.chunks.map($=>$.id===D?{...$,greekWords:$.greekWords.filter(ue=>ue.id!==I)}:$)}))},X=async(D,I)=>{const Y=l==null?void 0:l.chunks.find(ue=>ue.id===D),$=Y==null?void 0:Y.greekWords.find(ue=>ue.id===I);if(!(!$||!$.query.trim())){K(D,I,{loading:!0});try{const ue=encodeURIComponent($.query.trim()),N=await fetch(`https://bolls.life/dictionary-definition/BDBT/${ue}/`);if(!N.ok)throw new Error("Lookup failed.");const x=await N.json();if(!Array.isArray(x)||x.length===0){K(D,I,{strongNumber:"",shortDefinition:"No definition found.",definitionHtml:""});return}const F=x[0],j=uS(F.definition||"");K(D,I,{strongNumber:F.topic||$.query,lexeme:F.lexeme||"",transliteration:F.transliteration||"",partOfSpeech:j||$.partOfSpeech||"",shortDefinition:F.short_definition||"",definitionHtml:F.definition||""})}catch{K(D,I,{shortDefinition:"Lookup failed."})}finally{K(D,I,{loading:!1})}}},V=(D,I)=>{z(Y=>{const $=Y.chunks.findIndex(F=>F.id===D);if($<0)return Y;const ue=$+I;if(ue<0||ue>=Y.chunks.length)return Y;const N=[...Y.chunks],[x]=N.splice($,1);return N.splice(ue,0,x),{...Y,chunks:N}})},re=D=>{z(I=>{var ue;const Y=I.chunks.filter(N=>N.id!==D),$=I.selectedChunkId===D?((ue=Y[0])==null?void 0:ue.id)??null:I.selectedChunkId;return{...I,chunks:Y,selectedChunkId:$}})},Q=()=>{if(!l)return;const D=sS(l),I=new Blob([D],{type:"text/html;charset=utf-8"}),Y=URL.createObjectURL(I),$=document.createElement("a");$.href=Y,$.download=`${l.book}-${l.chapter}-study.html`,document.body.appendChild($),$.click(),document.body.removeChild($),URL.revokeObjectURL(Y)},te=async()=>{if(!l)return;const D=[new qe({text:l.title,heading:Vh.TITLE}),new qe({text:`${l.translation} — ${l.book} ${l.chapter}`,spacing:{after:300}})];l.chunks.forEach(N=>{const x=N.startVerse===N.endVerse?`${l.book} ${l.chapter}:${N.startVerse}`:`${l.book} ${l.chapter}:${N.startVerse}-${N.endVerse}`;if(D.push(new qe({text:x,heading:Vh.HEADING_2})),l.verses.filter(F=>F.number>=N.startVerse&&F.number<=N.endVerse).forEach(F=>{D.push(new qe({children:[new ji({text:`${F.number}. `,bold:!0}),new ji({text:F.text})]}))}),D.push(new qe({text:"STUDY NOTES:",spacing:{before:240,after:120},bold:!0})),D.push(...ld(N.notes||"No notes.")),D.push(new qe({text:"GREEK WORDS:",spacing:{before:240,after:120},bold:!0})),N.greekWords.length>0){const F=[new Xh({tableHeader:!0,children:["Strong","Greek","Transliteration","Part of Speech","Short Definition"].map(j=>new jr({width:{size:20,type:Hi.PERCENTAGE},children:[new qe({text:j,bold:!0})]}))}),...N.greekWords.map(j=>new Xh({children:[new jr({children:[new qe(j.strongNumber||"")]}),new jr({children:[new qe(j.lexeme||"")]}),new jr({children:[new qe(j.transliteration||"")]}),new jr({children:[new qe(j.partOfSpeech||"")]}),new jr({children:[new qe(j.shortDefinition||"")]})]}))];D.push(new o_({rows:F,width:{size:100,type:Hi.PERCENTAGE}})),N.greekWords.forEach(j=>{j.definitionHtml&&(D.push(new qe({text:`${j.strongNumber} — ${j.lexeme||""}`,spacing:{before:180,after:120},bold:!0})),D.push(...ld(cS(j.definitionHtml))))})}else D.push(new qe("No Greek word notes."));D.push(new qe({text:"",spacing:{after:300}}))});const I=new Px({sections:[{children:D}]}),Y=await ly.toBlob(I),$=URL.createObjectURL(Y),ue=document.createElement("a");ue.href=$,ue.download=`${l.book}-${l.chapter}-study.docx`,document.body.appendChild(ue),ue.click(),document.body.removeChild(ue),URL.revokeObjectURL($)},Z=(D,I)=>D===I?`${D}`:`${D}-${I}`;return le.jsxs("div",{className:"min-h-screen bg-slate-50 text-slate-900",children:[le.jsx("header",{className:"border-b border-slate-200 bg-slate-900 text-white shadow-sm",children:le.jsxs("div",{className:"mx-auto flex max-w-7xl items-center justify-between px-4 py-5 sm:px-6 lg:px-8",children:[le.jsxs("div",{children:[le.jsx("p",{className:"text-sm uppercase tracking-[0.24em] text-slate-300",children:"Bible Study Project"}),le.jsx("h1",{className:"mt-2 text-2xl font-semibold",children:l?l.title:"Create a new chapter study"})]}),le.jsxs("div",{className:"flex items-center gap-3",children:[l&&le.jsx("button",{type:"button",onClick:()=>{s(null),g(null),h(null),m(""),p("")},className:"rounded-md border border-white/15 bg-white/10 px-4 py-2 text-sm text-white transition hover:bg-white/15",children:"New Project"}),l&&le.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[le.jsx("button",{type:"button",onClick:Q,className:"rounded-md bg-sky-500 px-4 py-2 text-sm font-medium text-white shadow-sm transition hover:bg-sky-400",children:"Export HTML"}),le.jsx("button",{type:"button",onClick:te,className:"rounded-md bg-emerald-500 px-4 py-2 text-sm font-medium text-white shadow-sm transition hover:bg-emerald-400",children:"Export DOCX"})]}),le.jsx("div",{className:"text-right text-sm text-slate-300",children:_?le.jsx("span",{children:"Loading…"}):u?le.jsx("span",{className:"text-emerald-300",children:u}):le.jsx("span",{children:" "})})]})]})}),le.jsx("main",{className:"mx-auto max-w-7xl px-4 py-8 sm:px-6 lg:px-8",children:l?le.jsx("section",{className:"space-y-8",children:le.jsxs("div",{className:"grid gap-8 xl:grid-cols-[1.8fr_1fr]",children:[le.jsxs("div",{className:"rounded-3xl border border-slate-200 bg-white p-6 shadow-panel",children:[le.jsxs("div",{className:"flex items-start justify-between gap-4",children:[le.jsxs("div",{children:[le.jsx("p",{className:"text-sm font-medium text-slate-500",children:"Scripture & Chunks"}),le.jsxs("h2",{className:"mt-2 text-xl font-semibold text-slate-900",children:[l.book," ",l.chapter," (",l.translation,")"]})]}),le.jsx("div",{className:"rounded-2xl bg-slate-100 px-3 py-2 text-sm text-slate-700",children:f||"Shift-click a second verse to create a chunk."})]}),le.jsxs("div",{className:"mt-6 grid gap-6 lg:grid-cols-[1.25fr_0.75fr]",children:[le.jsxs("div",{className:"rounded-3xl border border-slate-200 bg-slate-50 p-4 shadow-sm",children:[le.jsxs("div",{className:"mb-4 flex items-center justify-between gap-3",children:[le.jsx("span",{className:"text-sm font-medium text-slate-600",children:"Chapter verses"}),le.jsx("span",{className:"text-xs text-slate-500",children:"Click a verse, then shift-click an end verse."})]}),le.jsx("div",{className:"max-h-[520px] overflow-y-auto rounded-3xl border border-slate-200 bg-white p-4 scrollbar-thin",children:l.verses.map(D=>{const I=y!==null&&D.number>=Math.min(y,v)&&D.number<=Math.max(y,v),Y=l.chunks.some($=>D.number>=$.startVerse&&D.number<=$.endVerse);return le.jsxs("button",{type:"button",onClick:$=>G(D.number,$),className:`group mb-2 w-full rounded-3xl px-4 py-3 text-left transition ${I?"bg-sky-100 ring-1 ring-sky-200":Y?"bg-slate-100":"bg-white hover:bg-slate-50"}`,children:[le.jsx("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-full bg-slate-200 text-sm font-semibold text-slate-700 transition group-hover:bg-slate-300",children:D.number}),le.jsx("span",{className:"ml-3 text-sm leading-relaxed text-slate-700",children:D.text})]},D.number)})})]}),le.jsxs("div",{className:"space-y-4 rounded-3xl border border-slate-200 bg-slate-50 p-4 shadow-sm",children:[le.jsxs("div",{className:"flex items-center justify-between gap-3",children:[le.jsx("h3",{className:"text-sm font-semibold text-slate-900",children:"Chunks"}),le.jsxs("span",{className:"text-xs text-slate-500",children:[l.chunks.length," created"]})]}),le.jsx("div",{className:"space-y-3 max-h-[520px] overflow-y-auto scrollbar-thin",children:l.chunks.length===0?le.jsx("div",{className:"rounded-3xl border border-dashed border-slate-300 bg-white p-4 text-sm text-slate-500",children:"No chunks yet. Select verse ranges to add sections."}):l.chunks.map((D,I)=>le.jsxs("div",{className:`rounded-3xl border p-4 ${l.selectedChunkId===D.id?"border-sky-300 bg-sky-50":"border-slate-200 bg-white"} shadow-sm`,children:[le.jsxs("button",{type:"button",onClick:()=>z(Y=>({...Y,selectedChunkId:D.id})),className:"mb-3 w-full text-left",children:[le.jsxs("p",{className:"text-sm font-semibold text-slate-900",children:[l.book," ",l.chapter,":",Z(D.startVerse,D.endVerse)]}),le.jsx("p",{className:"mt-1 text-sm text-slate-600",children:D.notes.slice(0,60)||"No notes yet."})]}),le.jsxs("div",{className:"flex items-center gap-2 text-sm text-slate-500",children:[le.jsx("button",{type:"button",onClick:()=>V(D.id,-1),disabled:I===0,className:"rounded-full border border-slate-300 bg-white px-2 py-1 transition hover:border-slate-400 disabled:cursor-not-allowed disabled:opacity-40",children:"↑"}),le.jsx("button",{type:"button",onClick:()=>V(D.id,1),disabled:I===l.chunks.length-1,className:"rounded-full border border-slate-300 bg-white px-2 py-1 transition hover:border-slate-400 disabled:cursor-not-allowed disabled:opacity-40",children:"↓"}),le.jsx("button",{type:"button",onClick:()=>re(D.id),className:"rounded-full border border-rose-300 bg-rose-50 px-2 py-1 text-rose-600 transition hover:bg-rose-100",children:"× Delete"})]})]},D.id))})]})]})]}),le.jsxs("div",{className:"rounded-3xl border border-slate-200 bg-white p-6 shadow-panel",children:[le.jsx("div",{className:"flex items-start justify-between",children:le.jsxs("div",{children:[le.jsx("p",{className:"text-sm font-medium text-slate-500",children:"Chunk editor"}),le.jsx("h2",{className:"mt-2 text-xl font-semibold text-slate-900",children:ee?`Section ${Z(ee.startVerse,ee.endVerse)}`:"Select a chunk"})]})}),ee?le.jsxs("div",{className:"mt-6 space-y-6",children:[le.jsxs("div",{className:"rounded-3xl border border-slate-200 bg-slate-50 p-5",children:[le.jsxs("div",{className:"mb-4 flex items-center justify-between gap-3",children:[le.jsxs("div",{children:[le.jsx("p",{className:"text-sm font-semibold text-slate-700",children:"Scripture"}),le.jsx("p",{className:"text-xs text-slate-500",children:"Read-only passage for the selected chunk."})]}),le.jsxs("span",{className:"rounded-full bg-slate-100 px-3 py-1 text-xs uppercase tracking-[0.18em] text-slate-500",children:[l.book," ",l.chapter,":",Z(ee.startVerse,ee.endVerse)]})]}),le.jsx("div",{className:"space-y-3 font-serif text-slate-800",children:l.verses.filter(D=>D.number>=ee.startVerse&&D.number<=ee.endVerse).map(D=>le.jsxs("p",{className:"leading-relaxed",children:[le.jsxs("span",{className:"font-semibold text-slate-700",children:[D.number,"."]})," ",D.text]},D.number))})]}),le.jsxs("div",{className:"rounded-3xl border border-slate-200 bg-slate-50 p-5",children:[le.jsx("div",{className:"mb-3 flex items-center justify-between gap-4",children:le.jsxs("div",{children:[le.jsx("h3",{className:"text-sm font-semibold text-slate-900",children:"Study Notes"}),le.jsx("p",{className:"text-sm text-slate-500",children:"Write your observations, cross-references, and teaching notes here."})]})}),le.jsx("textarea",{value:ee.notes,onChange:D=>M(ee.id,{notes:D.target.value}),rows:10,placeholder:"Write your observations, cross-references, and teaching notes here...",className:"w-full resize-y rounded-3xl border border-slate-300 bg-white px-4 py-4 text-sm leading-6 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200"})]}),le.jsxs("div",{className:"rounded-3xl border border-slate-200 bg-slate-50 p-5",children:[le.jsxs("div",{className:"mb-5 flex items-center justify-between gap-4",children:[le.jsxs("div",{children:[le.jsx("h3",{className:"text-sm font-semibold text-slate-900",children:"Greek Word Studies"}),le.jsx("p",{className:"text-sm text-slate-500",children:"Add lexical notes, look up Strong's entries, and keep definitions with each chunk."})]}),le.jsx("button",{type:"button",onClick:()=>C(ee.id),className:"rounded-full bg-slate-900 px-4 py-2 text-sm font-semibold text-white transition hover:bg-slate-800",children:"Add Greek Word"})]}),le.jsx("div",{className:"space-y-4",children:ee.greekWords.length===0?le.jsx("div",{className:"rounded-3xl border border-dashed border-slate-300 bg-white p-5 text-sm text-slate-500",children:"No Greek words yet. Add one to begin a lookup."}):ee.greekWords.map(D=>le.jsxs("div",{className:"rounded-3xl border border-slate-200 bg-white p-4 shadow-sm",children:[le.jsxs("div",{className:"grid gap-4 sm:grid-cols-[1.4fr_1fr]",children:[le.jsxs("label",{className:"text-sm text-slate-600",children:["Strong's number or English gloss",le.jsx("input",{type:"text",value:D.query,onChange:I=>K(ee.id,D.id,{query:I.target.value}),onKeyDown:I=>{I.key==="Enter"&&(I.preventDefault(),X(ee.id,D.id))},placeholder:"G4102 or faith",className:"mt-2 block w-full rounded-2xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200"})]}),le.jsxs("div",{className:"flex items-end justify-between gap-3",children:[le.jsx("button",{type:"button",onClick:()=>X(ee.id,D.id),className:"inline-flex items-center justify-center rounded-2xl bg-slate-900 px-4 py-2 text-sm font-semibold text-white transition hover:bg-slate-800",children:D.loading?"Looking up…":"Look Up"}),le.jsx("button",{type:"button",onClick:()=>P(ee.id,D.id),className:"rounded-2xl border border-rose-200 bg-rose-50 px-4 py-2 text-sm font-semibold text-rose-700 transition hover:bg-rose-100",children:"Delete"})]})]}),le.jsxs("div",{className:"mt-4 grid gap-4 sm:grid-cols-3",children:[le.jsxs("label",{className:"text-sm text-slate-600",children:["Greek word",le.jsx("input",{type:"text",value:D.lexeme,onChange:I=>K(ee.id,D.id,{lexeme:I.target.value}),className:"mt-2 block w-full rounded-2xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200"})]}),le.jsxs("label",{className:"text-sm text-slate-600",children:["Transliteration",le.jsx("input",{type:"text",value:D.transliteration,onChange:I=>K(ee.id,D.id,{transliteration:I.target.value}),className:"mt-2 block w-full rounded-2xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200"})]}),le.jsxs("label",{className:"text-sm text-slate-600",children:["Part of speech",le.jsx("input",{type:"text",value:D.partOfSpeech,onChange:I=>K(ee.id,D.id,{partOfSpeech:I.target.value}),placeholder:"e.g. Noun",className:"mt-2 block w-full rounded-2xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200"})]})]}),le.jsx("div",{className:"mt-4 grid gap-4 sm:grid-cols-2",children:le.jsxs("label",{className:"text-sm text-slate-600",children:["Short definition",le.jsx("input",{type:"text",value:D.shortDefinition,onChange:I=>K(ee.id,D.id,{shortDefinition:I.target.value}),className:"mt-2 block w-full rounded-2xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200"})]})}),D.definitionHtml?le.jsxs("details",{className:"group mt-4 rounded-3xl border border-slate-200 bg-slate-50 p-4",children:[le.jsx("summary",{className:"cursor-pointer text-sm font-semibold text-slate-900 transition hover:text-slate-700",children:"Extended definition"}),le.jsx("div",{className:"mt-3 text-sm leading-6 text-slate-700",dangerouslySetInnerHTML:{__html:D.definitionHtml}})]}):null]},D.id))})]})]}):le.jsx("div",{className:"mt-6 rounded-3xl border border-slate-200 bg-slate-50 p-8 text-center text-slate-500",children:"Select a chunk from the left panel to edit its notes and Greek studies."})]})]})}):le.jsx("section",{className:"mx-auto max-w-3xl rounded-3xl border border-slate-200 bg-white p-8 shadow-panel",children:le.jsxs("div",{className:"space-y-6",children:[le.jsxs("div",{children:[le.jsx("h2",{className:"text-xl font-semibold text-slate-900",children:"Project Setup"}),le.jsx("p",{className:"mt-2 text-sm text-slate-600",children:"Pick a translation, chapter, and title. Load the chapter to begin structuring your study into chunks."})]}),le.jsxs("div",{className:"grid gap-5 sm:grid-cols-2",children:[le.jsxs("label",{className:"block text-sm font-medium text-slate-700",children:["Translation",le.jsx("select",{value:r.translation,onChange:D=>A("translation",D.target.value),className:"mt-2 block w-full rounded-xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200",children:e.map(D=>le.jsx("option",{value:D,children:D},D))})]}),le.jsxs("label",{className:"block text-sm font-medium text-slate-700",children:["Book",le.jsx("select",{value:r.bookAbbrev,onChange:D=>A("book",D.target.value),className:"mt-2 block w-full rounded-xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200",children:qo.map(D=>le.jsx("option",{value:D.abbrev,children:D.name},D.abbrev))})]}),le.jsxs("label",{className:"block text-sm font-medium text-slate-700",children:["Chapter",le.jsx("input",{type:"number",min:"1",value:r.chapter,onChange:D=>A("chapter",D.target.value),className:"mt-2 block w-full rounded-xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200"})]}),le.jsxs("label",{className:"block text-sm font-medium text-slate-700 sm:col-span-2",children:["Project title",le.jsx("input",{type:"text",value:r.title,onChange:D=>{i(!0),A("title",D.target.value)},className:"mt-2 block w-full rounded-xl border border-slate-300 bg-slate-50 px-3 py-2 text-slate-900 shadow-sm focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-200"})]})]}),le.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[le.jsx("div",{className:"text-sm text-slate-600",children:R?le.jsx("span",{className:"text-rose-500",children:R}):"Start by loading the chapter text from HelloAO."}),le.jsx("button",{type:"button",onClick:B,disabled:_,className:"inline-flex items-center justify-center rounded-xl bg-slate-900 px-6 py-2.5 text-sm font-semibold text-white transition hover:bg-slate-800 disabled:cursor-not-allowed disabled:bg-slate-500",children:_?"Loading...":"Load Chapter"})]})]})})})]})};o1.createRoot(document.getElementById("root")).render(le.jsx(Oy.StrictMode,{children:le.jsx(hS,{})})); diff --git a/dist/index.html b/dist/index.html deleted file mode 100644 index d9f5c15..0000000 --- a/dist/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - Bible Study Project - - - - -
- - diff --git a/src/main.jsx b/src/main.jsx index 7497ae8..ec49672 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -1,10 +1,10 @@ -import React from 'react'; +import { StrictMode } from 'react'; import ReactDOM from 'react-dom/client'; import App from './App.jsx'; import './index.css'; ReactDOM.createRoot(document.getElementById('root')).render( - + - + );