@office-open/docx 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import{i as e,n as t,r as n,t as r}from"./chunk-BY251N0e.mjs";import{AppProperties as i,BaseXmlComponent as a,BuilderElement as o,BuilderElement as s,ContentTypeAttributes as c,EMPTY_OBJECT as l,EmptyElement as u,Formatter as d,HpsMeasureElement as f,IgnoreIfEmptyXmlComponent as p,ImportedRootElementAttributes as m,ImportedXmlComponent as ee,InitializableXmlComponent as te,NextAttributeComponent as ne,NumberValueElement as re,OnOffElement as h,PrettifyType as ie,RawPassthrough as ae,Relationships as g,StringContainer as _,StringEnumValueElement as oe,StringValueElement as v,TargetModeType as se,XmlAttributeComponent as y,XmlAttributeComponent as ce,XmlComponent as b,addSmartArtRelationships as le,chartAttr as ue,convertEmuToPixels as de,convertInchesToTwip as x,convertMillimetersToTwip as fe,convertOutput as pe,convertPixelsToEmu as me,convertPrettifyType as he,convertToXmlComponent as ge,createDefault as S,createOverride as C,getReferencedMedia as _e,hasPlaceholders as ve,hashedId as ye,hpsMeasureObj as be,numberValObj as xe,onOffObj as w,parseDocument as Se,replaceChartPlaceholders as Ce,replaceImagePlaceholders as we,replaceSmartArtPlaceholders as Te,stringEnumValObj as Ee,stringValObj as De,uniqueId as Oe,uniqueNumericIdCreator as ke,uniqueNumericIdCreator as Ae,uniqueUuid as je,wrapEl as Me}from"@office-open/core";import{textToUint8Array as Ne,toUint8Array as Pe}from"undio";import{PresetGeometry as Fe,buildFill as Ie,createBlipFill as Le,createCustomGeometry as Re,createEffectDag as ze,createEffectList as Be,createOutline as Ve,createScene3D as He,createShape3D as Ue,createTransform2D as We,extractBlipFillMedia as Ge}from"@office-open/core/drawingml";import{ChartCollection as Ke,ChartSpace as qe}from"@office-open/core/chart";import{COLOR_CATEGORIES as Je,DEFAULT_DRAWING_XML as Ye,LAYOUT_CATEGORIES as Xe,STYLE_CATEGORIES as Ze,SmartArtCollection as Qe,createDataModel as $e,getColorXml as et,getLayoutXml as tt,getStyleXml as nt}from"@office-open/core/smartart";import{attr as T,attrBool as E,attrNum as D,children as rt,colorAttr as it,findChild as O,findDeep as at,js2xml as ot,textOf as st,xml as k,xml2js as ct}from"@office-open/xml";import{Zip as lt,ZipDeflate as ut,ZipPassThrough as dt,strFromU8 as ft,unzipSync as pt,zipSync as mt}from"fflate";export*from"@office-open/core/values";export*from"@office-open/core/smartart";var ht=r((()=>{})),A,gt=r((()=>{A=class extends ce{xmlKeys={bottom:`w:bottom`,color:`w:color`,fill:`w:fill`,footer:`w:footer`,gutter:`w:gutter`,h:`w:h`,header:`w:header`,left:`w:left`,linePitch:`w:linePitch`,pos:`w:pos`,right:`w:right`,rsidR:`w:rsidR`,rsidRPr:`w:rsidRPr`,rsidSect:`w:rsidSect`,space:`w:space`,sz:`w:sz`,themeColor:`w:themeColor`,themeShade:`w:themeShade`,themeTint:`w:themeTint`,top:`w:top`,type:`w:type`,val:`w:val`,w:`w:w`}}})),_t,vt=r((()=>{_t=(e,t)=>new s({attributes:{value:{key:`w:val`,value:t}},name:e})})),j=r((()=>{ht(),gt(),vt()})),M,yt,bt=r((()=>{j(),M={START:`start`,CENTER:`center`,END:`end`,BOTH:`both`,MEDIUM_KASHIDA:`mediumKashida`,DISTRIBUTE:`distribute`,NUM_TAB:`numTab`,HIGH_KASHIDA:`highKashida`,LOW_KASHIDA:`lowKashida`,THAI_DISTRIBUTE:`thaiDistribute`,LEFT:`left`,RIGHT:`right`,JUSTIFIED:`both`},yt=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:jc`})})),N=t({});import*as xt from"@office-open/core/values";n(N,xt);var P=r((()=>{})),F,St,Ct=r((()=>{j(),P(),F=(e,{color:t,size:n,space:r,style:i,themeColor:a,themeTint:s,themeShade:c,shadow:l,frame:u})=>new o({attributes:{color:{key:`w:color`,value:t===void 0?void 0:(0,N.hexColorValue)(t)},frame:{key:`w:frame`,value:u},shadow:{key:`w:shadow`,value:l},size:{key:`w:sz`,value:n===void 0?void 0:(0,N.eighthPointMeasureValue)(n)},space:{key:`w:space`,value:r===void 0?void 0:(0,N.pointMeasureValue)(r)},style:{key:`w:val`,value:i},themeColor:{key:`w:themeColor`,value:a},themeShade:{key:`w:themeShade`,value:c===void 0?void 0:(0,N.uCharHexNumber)(c)},themeTint:{key:`w:themeTint`,value:s===void 0?void 0:(0,N.uCharHexNumber)(s)}},name:e}),St={SINGLE:`single`,DASH_DOT_STROKED:`dashDotStroked`,DASHED:`dashed`,DASH_SMALL_GAP:`dashSmallGap`,DOT_DASH:`dotDash`,DOT_DOT_DASH:`dotDotDash`,DOTTED:`dotted`,DOUBLE:`double`,DOUBLE_WAVE:`doubleWave`,INSET:`inset`,NIL:`nil`,NONE:`none`,OUTSET:`outset`,THICK:`thick`,THICK_THIN_LARGE_GAP:`thickThinLargeGap`,THICK_THIN_MEDIUM_GAP:`thickThinMediumGap`,THICK_THIN_SMALL_GAP:`thickThinSmallGap`,THIN_THICK_LARGE_GAP:`thinThickLargeGap`,THIN_THICK_MEDIUM_GAP:`thinThickMediumGap`,THIN_THICK_SMALL_GAP:`thinThickSmallGap`,THIN_THICK_THIN_LARGE_GAP:`thinThickThinLargeGap`,THIN_THICK_THIN_MEDIUM_GAP:`thinThickThinMediumGap`,THIN_THICK_THIN_SMALL_GAP:`thinThickThinSmallGap`,THREE_D_EMBOSS:`threeDEmboss`,THREE_D_ENGRAVE:`threeDEngrave`,TRIPLE:`triple`,WAVE:`wave`}})),wt=r((()=>{Ct()})),Tt,Et,Dt=r((()=>{wt(),j(),Tt=class extends p{constructor(e){super(`w:pBdr`),e.top&&this.root.push(F(`w:top`,e.top)),e.left&&this.root.push(F(`w:left`,e.left)),e.bottom&&this.root.push(F(`w:bottom`,e.bottom)),e.right&&this.root.push(F(`w:right`,e.right)),e.between&&this.root.push(F(`w:between`,e.between))}},Et=class extends b{constructor(){super(`w:pBdr`);let e=F(`w:bottom`,{color:`auto`,size:6,space:1,style:St.SINGLE});this.root.push(e)}}})),Ot,kt=r((()=>{j(),Ot=e=>{let t={};return e.firstRow!==void 0&&(t.firstRow={key:`w:firstRow`,value:e.firstRow?`1`:`0`}),e.lastRow!==void 0&&(t.lastRow={key:`w:lastRow`,value:e.lastRow?`1`:`0`}),e.firstColumn!==void 0&&(t.firstColumn={key:`w:firstColumn`,value:e.firstColumn?`1`:`0`}),e.lastColumn!==void 0&&(t.lastColumn={key:`w:lastColumn`,value:e.lastColumn?`1`:`0`}),e.oddVBand!==void 0&&(t.oddVBand={key:`w:oddVBand`,value:e.oddVBand?`1`:`0`}),e.evenVBand!==void 0&&(t.evenVBand={key:`w:evenVBand`,value:e.evenVBand?`1`:`0`}),e.oddHBand!==void 0&&(t.oddHBand={key:`w:oddHBand`,value:e.oddHBand?`1`:`0`}),e.evenHBand!==void 0&&(t.evenHBand={key:`w:evenHBand`,value:e.evenHBand?`1`:`0`}),e.firstRowFirstColumn!==void 0&&(t.firstRowFirstColumn={key:`w:firstRowFirstColumn`,value:e.firstRowFirstColumn?`1`:`0`}),e.firstRowLastColumn!==void 0&&(t.firstRowLastColumn={key:`w:firstRowLastColumn`,value:e.firstRowLastColumn?`1`:`0`}),e.lastRowFirstColumn!==void 0&&(t.lastRowFirstColumn={key:`w:lastRowFirstColumn`,value:e.lastRowFirstColumn?`1`:`0`}),e.lastRowLastColumn!==void 0&&(t.lastRowLastColumn={key:`w:lastRowLastColumn`,value:e.lastRowLastColumn?`1`:`0`}),new o({attributes:t,name:`w:cnfStyle`})}})),At,jt=r((()=>{j(),P(),At=({start:e,startChars:t,end:n,endChars:r,left:i,leftChars:a,right:s,rightChars:c,hanging:l,hangingChars:u,firstLine:d,firstLineChars:f})=>new o({attributes:{end:{key:`w:end`,value:n===void 0?void 0:(0,N.signedTwipsMeasureValue)(n)},endChars:{key:`w:endChars`,value:r===void 0?void 0:(0,N.decimalNumber)(r)},firstLine:{key:`w:firstLine`,value:d===void 0?void 0:(0,N.twipsMeasureValue)(d)},firstLineChars:{key:`w:firstLineChars`,value:f===void 0?void 0:(0,N.decimalNumber)(f)},hanging:{key:`w:hanging`,value:l===void 0?void 0:(0,N.twipsMeasureValue)(l)},hangingChars:{key:`w:hangingChars`,value:u===void 0?void 0:(0,N.decimalNumber)(u)},left:{key:`w:left`,value:i===void 0?void 0:(0,N.signedTwipsMeasureValue)(i)},leftChars:{key:`w:leftChars`,value:a===void 0?void 0:(0,N.decimalNumber)(a)},right:{key:`w:right`,value:s===void 0?void 0:(0,N.signedTwipsMeasureValue)(s)},rightChars:{key:`w:rightChars`,value:c===void 0?void 0:(0,N.decimalNumber)(c)},start:{key:`w:start`,value:e===void 0?void 0:(0,N.signedTwipsMeasureValue)(e)},startChars:{key:`w:startChars`,value:t===void 0?void 0:(0,N.decimalNumber)(t)}},name:`w:ind`})})),Mt,Nt=r((()=>{j(),Mt=e=>new o({name:`w:br`,attributes:e?.clear?[{key:`w:clear`,value:e.clear}]:void 0})})),Pt,Ft,It,Lt,Rt,zt,Bt=r((()=>{j(),Pt={REGULAR:`regular`,NUMBER:`number`,DATE:`date`,CURRENT_TIME:`currentTime`,CURRENT_DATE:`currentDate`,CALCULATED:`calculated`},Ft=(e,t)=>new o({attributes:{type:{key:`w:type`,value:t.type},val:{key:`w:val`,value:t.value}},name:e}),It=e=>{let t=[];return e.size===void 0?e.sizeAuto!==void 0&&t.push(new h(`w:sizeAuto`,e.sizeAuto)):t.push(new o({attributes:{val:{key:`w:val`,value:e.size}},name:`w:size`})),e.default!==void 0&&t.push(new h(`w:default`,e.default)),e.checked!==void 0&&t.push(new h(`w:checked`,e.checked)),new o({children:t,name:`w:checkBox`})},Lt=e=>{let t=[];e.result!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.result}},name:`w:result`})),e.default!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.default}},name:`w:default`}));for(let n of e.entries)t.push(new o({attributes:{val:{key:`w:val`,value:n}},name:`w:listEntry`}));return new o({children:t,name:`w:ddList`})},Rt=e=>{let t=[];return e.type!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.type}},name:`w:type`})),e.default!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.default}},name:`w:default`})),e.maxLength!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.maxLength}},name:`w:maxLength`})),e.format!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.format}},name:`w:format`})),new o({children:t,name:`w:textInput`})},zt=e=>{let t=[];return e.name!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.name}},name:`w:name`})),e.label!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.label}},name:`w:label`})),e.tabIndex!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.tabIndex}},name:`w:tabIndex`})),e.enabled!==void 0&&t.push(new h(`w:enabled`,e.enabled)),e.calcOnExit!==void 0&&t.push(new h(`w:calcOnExit`,e.calcOnExit)),e.entryMacro!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.entryMacro}},name:`w:entryMacro`})),e.exitMacro!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.exitMacro}},name:`w:exitMacro`})),e.helpText&&t.push(Ft(`w:helpText`,e.helpText)),e.statusText&&t.push(Ft(`w:statusText`,e.statusText)),e.checkBox?t.push(It(e.checkBox)):e.dropDownList?t.push(Lt(e.dropDownList)):e.textInput&&t.push(Rt(e.textInput)),new o({children:t,name:`w:ffData`})}})),Vt,Ht,Ut,Wt,I,Gt=r((()=>{j(),Bt(),Vt={BEGIN:`begin`,END:`end`,SEPARATE:`separate`},Ht=(e,t,n)=>{let r=[];return n&&r.push(n),new o({attributes:{dirty:{key:`w:dirty`,value:t},type:{key:`w:fldCharType`,value:e}},children:r.length>0?r:void 0,name:`w:fldChar`})},Ut=(e,t)=>Ht(Vt.BEGIN,e,t?zt(t):void 0),Wt=e=>Ht(Vt.SEPARATE,e),I=e=>Ht(Vt.END,e)}));function Kt(e){return{"w:instrText":[qt,e]}}var qt,Jt,Yt,Xt,Zt,Qt=r((()=>{j(),qt={_attr:{"xml:space":`preserve`}},Jt=()=>Kt(`PAGE`),Yt=()=>Kt(`NUMPAGES`),Xt=()=>Kt(`SECTIONPAGES`),Zt=()=>Kt(`SECTION`)})),$t,en,tn=r((()=>{j(),P(),$t=({fill:e,color:t,type:n,themeColor:r,themeTint:i,themeShade:a,themeFill:s,themeFillTint:c,themeFillShade:l})=>new o({attributes:{color:{key:`w:color`,value:t===void 0?void 0:(0,N.hexColorValue)(t)},fill:{key:`w:fill`,value:e===void 0?void 0:(0,N.hexColorValue)(e)},themeColor:{key:`w:themeColor`,value:r},themeFill:{key:`w:themeFill`,value:s},themeFillShade:{key:`w:themeFillShade`,value:l===void 0?void 0:(0,N.uCharHexNumber)(l)},themeFillTint:{key:`w:themeFillTint`,value:c===void 0?void 0:(0,N.uCharHexNumber)(c)},themeShade:{key:`w:themeShade`,value:a===void 0?void 0:(0,N.uCharHexNumber)(a)},themeTint:{key:`w:themeTint`,value:i===void 0?void 0:(0,N.uCharHexNumber)(i)},type:{key:`w:val`,value:n??`clear`}},name:`w:shd`}),en={CLEAR:`clear`,DIAGONAL_CROSS:`diagCross`,DIAGONAL_STRIPE:`diagStripe`,HORIZONTAL_CROSS:`horzCross`,HORIZONTAL_STRIPE:`horzStripe`,NIL:`nil`,PERCENT_10:`pct10`,PERCENT_12:`pct12`,PERCENT_15:`pct15`,PERCENT_20:`pct20`,PERCENT_25:`pct25`,PERCENT_30:`pct30`,PERCENT_35:`pct35`,PERCENT_37:`pct37`,PERCENT_40:`pct40`,PERCENT_45:`pct45`,PERCENT_5:`pct5`,PERCENT_50:`pct50`,PERCENT_55:`pct55`,PERCENT_60:`pct60`,PERCENT_62:`pct62`,PERCENT_65:`pct65`,PERCENT_70:`pct70`,PERCENT_75:`pct75`,PERCENT_80:`pct80`,PERCENT_85:`pct85`,PERCENT_87:`pct87`,PERCENT_90:`pct90`,PERCENT_95:`pct95`,REVERSE_DIAGONAL_STRIPE:`reverseDiagStripe`,SOLID:`solid`,THIN_DIAGONAL_CROSS:`thinDiagCross`,THIN_DIAGONAL_STRIPE:`thinDiagStripe`,THIN_HORIZONTAL_CROSS:`thinHorzCross`,THIN_REVERSE_DIAGONAL_STRIPE:`thinReverseDiagStripe`,THIN_VERTICAL_STRIPE:`thinVertStripe`,VERTICAL_STRIPE:`vertStripe`}})),nn=r((()=>{tn()})),L,R=r((()=>{j(),L=class extends y{xmlKeys={author:`w:author`,date:`w:date`,id:`w:id`}}})),rn,an=r((()=>{j(),R(),rn=class extends b{constructor(e){super(`w:del`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),on,sn=r((()=>{j(),R(),on=class extends b{constructor(e){super(`w:ins`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),cn,ln=r((()=>{j(),P(),cn=({id:e,combine:t,combineBrackets:n,vert:r,vertCompress:i})=>new o({attributes:{combine:{key:`w:combine`,value:t},combineBrackets:{key:`w:combineBrackets`,value:n},id:{key:`w:id`,value:e===void 0?void 0:(0,N.decimalNumber)(e)},vert:{key:`w:vert`,value:r},vertCompress:{key:`w:vertCompress`,value:i}},name:`w:eastAsianLayout`})})),un,dn,fn,pn=r((()=>{j(),un={NONE:`none`,COMMA:`comma`,CIRCLE:`circle`,DOT:`dot`,UNDER_DOT:`underDot`},dn=(e=un.DOT)=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:em`}),fn=()=>dn(un.DOT)})),mn,hn,gn,_n,vn=r((()=>{j(),P(),mn=class extends b{constructor(e){super(`w:spacing`),this.root.push(new A({val:(0,N.signedTwipsMeasureValue)(e)}))}},hn=class extends b{constructor(e){if(super(`w:color`),typeof e==`string`){this.root.push(new A({val:(0,N.hexColorValue)(e)}));return}let t=e;this.root.push(new A({val:t.val===void 0?void 0:(0,N.hexColorValue)(t.val),themeColor:t.themeColor,themeTint:t.themeTint===void 0?void 0:(0,N.uCharHexNumber)(t.themeTint),themeShade:t.themeShade===void 0?void 0:(0,N.uCharHexNumber)(t.themeShade)}))}},gn=class extends b{constructor(e){super(`w:highlight`),this.root.push(new A({val:e}))}},_n=class extends b{constructor(e){super(`w:highlightCs`),this.root.push(new A({val:e}))}}})),yn,bn=r((()=>{j(),yn=e=>new o({attributes:{bidirectional:{key:`w:bidi`,value:e.bidirectional},eastAsia:{key:`w:eastAsia`,value:e.eastAsia},value:{key:`w:val`,value:e.value}},name:`w:lang`})})),xn,Sn=r((()=>{j(),xn=(e,t)=>{if(typeof e==`string`){let n=e;return new o({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}},name:`w:rFonts`})}let n=e;return new o({attributes:{ascii:{key:`w:ascii`,value:n.ascii},asciiTheme:{key:`w:asciiTheme`,value:n.asciiTheme},cs:{key:`w:cs`,value:n.cs},cstheme:{key:`w:cstheme`,value:n.cstheme},eastAsia:{key:`w:eastAsia`,value:n.eastAsia},eastAsiaTheme:{key:`w:eastAsiaTheme`,value:n.eastAsiaTheme},hAnsi:{key:`w:hAnsi`,value:n.hAnsi},hAnsiTheme:{key:`w:hAnsiTheme`,value:n.hAnsiTheme},hint:{key:`w:hint`,value:n.hint}},name:`w:rFonts`})}})),Cn,wn,Tn=r((()=>{j(),P(),Cn={SINGLE:`single`,WORDS:`words`,DOUBLE:`double`,THICK:`thick`,DOTTED:`dotted`,DOTTEDHEAVY:`dottedHeavy`,DASH:`dash`,DASHEDHEAVY:`dashedHeavy`,DASHLONG:`dashLong`,DASHLONGHEAVY:`dashLongHeavy`,DOTDASH:`dotDash`,DASHDOTHEAVY:`dashDotHeavy`,DOTDOTDASH:`dotDotDash`,DASHDOTDOTHEAVY:`dashDotDotHeavy`,WAVE:`wave`,WAVYHEAVY:`wavyHeavy`,WAVYDOUBLE:`wavyDouble`,NONE:`none`},wn=(e=Cn.SINGLE,t,n,r,i)=>new o({attributes:{color:{key:`w:color`,value:t===void 0?void 0:(0,N.hexColorValue)(t)},themeColor:{key:`w:themeColor`,value:n},themeShade:{key:`w:themeShade`,value:i===void 0?void 0:(0,N.uCharHexNumber)(i)},themeTint:{key:`w:themeTint`,value:r===void 0?void 0:(0,N.uCharHexNumber)(r)},val:{key:`w:val`,value:e}},name:`w:u`})}));function En(e){if(!e)return;let t=[];e.style&&t.push(De(`w:rStyle`,e.style)),e.font&&(typeof e.font==`string`?t.push(xn(e.font).prepForXml(z)):`name`in e.font?t.push(xn(e.font.name,e.font.hint).prepForXml(z)):t.push(xn(e.font).prepForXml(z))),e.bold!==void 0&&t.push(w(`w:b`,e.bold)),(e.boldComplexScript===void 0&&e.bold!==void 0||e.boldComplexScript)&&t.push(w(`w:bCs`,e.boldComplexScript??e.bold)),e.italics!==void 0&&t.push(w(`w:i`,e.italics)),(e.italicsComplexScript===void 0&&e.italics!==void 0||e.italicsComplexScript)&&t.push(w(`w:iCs`,e.italicsComplexScript??e.italics)),e.smallCaps===void 0?e.allCaps!==void 0&&t.push(w(`w:caps`,e.allCaps)):t.push(w(`w:smallCaps`,e.smallCaps)),e.strike!==void 0&&t.push(w(`w:strike`,e.strike)),e.doubleStrike!==void 0&&t.push(w(`w:dstrike`,e.doubleStrike)),e.emboss!==void 0&&t.push(w(`w:emboss`,e.emboss)),e.imprint!==void 0&&t.push(w(`w:imprint`,e.imprint)),e.outline!==void 0&&t.push(w(`w:outline`,e.outline)),e.shadow!==void 0&&t.push(w(`w:shadow`,e.shadow)),e.webHidden!==void 0&&t.push(w(`w:webHidden`,e.webHidden)),e.noProof!==void 0&&t.push(w(`w:noProof`,e.noProof)),e.snapToGrid!==void 0&&t.push(w(`w:snapToGrid`,e.snapToGrid)),e.vanish&&t.push(w(`w:vanish`,e.vanish)),e.color&&t.push(new hn(e.color).prepForXml(z)),e.characterSpacing&&t.push(new mn(e.characterSpacing).prepForXml(z)),e.scale!==void 0&&t.push(xe(`w:w`,e.scale)),e.kern&&t.push(be(`w:kern`,e.kern)),e.position&&t.push(De(`w:position`,e.position)),e.size!==void 0&&t.push(be(`w:sz`,e.size));let n=e.sizeComplexScript===void 0||e.sizeComplexScript===!0?e.size:e.sizeComplexScript;return n&&t.push(be(`w:szCs`,n)),e.highlight&&t.push(new gn(e.highlight).prepForXml(z)),e.highlightComplexScript===!0?e.highlight&&t.push(new _n(e.highlight).prepForXml(z)):e.highlightComplexScript!==void 0&&e.highlightComplexScript!==!1&&t.push(new _n(e.highlightComplexScript).prepForXml(z)),e.underline&&t.push(wn(e.underline.type,e.underline.color).prepForXml(z)),e.effect&&t.push(De(`w:effect`,e.effect)),e.border&&t.push(F(`w:bdr`,e.border).prepForXml(z)),e.shading&&t.push($t(e.shading).prepForXml(z)),e.subScript&&t.push(Ee(`w:vertAlign`,`subscript`)),e.superScript&&t.push(Ee(`w:vertAlign`,`superscript`)),e.rightToLeft!==void 0&&t.push(w(`w:rtl`,e.rightToLeft)),e.emphasisMark&&t.push(dn(e.emphasisMark.type).prepForXml(z)),e.language&&t.push(yn(e.language).prepForXml(z)),e.specVanish&&t.push(w(`w:specVanish`,e.specVanish)),e.math&&t.push(w(`w:oMath`,e.math)),e.fitText!==void 0&&t.push(xe(`w:fitText`,e.fitText)),e.complexScript!==void 0&&t.push(w(`w:cs`,e.complexScript)),e.eastAsianLayout&&t.push(cn(e.eastAsianLayout).prepForXml(z)),e.revision&&t.push(new jn(e.revision).prepForXml(z)),t.length>0?{"w:rPr":t}:void 0}var Dn,On,kn,An,jn,z,Mn=r((()=>{wt(),nn(),R(),an(),sn(),j(),ln(),pn(),vn(),bn(),Sn(),Tn(),Dn={BLINK_BACKGROUND:`blinkBackground`,LIGHTS:`lights`,ANTS_BLACK:`antsBlack`,ANTS_RED:`antsRed`,SHIMMER:`shimmer`,SPARKLE:`sparkle`,NONE:`none`},On={BLACK:`black`,BLUE:`blue`,CYAN:`cyan`,DARK_BLUE:`darkBlue`,DARK_CYAN:`darkCyan`,DARK_GRAY:`darkGray`,DARK_GREEN:`darkGreen`,DARK_MAGENTA:`darkMagenta`,DARK_RED:`darkRed`,DARK_YELLOW:`darkYellow`,GREEN:`green`,LIGHT_GRAY:`lightGray`,MAGENTA:`magenta`,NONE:`none`,RED:`red`,WHITE:`white`,YELLOW:`yellow`},kn=class extends p{constructor(e){if(super(`w:rPr`),!e)return;let t=En(e);if(t){let e=t[`w:rPr`];Array.isArray(e)&&this.root.push(...e)}}push(e){this.root.push(e)}},An=class extends kn{constructor(e){super(e),e?.insertion&&this.push(new on(e.insertion)),e?.deletion&&this.push(new rn(e.deletion))}},jn=class extends b{constructor(e){super(`w:rPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.addChildElement(new kn(e))}},z={stack:[]}})),Nn,Pn,Fn=r((()=>{Nn={CENTER:`center`,INSIDE:`inside`,LEFT:`left`,OUTSIDE:`outside`,RIGHT:`right`},Pn={BOTTOM:`bottom`,CENTER:`center`,INSIDE:`inside`,OUTSIDE:`outside`,TOP:`top`}})),In,Ln=r((()=>{In={AIUEO:`aiueo`,AIUEO_FULL_WIDTH:`aiueoFullWidth`,ARABIC_ABJAD:`arabicAbjad`,ARABIC_ALPHA:`arabicAlpha`,BAHT_TEXT:`bahtText`,BULLET:`bullet`,CARDINAL_TEXT:`cardinalText`,CHICAGO:`chicago`,CHINESE_COUNTING:`chineseCounting`,CHINESE_COUNTING_TEN_THOUSAND:`chineseCountingThousand`,CHINESE_LEGAL_SIMPLIFIED:`chineseLegalSimplified`,CHOSUNG:`chosung`,DECIMAL:`decimal`,DECIMAL_ENCLOSED_CIRCLE:`decimalEnclosedCircle`,DECIMAL_ENCLOSED_CIRCLE_CHINESE:`decimalEnclosedCircleChinese`,DECIMAL_ENCLOSED_FULL_STOP:`decimalEnclosedFullstop`,DECIMAL_ENCLOSED_PAREN:`decimalEnclosedParen`,DECIMAL_FULL_WIDTH:`decimalFullWidth`,DECIMAL_FULL_WIDTH_2:`decimalFullWidth2`,DECIMAL_HALF_WIDTH:`decimalHalfWidth`,DECIMAL_ZERO:`decimalZero`,DOLLAR_TEXT:`dollarText`,GANADA:`ganada`,HEBREW_1:`hebrew1`,HEBREW_2:`hebrew2`,HEX:`hex`,HINDI_CONSONANTS:`hindiConsonants`,HINDI_COUNTING:`hindiCounting`,HINDI_NUMBERS:`hindiNumbers`,HINDI_VOWELS:`hindiVowels`,IDEOGRAPH_DIGITAL:`ideographDigital`,IDEOGRAPH_ENCLOSED_CIRCLE:`ideographEnclosedCircle`,IDEOGRAPH_LEGAL_TRADITIONAL:`ideographLegalTraditional`,IDEOGRAPH_TRADITIONAL:`ideographTraditional`,IDEOGRAPH_ZODIAC:`ideographZodiac`,IDEOGRAPH_ZODIAC_TRADITIONAL:`ideographZodiacTraditional`,IROHA:`iroha`,IROHA_FULL_WIDTH:`irohaFullWidth`,JAPANESE_COUNTING:`japaneseCounting`,JAPANESE_DIGITAL_TEN_THOUSAND:`japaneseDigitalTenThousand`,JAPANESE_LEGAL:`japaneseLegal`,KOREAN_COUNTING:`koreanCounting`,KOREAN_DIGITAL:`koreanDigital`,KOREAN_DIGITAL_2:`koreanDigital2`,KOREAN_LEGAL:`koreanLegal`,LOWER_LETTER:`lowerLetter`,LOWER_ROMAN:`lowerRoman`,NONE:`none`,NUMBER_IN_DASH:`numberInDash`,ORDINAL:`ordinal`,ORDINAL_TEXT:`ordinalText`,RUSSIAN_LOWER:`russianLower`,RUSSIAN_UPPER:`russianUpper`,TAIWANESE_COUNTING:`taiwaneseCounting`,TAIWANESE_COUNTING_THOUSAND:`taiwaneseCountingThousand`,TAIWANESE_DIGITAL:`taiwaneseDigital`,THAI_COUNTING:`thaiCounting`,THAI_LETTERS:`thaiLetters`,THAI_NUMBERS:`thaiNumbers`,UPPER_LETTER:`upperLetter`,UPPER_ROMAN:`upperRoman`,VIETNAMESE_COUNTING:`vietnameseCounting`}})),Rn,zn=r((()=>{Rn={DEFAULT:`default`,PRESERVE:`preserve`}})),Bn=r((()=>{Fn(),Ln(),zn()}));function Vn(e){return typeof e==`string`?{"w:t":[{_attr:{"xml:space":Rn.PRESERVE}},e]}:{"w:t":[{_attr:{"xml:space":e.space??Rn.DEFAULT}},e.text??``]}}var Hn,Un=r((()=>{Bn(),j(),Hn=class extends a{_opts;constructor(e){super(`w:t`),this._opts=e}prepForXml(){return Vn(this._opts)}}})),B,V,Wn=r((()=>{j(),Nt(),Gt(),Qt(),Mn(),Un(),B={CURRENT:`CURRENT`,TOTAL_PAGES:`TOTAL_PAGES`,TOTAL_PAGES_IN_SECTION:`TOTAL_PAGES_IN_SECTION`,CURRENT_SECTION:`SECTION`},V=class extends a{options;extraChildren=[];constructor(e){super(`w:r`),this.options=e}prepForXml(e){let t=[],n=En(this.options);if(n&&t.push(n),this.options.break)for(let n=0;n<this.options.break;n++)t.push(Mt().prepForXml(e));if(this.options.children)for(let n of this.options.children){if(typeof n==`string`){switch(n){case B.CURRENT:t.push(Ut().prepForXml(e)),t.push(Jt()),t.push(Wt().prepForXml(e)),t.push(I().prepForXml(e));break;case B.TOTAL_PAGES:t.push(Ut().prepForXml(e)),t.push(Yt()),t.push(Wt().prepForXml(e)),t.push(I().prepForXml(e));break;case B.TOTAL_PAGES_IN_SECTION:t.push(Ut().prepForXml(e)),t.push(Xt()),t.push(Wt().prepForXml(e)),t.push(I().prepForXml(e));break;case B.CURRENT_SECTION:t.push(Ut().prepForXml(e)),t.push(Zt()),t.push(Wt().prepForXml(e)),t.push(I().prepForXml(e));break;default:t.push(Vn(n));break}continue}if(n instanceof a){let r=n.prepForXml(e);r&&t.push(r)}}else this.options.text!==void 0&&t.push(Vn(this.options.text));for(let n of this.extraChildren)if(n instanceof a){let r=n.prepForXml(e);r&&t.push(r)}else t.push(n);return{"w:r":t.length>0?t:{}}}}})),Gn,Kn=r((()=>{Wn(),Gn=class extends V{constructor(e){super(typeof e==`string`?{text:e}:e)}}}));function qn(e=``,t=`Wingdings`){return{"w:sym":{_attr:{"w:char":e,"w:font":t}}}}var Jn,Yn=r((()=>{j(),Jn=class extends a{_char;_font;constructor(e=``,t=`Wingdings`){super(`w:sym`),this._char=e,this._font=t}prepForXml(){return qn(this._char,this._font)}}})),Xn,Zn=r((()=>{Wn(),Yn(),Xn=class extends V{constructor(e){if(typeof e==`string`)return super({}),this.extraChildren.push(new Jn(e)),this;super(e),this.extraChildren.push(new Jn(e.char,e.symbolfont))}}})),Qn,$n,er,tr,H=r((()=>{Qn=()=>Ae(),$n=()=>Ae(1),er=()=>Ae(),tr=()=>Ae()})),nr,rr,ir=r((()=>{Fn(),nr={CHARACTER:`character`,COLUMN:`column`,INSIDE_MARGIN:`insideMargin`,LEFT_MARGIN:`leftMargin`,MARGIN:`margin`,OUTSIDE_MARGIN:`outsideMargin`,PAGE:`page`,RIGHT_MARGIN:`rightMargin`},rr={BOTTOM_MARGIN:`bottomMargin`,INSIDE_MARGIN:`insideMargin`,LINE:`line`,MARGIN:`margin`,OUTSIDE_MARGIN:`outsideMargin`,PAGE:`page`,PARAGRAPH:`paragraph`,TOP_MARGIN:`topMargin`}})),ar,or=r((()=>{j(),ar=()=>new o({name:`wp:simplePos`,attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}}})})),sr,cr=r((()=>{j(),sr=e=>new o({children:[e],name:`wp:align`})})),lr,ur=r((()=>{j(),lr=e=>new o({children:[e.toString()],name:`wp:posOffset`})})),dr,fr=r((()=>{j(),cr(),ir(),ur(),dr=({relative:e,align:t,offset:n})=>new o({attributes:{relativeFrom:{key:`relativeFrom`,value:e??nr.PAGE}},children:[t?sr(t):n===void 0?sr(Nn.LEFT):lr(n)],name:`wp:positionH`})})),pr,mr=r((()=>{j(),cr(),ir(),ur(),pr=({relative:e,align:t,offset:n})=>new o({attributes:{relativeFrom:{key:`relativeFrom`,value:e??rr.PAGE}},children:[t?sr(t):n===void 0?sr(Pn.TOP):lr(n)],name:`wp:positionV`})})),hr=r((()=>{ir(),or(),fr(),mr()})),gr=r((()=>{})),_r=r((()=>{})),vr=r((()=>{})),yr,br=r((()=>{j(),yr=class extends b{core;constructor(e){super(`a:xfrm`),this.core=We({x:e.offset?.emus?.x??0,y:e.offset?.emus?.y??0,width:e.emus.x,height:e.emus.y,flipHorizontal:e.flip?.horizontal,flipVertical:e.flip?.vertical,rotation:e.rotation})}prepForXml(e){return this.core.prepForXml?.(e)}}})),xr=r((()=>{br()})),Sr=r((()=>{})),Cr=r((()=>{})),wr,Tr=r((()=>{j(),wr=class extends y{xmlKeys={bwMode:`bwMode`}}})),Er=r((()=>{})),Dr=r((()=>{})),Or,kr=r((()=>{j(),gr(),_r(),vr(),xr(),Sr(),Cr(),Tr(),Er(),Dr(),Or=class extends b{form;fillOptions;constructor({element:e,customGeometry:t,effectDag:n,effects:r,fill:i,outline:a,presetGeometry:o,scene3d:s,shape3d:c,transform:l}){super(`${e}:spPr`),this.fillOptions=i,this.root.push(new wr({bwMode:`auto`})),this.form=new yr(l),this.root.push(this.form),t?this.root.push(Re(t)):this.root.push(new Fe(o)),i!==void 0&&this.root.push(Ie(i)),a&&this.root.push(Ve(a)),n?this.root.push(ze(n)):r&&this.root.push(Be(r)),s&&this.root.push(He(s)),c&&this.root.push(Ue(c))}prepForXml(e){let t=this.fillOptions?Ge(this.fillOptions):void 0;return t&&e.file.Media.addImage(t.fileName,{data:t.data,fileName:t.fileName,type:t.type,transformation:{pixels:{x:0,y:0},emus:{x:0,y:0}}}),super.prepForXml(e)}}})),Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr=r((()=>{j(),Er(),Dr(),Ar=function(e){return e.TOP=`t`,e.CENTER=`ctr`,e.BOTTOM=`b`,e.JUSTIFY=`just`,e.DISTRIBUTED=`dist`,e}({}),jr={OVERFLOW:`overflow`,ELLIPSIS:`ellipsis`,CLIP:`clip`},Mr={OVERFLOW:`overflow`,CLIP:`clip`},Nr={HORIZONTAL:`horz`,VERTICAL:`vert`,VERTICAL_270:`vert270`,WORD_ART_VERTICAL:`wordArtVert`,EAST_ASIAN_VERTICAL:`eaVert`,MONGOLIAN_VERTICAL:`mongolianVert`,WORD_ART_VERTICAL_RTL:`wordArtVertRtl`},Pr={NONE:`none`,SQUARE:`square`},Fr=e=>{let t={};for(let[n,r]of Object.entries(e))r!==void 0&&(t[n]={key:n,value:r});return t},Ir=e=>{let t=[];if(e.adjustments)for(let n of e.adjustments)t.push(new o({name:`a:avLst`,children:[new o({name:`a:gd`,attributes:{name:{key:`name`,value:n.name},fmla:{key:`fmla`,value:n.formula}}})]}));return new o({name:`a:prstTxWarp`,attributes:{prst:{key:`prst`,value:e.preset}},children:t.length>0?t:void 0})},Lr=(e={})=>{let t=e.anchor??e.verticalAnchor,n=e.lIns??e.margins?.left,r=e.tIns??e.margins?.top,i=e.rIns??e.margins?.right,a=e.bIns??e.margins?.bottom,s=Fr({rot:e.rotation,spcFirstLastPara:e.spcFirstLastPara,vertOverflow:e.vertOverflow,horzOverflow:e.horzOverflow,vert:e.vert,wrap:e.wrap,lIns:n,tIns:r,rIns:i,bIns:a,numCol:e.numCol,spcCol:e.spcCol,rtlCol:e.rtlCol,fromWordArt:e.fromWordArt,anchor:t,anchorCtr:e.anchorCtr,forceAA:e.forceAA,upright:e.upright,compatLnSpc:e.compatLnSpc}),c=[];if(e.prstTxWarp&&c.push(Ir(e.prstTxWarp)),e.noAutoFit)c.push(new h(`a:noAutofit`,e.noAutoFit));else if(e.normAutofit){let t=Fr({fontScale:e.normAutofit.fontScale,lnSpcReduction:e.normAutofit.lnSpcReduction});c.push(new o({name:`a:normAutofit`,attributes:Object.keys(t).length>0?t:void 0}))}else e.spAutoFit&&c.push(new h(`a:spAutoFit`,e.spAutoFit));if(e.scene3d&&c.push(He(e.scene3d)),e.sp3d)c.push(Ue(e.sp3d));else if(e.flatTx){let t=Fr({z:e.flatTx.z});c.push(new o({name:`a:flatTx`,attributes:Object.keys(t).length>0?t:void 0}))}return new o({name:`wps:bodyPr`,attributes:Object.keys(s).length>0?s:void 0,children:c.length>0?c:void 0})}})),zr,Br=r((()=>{j(),zr=(e={txBox:`1`})=>new o({attributes:{txBox:{key:`txBox`,value:e.txBox}},name:`wps:cNvSpPr`})})),Vr,Hr=r((()=>{j(),Vr=e=>new o({children:[...e],name:`wps:txbxContent`})})),Ur,Wr=r((()=>{j(),Hr(),Ur=e=>new o({children:[Vr(e)],name:`wps:txbx`})})),Gr,Kr=r((()=>{j(),kr(),Rr(),Br(),Wr(),Gr=e=>new o({children:[zr(e.nonVisualProperties),new Or({element:`wps`,customGeometry:e.customGeometry,effectDag:e.effectDag,effects:e.effects,fill:e.fill,outline:e.outline,scene3d:e.scene3d,shape3d:e.shape3d,transform:e.transformation}),Ur(e.children),Lr(e.bodyProperties)],name:`wps:wsp`})})),qr,Jr=r((()=>{j(),qr=class extends y{xmlKeys={uri:`uri`}}})),Yr=r((()=>{})),Xr,Zr=r((()=>{j(),Xr=class extends y{xmlKeys={preferRelativeResize:`preferRelativeResize`}}})),Qr,$r=r((()=>{j(),Qr=class extends y{xmlKeys={noChangeArrowheads:`noChangeArrowheads`,noChangeAspect:`noChangeAspect`}}})),ei,ti=r((()=>{j(),$r(),ei=class extends b{constructor(){super(`a:picLocks`),this.root.push(new Qr({noChangeArrowheads:1,noChangeAspect:1}))}}})),ni,ri=r((()=>{j(),Zr(),ti(),ni=class extends b{constructor(){super(`pic:cNvPicPr`),this.root.push(new Xr({preferRelativeResize:!0})),this.root.push(new ei)}}})),ii,ai,oi=r((()=>{j(),ii=(e,t)=>new o({attributes:{...t?{xmlns:{key:`xmlns:a`,value:`http://schemas.openxmlformats.org/drawingml/2006/main`}}:{},id:{key:`r:id`,value:`rId${e}`}},name:`a:hlinkClick`}),ai=(e,t)=>new o({attributes:{...t?{xmlns:{key:`xmlns:a`,value:`http://schemas.openxmlformats.org/drawingml/2006/main`}}:{},id:{key:`r:id`,value:`rId${e}`}},name:`a:hlinkHover`})})),si,ci=r((()=>{j(),si=class extends y{xmlKeys={anchor:`w:anchor`,docLocation:`w:docLocation`,history:`w:history`,id:`r:id`,tgtFrame:`w:tgtFrame`,tooltip:`w:tooltip`}}})),li,ui,di,fi,pi=r((()=>{j(),H(),ci(),li={INTERNAL:`INTERNAL`,EXTERNAL:`EXTERNAL`},ui=class extends b{linkId;constructor(e,t,n,r,i){super(`w:hyperlink`),this.linkId=t;let a=new si({anchor:n||void 0,history:1,id:n?void 0:`rId${this.linkId}`,tooltip:r,tgtFrame:i});this.root.push(a),e.forEach(e=>{this.root.push(e)})}},di=class extends ui{constructor(e){super(e.children,Oe(),e.anchor,e.tooltip)}},fi=class extends b{constructor(e){super(`w:externalHyperlink`),this.options=e}}})),mi=r((()=>{})),hi,gi=r((()=>{j(),hi=class extends y{xmlKeys={descr:`descr`,id:`id`,name:`name`}}})),_i,vi,yi=r((()=>{oi(),pi(),mi(),j(),H(),gi(),_i=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,vi=class extends b{hyperlink;constructor(e){super(`pic:cNvPr`),this.hyperlink=e,this.root.push(new hi({descr:``,id:0,name:``}))}prepForXml(e){let t=!1;for(let n=e.stack.length-1;n>=0;n--){let r=e.stack[n];if(r instanceof ui){this.root.push(ii(r.linkId,!1)),t=!0;break}}if(this.hyperlink){if(this.hyperlink.click&&!t){let t=Oe();e.viewWrapper.Relationships.addRelationship(t,_i,this.hyperlink.click,se.EXTERNAL),this.root.push(ii(t,!1))}if(this.hyperlink.hover){let t=Oe();e.viewWrapper.Relationships.addRelationship(t,_i,this.hyperlink.hover,se.EXTERNAL),this.root.push(ai(t,!1))}}return super.prepForXml(e)}}})),bi,xi=r((()=>{j(),ri(),yi(),bi=class extends b{constructor(e){super(`pic:nvPicPr`),this.root.push(new vi(e)),this.root.push(new ni)}}})),Si,Ci=r((()=>{j(),Si=class extends y{xmlKeys={xmlns:`xmlns:pic`}}})),wi,Ti=r((()=>{j(),Yr(),xi(),Ci(),kr(),wi=class extends b{constructor({mediaData:e,transform:t,outline:n,fill:r,effects:i,blipEffects:a,tile:o,hyperlink:s}){super(`pic:pic`),this.root.push(new Si({xmlns:`http://schemas.openxmlformats.org/drawingml/2006/picture`})),this.root.push(new bi(s));let c={referenceId:e.fileName,type:e.type,fallbackFileName:`fallback`in e?e.fallback.fileName:void 0};this.root.push(Le(c,{blipEffects:a,tile:o,srcRect:e.srcRect})),this.root.push(new Or({element:`pic`,effects:i,fill:r,outline:n,transform:t}))}}})),Ei=r((()=>{Ti()})),Di,Oi=r((()=>{j(),Di=class extends y{xmlKeys={cx:`cx`,cy:`cy`}}})),ki,Ai=r((()=>{j(),Oi(),ki=class extends b{attributes;constructor(e,t){super(`a:ext`),this.attributes=new Di({cx:e,cy:t}),this.root.push(this.attributes)}}})),ji,Mi=r((()=>{j(),ji=class extends y{xmlKeys={x:`x`,y:`y`}}})),Ni,Pi=r((()=>{j(),Mi(),Ni=class extends b{constructor(e,t){super(`a:off`),this.root.push(new ji({x:e??0,y:t??0}))}}})),Fi,Ii,Li,Ri,zi=r((()=>{j(),vr(),Ai(),Pi(),Fi=(e,t,n)=>{let r=[new Ni(e.offset?.emus?.x,e.offset?.emus?.y),new ki(e.emus.x,e.emus.y)];return t&&r.push(new o({attributes:{x:{key:`x`,value:t.x},y:{key:`y`,value:t.y}},name:`a:chOff`})),n&&r.push(new o({attributes:{cx:{key:`cx`,value:n.cx},cy:{key:`cy`,value:n.cy}},name:`a:chExt`})),new o({attributes:e.flip?.horizontal!==void 0||e.flip?.vertical!==void 0||e.rotation!==void 0?{...e.flip?.horizontal!==void 0&&{flipH:{key:`flipH`,value:e.flip.horizontal}},...e.flip?.vertical!==void 0&&{flipV:{key:`flipV`,value:e.flip.vertical}},...e.rotation!==void 0&&{rot:{key:`rot`,value:e.rotation}}}:void 0,children:r,name:`a:xfrm`})},Ii=e=>{let t=[Fi(e.transformation,e.chOff,e.chExt)];return e.fill!==void 0&&t.push(Ie(e.fill)),e.effects&&t.push(Be(e.effects)),new o({children:t,name:`wpg:grpSpPr`})},Li=()=>new o({name:`wpg:cNvGrpSpPr`}),Ri=e=>new o({children:[Li(),Ii(e),...e.children],name:`wpg:wgp`})})),Bi,Vi=r((()=>{Kr(),j(),Jr(),Ei(),zi(),Bi=class extends b{constructor({mediaData:e,transform:t,outline:n,fill:r,effects:i,blipEffects:a,tile:o,hyperlink:s}){if(super(`a:graphicData`),e.type===`wps`){this.root.push(new qr({uri:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`}));let i=Gr({...e.data,outline:n,fill:r,transformation:t});this.root.push(i)}else if(e.type===`wpg`){this.root.push(new qr({uri:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`}));let n=e,r=Ri({children:n.children.map(e=>e.type===`wps`?Gr({...e.data,outline:e.outline,fill:e.fill,transformation:e.transformation}):new wi({mediaData:e,outline:e.outline,transform:e.transformation})),transformation:t,chOff:n.chOff,chExt:n.chExt,fill:n.fill,effects:n.effects});this.root.push(r)}else if(e.type===`chart`){this.root.push(new qr({uri:`http://schemas.openxmlformats.org/drawingml/2006/chart`}));let t=e,n=new class extends b{constructor(){super(`c:chart`)}};n.root.push(new ne({xmlnsC:{key:`xmlns:c`,value:`http://schemas.openxmlformats.org/drawingml/2006/chart`},xmlnsR:{key:`xmlns:r`,value:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`},rId:{key:`r:id`,value:`{chart:${t.chartKey}}`}})),this.root.push(n)}else if(e.type===`smartart`){this.root.push(new qr({uri:`http://schemas.openxmlformats.org/drawingml/2006/diagram`}));let t=e,n=new class extends b{constructor(){super(`dgm:relIds`)}};n.root.push(new ne({xmlnsDgm:{key:`xmlns:dgm`,value:`http://schemas.openxmlformats.org/drawingml/2006/diagram`},xmlnsR:{key:`xmlns:r`,value:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`},rCs:{key:`r:cs`,value:`{smartart-cs:${t.smartArtKey}}`},rDm:{key:`r:dm`,value:`{smartart:${t.smartArtKey}}`},rLo:{key:`r:lo`,value:`{smartart-lo:${t.smartArtKey}}`},rQs:{key:`r:qs`,value:`{smartart-qs:${t.smartArtKey}}`}})),this.root.push(n)}else{this.root.push(new qr({uri:`http://schemas.openxmlformats.org/drawingml/2006/picture`}));let c=new wi({blipEffects:a,effects:i,hyperlink:s,mediaData:e,outline:n,fill:r,tile:o,transform:t});this.root.push(c)}}}})),Hi=r((()=>{Vi()})),Ui,Wi,Gi=r((()=>{j(),Hi(),Ui=class extends y{xmlKeys={a:`xmlns:a`}},Wi=class extends b{data;constructor({mediaData:e,transform:t,outline:n,fill:r,effects:i,blipEffects:a,tile:o,hyperlink:s}){super(`a:graphic`),this.root.push(new Ui({a:`http://schemas.openxmlformats.org/drawingml/2006/main`})),this.data=new Bi({blipEffects:a,effects:i,hyperlink:s,mediaData:e,outline:n,fill:r,tile:o,transform:t}),this.root.push(this.data)}}})),Ki=r((()=>{Gi()})),qi,Ji,Yi=r((()=>{qi={NONE:0,SQUARE:1,TIGHT:2,TOP_AND_BOTTOM:3,THROUGH:4},Ji={BOTH_SIDES:`bothSides`,LEFT:`left`,RIGHT:`right`,LARGEST:`largest`}})),Xi,Zi=r((()=>{j(),Xi=()=>new o({name:`wp:wrapNone`})})),Qi,$i=r((()=>{j(),Yi(),Qi=(e,t={bottom:0,left:0,right:0,top:0})=>new o({attributes:{distB:{key:`distB`,value:t.bottom},distL:{key:`distL`,value:t.left},distR:{key:`distR`,value:t.right},distT:{key:`distT`,value:t.top},wrapText:{key:`wrapText`,value:e.side||Ji.BOTH_SIDES}},name:`wp:wrapSquare`})})),ea,ta,na=r((()=>{j(),Yi(),ea=(e,t)=>new o({attributes:{edited:{key:`edited`,value:`0`}},children:[new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}},name:`wp:start`}),new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:-t}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:e},y:{key:`y`,value:-t}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:e},y:{key:`y`,value:0}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}},name:`wp:lineTo`})],name:`wp:wrapPolygon`}),ta=(e,t={bottom:0,left:0,right:0,top:0},n)=>new o({attributes:{distL:{key:`distL`,value:t.left},distR:{key:`distR`,value:t.right},wrapText:{key:`wrapText`,value:e.side||Ji.BOTH_SIDES}},children:[ea(n.x,n.y)],name:`wp:wrapTight`})})),ra,ia,aa=r((()=>{j(),Yi(),ra=(e,t)=>new o({attributes:{edited:{key:`edited`,value:`0`}},children:[new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}},name:`wp:start`}),new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:-t}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:e},y:{key:`y`,value:-t}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:e},y:{key:`y`,value:0}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}},name:`wp:lineTo`})],name:`wp:wrapPolygon`}),ia=(e,t={bottom:0,left:0,right:0,top:0},n)=>new o({attributes:{distL:{key:`distL`,value:t.left},distR:{key:`distR`,value:t.right},wrapText:{key:`wrapText`,value:e.side||Ji.BOTH_SIDES}},children:[ra(n.x,n.y)],name:`wp:wrapThrough`})})),oa,sa=r((()=>{j(),oa=(e={bottom:0,top:0})=>new o({attributes:{distB:{key:`distB`,value:e.bottom},distT:{key:`distT`,value:e.top}},name:`wp:wrapTopAndBottom`})})),ca=r((()=>{Yi(),Zi(),$i(),na(),aa(),sa()})),la,ua,da,fa=r((()=>{pi(),mi(),j(),H(),oi(),la=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,ua=er(),da=class extends b{hyperlink;constructor({name:e,description:t,title:n,id:r,hyperlink:i}={description:``,name:``,title:``}){super(`wp:docPr`),this.hyperlink=i;let a={id:{key:`id`,value:r??ua()},name:{key:`name`,value:e}};t!=null&&(a.description={key:`descr`,value:t}),n!=null&&(a.title={key:`title`,value:n}),this.root.push(new ne(a))}prepForXml(e){let t=!1;for(let n=e.stack.length-1;n>=0;n--){let r=e.stack[n];if(r instanceof ui){this.root.push(ii(r.linkId,!0)),t=!0;break}}if(this.hyperlink){if(this.hyperlink.click&&!t){let t=Oe();e.viewWrapper.Relationships.addRelationship(t,la,this.hyperlink.click,se.EXTERNAL),this.root.push(ii(t,!0))}if(this.hyperlink.hover){let t=Oe();e.viewWrapper.Relationships.addRelationship(t,la,this.hyperlink.hover,se.EXTERNAL),this.root.push(ai(t,!0))}}return super.prepForXml(e)}}})),pa,ma=r((()=>{j(),pa=({top:e,right:t,bottom:n,left:r})=>new o({attributes:{bottom:{key:`b`,value:n},left:{key:`l`,value:r},right:{key:`r`,value:t},top:{key:`t`,value:e}},name:`wp:effectExtent`})})),ha,ga=r((()=>{j(),ha=({x:e,y:t})=>new o({attributes:{x:{key:`cx`,value:e},y:{key:`cy`,value:t}},name:`wp:extent`})})),_a,va=r((()=>{j(),_a=class extends y{xmlKeys={noChangeAspect:`noChangeAspect`,xmlns:`xmlns:a`}}})),ya,ba=r((()=>{j(),va(),ya=class extends b{constructor(){super(`a:graphicFrameLocks`),this.root.push(new _a({noChangeAspect:1,xmlns:`http://schemas.openxmlformats.org/drawingml/2006/main`}))}}})),xa,Sa=r((()=>{j(),ba(),xa=()=>new o({children:[new ya],name:`wp:cNvGraphicFramePr`})})),Ca,wa=r((()=>{j(),Ca=class extends y{xmlKeys={allowOverlap:`allowOverlap`,behindDoc:`behindDoc`,distB:`distB`,distL:`distL`,distR:`distR`,distT:`distT`,layoutInCell:`layoutInCell`,locked:`locked`,relativeHeight:`relativeHeight`,simplePos:`simplePos`}}})),Ta,Ea=r((()=>{j(),hr(),Ki(),ca(),fa(),ma(),ga(),Sa(),wa(),Ta=class extends b{constructor({mediaData:e,transform:t,drawingOptions:n}){super(`wp:anchor`);let r={allowOverlap:!0,behindDocument:!1,horizontalPosition:{},layoutInCell:!0,lockAnchor:!1,verticalPosition:{},...n.floating};if(this.root.push(new Ca({distT:r.margins&&r.margins.top||0,distB:r.margins&&r.margins.bottom||0,distL:r.margins&&r.margins.left||0,distR:r.margins&&r.margins.right||0,simplePos:`0`,allowOverlap:r.allowOverlap===!0?`1`:`0`,behindDoc:r.behindDocument===!0?`1`:`0`,locked:r.lockAnchor===!0?`1`:`0`,layoutInCell:r.layoutInCell===!0?`1`:`0`,relativeHeight:r.zIndex?r.zIndex:t.emus.y})),this.root.push(ar()),this.root.push(dr(r.horizontalPosition)),this.root.push(pr(r.verticalPosition)),this.root.push(ha({x:t.emus.x,y:t.emus.y})),this.root.push(pa({bottom:0,left:0,right:0,top:0})),n.floating!==void 0&&n.floating.wrap!==void 0)switch(n.floating.wrap.type){case qi.SQUARE:this.root.push(Qi(n.floating.wrap,n.floating.margins));break;case qi.TIGHT:this.root.push(ta(n.floating.wrap,n.floating.margins,{x:t.emus.x,y:t.emus.y}));break;case qi.THROUGH:this.root.push(ia(n.floating.wrap,n.floating.margins,{x:t.emus.x,y:t.emus.y}));break;case qi.TOP_AND_BOTTOM:this.root.push(oa(n.floating.margins));break;case qi.NONE:default:this.root.push(Xi())}else this.root.push(Xi());this.root.push(new da(n.docProperties)),this.root.push(xa()),this.root.push(new Wi({blipEffects:n.blipEffects,effects:n.effects,hyperlink:n.docProperties?.hyperlink,mediaData:e,outline:n.outline,fill:n.fill,tile:n.tile,transform:t}))}}})),Da=r((()=>{Ea(),wa()})),Oa,ka=r((()=>{j(),fa(),ma(),ga(),Sa(),Ki(),Oa=({mediaData:e,transform:t,docProperties:n,outline:r,fill:i,effects:a,blipEffects:s,tile:c})=>new o({attributes:{distanceBottom:{key:`distB`,value:0},distanceLeft:{key:`distL`,value:0},distanceRight:{key:`distR`,value:0},distanceTop:{key:`distT`,value:0}},children:[ha({x:t.emus.x,y:t.emus.y}),pa(r?{bottom:(r.width??9525)*2,left:(r.width??9525)*2,right:(r.width??9525)*2,top:(r.width??9525)*2}:{bottom:0,left:0,right:0,top:0}),new da(n),xa(),new Wi({blipEffects:s,effects:a,hyperlink:n?.hyperlink,mediaData:e,outline:r,fill:i,tile:c,transform:t})],name:`wp:inline`})})),Aa=r((()=>{ka()})),ja,Ma=r((()=>{j(),Da(),Aa(),ja=class extends b{constructor(e,t={}){super(`w:drawing`),t.floating?this.root.push(new Ta({drawingOptions:t,mediaData:e,transform:e.transformation})):this.root.push(Oa({blipEffects:t.blipEffects,docProperties:t.docProperties,effects:t.effects,mediaData:e,outline:t.outline,fill:t.fill,tile:t.tile,transform:e.transformation}))}}})),Na=r((()=>{Ma(),ca(),hr()})),Pa,Fa,Ia=r((()=>{Pa=e=>({emus:{x:me(e.width),y:me(e.height)},flip:e.flip,offset:{emus:{x:me(e.offset?.left??0),y:me(e.offset?.top??0)},pixels:{x:Math.round(e.offset?.left??0),y:Math.round(e.offset?.top??0)}},pixels:{x:Math.round(e.width),y:Math.round(e.height)},rotation:e.rotation?e.rotation*6e4:void 0}),Fa=class{map;constructor(){this.map=new Map}addImage(e,t){this.map.set(e,t)}get Array(){return[...this.map.values()]}}})),La,Ra=r((()=>{La=``})),za=r((()=>{Ia(),Ra()})),Ba,Va,Ha=r((()=>{H(),Na(),za(),Yo(),Ba=(e,t,n,r)=>({data:e,fileName:n,srcRect:r,transformation:Pa(t)}),Va=class extends V{imageData;constructor(e){super({});let t=Pe(e.data),n=`${ye(t)}.${e.type}`;if(e.type===`svg`){let r=Pe(e.fallback.data);this.imageData={type:e.type,...Ba(t,e.transformation,n,e.srcRect),fallback:{type:e.fallback.type,...Ba(r,e.transformation,`${ye(r)}.${e.fallback.type}`)}}}else this.imageData={type:e.type,...Ba(t,e.transformation,n,e.srcRect)};let r=new ja(this.imageData,{blipEffects:e.blipEffects,docProperties:e.altText,floating:e.floating,outline:e.outline,fill:e.fill,effects:e.effects,tile:e.tile});this.extraChildren.push(r)}prepForXml(e){return e.file.Media.addImage(this.imageData.fileName,this.imageData),this.imageData.type===`svg`&&e.file.Media.addImage(this.imageData.fallback.fileName,this.imageData.fallback),super.prepForXml(e)}}})),Ua=r((()=>{})),Wa,Ga=r((()=>{Ua(),Na(),za(),Yo(),Wa=class extends V{chartOptions;chartKey;constructor(e){super({}),this.chartOptions=e;let t=this.hashChartData(e);this.chartKey=`chart_${t}`;let n=new ja({chartKey:this.chartKey,transformation:Pa(e.transformation),type:`chart`},{docProperties:e.altText,floating:e.floating});this.extraChildren.push(n)}prepForXml(e){let t=new qe({categories:this.chartOptions.data.categories,series:this.chartOptions.data.series,showLegend:this.chartOptions.showLegend,style:this.chartOptions.style,title:this.chartOptions.title,type:this.chartOptions.type});return e.file.Charts.addChart(this.chartKey,{chartSpace:t,key:this.chartKey}),super.prepForXml(e)}hashChartData(e){let t=`${e.type}:${JSON.stringify(e.data)}`,n=0;for(let e=0;e<t.length;e++){let r=t.charCodeAt(e);n=(n<<5)-n+r|0}return Math.abs(n)}}})),Ka=r((()=>{})),qa,Ja=r((()=>{Na(),za(),Ka(),Yo(),qa=class extends V{smartArtOptions;smartArtKey;constructor(e){super({}),this.smartArtOptions=e;let t=this.hashSmartArtData(e);this.smartArtKey=`smartart_${t}`;let n=new ja({smartArtKey:this.smartArtKey,transformation:Pa(e.transformation),type:`smartart`},{docProperties:e.altText,floating:e.floating});this.extraChildren.push(n)}prepForXml(e){let t=this.smartArtOptions.layout??`default`,n=this.smartArtOptions.style??`simple1`,r=this.smartArtOptions.color??`accent1_2`,i={dataModel:$e(this.smartArtOptions.data.nodes,t,n,r),key:this.smartArtKey,layout:t,style:n,color:r};return e.file.SmartArts.addSmartArt(this.smartArtKey,i),super.prepForXml(e)}hashSmartArtData(e){let t=JSON.stringify(e.data),n=0;for(let e=0;e<t.length;e++){let r=t.charCodeAt(e);n=(n<<5)-n+r|0}return Math.abs(n)}}})),Ya,Xa=r((()=>{Na(),za(),Yo(),Rr(),Ya=class extends V{wpsShapeData;constructor(e){super({}),this.wpsShapeData={data:{...e},transformation:Pa(e.transformation),type:e.type};let t=new ja(this.wpsShapeData,{docProperties:e.altText,floating:e.floating,outline:e.outline,fill:e.fill});this.extraChildren.push(t)}}})),Za,Qa=r((()=>{Yo(),Na(),za(),Rr(),Za=class extends V{wpgGroupData;mediaDatas;constructor(e){super({}),this.wpgGroupData={children:e.children,transformation:Pa(e.transformation),type:e.type};let t=new ja(this.wpgGroupData,{docProperties:e.altText,floating:e.floating});this.mediaDatas=e.children.filter(e=>e.type!==`wps`).map(e=>e),this.extraChildren.push(t)}prepForXml(e){return this.mediaDatas.forEach(t=>{e.file.Media.addImage(t.fileName,t),t.type===`svg`&&e.file.Media.addImage(t.fallback.fileName,t.fallback)}),super.prepForXml(e)}}})),$a,eo=r((()=>{j(),$a=class extends y{xmlKeys={space:`xml:space`}}})),to,no=r((()=>{Bn(),j(),eo(),to=class extends b{constructor(e){super(`w:instrText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(`SEQ ${e}`)}}})),ro,io=r((()=>{Yo(),Gt(),no(),ro=class extends V{constructor(e){super({}),this.extraChildren.push(Ut(!0)),this.extraChildren.push(new to(e)),this.extraChildren.push(Wt()),this.extraChildren.push(I())}}})),ao,oo,so,co=r((()=>{j(),Kn(),ao=class extends y{xmlKeys={instr:`w:instr`}},oo=class extends b{constructor(e,t){super(`w:fldSimple`),this.root.push(new ao({instr:e})),t!==void 0&&this.root.push(new Gn(t))}},so=class extends oo{constructor(e){super(` MERGEFIELD ${e} `,`«${e}»`)}}})),lo=r((()=>{})),uo=r((()=>{lo()})),fo,po,mo,ho,go,_o,vo,yo,bo=r((()=>{uo(),j(),fo=class extends y{xmlKeys={author:`w:author`,date:`w:date`,id:`w:id`,initials:`w:initials`}},po=class extends y{xmlKeys={id:`w:id`}},mo=class extends y{xmlKeys={"xmlns:aink":`xmlns:aink`,"xmlns:am3d":`xmlns:am3d`,"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:m":`xmlns:m`,"xmlns:mc":`xmlns:mc`,"xmlns:o":`xmlns:o`,"xmlns:r":`xmlns:r`,"xmlns:v":`xmlns:v`,"xmlns:w":`xmlns:w`,"xmlns:w10":`xmlns:w10`,"xmlns:w14":`xmlns:w14`,"xmlns:w15":`xmlns:w15`,"xmlns:w16":`xmlns:w16`,"xmlns:w16cex":`xmlns:w16cex`,"xmlns:w16cid":`xmlns:w16cid`,"xmlns:w16sdtdh":`xmlns:w16sdtdh`,"xmlns:w16se":`xmlns:w16se`,"xmlns:wne":`xmlns:wne`,"xmlns:wp":`xmlns:wp`,"xmlns:wp14":`xmlns:wp14`,"xmlns:wpg":`xmlns:wpg`,"xmlns:wpi":`xmlns:wpi`,"xmlns:wps":`xmlns:wps`}},ho=class extends b{constructor(e){super(`w:commentRangeStart`),this.root.push(new po({id:e}))}},go=class extends b{constructor(e){super(`w:commentRangeEnd`),this.root.push(new po({id:e}))}},_o=class extends b{constructor(e){super(`w:commentReference`),this.root.push(new po({id:e}))}},vo=class extends b{constructor({id:e,initials:t,author:n,date:r=new Date,children:i}){super(`w:comment`),this.root.push(new fo({author:n,date:r.toISOString(),id:e,initials:t}));for(let e of i)this.root.push(e)}},yo=class extends b{relationships;constructor({children:e}){super(`w:comments`),this.root.push(new mo({"xmlns:aink":`http://schemas.microsoft.com/office/drawing/2016/ink`,"xmlns:am3d":`http://schemas.microsoft.com/office/drawing/2017/model3d`,"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:m":`http://schemas.openxmlformats.org/officeDocument/2006/math`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"xmlns:o":`urn:schemas-microsoft-com:office:office`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:v":`urn:schemas-microsoft-com:vml`,"xmlns:w":`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,"xmlns:w10":`urn:schemas-microsoft-com:office:word`,"xmlns:w14":`http://schemas.microsoft.com/office/word/2010/wordml`,"xmlns:w15":`http://schemas.microsoft.com/office/word/2012/wordml`,"xmlns:w16":`http://schemas.microsoft.com/office/word/2018/wordml`,"xmlns:w16cex":`http://schemas.microsoft.com/office/word/2018/wordml/cex`,"xmlns:w16cid":`http://schemas.microsoft.com/office/word/2016/wordml/cid`,"xmlns:w16sdtdh":`http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash`,"xmlns:w16se":`http://schemas.microsoft.com/office/word/2015/wordml/symex`,"xmlns:wne":`http://schemas.microsoft.com/office/word/2006/wordml`,"xmlns:wp":`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,"xmlns:wp14":`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,"xmlns:wpg":`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,"xmlns:wpi":`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,"xmlns:wps":`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`}));for(let t of e)this.root.push(new vo(t));this.relationships=new g}get Relationships(){return this.relationships}}})),xo,So,Co,wo,To,Eo,Do,Oo,ko,Ao,jo,Mo,No,Po,Fo,Io,Lo,Ro=r((()=>{j(),xo=class extends u{constructor(){super(`w:noBreakHyphen`)}},So=class extends u{constructor(){super(`w:softHyphen`)}},Co=class extends u{constructor(){super(`w:dayShort`)}},wo=class extends u{constructor(){super(`w:monthShort`)}},To=class extends u{constructor(){super(`w:yearShort`)}},Eo=class extends u{constructor(){super(`w:dayLong`)}},Do=class extends u{constructor(){super(`w:monthLong`)}},Oo=class extends u{constructor(){super(`w:yearLong`)}},ko=class extends u{constructor(){super(`w:annotationRef`)}},Ao=class extends u{constructor(){super(`w:footnoteRef`)}},jo=class extends u{constructor(){super(`w:endnoteRef`)}},Mo=class extends u{constructor(){super(`w:separator`)}},No=class extends u{constructor(){super(`w:continuationSeparator`)}},Po=class extends u{constructor(){super(`w:pgNum`)}},Fo=class extends u{constructor(){super(`w:cr`)}},Io=class extends u{constructor(){super(`w:tab`)}},Lo=class extends u{constructor(){super(`w:lastRenderedPageBreak`)}}})),zo,Bo,Vo,Ho,Uo,Wo=r((()=>{j(),zo={LEFT:`left`,CENTER:`center`,RIGHT:`right`},Bo={MARGIN:`margin`,INDENT:`indent`},Vo={NONE:`none`,DOT:`dot`,HYPHEN:`hyphen`,UNDERSCORE:`underscore`,MIDDLE_DOT:`middleDot`},Ho=class extends y{xmlKeys={alignment:`w:alignment`,leader:`w:leader`,relativeTo:`w:relativeTo`}},Uo=class extends b{constructor(e){super(`w:ptab`),this.root.push(new Ho({alignment:e.alignment,leader:e.leader,relativeTo:e.relativeTo}))}}})),Go,Ko,qo,Jo=r((()=>{j(),Un(),Go={CENTER:`center`,DISTRIBUTE_LETTER:`distributeLetter`,DISTRIBUTE_SPACE:`distributeSpace`,LEFT:`left`,RIGHT:`right`,RIGHT_VERTICAL:`rightVertical`},Ko=(e,t)=>new o({children:[new o({children:[new Hn(t)],name:`w:r`})],name:e}),qo=e=>{let t=e.alignment??`CENTER`,n=e.fontSize??20,r=e.raise??20,i=e.baseFontSize??40;return new o({children:[new o({children:[new o({attributes:{val:{key:`w:val`,value:Go[t]}},name:`w:rubyAlign`}),new o({attributes:{val:{key:`w:val`,value:n}},name:`w:hps`}),new o({attributes:{val:{key:`w:val`,value:r}},name:`w:hpsRaise`}),new o({attributes:{val:{key:`w:val`,value:i}},name:`w:hpsBaseText`}),new o({attributes:{val:{key:`w:val`,value:e.languageId??`ja-JP`}},name:`w:lid`}),...e.dirty===void 0?[]:[new o({name:`w:dirty`})]],name:`w:rubyPr`}),Ko(`w:rt`,e.text),Ko(`w:rubyBase`,e.base)],name:`w:ruby`})}})),Yo=r((()=>{Wn(),Mn(),Kn(),Zn(),Ha(),Ga(),Ja(),Xa(),Qa(),Sn(),io(),Tn(),pn(),co(),bo(),Ro(),Wo(),Jo(),Bt(),Nt()})),Xo,Zo,Qo,$o,es,ts=r((()=>{j(),Yo(),Xo={COLUMN:`column`,PAGE:`page`},Zo=class extends b{constructor(e){super(`w:br`),this.root.push(new A({type:e}))}},Qo=class extends V{constructor(){super({}),this.extraChildren.push(new Zo(Xo.PAGE))}},$o=class extends V{constructor(){super({}),this.extraChildren.push(new Zo(Xo.COLUMN))}},es=class extends b{constructor(){super(`w:pageBreakBefore`)}}})),ns,rs,is=r((()=>{j(),P(),ns={AT_LEAST:`atLeast`,EXACTLY:`exactly`,EXACT:`exact`,AUTO:`auto`},rs=({after:e,before:t,line:n,lineRule:r,beforeAutoSpacing:i,afterAutoSpacing:a,beforeLines:s,afterLines:c})=>new o({attributes:{after:{key:`w:after`,value:e},afterAutoSpacing:{key:`w:afterAutospacing`,value:a},afterLines:{key:`w:afterLines`,value:c===void 0?void 0:(0,N.decimalNumber)(c)},before:{key:`w:before`,value:t},beforeAutoSpacing:{key:`w:beforeAutospacing`,value:i},beforeLines:{key:`w:beforeLines`,value:s===void 0?void 0:(0,N.decimalNumber)(s)},line:{key:`w:line`,value:n},lineRule:{key:`w:lineRule`,value:r}},name:`w:spacing`})})),as,os,ss=r((()=>{j(),as={HEADING_1:`Heading1`,HEADING_2:`Heading2`,HEADING_3:`Heading3`,HEADING_4:`Heading4`,HEADING_5:`Heading5`,HEADING_6:`Heading6`,TITLE:`Title`},os=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:pStyle`})})),cs,ls,us,ds,fs,ps=r((()=>{j(),cs={LEFT:`left`,RIGHT:`right`,CENTER:`center`,BAR:`bar`,CLEAR:`clear`,DECIMAL:`decimal`,END:`end`,NUM:`num`,START:`start`},ls={DOT:`dot`,HEAVY:`heavy`,HYPHEN:`hyphen`,MIDDLE_DOT:`middleDot`,NONE:`none`,UNDERSCORE:`underscore`},us={MAX:9026},ds=({type:e,position:t,leader:n})=>new o({attributes:{leader:{key:`w:leader`,value:n},pos:{key:`w:pos`,value:t},val:{key:`w:val`,value:e}},name:`w:tab`}),fs=e=>new o({children:e.map(e=>ds(e)),name:`w:tabs`})})),ms,hs,gs,_s=r((()=>{j(),ms=class extends b{constructor(e,t){super(`w:numPr`),this.root.push(new hs(t)),this.root.push(new gs(e))}},hs=class extends b{constructor(e){super(`w:ilvl`),this.root.push(new A({val:Math.min(e,9)}))}},gs=class extends b{constructor(e){super(`w:numId`),this.root.push(new A({val:typeof e==`string`?`{${e}}`:e}))}}})),vs=r((()=>{bt(),Dt(),kt(),jt(),ts(),is(),ss(),ps(),_s()})),ys,bs,xs=r((()=>{j(),ys=class extends y{xmlKeys={id:`w:id`,name:`w:name`}},bs=class extends y{xmlKeys={id:`w:id`}}})),Ss,Cs,ws,Ts=r((()=>{j(),H(),xs(),Ss=class{bookmarkUniqueNumericId=tr();start;children;end;constructor(e){let t=this.bookmarkUniqueNumericId();this.start=new Cs(e.id,t),this.children=e.children,this.end=new ws(t)}},Cs=class extends b{constructor(e,t){super(`w:bookmarkStart`);let n=new ys({id:t,name:e});this.root.push(n)}},ws=class extends b{constructor(e){super(`w:bookmarkEnd`);let t=new bs({id:e});this.root.push(t)}}})),Es,Ds,Os,ks,As,js,Ms=r((()=>{j(),Es=class extends y{xmlKeys={author:`w:author`,date:`w:date`,id:`w:id`,name:`w:name`}},Ds=class extends y{xmlKeys={id:`w:id`}},Os=class extends b{constructor(e,t,n,r){super(`w:moveFromRangeStart`),this.root.push(new Es({id:e,name:t,author:n,date:r}))}},ks=class extends b{constructor(e){super(`w:moveFromRangeEnd`),this.root.push(new Ds({id:e}))}},As=class extends b{constructor(e,t,n,r){super(`w:moveToRangeStart`),this.root.push(new Es({id:e,name:t,author:n,date:r}))}},js=class extends b{constructor(e){super(`w:moveToRangeEnd`),this.root.push(new Ds({id:e}))}}})),Ns,Ps=r((()=>{j(),Ns=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:divId`})})),Fs,Is,Ls,Rs=r((()=>{co(),Fs=function(e){return e.NONE=`none`,e.RELATIVE=`relative`,e.NO_CONTEXT=`no_context`,e.FULL_CONTEXT=`full_context`,e}({}),Is={relative:`\\r`,no_context:`\\n`,full_context:`\\w`,none:void 0},Ls=class extends oo{constructor(e,t,n={}){let{hyperlink:r=!0,referenceFormat:i=`full_context`}=n,a=`${`REF ${e}`} ${[...r?[`\\h`]:[],...[Is[i]].filter(e=>!!e)].join(` `)}`;super(a,t)}}})),zs,Bs=r((()=>{j(),zs=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:outlineLvl`})})),Vs,Hs=r((()=>{Bn(),j(),eo(),Vs=class extends b{constructor(e,t={}){super(`w:instrText`),this.root.push(new $a({space:Rn.PRESERVE}));let n=`PAGEREF ${e}`;t.hyperlink&&(n=`${n} \\h`),t.useRelativePosition&&(n=`${n} \\p`),this.root.push(n)}}})),Us,Ws=r((()=>{Gt(),Yo(),Hs(),Us=class extends V{constructor(e,t={}){super({children:[Ut(!0),new Vs(e,t),I()]})}}})),Gs,Ks,qs,Js=r((()=>{j(),Gs=class extends y{xmlKeys={val:`w:val`}},Ks=class extends b{constructor(e){super(`w:dir`),this.root.push(new Gs({val:e.val}));for(let t of e.children)this.root.push(t)}},qs=class extends b{constructor(e){super(`w:bdo`),this.root.push(new Gs({val:e.val}));for(let t of e.children)this.root.push(t)}}})),Ys=r((()=>{pi(),Ts(),Ms(),Ps(),Rs(),Bs(),Ws(),Js()})),Xs,Zs,Qs,$s=r((()=>{j(),Xs={ANSI:`00`,ARABIC:`B2`,BALTIC:`BA`,CHINESEBIG5:`88`,DEFAULT:`01`,EASTEUROPE:`EE`,GB_2312:`86`,GREEK:`A1`,HANGUL:`81`,HEBREW:`B1`,JIS:`80`,JOHAB:`82`,MAC:`4D`,OEM:`FF`,RUSSIAN:`CC`,SYMBOL:`02`,THAI:`DE`,TURKISH:`A2`,VIETNAMESE:`A3`},Zs=({id:e,fontKey:t,subsetted:n},r)=>new o({attributes:{id:{key:`r:id`,value:e},...t?{fontKey:{key:`w:fontKey`,value:`{${t}}`}}:{}},children:n?[new h(`w:subsetted`,n)]:[],name:r}),Qs=({name:e,altName:t,panose1:n,charset:r,family:i,notTrueType:a,pitch:s,sig:c,embedRegular:l,embedBold:u,embedItalic:d,embedBoldItalic:f})=>new o({attributes:{name:{key:`w:name`,value:e}},children:[...t?[_t(`w:altName`,t)]:[],...n?[_t(`w:panose1`,n)]:[],...r?[_t(`w:charset`,r)]:[],...i?[_t(`w:family`,i)]:[],...a?[new h(`w:notTrueType`,a)]:[],...s?[_t(`w:pitch`,s)]:[],...c?[new o({attributes:{csb0:{key:`w:csb0`,value:c.csb0},csb1:{key:`w:csb1`,value:c.csb1},usb0:{key:`w:usb0`,value:c.usb0},usb1:{key:`w:usb1`,value:c.usb1},usb2:{key:`w:usb2`,value:c.usb2},usb3:{key:`w:usb3`,value:c.usb3}},name:`w:sig`})]:[],...l?[Zs(l,`w:embedRegular`)]:[],...u?[Zs(u,`w:embedBold`)]:[],...d?[Zs(d,`w:embedItalic`)]:[],...f?[Zs(f,`w:embedBoldItalic`)]:[]],name:`w:font`})})),ec,tc=r((()=>{$s(),ec=({name:e,index:t,fontKey:n,characterSet:r})=>Qs({charset:r,embedRegular:{fontKey:n,id:`rId${t}`},family:`auto`,name:e,pitch:`variable`,sig:{csb0:`000001FF`,csb1:`00000000`,usb0:`E0002AFF`,usb1:`C000247B`,usb2:`00000009`,usb3:`00000000`}})})),nc,rc=r((()=>{j(),tc(),nc=e=>new o({attributes:{Ignorable:{key:`mc:Ignorable`,value:`w14 w15 w16se w16cid w16 w16cex w16sdtdh`},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`},w16:{key:`xmlns:w16`,value:`http://schemas.microsoft.com/office/word/2018/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`},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`}},children:e.map((e,t)=>ec({characterSet:e.characterSet,fontKey:e.fontKey,index:t+1,name:e.name})),name:`w:fonts`})})),ic,ac=r((()=>{uo(),H(),rc(),ic=class{fontTable;relationships;fontOptionsWithKey=[];constructor(e){this.options=e,this.fontOptionsWithKey=e.map(e=>({...e,fontKey:je()})),this.fontTable=nc(this.fontOptionsWithKey),this.relationships=new g;for(let t=0;t<e.length;t++)this.relationships.addRelationship(t+1,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/font`,`fonts/${e[t].name}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}}})),oc,sc=r((()=>{j(),oc=()=>new o({attributes:{val:{key:`w:val`,value:0}},name:`w:wordWrap`})})),cc,lc,uc,dc,fc=r((()=>{j(),cc={NONE:`none`,DROP:`drop`,MARGIN:`margin`},lc={MARGIN:`margin`,PAGE:`page`,TEXT:`text`},uc={AROUND:`around`,AUTO:`auto`,NONE:`none`,NOT_BESIDE:`notBeside`,THROUGH:`through`,TIGHT:`tight`},dc=e=>new o({attributes:{alignmentX:{key:`w:xAlign`,value:e.alignment?e.alignment.x:void 0},alignmentY:{key:`w:yAlign`,value:e.alignment?e.alignment.y:void 0},anchorHorizontal:{key:`w:hAnchor`,value:e.anchor.horizontal},anchorLock:{key:`w:anchorLock`,value:e.anchorLock},anchorVertical:{key:`w:vAnchor`,value:e.anchor.vertical},dropCap:{key:`w:dropCap`,value:e.dropCap},height:{key:`w:h`,value:e.height},lines:{key:`w:lines`,value:e.lines},rule:{key:`w:hRule`,value:e.rule},spaceHorizontal:{key:`w:hSpace`,value:e.space?.horizontal},spaceVertical:{key:`w:vSpace`,value:e.space?.vertical},width:{key:`w:w`,value:e.width},wrap:{key:`w:wrap`,value:e.wrap},x:{key:`w:x`,value:e.position?e.position.x:void 0},y:{key:`w:y`,value:e.position?e.position.y:void 0}},name:`w:framePr`})})),pc,mc,hc,gc,_c=r((()=>{R(),j(),K(),ac(),nn(),bt(),Dt(),ts(),kt(),jt(),is(),ss(),ps(),_s(),sc(),fc(),Ys(),pc={TOP:`top`,CENTER:`center`,BASELINE:`baseline`,BOTTOM:`bottom`,AUTO:`auto`},mc={NONE:`none`,ALL_LINES:`allLines`,FIRST_AND_LAST_LINE:`firstAndLastLine`,FIRST_LINE_ONLY:`firstLineOnly`,LAST_LINE_ONLY:`lastLineOnly`},hc=class extends p{numberingReferences=[];constructor(e){if(super(`w:pPr`,e?.includeIfEmpty),!e)return this;e.heading&&this.push(os(e.heading)),e.bullet&&this.push(os(`ListParagraph`)),e.numbering&&!e.style&&!e.heading&&(e.numbering.custom||this.push(os(`ListParagraph`))),e.style&&this.push(os(e.style)),e.keepNext!==void 0&&this.push(new h(`w:keepNext`,e.keepNext)),e.keepLines!==void 0&&this.push(new h(`w:keepLines`,e.keepLines)),e.pageBreakBefore&&this.push(new es),e.frame&&this.push(dc(e.frame)),e.widowControl!==void 0&&this.push(new h(`w:widowControl`,e.widowControl)),e.bullet&&this.push(new ms(1,e.bullet.level)),e.numbering?(this.numberingReferences.push({instance:e.numbering.instance??0,reference:e.numbering.reference}),this.push(new ms(`${e.numbering.reference}-${e.numbering.instance??0}`,e.numbering.level))):e.numbering===!1&&this.push(new ms(0,0)),e.border&&this.push(new Tt(e.border)),e.thematicBreak&&this.push(new Et),e.shading&&this.push($t(e.shading)),e.wordWrap&&this.push(oc()),e.overflowPunctuation&&this.push(new h(`w:overflowPunct`,e.overflowPunctuation));let t=[...e.rightTabStop===void 0?[]:[{position:e.rightTabStop,type:cs.RIGHT}],...e.tabStops?e.tabStops:[],...e.leftTabStop===void 0?[]:[{position:e.leftTabStop,type:cs.LEFT}]];t.length>0&&this.push(fs(t)),e.bidirectional!==void 0&&this.push(new h(`w:bidi`,e.bidirectional)),e.spacing&&this.push(rs(e.spacing)),e.indent&&this.push(At(e.indent)),e.contextualSpacing!==void 0&&this.push(new h(`w:contextualSpacing`,e.contextualSpacing)),e.alignment&&this.push(yt(e.alignment)),e.outlineLevel!==void 0&&this.push(zs(e.outlineLevel)),e.divId!==void 0&&this.push(Ns(e.divId)),e.cnfStyle!==void 0&&this.push(Ot(e.cnfStyle)),e.suppressLineNumbers!==void 0&&this.push(new h(`w:suppressLineNumbers`,e.suppressLineNumbers)),e.autoSpaceEastAsianText!==void 0&&this.push(new h(`w:autoSpaceDN`,e.autoSpaceEastAsianText)),e.suppressAutoHyphens!==void 0&&this.push(new h(`w:suppressAutoHyphens`,e.suppressAutoHyphens)),e.adjustRightInd!==void 0&&this.push(new h(`w:adjustRightInd`,e.adjustRightInd)),e.snapToGrid!==void 0&&this.push(new h(`w:snapToGrid`,e.snapToGrid)),e.mirrorIndents!==void 0&&this.push(new h(`w:mirrorIndents`,e.mirrorIndents)),e.kinsoku!==void 0&&this.push(new h(`w:kinsoku`,e.kinsoku)),e.topLinePunct!==void 0&&this.push(new h(`w:topLinePunct`,e.topLinePunct)),e.autoSpaceDE!==void 0&&this.push(new h(`w:autoSpaceDE`,e.autoSpaceDE)),e.textAlignment!==void 0&&this.push(new o({attributes:{val:{key:`w:val`,value:e.textAlignment}},name:`w:textAlignment`})),e.textboxTightWrap!==void 0&&this.push(new o({attributes:{val:{key:`w:val`,value:e.textboxTightWrap}},name:`w:textboxTightWrap`})),e.textDirection!==void 0&&this.push(new o({attributes:{val:{key:`w:val`,value:e.textDirection}},name:`w:textDirection`})),e.suppressOverlap!==void 0&&this.push(new h(`w:suppressOverlap`,e.suppressOverlap)),e.run&&this.push(new An(e.run)),e.revision&&this.push(new gc(e.revision))}push(e){this.root.push(e)}prepForXml(e){if(!(e.viewWrapper instanceof ic))for(let t of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(t.reference,t.instance);return super.prepForXml(e)}},gc=class extends b{constructor(e){super(`w:pPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new hc({...e,includeIfEmpty:!0}))}}})),U,vc=r((()=>{j(),H(),mi(),Ys(),_c(),Yo(),Ga(),Ha(),Ja(),U=class extends a{fileChild=Symbol();options;frontRuns=[];sectionProperties;constructor(e){super(`w:p`),typeof e==`string`?this.options={text:e}:this.options=e}prepForXml(e){let t=[],n=new hc(this.options);this.sectionProperties&&n.push(this.sectionProperties);let r=n.prepForXml(e);r&&t.push(r);for(let n of this.frontRuns){let r=n.prepForXml(e);r&&t.push(r)}if(this.options.text){let n=new Gn(this.options.text).prepForXml(e);n&&t.push(n)}if(this.options.children)for(let n of this.options.children){if(n instanceof fi){let r=new ui(n.options.children,Oe());e.viewWrapper.Relationships.addRelationship(r.linkId,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,n.options.link,se.EXTERNAL);let i=r.prepForXml(e);i&&t.push(i);continue}if(n instanceof Ss){let r=n.start.prepForXml(e);r&&t.push(r);for(let r of n.children)if(r instanceof a){let n=r.prepForXml(e);n&&t.push(n)}let i=n.end.prepForXml(e);i&&t.push(i);continue}let r;r=typeof n==`string`?new Gn(n):n instanceof a?n:`chart`in n?new Wa(n.chart):`smartArt`in n?new qa(n.smartArt):`image`in n?new Va(n.image):new Gn(n);let i=r.prepForXml(e);i&&t.push(i)}return{"w:p":t.length>0?t:{}}}addRunToFront(e){return this.frontRuns.push(e),this}setSectionProperties(e){this.sectionProperties=e}}})),yc,bc=r((()=>{j(),yc=({accent:e})=>new o({attributes:{accent:{key:`m:val`,value:e}},name:`m:chr`})})),W,xc=r((()=>{j(),W=({children:e})=>new o({children:e,name:`m:e`})})),Sc,Cc=r((()=>{j(),Sc=({value:e})=>new o({attributes:{value:{key:`m:val`,value:e||`undOvr`}},name:`m:limLoc`})})),wc,Tc=r((()=>{j(),wc=()=>new o({attributes:{hide:{key:`m:val`,value:1}},name:`m:subHide`})})),Ec,Dc=r((()=>{j(),Ec=()=>new o({attributes:{hide:{key:`m:val`,value:1}},name:`m:supHide`})})),Oc,kc=r((()=>{j(),bc(),Cc(),Tc(),Dc(),Oc=({accent:e,hasSuperScript:t,hasSubScript:n,limitLocationVal:r,grow:i})=>{let a=[];return e&&a.push(yc({accent:e})),a.push(Sc({value:r})),i!==void 0&&a.push(new h(`m:grow`,i)),n||a.push(wc()),t||a.push(Ec()),new o({children:a,name:`m:naryPr`})}})),Ac,jc=r((()=>{j(),Ac=({children:e})=>new o({children:e,name:`m:sub`})})),Mc,Nc=r((()=>{j(),Mc=({children:e})=>new o({children:e,name:`m:sup`})})),Pc,Fc=r((()=>{j(),xc(),kc(),jc(),Nc(),Pc=class extends b{constructor(e){super(`m:nary`),this.root.push(Oc({accent:`∑`,hasSubScript:!!e.subScript,hasSuperScript:!!e.superScript})),this.root.push(Ac({children:e.subScript??[]})),this.root.push(Mc({children:e.superScript??[]})),this.root.push(W({children:e.children}))}}})),Ic,Lc=r((()=>{j(),xc(),kc(),jc(),Nc(),Ic=class extends b{constructor(e){super(`m:nary`),this.root.push(Oc({accent:``,hasSubScript:!!e.subScript,hasSuperScript:!!e.superScript,limitLocationVal:`subSup`})),this.root.push(Ac({children:e.subScript??[]})),this.root.push(Mc({children:e.superScript??[]})),this.root.push(W({children:e.children}))}}})),Rc,zc=r((()=>{j(),Rc=class extends b{constructor(e){super(`m:lim`);for(let t of e)this.root.push(t)}}})),Bc,Vc=r((()=>{j(),Bc=e=>{let t=[];return e?.insertionReference!==void 0&&t.push(new o({attributes:{id:{key:`w:id`,value:e.insertionReference}},name:`w:ins`})),e?.deletionReference!==void 0&&t.push(new o({attributes:{id:{key:`w:id`,value:e.deletionReference}},name:`w:del`})),new o({children:t,name:`m:ctrlPr`})}})),Hc,Uc=r((()=>{j(),Vc(),Hc=e=>{let t=[];return e?.controlProperties!==void 0&&t.push(Bc(e.controlProperties)),new o({children:t,name:`m:limUppPr`})}})),Wc,Gc=r((()=>{j(),xc(),zc(),Uc(),Wc=class extends b{constructor(e){super(`m:limUpp`),e.properties&&this.root.push(Hc(e.properties)),this.root.push(W({children:e.children})),this.root.push(new Rc(e.limit))}}})),Kc,qc=r((()=>{j(),Vc(),Kc=e=>{let t=[];return e?.controlProperties!==void 0&&t.push(Bc(e.controlProperties)),new o({children:t,name:`m:limLowPr`})}})),Jc,Yc=r((()=>{j(),xc(),zc(),qc(),Jc=class extends b{constructor(e){super(`m:limLow`),e.properties&&this.root.push(Kc(e.properties)),this.root.push(W({children:e.children})),this.root.push(new Rc(e.limit))}}})),G=r((()=>{bc(),xc(),Cc(),kc(),jc(),Fc(),Lc(),Nc(),zc(),Gc(),Uc(),Yc(),qc()})),Xc,Zc=r((()=>{j(),Xc=e=>new o({children:[new o({attributes:{val:{key:`m:val`,value:e.accentCharacter}},name:`m:chr`})],name:`m:accPr`})})),Qc,$c=r((()=>{j(),G(),Zc(),Qc=({accentCharacter:e,children:t})=>new o({children:[...e?[Xc({accentCharacter:e})]:[],W({children:t})],name:`m:acc`})})),el=r((()=>{$c(),Zc()})),tl,nl=r((()=>{j(),tl=({val:e})=>new o({attributes:{val:{key:`m:val`,value:e}},name:`m:pos`})})),rl,il=r((()=>{j(),nl(),rl=({type:e})=>new o({children:[tl({val:e})],name:`m:barPr`})})),al,ol=r((()=>{j(),G(),il(),al=({type:e,children:t})=>new o({children:[rl({type:e}),W({children:t})],name:`m:bar`})})),sl=r((()=>{ol(),il()})),cl,ll=r((()=>{j(),cl=e=>{let t=[];return e.hideTop!==void 0&&t.push(new h(`m:hideTop`,e.hideTop)),e.hideBottom!==void 0&&t.push(new h(`m:hideBot`,e.hideBottom)),e.hideLeft!==void 0&&t.push(new h(`m:hideLeft`,e.hideLeft)),e.hideRight!==void 0&&t.push(new h(`m:hideRight`,e.hideRight)),e.strikeHorizontal!==void 0&&t.push(new h(`m:strikeH`,e.strikeHorizontal)),e.strikeVertical!==void 0&&t.push(new h(`m:strikeV`,e.strikeVertical)),e.strikeDiagonalUp!==void 0&&t.push(new h(`m:strikeBLTR`,e.strikeDiagonalUp)),e.strikeDiagonalDown!==void 0&&t.push(new h(`m:strikeTLBR`,e.strikeDiagonalDown)),new o({children:t,name:`m:borderBoxPr`})}})),ul,dl=r((()=>{j(),G(),ll(),ul=class extends b{constructor(e){super(`m:borderBox`),e.properties&&this.root.push(cl(e.properties)),this.root.push(W({children:e.children}))}}})),fl=r((()=>{dl(),ll()})),pl,ml=r((()=>{j(),pl=e=>{let t=[];return e.opEmu!==void 0&&t.push(new h(`m:opEmu`,e.opEmu)),e.noBreak!==void 0&&t.push(new h(`m:noBreak`,e.noBreak)),e.diff!==void 0&&t.push(new h(`m:diff`,e.diff)),e.aln!==void 0&&t.push(new h(`m:aln`,e.aln)),new o({children:t,name:`m:boxPr`})}})),hl,gl=r((()=>{j(),G(),ml(),hl=class extends b{constructor(e){super(`m:box`),e.properties&&this.root.push(pl(e.properties)),this.root.push(W({children:e.children}))}}})),_l=r((()=>{gl(),ml()})),vl,yl=r((()=>{j(),vl=({character:e})=>new o({attributes:{character:{key:`m:val`,value:e}},name:`m:begChr`})})),bl,xl=r((()=>{j(),bl=({character:e})=>new o({attributes:{character:{key:`m:val`,value:e}},name:`m:endChr`})})),Sl,Cl=r((()=>{j(),yl(),xl(),Sl=({characters:e,separatorCharacter:t,grow:n,shape:r})=>{let i=[];return e&&i.push(vl({character:e.beginningCharacter})),t!==void 0&&i.push(new o({attributes:{val:{key:`m:val`,value:t}},name:`m:sepChr`})),e&&i.push(bl({character:e.endingCharacter})),n!==void 0&&i.push(new h(`m:grow`,n)),r!==void 0&&i.push(new o({attributes:{val:{key:`m:val`,value:r}},name:`m:shp`})),new o({children:i,name:`m:dPr`})}})),wl,Tl=r((()=>{j(),G(),Cl(),wl=class extends b{constructor(e){super(`m:d`),this.root.push(Sl({})),this.root.push(W({children:e.children}))}}})),El,Dl=r((()=>{j(),G(),Cl(),El=class extends b{constructor(e){super(`m:d`),this.root.push(Sl({characters:{beginningCharacter:`[`,endingCharacter:`]`}})),this.root.push(W({children:e.children}))}}})),Ol,kl=r((()=>{j(),G(),Cl(),Ol=class extends b{constructor(e){super(`m:d`),this.root.push(Sl({characters:{beginningCharacter:`{`,endingCharacter:`}`}})),this.root.push(W({children:e.children}))}}})),Al,jl=r((()=>{j(),G(),Cl(),Al=class extends b{constructor(e){super(`m:d`),this.root.push(Sl({characters:{beginningCharacter:`〈`,endingCharacter:`〉`}})),this.root.push(W({children:e.children}))}}})),Ml=r((()=>{Tl(),Dl(),kl(),jl()})),Nl,Pl=r((()=>{j(),Nl=e=>{let t=[];return e.baseJc!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.baseJc}},name:`m:baseJc`})),e.maxDist!==void 0&&t.push(new h(`m:maxDist`,e.maxDist)),e.objDist!==void 0&&t.push(new h(`m:objDist`,e.objDist)),e.rSpRule!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rSpRule}},name:`m:rSpRule`})),e.rSp!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rSp}},name:`m:rSp`})),new o({children:t,name:`m:eqArrPr`})}})),Fl,Il=r((()=>{j(),G(),Pl(),Fl=class extends b{constructor(e){super(`m:eqArr`),e.properties&&this.root.push(Nl(e.properties));for(let t of e.rows)this.root.push(W({children:t}))}}})),Ll=r((()=>{Il(),Pl()})),Rl,zl=r((()=>{j(),Rl=class extends b{constructor(e){super(`m:den`);for(let t of e)this.root.push(t)}}})),Bl,Vl,Hl=r((()=>{j(),Bl={BAR:`bar`,SKEWED:`skw`,LINEAR:`lin`,NO_BAR:`noBar`},Vl=e=>{let t=[];return e.fractionType&&t.push(new o({attributes:{val:{key:`m:val`,value:Bl[e.fractionType]}},name:`m:type`})),new o({children:t,name:`m:fPr`})}})),Ul,Wl=r((()=>{j(),Ul=class extends b{constructor(e){super(`m:num`);for(let t of e)this.root.push(t)}}})),Gl,Kl=r((()=>{j(),zl(),Hl(),Wl(),Gl=class extends b{constructor(e){super(`m:f`),e.fractionType&&this.root.push(Vl({fractionType:e.fractionType})),this.root.push(new Ul(e.numerator)),this.root.push(new Rl(e.denominator))}}})),ql=r((()=>{Kl(),Hl(),zl(),Wl()})),Jl,Yl=r((()=>{j(),Jl=class extends b{constructor(e){super(`m:fName`);for(let t of e)this.root.push(t)}}})),Xl,Zl=r((()=>{j(),Vc(),Xl=e=>{let t=[];return e?.controlProperties!==void 0&&t.push(Bc(e.controlProperties)),new o({children:t,name:`m:funcPr`})}})),Ql,$l=r((()=>{j(),G(),Yl(),Zl(),Ql=class extends b{constructor(e){super(`m:func`),e.properties&&this.root.push(Xl(e.properties)),this.root.push(new Jl(e.name)),this.root.push(W({children:e.children}))}}})),eu=r((()=>{$l(),Yl(),Zl()})),tu,nu=r((()=>{j(),tu=e=>{let t=[];return e.chr!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.chr}},name:`m:chr`})),e.pos!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.pos}},name:`m:pos`})),e.vertJc!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.vertJc}},name:`m:vertJc`})),new o({children:t,name:`m:groupChrPr`})}})),ru,iu=r((()=>{j(),G(),nu(),ru=class extends b{constructor(e){super(`m:groupChr`),e.properties&&this.root.push(tu(e.properties)),this.root.push(W({children:e.children}))}}})),au=r((()=>{iu(),nu()})),ou,su=r((()=>{j(),ou=class extends b{constructor(e){super(`m:oMath`);for(let t of e.children)this.root.push(t)}}})),cu,lu=r((()=>{cu=``})),uu,du,fu=r((()=>{j(),su(),uu=e=>new o({children:[new o({attributes:{val:{key:`m:val`,value:e}},name:`m:jc`})],name:`m:oMathParaPr`}),du=class extends b{constructor(e){super(`m:oMathPara`),e.justification&&this.root.push(uu(e.justification));for(let t of e.children)this.root.push(new ou(t))}}})),pu,mu=r((()=>{j(),pu=e=>{let t=[];return e.mathFont!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.mathFont}},name:`m:mathFont`})),e.breakBin!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.breakBin}},name:`m:brkBin`})),e.breakBinSub!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.breakBinSub}},name:`m:brkBinSub`})),e.smallFrac!==void 0&&t.push(new h(`m:smallFrac`,e.smallFrac)),e.displayDefault!==void 0&&t.push(new h(`m:dispDef`,e.displayDefault)),e.leftMargin!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.leftMargin.toString()}},name:`m:lMargin`})),e.rightMargin!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rightMargin.toString()}},name:`m:rMargin`})),e.defaultJustification!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.defaultJustification}},name:`m:defJc`})),e.preSpacing!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.preSpacing.toString()}},name:`m:preSp`})),e.postSpacing!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.postSpacing.toString()}},name:`m:postSp`})),e.interSpacing!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.interSpacing.toString()}},name:`m:interSp`})),e.intraSpacing!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.intraSpacing.toString()}},name:`m:intraSp`})),e.wrapIndent!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.wrapIndent.toString()}},name:`m:wrapIndent`})),e.wrapRight!==void 0&&t.push(new h(`m:wrapRight`,e.wrapRight)),e.integralLimitLocation!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.integralLimitLocation}},name:`m:intLim`})),e.naryLimitLocation!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.naryLimitLocation}},name:`m:naryLim`})),new o({children:t,name:`m:mathPr`})}})),hu,gu=r((()=>{j(),hu=e=>{let t=[];return e.lit!==void 0&&t.push(new h(`m:lit`,e.lit)),e.normal===void 0?(e.script!==void 0||e.style!==void 0)&&(e.script!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.script}},name:`m:scr`})),e.style!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.style}},name:`m:sty`}))):t.push(new h(`m:nor`,e.normal)),e.breakAlignment!==void 0&&t.push(new o({attributes:{alnAt:{key:`m:alnAt`,value:e.breakAlignment.toString()}},name:`m:brk`})),e.align!==void 0&&t.push(new h(`m:aln`,e.align)),new o({children:t,name:`m:rPr`})}})),_u,vu=r((()=>{j(),_u=class extends b{constructor(e){super(`m:t`),this.root.push(e)}}})),yu,bu=r((()=>{j(),gu(),vu(),yu=class extends b{constructor(e){super(`m:r`);let t=typeof e==`string`?{text:e}:e;t.properties&&this.root.push(hu(t.properties)),this.root.push(new _u(t.text))}}})),xu,Su=r((()=>{j(),xu=e=>{let t=[];return e.baseJc!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.baseJc}},name:`m:baseJc`})),e.plcHide!==void 0&&t.push(new h(`m:plcHide`,e.plcHide)),e.rSpRule!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rSpRule}},name:`m:rSpRule`})),e.cGpRule!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.cGpRule}},name:`m:cGpRule`})),e.rSp!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rSp}},name:`m:rSp`})),e.cSp!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.cSp}},name:`m:cSp`})),e.cGp!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.cGp}},name:`m:cGp`})),new o({children:t,name:`m:mPr`})}})),Cu,wu=r((()=>{j(),G(),Su(),Cu=class extends b{constructor(e){super(`m:m`),e.properties&&this.root.push(xu(e.properties));for(let t of e.rows)this.root.push(new o({children:t.map(e=>W({children:Array.isArray(e)?e:[e]})),name:`m:mr`}))}}})),Tu=r((()=>{wu(),Su()})),Eu,Du=r((()=>{j(),Eu=e=>{let t=[];return e.show!==void 0&&t.push(new h(`m:show`,e.show)),e.zeroWid!==void 0&&t.push(new h(`m:zeroWid`,e.zeroWid)),e.zeroAsc!==void 0&&t.push(new h(`m:zeroAsc`,e.zeroAsc)),e.zeroDesc!==void 0&&t.push(new h(`m:zeroDesc`,e.zeroDesc)),e.transp!==void 0&&t.push(new h(`m:transp`,e.transp)),new o({children:t,name:`m:phantPr`})}})),Ou,ku=r((()=>{j(),G(),Du(),Ou=class extends b{constructor(e){super(`m:phant`),e.properties&&this.root.push(Eu(e.properties)),this.root.push(W({children:e.children}))}}})),Au=r((()=>{ku(),Du()})),ju,Mu=r((()=>{j(),ju=class extends b{constructor(e){if(super(`m:deg`),e)for(let t of e)this.root.push(t)}}})),Nu,Pu,Fu=r((()=>{j(),Nu=class extends y{xmlKeys={hide:`m:val`}},Pu=class extends b{constructor(){super(`m:degHide`),this.root.push(new Nu({hide:1}))}}})),Iu,Lu=r((()=>{j(),Fu(),Iu=class extends b{constructor(e){super(`m:radPr`),e||this.root.push(new Pu)}}})),Ru,zu=r((()=>{j(),G(),Mu(),Lu(),Ru=class extends b{constructor(e){super(`m:rad`),this.root.push(new Iu(!!e.degree)),this.root.push(new ju(e.degree)),this.root.push(W({children:e.children}))}}})),Bu=r((()=>{Mu(),zu(),Lu()})),Vu,Hu=r((()=>{j(),Vu=()=>new o({name:`m:sSupPr`})})),Uu,Wu=r((()=>{j(),G(),Hu(),Uu=class extends b{constructor(e){super(`m:sSup`),this.root.push(Vu()),this.root.push(W({children:e.children})),this.root.push(Mc({children:e.superScript}))}}})),Gu=r((()=>{Wu(),Hu()})),Ku,qu=r((()=>{j(),Ku=()=>new o({name:`m:sSubPr`})})),Ju,Yu=r((()=>{j(),G(),qu(),Ju=class extends b{constructor(e){super(`m:sSub`),this.root.push(Ku()),this.root.push(W({children:e.children})),this.root.push(Ac({children:e.subScript}))}}})),Xu=r((()=>{Yu(),qu()})),Zu,Qu=r((()=>{j(),Zu=e=>{let t=[];return e?.alignScripts!==void 0&&t.push(new h(`m:alnScr`,e.alignScripts)),new o({children:t,name:`m:sSubSupPr`})}})),$u,ed=r((()=>{j(),G(),Qu(),$u=class extends b{constructor(e){super(`m:sSubSup`),this.root.push(Zu()),this.root.push(W({children:e.children})),this.root.push(Ac({children:e.subScript})),this.root.push(Mc({children:e.superScript}))}}})),td=r((()=>{ed(),Qu()})),nd,rd=r((()=>{j(),nd=()=>new o({name:`m:sPrePr`})})),id,ad=r((()=>{j(),G(),rd(),id=class extends o{constructor({children:e,subScript:t,superScript:n}){super({children:[nd(),Ac({children:t}),Mc({children:n}),W({children:e})],name:`m:sPre`})}}})),od=r((()=>{ad(),rd()})),sd=r((()=>{Gu(),Xu(),td(),od()})),cd=r((()=>{el(),sl(),fl(),_l(),Ml(),Ll(),ql(),eu(),au(),su(),lu(),Vc(),fu(),mu(),bu(),gu(),Tu(),G(),Au(),Bu(),sd()})),ld=r((()=>{fc()})),K=r((()=>{vs(),vc(),_c(),Yo(),Ys(),cd(),ld()}));function ud(e){return/<(!DOCTYPE|html|HTML)/i.test(e)?e:`<!DOCTYPE html>\n<html><head><meta charset="utf-8"></head>\n<body>${e}</body></html>`}var dd,fd,pd,md=r((()=>{j(),H(),dd=class extends y{xmlKeys={id:`r:id`}},fd=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk`,pd=class extends b{fileChild=Symbol();options;constructor(e){if(super(`w:altChunk`),this.options=e,e.matchSrc){let e=new u(`w:altChunkPr`);e.addChildElement(new u(`w:matchSrc`)),this.root.push(e)}}prepForXml(e){let t=Oe(),n=this.options.extension;this.root.splice(0,0,new dd({id:`rId${t}`}));let r=`afchunks/afchunk${t}.${n}`,i=typeof this.options.data==`string`?new TextEncoder().encode(this.options.data):this.options.data,a=this.options.contentType===`text/html`&&typeof this.options.data==`string`?new TextEncoder().encode(ud(this.options.data)):i;return e.viewWrapper.Relationships.addRelationship(t,fd,r),e.file.AltChunks.addAltChunk(t,{key:t,data:a,path:r,extension:n,contentType:this.options.contentType}),e.file.ContentTypes.addAltChunk(`/word/${r}`,this.options.contentType,n),super.prepForXml(e)}}})),hd,gd=r((()=>{eo(),Bn(),j(),hd=class extends b{properties;constructor(e={}){super(`w:instrText`),this.properties=e,this.root.push(new $a({space:Rn.PRESERVE}));let t=`TOC`;if(this.properties.captionLabel&&(t=`${t} \\a "${this.properties.captionLabel}"`),this.properties.entriesFromBookmark&&(t=`${t} \\b "${this.properties.entriesFromBookmark}"`),this.properties.captionLabelIncludingNumbers&&(t=`${t} \\c "${this.properties.captionLabelIncludingNumbers}"`),this.properties.sequenceAndPageNumbersSeparator&&(t=`${t} \\d "${this.properties.sequenceAndPageNumbersSeparator}"`),this.properties.tcFieldIdentifier&&(t=`${t} \\f "${this.properties.tcFieldIdentifier}"`),this.properties.hyperlink&&(t=`${t} \\h`),this.properties.tcFieldLevelRange&&(t=`${t} \\l "${this.properties.tcFieldLevelRange}"`),this.properties.pageNumbersEntryLevelsRange&&(t=`${t} \\n "${this.properties.pageNumbersEntryLevelsRange}"`),this.properties.headingStyleRange&&(t=`${t} \\o "${this.properties.headingStyleRange}"`),this.properties.entryAndPageNumberSeparator&&(t=`${t} \\p "${this.properties.entryAndPageNumberSeparator}"`),this.properties.seqFieldIdentifierForPrefix&&(t=`${t} \\s "${this.properties.seqFieldIdentifierForPrefix}"`),this.properties.stylesWithLevels&&this.properties.stylesWithLevels.length){let e=this.properties.stylesWithLevels.map(e=>`${e.styleName},${e.level}`).join(`,`);t=`${t} \\t "${e}"`}this.properties.useAppliedParagraphOutlineLevel&&(t=`${t} \\u`),this.properties.preserveTabInEntries&&(t=`${t} \\w`),this.properties.preserveNewLineInEntries&&(t=`${t} \\x`),this.properties.hideTabAndPageNumbersInWebView&&(t=`${t} \\z`),this.root.push(t)}}})),_d,vd=r((()=>{j(),_d=class extends b{constructor(){super(`w:sdtContent`)}}})),yd,bd,xd,Sd,Cd,wd,Td,Ed,Dd=r((()=>{j(),yd={SDT_LOCKED:`sdtLocked`,CONTENT_LOCKED:`contentLocked`,UNLOCKED:`unlocked`,SDT_CONTENT_LOCKED:`sdtContentLocked`},bd={TEXT:`text`,DATE:`date`,DATE_TIME:`dateTime`},xd=(e,t)=>{let n={};e.displayText!==void 0&&(n.displayText={key:`w:displayText`,value:e.displayText});let r=e.value??(t?e.displayText:void 0);return r!==void 0&&(n.value={key:`w:value`,value:r}),new o({name:`w:listItem`,attributes:n})},Sd=(e,t)=>{let n=[];if(t.items)for(let r of t.items)n.push(xd(r,e===`w:dropDownList`));let r={};return t.lastValue!==void 0&&(r.lastValue={key:`w:lastValue`,value:t.lastValue}),new o({name:e,attributes:Object.keys(r).length>0?r:void 0,children:n.length>0?n:void 0})},Cd=e=>{let t=[];e.dateFormat!==void 0&&t.push(new v(`w:dateFormat`,e.dateFormat)),e.languageId!==void 0&&t.push(new v(`w:lid`,e.languageId)),e.storeMappedDataAs!==void 0&&t.push(new o({name:`w:storeMappedDataAs`,attributes:{val:{key:`w:val`,value:e.storeMappedDataAs}}})),e.calendar!==void 0&&t.push(new o({name:`w:calendar`,attributes:{val:{key:`w:val`,value:e.calendar}}}));let n={};return e.fullDate!==void 0&&(n.fullDate={key:`w:fullDate`,value:e.fullDate}),new o({name:`w:date`,attributes:Object.keys(n).length>0?n:void 0,children:t.length>0?t:void 0})},wd=e=>{let t={xpath:{key:`w:xpath`,value:e.xpath},storeItemID:{key:`w:storeItemID`,value:e.storeItemID}};return e.prefixMappings!==void 0&&(t.prefixMappings={key:`w:prefixMappings`,value:e.prefixMappings}),new o({name:`w:dataBinding`,attributes:t})},Td=(e,t)=>{let n=[];return t.gallery!==void 0&&n.push(new v(`w:docPartGallery`,t.gallery)),t.category!==void 0&&n.push(new v(`w:docPartCategory`,t.category)),t.unique!==void 0&&n.push(new h(`w:docPartUnique`,t.unique)),new o({name:e,children:n.length>0?n:void 0})},Ed=class extends b{constructor(e){super(`w:sdtPr`);let t=typeof e==`string`?{alias:e}:e;if(!t)return;t.runProperties&&this.root.push(t.runProperties),t.alias!==void 0&&this.root.push(new v(`w:alias`,t.alias)),t.tag!==void 0&&this.root.push(new v(`w:tag`,t.tag)),t.id!==void 0&&this.root.push(new o({name:`w:id`,attributes:{val:{key:`w:val`,value:t.id}}})),t.lock!==void 0&&this.root.push(new o({name:`w:lock`,attributes:{val:{key:`w:val`,value:t.lock}}})),t.placeholder!==void 0&&this.root.push(new o({name:`w:placeholder`,children:t.placeholder.length>0?t.placeholder:void 0})),t.temporary!==void 0&&this.root.push(new h(`w:temporary`,t.temporary));let n=t.showingPlaceholder??(t.placeholder!==void 0&&t.placeholder.length>0);if((t.showingPlaceholder!==void 0||n)&&this.root.push(new h(`w:showingPlcHdr`,n)),t.dataBinding&&this.root.push(wd(t.dataBinding)),t.label!==void 0&&this.root.push(new o({name:`w:label`,attributes:{val:{key:`w:val`,value:t.label}}})),t.tabIndex!==void 0&&this.root.push(new o({name:`w:tabIndex`,attributes:{val:{key:`w:val`,value:t.tabIndex}}})),t.equation)this.root.push(new o({name:`w:equation`}));else if(t.comboBox)this.root.push(Sd(`w:comboBox`,t.comboBox));else if(t.date)this.root.push(Cd(t.date));else if(t.docPartObj)this.root.push(Td(`w:docPartObj`,t.docPartObj));else if(t.docPartList)this.root.push(Td(`w:docPartList`,t.docPartList));else if(t.dropDownList)this.root.push(Sd(`w:dropDownList`,t.dropDownList));else if(t.picture)this.root.push(new o({name:`w:picture`}));else if(t.richText)this.root.push(new o({name:`w:richText`}));else if(t.text!==void 0){let e={};t.text.multiLine===void 0?e.multiLine={key:`w:multiLine`,value:!1}:e.multiLine={key:`w:multiLine`,value:t.text.multiLine},this.root.push(new o({name:`w:text`,attributes:e}))}else t.citation?this.root.push(new o({name:`w:citation`})):t.group?this.root.push(new o({name:`w:group`})):t.bibliography&&this.root.push(new o({name:`w:bibliography`}))}}})),Od,kd=r((()=>{K(),Yo(),Gt(),Un(),j(),gd(),vd(),Dd(),Od=class extends b{fileChild=Symbol();constructor(e=`Table of Contents`,{contentChildren:t=[],cachedEntries:n=[],beginDirty:r=!0,...i}={}){super(`w:sdt`),this.root.push(new Ed({alias:e,docPartObj:{gallery:`Table of Contents`}}));let a=new _d,o=[new V({children:[Ut(r),new hd(i),Wt()]})],s=[new V({children:[I()]})];if(n!==void 0&&n.length>0){let{stylesWithLevels:e}=i,t=n.map((t,r)=>{let a=this.buildCachedContentParagraphChild(t,i),c=e?.find(e=>e.level===t.level)?.styleName??`TOC${t.level}`;return new U({children:r===0?[...o,a]:r===n.length-1?[a,...s]:[a],style:c,tabStops:this.getTabStopsForLevel(t.level)})}),r=t;n.length<=1&&(r=[...t,new U({children:s})]);for(let e of r)a.addChildElement(e)}else{let e=new U({children:o});a.addChildElement(e);for(let e of t)a.addChildElement(e);let n=new U({children:s});a.addChildElement(n)}this.root.push(a)}getTabStopsForLevel(e,t=9025){return[{position:t+1-(e-1)*240,type:`clear`},{leader:`dot`,position:t,type:`right`}]}buildCachedContentRun(e,t){return new V({children:[new Hn({text:e.title}),new Io,new Hn({text:e.page?.toString()??``})],style:t?.hyperlink&&e.href!==void 0?`IndexLink`:void 0})}buildCachedContentParagraphChild(e,t){let n=this.buildCachedContentRun(e,t);return t?.hyperlink&&e.href!==void 0?new di({anchor:e.href,children:[n]}):n}}})),Ad,jd=r((()=>{Ad=class{styleName;level;constructor(e,t){this.styleName=e,this.level=t}}})),Md=r((()=>{kd(),jd(),Dd(),vd()})),Nd,Pd,Fd=r((()=>{j(),Md(),Nd=class extends b{constructor(e){if(super(`w:sdt`),this.root.push(new Ed(e.properties)),e.children&&e.children.length>0){let t=new _d;for(let n of e.children)t.addChildElement(n);this.root.push(t)}}},Pd=class extends b{fileChild=Symbol();constructor(e){if(super(`w:sdt`),this.root.push(new Ed(e.properties)),e.children&&e.children.length>0){let t=new _d;for(let n of e.children)t.addChildElement(n);this.root.push(t)}}}})),Id,Ld,Rd,zd=r((()=>{j(),H(),Id=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument`,Ld=class extends y{xmlKeys={id:`r:id`}},Rd=class extends b{fileChild=Symbol();options;constructor(e){super(`w:subDoc`),this.options=e}prepForXml(e){let t=Oe(),n=`subdocs/subdoc${t}.docx`;this.root.splice(0,0,new Ld({id:`rId${t}`}));let r=typeof this.options.data==`string`?new TextEncoder().encode(this.options.data):this.options.data;return e.viewWrapper.Relationships.addRelationship(t,Id,n),e.file.SubDocs.addSubDoc(t,{data:r,path:n}),e.file.ContentTypes.addSubDoc(`/word/${n}`),super.prepForXml(e)}}})),Bd,Vd=r((()=>{j(),Md(),Bd=class extends b{options;constructor(e){if(super(`w:sdt`),this.options={children:[]},this.root.push(new Ed(e.properties)),e.children&&e.children.length>0){let t=new _d;for(let n of e.children)t.addChildElement(n);this.root.push(t)}}}})),Hd,Ud=r((()=>{j(),_y(),R(),Hd=class extends b{constructor(e){super(`w:ins`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.addChildElement(new Gn(e))}}})),Wd,Gd,Kd,qd=r((()=>{eo(),Bn(),j(),Wd=class extends b{constructor(){super(`w:delInstrText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(`PAGE`)}},Gd=class extends b{constructor(){super(`w:delInstrText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(`NUMPAGES`)}},Kd=class extends b{constructor(){super(`w:delInstrText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(`SECTIONPAGES`)}}})),Jd,Yd=r((()=>{eo(),Bn(),j(),Jd=class extends b{constructor(e){super(`w:delText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(e)}}})),Xd,Zd,Qd=r((()=>{j(),Nt(),Gt(),Mn(),Wn(),R(),qd(),Yd(),Xd=class extends b{deletedTextRunWrapper;constructor(e){super(`w:del`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.deletedTextRunWrapper=new Zd(e),this.addChildElement(this.deletedTextRunWrapper)}},Zd=class extends b{constructor(e){if(super(`w:r`),this.root.push(new kn(e)),e.children)for(let t of e.children){if(typeof t==`string`){switch(t){case B.CURRENT:this.root.push(Ut()),this.root.push(new Wd),this.root.push(Wt()),this.root.push(I());break;case B.TOTAL_PAGES:this.root.push(Ut()),this.root.push(new Gd),this.root.push(Wt()),this.root.push(I());break;case B.TOTAL_PAGES_IN_SECTION:this.root.push(Ut()),this.root.push(new Kd),this.root.push(Wt()),this.root.push(I());break;default:this.root.push(new Jd(t));break}continue}this.root.push(t)}else e.text&&this.root.push(new Jd(e.text));if(e.break)for(let t=0;t<e.break;t++)this.root.splice(1,0,Mt())}}})),$d,ef,tf,nf,rf=r((()=>{j(),Nt(),Gt(),Mn(),Wn(),Un(),R(),$d=class extends b{constructor(e){super(`w:moveFrom`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.addChildElement(new tf(e))}},ef=class extends b{constructor(e){super(`w:moveTo`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.addChildElement(new nf(e))}},tf=class extends b{constructor(e){if(super(`w:r`),this.root.push(new kn(e)),e.children)for(let t of e.children){if(typeof t==`string`){switch(t){case B.CURRENT:this.root.push(Ut()),this.root.push(new Hn(`PAGE`)),this.root.push(Wt()),this.root.push(I());break;case B.TOTAL_PAGES:this.root.push(Ut()),this.root.push(new Hn(`NUMPAGES`)),this.root.push(Wt()),this.root.push(I());break;case B.TOTAL_PAGES_IN_SECTION:this.root.push(Ut()),this.root.push(new Hn(`SECTIONPAGES`)),this.root.push(Wt()),this.root.push(I());break;default:this.root.push(new Hn(t));break}continue}this.root.push(t)}else e.text&&this.root.push(new Hn(e.text));if(e.break)for(let t=0;t<e.break;t++)this.root.splice(1,0,Mt())}},nf=class extends b{constructor(e){if(super(`w:r`),this.root.push(new kn(e)),e.children)for(let t of e.children)this.root.push(t);else e.text&&this.root.push(new Hn(e.text));if(e.break)for(let t=0;t<e.break;t++)this.root.splice(1,0,Mt())}}})),af,of=r((()=>{j(),R(),af=class extends b{constructor(e){super(`w:ins`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),sf,cf=r((()=>{j(),R(),sf=class extends b{constructor(e){super(`w:del`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),lf,uf=r((()=>{j(),R(),lf=class extends b{constructor(e){super(`w:cellIns`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),df,ff=r((()=>{j(),R(),df=class extends b{constructor(e){super(`w:cellDel`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),pf,mf,hf,gf=r((()=>{j(),pf={CONTINUE:`cont`,RESTART:`rest`},mf=class extends y{xmlKeys={author:`w:author`,date:`w:date`,id:`w:id`,verticalMerge:`w:vMerge`,verticalMergeOriginal:`w:vMergeOrig`}},hf=class extends b{constructor(e){super(`w:cellMerge`),this.root.push(new mf(e))}}})),_f=r((()=>{Ud(),Qd(),rf(),of(),cf(),uf(),ff(),gf()})),vf,yf,bf,xf,Sf=r((()=>{j(),vf={BOTTOM:`bottom`,CENTER:`center`,TOP:`top`},yf={...vf,BOTH:`both`},bf=yf,xf=e=>new o({attributes:{verticalAlign:{key:`w:val`,value:e}},name:`w:vAlign`})})),Cf=r((()=>{Sf()})),wf,Tf,Ef,Df,Of,kf,Af,jf,Mf,Nf=r((()=>{wt(),j(),P(),wf=class extends p{constructor(e){super(`w:tcBorders`),e.top&&this.root.push(F(`w:top`,e.top)),e.start&&this.root.push(F(`w:start`,e.start)),e.left&&this.root.push(F(`w:left`,e.left)),e.bottom&&this.root.push(F(`w:bottom`,e.bottom)),e.end&&this.root.push(F(`w:end`,e.end)),e.right&&this.root.push(F(`w:right`,e.right))}},Tf=class extends y{xmlKeys={val:`w:val`}},Ef=class extends b{constructor(e){super(`w:gridSpan`),this.root.push(new Tf({val:(0,N.decimalNumber)(e)}))}},Df={CONTINUE:`continue`,RESTART:`restart`},Of=class extends y{xmlKeys={val:`w:val`}},kf=class extends b{constructor(e){super(`w:vMerge`),this.root.push(new Of({val:e}))}},Af={BOTTOM_TO_TOP_LEFT_TO_RIGHT:`btLr`,LEFT_TO_RIGHT_TOP_TO_BOTTOM:`lrTb`,TOP_TO_BOTTOM_RIGHT_TO_LEFT:`tbRl`},jf=class extends y{xmlKeys={val:`w:val`}},Mf=class extends b{constructor(e){super(`w:textDirection`),this.root.push(new jf({val:e}))}}})),Pf=r((()=>{Ap(),Nf()})),Ff,If,Lf=r((()=>{j(),P(),Ff={DXA:`dxa`,NIL:`nil`},If=({type:e=Ff.DXA,value:t})=>new o({attributes:{type:{key:`w:type`,value:e},value:{key:`w:w`,value:(0,N.measurementOrPercentValue)(t)}},name:`w:tblCellSpacing`})})),Rf,zf,Bf=r((()=>{j(),P(),Rf={AUTO:`auto`,DXA:`dxa`,NIL:`nil`,PERCENTAGE:`pct`},zf=(e,{type:t=Rf.AUTO,size:n})=>{let r=n;return t===Rf.PERCENTAGE&&typeof n==`number`&&(r=`${n}%`),new o({attributes:{size:{key:`w:w`,value:(0,N.measurementOrPercentValue)(r)},type:{key:`w:type`,value:t}},name:e})}})),Vf,Hf,Uf,Wf=r((()=>{wt(),j(),Vf={color:`auto`,size:0,style:St.NONE},Hf={color:`auto`,size:4,style:St.SINGLE},Uf=class extends b{static NONE={bottom:Vf,insideHorizontal:Vf,insideVertical:Vf,left:Vf,right:Vf,top:Vf};constructor(e){super(`w:tblBorders`),this.root.push(F(`w:top`,e.top??Hf)),this.root.push(F(`w:left`,e.left??Hf)),this.root.push(F(`w:bottom`,e.bottom??Hf)),this.root.push(F(`w:right`,e.right??Hf)),this.root.push(F(`w:insideH`,e.insideHorizontal??Hf)),this.root.push(F(`w:insideV`,e.insideVertical??Hf))}}})),Gf,Kf,qf,Jf,Yf,Xf,Zf,Qf=r((()=>{j(),P(),Gf={MARGIN:`margin`,PAGE:`page`,TEXT:`text`},Kf={CENTER:`center`,INSIDE:`inside`,LEFT:`left`,OUTSIDE:`outside`,RIGHT:`right`},qf={BOTTOM:`bottom`,CENTER:`center`,INLINE:`inline`,INSIDE:`inside`,OUTSIDE:`outside`,TOP:`top`},Jf={NEVER:`never`,OVERLAP:`overlap`},Yf=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:tblOverlap`}),Xf=({horizontalAnchor:e,verticalAnchor:t,absoluteHorizontalPosition:n,relativeHorizontalPosition:r,absoluteVerticalPosition:i,relativeVerticalPosition:a,bottomFromText:s,topFromText:c,leftFromText:l,rightFromText:u})=>new o({attributes:{absoluteHorizontalPosition:{key:`w:tblpX`,value:n===void 0?void 0:(0,N.signedTwipsMeasureValue)(n)},absoluteVerticalPosition:{key:`w:tblpY`,value:i===void 0?void 0:(0,N.signedTwipsMeasureValue)(i)},bottomFromText:{key:`w:bottomFromText`,value:s===void 0?void 0:(0,N.twipsMeasureValue)(s)},horizontalAnchor:{key:`w:horzAnchor`,value:e},leftFromText:{key:`w:leftFromText`,value:l===void 0?void 0:(0,N.twipsMeasureValue)(l)},relativeHorizontalPosition:{key:`w:tblpXSpec`,value:r},relativeVerticalPosition:{key:`w:tblpYSpec`,value:a},rightFromText:{key:`w:rightFromText`,value:u===void 0?void 0:(0,N.twipsMeasureValue)(u)},topFromText:{key:`w:topFromText`,value:c===void 0?void 0:(0,N.twipsMeasureValue)(c)},verticalAnchor:{key:`w:vertAnchor`,value:t}},name:`w:tblpPr`}),Zf=e=>Yf(e)})),$f,ep,tp=r((()=>{j(),$f={AUTOFIT:`autofit`,FIXED:`fixed`},ep=e=>new o({attributes:{type:{key:`w:type`,value:e}},name:`w:tblLayout`})})),np,rp=r((()=>{j(),np=({firstRow:e,lastRow:t,firstColumn:n,lastColumn:r,noHBand:i,noVBand:a})=>new o({attributes:{firstColumn:{key:`w:firstColumn`,value:n},firstRow:{key:`w:firstRow`,value:e},lastColumn:{key:`w:lastColumn`,value:r},lastRow:{key:`w:lastRow`,value:t},noHBand:{key:`w:noHBand`,value:i},noVBand:{key:`w:noVBand`,value:a}},name:`w:tblLook`})})),ip,ap,op=r((()=>{R(),j(),K(),nn(),Lf(),Bf(),Wf(),Cp(),Qf(),tp(),rp(),ip=class extends p{constructor(e){if(super(`w:tblPr`,e.includeIfEmpty),e.style&&this.root.push(new v(`w:tblStyle`,e.style)),e.float&&(this.root.push(Xf(e.float)),e.float.overlap&&this.root.push(Zf(e.float.overlap))),e.visuallyRightToLeft!==void 0&&this.root.push(new h(`w:bidiVisual`,e.visuallyRightToLeft)),e.styleRowBandSize!==void 0&&this.root.push(new o({name:`w:tblStyleRowBandSize`,attributes:{val:{key:`w:val`,value:e.styleRowBandSize}}})),e.styleColBandSize!==void 0&&this.root.push(new o({name:`w:tblStyleColBandSize`,attributes:{val:{key:`w:val`,value:e.styleColBandSize}}})),e.width&&this.root.push(zf(`w:tblW`,e.width)),e.alignment&&this.root.push(yt(e.alignment)),e.indent&&this.root.push(zf(`w:tblInd`,e.indent)),e.borders&&this.root.push(new Uf(e.borders)),e.shading&&this.root.push($t(e.shading)),e.layout&&this.root.push(ep(e.layout)),e.cellMargin){let t=xp(e.cellMargin);t&&this.root.push(t)}e.tableLook&&this.root.push(np(e.tableLook)),e.cellSpacing&&this.root.push(If(e.cellSpacing)),e.caption!==void 0&&this.root.push(new v(`w:tblCaption`,e.caption)),e.description!==void 0&&this.root.push(new v(`w:tblDescription`,e.description)),e.revision&&this.root.push(new ap(e.revision))}},ap=class extends b{constructor(e){super(`w:tblPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new ip({...e,includeIfEmpty:!0}))}}})),sp,cp=r((()=>{j(),K(),nn(),Lf(),Bf(),Wf(),Cp(),tp(),rp(),sp=class extends p{constructor(e){if(super(`w:tblPrEx`,!0),e.width&&this.root.push(zf(`w:tblW`,e.width)),e.alignment&&this.root.push(yt(e.alignment)),e.cellSpacing&&this.root.push(If(e.cellSpacing)),e.indent&&this.root.push(zf(`w:tblInd`,e.indent)),e.borders&&this.root.push(new Uf(e.borders)),e.shading&&this.root.push($t(e.shading)),e.layout&&this.root.push(ep(e.layout)),e.cellMargin){let t=xp(e.cellMargin);t&&this.root.push(t)}e.tableLook&&this.root.push(np(e.tableLook))}}})),lp=r((()=>{op(),Qf(),tp(),Wf(),rp(),cp()})),up,dp,fp=r((()=>{j(),P(),up={AUTO:`auto`,ATLEAST:`atLeast`,EXACT:`exact`},dp=(e,t)=>new o({attributes:{rule:{key:`w:hRule`,value:t},value:{key:`w:val`,value:(0,N.twipsMeasureValue)(e)}},name:`w:trHeight`})})),pp,mp,hp=r((()=>{_f(),R(),j(),K(),Lf(),Bf(),fp(),pp=class extends p{constructor(e){if(super(`w:trPr`,e.includeIfEmpty),e.cnfStyle!==void 0){let t={val:{key:`w:val`,value:e.cnfStyle.val}};e.cnfStyle.changed!==void 0&&(t.changed={key:`w:changed`,value:e.cnfStyle.changed}),this.root.push(new o({name:`w:cnfStyle`,attributes:t}))}e.divId!==void 0&&this.root.push(new o({name:`w:divId`,attributes:{val:{key:`w:val`,value:e.divId}}})),e.gridBefore!==void 0&&this.root.push(new o({name:`w:gridBefore`,attributes:{val:{key:`w:val`,value:e.gridBefore}}})),e.gridAfter!==void 0&&this.root.push(new o({name:`w:gridAfter`,attributes:{val:{key:`w:val`,value:e.gridAfter}}})),e.widthBefore&&this.root.push(zf(`w:wBefore`,e.widthBefore)),e.widthAfter&&this.root.push(zf(`w:wAfter`,e.widthAfter)),e.cantSplit!==void 0&&this.root.push(new h(`w:cantSplit`,e.cantSplit)),e.tableHeader!==void 0&&this.root.push(new h(`w:tblHeader`,e.tableHeader)),e.height&&this.root.push(dp(e.height.value,e.height.rule)),e.cellSpacing&&this.root.push(If(e.cellSpacing)),e.rowAlignment&&this.root.push(yt(e.rowAlignment)),e.hidden!==void 0&&this.root.push(new h(`w:hidden`,e.hidden)),e.insertion&&this.root.push(new af(e.insertion)),e.deletion&&this.root.push(new sf(e.deletion)),e.revision&&this.root.push(new mp(e.revision))}},mp=class extends b{constructor(e){super(`w:trPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new pp({...e,includeIfEmpty:!0}))}}})),gp,_p=r((()=>{j(),Np(),Pf(),cp(),hp(),gp=class extends a{extraCells=[];coercedChildren;constructor(e){super(`w:tr`),this.options=e,this.coercedChildren=e.children.map(e=>e instanceof kp||e instanceof Bd||e instanceof jp?e:new kp(e))}get CellCount(){return this.coercedChildren.length}get cells(){return this.coercedChildren.filter(e=>e instanceof kp)}addCellToColumnIndex(e,t){this.extraCells.push({cell:e,columnIndex:t})}rootIndexToColumnIndex(e){let t=e-1;if(t<0||t>=this.coercedChildren.length)throw Error(`cell 'rootIndex' should between 1 to ${this.coercedChildren.length}`);let n=0;for(let e=0;e<t;e++){let t=this.coercedChildren[e];n+=t instanceof kp&&t.options.columnSpan||1}return n}columnIndexToRootIndex(e,t=!1){if(e<0)throw Error(`cell 'columnIndex' should not less than zero`);let n=0,r=0;for(;n<=e;){if(r>=this.coercedChildren.length){if(t)return this.coercedChildren.length+1;throw Error(`cell 'columnIndex' should not great than ${n-1}`)}let e=this.coercedChildren[r];r+=1,n+=e instanceof kp&&e.options.columnSpan||1}return r}prepForXml(e){let t=[];if(this.options.propertyExceptions){let n=new sp(this.options.propertyExceptions).prepForXml(e);n&&t.push(n)}let n=new pp(this.options).prepForXml(e);n&&t.push(n);let r=t.length;for(let n of this.coercedChildren){let r=n.prepForXml(e);r&&t.push(r)}if(this.extraCells.length>0)for(let{cell:n,columnIndex:i}of this.extraCells){let a=this.findInsertIndex(i,r),o=n.prepForXml(e);o&&t.splice(a,0,o)}return{"w:tr":t.length?t:l}}findInsertIndex(e,t){let n=0;for(let r=0;r<this.coercedChildren.length;r++){let i=this.coercedChildren[r];if(n+=i instanceof kp&&i.options.columnSpan||1,n>e)return r+t}return this.coercedChildren.length+t}}})),vp=r((()=>{_p(),hp(),fp()})),yp=r((()=>{Bp(),Pf(),lp(),vp(),Bf()})),bp,xp,Sp,Cp=r((()=>{yp(),j(),bp=({marginUnitType:e=Rf.DXA,top:t,left:n,bottom:r,right:i})=>[{name:`w:top`,size:t},{name:`w:left`,size:n},{name:`w:bottom`,size:r},{name:`w:right`,size:i}].filter(e=>e.size!==void 0).map(({name:t,size:n})=>zf(t,{size:n,type:e})),xp=e=>{let t=bp(e);if(t.length!==0)return new o({children:t,name:`w:tblCellMar`})},Sp=e=>{let t=bp(e);if(t.length!==0)return new o({children:t,name:`w:tcMar`})}})),wp,Tp,Ep=r((()=>{_f(),R(),Cf(),j(),nn(),Cp(),Bf(),Nf(),wp=class extends p{constructor(e){if(super(`w:tcPr`,e.includeIfEmpty),e.cnfStyle!==void 0){let t={val:{key:`w:val`,value:e.cnfStyle.val}};e.cnfStyle.changed!==void 0&&(t.changed={key:`w:changed`,value:e.cnfStyle.changed}),this.root.push(new o({name:`w:cnfStyle`,attributes:t}))}if(e.width&&this.root.push(zf(`w:tcW`,e.width)),e.columnSpan&&this.root.push(new Ef(e.columnSpan)),e.verticalMerge?this.root.push(new kf(e.verticalMerge)):e.rowSpan&&e.rowSpan>1&&this.root.push(new kf(Df.RESTART)),e.borders&&this.root.push(new wf(e.borders)),e.shading&&this.root.push($t(e.shading)),e.margins){let t=Sp(e.margins);t&&this.root.push(t)}if(e.textDirection&&this.root.push(new Mf(e.textDirection)),e.verticalAlign&&this.root.push(xf(e.verticalAlign)),e.horizontalMerge!==void 0){let t={};e.horizontalMerge===`restart`&&(t.val={key:`w:val`,value:`restart`}),this.root.push(new o({name:`w:hMerge`,attributes:Object.keys(t).length>0?t:void 0}))}if(e.noWrap!==void 0&&this.root.push(new h(`w:noWrap`,e.noWrap)),e.fitText!==void 0&&this.root.push(new h(`w:tcFitText`,e.fitText)),e.hideMark!==void 0&&this.root.push(new h(`w:hideMark`,e.hideMark)),e.headers!==void 0){let t=e.headers.map(e=>new o({name:`w:header`,attributes:{val:{key:`w:val`,value:e}}}));this.root.push(new o({name:`w:headers`,children:t}))}e.insertion&&this.root.push(new lf(e.insertion)),e.deletion&&this.root.push(new df(e.deletion)),e.revision&&this.root.push(new Tp(e.revision)),e.cellMerge&&this.root.push(new hf(e.cellMerge))}},Tp=class extends b{constructor(e){super(`w:tcPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new wp({...e,includeIfEmpty:!0}))}}}));function Dp(t){return Op||=(nm(),e(em)).coerceSectionChild,Op(t)}var Op,kp,Ap=r((()=>{K(),j(),Ep(),kp=class extends a{constructor(e){super(`w:tc`),this.options=e}prepForXml(e){let t=[],n=new wp(this.options).prepForXml(e);n&&t.push(n);let r=this.options.children.map(e=>e instanceof a?e:Dp(e));for(let n of r){let r=n.prepForXml(e);r&&t.push(r)}return r[r.length-1]instanceof U||t.push(new U({}).prepForXml(e)),{"w:tc":t}}}})),jp,Mp=r((()=>{j(),Md(),Ap(),jp=class extends b{rows;constructor(e){if(super(`w:sdt`),this.rows=e.children??[],this.root.push(new Ed(e.properties)),this.rows.length>0){let e=new _d;for(let t of this.rows)e.addChildElement(t);this.root.push(e)}}get CellCount(){return Math.max(...this.rows.map(e=>e.CellCount),0)}get cells(){return this.rows.flatMap(e=>e.cells)}addCellToColumnIndex(e,t){this.rows.length>0&&this.rows[0].addCellToColumnIndex(e,t)}}})),Np=r((()=>{Fd(),Vd(),Mp()})),Pp,Fp,Ip,Lp,Rp=r((()=>{j(),P(),Pp=e=>new o({attributes:e===void 0?void 0:{width:{key:`w:w`,value:(0,N.twipsMeasureValue)(e)}},name:`w:gridCol`}),Fp=class extends b{constructor(e,t){super(`w:tblGrid`);for(let t of e)this.root.push(Pp(t));t&&this.root.push(new Lp(t))}},Ip=class extends y{xmlKeys={id:`w:id`}},Lp=class extends b{constructor(e){super(`w:tblGridChange`),this.root.push(new Ip({id:e.id})),this.root.push(new Fp(e.columnWidths))}}})),zp,Bp=r((()=>{j(),Np(),Rp(),Pf(),lp(),vp(),zp=class extends a{fileChild=Symbol();options;columnWidths;rows;constructor(e){super(`w:tbl`),this.options=e,this.rows=e.rows.map(e=>e instanceof gp||e instanceof jp?e:new gp(e)),this.columnWidths=e.columnWidths??Array(Math.max(...this.rows.map(e=>e.CellCount))).fill(100),this.rows.forEach((e,t)=>{if(t===this.rows.length-1||!(e instanceof gp))return;let n=0;e.cells.forEach(e=>{if(e.options.rowSpan&&e.options.rowSpan>1){let r=this.rows[t+1];if(r instanceof gp){let t=new kp({borders:e.options.borders,children:[],columnSpan:e.options.columnSpan,rowSpan:e.options.rowSpan-1,verticalMerge:Df.CONTINUE});r.addCellToColumnIndex(t,n)}}n+=e.options.columnSpan||1})})}prepForXml(e){let t=[],n=new ip({alignment:this.options.alignment,borders:this.options.borders??{},caption:this.options.caption,cellMargin:this.options.margins,cellSpacing:this.options.cellSpacing,description:this.options.description,float:this.options.float,indent:this.options.indent,layout:this.options.layout,revision:this.options.revision,style:this.options.style,styleColBandSize:this.options.styleColBandSize,styleRowBandSize:this.options.styleRowBandSize,tableLook:this.options.tableLook,visuallyRightToLeft:this.options.visuallyRightToLeft,width:this.options.width??{size:100}}).prepForXml(e);n&&t.push(n);let r=new Fp(this.columnWidths,this.options.columnWidthsRevision).prepForXml(e);r&&t.push(r);for(let n of this.rows){let r=n.prepForXml(e);r&&t.push(r)}return{"w:tbl":t}}}})),Vp,Hp=r((()=>{j(),Vp=({shape:e})=>new o({children:[e],name:`w:pict`})})),Up,Wp=r((()=>{j(),Up=({children:e=[]})=>new o({children:e,name:`w:txbxContent`})})),Gp,Kp=r((()=>{j(),Wp(),Gp=({style:e,children:t,inset:n})=>new o({attributes:{inset:{key:`inset`,value:n?`${n.left}, ${n.top}, ${n.right}, ${n.bottom}`:void 0},insetMode:{key:`insetmode`,value:n?`custom`:`auto`},style:{key:`style`,value:e}},children:[Up({children:t})],name:`v:textbox`})})),qp,Jp,Yp,Xp,Zp=r((()=>{j(),Kp(),qp=`#_x0000_t202`,Jp={flip:`flip`,height:`height`,left:`left`,marginBottom:`margin-bottom`,marginLeft:`margin-left`,marginRight:`margin-right`,marginTop:`margin-top`,position:`position`,positionHorizontal:`mso-position-horizontal`,positionHorizontalRelative:`mso-position-horizontal-relative`,positionVertical:`mso-position-vertical`,positionVerticalRelative:`mso-position-vertical-relative`,rotation:`rotation`,top:`top`,visibility:`visibility`,width:`width`,wrapDistanceBottom:`mso-wrap-distance-bottom`,wrapDistanceLeft:`mso-wrap-distance-left`,wrapDistanceRight:`mso-wrap-distance-right`,wrapDistanceTop:`mso-wrap-distance-top`,wrapEdited:`mso-wrap-edited`,wrapStyle:`mso-wrap-style`,zIndex:`z-index`},Yp=e=>e?Object.entries(e).map(([e,t])=>`${Jp[e]}:${t}`).join(`;`):void 0,Xp=({id:e,children:t,type:n=qp,style:r})=>new o({attributes:{id:{key:`id`,value:e},style:{key:`style`,value:Yp(r)},type:{key:`type`,value:n}},children:[Gp({children:t,style:`mso-fit-shape-to-text:t;`})],name:`v:shape`})})),Qp,$p=r((()=>{K(),j(),H(),Hp(),Zp(),Qp=class extends b{fileChild=Symbol();constructor({style:e,children:t,...n}){super(`w:p`),this.root.push(new hc(n)),this.root.push(Vp({shape:Xp({children:t,id:Oe(),style:e})}))}}})),em=t({coerceSectionChild:()=>tm});function tm(e){if(e instanceof a)return e;if(`paragraph`in e)return new U(e.paragraph);if(`table`in e)return new zp(e.table);if(`toc`in e){let{alias:t,...n}=e.toc;return new Od(t,n)}if(`textbox`in e){let{children:t,...n}=e.textbox;return new Qp({...n,children:t?.map(tm)})}if(`sdt`in e){let{properties:t,children:n}=e.sdt;return new Pd({properties:t,children:n?.map(tm)})}if(`altChunk`in e)return new pd(e.altChunk);if(`subDoc`in e)return new Rd(e.subDoc);throw Error(`Unknown section child type`)}var nm=r((()=>{md(),vc(),Fd(),zd(),kd(),Bp(),$p(),j()})),rm=r((()=>{})),im,am=r((()=>{im=class{map;constructor(){this.map=new Map}addAltChunk(e,t){this.map.set(e,t)}get Array(){return[...this.map.values()]}}})),om=r((()=>{})),sm,cm,lm,um,dm=r((()=>{uo(),j(),sm=class extends y{xmlKeys={SelectedStyle:`SelectedStyle`,StyleName:`StyleName`,URI:`URI`,"xmlns:b":`xmlns:b`}},cm=class extends b{constructor(e,t){super(`b:${e}`),this.root.push(t)}},lm=class extends b{constructor(e){super(`b:Source`);let t=[[`SourceType`,e.type],[`Title`,e.title],[`Author`,e.author],[`Year`,e.year],[`Month`,e.month],[`Day`,e.day],[`BookTitle`,e.bookTitle],[`JournalName`,e.journal],[`Volume`,e.volume],[`Issue`,e.issue],[`Pages`,e.pages],[`Publisher`,e.publisher],[`City`,e.city],[`URL`,e.url],[`Edition`,e.edition],[`Institution`,e.institution]];for(let[e,n]of t)n!==void 0&&this.root.push(new cm(e,n))}},um=class extends b{relationships;constructor(e){super(`b:Sources`),this.root.push(new sm({"xmlns:b":`http://schemas.openxmlformats.org/officeDocument/2006/bibliography`,StyleName:e.styleName}));for(let t of e.sources)this.root.push(new lm(t));this.relationships=new g}get Relationships(){return this.relationships}}})),fm=r((()=>{dm()})),pm=r((()=>{})),mm=r((()=>{})),hm=r((()=>{})),gm=r((()=>{})),_m,vm=r((()=>{j(),mm(),hm(),gm(),_m=class extends b{constructor(){super(`Types`),this.root.push(new c({xmlns:`http://schemas.openxmlformats.org/package/2006/content-types`})),this.root.push(S(`image/png`,`png`)),this.root.push(S(`image/jpeg`,`jpeg`)),this.root.push(S(`image/jpeg`,`jpg`)),this.root.push(S(`image/bmp`,`bmp`)),this.root.push(S(`image/gif`,`gif`)),this.root.push(S(`image/tiff`,`tif`)),this.root.push(S(`image/tiff`,`tiff`)),this.root.push(S(`image/x-emf`,`emf`)),this.root.push(S(`image/x-wmf`,`wmf`)),this.root.push(S(`image/x-icon`,`ico`)),this.root.push(S(`image/svg+xml`,`svg`)),this.root.push(S(`application/vnd.openxmlformats-package.relationships+xml`,`rels`)),this.root.push(S(`application/xml`,`xml`)),this.root.push(S(`application/vnd.openxmlformats-officedocument.obfuscatedFont`,`odttf`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml`,`/word/document.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml`,`/word/styles.xml`)),this.root.push(C(`application/vnd.openxmlformats-package.core-properties+xml`,`/docProps/core.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.custom-properties+xml`,`/docProps/custom.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.extended-properties+xml`,`/docProps/app.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml`,`/word/numbering.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml`,`/word/footnotes.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml`,`/word/endnotes.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml`,`/word/settings.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml`,`/word/comments.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml`,`/word/fontTable.xml`))}addBibliography(){this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.bibliography+xml`,`/word/bibliography.xml`))}addFooter(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml`,`/word/footer${e}.xml`))}addHeader(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml`,`/word/header${e}.xml`))}addChart(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`,`/word/charts/chart${e}.xml`))}addDiagramData(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml`,`/word/diagrams/data${e}.xml`))}addDiagramLayout(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml`,`/word/diagrams/layout${e}.xml`))}addDiagramStyle(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml`,`/word/diagrams/quickStyle${e}.xml`))}addDiagramColors(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml`,`/word/diagrams/colors${e}.xml`))}addDiagramDrawing(e){this.root.push(C(`application/vnd.ms-office.drawingml.diagramDrawing+xml`,`/word/diagrams/drawing${e}.xml`))}addAltChunk(e,t,n){this.root.push(C(t,e))}addSubDoc(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml`,e))}}}));function ym(e,t){let n=`${e.join(`,`)}:${t??``}`,r=xm.get(n);if(r)return r;let i={};t!==void 0&&(i[`mc:Ignorable`]=t);for(let t of e)i[`xmlns:${t}`]=bm[t];let a={_attr:i};return xm.set(n,a),a}var bm,xm,Sm=r((()=>{bm={aink:`http://schemas.microsoft.com/office/drawing/2016/ink`,am3d:`http://schemas.microsoft.com/office/drawing/2017/model3d`,cp:`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,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`,dc:`http://purl.org/dc/elements/1.1/`,dcmitype:`http://purl.org/dc/dcmitype/`,dcterms:`http://purl.org/dc/terms/`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,o:`urn:schemas-microsoft-com:office:office`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,v:`urn:schemas-microsoft-com:vml`,w:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,w10:`urn:schemas-microsoft-com:office:word`,w14:`http://schemas.microsoft.com/office/word/2010/wordml`,w15:`http://schemas.microsoft.com/office/word/2012/wordml`,w16:`http://schemas.microsoft.com/office/word/2018/wordml`,w16cex:`http://schemas.microsoft.com/office/word/2018/wordml/cex`,w16cid:`http://schemas.microsoft.com/office/word/2016/wordml/cid`,w16sdtdh:`http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash`,w16se:`http://schemas.microsoft.com/office/word/2015/wordml/symex`,wne:`http://schemas.microsoft.com/office/word/2006/wordml`,wp:`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,wp14:`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,wpc:`http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas`,wpg:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,wpi:`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,wps:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`,xsi:`http://www.w3.org/2001/XMLSchema-instance`},xm=new Map})),Cm,wm,Tm,Em=r((()=>{j(),P(),Sm(),Cm=class extends b{constructor(e){super(`cp:coreProperties`),this.root.push(ym([`cp`,`dc`,`dcterms`,`dcmitype`,`xsi`])),e.title&&this.root.push(new _(`dc:title`,e.title)),e.subject&&this.root.push(new _(`dc:subject`,e.subject)),e.creator&&this.root.push(new _(`dc:creator`,e.creator)),e.keywords&&this.root.push(new _(`cp:keywords`,e.keywords)),e.description&&this.root.push(new _(`dc:description`,e.description)),e.lastModifiedBy&&this.root.push(new _(`cp:lastModifiedBy`,e.lastModifiedBy)),e.revision&&this.root.push(new _(`cp:revision`,String(e.revision))),this.root.push(new Tm(`dcterms:created`)),this.root.push(new Tm(`dcterms:modified`))}},wm=class extends y{xmlKeys={type:`xsi:type`}},Tm=class extends b{constructor(e){super(e),this.root.push(new wm({type:`dcterms:W3CDTF`})),this.root.push((0,N.dateTimeValue)(new Date))}}})),Dm=r((()=>{Em()})),Om,km=r((()=>{j(),Om=class extends y{xmlKeys={vt:`xmlns:vt`,xmlns:`xmlns`}}})),Am,jm=r((()=>{j(),Am=class extends y{xmlKeys={formatId:`fmtid`,name:`name`,pid:`pid`}}})),Mm,Nm,Pm=r((()=>{j(),jm(),Mm=class extends b{constructor(e,t){super(`property`),this.root.push(new Am({formatId:`{D5CDD505-2E9C-101B-9397-08002B2CF9AE}`,name:t.name,pid:e.toString()})),this.root.push(new Nm(t.value))}},Nm=class extends b{constructor(e){super(`vt:lpwstr`),this.root.push(e)}}})),Fm,Im=r((()=>{j(),km(),Pm(),Fm=class extends b{nextId;properties=[];constructor(e){super(`Properties`),this.root.push(new Om({vt:`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`,xmlns:`http://schemas.openxmlformats.org/officeDocument/2006/custom-properties`})),this.nextId=2;for(let t of e)this.addCustomProperty(t)}prepForXml(e){return this.properties.forEach(e=>this.root.push(e)),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new Mm(this.nextId++,e))}}})),Lm=r((()=>{Im(),Pm()})),Rm,zm=r((()=>{j(),P(),Rm=({space:e,count:t,separate:n,equalWidth:r,children:i})=>new o({attributes:{count:{key:`w:num`,value:t===void 0?void 0:(0,N.decimalNumber)(t)},equalWidth:{key:`w:equalWidth`,value:r},separate:{key:`w:sep`,value:n},space:{key:`w:space`,value:e===void 0?void 0:(0,N.twipsMeasureValue)(e)}},children:!r&&i?i:void 0,name:`w:cols`})})),Bm,Vm,Hm=r((()=>{j(),P(),Bm={DEFAULT:`default`,LINES:`lines`,LINES_AND_CHARS:`linesAndChars`,SNAP_TO_CHARS:`snapToChars`},Vm=({type:e,linePitch:t,charSpace:n})=>new o({attributes:{charSpace:{key:`w:charSpace`,value:n?(0,N.decimalNumber)(n):void 0},linePitch:{key:`w:linePitch`,value:(0,N.decimalNumber)(t)},type:{key:`w:type`,value:e}},name:`w:docGrid`})})),Um,Wm,Gm,Km,qm=r((()=>{j(),P(),Um=({pos:e,formatType:t,format:n,numStart:r,numRestart:i})=>{let a=new Wm;return e!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:e}},name:`w:pos`})),(t!==void 0||n!==void 0)&&a.addChildElement(new o({attributes:{format:{key:`w:format`,value:n},val:{key:`w:fmt`,value:t}},name:`w:numFmt`})),r!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:(0,N.decimalNumber)(r)}},name:`w:numStart`})),i!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:i}},name:`w:numRestart`})),a},Wm=class extends p{constructor(){super(`w:footnotePr`,!0)}},Gm=({pos:e,formatType:t,format:n,numStart:r,numRestart:i})=>{let a=new Km;return e!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:e}},name:`w:pos`})),(t!==void 0||n!==void 0)&&a.addChildElement(new o({attributes:{format:{key:`w:format`,value:n},val:{key:`w:fmt`,value:t}},name:`w:numFmt`})),r!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:(0,N.decimalNumber)(r)}},name:`w:numStart`})),i!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:i}},name:`w:numRestart`})),a},Km=class extends p{constructor(){super(`w:endnotePr`,!0)}}})),Jm,Ym,Xm,Zm=r((()=>{j(),Jm={DEFAULT:`default`,FIRST:`first`,EVEN:`even`},Ym={FOOTER:`w:footerReference`,HEADER:`w:headerReference`},Xm=(e,t)=>new o({attributes:{id:{key:`r:id`,value:`rId${t.id}`},type:{key:`w:type`,value:t.type||Jm.DEFAULT}},name:e})})),Qm,$m,eh=r((()=>{j(),P(),Qm={NEW_PAGE:`newPage`,NEW_SECTION:`newSection`,CONTINUOUS:`continuous`},$m=({countBy:e,start:t,restart:n,distance:r})=>new o({attributes:{countBy:{key:`w:countBy`,value:e===void 0?void 0:(0,N.decimalNumber)(e)},distance:{key:`w:distance`,value:r===void 0?void 0:(0,N.twipsMeasureValue)(r)},restart:{key:`w:restart`,value:n},start:{key:`w:start`,value:t===void 0?void 0:(0,N.decimalNumber)(t)}},name:`w:lnNumType`})})),th,nh,rh,ih,ah,oh=r((()=>{wt(),j(),th={ALL_PAGES:`allPages`,FIRST_PAGE:`firstPage`,NOT_FIRST_PAGE:`notFirstPage`},nh={PAGE:`page`,TEXT:`text`},rh={BACK:`back`,FRONT:`front`},ih=class extends y{xmlKeys={display:`w:display`,offsetFrom:`w:offsetFrom`,zOrder:`w:zOrder`}},ah=class extends p{constructor(e){if(super(`w:pgBorders`),!e)return this;e.display!==void 0||e.offsetFrom!==void 0||e.zOrder!==void 0?this.root.push(new ih({display:e.display,offsetFrom:e.offsetFrom,zOrder:e.zOrder})):this.root.push(new ih({})),e.top&&this.root.push(F(`w:top`,e.top)),e.left&&this.root.push(F(`w:left`,e.left)),e.bottom&&this.root.push(F(`w:bottom`,e.bottom)),e.right&&this.root.push(F(`w:right`,e.right))}}})),sh,ch=r((()=>{j(),P(),sh=(e,t,n,r,i,a,s)=>new o({attributes:{bottom:{key:`w:bottom`,value:(0,N.signedTwipsMeasureValue)(n)},footer:{key:`w:footer`,value:(0,N.twipsMeasureValue)(a)},gutter:{key:`w:gutter`,value:(0,N.twipsMeasureValue)(s)},header:{key:`w:header`,value:(0,N.twipsMeasureValue)(i)},left:{key:`w:left`,value:(0,N.twipsMeasureValue)(r)},right:{key:`w:right`,value:(0,N.twipsMeasureValue)(t)},top:{key:`w:top`,value:(0,N.signedTwipsMeasureValue)(e)}},name:`w:pgMar`})})),lh,uh,dh=r((()=>{j(),P(),lh={HYPHEN:`hyphen`,PERIOD:`period`,COLON:`colon`,EM_DASH:`emDash`,EN_DASH:`enDash`},uh=({start:e,formatType:t,separator:n,chapStyle:r})=>new o({attributes:{chapStyle:{key:`w:chapStyle`,value:r===void 0?void 0:(0,N.decimalNumber)(r)},formatType:{key:`w:fmt`,value:t},separator:{key:`w:chapSep`,value:n},start:{key:`w:start`,value:e===void 0?void 0:(0,N.decimalNumber)(e)}},name:`w:pgNumType`})})),fh,ph,mh=r((()=>{j(),P(),fh={PORTRAIT:`portrait`,LANDSCAPE:`landscape`},ph=({width:e,height:t,orientation:n,code:r})=>{let i=(0,N.twipsMeasureValue)(e),a=(0,N.twipsMeasureValue)(t);return new o({attributes:{code:{key:`w:code`,value:r},height:{key:`w:h`,value:n===fh.LANDSCAPE?i:a},orientation:{key:`w:orient`,value:n},width:{key:`w:w`,value:n===fh.LANDSCAPE?a:i}},name:`w:pgSz`})}})),hh,gh,_h,vh=r((()=>{j(),hh={LEFT_TO_RIGHT_TOP_TO_BOTTOM:`lrTb`,TOP_TO_BOTTOM_RIGHT_TO_LEFT:`tbRl`},gh=class extends y{xmlKeys={val:`w:val`}},_h=class extends b{constructor(e){super(`w:textDirection`),this.root.push(new gh({val:e}))}}})),yh,bh,xh=r((()=>{j(),yh={NEXT_PAGE:`nextPage`,NEXT_COLUMN:`nextColumn`,CONTINUOUS:`continuous`,EVEN_PAGE:`evenPage`,ODD_PAGE:`oddPage`},bh=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:type`})})),Sh,Ch,wh,Th,Eh=r((()=>{R(),Cf(),j(),P(),zm(),Hm(),qm(),Zm(),eh(),oh(),ch(),dh(),mh(),vh(),xh(),Sh={TOP:1440,RIGHT:1800,BOTTOM:1440,LEFT:1800,HEADER:851,FOOTER:992,GUTTER:0},Ch={WIDTH:11906,HEIGHT:16838,ORIENTATION:fh.PORTRAIT},wh=class extends b{constructor({page:{size:{width:e=Ch.WIDTH,height:t=Ch.HEIGHT,orientation:n=Ch.ORIENTATION}={},margin:{top:r=Sh.TOP,right:i=Sh.RIGHT,bottom:a=Sh.BOTTOM,left:s=Sh.LEFT,header:c=Sh.HEADER,footer:l=Sh.FOOTER,gutter:u=Sh.GUTTER}={},pageNumbers:d={},borders:f,textDirection:p}={},grid:{linePitch:m=312,charSpace:ee=0,type:te=`lines`}={},headerWrapperGroup:ne={},footerWrapperGroup:re={},lineNumbers:ie,titlePage:ae,verticalAlign:g,column:_,type:oe,revision:v,noEndnote:se,formProtection:y,bidi:ce,rtlGutter:b,paperSrc:le,footnotePr:ue,endnotePr:de,printerSettingsId:x}={}){super(`w:sectPr`),this.addHeaderFooterGroup(Ym.HEADER,ne),this.addHeaderFooterGroup(Ym.FOOTER,re),ue&&this.root.push(Um(ue)),de&&this.root.push(Gm(de)),oe&&this.root.push(bh(oe)),this.root.push(ph({height:t,orientation:n,width:e})),this.root.push(sh(r,i,a,s,c,l,u)),f&&this.root.push(new ah(f)),ie&&this.root.push($m(ie)),this.root.push(uh(d)),_&&this.root.push(Rm(_)),g&&this.root.push(xf(g)),ae!==void 0&&this.root.push(new h(`w:titlePg`,ae)),p&&this.root.push(new _h(p)),se!==void 0&&this.root.push(new h(`w:noEndnote`,se)),y!==void 0&&this.root.push(new h(`w:formProt`,y)),ce!==void 0&&this.root.push(new h(`w:bidi`,ce)),b!==void 0&&this.root.push(new h(`w:rtlGutter`,b)),le&&this.root.push(new o({attributes:{first:{key:`w:first`,value:le.first===void 0?void 0:(0,N.decimalNumber)(le.first)},other:{key:`w:other`,value:le.other===void 0?void 0:(0,N.decimalNumber)(le.other)}},name:`w:paperSrc`})),x!==void 0&&this.root.push(new o({attributes:{id:{key:`r:id`,value:x}},name:`w:printerSettings`})),this.root.push(Vm({charSpace:ee,linePitch:m,type:te})),v&&this.root.push(new Th(v))}addHeaderFooterGroup(e,t){t.default&&this.root.push(Xm(e,{id:t.default.View.ReferenceId,type:Jm.DEFAULT})),t.first&&this.root.push(Xm(e,{id:t.first.View.ReferenceId,type:Jm.FIRST})),t.even&&this.root.push(Xm(e,{id:t.even.View.ReferenceId,type:Jm.EVEN}))}},Th=class extends b{constructor(e){super(`w:sectPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new wh(e))}}})),Dh,Oh=r((()=>{K(),j(),Eh(),Dh=class extends b{sections=[];constructor(){super(`w:body`)}addSection(e){let t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new wh(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){let t=new U({});return t.setSectionProperties(e),t}}})),kh,Ah,jh=r((()=>{j(),P(),kh=class extends y{xmlKeys={space:`w:space`,width:`w:w`}},Ah=class extends b{constructor(e){super(`w:col`),this.root.push(new kh({space:e.space===void 0?void 0:(0,N.twipsMeasureValue)(e.space),width:(0,N.twipsMeasureValue)(e.width)}))}}})),Mh=r((()=>{jh(),zm(),Hm(),mh(),dh(),oh(),ch(),oh(),vh(),eh(),xh(),Zm()})),Nh=r((()=>{Eh(),Mh()})),Ph=r((()=>{Oh(),Nh()})),Fh,Ih,Lh=r((()=>{j(),H(),P(),Fh=class extends y{xmlKeys={color:`w:color`,themeColor:`w:themeColor`,themeShade:`w:themeShade`,themeTint:`w:themeTint`}},Ih=class extends b{imageData;constructor(e){if(super(`w:background`),this.root.push(new Fh({color:e.color===void 0?void 0:(0,N.hexColorValue)(e.color),themeColor:e.themeColor,themeShade:e.themeShade===void 0?void 0:(0,N.uCharHexNumber)(e.themeShade),themeTint:e.themeTint===void 0?void 0:(0,N.uCharHexNumber)(e.themeTint)})),e.image){let t=Pe(e.image.data),n=ye(t);this.imageData={data:t,fileName:`${n}.${e.image.type}`,type:e.image.type}}}prepForXml(e){return this.imageData&&(e.file.Media.addImage(this.imageData.fileName,{type:this.imageData.type,data:this.imageData.data,fileName:this.imageData.fileName,transformation:{emus:{x:0,y:0},pixels:{x:0,y:0}}}),this.root.push(new o({attributes:{id:{key:`id`,value:`_x0000_s1025`}},children:[new o({attributes:{id:{key:`r:id`,value:`{${this.imageData.fileName}}`},title:{key:`o:title`,value:this.imageData.fileName.split(`.`)[0]},recolor:{key:`recolor`,value:`t`},type:{key:`type`,value:`frame`}},name:`v:fill`})],name:`v:background`}))),super.prepForXml(e)}}})),Rh=r((()=>{Lh()})),zh,Bh=r((()=>{j(),Ph(),Sm(),Rh(),zh=class extends b{body;constructor(e){super(`w:document`),this.root.push(ym(`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`.split(`.`),`w14 w15 wp14`)),this.body=new Dh,e.background&&this.root.push(new Ih(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}}})),Vh=r((()=>{Bh(),Sm(),Ph(),Rh()})),Hh,Uh=r((()=>{Vh(),uo(),Hh=class{document;relationships;constructor(e){this.document=new zh(e),this.relationships=new g}get View(){return this.document}get Relationships(){return this.relationships}}})),Wh,Gh=r((()=>{j(),Wh=class extends b{constructor(){super(`w:continuationSeparator`)}}})),Kh,qh=r((()=>{K(),Gh(),Kh=class extends V{constructor(){super({}),this.extraChildren.push(new Wh)}}})),Jh,Yh=r((()=>{j(),Jh=class extends b{constructor(){super(`w:separator`)}}})),Xh,Zh=r((()=>{K(),Yh(),Xh=class extends V{constructor(){super({}),this.extraChildren.push(new Jh)}}})),Qh,$h=r((()=>{j(),Qh=class extends y{xmlKeys={id:`w:id`,type:`w:type`}}})),eg,tg=r((()=>{Ro(),Wn(),eg=class extends V{constructor(){super({style:`EndnoteReference`}),this.extraChildren.push(new jo)}}})),ng,rg,ig=r((()=>{j(),$h(),tg(),ng={CONTINUATION_SEPARATOR:`continuationSeparator`,SEPARATOR:`separator`},rg=class extends b{constructor(e){super(`w:endnote`),this.root.push(new Qh({id:e.id,type:e.type}));for(let t=0;t<e.children.length;t++){let n=e.children[t];t===0&&`addRunToFront`in n&&n.addRunToFront(new eg),this.root.push(n)}}}})),ag,og=r((()=>{j(),ag=class extends y{xmlKeys={Ignorable:`mc:Ignorable`,m:`xmlns:m`,mc:`xmlns:mc`,o:`xmlns:o`,r:`xmlns:r`,v:`xmlns:v`,w:`xmlns:w`,w10:`xmlns:w10`,w14:`xmlns:w14`,w15:`xmlns:w15`,wne:`xmlns:wne`,wp:`xmlns:wp`,wp14:`xmlns:wp14`,wpc:`xmlns:wpc`,wpg:`xmlns:wpg`,wpi:`xmlns:wpi`,wps:`xmlns:wps`}}})),sg,cg=r((()=>{j(),qh(),Zh(),K(),ig(),og(),sg=class extends b{constructor(){super(`w:endnotes`),this.root.push(new ag({Ignorable:`w14 w15 wp14`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,o:`urn:schemas-microsoft-com:office:office`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,v:`urn:schemas-microsoft-com:vml`,w:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,w10:`urn:schemas-microsoft-com:office:word`,w14:`http://schemas.microsoft.com/office/word/2010/wordml`,w15:`http://schemas.microsoft.com/office/word/2012/wordml`,wne:`http://schemas.microsoft.com/office/word/2006/wordml`,wp:`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,wp14:`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,wpc:`http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas`,wpg:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,wpi:`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,wps:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`}));let e=new rg({children:[new U({children:[new Xh],spacing:{after:0,line:240,lineRule:ns.AUTO}})],id:-1,type:ng.SEPARATOR});this.root.push(e);let t=new rg({children:[new U({children:[new Kh],spacing:{after:0,line:240,lineRule:ns.AUTO}})],id:0,type:ng.CONTINUATION_SEPARATOR});this.root.push(t)}createEndnote(e,t){let n=new rg({children:t,id:e});this.root.push(n)}}})),lg,ug=r((()=>{cg(),uo(),lg=class{endnotes;relationships;constructor(){this.endnotes=new sg,this.relationships=new g}get View(){return this.endnotes}get Relationships(){return this.relationships}}})),dg,fg,pg,mg=r((()=>{j(),Sm(),dg=`cx.cx1.cx2.cx3.cx4.cx5.cx6.cx7.cx8.m.mc.o.r.v.w.w10.w14.w15.w16cid.w16se.wne.wp.wp14.wpc.wpg.wpi.wps`.split(`.`),fg=[`m`,`mc`,`o`,`r`,`v`,`w`,`w10`,`w14`,`w15`,`wne`,`wp`,`wp14`,`wpc`,`wpg`,`wpi`,`wps`],pg=class extends te{refId;constructor(e,t,n,r){super(e,r),this.refId=t,r||this.root.push(ym(n))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}}})),hg,gg=r((()=>{mg(),hg=class extends pg{constructor(e,t){super(`w:ftr`,e,fg,t)}}})),_g,vg=r((()=>{gg(),uo(),_g=class{footer;relationships;constructor(e,t,n){this.media=e,this.footer=new hg(t,n),this.relationships=new g}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}})),yg,bg=r((()=>{j(),yg=class extends y{xmlKeys={id:`w:id`,type:`w:type`}}})),xg,Sg=r((()=>{j(),xg=class extends b{constructor(){super(`w:footnoteRef`)}}})),Cg,wg=r((()=>{K(),Sg(),Cg=class extends V{constructor(){super({style:`FootnoteReference`}),this.extraChildren.push(new xg)}}})),Tg,Eg,Dg=r((()=>{j(),bg(),wg(),Tg={SEPERATOR:`separator`,CONTINUATION_SEPERATOR:`continuationSeparator`},Eg=class extends b{constructor(e){super(`w:footnote`),this.root.push(new yg({id:e.id,type:e.type}));for(let t=0;t<e.children.length;t++){let n=e.children[t];t===0&&`addRunToFront`in n&&n.addRunToFront(new Cg),this.root.push(n)}}}})),Og,kg=r((()=>{j(),Og=class extends y{xmlKeys={Ignorable:`mc:Ignorable`,m:`xmlns:m`,mc:`xmlns:mc`,o:`xmlns:o`,r:`xmlns:r`,v:`xmlns:v`,w:`xmlns:w`,w10:`xmlns:w10`,w14:`xmlns:w14`,w15:`xmlns:w15`,wne:`xmlns:wne`,wp:`xmlns:wp`,wp14:`xmlns:wp14`,wpc:`xmlns:wpc`,wpg:`xmlns:wpg`,wpi:`xmlns:wpi`,wps:`xmlns:wps`}}})),Ag,jg=r((()=>{j(),K(),Dg(),qh(),Zh(),kg(),Ag=class extends b{constructor(){super(`w:footnotes`),this.root.push(new Og({Ignorable:`w14 w15 wp14`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,o:`urn:schemas-microsoft-com:office:office`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,v:`urn:schemas-microsoft-com:vml`,w:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,w10:`urn:schemas-microsoft-com:office:word`,w14:`http://schemas.microsoft.com/office/word/2010/wordml`,w15:`http://schemas.microsoft.com/office/word/2012/wordml`,wne:`http://schemas.microsoft.com/office/word/2006/wordml`,wp:`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,wp14:`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,wpc:`http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas`,wpg:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,wpi:`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,wps:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`}));let e=new Eg({children:[new U({children:[new Xh],spacing:{after:0,line:240,lineRule:ns.AUTO}})],id:-1,type:Tg.SEPERATOR});this.root.push(e);let t=new Eg({children:[new U({children:[new Kh],spacing:{after:0,line:240,lineRule:ns.AUTO}})],id:0,type:Tg.CONTINUATION_SEPERATOR});this.root.push(t)}createFootNote(e,t){let n=new Eg({children:t,id:e});this.root.push(n)}}})),Mg,Ng=r((()=>{jg(),uo(),Mg=class{footnotess;relationships;constructor(){this.footnotess=new Ag,this.relationships=new g}get View(){return this.footnotess}get Relationships(){return this.relationships}}})),Pg,Fg,Ig=r((()=>{Pg=class{options;constructor(e={children:[]}){this.options=e}},Fg=class{options;constructor(e={children:[]}){this.options=e}}})),Lg,Rg=r((()=>{mg(),Lg=class extends pg{constructor(e,t){super(`w:hdr`,e,dg,t)}}})),zg,Bg=r((()=>{Rg(),uo(),zg=class{header;relationships;constructor(e,t,n){this.media=e,this.header=new Lg(t,n),this.relationships=new g}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}})),Vg,Hg,Ug,Wg,Gg,Kg,qg,Jg,Yg,Xg,Zg,Qg=r((()=>{j(),P(),vs(),_c(),Mn(),Vg={DECIMAL:`decimal`,UPPER_ROMAN:`upperRoman`,LOWER_ROMAN:`lowerRoman`,UPPER_LETTER:`upperLetter`,LOWER_LETTER:`lowerLetter`,ORDINAL:`ordinal`,CARDINAL_TEXT:`cardinalText`,ORDINAL_TEXT:`ordinalText`,HEX:`hex`,CHICAGO:`chicago`,IDEOGRAPH__DIGITAL:`ideographDigital`,JAPANESE_COUNTING:`japaneseCounting`,AIUEO:`aiueo`,IROHA:`iroha`,DECIMAL_FULL_WIDTH:`decimalFullWidth`,DECIMAL_HALF_WIDTH:`decimalHalfWidth`,JAPANESE_LEGAL:`japaneseLegal`,JAPANESE_DIGITAL_TEN_THOUSAND:`japaneseDigitalTenThousand`,DECIMAL_ENCLOSED_CIRCLE:`decimalEnclosedCircle`,DECIMAL_FULL_WIDTH2:`decimalFullWidth2`,AIUEO_FULL_WIDTH:`aiueoFullWidth`,IROHA_FULL_WIDTH:`irohaFullWidth`,DECIMAL_ZERO:`decimalZero`,BULLET:`bullet`,GANADA:`ganada`,CHOSUNG:`chosung`,DECIMAL_ENCLOSED_FULLSTOP:`decimalEnclosedFullstop`,DECIMAL_ENCLOSED_PARENTHESES:`decimalEnclosedParen`,DECIMAL_ENCLOSED_CIRCLE_CHINESE:`decimalEnclosedCircleChinese`,IDEOGRAPH_ENCLOSED_CIRCLE:`ideographEnclosedCircle`,IDEOGRAPH_TRADITIONAL:`ideographTraditional`,IDEOGRAPH_ZODIAC:`ideographZodiac`,IDEOGRAPH_ZODIAC_TRADITIONAL:`ideographZodiacTraditional`,TAIWANESE_COUNTING:`taiwaneseCounting`,IDEOGRAPH_LEGAL_TRADITIONAL:`ideographLegalTraditional`,TAIWANESE_COUNTING_THOUSAND:`taiwaneseCountingThousand`,TAIWANESE_DIGITAL:`taiwaneseDigital`,CHINESE_COUNTING:`chineseCounting`,CHINESE_LEGAL_SIMPLIFIED:`chineseLegalSimplified`,CHINESE_COUNTING_THOUSAND:`chineseCountingThousand`,KOREAN_DIGITAL:`koreanDigital`,KOREAN_COUNTING:`koreanCounting`,KOREAN_LEGAL:`koreanLegal`,KOREAN_DIGITAL2:`koreanDigital2`,VIETNAMESE_COUNTING:`vietnameseCounting`,RUSSIAN_LOWER:`russianLower`,RUSSIAN_UPPER:`russianUpper`,NONE:`none`,NUMBER_IN_DASH:`numberInDash`,HEBREW1:`hebrew1`,HEBREW2:`hebrew2`,ARABIC_ALPHA:`arabicAlpha`,ARABIC_ABJAD:`arabicAbjad`,HINDI_VOWELS:`hindiVowels`,HINDI_CONSONANTS:`hindiConsonants`,HINDI_NUMBERS:`hindiNumbers`,HINDI_COUNTING:`hindiCounting`,THAI_LETTERS:`thaiLetters`,THAI_NUMBERS:`thaiNumbers`,THAI_COUNTING:`thaiCounting`,BAHT_TEXT:`bahtText`,DOLLAR_TEXT:`dollarText`,CUSTOM:`custom`},Hg=class extends y{xmlKeys={ilvl:`w:ilvl`,tentative:`w15:tentative`}},Ug=class extends b{constructor(e){super(`w:numFmt`),this.root.push(new A({val:e}))}},Wg=class extends b{constructor(e){super(`w:lvlText`),this.root.push(new A({val:e}))}},Gg=class extends b{constructor(e){super(`w:lvlJc`),this.root.push(new A({val:e}))}},Kg={NOTHING:`nothing`,SPACE:`space`,TAB:`tab`},qg=class extends b{constructor(e){super(`w:suff`),this.root.push(new A({val:e}))}},Jg=class extends b{constructor(){super(`w:isLgl`)}},Yg=class extends b{paragraphProperties;runProperties;constructor({level:e,format:t,text:n,alignment:r=M.START,start:i=1,style:a,suffix:o,isLegalNumberingStyle:s}){super(`w:lvl`),this.root.push(new re(`w:start`,(0,N.decimalNumber)(i))),t&&this.root.push(new Ug(t)),o&&this.root.push(new qg(o)),s&&this.root.push(new Jg),n&&this.root.push(new Wg(n)),this.root.push(new Gg(r)),this.paragraphProperties=new hc(a&&a.paragraph),this.runProperties=new kn(a&&a.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),this.root.push(new Hg({ilvl:(0,N.decimalNumber)(Math.min(e,9)),tentative:1}))}},Xg=class extends Yg{},Zg=class extends Yg{}})),$g,e_=r((()=>{j(),$g=class extends b{constructor(e){super(`w:multiLevelType`),this.root.push(new A({val:e}))}}})),t_,n_,r_=r((()=>{j(),P(),Qg(),e_(),t_=class extends y{xmlKeys={abstractNumId:`w:abstractNumId`,restartNumberingAfterBreak:`w15:restartNumberingAfterBreak`}},n_=class extends b{id;constructor(e,t){super(`w:abstractNum`),this.root.push(new t_({abstractNumId:(0,N.decimalNumber)(e),restartNumberingAfterBreak:0})),this.root.push(new $g(`hybridMultilevel`)),this.id=e;for(let e of t)this.root.push(new Xg(e))}}})),i_,a_,o_,s_,c_,l_,u_,d_=r((()=>{j(),P(),i_=class extends b{constructor(e){super(`w:abstractNumId`),this.root.push(new A({val:e}))}},a_=class extends y{xmlKeys={numId:`w:numId`}},o_=class extends b{numId;reference;instance;constructor(e){if(super(`w:num`),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new a_({numId:(0,N.decimalNumber)(e.numId)})),this.root.push(new i_((0,N.decimalNumber)(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(let t of e.overrideLevels)this.root.push(new c_(t.num,t.start))}},s_=class extends y{xmlKeys={ilvl:`w:ilvl`}},c_=class extends b{constructor(e,t){super(`w:lvlOverride`),this.root.push(new s_({ilvl:e})),t!==void 0&&this.root.push(new u_(t))}},l_=class extends y{xmlKeys={val:`w:val`}},u_=class extends b{constructor(e){super(`w:startOverride`),this.root.push(new l_({val:e}))}}})),f_,p_=r((()=>{K(),j(),H(),Sm(),r_(),Qg(),d_(),f_=class extends b{abstractNumberingMap=new Map;concreteNumberingMap=new Map;referenceConfigMap=new Map;abstractNumUniqueNumericId=Qn();concreteNumUniqueNumericId=$n();constructor(e){super(`w:numbering`),this.root.push(ym([`wpc`,`mc`,`o`,`r`,`m`,`v`,`wp14`,`wp`,`w10`,`w`,`w14`,`w15`,`wpg`,`wpi`,`wne`,`wps`],`w14 w15 wp14`));let t=new n_(this.abstractNumUniqueNumericId(),[{alignment:M.LEFT,format:Vg.BULLET,level:0,style:{paragraph:{indent:{hanging:x(.25),left:x(.5)}}},text:`●`},{alignment:M.LEFT,format:Vg.BULLET,level:1,style:{paragraph:{indent:{hanging:x(.25),left:x(1)}}},text:`○`},{alignment:M.LEFT,format:Vg.BULLET,level:2,style:{paragraph:{indent:{hanging:x(.25),left:2160}}},text:`■`},{alignment:M.LEFT,format:Vg.BULLET,level:3,style:{paragraph:{indent:{hanging:x(.25),left:2880}}},text:`●`},{alignment:M.LEFT,format:Vg.BULLET,level:4,style:{paragraph:{indent:{hanging:x(.25),left:3600}}},text:`○`},{alignment:M.LEFT,format:Vg.BULLET,level:5,style:{paragraph:{indent:{hanging:x(.25),left:4320}}},text:`■`},{alignment:M.LEFT,format:Vg.BULLET,level:6,style:{paragraph:{indent:{hanging:x(.25),left:5040}}},text:`●`},{alignment:M.LEFT,format:Vg.BULLET,level:7,style:{paragraph:{indent:{hanging:x(.25),left:5760}}},text:`●`},{alignment:M.LEFT,format:Vg.BULLET,level:8,style:{paragraph:{indent:{hanging:x(.25),left:6480}}},text:`●`}]);this.concreteNumberingMap.set(`default-bullet-numbering`,new o_({abstractNumId:t.id,instance:0,numId:1,overrideLevels:[{num:0,start:1}],reference:`default-bullet-numbering`})),this.abstractNumberingMap.set(`default-bullet-numbering`,t);for(let t of e.config)this.abstractNumberingMap.set(t.reference,new n_(this.abstractNumUniqueNumericId(),t.levels)),this.referenceConfigMap.set(t.reference,t.levels)}prepForXml(e){for(let e of this.abstractNumberingMap.values())this.root.push(e);for(let e of this.concreteNumberingMap.values())this.root.push(e);return super.prepForXml(e)}createConcreteNumberingInstance(e,t){let n=this.abstractNumberingMap.get(e);if(!n)return;let r=`${e}-${t}`;if(this.concreteNumberingMap.has(r))return;let i=this.referenceConfigMap.get(e),a=i&&i[0].start,o={abstractNumId:n.id,instance:t,numId:this.concreteNumUniqueNumericId(),overrideLevels:[typeof a==`number`&&Number.isInteger(a)?{num:0,start:a}:{num:0,start:1}],reference:e};this.concreteNumberingMap.set(r,new o_(o))}get ConcreteNumbering(){return[...this.concreteNumberingMap.values()]}get ReferenceConfig(){return[...this.referenceConfigMap.values()]}}})),m_=r((()=>{p_(),r_(),Qg(),d_()})),h_,g_=r((()=>{j(),h_=(e,t,n=`http://schemas.microsoft.com/office/word`)=>new o({attributes:{name:{key:`w:name`,value:e},uri:{key:`w:uri`,value:n},val:{key:`w:val`,value:t}},name:`w:compatSetting`})})),__,v_=r((()=>{j(),g_(),__=class extends b{constructor(e){super(`w:compat`),e.version&&this.root.push(h_(`compatibilityMode`,e.version)),e.useSingleBorderforContiguousCells&&this.root.push(new h(`w:useSingleBorderforContiguousCells`,e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new h(`w:wpJustification`,e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new h(`w:noTabHangInd`,e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new h(`w:noLeading`,e.noLeading)),e.spaceForUnderline&&this.root.push(new h(`w:spaceForUL`,e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new h(`w:noColumnBalance`,e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new h(`w:balanceSingleByteDoubleByteWidth`,e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new h(`w:noExtraLineSpacing`,e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new h(`w:doNotLeaveBackslashAlone`,e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new h(`w:ulTrailSpace`,e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new h(`w:doNotExpandShiftReturn`,e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new h(`w:spacingInWholePoints`,e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new h(`w:lineWrapLikeWord6`,e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new h(`w:printBodyTextBeforeHeader`,e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new h(`w:printColBlack`,e.printColorsBlack)),e.spaceWidth&&this.root.push(new h(`w:wpSpaceWidth`,e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new h(`w:showBreaksInFrames`,e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new h(`w:subFontBySize`,e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new h(`w:suppressBottomSpacing`,e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new h(`w:suppressTopSpacing`,e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new h(`w:suppressSpacingAtTopOfPage`,e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new h(`w:suppressTopSpacingWP`,e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new h(`w:suppressSpBfAfterPgBrk`,e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new h(`w:swapBordersFacingPages`,e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new h(`w:convMailMergeEsc`,e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new h(`w:truncateFontHeightsLikeWP6`,e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new h(`w:mwSmallCaps`,e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new h(`w:usePrinterMetrics`,e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new h(`w:doNotSuppressParagraphBorders`,e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new h(`w:wrapTrailSpaces`,e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new h(`w:footnoteLayoutLikeWW8`,e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new h(`w:shapeLayoutLikeWW8`,e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new h(`w:alignTablesRowByRow`,e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new h(`w:forgetLastTabAlignment`,e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new h(`w:adjustLineHeightInTable`,e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new h(`w:autoSpaceLikeWord95`,e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new h(`w:noSpaceRaiseLower`,e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new h(`w:doNotUseHTMLParagraphAutoSpacing`,e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new h(`w:layoutRawTableWidth`,e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new h(`w:layoutTableRowsApart`,e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new h(`w:useWord97LineBreakRules`,e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new h(`w:doNotBreakWrappedTables`,e.doNotBreakWrappedTables)),e.doNotSnapToGridInCell&&this.root.push(new h(`w:doNotSnapToGridInCell`,e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new h(`w:selectFldWithFirstOrLastChar`,e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new h(`w:applyBreakingRules`,e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new h(`w:doNotWrapTextWithPunct`,e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new h(`w:doNotUseEastAsianBreakRules`,e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new h(`w:useWord2002TableStyleRules`,e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new h(`w:growAutofit`,e.growAutofit)),e.useFELayout&&this.root.push(new h(`w:useFELayout`,e.useFELayout)),e.useNormalStyleForList&&this.root.push(new h(`w:useNormalStyleForList`,e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new h(`w:doNotUseIndentAsNumberingTabStop`,e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new h(`w:useAltKinsokuLineBreakRules`,e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new h(`w:allowSpaceOfSameStyleInTable`,e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new h(`w:doNotSuppressIndentation`,e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new h(`w:doNotAutofitConstrainedTables`,e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new h(`w:autofitToFirstFixedWidthCell`,e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new h(`w:underlineTabInNumList`,e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new h(`w:displayHangulFixedWidth`,e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new h(`w:splitPgBreakAndParaMark`,e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new h(`w:doNotVertAlignCellWithSp`,e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new h(`w:doNotBreakConstrainedForcedTable`,e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new h(`w:doNotVertAlignInTxbx`,e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new h(`w:useAnsiKerningPairs`,e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new h(`w:cachedColBalance`,e.cachedColumnBalance)),e.overrideTableStyleFontSizeAndJustification&&this.root.push(h_(`overrideTableStyleFontSizeAndJustification`,1)),e.enableOpenTypeFeatures&&this.root.push(h_(`enableOpenTypeFeatures`,1)),e.doNotFlipMirrorIndents&&this.root.push(h_(`doNotFlipMirrorIndents`,1))}}})),y_,b_,x_,S_,C_,w_,T_,E_,D_,O_,k_,A_,j_=r((()=>{j(),v_(),y_=class extends y{xmlKeys={Ignorable:`mc:Ignorable`,m:`xmlns:m`,mc:`xmlns:mc`,o:`xmlns:o`,r:`xmlns:r`,v:`xmlns:v`,w:`xmlns:w`,w10:`xmlns:w10`,w14:`xmlns:w14`,w15:`xmlns:w15`,wne:`xmlns:wne`,wp:`xmlns:wp`,wp14:`xmlns:wp14`,wpc:`xmlns:wpc`,wpg:`xmlns:wpg`,wpi:`xmlns:wpi`,wps:`xmlns:wps`}},b_=class extends b{constructor(e){super(`w:settings`),this.root.push(new y_({Ignorable:`w14 w15 wp14`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,o:`urn:schemas-microsoft-com:office:office`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,v:`urn:schemas-microsoft-com:vml`,w:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,w10:`urn:schemas-microsoft-com:office:word`,w14:`http://schemas.microsoft.com/office/word/2010/wordml`,w15:`http://schemas.microsoft.com/office/word/2012/wordml`,wne:`http://schemas.microsoft.com/office/word/2006/wordml`,wp:`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,wp14:`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,wpc:`http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas`,wpg:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,wpi:`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,wps:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`})),e.trackRevisions!==void 0&&this.root.push(new h(`w:trackRevisions`,e.trackRevisions)),e.documentProtection!==void 0&&this.root.push(new S_(e.documentProtection)),e.view!==void 0&&this.root.push(new w_(e.view)),e.zoom!==void 0&&this.root.push(new E_({val:e.zoom.val,percent:e.zoom.percent??100})),e.writeProtection!==void 0&&this.root.push(new O_(e.writeProtection)),e.displayBackgroundShape!==void 0&&this.root.push(new h(`w:displayBackgroundShape`,e.displayBackgroundShape)),e.embedTrueTypeFonts!==void 0&&this.root.push(new h(`w:embedTrueTypeFonts`,e.embedTrueTypeFonts)),e.embedSystemFonts!==void 0&&this.root.push(new h(`w:embedSystemFonts`,e.embedSystemFonts)),e.saveSubsetFonts!==void 0&&this.root.push(new h(`w:saveSubsetFonts`,e.saveSubsetFonts)),e.docVars!==void 0&&e.docVars.length>0&&this.root.push(new o({name:`w:docVars`,children:e.docVars.map(e=>new o({name:`w:docVar`,attributes:[{key:`w:name`,value:e.name},{key:`w:val`,value:e.val}]}))})),e.evenAndOddHeaders!==void 0&&this.root.push(new h(`w:evenAndOddHeaders`,e.evenAndOddHeaders)),e.updateFields!==void 0&&this.root.push(new h(`w:updateFields`,e.updateFields)),this.root.push(new re(`w:defaultTabStop`,e.defaultTabStop??420)),e.hyphenation?.autoHyphenation!==void 0&&this.root.push(new h(`w:autoHyphenation`,e.hyphenation.autoHyphenation)),e.hyphenation?.hyphenationZone!==void 0&&this.root.push(new re(`w:hyphenationZone`,e.hyphenation.hyphenationZone)),e.hyphenation?.consecutiveHyphenLimit!==void 0&&this.root.push(new re(`w:consecutiveHyphenLimit`,e.hyphenation.consecutiveHyphenLimit)),e.hyphenation?.doNotHyphenateCaps!==void 0&&this.root.push(new h(`w:doNotHyphenateCaps`,e.hyphenation.doNotHyphenateCaps)),this.root.push(new v(`w:characterSpacingControl`,e.characterSpacingControl??`compressPunctuation`)),e.colorSchemeMapping!==void 0&&this.root.push(new A_(e.colorSchemeMapping)),this.root.push(new __({...e.compatibility,version:e.compatibility?.version??e.compatibilityModeVersion??15,spaceForUnderline:e.compatibility?.spaceForUnderline??!0,balanceSingleByteDoubleByteWidth:e.compatibility?.balanceSingleByteDoubleByteWidth??!0,doNotLeaveBackslashAlone:e.compatibility?.doNotLeaveBackslashAlone??!0,underlineTrailingSpaces:e.compatibility?.underlineTrailingSpaces??!0,doNotExpandShiftReturn:e.compatibility?.doNotExpandShiftReturn??!0,adjustLineHeightInTable:e.compatibility?.adjustLineHeightInTable??!0,useFELayout:e.compatibility?.useFELayout??!0,overrideTableStyleFontSizeAndJustification:e.compatibility?.overrideTableStyleFontSizeAndJustification??!0,enableOpenTypeFeatures:e.compatibility?.enableOpenTypeFeatures??!0,doNotFlipMirrorIndents:e.compatibility?.doNotFlipMirrorIndents??!0}))}},x_=class extends y{xmlKeys={edit:`w:edit`,enforcement:`w:enforcement`,formatting:`w:formatting`,algorithmName:`w:algorithmName`,hashValue:`w:hashValue`,saltValue:`w:saltValue`,spinCount:`w:spinCount`}},S_=class extends b{constructor(e){super(`w:documentProtection`),this.root.push(new x_({enforcement:`1`,edit:e.edit,formatting:e.formatting===void 0?void 0:e.formatting?`1`:`0`,algorithmName:e.algorithmName,hashValue:e.hashValue,saltValue:e.saltValue,spinCount:e.spinCount}))}},C_=class extends y{xmlKeys={val:`w:val`}},w_=class extends b{constructor(e){super(`w:view`),this.root.push(new C_({val:e}))}},T_=class extends y{xmlKeys={val:`w:val`,percent:`w:percent`}},E_=class extends b{constructor(e){super(`w:zoom`),this.root.push(new T_(e))}},D_=class extends y{xmlKeys={recommended:`w:recommended`,hashValue:`w:hashValue`,saltValue:`w:saltValue`,spinCount:`w:spinCount`,algorithmName:`w:algorithmName`}},O_=class extends b{constructor(e){super(`w:writeProtection`),this.root.push(new D_({recommended:e.recommended===void 0?void 0:e.recommended?`1`:`0`,hashValue:e.hashValue,saltValue:e.saltValue,spinCount:e.spinCount,algorithmName:e.algorithmName}))}},k_=class extends y{xmlKeys={bg1:`w:bg1`,t1:`w:t1`,bg2:`w:bg2`,t2:`w:t2`,accent1:`w:accent1`,accent2:`w:accent2`,accent3:`w:accent3`,accent4:`w:accent4`,accent5:`w:accent5`,accent6:`w:accent6`,hyperlink:`w:hyperlink`,followedHyperlink:`w:followedHyperlink`}},A_=class extends b{constructor(e){super(`w:clrSchemeMapping`),this.root.push(new k_(e))}}})),M_=r((()=>{j_()})),N_=r((()=>{})),P_,F_,I_,L_=r((()=>{j(),P(),P_=class extends y{xmlKeys={val:`w:val`}},F_=class extends b{constructor(e){super(`w:name`),this.root.push(new P_({val:e}))}},I_=class extends b{constructor(e){super(`w:uiPriority`),this.root.push(new P_({val:(0,N.decimalNumber)(e)}))}}})),R_,z_=r((()=>{j(),R_=e=>{let t=[];return e.paragraphProperties&&t.push(e.paragraphProperties),e.runProperties&&t.push(e.runProperties),e.tableProperties&&t.push(e.tableProperties),e.rowProperties&&t.push(e.rowProperties),e.cellProperties&&t.push(e.cellProperties),new o({attributes:{type:{key:`w:type`,value:e.type}},children:t,name:`w:tblStylePr`})}})),B_,V_,H_=r((()=>{j(),L_(),z_(),B_=class extends y{xmlKeys={customStyle:`w:customStyle`,default:`w:default`,styleId:`w:styleId`,type:`w:type`}},V_=class extends b{constructor(e,t){if(super(`w:style`),this.root.push(new B_(e)),t.name&&this.root.push(new F_(t.name)),t.basedOn&&this.root.push(new v(`w:basedOn`,t.basedOn)),t.next&&this.root.push(new v(`w:next`,t.next)),t.link&&this.root.push(new v(`w:link`,t.link)),t.uiPriority!==void 0&&this.root.push(new I_(t.uiPriority)),t.semiHidden!==void 0&&this.root.push(new h(`w:semiHidden`,t.semiHidden)),t.unhideWhenUsed!==void 0&&this.root.push(new h(`w:unhideWhenUsed`,t.unhideWhenUsed)),t.quickFormat!==void 0&&this.root.push(new h(`w:qFormat`,t.quickFormat)),t.tableStyleOverrides)for(let e of t.tableStyleOverrides)this.root.push(R_(e))}}})),U_,W_=r((()=>{K(),Mn(),H_(),U_=class extends V_{paragraphProperties;runProperties;constructor(e){super({styleId:e.id,type:`paragraph`},e),this.paragraphProperties=new hc(e.paragraph),this.runProperties=new kn(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}})),G_,K_=r((()=>{Mn(),H_(),G_=class extends V_{runProperties;constructor(e){super({styleId:e.id,type:`character`},{uiPriority:99,unhideWhenUsed:!0,...e}),this.runProperties=new kn(e.run),this.root.push(this.runProperties)}}})),q_,J_,Y_,X_,Z_,Q_,$_,ev,tv,nv,rv,iv,av,ov,sv,cv,lv,uv=r((()=>{K(),Tn(),K_(),W_(),q_=class extends U_{constructor(e){super({basedOn:`Normal`,next:`Normal`,quickFormat:!0,...e})}},J_=class extends q_{constructor(e){super({id:`Title`,name:`Title`,...e})}},Y_=class extends q_{constructor(e){super({id:`Heading1`,name:`Heading 1`,...e})}},X_=class extends q_{constructor(e){super({id:`Heading2`,name:`Heading 2`,...e})}},Z_=class extends q_{constructor(e){super({id:`Heading3`,name:`Heading 3`,...e})}},Q_=class extends q_{constructor(e){super({id:`Heading4`,name:`Heading 4`,...e})}},$_=class extends q_{constructor(e){super({id:`Heading5`,name:`Heading 5`,...e})}},ev=class extends q_{constructor(e){super({id:`Heading6`,name:`Heading 6`,...e})}},tv=class extends q_{constructor(e){super({id:`Strong`,name:`Strong`,...e})}},nv=class extends U_{constructor(e){super({basedOn:`Normal`,id:`ListParagraph`,name:`List Paragraph`,quickFormat:!0,...e})}},rv=class extends U_{constructor(e){super({basedOn:`Normal`,id:`FootnoteText`,link:`FootnoteTextChar`,name:`footnote text`,paragraph:{spacing:{after:0,line:240,lineRule:ns.AUTO}},run:{size:20},semiHidden:!0,uiPriority:99,unhideWhenUsed:!0,...e})}},iv=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`FootnoteReference`,name:`footnote reference`,run:{superScript:!0},semiHidden:!0,...e})}},av=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`FootnoteTextChar`,link:`FootnoteText`,name:`Footnote Text Char`,run:{size:20},semiHidden:!0,...e})}},ov=class extends U_{constructor(e){super({basedOn:`Normal`,id:`EndnoteText`,link:`EndnoteTextChar`,name:`endnote text`,paragraph:{spacing:{after:0,line:240,lineRule:ns.AUTO}},run:{size:20},semiHidden:!0,uiPriority:99,unhideWhenUsed:!0,...e})}},sv=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`EndnoteReference`,name:`endnote reference`,run:{superScript:!0},semiHidden:!0,...e})}},cv=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`EndnoteTextChar`,link:`EndnoteText`,name:`Endnote Text Char`,run:{size:20},semiHidden:!0,...e})}},lv=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`Hyperlink`,name:`Hyperlink`,run:{color:`0563C1`,underline:{type:Cn.SINGLE}},...e})}}})),dv=r((()=>{H_(),W_(),K_(),uv(),z_()})),fv,pv=r((()=>{j(),dv(),fv=class extends b{constructor(e){if(super(`w:styles`),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(let t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(let t of e.paragraphStyles)this.root.push(new U_(t));if(e.characterStyles)for(let t of e.characterStyles)this.root.push(new G_(t))}}})),mv,hv=r((()=>{_c(),j(),mv=class extends b{constructor(e){super(`w:pPrDefault`),this.root.push(new hc(e))}}})),gv,_v=r((()=>{Mn(),j(),gv=class extends b{constructor(e){super(`w:rPrDefault`),this.root.push(new kn(e))}}})),vv,yv=r((()=>{j(),hv(),_v(),vv=class extends b{runPropertiesDefaults;paragraphPropertiesDefaults;constructor(e){super(`w:docDefaults`),this.runPropertiesDefaults=new gv(e.run),this.paragraphPropertiesDefaults=new mv(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}})),bv=r((()=>{hv(),_v(),yv()})),xv=r((()=>{pv(),K_(),W_(),bv()})),Sv,Cv=r((()=>{j(),Sv=class{newInstance(e){let t=ct(e,{compact:!1}),n;for(let e of t.elements||[])e.name===`w:styles`&&(n=e);return n===void 0?{importedStyles:[],initialStyles:new m({})}:{importedStyles:(n.elements||[]).map(e=>ge(e)),initialStyles:new m(n.attributes)}}}})),wv,Tv,Ev=r((()=>{Sm(),bv(),dv(),wv=null,Tv=class{newInstance(e={}){return Object.keys(e).length===0?(wv||=this.build({}),wv):this.build(e)}build(e){return{importedStyles:[new vv(e.document??{}),new J_({run:{size:56},...e.title}),new Y_(e.heading1||{}),new X_(e.heading2||{}),new Z_(e.heading3||{}),new Q_(e.heading4||{}),new $_(e.heading5||{}),new ev(e.heading6||{}),new tv({run:{bold:!0},...e.strong}),new nv(e.listParagraph||{}),new lv(e.hyperlink||{}),new iv(e.footnoteReference||{}),new rv(e.footnoteText||{}),new av(e.footnoteTextChar||{}),new sv(e.endnoteReference||{}),new ov(e.endnoteText||{}),new cv(e.endnoteTextChar||{})],initialStyles:ym([`mc`,`r`,`w`,`w14`,`w15`],`w14 w15`)}}}})),Dv,Ov=r((()=>{Dv=class{map;constructor(){this.map=new Map}addSubDoc(e,t){this.map.set(e,t)}get Array(){return[...this.map.values()]}}})),kv,Av=r((()=>{am(),om(),fm(),pm(),nm(),vm(),Dm(),Lm(),Uh(),Nh(),ug(),ac(),vg(),Ng(),Ig(),Bg(),za(),m_(),bo(),uo(),M_(),N_(),xv(),Cv(),Ev(),Ov(),kv=class{currentRelationshipId=1;documentWrapper;headers=[];footers=[];coreProperties;numbering;media;charts;smartArts;altChunks;subDocs;fileRelationships;footnotesWrapper;endnotesWrapper;settings;contentTypes;customProperties;appProperties;styles;comments;bibliography;fontWrapper;constructor(e){if(this.coreProperties=new Cm({...e,creator:e.creator??`Un-named`,lastModifiedBy:e.lastModifiedBy??`Un-named`,revision:e.revision??1}),this.numbering=new f_(e.numbering?e.numbering:{config:[]}),this.comments=new yo(e.comments??{children:[]}),this.bibliography=e.bibliography?new um(e.bibliography):void 0,this.fileRelationships=new g,this.customProperties=new Fm(e.customProperties??[]),this.appProperties=new i,this.footnotesWrapper=new Mg,this.endnotesWrapper=new lg,this.contentTypes=new _m,this.documentWrapper=new Hh({background:e.background}),this.settings=new b_({compatibility:e.compatibility,compatibilityModeVersion:e.compatabilityModeVersion,defaultTabStop:e.defaultTabStop,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,characterSpacingControl:e.characterSpacingControl,hyphenation:{autoHyphenation:e.hyphenation?.autoHyphenation,consecutiveHyphenLimit:e.hyphenation?.consecutiveHyphenLimit,doNotHyphenateCaps:e.hyphenation?.doNotHyphenateCaps,hyphenationZone:e.hyphenation?.hyphenationZone},trackRevisions:e.features?.trackRevisions,updateFields:e.features?.updateFields,documentProtection:e.features?.documentProtection,view:e.view,zoom:e.zoom,writeProtection:e.writeProtection,displayBackgroundShape:e.displayBackgroundShape??(e.background?.image?!0:void 0),embedTrueTypeFonts:e.embedTrueTypeFonts,embedSystemFonts:e.embedSystemFonts,saveSubsetFonts:e.saveSubsetFonts,docVars:e.docVars,colorSchemeMapping:e.colorSchemeMapping}),this.media=new Fa,this.charts=new Ke,this.smartArts=new Qe,this.altChunks=new im,this.subDocs=new Dv,e.externalStyles!==void 0){let t=new Tv().newInstance(e.styles?.default),n=new Sv().newInstance(e.externalStyles);this.styles=new fv({...n,importedStyles:[...t.importedStyles,...n.importedStyles]})}else if(e.styles){let t=new Tv().newInstance(e.styles.default);this.styles=new fv({...t,...e.styles})}else{let e=new Tv;this.styles=new fv(e.newInstance())}this.addDefaultRelationships(),this.bibliography&&this.contentTypes.addBibliography();for(let t of e.sections)this.addSection(t);if(e.footnotes)for(let t in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(t),e.footnotes[t].children);if(e.endnotes)for(let t in e.endnotes)this.endnotesWrapper.View.createEndnote(parseFloat(t),e.endnotes[t].children);this.fontWrapper=new ic(e.fonts??[])}addSection({headers:e={},footers:t={},children:n,properties:r}){this.documentWrapper.View.Body.addSection({...r,footerWrapperGroup:{default:t.default?this.createFooter(t.default):void 0,even:t.even?this.createFooter(t.even):void 0,first:t.first?this.createFooter(t.first):void 0},headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,even:e.even?this.createHeader(e.even):void 0,first:e.first?this.createHeader(e.first):void 0}});for(let e of n)this.documentWrapper.View.add(tm(e))}createHeader(e){let t=new zg(this.media,this.currentRelationshipId++),n=e instanceof Pg?e.options.children:e;for(let e of n)t.add(tm(e));return this.addHeaderToDocument(t),t}createFooter(e){let t=new _g(this.media,this.currentRelationshipId++),n=e instanceof Fg?e.options.children:e;for(let e of n)t.add(tm(e));return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=Jm.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=Jm.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.bibliography&&this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography`,`bibliography.xml`)}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 Charts(){return this.charts}get SmartArts(){return this.smartArts}get AltChunks(){return this.altChunks}get SubDocs(){return this.subDocs}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 Bibliography(){return this.bibliography}get FontTable(){return this.fontWrapper}}})),jv=r((()=>{})),Mv,Nv,Pv,Fv=r((()=>{Yo(),j(),Mv=class extends y{xmlKeys={id:`w:id`}},Nv=class extends b{constructor(e){super(`w:footnoteReference`),this.root.push(new Mv({id:e}))}},Pv=class extends V{constructor(e){super({style:`FootnoteReference`}),this.extraChildren.push(new Nv(e))}}})),Iv=r((()=>{Fv()})),Lv=r((()=>{Iv()})),Rv=r((()=>{jg(),Lv()})),zv,Bv,Vv,Hv=r((()=>{Yo(),j(),zv=class extends y{xmlKeys={id:`w:id`}},Bv=class extends b{constructor(e){super(`w:endnoteReference`),this.root.push(new zv({id:e}))}},Vv=class extends V{constructor(e){super({style:`EndnoteReference`}),this.extraChildren.push(new Bv(e))}}})),Uv=r((()=>{Hv()})),Wv=r((()=>{Uv()})),Gv=r((()=>{cg(),Wv()})),Kv,qv,Jv=r((()=>{j(),P(),Kv=class extends y{xmlKeys={symbolfont:`w14:font`,val:`w14:val`}},qv=class extends b{constructor(e,t,n){super(e),n?this.root.push(new Kv({symbolfont:n,val:(0,N.shortHexNumber)(t)})):this.root.push(new Kv({val:t}))}}})),Yv,Xv=r((()=>{Jv(),j(),Yv=class extends b{DEFAULT_UNCHECKED_SYMBOL=`2610`;DEFAULT_CHECKED_SYMBOL=`2612`;DEFAULT_FONT=`MS Gothic`;constructor(e){super(`w14:checkbox`);let t=e?.checked?`1`:`0`,n,r;this.root.push(new qv(`w14:checked`,t)),n=e?.checkedState?.value?e?.checkedState?.value:this.DEFAULT_CHECKED_SYMBOL,r=e?.checkedState?.font?e?.checkedState?.font:this.DEFAULT_FONT,this.root.push(new qv(`w14:checkedState`,n,r)),n=e?.uncheckedState?.value?e?.uncheckedState?.value:this.DEFAULT_UNCHECKED_SYMBOL,r=e?.uncheckedState?.font?e?.uncheckedState?.font:this.DEFAULT_FONT,this.root.push(new qv(`w14:uncheckedState`,n,r))}}})),Zv,Qv=r((()=>{Zn(),vd(),Dd(),j(),Xv(),Zv=class extends b{DEFAULT_UNCHECKED_SYMBOL=`2610`;DEFAULT_CHECKED_SYMBOL=`2612`;DEFAULT_FONT=`MS Gothic`;constructor(e){super(`w:sdt`);let t=new Ed(e?.alias);t.addChildElement(new Yv(e)),this.root.push(t);let n=new _d,r=e?.checkedState?.font,i=e?.checkedState?.value,a=e?.uncheckedState?.font,o=e?.uncheckedState?.value,s,c;e?.checked?(s=r||this.DEFAULT_FONT,c=i||this.DEFAULT_CHECKED_SYMBOL):(s=a||this.DEFAULT_FONT,c=o||this.DEFAULT_UNCHECKED_SYMBOL);let l=new Xn({char:c,symbolfont:s});n.addChildElement(l),this.root.push(n)}}})),$v=r((()=>{Xv(),Jv(),Qv()})),ey,ty,ny,ry,iy,ay=r((()=>{j(),ey={NONE:`none`,EVERYONE:`everyone`,ADMINISTRATORS:`administrators`,CONTRIBUTORS:`contributors`,EDITORS:`editors`,OWNERS:`owners`,CURRENT:`current`},ty=class extends y{xmlKeys={colFirst:`w:colFirst`,colLast:`w:colLast`,ed:`w:ed`,edGroup:`w:edGrp`,id:`w:id`}},ny=class extends y{xmlKeys={id:`w:id`}},ry=class extends b{constructor(e){super(`w:permStart`),this.root.push(new ty(e))}},iy=class extends b{constructor(e){super(`w:permEnd`),this.root.push(new ny({id:e}))}}})),oy=r((()=>{ay()})),sy=r((()=>{md(),am()})),cy=r((()=>{zd(),Ov()})),ly=r((()=>{$s()})),uy=r((()=>{$p()})),dy=r((()=>{pm(),Ua()})),fy=r((()=>{})),py=r((()=>{})),my=t({COLOR_CATEGORIES:()=>Je,DEFAULT_DRAWING_XML:()=>Ye,LAYOUT_CATEGORIES:()=>Xe,STYLE_CATEGORIES:()=>Ze,SmartArtCollection:()=>Qe,createDataModel:()=>$e,getColorXml:()=>et,getLayoutXml:()=>tt,getStyleXml:()=>nt}),hy=r((()=>{fy(),py(),N_(),Ka()})),gy=t({AbstractNumbering:()=>n_,AlignmentType:()=>M,AltChunk:()=>pd,AltChunkCollection:()=>im,AnnotationReference:()=>ko,Attributes:()=>A,BaseXmlComponent:()=>a,Bdo:()=>qs,Bibliography:()=>um,Body:()=>Dh,Bookmark:()=>Ss,BookmarkEnd:()=>ws,BookmarkStart:()=>Cs,Border:()=>Tt,BorderStyle:()=>St,BuilderElement:()=>o,COLOR_CATEGORIES:()=>Je,CarriageReturn:()=>Fo,CellMerge:()=>hf,CellMergeAttributes:()=>mf,CharacterSet:()=>Xs,ChartCollection:()=>Ke,ChartRun:()=>Wa,ChartSpace:()=>qe,CheckBox:()=>Zv,CheckBoxSymbolElement:()=>qv,CheckBoxUtil:()=>Yv,Column:()=>Ah,ColumnBreak:()=>$o,Comment:()=>vo,CommentRangeEnd:()=>go,CommentRangeStart:()=>ho,CommentReference:()=>_o,Comments:()=>yo,ConcreteHyperlink:()=>ui,ConcreteNumbering:()=>o_,ContinuationSeparator:()=>No,DEFAULT_DRAWING_XML:()=>Ye,DayLong:()=>Eo,DayShort:()=>Co,DeletedTableCell:()=>df,DeletedTableRow:()=>sf,DeletedTextRun:()=>Xd,Dir:()=>Ks,Document:()=>zh,DocumentAttributeNamespaces:()=>bm,DocumentBackground:()=>Ih,DocumentBackgroundAttributes:()=>Fh,DocumentDefaults:()=>vv,DocumentGridType:()=>Bm,Drawing:()=>ja,DropCapType:()=>cc,EMPTY_OBJECT:()=>l,EditGroupType:()=>ey,EmphasisMarkType:()=>un,EmptyElement:()=>u,EndnoteIdReference:()=>Bv,EndnoteReference:()=>jo,EndnoteReferenceRun:()=>Vv,EndnoteReferenceRunAttributes:()=>zv,Endnotes:()=>sg,ExternalHyperlink:()=>fi,File:()=>kv,FootNoteReferenceRunAttributes:()=>Mv,FootNotes:()=>Ag,Footer:()=>Fg,FooterWrapper:()=>_g,FootnoteReference:()=>Nv,FootnoteReferenceElement:()=>Ao,FootnoteReferenceRun:()=>Pv,FormFieldTextType:()=>Pt,FractionType:()=>Bl,FrameAnchorType:()=>lc,FrameWrap:()=>uc,GridSpan:()=>Ef,Header:()=>Pg,HeaderFooterReferenceType:()=>Jm,HeaderFooterType:()=>Ym,HeaderWrapper:()=>zg,HeadingLevel:()=>as,HeightRule:()=>up,HighlightColor:()=>On,HorizontalPositionAlign:()=>Nn,HorizontalPositionRelativeFrom:()=>nr,HpsMeasureElement:()=>f,HyperlinkType:()=>li,IgnoreIfEmptyXmlComponent:()=>p,ImageRun:()=>Va,ImportedRootElementAttributes:()=>m,ImportedXmlComponent:()=>ee,InitializableXmlComponent:()=>te,InsertedTableCell:()=>lf,InsertedTableRow:()=>af,InsertedTextRun:()=>Hd,InternalHyperlink:()=>di,LAYOUT_CATEGORIES:()=>Xe,LastRenderedPageBreak:()=>Lo,LeaderType:()=>ls,Level:()=>Xg,LevelBase:()=>Yg,LevelForOverride:()=>Zg,LevelFormat:()=>Vg,LevelOverride:()=>c_,LevelSuffix:()=>Kg,LineNumberRestartFormat:()=>Qm,LineRuleType:()=>ns,Math:()=>ou,MathAngledBrackets:()=>Al,MathBorderBox:()=>ul,MathBox:()=>hl,MathCurlyBrackets:()=>Ol,MathDegree:()=>ju,MathDenominator:()=>Rl,MathEqArr:()=>Fl,MathFraction:()=>Gl,MathFunction:()=>Ql,MathFunctionName:()=>Jl,MathGroupChr:()=>ru,MathIntegral:()=>Ic,MathLimit:()=>Rc,MathLimitLower:()=>Jc,MathLimitUpper:()=>Wc,MathMatrix:()=>Cu,MathNumerator:()=>Ul,MathParagraph:()=>du,MathPhant:()=>Ou,MathPreSubSuperScript:()=>id,MathRadical:()=>Ru,MathRadicalProperties:()=>Iu,MathRoundBrackets:()=>wl,MathRun:()=>yu,MathSquareBrackets:()=>El,MathSubScript:()=>Ju,MathSubSuperScript:()=>$u,MathSum:()=>Pc,MathSuperScript:()=>Uu,Media:()=>Fa,MonthLong:()=>Do,MonthShort:()=>wo,MoveFromRangeEnd:()=>ks,MoveFromRangeStart:()=>Os,MoveToRangeEnd:()=>js,MoveToRangeStart:()=>As,MovedFromTextRun:()=>$d,MovedToTextRun:()=>ef,NextAttributeComponent:()=>ne,NoBreakHyphen:()=>xo,NumberFormat:()=>In,NumberProperties:()=>ms,NumberValueElement:()=>re,NumberedItemReference:()=>Ls,NumberedItemReferenceFormat:()=>Fs,Numbering:()=>f_,OnOffElement:()=>h,OverlapType:()=>Jf,PageBorderDisplay:()=>th,PageBorderOffsetFrom:()=>nh,PageBorderZOrder:()=>rh,PageBorders:()=>ah,PageBreak:()=>Qo,PageBreakBefore:()=>es,PageNumber:()=>B,PageNumberElement:()=>Po,PageNumberSeparator:()=>lh,PageOrientation:()=>fh,PageReference:()=>Us,PageTextDirection:()=>_h,PageTextDirectionType:()=>hh,Paragraph:()=>U,ParagraphProperties:()=>hc,ParagraphPropertiesChange:()=>gc,ParagraphPropertiesDefaults:()=>mv,ParagraphRunProperties:()=>An,PermEnd:()=>iy,PermStart:()=>ry,PositionalTab:()=>Uo,PositionalTabAlignment:()=>zo,PositionalTabLeader:()=>Vo,PositionalTabRelativeTo:()=>Bo,RelativeHorizontalPosition:()=>Kf,RelativeVerticalPosition:()=>qf,RubyAlign:()=>Go,Run:()=>V,RunProperties:()=>kn,RunPropertiesChange:()=>jn,RunPropertiesDefaults:()=>gv,STYLE_CATEGORIES:()=>Ze,SdtDateMappingType:()=>bd,SdtLock:()=>yd,SectionProperties:()=>wh,SectionPropertiesChange:()=>Th,SectionType:()=>yh,Separator:()=>Mo,SequentialIdentifier:()=>ro,ShadingType:()=>en,SimpleField:()=>oo,SimpleMailMergeField:()=>so,SmartArtCollection:()=>Qe,SmartArtRun:()=>qa,SoftHyphen:()=>So,SpaceType:()=>Rn,StringContainer:()=>_,StringEnumValueElement:()=>oe,StringValueElement:()=>v,StructuredDocumentTagBlock:()=>Pd,StructuredDocumentTagCell:()=>Bd,StructuredDocumentTagContent:()=>_d,StructuredDocumentTagProperties:()=>Ed,StructuredDocumentTagRow:()=>jp,StructuredDocumentTagRun:()=>Nd,StyleForCharacter:()=>G_,StyleForParagraph:()=>U_,StyleLevel:()=>Ad,Styles:()=>fv,SubDoc:()=>Rd,SubDocCollection:()=>Dv,SymbolRun:()=>Xn,TDirection:()=>Mf,Tab:()=>Io,TabStopPosition:()=>us,TabStopType:()=>cs,Table:()=>zp,TableAnchorType:()=>Gf,TableBorders:()=>Uf,TableCell:()=>kp,TableCellBorders:()=>wf,TableLayoutType:()=>$f,TableOfContents:()=>Od,TableProperties:()=>ip,TablePropertyExceptions:()=>sp,TableRow:()=>gp,TableRowProperties:()=>pp,TableRowPropertiesChange:()=>mp,TextAlignmentType:()=>pc,TextBodyWrappingType:()=>Pr,TextDirection:()=>Af,TextEffect:()=>Dn,TextHorzOverflowType:()=>Mr,TextRun:()=>Gn,TextVertOverflowType:()=>jr,TextVerticalType:()=>Nr,TextWrappingSide:()=>Ji,TextWrappingType:()=>qi,Textbox:()=>Qp,TextboxTightWrapType:()=>mc,ThematicBreak:()=>Et,UnderlineType:()=>Cn,VerticalAlign:()=>bf,VerticalAlignSection:()=>yf,VerticalAlignTable:()=>vf,VerticalAnchor:()=>Ar,VerticalMerge:()=>kf,VerticalMergeRevisionType:()=>pf,VerticalMergeType:()=>Df,VerticalPositionAlign:()=>Pn,VerticalPositionRelativeFrom:()=>rr,WORKAROUND2:()=>``,WORKAROUND4:()=>``,WidthType:()=>Rf,WpgGroupRun:()=>Za,WpsShapeRun:()=>Ya,XmlAttributeComponent:()=>y,XmlComponent:()=>b,YearLong:()=>Oo,YearShort:()=>To,buildDocumentAttributes:()=>ym,buildRunProperties:()=>En,chartAttr:()=>ue,coerceSectionChild:()=>tm,convertToXmlComponent:()=>ge,createAlignment:()=>yt,createBodyProperties:()=>Lr,createBorderElement:()=>F,createBreak:()=>Mt,createCnfStyle:()=>Ot,createColumns:()=>Rm,createDataModel:()=>$e,createDivId:()=>Ns,createDocumentGrid:()=>Vm,createDotEmphasisMark:()=>fn,createEmphasisMark:()=>dn,createFormFieldData:()=>zt,createFrameProperties:()=>dc,createHeaderFooterReference:()=>Xm,createHorizontalPosition:()=>dr,createIndent:()=>At,createLineNumberType:()=>$m,createMathAccent:()=>Qc,createMathAccentCharacter:()=>yc,createMathAccentProperties:()=>Xc,createMathBar:()=>al,createMathBarProperties:()=>rl,createMathBase:()=>W,createMathBorderBoxProperties:()=>cl,createMathBoxProperties:()=>pl,createMathControlProperties:()=>Bc,createMathEqArrProperties:()=>Nl,createMathFractionProperties:()=>Vl,createMathFunctionProperties:()=>Xl,createMathGroupChrProperties:()=>tu,createMathLimitLocation:()=>Sc,createMathLimitLowProperties:()=>Kc,createMathLimitUpperProperties:()=>Hc,createMathMatrixProperties:()=>xu,createMathNAryProperties:()=>Oc,createMathPhantProperties:()=>Eu,createMathPreSubSuperScriptProperties:()=>nd,createMathProperties:()=>pu,createMathRunProperties:()=>hu,createMathSubScriptElement:()=>Ac,createMathSubScriptProperties:()=>Ku,createMathSubSuperScriptProperties:()=>Zu,createMathSuperScriptElement:()=>Mc,createMathSuperScriptProperties:()=>Vu,createOutlineLevel:()=>zs,createPageMargin:()=>sh,createPageNumberType:()=>uh,createPageSize:()=>ph,createParagraphStyle:()=>os,createRuby:()=>qo,createRunFonts:()=>xn,createSectionType:()=>bh,createShading:()=>$t,createSimplePos:()=>ar,createSpacing:()=>rs,createStringElement:()=>_t,createTabStop:()=>fs,createTabStopItem:()=>ds,createTableFloatProperties:()=>Xf,createTableLayout:()=>ep,createTableLook:()=>np,createTableOverlap:()=>Zf,createTableRowHeight:()=>dp,createTableWidthElement:()=>zf,createTransformation:()=>Pa,createUnderline:()=>wn,createVerticalAlign:()=>xf,createVerticalPosition:()=>pr,createWrapNone:()=>Xi,createWrapSquare:()=>Qi,createWrapThrough:()=>ia,createWrapTight:()=>ta,createWrapTopAndBottom:()=>oa,getColorXml:()=>et,getLayoutXml:()=>tt,getStyleXml:()=>nt,sectionMarginDefaults:()=>Sh,sectionPageSizeDefaults:()=>Ch,wrapEl:()=>Me}),_y=r((()=>{K(),nm(),rm(),yp(),Av(),jv(),m_(),za(),Na(),Vh(),nn(),xv(),Md(),j(),Bg(),vg(),Ig(),Rv(),Gv(),_f(),Bn(),wt(),Cf(),$v(),Np(),oy(),sy(),cy(),ly(),uy(),fm(),dy(),hy(),n(gy,my)})),vy=vy===void 0?typeof self<`u`?self:typeof window<`u`?window:{}:vy,yy=[],by=[],xy=typeof Uint8Array<`u`?Uint8Array:Array,Sy=!1;function Cy(){Sy=!0;for(var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,t=0,n=e.length;t<n;++t)yy[t]=e[t],by[e.charCodeAt(t)]=t;by[45]=62,by[95]=63}function wy(e){Sy||Cy();var t,n,r,i,a,o,s=e.length;if(s%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);a=e[s-2]===`=`?2:+(e[s-1]===`=`),o=new xy(s*3/4-a),r=a>0?s-4:s;var c=0;for(t=0,n=0;t<r;t+=4,n+=3)i=by[e.charCodeAt(t)]<<18|by[e.charCodeAt(t+1)]<<12|by[e.charCodeAt(t+2)]<<6|by[e.charCodeAt(t+3)],o[c++]=i>>16&255,o[c++]=i>>8&255,o[c++]=i&255;return a===2?(i=by[e.charCodeAt(t)]<<2|by[e.charCodeAt(t+1)]>>4,o[c++]=i&255):a===1&&(i=by[e.charCodeAt(t)]<<10|by[e.charCodeAt(t+1)]<<4|by[e.charCodeAt(t+2)]>>2,o[c++]=i>>8&255,o[c++]=i&255),o}function Ty(e){return yy[e>>18&63]+yy[e>>12&63]+yy[e>>6&63]+yy[e&63]}function Ey(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(Ty(r));return i.join(``)}function Dy(e){Sy||Cy();for(var t,n=e.length,r=n%3,i=``,a=[],o=16383,s=0,c=n-r;s<c;s+=o)a.push(Ey(e,s,s+o>c?c:s+o));return r===1?(t=e[n-1],i+=yy[t>>2],i+=yy[t<<4&63],i+=`==`):r===2&&(t=(e[n-2]<<8)+e[n-1],i+=yy[t>>10],i+=yy[t>>4&63],i+=yy[t<<2&63],i+=`=`),a.push(i),a.join(``)}function Oy(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)}function ky(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,ee=+(t<0||t===0&&1/t<0);for(t=Math.abs(t),isNaN(t)||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=ee*128}var Ay={}.toString,jy=Array.isArray||function(e){return Ay.call(e)==`[object Array]`};q.TYPED_ARRAY_SUPPORT=vy.TYPED_ARRAY_SUPPORT===void 0?!0:vy.TYPED_ARRAY_SUPPORT,My();function My(){return q.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ny(e,t){if(My()<t)throw RangeError(`Invalid typed array length`);return q.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=q.prototype):(e===null&&(e=new q(t)),e.length=t),e}function q(e,t,n){if(!q.TYPED_ARRAY_SUPPORT&&!(this instanceof q))return new q(e,t,n);if(typeof e==`number`){if(typeof t==`string`)throw Error(`If encoding is specified then the first argument must be a string`);return Ly(this,e)}return Py(this,e,t,n)}q.poolSize=8192,q._augment=function(e){return e.__proto__=q.prototype,e};function Py(e,t,n,r){if(typeof t==`number`)throw TypeError(`"value" argument must not be a number`);return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer?By(e,t,n,r):typeof t==`string`?Ry(e,t,n):Vy(e,t)}q.from=function(e,t,n){return Py(null,e,t,n)},q.TYPED_ARRAY_SUPPORT&&(q.prototype.__proto__=Uint8Array.prototype,q.__proto__=Uint8Array,typeof Symbol<`u`&&Symbol.species&&q[Symbol.species]);function Fy(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be a number`);if(e<0)throw RangeError(`"size" argument must not be negative`)}function Iy(e,t,n,r){return Fy(t),t<=0||n===void 0?Ny(e,t):typeof r==`string`?Ny(e,t).fill(n,r):Ny(e,t).fill(n)}q.alloc=function(e,t,n){return Iy(null,e,t,n)};function Ly(e,t){if(Fy(t),e=Ny(e,t<0?0:Hy(t)|0),!q.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}q.allocUnsafe=function(e){return Ly(null,e)},q.allocUnsafeSlow=function(e){return Ly(null,e)};function Ry(e,t,n){if((typeof n!=`string`||n===``)&&(n=`utf8`),!q.isEncoding(n))throw TypeError(`"encoding" must be a valid string encoding`);var r=Wy(t,n)|0;e=Ny(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function zy(e,t){var n=t.length<0?0:Hy(t.length)|0;e=Ny(e,n);for(var r=0;r<n;r+=1)e[r]=t[r]&255;return e}function By(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw RangeError(`'offset' is out of bounds`);if(t.byteLength<n+(r||0))throw RangeError(`'length' is out of bounds`);return t=n===void 0&&r===void 0?new Uint8Array(t):r===void 0?new Uint8Array(t,n):new Uint8Array(t,n,r),q.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=q.prototype):e=zy(e,t),e}function Vy(e,t){if(Uy(t)){var n=Hy(t.length)|0;return e=Ny(e,n),e.length===0||t.copy(e,0,0,n),e}if(t){if(typeof ArrayBuffer<`u`&&t.buffer instanceof ArrayBuffer||`length`in t)return typeof t.length!=`number`||Cb(t.length)?Ny(e,0):zy(e,t);if(t.type===`Buffer`&&jy(t.data))return zy(e,t.data)}throw TypeError(`First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.`)}function Hy(e){if(e>=My())throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+My().toString(16)+` bytes`);return e|0}q.isBuffer=wb;function Uy(e){return!!(e!=null&&e._isBuffer)}q.compare=function(e,t){if(!Uy(e)||!Uy(t))throw TypeError(`Arguments must be Buffers`);if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},q.isEncoding=function(e){switch(String(e).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},q.concat=function(e,t){if(!jy(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return q.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=q.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!Uy(a))throw TypeError(`"list" argument must be an Array of Buffers`);a.copy(r,i),i+=a.length}return r};function Wy(e,t){if(Uy(e))return e.length;if(typeof ArrayBuffer<`u`&&typeof ArrayBuffer.isView==`function`&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!=`string`&&(e=``+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:case void 0:return vb(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return xb(e).length;default:if(r)return vb(e).length;t=(``+t).toLowerCase(),r=!0}}q.byteLength=Wy;function Gy(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return sb(this,t,n);case`utf8`:case`utf-8`:return nb(this,t,n);case`ascii`:return ab(this,t,n);case`latin1`:case`binary`:return ob(this,t,n);case`base64`:return tb(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return cb(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}q.prototype._isBuffer=!0;function Ky(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}q.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(var t=0;t<e;t+=2)Ky(this,t,t+1);return this},q.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(var t=0;t<e;t+=4)Ky(this,t,t+3),Ky(this,t+1,t+2);return this},q.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(var t=0;t<e;t+=8)Ky(this,t,t+7),Ky(this,t+1,t+6),Ky(this,t+2,t+5),Ky(this,t+3,t+4);return this},q.prototype.toString=function(){var e=this.length|0;return e===0?``:arguments.length===0?nb(this,0,e):Gy.apply(this,arguments)},q.prototype.equals=function(e){if(!Uy(e))throw TypeError(`Argument must be a Buffer`);return this===e?!0:q.compare(this,e)===0},q.prototype.inspect=function(){var e=``,t=50;return this.length>0&&(e=this.toString(`hex`,0,t).match(/.{2}/g).join(` `),this.length>t&&(e+=` ... `)),`<Buffer `+e+`>`},q.prototype.compare=function(e,t,n,r,i){if(!Uy(e))throw TypeError(`Argument must be a Buffer`);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),l=e.slice(t,n),u=0;u<s;++u)if(c[u]!==l[u]){a=c[u],o=l[u];break}return a<o?-1:+(o<a)};function qy(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof t==`string`&&(t=q.from(t,r)),Uy(t))return t.length===0?-1:Jy(e,t,n,r,i);if(typeof t==`number`)return t&=255,q.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Jy(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function Jy(e,t,n,r,i){var a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}var l;if(i){var u=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,u===-1?0:l-u)){if(u===-1&&(u=l),l-u+1===s)return u*a}else u!==-1&&(l-=l-u),u=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){for(var d=!0,f=0;f<s;f++)if(c(e,l+f)!==c(t,f)){d=!1;break}if(d)return l}return-1}q.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},q.prototype.indexOf=function(e,t,n){return qy(this,e,t,n,!0)},q.prototype.lastIndexOf=function(e,t,n){return qy(this,e,t,n,!1)};function Yy(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var a=t.length;if(a%2!=0)throw TypeError(`Invalid hex string`);r>a/2&&(r=a/2);for(var o=0;o<r;++o){var s=parseInt(t.substr(o*2,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function Xy(e,t,n,r){return Sb(vb(t,e.length-n),e,n,r)}function Zy(e,t,n,r){return Sb(yb(t),e,n,r)}function Qy(e,t,n,r){return Zy(e,t,n,r)}function $y(e,t,n,r){return Sb(xb(t),e,n,r)}function eb(e,t,n,r){return Sb(bb(t,e.length-n),e,n,r)}q.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t|=0,isFinite(n)?(n|=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);var i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;for(var a=!1;;)switch(r){case`hex`:return Yy(this,e,t,n);case`utf8`:case`utf-8`:return Xy(this,e,t,n);case`ascii`:return Zy(this,e,t,n);case`latin1`:case`binary`:return Qy(this,e,t,n);case`base64`:return $y(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return eb(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},q.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function tb(e,t,n){return t===0&&n===e.length?Dy(e):Dy(e.slice(t,n))}function nb(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a=e[i],o=null,s=a>239?4:a>223?3:a>191?2:1;if(i+s<=n){var c,l,u,d;switch(s){case 1:a<128&&(o=a);break;case 2:c=e[i+1],(c&192)==128&&(d=(a&31)<<6|c&63,d>127&&(o=d));break;case 3:c=e[i+1],l=e[i+2],(c&192)==128&&(l&192)==128&&(d=(a&15)<<12|(c&63)<<6|l&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:c=e[i+1],l=e[i+2],u=e[i+3],(c&192)==128&&(l&192)==128&&(u&192)==128&&(d=(a&15)<<18|(c&63)<<12|(l&63)<<6|u&63,d>65535&&d<1114112&&(o=d))}}o===null?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),i+=s}return ib(r)}var rb=4096;function ib(e){var t=e.length;if(t<=rb)return String.fromCharCode.apply(String,e);for(var n=``,r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=rb));return n}function ab(e,t,n){var r=``;n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function ob(e,t,n){var r=``;n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function sb(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i=``,a=t;a<n;++a)i+=_b(e[a]);return i}function cb(e,t,n){for(var r=e.slice(t,n),i=``,a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+r[a+1]*256);return i}q.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var r;if(q.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=q.prototype;else{var i=t-e;r=new q(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r};function J(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}q.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||J(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},q.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||J(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},q.prototype.readUInt8=function(e,t){return t||J(e,1,this.length),this[e]},q.prototype.readUInt16LE=function(e,t){return t||J(e,2,this.length),this[e]|this[e+1]<<8},q.prototype.readUInt16BE=function(e,t){return t||J(e,2,this.length),this[e]<<8|this[e+1]},q.prototype.readUInt32LE=function(e,t){return t||J(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},q.prototype.readUInt32BE=function(e,t){return t||J(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},q.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||J(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},q.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||J(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},q.prototype.readInt8=function(e,t){return t||J(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},q.prototype.readInt16LE=function(e,t){t||J(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},q.prototype.readInt16BE=function(e,t){t||J(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},q.prototype.readInt32LE=function(e,t){return t||J(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},q.prototype.readInt32BE=function(e,t){return t||J(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},q.prototype.readFloatLE=function(e,t){return t||J(e,4,this.length),Oy(this,e,!0,23,4)},q.prototype.readFloatBE=function(e,t){return t||J(e,4,this.length),Oy(this,e,!1,23,4)},q.prototype.readDoubleLE=function(e,t){return t||J(e,8,this.length),Oy(this,e,!0,52,8)},q.prototype.readDoubleBE=function(e,t){return t||J(e,8,this.length),Oy(this,e,!1,52,8)};function Y(e,t,n,r,i,a){if(!Uy(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}q.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=2**(8*n)-1;Y(this,e,t,n,i,0)}var a=1,o=0;for(this[t]=e&255;++o<n&&(a*=256);)this[t+o]=e/a&255;return t+n},q.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=2**(8*n)-1;Y(this,e,t,n,i,0)}var a=n-1,o=1;for(this[t+a]=e&255;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+n},q.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,1,255,0),q.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function lb(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i<a;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>(r?i:1-i)*8}q.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,65535,0),q.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):lb(this,e,t,!0),t+2},q.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,65535,0),q.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):lb(this,e,t,!1),t+2};function ub(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i<a;++i)e[n+i]=t>>>(r?i:3-i)*8&255}q.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,4294967295,0),q.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):ub(this,e,t,!0),t+4},q.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,4294967295,0),q.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):ub(this,e,t,!1),t+4},q.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=2**(8*n-1);Y(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=e&255;++a<n&&(o*=256);)e<0&&s===0&&this[t+a-1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},q.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=2**(8*n-1);Y(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=e&255;--a>=0&&(o*=256);)e<0&&s===0&&this[t+a+1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},q.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,1,127,-128),q.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1},q.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,32767,-32768),q.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):lb(this,e,t,!0),t+2},q.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,32767,-32768),q.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):lb(this,e,t,!1),t+2},q.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,2147483647,-2147483648),q.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ub(this,e,t,!0),t+4},q.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),q.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):ub(this,e,t,!1),t+4};function db(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function fb(e,t,n,r,i){return i||db(e,t,n,4),ky(e,t,n,r,23,4),n+4}q.prototype.writeFloatLE=function(e,t,n){return fb(this,e,t,!0,n)},q.prototype.writeFloatBE=function(e,t,n){return fb(this,e,t,!1,n)};function pb(e,t,n,r,i){return i||db(e,t,n,8),ky(e,t,n,r,52,8),n+8}q.prototype.writeDoubleLE=function(e,t,n){return pb(this,e,t,!0,n)},q.prototype.writeDoubleBE=function(e,t,n){return pb(this,e,t,!1,n)},q.prototype.copy=function(e,t,n,r){if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`sourceStart out of bounds`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n,a;if(this===e&&n<t&&t<r)for(a=i-1;a>=0;--a)e[a+t]=this[a+n];else if(i<1e3||!q.TYPED_ARRAY_SUPPORT)for(a=0;a<i;++a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},q.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),e.length===1){var i=e.charCodeAt(0);i<256&&(e=i)}if(r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!q.isEncoding(r))throw TypeError(`Unknown encoding: `+r)}else typeof e==`number`&&(e&=255);if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;var a;if(typeof e==`number`)for(a=t;a<n;++a)this[a]=e;else{var o=Uy(e)?e:vb(new q(e,r).toString()),s=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%s]}return this};var mb=/[^+\/0-9A-Za-z-_]/g;function hb(e){if(e=gb(e).replace(mb,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function gb(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,``)}function _b(e){return e<16?`0`+e.toString(16):e.toString(16)}function vb(e,t){t||=1/0;for(var n,r=e.length,i=null,a=[],o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function yb(e){for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function bb(e,t){for(var n,r,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function xb(e){return wy(hb(e))}function Sb(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Cb(e){return e!==e}function wb(e){return e!=null&&(!!e._isBuffer||Tb(e)||Eb(e))}function Tb(e){return!!e.constructor&&typeof e.constructor.isBuffer==`function`&&e.constructor.isBuffer(e)}function Eb(e){return typeof e.readFloatLE==`function`&&typeof e.slice==`function`&&Tb(e.slice(0,0))}var Db;function Ob(){}Ob.prototype=Object.create(null);function X(){X.init.call(this)}X.EventEmitter=X,X.usingDomains=!1,X.prototype.domain=void 0,X.prototype._events=void 0,X.prototype._maxListeners=void 0,X.defaultMaxListeners=10,X.init=function(){this.domain=null,X.usingDomains&&Db.active&&!(this instanceof Db.Domain)&&(this.domain=Db.active),(!this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=new Ob,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},X.prototype.setMaxListeners=function(e){if(typeof e!=`number`||e<0||isNaN(e))throw TypeError(`"n" argument must be a positive number`);return this._maxListeners=e,this};function kb(e){return e._maxListeners===void 0?X.defaultMaxListeners:e._maxListeners}X.prototype.getMaxListeners=function(){return kb(this)};function Ab(e,t,n){if(t)e.call(n);else for(var r=e.length,i=Bb(e,r),a=0;a<r;++a)i[a].call(n)}function jb(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,a=Bb(e,i),o=0;o<i;++o)a[o].call(n,r)}function Mb(e,t,n,r,i){if(t)e.call(n,r,i);else for(var a=e.length,o=Bb(e,a),s=0;s<a;++s)o[s].call(n,r,i)}function Nb(e,t,n,r,i,a){if(t)e.call(n,r,i,a);else for(var o=e.length,s=Bb(e,o),c=0;c<o;++c)s[c].call(n,r,i,a)}function Pb(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,a=Bb(e,i),o=0;o<i;++o)a[o].apply(n,r)}X.prototype.emit=function(e){var t,n,r,i,a,o,s,c=!1,l=e===`error`;if(o=this._events,o)l&&=o.error==null;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],s)t||=Error(`Uncaught, unspecified "error" event`),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit(`error`,t);else if(t instanceof Error)throw t;else{var u=Error(`Uncaught, unspecified "error" event. (`+t+`)`);throw u.context=t,u}return!1}if(n=o[e],!n)return!1;var d=typeof n==`function`;switch(r=arguments.length,r){case 1:Ab(n,d,this);break;case 2:jb(n,d,this,arguments[1]);break;case 3:Mb(n,d,this,arguments[1],arguments[2]);break;case 4:Nb(n,d,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=Array(r-1),a=1;a<r;a++)i[a-1]=arguments[a];Pb(n,d,this,i)}return c&&s.exit(),!0};function Fb(e,t,n,r){var i,a,o;if(typeof n!=`function`)throw TypeError(`"listener" argument must be a function`);if(a=e._events,a?(a.newListener&&(e.emit(`newListener`,t,n.listener?n.listener:n),a=e._events),o=a[t]):(a=e._events=new Ob,e._eventsCount=0),!o)o=a[t]=n,++e._eventsCount;else if(typeof o==`function`?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),!o.warned&&(i=kb(e),i&&i>0&&o.length>i)){o.warned=!0;var s=Error(`Possible EventEmitter memory leak detected. `+o.length+` `+t+` listeners added. Use emitter.setMaxListeners() to increase limit`);s.name=`MaxListenersExceededWarning`,s.emitter=e,s.type=t,s.count=o.length,Ib(s)}return e}function Ib(e){typeof console.warn==`function`?console.warn(e):console.log(e)}X.prototype.addListener=function(e,t){return Fb(this,e,t,!1)},X.prototype.on=X.prototype.addListener,X.prototype.prependListener=function(e,t){return Fb(this,e,t,!0)};function Lb(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}X.prototype.once=function(e,t){if(typeof t!=`function`)throw TypeError(`"listener" argument must be a function`);return this.on(e,Lb(this,e,t)),this},X.prototype.prependOnceListener=function(e,t){if(typeof t!=`function`)throw TypeError(`"listener" argument must be a function`);return this.prependListener(e,Lb(this,e,t)),this},X.prototype.removeListener=function(e,t){var n,r,i,a,o;if(typeof t!=`function`)throw TypeError(`"listener" argument must be a function`);if(r=this._events,!r||(n=r[e],!n))return this;if(n===t||n.listener&&n.listener===t)--this._eventsCount===0?this._events=new Ob:(delete r[e],r.removeListener&&this.emit(`removeListener`,e,n.listener||t));else if(typeof n!=`function`){for(i=-1,a=n.length;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount===0)return this._events=new Ob,this;delete r[e]}else zb(n,i);r.removeListener&&this.emit(`removeListener`,e,o||t)}return this},X.prototype.off=function(e,t){return this.removeListener(e,t)},X.prototype.removeAllListeners=function(e){var t,n=this._events;if(!n)return this;if(!n.removeListener)return arguments.length===0?(this._events=new Ob,this._eventsCount=0):n[e]&&(--this._eventsCount===0?this._events=new Ob:delete n[e]),this;if(arguments.length===0){for(var r=Object.keys(n),i=0,a;i<r.length;++i)a=r[i],a!==`removeListener`&&this.removeAllListeners(a);return this.removeAllListeners(`removeListener`),this._events=new Ob,this._eventsCount=0,this}if(t=n[e],typeof t==`function`)this.removeListener(e,t);else if(t)do this.removeListener(e,t[t.length-1]);while(t[0]);return this},X.prototype.listeners=function(e){var t,n,r=this._events;return r?(t=r[e],n=t?typeof t==`function`?[t.listener||t]:Vb(t):[]):n=[],n},X.listenerCount=function(e,t){return typeof e.listenerCount==`function`?e.listenerCount(t):Rb.call(e,t)},X.prototype.listenerCount=Rb;function Rb(e){var t=this._events;if(t){var n=t[e];if(typeof n==`function`)return 1;if(n)return n.length}return 0}X.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};function zb(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}function Bb(e,t){for(var n=Array(t);t--;)n[t]=e[t];return n}function Vb(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function Hb(){throw Error(`setTimeout has not been defined`)}function Ub(){throw Error(`clearTimeout has not been defined`)}var Wb=Hb,Gb=Ub;typeof vy.setTimeout==`function`&&(Wb=setTimeout),typeof vy.clearTimeout==`function`&&(Gb=clearTimeout);function Kb(e){if(Wb===setTimeout)return setTimeout(e,0);if((Wb===Hb||!Wb)&&setTimeout)return Wb=setTimeout,setTimeout(e,0);try{return Wb(e,0)}catch{try{return Wb.call(null,e,0)}catch{return Wb.call(this,e,0)}}}function qb(e){if(Gb===clearTimeout)return clearTimeout(e);if((Gb===Ub||!Gb)&&clearTimeout)return Gb=clearTimeout,clearTimeout(e);try{return Gb(e)}catch{try{return Gb.call(null,e)}catch{return Gb.call(this,e)}}}var Jb=[],Yb=!1,Xb,Zb=-1;function Qb(){!Yb||!Xb||(Yb=!1,Xb.length?Jb=Xb.concat(Jb):Zb=-1,Jb.length&&$b())}function $b(){if(!Yb){var e=Kb(Qb);Yb=!0;for(var t=Jb.length;t;){for(Xb=Jb,Jb=[];++Zb<t;)Xb&&Xb[Zb].run();Zb=-1,t=Jb.length}Xb=null,Yb=!1,qb(e)}}function ex(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Jb.push(new tx(e,t)),Jb.length===1&&!Yb&&Kb($b)}function tx(e,t){this.fun=e,this.array=t}tx.prototype.run=function(){this.fun.apply(null,this.array)};var nx=`browser`,rx=`browser`,ix={},ax=[],ox={},sx={},cx={};function lx(){}var ux=lx,dx=lx,fx=lx,px=lx,mx=lx,hx=lx,gx=lx;function _x(e){throw Error(`process.binding is not supported`)}function vx(){return`/`}function yx(e){throw Error(`process.chdir is not supported`)}function bx(){return 0}var xx=vy.performance||{},Sx=xx.now||xx.mozNow||xx.msNow||xx.oNow||xx.webkitNow||function(){return new Date().getTime()};function Cx(e){var t=Sx.call(xx)*.001,n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],r-=e[1],r<0&&(n--,r+=1e9)),[n,r]}var wx=new Date;function Tx(){return(new Date-wx)/1e3}var Ex={nextTick:ex,title:nx,browser:!0,env:ix,argv:ax,version:``,versions:ox,on:ux,addListener:dx,once:fx,off:px,removeListener:mx,removeAllListeners:hx,emit:gx,binding:_x,cwd:vx,chdir:yx,umask:bx,hrtime:Cx,platform:rx,release:sx,config:cx,uptime:Tx},Dx=typeof Object.create==`function`?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Ox=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},kx=/%[sdj%]/g;function Ax(e){if(!Yx(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(Fx(arguments[n]));return t.join(` `)}for(var n=1,r=arguments,i=r.length,a=String(e).replace(kx,function(e){if(e===`%%`)return`%`;if(n>=i)return e;switch(e){case`%s`:return String(r[n++]);case`%d`:return Number(r[n++]);case`%j`:try{return JSON.stringify(r[n++])}catch{return`[Circular]`}default:return e}}),o=r[n];n<i;o=r[++n])qx(o)||!Qx(o)?a+=` `+o:a+=` `+Fx(o);return a}function jx(e,t){if(Xx(vy.process))return function(){return jx(e,t).apply(this,arguments)};if(Ex.noDeprecation===!0)return e;var n=!1;function r(){if(!n){if(Ex.throwDeprecation)throw Error(t);Ex.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}return r}var Mx={},Nx;function Px(e){if(Xx(Nx)&&(Nx=Ex.env.NODE_DEBUG||``),e=e.toUpperCase(),!Mx[e])if(RegExp(`\\b`+e+`\\b`,`i`).test(Nx)){var t=0;Mx[e]=function(){var n=Ax.apply(null,arguments);console.error(`%s %d: %s`,e,t,n)}}else Mx[e]=function(){};return Mx[e]}function Fx(e,t){var n={seen:[],stylize:Lx};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Kx(t)?n.showHidden=t:t&&rS(n,t),Xx(n.showHidden)&&(n.showHidden=!1),Xx(n.depth)&&(n.depth=2),Xx(n.colors)&&(n.colors=!1),Xx(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Ix),zx(n,e,n.depth)}Fx.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]},Fx.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function Ix(e,t){var n=Fx.styles[t];return n?`\x1B[`+Fx.colors[n][0]+`m`+e+`\x1B[`+Fx.colors[n][1]+`m`:e}function Lx(e,t){return e}function Rx(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function zx(e,t,n){if(e.customInspect&&t&&tS(t.inspect)&&t.inspect!==Fx&&!(t.constructor&&t.constructor.prototype===t)){var r=t.inspect(n,e);return Yx(r)||(r=zx(e,r,n)),r}var i=Bx(e,t);if(i)return i;var a=Object.keys(t),o=Rx(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),eS(t)&&(a.indexOf(`message`)>=0||a.indexOf(`description`)>=0))return Vx(t);if(a.length===0){if(tS(t)){var s=t.name?`: `+t.name:``;return e.stylize(`[Function`+s+`]`,`special`)}if(Zx(t))return e.stylize(RegExp.prototype.toString.call(t),`regexp`);if($x(t))return e.stylize(Date.prototype.toString.call(t),`date`);if(eS(t))return Vx(t)}var c=``,l=!1,u=[`{`,`}`];if(Gx(t)&&(l=!0,u=[`[`,`]`]),tS(t)&&(c=` [Function`+(t.name?`: `+t.name:``)+`]`),Zx(t)&&(c=` `+RegExp.prototype.toString.call(t)),$x(t)&&(c=` `+Date.prototype.toUTCString.call(t)),eS(t)&&(c=` `+Vx(t)),a.length===0&&(!l||t.length==0))return u[0]+c+u[1];if(n<0)return Zx(t)?e.stylize(RegExp.prototype.toString.call(t),`regexp`):e.stylize(`[Object]`,`special`);e.seen.push(t);var d=l?Hx(e,t,n,o,a):a.map(function(r){return Ux(e,t,n,o,r,l)});return e.seen.pop(),Wx(d,c,u)}function Bx(e,t){if(Xx(t))return e.stylize(`undefined`,`undefined`);if(Yx(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(Jx(t))return e.stylize(``+t,`number`);if(Kx(t))return e.stylize(``+t,`boolean`);if(qx(t))return e.stylize(`null`,`null`)}function Vx(e){return`[`+Error.prototype.toString.call(e)+`]`}function Hx(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)iS(t,String(o))?a.push(Ux(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(Ux(e,t,n,r,i,!0))}),a}function Ux(e,t,n,r,i,a){var o,s,c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(c.get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),iS(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=qx(n)?zx(e,c.value,null):zx(e,c.value,n-1),s.indexOf(`
1
+ import{i as e,n as t,r as n,t as r}from"./chunk-BY251N0e.mjs";import{AppProperties as i,BaseXmlComponent as a,BuilderElement as o,BuilderElement as s,ContentTypeAttributes as c,EMPTY_OBJECT as l,EmptyElement as u,Formatter as d,HpsMeasureElement as f,IgnoreIfEmptyXmlComponent as p,ImportedRootElementAttributes as m,ImportedXmlComponent as ee,InitializableXmlComponent as te,NextAttributeComponent as ne,NumberValueElement as re,OnOffElement as h,PrettifyType as ie,RawPassthrough as ae,Relationships as g,StringContainer as _,StringEnumValueElement as oe,StringValueElement as v,TargetModeType as se,XmlAttributeComponent as y,XmlAttributeComponent as ce,XmlComponent as b,addSmartArtRelationships as le,chartAttr as ue,convertEmuToPixels as de,convertInchesToTwip as x,convertMillimetersToTwip as fe,convertOutput as pe,convertPixelsToEmu as me,convertPrettifyType as he,convertToXmlComponent as ge,createDefault as S,createOverride as C,getReferencedMedia as _e,hasPlaceholders as ve,hashedId as ye,hpsMeasureObj as be,numberValObj as xe,onOffObj as w,parseArchive as Se,replaceChartPlaceholders as Ce,replaceImagePlaceholders as we,replaceSmartArtPlaceholders as Te,stringEnumValObj as Ee,stringValObj as De,uniqueId as Oe,uniqueNumericIdCreator as ke,uniqueNumericIdCreator as Ae,uniqueUuid as je,wrapEl as Me}from"@office-open/core";import{textToUint8Array as Ne,toUint8Array as Pe}from"undio";import{PresetGeometry as Fe,buildFill as Ie,createBlipFill as Le,createCustomGeometry as Re,createEffectDag as ze,createEffectList as Be,createOutline as Ve,createScene3D as He,createShape3D as Ue,createTransform2D as We,extractBlipFillMedia as Ge}from"@office-open/core/drawingml";import{ChartCollection as Ke,ChartSpace as qe}from"@office-open/core/chart";import{COLOR_CATEGORIES as Je,DEFAULT_DRAWING_XML as Ye,LAYOUT_CATEGORIES as Xe,STYLE_CATEGORIES as Ze,SmartArtCollection as Qe,createDataModel as $e,getColorXml as et,getLayoutXml as tt,getStyleXml as nt}from"@office-open/core/smartart";import{attr as T,attrBool as E,attrNum as D,children as rt,colorAttr as it,findChild as O,findDeep as at,js2xml as ot,textOf as st,xml as k,xml2js as ct}from"@office-open/xml";import{Zip as lt,ZipDeflate as ut,ZipPassThrough as dt,strFromU8 as ft,unzipSync as pt,zipSync as mt}from"fflate";export*from"@office-open/core/values";export*from"@office-open/core/smartart";var ht=r((()=>{})),A,gt=r((()=>{A=class extends ce{xmlKeys={bottom:`w:bottom`,color:`w:color`,fill:`w:fill`,footer:`w:footer`,gutter:`w:gutter`,h:`w:h`,header:`w:header`,left:`w:left`,linePitch:`w:linePitch`,pos:`w:pos`,right:`w:right`,rsidR:`w:rsidR`,rsidRPr:`w:rsidRPr`,rsidSect:`w:rsidSect`,space:`w:space`,sz:`w:sz`,themeColor:`w:themeColor`,themeShade:`w:themeShade`,themeTint:`w:themeTint`,top:`w:top`,type:`w:type`,val:`w:val`,w:`w:w`}}})),_t,vt=r((()=>{_t=(e,t)=>new s({attributes:{value:{key:`w:val`,value:t}},name:e})})),j=r((()=>{ht(),gt(),vt()})),M,yt,bt=r((()=>{j(),M={START:`start`,CENTER:`center`,END:`end`,BOTH:`both`,MEDIUM_KASHIDA:`mediumKashida`,DISTRIBUTE:`distribute`,NUM_TAB:`numTab`,HIGH_KASHIDA:`highKashida`,LOW_KASHIDA:`lowKashida`,THAI_DISTRIBUTE:`thaiDistribute`,LEFT:`left`,RIGHT:`right`,JUSTIFIED:`both`},yt=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:jc`})})),N=t({});import*as xt from"@office-open/core/values";n(N,xt);var P=r((()=>{})),F,St,Ct=r((()=>{j(),P(),F=(e,{color:t,size:n,space:r,style:i,themeColor:a,themeTint:s,themeShade:c,shadow:l,frame:u})=>new o({attributes:{color:{key:`w:color`,value:t===void 0?void 0:(0,N.hexColorValue)(t)},frame:{key:`w:frame`,value:u},shadow:{key:`w:shadow`,value:l},size:{key:`w:sz`,value:n===void 0?void 0:(0,N.eighthPointMeasureValue)(n)},space:{key:`w:space`,value:r===void 0?void 0:(0,N.pointMeasureValue)(r)},style:{key:`w:val`,value:i},themeColor:{key:`w:themeColor`,value:a},themeShade:{key:`w:themeShade`,value:c===void 0?void 0:(0,N.uCharHexNumber)(c)},themeTint:{key:`w:themeTint`,value:s===void 0?void 0:(0,N.uCharHexNumber)(s)}},name:e}),St={SINGLE:`single`,DASH_DOT_STROKED:`dashDotStroked`,DASHED:`dashed`,DASH_SMALL_GAP:`dashSmallGap`,DOT_DASH:`dotDash`,DOT_DOT_DASH:`dotDotDash`,DOTTED:`dotted`,DOUBLE:`double`,DOUBLE_WAVE:`doubleWave`,INSET:`inset`,NIL:`nil`,NONE:`none`,OUTSET:`outset`,THICK:`thick`,THICK_THIN_LARGE_GAP:`thickThinLargeGap`,THICK_THIN_MEDIUM_GAP:`thickThinMediumGap`,THICK_THIN_SMALL_GAP:`thickThinSmallGap`,THIN_THICK_LARGE_GAP:`thinThickLargeGap`,THIN_THICK_MEDIUM_GAP:`thinThickMediumGap`,THIN_THICK_SMALL_GAP:`thinThickSmallGap`,THIN_THICK_THIN_LARGE_GAP:`thinThickThinLargeGap`,THIN_THICK_THIN_MEDIUM_GAP:`thinThickThinMediumGap`,THIN_THICK_THIN_SMALL_GAP:`thinThickThinSmallGap`,THREE_D_EMBOSS:`threeDEmboss`,THREE_D_ENGRAVE:`threeDEngrave`,TRIPLE:`triple`,WAVE:`wave`}})),wt=r((()=>{Ct()})),Tt,Et,Dt=r((()=>{wt(),j(),Tt=class extends p{constructor(e){super(`w:pBdr`),e.top&&this.root.push(F(`w:top`,e.top)),e.left&&this.root.push(F(`w:left`,e.left)),e.bottom&&this.root.push(F(`w:bottom`,e.bottom)),e.right&&this.root.push(F(`w:right`,e.right)),e.between&&this.root.push(F(`w:between`,e.between))}},Et=class extends b{constructor(){super(`w:pBdr`);let e=F(`w:bottom`,{color:`auto`,size:6,space:1,style:St.SINGLE});this.root.push(e)}}})),Ot,kt=r((()=>{j(),Ot=e=>{let t={};return e.firstRow!==void 0&&(t.firstRow={key:`w:firstRow`,value:e.firstRow?`1`:`0`}),e.lastRow!==void 0&&(t.lastRow={key:`w:lastRow`,value:e.lastRow?`1`:`0`}),e.firstColumn!==void 0&&(t.firstColumn={key:`w:firstColumn`,value:e.firstColumn?`1`:`0`}),e.lastColumn!==void 0&&(t.lastColumn={key:`w:lastColumn`,value:e.lastColumn?`1`:`0`}),e.oddVBand!==void 0&&(t.oddVBand={key:`w:oddVBand`,value:e.oddVBand?`1`:`0`}),e.evenVBand!==void 0&&(t.evenVBand={key:`w:evenVBand`,value:e.evenVBand?`1`:`0`}),e.oddHBand!==void 0&&(t.oddHBand={key:`w:oddHBand`,value:e.oddHBand?`1`:`0`}),e.evenHBand!==void 0&&(t.evenHBand={key:`w:evenHBand`,value:e.evenHBand?`1`:`0`}),e.firstRowFirstColumn!==void 0&&(t.firstRowFirstColumn={key:`w:firstRowFirstColumn`,value:e.firstRowFirstColumn?`1`:`0`}),e.firstRowLastColumn!==void 0&&(t.firstRowLastColumn={key:`w:firstRowLastColumn`,value:e.firstRowLastColumn?`1`:`0`}),e.lastRowFirstColumn!==void 0&&(t.lastRowFirstColumn={key:`w:lastRowFirstColumn`,value:e.lastRowFirstColumn?`1`:`0`}),e.lastRowLastColumn!==void 0&&(t.lastRowLastColumn={key:`w:lastRowLastColumn`,value:e.lastRowLastColumn?`1`:`0`}),new o({attributes:t,name:`w:cnfStyle`})}})),At,jt=r((()=>{j(),P(),At=({start:e,startChars:t,end:n,endChars:r,left:i,leftChars:a,right:s,rightChars:c,hanging:l,hangingChars:u,firstLine:d,firstLineChars:f})=>new o({attributes:{end:{key:`w:end`,value:n===void 0?void 0:(0,N.signedTwipsMeasureValue)(n)},endChars:{key:`w:endChars`,value:r===void 0?void 0:(0,N.decimalNumber)(r)},firstLine:{key:`w:firstLine`,value:d===void 0?void 0:(0,N.twipsMeasureValue)(d)},firstLineChars:{key:`w:firstLineChars`,value:f===void 0?void 0:(0,N.decimalNumber)(f)},hanging:{key:`w:hanging`,value:l===void 0?void 0:(0,N.twipsMeasureValue)(l)},hangingChars:{key:`w:hangingChars`,value:u===void 0?void 0:(0,N.decimalNumber)(u)},left:{key:`w:left`,value:i===void 0?void 0:(0,N.signedTwipsMeasureValue)(i)},leftChars:{key:`w:leftChars`,value:a===void 0?void 0:(0,N.decimalNumber)(a)},right:{key:`w:right`,value:s===void 0?void 0:(0,N.signedTwipsMeasureValue)(s)},rightChars:{key:`w:rightChars`,value:c===void 0?void 0:(0,N.decimalNumber)(c)},start:{key:`w:start`,value:e===void 0?void 0:(0,N.signedTwipsMeasureValue)(e)},startChars:{key:`w:startChars`,value:t===void 0?void 0:(0,N.decimalNumber)(t)}},name:`w:ind`})})),Mt,Nt=r((()=>{j(),Mt=e=>new o({name:`w:br`,attributes:e?.clear?[{key:`w:clear`,value:e.clear}]:void 0})})),Pt,Ft,It,Lt,Rt,zt,Bt=r((()=>{j(),Pt={REGULAR:`regular`,NUMBER:`number`,DATE:`date`,CURRENT_TIME:`currentTime`,CURRENT_DATE:`currentDate`,CALCULATED:`calculated`},Ft=(e,t)=>new o({attributes:{type:{key:`w:type`,value:t.type},val:{key:`w:val`,value:t.value}},name:e}),It=e=>{let t=[];return e.size===void 0?e.sizeAuto!==void 0&&t.push(new h(`w:sizeAuto`,e.sizeAuto)):t.push(new o({attributes:{val:{key:`w:val`,value:e.size}},name:`w:size`})),e.default!==void 0&&t.push(new h(`w:default`,e.default)),e.checked!==void 0&&t.push(new h(`w:checked`,e.checked)),new o({children:t,name:`w:checkBox`})},Lt=e=>{let t=[];e.result!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.result}},name:`w:result`})),e.default!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.default}},name:`w:default`}));for(let n of e.entries)t.push(new o({attributes:{val:{key:`w:val`,value:n}},name:`w:listEntry`}));return new o({children:t,name:`w:ddList`})},Rt=e=>{let t=[];return e.type!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.type}},name:`w:type`})),e.default!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.default}},name:`w:default`})),e.maxLength!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.maxLength}},name:`w:maxLength`})),e.format!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.format}},name:`w:format`})),new o({children:t,name:`w:textInput`})},zt=e=>{let t=[];return e.name!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.name}},name:`w:name`})),e.label!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.label}},name:`w:label`})),e.tabIndex!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.tabIndex}},name:`w:tabIndex`})),e.enabled!==void 0&&t.push(new h(`w:enabled`,e.enabled)),e.calcOnExit!==void 0&&t.push(new h(`w:calcOnExit`,e.calcOnExit)),e.entryMacro!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.entryMacro}},name:`w:entryMacro`})),e.exitMacro!==void 0&&t.push(new o({attributes:{val:{key:`w:val`,value:e.exitMacro}},name:`w:exitMacro`})),e.helpText&&t.push(Ft(`w:helpText`,e.helpText)),e.statusText&&t.push(Ft(`w:statusText`,e.statusText)),e.checkBox?t.push(It(e.checkBox)):e.dropDownList?t.push(Lt(e.dropDownList)):e.textInput&&t.push(Rt(e.textInput)),new o({children:t,name:`w:ffData`})}})),Vt,Ht,Ut,Wt,I,Gt=r((()=>{j(),Bt(),Vt={BEGIN:`begin`,END:`end`,SEPARATE:`separate`},Ht=(e,t,n)=>{let r=[];return n&&r.push(n),new o({attributes:{dirty:{key:`w:dirty`,value:t},type:{key:`w:fldCharType`,value:e}},children:r.length>0?r:void 0,name:`w:fldChar`})},Ut=(e,t)=>Ht(Vt.BEGIN,e,t?zt(t):void 0),Wt=e=>Ht(Vt.SEPARATE,e),I=e=>Ht(Vt.END,e)}));function Kt(e){return{"w:instrText":[qt,e]}}var qt,Jt,Yt,Xt,Zt,Qt=r((()=>{j(),qt={_attr:{"xml:space":`preserve`}},Jt=()=>Kt(`PAGE`),Yt=()=>Kt(`NUMPAGES`),Xt=()=>Kt(`SECTIONPAGES`),Zt=()=>Kt(`SECTION`)})),$t,en,tn=r((()=>{j(),P(),$t=({fill:e,color:t,type:n,themeColor:r,themeTint:i,themeShade:a,themeFill:s,themeFillTint:c,themeFillShade:l})=>new o({attributes:{color:{key:`w:color`,value:t===void 0?void 0:(0,N.hexColorValue)(t)},fill:{key:`w:fill`,value:e===void 0?void 0:(0,N.hexColorValue)(e)},themeColor:{key:`w:themeColor`,value:r},themeFill:{key:`w:themeFill`,value:s},themeFillShade:{key:`w:themeFillShade`,value:l===void 0?void 0:(0,N.uCharHexNumber)(l)},themeFillTint:{key:`w:themeFillTint`,value:c===void 0?void 0:(0,N.uCharHexNumber)(c)},themeShade:{key:`w:themeShade`,value:a===void 0?void 0:(0,N.uCharHexNumber)(a)},themeTint:{key:`w:themeTint`,value:i===void 0?void 0:(0,N.uCharHexNumber)(i)},type:{key:`w:val`,value:n??`clear`}},name:`w:shd`}),en={CLEAR:`clear`,DIAGONAL_CROSS:`diagCross`,DIAGONAL_STRIPE:`diagStripe`,HORIZONTAL_CROSS:`horzCross`,HORIZONTAL_STRIPE:`horzStripe`,NIL:`nil`,PERCENT_10:`pct10`,PERCENT_12:`pct12`,PERCENT_15:`pct15`,PERCENT_20:`pct20`,PERCENT_25:`pct25`,PERCENT_30:`pct30`,PERCENT_35:`pct35`,PERCENT_37:`pct37`,PERCENT_40:`pct40`,PERCENT_45:`pct45`,PERCENT_5:`pct5`,PERCENT_50:`pct50`,PERCENT_55:`pct55`,PERCENT_60:`pct60`,PERCENT_62:`pct62`,PERCENT_65:`pct65`,PERCENT_70:`pct70`,PERCENT_75:`pct75`,PERCENT_80:`pct80`,PERCENT_85:`pct85`,PERCENT_87:`pct87`,PERCENT_90:`pct90`,PERCENT_95:`pct95`,REVERSE_DIAGONAL_STRIPE:`reverseDiagStripe`,SOLID:`solid`,THIN_DIAGONAL_CROSS:`thinDiagCross`,THIN_DIAGONAL_STRIPE:`thinDiagStripe`,THIN_HORIZONTAL_CROSS:`thinHorzCross`,THIN_REVERSE_DIAGONAL_STRIPE:`thinReverseDiagStripe`,THIN_VERTICAL_STRIPE:`thinVertStripe`,VERTICAL_STRIPE:`vertStripe`}})),nn=r((()=>{tn()})),L,R=r((()=>{j(),L=class extends y{xmlKeys={author:`w:author`,date:`w:date`,id:`w:id`}}})),rn,an=r((()=>{j(),R(),rn=class extends b{constructor(e){super(`w:del`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),on,sn=r((()=>{j(),R(),on=class extends b{constructor(e){super(`w:ins`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),cn,ln=r((()=>{j(),P(),cn=({id:e,combine:t,combineBrackets:n,vert:r,vertCompress:i})=>new o({attributes:{combine:{key:`w:combine`,value:t},combineBrackets:{key:`w:combineBrackets`,value:n},id:{key:`w:id`,value:e===void 0?void 0:(0,N.decimalNumber)(e)},vert:{key:`w:vert`,value:r},vertCompress:{key:`w:vertCompress`,value:i}},name:`w:eastAsianLayout`})})),un,dn,fn,pn=r((()=>{j(),un={NONE:`none`,COMMA:`comma`,CIRCLE:`circle`,DOT:`dot`,UNDER_DOT:`underDot`},dn=(e=un.DOT)=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:em`}),fn=()=>dn(un.DOT)})),mn,hn,gn,_n,vn=r((()=>{j(),P(),mn=class extends b{constructor(e){super(`w:spacing`),this.root.push(new A({val:(0,N.signedTwipsMeasureValue)(e)}))}},hn=class extends b{constructor(e){if(super(`w:color`),typeof e==`string`){this.root.push(new A({val:(0,N.hexColorValue)(e)}));return}let t=e;this.root.push(new A({val:t.val===void 0?void 0:(0,N.hexColorValue)(t.val),themeColor:t.themeColor,themeTint:t.themeTint===void 0?void 0:(0,N.uCharHexNumber)(t.themeTint),themeShade:t.themeShade===void 0?void 0:(0,N.uCharHexNumber)(t.themeShade)}))}},gn=class extends b{constructor(e){super(`w:highlight`),this.root.push(new A({val:e}))}},_n=class extends b{constructor(e){super(`w:highlightCs`),this.root.push(new A({val:e}))}}})),yn,bn=r((()=>{j(),yn=e=>new o({attributes:{bidirectional:{key:`w:bidi`,value:e.bidirectional},eastAsia:{key:`w:eastAsia`,value:e.eastAsia},value:{key:`w:val`,value:e.value}},name:`w:lang`})})),xn,Sn=r((()=>{j(),xn=(e,t)=>{if(typeof e==`string`){let n=e;return new o({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}},name:`w:rFonts`})}let n=e;return new o({attributes:{ascii:{key:`w:ascii`,value:n.ascii},asciiTheme:{key:`w:asciiTheme`,value:n.asciiTheme},cs:{key:`w:cs`,value:n.cs},cstheme:{key:`w:cstheme`,value:n.cstheme},eastAsia:{key:`w:eastAsia`,value:n.eastAsia},eastAsiaTheme:{key:`w:eastAsiaTheme`,value:n.eastAsiaTheme},hAnsi:{key:`w:hAnsi`,value:n.hAnsi},hAnsiTheme:{key:`w:hAnsiTheme`,value:n.hAnsiTheme},hint:{key:`w:hint`,value:n.hint}},name:`w:rFonts`})}})),Cn,wn,Tn=r((()=>{j(),P(),Cn={SINGLE:`single`,WORDS:`words`,DOUBLE:`double`,THICK:`thick`,DOTTED:`dotted`,DOTTEDHEAVY:`dottedHeavy`,DASH:`dash`,DASHEDHEAVY:`dashedHeavy`,DASHLONG:`dashLong`,DASHLONGHEAVY:`dashLongHeavy`,DOTDASH:`dotDash`,DASHDOTHEAVY:`dashDotHeavy`,DOTDOTDASH:`dotDotDash`,DASHDOTDOTHEAVY:`dashDotDotHeavy`,WAVE:`wave`,WAVYHEAVY:`wavyHeavy`,WAVYDOUBLE:`wavyDouble`,NONE:`none`},wn=(e=Cn.SINGLE,t,n,r,i)=>new o({attributes:{color:{key:`w:color`,value:t===void 0?void 0:(0,N.hexColorValue)(t)},themeColor:{key:`w:themeColor`,value:n},themeShade:{key:`w:themeShade`,value:i===void 0?void 0:(0,N.uCharHexNumber)(i)},themeTint:{key:`w:themeTint`,value:r===void 0?void 0:(0,N.uCharHexNumber)(r)},val:{key:`w:val`,value:e}},name:`w:u`})}));function En(e){if(!e)return;let t=[];e.style&&t.push(De(`w:rStyle`,e.style)),e.font&&(typeof e.font==`string`?t.push(xn(e.font).prepForXml(z)):`name`in e.font?t.push(xn(e.font.name,e.font.hint).prepForXml(z)):t.push(xn(e.font).prepForXml(z))),e.bold!==void 0&&t.push(w(`w:b`,e.bold)),(e.boldComplexScript===void 0&&e.bold!==void 0||e.boldComplexScript)&&t.push(w(`w:bCs`,e.boldComplexScript??e.bold)),e.italics!==void 0&&t.push(w(`w:i`,e.italics)),(e.italicsComplexScript===void 0&&e.italics!==void 0||e.italicsComplexScript)&&t.push(w(`w:iCs`,e.italicsComplexScript??e.italics)),e.smallCaps===void 0?e.allCaps!==void 0&&t.push(w(`w:caps`,e.allCaps)):t.push(w(`w:smallCaps`,e.smallCaps)),e.strike!==void 0&&t.push(w(`w:strike`,e.strike)),e.doubleStrike!==void 0&&t.push(w(`w:dstrike`,e.doubleStrike)),e.emboss!==void 0&&t.push(w(`w:emboss`,e.emboss)),e.imprint!==void 0&&t.push(w(`w:imprint`,e.imprint)),e.outline!==void 0&&t.push(w(`w:outline`,e.outline)),e.shadow!==void 0&&t.push(w(`w:shadow`,e.shadow)),e.webHidden!==void 0&&t.push(w(`w:webHidden`,e.webHidden)),e.noProof!==void 0&&t.push(w(`w:noProof`,e.noProof)),e.snapToGrid!==void 0&&t.push(w(`w:snapToGrid`,e.snapToGrid)),e.vanish&&t.push(w(`w:vanish`,e.vanish)),e.color&&t.push(new hn(e.color).prepForXml(z)),e.characterSpacing&&t.push(new mn(e.characterSpacing).prepForXml(z)),e.scale!==void 0&&t.push(xe(`w:w`,e.scale)),e.kern&&t.push(be(`w:kern`,e.kern)),e.position&&t.push(De(`w:position`,e.position)),e.size!==void 0&&t.push(be(`w:sz`,e.size));let n=e.sizeComplexScript===void 0||e.sizeComplexScript===!0?e.size:e.sizeComplexScript;return n&&t.push(be(`w:szCs`,n)),e.highlight&&t.push(new gn(e.highlight).prepForXml(z)),e.highlightComplexScript===!0?e.highlight&&t.push(new _n(e.highlight).prepForXml(z)):e.highlightComplexScript!==void 0&&e.highlightComplexScript!==!1&&t.push(new _n(e.highlightComplexScript).prepForXml(z)),e.underline&&t.push(wn(e.underline.type,e.underline.color).prepForXml(z)),e.effect&&t.push(De(`w:effect`,e.effect)),e.border&&t.push(F(`w:bdr`,e.border).prepForXml(z)),e.shading&&t.push($t(e.shading).prepForXml(z)),e.subScript&&t.push(Ee(`w:vertAlign`,`subscript`)),e.superScript&&t.push(Ee(`w:vertAlign`,`superscript`)),e.rightToLeft!==void 0&&t.push(w(`w:rtl`,e.rightToLeft)),e.emphasisMark&&t.push(dn(e.emphasisMark.type).prepForXml(z)),e.language&&t.push(yn(e.language).prepForXml(z)),e.specVanish&&t.push(w(`w:specVanish`,e.specVanish)),e.math&&t.push(w(`w:oMath`,e.math)),e.fitText!==void 0&&t.push(xe(`w:fitText`,e.fitText)),e.complexScript!==void 0&&t.push(w(`w:cs`,e.complexScript)),e.eastAsianLayout&&t.push(cn(e.eastAsianLayout).prepForXml(z)),e.revision&&t.push(new jn(e.revision).prepForXml(z)),t.length>0?{"w:rPr":t}:void 0}var Dn,On,kn,An,jn,z,Mn=r((()=>{wt(),nn(),R(),an(),sn(),j(),ln(),pn(),vn(),bn(),Sn(),Tn(),Dn={BLINK_BACKGROUND:`blinkBackground`,LIGHTS:`lights`,ANTS_BLACK:`antsBlack`,ANTS_RED:`antsRed`,SHIMMER:`shimmer`,SPARKLE:`sparkle`,NONE:`none`},On={BLACK:`black`,BLUE:`blue`,CYAN:`cyan`,DARK_BLUE:`darkBlue`,DARK_CYAN:`darkCyan`,DARK_GRAY:`darkGray`,DARK_GREEN:`darkGreen`,DARK_MAGENTA:`darkMagenta`,DARK_RED:`darkRed`,DARK_YELLOW:`darkYellow`,GREEN:`green`,LIGHT_GRAY:`lightGray`,MAGENTA:`magenta`,NONE:`none`,RED:`red`,WHITE:`white`,YELLOW:`yellow`},kn=class extends p{constructor(e){if(super(`w:rPr`),!e)return;let t=En(e);if(t){let e=t[`w:rPr`];Array.isArray(e)&&this.root.push(...e)}}push(e){this.root.push(e)}},An=class extends kn{constructor(e){super(e),e?.insertion&&this.push(new on(e.insertion)),e?.deletion&&this.push(new rn(e.deletion))}},jn=class extends b{constructor(e){super(`w:rPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.addChildElement(new kn(e))}},z={stack:[]}})),Nn,Pn,Fn=r((()=>{Nn={CENTER:`center`,INSIDE:`inside`,LEFT:`left`,OUTSIDE:`outside`,RIGHT:`right`},Pn={BOTTOM:`bottom`,CENTER:`center`,INSIDE:`inside`,OUTSIDE:`outside`,TOP:`top`}})),In,Ln=r((()=>{In={AIUEO:`aiueo`,AIUEO_FULL_WIDTH:`aiueoFullWidth`,ARABIC_ABJAD:`arabicAbjad`,ARABIC_ALPHA:`arabicAlpha`,BAHT_TEXT:`bahtText`,BULLET:`bullet`,CARDINAL_TEXT:`cardinalText`,CHICAGO:`chicago`,CHINESE_COUNTING:`chineseCounting`,CHINESE_COUNTING_TEN_THOUSAND:`chineseCountingThousand`,CHINESE_LEGAL_SIMPLIFIED:`chineseLegalSimplified`,CHOSUNG:`chosung`,DECIMAL:`decimal`,DECIMAL_ENCLOSED_CIRCLE:`decimalEnclosedCircle`,DECIMAL_ENCLOSED_CIRCLE_CHINESE:`decimalEnclosedCircleChinese`,DECIMAL_ENCLOSED_FULL_STOP:`decimalEnclosedFullstop`,DECIMAL_ENCLOSED_PAREN:`decimalEnclosedParen`,DECIMAL_FULL_WIDTH:`decimalFullWidth`,DECIMAL_FULL_WIDTH_2:`decimalFullWidth2`,DECIMAL_HALF_WIDTH:`decimalHalfWidth`,DECIMAL_ZERO:`decimalZero`,DOLLAR_TEXT:`dollarText`,GANADA:`ganada`,HEBREW_1:`hebrew1`,HEBREW_2:`hebrew2`,HEX:`hex`,HINDI_CONSONANTS:`hindiConsonants`,HINDI_COUNTING:`hindiCounting`,HINDI_NUMBERS:`hindiNumbers`,HINDI_VOWELS:`hindiVowels`,IDEOGRAPH_DIGITAL:`ideographDigital`,IDEOGRAPH_ENCLOSED_CIRCLE:`ideographEnclosedCircle`,IDEOGRAPH_LEGAL_TRADITIONAL:`ideographLegalTraditional`,IDEOGRAPH_TRADITIONAL:`ideographTraditional`,IDEOGRAPH_ZODIAC:`ideographZodiac`,IDEOGRAPH_ZODIAC_TRADITIONAL:`ideographZodiacTraditional`,IROHA:`iroha`,IROHA_FULL_WIDTH:`irohaFullWidth`,JAPANESE_COUNTING:`japaneseCounting`,JAPANESE_DIGITAL_TEN_THOUSAND:`japaneseDigitalTenThousand`,JAPANESE_LEGAL:`japaneseLegal`,KOREAN_COUNTING:`koreanCounting`,KOREAN_DIGITAL:`koreanDigital`,KOREAN_DIGITAL_2:`koreanDigital2`,KOREAN_LEGAL:`koreanLegal`,LOWER_LETTER:`lowerLetter`,LOWER_ROMAN:`lowerRoman`,NONE:`none`,NUMBER_IN_DASH:`numberInDash`,ORDINAL:`ordinal`,ORDINAL_TEXT:`ordinalText`,RUSSIAN_LOWER:`russianLower`,RUSSIAN_UPPER:`russianUpper`,TAIWANESE_COUNTING:`taiwaneseCounting`,TAIWANESE_COUNTING_THOUSAND:`taiwaneseCountingThousand`,TAIWANESE_DIGITAL:`taiwaneseDigital`,THAI_COUNTING:`thaiCounting`,THAI_LETTERS:`thaiLetters`,THAI_NUMBERS:`thaiNumbers`,UPPER_LETTER:`upperLetter`,UPPER_ROMAN:`upperRoman`,VIETNAMESE_COUNTING:`vietnameseCounting`}})),Rn,zn=r((()=>{Rn={DEFAULT:`default`,PRESERVE:`preserve`}})),Bn=r((()=>{Fn(),Ln(),zn()}));function Vn(e){return typeof e==`string`?{"w:t":[{_attr:{"xml:space":Rn.PRESERVE}},e]}:{"w:t":[{_attr:{"xml:space":e.space??Rn.DEFAULT}},e.text??``]}}var Hn,Un=r((()=>{Bn(),j(),Hn=class extends a{_opts;constructor(e){super(`w:t`),this._opts=e}prepForXml(){return Vn(this._opts)}}})),B,V,Wn=r((()=>{j(),Nt(),Gt(),Qt(),Mn(),Un(),B={CURRENT:`CURRENT`,TOTAL_PAGES:`TOTAL_PAGES`,TOTAL_PAGES_IN_SECTION:`TOTAL_PAGES_IN_SECTION`,CURRENT_SECTION:`SECTION`},V=class extends a{options;extraChildren=[];constructor(e){super(`w:r`),this.options=e}prepForXml(e){let t=[],n=En(this.options);if(n&&t.push(n),this.options.break)for(let n=0;n<this.options.break;n++)t.push(Mt().prepForXml(e));if(this.options.children)for(let n of this.options.children){if(typeof n==`string`){switch(n){case B.CURRENT:t.push(Ut().prepForXml(e)),t.push(Jt()),t.push(Wt().prepForXml(e)),t.push(I().prepForXml(e));break;case B.TOTAL_PAGES:t.push(Ut().prepForXml(e)),t.push(Yt()),t.push(Wt().prepForXml(e)),t.push(I().prepForXml(e));break;case B.TOTAL_PAGES_IN_SECTION:t.push(Ut().prepForXml(e)),t.push(Xt()),t.push(Wt().prepForXml(e)),t.push(I().prepForXml(e));break;case B.CURRENT_SECTION:t.push(Ut().prepForXml(e)),t.push(Zt()),t.push(Wt().prepForXml(e)),t.push(I().prepForXml(e));break;default:t.push(Vn(n));break}continue}if(n instanceof a){let r=n.prepForXml(e);r&&t.push(r)}}else this.options.text!==void 0&&t.push(Vn(this.options.text));for(let n of this.extraChildren)if(n instanceof a){let r=n.prepForXml(e);r&&t.push(r)}else t.push(n);return{"w:r":t.length>0?t:{}}}}})),Gn,Kn=r((()=>{Wn(),Gn=class extends V{constructor(e){super(typeof e==`string`?{text:e}:e)}}}));function qn(e=``,t=`Wingdings`){return{"w:sym":{_attr:{"w:char":e,"w:font":t}}}}var Jn,Yn=r((()=>{j(),Jn=class extends a{_char;_font;constructor(e=``,t=`Wingdings`){super(`w:sym`),this._char=e,this._font=t}prepForXml(){return qn(this._char,this._font)}}})),Xn,Zn=r((()=>{Wn(),Yn(),Xn=class extends V{constructor(e){if(typeof e==`string`)return super({}),this.extraChildren.push(new Jn(e)),this;super(e),this.extraChildren.push(new Jn(e.char,e.symbolfont))}}})),Qn,$n,er,tr,H=r((()=>{Qn=()=>Ae(),$n=()=>Ae(1),er=()=>Ae(),tr=()=>Ae()})),nr,rr,ir=r((()=>{Fn(),nr={CHARACTER:`character`,COLUMN:`column`,INSIDE_MARGIN:`insideMargin`,LEFT_MARGIN:`leftMargin`,MARGIN:`margin`,OUTSIDE_MARGIN:`outsideMargin`,PAGE:`page`,RIGHT_MARGIN:`rightMargin`},rr={BOTTOM_MARGIN:`bottomMargin`,INSIDE_MARGIN:`insideMargin`,LINE:`line`,MARGIN:`margin`,OUTSIDE_MARGIN:`outsideMargin`,PAGE:`page`,PARAGRAPH:`paragraph`,TOP_MARGIN:`topMargin`}})),ar,or=r((()=>{j(),ar=()=>new o({name:`wp:simplePos`,attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}}})})),sr,cr=r((()=>{j(),sr=e=>new o({children:[e],name:`wp:align`})})),lr,ur=r((()=>{j(),lr=e=>new o({children:[e.toString()],name:`wp:posOffset`})})),dr,fr=r((()=>{j(),cr(),ir(),ur(),dr=({relative:e,align:t,offset:n})=>new o({attributes:{relativeFrom:{key:`relativeFrom`,value:e??nr.PAGE}},children:[t?sr(t):n===void 0?sr(Nn.LEFT):lr(n)],name:`wp:positionH`})})),pr,mr=r((()=>{j(),cr(),ir(),ur(),pr=({relative:e,align:t,offset:n})=>new o({attributes:{relativeFrom:{key:`relativeFrom`,value:e??rr.PAGE}},children:[t?sr(t):n===void 0?sr(Pn.TOP):lr(n)],name:`wp:positionV`})})),hr=r((()=>{ir(),or(),fr(),mr()})),gr=r((()=>{})),_r=r((()=>{})),vr=r((()=>{})),yr,br=r((()=>{j(),yr=class extends b{core;constructor(e){super(`a:xfrm`),this.core=We({x:e.offset?.emus?.x??0,y:e.offset?.emus?.y??0,width:e.emus.x,height:e.emus.y,flipHorizontal:e.flip?.horizontal,flipVertical:e.flip?.vertical,rotation:e.rotation})}prepForXml(e){return this.core.prepForXml?.(e)}}})),xr=r((()=>{br()})),Sr=r((()=>{})),Cr=r((()=>{})),wr,Tr=r((()=>{j(),wr=class extends y{xmlKeys={bwMode:`bwMode`}}})),Er=r((()=>{})),Dr=r((()=>{})),Or,kr=r((()=>{j(),gr(),_r(),vr(),xr(),Sr(),Cr(),Tr(),Er(),Dr(),Or=class extends b{form;fillOptions;constructor({element:e,customGeometry:t,effectDag:n,effects:r,fill:i,outline:a,presetGeometry:o,scene3d:s,shape3d:c,transform:l}){super(`${e}:spPr`),this.fillOptions=i,this.root.push(new wr({bwMode:`auto`})),this.form=new yr(l),this.root.push(this.form),t?this.root.push(Re(t)):this.root.push(new Fe(o)),i!==void 0&&this.root.push(Ie(i)),a&&this.root.push(Ve(a)),n?this.root.push(ze(n)):r&&this.root.push(Be(r)),s&&this.root.push(He(s)),c&&this.root.push(Ue(c))}prepForXml(e){let t=this.fillOptions?Ge(this.fillOptions):void 0;return t&&e.file.Media.addImage(t.fileName,{data:t.data,fileName:t.fileName,type:t.type,transformation:{pixels:{x:0,y:0},emus:{x:0,y:0}}}),super.prepForXml(e)}}})),Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr=r((()=>{j(),Er(),Dr(),Ar=function(e){return e.TOP=`t`,e.CENTER=`ctr`,e.BOTTOM=`b`,e.JUSTIFY=`just`,e.DISTRIBUTED=`dist`,e}({}),jr={OVERFLOW:`overflow`,ELLIPSIS:`ellipsis`,CLIP:`clip`},Mr={OVERFLOW:`overflow`,CLIP:`clip`},Nr={HORIZONTAL:`horz`,VERTICAL:`vert`,VERTICAL_270:`vert270`,WORD_ART_VERTICAL:`wordArtVert`,EAST_ASIAN_VERTICAL:`eaVert`,MONGOLIAN_VERTICAL:`mongolianVert`,WORD_ART_VERTICAL_RTL:`wordArtVertRtl`},Pr={NONE:`none`,SQUARE:`square`},Fr=e=>{let t={};for(let[n,r]of Object.entries(e))r!==void 0&&(t[n]={key:n,value:r});return t},Ir=e=>{let t=[];if(e.adjustments)for(let n of e.adjustments)t.push(new o({name:`a:avLst`,children:[new o({name:`a:gd`,attributes:{name:{key:`name`,value:n.name},fmla:{key:`fmla`,value:n.formula}}})]}));return new o({name:`a:prstTxWarp`,attributes:{prst:{key:`prst`,value:e.preset}},children:t.length>0?t:void 0})},Lr=(e={})=>{let t=e.anchor??e.verticalAnchor,n=e.lIns??e.margins?.left,r=e.tIns??e.margins?.top,i=e.rIns??e.margins?.right,a=e.bIns??e.margins?.bottom,s=Fr({rot:e.rotation,spcFirstLastPara:e.spcFirstLastPara,vertOverflow:e.vertOverflow,horzOverflow:e.horzOverflow,vert:e.vert,wrap:e.wrap,lIns:n,tIns:r,rIns:i,bIns:a,numCol:e.numCol,spcCol:e.spcCol,rtlCol:e.rtlCol,fromWordArt:e.fromWordArt,anchor:t,anchorCtr:e.anchorCtr,forceAA:e.forceAA,upright:e.upright,compatLnSpc:e.compatLnSpc}),c=[];if(e.prstTxWarp&&c.push(Ir(e.prstTxWarp)),e.noAutoFit)c.push(new h(`a:noAutofit`,e.noAutoFit));else if(e.normAutofit){let t=Fr({fontScale:e.normAutofit.fontScale,lnSpcReduction:e.normAutofit.lnSpcReduction});c.push(new o({name:`a:normAutofit`,attributes:Object.keys(t).length>0?t:void 0}))}else e.spAutoFit&&c.push(new h(`a:spAutoFit`,e.spAutoFit));if(e.scene3d&&c.push(He(e.scene3d)),e.sp3d)c.push(Ue(e.sp3d));else if(e.flatTx){let t=Fr({z:e.flatTx.z});c.push(new o({name:`a:flatTx`,attributes:Object.keys(t).length>0?t:void 0}))}return new o({name:`wps:bodyPr`,attributes:Object.keys(s).length>0?s:void 0,children:c.length>0?c:void 0})}})),zr,Br=r((()=>{j(),zr=(e={txBox:`1`})=>new o({attributes:{txBox:{key:`txBox`,value:e.txBox}},name:`wps:cNvSpPr`})})),Vr,Hr=r((()=>{j(),Vr=e=>new o({children:[...e],name:`wps:txbxContent`})})),Ur,Wr=r((()=>{j(),Hr(),Ur=e=>new o({children:[Vr(e)],name:`wps:txbx`})})),Gr,Kr=r((()=>{j(),kr(),Rr(),Br(),Wr(),Gr=e=>new o({children:[zr(e.nonVisualProperties),new Or({element:`wps`,customGeometry:e.customGeometry,effectDag:e.effectDag,effects:e.effects,fill:e.fill,outline:e.outline,scene3d:e.scene3d,shape3d:e.shape3d,transform:e.transformation}),Ur(e.children),Lr(e.bodyProperties)],name:`wps:wsp`})})),qr,Jr=r((()=>{j(),qr=class extends y{xmlKeys={uri:`uri`}}})),Yr=r((()=>{})),Xr,Zr=r((()=>{j(),Xr=class extends y{xmlKeys={preferRelativeResize:`preferRelativeResize`}}})),Qr,$r=r((()=>{j(),Qr=class extends y{xmlKeys={noChangeArrowheads:`noChangeArrowheads`,noChangeAspect:`noChangeAspect`}}})),ei,ti=r((()=>{j(),$r(),ei=class extends b{constructor(){super(`a:picLocks`),this.root.push(new Qr({noChangeArrowheads:1,noChangeAspect:1}))}}})),ni,ri=r((()=>{j(),Zr(),ti(),ni=class extends b{constructor(){super(`pic:cNvPicPr`),this.root.push(new Xr({preferRelativeResize:!0})),this.root.push(new ei)}}})),ii,ai,oi=r((()=>{j(),ii=(e,t)=>new o({attributes:{...t?{xmlns:{key:`xmlns:a`,value:`http://schemas.openxmlformats.org/drawingml/2006/main`}}:{},id:{key:`r:id`,value:`rId${e}`}},name:`a:hlinkClick`}),ai=(e,t)=>new o({attributes:{...t?{xmlns:{key:`xmlns:a`,value:`http://schemas.openxmlformats.org/drawingml/2006/main`}}:{},id:{key:`r:id`,value:`rId${e}`}},name:`a:hlinkHover`})})),si,ci=r((()=>{j(),si=class extends y{xmlKeys={anchor:`w:anchor`,docLocation:`w:docLocation`,history:`w:history`,id:`r:id`,tgtFrame:`w:tgtFrame`,tooltip:`w:tooltip`}}})),li,ui,di,fi,pi=r((()=>{j(),H(),ci(),li={INTERNAL:`INTERNAL`,EXTERNAL:`EXTERNAL`},ui=class extends b{linkId;constructor(e,t,n,r,i){super(`w:hyperlink`),this.linkId=t;let a=new si({anchor:n||void 0,history:1,id:n?void 0:`rId${this.linkId}`,tooltip:r,tgtFrame:i});this.root.push(a),e.forEach(e=>{this.root.push(e)})}},di=class extends ui{constructor(e){super(e.children,Oe(),e.anchor,e.tooltip)}},fi=class extends b{constructor(e){super(`w:externalHyperlink`),this.options=e}}})),mi=r((()=>{})),hi,gi=r((()=>{j(),hi=class extends y{xmlKeys={descr:`descr`,id:`id`,name:`name`}}})),_i,vi,yi=r((()=>{oi(),pi(),mi(),j(),H(),gi(),_i=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,vi=class extends b{hyperlink;constructor(e){super(`pic:cNvPr`),this.hyperlink=e,this.root.push(new hi({descr:``,id:0,name:``}))}prepForXml(e){let t=!1;for(let n=e.stack.length-1;n>=0;n--){let r=e.stack[n];if(r instanceof ui){this.root.push(ii(r.linkId,!1)),t=!0;break}}if(this.hyperlink){if(this.hyperlink.click&&!t){let t=Oe();e.viewWrapper.Relationships.addRelationship(t,_i,this.hyperlink.click,se.EXTERNAL),this.root.push(ii(t,!1))}if(this.hyperlink.hover){let t=Oe();e.viewWrapper.Relationships.addRelationship(t,_i,this.hyperlink.hover,se.EXTERNAL),this.root.push(ai(t,!1))}}return super.prepForXml(e)}}})),bi,xi=r((()=>{j(),ri(),yi(),bi=class extends b{constructor(e){super(`pic:nvPicPr`),this.root.push(new vi(e)),this.root.push(new ni)}}})),Si,Ci=r((()=>{j(),Si=class extends y{xmlKeys={xmlns:`xmlns:pic`}}})),wi,Ti=r((()=>{j(),Yr(),xi(),Ci(),kr(),wi=class extends b{constructor({mediaData:e,transform:t,outline:n,fill:r,effects:i,blipEffects:a,tile:o,hyperlink:s}){super(`pic:pic`),this.root.push(new Si({xmlns:`http://schemas.openxmlformats.org/drawingml/2006/picture`})),this.root.push(new bi(s));let c={referenceId:e.fileName,type:e.type,fallbackFileName:`fallback`in e?e.fallback.fileName:void 0};this.root.push(Le(c,{blipEffects:a,tile:o,srcRect:e.srcRect})),this.root.push(new Or({element:`pic`,effects:i,fill:r,outline:n,transform:t}))}}})),Ei=r((()=>{Ti()})),Di,Oi=r((()=>{j(),Di=class extends y{xmlKeys={cx:`cx`,cy:`cy`}}})),ki,Ai=r((()=>{j(),Oi(),ki=class extends b{attributes;constructor(e,t){super(`a:ext`),this.attributes=new Di({cx:e,cy:t}),this.root.push(this.attributes)}}})),ji,Mi=r((()=>{j(),ji=class extends y{xmlKeys={x:`x`,y:`y`}}})),Ni,Pi=r((()=>{j(),Mi(),Ni=class extends b{constructor(e,t){super(`a:off`),this.root.push(new ji({x:e??0,y:t??0}))}}})),Fi,Ii,Li,Ri,zi=r((()=>{j(),vr(),Ai(),Pi(),Fi=(e,t,n)=>{let r=[new Ni(e.offset?.emus?.x,e.offset?.emus?.y),new ki(e.emus.x,e.emus.y)];return t&&r.push(new o({attributes:{x:{key:`x`,value:t.x},y:{key:`y`,value:t.y}},name:`a:chOff`})),n&&r.push(new o({attributes:{cx:{key:`cx`,value:n.cx},cy:{key:`cy`,value:n.cy}},name:`a:chExt`})),new o({attributes:e.flip?.horizontal!==void 0||e.flip?.vertical!==void 0||e.rotation!==void 0?{...e.flip?.horizontal!==void 0&&{flipH:{key:`flipH`,value:e.flip.horizontal}},...e.flip?.vertical!==void 0&&{flipV:{key:`flipV`,value:e.flip.vertical}},...e.rotation!==void 0&&{rot:{key:`rot`,value:e.rotation}}}:void 0,children:r,name:`a:xfrm`})},Ii=e=>{let t=[Fi(e.transformation,e.chOff,e.chExt)];return e.fill!==void 0&&t.push(Ie(e.fill)),e.effects&&t.push(Be(e.effects)),new o({children:t,name:`wpg:grpSpPr`})},Li=()=>new o({name:`wpg:cNvGrpSpPr`}),Ri=e=>new o({children:[Li(),Ii(e),...e.children],name:`wpg:wgp`})})),Bi,Vi=r((()=>{Kr(),j(),Jr(),Ei(),zi(),Bi=class extends b{constructor({mediaData:e,transform:t,outline:n,fill:r,effects:i,blipEffects:a,tile:o,hyperlink:s}){if(super(`a:graphicData`),e.type===`wps`){this.root.push(new qr({uri:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`}));let i=Gr({...e.data,outline:n,fill:r,transformation:t});this.root.push(i)}else if(e.type===`wpg`){this.root.push(new qr({uri:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`}));let n=e,r=Ri({children:n.children.map(e=>e.type===`wps`?Gr({...e.data,outline:e.outline,fill:e.fill,transformation:e.transformation}):new wi({mediaData:e,outline:e.outline,transform:e.transformation})),transformation:t,chOff:n.chOff,chExt:n.chExt,fill:n.fill,effects:n.effects});this.root.push(r)}else if(e.type===`chart`){this.root.push(new qr({uri:`http://schemas.openxmlformats.org/drawingml/2006/chart`}));let t=e,n=new class extends b{constructor(){super(`c:chart`)}};n.root.push(new ne({xmlnsC:{key:`xmlns:c`,value:`http://schemas.openxmlformats.org/drawingml/2006/chart`},xmlnsR:{key:`xmlns:r`,value:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`},rId:{key:`r:id`,value:`{chart:${t.chartKey}}`}})),this.root.push(n)}else if(e.type===`smartart`){this.root.push(new qr({uri:`http://schemas.openxmlformats.org/drawingml/2006/diagram`}));let t=e,n=new class extends b{constructor(){super(`dgm:relIds`)}};n.root.push(new ne({xmlnsDgm:{key:`xmlns:dgm`,value:`http://schemas.openxmlformats.org/drawingml/2006/diagram`},xmlnsR:{key:`xmlns:r`,value:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`},rCs:{key:`r:cs`,value:`{smartart-cs:${t.smartArtKey}}`},rDm:{key:`r:dm`,value:`{smartart:${t.smartArtKey}}`},rLo:{key:`r:lo`,value:`{smartart-lo:${t.smartArtKey}}`},rQs:{key:`r:qs`,value:`{smartart-qs:${t.smartArtKey}}`}})),this.root.push(n)}else{this.root.push(new qr({uri:`http://schemas.openxmlformats.org/drawingml/2006/picture`}));let c=new wi({blipEffects:a,effects:i,hyperlink:s,mediaData:e,outline:n,fill:r,tile:o,transform:t});this.root.push(c)}}}})),Hi=r((()=>{Vi()})),Ui,Wi,Gi=r((()=>{j(),Hi(),Ui=class extends y{xmlKeys={a:`xmlns:a`}},Wi=class extends b{data;constructor({mediaData:e,transform:t,outline:n,fill:r,effects:i,blipEffects:a,tile:o,hyperlink:s}){super(`a:graphic`),this.root.push(new Ui({a:`http://schemas.openxmlformats.org/drawingml/2006/main`})),this.data=new Bi({blipEffects:a,effects:i,hyperlink:s,mediaData:e,outline:n,fill:r,tile:o,transform:t}),this.root.push(this.data)}}})),Ki=r((()=>{Gi()})),qi,Ji,Yi=r((()=>{qi={NONE:0,SQUARE:1,TIGHT:2,TOP_AND_BOTTOM:3,THROUGH:4},Ji={BOTH_SIDES:`bothSides`,LEFT:`left`,RIGHT:`right`,LARGEST:`largest`}})),Xi,Zi=r((()=>{j(),Xi=()=>new o({name:`wp:wrapNone`})})),Qi,$i=r((()=>{j(),Yi(),Qi=(e,t={bottom:0,left:0,right:0,top:0})=>new o({attributes:{distB:{key:`distB`,value:t.bottom},distL:{key:`distL`,value:t.left},distR:{key:`distR`,value:t.right},distT:{key:`distT`,value:t.top},wrapText:{key:`wrapText`,value:e.side||Ji.BOTH_SIDES}},name:`wp:wrapSquare`})})),ea,ta,na=r((()=>{j(),Yi(),ea=(e,t)=>new o({attributes:{edited:{key:`edited`,value:`0`}},children:[new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}},name:`wp:start`}),new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:-t}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:e},y:{key:`y`,value:-t}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:e},y:{key:`y`,value:0}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}},name:`wp:lineTo`})],name:`wp:wrapPolygon`}),ta=(e,t={bottom:0,left:0,right:0,top:0},n)=>new o({attributes:{distL:{key:`distL`,value:t.left},distR:{key:`distR`,value:t.right},wrapText:{key:`wrapText`,value:e.side||Ji.BOTH_SIDES}},children:[ea(n.x,n.y)],name:`wp:wrapTight`})})),ra,ia,aa=r((()=>{j(),Yi(),ra=(e,t)=>new o({attributes:{edited:{key:`edited`,value:`0`}},children:[new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}},name:`wp:start`}),new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:-t}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:e},y:{key:`y`,value:-t}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:e},y:{key:`y`,value:0}},name:`wp:lineTo`}),new o({attributes:{x:{key:`x`,value:0},y:{key:`y`,value:0}},name:`wp:lineTo`})],name:`wp:wrapPolygon`}),ia=(e,t={bottom:0,left:0,right:0,top:0},n)=>new o({attributes:{distL:{key:`distL`,value:t.left},distR:{key:`distR`,value:t.right},wrapText:{key:`wrapText`,value:e.side||Ji.BOTH_SIDES}},children:[ra(n.x,n.y)],name:`wp:wrapThrough`})})),oa,sa=r((()=>{j(),oa=(e={bottom:0,top:0})=>new o({attributes:{distB:{key:`distB`,value:e.bottom},distT:{key:`distT`,value:e.top}},name:`wp:wrapTopAndBottom`})})),ca=r((()=>{Yi(),Zi(),$i(),na(),aa(),sa()})),la,ua,da,fa=r((()=>{pi(),mi(),j(),H(),oi(),la=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,ua=er(),da=class extends b{hyperlink;constructor({name:e,description:t,title:n,id:r,hyperlink:i}={description:``,name:``,title:``}){super(`wp:docPr`),this.hyperlink=i;let a={id:{key:`id`,value:r??ua()},name:{key:`name`,value:e}};t!=null&&(a.description={key:`descr`,value:t}),n!=null&&(a.title={key:`title`,value:n}),this.root.push(new ne(a))}prepForXml(e){let t=!1;for(let n=e.stack.length-1;n>=0;n--){let r=e.stack[n];if(r instanceof ui){this.root.push(ii(r.linkId,!0)),t=!0;break}}if(this.hyperlink){if(this.hyperlink.click&&!t){let t=Oe();e.viewWrapper.Relationships.addRelationship(t,la,this.hyperlink.click,se.EXTERNAL),this.root.push(ii(t,!0))}if(this.hyperlink.hover){let t=Oe();e.viewWrapper.Relationships.addRelationship(t,la,this.hyperlink.hover,se.EXTERNAL),this.root.push(ai(t,!0))}}return super.prepForXml(e)}}})),pa,ma=r((()=>{j(),pa=({top:e,right:t,bottom:n,left:r})=>new o({attributes:{bottom:{key:`b`,value:n},left:{key:`l`,value:r},right:{key:`r`,value:t},top:{key:`t`,value:e}},name:`wp:effectExtent`})})),ha,ga=r((()=>{j(),ha=({x:e,y:t})=>new o({attributes:{x:{key:`cx`,value:e},y:{key:`cy`,value:t}},name:`wp:extent`})})),_a,va=r((()=>{j(),_a=class extends y{xmlKeys={noChangeAspect:`noChangeAspect`,xmlns:`xmlns:a`}}})),ya,ba=r((()=>{j(),va(),ya=class extends b{constructor(){super(`a:graphicFrameLocks`),this.root.push(new _a({noChangeAspect:1,xmlns:`http://schemas.openxmlformats.org/drawingml/2006/main`}))}}})),xa,Sa=r((()=>{j(),ba(),xa=()=>new o({children:[new ya],name:`wp:cNvGraphicFramePr`})})),Ca,wa=r((()=>{j(),Ca=class extends y{xmlKeys={allowOverlap:`allowOverlap`,behindDoc:`behindDoc`,distB:`distB`,distL:`distL`,distR:`distR`,distT:`distT`,layoutInCell:`layoutInCell`,locked:`locked`,relativeHeight:`relativeHeight`,simplePos:`simplePos`}}})),Ta,Ea=r((()=>{j(),hr(),Ki(),ca(),fa(),ma(),ga(),Sa(),wa(),Ta=class extends b{constructor({mediaData:e,transform:t,drawingOptions:n}){super(`wp:anchor`);let r={allowOverlap:!0,behindDocument:!1,horizontalPosition:{},layoutInCell:!0,lockAnchor:!1,verticalPosition:{},...n.floating};if(this.root.push(new Ca({distT:r.margins&&r.margins.top||0,distB:r.margins&&r.margins.bottom||0,distL:r.margins&&r.margins.left||0,distR:r.margins&&r.margins.right||0,simplePos:`0`,allowOverlap:r.allowOverlap===!0?`1`:`0`,behindDoc:r.behindDocument===!0?`1`:`0`,locked:r.lockAnchor===!0?`1`:`0`,layoutInCell:r.layoutInCell===!0?`1`:`0`,relativeHeight:r.zIndex?r.zIndex:t.emus.y})),this.root.push(ar()),this.root.push(dr(r.horizontalPosition)),this.root.push(pr(r.verticalPosition)),this.root.push(ha({x:t.emus.x,y:t.emus.y})),this.root.push(pa({bottom:0,left:0,right:0,top:0})),n.floating!==void 0&&n.floating.wrap!==void 0)switch(n.floating.wrap.type){case qi.SQUARE:this.root.push(Qi(n.floating.wrap,n.floating.margins));break;case qi.TIGHT:this.root.push(ta(n.floating.wrap,n.floating.margins,{x:t.emus.x,y:t.emus.y}));break;case qi.THROUGH:this.root.push(ia(n.floating.wrap,n.floating.margins,{x:t.emus.x,y:t.emus.y}));break;case qi.TOP_AND_BOTTOM:this.root.push(oa(n.floating.margins));break;case qi.NONE:default:this.root.push(Xi())}else this.root.push(Xi());this.root.push(new da(n.docProperties)),this.root.push(xa()),this.root.push(new Wi({blipEffects:n.blipEffects,effects:n.effects,hyperlink:n.docProperties?.hyperlink,mediaData:e,outline:n.outline,fill:n.fill,tile:n.tile,transform:t}))}}})),Da=r((()=>{Ea(),wa()})),Oa,ka=r((()=>{j(),fa(),ma(),ga(),Sa(),Ki(),Oa=({mediaData:e,transform:t,docProperties:n,outline:r,fill:i,effects:a,blipEffects:s,tile:c})=>new o({attributes:{distanceBottom:{key:`distB`,value:0},distanceLeft:{key:`distL`,value:0},distanceRight:{key:`distR`,value:0},distanceTop:{key:`distT`,value:0}},children:[ha({x:t.emus.x,y:t.emus.y}),pa(r?{bottom:(r.width??9525)*2,left:(r.width??9525)*2,right:(r.width??9525)*2,top:(r.width??9525)*2}:{bottom:0,left:0,right:0,top:0}),new da(n),xa(),new Wi({blipEffects:s,effects:a,hyperlink:n?.hyperlink,mediaData:e,outline:r,fill:i,tile:c,transform:t})],name:`wp:inline`})})),Aa=r((()=>{ka()})),ja,Ma=r((()=>{j(),Da(),Aa(),ja=class extends b{constructor(e,t={}){super(`w:drawing`),t.floating?this.root.push(new Ta({drawingOptions:t,mediaData:e,transform:e.transformation})):this.root.push(Oa({blipEffects:t.blipEffects,docProperties:t.docProperties,effects:t.effects,mediaData:e,outline:t.outline,fill:t.fill,tile:t.tile,transform:e.transformation}))}}})),Na=r((()=>{Ma(),ca(),hr()})),Pa,Fa,Ia=r((()=>{Pa=e=>({emus:{x:me(e.width),y:me(e.height)},flip:e.flip,offset:{emus:{x:me(e.offset?.left??0),y:me(e.offset?.top??0)},pixels:{x:Math.round(e.offset?.left??0),y:Math.round(e.offset?.top??0)}},pixels:{x:Math.round(e.width),y:Math.round(e.height)},rotation:e.rotation?e.rotation*6e4:void 0}),Fa=class{map;constructor(){this.map=new Map}addImage(e,t){this.map.set(e,t)}get Array(){return[...this.map.values()]}}})),La,Ra=r((()=>{La=``})),za=r((()=>{Ia(),Ra()})),Ba,Va,Ha=r((()=>{H(),Na(),za(),Yo(),Ba=(e,t,n,r)=>({data:e,fileName:n,srcRect:r,transformation:Pa(t)}),Va=class extends V{imageData;constructor(e){super({});let t=Pe(e.data),n=`${ye(t)}.${e.type}`;if(e.type===`svg`){let r=Pe(e.fallback.data);this.imageData={type:e.type,...Ba(t,e.transformation,n,e.srcRect),fallback:{type:e.fallback.type,...Ba(r,e.transformation,`${ye(r)}.${e.fallback.type}`)}}}else this.imageData={type:e.type,...Ba(t,e.transformation,n,e.srcRect)};let r=new ja(this.imageData,{blipEffects:e.blipEffects,docProperties:e.altText,floating:e.floating,outline:e.outline,fill:e.fill,effects:e.effects,tile:e.tile});this.extraChildren.push(r)}prepForXml(e){return e.file.Media.addImage(this.imageData.fileName,this.imageData),this.imageData.type===`svg`&&e.file.Media.addImage(this.imageData.fallback.fileName,this.imageData.fallback),super.prepForXml(e)}}})),Ua=r((()=>{})),Wa,Ga=r((()=>{Ua(),Na(),za(),Yo(),Wa=class extends V{chartOptions;chartKey;constructor(e){super({}),this.chartOptions=e;let t=this.hashChartData(e);this.chartKey=`chart_${t}`;let n=new ja({chartKey:this.chartKey,transformation:Pa(e.transformation),type:`chart`},{docProperties:e.altText,floating:e.floating});this.extraChildren.push(n)}prepForXml(e){let t=new qe({categories:this.chartOptions.data.categories,series:this.chartOptions.data.series,showLegend:this.chartOptions.showLegend,style:this.chartOptions.style,title:this.chartOptions.title,type:this.chartOptions.type});return e.file.Charts.addChart(this.chartKey,{chartSpace:t,key:this.chartKey}),super.prepForXml(e)}hashChartData(e){let t=`${e.type}:${JSON.stringify(e.data)}`,n=0;for(let e=0;e<t.length;e++){let r=t.charCodeAt(e);n=(n<<5)-n+r|0}return Math.abs(n)}}})),Ka=r((()=>{})),qa,Ja=r((()=>{Na(),za(),Ka(),Yo(),qa=class extends V{smartArtOptions;smartArtKey;constructor(e){super({}),this.smartArtOptions=e;let t=this.hashSmartArtData(e);this.smartArtKey=`smartart_${t}`;let n=new ja({smartArtKey:this.smartArtKey,transformation:Pa(e.transformation),type:`smartart`},{docProperties:e.altText,floating:e.floating});this.extraChildren.push(n)}prepForXml(e){let t=this.smartArtOptions.layout??`default`,n=this.smartArtOptions.style??`simple1`,r=this.smartArtOptions.color??`accent1_2`,i={dataModel:$e(this.smartArtOptions.data.nodes,t,n,r),key:this.smartArtKey,layout:t,style:n,color:r};return e.file.SmartArts.addSmartArt(this.smartArtKey,i),super.prepForXml(e)}hashSmartArtData(e){let t=JSON.stringify(e.data),n=0;for(let e=0;e<t.length;e++){let r=t.charCodeAt(e);n=(n<<5)-n+r|0}return Math.abs(n)}}})),Ya,Xa=r((()=>{Na(),za(),Yo(),Rr(),Ya=class extends V{wpsShapeData;constructor(e){super({}),this.wpsShapeData={data:{...e},transformation:Pa(e.transformation),type:e.type};let t=new ja(this.wpsShapeData,{docProperties:e.altText,floating:e.floating,outline:e.outline,fill:e.fill});this.extraChildren.push(t)}}})),Za,Qa=r((()=>{Yo(),Na(),za(),Rr(),Za=class extends V{wpgGroupData;mediaDatas;constructor(e){super({}),this.wpgGroupData={children:e.children,transformation:Pa(e.transformation),type:e.type};let t=new ja(this.wpgGroupData,{docProperties:e.altText,floating:e.floating});this.mediaDatas=e.children.filter(e=>e.type!==`wps`).map(e=>e),this.extraChildren.push(t)}prepForXml(e){return this.mediaDatas.forEach(t=>{e.file.Media.addImage(t.fileName,t),t.type===`svg`&&e.file.Media.addImage(t.fallback.fileName,t.fallback)}),super.prepForXml(e)}}})),$a,eo=r((()=>{j(),$a=class extends y{xmlKeys={space:`xml:space`}}})),to,no=r((()=>{Bn(),j(),eo(),to=class extends b{constructor(e){super(`w:instrText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(`SEQ ${e}`)}}})),ro,io=r((()=>{Yo(),Gt(),no(),ro=class extends V{constructor(e){super({}),this.extraChildren.push(Ut(!0)),this.extraChildren.push(new to(e)),this.extraChildren.push(Wt()),this.extraChildren.push(I())}}})),ao,oo,so,co=r((()=>{j(),Kn(),ao=class extends y{xmlKeys={instr:`w:instr`}},oo=class extends b{constructor(e,t){super(`w:fldSimple`),this.root.push(new ao({instr:e})),t!==void 0&&this.root.push(new Gn(t))}},so=class extends oo{constructor(e){super(` MERGEFIELD ${e} `,`«${e}»`)}}})),lo=r((()=>{})),uo=r((()=>{lo()})),fo,po,mo,ho,go,_o,vo,yo,bo=r((()=>{uo(),j(),fo=class extends y{xmlKeys={author:`w:author`,date:`w:date`,id:`w:id`,initials:`w:initials`}},po=class extends y{xmlKeys={id:`w:id`}},mo=class extends y{xmlKeys={"xmlns:aink":`xmlns:aink`,"xmlns:am3d":`xmlns:am3d`,"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:m":`xmlns:m`,"xmlns:mc":`xmlns:mc`,"xmlns:o":`xmlns:o`,"xmlns:r":`xmlns:r`,"xmlns:v":`xmlns:v`,"xmlns:w":`xmlns:w`,"xmlns:w10":`xmlns:w10`,"xmlns:w14":`xmlns:w14`,"xmlns:w15":`xmlns:w15`,"xmlns:w16":`xmlns:w16`,"xmlns:w16cex":`xmlns:w16cex`,"xmlns:w16cid":`xmlns:w16cid`,"xmlns:w16sdtdh":`xmlns:w16sdtdh`,"xmlns:w16se":`xmlns:w16se`,"xmlns:wne":`xmlns:wne`,"xmlns:wp":`xmlns:wp`,"xmlns:wp14":`xmlns:wp14`,"xmlns:wpg":`xmlns:wpg`,"xmlns:wpi":`xmlns:wpi`,"xmlns:wps":`xmlns:wps`}},ho=class extends b{constructor(e){super(`w:commentRangeStart`),this.root.push(new po({id:e}))}},go=class extends b{constructor(e){super(`w:commentRangeEnd`),this.root.push(new po({id:e}))}},_o=class extends b{constructor(e){super(`w:commentReference`),this.root.push(new po({id:e}))}},vo=class extends b{constructor({id:e,initials:t,author:n,date:r=new Date,children:i}){super(`w:comment`),this.root.push(new fo({author:n,date:r.toISOString(),id:e,initials:t}));for(let e of i)this.root.push(e)}},yo=class extends b{relationships;constructor({children:e}){super(`w:comments`),this.root.push(new mo({"xmlns:aink":`http://schemas.microsoft.com/office/drawing/2016/ink`,"xmlns:am3d":`http://schemas.microsoft.com/office/drawing/2017/model3d`,"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:m":`http://schemas.openxmlformats.org/officeDocument/2006/math`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"xmlns:o":`urn:schemas-microsoft-com:office:office`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:v":`urn:schemas-microsoft-com:vml`,"xmlns:w":`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,"xmlns:w10":`urn:schemas-microsoft-com:office:word`,"xmlns:w14":`http://schemas.microsoft.com/office/word/2010/wordml`,"xmlns:w15":`http://schemas.microsoft.com/office/word/2012/wordml`,"xmlns:w16":`http://schemas.microsoft.com/office/word/2018/wordml`,"xmlns:w16cex":`http://schemas.microsoft.com/office/word/2018/wordml/cex`,"xmlns:w16cid":`http://schemas.microsoft.com/office/word/2016/wordml/cid`,"xmlns:w16sdtdh":`http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash`,"xmlns:w16se":`http://schemas.microsoft.com/office/word/2015/wordml/symex`,"xmlns:wne":`http://schemas.microsoft.com/office/word/2006/wordml`,"xmlns:wp":`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,"xmlns:wp14":`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,"xmlns:wpg":`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,"xmlns:wpi":`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,"xmlns:wps":`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`}));for(let t of e)this.root.push(new vo(t));this.relationships=new g}get Relationships(){return this.relationships}}})),xo,So,Co,wo,To,Eo,Do,Oo,ko,Ao,jo,Mo,No,Po,Fo,Io,Lo,Ro=r((()=>{j(),xo=class extends u{constructor(){super(`w:noBreakHyphen`)}},So=class extends u{constructor(){super(`w:softHyphen`)}},Co=class extends u{constructor(){super(`w:dayShort`)}},wo=class extends u{constructor(){super(`w:monthShort`)}},To=class extends u{constructor(){super(`w:yearShort`)}},Eo=class extends u{constructor(){super(`w:dayLong`)}},Do=class extends u{constructor(){super(`w:monthLong`)}},Oo=class extends u{constructor(){super(`w:yearLong`)}},ko=class extends u{constructor(){super(`w:annotationRef`)}},Ao=class extends u{constructor(){super(`w:footnoteRef`)}},jo=class extends u{constructor(){super(`w:endnoteRef`)}},Mo=class extends u{constructor(){super(`w:separator`)}},No=class extends u{constructor(){super(`w:continuationSeparator`)}},Po=class extends u{constructor(){super(`w:pgNum`)}},Fo=class extends u{constructor(){super(`w:cr`)}},Io=class extends u{constructor(){super(`w:tab`)}},Lo=class extends u{constructor(){super(`w:lastRenderedPageBreak`)}}})),zo,Bo,Vo,Ho,Uo,Wo=r((()=>{j(),zo={LEFT:`left`,CENTER:`center`,RIGHT:`right`},Bo={MARGIN:`margin`,INDENT:`indent`},Vo={NONE:`none`,DOT:`dot`,HYPHEN:`hyphen`,UNDERSCORE:`underscore`,MIDDLE_DOT:`middleDot`},Ho=class extends y{xmlKeys={alignment:`w:alignment`,leader:`w:leader`,relativeTo:`w:relativeTo`}},Uo=class extends b{constructor(e){super(`w:ptab`),this.root.push(new Ho({alignment:e.alignment,leader:e.leader,relativeTo:e.relativeTo}))}}})),Go,Ko,qo,Jo=r((()=>{j(),Un(),Go={CENTER:`center`,DISTRIBUTE_LETTER:`distributeLetter`,DISTRIBUTE_SPACE:`distributeSpace`,LEFT:`left`,RIGHT:`right`,RIGHT_VERTICAL:`rightVertical`},Ko=(e,t)=>new o({children:[new o({children:[new Hn(t)],name:`w:r`})],name:e}),qo=e=>{let t=e.alignment??`CENTER`,n=e.fontSize??20,r=e.raise??20,i=e.baseFontSize??40;return new o({children:[new o({children:[new o({attributes:{val:{key:`w:val`,value:Go[t]}},name:`w:rubyAlign`}),new o({attributes:{val:{key:`w:val`,value:n}},name:`w:hps`}),new o({attributes:{val:{key:`w:val`,value:r}},name:`w:hpsRaise`}),new o({attributes:{val:{key:`w:val`,value:i}},name:`w:hpsBaseText`}),new o({attributes:{val:{key:`w:val`,value:e.languageId??`ja-JP`}},name:`w:lid`}),...e.dirty===void 0?[]:[new o({name:`w:dirty`})]],name:`w:rubyPr`}),Ko(`w:rt`,e.text),Ko(`w:rubyBase`,e.base)],name:`w:ruby`})}})),Yo=r((()=>{Wn(),Mn(),Kn(),Zn(),Ha(),Ga(),Ja(),Xa(),Qa(),Sn(),io(),Tn(),pn(),co(),bo(),Ro(),Wo(),Jo(),Bt(),Nt()})),Xo,Zo,Qo,$o,es,ts=r((()=>{j(),Yo(),Xo={COLUMN:`column`,PAGE:`page`},Zo=class extends b{constructor(e){super(`w:br`),this.root.push(new A({type:e}))}},Qo=class extends V{constructor(){super({}),this.extraChildren.push(new Zo(Xo.PAGE))}},$o=class extends V{constructor(){super({}),this.extraChildren.push(new Zo(Xo.COLUMN))}},es=class extends b{constructor(){super(`w:pageBreakBefore`)}}})),ns,rs,is=r((()=>{j(),P(),ns={AT_LEAST:`atLeast`,EXACTLY:`exactly`,EXACT:`exact`,AUTO:`auto`},rs=({after:e,before:t,line:n,lineRule:r,beforeAutoSpacing:i,afterAutoSpacing:a,beforeLines:s,afterLines:c})=>new o({attributes:{after:{key:`w:after`,value:e},afterAutoSpacing:{key:`w:afterAutospacing`,value:a},afterLines:{key:`w:afterLines`,value:c===void 0?void 0:(0,N.decimalNumber)(c)},before:{key:`w:before`,value:t},beforeAutoSpacing:{key:`w:beforeAutospacing`,value:i},beforeLines:{key:`w:beforeLines`,value:s===void 0?void 0:(0,N.decimalNumber)(s)},line:{key:`w:line`,value:n},lineRule:{key:`w:lineRule`,value:r}},name:`w:spacing`})})),as,os,ss=r((()=>{j(),as={HEADING_1:`Heading1`,HEADING_2:`Heading2`,HEADING_3:`Heading3`,HEADING_4:`Heading4`,HEADING_5:`Heading5`,HEADING_6:`Heading6`,TITLE:`Title`},os=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:pStyle`})})),cs,ls,us,ds,fs,ps=r((()=>{j(),cs={LEFT:`left`,RIGHT:`right`,CENTER:`center`,BAR:`bar`,CLEAR:`clear`,DECIMAL:`decimal`,END:`end`,NUM:`num`,START:`start`},ls={DOT:`dot`,HEAVY:`heavy`,HYPHEN:`hyphen`,MIDDLE_DOT:`middleDot`,NONE:`none`,UNDERSCORE:`underscore`},us={MAX:9026},ds=({type:e,position:t,leader:n})=>new o({attributes:{leader:{key:`w:leader`,value:n},pos:{key:`w:pos`,value:t},val:{key:`w:val`,value:e}},name:`w:tab`}),fs=e=>new o({children:e.map(e=>ds(e)),name:`w:tabs`})})),ms,hs,gs,_s=r((()=>{j(),ms=class extends b{constructor(e,t){super(`w:numPr`),this.root.push(new hs(t)),this.root.push(new gs(e))}},hs=class extends b{constructor(e){super(`w:ilvl`),this.root.push(new A({val:Math.min(e,9)}))}},gs=class extends b{constructor(e){super(`w:numId`),this.root.push(new A({val:typeof e==`string`?`{${e}}`:e}))}}})),vs=r((()=>{bt(),Dt(),kt(),jt(),ts(),is(),ss(),ps(),_s()})),ys,bs,xs=r((()=>{j(),ys=class extends y{xmlKeys={id:`w:id`,name:`w:name`}},bs=class extends y{xmlKeys={id:`w:id`}}})),Ss,Cs,ws,Ts=r((()=>{j(),H(),xs(),Ss=class{bookmarkUniqueNumericId=tr();start;children;end;constructor(e){let t=this.bookmarkUniqueNumericId();this.start=new Cs(e.id,t),this.children=e.children,this.end=new ws(t)}},Cs=class extends b{constructor(e,t){super(`w:bookmarkStart`);let n=new ys({id:t,name:e});this.root.push(n)}},ws=class extends b{constructor(e){super(`w:bookmarkEnd`);let t=new bs({id:e});this.root.push(t)}}})),Es,Ds,Os,ks,As,js,Ms=r((()=>{j(),Es=class extends y{xmlKeys={author:`w:author`,date:`w:date`,id:`w:id`,name:`w:name`}},Ds=class extends y{xmlKeys={id:`w:id`}},Os=class extends b{constructor(e,t,n,r){super(`w:moveFromRangeStart`),this.root.push(new Es({id:e,name:t,author:n,date:r}))}},ks=class extends b{constructor(e){super(`w:moveFromRangeEnd`),this.root.push(new Ds({id:e}))}},As=class extends b{constructor(e,t,n,r){super(`w:moveToRangeStart`),this.root.push(new Es({id:e,name:t,author:n,date:r}))}},js=class extends b{constructor(e){super(`w:moveToRangeEnd`),this.root.push(new Ds({id:e}))}}})),Ns,Ps=r((()=>{j(),Ns=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:divId`})})),Fs,Is,Ls,Rs=r((()=>{co(),Fs=function(e){return e.NONE=`none`,e.RELATIVE=`relative`,e.NO_CONTEXT=`no_context`,e.FULL_CONTEXT=`full_context`,e}({}),Is={relative:`\\r`,no_context:`\\n`,full_context:`\\w`,none:void 0},Ls=class extends oo{constructor(e,t,n={}){let{hyperlink:r=!0,referenceFormat:i=`full_context`}=n,a=`${`REF ${e}`} ${[...r?[`\\h`]:[],...[Is[i]].filter(e=>!!e)].join(` `)}`;super(a,t)}}})),zs,Bs=r((()=>{j(),zs=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:outlineLvl`})})),Vs,Hs=r((()=>{Bn(),j(),eo(),Vs=class extends b{constructor(e,t={}){super(`w:instrText`),this.root.push(new $a({space:Rn.PRESERVE}));let n=`PAGEREF ${e}`;t.hyperlink&&(n=`${n} \\h`),t.useRelativePosition&&(n=`${n} \\p`),this.root.push(n)}}})),Us,Ws=r((()=>{Gt(),Yo(),Hs(),Us=class extends V{constructor(e,t={}){super({children:[Ut(!0),new Vs(e,t),I()]})}}})),Gs,Ks,qs,Js=r((()=>{j(),Gs=class extends y{xmlKeys={val:`w:val`}},Ks=class extends b{constructor(e){super(`w:dir`),this.root.push(new Gs({val:e.val}));for(let t of e.children)this.root.push(t)}},qs=class extends b{constructor(e){super(`w:bdo`),this.root.push(new Gs({val:e.val}));for(let t of e.children)this.root.push(t)}}})),Ys=r((()=>{pi(),Ts(),Ms(),Ps(),Rs(),Bs(),Ws(),Js()})),Xs,Zs,Qs,$s=r((()=>{j(),Xs={ANSI:`00`,ARABIC:`B2`,BALTIC:`BA`,CHINESEBIG5:`88`,DEFAULT:`01`,EASTEUROPE:`EE`,GB_2312:`86`,GREEK:`A1`,HANGUL:`81`,HEBREW:`B1`,JIS:`80`,JOHAB:`82`,MAC:`4D`,OEM:`FF`,RUSSIAN:`CC`,SYMBOL:`02`,THAI:`DE`,TURKISH:`A2`,VIETNAMESE:`A3`},Zs=({id:e,fontKey:t,subsetted:n},r)=>new o({attributes:{id:{key:`r:id`,value:e},...t?{fontKey:{key:`w:fontKey`,value:`{${t}}`}}:{}},children:n?[new h(`w:subsetted`,n)]:[],name:r}),Qs=({name:e,altName:t,panose1:n,charset:r,family:i,notTrueType:a,pitch:s,sig:c,embedRegular:l,embedBold:u,embedItalic:d,embedBoldItalic:f})=>new o({attributes:{name:{key:`w:name`,value:e}},children:[...t?[_t(`w:altName`,t)]:[],...n?[_t(`w:panose1`,n)]:[],...r?[_t(`w:charset`,r)]:[],...i?[_t(`w:family`,i)]:[],...a?[new h(`w:notTrueType`,a)]:[],...s?[_t(`w:pitch`,s)]:[],...c?[new o({attributes:{csb0:{key:`w:csb0`,value:c.csb0},csb1:{key:`w:csb1`,value:c.csb1},usb0:{key:`w:usb0`,value:c.usb0},usb1:{key:`w:usb1`,value:c.usb1},usb2:{key:`w:usb2`,value:c.usb2},usb3:{key:`w:usb3`,value:c.usb3}},name:`w:sig`})]:[],...l?[Zs(l,`w:embedRegular`)]:[],...u?[Zs(u,`w:embedBold`)]:[],...d?[Zs(d,`w:embedItalic`)]:[],...f?[Zs(f,`w:embedBoldItalic`)]:[]],name:`w:font`})})),ec,tc=r((()=>{$s(),ec=({name:e,index:t,fontKey:n,characterSet:r})=>Qs({charset:r,embedRegular:{fontKey:n,id:`rId${t}`},family:`auto`,name:e,pitch:`variable`,sig:{csb0:`000001FF`,csb1:`00000000`,usb0:`E0002AFF`,usb1:`C000247B`,usb2:`00000009`,usb3:`00000000`}})})),nc,rc=r((()=>{j(),tc(),nc=e=>new o({attributes:{Ignorable:{key:`mc:Ignorable`,value:`w14 w15 w16se w16cid w16 w16cex w16sdtdh`},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`},w16:{key:`xmlns:w16`,value:`http://schemas.microsoft.com/office/word/2018/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`},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`}},children:e.map((e,t)=>ec({characterSet:e.characterSet,fontKey:e.fontKey,index:t+1,name:e.name})),name:`w:fonts`})})),ic,ac=r((()=>{uo(),H(),rc(),ic=class{fontTable;relationships;fontOptionsWithKey=[];constructor(e){this.options=e,this.fontOptionsWithKey=e.map(e=>({...e,fontKey:je()})),this.fontTable=nc(this.fontOptionsWithKey),this.relationships=new g;for(let t=0;t<e.length;t++)this.relationships.addRelationship(t+1,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/font`,`fonts/${e[t].name}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}}})),oc,sc=r((()=>{j(),oc=()=>new o({attributes:{val:{key:`w:val`,value:0}},name:`w:wordWrap`})})),cc,lc,uc,dc,fc=r((()=>{j(),cc={NONE:`none`,DROP:`drop`,MARGIN:`margin`},lc={MARGIN:`margin`,PAGE:`page`,TEXT:`text`},uc={AROUND:`around`,AUTO:`auto`,NONE:`none`,NOT_BESIDE:`notBeside`,THROUGH:`through`,TIGHT:`tight`},dc=e=>new o({attributes:{alignmentX:{key:`w:xAlign`,value:e.alignment?e.alignment.x:void 0},alignmentY:{key:`w:yAlign`,value:e.alignment?e.alignment.y:void 0},anchorHorizontal:{key:`w:hAnchor`,value:e.anchor.horizontal},anchorLock:{key:`w:anchorLock`,value:e.anchorLock},anchorVertical:{key:`w:vAnchor`,value:e.anchor.vertical},dropCap:{key:`w:dropCap`,value:e.dropCap},height:{key:`w:h`,value:e.height},lines:{key:`w:lines`,value:e.lines},rule:{key:`w:hRule`,value:e.rule},spaceHorizontal:{key:`w:hSpace`,value:e.space?.horizontal},spaceVertical:{key:`w:vSpace`,value:e.space?.vertical},width:{key:`w:w`,value:e.width},wrap:{key:`w:wrap`,value:e.wrap},x:{key:`w:x`,value:e.position?e.position.x:void 0},y:{key:`w:y`,value:e.position?e.position.y:void 0}},name:`w:framePr`})})),pc,mc,hc,gc,_c=r((()=>{R(),j(),K(),ac(),nn(),bt(),Dt(),ts(),kt(),jt(),is(),ss(),ps(),_s(),sc(),fc(),Ys(),pc={TOP:`top`,CENTER:`center`,BASELINE:`baseline`,BOTTOM:`bottom`,AUTO:`auto`},mc={NONE:`none`,ALL_LINES:`allLines`,FIRST_AND_LAST_LINE:`firstAndLastLine`,FIRST_LINE_ONLY:`firstLineOnly`,LAST_LINE_ONLY:`lastLineOnly`},hc=class extends p{numberingReferences=[];constructor(e){if(super(`w:pPr`,e?.includeIfEmpty),!e)return this;e.heading&&this.push(os(e.heading)),e.bullet&&this.push(os(`ListParagraph`)),e.numbering&&!e.style&&!e.heading&&(e.numbering.custom||this.push(os(`ListParagraph`))),e.style&&this.push(os(e.style)),e.keepNext!==void 0&&this.push(new h(`w:keepNext`,e.keepNext)),e.keepLines!==void 0&&this.push(new h(`w:keepLines`,e.keepLines)),e.pageBreakBefore&&this.push(new es),e.frame&&this.push(dc(e.frame)),e.widowControl!==void 0&&this.push(new h(`w:widowControl`,e.widowControl)),e.bullet&&this.push(new ms(1,e.bullet.level)),e.numbering?(this.numberingReferences.push({instance:e.numbering.instance??0,reference:e.numbering.reference}),this.push(new ms(`${e.numbering.reference}-${e.numbering.instance??0}`,e.numbering.level))):e.numbering===!1&&this.push(new ms(0,0)),e.border&&this.push(new Tt(e.border)),e.thematicBreak&&this.push(new Et),e.shading&&this.push($t(e.shading)),e.wordWrap&&this.push(oc()),e.overflowPunctuation&&this.push(new h(`w:overflowPunct`,e.overflowPunctuation));let t=[...e.rightTabStop===void 0?[]:[{position:e.rightTabStop,type:cs.RIGHT}],...e.tabStops?e.tabStops:[],...e.leftTabStop===void 0?[]:[{position:e.leftTabStop,type:cs.LEFT}]];t.length>0&&this.push(fs(t)),e.bidirectional!==void 0&&this.push(new h(`w:bidi`,e.bidirectional)),e.spacing&&this.push(rs(e.spacing)),e.indent&&this.push(At(e.indent)),e.contextualSpacing!==void 0&&this.push(new h(`w:contextualSpacing`,e.contextualSpacing)),e.alignment&&this.push(yt(e.alignment)),e.outlineLevel!==void 0&&this.push(zs(e.outlineLevel)),e.divId!==void 0&&this.push(Ns(e.divId)),e.cnfStyle!==void 0&&this.push(Ot(e.cnfStyle)),e.suppressLineNumbers!==void 0&&this.push(new h(`w:suppressLineNumbers`,e.suppressLineNumbers)),e.autoSpaceEastAsianText!==void 0&&this.push(new h(`w:autoSpaceDN`,e.autoSpaceEastAsianText)),e.suppressAutoHyphens!==void 0&&this.push(new h(`w:suppressAutoHyphens`,e.suppressAutoHyphens)),e.adjustRightInd!==void 0&&this.push(new h(`w:adjustRightInd`,e.adjustRightInd)),e.snapToGrid!==void 0&&this.push(new h(`w:snapToGrid`,e.snapToGrid)),e.mirrorIndents!==void 0&&this.push(new h(`w:mirrorIndents`,e.mirrorIndents)),e.kinsoku!==void 0&&this.push(new h(`w:kinsoku`,e.kinsoku)),e.topLinePunct!==void 0&&this.push(new h(`w:topLinePunct`,e.topLinePunct)),e.autoSpaceDE!==void 0&&this.push(new h(`w:autoSpaceDE`,e.autoSpaceDE)),e.textAlignment!==void 0&&this.push(new o({attributes:{val:{key:`w:val`,value:e.textAlignment}},name:`w:textAlignment`})),e.textboxTightWrap!==void 0&&this.push(new o({attributes:{val:{key:`w:val`,value:e.textboxTightWrap}},name:`w:textboxTightWrap`})),e.textDirection!==void 0&&this.push(new o({attributes:{val:{key:`w:val`,value:e.textDirection}},name:`w:textDirection`})),e.suppressOverlap!==void 0&&this.push(new h(`w:suppressOverlap`,e.suppressOverlap)),e.run&&this.push(new An(e.run)),e.revision&&this.push(new gc(e.revision))}push(e){this.root.push(e)}prepForXml(e){if(!(e.viewWrapper instanceof ic))for(let t of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(t.reference,t.instance);return super.prepForXml(e)}},gc=class extends b{constructor(e){super(`w:pPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new hc({...e,includeIfEmpty:!0}))}}})),U,vc=r((()=>{j(),H(),mi(),Ys(),_c(),Yo(),Ga(),Ha(),Ja(),U=class extends a{fileChild=Symbol();options;frontRuns=[];sectionProperties;constructor(e){super(`w:p`),typeof e==`string`?this.options={text:e}:this.options=e}prepForXml(e){let t=[],n=new hc(this.options);this.sectionProperties&&n.push(this.sectionProperties);let r=n.prepForXml(e);r&&t.push(r);for(let n of this.frontRuns){let r=n.prepForXml(e);r&&t.push(r)}if(this.options.text){let n=new Gn(this.options.text).prepForXml(e);n&&t.push(n)}if(this.options.children)for(let n of this.options.children){if(n instanceof fi){let r=new ui(n.options.children,Oe());e.viewWrapper.Relationships.addRelationship(r.linkId,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,n.options.link,se.EXTERNAL);let i=r.prepForXml(e);i&&t.push(i);continue}if(n instanceof Ss){let r=n.start.prepForXml(e);r&&t.push(r);for(let r of n.children)if(r instanceof a){let n=r.prepForXml(e);n&&t.push(n)}let i=n.end.prepForXml(e);i&&t.push(i);continue}let r;r=typeof n==`string`?new Gn(n):n instanceof a?n:`chart`in n?new Wa(n.chart):`smartArt`in n?new qa(n.smartArt):`image`in n?new Va(n.image):new Gn(n);let i=r.prepForXml(e);i&&t.push(i)}return{"w:p":t.length>0?t:{}}}addRunToFront(e){return this.frontRuns.push(e),this}setSectionProperties(e){this.sectionProperties=e}}})),yc,bc=r((()=>{j(),yc=({accent:e})=>new o({attributes:{accent:{key:`m:val`,value:e}},name:`m:chr`})})),W,xc=r((()=>{j(),W=({children:e})=>new o({children:e,name:`m:e`})})),Sc,Cc=r((()=>{j(),Sc=({value:e})=>new o({attributes:{value:{key:`m:val`,value:e||`undOvr`}},name:`m:limLoc`})})),wc,Tc=r((()=>{j(),wc=()=>new o({attributes:{hide:{key:`m:val`,value:1}},name:`m:subHide`})})),Ec,Dc=r((()=>{j(),Ec=()=>new o({attributes:{hide:{key:`m:val`,value:1}},name:`m:supHide`})})),Oc,kc=r((()=>{j(),bc(),Cc(),Tc(),Dc(),Oc=({accent:e,hasSuperScript:t,hasSubScript:n,limitLocationVal:r,grow:i})=>{let a=[];return e&&a.push(yc({accent:e})),a.push(Sc({value:r})),i!==void 0&&a.push(new h(`m:grow`,i)),n||a.push(wc()),t||a.push(Ec()),new o({children:a,name:`m:naryPr`})}})),Ac,jc=r((()=>{j(),Ac=({children:e})=>new o({children:e,name:`m:sub`})})),Mc,Nc=r((()=>{j(),Mc=({children:e})=>new o({children:e,name:`m:sup`})})),Pc,Fc=r((()=>{j(),xc(),kc(),jc(),Nc(),Pc=class extends b{constructor(e){super(`m:nary`),this.root.push(Oc({accent:`∑`,hasSubScript:!!e.subScript,hasSuperScript:!!e.superScript})),this.root.push(Ac({children:e.subScript??[]})),this.root.push(Mc({children:e.superScript??[]})),this.root.push(W({children:e.children}))}}})),Ic,Lc=r((()=>{j(),xc(),kc(),jc(),Nc(),Ic=class extends b{constructor(e){super(`m:nary`),this.root.push(Oc({accent:``,hasSubScript:!!e.subScript,hasSuperScript:!!e.superScript,limitLocationVal:`subSup`})),this.root.push(Ac({children:e.subScript??[]})),this.root.push(Mc({children:e.superScript??[]})),this.root.push(W({children:e.children}))}}})),Rc,zc=r((()=>{j(),Rc=class extends b{constructor(e){super(`m:lim`);for(let t of e)this.root.push(t)}}})),Bc,Vc=r((()=>{j(),Bc=e=>{let t=[];return e?.insertionReference!==void 0&&t.push(new o({attributes:{id:{key:`w:id`,value:e.insertionReference}},name:`w:ins`})),e?.deletionReference!==void 0&&t.push(new o({attributes:{id:{key:`w:id`,value:e.deletionReference}},name:`w:del`})),new o({children:t,name:`m:ctrlPr`})}})),Hc,Uc=r((()=>{j(),Vc(),Hc=e=>{let t=[];return e?.controlProperties!==void 0&&t.push(Bc(e.controlProperties)),new o({children:t,name:`m:limUppPr`})}})),Wc,Gc=r((()=>{j(),xc(),zc(),Uc(),Wc=class extends b{constructor(e){super(`m:limUpp`),e.properties&&this.root.push(Hc(e.properties)),this.root.push(W({children:e.children})),this.root.push(new Rc(e.limit))}}})),Kc,qc=r((()=>{j(),Vc(),Kc=e=>{let t=[];return e?.controlProperties!==void 0&&t.push(Bc(e.controlProperties)),new o({children:t,name:`m:limLowPr`})}})),Jc,Yc=r((()=>{j(),xc(),zc(),qc(),Jc=class extends b{constructor(e){super(`m:limLow`),e.properties&&this.root.push(Kc(e.properties)),this.root.push(W({children:e.children})),this.root.push(new Rc(e.limit))}}})),G=r((()=>{bc(),xc(),Cc(),kc(),jc(),Fc(),Lc(),Nc(),zc(),Gc(),Uc(),Yc(),qc()})),Xc,Zc=r((()=>{j(),Xc=e=>new o({children:[new o({attributes:{val:{key:`m:val`,value:e.accentCharacter}},name:`m:chr`})],name:`m:accPr`})})),Qc,$c=r((()=>{j(),G(),Zc(),Qc=({accentCharacter:e,children:t})=>new o({children:[...e?[Xc({accentCharacter:e})]:[],W({children:t})],name:`m:acc`})})),el=r((()=>{$c(),Zc()})),tl,nl=r((()=>{j(),tl=({val:e})=>new o({attributes:{val:{key:`m:val`,value:e}},name:`m:pos`})})),rl,il=r((()=>{j(),nl(),rl=({type:e})=>new o({children:[tl({val:e})],name:`m:barPr`})})),al,ol=r((()=>{j(),G(),il(),al=({type:e,children:t})=>new o({children:[rl({type:e}),W({children:t})],name:`m:bar`})})),sl=r((()=>{ol(),il()})),cl,ll=r((()=>{j(),cl=e=>{let t=[];return e.hideTop!==void 0&&t.push(new h(`m:hideTop`,e.hideTop)),e.hideBottom!==void 0&&t.push(new h(`m:hideBot`,e.hideBottom)),e.hideLeft!==void 0&&t.push(new h(`m:hideLeft`,e.hideLeft)),e.hideRight!==void 0&&t.push(new h(`m:hideRight`,e.hideRight)),e.strikeHorizontal!==void 0&&t.push(new h(`m:strikeH`,e.strikeHorizontal)),e.strikeVertical!==void 0&&t.push(new h(`m:strikeV`,e.strikeVertical)),e.strikeDiagonalUp!==void 0&&t.push(new h(`m:strikeBLTR`,e.strikeDiagonalUp)),e.strikeDiagonalDown!==void 0&&t.push(new h(`m:strikeTLBR`,e.strikeDiagonalDown)),new o({children:t,name:`m:borderBoxPr`})}})),ul,dl=r((()=>{j(),G(),ll(),ul=class extends b{constructor(e){super(`m:borderBox`),e.properties&&this.root.push(cl(e.properties)),this.root.push(W({children:e.children}))}}})),fl=r((()=>{dl(),ll()})),pl,ml=r((()=>{j(),pl=e=>{let t=[];return e.opEmu!==void 0&&t.push(new h(`m:opEmu`,e.opEmu)),e.noBreak!==void 0&&t.push(new h(`m:noBreak`,e.noBreak)),e.diff!==void 0&&t.push(new h(`m:diff`,e.diff)),e.aln!==void 0&&t.push(new h(`m:aln`,e.aln)),new o({children:t,name:`m:boxPr`})}})),hl,gl=r((()=>{j(),G(),ml(),hl=class extends b{constructor(e){super(`m:box`),e.properties&&this.root.push(pl(e.properties)),this.root.push(W({children:e.children}))}}})),_l=r((()=>{gl(),ml()})),vl,yl=r((()=>{j(),vl=({character:e})=>new o({attributes:{character:{key:`m:val`,value:e}},name:`m:begChr`})})),bl,xl=r((()=>{j(),bl=({character:e})=>new o({attributes:{character:{key:`m:val`,value:e}},name:`m:endChr`})})),Sl,Cl=r((()=>{j(),yl(),xl(),Sl=({characters:e,separatorCharacter:t,grow:n,shape:r})=>{let i=[];return e&&i.push(vl({character:e.beginningCharacter})),t!==void 0&&i.push(new o({attributes:{val:{key:`m:val`,value:t}},name:`m:sepChr`})),e&&i.push(bl({character:e.endingCharacter})),n!==void 0&&i.push(new h(`m:grow`,n)),r!==void 0&&i.push(new o({attributes:{val:{key:`m:val`,value:r}},name:`m:shp`})),new o({children:i,name:`m:dPr`})}})),wl,Tl=r((()=>{j(),G(),Cl(),wl=class extends b{constructor(e){super(`m:d`),this.root.push(Sl({})),this.root.push(W({children:e.children}))}}})),El,Dl=r((()=>{j(),G(),Cl(),El=class extends b{constructor(e){super(`m:d`),this.root.push(Sl({characters:{beginningCharacter:`[`,endingCharacter:`]`}})),this.root.push(W({children:e.children}))}}})),Ol,kl=r((()=>{j(),G(),Cl(),Ol=class extends b{constructor(e){super(`m:d`),this.root.push(Sl({characters:{beginningCharacter:`{`,endingCharacter:`}`}})),this.root.push(W({children:e.children}))}}})),Al,jl=r((()=>{j(),G(),Cl(),Al=class extends b{constructor(e){super(`m:d`),this.root.push(Sl({characters:{beginningCharacter:`〈`,endingCharacter:`〉`}})),this.root.push(W({children:e.children}))}}})),Ml=r((()=>{Tl(),Dl(),kl(),jl()})),Nl,Pl=r((()=>{j(),Nl=e=>{let t=[];return e.baseJc!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.baseJc}},name:`m:baseJc`})),e.maxDist!==void 0&&t.push(new h(`m:maxDist`,e.maxDist)),e.objDist!==void 0&&t.push(new h(`m:objDist`,e.objDist)),e.rSpRule!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rSpRule}},name:`m:rSpRule`})),e.rSp!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rSp}},name:`m:rSp`})),new o({children:t,name:`m:eqArrPr`})}})),Fl,Il=r((()=>{j(),G(),Pl(),Fl=class extends b{constructor(e){super(`m:eqArr`),e.properties&&this.root.push(Nl(e.properties));for(let t of e.rows)this.root.push(W({children:t}))}}})),Ll=r((()=>{Il(),Pl()})),Rl,zl=r((()=>{j(),Rl=class extends b{constructor(e){super(`m:den`);for(let t of e)this.root.push(t)}}})),Bl,Vl,Hl=r((()=>{j(),Bl={BAR:`bar`,SKEWED:`skw`,LINEAR:`lin`,NO_BAR:`noBar`},Vl=e=>{let t=[];return e.fractionType&&t.push(new o({attributes:{val:{key:`m:val`,value:Bl[e.fractionType]}},name:`m:type`})),new o({children:t,name:`m:fPr`})}})),Ul,Wl=r((()=>{j(),Ul=class extends b{constructor(e){super(`m:num`);for(let t of e)this.root.push(t)}}})),Gl,Kl=r((()=>{j(),zl(),Hl(),Wl(),Gl=class extends b{constructor(e){super(`m:f`),e.fractionType&&this.root.push(Vl({fractionType:e.fractionType})),this.root.push(new Ul(e.numerator)),this.root.push(new Rl(e.denominator))}}})),ql=r((()=>{Kl(),Hl(),zl(),Wl()})),Jl,Yl=r((()=>{j(),Jl=class extends b{constructor(e){super(`m:fName`);for(let t of e)this.root.push(t)}}})),Xl,Zl=r((()=>{j(),Vc(),Xl=e=>{let t=[];return e?.controlProperties!==void 0&&t.push(Bc(e.controlProperties)),new o({children:t,name:`m:funcPr`})}})),Ql,$l=r((()=>{j(),G(),Yl(),Zl(),Ql=class extends b{constructor(e){super(`m:func`),e.properties&&this.root.push(Xl(e.properties)),this.root.push(new Jl(e.name)),this.root.push(W({children:e.children}))}}})),eu=r((()=>{$l(),Yl(),Zl()})),tu,nu=r((()=>{j(),tu=e=>{let t=[];return e.chr!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.chr}},name:`m:chr`})),e.pos!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.pos}},name:`m:pos`})),e.vertJc!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.vertJc}},name:`m:vertJc`})),new o({children:t,name:`m:groupChrPr`})}})),ru,iu=r((()=>{j(),G(),nu(),ru=class extends b{constructor(e){super(`m:groupChr`),e.properties&&this.root.push(tu(e.properties)),this.root.push(W({children:e.children}))}}})),au=r((()=>{iu(),nu()})),ou,su=r((()=>{j(),ou=class extends b{constructor(e){super(`m:oMath`);for(let t of e.children)this.root.push(t)}}})),cu,lu=r((()=>{cu=``})),uu,du,fu=r((()=>{j(),su(),uu=e=>new o({children:[new o({attributes:{val:{key:`m:val`,value:e}},name:`m:jc`})],name:`m:oMathParaPr`}),du=class extends b{constructor(e){super(`m:oMathPara`),e.justification&&this.root.push(uu(e.justification));for(let t of e.children)this.root.push(new ou(t))}}})),pu,mu=r((()=>{j(),pu=e=>{let t=[];return e.mathFont!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.mathFont}},name:`m:mathFont`})),e.breakBin!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.breakBin}},name:`m:brkBin`})),e.breakBinSub!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.breakBinSub}},name:`m:brkBinSub`})),e.smallFrac!==void 0&&t.push(new h(`m:smallFrac`,e.smallFrac)),e.displayDefault!==void 0&&t.push(new h(`m:dispDef`,e.displayDefault)),e.leftMargin!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.leftMargin.toString()}},name:`m:lMargin`})),e.rightMargin!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rightMargin.toString()}},name:`m:rMargin`})),e.defaultJustification!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.defaultJustification}},name:`m:defJc`})),e.preSpacing!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.preSpacing.toString()}},name:`m:preSp`})),e.postSpacing!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.postSpacing.toString()}},name:`m:postSp`})),e.interSpacing!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.interSpacing.toString()}},name:`m:interSp`})),e.intraSpacing!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.intraSpacing.toString()}},name:`m:intraSp`})),e.wrapIndent!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.wrapIndent.toString()}},name:`m:wrapIndent`})),e.wrapRight!==void 0&&t.push(new h(`m:wrapRight`,e.wrapRight)),e.integralLimitLocation!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.integralLimitLocation}},name:`m:intLim`})),e.naryLimitLocation!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.naryLimitLocation}},name:`m:naryLim`})),new o({children:t,name:`m:mathPr`})}})),hu,gu=r((()=>{j(),hu=e=>{let t=[];return e.lit!==void 0&&t.push(new h(`m:lit`,e.lit)),e.normal===void 0?(e.script!==void 0||e.style!==void 0)&&(e.script!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.script}},name:`m:scr`})),e.style!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.style}},name:`m:sty`}))):t.push(new h(`m:nor`,e.normal)),e.breakAlignment!==void 0&&t.push(new o({attributes:{alnAt:{key:`m:alnAt`,value:e.breakAlignment.toString()}},name:`m:brk`})),e.align!==void 0&&t.push(new h(`m:aln`,e.align)),new o({children:t,name:`m:rPr`})}})),_u,vu=r((()=>{j(),_u=class extends b{constructor(e){super(`m:t`),this.root.push(e)}}})),yu,bu=r((()=>{j(),gu(),vu(),yu=class extends b{constructor(e){super(`m:r`);let t=typeof e==`string`?{text:e}:e;t.properties&&this.root.push(hu(t.properties)),this.root.push(new _u(t.text))}}})),xu,Su=r((()=>{j(),xu=e=>{let t=[];return e.baseJc!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.baseJc}},name:`m:baseJc`})),e.plcHide!==void 0&&t.push(new h(`m:plcHide`,e.plcHide)),e.rSpRule!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rSpRule}},name:`m:rSpRule`})),e.cGpRule!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.cGpRule}},name:`m:cGpRule`})),e.rSp!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.rSp}},name:`m:rSp`})),e.cSp!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.cSp}},name:`m:cSp`})),e.cGp!==void 0&&t.push(new o({attributes:{val:{key:`m:val`,value:e.cGp}},name:`m:cGp`})),new o({children:t,name:`m:mPr`})}})),Cu,wu=r((()=>{j(),G(),Su(),Cu=class extends b{constructor(e){super(`m:m`),e.properties&&this.root.push(xu(e.properties));for(let t of e.rows)this.root.push(new o({children:t.map(e=>W({children:Array.isArray(e)?e:[e]})),name:`m:mr`}))}}})),Tu=r((()=>{wu(),Su()})),Eu,Du=r((()=>{j(),Eu=e=>{let t=[];return e.show!==void 0&&t.push(new h(`m:show`,e.show)),e.zeroWid!==void 0&&t.push(new h(`m:zeroWid`,e.zeroWid)),e.zeroAsc!==void 0&&t.push(new h(`m:zeroAsc`,e.zeroAsc)),e.zeroDesc!==void 0&&t.push(new h(`m:zeroDesc`,e.zeroDesc)),e.transp!==void 0&&t.push(new h(`m:transp`,e.transp)),new o({children:t,name:`m:phantPr`})}})),Ou,ku=r((()=>{j(),G(),Du(),Ou=class extends b{constructor(e){super(`m:phant`),e.properties&&this.root.push(Eu(e.properties)),this.root.push(W({children:e.children}))}}})),Au=r((()=>{ku(),Du()})),ju,Mu=r((()=>{j(),ju=class extends b{constructor(e){if(super(`m:deg`),e)for(let t of e)this.root.push(t)}}})),Nu,Pu,Fu=r((()=>{j(),Nu=class extends y{xmlKeys={hide:`m:val`}},Pu=class extends b{constructor(){super(`m:degHide`),this.root.push(new Nu({hide:1}))}}})),Iu,Lu=r((()=>{j(),Fu(),Iu=class extends b{constructor(e){super(`m:radPr`),e||this.root.push(new Pu)}}})),Ru,zu=r((()=>{j(),G(),Mu(),Lu(),Ru=class extends b{constructor(e){super(`m:rad`),this.root.push(new Iu(!!e.degree)),this.root.push(new ju(e.degree)),this.root.push(W({children:e.children}))}}})),Bu=r((()=>{Mu(),zu(),Lu()})),Vu,Hu=r((()=>{j(),Vu=()=>new o({name:`m:sSupPr`})})),Uu,Wu=r((()=>{j(),G(),Hu(),Uu=class extends b{constructor(e){super(`m:sSup`),this.root.push(Vu()),this.root.push(W({children:e.children})),this.root.push(Mc({children:e.superScript}))}}})),Gu=r((()=>{Wu(),Hu()})),Ku,qu=r((()=>{j(),Ku=()=>new o({name:`m:sSubPr`})})),Ju,Yu=r((()=>{j(),G(),qu(),Ju=class extends b{constructor(e){super(`m:sSub`),this.root.push(Ku()),this.root.push(W({children:e.children})),this.root.push(Ac({children:e.subScript}))}}})),Xu=r((()=>{Yu(),qu()})),Zu,Qu=r((()=>{j(),Zu=e=>{let t=[];return e?.alignScripts!==void 0&&t.push(new h(`m:alnScr`,e.alignScripts)),new o({children:t,name:`m:sSubSupPr`})}})),$u,ed=r((()=>{j(),G(),Qu(),$u=class extends b{constructor(e){super(`m:sSubSup`),this.root.push(Zu()),this.root.push(W({children:e.children})),this.root.push(Ac({children:e.subScript})),this.root.push(Mc({children:e.superScript}))}}})),td=r((()=>{ed(),Qu()})),nd,rd=r((()=>{j(),nd=()=>new o({name:`m:sPrePr`})})),id,ad=r((()=>{j(),G(),rd(),id=class extends o{constructor({children:e,subScript:t,superScript:n}){super({children:[nd(),Ac({children:t}),Mc({children:n}),W({children:e})],name:`m:sPre`})}}})),od=r((()=>{ad(),rd()})),sd=r((()=>{Gu(),Xu(),td(),od()})),cd=r((()=>{el(),sl(),fl(),_l(),Ml(),Ll(),ql(),eu(),au(),su(),lu(),Vc(),fu(),mu(),bu(),gu(),Tu(),G(),Au(),Bu(),sd()})),ld=r((()=>{fc()})),K=r((()=>{vs(),vc(),_c(),Yo(),Ys(),cd(),ld()}));function ud(e){return/<(!DOCTYPE|html|HTML)/i.test(e)?e:`<!DOCTYPE html>\n<html><head><meta charset="utf-8"></head>\n<body>${e}</body></html>`}var dd,fd,pd,md=r((()=>{j(),H(),dd=class extends y{xmlKeys={id:`r:id`}},fd=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk`,pd=class extends b{fileChild=Symbol();options;constructor(e){if(super(`w:altChunk`),this.options=e,e.matchSrc){let e=new u(`w:altChunkPr`);e.addChildElement(new u(`w:matchSrc`)),this.root.push(e)}}prepForXml(e){let t=Oe(),n=this.options.extension;this.root.splice(0,0,new dd({id:`rId${t}`}));let r=`afchunks/afchunk${t}.${n}`,i=typeof this.options.data==`string`?new TextEncoder().encode(this.options.data):this.options.data,a=this.options.contentType===`text/html`&&typeof this.options.data==`string`?new TextEncoder().encode(ud(this.options.data)):i;return e.viewWrapper.Relationships.addRelationship(t,fd,r),e.file.AltChunks.addAltChunk(t,{key:t,data:a,path:r,extension:n,contentType:this.options.contentType}),e.file.ContentTypes.addAltChunk(`/word/${r}`,this.options.contentType,n),super.prepForXml(e)}}})),hd,gd=r((()=>{eo(),Bn(),j(),hd=class extends b{properties;constructor(e={}){super(`w:instrText`),this.properties=e,this.root.push(new $a({space:Rn.PRESERVE}));let t=`TOC`;if(this.properties.captionLabel&&(t=`${t} \\a "${this.properties.captionLabel}"`),this.properties.entriesFromBookmark&&(t=`${t} \\b "${this.properties.entriesFromBookmark}"`),this.properties.captionLabelIncludingNumbers&&(t=`${t} \\c "${this.properties.captionLabelIncludingNumbers}"`),this.properties.sequenceAndPageNumbersSeparator&&(t=`${t} \\d "${this.properties.sequenceAndPageNumbersSeparator}"`),this.properties.tcFieldIdentifier&&(t=`${t} \\f "${this.properties.tcFieldIdentifier}"`),this.properties.hyperlink&&(t=`${t} \\h`),this.properties.tcFieldLevelRange&&(t=`${t} \\l "${this.properties.tcFieldLevelRange}"`),this.properties.pageNumbersEntryLevelsRange&&(t=`${t} \\n "${this.properties.pageNumbersEntryLevelsRange}"`),this.properties.headingStyleRange&&(t=`${t} \\o "${this.properties.headingStyleRange}"`),this.properties.entryAndPageNumberSeparator&&(t=`${t} \\p "${this.properties.entryAndPageNumberSeparator}"`),this.properties.seqFieldIdentifierForPrefix&&(t=`${t} \\s "${this.properties.seqFieldIdentifierForPrefix}"`),this.properties.stylesWithLevels&&this.properties.stylesWithLevels.length){let e=this.properties.stylesWithLevels.map(e=>`${e.styleName},${e.level}`).join(`,`);t=`${t} \\t "${e}"`}this.properties.useAppliedParagraphOutlineLevel&&(t=`${t} \\u`),this.properties.preserveTabInEntries&&(t=`${t} \\w`),this.properties.preserveNewLineInEntries&&(t=`${t} \\x`),this.properties.hideTabAndPageNumbersInWebView&&(t=`${t} \\z`),this.root.push(t)}}})),_d,vd=r((()=>{j(),_d=class extends b{constructor(){super(`w:sdtContent`)}}})),yd,bd,xd,Sd,Cd,wd,Td,Ed,Dd=r((()=>{j(),yd={SDT_LOCKED:`sdtLocked`,CONTENT_LOCKED:`contentLocked`,UNLOCKED:`unlocked`,SDT_CONTENT_LOCKED:`sdtContentLocked`},bd={TEXT:`text`,DATE:`date`,DATE_TIME:`dateTime`},xd=(e,t)=>{let n={};e.displayText!==void 0&&(n.displayText={key:`w:displayText`,value:e.displayText});let r=e.value??(t?e.displayText:void 0);return r!==void 0&&(n.value={key:`w:value`,value:r}),new o({name:`w:listItem`,attributes:n})},Sd=(e,t)=>{let n=[];if(t.items)for(let r of t.items)n.push(xd(r,e===`w:dropDownList`));let r={};return t.lastValue!==void 0&&(r.lastValue={key:`w:lastValue`,value:t.lastValue}),new o({name:e,attributes:Object.keys(r).length>0?r:void 0,children:n.length>0?n:void 0})},Cd=e=>{let t=[];e.dateFormat!==void 0&&t.push(new v(`w:dateFormat`,e.dateFormat)),e.languageId!==void 0&&t.push(new v(`w:lid`,e.languageId)),e.storeMappedDataAs!==void 0&&t.push(new o({name:`w:storeMappedDataAs`,attributes:{val:{key:`w:val`,value:e.storeMappedDataAs}}})),e.calendar!==void 0&&t.push(new o({name:`w:calendar`,attributes:{val:{key:`w:val`,value:e.calendar}}}));let n={};return e.fullDate!==void 0&&(n.fullDate={key:`w:fullDate`,value:e.fullDate}),new o({name:`w:date`,attributes:Object.keys(n).length>0?n:void 0,children:t.length>0?t:void 0})},wd=e=>{let t={xpath:{key:`w:xpath`,value:e.xpath},storeItemID:{key:`w:storeItemID`,value:e.storeItemID}};return e.prefixMappings!==void 0&&(t.prefixMappings={key:`w:prefixMappings`,value:e.prefixMappings}),new o({name:`w:dataBinding`,attributes:t})},Td=(e,t)=>{let n=[];return t.gallery!==void 0&&n.push(new v(`w:docPartGallery`,t.gallery)),t.category!==void 0&&n.push(new v(`w:docPartCategory`,t.category)),t.unique!==void 0&&n.push(new h(`w:docPartUnique`,t.unique)),new o({name:e,children:n.length>0?n:void 0})},Ed=class extends b{constructor(e){super(`w:sdtPr`);let t=typeof e==`string`?{alias:e}:e;if(!t)return;t.runProperties&&this.root.push(t.runProperties),t.alias!==void 0&&this.root.push(new v(`w:alias`,t.alias)),t.tag!==void 0&&this.root.push(new v(`w:tag`,t.tag)),t.id!==void 0&&this.root.push(new o({name:`w:id`,attributes:{val:{key:`w:val`,value:t.id}}})),t.lock!==void 0&&this.root.push(new o({name:`w:lock`,attributes:{val:{key:`w:val`,value:t.lock}}})),t.placeholder!==void 0&&this.root.push(new o({name:`w:placeholder`,children:t.placeholder.length>0?t.placeholder:void 0})),t.temporary!==void 0&&this.root.push(new h(`w:temporary`,t.temporary));let n=t.showingPlaceholder??(t.placeholder!==void 0&&t.placeholder.length>0);if((t.showingPlaceholder!==void 0||n)&&this.root.push(new h(`w:showingPlcHdr`,n)),t.dataBinding&&this.root.push(wd(t.dataBinding)),t.label!==void 0&&this.root.push(new o({name:`w:label`,attributes:{val:{key:`w:val`,value:t.label}}})),t.tabIndex!==void 0&&this.root.push(new o({name:`w:tabIndex`,attributes:{val:{key:`w:val`,value:t.tabIndex}}})),t.equation)this.root.push(new o({name:`w:equation`}));else if(t.comboBox)this.root.push(Sd(`w:comboBox`,t.comboBox));else if(t.date)this.root.push(Cd(t.date));else if(t.docPartObj)this.root.push(Td(`w:docPartObj`,t.docPartObj));else if(t.docPartList)this.root.push(Td(`w:docPartList`,t.docPartList));else if(t.dropDownList)this.root.push(Sd(`w:dropDownList`,t.dropDownList));else if(t.picture)this.root.push(new o({name:`w:picture`}));else if(t.richText)this.root.push(new o({name:`w:richText`}));else if(t.text!==void 0){let e={};t.text.multiLine===void 0?e.multiLine={key:`w:multiLine`,value:!1}:e.multiLine={key:`w:multiLine`,value:t.text.multiLine},this.root.push(new o({name:`w:text`,attributes:e}))}else t.citation?this.root.push(new o({name:`w:citation`})):t.group?this.root.push(new o({name:`w:group`})):t.bibliography&&this.root.push(new o({name:`w:bibliography`}))}}})),Od,kd=r((()=>{K(),Yo(),Gt(),Un(),j(),gd(),vd(),Dd(),Od=class extends b{fileChild=Symbol();constructor(e=`Table of Contents`,{contentChildren:t=[],cachedEntries:n=[],beginDirty:r=!0,...i}={}){super(`w:sdt`),this.root.push(new Ed({alias:e,docPartObj:{gallery:`Table of Contents`}}));let a=new _d,o=[new V({children:[Ut(r),new hd(i),Wt()]})],s=[new V({children:[I()]})];if(n!==void 0&&n.length>0){let{stylesWithLevels:e}=i,t=n.map((t,r)=>{let a=this.buildCachedContentParagraphChild(t,i),c=e?.find(e=>e.level===t.level)?.styleName??`TOC${t.level}`;return new U({children:r===0?[...o,a]:r===n.length-1?[a,...s]:[a],style:c,tabStops:this.getTabStopsForLevel(t.level)})}),r=t;n.length<=1&&(r=[...t,new U({children:s})]);for(let e of r)a.addChildElement(e)}else{let e=new U({children:o});a.addChildElement(e);for(let e of t)a.addChildElement(e);let n=new U({children:s});a.addChildElement(n)}this.root.push(a)}getTabStopsForLevel(e,t=9025){return[{position:t+1-(e-1)*240,type:`clear`},{leader:`dot`,position:t,type:`right`}]}buildCachedContentRun(e,t){return new V({children:[new Hn({text:e.title}),new Io,new Hn({text:e.page?.toString()??``})],style:t?.hyperlink&&e.href!==void 0?`IndexLink`:void 0})}buildCachedContentParagraphChild(e,t){let n=this.buildCachedContentRun(e,t);return t?.hyperlink&&e.href!==void 0?new di({anchor:e.href,children:[n]}):n}}})),Ad,jd=r((()=>{Ad=class{styleName;level;constructor(e,t){this.styleName=e,this.level=t}}})),Md=r((()=>{kd(),jd(),Dd(),vd()})),Nd,Pd,Fd=r((()=>{j(),Md(),Nd=class extends b{constructor(e){if(super(`w:sdt`),this.root.push(new Ed(e.properties)),e.children&&e.children.length>0){let t=new _d;for(let n of e.children)t.addChildElement(n);this.root.push(t)}}},Pd=class extends b{fileChild=Symbol();constructor(e){if(super(`w:sdt`),this.root.push(new Ed(e.properties)),e.children&&e.children.length>0){let t=new _d;for(let n of e.children)t.addChildElement(n);this.root.push(t)}}}})),Id,Ld,Rd,zd=r((()=>{j(),H(),Id=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument`,Ld=class extends y{xmlKeys={id:`r:id`}},Rd=class extends b{fileChild=Symbol();options;constructor(e){super(`w:subDoc`),this.options=e}prepForXml(e){let t=Oe(),n=`subdocs/subdoc${t}.docx`;this.root.splice(0,0,new Ld({id:`rId${t}`}));let r=typeof this.options.data==`string`?new TextEncoder().encode(this.options.data):this.options.data;return e.viewWrapper.Relationships.addRelationship(t,Id,n),e.file.SubDocs.addSubDoc(t,{data:r,path:n}),e.file.ContentTypes.addSubDoc(`/word/${n}`),super.prepForXml(e)}}})),Bd,Vd=r((()=>{j(),Md(),Bd=class extends b{options;constructor(e){if(super(`w:sdt`),this.options={children:[]},this.root.push(new Ed(e.properties)),e.children&&e.children.length>0){let t=new _d;for(let n of e.children)t.addChildElement(n);this.root.push(t)}}}})),Hd,Ud=r((()=>{j(),_y(),R(),Hd=class extends b{constructor(e){super(`w:ins`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.addChildElement(new Gn(e))}}})),Wd,Gd,Kd,qd=r((()=>{eo(),Bn(),j(),Wd=class extends b{constructor(){super(`w:delInstrText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(`PAGE`)}},Gd=class extends b{constructor(){super(`w:delInstrText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(`NUMPAGES`)}},Kd=class extends b{constructor(){super(`w:delInstrText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(`SECTIONPAGES`)}}})),Jd,Yd=r((()=>{eo(),Bn(),j(),Jd=class extends b{constructor(e){super(`w:delText`),this.root.push(new $a({space:Rn.PRESERVE})),this.root.push(e)}}})),Xd,Zd,Qd=r((()=>{j(),Nt(),Gt(),Mn(),Wn(),R(),qd(),Yd(),Xd=class extends b{deletedTextRunWrapper;constructor(e){super(`w:del`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.deletedTextRunWrapper=new Zd(e),this.addChildElement(this.deletedTextRunWrapper)}},Zd=class extends b{constructor(e){if(super(`w:r`),this.root.push(new kn(e)),e.children)for(let t of e.children){if(typeof t==`string`){switch(t){case B.CURRENT:this.root.push(Ut()),this.root.push(new Wd),this.root.push(Wt()),this.root.push(I());break;case B.TOTAL_PAGES:this.root.push(Ut()),this.root.push(new Gd),this.root.push(Wt()),this.root.push(I());break;case B.TOTAL_PAGES_IN_SECTION:this.root.push(Ut()),this.root.push(new Kd),this.root.push(Wt()),this.root.push(I());break;default:this.root.push(new Jd(t));break}continue}this.root.push(t)}else e.text&&this.root.push(new Jd(e.text));if(e.break)for(let t=0;t<e.break;t++)this.root.splice(1,0,Mt())}}})),$d,ef,tf,nf,rf=r((()=>{j(),Nt(),Gt(),Mn(),Wn(),Un(),R(),$d=class extends b{constructor(e){super(`w:moveFrom`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.addChildElement(new tf(e))}},ef=class extends b{constructor(e){super(`w:moveTo`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.addChildElement(new nf(e))}},tf=class extends b{constructor(e){if(super(`w:r`),this.root.push(new kn(e)),e.children)for(let t of e.children){if(typeof t==`string`){switch(t){case B.CURRENT:this.root.push(Ut()),this.root.push(new Hn(`PAGE`)),this.root.push(Wt()),this.root.push(I());break;case B.TOTAL_PAGES:this.root.push(Ut()),this.root.push(new Hn(`NUMPAGES`)),this.root.push(Wt()),this.root.push(I());break;case B.TOTAL_PAGES_IN_SECTION:this.root.push(Ut()),this.root.push(new Hn(`SECTIONPAGES`)),this.root.push(Wt()),this.root.push(I());break;default:this.root.push(new Hn(t));break}continue}this.root.push(t)}else e.text&&this.root.push(new Hn(e.text));if(e.break)for(let t=0;t<e.break;t++)this.root.splice(1,0,Mt())}},nf=class extends b{constructor(e){if(super(`w:r`),this.root.push(new kn(e)),e.children)for(let t of e.children)this.root.push(t);else e.text&&this.root.push(new Hn(e.text));if(e.break)for(let t=0;t<e.break;t++)this.root.splice(1,0,Mt())}}})),af,of=r((()=>{j(),R(),af=class extends b{constructor(e){super(`w:ins`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),sf,cf=r((()=>{j(),R(),sf=class extends b{constructor(e){super(`w:del`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),lf,uf=r((()=>{j(),R(),lf=class extends b{constructor(e){super(`w:cellIns`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),df,ff=r((()=>{j(),R(),df=class extends b{constructor(e){super(`w:cellDel`),this.root.push(new L({author:e.author,date:e.date,id:e.id}))}}})),pf,mf,hf,gf=r((()=>{j(),pf={CONTINUE:`cont`,RESTART:`rest`},mf=class extends y{xmlKeys={author:`w:author`,date:`w:date`,id:`w:id`,verticalMerge:`w:vMerge`,verticalMergeOriginal:`w:vMergeOrig`}},hf=class extends b{constructor(e){super(`w:cellMerge`),this.root.push(new mf(e))}}})),_f=r((()=>{Ud(),Qd(),rf(),of(),cf(),uf(),ff(),gf()})),vf,yf,bf,xf,Sf=r((()=>{j(),vf={BOTTOM:`bottom`,CENTER:`center`,TOP:`top`},yf={...vf,BOTH:`both`},bf=yf,xf=e=>new o({attributes:{verticalAlign:{key:`w:val`,value:e}},name:`w:vAlign`})})),Cf=r((()=>{Sf()})),wf,Tf,Ef,Df,Of,kf,Af,jf,Mf,Nf=r((()=>{wt(),j(),P(),wf=class extends p{constructor(e){super(`w:tcBorders`),e.top&&this.root.push(F(`w:top`,e.top)),e.start&&this.root.push(F(`w:start`,e.start)),e.left&&this.root.push(F(`w:left`,e.left)),e.bottom&&this.root.push(F(`w:bottom`,e.bottom)),e.end&&this.root.push(F(`w:end`,e.end)),e.right&&this.root.push(F(`w:right`,e.right))}},Tf=class extends y{xmlKeys={val:`w:val`}},Ef=class extends b{constructor(e){super(`w:gridSpan`),this.root.push(new Tf({val:(0,N.decimalNumber)(e)}))}},Df={CONTINUE:`continue`,RESTART:`restart`},Of=class extends y{xmlKeys={val:`w:val`}},kf=class extends b{constructor(e){super(`w:vMerge`),this.root.push(new Of({val:e}))}},Af={BOTTOM_TO_TOP_LEFT_TO_RIGHT:`btLr`,LEFT_TO_RIGHT_TOP_TO_BOTTOM:`lrTb`,TOP_TO_BOTTOM_RIGHT_TO_LEFT:`tbRl`},jf=class extends y{xmlKeys={val:`w:val`}},Mf=class extends b{constructor(e){super(`w:textDirection`),this.root.push(new jf({val:e}))}}})),Pf=r((()=>{Ap(),Nf()})),Ff,If,Lf=r((()=>{j(),P(),Ff={DXA:`dxa`,NIL:`nil`},If=({type:e=Ff.DXA,value:t})=>new o({attributes:{type:{key:`w:type`,value:e},value:{key:`w:w`,value:(0,N.measurementOrPercentValue)(t)}},name:`w:tblCellSpacing`})})),Rf,zf,Bf=r((()=>{j(),P(),Rf={AUTO:`auto`,DXA:`dxa`,NIL:`nil`,PERCENTAGE:`pct`},zf=(e,{type:t=Rf.AUTO,size:n})=>{let r=n;return t===Rf.PERCENTAGE&&typeof n==`number`&&(r=`${n}%`),new o({attributes:{size:{key:`w:w`,value:(0,N.measurementOrPercentValue)(r)},type:{key:`w:type`,value:t}},name:e})}})),Vf,Hf,Uf,Wf=r((()=>{wt(),j(),Vf={color:`auto`,size:0,style:St.NONE},Hf={color:`auto`,size:4,style:St.SINGLE},Uf=class extends b{static NONE={bottom:Vf,insideHorizontal:Vf,insideVertical:Vf,left:Vf,right:Vf,top:Vf};constructor(e){super(`w:tblBorders`),this.root.push(F(`w:top`,e.top??Hf)),this.root.push(F(`w:left`,e.left??Hf)),this.root.push(F(`w:bottom`,e.bottom??Hf)),this.root.push(F(`w:right`,e.right??Hf)),this.root.push(F(`w:insideH`,e.insideHorizontal??Hf)),this.root.push(F(`w:insideV`,e.insideVertical??Hf))}}})),Gf,Kf,qf,Jf,Yf,Xf,Zf,Qf=r((()=>{j(),P(),Gf={MARGIN:`margin`,PAGE:`page`,TEXT:`text`},Kf={CENTER:`center`,INSIDE:`inside`,LEFT:`left`,OUTSIDE:`outside`,RIGHT:`right`},qf={BOTTOM:`bottom`,CENTER:`center`,INLINE:`inline`,INSIDE:`inside`,OUTSIDE:`outside`,TOP:`top`},Jf={NEVER:`never`,OVERLAP:`overlap`},Yf=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:tblOverlap`}),Xf=({horizontalAnchor:e,verticalAnchor:t,absoluteHorizontalPosition:n,relativeHorizontalPosition:r,absoluteVerticalPosition:i,relativeVerticalPosition:a,bottomFromText:s,topFromText:c,leftFromText:l,rightFromText:u})=>new o({attributes:{absoluteHorizontalPosition:{key:`w:tblpX`,value:n===void 0?void 0:(0,N.signedTwipsMeasureValue)(n)},absoluteVerticalPosition:{key:`w:tblpY`,value:i===void 0?void 0:(0,N.signedTwipsMeasureValue)(i)},bottomFromText:{key:`w:bottomFromText`,value:s===void 0?void 0:(0,N.twipsMeasureValue)(s)},horizontalAnchor:{key:`w:horzAnchor`,value:e},leftFromText:{key:`w:leftFromText`,value:l===void 0?void 0:(0,N.twipsMeasureValue)(l)},relativeHorizontalPosition:{key:`w:tblpXSpec`,value:r},relativeVerticalPosition:{key:`w:tblpYSpec`,value:a},rightFromText:{key:`w:rightFromText`,value:u===void 0?void 0:(0,N.twipsMeasureValue)(u)},topFromText:{key:`w:topFromText`,value:c===void 0?void 0:(0,N.twipsMeasureValue)(c)},verticalAnchor:{key:`w:vertAnchor`,value:t}},name:`w:tblpPr`}),Zf=e=>Yf(e)})),$f,ep,tp=r((()=>{j(),$f={AUTOFIT:`autofit`,FIXED:`fixed`},ep=e=>new o({attributes:{type:{key:`w:type`,value:e}},name:`w:tblLayout`})})),np,rp=r((()=>{j(),np=({firstRow:e,lastRow:t,firstColumn:n,lastColumn:r,noHBand:i,noVBand:a})=>new o({attributes:{firstColumn:{key:`w:firstColumn`,value:n},firstRow:{key:`w:firstRow`,value:e},lastColumn:{key:`w:lastColumn`,value:r},lastRow:{key:`w:lastRow`,value:t},noHBand:{key:`w:noHBand`,value:i},noVBand:{key:`w:noVBand`,value:a}},name:`w:tblLook`})})),ip,ap,op=r((()=>{R(),j(),K(),nn(),Lf(),Bf(),Wf(),Cp(),Qf(),tp(),rp(),ip=class extends p{constructor(e){if(super(`w:tblPr`,e.includeIfEmpty),e.style&&this.root.push(new v(`w:tblStyle`,e.style)),e.float&&(this.root.push(Xf(e.float)),e.float.overlap&&this.root.push(Zf(e.float.overlap))),e.visuallyRightToLeft!==void 0&&this.root.push(new h(`w:bidiVisual`,e.visuallyRightToLeft)),e.styleRowBandSize!==void 0&&this.root.push(new o({name:`w:tblStyleRowBandSize`,attributes:{val:{key:`w:val`,value:e.styleRowBandSize}}})),e.styleColBandSize!==void 0&&this.root.push(new o({name:`w:tblStyleColBandSize`,attributes:{val:{key:`w:val`,value:e.styleColBandSize}}})),e.width&&this.root.push(zf(`w:tblW`,e.width)),e.alignment&&this.root.push(yt(e.alignment)),e.indent&&this.root.push(zf(`w:tblInd`,e.indent)),e.borders&&this.root.push(new Uf(e.borders)),e.shading&&this.root.push($t(e.shading)),e.layout&&this.root.push(ep(e.layout)),e.cellMargin){let t=xp(e.cellMargin);t&&this.root.push(t)}e.tableLook&&this.root.push(np(e.tableLook)),e.cellSpacing&&this.root.push(If(e.cellSpacing)),e.caption!==void 0&&this.root.push(new v(`w:tblCaption`,e.caption)),e.description!==void 0&&this.root.push(new v(`w:tblDescription`,e.description)),e.revision&&this.root.push(new ap(e.revision))}},ap=class extends b{constructor(e){super(`w:tblPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new ip({...e,includeIfEmpty:!0}))}}})),sp,cp=r((()=>{j(),K(),nn(),Lf(),Bf(),Wf(),Cp(),tp(),rp(),sp=class extends p{constructor(e){if(super(`w:tblPrEx`,!0),e.width&&this.root.push(zf(`w:tblW`,e.width)),e.alignment&&this.root.push(yt(e.alignment)),e.cellSpacing&&this.root.push(If(e.cellSpacing)),e.indent&&this.root.push(zf(`w:tblInd`,e.indent)),e.borders&&this.root.push(new Uf(e.borders)),e.shading&&this.root.push($t(e.shading)),e.layout&&this.root.push(ep(e.layout)),e.cellMargin){let t=xp(e.cellMargin);t&&this.root.push(t)}e.tableLook&&this.root.push(np(e.tableLook))}}})),lp=r((()=>{op(),Qf(),tp(),Wf(),rp(),cp()})),up,dp,fp=r((()=>{j(),P(),up={AUTO:`auto`,ATLEAST:`atLeast`,EXACT:`exact`},dp=(e,t)=>new o({attributes:{rule:{key:`w:hRule`,value:t},value:{key:`w:val`,value:(0,N.twipsMeasureValue)(e)}},name:`w:trHeight`})})),pp,mp,hp=r((()=>{_f(),R(),j(),K(),Lf(),Bf(),fp(),pp=class extends p{constructor(e){if(super(`w:trPr`,e.includeIfEmpty),e.cnfStyle!==void 0){let t={val:{key:`w:val`,value:e.cnfStyle.val}};e.cnfStyle.changed!==void 0&&(t.changed={key:`w:changed`,value:e.cnfStyle.changed}),this.root.push(new o({name:`w:cnfStyle`,attributes:t}))}e.divId!==void 0&&this.root.push(new o({name:`w:divId`,attributes:{val:{key:`w:val`,value:e.divId}}})),e.gridBefore!==void 0&&this.root.push(new o({name:`w:gridBefore`,attributes:{val:{key:`w:val`,value:e.gridBefore}}})),e.gridAfter!==void 0&&this.root.push(new o({name:`w:gridAfter`,attributes:{val:{key:`w:val`,value:e.gridAfter}}})),e.widthBefore&&this.root.push(zf(`w:wBefore`,e.widthBefore)),e.widthAfter&&this.root.push(zf(`w:wAfter`,e.widthAfter)),e.cantSplit!==void 0&&this.root.push(new h(`w:cantSplit`,e.cantSplit)),e.tableHeader!==void 0&&this.root.push(new h(`w:tblHeader`,e.tableHeader)),e.height&&this.root.push(dp(e.height.value,e.height.rule)),e.cellSpacing&&this.root.push(If(e.cellSpacing)),e.rowAlignment&&this.root.push(yt(e.rowAlignment)),e.hidden!==void 0&&this.root.push(new h(`w:hidden`,e.hidden)),e.insertion&&this.root.push(new af(e.insertion)),e.deletion&&this.root.push(new sf(e.deletion)),e.revision&&this.root.push(new mp(e.revision))}},mp=class extends b{constructor(e){super(`w:trPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new pp({...e,includeIfEmpty:!0}))}}})),gp,_p=r((()=>{j(),Np(),Pf(),cp(),hp(),gp=class extends a{extraCells=[];coercedChildren;constructor(e){super(`w:tr`),this.options=e,this.coercedChildren=e.children.map(e=>e instanceof kp||e instanceof Bd||e instanceof jp?e:new kp(e))}get CellCount(){return this.coercedChildren.length}get cells(){return this.coercedChildren.filter(e=>e instanceof kp)}addCellToColumnIndex(e,t){this.extraCells.push({cell:e,columnIndex:t})}rootIndexToColumnIndex(e){let t=e-1;if(t<0||t>=this.coercedChildren.length)throw Error(`cell 'rootIndex' should between 1 to ${this.coercedChildren.length}`);let n=0;for(let e=0;e<t;e++){let t=this.coercedChildren[e];n+=t instanceof kp&&t.options.columnSpan||1}return n}columnIndexToRootIndex(e,t=!1){if(e<0)throw Error(`cell 'columnIndex' should not less than zero`);let n=0,r=0;for(;n<=e;){if(r>=this.coercedChildren.length){if(t)return this.coercedChildren.length+1;throw Error(`cell 'columnIndex' should not great than ${n-1}`)}let e=this.coercedChildren[r];r+=1,n+=e instanceof kp&&e.options.columnSpan||1}return r}prepForXml(e){let t=[];if(this.options.propertyExceptions){let n=new sp(this.options.propertyExceptions).prepForXml(e);n&&t.push(n)}let n=new pp(this.options).prepForXml(e);n&&t.push(n);let r=t.length;for(let n of this.coercedChildren){let r=n.prepForXml(e);r&&t.push(r)}if(this.extraCells.length>0)for(let{cell:n,columnIndex:i}of this.extraCells){let a=this.findInsertIndex(i,r),o=n.prepForXml(e);o&&t.splice(a,0,o)}return{"w:tr":t.length?t:l}}findInsertIndex(e,t){let n=0;for(let r=0;r<this.coercedChildren.length;r++){let i=this.coercedChildren[r];if(n+=i instanceof kp&&i.options.columnSpan||1,n>e)return r+t}return this.coercedChildren.length+t}}})),vp=r((()=>{_p(),hp(),fp()})),yp=r((()=>{Bp(),Pf(),lp(),vp(),Bf()})),bp,xp,Sp,Cp=r((()=>{yp(),j(),bp=({marginUnitType:e=Rf.DXA,top:t,left:n,bottom:r,right:i})=>[{name:`w:top`,size:t},{name:`w:left`,size:n},{name:`w:bottom`,size:r},{name:`w:right`,size:i}].filter(e=>e.size!==void 0).map(({name:t,size:n})=>zf(t,{size:n,type:e})),xp=e=>{let t=bp(e);if(t.length!==0)return new o({children:t,name:`w:tblCellMar`})},Sp=e=>{let t=bp(e);if(t.length!==0)return new o({children:t,name:`w:tcMar`})}})),wp,Tp,Ep=r((()=>{_f(),R(),Cf(),j(),nn(),Cp(),Bf(),Nf(),wp=class extends p{constructor(e){if(super(`w:tcPr`,e.includeIfEmpty),e.cnfStyle!==void 0){let t={val:{key:`w:val`,value:e.cnfStyle.val}};e.cnfStyle.changed!==void 0&&(t.changed={key:`w:changed`,value:e.cnfStyle.changed}),this.root.push(new o({name:`w:cnfStyle`,attributes:t}))}if(e.width&&this.root.push(zf(`w:tcW`,e.width)),e.columnSpan&&this.root.push(new Ef(e.columnSpan)),e.verticalMerge?this.root.push(new kf(e.verticalMerge)):e.rowSpan&&e.rowSpan>1&&this.root.push(new kf(Df.RESTART)),e.borders&&this.root.push(new wf(e.borders)),e.shading&&this.root.push($t(e.shading)),e.margins){let t=Sp(e.margins);t&&this.root.push(t)}if(e.textDirection&&this.root.push(new Mf(e.textDirection)),e.verticalAlign&&this.root.push(xf(e.verticalAlign)),e.horizontalMerge!==void 0){let t={};e.horizontalMerge===`restart`&&(t.val={key:`w:val`,value:`restart`}),this.root.push(new o({name:`w:hMerge`,attributes:Object.keys(t).length>0?t:void 0}))}if(e.noWrap!==void 0&&this.root.push(new h(`w:noWrap`,e.noWrap)),e.fitText!==void 0&&this.root.push(new h(`w:tcFitText`,e.fitText)),e.hideMark!==void 0&&this.root.push(new h(`w:hideMark`,e.hideMark)),e.headers!==void 0){let t=e.headers.map(e=>new o({name:`w:header`,attributes:{val:{key:`w:val`,value:e}}}));this.root.push(new o({name:`w:headers`,children:t}))}e.insertion&&this.root.push(new lf(e.insertion)),e.deletion&&this.root.push(new df(e.deletion)),e.revision&&this.root.push(new Tp(e.revision)),e.cellMerge&&this.root.push(new hf(e.cellMerge))}},Tp=class extends b{constructor(e){super(`w:tcPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new wp({...e,includeIfEmpty:!0}))}}}));function Dp(t){return Op||=(nm(),e(em)).coerceSectionChild,Op(t)}var Op,kp,Ap=r((()=>{K(),j(),Ep(),kp=class extends a{constructor(e){super(`w:tc`),this.options=e}prepForXml(e){let t=[],n=new wp(this.options).prepForXml(e);n&&t.push(n);let r=this.options.children.map(e=>e instanceof a?e:Dp(e));for(let n of r){let r=n.prepForXml(e);r&&t.push(r)}return r[r.length-1]instanceof U||t.push(new U({}).prepForXml(e)),{"w:tc":t}}}})),jp,Mp=r((()=>{j(),Md(),Ap(),jp=class extends b{rows;constructor(e){if(super(`w:sdt`),this.rows=e.children??[],this.root.push(new Ed(e.properties)),this.rows.length>0){let e=new _d;for(let t of this.rows)e.addChildElement(t);this.root.push(e)}}get CellCount(){return Math.max(...this.rows.map(e=>e.CellCount),0)}get cells(){return this.rows.flatMap(e=>e.cells)}addCellToColumnIndex(e,t){this.rows.length>0&&this.rows[0].addCellToColumnIndex(e,t)}}})),Np=r((()=>{Fd(),Vd(),Mp()})),Pp,Fp,Ip,Lp,Rp=r((()=>{j(),P(),Pp=e=>new o({attributes:e===void 0?void 0:{width:{key:`w:w`,value:(0,N.twipsMeasureValue)(e)}},name:`w:gridCol`}),Fp=class extends b{constructor(e,t){super(`w:tblGrid`);for(let t of e)this.root.push(Pp(t));t&&this.root.push(new Lp(t))}},Ip=class extends y{xmlKeys={id:`w:id`}},Lp=class extends b{constructor(e){super(`w:tblGridChange`),this.root.push(new Ip({id:e.id})),this.root.push(new Fp(e.columnWidths))}}})),zp,Bp=r((()=>{j(),Np(),Rp(),Pf(),lp(),vp(),zp=class extends a{fileChild=Symbol();options;columnWidths;rows;constructor(e){super(`w:tbl`),this.options=e,this.rows=e.rows.map(e=>e instanceof gp||e instanceof jp?e:new gp(e)),this.columnWidths=e.columnWidths??Array(Math.max(...this.rows.map(e=>e.CellCount))).fill(100),this.rows.forEach((e,t)=>{if(t===this.rows.length-1||!(e instanceof gp))return;let n=0;e.cells.forEach(e=>{if(e.options.rowSpan&&e.options.rowSpan>1){let r=this.rows[t+1];if(r instanceof gp){let t=new kp({borders:e.options.borders,children:[],columnSpan:e.options.columnSpan,rowSpan:e.options.rowSpan-1,verticalMerge:Df.CONTINUE});r.addCellToColumnIndex(t,n)}}n+=e.options.columnSpan||1})})}prepForXml(e){let t=[],n=new ip({alignment:this.options.alignment,borders:this.options.borders??{},caption:this.options.caption,cellMargin:this.options.margins,cellSpacing:this.options.cellSpacing,description:this.options.description,float:this.options.float,indent:this.options.indent,layout:this.options.layout,revision:this.options.revision,style:this.options.style,styleColBandSize:this.options.styleColBandSize,styleRowBandSize:this.options.styleRowBandSize,tableLook:this.options.tableLook,visuallyRightToLeft:this.options.visuallyRightToLeft,width:this.options.width??{size:100}}).prepForXml(e);n&&t.push(n);let r=new Fp(this.columnWidths,this.options.columnWidthsRevision).prepForXml(e);r&&t.push(r);for(let n of this.rows){let r=n.prepForXml(e);r&&t.push(r)}return{"w:tbl":t}}}})),Vp,Hp=r((()=>{j(),Vp=({shape:e})=>new o({children:[e],name:`w:pict`})})),Up,Wp=r((()=>{j(),Up=({children:e=[]})=>new o({children:e,name:`w:txbxContent`})})),Gp,Kp=r((()=>{j(),Wp(),Gp=({style:e,children:t,inset:n})=>new o({attributes:{inset:{key:`inset`,value:n?`${n.left}, ${n.top}, ${n.right}, ${n.bottom}`:void 0},insetMode:{key:`insetmode`,value:n?`custom`:`auto`},style:{key:`style`,value:e}},children:[Up({children:t})],name:`v:textbox`})})),qp,Jp,Yp,Xp,Zp=r((()=>{j(),Kp(),qp=`#_x0000_t202`,Jp={flip:`flip`,height:`height`,left:`left`,marginBottom:`margin-bottom`,marginLeft:`margin-left`,marginRight:`margin-right`,marginTop:`margin-top`,position:`position`,positionHorizontal:`mso-position-horizontal`,positionHorizontalRelative:`mso-position-horizontal-relative`,positionVertical:`mso-position-vertical`,positionVerticalRelative:`mso-position-vertical-relative`,rotation:`rotation`,top:`top`,visibility:`visibility`,width:`width`,wrapDistanceBottom:`mso-wrap-distance-bottom`,wrapDistanceLeft:`mso-wrap-distance-left`,wrapDistanceRight:`mso-wrap-distance-right`,wrapDistanceTop:`mso-wrap-distance-top`,wrapEdited:`mso-wrap-edited`,wrapStyle:`mso-wrap-style`,zIndex:`z-index`},Yp=e=>e?Object.entries(e).map(([e,t])=>`${Jp[e]}:${t}`).join(`;`):void 0,Xp=({id:e,children:t,type:n=qp,style:r})=>new o({attributes:{id:{key:`id`,value:e},style:{key:`style`,value:Yp(r)},type:{key:`type`,value:n}},children:[Gp({children:t,style:`mso-fit-shape-to-text:t;`})],name:`v:shape`})})),Qp,$p=r((()=>{K(),j(),H(),Hp(),Zp(),Qp=class extends b{fileChild=Symbol();constructor({style:e,children:t,...n}){super(`w:p`),this.root.push(new hc(n)),this.root.push(Vp({shape:Xp({children:t,id:Oe(),style:e})}))}}})),em=t({coerceSectionChild:()=>tm});function tm(e){if(e instanceof a)return e;if(`paragraph`in e)return new U(e.paragraph);if(`table`in e)return new zp(e.table);if(`toc`in e){let{alias:t,...n}=e.toc;return new Od(t,n)}if(`textbox`in e){let{children:t,...n}=e.textbox;return new Qp({...n,children:t?.map(tm)})}if(`sdt`in e){let{properties:t,children:n}=e.sdt;return new Pd({properties:t,children:n?.map(tm)})}if(`altChunk`in e)return new pd(e.altChunk);if(`subDoc`in e)return new Rd(e.subDoc);throw Error(`Unknown section child type`)}var nm=r((()=>{md(),vc(),Fd(),zd(),kd(),Bp(),$p(),j()})),rm=r((()=>{})),im,am=r((()=>{im=class{map;constructor(){this.map=new Map}addAltChunk(e,t){this.map.set(e,t)}get Array(){return[...this.map.values()]}}})),om=r((()=>{})),sm,cm,lm,um,dm=r((()=>{uo(),j(),sm=class extends y{xmlKeys={SelectedStyle:`SelectedStyle`,StyleName:`StyleName`,URI:`URI`,"xmlns:b":`xmlns:b`}},cm=class extends b{constructor(e,t){super(`b:${e}`),this.root.push(t)}},lm=class extends b{constructor(e){super(`b:Source`);let t=[[`SourceType`,e.type],[`Title`,e.title],[`Author`,e.author],[`Year`,e.year],[`Month`,e.month],[`Day`,e.day],[`BookTitle`,e.bookTitle],[`JournalName`,e.journal],[`Volume`,e.volume],[`Issue`,e.issue],[`Pages`,e.pages],[`Publisher`,e.publisher],[`City`,e.city],[`URL`,e.url],[`Edition`,e.edition],[`Institution`,e.institution]];for(let[e,n]of t)n!==void 0&&this.root.push(new cm(e,n))}},um=class extends b{relationships;constructor(e){super(`b:Sources`),this.root.push(new sm({"xmlns:b":`http://schemas.openxmlformats.org/officeDocument/2006/bibliography`,StyleName:e.styleName}));for(let t of e.sources)this.root.push(new lm(t));this.relationships=new g}get Relationships(){return this.relationships}}})),fm=r((()=>{dm()})),pm=r((()=>{})),mm=r((()=>{})),hm=r((()=>{})),gm=r((()=>{})),_m,vm=r((()=>{j(),mm(),hm(),gm(),_m=class extends b{constructor(){super(`Types`),this.root.push(new c({xmlns:`http://schemas.openxmlformats.org/package/2006/content-types`})),this.root.push(S(`image/png`,`png`)),this.root.push(S(`image/jpeg`,`jpeg`)),this.root.push(S(`image/jpeg`,`jpg`)),this.root.push(S(`image/bmp`,`bmp`)),this.root.push(S(`image/gif`,`gif`)),this.root.push(S(`image/tiff`,`tif`)),this.root.push(S(`image/tiff`,`tiff`)),this.root.push(S(`image/x-emf`,`emf`)),this.root.push(S(`image/x-wmf`,`wmf`)),this.root.push(S(`image/x-icon`,`ico`)),this.root.push(S(`image/svg+xml`,`svg`)),this.root.push(S(`application/vnd.openxmlformats-package.relationships+xml`,`rels`)),this.root.push(S(`application/xml`,`xml`)),this.root.push(S(`application/vnd.openxmlformats-officedocument.obfuscatedFont`,`odttf`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml`,`/word/document.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml`,`/word/styles.xml`)),this.root.push(C(`application/vnd.openxmlformats-package.core-properties+xml`,`/docProps/core.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.custom-properties+xml`,`/docProps/custom.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.extended-properties+xml`,`/docProps/app.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml`,`/word/numbering.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml`,`/word/footnotes.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml`,`/word/endnotes.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml`,`/word/settings.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml`,`/word/comments.xml`)),this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml`,`/word/fontTable.xml`))}addBibliography(){this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.bibliography+xml`,`/word/bibliography.xml`))}addFooter(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml`,`/word/footer${e}.xml`))}addHeader(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml`,`/word/header${e}.xml`))}addChart(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`,`/word/charts/chart${e}.xml`))}addDiagramData(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml`,`/word/diagrams/data${e}.xml`))}addDiagramLayout(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml`,`/word/diagrams/layout${e}.xml`))}addDiagramStyle(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml`,`/word/diagrams/quickStyle${e}.xml`))}addDiagramColors(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml`,`/word/diagrams/colors${e}.xml`))}addDiagramDrawing(e){this.root.push(C(`application/vnd.ms-office.drawingml.diagramDrawing+xml`,`/word/diagrams/drawing${e}.xml`))}addAltChunk(e,t,n){this.root.push(C(t,e))}addSubDoc(e){this.root.push(C(`application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml`,e))}}}));function ym(e,t){let n=`${e.join(`,`)}:${t??``}`,r=xm.get(n);if(r)return r;let i={};t!==void 0&&(i[`mc:Ignorable`]=t);for(let t of e)i[`xmlns:${t}`]=bm[t];let a={_attr:i};return xm.set(n,a),a}var bm,xm,Sm=r((()=>{bm={aink:`http://schemas.microsoft.com/office/drawing/2016/ink`,am3d:`http://schemas.microsoft.com/office/drawing/2017/model3d`,cp:`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,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`,dc:`http://purl.org/dc/elements/1.1/`,dcmitype:`http://purl.org/dc/dcmitype/`,dcterms:`http://purl.org/dc/terms/`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,o:`urn:schemas-microsoft-com:office:office`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,v:`urn:schemas-microsoft-com:vml`,w:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,w10:`urn:schemas-microsoft-com:office:word`,w14:`http://schemas.microsoft.com/office/word/2010/wordml`,w15:`http://schemas.microsoft.com/office/word/2012/wordml`,w16:`http://schemas.microsoft.com/office/word/2018/wordml`,w16cex:`http://schemas.microsoft.com/office/word/2018/wordml/cex`,w16cid:`http://schemas.microsoft.com/office/word/2016/wordml/cid`,w16sdtdh:`http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash`,w16se:`http://schemas.microsoft.com/office/word/2015/wordml/symex`,wne:`http://schemas.microsoft.com/office/word/2006/wordml`,wp:`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,wp14:`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,wpc:`http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas`,wpg:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,wpi:`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,wps:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`,xsi:`http://www.w3.org/2001/XMLSchema-instance`},xm=new Map})),Cm,wm,Tm,Em=r((()=>{j(),P(),Sm(),Cm=class extends b{constructor(e){super(`cp:coreProperties`),this.root.push(ym([`cp`,`dc`,`dcterms`,`dcmitype`,`xsi`])),e.title&&this.root.push(new _(`dc:title`,e.title)),e.subject&&this.root.push(new _(`dc:subject`,e.subject)),e.creator&&this.root.push(new _(`dc:creator`,e.creator)),e.keywords&&this.root.push(new _(`cp:keywords`,e.keywords)),e.description&&this.root.push(new _(`dc:description`,e.description)),e.lastModifiedBy&&this.root.push(new _(`cp:lastModifiedBy`,e.lastModifiedBy)),e.revision&&this.root.push(new _(`cp:revision`,String(e.revision))),this.root.push(new Tm(`dcterms:created`)),this.root.push(new Tm(`dcterms:modified`))}},wm=class extends y{xmlKeys={type:`xsi:type`}},Tm=class extends b{constructor(e){super(e),this.root.push(new wm({type:`dcterms:W3CDTF`})),this.root.push((0,N.dateTimeValue)(new Date))}}})),Dm=r((()=>{Em()})),Om,km=r((()=>{j(),Om=class extends y{xmlKeys={vt:`xmlns:vt`,xmlns:`xmlns`}}})),Am,jm=r((()=>{j(),Am=class extends y{xmlKeys={formatId:`fmtid`,name:`name`,pid:`pid`}}})),Mm,Nm,Pm=r((()=>{j(),jm(),Mm=class extends b{constructor(e,t){super(`property`),this.root.push(new Am({formatId:`{D5CDD505-2E9C-101B-9397-08002B2CF9AE}`,name:t.name,pid:e.toString()})),this.root.push(new Nm(t.value))}},Nm=class extends b{constructor(e){super(`vt:lpwstr`),this.root.push(e)}}})),Fm,Im=r((()=>{j(),km(),Pm(),Fm=class extends b{nextId;properties=[];constructor(e){super(`Properties`),this.root.push(new Om({vt:`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`,xmlns:`http://schemas.openxmlformats.org/officeDocument/2006/custom-properties`})),this.nextId=2;for(let t of e)this.addCustomProperty(t)}prepForXml(e){return this.properties.forEach(e=>this.root.push(e)),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new Mm(this.nextId++,e))}}})),Lm=r((()=>{Im(),Pm()})),Rm,zm=r((()=>{j(),P(),Rm=({space:e,count:t,separate:n,equalWidth:r,children:i})=>new o({attributes:{count:{key:`w:num`,value:t===void 0?void 0:(0,N.decimalNumber)(t)},equalWidth:{key:`w:equalWidth`,value:r},separate:{key:`w:sep`,value:n},space:{key:`w:space`,value:e===void 0?void 0:(0,N.twipsMeasureValue)(e)}},children:!r&&i?i:void 0,name:`w:cols`})})),Bm,Vm,Hm=r((()=>{j(),P(),Bm={DEFAULT:`default`,LINES:`lines`,LINES_AND_CHARS:`linesAndChars`,SNAP_TO_CHARS:`snapToChars`},Vm=({type:e,linePitch:t,charSpace:n})=>new o({attributes:{charSpace:{key:`w:charSpace`,value:n?(0,N.decimalNumber)(n):void 0},linePitch:{key:`w:linePitch`,value:(0,N.decimalNumber)(t)},type:{key:`w:type`,value:e}},name:`w:docGrid`})})),Um,Wm,Gm,Km,qm=r((()=>{j(),P(),Um=({pos:e,formatType:t,format:n,numStart:r,numRestart:i})=>{let a=new Wm;return e!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:e}},name:`w:pos`})),(t!==void 0||n!==void 0)&&a.addChildElement(new o({attributes:{format:{key:`w:format`,value:n},val:{key:`w:fmt`,value:t}},name:`w:numFmt`})),r!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:(0,N.decimalNumber)(r)}},name:`w:numStart`})),i!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:i}},name:`w:numRestart`})),a},Wm=class extends p{constructor(){super(`w:footnotePr`,!0)}},Gm=({pos:e,formatType:t,format:n,numStart:r,numRestart:i})=>{let a=new Km;return e!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:e}},name:`w:pos`})),(t!==void 0||n!==void 0)&&a.addChildElement(new o({attributes:{format:{key:`w:format`,value:n},val:{key:`w:fmt`,value:t}},name:`w:numFmt`})),r!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:(0,N.decimalNumber)(r)}},name:`w:numStart`})),i!==void 0&&a.addChildElement(new o({attributes:{val:{key:`w:val`,value:i}},name:`w:numRestart`})),a},Km=class extends p{constructor(){super(`w:endnotePr`,!0)}}})),Jm,Ym,Xm,Zm=r((()=>{j(),Jm={DEFAULT:`default`,FIRST:`first`,EVEN:`even`},Ym={FOOTER:`w:footerReference`,HEADER:`w:headerReference`},Xm=(e,t)=>new o({attributes:{id:{key:`r:id`,value:`rId${t.id}`},type:{key:`w:type`,value:t.type||Jm.DEFAULT}},name:e})})),Qm,$m,eh=r((()=>{j(),P(),Qm={NEW_PAGE:`newPage`,NEW_SECTION:`newSection`,CONTINUOUS:`continuous`},$m=({countBy:e,start:t,restart:n,distance:r})=>new o({attributes:{countBy:{key:`w:countBy`,value:e===void 0?void 0:(0,N.decimalNumber)(e)},distance:{key:`w:distance`,value:r===void 0?void 0:(0,N.twipsMeasureValue)(r)},restart:{key:`w:restart`,value:n},start:{key:`w:start`,value:t===void 0?void 0:(0,N.decimalNumber)(t)}},name:`w:lnNumType`})})),th,nh,rh,ih,ah,oh=r((()=>{wt(),j(),th={ALL_PAGES:`allPages`,FIRST_PAGE:`firstPage`,NOT_FIRST_PAGE:`notFirstPage`},nh={PAGE:`page`,TEXT:`text`},rh={BACK:`back`,FRONT:`front`},ih=class extends y{xmlKeys={display:`w:display`,offsetFrom:`w:offsetFrom`,zOrder:`w:zOrder`}},ah=class extends p{constructor(e){if(super(`w:pgBorders`),!e)return this;e.display!==void 0||e.offsetFrom!==void 0||e.zOrder!==void 0?this.root.push(new ih({display:e.display,offsetFrom:e.offsetFrom,zOrder:e.zOrder})):this.root.push(new ih({})),e.top&&this.root.push(F(`w:top`,e.top)),e.left&&this.root.push(F(`w:left`,e.left)),e.bottom&&this.root.push(F(`w:bottom`,e.bottom)),e.right&&this.root.push(F(`w:right`,e.right))}}})),sh,ch=r((()=>{j(),P(),sh=(e,t,n,r,i,a,s)=>new o({attributes:{bottom:{key:`w:bottom`,value:(0,N.signedTwipsMeasureValue)(n)},footer:{key:`w:footer`,value:(0,N.twipsMeasureValue)(a)},gutter:{key:`w:gutter`,value:(0,N.twipsMeasureValue)(s)},header:{key:`w:header`,value:(0,N.twipsMeasureValue)(i)},left:{key:`w:left`,value:(0,N.twipsMeasureValue)(r)},right:{key:`w:right`,value:(0,N.twipsMeasureValue)(t)},top:{key:`w:top`,value:(0,N.signedTwipsMeasureValue)(e)}},name:`w:pgMar`})})),lh,uh,dh=r((()=>{j(),P(),lh={HYPHEN:`hyphen`,PERIOD:`period`,COLON:`colon`,EM_DASH:`emDash`,EN_DASH:`enDash`},uh=({start:e,formatType:t,separator:n,chapStyle:r})=>new o({attributes:{chapStyle:{key:`w:chapStyle`,value:r===void 0?void 0:(0,N.decimalNumber)(r)},formatType:{key:`w:fmt`,value:t},separator:{key:`w:chapSep`,value:n},start:{key:`w:start`,value:e===void 0?void 0:(0,N.decimalNumber)(e)}},name:`w:pgNumType`})})),fh,ph,mh=r((()=>{j(),P(),fh={PORTRAIT:`portrait`,LANDSCAPE:`landscape`},ph=({width:e,height:t,orientation:n,code:r})=>{let i=(0,N.twipsMeasureValue)(e),a=(0,N.twipsMeasureValue)(t);return new o({attributes:{code:{key:`w:code`,value:r},height:{key:`w:h`,value:n===fh.LANDSCAPE?i:a},orientation:{key:`w:orient`,value:n},width:{key:`w:w`,value:n===fh.LANDSCAPE?a:i}},name:`w:pgSz`})}})),hh,gh,_h,vh=r((()=>{j(),hh={LEFT_TO_RIGHT_TOP_TO_BOTTOM:`lrTb`,TOP_TO_BOTTOM_RIGHT_TO_LEFT:`tbRl`},gh=class extends y{xmlKeys={val:`w:val`}},_h=class extends b{constructor(e){super(`w:textDirection`),this.root.push(new gh({val:e}))}}})),yh,bh,xh=r((()=>{j(),yh={NEXT_PAGE:`nextPage`,NEXT_COLUMN:`nextColumn`,CONTINUOUS:`continuous`,EVEN_PAGE:`evenPage`,ODD_PAGE:`oddPage`},bh=e=>new o({attributes:{val:{key:`w:val`,value:e}},name:`w:type`})})),Sh,Ch,wh,Th,Eh=r((()=>{R(),Cf(),j(),P(),zm(),Hm(),qm(),Zm(),eh(),oh(),ch(),dh(),mh(),vh(),xh(),Sh={TOP:1440,RIGHT:1800,BOTTOM:1440,LEFT:1800,HEADER:851,FOOTER:992,GUTTER:0},Ch={WIDTH:11906,HEIGHT:16838,ORIENTATION:fh.PORTRAIT},wh=class extends b{constructor({page:{size:{width:e=Ch.WIDTH,height:t=Ch.HEIGHT,orientation:n=Ch.ORIENTATION}={},margin:{top:r=Sh.TOP,right:i=Sh.RIGHT,bottom:a=Sh.BOTTOM,left:s=Sh.LEFT,header:c=Sh.HEADER,footer:l=Sh.FOOTER,gutter:u=Sh.GUTTER}={},pageNumbers:d={},borders:f,textDirection:p}={},grid:{linePitch:m=312,charSpace:ee=0,type:te=`lines`}={},headerWrapperGroup:ne={},footerWrapperGroup:re={},lineNumbers:ie,titlePage:ae,verticalAlign:g,column:_,type:oe,revision:v,noEndnote:se,formProtection:y,bidi:ce,rtlGutter:b,paperSrc:le,footnotePr:ue,endnotePr:de,printerSettingsId:x}={}){super(`w:sectPr`),this.addHeaderFooterGroup(Ym.HEADER,ne),this.addHeaderFooterGroup(Ym.FOOTER,re),ue&&this.root.push(Um(ue)),de&&this.root.push(Gm(de)),oe&&this.root.push(bh(oe)),this.root.push(ph({height:t,orientation:n,width:e})),this.root.push(sh(r,i,a,s,c,l,u)),f&&this.root.push(new ah(f)),ie&&this.root.push($m(ie)),this.root.push(uh(d)),_&&this.root.push(Rm(_)),g&&this.root.push(xf(g)),ae!==void 0&&this.root.push(new h(`w:titlePg`,ae)),p&&this.root.push(new _h(p)),se!==void 0&&this.root.push(new h(`w:noEndnote`,se)),y!==void 0&&this.root.push(new h(`w:formProt`,y)),ce!==void 0&&this.root.push(new h(`w:bidi`,ce)),b!==void 0&&this.root.push(new h(`w:rtlGutter`,b)),le&&this.root.push(new o({attributes:{first:{key:`w:first`,value:le.first===void 0?void 0:(0,N.decimalNumber)(le.first)},other:{key:`w:other`,value:le.other===void 0?void 0:(0,N.decimalNumber)(le.other)}},name:`w:paperSrc`})),x!==void 0&&this.root.push(new o({attributes:{id:{key:`r:id`,value:x}},name:`w:printerSettings`})),this.root.push(Vm({charSpace:ee,linePitch:m,type:te})),v&&this.root.push(new Th(v))}addHeaderFooterGroup(e,t){t.default&&this.root.push(Xm(e,{id:t.default.View.ReferenceId,type:Jm.DEFAULT})),t.first&&this.root.push(Xm(e,{id:t.first.View.ReferenceId,type:Jm.FIRST})),t.even&&this.root.push(Xm(e,{id:t.even.View.ReferenceId,type:Jm.EVEN}))}},Th=class extends b{constructor(e){super(`w:sectPrChange`),this.root.push(new L({author:e.author,date:e.date,id:e.id})),this.root.push(new wh(e))}}})),Dh,Oh=r((()=>{K(),j(),Eh(),Dh=class extends b{sections=[];constructor(){super(`w:body`)}addSection(e){let t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new wh(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){let t=new U({});return t.setSectionProperties(e),t}}})),kh,Ah,jh=r((()=>{j(),P(),kh=class extends y{xmlKeys={space:`w:space`,width:`w:w`}},Ah=class extends b{constructor(e){super(`w:col`),this.root.push(new kh({space:e.space===void 0?void 0:(0,N.twipsMeasureValue)(e.space),width:(0,N.twipsMeasureValue)(e.width)}))}}})),Mh=r((()=>{jh(),zm(),Hm(),mh(),dh(),oh(),ch(),oh(),vh(),eh(),xh(),Zm()})),Nh=r((()=>{Eh(),Mh()})),Ph=r((()=>{Oh(),Nh()})),Fh,Ih,Lh=r((()=>{j(),H(),P(),Fh=class extends y{xmlKeys={color:`w:color`,themeColor:`w:themeColor`,themeShade:`w:themeShade`,themeTint:`w:themeTint`}},Ih=class extends b{imageData;constructor(e){if(super(`w:background`),this.root.push(new Fh({color:e.color===void 0?void 0:(0,N.hexColorValue)(e.color),themeColor:e.themeColor,themeShade:e.themeShade===void 0?void 0:(0,N.uCharHexNumber)(e.themeShade),themeTint:e.themeTint===void 0?void 0:(0,N.uCharHexNumber)(e.themeTint)})),e.image){let t=Pe(e.image.data),n=ye(t);this.imageData={data:t,fileName:`${n}.${e.image.type}`,type:e.image.type}}}prepForXml(e){return this.imageData&&(e.file.Media.addImage(this.imageData.fileName,{type:this.imageData.type,data:this.imageData.data,fileName:this.imageData.fileName,transformation:{emus:{x:0,y:0},pixels:{x:0,y:0}}}),this.root.push(new o({attributes:{id:{key:`id`,value:`_x0000_s1025`}},children:[new o({attributes:{id:{key:`r:id`,value:`{${this.imageData.fileName}}`},title:{key:`o:title`,value:this.imageData.fileName.split(`.`)[0]},recolor:{key:`recolor`,value:`t`},type:{key:`type`,value:`frame`}},name:`v:fill`})],name:`v:background`}))),super.prepForXml(e)}}})),Rh=r((()=>{Lh()})),zh,Bh=r((()=>{j(),Ph(),Sm(),Rh(),zh=class extends b{body;constructor(e){super(`w:document`),this.root.push(ym(`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`.split(`.`),`w14 w15 wp14`)),this.body=new Dh,e.background&&this.root.push(new Ih(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}}})),Vh=r((()=>{Bh(),Sm(),Ph(),Rh()})),Hh,Uh=r((()=>{Vh(),uo(),Hh=class{document;relationships;constructor(e){this.document=new zh(e),this.relationships=new g}get View(){return this.document}get Relationships(){return this.relationships}}})),Wh,Gh=r((()=>{j(),Wh=class extends b{constructor(){super(`w:continuationSeparator`)}}})),Kh,qh=r((()=>{K(),Gh(),Kh=class extends V{constructor(){super({}),this.extraChildren.push(new Wh)}}})),Jh,Yh=r((()=>{j(),Jh=class extends b{constructor(){super(`w:separator`)}}})),Xh,Zh=r((()=>{K(),Yh(),Xh=class extends V{constructor(){super({}),this.extraChildren.push(new Jh)}}})),Qh,$h=r((()=>{j(),Qh=class extends y{xmlKeys={id:`w:id`,type:`w:type`}}})),eg,tg=r((()=>{Ro(),Wn(),eg=class extends V{constructor(){super({style:`EndnoteReference`}),this.extraChildren.push(new jo)}}})),ng,rg,ig=r((()=>{j(),$h(),tg(),ng={CONTINUATION_SEPARATOR:`continuationSeparator`,SEPARATOR:`separator`},rg=class extends b{constructor(e){super(`w:endnote`),this.root.push(new Qh({id:e.id,type:e.type}));for(let t=0;t<e.children.length;t++){let n=e.children[t];t===0&&`addRunToFront`in n&&n.addRunToFront(new eg),this.root.push(n)}}}})),ag,og=r((()=>{j(),ag=class extends y{xmlKeys={Ignorable:`mc:Ignorable`,m:`xmlns:m`,mc:`xmlns:mc`,o:`xmlns:o`,r:`xmlns:r`,v:`xmlns:v`,w:`xmlns:w`,w10:`xmlns:w10`,w14:`xmlns:w14`,w15:`xmlns:w15`,wne:`xmlns:wne`,wp:`xmlns:wp`,wp14:`xmlns:wp14`,wpc:`xmlns:wpc`,wpg:`xmlns:wpg`,wpi:`xmlns:wpi`,wps:`xmlns:wps`}}})),sg,cg=r((()=>{j(),qh(),Zh(),K(),ig(),og(),sg=class extends b{constructor(){super(`w:endnotes`),this.root.push(new ag({Ignorable:`w14 w15 wp14`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,o:`urn:schemas-microsoft-com:office:office`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,v:`urn:schemas-microsoft-com:vml`,w:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,w10:`urn:schemas-microsoft-com:office:word`,w14:`http://schemas.microsoft.com/office/word/2010/wordml`,w15:`http://schemas.microsoft.com/office/word/2012/wordml`,wne:`http://schemas.microsoft.com/office/word/2006/wordml`,wp:`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,wp14:`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,wpc:`http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas`,wpg:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,wpi:`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,wps:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`}));let e=new rg({children:[new U({children:[new Xh],spacing:{after:0,line:240,lineRule:ns.AUTO}})],id:-1,type:ng.SEPARATOR});this.root.push(e);let t=new rg({children:[new U({children:[new Kh],spacing:{after:0,line:240,lineRule:ns.AUTO}})],id:0,type:ng.CONTINUATION_SEPARATOR});this.root.push(t)}createEndnote(e,t){let n=new rg({children:t,id:e});this.root.push(n)}}})),lg,ug=r((()=>{cg(),uo(),lg=class{endnotes;relationships;constructor(){this.endnotes=new sg,this.relationships=new g}get View(){return this.endnotes}get Relationships(){return this.relationships}}})),dg,fg,pg,mg=r((()=>{j(),Sm(),dg=`cx.cx1.cx2.cx3.cx4.cx5.cx6.cx7.cx8.m.mc.o.r.v.w.w10.w14.w15.w16cid.w16se.wne.wp.wp14.wpc.wpg.wpi.wps`.split(`.`),fg=[`m`,`mc`,`o`,`r`,`v`,`w`,`w10`,`w14`,`w15`,`wne`,`wp`,`wp14`,`wpc`,`wpg`,`wpi`,`wps`],pg=class extends te{refId;constructor(e,t,n,r){super(e,r),this.refId=t,r||this.root.push(ym(n))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}}})),hg,gg=r((()=>{mg(),hg=class extends pg{constructor(e,t){super(`w:ftr`,e,fg,t)}}})),_g,vg=r((()=>{gg(),uo(),_g=class{footer;relationships;constructor(e,t,n){this.media=e,this.footer=new hg(t,n),this.relationships=new g}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}})),yg,bg=r((()=>{j(),yg=class extends y{xmlKeys={id:`w:id`,type:`w:type`}}})),xg,Sg=r((()=>{j(),xg=class extends b{constructor(){super(`w:footnoteRef`)}}})),Cg,wg=r((()=>{K(),Sg(),Cg=class extends V{constructor(){super({style:`FootnoteReference`}),this.extraChildren.push(new xg)}}})),Tg,Eg,Dg=r((()=>{j(),bg(),wg(),Tg={SEPERATOR:`separator`,CONTINUATION_SEPERATOR:`continuationSeparator`},Eg=class extends b{constructor(e){super(`w:footnote`),this.root.push(new yg({id:e.id,type:e.type}));for(let t=0;t<e.children.length;t++){let n=e.children[t];t===0&&`addRunToFront`in n&&n.addRunToFront(new Cg),this.root.push(n)}}}})),Og,kg=r((()=>{j(),Og=class extends y{xmlKeys={Ignorable:`mc:Ignorable`,m:`xmlns:m`,mc:`xmlns:mc`,o:`xmlns:o`,r:`xmlns:r`,v:`xmlns:v`,w:`xmlns:w`,w10:`xmlns:w10`,w14:`xmlns:w14`,w15:`xmlns:w15`,wne:`xmlns:wne`,wp:`xmlns:wp`,wp14:`xmlns:wp14`,wpc:`xmlns:wpc`,wpg:`xmlns:wpg`,wpi:`xmlns:wpi`,wps:`xmlns:wps`}}})),Ag,jg=r((()=>{j(),K(),Dg(),qh(),Zh(),kg(),Ag=class extends b{constructor(){super(`w:footnotes`),this.root.push(new Og({Ignorable:`w14 w15 wp14`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,o:`urn:schemas-microsoft-com:office:office`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,v:`urn:schemas-microsoft-com:vml`,w:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,w10:`urn:schemas-microsoft-com:office:word`,w14:`http://schemas.microsoft.com/office/word/2010/wordml`,w15:`http://schemas.microsoft.com/office/word/2012/wordml`,wne:`http://schemas.microsoft.com/office/word/2006/wordml`,wp:`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,wp14:`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,wpc:`http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas`,wpg:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,wpi:`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,wps:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`}));let e=new Eg({children:[new U({children:[new Xh],spacing:{after:0,line:240,lineRule:ns.AUTO}})],id:-1,type:Tg.SEPERATOR});this.root.push(e);let t=new Eg({children:[new U({children:[new Kh],spacing:{after:0,line:240,lineRule:ns.AUTO}})],id:0,type:Tg.CONTINUATION_SEPERATOR});this.root.push(t)}createFootNote(e,t){let n=new Eg({children:t,id:e});this.root.push(n)}}})),Mg,Ng=r((()=>{jg(),uo(),Mg=class{footnotess;relationships;constructor(){this.footnotess=new Ag,this.relationships=new g}get View(){return this.footnotess}get Relationships(){return this.relationships}}})),Pg,Fg,Ig=r((()=>{Pg=class{options;constructor(e={children:[]}){this.options=e}},Fg=class{options;constructor(e={children:[]}){this.options=e}}})),Lg,Rg=r((()=>{mg(),Lg=class extends pg{constructor(e,t){super(`w:hdr`,e,dg,t)}}})),zg,Bg=r((()=>{Rg(),uo(),zg=class{header;relationships;constructor(e,t,n){this.media=e,this.header=new Lg(t,n),this.relationships=new g}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}})),Vg,Hg,Ug,Wg,Gg,Kg,qg,Jg,Yg,Xg,Zg,Qg=r((()=>{j(),P(),vs(),_c(),Mn(),Vg={DECIMAL:`decimal`,UPPER_ROMAN:`upperRoman`,LOWER_ROMAN:`lowerRoman`,UPPER_LETTER:`upperLetter`,LOWER_LETTER:`lowerLetter`,ORDINAL:`ordinal`,CARDINAL_TEXT:`cardinalText`,ORDINAL_TEXT:`ordinalText`,HEX:`hex`,CHICAGO:`chicago`,IDEOGRAPH__DIGITAL:`ideographDigital`,JAPANESE_COUNTING:`japaneseCounting`,AIUEO:`aiueo`,IROHA:`iroha`,DECIMAL_FULL_WIDTH:`decimalFullWidth`,DECIMAL_HALF_WIDTH:`decimalHalfWidth`,JAPANESE_LEGAL:`japaneseLegal`,JAPANESE_DIGITAL_TEN_THOUSAND:`japaneseDigitalTenThousand`,DECIMAL_ENCLOSED_CIRCLE:`decimalEnclosedCircle`,DECIMAL_FULL_WIDTH2:`decimalFullWidth2`,AIUEO_FULL_WIDTH:`aiueoFullWidth`,IROHA_FULL_WIDTH:`irohaFullWidth`,DECIMAL_ZERO:`decimalZero`,BULLET:`bullet`,GANADA:`ganada`,CHOSUNG:`chosung`,DECIMAL_ENCLOSED_FULLSTOP:`decimalEnclosedFullstop`,DECIMAL_ENCLOSED_PARENTHESES:`decimalEnclosedParen`,DECIMAL_ENCLOSED_CIRCLE_CHINESE:`decimalEnclosedCircleChinese`,IDEOGRAPH_ENCLOSED_CIRCLE:`ideographEnclosedCircle`,IDEOGRAPH_TRADITIONAL:`ideographTraditional`,IDEOGRAPH_ZODIAC:`ideographZodiac`,IDEOGRAPH_ZODIAC_TRADITIONAL:`ideographZodiacTraditional`,TAIWANESE_COUNTING:`taiwaneseCounting`,IDEOGRAPH_LEGAL_TRADITIONAL:`ideographLegalTraditional`,TAIWANESE_COUNTING_THOUSAND:`taiwaneseCountingThousand`,TAIWANESE_DIGITAL:`taiwaneseDigital`,CHINESE_COUNTING:`chineseCounting`,CHINESE_LEGAL_SIMPLIFIED:`chineseLegalSimplified`,CHINESE_COUNTING_THOUSAND:`chineseCountingThousand`,KOREAN_DIGITAL:`koreanDigital`,KOREAN_COUNTING:`koreanCounting`,KOREAN_LEGAL:`koreanLegal`,KOREAN_DIGITAL2:`koreanDigital2`,VIETNAMESE_COUNTING:`vietnameseCounting`,RUSSIAN_LOWER:`russianLower`,RUSSIAN_UPPER:`russianUpper`,NONE:`none`,NUMBER_IN_DASH:`numberInDash`,HEBREW1:`hebrew1`,HEBREW2:`hebrew2`,ARABIC_ALPHA:`arabicAlpha`,ARABIC_ABJAD:`arabicAbjad`,HINDI_VOWELS:`hindiVowels`,HINDI_CONSONANTS:`hindiConsonants`,HINDI_NUMBERS:`hindiNumbers`,HINDI_COUNTING:`hindiCounting`,THAI_LETTERS:`thaiLetters`,THAI_NUMBERS:`thaiNumbers`,THAI_COUNTING:`thaiCounting`,BAHT_TEXT:`bahtText`,DOLLAR_TEXT:`dollarText`,CUSTOM:`custom`},Hg=class extends y{xmlKeys={ilvl:`w:ilvl`,tentative:`w15:tentative`}},Ug=class extends b{constructor(e){super(`w:numFmt`),this.root.push(new A({val:e}))}},Wg=class extends b{constructor(e){super(`w:lvlText`),this.root.push(new A({val:e}))}},Gg=class extends b{constructor(e){super(`w:lvlJc`),this.root.push(new A({val:e}))}},Kg={NOTHING:`nothing`,SPACE:`space`,TAB:`tab`},qg=class extends b{constructor(e){super(`w:suff`),this.root.push(new A({val:e}))}},Jg=class extends b{constructor(){super(`w:isLgl`)}},Yg=class extends b{paragraphProperties;runProperties;constructor({level:e,format:t,text:n,alignment:r=M.START,start:i=1,style:a,suffix:o,isLegalNumberingStyle:s}){super(`w:lvl`),this.root.push(new re(`w:start`,(0,N.decimalNumber)(i))),t&&this.root.push(new Ug(t)),o&&this.root.push(new qg(o)),s&&this.root.push(new Jg),n&&this.root.push(new Wg(n)),this.root.push(new Gg(r)),this.paragraphProperties=new hc(a&&a.paragraph),this.runProperties=new kn(a&&a.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),this.root.push(new Hg({ilvl:(0,N.decimalNumber)(Math.min(e,9)),tentative:1}))}},Xg=class extends Yg{},Zg=class extends Yg{}})),$g,e_=r((()=>{j(),$g=class extends b{constructor(e){super(`w:multiLevelType`),this.root.push(new A({val:e}))}}})),t_,n_,r_=r((()=>{j(),P(),Qg(),e_(),t_=class extends y{xmlKeys={abstractNumId:`w:abstractNumId`,restartNumberingAfterBreak:`w15:restartNumberingAfterBreak`}},n_=class extends b{id;constructor(e,t){super(`w:abstractNum`),this.root.push(new t_({abstractNumId:(0,N.decimalNumber)(e),restartNumberingAfterBreak:0})),this.root.push(new $g(`hybridMultilevel`)),this.id=e;for(let e of t)this.root.push(new Xg(e))}}})),i_,a_,o_,s_,c_,l_,u_,d_=r((()=>{j(),P(),i_=class extends b{constructor(e){super(`w:abstractNumId`),this.root.push(new A({val:e}))}},a_=class extends y{xmlKeys={numId:`w:numId`}},o_=class extends b{numId;reference;instance;constructor(e){if(super(`w:num`),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new a_({numId:(0,N.decimalNumber)(e.numId)})),this.root.push(new i_((0,N.decimalNumber)(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(let t of e.overrideLevels)this.root.push(new c_(t.num,t.start))}},s_=class extends y{xmlKeys={ilvl:`w:ilvl`}},c_=class extends b{constructor(e,t){super(`w:lvlOverride`),this.root.push(new s_({ilvl:e})),t!==void 0&&this.root.push(new u_(t))}},l_=class extends y{xmlKeys={val:`w:val`}},u_=class extends b{constructor(e){super(`w:startOverride`),this.root.push(new l_({val:e}))}}})),f_,p_=r((()=>{K(),j(),H(),Sm(),r_(),Qg(),d_(),f_=class extends b{abstractNumberingMap=new Map;concreteNumberingMap=new Map;referenceConfigMap=new Map;abstractNumUniqueNumericId=Qn();concreteNumUniqueNumericId=$n();constructor(e){super(`w:numbering`),this.root.push(ym([`wpc`,`mc`,`o`,`r`,`m`,`v`,`wp14`,`wp`,`w10`,`w`,`w14`,`w15`,`wpg`,`wpi`,`wne`,`wps`],`w14 w15 wp14`));let t=new n_(this.abstractNumUniqueNumericId(),[{alignment:M.LEFT,format:Vg.BULLET,level:0,style:{paragraph:{indent:{hanging:x(.25),left:x(.5)}}},text:`●`},{alignment:M.LEFT,format:Vg.BULLET,level:1,style:{paragraph:{indent:{hanging:x(.25),left:x(1)}}},text:`○`},{alignment:M.LEFT,format:Vg.BULLET,level:2,style:{paragraph:{indent:{hanging:x(.25),left:2160}}},text:`■`},{alignment:M.LEFT,format:Vg.BULLET,level:3,style:{paragraph:{indent:{hanging:x(.25),left:2880}}},text:`●`},{alignment:M.LEFT,format:Vg.BULLET,level:4,style:{paragraph:{indent:{hanging:x(.25),left:3600}}},text:`○`},{alignment:M.LEFT,format:Vg.BULLET,level:5,style:{paragraph:{indent:{hanging:x(.25),left:4320}}},text:`■`},{alignment:M.LEFT,format:Vg.BULLET,level:6,style:{paragraph:{indent:{hanging:x(.25),left:5040}}},text:`●`},{alignment:M.LEFT,format:Vg.BULLET,level:7,style:{paragraph:{indent:{hanging:x(.25),left:5760}}},text:`●`},{alignment:M.LEFT,format:Vg.BULLET,level:8,style:{paragraph:{indent:{hanging:x(.25),left:6480}}},text:`●`}]);this.concreteNumberingMap.set(`default-bullet-numbering`,new o_({abstractNumId:t.id,instance:0,numId:1,overrideLevels:[{num:0,start:1}],reference:`default-bullet-numbering`})),this.abstractNumberingMap.set(`default-bullet-numbering`,t);for(let t of e.config)this.abstractNumberingMap.set(t.reference,new n_(this.abstractNumUniqueNumericId(),t.levels)),this.referenceConfigMap.set(t.reference,t.levels)}prepForXml(e){for(let e of this.abstractNumberingMap.values())this.root.push(e);for(let e of this.concreteNumberingMap.values())this.root.push(e);return super.prepForXml(e)}createConcreteNumberingInstance(e,t){let n=this.abstractNumberingMap.get(e);if(!n)return;let r=`${e}-${t}`;if(this.concreteNumberingMap.has(r))return;let i=this.referenceConfigMap.get(e),a=i&&i[0].start,o={abstractNumId:n.id,instance:t,numId:this.concreteNumUniqueNumericId(),overrideLevels:[typeof a==`number`&&Number.isInteger(a)?{num:0,start:a}:{num:0,start:1}],reference:e};this.concreteNumberingMap.set(r,new o_(o))}get ConcreteNumbering(){return[...this.concreteNumberingMap.values()]}get ReferenceConfig(){return[...this.referenceConfigMap.values()]}}})),m_=r((()=>{p_(),r_(),Qg(),d_()})),h_,g_=r((()=>{j(),h_=(e,t,n=`http://schemas.microsoft.com/office/word`)=>new o({attributes:{name:{key:`w:name`,value:e},uri:{key:`w:uri`,value:n},val:{key:`w:val`,value:t}},name:`w:compatSetting`})})),__,v_=r((()=>{j(),g_(),__=class extends b{constructor(e){super(`w:compat`),e.version&&this.root.push(h_(`compatibilityMode`,e.version)),e.useSingleBorderforContiguousCells&&this.root.push(new h(`w:useSingleBorderforContiguousCells`,e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new h(`w:wpJustification`,e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new h(`w:noTabHangInd`,e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new h(`w:noLeading`,e.noLeading)),e.spaceForUnderline&&this.root.push(new h(`w:spaceForUL`,e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new h(`w:noColumnBalance`,e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new h(`w:balanceSingleByteDoubleByteWidth`,e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new h(`w:noExtraLineSpacing`,e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new h(`w:doNotLeaveBackslashAlone`,e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new h(`w:ulTrailSpace`,e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new h(`w:doNotExpandShiftReturn`,e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new h(`w:spacingInWholePoints`,e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new h(`w:lineWrapLikeWord6`,e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new h(`w:printBodyTextBeforeHeader`,e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new h(`w:printColBlack`,e.printColorsBlack)),e.spaceWidth&&this.root.push(new h(`w:wpSpaceWidth`,e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new h(`w:showBreaksInFrames`,e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new h(`w:subFontBySize`,e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new h(`w:suppressBottomSpacing`,e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new h(`w:suppressTopSpacing`,e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new h(`w:suppressSpacingAtTopOfPage`,e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new h(`w:suppressTopSpacingWP`,e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new h(`w:suppressSpBfAfterPgBrk`,e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new h(`w:swapBordersFacingPages`,e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new h(`w:convMailMergeEsc`,e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new h(`w:truncateFontHeightsLikeWP6`,e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new h(`w:mwSmallCaps`,e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new h(`w:usePrinterMetrics`,e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new h(`w:doNotSuppressParagraphBorders`,e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new h(`w:wrapTrailSpaces`,e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new h(`w:footnoteLayoutLikeWW8`,e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new h(`w:shapeLayoutLikeWW8`,e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new h(`w:alignTablesRowByRow`,e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new h(`w:forgetLastTabAlignment`,e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new h(`w:adjustLineHeightInTable`,e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new h(`w:autoSpaceLikeWord95`,e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new h(`w:noSpaceRaiseLower`,e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new h(`w:doNotUseHTMLParagraphAutoSpacing`,e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new h(`w:layoutRawTableWidth`,e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new h(`w:layoutTableRowsApart`,e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new h(`w:useWord97LineBreakRules`,e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new h(`w:doNotBreakWrappedTables`,e.doNotBreakWrappedTables)),e.doNotSnapToGridInCell&&this.root.push(new h(`w:doNotSnapToGridInCell`,e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new h(`w:selectFldWithFirstOrLastChar`,e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new h(`w:applyBreakingRules`,e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new h(`w:doNotWrapTextWithPunct`,e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new h(`w:doNotUseEastAsianBreakRules`,e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new h(`w:useWord2002TableStyleRules`,e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new h(`w:growAutofit`,e.growAutofit)),e.useFELayout&&this.root.push(new h(`w:useFELayout`,e.useFELayout)),e.useNormalStyleForList&&this.root.push(new h(`w:useNormalStyleForList`,e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new h(`w:doNotUseIndentAsNumberingTabStop`,e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new h(`w:useAltKinsokuLineBreakRules`,e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new h(`w:allowSpaceOfSameStyleInTable`,e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new h(`w:doNotSuppressIndentation`,e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new h(`w:doNotAutofitConstrainedTables`,e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new h(`w:autofitToFirstFixedWidthCell`,e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new h(`w:underlineTabInNumList`,e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new h(`w:displayHangulFixedWidth`,e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new h(`w:splitPgBreakAndParaMark`,e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new h(`w:doNotVertAlignCellWithSp`,e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new h(`w:doNotBreakConstrainedForcedTable`,e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new h(`w:doNotVertAlignInTxbx`,e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new h(`w:useAnsiKerningPairs`,e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new h(`w:cachedColBalance`,e.cachedColumnBalance)),e.overrideTableStyleFontSizeAndJustification&&this.root.push(h_(`overrideTableStyleFontSizeAndJustification`,1)),e.enableOpenTypeFeatures&&this.root.push(h_(`enableOpenTypeFeatures`,1)),e.doNotFlipMirrorIndents&&this.root.push(h_(`doNotFlipMirrorIndents`,1))}}})),y_,b_,x_,S_,C_,w_,T_,E_,D_,O_,k_,A_,j_=r((()=>{j(),v_(),y_=class extends y{xmlKeys={Ignorable:`mc:Ignorable`,m:`xmlns:m`,mc:`xmlns:mc`,o:`xmlns:o`,r:`xmlns:r`,v:`xmlns:v`,w:`xmlns:w`,w10:`xmlns:w10`,w14:`xmlns:w14`,w15:`xmlns:w15`,wne:`xmlns:wne`,wp:`xmlns:wp`,wp14:`xmlns:wp14`,wpc:`xmlns:wpc`,wpg:`xmlns:wpg`,wpi:`xmlns:wpi`,wps:`xmlns:wps`}},b_=class extends b{constructor(e){super(`w:settings`),this.root.push(new y_({Ignorable:`w14 w15 wp14`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,o:`urn:schemas-microsoft-com:office:office`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,v:`urn:schemas-microsoft-com:vml`,w:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,w10:`urn:schemas-microsoft-com:office:word`,w14:`http://schemas.microsoft.com/office/word/2010/wordml`,w15:`http://schemas.microsoft.com/office/word/2012/wordml`,wne:`http://schemas.microsoft.com/office/word/2006/wordml`,wp:`http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing`,wp14:`http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing`,wpc:`http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas`,wpg:`http://schemas.microsoft.com/office/word/2010/wordprocessingGroup`,wpi:`http://schemas.microsoft.com/office/word/2010/wordprocessingInk`,wps:`http://schemas.microsoft.com/office/word/2010/wordprocessingShape`})),e.trackRevisions!==void 0&&this.root.push(new h(`w:trackRevisions`,e.trackRevisions)),e.documentProtection!==void 0&&this.root.push(new S_(e.documentProtection)),e.view!==void 0&&this.root.push(new w_(e.view)),e.zoom!==void 0&&this.root.push(new E_({val:e.zoom.val,percent:e.zoom.percent??100})),e.writeProtection!==void 0&&this.root.push(new O_(e.writeProtection)),e.displayBackgroundShape!==void 0&&this.root.push(new h(`w:displayBackgroundShape`,e.displayBackgroundShape)),e.embedTrueTypeFonts!==void 0&&this.root.push(new h(`w:embedTrueTypeFonts`,e.embedTrueTypeFonts)),e.embedSystemFonts!==void 0&&this.root.push(new h(`w:embedSystemFonts`,e.embedSystemFonts)),e.saveSubsetFonts!==void 0&&this.root.push(new h(`w:saveSubsetFonts`,e.saveSubsetFonts)),e.docVars!==void 0&&e.docVars.length>0&&this.root.push(new o({name:`w:docVars`,children:e.docVars.map(e=>new o({name:`w:docVar`,attributes:[{key:`w:name`,value:e.name},{key:`w:val`,value:e.val}]}))})),e.evenAndOddHeaders!==void 0&&this.root.push(new h(`w:evenAndOddHeaders`,e.evenAndOddHeaders)),e.updateFields!==void 0&&this.root.push(new h(`w:updateFields`,e.updateFields)),this.root.push(new re(`w:defaultTabStop`,e.defaultTabStop??420)),e.hyphenation?.autoHyphenation!==void 0&&this.root.push(new h(`w:autoHyphenation`,e.hyphenation.autoHyphenation)),e.hyphenation?.hyphenationZone!==void 0&&this.root.push(new re(`w:hyphenationZone`,e.hyphenation.hyphenationZone)),e.hyphenation?.consecutiveHyphenLimit!==void 0&&this.root.push(new re(`w:consecutiveHyphenLimit`,e.hyphenation.consecutiveHyphenLimit)),e.hyphenation?.doNotHyphenateCaps!==void 0&&this.root.push(new h(`w:doNotHyphenateCaps`,e.hyphenation.doNotHyphenateCaps)),this.root.push(new v(`w:characterSpacingControl`,e.characterSpacingControl??`compressPunctuation`)),e.colorSchemeMapping!==void 0&&this.root.push(new A_(e.colorSchemeMapping)),this.root.push(new __({...e.compatibility,version:e.compatibility?.version??e.compatibilityModeVersion??15,spaceForUnderline:e.compatibility?.spaceForUnderline??!0,balanceSingleByteDoubleByteWidth:e.compatibility?.balanceSingleByteDoubleByteWidth??!0,doNotLeaveBackslashAlone:e.compatibility?.doNotLeaveBackslashAlone??!0,underlineTrailingSpaces:e.compatibility?.underlineTrailingSpaces??!0,doNotExpandShiftReturn:e.compatibility?.doNotExpandShiftReturn??!0,adjustLineHeightInTable:e.compatibility?.adjustLineHeightInTable??!0,useFELayout:e.compatibility?.useFELayout??!0,overrideTableStyleFontSizeAndJustification:e.compatibility?.overrideTableStyleFontSizeAndJustification??!0,enableOpenTypeFeatures:e.compatibility?.enableOpenTypeFeatures??!0,doNotFlipMirrorIndents:e.compatibility?.doNotFlipMirrorIndents??!0}))}},x_=class extends y{xmlKeys={edit:`w:edit`,enforcement:`w:enforcement`,formatting:`w:formatting`,algorithmName:`w:algorithmName`,hashValue:`w:hashValue`,saltValue:`w:saltValue`,spinCount:`w:spinCount`}},S_=class extends b{constructor(e){super(`w:documentProtection`),this.root.push(new x_({enforcement:`1`,edit:e.edit,formatting:e.formatting===void 0?void 0:e.formatting?`1`:`0`,algorithmName:e.algorithmName,hashValue:e.hashValue,saltValue:e.saltValue,spinCount:e.spinCount}))}},C_=class extends y{xmlKeys={val:`w:val`}},w_=class extends b{constructor(e){super(`w:view`),this.root.push(new C_({val:e}))}},T_=class extends y{xmlKeys={val:`w:val`,percent:`w:percent`}},E_=class extends b{constructor(e){super(`w:zoom`),this.root.push(new T_(e))}},D_=class extends y{xmlKeys={recommended:`w:recommended`,hashValue:`w:hashValue`,saltValue:`w:saltValue`,spinCount:`w:spinCount`,algorithmName:`w:algorithmName`}},O_=class extends b{constructor(e){super(`w:writeProtection`),this.root.push(new D_({recommended:e.recommended===void 0?void 0:e.recommended?`1`:`0`,hashValue:e.hashValue,saltValue:e.saltValue,spinCount:e.spinCount,algorithmName:e.algorithmName}))}},k_=class extends y{xmlKeys={bg1:`w:bg1`,t1:`w:t1`,bg2:`w:bg2`,t2:`w:t2`,accent1:`w:accent1`,accent2:`w:accent2`,accent3:`w:accent3`,accent4:`w:accent4`,accent5:`w:accent5`,accent6:`w:accent6`,hyperlink:`w:hyperlink`,followedHyperlink:`w:followedHyperlink`}},A_=class extends b{constructor(e){super(`w:clrSchemeMapping`),this.root.push(new k_(e))}}})),M_=r((()=>{j_()})),N_=r((()=>{})),P_,F_,I_,L_=r((()=>{j(),P(),P_=class extends y{xmlKeys={val:`w:val`}},F_=class extends b{constructor(e){super(`w:name`),this.root.push(new P_({val:e}))}},I_=class extends b{constructor(e){super(`w:uiPriority`),this.root.push(new P_({val:(0,N.decimalNumber)(e)}))}}})),R_,z_=r((()=>{j(),R_=e=>{let t=[];return e.paragraphProperties&&t.push(e.paragraphProperties),e.runProperties&&t.push(e.runProperties),e.tableProperties&&t.push(e.tableProperties),e.rowProperties&&t.push(e.rowProperties),e.cellProperties&&t.push(e.cellProperties),new o({attributes:{type:{key:`w:type`,value:e.type}},children:t,name:`w:tblStylePr`})}})),B_,V_,H_=r((()=>{j(),L_(),z_(),B_=class extends y{xmlKeys={customStyle:`w:customStyle`,default:`w:default`,styleId:`w:styleId`,type:`w:type`}},V_=class extends b{constructor(e,t){if(super(`w:style`),this.root.push(new B_(e)),t.name&&this.root.push(new F_(t.name)),t.basedOn&&this.root.push(new v(`w:basedOn`,t.basedOn)),t.next&&this.root.push(new v(`w:next`,t.next)),t.link&&this.root.push(new v(`w:link`,t.link)),t.uiPriority!==void 0&&this.root.push(new I_(t.uiPriority)),t.semiHidden!==void 0&&this.root.push(new h(`w:semiHidden`,t.semiHidden)),t.unhideWhenUsed!==void 0&&this.root.push(new h(`w:unhideWhenUsed`,t.unhideWhenUsed)),t.quickFormat!==void 0&&this.root.push(new h(`w:qFormat`,t.quickFormat)),t.tableStyleOverrides)for(let e of t.tableStyleOverrides)this.root.push(R_(e))}}})),U_,W_=r((()=>{K(),Mn(),H_(),U_=class extends V_{paragraphProperties;runProperties;constructor(e){super({styleId:e.id,type:`paragraph`},e),this.paragraphProperties=new hc(e.paragraph),this.runProperties=new kn(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}})),G_,K_=r((()=>{Mn(),H_(),G_=class extends V_{runProperties;constructor(e){super({styleId:e.id,type:`character`},{uiPriority:99,unhideWhenUsed:!0,...e}),this.runProperties=new kn(e.run),this.root.push(this.runProperties)}}})),q_,J_,Y_,X_,Z_,Q_,$_,ev,tv,nv,rv,iv,av,ov,sv,cv,lv,uv=r((()=>{K(),Tn(),K_(),W_(),q_=class extends U_{constructor(e){super({basedOn:`Normal`,next:`Normal`,quickFormat:!0,...e})}},J_=class extends q_{constructor(e){super({id:`Title`,name:`Title`,...e})}},Y_=class extends q_{constructor(e){super({id:`Heading1`,name:`Heading 1`,...e})}},X_=class extends q_{constructor(e){super({id:`Heading2`,name:`Heading 2`,...e})}},Z_=class extends q_{constructor(e){super({id:`Heading3`,name:`Heading 3`,...e})}},Q_=class extends q_{constructor(e){super({id:`Heading4`,name:`Heading 4`,...e})}},$_=class extends q_{constructor(e){super({id:`Heading5`,name:`Heading 5`,...e})}},ev=class extends q_{constructor(e){super({id:`Heading6`,name:`Heading 6`,...e})}},tv=class extends q_{constructor(e){super({id:`Strong`,name:`Strong`,...e})}},nv=class extends U_{constructor(e){super({basedOn:`Normal`,id:`ListParagraph`,name:`List Paragraph`,quickFormat:!0,...e})}},rv=class extends U_{constructor(e){super({basedOn:`Normal`,id:`FootnoteText`,link:`FootnoteTextChar`,name:`footnote text`,paragraph:{spacing:{after:0,line:240,lineRule:ns.AUTO}},run:{size:20},semiHidden:!0,uiPriority:99,unhideWhenUsed:!0,...e})}},iv=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`FootnoteReference`,name:`footnote reference`,run:{superScript:!0},semiHidden:!0,...e})}},av=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`FootnoteTextChar`,link:`FootnoteText`,name:`Footnote Text Char`,run:{size:20},semiHidden:!0,...e})}},ov=class extends U_{constructor(e){super({basedOn:`Normal`,id:`EndnoteText`,link:`EndnoteTextChar`,name:`endnote text`,paragraph:{spacing:{after:0,line:240,lineRule:ns.AUTO}},run:{size:20},semiHidden:!0,uiPriority:99,unhideWhenUsed:!0,...e})}},sv=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`EndnoteReference`,name:`endnote reference`,run:{superScript:!0},semiHidden:!0,...e})}},cv=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`EndnoteTextChar`,link:`EndnoteText`,name:`Endnote Text Char`,run:{size:20},semiHidden:!0,...e})}},lv=class extends G_{constructor(e){super({basedOn:`DefaultParagraphFont`,id:`Hyperlink`,name:`Hyperlink`,run:{color:`0563C1`,underline:{type:Cn.SINGLE}},...e})}}})),dv=r((()=>{H_(),W_(),K_(),uv(),z_()})),fv,pv=r((()=>{j(),dv(),fv=class extends b{constructor(e){if(super(`w:styles`),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(let t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(let t of e.paragraphStyles)this.root.push(new U_(t));if(e.characterStyles)for(let t of e.characterStyles)this.root.push(new G_(t))}}})),mv,hv=r((()=>{_c(),j(),mv=class extends b{constructor(e){super(`w:pPrDefault`),this.root.push(new hc(e))}}})),gv,_v=r((()=>{Mn(),j(),gv=class extends b{constructor(e){super(`w:rPrDefault`),this.root.push(new kn(e))}}})),vv,yv=r((()=>{j(),hv(),_v(),vv=class extends b{runPropertiesDefaults;paragraphPropertiesDefaults;constructor(e){super(`w:docDefaults`),this.runPropertiesDefaults=new gv(e.run),this.paragraphPropertiesDefaults=new mv(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}})),bv=r((()=>{hv(),_v(),yv()})),xv=r((()=>{pv(),K_(),W_(),bv()})),Sv,Cv=r((()=>{j(),Sv=class{newInstance(e){let t=ct(e,{compact:!1}),n;for(let e of t.elements||[])e.name===`w:styles`&&(n=e);return n===void 0?{importedStyles:[],initialStyles:new m({})}:{importedStyles:(n.elements||[]).map(e=>ge(e)),initialStyles:new m(n.attributes)}}}})),wv,Tv,Ev=r((()=>{Sm(),bv(),dv(),wv=null,Tv=class{newInstance(e={}){return Object.keys(e).length===0?(wv||=this.build({}),wv):this.build(e)}build(e){return{importedStyles:[new vv(e.document??{}),new J_({run:{size:56},...e.title}),new Y_(e.heading1||{}),new X_(e.heading2||{}),new Z_(e.heading3||{}),new Q_(e.heading4||{}),new $_(e.heading5||{}),new ev(e.heading6||{}),new tv({run:{bold:!0},...e.strong}),new nv(e.listParagraph||{}),new lv(e.hyperlink||{}),new iv(e.footnoteReference||{}),new rv(e.footnoteText||{}),new av(e.footnoteTextChar||{}),new sv(e.endnoteReference||{}),new ov(e.endnoteText||{}),new cv(e.endnoteTextChar||{})],initialStyles:ym([`mc`,`r`,`w`,`w14`,`w15`],`w14 w15`)}}}})),Dv,Ov=r((()=>{Dv=class{map;constructor(){this.map=new Map}addSubDoc(e,t){this.map.set(e,t)}get Array(){return[...this.map.values()]}}})),kv,Av=r((()=>{am(),om(),fm(),pm(),nm(),vm(),Dm(),Lm(),Uh(),Nh(),ug(),ac(),vg(),Ng(),Ig(),Bg(),za(),m_(),bo(),uo(),M_(),N_(),xv(),Cv(),Ev(),Ov(),kv=class{currentRelationshipId=1;documentWrapper;headers=[];footers=[];coreProperties;numbering;media;charts;smartArts;altChunks;subDocs;fileRelationships;footnotesWrapper;endnotesWrapper;settings;contentTypes;customProperties;appProperties;styles;comments;bibliography;fontWrapper;constructor(e){if(this.coreProperties=new Cm({...e,creator:e.creator??`Un-named`,lastModifiedBy:e.lastModifiedBy??`Un-named`,revision:e.revision??1}),this.numbering=new f_(e.numbering?e.numbering:{config:[]}),this.comments=new yo(e.comments??{children:[]}),this.bibliography=e.bibliography?new um(e.bibliography):void 0,this.fileRelationships=new g,this.customProperties=new Fm(e.customProperties??[]),this.appProperties=new i,this.footnotesWrapper=new Mg,this.endnotesWrapper=new lg,this.contentTypes=new _m,this.documentWrapper=new Hh({background:e.background}),this.settings=new b_({compatibility:e.compatibility,compatibilityModeVersion:e.compatabilityModeVersion,defaultTabStop:e.defaultTabStop,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,characterSpacingControl:e.characterSpacingControl,hyphenation:{autoHyphenation:e.hyphenation?.autoHyphenation,consecutiveHyphenLimit:e.hyphenation?.consecutiveHyphenLimit,doNotHyphenateCaps:e.hyphenation?.doNotHyphenateCaps,hyphenationZone:e.hyphenation?.hyphenationZone},trackRevisions:e.features?.trackRevisions,updateFields:e.features?.updateFields,documentProtection:e.features?.documentProtection,view:e.view,zoom:e.zoom,writeProtection:e.writeProtection,displayBackgroundShape:e.displayBackgroundShape??(e.background?.image?!0:void 0),embedTrueTypeFonts:e.embedTrueTypeFonts,embedSystemFonts:e.embedSystemFonts,saveSubsetFonts:e.saveSubsetFonts,docVars:e.docVars,colorSchemeMapping:e.colorSchemeMapping}),this.media=new Fa,this.charts=new Ke,this.smartArts=new Qe,this.altChunks=new im,this.subDocs=new Dv,e.externalStyles!==void 0){let t=new Tv().newInstance(e.styles?.default),n=new Sv().newInstance(e.externalStyles);this.styles=new fv({...n,importedStyles:[...t.importedStyles,...n.importedStyles]})}else if(e.styles){let t=new Tv().newInstance(e.styles.default);this.styles=new fv({...t,...e.styles})}else{let e=new Tv;this.styles=new fv(e.newInstance())}this.addDefaultRelationships(),this.bibliography&&this.contentTypes.addBibliography();for(let t of e.sections)this.addSection(t);if(e.footnotes)for(let t in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(t),e.footnotes[t].children);if(e.endnotes)for(let t in e.endnotes)this.endnotesWrapper.View.createEndnote(parseFloat(t),e.endnotes[t].children);this.fontWrapper=new ic(e.fonts??[])}addSection({headers:e={},footers:t={},children:n,properties:r}){this.documentWrapper.View.Body.addSection({...r,footerWrapperGroup:{default:t.default?this.createFooter(t.default):void 0,even:t.even?this.createFooter(t.even):void 0,first:t.first?this.createFooter(t.first):void 0},headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,even:e.even?this.createHeader(e.even):void 0,first:e.first?this.createHeader(e.first):void 0}});for(let e of n)this.documentWrapper.View.add(tm(e))}createHeader(e){let t=new zg(this.media,this.currentRelationshipId++),n=e instanceof Pg?e.options.children:e;for(let e of n)t.add(tm(e));return this.addHeaderToDocument(t),t}createFooter(e){let t=new _g(this.media,this.currentRelationshipId++),n=e instanceof Fg?e.options.children:e;for(let e of n)t.add(tm(e));return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=Jm.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=Jm.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.bibliography&&this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography`,`bibliography.xml`)}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 Charts(){return this.charts}get SmartArts(){return this.smartArts}get AltChunks(){return this.altChunks}get SubDocs(){return this.subDocs}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 Bibliography(){return this.bibliography}get FontTable(){return this.fontWrapper}}})),jv=r((()=>{})),Mv,Nv,Pv,Fv=r((()=>{Yo(),j(),Mv=class extends y{xmlKeys={id:`w:id`}},Nv=class extends b{constructor(e){super(`w:footnoteReference`),this.root.push(new Mv({id:e}))}},Pv=class extends V{constructor(e){super({style:`FootnoteReference`}),this.extraChildren.push(new Nv(e))}}})),Iv=r((()=>{Fv()})),Lv=r((()=>{Iv()})),Rv=r((()=>{jg(),Lv()})),zv,Bv,Vv,Hv=r((()=>{Yo(),j(),zv=class extends y{xmlKeys={id:`w:id`}},Bv=class extends b{constructor(e){super(`w:endnoteReference`),this.root.push(new zv({id:e}))}},Vv=class extends V{constructor(e){super({style:`EndnoteReference`}),this.extraChildren.push(new Bv(e))}}})),Uv=r((()=>{Hv()})),Wv=r((()=>{Uv()})),Gv=r((()=>{cg(),Wv()})),Kv,qv,Jv=r((()=>{j(),P(),Kv=class extends y{xmlKeys={symbolfont:`w14:font`,val:`w14:val`}},qv=class extends b{constructor(e,t,n){super(e),n?this.root.push(new Kv({symbolfont:n,val:(0,N.shortHexNumber)(t)})):this.root.push(new Kv({val:t}))}}})),Yv,Xv=r((()=>{Jv(),j(),Yv=class extends b{DEFAULT_UNCHECKED_SYMBOL=`2610`;DEFAULT_CHECKED_SYMBOL=`2612`;DEFAULT_FONT=`MS Gothic`;constructor(e){super(`w14:checkbox`);let t=e?.checked?`1`:`0`,n,r;this.root.push(new qv(`w14:checked`,t)),n=e?.checkedState?.value?e?.checkedState?.value:this.DEFAULT_CHECKED_SYMBOL,r=e?.checkedState?.font?e?.checkedState?.font:this.DEFAULT_FONT,this.root.push(new qv(`w14:checkedState`,n,r)),n=e?.uncheckedState?.value?e?.uncheckedState?.value:this.DEFAULT_UNCHECKED_SYMBOL,r=e?.uncheckedState?.font?e?.uncheckedState?.font:this.DEFAULT_FONT,this.root.push(new qv(`w14:uncheckedState`,n,r))}}})),Zv,Qv=r((()=>{Zn(),vd(),Dd(),j(),Xv(),Zv=class extends b{DEFAULT_UNCHECKED_SYMBOL=`2610`;DEFAULT_CHECKED_SYMBOL=`2612`;DEFAULT_FONT=`MS Gothic`;constructor(e){super(`w:sdt`);let t=new Ed(e?.alias);t.addChildElement(new Yv(e)),this.root.push(t);let n=new _d,r=e?.checkedState?.font,i=e?.checkedState?.value,a=e?.uncheckedState?.font,o=e?.uncheckedState?.value,s,c;e?.checked?(s=r||this.DEFAULT_FONT,c=i||this.DEFAULT_CHECKED_SYMBOL):(s=a||this.DEFAULT_FONT,c=o||this.DEFAULT_UNCHECKED_SYMBOL);let l=new Xn({char:c,symbolfont:s});n.addChildElement(l),this.root.push(n)}}})),$v=r((()=>{Xv(),Jv(),Qv()})),ey,ty,ny,ry,iy,ay=r((()=>{j(),ey={NONE:`none`,EVERYONE:`everyone`,ADMINISTRATORS:`administrators`,CONTRIBUTORS:`contributors`,EDITORS:`editors`,OWNERS:`owners`,CURRENT:`current`},ty=class extends y{xmlKeys={colFirst:`w:colFirst`,colLast:`w:colLast`,ed:`w:ed`,edGroup:`w:edGrp`,id:`w:id`}},ny=class extends y{xmlKeys={id:`w:id`}},ry=class extends b{constructor(e){super(`w:permStart`),this.root.push(new ty(e))}},iy=class extends b{constructor(e){super(`w:permEnd`),this.root.push(new ny({id:e}))}}})),oy=r((()=>{ay()})),sy=r((()=>{md(),am()})),cy=r((()=>{zd(),Ov()})),ly=r((()=>{$s()})),uy=r((()=>{$p()})),dy=r((()=>{pm(),Ua()})),fy=r((()=>{})),py=r((()=>{})),my=t({COLOR_CATEGORIES:()=>Je,DEFAULT_DRAWING_XML:()=>Ye,LAYOUT_CATEGORIES:()=>Xe,STYLE_CATEGORIES:()=>Ze,SmartArtCollection:()=>Qe,createDataModel:()=>$e,getColorXml:()=>et,getLayoutXml:()=>tt,getStyleXml:()=>nt}),hy=r((()=>{fy(),py(),N_(),Ka()})),gy=t({AbstractNumbering:()=>n_,AlignmentType:()=>M,AltChunk:()=>pd,AltChunkCollection:()=>im,AnnotationReference:()=>ko,Attributes:()=>A,BaseXmlComponent:()=>a,Bdo:()=>qs,Bibliography:()=>um,Body:()=>Dh,Bookmark:()=>Ss,BookmarkEnd:()=>ws,BookmarkStart:()=>Cs,Border:()=>Tt,BorderStyle:()=>St,BuilderElement:()=>o,COLOR_CATEGORIES:()=>Je,CarriageReturn:()=>Fo,CellMerge:()=>hf,CellMergeAttributes:()=>mf,CharacterSet:()=>Xs,ChartCollection:()=>Ke,ChartRun:()=>Wa,ChartSpace:()=>qe,CheckBox:()=>Zv,CheckBoxSymbolElement:()=>qv,CheckBoxUtil:()=>Yv,Column:()=>Ah,ColumnBreak:()=>$o,Comment:()=>vo,CommentRangeEnd:()=>go,CommentRangeStart:()=>ho,CommentReference:()=>_o,Comments:()=>yo,ConcreteHyperlink:()=>ui,ConcreteNumbering:()=>o_,ContinuationSeparator:()=>No,DEFAULT_DRAWING_XML:()=>Ye,DayLong:()=>Eo,DayShort:()=>Co,DeletedTableCell:()=>df,DeletedTableRow:()=>sf,DeletedTextRun:()=>Xd,Dir:()=>Ks,Document:()=>zh,DocumentAttributeNamespaces:()=>bm,DocumentBackground:()=>Ih,DocumentBackgroundAttributes:()=>Fh,DocumentDefaults:()=>vv,DocumentGridType:()=>Bm,Drawing:()=>ja,DropCapType:()=>cc,EMPTY_OBJECT:()=>l,EditGroupType:()=>ey,EmphasisMarkType:()=>un,EmptyElement:()=>u,EndnoteIdReference:()=>Bv,EndnoteReference:()=>jo,EndnoteReferenceRun:()=>Vv,EndnoteReferenceRunAttributes:()=>zv,Endnotes:()=>sg,ExternalHyperlink:()=>fi,File:()=>kv,FootNoteReferenceRunAttributes:()=>Mv,FootNotes:()=>Ag,Footer:()=>Fg,FooterWrapper:()=>_g,FootnoteReference:()=>Nv,FootnoteReferenceElement:()=>Ao,FootnoteReferenceRun:()=>Pv,FormFieldTextType:()=>Pt,FractionType:()=>Bl,FrameAnchorType:()=>lc,FrameWrap:()=>uc,GridSpan:()=>Ef,Header:()=>Pg,HeaderFooterReferenceType:()=>Jm,HeaderFooterType:()=>Ym,HeaderWrapper:()=>zg,HeadingLevel:()=>as,HeightRule:()=>up,HighlightColor:()=>On,HorizontalPositionAlign:()=>Nn,HorizontalPositionRelativeFrom:()=>nr,HpsMeasureElement:()=>f,HyperlinkType:()=>li,IgnoreIfEmptyXmlComponent:()=>p,ImageRun:()=>Va,ImportedRootElementAttributes:()=>m,ImportedXmlComponent:()=>ee,InitializableXmlComponent:()=>te,InsertedTableCell:()=>lf,InsertedTableRow:()=>af,InsertedTextRun:()=>Hd,InternalHyperlink:()=>di,LAYOUT_CATEGORIES:()=>Xe,LastRenderedPageBreak:()=>Lo,LeaderType:()=>ls,Level:()=>Xg,LevelBase:()=>Yg,LevelForOverride:()=>Zg,LevelFormat:()=>Vg,LevelOverride:()=>c_,LevelSuffix:()=>Kg,LineNumberRestartFormat:()=>Qm,LineRuleType:()=>ns,Math:()=>ou,MathAngledBrackets:()=>Al,MathBorderBox:()=>ul,MathBox:()=>hl,MathCurlyBrackets:()=>Ol,MathDegree:()=>ju,MathDenominator:()=>Rl,MathEqArr:()=>Fl,MathFraction:()=>Gl,MathFunction:()=>Ql,MathFunctionName:()=>Jl,MathGroupChr:()=>ru,MathIntegral:()=>Ic,MathLimit:()=>Rc,MathLimitLower:()=>Jc,MathLimitUpper:()=>Wc,MathMatrix:()=>Cu,MathNumerator:()=>Ul,MathParagraph:()=>du,MathPhant:()=>Ou,MathPreSubSuperScript:()=>id,MathRadical:()=>Ru,MathRadicalProperties:()=>Iu,MathRoundBrackets:()=>wl,MathRun:()=>yu,MathSquareBrackets:()=>El,MathSubScript:()=>Ju,MathSubSuperScript:()=>$u,MathSum:()=>Pc,MathSuperScript:()=>Uu,Media:()=>Fa,MonthLong:()=>Do,MonthShort:()=>wo,MoveFromRangeEnd:()=>ks,MoveFromRangeStart:()=>Os,MoveToRangeEnd:()=>js,MoveToRangeStart:()=>As,MovedFromTextRun:()=>$d,MovedToTextRun:()=>ef,NextAttributeComponent:()=>ne,NoBreakHyphen:()=>xo,NumberFormat:()=>In,NumberProperties:()=>ms,NumberValueElement:()=>re,NumberedItemReference:()=>Ls,NumberedItemReferenceFormat:()=>Fs,Numbering:()=>f_,OnOffElement:()=>h,OverlapType:()=>Jf,PageBorderDisplay:()=>th,PageBorderOffsetFrom:()=>nh,PageBorderZOrder:()=>rh,PageBorders:()=>ah,PageBreak:()=>Qo,PageBreakBefore:()=>es,PageNumber:()=>B,PageNumberElement:()=>Po,PageNumberSeparator:()=>lh,PageOrientation:()=>fh,PageReference:()=>Us,PageTextDirection:()=>_h,PageTextDirectionType:()=>hh,Paragraph:()=>U,ParagraphProperties:()=>hc,ParagraphPropertiesChange:()=>gc,ParagraphPropertiesDefaults:()=>mv,ParagraphRunProperties:()=>An,PermEnd:()=>iy,PermStart:()=>ry,PositionalTab:()=>Uo,PositionalTabAlignment:()=>zo,PositionalTabLeader:()=>Vo,PositionalTabRelativeTo:()=>Bo,RelativeHorizontalPosition:()=>Kf,RelativeVerticalPosition:()=>qf,RubyAlign:()=>Go,Run:()=>V,RunProperties:()=>kn,RunPropertiesChange:()=>jn,RunPropertiesDefaults:()=>gv,STYLE_CATEGORIES:()=>Ze,SdtDateMappingType:()=>bd,SdtLock:()=>yd,SectionProperties:()=>wh,SectionPropertiesChange:()=>Th,SectionType:()=>yh,Separator:()=>Mo,SequentialIdentifier:()=>ro,ShadingType:()=>en,SimpleField:()=>oo,SimpleMailMergeField:()=>so,SmartArtCollection:()=>Qe,SmartArtRun:()=>qa,SoftHyphen:()=>So,SpaceType:()=>Rn,StringContainer:()=>_,StringEnumValueElement:()=>oe,StringValueElement:()=>v,StructuredDocumentTagBlock:()=>Pd,StructuredDocumentTagCell:()=>Bd,StructuredDocumentTagContent:()=>_d,StructuredDocumentTagProperties:()=>Ed,StructuredDocumentTagRow:()=>jp,StructuredDocumentTagRun:()=>Nd,StyleForCharacter:()=>G_,StyleForParagraph:()=>U_,StyleLevel:()=>Ad,Styles:()=>fv,SubDoc:()=>Rd,SubDocCollection:()=>Dv,SymbolRun:()=>Xn,TDirection:()=>Mf,Tab:()=>Io,TabStopPosition:()=>us,TabStopType:()=>cs,Table:()=>zp,TableAnchorType:()=>Gf,TableBorders:()=>Uf,TableCell:()=>kp,TableCellBorders:()=>wf,TableLayoutType:()=>$f,TableOfContents:()=>Od,TableProperties:()=>ip,TablePropertyExceptions:()=>sp,TableRow:()=>gp,TableRowProperties:()=>pp,TableRowPropertiesChange:()=>mp,TextAlignmentType:()=>pc,TextBodyWrappingType:()=>Pr,TextDirection:()=>Af,TextEffect:()=>Dn,TextHorzOverflowType:()=>Mr,TextRun:()=>Gn,TextVertOverflowType:()=>jr,TextVerticalType:()=>Nr,TextWrappingSide:()=>Ji,TextWrappingType:()=>qi,Textbox:()=>Qp,TextboxTightWrapType:()=>mc,ThematicBreak:()=>Et,UnderlineType:()=>Cn,VerticalAlign:()=>bf,VerticalAlignSection:()=>yf,VerticalAlignTable:()=>vf,VerticalAnchor:()=>Ar,VerticalMerge:()=>kf,VerticalMergeRevisionType:()=>pf,VerticalMergeType:()=>Df,VerticalPositionAlign:()=>Pn,VerticalPositionRelativeFrom:()=>rr,WORKAROUND2:()=>``,WORKAROUND4:()=>``,WidthType:()=>Rf,WpgGroupRun:()=>Za,WpsShapeRun:()=>Ya,XmlAttributeComponent:()=>y,XmlComponent:()=>b,YearLong:()=>Oo,YearShort:()=>To,buildDocumentAttributes:()=>ym,buildRunProperties:()=>En,chartAttr:()=>ue,coerceSectionChild:()=>tm,convertToXmlComponent:()=>ge,createAlignment:()=>yt,createBodyProperties:()=>Lr,createBorderElement:()=>F,createBreak:()=>Mt,createCnfStyle:()=>Ot,createColumns:()=>Rm,createDataModel:()=>$e,createDivId:()=>Ns,createDocumentGrid:()=>Vm,createDotEmphasisMark:()=>fn,createEmphasisMark:()=>dn,createFormFieldData:()=>zt,createFrameProperties:()=>dc,createHeaderFooterReference:()=>Xm,createHorizontalPosition:()=>dr,createIndent:()=>At,createLineNumberType:()=>$m,createMathAccent:()=>Qc,createMathAccentCharacter:()=>yc,createMathAccentProperties:()=>Xc,createMathBar:()=>al,createMathBarProperties:()=>rl,createMathBase:()=>W,createMathBorderBoxProperties:()=>cl,createMathBoxProperties:()=>pl,createMathControlProperties:()=>Bc,createMathEqArrProperties:()=>Nl,createMathFractionProperties:()=>Vl,createMathFunctionProperties:()=>Xl,createMathGroupChrProperties:()=>tu,createMathLimitLocation:()=>Sc,createMathLimitLowProperties:()=>Kc,createMathLimitUpperProperties:()=>Hc,createMathMatrixProperties:()=>xu,createMathNAryProperties:()=>Oc,createMathPhantProperties:()=>Eu,createMathPreSubSuperScriptProperties:()=>nd,createMathProperties:()=>pu,createMathRunProperties:()=>hu,createMathSubScriptElement:()=>Ac,createMathSubScriptProperties:()=>Ku,createMathSubSuperScriptProperties:()=>Zu,createMathSuperScriptElement:()=>Mc,createMathSuperScriptProperties:()=>Vu,createOutlineLevel:()=>zs,createPageMargin:()=>sh,createPageNumberType:()=>uh,createPageSize:()=>ph,createParagraphStyle:()=>os,createRuby:()=>qo,createRunFonts:()=>xn,createSectionType:()=>bh,createShading:()=>$t,createSimplePos:()=>ar,createSpacing:()=>rs,createStringElement:()=>_t,createTabStop:()=>fs,createTabStopItem:()=>ds,createTableFloatProperties:()=>Xf,createTableLayout:()=>ep,createTableLook:()=>np,createTableOverlap:()=>Zf,createTableRowHeight:()=>dp,createTableWidthElement:()=>zf,createTransformation:()=>Pa,createUnderline:()=>wn,createVerticalAlign:()=>xf,createVerticalPosition:()=>pr,createWrapNone:()=>Xi,createWrapSquare:()=>Qi,createWrapThrough:()=>ia,createWrapTight:()=>ta,createWrapTopAndBottom:()=>oa,getColorXml:()=>et,getLayoutXml:()=>tt,getStyleXml:()=>nt,sectionMarginDefaults:()=>Sh,sectionPageSizeDefaults:()=>Ch,wrapEl:()=>Me}),_y=r((()=>{K(),nm(),rm(),yp(),Av(),jv(),m_(),za(),Na(),Vh(),nn(),xv(),Md(),j(),Bg(),vg(),Ig(),Rv(),Gv(),_f(),Bn(),wt(),Cf(),$v(),Np(),oy(),sy(),cy(),ly(),uy(),fm(),dy(),hy(),n(gy,my)})),vy=vy===void 0?typeof self<`u`?self:typeof window<`u`?window:{}:vy,yy=[],by=[],xy=typeof Uint8Array<`u`?Uint8Array:Array,Sy=!1;function Cy(){Sy=!0;for(var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,t=0,n=e.length;t<n;++t)yy[t]=e[t],by[e.charCodeAt(t)]=t;by[45]=62,by[95]=63}function wy(e){Sy||Cy();var t,n,r,i,a,o,s=e.length;if(s%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);a=e[s-2]===`=`?2:+(e[s-1]===`=`),o=new xy(s*3/4-a),r=a>0?s-4:s;var c=0;for(t=0,n=0;t<r;t+=4,n+=3)i=by[e.charCodeAt(t)]<<18|by[e.charCodeAt(t+1)]<<12|by[e.charCodeAt(t+2)]<<6|by[e.charCodeAt(t+3)],o[c++]=i>>16&255,o[c++]=i>>8&255,o[c++]=i&255;return a===2?(i=by[e.charCodeAt(t)]<<2|by[e.charCodeAt(t+1)]>>4,o[c++]=i&255):a===1&&(i=by[e.charCodeAt(t)]<<10|by[e.charCodeAt(t+1)]<<4|by[e.charCodeAt(t+2)]>>2,o[c++]=i>>8&255,o[c++]=i&255),o}function Ty(e){return yy[e>>18&63]+yy[e>>12&63]+yy[e>>6&63]+yy[e&63]}function Ey(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(Ty(r));return i.join(``)}function Dy(e){Sy||Cy();for(var t,n=e.length,r=n%3,i=``,a=[],o=16383,s=0,c=n-r;s<c;s+=o)a.push(Ey(e,s,s+o>c?c:s+o));return r===1?(t=e[n-1],i+=yy[t>>2],i+=yy[t<<4&63],i+=`==`):r===2&&(t=(e[n-2]<<8)+e[n-1],i+=yy[t>>10],i+=yy[t>>4&63],i+=yy[t<<2&63],i+=`=`),a.push(i),a.join(``)}function Oy(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)}function ky(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,ee=+(t<0||t===0&&1/t<0);for(t=Math.abs(t),isNaN(t)||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=ee*128}var Ay={}.toString,jy=Array.isArray||function(e){return Ay.call(e)==`[object Array]`};q.TYPED_ARRAY_SUPPORT=vy.TYPED_ARRAY_SUPPORT===void 0?!0:vy.TYPED_ARRAY_SUPPORT,My();function My(){return q.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ny(e,t){if(My()<t)throw RangeError(`Invalid typed array length`);return q.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=q.prototype):(e===null&&(e=new q(t)),e.length=t),e}function q(e,t,n){if(!q.TYPED_ARRAY_SUPPORT&&!(this instanceof q))return new q(e,t,n);if(typeof e==`number`){if(typeof t==`string`)throw Error(`If encoding is specified then the first argument must be a string`);return Ly(this,e)}return Py(this,e,t,n)}q.poolSize=8192,q._augment=function(e){return e.__proto__=q.prototype,e};function Py(e,t,n,r){if(typeof t==`number`)throw TypeError(`"value" argument must not be a number`);return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer?By(e,t,n,r):typeof t==`string`?Ry(e,t,n):Vy(e,t)}q.from=function(e,t,n){return Py(null,e,t,n)},q.TYPED_ARRAY_SUPPORT&&(q.prototype.__proto__=Uint8Array.prototype,q.__proto__=Uint8Array,typeof Symbol<`u`&&Symbol.species&&q[Symbol.species]);function Fy(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be a number`);if(e<0)throw RangeError(`"size" argument must not be negative`)}function Iy(e,t,n,r){return Fy(t),t<=0||n===void 0?Ny(e,t):typeof r==`string`?Ny(e,t).fill(n,r):Ny(e,t).fill(n)}q.alloc=function(e,t,n){return Iy(null,e,t,n)};function Ly(e,t){if(Fy(t),e=Ny(e,t<0?0:Hy(t)|0),!q.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}q.allocUnsafe=function(e){return Ly(null,e)},q.allocUnsafeSlow=function(e){return Ly(null,e)};function Ry(e,t,n){if((typeof n!=`string`||n===``)&&(n=`utf8`),!q.isEncoding(n))throw TypeError(`"encoding" must be a valid string encoding`);var r=Wy(t,n)|0;e=Ny(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function zy(e,t){var n=t.length<0?0:Hy(t.length)|0;e=Ny(e,n);for(var r=0;r<n;r+=1)e[r]=t[r]&255;return e}function By(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw RangeError(`'offset' is out of bounds`);if(t.byteLength<n+(r||0))throw RangeError(`'length' is out of bounds`);return t=n===void 0&&r===void 0?new Uint8Array(t):r===void 0?new Uint8Array(t,n):new Uint8Array(t,n,r),q.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=q.prototype):e=zy(e,t),e}function Vy(e,t){if(Uy(t)){var n=Hy(t.length)|0;return e=Ny(e,n),e.length===0||t.copy(e,0,0,n),e}if(t){if(typeof ArrayBuffer<`u`&&t.buffer instanceof ArrayBuffer||`length`in t)return typeof t.length!=`number`||Cb(t.length)?Ny(e,0):zy(e,t);if(t.type===`Buffer`&&jy(t.data))return zy(e,t.data)}throw TypeError(`First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.`)}function Hy(e){if(e>=My())throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+My().toString(16)+` bytes`);return e|0}q.isBuffer=wb;function Uy(e){return!!(e!=null&&e._isBuffer)}q.compare=function(e,t){if(!Uy(e)||!Uy(t))throw TypeError(`Arguments must be Buffers`);if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},q.isEncoding=function(e){switch(String(e).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},q.concat=function(e,t){if(!jy(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return q.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=q.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!Uy(a))throw TypeError(`"list" argument must be an Array of Buffers`);a.copy(r,i),i+=a.length}return r};function Wy(e,t){if(Uy(e))return e.length;if(typeof ArrayBuffer<`u`&&typeof ArrayBuffer.isView==`function`&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!=`string`&&(e=``+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:case void 0:return vb(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return xb(e).length;default:if(r)return vb(e).length;t=(``+t).toLowerCase(),r=!0}}q.byteLength=Wy;function Gy(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return sb(this,t,n);case`utf8`:case`utf-8`:return nb(this,t,n);case`ascii`:return ab(this,t,n);case`latin1`:case`binary`:return ob(this,t,n);case`base64`:return tb(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return cb(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}q.prototype._isBuffer=!0;function Ky(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}q.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(var t=0;t<e;t+=2)Ky(this,t,t+1);return this},q.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(var t=0;t<e;t+=4)Ky(this,t,t+3),Ky(this,t+1,t+2);return this},q.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(var t=0;t<e;t+=8)Ky(this,t,t+7),Ky(this,t+1,t+6),Ky(this,t+2,t+5),Ky(this,t+3,t+4);return this},q.prototype.toString=function(){var e=this.length|0;return e===0?``:arguments.length===0?nb(this,0,e):Gy.apply(this,arguments)},q.prototype.equals=function(e){if(!Uy(e))throw TypeError(`Argument must be a Buffer`);return this===e?!0:q.compare(this,e)===0},q.prototype.inspect=function(){var e=``,t=50;return this.length>0&&(e=this.toString(`hex`,0,t).match(/.{2}/g).join(` `),this.length>t&&(e+=` ... `)),`<Buffer `+e+`>`},q.prototype.compare=function(e,t,n,r,i){if(!Uy(e))throw TypeError(`Argument must be a Buffer`);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),l=e.slice(t,n),u=0;u<s;++u)if(c[u]!==l[u]){a=c[u],o=l[u];break}return a<o?-1:+(o<a)};function qy(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof t==`string`&&(t=q.from(t,r)),Uy(t))return t.length===0?-1:Jy(e,t,n,r,i);if(typeof t==`number`)return t&=255,q.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Jy(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function Jy(e,t,n,r,i){var a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}var l;if(i){var u=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,u===-1?0:l-u)){if(u===-1&&(u=l),l-u+1===s)return u*a}else u!==-1&&(l-=l-u),u=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){for(var d=!0,f=0;f<s;f++)if(c(e,l+f)!==c(t,f)){d=!1;break}if(d)return l}return-1}q.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},q.prototype.indexOf=function(e,t,n){return qy(this,e,t,n,!0)},q.prototype.lastIndexOf=function(e,t,n){return qy(this,e,t,n,!1)};function Yy(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var a=t.length;if(a%2!=0)throw TypeError(`Invalid hex string`);r>a/2&&(r=a/2);for(var o=0;o<r;++o){var s=parseInt(t.substr(o*2,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function Xy(e,t,n,r){return Sb(vb(t,e.length-n),e,n,r)}function Zy(e,t,n,r){return Sb(yb(t),e,n,r)}function Qy(e,t,n,r){return Zy(e,t,n,r)}function $y(e,t,n,r){return Sb(xb(t),e,n,r)}function eb(e,t,n,r){return Sb(bb(t,e.length-n),e,n,r)}q.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t|=0,isFinite(n)?(n|=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);var i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;for(var a=!1;;)switch(r){case`hex`:return Yy(this,e,t,n);case`utf8`:case`utf-8`:return Xy(this,e,t,n);case`ascii`:return Zy(this,e,t,n);case`latin1`:case`binary`:return Qy(this,e,t,n);case`base64`:return $y(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return eb(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},q.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function tb(e,t,n){return t===0&&n===e.length?Dy(e):Dy(e.slice(t,n))}function nb(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a=e[i],o=null,s=a>239?4:a>223?3:a>191?2:1;if(i+s<=n){var c,l,u,d;switch(s){case 1:a<128&&(o=a);break;case 2:c=e[i+1],(c&192)==128&&(d=(a&31)<<6|c&63,d>127&&(o=d));break;case 3:c=e[i+1],l=e[i+2],(c&192)==128&&(l&192)==128&&(d=(a&15)<<12|(c&63)<<6|l&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:c=e[i+1],l=e[i+2],u=e[i+3],(c&192)==128&&(l&192)==128&&(u&192)==128&&(d=(a&15)<<18|(c&63)<<12|(l&63)<<6|u&63,d>65535&&d<1114112&&(o=d))}}o===null?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),i+=s}return ib(r)}var rb=4096;function ib(e){var t=e.length;if(t<=rb)return String.fromCharCode.apply(String,e);for(var n=``,r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=rb));return n}function ab(e,t,n){var r=``;n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function ob(e,t,n){var r=``;n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function sb(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i=``,a=t;a<n;++a)i+=_b(e[a]);return i}function cb(e,t,n){for(var r=e.slice(t,n),i=``,a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+r[a+1]*256);return i}q.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var r;if(q.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=q.prototype;else{var i=t-e;r=new q(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r};function J(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}q.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||J(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},q.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||J(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},q.prototype.readUInt8=function(e,t){return t||J(e,1,this.length),this[e]},q.prototype.readUInt16LE=function(e,t){return t||J(e,2,this.length),this[e]|this[e+1]<<8},q.prototype.readUInt16BE=function(e,t){return t||J(e,2,this.length),this[e]<<8|this[e+1]},q.prototype.readUInt32LE=function(e,t){return t||J(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},q.prototype.readUInt32BE=function(e,t){return t||J(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},q.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||J(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},q.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||J(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},q.prototype.readInt8=function(e,t){return t||J(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},q.prototype.readInt16LE=function(e,t){t||J(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},q.prototype.readInt16BE=function(e,t){t||J(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},q.prototype.readInt32LE=function(e,t){return t||J(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},q.prototype.readInt32BE=function(e,t){return t||J(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},q.prototype.readFloatLE=function(e,t){return t||J(e,4,this.length),Oy(this,e,!0,23,4)},q.prototype.readFloatBE=function(e,t){return t||J(e,4,this.length),Oy(this,e,!1,23,4)},q.prototype.readDoubleLE=function(e,t){return t||J(e,8,this.length),Oy(this,e,!0,52,8)},q.prototype.readDoubleBE=function(e,t){return t||J(e,8,this.length),Oy(this,e,!1,52,8)};function Y(e,t,n,r,i,a){if(!Uy(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}q.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=2**(8*n)-1;Y(this,e,t,n,i,0)}var a=1,o=0;for(this[t]=e&255;++o<n&&(a*=256);)this[t+o]=e/a&255;return t+n},q.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=2**(8*n)-1;Y(this,e,t,n,i,0)}var a=n-1,o=1;for(this[t+a]=e&255;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+n},q.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,1,255,0),q.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function lb(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i<a;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>(r?i:1-i)*8}q.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,65535,0),q.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):lb(this,e,t,!0),t+2},q.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,65535,0),q.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):lb(this,e,t,!1),t+2};function ub(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i<a;++i)e[n+i]=t>>>(r?i:3-i)*8&255}q.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,4294967295,0),q.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):ub(this,e,t,!0),t+4},q.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,4294967295,0),q.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):ub(this,e,t,!1),t+4},q.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=2**(8*n-1);Y(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=e&255;++a<n&&(o*=256);)e<0&&s===0&&this[t+a-1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},q.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=2**(8*n-1);Y(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=e&255;--a>=0&&(o*=256);)e<0&&s===0&&this[t+a+1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},q.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,1,127,-128),q.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1},q.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,32767,-32768),q.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):lb(this,e,t,!0),t+2},q.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,32767,-32768),q.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):lb(this,e,t,!1),t+2},q.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,2147483647,-2147483648),q.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ub(this,e,t,!0),t+4},q.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),q.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):ub(this,e,t,!1),t+4};function db(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function fb(e,t,n,r,i){return i||db(e,t,n,4),ky(e,t,n,r,23,4),n+4}q.prototype.writeFloatLE=function(e,t,n){return fb(this,e,t,!0,n)},q.prototype.writeFloatBE=function(e,t,n){return fb(this,e,t,!1,n)};function pb(e,t,n,r,i){return i||db(e,t,n,8),ky(e,t,n,r,52,8),n+8}q.prototype.writeDoubleLE=function(e,t,n){return pb(this,e,t,!0,n)},q.prototype.writeDoubleBE=function(e,t,n){return pb(this,e,t,!1,n)},q.prototype.copy=function(e,t,n,r){if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`sourceStart out of bounds`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n,a;if(this===e&&n<t&&t<r)for(a=i-1;a>=0;--a)e[a+t]=this[a+n];else if(i<1e3||!q.TYPED_ARRAY_SUPPORT)for(a=0;a<i;++a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},q.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),e.length===1){var i=e.charCodeAt(0);i<256&&(e=i)}if(r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!q.isEncoding(r))throw TypeError(`Unknown encoding: `+r)}else typeof e==`number`&&(e&=255);if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;var a;if(typeof e==`number`)for(a=t;a<n;++a)this[a]=e;else{var o=Uy(e)?e:vb(new q(e,r).toString()),s=o.length;for(a=0;a<n-t;++a)this[a+t]=o[a%s]}return this};var mb=/[^+\/0-9A-Za-z-_]/g;function hb(e){if(e=gb(e).replace(mb,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function gb(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,``)}function _b(e){return e<16?`0`+e.toString(16):e.toString(16)}function vb(e,t){t||=1/0;for(var n,r=e.length,i=null,a=[],o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function yb(e){for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function bb(e,t){for(var n,r,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function xb(e){return wy(hb(e))}function Sb(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Cb(e){return e!==e}function wb(e){return e!=null&&(!!e._isBuffer||Tb(e)||Eb(e))}function Tb(e){return!!e.constructor&&typeof e.constructor.isBuffer==`function`&&e.constructor.isBuffer(e)}function Eb(e){return typeof e.readFloatLE==`function`&&typeof e.slice==`function`&&Tb(e.slice(0,0))}var Db;function Ob(){}Ob.prototype=Object.create(null);function X(){X.init.call(this)}X.EventEmitter=X,X.usingDomains=!1,X.prototype.domain=void 0,X.prototype._events=void 0,X.prototype._maxListeners=void 0,X.defaultMaxListeners=10,X.init=function(){this.domain=null,X.usingDomains&&Db.active&&!(this instanceof Db.Domain)&&(this.domain=Db.active),(!this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=new Ob,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},X.prototype.setMaxListeners=function(e){if(typeof e!=`number`||e<0||isNaN(e))throw TypeError(`"n" argument must be a positive number`);return this._maxListeners=e,this};function kb(e){return e._maxListeners===void 0?X.defaultMaxListeners:e._maxListeners}X.prototype.getMaxListeners=function(){return kb(this)};function Ab(e,t,n){if(t)e.call(n);else for(var r=e.length,i=Bb(e,r),a=0;a<r;++a)i[a].call(n)}function jb(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,a=Bb(e,i),o=0;o<i;++o)a[o].call(n,r)}function Mb(e,t,n,r,i){if(t)e.call(n,r,i);else for(var a=e.length,o=Bb(e,a),s=0;s<a;++s)o[s].call(n,r,i)}function Nb(e,t,n,r,i,a){if(t)e.call(n,r,i,a);else for(var o=e.length,s=Bb(e,o),c=0;c<o;++c)s[c].call(n,r,i,a)}function Pb(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,a=Bb(e,i),o=0;o<i;++o)a[o].apply(n,r)}X.prototype.emit=function(e){var t,n,r,i,a,o,s,c=!1,l=e===`error`;if(o=this._events,o)l&&=o.error==null;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],s)t||=Error(`Uncaught, unspecified "error" event`),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit(`error`,t);else if(t instanceof Error)throw t;else{var u=Error(`Uncaught, unspecified "error" event. (`+t+`)`);throw u.context=t,u}return!1}if(n=o[e],!n)return!1;var d=typeof n==`function`;switch(r=arguments.length,r){case 1:Ab(n,d,this);break;case 2:jb(n,d,this,arguments[1]);break;case 3:Mb(n,d,this,arguments[1],arguments[2]);break;case 4:Nb(n,d,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=Array(r-1),a=1;a<r;a++)i[a-1]=arguments[a];Pb(n,d,this,i)}return c&&s.exit(),!0};function Fb(e,t,n,r){var i,a,o;if(typeof n!=`function`)throw TypeError(`"listener" argument must be a function`);if(a=e._events,a?(a.newListener&&(e.emit(`newListener`,t,n.listener?n.listener:n),a=e._events),o=a[t]):(a=e._events=new Ob,e._eventsCount=0),!o)o=a[t]=n,++e._eventsCount;else if(typeof o==`function`?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),!o.warned&&(i=kb(e),i&&i>0&&o.length>i)){o.warned=!0;var s=Error(`Possible EventEmitter memory leak detected. `+o.length+` `+t+` listeners added. Use emitter.setMaxListeners() to increase limit`);s.name=`MaxListenersExceededWarning`,s.emitter=e,s.type=t,s.count=o.length,Ib(s)}return e}function Ib(e){typeof console.warn==`function`?console.warn(e):console.log(e)}X.prototype.addListener=function(e,t){return Fb(this,e,t,!1)},X.prototype.on=X.prototype.addListener,X.prototype.prependListener=function(e,t){return Fb(this,e,t,!0)};function Lb(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}X.prototype.once=function(e,t){if(typeof t!=`function`)throw TypeError(`"listener" argument must be a function`);return this.on(e,Lb(this,e,t)),this},X.prototype.prependOnceListener=function(e,t){if(typeof t!=`function`)throw TypeError(`"listener" argument must be a function`);return this.prependListener(e,Lb(this,e,t)),this},X.prototype.removeListener=function(e,t){var n,r,i,a,o;if(typeof t!=`function`)throw TypeError(`"listener" argument must be a function`);if(r=this._events,!r||(n=r[e],!n))return this;if(n===t||n.listener&&n.listener===t)--this._eventsCount===0?this._events=new Ob:(delete r[e],r.removeListener&&this.emit(`removeListener`,e,n.listener||t));else if(typeof n!=`function`){for(i=-1,a=n.length;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount===0)return this._events=new Ob,this;delete r[e]}else zb(n,i);r.removeListener&&this.emit(`removeListener`,e,o||t)}return this},X.prototype.off=function(e,t){return this.removeListener(e,t)},X.prototype.removeAllListeners=function(e){var t,n=this._events;if(!n)return this;if(!n.removeListener)return arguments.length===0?(this._events=new Ob,this._eventsCount=0):n[e]&&(--this._eventsCount===0?this._events=new Ob:delete n[e]),this;if(arguments.length===0){for(var r=Object.keys(n),i=0,a;i<r.length;++i)a=r[i],a!==`removeListener`&&this.removeAllListeners(a);return this.removeAllListeners(`removeListener`),this._events=new Ob,this._eventsCount=0,this}if(t=n[e],typeof t==`function`)this.removeListener(e,t);else if(t)do this.removeListener(e,t[t.length-1]);while(t[0]);return this},X.prototype.listeners=function(e){var t,n,r=this._events;return r?(t=r[e],n=t?typeof t==`function`?[t.listener||t]:Vb(t):[]):n=[],n},X.listenerCount=function(e,t){return typeof e.listenerCount==`function`?e.listenerCount(t):Rb.call(e,t)},X.prototype.listenerCount=Rb;function Rb(e){var t=this._events;if(t){var n=t[e];if(typeof n==`function`)return 1;if(n)return n.length}return 0}X.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};function zb(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}function Bb(e,t){for(var n=Array(t);t--;)n[t]=e[t];return n}function Vb(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function Hb(){throw Error(`setTimeout has not been defined`)}function Ub(){throw Error(`clearTimeout has not been defined`)}var Wb=Hb,Gb=Ub;typeof vy.setTimeout==`function`&&(Wb=setTimeout),typeof vy.clearTimeout==`function`&&(Gb=clearTimeout);function Kb(e){if(Wb===setTimeout)return setTimeout(e,0);if((Wb===Hb||!Wb)&&setTimeout)return Wb=setTimeout,setTimeout(e,0);try{return Wb(e,0)}catch{try{return Wb.call(null,e,0)}catch{return Wb.call(this,e,0)}}}function qb(e){if(Gb===clearTimeout)return clearTimeout(e);if((Gb===Ub||!Gb)&&clearTimeout)return Gb=clearTimeout,clearTimeout(e);try{return Gb(e)}catch{try{return Gb.call(null,e)}catch{return Gb.call(this,e)}}}var Jb=[],Yb=!1,Xb,Zb=-1;function Qb(){!Yb||!Xb||(Yb=!1,Xb.length?Jb=Xb.concat(Jb):Zb=-1,Jb.length&&$b())}function $b(){if(!Yb){var e=Kb(Qb);Yb=!0;for(var t=Jb.length;t;){for(Xb=Jb,Jb=[];++Zb<t;)Xb&&Xb[Zb].run();Zb=-1,t=Jb.length}Xb=null,Yb=!1,qb(e)}}function ex(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Jb.push(new tx(e,t)),Jb.length===1&&!Yb&&Kb($b)}function tx(e,t){this.fun=e,this.array=t}tx.prototype.run=function(){this.fun.apply(null,this.array)};var nx=`browser`,rx=`browser`,ix={},ax=[],ox={},sx={},cx={};function lx(){}var ux=lx,dx=lx,fx=lx,px=lx,mx=lx,hx=lx,gx=lx;function _x(e){throw Error(`process.binding is not supported`)}function vx(){return`/`}function yx(e){throw Error(`process.chdir is not supported`)}function bx(){return 0}var xx=vy.performance||{},Sx=xx.now||xx.mozNow||xx.msNow||xx.oNow||xx.webkitNow||function(){return new Date().getTime()};function Cx(e){var t=Sx.call(xx)*.001,n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],r-=e[1],r<0&&(n--,r+=1e9)),[n,r]}var wx=new Date;function Tx(){return(new Date-wx)/1e3}var Ex={nextTick:ex,title:nx,browser:!0,env:ix,argv:ax,version:``,versions:ox,on:ux,addListener:dx,once:fx,off:px,removeListener:mx,removeAllListeners:hx,emit:gx,binding:_x,cwd:vx,chdir:yx,umask:bx,hrtime:Cx,platform:rx,release:sx,config:cx,uptime:Tx},Dx=typeof Object.create==`function`?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Ox=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},kx=/%[sdj%]/g;function Ax(e){if(!Yx(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(Fx(arguments[n]));return t.join(` `)}for(var n=1,r=arguments,i=r.length,a=String(e).replace(kx,function(e){if(e===`%%`)return`%`;if(n>=i)return e;switch(e){case`%s`:return String(r[n++]);case`%d`:return Number(r[n++]);case`%j`:try{return JSON.stringify(r[n++])}catch{return`[Circular]`}default:return e}}),o=r[n];n<i;o=r[++n])qx(o)||!Qx(o)?a+=` `+o:a+=` `+Fx(o);return a}function jx(e,t){if(Xx(vy.process))return function(){return jx(e,t).apply(this,arguments)};if(Ex.noDeprecation===!0)return e;var n=!1;function r(){if(!n){if(Ex.throwDeprecation)throw Error(t);Ex.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}return r}var Mx={},Nx;function Px(e){if(Xx(Nx)&&(Nx=Ex.env.NODE_DEBUG||``),e=e.toUpperCase(),!Mx[e])if(RegExp(`\\b`+e+`\\b`,`i`).test(Nx)){var t=0;Mx[e]=function(){var n=Ax.apply(null,arguments);console.error(`%s %d: %s`,e,t,n)}}else Mx[e]=function(){};return Mx[e]}function Fx(e,t){var n={seen:[],stylize:Lx};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Kx(t)?n.showHidden=t:t&&rS(n,t),Xx(n.showHidden)&&(n.showHidden=!1),Xx(n.depth)&&(n.depth=2),Xx(n.colors)&&(n.colors=!1),Xx(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Ix),zx(n,e,n.depth)}Fx.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]},Fx.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function Ix(e,t){var n=Fx.styles[t];return n?`\x1B[`+Fx.colors[n][0]+`m`+e+`\x1B[`+Fx.colors[n][1]+`m`:e}function Lx(e,t){return e}function Rx(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function zx(e,t,n){if(e.customInspect&&t&&tS(t.inspect)&&t.inspect!==Fx&&!(t.constructor&&t.constructor.prototype===t)){var r=t.inspect(n,e);return Yx(r)||(r=zx(e,r,n)),r}var i=Bx(e,t);if(i)return i;var a=Object.keys(t),o=Rx(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),eS(t)&&(a.indexOf(`message`)>=0||a.indexOf(`description`)>=0))return Vx(t);if(a.length===0){if(tS(t)){var s=t.name?`: `+t.name:``;return e.stylize(`[Function`+s+`]`,`special`)}if(Zx(t))return e.stylize(RegExp.prototype.toString.call(t),`regexp`);if($x(t))return e.stylize(Date.prototype.toString.call(t),`date`);if(eS(t))return Vx(t)}var c=``,l=!1,u=[`{`,`}`];if(Gx(t)&&(l=!0,u=[`[`,`]`]),tS(t)&&(c=` [Function`+(t.name?`: `+t.name:``)+`]`),Zx(t)&&(c=` `+RegExp.prototype.toString.call(t)),$x(t)&&(c=` `+Date.prototype.toUTCString.call(t)),eS(t)&&(c=` `+Vx(t)),a.length===0&&(!l||t.length==0))return u[0]+c+u[1];if(n<0)return Zx(t)?e.stylize(RegExp.prototype.toString.call(t),`regexp`):e.stylize(`[Object]`,`special`);e.seen.push(t);var d=l?Hx(e,t,n,o,a):a.map(function(r){return Ux(e,t,n,o,r,l)});return e.seen.pop(),Wx(d,c,u)}function Bx(e,t){if(Xx(t))return e.stylize(`undefined`,`undefined`);if(Yx(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(Jx(t))return e.stylize(``+t,`number`);if(Kx(t))return e.stylize(``+t,`boolean`);if(qx(t))return e.stylize(`null`,`null`)}function Vx(e){return`[`+Error.prototype.toString.call(e)+`]`}function Hx(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)iS(t,String(o))?a.push(Ux(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(Ux(e,t,n,r,i,!0))}),a}function Ux(e,t,n,r,i,a){var o,s,c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(c.get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),iS(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=qx(n)?zx(e,c.value,null):zx(e,c.value,n-1),s.indexOf(`
2
2
  `)>-1&&(s=a?s.split(`
3
3
  `).map(function(e){return` `+e}).join(`
4
4
  `).substr(2):`
@@ -7,5 +7,5 @@ import{i as e,n as t,r as n,t as r}from"./chunk-BY251N0e.mjs";import{AppProperti
7
7
  `))):s=e.stylize(`[Circular]`,`special`)),Xx(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(``+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function Wx(e,t,n){var r=0;return e.reduce(function(e,t){return r++,t.indexOf(`
8
8
  `)>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,``).length+1},0)>60?n[0]+(t===``?``:t+`
9
9
  `)+` `+e.join(`,
10
- `)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}function Gx(e){return Array.isArray(e)}function Kx(e){return typeof e==`boolean`}function qx(e){return e===null}function Jx(e){return typeof e==`number`}function Yx(e){return typeof e==`string`}function Xx(e){return e===void 0}function Zx(e){return Qx(e)&&nS(e)===`[object RegExp]`}function Qx(e){return typeof e==`object`&&!!e}function $x(e){return Qx(e)&&nS(e)===`[object Date]`}function eS(e){return Qx(e)&&(nS(e)===`[object Error]`||e instanceof Error)}function tS(e){return typeof e==`function`}function nS(e){return Object.prototype.toString.call(e)}function rS(e,t){if(!t||!Qx(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function iS(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var aS=typeof Symbol<`u`?Symbol(`util.promisify.custom`):void 0;function oS(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);if(aS&&e[aS]){var t=e[aS];if(typeof t!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(t,aS,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),aS&&Object.defineProperty(t,aS,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,Ox(e))}oS.custom=aS;var sS=cS;function cS(){this.head=null,this.tail=null,this.length=0}cS.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},cS.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},cS.prototype.shift=function(){if(this.length!==0){var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},cS.prototype.clear=function(){this.head=this.tail=null,this.length=0},cS.prototype.join=function(e){if(this.length===0)return``;for(var t=this.head,n=``+t.data;t=t.next;)n+=e+t.data;return n},cS.prototype.concat=function(e){if(this.length===0)return q.alloc(0);if(this.length===1)return this.head.data;for(var t=q.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var lS=q.isEncoding||function(e){switch(e&&e.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 uS(e){if(e&&!lS(e))throw Error(`Unknown encoding: `+e)}function dS(e){switch(this.encoding=(e||`utf8`).toLowerCase().replace(/[-_]/,``),uS(e),this.encoding){case`utf8`:this.surrogateSize=3;break;case`ucs2`:case`utf16le`:this.surrogateSize=2,this.detectIncompleteChar=pS;break;case`base64`:this.surrogateSize=3,this.detectIncompleteChar=mS;break;default:this.write=fS;return}this.charBuffer=new q(6),this.charReceived=0,this.charLength=0}dS.prototype.write=function(e){for(var t=``;this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return``;e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(r>=55296&&r<=56319){this.charLength+=this.surrogateSize,t=``;continue}if(this.charReceived=this.charLength=0,e.length===0)return t;break}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&r<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,i)}return t},dS.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(t==1&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},dS.prototype.end=function(e){var t=``;if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t};function fS(e){return e.toString(this.encoding)}function pS(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function mS(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}Q.ReadableState=_S;var Z=Px(`stream`);Dx(Q,X);function hS(e,t,n){if(typeof e.prependListener==`function`)return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function gS(e,t){return e.listeners(t).length}function _S(e,t){e||={},this.objectMode=!!e.objectMode,t instanceof uC&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16*1024;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new sS,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.defaultEncoding=e.defaultEncoding||`utf8`,this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new dS(e.encoding),this.encoding=e.encoding)}function Q(e){if(!(this instanceof Q))return new Q(e);this._readableState=new _S(e,this),this.readable=!0,e&&typeof e.read==`function`&&(this._read=e.read),X.call(this)}Q.prototype.push=function(e,t){var n=this._readableState;return!n.objectMode&&typeof e==`string`&&(t||=n.defaultEncoding,t!==n.encoding&&(e=q.from(e,t),t=``)),vS(this,n,e,t,!1)},Q.prototype.unshift=function(e){var t=this._readableState;return vS(this,t,e,``,!0)},Q.prototype.isPaused=function(){return this._readableState.flowing===!1};function vS(e,t,n,r,i){var a=CS(t,n);if(a)e.emit(`error`,a);else if(n===null)t.reading=!1,wS(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var o=Error(`stream.push() after EOF`);e.emit(`error`,o)}else if(t.endEmitted&&i){var s=Error(`stream.unshift() after end event`);e.emit(`error`,s)}else{var c;t.decoder&&!i&&!r&&(n=t.decoder.write(n),c=!t.objectMode&&n.length===0),i||(t.reading=!1),c||(t.flowing&&t.length===0&&!t.sync?(e.emit(`data`,n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&TS(e))),DS(e,t)}else i||(t.reading=!1);return yS(t)}function yS(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Q.prototype.setEncoding=function(e){return this._readableState.decoder=new dS(e),this._readableState.encoding=e,this};var bS=8388608;function xS(e){return e>=bS?e=bS:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function SS(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e===e?(e>t.highWaterMark&&(t.highWaterMark=xS(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)):t.flowing&&t.length?t.buffer.head.data.length:t.length}Q.prototype.read=function(e){Z(`read`,e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return Z(`read: emitReadable`,t.length,t.ended),t.length===0&&t.ended?RS(this):TS(this),null;if(e=SS(e,t),e===0&&t.ended)return t.length===0&&RS(this),null;var r=t.needReadable;Z(`need readable`,r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,Z(`length less than watermark`,r)),t.ended||t.reading?(r=!1,Z(`reading or ended`,r)):r&&(Z(`do read`),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=SS(n,t)));var i=e>0?PS(e,t):null;return i===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&RS(this)),i!==null&&this.emit(`data`,i),i};function CS(e,t){var n=null;return!q.isBuffer(t)&&typeof t!=`string`&&t!=null&&!e.objectMode&&(n=TypeError(`Invalid non-string/buffer chunk`)),n}function wS(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,TS(e)}}function TS(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Z(`emitReadable`,t.flowing),t.emittedReadable=!0,t.sync?ex(ES,e):ES(e))}function ES(e){Z(`emit readable`),e.emit(`readable`),NS(e)}function DS(e,t){t.readingMore||(t.readingMore=!0,ex(OS,e,t))}function OS(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(Z(`maybeReadMore read 0`),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}Q.prototype._read=function(e){this.emit(`error`,Error(`not implemented`))},Q.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,Z(`pipe count=%d opts=%j`,r.pipesCount,t);var i=!t||t.end!==!1?o:l;r.endEmitted?ex(i):n.once(`end`,i),e.on(`unpipe`,a);function a(e){Z(`onunpipe`),e===n&&l()}function o(){Z(`onend`),e.end()}var s=kS(n);e.on(`drain`,s);var c=!1;function l(){Z(`cleanup`),e.removeListener(`close`,p),e.removeListener(`finish`,m),e.removeListener(`drain`,s),e.removeListener(`error`,f),e.removeListener(`unpipe`,a),n.removeListener(`end`,o),n.removeListener(`end`,l),n.removeListener(`data`,d),c=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s()}var u=!1;n.on(`data`,d);function d(t){Z(`ondata`),u=!1,!1===e.write(t)&&!u&&((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&VS(r.pipes,e)!==-1)&&!c&&(Z(`false write response, pause`,n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function f(t){Z(`onerror`,t),ee(),e.removeListener(`error`,f),gS(e,`error`)===0&&e.emit(`error`,t)}hS(e,`error`,f);function p(){e.removeListener(`finish`,m),ee()}e.once(`close`,p);function m(){Z(`onfinish`),e.removeListener(`close`,p),ee()}e.once(`finish`,m);function ee(){Z(`unpipe`),n.unpipe(e)}return e.emit(`pipe`,n),r.flowing||(Z(`pipe resume`),n.resume()),e};function kS(e){return function(){var t=e._readableState;Z(`pipeOnDrain`,t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&e.listeners(`data`).length&&(t.flowing=!0,NS(e))}}Q.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||=t.pipes,t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(`unpipe`,this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<r;i++)n[i].emit(`unpipe`,this);return this}var a=VS(t.pipes,e);return a===-1?this:(t.pipes.splice(a,1),--t.pipesCount,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit(`unpipe`,this),this)},Q.prototype.on=function(e,t){var n=X.prototype.on.call(this,e,t);if(e===`data`)this._readableState.flowing!==!1&&this.resume();else if(e===`readable`){var r=this._readableState;!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&TS(this,r):ex(AS,this))}return n},Q.prototype.addListener=Q.prototype.on;function AS(e){Z(`readable nexttick read 0`),e.read(0)}Q.prototype.resume=function(){var e=this._readableState;return e.flowing||(Z(`resume`),e.flowing=!0,jS(this,e)),this};function jS(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ex(MS,e,t))}function MS(e,t){t.reading||(Z(`resume read 0`),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit(`resume`),NS(e),t.flowing&&!t.reading&&e.read(0)}Q.prototype.pause=function(){return Z(`call pause flowing=%j`,this._readableState.flowing),!1!==this._readableState.flowing&&(Z(`pause`),this._readableState.flowing=!1,this.emit(`pause`)),this};function NS(e){var t=e._readableState;for(Z(`flow`,t.flowing);t.flowing&&e.read()!==null;);}Q.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on(`end`,function(){if(Z(`wrapped end`),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(`data`,function(i){Z(`wrapped data`),t.decoder&&(i=t.decoder.write(i)),!(t.objectMode&&i==null)&&(!t.objectMode&&(!i||!i.length)||r.push(i)||(n=!0,e.pause()))}),e)this[i]===void 0&&typeof e[i]==`function`&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return BS([`error`,`close`,`destroy`,`pause`,`resume`],function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){Z(`wrapped _read`,t),n&&(n=!1,e.resume())},r},Q._fromList=PS;function PS(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(``):t.buffer.length===1?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=FS(e,t.buffer,t.decoder),n}function FS(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?IS(e,t):LS(e,t),r}function IS(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),e-=o,e===0){o===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++r}return t.length-=r,i}function LS(e,t){var n=q.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,o),e-=o,e===0){o===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++i}return t.length-=i,n}function RS(e){var t=e._readableState;if(t.length>0)throw Error(`"endReadable()" called on non-empty stream`);t.endEmitted||(t.ended=!0,ex(zS,t,e))}function zS(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit(`end`))}function BS(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)}function VS(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}$.WritableState=WS,Dx($,X);function HS(){}function US(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function WS(e,t){Object.defineProperty(this,`buffer`,{get:jx(function(){return this.getBuffer()},`_writableState.buffer is deprecated. Use _writableState.getBuffer instead.`)}),e||={},this.objectMode=!!e.objectMode,t instanceof uC&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16*1024;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||`utf8`,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){QS(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new oC(this)}WS.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};function $(e){if(!(this instanceof $)&&!(this instanceof uC))return new $(e);this._writableState=new WS(e,this),this.writable=!0,e&&(typeof e.write==`function`&&(this._write=e.write),typeof e.writev==`function`&&(this._writev=e.writev)),X.call(this)}$.prototype.pipe=function(){this.emit(`error`,Error(`Cannot pipe, not readable`))};function GS(e,t){var n=Error(`write after end`);e.emit(`error`,n),ex(t,n)}function KS(e,t,n,r){var i=!0,a=!1;return n===null?a=TypeError(`May not write null values to stream`):!q.isBuffer(n)&&typeof n!=`string`&&n!==void 0&&!t.objectMode&&(a=TypeError(`Invalid non-string/buffer chunk`)),a&&(e.emit(`error`,a),ex(r,a),i=!1),i}$.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return typeof t==`function`&&(n=t,t=null),q.isBuffer(e)?t=`buffer`:t||=r.defaultEncoding,typeof n!=`function`&&(n=HS),r.ended?GS(this,n):KS(this,r,e,n)&&(r.pendingcb++,i=JS(this,r,e,t,n)),i},$.prototype.cork=function(){var e=this._writableState;e.corked++},$.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&tC(this,e))},$.prototype.setDefaultEncoding=function(e){if(typeof e==`string`&&(e=e.toLowerCase()),!([`hex`,`utf8`,`utf-8`,`ascii`,`binary`,`base64`,`ucs2`,`ucs-2`,`utf16le`,`utf-16le`,`raw`].indexOf((e+``).toLowerCase())>-1))throw TypeError(`Unknown encoding: `+e);return this._writableState.defaultEncoding=e,this};function qS(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t==`string`&&(t=q.from(t,n)),t}function JS(e,t,n,r,i){n=qS(t,n,r),q.isBuffer(n)&&(r=`buffer`);var a=t.objectMode?1:n.length;t.length+=a;var o=t.length<t.highWaterMark;if(o||(t.needDrain=!0),t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new US(n,r,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else YS(e,t,!1,a,n,r,i);return o}function YS(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function XS(e,t,n,r,i){--t.pendingcb,n?ex(i,r):i(r),e._writableState.errorEmitted=!0,e.emit(`error`,r)}function ZS(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function QS(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(ZS(n),t)XS(e,n,r,t,i);else{var a=nC(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&tC(e,n),r?ex($S,e,n,a,i):$S(e,n,a,i)}}function $S(e,t,n,r){n||eC(e,t),t.pendingcb--,r(),iC(e,t)}function eC(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit(`drain`))}function tC(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=Array(r),a=t.corkedRequestsFree;a.entry=n;for(var o=0;n;)i[o]=n,n=n.next,o+=1;YS(e,t,!0,t.length,i,``,a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new oC(t)}else{for(;n;){var s=n.chunk,c=n.encoding,l=n.callback;if(YS(e,t,!1,t.objectMode?1:s.length,s,c,l),n=n.next,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}$.prototype._write=function(e,t,n){n(Error(`not implemented`))},$.prototype._writev=null,$.prototype.end=function(e,t,n){var r=this._writableState;typeof e==`function`?(n=e,e=null,t=null):typeof t==`function`&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),!r.ending&&!r.finished&&aC(this,r,n)};function nC(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function rC(e,t){t.prefinished||(t.prefinished=!0,e.emit(`prefinish`))}function iC(e,t){var n=nC(t);return n&&(t.pendingcb===0?(rC(e,t),t.finished=!0,e.emit(`finish`)):rC(e,t)),n}function aC(e,t,n){t.ending=!0,iC(e,t),n&&(t.finished?ex(n):e.once(`finish`,n)),t.ended=!0,e.writable=!1}function oC(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}Dx(uC,Q);for(var sC=Object.keys($.prototype),cC=0;cC<sC.length;cC++){var lC=sC[cC];uC.prototype[lC]||(uC.prototype[lC]=$.prototype[lC])}function uC(e){if(!(this instanceof uC))return new uC(e);Q.call(this,e),$.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once(`end`,dC)}function dC(){this.allowHalfOpen||this._writableState.ended||ex(fC,this)}function fC(e){e.end()}const pC=(e,t)=>{let n=t.replace(/-/g,``);if(n.length!==32)throw Error(`Error: Cannot extract GUID from font filename: ${t}`);let r=n.replace(/(..)/g,`$1 `).trim().split(` `).map(e=>parseInt(e,16));r.reverse();let i=e.slice(0,32).map((e,t)=>e^r[t%r.length]),a=new Uint8Array(0+i.length+Math.max(0,e.length-32));return a.set(e.slice(0,0)),a.set(i,0),a.set(e.slice(32),0+i.length),a};function mC(e,t){let n=e;for(let{reference:e,instance:r,numId:i}of t)n=n.replace(RegExp(`{${e}-${r}}`,`g`),i.toString());return n}fy();var hC=class{formatter;constructor(){this.formatter=new d}compile(e,t,n=[]){let r={},i=new Map,a=new Map,o=this.xmlifyFile(e,i,a,t),s=new Map(Object.entries(o));for(let[,e]of s)if(Array.isArray(e))for(let t of e)r[t.path]=[typeof t.data==`string`?Ne(t.data):t.data,{level:0}];else{let t=e;r[t.path]=[typeof t.data==`string`?Ne(t.data):t.data,{level:0}]}for(let e of n)r[e.path]=[typeof e.data==`string`?Ne(e.data):e.data,{level:0}];for(let t of e.Media.Array)r[`word/media/${t.fileName}`]=[Pe(t.data),{level:0}],t.type===`svg`&&(r[`word/media/${t.fallback.fileName}`]=[Pe(t.fallback.data),{level:0}]);for(let{data:t,name:n,fontKey:i}of e.FontTable.fontOptionsWithKey){let[e]=n.split(`.`);r[`word/fonts/${e}.odttf`]=pC(t,i)}return r}xmlifyFile(e,t,n,r){let i=e.Document.Relationships.RelationshipCount+1,a=k(this.formatter.format(e.Document.View,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),o=e.Comments.Relationships.RelationshipCount+1,s=k(this.formatter.format(e.Comments,{fileData:e,file:e,stack:[],viewWrapper:{Relationships:e.Comments.Relationships,View:e.Comments}}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),c=e.FootNotes.Relationships.RelationshipCount+1,l=k(this.formatter.format(e.FootNotes.View,{fileData:e,file:e,stack:[],viewWrapper:e.FootNotes}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),u=ve(a)?_e(a,e.Media.Array):[],d=ve(s)?_e(s,e.Media.Array):[],f=ve(l)?_e(l,e.Media.Array):[];return{AppProperties:{data:k(this.formatter.format(e.AppProperties,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`}}),path:`docProps/app.xml`},Comments:{data:mC(d.length>0?we(s,d,o,`rId`):s,e.Numbering.ConcreteNumbering),path:`word/comments.xml`},CommentsRelationships:{data:(d.forEach((t,n)=>{e.Comments.Relationships.addRelationship(o+n,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${t.fileName}`)}),k(this.formatter.format(e.Comments.Relationships,{fileData:e,file:e,stack:[],viewWrapper:{Relationships:e.Comments.Relationships,View:e.Comments}}),{declaration:{encoding:`UTF-8`},indent:r})),path:`word/_rels/comments.xml.rels`},ContentTypes:{data:(e.Charts.Array.forEach((t,n)=>{e.ContentTypes.addChart(n+1)}),e.SmartArts.Array.forEach((t,n)=>{e.ContentTypes.addDiagramData(n+1),e.ContentTypes.addDiagramLayout(n+1),e.ContentTypes.addDiagramStyle(n+1),e.ContentTypes.addDiagramColors(n+1),e.ContentTypes.addDiagramDrawing(n+1)}),k(this.formatter.format(e.ContentTypes,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`},indent:r})),path:`[Content_Types].xml`},CustomProperties:{data:k(this.formatter.format(e.CustomProperties,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`docProps/custom.xml`},Document:{data:(()=>{let t=u.length>0?we(a,u,i,`rId`):a;if(ve(t)){t=Ce(t,e.Charts.Array.map(e=>e.key),i,`rId`);let n=i+u.length+e.Charts.Array.length;t=Te(t,e.SmartArts.Array.map(e=>e.key),n,`rId`)}return mC(t,e.Numbering.ConcreteNumbering)})(),path:`word/document.xml`},Endnotes:{data:k(this.formatter.format(e.Endnotes.View,{fileData:e,file:e,stack:[],viewWrapper:e.Endnotes}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/endnotes.xml`},EndnotesRelationships:{data:k(this.formatter.format(e.Endnotes.Relationships,{fileData:e,file:e,stack:[],viewWrapper:e.Endnotes}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/_rels/endnotes.xml.rels`},FileRelationships:{data:k(this.formatter.format(e.FileRelationships,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`},indent:r}),path:`_rels/.rels`},FontTable:{data:k(this.formatter.format(e.FontTable.View,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/fontTable.xml`},FontTableRelationships:{data:k(this.formatter.format(e.FontTable.Relationships,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/_rels/fontTable.xml.rels`},FootNotes:{data:mC(f.length>0?we(l,f,c,`rId`):l,e.Numbering.ConcreteNumbering),path:`word/footnotes.xml`},FootNotesRelationships:{data:(f.forEach((t,n)=>{e.FootNotes.Relationships.addRelationship(c+n,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${t.fileName}`)}),k(this.formatter.format(e.FootNotes.Relationships,{fileData:e,file:e,stack:[],viewWrapper:e.FootNotes}),{declaration:{encoding:`UTF-8`},indent:r})),path:`word/_rels/footnotes.xml.rels`},FooterRelationships:e.Footers.map((t,i)=>{let a=k(this.formatter.format(t.View,{fileData:e,file:e,stack:[],viewWrapper:t}),{declaration:{encoding:`UTF-8`},indent:r});return n.set(i,a),_e(a,e.Media.Array).forEach((e,n)=>{t.Relationships.addRelationship(n,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${e.fileName}`)}),{data:k(this.formatter.format(t.Relationships,{fileData:e,file:e,stack:[],viewWrapper:t}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/_rels/footer${i+1}.xml.rels`}}),Footers:e.Footers.map((t,r)=>{let i=n.get(r),a=ve(i)?_e(i,e.Media.Array):[];return{data:mC(a.length>0?we(i,a,0,`rId`):i,e.Numbering.ConcreteNumbering),path:`word/footer${r+1}.xml`}}),HeaderRelationships:e.Headers.map((n,i)=>{let a=k(this.formatter.format(n.View,{fileData:e,file:e,stack:[],viewWrapper:n}),{declaration:{encoding:`UTF-8`},indent:r});return t.set(i,a),_e(a,e.Media.Array).forEach((e,t)=>{n.Relationships.addRelationship(t,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${e.fileName}`)}),{data:k(this.formatter.format(n.Relationships,{fileData:e,file:e,stack:[],viewWrapper:n}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/_rels/header${i+1}.xml.rels`}}),Headers:e.Headers.map((n,r)=>{let i=t.get(r),a=ve(i)?_e(i,e.Media.Array):[];return{data:mC(a.length>0?we(i,a,0,`rId`):i,e.Numbering.ConcreteNumbering),path:`word/header${r+1}.xml`}}),Numbering:{data:k(this.formatter.format(e.Numbering,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/numbering.xml`},Properties:{data:k(this.formatter.format(e.CoreProperties,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`docProps/core.xml`},Relationships:{data:(()=>{u.forEach((t,n)=>{e.Document.Relationships.addRelationship(i+n,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${t.fileName}`)});let t=i+u.length;return e.Charts.Array.forEach((n,r)=>{e.Document.Relationships.addRelationship(t+r,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,`charts/chart${r+1}.xml`)}),le(e.SmartArts.Array.map(e=>e.key),(t,n,r)=>{e.Document.Relationships.addRelationship(t,n,r)},i+u.length+e.Charts.Array.length,0,{pathPrefix:``,styleRelType:`http://schemas.microsoft.com/office/2007/relationships/diagramStyle`}),e.Document.Relationships.addRelationship(e.Document.Relationships.RelationshipCount+1,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable`,`fontTable.xml`),k(this.formatter.format(e.Document.Relationships,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`},indent:r})})(),path:`word/_rels/document.xml.rels`},Settings:{data:k(this.formatter.format(e.Settings,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/settings.xml`},Styles:{data:mC(k(this.formatter.format(e.Styles,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),e.Numbering.ConcreteNumbering),path:`word/styles.xml`},...e.Bibliography?{Bibliography:{data:k(this.formatter.format(e.Bibliography,{fileData:e,file:e,stack:[],viewWrapper:{Relationships:e.Bibliography.Relationships,View:e.Bibliography}}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/bibliography.xml`}}:{},...e.Charts.Array.length>0?{Charts:e.Charts.Array.flatMap((t,n)=>[{data:k(this.formatter.format(t.chartSpace,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/charts/chart${n+1}.xml`},{data:k({Relationships:{_attr:{xmlns:`http://schemas.openxmlformats.org/package/2006/relationships`}}},{declaration:{encoding:`UTF-8`,standalone:`yes`}}),path:`word/charts/_rels/chart${n+1}.xml.rels`}])}:{},...e.SmartArts.Array.length>0?{DiagramData:e.SmartArts.Array.map((t,n)=>({data:k(this.formatter.format(t.dataModel,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/diagrams/data${n+1}.xml`})),DiagramLayout:e.SmartArts.Array.map((e,t)=>({data:tt(e.layout),path:`word/diagrams/layout${t+1}.xml`})),DiagramStyle:e.SmartArts.Array.map((e,t)=>({data:nt(e.style),path:`word/diagrams/quickStyle${t+1}.xml`})),DiagramColors:e.SmartArts.Array.map((e,t)=>({data:et(e.color),path:`word/diagrams/colors${t+1}.xml`})),DiagramDrawing:e.SmartArts.Array.map((e,t)=>({data:Ye,path:`word/diagrams/drawing${t+1}.xml`}))}:{},...e.AltChunks.Array.length>0?{AltChunks:e.AltChunks.Array.map(e=>({data:e.data,path:`word/${e.path}`}))}:{},...e.SubDocs.Array.length>0?{SubDocs:e.SubDocs.Array.map(e=>({data:e.data,path:`word/${e.path}`}))}:{}}}},gC=class e{static async pack(e,t,n,r=[]){return pe(mt(this.compiler.compile(e,he(n),r),{level:6}),t)}static toString(t,n,r=[]){return e.pack(t,`string`,n,r)}static toBuffer(t,n,r=[]){return e.pack(t,`nodebuffer`,n,r)}static toBase64String(t,n,r=[]){return e.pack(t,`base64`,n,r)}static toBlob(t,n,r=[]){return e.pack(t,`blob`,n,r)}static toArrayBuffer(t,n,r=[]){return e.pack(t,`arraybuffer`,n,r)}static toStream(e,t,n=[]){let r=new Q({read(){}});try{let i=this.compiler.compile(e,he(t),n),a=new lt((e,t,n)=>{if(e){r.destroy(e);return}r.destroyed||r.push(q.from(t)),n&&r.push(null)});for(let[e,t]of Object.entries(i)){let n=Array.isArray(t)?t[0]:t,r=Array.isArray(t)?t[1].level??6:6,i=r===0?new dt(e):new ut(e,{level:r});a.add(i),i.push(n,!0)}a.end()}catch(e){r.destroy(e instanceof Error?e:Error(String(e)))}return r}static compiler=new hC},_C=t({abstractNumUniqueNumericIdGen:()=>Qn,bookmarkUniqueNumericIdGen:()=>tr,concreteNumUniqueNumericIdGen:()=>$n,convertInchesToTwip:()=>x,convertMillimetersToTwip:()=>fe,docPropertiesUniqueNumericIdGen:()=>er,hashedId:()=>ye,uniqueId:()=>Oe,uniqueNumericIdCreator:()=>ke,uniqueUuid:()=>je});H(),P(),n(_C,N),Un();const vC=new d,yC=e=>ct(e,{captureSpacesBetweenElements:!0,compact:!1}),bC=e=>yC(k(vC.format(new Hn({text:e})))).elements[0].elements??[],xC=e=>({...e,attributes:{"xml:space":`preserve`}}),SC=(e,t)=>e.elements?.filter(e=>e.name===t)[0].elements??[],CC=(e,t,n)=>{let r=SC(e,`Types`);r.some(e=>e.type===`element`&&e.name===`Default`&&e?.attributes?.ContentType===t&&e?.attributes?.Extension===n)||r.push({attributes:{ContentType:t,Extension:n},name:`Default`,type:`element`})},wC=e=>{let t=parseInt(e.substring(3),10);return isNaN(t)?0:t},TC=e=>SC(e,`Relationships`).map(e=>wC(e.attributes?.Id?.toString()??``)).reduce((e,t)=>Math.max(e,t),0)+1,EC=(e,t,n,r,i)=>{let a=SC(e,`Relationships`);return a.push({attributes:{Id:`rId${t}`,Target:r,TargetMode:i,Type:n},name:`Relationship`,type:`element`}),a};var DC=class extends Error{constructor(e){super(`Token ${e} not found`),this.name=`TokenNotFoundError`}};const OC=(e,t)=>{for(let n=0;n<(e.elements??[]).length;n++){let r=e.elements[n];if(r.type===`element`&&r.name===`w:r`){let e=(r.elements??[]).filter(e=>e.type===`element`&&e.name===`w:t`);for(let r of e)if(r.elements?.[0]&&r.elements[0].text?.includes(t))return n}}throw new DC(t)},kC=(e,t)=>{let n=-1,r=e.elements?.map((e,r)=>{if(n!==-1)return e;if(e.type===`element`&&e.name===`w:t`){let i=(e.elements?.[0]?.text??``).split(t),a=i.map(t=>({...e,...xC(e),elements:bC(t)}));return i.length>1&&(n=r),a}else return e}).flat()??[];return{left:{...JSON.parse(JSON.stringify(e)),elements:r.slice(0,n+1)},right:{...JSON.parse(JSON.stringify(e)),elements:r.slice(n+1)}}},AC={START:0,MIDDLE:1,END:2},jC=({paragraphElement:e,renderedParagraph:t,originalText:n,replacementText:r})=>{let i=t.text.indexOf(n),a=i+n.length-1,o=AC.START;for(let n of t.runs)for(let{text:t,index:s,start:c,end:l}of n.parts)switch(o){case AC.START:if(i>=c&&i<=l){let u=i-c,d=Math.min(a,l)-c,f=t.substring(u,d+1);if(f===``)continue;let p=t.replace(f,r);MC(e.elements[n.index].elements[s],p),o=AC.MIDDLE;continue}break;case AC.MIDDLE:if(a<=l){let r=t.substring(a-c+1);MC(e.elements[n.index].elements[s],r);let i=e.elements[n.index].elements[s];e.elements[n.index].elements[s]=xC(i),o=AC.END}else MC(e.elements[n.index].elements[s],``);break;default:}return e},MC=(e,t)=>(e.elements=bC(t),e),NC=e=>{if(e.element.name!==`w:p`)throw Error(`Invalid node type: ${e.element.name}`);if(!e.element.elements)return{index:-1,pathToParagraph:[],runs:[],text:``};let t=0,n=e.element.elements.map((e,t)=>({element:e,i:t})).filter(({element:e})=>e.name===`w:r`).map(({element:e,i:n})=>{let r=PC(e,n,t);return t+=r.text.length,r}).filter(e=>!!e),r=n.reduce((e,t)=>e+t.text,``);return{index:e.index,pathToParagraph:FC(e),runs:n,text:r}},PC=(e,t,n)=>{if(!e.elements)return{end:n,index:-1,parts:[],start:n,text:``};let r=n,i=e.elements.map((e,t)=>e.name===`w:t`&&e.elements&&e.elements.length>0?(()=>{let n=r;return r+=(e.elements[0].text?.toString()??``).length,{end:r-1,index:t,start:n,text:e.elements[0].text?.toString()??``}})():void 0).filter(e=>!!e).map(e=>e),a=i.reduce((e,t)=>e+t.text,``);return{end:r-1,index:t,parts:i,start:n,text:a}},FC=e=>e.parent?[...FC(e.parent),e.index]:[e.index],IC=e=>e.element.elements?.map((t,n)=>({element:t,index:n,parent:e}))??[],LC=e=>{let t=[],n=[...IC({element:e,index:0,parent:void 0})],r;for(;n.length>0;)r=n.shift(),r.element.name===`w:p`&&(t=[...t,NC(r)]),n.push(...IC(r));return t},RC=(e,t)=>LC(e).filter(e=>e.text.includes(t)),zC=new d,BC=({json:e,patch:t,patchText:n,context:r,keepOriginalStyles:i=!0})=>{let a=RC(e,n);if(a.length===0)return{didFindOccurrence:!1,element:e};for(let o of a){let a=t.children.map(e=>yC(k(zC.format(e,r)))).map(e=>e.elements[0]);switch(t.type){case WC.DOCUMENT:{let t=HC(e,o.pathToParagraph),n=UC(o.pathToParagraph);t.elements.splice(n,1,...a);break}case WC.PARAGRAPH:default:{let t=VC(e,o.pathToParagraph);jC({originalText:n,paragraphElement:t,renderedParagraph:o,replacementText:`ɵ`});let r=OC(t,`ɵ`),s=t.elements[r],{left:c,right:l}=kC(s,`ɵ`),u=a,d=l;if(i){let e=s.elements.filter(e=>e.type===`element`&&e.name===`w:rPr`);u=a.map(t=>t.type!==`element`||t.name!==`w:r`||t.elements?.some(e=>e.type===`element`&&e.name===`w:rPr`)?t:{...t,elements:[...e,...t.elements??[]]}),d={...l,elements:[...e,...l.elements]}}t.elements.splice(r,1,c,...u,d);break}}}return{didFindOccurrence:!0,element:e}},VC=(e,t)=>{let n=e;for(let e=1;e<t.length;e++){let r=t[e];n=n.elements[r]}return n},HC=(e,t)=>VC(e,t.slice(0,-1)),UC=e=>e[e.length-1];Vh(),za(),K(),mi(),H();const WC={DOCUMENT:`file`,PARAGRAPH:`paragraph`},GC=new Uint8Array([255,254]),KC=new Uint8Array([254,255]),qC=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},JC=async({outputType:e,data:t,patches:n,keepOriginalStyles:r,placeholderDelimiters:i={end:`}}`,start:`{{`},recursive:a=!0})=>{let o=pt(Pe(t)),s=new Map,c={Media:new Fa},l=new Map,u=[],d=[],f=!1,p=new Map;for(let[e,t]of Object.entries(o)){let o=t.slice(0,2);if(qC(o,GC)||qC(o,KC)){p.set(e,t);continue}if(!e.endsWith(`.xml`)&&!e.endsWith(`.rels`)){p.set(e,t);continue}let m=yC(ft(t));if(e===`word/document.xml`){let e=m.elements?.find(e=>e.name===`w:document`);if(e&&e.attributes){for(let t of[`mc`,`wp`,`r`,`w15`,`m`])e.attributes[`xmlns:${t}`]=bm[t];e.attributes[`mc:Ignorable`]=`${e.attributes[`mc:Ignorable`]||``} w15`.trim()}}if(e.startsWith(`word/`)&&!e.endsWith(`.xml.rels`)){let t={fileData:c,file:c,stack:[],viewWrapper:{Relationships:{addRelationship:(t,n,r,i)=>{d.push({hyperlink:{id:t,link:r},key:e})}}}};if(s.set(e,t),!i?.start.trim()||!i?.end.trim())throw Error(`Both start and end delimiters must be non-empty strings.`);let{start:o,end:l}=i;for(let[i,s]of Object.entries(n)){let n=`${o}${i}${l}`;for(;;){let{didFindOccurrence:i}=BC({context:t,json:m,keepOriginalStyles:r,patch:{...s,children:s.children.map(t=>{if(t instanceof fi){let n=new ui(t.options.children,Oe());return d.push({hyperlink:{id:n.linkId,link:t.options.link},key:e}),n}else return t})},patchText:n});if(!a||!i)break}}let p=_e(JSON.stringify(m),t.file.Media.Array);p.length>0&&(f=!0,u.push({key:e,mediaDatas:p}))}l.set(e,m)}for(let{key:e,mediaDatas:t}of u){let n=`word/_rels/${e.split(`/`).pop()}.rels`,r=l.get(n)??XC();l.set(n,r);let i=TC(r),a=we(JSON.stringify(l.get(e)),t,i,`plain`);l.set(e,JSON.parse(a));for(let e=0;e<t.length;e++){let{fileName:n}=t[e];EC(r,i+e,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${n}`)}}for(let{key:e,hyperlink:t}of d){let n=`word/_rels/${e.split(`/`).pop()}.rels`,r=l.get(n)??XC();l.set(n,r),EC(r,t.id,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,t.link,se.EXTERNAL)}if(f){let e=l.get(`[Content_Types].xml`);if(!e)throw Error(`Could not find content types file`);CC(e,`image/png`,`png`),CC(e,`image/jpeg`,`jpeg`),CC(e,`image/jpeg`,`jpg`),CC(e,`image/bmp`,`bmp`),CC(e,`image/gif`,`gif`),CC(e,`image/svg+xml`,`svg`)}let m={};for(let[e,t]of l)m[e]=Ne(YC(t));for(let[e,t]of p)m[e]=t;for(let{data:e,fileName:t}of c.Media.Array)m[`word/media/${t}`]=e instanceof Uint8Array?e:new Uint8Array(e);return pe(mt(m,{level:6}),e)},YC=e=>ot(e,{attributeValueFn:e=>String(e).replace(/&(?!amp;|lt;|gt;|quot;|apos;)/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`)}),XC=()=>({declaration:{attributes:{encoding:`UTF-8`,standalone:`yes`,version:`1.0`}},elements:[{attributes:{xmlns:`http://schemas.openxmlformats.org/package/2006/relationships`},elements:[],name:`Relationships`,type:`element`}]}),ZC=async({data:e})=>{let t=pt(Pe(e)),n=new Set;for(let[e,r]of Object.entries(t))!e.endsWith(`.xml`)&&!e.endsWith(`.rels`)||e.startsWith(`word/`)&&!e.endsWith(`.xml.rels`)&&LC(yC(ft(r))).forEach(e=>QC(e.text).forEach(e=>n.add(e)));return[...n]},QC=e=>e.match(/(?<=\{\{).+?(?=\}\})/gs)??[];function $C(e,t){let n=T(e,`r:id`);if(!n)throw Error(`w:altChunk missing r:id attribute`);let r=t.docx.partRefs.afChunks.get(n);if(!r)throw Error(`AltChunk relationship ${n} not found`);let i=t.docx.doc.getRaw(r);if(!i)throw Error(`AltChunk data not found at ${r}`);let a=r.split(`.`).pop()??`txt`,o,s;switch(a){case`html`:o=`text/html`,s=`html`;break;case`rtf`:o=`application/rtf`,s=`rtf`;break;default:o=`text/plain`,s=`txt`;break}return{data:i,contentType:o,extension:s}}function ew(e,t){let n=at(e,`a:graphicData`)[0];if(!n)return;let r=T(n,`uri`)??``;return r.includes(`/chart`)?aw(e,t):r.includes(`/diagram`)?lw(e,t):nw(e,t)}function tw(e){switch(e.split(`.`).pop()?.toLowerCase()??``){case`jpg`:case`jpeg`:return`jpg`;case`png`:return`png`;case`gif`:return`gif`;case`bmp`:return`bmp`;case`tif`:case`tiff`:return`tif`;case`ico`:return`ico`;case`emf`:return`emf`;case`wmf`:return`wmf`;default:return`png`}}function nw(e,t){let n=at(e,`wp:inline`)[0],r=n?void 0:at(e,`wp:anchor`)[0],i=n??r;if(!i)return;let a=O(i,`wp:extent`),o,s;if(a){let e=D(a,`cx`),t=D(a,`cy`);e!==void 0&&(o=de(e)),t!==void 0&&(s=de(t))}let c=at(i,`a:blip`)[0];if(!c)return;let l=T(c,`r:embed`);if(!l)return;let u=t.docx.partRefs.media.get(l);if(!u)return;let d=t.docx.doc.getRaw(u);if(!d)return;let f={type:tw(u),data:d,transformation:{...o===void 0?{}:{width:o},...s===void 0?{}:{height:s}}},p=O(i,`wp:docPr`);if(p){let e=T(p,`name`),t=T(p,`descr`);(e||t)&&(f.altText={...e?{name:e}:{},...t?{description:t}:{}})}if(r&&!n){let e={},t=O(r,`wp:positionH`);if(t){let n=O(t,`wp:align`),r=O(t,`wp:posOffset`);n?e.horizontalPosition={align:st(n)}:r&&(e.horizontalPosition={offset:D(r,`offset`)??0})}let n=O(r,`wp:positionV`);if(n){let t=O(n,`wp:align`),r=O(n,`wp:posOffset`);t?e.verticalPosition={align:st(t)}:r&&(e.verticalPosition={offset:D(r,`offset`)??0})}for(let t of[`wrapSquare`,`wrapTight`,`wrapTopAndBottom`,`wrapNone`])if(O(r,`wp:${t}`)){e.wrap=t;break}E(r,`behindDoc`)&&(e.behindDocument=!0),Object.keys(e).length>0&&(f.floating=e)}return f}function rw(e){let t=at(e,`wp:inline`)[0],n=t?void 0:at(e,`wp:anchor`)[0],r=t??n;if(!r)return{};let i=O(r,`wp:extent`);if(!i)return{};let a=D(i,`cx`),o=D(i,`cy`);return{...a===void 0?{}:{width:de(a)},...o===void 0?{}:{height:de(o)}}}function iw(e,t){if(!t)return;let n=e.get(t);if(n)return n;if(t.startsWith(`rIdrId`))return e.get(t.slice(3))}function aw(e,t){let n=at(e,`c:chart`)[0];if(!n)return;let r=T(n,`r:id`),i=iw(t.docx.partRefs.charts,r);if(!i)return;let a=t.docx.doc.get(i);if(!a)return;let o=ow(a);if(!o)return;let s=rw(e);return(s.width!==void 0||s.height!==void 0)&&(o.transformation={...s}),{chart:o}}function ow(e){let t=O(e,`c:chart`);if(!t)return;let n={},r=O(t,`c:title`);if(r){let e=at(r,`c:rich`)[0];if(e){let t=at(e,`a:t`)[0];if(t){let e=st(t);e&&(n.title=e)}}}let i=O(t,`c:plotArea`);if(!i)return;let a,o;for(let e of i.elements??[]){switch(e.name){case`c:barChart`:{let t=O(e,`c:barDir`);a=t&&T(t,`val`)===`bar`?`bar`:`column`,o=e;break}case`c:lineChart`:a=`line`,o=e;break;case`c:pieChart`:a=`pie`,o=e;break;case`c:areaChart`:a=`area`,o=e;break;case`c:scatterChart`:a=`scatter`,o=e;break}if(a)break}if(!a||!o)return;n.type=a;let s=[],c;for(let e of o.elements??[]){if(e.name!==`c:ser`)continue;let t=sw(e,`c:tx`),n=sw(e,`c:cat`);n.length>0&&!c&&(c=n);let r=cw(e);s.push({name:t[0]??``,values:r})}n.data={categories:c??[],series:s},n.showLegend=O(t,`c:legend`)!==void 0;let l=O(e,`c:style`);if(l){let e=D(l,`val`);e!==void 0&&(n.style=e)}return n}function sw(e,t){let n=O(e,t);if(!n)return[];let r=at(n,`c:strCache`)[0];if(!r)return[];let i=[];for(let e of r.elements??[]){if(e.name!==`c:pt`)continue;let t=O(e,`c:v`);t&&i.push(st(t)??``)}return i}function cw(e){let t=O(e,`c:val`);if(!t)return[];let n=at(t,`c:numCache`)[0];if(!n)return[];let r=[];for(let e of n.elements??[]){if(e.name!==`c:pt`)continue;let t=O(e,`c:v`);if(t){let e=Number(st(t));isNaN(e)||r.push(e)}}return r}function lw(e,t){let n=at(e,`dgm:relIds`)[0];if(!n)return;let r=T(n,`r:dm`),i=iw(t.docx.partRefs.diagramData,r);if(!i)return;let a=t.docx.doc.get(i);if(!a)return;let o=uw(a);if(!o)return;let s=rw(e);return(s.width!==void 0||s.height!==void 0)&&(o.transformation={...s}),{smartArt:o}}function uw(e){let t=O(e,`dgm:ptLst`);if(!t)return;let n={},r=new Map;for(let e of t.elements??[]){if(e.name!==`dgm:pt`)continue;let t=T(e,`type`),i=T(e,`modelId`);if(t===`doc`){let t=O(e,`dgm:prSet`);if(t){let e=T(t,`loTypeId`)??``,r=T(t,`qsTypeId`)??``,i=T(t,`csTypeId`)??``,a=e.split(`/`).pop();a&&(n.layout=a);let o=r.split(`/`).pop();o&&(n.style=o);let s=i.split(`/`).pop();s&&(n.color=s)}}else if(t===`node`&&i){let t=at(e,`a:t`)[0];r.set(i,t?st(t)??``:``)}}let i=O(e,`dgm:cxnLst`);if(!i)return n.data={nodes:[]},n;let a=new Map;for(let e of i.elements??[]){if(e.name!==`dgm:cxn`)continue;let t=T(e,`srcId`),n=T(e,`destId`);if(!t||!n||!r.has(n))continue;let i=a.get(t);i||(i=[],a.set(t,i)),i.push(n)}return n.data={nodes:(a.get(`0`)??[]).map(e=>dw(e,r,a))},n}function dw(e,t,n){let r=t.get(e)??``,i=n.get(e)??[];return i.length===0?{text:r}:{text:r,children:i.map(e=>dw(e,t,n))}}function fw(e){let t={},n=O(e,`w:rStyle`);n&&(t.style=T(n,`w:val`));let r=O(e,`w:rFonts`);if(r){let e=T(r,`w:ascii`),n=T(r,`w:eastAsia`),i=T(r,`w:hAnsi`),a=T(r,`w:cs`),o=T(r,`w:hint`);if(e&&!n&&!i&&!a)t.font=o?{name:e,hint:o}:e;else{let r={};e&&(r.ascii=e),n&&(r.eastAsia=n),i&&(r.hAnsi=i),a&&(r.cs=a),o&&(r.hint=o),t.font=r}}let i=O(e,`w:b`);i&&(t.bold=E(i,`w:val`)??!0);let a=O(e,`w:bCs`);a&&(t.boldComplexScript=E(a,`w:val`)??!0);let o=O(e,`w:i`);o&&(t.italics=E(o,`w:val`)??!0);let s=O(e,`w:iCs`);s&&(t.italicsComplexScript=E(s,`w:val`)??!0);let c=O(e,`w:u`);if(c){let e={},n=T(c,`w:val`);n&&(e.type=n);let r=it(c,`w:color`);r&&(e.color=r),t.underline=e}for(let[n,r]of[[`w:strike`,`strike`],[`w:dstrike`,`doubleStrike`],[`w:outline`,`outline`],[`w:shadow`,`shadow`],[`w:emboss`,`emboss`],[`w:imprint`,`imprint`],[`w:vanish`,`vanish`],[`w:webHidden`,`webHidden`],[`w:noProof`,`noProof`],[`w:snapToGrid`,`snapToGrid`],[`w:smallCaps`,`smallCaps`],[`w:caps`,`allCaps`],[`w:rtl`,`rightToLeft`],[`w:cs`,`complexScript`],[`w:specVanish`,`specVanish`],[`w:math`,`math`]]){let i=O(e,n);i&&(t[r]=E(i,`w:val`)??!0)}let l=O(e,`w:color`);if(l){let e=it(l,`w:val`);e&&(t.color=e)}let u=O(e,`w:sz`);if(u){let e=D(u,`w:val`);e!==void 0&&(t.size=e)}let d=O(e,`w:szCs`);if(d){let e=D(d,`w:val`);e!==void 0&&(t.sizeComplexScript=e)}let f=O(e,`w:highlight`);if(f){let e=T(f,`w:val`);e&&(t.highlight=e)}let p=O(e,`w:highlightCs`);if(p){let e=T(p,`w:val`);e&&(t.highlightComplexScript=e)}let m=O(e,`w:vertAlign`);if(m){let e=T(m,`w:val`);e===`subscript`?t.subScript=!0:e===`superscript`&&(t.superScript=!0)}let ee=O(e,`w:effect`);if(ee){let e=T(ee,`w:val`);e&&(t.effect=e)}let te=O(e,`w:em`);if(te){let e=T(te,`w:val`);e&&(t.emphasisMark={type:e})}let ne=O(e,`w:spacing`);if(ne){let e=D(ne,`w:val`);e!==void 0&&(t.characterSpacing=e)}let re=O(e,`w:w`);if(re){let e=D(re,`w:val`);e!==void 0&&(t.scale=e)}let h=O(e,`w:kern`);if(h){let e=D(h,`w:val`);e!==void 0&&(t.kern=e)}let ie=O(e,`w:position`);if(ie){let e=T(ie,`w:val`);e!==void 0&&(t.position=e)}let ae=O(e,`w:fitText`);if(ae){let e=D(ae,`w:val`);e!==void 0&&(t.fitText=e)}let g=O(e,`w:lang`);if(g){let e={},n=T(g,`w:val`);n&&(e.val=n);let r=T(g,`w:eastAsia`);r&&(e.eastAsia=r);let i=T(g,`w:bidi`);i&&(e.bidi=i),Object.keys(e).length>0&&(t.language=e)}let _=O(e,`w:bdr`);_&&(t.border=pw(_));let oe=O(e,`w:shd`);return oe&&(t.shading=mw(oe)),t}function pw(e){let t={},n=T(e,`w:val`);n&&(t.style=n);let r=it(e,`w:color`);r&&(t.color=r);let i=D(e,`w:sz`);i!==void 0&&(t.size=i);let a=D(e,`w:space`);a!==void 0&&(t.space=a);let o=E(e,`w:shadow`);o!==void 0&&(t.shadow=o);let s=E(e,`w:frame`);return s!==void 0&&(t.frame=s),t}function mw(e){let t={},n=it(e,`w:fill`);n&&(t.fill=n);let r=it(e,`w:color`);r&&(t.color=r);let i=T(e,`w:val`);return i&&(t.type=i),t}const hw=Symbol(`PageBreak`),gw=Symbol(`LineBreak`),_w=Symbol(`Tab`),vw=Symbol(`CarriageReturn`),yw=Symbol(`NoBreakHyphen`),bw=Symbol(`SoftHyphen`);function xw(e,t){let n=O(e,`w:rPr`),r=n?fw(n):void 0,i=[];for(let t of e.elements??[])switch(t.name){case`w:rPr`:break;case`w:t`:{E(t,`xml:space`);let e=st(t);i.push(e);break}case`w:br`:{let e=T(t,`w:type`);e===`page`||e===`column`?i.push(hw):i.push(gw);break}case`w:tab`:i.push(_w);break;case`w:cr`:i.push(vw);break;case`w:noBreakHyphen`:i.push(yw);break;case`w:softHyphen`:i.push(bw);break;case`w:drawing`:case`w:pict`:break;default:break}return{properties:r,children:i}}function Sw(e){let t={...e.properties},n=[],r=0;for(let t of e.children)typeof t==`string`?n.push(t):t===gw&&r++;return n.length>0&&(t.text=n.join(``)),r>0&&(t.break=r),t}ss();const Cw={Heading1:as.HEADING_1,Heading2:as.HEADING_2,Heading3:as.HEADING_3,Heading4:as.HEADING_4,Heading5:as.HEADING_5,Heading6:as.HEADING_6,Title:as.TITLE};function ww(e,t){let n={},r=O(e,`w:pStyle`);if(r){let e=T(r,`w:val`);e&&(Cw[e]?n.heading=Cw[e]:n.style=e)}let i=O(e,`w:jc`);if(i){let e=T(i,`w:val`);e&&(n.alignment=e)}let a=O(e,`w:spacing`);if(a){let e={},t=D(a,`w:before`);t!==void 0&&(e.before=t);let r=D(a,`w:after`);r!==void 0&&(e.after=r);let i=D(a,`w:line`);i!==void 0&&(e.line=i);let o=T(a,`w:lineRule`);o&&(e.lineRule=o);let s=E(a,`w:beforeAutospacing`)??E(a,`w:beforeLines`);s!==void 0&&(e.beforeAutoSpacing=s);let c=E(a,`w:afterAutospacing`)??E(a,`w:afterLines`);c!==void 0&&(e.afterAutoSpacing=c),Object.keys(e).length>0&&(n.spacing=e)}let o=O(e,`w:ind`);if(o){let e={},t=D(o,`w:left`);t!==void 0&&(e.left=t);let r=D(o,`w:right`);r!==void 0&&(e.right=r);let i=D(o,`w:start`);i!==void 0&&(e.start=i);let a=D(o,`w:end`);a!==void 0&&(e.end=a);let s=D(o,`w:hanging`);s!==void 0&&(e.hanging=s);let c=D(o,`w:firstLine`);c!==void 0&&(e.firstLine=c),Object.keys(e).length>0&&(n.indent=e)}let s=O(e,`w:numPr`);if(s){let e=O(s,`w:ilvl`);n.bullet={level:e?D(e,`w:val`)??0:0}}let c=O(e,`w:tabs`);if(c){let e=[];for(let t of rt(c,`w:tab`)){let n={},r=D(t,`w:pos`);r!==void 0&&(n.position=r);let i=T(t,`w:val`);i&&(n.type=i);let a=T(t,`w:leader`);a&&(n.leader=a),e.push(n)}e.length>0&&(n.tabStops=e)}for(let[t,r]of[[`w:keepNext`,`keepNext`],[`w:keepLines`,`keepLines`],[`w:pageBreakBefore`,`pageBreakBefore`],[`w:widowControl`,`widowControl`],[`w:suppressLineNumbers`,`suppressLineNumbers`],[`w:contextualSpacing`,`contextualSpacing`],[`w:bidi`,`bidirectional`],[`w:wordWrap`,`wordWrap`],[`w:suppressAutoHyphens`,`suppressAutoHyphens`],[`w:adjustRightInd`,`adjustRightInd`],[`w:snapToGrid`,`snapToGrid`],[`w:mirrorIndents`,`mirrorIndents`],[`w:kinsoku`,`kinsoku`],[`w:topLinePunct`,`topLinePunct`],[`w:autoSpaceDE`,`autoSpaceDE`],[`w:overflowPunct`,`overflowPunctuation`],[`w:suppressOverlap`,`suppressOverlap`]]){let i=O(e,t);i&&(n[r]=E(i,`w:val`)??!0)}if(O(e,`w:pBdr`)){let t=O(e,`w:pBdr`),r={};for(let e of[`top`,`bottom`,`left`,`right`]){let n=O(t,`w:${e}`);if(n){let t={},i=T(n,`w:val`);i&&(t.style=i);let a=T(n,`w:color`);a&&(t.color=a);let o=D(n,`w:sz`);o!==void 0&&(t.size=o);let s=D(n,`w:space`);s!==void 0&&(t.space=s),r[e]=t}}Object.keys(r).length>0&&(n.border=r)}let l=O(e,`w:shd`);if(l){let e={},t=T(l,`w:fill`);t&&(e.fill=t);let r=T(l,`w:color`);r&&(e.color=r);let i=T(l,`w:val`);i&&(e.type=i),Object.keys(e).length>0&&(n.shading=e)}let u=O(e,`w:textAlignment`);if(u){let e=T(u,`w:val`);e&&(n.textAlignment=e)}let d=O(e,`w:outlineLvl`);if(d){let e=D(d,`w:val`);e!==void 0&&(n.outlineLevel=e)}let f=O(e,`w:cnfStyle`);if(f){let e=T(f,`w:val`);e&&(n.cnfStyle={val:e})}let p=O(e,`w:rPr`);p&&(n.run=fw(p));let m=O(e,`w:framePr`);if(m){let e={};for(let[t,n]of[[`w:dropCap`,`dropCap`],[`w:lines`,`lines`],[`w:wrap`,`wrap`],[`w:vAnchor`,`vAnchor`],[`w:hAnchor`,`hAnchor`],[`w:x`,`x`],[`w:y`,`y`],[`w:hRule`,`hRule`],[`w:hSpace`,`hSpace`],[`w:vSpace`,`vSpace`]]){let r=T(m,t);r!==void 0&&(e[n]=r)}let t=D(m,`w:w`);t!==void 0&&(e.width=t);let r=D(m,`w:h`);r!==void 0&&(e.height=r),Object.keys(e).length>0&&(n.frame=e)}return n}function Tw(e,t){let n={},r=O(e,`w:pPr`);r&&Object.assign(n,ww(r,t));let i=[];for(let n of e.elements??[])switch(n.name){case`w:pPr`:break;case`w:r`:{let e=Sw(xw(n,t));i.push(e);break}case`w:hyperlink`:{let e=[];for(let r of n.elements??[])if(r.name===`w:r`){let n=Sw(xw(r,t));e.push(n)}i.push(...e);break}case`w:bookmarkStart`:case`w:bookmarkEnd`:case`w:commentRangeStart`:case`w:commentRangeEnd`:break;default:n.name&&n.elements&&n.elements.length>0&&i.push(new ae(n));break}if(i.length>0){if(i.every(e=>typeof e==`object`&&!!e&&`text`in e&&Object.keys(e).length<=2)){let e=i.map(e=>e.text).join(``);if(e&&Object.keys(n).length===0)return e;if(e)return n.text=e,n}n.children=i}return n}let Ew;function Dw(e){Ew=e}function Ow(e){let t={},n=O(e,`w:alias`);n&&(t.alias=T(n,`w:val`));let r=O(e,`w:tag`);if(r){let e=T(r,`w:val`);e&&(t.tag=e)}let i=O(e,`w:id`);if(i){let e=D(i,`w:val`);e!==void 0&&(t.id=e)}let a=O(e,`w:lock`);if(a){let e=T(a,`w:val`);e&&(t.lock=e)}let o=O(e,`w:temporary`);o&&(t.temporary=E(o,`w:val`)??!0);let s=O(e,`w:showingPlcHdr`);s&&(t.showingPlaceholder=E(s,`w:val`)??!0);let c=O(e,`w:label`);if(c){let e=D(c,`w:val`);e!==void 0&&(t.label=e)}let l=O(e,`w:tabIndex`);if(l){let e=D(l,`w:val`);e!==void 0&&(t.tabIndex=e)}let u=O(e,`w:dataBinding`);if(u&&(t.dataBinding={xpath:T(u,`w:xpath`)??``,storeItemID:T(u,`w:storeItemID`)??``,prefixMappings:T(u,`w:prefixMappings`)}),O(e,`w:equation`))t.equation=!0;else if(O(e,`w:comboBox`)){let n=O(e,`w:comboBox`),r=[];for(let e of rt(n,`w:listItem`))r.push({displayText:T(e,`w:displayText`),value:T(e,`w:value`)});t.comboBox={items:r.length>0?r:void 0,lastValue:T(n,`w:lastValue`)}}else if(O(e,`w:date`)){let n=O(e,`w:date`),r={},i=O(n,`w:dateFormat`);i&&(r.dateFormat=st(i));let a=O(n,`w:lid`);a&&(r.languageId=st(a));let o=O(n,`w:storeMappedDataAs`);o&&(r.storeMappedDataAs=T(o,`w:val`));let s=O(n,`w:calendar`);s&&(r.calendar=T(s,`w:val`));let c=T(n,`w:fullDate`);c&&(r.fullDate=c),t.date=r}else if(O(e,`w:dropDownList`)){let n=O(e,`w:dropDownList`),r=[];for(let e of rt(n,`w:listItem`))r.push({displayText:T(e,`w:displayText`),value:T(e,`w:value`)});t.dropDownList={items:r.length>0?r:void 0,lastValue:T(n,`w:lastValue`)}}else if(O(e,`w:picture`))t.picture=!0;else if(O(e,`w:richText`))t.richText=!0;else if(O(e,`w:text`))t.text={multiLine:E(O(e,`w:text`),`w:multiLine`)};else if(O(e,`w:citation`))t.citation=!0;else if(O(e,`w:group`))t.group=!0;else if(O(e,`w:bibliography`))t.bibliography=!0;else if(O(e,`w:docPartObj`)){let n=O(e,`w:docPartObj`);t.docPartObj={};let r=O(n,`w:docPartGallery`);r&&(t.docPartObj.gallery=T(r,`w:val`));let i=O(n,`w:docPartCategory`);i&&(t.docPartObj.category=T(i,`w:val`))}else if(O(e,`w:docPartList`)){let n=O(e,`w:docPartList`);t.docPartList={};let r=O(n,`w:docPartGallery`);r&&(t.docPartList.gallery=T(r,`w:val`));let i=O(n,`w:docPartCategory`);i&&(t.docPartList.category=T(i,`w:val`))}return t}function kw(e,t){let n=O(e,`w:sdtPr`),r=n?Ow(n):{},i=O(e,`w:sdtContent`),a;return i&&Ew&&(a=Ew(i.elements??[],t),a.length===0&&(a=void 0)),{properties:r,children:a}}function Aw(e,t){let n=T(e,`r:id`);if(!n)throw Error(`w:subDoc missing r:id attribute`);let r=t.docx.partRefs.subDocs.get(n);if(!r)throw Error(`SubDoc relationship ${n} not found`);let i=t.docx.doc.getRaw(r);if(!i)throw Error(`SubDoc data not found at ${r}`);return{data:i}}function jw(e,t){let n=O(e,`w:sdtPr`);if(!n)return;let r=O(n,`w:docPartObj`),i=!1;if(r){let e=O(r,`w:docPartGallery`);e&&st(e)===`Table of Contents`&&(i=!0)}if(!i){let t=O(e,`w:sdtContent`);t&&(i=Mw(t))}if(!i)return;let a=(()=>{let e=O(n,`w:alias`);return e?T(e,`w:val`):void 0})(),o={},s=O(e,`w:sdtContent`);if(s)for(let e of rt(s,`w:p`))for(let t of rt(e,`w:r`))for(let e of rt(t,`w:instrText`))Nw(st(e).trim(),o);return{alias:a,...o}}function Mw(e){for(let t of rt(e,`w:p`))for(let e of rt(t,`w:r`))for(let t of rt(e,`w:instrText`))if((st(t)?.trim())?.startsWith(`TOC`))return!0;return!1}function Nw(e,t){if(!e.startsWith(`TOC`))return;let n=Pw(e.slice(3).trim());n.a&&(t.captionLabel=n.a),n.b&&(t.entriesFromBookmark=n.b),n.c&&(t.captionLabelIncludingNumbers=n.c),n.d&&(t.sequenceAndPageNumbersSeparator=n.d),n.f&&(t.tcFieldIdentifier=n.f),`h`in n&&(t.hyperlink=!0),n.l&&(t.tcFieldLevelRange=n.l),n.n&&(t.pageNumbersEntryLevelsRange=n.n),n.o&&(t.headingStyleRange=n.o),n.p&&(t.entryAndPageNumberSeparator=n.p),n.s&&(t.seqFieldIdentifierForPrefix=n.s),`u`in n&&(t.useAppliedParagraphOutlineLevel=!0),`w`in n&&(t.preserveTabInEntries=!0),`x`in n&&(t.preserveNewLineInEntries=!0),`z`in n&&(t.hideTabAndPageNumbersInWebView=!0)}function Pw(e){let t={},n=0;for(;n<e.length;){for(;n<e.length&&e[n]===` `;)n++;if(n>=e.length)break;if(e[n]!==`\\`){n++;continue}n++;let r=n;for(;n<e.length&&/[a-zA-Z]/.test(e[n]);)n++;let i=e.slice(r,n);if(i){for(;n<e.length&&e[n]===` `;)n++;if(n<e.length&&e[n]===`"`){n++;let r=n;for(;n<e.length&&e[n]!==`"`;)n++;t[i]=e.slice(r,n),n<e.length&&n++}else if(n<e.length&&e[n]!==`\\`){let r=n;for(;n<e.length&&e[n]!==` `&&e[n]!==`\\`;)n++;let a=e.slice(r,n).trim();a?t[i]=a:t[i]=void 0}else t[i]=void 0}}return t}function Fw(e){let t={},n=O(e,`w:tblStyle`);if(n){let e=T(n,`w:val`);e&&(t.style=e)}let r=O(e,`w:tblW`);if(r){let e=D(r,`w:w`),n=T(r,`w:type`);(e!==void 0||n)&&(t.width={size:e??0,...n?{type:n}:{}})}let i=O(e,`w:jc`);if(i){let e=T(i,`w:val`);e&&(t.alignment=e)}let a=O(e,`w:tblLayout`);if(a){let e=T(a,`w:type`);(e===`autofit`||e===`fixed`)&&(t.layout=e)}let o=O(e,`w:tblBorders`);if(o){let e={};for(let t of[`top`,`bottom`,`left`,`right`,`insideH`,`insideV`]){let n=O(o,`w:${t}`);if(n){let r={},i=T(n,`w:val`);i&&(r.style=i);let a=T(n,`w:color`);a&&(r.color=a);let o=D(n,`w:sz`);o!==void 0&&(r.size=o);let s=D(n,`w:space`);s!==void 0&&(r.space=s),e[t]=r}}Object.keys(e).length>0&&(t.borders=e)}let s=O(e,`w:tblCellMar`);if(s){let e={};for(let t of[`top`,`bottom`,`left`,`right`]){let n=O(s,`w:${t}`);if(n){let r=D(n,`w:w`),i=T(n,`w:type`);r!==void 0&&(e[t]={size:r,type:i??`dxa`})}}Object.keys(e).length>0&&(t.margins=e)}let c=O(e,`w:shd`);if(c){let e={},n=T(c,`w:fill`);n&&(e.fill=n);let r=T(c,`w:color`);r&&(e.color=r);let i=T(c,`w:val`);i&&(e.type=i),Object.keys(e).length>0&&(t.shading=e)}return t}function Iw(e){let t=[],n=O(e,`w:tblGrid`);if(!n)return t;for(let e of rt(n,`w:gridCol`)){let n=D(e,`w:w`);t.push(n??100)}return t}function Lw(e){let t={},n=O(e,`w:trHeight`);if(n){let e=D(n,`w:val`),r=T(n,`w:hRule`);e!==void 0&&(t.height={value:e,rule:r??`atLeast`})}let r=O(e,`w:tblHeader`);r&&(t.tableHeader=E(r,`w:val`)??!0);let i=O(e,`w:cantSplit`);return i&&(t.cantSplit=E(i,`w:val`)??!0),t}function Rw(e){let t={},n=O(e,`w:tcW`);if(n){let e=D(n,`w:w`),r=T(n,`w:type`);e!==void 0&&(t.width={size:e,type:r??`dxa`})}let r=O(e,`w:gridSpan`);if(r){let e=D(r,`w:val`);e!==void 0&&(t.columnSpan=e)}let i=O(e,`w:vMerge`);i&&(t.verticalMerge=T(i,`w:val`)===`restart`?`restart`:`continue`);let a=O(e,`w:vAlign`);if(a){let e=T(a,`w:val`);e&&(t.verticalAlign=e)}let o=O(e,`w:shd`);if(o){let e={},n=T(o,`w:fill`);n&&(e.fill=n);let r=T(o,`w:color`);r&&(e.color=r);let i=T(o,`w:val`);i&&(e.type=i),Object.keys(e).length>0&&(t.shading=e)}let s=O(e,`w:tcBorders`);if(s){let e={};for(let t of[`top`,`bottom`,`left`,`right`]){let n=O(s,`w:${t}`);if(n){let r={},i=T(n,`w:val`);i&&(r.style=i);let a=T(n,`w:color`);a&&(r.color=a);let o=D(n,`w:sz`);o!==void 0&&(r.size=o),e[t]=r}}Object.keys(e).length>0&&(t.borders=e)}O(e,`w:noWrap`)&&(t.noWrap=!0);let c=O(e,`w:textDirection`);if(c){let e=T(c,`w:val`);e&&(t.textDirection=e)}return t}let zw;function Bw(e){zw=e}function Vw(e,t){let n={},r=O(e,`w:tcPr`);r&&Object.assign(n,Rw(r));let i=[];for(let n of e.elements??[])switch(n.name){case`w:tcPr`:break;case`w:p`:zw?i.push(zw(n,t)):i.push({paragraph:Tw(n,t)});break;case`w:tbl`:zw?i.push(zw(n,t)):i.push({table:Uw(n,t)});break;default:break}return n.children=i,n}function Hw(e,t){let n={},r=O(e,`w:trPr`);r&&Object.assign(n,Lw(r));let i=[];for(let n of e.elements??[])n.name===`w:tc`&&i.push(Vw(n,t));return n.children=i,n}function Uw(e,t){let n={},r=O(e,`w:tblPr`);r&&Object.assign(n,Fw(r));let i=Iw(e);i.length>0&&(n.columnWidths=i);let a=[];for(let n of e.elements??[])n.name===`w:tr`&&a.push(Hw(n,t));return n.rows=a,n}let Ww;function Gw(e){Ww=e}function Kw(e){let t={};for(let n of e.split(`;`)){let[e,r]=n.split(`:`).map(e=>e.trim());e&&r&&(t[e]=r)}return t}function qw(e,t){let n=Jw(e,`v:shape`)[0];if(!n)return{};let r={},i=T(n,`style`);i&&(r.style=Kw(i));let a=Jw(n,`v:textbox`)[0];if(a){let e=O(a,`w:txbxContent`);if(e&&Ww){let n=Ww(e.elements??[],t);n.length>0&&(r.children=n)}}return r}function Jw(e,t){let n=[];for(let r of e.elements??[])r.name===t&&n.push(r),n.push(...Jw(r,t));return n}var Yw=class{constructor(e,t,n){this.docx=e,this.styleCache=t,this.numberingCache=n}};function Xw(e,t){let n={},r=O(e,`w:pgSz`);if(r){let t={},i={},a=D(r,`w:w`);a!==void 0&&(i.width=a);let o=D(r,`w:h`);o!==void 0&&(i.height=o);let s=T(r,`w:orient`);s&&(i.orientation=s),Object.keys(i).length>0&&(t.size=i);let c=O(e,`w:pgMar`);if(c){let e={};for(let[t,n]of[[`w:top`,`top`],[`w:right`,`right`],[`w:bottom`,`bottom`],[`w:left`,`left`],[`w:header`,`header`],[`w:footer`,`footer`],[`w:gutter`,`gutter`]]){let r=D(c,t);r!==void 0&&(e[n]=r)}Object.keys(e).length>0&&(t.margin=e)}let l=O(e,`w:pgNumType`);if(l){let e={},n=D(l,`w:start`);n!==void 0&&(e.start=n);let r=T(l,`w:fmt`);r&&(e.formatType=r),Object.keys(e).length>0&&(t.pageNumbers=e)}Object.keys(t).length>0&&(n.page=t)}let i=O(e,`w:cols`);if(i){let e={},t=D(i,`w:num`);t!==void 0&&(e.count=t);let r=D(i,`w:space`);r!==void 0&&(e.space=r),E(i,`w:sep`)&&(e.separator=!0),Object.keys(e).length>0&&(n.column=e)}let a=O(e,`w:type`);if(a){let e=T(a,`w:val`);e&&(n.type=e)}let o=O(e,`w:titlePg`);o&&(n.titlePage=E(o,`w:val`)??!0);for(let[t,r]of[[`w:noEndnote`,`noEndnote`],[`w:formProt`,`formProtection`],[`w:bidi`,`bidi`],[`w:rtlGutter`,`rtlGutter`]]){let i=O(e,t);i&&(n[r]=E(i,`w:val`)??!0)}let s=O(e,`w:docGrid`);if(s){let e={},t=T(s,`w:type`);t&&(e.type=t);let r=D(s,`w:linePitch`);r!==void 0&&(e.linePitch=r);let i=D(s,`w:charSpace`);i!==void 0&&(e.charSpace=i),Object.keys(e).length>0&&(n.grid=e)}let c=O(e,`w:lnNumType`);if(c){let e={},t=D(c,`w:count`);t!==void 0&&(e.count=t);let r=D(c,`w:start`);r!==void 0&&(e.start=r);let i=T(c,`w:restart`);i&&(e.restart=i);let a=D(c,`w:distance`);a!==void 0&&(e.distance=a),Object.keys(e).length>0&&(n.lineNumbers=e)}let l=O(e,`w:vAlign`);if(l){let e=T(l,`w:val`);e&&(n.verticalAlign=e)}let u={},d={};for(let n of e.elements??[]){if(n.name===`w:headerReference`){let e=T(n,`r:id`),r=T(n,`w:type`);if(e&&r){let n=Zw(e,t);n&&(u[r]=n)}}if(n.name===`w:footerReference`){let e=T(n,`r:id`),r=T(n,`w:type`);if(e&&r){let n=Zw(e,t);n&&(d[r]=n)}}}return Object.keys(u).length>0&&(n.parsedHeaders=u),Object.keys(d).length>0&&(n.parsedFooters=d),n}function Zw(e,t){let n=t.docx.partRefs.headers.get(e)??t.docx.partRefs.footers.get(e);if(!n)return;let r=t.docx.doc.get(n);if(!r)return;let i=[];for(let e of r.elements??[]){let n=Qw(e,t);n!==void 0&&i.push(n)}return i.length>0?i:void 0}function Qw(e,t){switch(e.name){case`w:p`:{let n=$w(e,`w:drawing`);if(n){let r=ew(n,t);if(r)return{paragraph:{...Tw(e,t),children:[r]}}}let r=O(e,`w:pict`);return r&&$w(r,`v:textbox`)?{textbox:qw(r,t)}:{paragraph:Tw(e,t)}}case`w:tbl`:return{table:Uw(e,t)};case`w:sdt`:{let n=jw(e,t);if(n)return{toc:n};let r=kw(e,t);return{sdt:{properties:r.properties,children:r.children}}}case`w:altChunk`:return{altChunk:$C(e,t)};case`w:subDoc`:return{subDoc:Aw(e,t)};default:return new ae(e)}}function $w(e,t){for(let n of e.elements??[]){if(n.name===t)return n;let e=$w(n,t);if(e)return e}}function eT(e,t){Bw(Qw),Dw(tT),Gw(tT);let n=[],r=[];for(let t of e.elements??[])if(t.name===`w:sectPr`)r.push({index:n.length,sectPr:t});else if(n.push(t),t.name===`w:p`){let e=O(t,`w:pPr`);if(e){let t=O(e,`w:sectPr`);t&&r.push({index:n.length,sectPr:t})}}if(r.length===0)return[{children:n.map(e=>Qw(e,t))}];let i=[],a=0;for(let e=0;e<r.length;e++){let o=r[e],s=n.slice(a,o.index),c=Xw(o.sectPr,t),l=c,u=l.parsedHeaders,d=l.parsedFooters,f={...c};delete f.parsedHeaders,delete f.parsedFooters;let p={children:s.map(e=>Qw(e,t)),properties:f,...u?{headers:u}:{},...d?{footers:d}:{}};i.push(p),a=o.index}return i}function tT(e,t){return e.map(e=>Qw(e,t))}function nT(e){let t=new Map;if(!e.styles)return t;for(let n of e.styles.elements??[]){if(n.name!==`w:style`)continue;let e=O(n,`w:styleId`),r=e?T(e,`w:val`):void 0;r&&t.set(r,n)}return t}function rT(e){let t=new Map;if(!e.numbering)return t;for(let n of e.numbering.elements??[]){if(n.name!==`w:abstractNum`)continue;let e=T(n,`w:abstractNumId`);e!==void 0&&t.set(e,n)}return t}function iT(e){return e.startsWith(`/`)?e.slice(1):e.startsWith(`../`)?e.replace(`../`,``):`word/${e}`}function aT(e){let t={headers:new Map,footers:new Map,charts:new Map,diagramData:new Map,media:new Map,afChunks:new Map,subDocs:new Map},n=e.get(`word/_rels/document.xml.rels`);if(!n)return t;for(let e of n.elements??[]){if(e.name!==`Relationship`)continue;let n=T(e,`Type`)??``,r=T(e,`Target`)??``,i=T(e,`Id`)??``;if(!r)continue;let a=iT(r);n.includes(`/header`)?t.headers.set(i,a):n.includes(`/footer`)?t.footers.set(i,a):n.includes(`/footnotes`)?t.footnotes=a:n.includes(`/endnotes`)?t.endnotes=a:n.includes(`/comments`)?t.comments=a:n.includes(`/chart`)?t.charts.set(i,a):n.includes(`/diagramData`)?t.diagramData.set(i,a):n.includes(`/image`)||n.includes(`/media`)?t.media.set(i,a):n.includes(`/aFChunk`)?t.afChunks.set(i,a):n.includes(`/subDocument`)&&t.subDocs.set(i,a)}return t}function oT(e){let t=e.get(`_rels/.rels`);if(!t)return{};let n,r,i;for(let e of t.elements??[]){if(e.name!==`Relationship`)continue;let t=T(e,`Type`)??``,a=T(e,`Target`)??``;if(!a)continue;let o=a.startsWith(`/`)?a.slice(1):a;t.includes(`/core-properties`)?n=o:t.includes(`/extended-properties`)?r=o:t.includes(`/custom-properties`)&&(i=o)}return{coreProps:n,appProps:r,customProps:i}}function sT(e){let t=cT(e),n=new Yw(t,nT(t),rT(t));return eT(t.body,n)}function cT(e){let t=Se(e),n=t.get(`word/document.xml`);if(!n)throw Error(`word/document.xml not found`);let r=n.elements?.find(e=>e.name===`w:body`);if(!r)throw Error(`w:body not found in word/document.xml`);let i=t.get(`word/styles.xml`),a=t.get(`word/numbering.xml`),o=t.get(`word/settings.xml`),s=t.get(`word/fontTable.xml`),c=t.get(`word/webSettings.xml`),l=aT(t),{coreProps:u,appProps:d,customProps:f}=oT(t);return{doc:t,body:r,styles:i,numbering:a,settings:o,fontTable:s,webSettings:c,partRefs:l,coreProps:u,appProps:d,customProps:f}}var lT=t({AbstractNumbering:()=>n_,AlignmentType:()=>M,AltChunk:()=>pd,AltChunkCollection:()=>im,AnnotationReference:()=>ko,Attributes:()=>A,BaseXmlComponent:()=>a,Bdo:()=>qs,Bibliography:()=>um,Body:()=>Dh,Bookmark:()=>Ss,BookmarkEnd:()=>ws,BookmarkStart:()=>Cs,Border:()=>Tt,BorderStyle:()=>St,BuilderElement:()=>o,COLOR_CATEGORIES:()=>Je,CarriageReturn:()=>Fo,CellMerge:()=>hf,CellMergeAttributes:()=>mf,CharacterSet:()=>Xs,ChartCollection:()=>Ke,ChartRun:()=>Wa,ChartSpace:()=>qe,CheckBox:()=>Zv,CheckBoxSymbolElement:()=>qv,CheckBoxUtil:()=>Yv,Column:()=>Ah,ColumnBreak:()=>$o,Comment:()=>vo,CommentRangeEnd:()=>go,CommentRangeStart:()=>ho,CommentReference:()=>_o,Comments:()=>yo,ConcreteHyperlink:()=>ui,ConcreteNumbering:()=>o_,ContinuationSeparator:()=>No,DEFAULT_DRAWING_XML:()=>Ye,DayLong:()=>Eo,DayShort:()=>Co,DeletedTableCell:()=>df,DeletedTableRow:()=>sf,DeletedTextRun:()=>Xd,Dir:()=>Ks,Document:()=>kv,DocumentAttributeNamespaces:()=>bm,DocumentBackground:()=>Ih,DocumentBackgroundAttributes:()=>Fh,DocumentDefaults:()=>vv,DocumentGridType:()=>Bm,Drawing:()=>ja,DropCapType:()=>cc,EMPTY_OBJECT:()=>l,EditGroupType:()=>ey,EmphasisMarkType:()=>un,EmptyElement:()=>u,EndnoteIdReference:()=>Bv,EndnoteReference:()=>jo,EndnoteReferenceRun:()=>Vv,EndnoteReferenceRunAttributes:()=>zv,Endnotes:()=>sg,ExternalHyperlink:()=>fi,File:()=>kv,FootNoteReferenceRunAttributes:()=>Mv,FootNotes:()=>Ag,Footer:()=>Fg,FooterWrapper:()=>_g,FootnoteReference:()=>Nv,FootnoteReferenceElement:()=>Ao,FootnoteReferenceRun:()=>Pv,FormFieldTextType:()=>Pt,FractionType:()=>Bl,FrameAnchorType:()=>lc,FrameWrap:()=>uc,GridSpan:()=>Ef,Header:()=>Pg,HeaderFooterReferenceType:()=>Jm,HeaderFooterType:()=>Ym,HeaderWrapper:()=>zg,HeadingLevel:()=>as,HeightRule:()=>up,HighlightColor:()=>On,HorizontalPositionAlign:()=>Nn,HorizontalPositionRelativeFrom:()=>nr,HpsMeasureElement:()=>f,HyperlinkType:()=>li,IgnoreIfEmptyXmlComponent:()=>p,ImageRun:()=>Va,ImportedRootElementAttributes:()=>m,ImportedXmlComponent:()=>ee,InitializableXmlComponent:()=>te,InsertedTableCell:()=>lf,InsertedTableRow:()=>af,InsertedTextRun:()=>Hd,InternalHyperlink:()=>di,LAYOUT_CATEGORIES:()=>Xe,LastRenderedPageBreak:()=>Lo,LeaderType:()=>ls,Level:()=>Xg,LevelBase:()=>Yg,LevelForOverride:()=>Zg,LevelFormat:()=>Vg,LevelOverride:()=>c_,LevelSuffix:()=>Kg,LineNumberRestartFormat:()=>Qm,LineRuleType:()=>ns,Math:()=>ou,MathAngledBrackets:()=>Al,MathBorderBox:()=>ul,MathBox:()=>hl,MathCurlyBrackets:()=>Ol,MathDegree:()=>ju,MathDenominator:()=>Rl,MathEqArr:()=>Fl,MathFraction:()=>Gl,MathFunction:()=>Ql,MathFunctionName:()=>Jl,MathGroupChr:()=>ru,MathIntegral:()=>Ic,MathLimit:()=>Rc,MathLimitLower:()=>Jc,MathLimitUpper:()=>Wc,MathMatrix:()=>Cu,MathNumerator:()=>Ul,MathParagraph:()=>du,MathPhant:()=>Ou,MathPreSubSuperScript:()=>id,MathRadical:()=>Ru,MathRadicalProperties:()=>Iu,MathRoundBrackets:()=>wl,MathRun:()=>yu,MathSquareBrackets:()=>El,MathSubScript:()=>Ju,MathSubSuperScript:()=>$u,MathSum:()=>Pc,MathSuperScript:()=>Uu,Media:()=>Fa,MonthLong:()=>Do,MonthShort:()=>wo,MoveFromRangeEnd:()=>ks,MoveFromRangeStart:()=>Os,MoveToRangeEnd:()=>js,MoveToRangeStart:()=>As,MovedFromTextRun:()=>$d,MovedToTextRun:()=>ef,NextAttributeComponent:()=>ne,NoBreakHyphen:()=>xo,NumberFormat:()=>In,NumberProperties:()=>ms,NumberValueElement:()=>re,NumberedItemReference:()=>Ls,NumberedItemReferenceFormat:()=>Fs,Numbering:()=>f_,OnOffElement:()=>h,OverlapType:()=>Jf,Packer:()=>gC,PageBorderDisplay:()=>th,PageBorderOffsetFrom:()=>nh,PageBorderZOrder:()=>rh,PageBorders:()=>ah,PageBreak:()=>Qo,PageBreakBefore:()=>es,PageNumber:()=>B,PageNumberElement:()=>Po,PageNumberSeparator:()=>lh,PageOrientation:()=>fh,PageReference:()=>Us,PageTextDirection:()=>_h,PageTextDirectionType:()=>hh,Paragraph:()=>U,ParagraphProperties:()=>hc,ParagraphPropertiesChange:()=>gc,ParagraphPropertiesDefaults:()=>mv,ParagraphRunProperties:()=>An,PatchType:()=>WC,PermEnd:()=>iy,PermStart:()=>ry,PositionalTab:()=>Uo,PositionalTabAlignment:()=>zo,PositionalTabLeader:()=>Vo,PositionalTabRelativeTo:()=>Bo,PrettifyType:()=>ie,RelativeHorizontalPosition:()=>Kf,RelativeVerticalPosition:()=>qf,RubyAlign:()=>Go,Run:()=>V,RunProperties:()=>kn,RunPropertiesChange:()=>jn,RunPropertiesDefaults:()=>gv,STYLE_CATEGORIES:()=>Ze,SdtDateMappingType:()=>bd,SdtLock:()=>yd,SectionProperties:()=>wh,SectionPropertiesChange:()=>Th,SectionType:()=>yh,Separator:()=>Mo,SequentialIdentifier:()=>ro,ShadingType:()=>en,SimpleField:()=>oo,SimpleMailMergeField:()=>so,SmartArtCollection:()=>Qe,SmartArtRun:()=>qa,SoftHyphen:()=>So,SpaceType:()=>Rn,StringContainer:()=>_,StringEnumValueElement:()=>oe,StringValueElement:()=>v,StructuredDocumentTagBlock:()=>Pd,StructuredDocumentTagCell:()=>Bd,StructuredDocumentTagContent:()=>_d,StructuredDocumentTagProperties:()=>Ed,StructuredDocumentTagRow:()=>jp,StructuredDocumentTagRun:()=>Nd,StyleForCharacter:()=>G_,StyleForParagraph:()=>U_,StyleLevel:()=>Ad,Styles:()=>fv,SubDoc:()=>Rd,SubDocCollection:()=>Dv,SymbolRun:()=>Xn,TDirection:()=>Mf,Tab:()=>Io,TabStopPosition:()=>us,TabStopType:()=>cs,Table:()=>zp,TableAnchorType:()=>Gf,TableBorders:()=>Uf,TableCell:()=>kp,TableCellBorders:()=>wf,TableLayoutType:()=>$f,TableOfContents:()=>Od,TableProperties:()=>ip,TablePropertyExceptions:()=>sp,TableRow:()=>gp,TableRowProperties:()=>pp,TableRowPropertiesChange:()=>mp,TextAlignmentType:()=>pc,TextBodyWrappingType:()=>Pr,TextDirection:()=>Af,TextEffect:()=>Dn,TextHorzOverflowType:()=>Mr,TextRun:()=>Gn,TextVertOverflowType:()=>jr,TextVerticalType:()=>Nr,TextWrappingSide:()=>Ji,TextWrappingType:()=>qi,Textbox:()=>Qp,TextboxTightWrapType:()=>mc,ThematicBreak:()=>Et,UnderlineType:()=>Cn,VerticalAlign:()=>bf,VerticalAlignSection:()=>yf,VerticalAlignTable:()=>vf,VerticalAnchor:()=>Ar,VerticalMerge:()=>kf,VerticalMergeRevisionType:()=>pf,VerticalMergeType:()=>Df,VerticalPositionAlign:()=>Pn,VerticalPositionRelativeFrom:()=>rr,WORKAROUND2:()=>``,WORKAROUND4:()=>``,WidthType:()=>Rf,WpgGroupRun:()=>Za,WpsShapeRun:()=>Ya,XmlAttributeComponent:()=>y,XmlComponent:()=>b,YearLong:()=>Oo,YearShort:()=>To,abstractNumUniqueNumericIdGen:()=>Qn,bookmarkUniqueNumericIdGen:()=>tr,buildDocumentAttributes:()=>ym,buildRunProperties:()=>En,chartAttr:()=>ue,coerceSectionChild:()=>tm,concreteNumUniqueNumericIdGen:()=>$n,convertInchesToTwip:()=>x,convertMillimetersToTwip:()=>fe,convertToXmlComponent:()=>ge,createAlignment:()=>yt,createBodyProperties:()=>Lr,createBorderElement:()=>F,createBreak:()=>Mt,createCnfStyle:()=>Ot,createColumns:()=>Rm,createDataModel:()=>$e,createDivId:()=>Ns,createDocumentGrid:()=>Vm,createDotEmphasisMark:()=>fn,createEmphasisMark:()=>dn,createFormFieldData:()=>zt,createFrameProperties:()=>dc,createHeaderFooterReference:()=>Xm,createHorizontalPosition:()=>dr,createIndent:()=>At,createLineNumberType:()=>$m,createMathAccent:()=>Qc,createMathAccentCharacter:()=>yc,createMathAccentProperties:()=>Xc,createMathBar:()=>al,createMathBarProperties:()=>rl,createMathBase:()=>W,createMathBorderBoxProperties:()=>cl,createMathBoxProperties:()=>pl,createMathControlProperties:()=>Bc,createMathEqArrProperties:()=>Nl,createMathFractionProperties:()=>Vl,createMathFunctionProperties:()=>Xl,createMathGroupChrProperties:()=>tu,createMathLimitLocation:()=>Sc,createMathLimitLowProperties:()=>Kc,createMathLimitUpperProperties:()=>Hc,createMathMatrixProperties:()=>xu,createMathNAryProperties:()=>Oc,createMathPhantProperties:()=>Eu,createMathPreSubSuperScriptProperties:()=>nd,createMathProperties:()=>pu,createMathRunProperties:()=>hu,createMathSubScriptElement:()=>Ac,createMathSubScriptProperties:()=>Ku,createMathSubSuperScriptProperties:()=>Zu,createMathSuperScriptElement:()=>Mc,createMathSuperScriptProperties:()=>Vu,createOutlineLevel:()=>zs,createPageMargin:()=>sh,createPageNumberType:()=>uh,createPageSize:()=>ph,createParagraphStyle:()=>os,createRuby:()=>qo,createRunFonts:()=>xn,createSectionType:()=>bh,createShading:()=>$t,createSimplePos:()=>ar,createSpacing:()=>rs,createStringElement:()=>_t,createTabStop:()=>fs,createTabStopItem:()=>ds,createTableFloatProperties:()=>Xf,createTableLayout:()=>ep,createTableLook:()=>np,createTableOverlap:()=>Zf,createTableRowHeight:()=>dp,createTableWidthElement:()=>zf,createTransformation:()=>Pa,createUnderline:()=>wn,createVerticalAlign:()=>xf,createVerticalPosition:()=>pr,createWrapNone:()=>Xi,createWrapSquare:()=>Qi,createWrapThrough:()=>ia,createWrapTight:()=>ta,createWrapTopAndBottom:()=>oa,docPropertiesUniqueNumericIdGen:()=>er,getColorXml:()=>et,getLayoutXml:()=>tt,getStyleXml:()=>nt,hashedId:()=>ye,parseDocument:()=>Se,parseDocx:()=>cT,patchDetector:()=>ZC,patchDocument:()=>JC,readDocument:()=>sT,sectionMarginDefaults:()=>Sh,sectionPageSizeDefaults:()=>Ch,uniqueId:()=>Oe,uniqueNumericIdCreator:()=>ke,uniqueUuid:()=>je,wrapEl:()=>Me});_y(),_y(),n(lT,gy),n(lT,_C);export{n_ as AbstractNumbering,M as AlignmentType,pd as AltChunk,im as AltChunkCollection,ko as AnnotationReference,A as Attributes,a as BaseXmlComponent,qs as Bdo,um as Bibliography,Dh as Body,Ss as Bookmark,ws as BookmarkEnd,Cs as BookmarkStart,Tt as Border,St as BorderStyle,o as BuilderElement,Je as COLOR_CATEGORIES,Fo as CarriageReturn,hf as CellMerge,mf as CellMergeAttributes,Xs as CharacterSet,Ke as ChartCollection,Wa as ChartRun,qe as ChartSpace,Zv as CheckBox,qv as CheckBoxSymbolElement,Yv as CheckBoxUtil,Ah as Column,$o as ColumnBreak,vo as Comment,go as CommentRangeEnd,ho as CommentRangeStart,_o as CommentReference,yo as Comments,ui as ConcreteHyperlink,o_ as ConcreteNumbering,No as ContinuationSeparator,Ye as DEFAULT_DRAWING_XML,Eo as DayLong,Co as DayShort,df as DeletedTableCell,sf as DeletedTableRow,Xd as DeletedTextRun,Ks as Dir,kv as Document,kv as File,bm as DocumentAttributeNamespaces,Ih as DocumentBackground,Fh as DocumentBackgroundAttributes,vv as DocumentDefaults,Bm as DocumentGridType,ja as Drawing,cc as DropCapType,l as EMPTY_OBJECT,ey as EditGroupType,un as EmphasisMarkType,u as EmptyElement,Bv as EndnoteIdReference,jo as EndnoteReference,Vv as EndnoteReferenceRun,zv as EndnoteReferenceRunAttributes,sg as Endnotes,fi as ExternalHyperlink,Mv as FootNoteReferenceRunAttributes,Ag as FootNotes,Fg as Footer,_g as FooterWrapper,Nv as FootnoteReference,Ao as FootnoteReferenceElement,Pv as FootnoteReferenceRun,Pt as FormFieldTextType,Bl as FractionType,lc as FrameAnchorType,uc as FrameWrap,Ef as GridSpan,Pg as Header,Jm as HeaderFooterReferenceType,Ym as HeaderFooterType,zg as HeaderWrapper,as as HeadingLevel,up as HeightRule,On as HighlightColor,Nn as HorizontalPositionAlign,nr as HorizontalPositionRelativeFrom,f as HpsMeasureElement,li as HyperlinkType,p as IgnoreIfEmptyXmlComponent,Va as ImageRun,m as ImportedRootElementAttributes,ee as ImportedXmlComponent,te as InitializableXmlComponent,lf as InsertedTableCell,af as InsertedTableRow,Hd as InsertedTextRun,di as InternalHyperlink,Xe as LAYOUT_CATEGORIES,Lo as LastRenderedPageBreak,ls as LeaderType,Xg as Level,Yg as LevelBase,Zg as LevelForOverride,Vg as LevelFormat,c_ as LevelOverride,Kg as LevelSuffix,Qm as LineNumberRestartFormat,ns as LineRuleType,ou as Math,Al as MathAngledBrackets,ul as MathBorderBox,hl as MathBox,Ol as MathCurlyBrackets,ju as MathDegree,Rl as MathDenominator,Fl as MathEqArr,Gl as MathFraction,Ql as MathFunction,Jl as MathFunctionName,ru as MathGroupChr,Ic as MathIntegral,Rc as MathLimit,Jc as MathLimitLower,Wc as MathLimitUpper,Cu as MathMatrix,Ul as MathNumerator,du as MathParagraph,Ou as MathPhant,id as MathPreSubSuperScript,Ru as MathRadical,Iu as MathRadicalProperties,wl as MathRoundBrackets,yu as MathRun,El as MathSquareBrackets,Ju as MathSubScript,$u as MathSubSuperScript,Pc as MathSum,Uu as MathSuperScript,Fa as Media,Do as MonthLong,wo as MonthShort,ks as MoveFromRangeEnd,Os as MoveFromRangeStart,js as MoveToRangeEnd,As as MoveToRangeStart,$d as MovedFromTextRun,ef as MovedToTextRun,ne as NextAttributeComponent,xo as NoBreakHyphen,In as NumberFormat,ms as NumberProperties,re as NumberValueElement,Ls as NumberedItemReference,Fs as NumberedItemReferenceFormat,f_ as Numbering,h as OnOffElement,Jf as OverlapType,gC as Packer,th as PageBorderDisplay,nh as PageBorderOffsetFrom,rh as PageBorderZOrder,ah as PageBorders,Qo as PageBreak,es as PageBreakBefore,B as PageNumber,Po as PageNumberElement,lh as PageNumberSeparator,fh as PageOrientation,Us as PageReference,_h as PageTextDirection,hh as PageTextDirectionType,U as Paragraph,hc as ParagraphProperties,gc as ParagraphPropertiesChange,mv as ParagraphPropertiesDefaults,An as ParagraphRunProperties,WC as PatchType,iy as PermEnd,ry as PermStart,Uo as PositionalTab,zo as PositionalTabAlignment,Vo as PositionalTabLeader,Bo as PositionalTabRelativeTo,ie as PrettifyType,Kf as RelativeHorizontalPosition,qf as RelativeVerticalPosition,Go as RubyAlign,V as Run,kn as RunProperties,jn as RunPropertiesChange,gv as RunPropertiesDefaults,Ze as STYLE_CATEGORIES,bd as SdtDateMappingType,yd as SdtLock,wh as SectionProperties,Th as SectionPropertiesChange,yh as SectionType,Mo as Separator,ro as SequentialIdentifier,en as ShadingType,oo as SimpleField,so as SimpleMailMergeField,Qe as SmartArtCollection,qa as SmartArtRun,So as SoftHyphen,Rn as SpaceType,_ as StringContainer,oe as StringEnumValueElement,v as StringValueElement,Pd as StructuredDocumentTagBlock,Bd as StructuredDocumentTagCell,_d as StructuredDocumentTagContent,Ed as StructuredDocumentTagProperties,jp as StructuredDocumentTagRow,Nd as StructuredDocumentTagRun,G_ as StyleForCharacter,U_ as StyleForParagraph,Ad as StyleLevel,fv as Styles,Rd as SubDoc,Dv as SubDocCollection,Xn as SymbolRun,Mf as TDirection,Io as Tab,us as TabStopPosition,cs as TabStopType,zp as Table,Gf as TableAnchorType,Uf as TableBorders,kp as TableCell,wf as TableCellBorders,$f as TableLayoutType,Od as TableOfContents,ip as TableProperties,sp as TablePropertyExceptions,gp as TableRow,pp as TableRowProperties,mp as TableRowPropertiesChange,pc as TextAlignmentType,Pr as TextBodyWrappingType,Af as TextDirection,Dn as TextEffect,Mr as TextHorzOverflowType,Gn as TextRun,jr as TextVertOverflowType,Nr as TextVerticalType,Ji as TextWrappingSide,qi as TextWrappingType,Qp as Textbox,mc as TextboxTightWrapType,Et as ThematicBreak,Cn as UnderlineType,bf as VerticalAlign,yf as VerticalAlignSection,vf as VerticalAlignTable,Ar as VerticalAnchor,kf as VerticalMerge,pf as VerticalMergeRevisionType,Df as VerticalMergeType,Pn as VerticalPositionAlign,rr as VerticalPositionRelativeFrom,La as WORKAROUND2,cu as WORKAROUND4,Rf as WidthType,Za as WpgGroupRun,Ya as WpsShapeRun,y as XmlAttributeComponent,b as XmlComponent,Oo as YearLong,To as YearShort,Qn as abstractNumUniqueNumericIdGen,tr as bookmarkUniqueNumericIdGen,ym as buildDocumentAttributes,En as buildRunProperties,ue as chartAttr,tm as coerceSectionChild,$n as concreteNumUniqueNumericIdGen,x as convertInchesToTwip,fe as convertMillimetersToTwip,ge as convertToXmlComponent,yt as createAlignment,Lr as createBodyProperties,F as createBorderElement,Mt as createBreak,Ot as createCnfStyle,Rm as createColumns,$e as createDataModel,Ns as createDivId,Vm as createDocumentGrid,fn as createDotEmphasisMark,dn as createEmphasisMark,zt as createFormFieldData,dc as createFrameProperties,Xm as createHeaderFooterReference,dr as createHorizontalPosition,At as createIndent,$m as createLineNumberType,Qc as createMathAccent,yc as createMathAccentCharacter,Xc as createMathAccentProperties,al as createMathBar,rl as createMathBarProperties,W as createMathBase,cl as createMathBorderBoxProperties,pl as createMathBoxProperties,Bc as createMathControlProperties,Nl as createMathEqArrProperties,Vl as createMathFractionProperties,Xl as createMathFunctionProperties,tu as createMathGroupChrProperties,Sc as createMathLimitLocation,Kc as createMathLimitLowProperties,Hc as createMathLimitUpperProperties,xu as createMathMatrixProperties,Oc as createMathNAryProperties,Eu as createMathPhantProperties,nd as createMathPreSubSuperScriptProperties,pu as createMathProperties,hu as createMathRunProperties,Ac as createMathSubScriptElement,Ku as createMathSubScriptProperties,Zu as createMathSubSuperScriptProperties,Mc as createMathSuperScriptElement,Vu as createMathSuperScriptProperties,zs as createOutlineLevel,sh as createPageMargin,uh as createPageNumberType,ph as createPageSize,os as createParagraphStyle,qo as createRuby,xn as createRunFonts,bh as createSectionType,$t as createShading,ar as createSimplePos,rs as createSpacing,_t as createStringElement,fs as createTabStop,ds as createTabStopItem,Xf as createTableFloatProperties,ep as createTableLayout,np as createTableLook,Zf as createTableOverlap,dp as createTableRowHeight,zf as createTableWidthElement,Pa as createTransformation,wn as createUnderline,xf as createVerticalAlign,pr as createVerticalPosition,Xi as createWrapNone,Qi as createWrapSquare,ia as createWrapThrough,ta as createWrapTight,oa as createWrapTopAndBottom,er as docPropertiesUniqueNumericIdGen,et as getColorXml,tt as getLayoutXml,nt as getStyleXml,ye as hashedId,Se as parseDocument,cT as parseDocx,ZC as patchDetector,JC as patchDocument,sT as readDocument,Sh as sectionMarginDefaults,Ch as sectionPageSizeDefaults,Oe as uniqueId,ke as uniqueNumericIdCreator,je as uniqueUuid,Me as wrapEl};
10
+ `)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}function Gx(e){return Array.isArray(e)}function Kx(e){return typeof e==`boolean`}function qx(e){return e===null}function Jx(e){return typeof e==`number`}function Yx(e){return typeof e==`string`}function Xx(e){return e===void 0}function Zx(e){return Qx(e)&&nS(e)===`[object RegExp]`}function Qx(e){return typeof e==`object`&&!!e}function $x(e){return Qx(e)&&nS(e)===`[object Date]`}function eS(e){return Qx(e)&&(nS(e)===`[object Error]`||e instanceof Error)}function tS(e){return typeof e==`function`}function nS(e){return Object.prototype.toString.call(e)}function rS(e,t){if(!t||!Qx(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function iS(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var aS=typeof Symbol<`u`?Symbol(`util.promisify.custom`):void 0;function oS(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);if(aS&&e[aS]){var t=e[aS];if(typeof t!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(t,aS,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),aS&&Object.defineProperty(t,aS,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,Ox(e))}oS.custom=aS;var sS=cS;function cS(){this.head=null,this.tail=null,this.length=0}cS.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},cS.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},cS.prototype.shift=function(){if(this.length!==0){var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},cS.prototype.clear=function(){this.head=this.tail=null,this.length=0},cS.prototype.join=function(e){if(this.length===0)return``;for(var t=this.head,n=``+t.data;t=t.next;)n+=e+t.data;return n},cS.prototype.concat=function(e){if(this.length===0)return q.alloc(0);if(this.length===1)return this.head.data;for(var t=q.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var lS=q.isEncoding||function(e){switch(e&&e.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 uS(e){if(e&&!lS(e))throw Error(`Unknown encoding: `+e)}function dS(e){switch(this.encoding=(e||`utf8`).toLowerCase().replace(/[-_]/,``),uS(e),this.encoding){case`utf8`:this.surrogateSize=3;break;case`ucs2`:case`utf16le`:this.surrogateSize=2,this.detectIncompleteChar=pS;break;case`base64`:this.surrogateSize=3,this.detectIncompleteChar=mS;break;default:this.write=fS;return}this.charBuffer=new q(6),this.charReceived=0,this.charLength=0}dS.prototype.write=function(e){for(var t=``;this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return``;e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(r>=55296&&r<=56319){this.charLength+=this.surrogateSize,t=``;continue}if(this.charReceived=this.charLength=0,e.length===0)return t;break}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&r<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,i)}return t},dS.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(t==1&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},dS.prototype.end=function(e){var t=``;if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t};function fS(e){return e.toString(this.encoding)}function pS(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function mS(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}Q.ReadableState=_S;var Z=Px(`stream`);Dx(Q,X);function hS(e,t,n){if(typeof e.prependListener==`function`)return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function gS(e,t){return e.listeners(t).length}function _S(e,t){e||={},this.objectMode=!!e.objectMode,t instanceof uC&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16*1024;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new sS,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.defaultEncoding=e.defaultEncoding||`utf8`,this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new dS(e.encoding),this.encoding=e.encoding)}function Q(e){if(!(this instanceof Q))return new Q(e);this._readableState=new _S(e,this),this.readable=!0,e&&typeof e.read==`function`&&(this._read=e.read),X.call(this)}Q.prototype.push=function(e,t){var n=this._readableState;return!n.objectMode&&typeof e==`string`&&(t||=n.defaultEncoding,t!==n.encoding&&(e=q.from(e,t),t=``)),vS(this,n,e,t,!1)},Q.prototype.unshift=function(e){var t=this._readableState;return vS(this,t,e,``,!0)},Q.prototype.isPaused=function(){return this._readableState.flowing===!1};function vS(e,t,n,r,i){var a=CS(t,n);if(a)e.emit(`error`,a);else if(n===null)t.reading=!1,wS(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var o=Error(`stream.push() after EOF`);e.emit(`error`,o)}else if(t.endEmitted&&i){var s=Error(`stream.unshift() after end event`);e.emit(`error`,s)}else{var c;t.decoder&&!i&&!r&&(n=t.decoder.write(n),c=!t.objectMode&&n.length===0),i||(t.reading=!1),c||(t.flowing&&t.length===0&&!t.sync?(e.emit(`data`,n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&TS(e))),DS(e,t)}else i||(t.reading=!1);return yS(t)}function yS(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Q.prototype.setEncoding=function(e){return this._readableState.decoder=new dS(e),this._readableState.encoding=e,this};var bS=8388608;function xS(e){return e>=bS?e=bS:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function SS(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e===e?(e>t.highWaterMark&&(t.highWaterMark=xS(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)):t.flowing&&t.length?t.buffer.head.data.length:t.length}Q.prototype.read=function(e){Z(`read`,e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return Z(`read: emitReadable`,t.length,t.ended),t.length===0&&t.ended?RS(this):TS(this),null;if(e=SS(e,t),e===0&&t.ended)return t.length===0&&RS(this),null;var r=t.needReadable;Z(`need readable`,r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,Z(`length less than watermark`,r)),t.ended||t.reading?(r=!1,Z(`reading or ended`,r)):r&&(Z(`do read`),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=SS(n,t)));var i=e>0?PS(e,t):null;return i===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&RS(this)),i!==null&&this.emit(`data`,i),i};function CS(e,t){var n=null;return!q.isBuffer(t)&&typeof t!=`string`&&t!=null&&!e.objectMode&&(n=TypeError(`Invalid non-string/buffer chunk`)),n}function wS(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,TS(e)}}function TS(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Z(`emitReadable`,t.flowing),t.emittedReadable=!0,t.sync?ex(ES,e):ES(e))}function ES(e){Z(`emit readable`),e.emit(`readable`),NS(e)}function DS(e,t){t.readingMore||(t.readingMore=!0,ex(OS,e,t))}function OS(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(Z(`maybeReadMore read 0`),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}Q.prototype._read=function(e){this.emit(`error`,Error(`not implemented`))},Q.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,Z(`pipe count=%d opts=%j`,r.pipesCount,t);var i=!t||t.end!==!1?o:l;r.endEmitted?ex(i):n.once(`end`,i),e.on(`unpipe`,a);function a(e){Z(`onunpipe`),e===n&&l()}function o(){Z(`onend`),e.end()}var s=kS(n);e.on(`drain`,s);var c=!1;function l(){Z(`cleanup`),e.removeListener(`close`,p),e.removeListener(`finish`,m),e.removeListener(`drain`,s),e.removeListener(`error`,f),e.removeListener(`unpipe`,a),n.removeListener(`end`,o),n.removeListener(`end`,l),n.removeListener(`data`,d),c=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s()}var u=!1;n.on(`data`,d);function d(t){Z(`ondata`),u=!1,!1===e.write(t)&&!u&&((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&VS(r.pipes,e)!==-1)&&!c&&(Z(`false write response, pause`,n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function f(t){Z(`onerror`,t),ee(),e.removeListener(`error`,f),gS(e,`error`)===0&&e.emit(`error`,t)}hS(e,`error`,f);function p(){e.removeListener(`finish`,m),ee()}e.once(`close`,p);function m(){Z(`onfinish`),e.removeListener(`close`,p),ee()}e.once(`finish`,m);function ee(){Z(`unpipe`),n.unpipe(e)}return e.emit(`pipe`,n),r.flowing||(Z(`pipe resume`),n.resume()),e};function kS(e){return function(){var t=e._readableState;Z(`pipeOnDrain`,t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&e.listeners(`data`).length&&(t.flowing=!0,NS(e))}}Q.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||=t.pipes,t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(`unpipe`,this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<r;i++)n[i].emit(`unpipe`,this);return this}var a=VS(t.pipes,e);return a===-1?this:(t.pipes.splice(a,1),--t.pipesCount,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit(`unpipe`,this),this)},Q.prototype.on=function(e,t){var n=X.prototype.on.call(this,e,t);if(e===`data`)this._readableState.flowing!==!1&&this.resume();else if(e===`readable`){var r=this._readableState;!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&TS(this,r):ex(AS,this))}return n},Q.prototype.addListener=Q.prototype.on;function AS(e){Z(`readable nexttick read 0`),e.read(0)}Q.prototype.resume=function(){var e=this._readableState;return e.flowing||(Z(`resume`),e.flowing=!0,jS(this,e)),this};function jS(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ex(MS,e,t))}function MS(e,t){t.reading||(Z(`resume read 0`),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit(`resume`),NS(e),t.flowing&&!t.reading&&e.read(0)}Q.prototype.pause=function(){return Z(`call pause flowing=%j`,this._readableState.flowing),!1!==this._readableState.flowing&&(Z(`pause`),this._readableState.flowing=!1,this.emit(`pause`)),this};function NS(e){var t=e._readableState;for(Z(`flow`,t.flowing);t.flowing&&e.read()!==null;);}Q.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on(`end`,function(){if(Z(`wrapped end`),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(`data`,function(i){Z(`wrapped data`),t.decoder&&(i=t.decoder.write(i)),!(t.objectMode&&i==null)&&(!t.objectMode&&(!i||!i.length)||r.push(i)||(n=!0,e.pause()))}),e)this[i]===void 0&&typeof e[i]==`function`&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return BS([`error`,`close`,`destroy`,`pause`,`resume`],function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){Z(`wrapped _read`,t),n&&(n=!1,e.resume())},r},Q._fromList=PS;function PS(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(``):t.buffer.length===1?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=FS(e,t.buffer,t.decoder),n}function FS(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?IS(e,t):LS(e,t),r}function IS(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),e-=o,e===0){o===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++r}return t.length-=r,i}function LS(e,t){var n=q.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,o),e-=o,e===0){o===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++i}return t.length-=i,n}function RS(e){var t=e._readableState;if(t.length>0)throw Error(`"endReadable()" called on non-empty stream`);t.endEmitted||(t.ended=!0,ex(zS,t,e))}function zS(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit(`end`))}function BS(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)}function VS(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}$.WritableState=WS,Dx($,X);function HS(){}function US(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function WS(e,t){Object.defineProperty(this,`buffer`,{get:jx(function(){return this.getBuffer()},`_writableState.buffer is deprecated. Use _writableState.getBuffer instead.`)}),e||={},this.objectMode=!!e.objectMode,t instanceof uC&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16*1024;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||`utf8`,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){QS(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new oC(this)}WS.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};function $(e){if(!(this instanceof $)&&!(this instanceof uC))return new $(e);this._writableState=new WS(e,this),this.writable=!0,e&&(typeof e.write==`function`&&(this._write=e.write),typeof e.writev==`function`&&(this._writev=e.writev)),X.call(this)}$.prototype.pipe=function(){this.emit(`error`,Error(`Cannot pipe, not readable`))};function GS(e,t){var n=Error(`write after end`);e.emit(`error`,n),ex(t,n)}function KS(e,t,n,r){var i=!0,a=!1;return n===null?a=TypeError(`May not write null values to stream`):!q.isBuffer(n)&&typeof n!=`string`&&n!==void 0&&!t.objectMode&&(a=TypeError(`Invalid non-string/buffer chunk`)),a&&(e.emit(`error`,a),ex(r,a),i=!1),i}$.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return typeof t==`function`&&(n=t,t=null),q.isBuffer(e)?t=`buffer`:t||=r.defaultEncoding,typeof n!=`function`&&(n=HS),r.ended?GS(this,n):KS(this,r,e,n)&&(r.pendingcb++,i=JS(this,r,e,t,n)),i},$.prototype.cork=function(){var e=this._writableState;e.corked++},$.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&tC(this,e))},$.prototype.setDefaultEncoding=function(e){if(typeof e==`string`&&(e=e.toLowerCase()),!([`hex`,`utf8`,`utf-8`,`ascii`,`binary`,`base64`,`ucs2`,`ucs-2`,`utf16le`,`utf-16le`,`raw`].indexOf((e+``).toLowerCase())>-1))throw TypeError(`Unknown encoding: `+e);return this._writableState.defaultEncoding=e,this};function qS(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t==`string`&&(t=q.from(t,n)),t}function JS(e,t,n,r,i){n=qS(t,n,r),q.isBuffer(n)&&(r=`buffer`);var a=t.objectMode?1:n.length;t.length+=a;var o=t.length<t.highWaterMark;if(o||(t.needDrain=!0),t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new US(n,r,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else YS(e,t,!1,a,n,r,i);return o}function YS(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function XS(e,t,n,r,i){--t.pendingcb,n?ex(i,r):i(r),e._writableState.errorEmitted=!0,e.emit(`error`,r)}function ZS(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function QS(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(ZS(n),t)XS(e,n,r,t,i);else{var a=nC(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&tC(e,n),r?ex($S,e,n,a,i):$S(e,n,a,i)}}function $S(e,t,n,r){n||eC(e,t),t.pendingcb--,r(),iC(e,t)}function eC(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit(`drain`))}function tC(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=Array(r),a=t.corkedRequestsFree;a.entry=n;for(var o=0;n;)i[o]=n,n=n.next,o+=1;YS(e,t,!0,t.length,i,``,a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new oC(t)}else{for(;n;){var s=n.chunk,c=n.encoding,l=n.callback;if(YS(e,t,!1,t.objectMode?1:s.length,s,c,l),n=n.next,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}$.prototype._write=function(e,t,n){n(Error(`not implemented`))},$.prototype._writev=null,$.prototype.end=function(e,t,n){var r=this._writableState;typeof e==`function`?(n=e,e=null,t=null):typeof t==`function`&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),!r.ending&&!r.finished&&aC(this,r,n)};function nC(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function rC(e,t){t.prefinished||(t.prefinished=!0,e.emit(`prefinish`))}function iC(e,t){var n=nC(t);return n&&(t.pendingcb===0?(rC(e,t),t.finished=!0,e.emit(`finish`)):rC(e,t)),n}function aC(e,t,n){t.ending=!0,iC(e,t),n&&(t.finished?ex(n):e.once(`finish`,n)),t.ended=!0,e.writable=!1}function oC(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}Dx(uC,Q);for(var sC=Object.keys($.prototype),cC=0;cC<sC.length;cC++){var lC=sC[cC];uC.prototype[lC]||(uC.prototype[lC]=$.prototype[lC])}function uC(e){if(!(this instanceof uC))return new uC(e);Q.call(this,e),$.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once(`end`,dC)}function dC(){this.allowHalfOpen||this._writableState.ended||ex(fC,this)}function fC(e){e.end()}const pC=(e,t)=>{let n=t.replace(/-/g,``);if(n.length!==32)throw Error(`Error: Cannot extract GUID from font filename: ${t}`);let r=n.replace(/(..)/g,`$1 `).trim().split(` `).map(e=>parseInt(e,16));r.reverse();let i=e.slice(0,32).map((e,t)=>e^r[t%r.length]),a=new Uint8Array(0+i.length+Math.max(0,e.length-32));return a.set(e.slice(0,0)),a.set(i,0),a.set(e.slice(32),0+i.length),a};function mC(e,t){let n=e;for(let{reference:e,instance:r,numId:i}of t)n=n.replace(RegExp(`{${e}-${r}}`,`g`),i.toString());return n}fy();var hC=class{formatter;constructor(){this.formatter=new d}compile(e,t,n=[]){let r={},i=new Map,a=new Map,o=this.xmlifyFile(e,i,a,t),s=new Map(Object.entries(o));for(let[,e]of s)if(Array.isArray(e))for(let t of e)r[t.path]=[typeof t.data==`string`?Ne(t.data):t.data,{level:0}];else{let t=e;r[t.path]=[typeof t.data==`string`?Ne(t.data):t.data,{level:0}]}for(let e of n)r[e.path]=[typeof e.data==`string`?Ne(e.data):e.data,{level:0}];for(let t of e.Media.Array)r[`word/media/${t.fileName}`]=[Pe(t.data),{level:0}],t.type===`svg`&&(r[`word/media/${t.fallback.fileName}`]=[Pe(t.fallback.data),{level:0}]);for(let{data:t,name:n,fontKey:i}of e.FontTable.fontOptionsWithKey){let[e]=n.split(`.`);r[`word/fonts/${e}.odttf`]=pC(t,i)}return r}xmlifyFile(e,t,n,r){let i=e.Document.Relationships.RelationshipCount+1,a=k(this.formatter.format(e.Document.View,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),o=e.Comments.Relationships.RelationshipCount+1,s=k(this.formatter.format(e.Comments,{fileData:e,file:e,stack:[],viewWrapper:{Relationships:e.Comments.Relationships,View:e.Comments}}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),c=e.FootNotes.Relationships.RelationshipCount+1,l=k(this.formatter.format(e.FootNotes.View,{fileData:e,file:e,stack:[],viewWrapper:e.FootNotes}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),u=ve(a)?_e(a,e.Media.Array):[],d=ve(s)?_e(s,e.Media.Array):[],f=ve(l)?_e(l,e.Media.Array):[];return{AppProperties:{data:k(this.formatter.format(e.AppProperties,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`}}),path:`docProps/app.xml`},Comments:{data:mC(d.length>0?we(s,d,o,`rId`):s,e.Numbering.ConcreteNumbering),path:`word/comments.xml`},CommentsRelationships:{data:(d.forEach((t,n)=>{e.Comments.Relationships.addRelationship(o+n,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${t.fileName}`)}),k(this.formatter.format(e.Comments.Relationships,{fileData:e,file:e,stack:[],viewWrapper:{Relationships:e.Comments.Relationships,View:e.Comments}}),{declaration:{encoding:`UTF-8`},indent:r})),path:`word/_rels/comments.xml.rels`},ContentTypes:{data:(e.Charts.Array.forEach((t,n)=>{e.ContentTypes.addChart(n+1)}),e.SmartArts.Array.forEach((t,n)=>{e.ContentTypes.addDiagramData(n+1),e.ContentTypes.addDiagramLayout(n+1),e.ContentTypes.addDiagramStyle(n+1),e.ContentTypes.addDiagramColors(n+1),e.ContentTypes.addDiagramDrawing(n+1)}),k(this.formatter.format(e.ContentTypes,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`},indent:r})),path:`[Content_Types].xml`},CustomProperties:{data:k(this.formatter.format(e.CustomProperties,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`docProps/custom.xml`},Document:{data:(()=>{let t=u.length>0?we(a,u,i,`rId`):a;if(ve(t)){t=Ce(t,e.Charts.Array.map(e=>e.key),i,`rId`);let n=i+u.length+e.Charts.Array.length;t=Te(t,e.SmartArts.Array.map(e=>e.key),n,`rId`)}return mC(t,e.Numbering.ConcreteNumbering)})(),path:`word/document.xml`},Endnotes:{data:k(this.formatter.format(e.Endnotes.View,{fileData:e,file:e,stack:[],viewWrapper:e.Endnotes}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/endnotes.xml`},EndnotesRelationships:{data:k(this.formatter.format(e.Endnotes.Relationships,{fileData:e,file:e,stack:[],viewWrapper:e.Endnotes}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/_rels/endnotes.xml.rels`},FileRelationships:{data:k(this.formatter.format(e.FileRelationships,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`},indent:r}),path:`_rels/.rels`},FontTable:{data:k(this.formatter.format(e.FontTable.View,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/fontTable.xml`},FontTableRelationships:{data:k(this.formatter.format(e.FontTable.Relationships,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/_rels/fontTable.xml.rels`},FootNotes:{data:mC(f.length>0?we(l,f,c,`rId`):l,e.Numbering.ConcreteNumbering),path:`word/footnotes.xml`},FootNotesRelationships:{data:(f.forEach((t,n)=>{e.FootNotes.Relationships.addRelationship(c+n,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${t.fileName}`)}),k(this.formatter.format(e.FootNotes.Relationships,{fileData:e,file:e,stack:[],viewWrapper:e.FootNotes}),{declaration:{encoding:`UTF-8`},indent:r})),path:`word/_rels/footnotes.xml.rels`},FooterRelationships:e.Footers.map((t,i)=>{let a=k(this.formatter.format(t.View,{fileData:e,file:e,stack:[],viewWrapper:t}),{declaration:{encoding:`UTF-8`},indent:r});return n.set(i,a),_e(a,e.Media.Array).forEach((e,n)=>{t.Relationships.addRelationship(n,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${e.fileName}`)}),{data:k(this.formatter.format(t.Relationships,{fileData:e,file:e,stack:[],viewWrapper:t}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/_rels/footer${i+1}.xml.rels`}}),Footers:e.Footers.map((t,r)=>{let i=n.get(r),a=ve(i)?_e(i,e.Media.Array):[];return{data:mC(a.length>0?we(i,a,0,`rId`):i,e.Numbering.ConcreteNumbering),path:`word/footer${r+1}.xml`}}),HeaderRelationships:e.Headers.map((n,i)=>{let a=k(this.formatter.format(n.View,{fileData:e,file:e,stack:[],viewWrapper:n}),{declaration:{encoding:`UTF-8`},indent:r});return t.set(i,a),_e(a,e.Media.Array).forEach((e,t)=>{n.Relationships.addRelationship(t,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${e.fileName}`)}),{data:k(this.formatter.format(n.Relationships,{fileData:e,file:e,stack:[],viewWrapper:n}),{declaration:{encoding:`UTF-8`},indent:r}),path:`word/_rels/header${i+1}.xml.rels`}}),Headers:e.Headers.map((n,r)=>{let i=t.get(r),a=ve(i)?_e(i,e.Media.Array):[];return{data:mC(a.length>0?we(i,a,0,`rId`):i,e.Numbering.ConcreteNumbering),path:`word/header${r+1}.xml`}}),Numbering:{data:k(this.formatter.format(e.Numbering,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/numbering.xml`},Properties:{data:k(this.formatter.format(e.CoreProperties,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`docProps/core.xml`},Relationships:{data:(()=>{u.forEach((t,n)=>{e.Document.Relationships.addRelationship(i+n,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${t.fileName}`)});let t=i+u.length;return e.Charts.Array.forEach((n,r)=>{e.Document.Relationships.addRelationship(t+r,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,`charts/chart${r+1}.xml`)}),le(e.SmartArts.Array.map(e=>e.key),(t,n,r)=>{e.Document.Relationships.addRelationship(t,n,r)},i+u.length+e.Charts.Array.length,0,{pathPrefix:``,styleRelType:`http://schemas.microsoft.com/office/2007/relationships/diagramStyle`}),e.Document.Relationships.addRelationship(e.Document.Relationships.RelationshipCount+1,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable`,`fontTable.xml`),k(this.formatter.format(e.Document.Relationships,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`},indent:r})})(),path:`word/_rels/document.xml.rels`},Settings:{data:k(this.formatter.format(e.Settings,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/settings.xml`},Styles:{data:mC(k(this.formatter.format(e.Styles,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),e.Numbering.ConcreteNumbering),path:`word/styles.xml`},...e.Bibliography?{Bibliography:{data:k(this.formatter.format(e.Bibliography,{fileData:e,file:e,stack:[],viewWrapper:{Relationships:e.Bibliography.Relationships,View:e.Bibliography}}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/bibliography.xml`}}:{},...e.Charts.Array.length>0?{Charts:e.Charts.Array.flatMap((t,n)=>[{data:k(this.formatter.format(t.chartSpace,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/charts/chart${n+1}.xml`},{data:k({Relationships:{_attr:{xmlns:`http://schemas.openxmlformats.org/package/2006/relationships`}}},{declaration:{encoding:`UTF-8`,standalone:`yes`}}),path:`word/charts/_rels/chart${n+1}.xml.rels`}])}:{},...e.SmartArts.Array.length>0?{DiagramData:e.SmartArts.Array.map((t,n)=>({data:k(this.formatter.format(t.dataModel,{fileData:e,file:e,stack:[],viewWrapper:e.Document}),{declaration:{encoding:`UTF-8`,standalone:`yes`},indent:r}),path:`word/diagrams/data${n+1}.xml`})),DiagramLayout:e.SmartArts.Array.map((e,t)=>({data:tt(e.layout),path:`word/diagrams/layout${t+1}.xml`})),DiagramStyle:e.SmartArts.Array.map((e,t)=>({data:nt(e.style),path:`word/diagrams/quickStyle${t+1}.xml`})),DiagramColors:e.SmartArts.Array.map((e,t)=>({data:et(e.color),path:`word/diagrams/colors${t+1}.xml`})),DiagramDrawing:e.SmartArts.Array.map((e,t)=>({data:Ye,path:`word/diagrams/drawing${t+1}.xml`}))}:{},...e.AltChunks.Array.length>0?{AltChunks:e.AltChunks.Array.map(e=>({data:e.data,path:`word/${e.path}`}))}:{},...e.SubDocs.Array.length>0?{SubDocs:e.SubDocs.Array.map(e=>({data:e.data,path:`word/${e.path}`}))}:{}}}},gC=class e{static async pack(e,t,n,r=[]){return pe(mt(this.compiler.compile(e,he(n),r),{level:6}),t)}static toString(t,n,r=[]){return e.pack(t,`string`,n,r)}static toBuffer(t,n,r=[]){return e.pack(t,`nodebuffer`,n,r)}static toBase64String(t,n,r=[]){return e.pack(t,`base64`,n,r)}static toBlob(t,n,r=[]){return e.pack(t,`blob`,n,r)}static toArrayBuffer(t,n,r=[]){return e.pack(t,`arraybuffer`,n,r)}static toStream(e,t,n=[]){let r=new Q({read(){}});try{let i=this.compiler.compile(e,he(t),n),a=new lt((e,t,n)=>{if(e){r.destroy(e);return}r.destroyed||r.push(q.from(t)),n&&r.push(null)});for(let[e,t]of Object.entries(i)){let n=Array.isArray(t)?t[0]:t,r=Array.isArray(t)?t[1].level??6:6,i=r===0?new dt(e):new ut(e,{level:r});a.add(i),i.push(n,!0)}a.end()}catch(e){r.destroy(e instanceof Error?e:Error(String(e)))}return r}static compiler=new hC},_C=t({abstractNumUniqueNumericIdGen:()=>Qn,bookmarkUniqueNumericIdGen:()=>tr,concreteNumUniqueNumericIdGen:()=>$n,convertInchesToTwip:()=>x,convertMillimetersToTwip:()=>fe,docPropertiesUniqueNumericIdGen:()=>er,hashedId:()=>ye,uniqueId:()=>Oe,uniqueNumericIdCreator:()=>ke,uniqueUuid:()=>je});H(),P(),n(_C,N),Un();const vC=new d,yC=e=>ct(e,{captureSpacesBetweenElements:!0,compact:!1}),bC=e=>yC(k(vC.format(new Hn({text:e})))).elements[0].elements??[],xC=e=>({...e,attributes:{"xml:space":`preserve`}}),SC=(e,t)=>e.elements?.filter(e=>e.name===t)[0].elements??[],CC=(e,t,n)=>{let r=SC(e,`Types`);r.some(e=>e.type===`element`&&e.name===`Default`&&e?.attributes?.ContentType===t&&e?.attributes?.Extension===n)||r.push({attributes:{ContentType:t,Extension:n},name:`Default`,type:`element`})},wC=e=>{let t=parseInt(e.substring(3),10);return isNaN(t)?0:t},TC=e=>SC(e,`Relationships`).map(e=>wC(e.attributes?.Id?.toString()??``)).reduce((e,t)=>Math.max(e,t),0)+1,EC=(e,t,n,r,i)=>{let a=SC(e,`Relationships`);return a.push({attributes:{Id:`rId${t}`,Target:r,TargetMode:i,Type:n},name:`Relationship`,type:`element`}),a};var DC=class extends Error{constructor(e){super(`Token ${e} not found`),this.name=`TokenNotFoundError`}};const OC=(e,t)=>{for(let n=0;n<(e.elements??[]).length;n++){let r=e.elements[n];if(r.type===`element`&&r.name===`w:r`){let e=(r.elements??[]).filter(e=>e.type===`element`&&e.name===`w:t`);for(let r of e)if(r.elements?.[0]&&r.elements[0].text?.includes(t))return n}}throw new DC(t)},kC=(e,t)=>{let n=-1,r=e.elements?.map((e,r)=>{if(n!==-1)return e;if(e.type===`element`&&e.name===`w:t`){let i=(e.elements?.[0]?.text??``).split(t),a=i.map(t=>({...e,...xC(e),elements:bC(t)}));return i.length>1&&(n=r),a}else return e}).flat()??[];return{left:{...JSON.parse(JSON.stringify(e)),elements:r.slice(0,n+1)},right:{...JSON.parse(JSON.stringify(e)),elements:r.slice(n+1)}}},AC={START:0,MIDDLE:1,END:2},jC=({paragraphElement:e,renderedParagraph:t,originalText:n,replacementText:r})=>{let i=t.text.indexOf(n),a=i+n.length-1,o=AC.START;for(let n of t.runs)for(let{text:t,index:s,start:c,end:l}of n.parts)switch(o){case AC.START:if(i>=c&&i<=l){let u=i-c,d=Math.min(a,l)-c,f=t.substring(u,d+1);if(f===``)continue;let p=t.replace(f,r);MC(e.elements[n.index].elements[s],p),o=AC.MIDDLE;continue}break;case AC.MIDDLE:if(a<=l){let r=t.substring(a-c+1);MC(e.elements[n.index].elements[s],r);let i=e.elements[n.index].elements[s];e.elements[n.index].elements[s]=xC(i),o=AC.END}else MC(e.elements[n.index].elements[s],``);break;default:}return e},MC=(e,t)=>(e.elements=bC(t),e),NC=e=>{if(e.element.name!==`w:p`)throw Error(`Invalid node type: ${e.element.name}`);if(!e.element.elements)return{index:-1,pathToParagraph:[],runs:[],text:``};let t=0,n=e.element.elements.map((e,t)=>({element:e,i:t})).filter(({element:e})=>e.name===`w:r`).map(({element:e,i:n})=>{let r=PC(e,n,t);return t+=r.text.length,r}).filter(e=>!!e),r=n.reduce((e,t)=>e+t.text,``);return{index:e.index,pathToParagraph:FC(e),runs:n,text:r}},PC=(e,t,n)=>{if(!e.elements)return{end:n,index:-1,parts:[],start:n,text:``};let r=n,i=e.elements.map((e,t)=>e.name===`w:t`&&e.elements&&e.elements.length>0?(()=>{let n=r;return r+=(e.elements[0].text?.toString()??``).length,{end:r-1,index:t,start:n,text:e.elements[0].text?.toString()??``}})():void 0).filter(e=>!!e).map(e=>e),a=i.reduce((e,t)=>e+t.text,``);return{end:r-1,index:t,parts:i,start:n,text:a}},FC=e=>e.parent?[...FC(e.parent),e.index]:[e.index],IC=e=>e.element.elements?.map((t,n)=>({element:t,index:n,parent:e}))??[],LC=e=>{let t=[],n=[...IC({element:e,index:0,parent:void 0})],r;for(;n.length>0;)r=n.shift(),r.element.name===`w:p`&&(t=[...t,NC(r)]),n.push(...IC(r));return t},RC=(e,t)=>LC(e).filter(e=>e.text.includes(t)),zC=new d,BC=({json:e,patch:t,patchText:n,context:r,keepOriginalStyles:i=!0})=>{let a=RC(e,n);if(a.length===0)return{didFindOccurrence:!1,element:e};for(let o of a){let a=t.children.map(e=>yC(k(zC.format(e,r)))).map(e=>e.elements[0]);switch(t.type){case WC.DOCUMENT:{let t=HC(e,o.pathToParagraph),n=UC(o.pathToParagraph);t.elements.splice(n,1,...a);break}case WC.PARAGRAPH:default:{let t=VC(e,o.pathToParagraph);jC({originalText:n,paragraphElement:t,renderedParagraph:o,replacementText:`ɵ`});let r=OC(t,`ɵ`),s=t.elements[r],{left:c,right:l}=kC(s,`ɵ`),u=a,d=l;if(i){let e=s.elements.filter(e=>e.type===`element`&&e.name===`w:rPr`);u=a.map(t=>t.type!==`element`||t.name!==`w:r`||t.elements?.some(e=>e.type===`element`&&e.name===`w:rPr`)?t:{...t,elements:[...e,...t.elements??[]]}),d={...l,elements:[...e,...l.elements]}}t.elements.splice(r,1,c,...u,d);break}}}return{didFindOccurrence:!0,element:e}},VC=(e,t)=>{let n=e;for(let e=1;e<t.length;e++){let r=t[e];n=n.elements[r]}return n},HC=(e,t)=>VC(e,t.slice(0,-1)),UC=e=>e[e.length-1];Vh(),za(),K(),mi(),H();const WC={DOCUMENT:`file`,PARAGRAPH:`paragraph`},GC=new Uint8Array([255,254]),KC=new Uint8Array([254,255]),qC=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},JC=async({outputType:e,data:t,patches:n,keepOriginalStyles:r,placeholderDelimiters:i={end:`}}`,start:`{{`},recursive:a=!0})=>{let o=pt(Pe(t)),s=new Map,c={Media:new Fa},l=new Map,u=[],d=[],f=!1,p=new Map;for(let[e,t]of Object.entries(o)){let o=t.slice(0,2);if(qC(o,GC)||qC(o,KC)){p.set(e,t);continue}if(!e.endsWith(`.xml`)&&!e.endsWith(`.rels`)){p.set(e,t);continue}let m=yC(ft(t));if(e===`word/document.xml`){let e=m.elements?.find(e=>e.name===`w:document`);if(e&&e.attributes){for(let t of[`mc`,`wp`,`r`,`w15`,`m`])e.attributes[`xmlns:${t}`]=bm[t];e.attributes[`mc:Ignorable`]=`${e.attributes[`mc:Ignorable`]||``} w15`.trim()}}if(e.startsWith(`word/`)&&!e.endsWith(`.xml.rels`)){let t={fileData:c,file:c,stack:[],viewWrapper:{Relationships:{addRelationship:(t,n,r,i)=>{d.push({hyperlink:{id:t,link:r},key:e})}}}};if(s.set(e,t),!i?.start.trim()||!i?.end.trim())throw Error(`Both start and end delimiters must be non-empty strings.`);let{start:o,end:l}=i;for(let[i,s]of Object.entries(n)){let n=`${o}${i}${l}`;for(;;){let{didFindOccurrence:i}=BC({context:t,json:m,keepOriginalStyles:r,patch:{...s,children:s.children.map(t=>{if(t instanceof fi){let n=new ui(t.options.children,Oe());return d.push({hyperlink:{id:n.linkId,link:t.options.link},key:e}),n}else return t})},patchText:n});if(!a||!i)break}}let p=_e(JSON.stringify(m),t.file.Media.Array);p.length>0&&(f=!0,u.push({key:e,mediaDatas:p}))}l.set(e,m)}for(let{key:e,mediaDatas:t}of u){let n=`word/_rels/${e.split(`/`).pop()}.rels`,r=l.get(n)??XC();l.set(n,r);let i=TC(r),a=we(JSON.stringify(l.get(e)),t,i,`plain`);l.set(e,JSON.parse(a));for(let e=0;e<t.length;e++){let{fileName:n}=t[e];EC(r,i+e,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,`media/${n}`)}}for(let{key:e,hyperlink:t}of d){let n=`word/_rels/${e.split(`/`).pop()}.rels`,r=l.get(n)??XC();l.set(n,r),EC(r,t.id,`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,t.link,se.EXTERNAL)}if(f){let e=l.get(`[Content_Types].xml`);if(!e)throw Error(`Could not find content types file`);CC(e,`image/png`,`png`),CC(e,`image/jpeg`,`jpeg`),CC(e,`image/jpeg`,`jpg`),CC(e,`image/bmp`,`bmp`),CC(e,`image/gif`,`gif`),CC(e,`image/svg+xml`,`svg`)}let m={};for(let[e,t]of l)m[e]=Ne(YC(t));for(let[e,t]of p)m[e]=t;for(let{data:e,fileName:t}of c.Media.Array)m[`word/media/${t}`]=e instanceof Uint8Array?e:new Uint8Array(e);return pe(mt(m,{level:6}),e)},YC=e=>ot(e,{attributeValueFn:e=>String(e).replace(/&(?!amp;|lt;|gt;|quot;|apos;)/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`)}),XC=()=>({declaration:{attributes:{encoding:`UTF-8`,standalone:`yes`,version:`1.0`}},elements:[{attributes:{xmlns:`http://schemas.openxmlformats.org/package/2006/relationships`},elements:[],name:`Relationships`,type:`element`}]}),ZC=async({data:e})=>{let t=pt(Pe(e)),n=new Set;for(let[e,r]of Object.entries(t))!e.endsWith(`.xml`)&&!e.endsWith(`.rels`)||e.startsWith(`word/`)&&!e.endsWith(`.xml.rels`)&&LC(yC(ft(r))).forEach(e=>QC(e.text).forEach(e=>n.add(e)));return[...n]},QC=e=>e.match(/(?<=\{\{).+?(?=\}\})/gs)??[];function $C(e,t){let n=T(e,`r:id`);if(!n)throw Error(`w:altChunk missing r:id attribute`);let r=t.docx.partRefs.afChunks.get(n);if(!r)throw Error(`AltChunk relationship ${n} not found`);let i=t.docx.doc.getRaw(r);if(!i)throw Error(`AltChunk data not found at ${r}`);let a=r.split(`.`).pop()??`txt`,o,s;switch(a){case`html`:o=`text/html`,s=`html`;break;case`rtf`:o=`application/rtf`,s=`rtf`;break;default:o=`text/plain`,s=`txt`;break}return{data:i,contentType:o,extension:s}}function ew(e,t){let n=at(e,`a:graphicData`)[0];if(!n)return;let r=T(n,`uri`)??``;return r.includes(`/chart`)?aw(e,t):r.includes(`/diagram`)?lw(e,t):nw(e,t)}function tw(e){switch(e.split(`.`).pop()?.toLowerCase()??``){case`jpg`:case`jpeg`:return`jpg`;case`png`:return`png`;case`gif`:return`gif`;case`bmp`:return`bmp`;case`tif`:case`tiff`:return`tif`;case`ico`:return`ico`;case`emf`:return`emf`;case`wmf`:return`wmf`;default:return`png`}}function nw(e,t){let n=at(e,`wp:inline`)[0],r=n?void 0:at(e,`wp:anchor`)[0],i=n??r;if(!i)return;let a=O(i,`wp:extent`),o,s;if(a){let e=D(a,`cx`),t=D(a,`cy`);e!==void 0&&(o=de(e)),t!==void 0&&(s=de(t))}let c=at(i,`a:blip`)[0];if(!c)return;let l=T(c,`r:embed`);if(!l)return;let u=t.docx.partRefs.media.get(l);if(!u)return;let d=t.docx.doc.getRaw(u);if(!d)return;let f={type:tw(u),data:d,transformation:{...o===void 0?{}:{width:o},...s===void 0?{}:{height:s}}},p=O(i,`wp:docPr`);if(p){let e=T(p,`name`),t=T(p,`descr`);(e||t)&&(f.altText={...e?{name:e}:{},...t?{description:t}:{}})}if(r&&!n){let e={},t=O(r,`wp:positionH`);if(t){let n=O(t,`wp:align`),r=O(t,`wp:posOffset`);n?e.horizontalPosition={align:st(n)}:r&&(e.horizontalPosition={offset:D(r,`offset`)??0})}let n=O(r,`wp:positionV`);if(n){let t=O(n,`wp:align`),r=O(n,`wp:posOffset`);t?e.verticalPosition={align:st(t)}:r&&(e.verticalPosition={offset:D(r,`offset`)??0})}for(let t of[`wrapSquare`,`wrapTight`,`wrapTopAndBottom`,`wrapNone`])if(O(r,`wp:${t}`)){e.wrap=t;break}E(r,`behindDoc`)&&(e.behindDocument=!0),Object.keys(e).length>0&&(f.floating=e)}return f}function rw(e){let t=at(e,`wp:inline`)[0],n=t?void 0:at(e,`wp:anchor`)[0],r=t??n;if(!r)return{};let i=O(r,`wp:extent`);if(!i)return{};let a=D(i,`cx`),o=D(i,`cy`);return{...a===void 0?{}:{width:de(a)},...o===void 0?{}:{height:de(o)}}}function iw(e,t){if(!t)return;let n=e.get(t);if(n)return n;if(t.startsWith(`rIdrId`))return e.get(t.slice(3))}function aw(e,t){let n=at(e,`c:chart`)[0];if(!n)return;let r=T(n,`r:id`),i=iw(t.docx.partRefs.charts,r);if(!i)return;let a=t.docx.doc.get(i);if(!a)return;let o=ow(a);if(!o)return;let s=rw(e);return(s.width!==void 0||s.height!==void 0)&&(o.transformation={...s}),{chart:o}}function ow(e){let t=O(e,`c:chart`);if(!t)return;let n={},r=O(t,`c:title`);if(r){let e=at(r,`c:rich`)[0];if(e){let t=at(e,`a:t`)[0];if(t){let e=st(t);e&&(n.title=e)}}}let i=O(t,`c:plotArea`);if(!i)return;let a,o;for(let e of i.elements??[]){switch(e.name){case`c:barChart`:{let t=O(e,`c:barDir`);a=t&&T(t,`val`)===`bar`?`bar`:`column`,o=e;break}case`c:lineChart`:a=`line`,o=e;break;case`c:pieChart`:a=`pie`,o=e;break;case`c:areaChart`:a=`area`,o=e;break;case`c:scatterChart`:a=`scatter`,o=e;break}if(a)break}if(!a||!o)return;n.type=a;let s=[],c;for(let e of o.elements??[]){if(e.name!==`c:ser`)continue;let t=sw(e,`c:tx`),n=sw(e,`c:cat`);n.length>0&&!c&&(c=n);let r=cw(e);s.push({name:t[0]??``,values:r})}n.data={categories:c??[],series:s},n.showLegend=O(t,`c:legend`)!==void 0;let l=O(e,`c:style`);if(l){let e=D(l,`val`);e!==void 0&&(n.style=e)}return n}function sw(e,t){let n=O(e,t);if(!n)return[];let r=at(n,`c:strCache`)[0];if(!r)return[];let i=[];for(let e of r.elements??[]){if(e.name!==`c:pt`)continue;let t=O(e,`c:v`);t&&i.push(st(t)??``)}return i}function cw(e){let t=O(e,`c:val`);if(!t)return[];let n=at(t,`c:numCache`)[0];if(!n)return[];let r=[];for(let e of n.elements??[]){if(e.name!==`c:pt`)continue;let t=O(e,`c:v`);if(t){let e=Number(st(t));isNaN(e)||r.push(e)}}return r}function lw(e,t){let n=at(e,`dgm:relIds`)[0];if(!n)return;let r=T(n,`r:dm`),i=iw(t.docx.partRefs.diagramData,r);if(!i)return;let a=t.docx.doc.get(i);if(!a)return;let o=uw(a);if(!o)return;let s=rw(e);return(s.width!==void 0||s.height!==void 0)&&(o.transformation={...s}),{smartArt:o}}function uw(e){let t=O(e,`dgm:ptLst`);if(!t)return;let n={},r=new Map;for(let e of t.elements??[]){if(e.name!==`dgm:pt`)continue;let t=T(e,`type`),i=T(e,`modelId`);if(t===`doc`){let t=O(e,`dgm:prSet`);if(t){let e=T(t,`loTypeId`)??``,r=T(t,`qsTypeId`)??``,i=T(t,`csTypeId`)??``,a=e.split(`/`).pop();a&&(n.layout=a);let o=r.split(`/`).pop();o&&(n.style=o);let s=i.split(`/`).pop();s&&(n.color=s)}}else if(t===`node`&&i){let t=at(e,`a:t`)[0];r.set(i,t?st(t)??``:``)}}let i=O(e,`dgm:cxnLst`);if(!i)return n.data={nodes:[]},n;let a=new Map;for(let e of i.elements??[]){if(e.name!==`dgm:cxn`)continue;let t=T(e,`srcId`),n=T(e,`destId`);if(!t||!n||!r.has(n))continue;let i=a.get(t);i||(i=[],a.set(t,i)),i.push(n)}return n.data={nodes:(a.get(`0`)??[]).map(e=>dw(e,r,a))},n}function dw(e,t,n){let r=t.get(e)??``,i=n.get(e)??[];return i.length===0?{text:r}:{text:r,children:i.map(e=>dw(e,t,n))}}function fw(e){let t={},n=O(e,`w:rStyle`);n&&(t.style=T(n,`w:val`));let r=O(e,`w:rFonts`);if(r){let e=T(r,`w:ascii`),n=T(r,`w:eastAsia`),i=T(r,`w:hAnsi`),a=T(r,`w:cs`),o=T(r,`w:hint`);if(e&&!n&&!i&&!a)t.font=o?{name:e,hint:o}:e;else{let r={};e&&(r.ascii=e),n&&(r.eastAsia=n),i&&(r.hAnsi=i),a&&(r.cs=a),o&&(r.hint=o),t.font=r}}let i=O(e,`w:b`);i&&(t.bold=E(i,`w:val`)??!0);let a=O(e,`w:bCs`);a&&(t.boldComplexScript=E(a,`w:val`)??!0);let o=O(e,`w:i`);o&&(t.italics=E(o,`w:val`)??!0);let s=O(e,`w:iCs`);s&&(t.italicsComplexScript=E(s,`w:val`)??!0);let c=O(e,`w:u`);if(c){let e={},n=T(c,`w:val`);n&&(e.type=n);let r=it(c,`w:color`);r&&(e.color=r),t.underline=e}for(let[n,r]of[[`w:strike`,`strike`],[`w:dstrike`,`doubleStrike`],[`w:outline`,`outline`],[`w:shadow`,`shadow`],[`w:emboss`,`emboss`],[`w:imprint`,`imprint`],[`w:vanish`,`vanish`],[`w:webHidden`,`webHidden`],[`w:noProof`,`noProof`],[`w:snapToGrid`,`snapToGrid`],[`w:smallCaps`,`smallCaps`],[`w:caps`,`allCaps`],[`w:rtl`,`rightToLeft`],[`w:cs`,`complexScript`],[`w:specVanish`,`specVanish`],[`w:math`,`math`]]){let i=O(e,n);i&&(t[r]=E(i,`w:val`)??!0)}let l=O(e,`w:color`);if(l){let e=it(l,`w:val`);e&&(t.color=e)}let u=O(e,`w:sz`);if(u){let e=D(u,`w:val`);e!==void 0&&(t.size=e)}let d=O(e,`w:szCs`);if(d){let e=D(d,`w:val`);e!==void 0&&(t.sizeComplexScript=e)}let f=O(e,`w:highlight`);if(f){let e=T(f,`w:val`);e&&(t.highlight=e)}let p=O(e,`w:highlightCs`);if(p){let e=T(p,`w:val`);e&&(t.highlightComplexScript=e)}let m=O(e,`w:vertAlign`);if(m){let e=T(m,`w:val`);e===`subscript`?t.subScript=!0:e===`superscript`&&(t.superScript=!0)}let ee=O(e,`w:effect`);if(ee){let e=T(ee,`w:val`);e&&(t.effect=e)}let te=O(e,`w:em`);if(te){let e=T(te,`w:val`);e&&(t.emphasisMark={type:e})}let ne=O(e,`w:spacing`);if(ne){let e=D(ne,`w:val`);e!==void 0&&(t.characterSpacing=e)}let re=O(e,`w:w`);if(re){let e=D(re,`w:val`);e!==void 0&&(t.scale=e)}let h=O(e,`w:kern`);if(h){let e=D(h,`w:val`);e!==void 0&&(t.kern=e)}let ie=O(e,`w:position`);if(ie){let e=T(ie,`w:val`);e!==void 0&&(t.position=e)}let ae=O(e,`w:fitText`);if(ae){let e=D(ae,`w:val`);e!==void 0&&(t.fitText=e)}let g=O(e,`w:lang`);if(g){let e={},n=T(g,`w:val`);n&&(e.val=n);let r=T(g,`w:eastAsia`);r&&(e.eastAsia=r);let i=T(g,`w:bidi`);i&&(e.bidi=i),Object.keys(e).length>0&&(t.language=e)}let _=O(e,`w:bdr`);_&&(t.border=pw(_));let oe=O(e,`w:shd`);return oe&&(t.shading=mw(oe)),t}function pw(e){let t={},n=T(e,`w:val`);n&&(t.style=n);let r=it(e,`w:color`);r&&(t.color=r);let i=D(e,`w:sz`);i!==void 0&&(t.size=i);let a=D(e,`w:space`);a!==void 0&&(t.space=a);let o=E(e,`w:shadow`);o!==void 0&&(t.shadow=o);let s=E(e,`w:frame`);return s!==void 0&&(t.frame=s),t}function mw(e){let t={},n=it(e,`w:fill`);n&&(t.fill=n);let r=it(e,`w:color`);r&&(t.color=r);let i=T(e,`w:val`);return i&&(t.type=i),t}const hw=Symbol(`PageBreak`),gw=Symbol(`LineBreak`),_w=Symbol(`Tab`),vw=Symbol(`CarriageReturn`),yw=Symbol(`NoBreakHyphen`),bw=Symbol(`SoftHyphen`);function xw(e,t){let n=O(e,`w:rPr`),r=n?fw(n):void 0,i=[];for(let t of e.elements??[])switch(t.name){case`w:rPr`:break;case`w:t`:{E(t,`xml:space`);let e=st(t);i.push(e);break}case`w:br`:{let e=T(t,`w:type`);e===`page`||e===`column`?i.push(hw):i.push(gw);break}case`w:tab`:i.push(_w);break;case`w:cr`:i.push(vw);break;case`w:noBreakHyphen`:i.push(yw);break;case`w:softHyphen`:i.push(bw);break;case`w:drawing`:case`w:pict`:break;default:break}return{properties:r,children:i}}function Sw(e){let t={...e.properties},n=[],r=0;for(let t of e.children)typeof t==`string`?n.push(t):t===gw&&r++;return n.length>0&&(t.text=n.join(``)),r>0&&(t.break=r),t}ss();const Cw={Heading1:as.HEADING_1,Heading2:as.HEADING_2,Heading3:as.HEADING_3,Heading4:as.HEADING_4,Heading5:as.HEADING_5,Heading6:as.HEADING_6,Title:as.TITLE};function ww(e,t){let n={},r=O(e,`w:pStyle`);if(r){let e=T(r,`w:val`);e&&(Cw[e]?n.heading=Cw[e]:n.style=e)}let i=O(e,`w:jc`);if(i){let e=T(i,`w:val`);e&&(n.alignment=e)}let a=O(e,`w:spacing`);if(a){let e={},t=D(a,`w:before`);t!==void 0&&(e.before=t);let r=D(a,`w:after`);r!==void 0&&(e.after=r);let i=D(a,`w:line`);i!==void 0&&(e.line=i);let o=T(a,`w:lineRule`);o&&(e.lineRule=o);let s=E(a,`w:beforeAutospacing`)??E(a,`w:beforeLines`);s!==void 0&&(e.beforeAutoSpacing=s);let c=E(a,`w:afterAutospacing`)??E(a,`w:afterLines`);c!==void 0&&(e.afterAutoSpacing=c),Object.keys(e).length>0&&(n.spacing=e)}let o=O(e,`w:ind`);if(o){let e={},t=D(o,`w:left`);t!==void 0&&(e.left=t);let r=D(o,`w:right`);r!==void 0&&(e.right=r);let i=D(o,`w:start`);i!==void 0&&(e.start=i);let a=D(o,`w:end`);a!==void 0&&(e.end=a);let s=D(o,`w:hanging`);s!==void 0&&(e.hanging=s);let c=D(o,`w:firstLine`);c!==void 0&&(e.firstLine=c),Object.keys(e).length>0&&(n.indent=e)}let s=O(e,`w:numPr`);if(s){let e=O(s,`w:ilvl`);n.bullet={level:e?D(e,`w:val`)??0:0}}let c=O(e,`w:tabs`);if(c){let e=[];for(let t of rt(c,`w:tab`)){let n={},r=D(t,`w:pos`);r!==void 0&&(n.position=r);let i=T(t,`w:val`);i&&(n.type=i);let a=T(t,`w:leader`);a&&(n.leader=a),e.push(n)}e.length>0&&(n.tabStops=e)}for(let[t,r]of[[`w:keepNext`,`keepNext`],[`w:keepLines`,`keepLines`],[`w:pageBreakBefore`,`pageBreakBefore`],[`w:widowControl`,`widowControl`],[`w:suppressLineNumbers`,`suppressLineNumbers`],[`w:contextualSpacing`,`contextualSpacing`],[`w:bidi`,`bidirectional`],[`w:wordWrap`,`wordWrap`],[`w:suppressAutoHyphens`,`suppressAutoHyphens`],[`w:adjustRightInd`,`adjustRightInd`],[`w:snapToGrid`,`snapToGrid`],[`w:mirrorIndents`,`mirrorIndents`],[`w:kinsoku`,`kinsoku`],[`w:topLinePunct`,`topLinePunct`],[`w:autoSpaceDE`,`autoSpaceDE`],[`w:overflowPunct`,`overflowPunctuation`],[`w:suppressOverlap`,`suppressOverlap`]]){let i=O(e,t);i&&(n[r]=E(i,`w:val`)??!0)}if(O(e,`w:pBdr`)){let t=O(e,`w:pBdr`),r={};for(let e of[`top`,`bottom`,`left`,`right`]){let n=O(t,`w:${e}`);if(n){let t={},i=T(n,`w:val`);i&&(t.style=i);let a=T(n,`w:color`);a&&(t.color=a);let o=D(n,`w:sz`);o!==void 0&&(t.size=o);let s=D(n,`w:space`);s!==void 0&&(t.space=s),r[e]=t}}Object.keys(r).length>0&&(n.border=r)}let l=O(e,`w:shd`);if(l){let e={},t=T(l,`w:fill`);t&&(e.fill=t);let r=T(l,`w:color`);r&&(e.color=r);let i=T(l,`w:val`);i&&(e.type=i),Object.keys(e).length>0&&(n.shading=e)}let u=O(e,`w:textAlignment`);if(u){let e=T(u,`w:val`);e&&(n.textAlignment=e)}let d=O(e,`w:outlineLvl`);if(d){let e=D(d,`w:val`);e!==void 0&&(n.outlineLevel=e)}let f=O(e,`w:cnfStyle`);if(f){let e=T(f,`w:val`);e&&(n.cnfStyle={val:e})}let p=O(e,`w:rPr`);p&&(n.run=fw(p));let m=O(e,`w:framePr`);if(m){let e={};for(let[t,n]of[[`w:dropCap`,`dropCap`],[`w:lines`,`lines`],[`w:wrap`,`wrap`],[`w:vAnchor`,`vAnchor`],[`w:hAnchor`,`hAnchor`],[`w:x`,`x`],[`w:y`,`y`],[`w:hRule`,`hRule`],[`w:hSpace`,`hSpace`],[`w:vSpace`,`vSpace`]]){let r=T(m,t);r!==void 0&&(e[n]=r)}let t=D(m,`w:w`);t!==void 0&&(e.width=t);let r=D(m,`w:h`);r!==void 0&&(e.height=r),Object.keys(e).length>0&&(n.frame=e)}return n}function Tw(e,t){let n={},r=O(e,`w:pPr`);r&&Object.assign(n,ww(r,t));let i=[];for(let n of e.elements??[])switch(n.name){case`w:pPr`:break;case`w:r`:{let e=Sw(xw(n,t));i.push(e);break}case`w:hyperlink`:{let e=[];for(let r of n.elements??[])if(r.name===`w:r`){let n=Sw(xw(r,t));e.push(n)}i.push(...e);break}case`w:bookmarkStart`:case`w:bookmarkEnd`:case`w:commentRangeStart`:case`w:commentRangeEnd`:break;default:n.name&&n.elements&&n.elements.length>0&&i.push(new ae(n));break}if(i.length>0){if(i.every(e=>typeof e==`object`&&!!e&&`text`in e&&Object.keys(e).length<=2)){let e=i.map(e=>e.text).join(``);if(e&&Object.keys(n).length===0)return e;if(e)return n.text=e,n}n.children=i}return n}let Ew;function Dw(e){Ew=e}function Ow(e){let t={},n=O(e,`w:alias`);n&&(t.alias=T(n,`w:val`));let r=O(e,`w:tag`);if(r){let e=T(r,`w:val`);e&&(t.tag=e)}let i=O(e,`w:id`);if(i){let e=D(i,`w:val`);e!==void 0&&(t.id=e)}let a=O(e,`w:lock`);if(a){let e=T(a,`w:val`);e&&(t.lock=e)}let o=O(e,`w:temporary`);o&&(t.temporary=E(o,`w:val`)??!0);let s=O(e,`w:showingPlcHdr`);s&&(t.showingPlaceholder=E(s,`w:val`)??!0);let c=O(e,`w:label`);if(c){let e=D(c,`w:val`);e!==void 0&&(t.label=e)}let l=O(e,`w:tabIndex`);if(l){let e=D(l,`w:val`);e!==void 0&&(t.tabIndex=e)}let u=O(e,`w:dataBinding`);if(u&&(t.dataBinding={xpath:T(u,`w:xpath`)??``,storeItemID:T(u,`w:storeItemID`)??``,prefixMappings:T(u,`w:prefixMappings`)}),O(e,`w:equation`))t.equation=!0;else if(O(e,`w:comboBox`)){let n=O(e,`w:comboBox`),r=[];for(let e of rt(n,`w:listItem`))r.push({displayText:T(e,`w:displayText`),value:T(e,`w:value`)});t.comboBox={items:r.length>0?r:void 0,lastValue:T(n,`w:lastValue`)}}else if(O(e,`w:date`)){let n=O(e,`w:date`),r={},i=O(n,`w:dateFormat`);i&&(r.dateFormat=st(i));let a=O(n,`w:lid`);a&&(r.languageId=st(a));let o=O(n,`w:storeMappedDataAs`);o&&(r.storeMappedDataAs=T(o,`w:val`));let s=O(n,`w:calendar`);s&&(r.calendar=T(s,`w:val`));let c=T(n,`w:fullDate`);c&&(r.fullDate=c),t.date=r}else if(O(e,`w:dropDownList`)){let n=O(e,`w:dropDownList`),r=[];for(let e of rt(n,`w:listItem`))r.push({displayText:T(e,`w:displayText`),value:T(e,`w:value`)});t.dropDownList={items:r.length>0?r:void 0,lastValue:T(n,`w:lastValue`)}}else if(O(e,`w:picture`))t.picture=!0;else if(O(e,`w:richText`))t.richText=!0;else if(O(e,`w:text`))t.text={multiLine:E(O(e,`w:text`),`w:multiLine`)};else if(O(e,`w:citation`))t.citation=!0;else if(O(e,`w:group`))t.group=!0;else if(O(e,`w:bibliography`))t.bibliography=!0;else if(O(e,`w:docPartObj`)){let n=O(e,`w:docPartObj`);t.docPartObj={};let r=O(n,`w:docPartGallery`);r&&(t.docPartObj.gallery=T(r,`w:val`));let i=O(n,`w:docPartCategory`);i&&(t.docPartObj.category=T(i,`w:val`))}else if(O(e,`w:docPartList`)){let n=O(e,`w:docPartList`);t.docPartList={};let r=O(n,`w:docPartGallery`);r&&(t.docPartList.gallery=T(r,`w:val`));let i=O(n,`w:docPartCategory`);i&&(t.docPartList.category=T(i,`w:val`))}return t}function kw(e,t){let n=O(e,`w:sdtPr`),r=n?Ow(n):{},i=O(e,`w:sdtContent`),a;return i&&Ew&&(a=Ew(i.elements??[],t),a.length===0&&(a=void 0)),{properties:r,children:a}}function Aw(e,t){let n=T(e,`r:id`);if(!n)throw Error(`w:subDoc missing r:id attribute`);let r=t.docx.partRefs.subDocs.get(n);if(!r)throw Error(`SubDoc relationship ${n} not found`);let i=t.docx.doc.getRaw(r);if(!i)throw Error(`SubDoc data not found at ${r}`);return{data:i}}function jw(e,t){let n=O(e,`w:sdtPr`);if(!n)return;let r=O(n,`w:docPartObj`),i=!1;if(r){let e=O(r,`w:docPartGallery`);e&&st(e)===`Table of Contents`&&(i=!0)}if(!i){let t=O(e,`w:sdtContent`);t&&(i=Mw(t))}if(!i)return;let a=(()=>{let e=O(n,`w:alias`);return e?T(e,`w:val`):void 0})(),o={},s=O(e,`w:sdtContent`);if(s)for(let e of rt(s,`w:p`))for(let t of rt(e,`w:r`))for(let e of rt(t,`w:instrText`))Nw(st(e).trim(),o);return{alias:a,...o}}function Mw(e){for(let t of rt(e,`w:p`))for(let e of rt(t,`w:r`))for(let t of rt(e,`w:instrText`))if((st(t)?.trim())?.startsWith(`TOC`))return!0;return!1}function Nw(e,t){if(!e.startsWith(`TOC`))return;let n=Pw(e.slice(3).trim());n.a&&(t.captionLabel=n.a),n.b&&(t.entriesFromBookmark=n.b),n.c&&(t.captionLabelIncludingNumbers=n.c),n.d&&(t.sequenceAndPageNumbersSeparator=n.d),n.f&&(t.tcFieldIdentifier=n.f),`h`in n&&(t.hyperlink=!0),n.l&&(t.tcFieldLevelRange=n.l),n.n&&(t.pageNumbersEntryLevelsRange=n.n),n.o&&(t.headingStyleRange=n.o),n.p&&(t.entryAndPageNumberSeparator=n.p),n.s&&(t.seqFieldIdentifierForPrefix=n.s),`u`in n&&(t.useAppliedParagraphOutlineLevel=!0),`w`in n&&(t.preserveTabInEntries=!0),`x`in n&&(t.preserveNewLineInEntries=!0),`z`in n&&(t.hideTabAndPageNumbersInWebView=!0)}function Pw(e){let t={},n=0;for(;n<e.length;){for(;n<e.length&&e[n]===` `;)n++;if(n>=e.length)break;if(e[n]!==`\\`){n++;continue}n++;let r=n;for(;n<e.length&&/[a-zA-Z]/.test(e[n]);)n++;let i=e.slice(r,n);if(i){for(;n<e.length&&e[n]===` `;)n++;if(n<e.length&&e[n]===`"`){n++;let r=n;for(;n<e.length&&e[n]!==`"`;)n++;t[i]=e.slice(r,n),n<e.length&&n++}else if(n<e.length&&e[n]!==`\\`){let r=n;for(;n<e.length&&e[n]!==` `&&e[n]!==`\\`;)n++;let a=e.slice(r,n).trim();a?t[i]=a:t[i]=void 0}else t[i]=void 0}}return t}function Fw(e){let t={},n=O(e,`w:tblStyle`);if(n){let e=T(n,`w:val`);e&&(t.style=e)}let r=O(e,`w:tblW`);if(r){let e=D(r,`w:w`),n=T(r,`w:type`);(e!==void 0||n)&&(t.width={size:e??0,...n?{type:n}:{}})}let i=O(e,`w:jc`);if(i){let e=T(i,`w:val`);e&&(t.alignment=e)}let a=O(e,`w:tblLayout`);if(a){let e=T(a,`w:type`);(e===`autofit`||e===`fixed`)&&(t.layout=e)}let o=O(e,`w:tblBorders`);if(o){let e={};for(let t of[`top`,`bottom`,`left`,`right`,`insideH`,`insideV`]){let n=O(o,`w:${t}`);if(n){let r={},i=T(n,`w:val`);i&&(r.style=i);let a=T(n,`w:color`);a&&(r.color=a);let o=D(n,`w:sz`);o!==void 0&&(r.size=o);let s=D(n,`w:space`);s!==void 0&&(r.space=s),e[t]=r}}Object.keys(e).length>0&&(t.borders=e)}let s=O(e,`w:tblCellMar`);if(s){let e={};for(let t of[`top`,`bottom`,`left`,`right`]){let n=O(s,`w:${t}`);if(n){let r=D(n,`w:w`),i=T(n,`w:type`);r!==void 0&&(e[t]={size:r,type:i??`dxa`})}}Object.keys(e).length>0&&(t.margins=e)}let c=O(e,`w:shd`);if(c){let e={},n=T(c,`w:fill`);n&&(e.fill=n);let r=T(c,`w:color`);r&&(e.color=r);let i=T(c,`w:val`);i&&(e.type=i),Object.keys(e).length>0&&(t.shading=e)}return t}function Iw(e){let t=[],n=O(e,`w:tblGrid`);if(!n)return t;for(let e of rt(n,`w:gridCol`)){let n=D(e,`w:w`);t.push(n??100)}return t}function Lw(e){let t={},n=O(e,`w:trHeight`);if(n){let e=D(n,`w:val`),r=T(n,`w:hRule`);e!==void 0&&(t.height={value:e,rule:r??`atLeast`})}let r=O(e,`w:tblHeader`);r&&(t.tableHeader=E(r,`w:val`)??!0);let i=O(e,`w:cantSplit`);return i&&(t.cantSplit=E(i,`w:val`)??!0),t}function Rw(e){let t={},n=O(e,`w:tcW`);if(n){let e=D(n,`w:w`),r=T(n,`w:type`);e!==void 0&&(t.width={size:e,type:r??`dxa`})}let r=O(e,`w:gridSpan`);if(r){let e=D(r,`w:val`);e!==void 0&&(t.columnSpan=e)}let i=O(e,`w:vMerge`);i&&(t.verticalMerge=T(i,`w:val`)===`restart`?`restart`:`continue`);let a=O(e,`w:vAlign`);if(a){let e=T(a,`w:val`);e&&(t.verticalAlign=e)}let o=O(e,`w:shd`);if(o){let e={},n=T(o,`w:fill`);n&&(e.fill=n);let r=T(o,`w:color`);r&&(e.color=r);let i=T(o,`w:val`);i&&(e.type=i),Object.keys(e).length>0&&(t.shading=e)}let s=O(e,`w:tcBorders`);if(s){let e={};for(let t of[`top`,`bottom`,`left`,`right`]){let n=O(s,`w:${t}`);if(n){let r={},i=T(n,`w:val`);i&&(r.style=i);let a=T(n,`w:color`);a&&(r.color=a);let o=D(n,`w:sz`);o!==void 0&&(r.size=o),e[t]=r}}Object.keys(e).length>0&&(t.borders=e)}O(e,`w:noWrap`)&&(t.noWrap=!0);let c=O(e,`w:textDirection`);if(c){let e=T(c,`w:val`);e&&(t.textDirection=e)}return t}let zw;function Bw(e){zw=e}function Vw(e,t){let n={},r=O(e,`w:tcPr`);r&&Object.assign(n,Rw(r));let i=[];for(let n of e.elements??[])switch(n.name){case`w:tcPr`:break;case`w:p`:zw?i.push(zw(n,t)):i.push({paragraph:Tw(n,t)});break;case`w:tbl`:zw?i.push(zw(n,t)):i.push({table:Uw(n,t)});break;default:break}return n.children=i,n}function Hw(e,t){let n={},r=O(e,`w:trPr`);r&&Object.assign(n,Lw(r));let i=[];for(let n of e.elements??[])n.name===`w:tc`&&i.push(Vw(n,t));return n.children=i,n}function Uw(e,t){let n={},r=O(e,`w:tblPr`);r&&Object.assign(n,Fw(r));let i=Iw(e);i.length>0&&(n.columnWidths=i);let a=[];for(let n of e.elements??[])n.name===`w:tr`&&a.push(Hw(n,t));return n.rows=a,n}let Ww;function Gw(e){Ww=e}function Kw(e){let t={};for(let n of e.split(`;`)){let[e,r]=n.split(`:`).map(e=>e.trim());e&&r&&(t[e]=r)}return t}function qw(e,t){let n=Jw(e,`v:shape`)[0];if(!n)return{};let r={},i=T(n,`style`);i&&(r.style=Kw(i));let a=Jw(n,`v:textbox`)[0];if(a){let e=O(a,`w:txbxContent`);if(e&&Ww){let n=Ww(e.elements??[],t);n.length>0&&(r.children=n)}}return r}function Jw(e,t){let n=[];for(let r of e.elements??[])r.name===t&&n.push(r),n.push(...Jw(r,t));return n}var Yw=class{constructor(e,t,n){this.docx=e,this.styleCache=t,this.numberingCache=n}};function Xw(e,t){let n={},r=O(e,`w:pgSz`);if(r){let t={},i={},a=D(r,`w:w`);a!==void 0&&(i.width=a);let o=D(r,`w:h`);o!==void 0&&(i.height=o);let s=T(r,`w:orient`);s&&(i.orientation=s),Object.keys(i).length>0&&(t.size=i);let c=O(e,`w:pgMar`);if(c){let e={};for(let[t,n]of[[`w:top`,`top`],[`w:right`,`right`],[`w:bottom`,`bottom`],[`w:left`,`left`],[`w:header`,`header`],[`w:footer`,`footer`],[`w:gutter`,`gutter`]]){let r=D(c,t);r!==void 0&&(e[n]=r)}Object.keys(e).length>0&&(t.margin=e)}let l=O(e,`w:pgNumType`);if(l){let e={},n=D(l,`w:start`);n!==void 0&&(e.start=n);let r=T(l,`w:fmt`);r&&(e.formatType=r),Object.keys(e).length>0&&(t.pageNumbers=e)}Object.keys(t).length>0&&(n.page=t)}let i=O(e,`w:cols`);if(i){let e={},t=D(i,`w:num`);t!==void 0&&(e.count=t);let r=D(i,`w:space`);r!==void 0&&(e.space=r),E(i,`w:sep`)&&(e.separator=!0),Object.keys(e).length>0&&(n.column=e)}let a=O(e,`w:type`);if(a){let e=T(a,`w:val`);e&&(n.type=e)}let o=O(e,`w:titlePg`);o&&(n.titlePage=E(o,`w:val`)??!0);for(let[t,r]of[[`w:noEndnote`,`noEndnote`],[`w:formProt`,`formProtection`],[`w:bidi`,`bidi`],[`w:rtlGutter`,`rtlGutter`]]){let i=O(e,t);i&&(n[r]=E(i,`w:val`)??!0)}let s=O(e,`w:docGrid`);if(s){let e={},t=T(s,`w:type`);t&&(e.type=t);let r=D(s,`w:linePitch`);r!==void 0&&(e.linePitch=r);let i=D(s,`w:charSpace`);i!==void 0&&(e.charSpace=i),Object.keys(e).length>0&&(n.grid=e)}let c=O(e,`w:lnNumType`);if(c){let e={},t=D(c,`w:count`);t!==void 0&&(e.count=t);let r=D(c,`w:start`);r!==void 0&&(e.start=r);let i=T(c,`w:restart`);i&&(e.restart=i);let a=D(c,`w:distance`);a!==void 0&&(e.distance=a),Object.keys(e).length>0&&(n.lineNumbers=e)}let l=O(e,`w:vAlign`);if(l){let e=T(l,`w:val`);e&&(n.verticalAlign=e)}let u={},d={};for(let n of e.elements??[]){if(n.name===`w:headerReference`){let e=T(n,`r:id`),r=T(n,`w:type`);if(e&&r){let n=Zw(e,t);n&&(u[r]=n)}}if(n.name===`w:footerReference`){let e=T(n,`r:id`),r=T(n,`w:type`);if(e&&r){let n=Zw(e,t);n&&(d[r]=n)}}}return Object.keys(u).length>0&&(n.parsedHeaders=u),Object.keys(d).length>0&&(n.parsedFooters=d),n}function Zw(e,t){let n=t.docx.partRefs.headers.get(e)??t.docx.partRefs.footers.get(e);if(!n)return;let r=t.docx.doc.get(n);if(!r)return;let i=[];for(let e of r.elements??[]){let n=Qw(e,t);n!==void 0&&i.push(n)}return i.length>0?i:void 0}function Qw(e,t){switch(e.name){case`w:p`:{let n=$w(e,`w:drawing`);if(n){let r=ew(n,t);if(r)return{paragraph:{...Tw(e,t),children:[r]}}}let r=O(e,`w:pict`);return r&&$w(r,`v:textbox`)?{textbox:qw(r,t)}:{paragraph:Tw(e,t)}}case`w:tbl`:return{table:Uw(e,t)};case`w:sdt`:{let n=jw(e,t);if(n)return{toc:n};let r=kw(e,t);return{sdt:{properties:r.properties,children:r.children}}}case`w:altChunk`:return{altChunk:$C(e,t)};case`w:subDoc`:return{subDoc:Aw(e,t)};default:return new ae(e)}}function $w(e,t){for(let n of e.elements??[]){if(n.name===t)return n;let e=$w(n,t);if(e)return e}}function eT(e,t){Bw(Qw),Dw(tT),Gw(tT);let n=[],r=[];for(let t of e.elements??[])if(t.name===`w:sectPr`)r.push({index:n.length,sectPr:t});else if(n.push(t),t.name===`w:p`){let e=O(t,`w:pPr`);if(e){let t=O(e,`w:sectPr`);t&&r.push({index:n.length,sectPr:t})}}if(r.length===0)return[{children:n.map(e=>Qw(e,t))}];let i=[],a=0;for(let e=0;e<r.length;e++){let o=r[e],s=n.slice(a,o.index),c=Xw(o.sectPr,t),l=c,u=l.parsedHeaders,d=l.parsedFooters,f={...c};delete f.parsedHeaders,delete f.parsedFooters;let p={children:s.map(e=>Qw(e,t)),properties:f,...u?{headers:u}:{},...d?{footers:d}:{}};i.push(p),a=o.index}return i}function tT(e,t){return e.map(e=>Qw(e,t))}function nT(e){let t=new Map;if(!e.styles)return t;for(let n of e.styles.elements??[]){if(n.name!==`w:style`)continue;let e=O(n,`w:styleId`),r=e?T(e,`w:val`):void 0;r&&t.set(r,n)}return t}function rT(e){let t=new Map;if(!e.numbering)return t;for(let n of e.numbering.elements??[]){if(n.name!==`w:abstractNum`)continue;let e=T(n,`w:abstractNumId`);e!==void 0&&t.set(e,n)}return t}function iT(e){return e.startsWith(`/`)?e.slice(1):e.startsWith(`../`)?e.replace(`../`,``):`word/${e}`}function aT(e){let t={headers:new Map,footers:new Map,charts:new Map,diagramData:new Map,media:new Map,afChunks:new Map,subDocs:new Map},n=e.get(`word/_rels/document.xml.rels`);if(!n)return t;for(let e of n.elements??[]){if(e.name!==`Relationship`)continue;let n=T(e,`Type`)??``,r=T(e,`Target`)??``,i=T(e,`Id`)??``;if(!r)continue;let a=iT(r);n.includes(`/header`)?t.headers.set(i,a):n.includes(`/footer`)?t.footers.set(i,a):n.includes(`/footnotes`)?t.footnotes=a:n.includes(`/endnotes`)?t.endnotes=a:n.includes(`/comments`)?t.comments=a:n.includes(`/chart`)?t.charts.set(i,a):n.includes(`/diagramData`)?t.diagramData.set(i,a):n.includes(`/image`)||n.includes(`/media`)?t.media.set(i,a):n.includes(`/aFChunk`)?t.afChunks.set(i,a):n.includes(`/subDocument`)&&t.subDocs.set(i,a)}return t}function oT(e){let t=e.get(`_rels/.rels`);if(!t)return{};let n,r,i;for(let e of t.elements??[]){if(e.name!==`Relationship`)continue;let t=T(e,`Type`)??``,a=T(e,`Target`)??``;if(!a)continue;let o=a.startsWith(`/`)?a.slice(1):a;t.includes(`/core-properties`)?n=o:t.includes(`/extended-properties`)?r=o:t.includes(`/custom-properties`)&&(i=o)}return{coreProps:n,appProps:r,customProps:i}}function sT(e){let t=cT(e),n=new Yw(t,nT(t),rT(t));return eT(t.body,n)}function cT(e){let t=Se(e),n=t.get(`word/document.xml`);if(!n)throw Error(`word/document.xml not found`);let r=n.elements?.find(e=>e.name===`w:body`);if(!r)throw Error(`w:body not found in word/document.xml`);let i=t.get(`word/styles.xml`),a=t.get(`word/numbering.xml`),o=t.get(`word/settings.xml`),s=t.get(`word/fontTable.xml`),c=t.get(`word/webSettings.xml`),l=aT(t),{coreProps:u,appProps:d,customProps:f}=oT(t);return{doc:t,body:r,styles:i,numbering:a,settings:o,fontTable:s,webSettings:c,partRefs:l,coreProps:u,appProps:d,customProps:f}}var lT=t({AbstractNumbering:()=>n_,AlignmentType:()=>M,AltChunk:()=>pd,AltChunkCollection:()=>im,AnnotationReference:()=>ko,Attributes:()=>A,BaseXmlComponent:()=>a,Bdo:()=>qs,Bibliography:()=>um,Body:()=>Dh,Bookmark:()=>Ss,BookmarkEnd:()=>ws,BookmarkStart:()=>Cs,Border:()=>Tt,BorderStyle:()=>St,BuilderElement:()=>o,COLOR_CATEGORIES:()=>Je,CarriageReturn:()=>Fo,CellMerge:()=>hf,CellMergeAttributes:()=>mf,CharacterSet:()=>Xs,ChartCollection:()=>Ke,ChartRun:()=>Wa,ChartSpace:()=>qe,CheckBox:()=>Zv,CheckBoxSymbolElement:()=>qv,CheckBoxUtil:()=>Yv,Column:()=>Ah,ColumnBreak:()=>$o,Comment:()=>vo,CommentRangeEnd:()=>go,CommentRangeStart:()=>ho,CommentReference:()=>_o,Comments:()=>yo,ConcreteHyperlink:()=>ui,ConcreteNumbering:()=>o_,ContinuationSeparator:()=>No,DEFAULT_DRAWING_XML:()=>Ye,DayLong:()=>Eo,DayShort:()=>Co,DeletedTableCell:()=>df,DeletedTableRow:()=>sf,DeletedTextRun:()=>Xd,Dir:()=>Ks,Document:()=>kv,DocumentAttributeNamespaces:()=>bm,DocumentBackground:()=>Ih,DocumentBackgroundAttributes:()=>Fh,DocumentDefaults:()=>vv,DocumentGridType:()=>Bm,Drawing:()=>ja,DropCapType:()=>cc,EMPTY_OBJECT:()=>l,EditGroupType:()=>ey,EmphasisMarkType:()=>un,EmptyElement:()=>u,EndnoteIdReference:()=>Bv,EndnoteReference:()=>jo,EndnoteReferenceRun:()=>Vv,EndnoteReferenceRunAttributes:()=>zv,Endnotes:()=>sg,ExternalHyperlink:()=>fi,File:()=>kv,FootNoteReferenceRunAttributes:()=>Mv,FootNotes:()=>Ag,Footer:()=>Fg,FooterWrapper:()=>_g,FootnoteReference:()=>Nv,FootnoteReferenceElement:()=>Ao,FootnoteReferenceRun:()=>Pv,FormFieldTextType:()=>Pt,FractionType:()=>Bl,FrameAnchorType:()=>lc,FrameWrap:()=>uc,GridSpan:()=>Ef,Header:()=>Pg,HeaderFooterReferenceType:()=>Jm,HeaderFooterType:()=>Ym,HeaderWrapper:()=>zg,HeadingLevel:()=>as,HeightRule:()=>up,HighlightColor:()=>On,HorizontalPositionAlign:()=>Nn,HorizontalPositionRelativeFrom:()=>nr,HpsMeasureElement:()=>f,HyperlinkType:()=>li,IgnoreIfEmptyXmlComponent:()=>p,ImageRun:()=>Va,ImportedRootElementAttributes:()=>m,ImportedXmlComponent:()=>ee,InitializableXmlComponent:()=>te,InsertedTableCell:()=>lf,InsertedTableRow:()=>af,InsertedTextRun:()=>Hd,InternalHyperlink:()=>di,LAYOUT_CATEGORIES:()=>Xe,LastRenderedPageBreak:()=>Lo,LeaderType:()=>ls,Level:()=>Xg,LevelBase:()=>Yg,LevelForOverride:()=>Zg,LevelFormat:()=>Vg,LevelOverride:()=>c_,LevelSuffix:()=>Kg,LineNumberRestartFormat:()=>Qm,LineRuleType:()=>ns,Math:()=>ou,MathAngledBrackets:()=>Al,MathBorderBox:()=>ul,MathBox:()=>hl,MathCurlyBrackets:()=>Ol,MathDegree:()=>ju,MathDenominator:()=>Rl,MathEqArr:()=>Fl,MathFraction:()=>Gl,MathFunction:()=>Ql,MathFunctionName:()=>Jl,MathGroupChr:()=>ru,MathIntegral:()=>Ic,MathLimit:()=>Rc,MathLimitLower:()=>Jc,MathLimitUpper:()=>Wc,MathMatrix:()=>Cu,MathNumerator:()=>Ul,MathParagraph:()=>du,MathPhant:()=>Ou,MathPreSubSuperScript:()=>id,MathRadical:()=>Ru,MathRadicalProperties:()=>Iu,MathRoundBrackets:()=>wl,MathRun:()=>yu,MathSquareBrackets:()=>El,MathSubScript:()=>Ju,MathSubSuperScript:()=>$u,MathSum:()=>Pc,MathSuperScript:()=>Uu,Media:()=>Fa,MonthLong:()=>Do,MonthShort:()=>wo,MoveFromRangeEnd:()=>ks,MoveFromRangeStart:()=>Os,MoveToRangeEnd:()=>js,MoveToRangeStart:()=>As,MovedFromTextRun:()=>$d,MovedToTextRun:()=>ef,NextAttributeComponent:()=>ne,NoBreakHyphen:()=>xo,NumberFormat:()=>In,NumberProperties:()=>ms,NumberValueElement:()=>re,NumberedItemReference:()=>Ls,NumberedItemReferenceFormat:()=>Fs,Numbering:()=>f_,OnOffElement:()=>h,OverlapType:()=>Jf,Packer:()=>gC,PageBorderDisplay:()=>th,PageBorderOffsetFrom:()=>nh,PageBorderZOrder:()=>rh,PageBorders:()=>ah,PageBreak:()=>Qo,PageBreakBefore:()=>es,PageNumber:()=>B,PageNumberElement:()=>Po,PageNumberSeparator:()=>lh,PageOrientation:()=>fh,PageReference:()=>Us,PageTextDirection:()=>_h,PageTextDirectionType:()=>hh,Paragraph:()=>U,ParagraphProperties:()=>hc,ParagraphPropertiesChange:()=>gc,ParagraphPropertiesDefaults:()=>mv,ParagraphRunProperties:()=>An,PatchType:()=>WC,PermEnd:()=>iy,PermStart:()=>ry,PositionalTab:()=>Uo,PositionalTabAlignment:()=>zo,PositionalTabLeader:()=>Vo,PositionalTabRelativeTo:()=>Bo,PrettifyType:()=>ie,RelativeHorizontalPosition:()=>Kf,RelativeVerticalPosition:()=>qf,RubyAlign:()=>Go,Run:()=>V,RunProperties:()=>kn,RunPropertiesChange:()=>jn,RunPropertiesDefaults:()=>gv,STYLE_CATEGORIES:()=>Ze,SdtDateMappingType:()=>bd,SdtLock:()=>yd,SectionProperties:()=>wh,SectionPropertiesChange:()=>Th,SectionType:()=>yh,Separator:()=>Mo,SequentialIdentifier:()=>ro,ShadingType:()=>en,SimpleField:()=>oo,SimpleMailMergeField:()=>so,SmartArtCollection:()=>Qe,SmartArtRun:()=>qa,SoftHyphen:()=>So,SpaceType:()=>Rn,StringContainer:()=>_,StringEnumValueElement:()=>oe,StringValueElement:()=>v,StructuredDocumentTagBlock:()=>Pd,StructuredDocumentTagCell:()=>Bd,StructuredDocumentTagContent:()=>_d,StructuredDocumentTagProperties:()=>Ed,StructuredDocumentTagRow:()=>jp,StructuredDocumentTagRun:()=>Nd,StyleForCharacter:()=>G_,StyleForParagraph:()=>U_,StyleLevel:()=>Ad,Styles:()=>fv,SubDoc:()=>Rd,SubDocCollection:()=>Dv,SymbolRun:()=>Xn,TDirection:()=>Mf,Tab:()=>Io,TabStopPosition:()=>us,TabStopType:()=>cs,Table:()=>zp,TableAnchorType:()=>Gf,TableBorders:()=>Uf,TableCell:()=>kp,TableCellBorders:()=>wf,TableLayoutType:()=>$f,TableOfContents:()=>Od,TableProperties:()=>ip,TablePropertyExceptions:()=>sp,TableRow:()=>gp,TableRowProperties:()=>pp,TableRowPropertiesChange:()=>mp,TextAlignmentType:()=>pc,TextBodyWrappingType:()=>Pr,TextDirection:()=>Af,TextEffect:()=>Dn,TextHorzOverflowType:()=>Mr,TextRun:()=>Gn,TextVertOverflowType:()=>jr,TextVerticalType:()=>Nr,TextWrappingSide:()=>Ji,TextWrappingType:()=>qi,Textbox:()=>Qp,TextboxTightWrapType:()=>mc,ThematicBreak:()=>Et,UnderlineType:()=>Cn,VerticalAlign:()=>bf,VerticalAlignSection:()=>yf,VerticalAlignTable:()=>vf,VerticalAnchor:()=>Ar,VerticalMerge:()=>kf,VerticalMergeRevisionType:()=>pf,VerticalMergeType:()=>Df,VerticalPositionAlign:()=>Pn,VerticalPositionRelativeFrom:()=>rr,WORKAROUND2:()=>``,WORKAROUND4:()=>``,WidthType:()=>Rf,WpgGroupRun:()=>Za,WpsShapeRun:()=>Ya,XmlAttributeComponent:()=>y,XmlComponent:()=>b,YearLong:()=>Oo,YearShort:()=>To,abstractNumUniqueNumericIdGen:()=>Qn,bookmarkUniqueNumericIdGen:()=>tr,buildDocumentAttributes:()=>ym,buildRunProperties:()=>En,chartAttr:()=>ue,coerceSectionChild:()=>tm,concreteNumUniqueNumericIdGen:()=>$n,convertInchesToTwip:()=>x,convertMillimetersToTwip:()=>fe,convertToXmlComponent:()=>ge,createAlignment:()=>yt,createBodyProperties:()=>Lr,createBorderElement:()=>F,createBreak:()=>Mt,createCnfStyle:()=>Ot,createColumns:()=>Rm,createDataModel:()=>$e,createDivId:()=>Ns,createDocumentGrid:()=>Vm,createDotEmphasisMark:()=>fn,createEmphasisMark:()=>dn,createFormFieldData:()=>zt,createFrameProperties:()=>dc,createHeaderFooterReference:()=>Xm,createHorizontalPosition:()=>dr,createIndent:()=>At,createLineNumberType:()=>$m,createMathAccent:()=>Qc,createMathAccentCharacter:()=>yc,createMathAccentProperties:()=>Xc,createMathBar:()=>al,createMathBarProperties:()=>rl,createMathBase:()=>W,createMathBorderBoxProperties:()=>cl,createMathBoxProperties:()=>pl,createMathControlProperties:()=>Bc,createMathEqArrProperties:()=>Nl,createMathFractionProperties:()=>Vl,createMathFunctionProperties:()=>Xl,createMathGroupChrProperties:()=>tu,createMathLimitLocation:()=>Sc,createMathLimitLowProperties:()=>Kc,createMathLimitUpperProperties:()=>Hc,createMathMatrixProperties:()=>xu,createMathNAryProperties:()=>Oc,createMathPhantProperties:()=>Eu,createMathPreSubSuperScriptProperties:()=>nd,createMathProperties:()=>pu,createMathRunProperties:()=>hu,createMathSubScriptElement:()=>Ac,createMathSubScriptProperties:()=>Ku,createMathSubSuperScriptProperties:()=>Zu,createMathSuperScriptElement:()=>Mc,createMathSuperScriptProperties:()=>Vu,createOutlineLevel:()=>zs,createPageMargin:()=>sh,createPageNumberType:()=>uh,createPageSize:()=>ph,createParagraphStyle:()=>os,createRuby:()=>qo,createRunFonts:()=>xn,createSectionType:()=>bh,createShading:()=>$t,createSimplePos:()=>ar,createSpacing:()=>rs,createStringElement:()=>_t,createTabStop:()=>fs,createTabStopItem:()=>ds,createTableFloatProperties:()=>Xf,createTableLayout:()=>ep,createTableLook:()=>np,createTableOverlap:()=>Zf,createTableRowHeight:()=>dp,createTableWidthElement:()=>zf,createTransformation:()=>Pa,createUnderline:()=>wn,createVerticalAlign:()=>xf,createVerticalPosition:()=>pr,createWrapNone:()=>Xi,createWrapSquare:()=>Qi,createWrapThrough:()=>ia,createWrapTight:()=>ta,createWrapTopAndBottom:()=>oa,docPropertiesUniqueNumericIdGen:()=>er,getColorXml:()=>et,getLayoutXml:()=>tt,getStyleXml:()=>nt,hashedId:()=>ye,parseArchive:()=>Se,parseDocument:()=>sT,parseDocx:()=>cT,patchDetector:()=>ZC,patchDocument:()=>JC,sectionMarginDefaults:()=>Sh,sectionPageSizeDefaults:()=>Ch,uniqueId:()=>Oe,uniqueNumericIdCreator:()=>ke,uniqueUuid:()=>je,wrapEl:()=>Me});_y(),_y(),n(lT,gy),n(lT,_C);export{n_ as AbstractNumbering,M as AlignmentType,pd as AltChunk,im as AltChunkCollection,ko as AnnotationReference,A as Attributes,a as BaseXmlComponent,qs as Bdo,um as Bibliography,Dh as Body,Ss as Bookmark,ws as BookmarkEnd,Cs as BookmarkStart,Tt as Border,St as BorderStyle,o as BuilderElement,Je as COLOR_CATEGORIES,Fo as CarriageReturn,hf as CellMerge,mf as CellMergeAttributes,Xs as CharacterSet,Ke as ChartCollection,Wa as ChartRun,qe as ChartSpace,Zv as CheckBox,qv as CheckBoxSymbolElement,Yv as CheckBoxUtil,Ah as Column,$o as ColumnBreak,vo as Comment,go as CommentRangeEnd,ho as CommentRangeStart,_o as CommentReference,yo as Comments,ui as ConcreteHyperlink,o_ as ConcreteNumbering,No as ContinuationSeparator,Ye as DEFAULT_DRAWING_XML,Eo as DayLong,Co as DayShort,df as DeletedTableCell,sf as DeletedTableRow,Xd as DeletedTextRun,Ks as Dir,kv as Document,kv as File,bm as DocumentAttributeNamespaces,Ih as DocumentBackground,Fh as DocumentBackgroundAttributes,vv as DocumentDefaults,Bm as DocumentGridType,ja as Drawing,cc as DropCapType,l as EMPTY_OBJECT,ey as EditGroupType,un as EmphasisMarkType,u as EmptyElement,Bv as EndnoteIdReference,jo as EndnoteReference,Vv as EndnoteReferenceRun,zv as EndnoteReferenceRunAttributes,sg as Endnotes,fi as ExternalHyperlink,Mv as FootNoteReferenceRunAttributes,Ag as FootNotes,Fg as Footer,_g as FooterWrapper,Nv as FootnoteReference,Ao as FootnoteReferenceElement,Pv as FootnoteReferenceRun,Pt as FormFieldTextType,Bl as FractionType,lc as FrameAnchorType,uc as FrameWrap,Ef as GridSpan,Pg as Header,Jm as HeaderFooterReferenceType,Ym as HeaderFooterType,zg as HeaderWrapper,as as HeadingLevel,up as HeightRule,On as HighlightColor,Nn as HorizontalPositionAlign,nr as HorizontalPositionRelativeFrom,f as HpsMeasureElement,li as HyperlinkType,p as IgnoreIfEmptyXmlComponent,Va as ImageRun,m as ImportedRootElementAttributes,ee as ImportedXmlComponent,te as InitializableXmlComponent,lf as InsertedTableCell,af as InsertedTableRow,Hd as InsertedTextRun,di as InternalHyperlink,Xe as LAYOUT_CATEGORIES,Lo as LastRenderedPageBreak,ls as LeaderType,Xg as Level,Yg as LevelBase,Zg as LevelForOverride,Vg as LevelFormat,c_ as LevelOverride,Kg as LevelSuffix,Qm as LineNumberRestartFormat,ns as LineRuleType,ou as Math,Al as MathAngledBrackets,ul as MathBorderBox,hl as MathBox,Ol as MathCurlyBrackets,ju as MathDegree,Rl as MathDenominator,Fl as MathEqArr,Gl as MathFraction,Ql as MathFunction,Jl as MathFunctionName,ru as MathGroupChr,Ic as MathIntegral,Rc as MathLimit,Jc as MathLimitLower,Wc as MathLimitUpper,Cu as MathMatrix,Ul as MathNumerator,du as MathParagraph,Ou as MathPhant,id as MathPreSubSuperScript,Ru as MathRadical,Iu as MathRadicalProperties,wl as MathRoundBrackets,yu as MathRun,El as MathSquareBrackets,Ju as MathSubScript,$u as MathSubSuperScript,Pc as MathSum,Uu as MathSuperScript,Fa as Media,Do as MonthLong,wo as MonthShort,ks as MoveFromRangeEnd,Os as MoveFromRangeStart,js as MoveToRangeEnd,As as MoveToRangeStart,$d as MovedFromTextRun,ef as MovedToTextRun,ne as NextAttributeComponent,xo as NoBreakHyphen,In as NumberFormat,ms as NumberProperties,re as NumberValueElement,Ls as NumberedItemReference,Fs as NumberedItemReferenceFormat,f_ as Numbering,h as OnOffElement,Jf as OverlapType,gC as Packer,th as PageBorderDisplay,nh as PageBorderOffsetFrom,rh as PageBorderZOrder,ah as PageBorders,Qo as PageBreak,es as PageBreakBefore,B as PageNumber,Po as PageNumberElement,lh as PageNumberSeparator,fh as PageOrientation,Us as PageReference,_h as PageTextDirection,hh as PageTextDirectionType,U as Paragraph,hc as ParagraphProperties,gc as ParagraphPropertiesChange,mv as ParagraphPropertiesDefaults,An as ParagraphRunProperties,WC as PatchType,iy as PermEnd,ry as PermStart,Uo as PositionalTab,zo as PositionalTabAlignment,Vo as PositionalTabLeader,Bo as PositionalTabRelativeTo,ie as PrettifyType,Kf as RelativeHorizontalPosition,qf as RelativeVerticalPosition,Go as RubyAlign,V as Run,kn as RunProperties,jn as RunPropertiesChange,gv as RunPropertiesDefaults,Ze as STYLE_CATEGORIES,bd as SdtDateMappingType,yd as SdtLock,wh as SectionProperties,Th as SectionPropertiesChange,yh as SectionType,Mo as Separator,ro as SequentialIdentifier,en as ShadingType,oo as SimpleField,so as SimpleMailMergeField,Qe as SmartArtCollection,qa as SmartArtRun,So as SoftHyphen,Rn as SpaceType,_ as StringContainer,oe as StringEnumValueElement,v as StringValueElement,Pd as StructuredDocumentTagBlock,Bd as StructuredDocumentTagCell,_d as StructuredDocumentTagContent,Ed as StructuredDocumentTagProperties,jp as StructuredDocumentTagRow,Nd as StructuredDocumentTagRun,G_ as StyleForCharacter,U_ as StyleForParagraph,Ad as StyleLevel,fv as Styles,Rd as SubDoc,Dv as SubDocCollection,Xn as SymbolRun,Mf as TDirection,Io as Tab,us as TabStopPosition,cs as TabStopType,zp as Table,Gf as TableAnchorType,Uf as TableBorders,kp as TableCell,wf as TableCellBorders,$f as TableLayoutType,Od as TableOfContents,ip as TableProperties,sp as TablePropertyExceptions,gp as TableRow,pp as TableRowProperties,mp as TableRowPropertiesChange,pc as TextAlignmentType,Pr as TextBodyWrappingType,Af as TextDirection,Dn as TextEffect,Mr as TextHorzOverflowType,Gn as TextRun,jr as TextVertOverflowType,Nr as TextVerticalType,Ji as TextWrappingSide,qi as TextWrappingType,Qp as Textbox,mc as TextboxTightWrapType,Et as ThematicBreak,Cn as UnderlineType,bf as VerticalAlign,yf as VerticalAlignSection,vf as VerticalAlignTable,Ar as VerticalAnchor,kf as VerticalMerge,pf as VerticalMergeRevisionType,Df as VerticalMergeType,Pn as VerticalPositionAlign,rr as VerticalPositionRelativeFrom,La as WORKAROUND2,cu as WORKAROUND4,Rf as WidthType,Za as WpgGroupRun,Ya as WpsShapeRun,y as XmlAttributeComponent,b as XmlComponent,Oo as YearLong,To as YearShort,Qn as abstractNumUniqueNumericIdGen,tr as bookmarkUniqueNumericIdGen,ym as buildDocumentAttributes,En as buildRunProperties,ue as chartAttr,tm as coerceSectionChild,$n as concreteNumUniqueNumericIdGen,x as convertInchesToTwip,fe as convertMillimetersToTwip,ge as convertToXmlComponent,yt as createAlignment,Lr as createBodyProperties,F as createBorderElement,Mt as createBreak,Ot as createCnfStyle,Rm as createColumns,$e as createDataModel,Ns as createDivId,Vm as createDocumentGrid,fn as createDotEmphasisMark,dn as createEmphasisMark,zt as createFormFieldData,dc as createFrameProperties,Xm as createHeaderFooterReference,dr as createHorizontalPosition,At as createIndent,$m as createLineNumberType,Qc as createMathAccent,yc as createMathAccentCharacter,Xc as createMathAccentProperties,al as createMathBar,rl as createMathBarProperties,W as createMathBase,cl as createMathBorderBoxProperties,pl as createMathBoxProperties,Bc as createMathControlProperties,Nl as createMathEqArrProperties,Vl as createMathFractionProperties,Xl as createMathFunctionProperties,tu as createMathGroupChrProperties,Sc as createMathLimitLocation,Kc as createMathLimitLowProperties,Hc as createMathLimitUpperProperties,xu as createMathMatrixProperties,Oc as createMathNAryProperties,Eu as createMathPhantProperties,nd as createMathPreSubSuperScriptProperties,pu as createMathProperties,hu as createMathRunProperties,Ac as createMathSubScriptElement,Ku as createMathSubScriptProperties,Zu as createMathSubSuperScriptProperties,Mc as createMathSuperScriptElement,Vu as createMathSuperScriptProperties,zs as createOutlineLevel,sh as createPageMargin,uh as createPageNumberType,ph as createPageSize,os as createParagraphStyle,qo as createRuby,xn as createRunFonts,bh as createSectionType,$t as createShading,ar as createSimplePos,rs as createSpacing,_t as createStringElement,fs as createTabStop,ds as createTabStopItem,Xf as createTableFloatProperties,ep as createTableLayout,np as createTableLook,Zf as createTableOverlap,dp as createTableRowHeight,zf as createTableWidthElement,Pa as createTransformation,wn as createUnderline,xf as createVerticalAlign,pr as createVerticalPosition,Xi as createWrapNone,Qi as createWrapSquare,ia as createWrapThrough,ta as createWrapTight,oa as createWrapTopAndBottom,er as docPropertiesUniqueNumericIdGen,et as getColorXml,tt as getLayoutXml,nt as getStyleXml,ye as hashedId,Se as parseArchive,sT as parseDocument,cT as parseDocx,ZC as patchDetector,JC as patchDocument,Sh as sectionMarginDefaults,Ch as sectionPageSizeDefaults,Oe as uniqueId,ke as uniqueNumericIdCreator,je as uniqueUuid,Me as wrapEl};
11
11
  //# sourceMappingURL=index.mjs.map