@docx-editor.dev/core 2.6.1 → 2.7.0
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/automation.cjs +1 -1
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +7 -7
- package/dist/binding.d.ts +7 -7
- package/dist/binding.js +1 -1
- package/dist/chunk-32HTRN7R.js +10 -0
- package/dist/chunk-42PRWWVE.js +2 -0
- package/dist/chunk-BRBRYJKE.cjs +2 -0
- package/dist/{chunk-SFMAIFEN.cjs → chunk-DTR64XCS.cjs} +2 -2
- package/dist/chunk-EMQSFPJO.cjs +15 -0
- package/dist/chunk-GBK7Z6F4.cjs +5 -0
- package/dist/{chunk-SMRD66T5.js → chunk-GPJXQDHC.js} +2 -2
- package/dist/chunk-JLSB6KNZ.js +5 -0
- package/dist/chunk-LEV2X47E.cjs +18 -0
- package/dist/chunk-NDTLLSG7.js +1 -0
- package/dist/chunk-O4VILLOM.cjs +1 -0
- package/dist/chunk-OB6JFVYA.js +15 -0
- package/dist/chunk-QTUZFJ4O.js +18 -0
- package/dist/chunk-UE7KTQLK.js +2 -0
- package/dist/chunk-WC3LI6FC.cjs +10 -0
- package/dist/chunk-XRDTD4X3.cjs +2 -0
- package/dist/contracts/editor.d.cts +6 -6
- package/dist/contracts/editor.d.ts +6 -6
- package/dist/contracts/interaction.d.cts +6 -6
- package/dist/contracts/interaction.d.ts +6 -6
- package/dist/contracts/modules.d.cts +3 -3
- package/dist/contracts/modules.d.ts +3 -3
- package/dist/contracts/types.d.cts +9 -1
- package/dist/contracts/types.d.ts +9 -1
- package/dist/{custom-node-writes-tJw8U9MO.d.ts → custom-node-writes-BpOBjNzo.d.ts} +3 -9
- package/dist/{custom-node-writes-D9G3GKQ7.d.cts → custom-node-writes-C_AlNvds.d.cts} +3 -9
- package/dist/{editor-D2zOJztO.d.ts → editor-C--WWCBA.d.ts} +14 -14
- package/dist/{editor-BZEJL3vv.d.cts → editor-CXaGlcUa.d.cts} +14 -14
- package/dist/editor.cjs +1 -1
- package/dist/editor.d.cts +19 -19
- package/dist/editor.d.ts +19 -19
- package/dist/editor.js +1 -1
- package/dist/{image-resources-Cl5_cNi9.d.ts → image-resources-BWd5u-op.d.ts} +1 -1
- package/dist/{image-resources-BaHz4QAd.d.cts → image-resources-Bkmu1Jei.d.cts} +1 -1
- package/dist/{index-D8L8WrNF.d.ts → index-DW0TsrYl.d.ts} +11 -11
- package/dist/{index-_xF7n_z0.d.cts → index-QsE1xXyT.d.cts} +11 -11
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +86 -17
- package/dist/layout.d.ts +86 -17
- package/dist/layout.js +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +5 -5
- package/dist/output.d.ts +5 -5
- package/dist/output.js +1 -1
- package/dist/{review-reads-HDvoQXK2.d.ts → review-reads-C5E7u-pt.d.ts} +1 -1
- package/dist/{review-reads-Dr0CpW6u.d.cts → review-reads-ChgUq41I.d.cts} +1 -1
- package/dist/{review-support-D4ZBdUXa.d.ts → review-support-Cr2n7f1-.d.ts} +1 -1
- package/dist/{review-support-T-riLz4Y.d.cts → review-support-oQrX6Xu3.d.cts} +1 -1
- package/dist/{semantic-cell-selection-B5vfPz4Q.d.ts → semantic-cell-selection-C8RC0VnN.d.ts} +2 -2
- package/dist/{semantic-cell-selection-BTQFpN0S.d.cts → semantic-cell-selection-CQOgvtbT.d.cts} +2 -2
- package/dist/{semantic-interaction-lvpzZRpA.d.ts → semantic-interaction-C45D_oG2.d.ts} +1 -1
- package/dist/{semantic-interaction-CDNEU_Tx.d.cts → semantic-interaction-f4GyBQ_1.d.cts} +1 -1
- package/dist/{semantic-paint-IjbL-4CT.d.cts → semantic-paint-BUt0ePEW.d.cts} +8 -2
- package/dist/{semantic-paint-BBPL3u5w.d.ts → semantic-paint-DUkGLJ_L.d.ts} +8 -2
- package/dist/{semantic-records-DEOs3_tE.d.cts → semantic-records-CuT3Wsd-.d.cts} +18 -11
- package/dist/{semantic-records-CdQvpUj1.d.ts → semantic-records-DoW_xNgJ.d.ts} +18 -11
- package/dist/{shaped-measurer-C2SJAjV0.d.cts → shaped-measurer-CDcHzjhf.d.cts} +1 -1
- package/dist/{shaped-measurer-l4o5ITJ0.d.ts → shaped-measurer-CakZ7g1s.d.ts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +43 -9
- package/dist/store.d.ts +43 -9
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-CUCwPWjT.d.cts → tree-op-types-QujrzgCz.d.cts} +8 -0
- package/dist/{tree-op-types-D0fTNBVW.d.ts → tree-op-types-fZgbrR5F.d.ts} +8 -0
- package/dist/{tree-session-CH1oA75f.d.ts → tree-session--6LDTNjR.d.ts} +5 -5
- package/dist/{tree-session-b7bggR-S.d.cts → tree-session-5UWKAQ41.d.cts} +5 -5
- package/dist/{tree-store-BqgeCa1Q.d.cts → tree-store-DhYIACNE.d.cts} +1 -1
- package/dist/{tree-store-CIKASRHk.d.ts → tree-store-Dy9FZ1pa.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-4GQXAXTZ.js +0 -5
- package/dist/chunk-DGUHCJPF.cjs +0 -18
- package/dist/chunk-DY3QVCWC.cjs +0 -10
- package/dist/chunk-E7BXJ4BF.js +0 -1
- package/dist/chunk-F7Z6PWAZ.cjs +0 -2
- package/dist/chunk-IJ4V3LGV.cjs +0 -2
- package/dist/chunk-JEMP5YI5.cjs +0 -15
- package/dist/chunk-JZXK4DKV.cjs +0 -1
- package/dist/chunk-NIGGABAA.js +0 -15
- package/dist/chunk-OPKOTVQQ.js +0 -18
- package/dist/chunk-R75OLPL6.js +0 -10
- package/dist/chunk-SKWYEZCO.cjs +0 -5
- package/dist/chunk-UVIUNAQ6.js +0 -2
- package/dist/chunk-WAVN7MAT.js +0 -2
package/dist/chunk-DGUHCJPF.cjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkSFMAIFEN_cjs=require('./chunk-SFMAIFEN.cjs'),chunkDY3QVCWC_cjs=require('./chunk-DY3QVCWC.cjs');var Yt=e=>{if(!Number.isSafeInteger(e))throw new RangeError("Fixed-point value must be a safe integer");return e},Ya=(e,t)=>{if(e.trim().length===0||/[\u0000-\u001f\u007f]/.test(e))throw new TypeError(`${t} must be non-blank and contain no control characters`)},Sy=(e,t)=>{if(!/^[\x20-\x7e]{4}$/.test(e))throw new TypeError(`${t} must be a four-byte ASCII tag`)},Uu=(e,t,n)=>{let r=Object.entries(e).sort(([a],[i])=>a<i?-1:a>i?1:0),o=Object.create(null);for(let[a,i]of r){if(Sy(a,`${t} key`),!Number.isFinite(i)||n&&(!Number.isSafeInteger(i)||i<0))throw new RangeError(`${t} value must be ${n?"a non-negative safe integer":"finite"}`);if(n&&i>4294967295)throw new RangeError(`${t} value must fit an unsigned 32-bit integer`);o[a]=i;}return Object.freeze(o)},ms=e=>Object.freeze({family:e.family,weight:e.weight,style:e.style}),wy=e=>e?Object.freeze({requested:ms(e.requested),resolved:ms(e.resolved)}):void 0,Ku=new WeakSet,hs=e=>{if(chunkDY3QVCWC_cjs.h(e),!Ku.has(e)){if(e.identity!==`${e.hash}#${e.faceIndex}`)throw new TypeError("Resolved font identity does not match hash and face index");if(!Number.isSafeInteger(e.byteLength)||e.byteLength<0)throw new TypeError("Resolved font byte length is invalid");Ku.add(e);}},gs=e=>(hs(e),e),Ka=e=>(hs(e),Object.freeze({identity:e.identity,id:e.id,family:e.family,request:ms(e.request),hash:e.hash,faceIndex:e.faceIndex,byteLength:e.byteLength,substitution:wy(e.substitution)??null})),nr=e=>{if(Ya(e.shapingLibrary.name,"shaping library name"),Ya(e.shapingLibrary.version,"shaping library version"),Ya(e.unicodeDataVersion,"Unicode data version"),!/^\d+(?:\.\d+){0,3}(?:[-+][0-9A-Za-z.-]+)?$/.test(e.shapingLibrary.version))throw new TypeError("shaping library version must be a numeric version");if(!/^\d+(?:\.\d+){1,2}$/.test(e.unicodeDataVersion))throw new TypeError("Unicode data version must be a dotted numeric version");if(!/^[A-Z][a-z]{3}$/.test(e.script))throw new TypeError("script must be a four-letter ISO 15924 code");if(Ya(e.language,"language"),!/^(?:und|[A-Za-z]{2,8})(?:-[A-Za-z0-9]{1,8})*$/.test(e.language))throw new TypeError("language must be a BCP 47 language tag");if(e.direction!=="ltr"&&e.direction!=="rtl")throw new TypeError("direction must be ltr or rtl");if(!["none","NFC","NFD","NFKC","NFKD"].includes(e.normalization))throw new TypeError("invalid normalization policy");if(!["halfAwayFromZero","halfToEven","towardZero"].includes(e.roundingMode))throw new TypeError("invalid fixed-point rounding mode");if(!Number.isSafeInteger(e.fixedPointScale)||e.fixedPointScale<=0)throw new RangeError("fixed-point scale must be a positive safe integer");let t=gs(e.font),n=e.fallbackOrder.map(gs),r=new Set;for(let o of n){let a=JSON.stringify(Ka(o));if(r.has(a))throw new TypeError("fallback order contains a duplicate font");r.add(a);}return Object.freeze({font:t,variationAxes:Uu(e.variationAxes,"variation axis",false),shapingLibrary:Object.freeze({name:e.shapingLibrary.name,version:e.shapingLibrary.version}),unicodeDataVersion:e.unicodeDataVersion,normalization:e.normalization,script:e.script,language:e.language,direction:e.direction,features:Uu(e.features,"OpenType feature",true),fallbackOrder:Object.freeze([...n]),fixedPointScale:e.fixedPointScale,roundingMode:e.roundingMode})},qu=e=>{let t=nr(e);return Object.freeze({font:Ka(t.font),variationAxes:Object.freeze(Object.entries(t.variationAxes).map(n=>Object.freeze(n))),shapingLibrary:Object.freeze({name:t.shapingLibrary.name,version:t.shapingLibrary.version}),unicodeDataVersion:t.unicodeDataVersion,normalization:t.normalization,script:t.script,language:t.language,direction:t.direction,features:Object.freeze(Object.entries(t.features).map(n=>Object.freeze(n))),fallbackOrder:Object.freeze(t.fallbackOrder.map(Ka)),fixedPointScale:t.fixedPointScale,roundingMode:t.roundingMode})},ys=e=>JSON.stringify(qu(e)),tr=(e,t)=>{if(!Number.isSafeInteger(e)||e<0)throw new RangeError(`${t} must be a non-negative safe integer`)},Nt=e=>{try{return Yt(e)}catch{throw new RangeError("Shaped run contains a non-integer fixed-point value")}},Zu=new WeakMap,Ua=e=>{let t=Zu.get(e);if(t)return t;hs(e);let n=JSON.stringify({identity:e.identity,id:e.id,family:e.family,request:e.request,hash:e.hash,faceIndex:e.faceIndex,byteLength:e.byteLength,substitution:e.substitution??null});return Zu.set(e,n),n},Za=(e,t)=>{let n=nr(t);if(e.direction!=="ltr"&&e.direction!=="rtl")throw new TypeError("Shaped run direction must be ltr or rtl");if(e.direction!==n.direction)throw new TypeError("Shaped run direction does not match shaping environment");if(tr(e.bidiLevel,"bidi level"),(e.bidiLevel&1)===1!=(e.direction==="rtl"))throw new TypeError("Shaped run direction does not match bidi level parity");let r=new Map,o=e.glyphs.map(s=>{tr(s.id,"glyph id"),tr(s.cluster,"glyph cluster");let c=r.get(s.outline);if(!c){if(!Number.isSafeInteger(s.outline.unitsPerEm)||s.outline.unitsPerEm<=0)throw new RangeError("Glyph outline units per em must be a positive safe integer");c=Object.isFrozen(s.outline)?s.outline:Object.freeze({path:s.outline.path,unitsPerEm:s.outline.unitsPerEm}),r.set(s.outline,c);}return Object.freeze({id:s.id,cluster:s.cluster,originX:Nt(s.originX),originY:Nt(s.originY),advanceX:Nt(s.advanceX),advanceY:Nt(s.advanceY),offsetX:Nt(s.offsetX),offsetY:Nt(s.offsetY),outline:c})}),a=e.fontSpans.map(s=>{if(tr(s.glyphStart,"font span start"),tr(s.glyphEnd,"font span end"),s.glyphEnd<=s.glyphStart||s.glyphEnd>o.length)throw new RangeError("Font span glyph range is invalid");s.fallbackIndex!==null&&tr(s.fallbackIndex,"fallback index");let c=gs(s.font);if(s.fallbackIndex===null){if(Ua(c)!==Ua(n.font))throw new TypeError("Shaped primary font does not match shaping environment")}else {let d=n.fallbackOrder[s.fallbackIndex];if(!d)throw new RangeError("Shaped fallback index is outside fallback order");if(Ua(c)!==Ua(d))throw new TypeError("Shaped fallback font does not match shaping environment provenance")}return Object.freeze({...s,font:c})});for(let s=0;s<a.length;s+=1){let c=s===0?0:a[s-1].glyphEnd;if(a[s].glyphStart!==c)throw new RangeError("Font spans must cover glyphs contiguously")}if(o.length===0&&a.length!==0||o.length>0&&a.at(-1)?.glyphEnd!==o.length)throw new RangeError("Font spans must cover every glyph exactly once");let i=e.clusters.map(s=>{for(let[d,u]of [["cluster text start",s.textStart],["cluster text end",s.textEnd],["cluster glyph start",s.glyphStart],["cluster glyph end",s.glyphEnd],["cluster font span",s.fontSpan]])tr(u,d);if(s.textEnd<=s.textStart||s.textEnd>e.text.length||s.glyphEnd<=s.glyphStart||s.glyphEnd>o.length)throw new RangeError("Shaped cluster range is invalid");let c=a[s.fontSpan];if(!c||s.glyphStart<c.glyphStart||s.glyphEnd>c.glyphEnd)throw new RangeError("Shaped cluster does not belong to its declared font span");return Object.freeze({...s,advance:Nt(s.advance),caretEdges:Object.freeze(s.caretEdges.map(Nt))})}),l=Object.freeze({ascent:Nt(e.metrics.ascent),descent:Nt(e.metrics.descent),lineGap:Nt(e.metrics.lineGap)});return Object.freeze({text:e.text,direction:e.direction,bidiLevel:e.bidiLevel,glyphs:Object.freeze(o),clusters:Object.freeze(i),fontSpans:Object.freeze(a),metrics:l})},Py=(e,t)=>{let n=Za(e,t);return Object.freeze({text:n.text,direction:n.direction,script:t.script,language:t.language,bidiLevel:n.bidiLevel,glyphs:n.glyphs,clusters:n.clusters,fontSpans:Object.freeze(n.fontSpans.map(r=>Object.freeze({glyphStart:r.glyphStart,glyphEnd:r.glyphEnd,fallbackIndex:r.fallbackIndex,font:Ka(r.font)}))),metrics:n.metrics})};function Ar(e){try{let t=new URL(e);return t.username!==""||t.password!==""||t.search!==""||t.hash!==""?`${t.protocol}//${t.host}${t.pathname}\u2026`:e}catch{let t=e.search(/[?#]/);return t===-1?e:`${e.slice(0,t)}\u2026`}}function Ju(e){return e.replace(/[a-z][a-z0-9+.-]*:\/\/[^\s"')]+/gi,t=>Ar(t))}function vy(e){if(typeof e!="string"&&!(e instanceof URL))throw new TypeError(`setHarfBuzzWasmUrl: expected a string or URL, received ${typeof e}`);if(typeof e=="string"&&e.trim()==="")throw new TypeError("setHarfBuzzWasmUrl: expected a non-empty URL");throw new Error("setHarfBuzzWasmUrl is not supported by the CommonJS build, which loads the shaper from node_modules and finds its binary on disk. Import the ESM build instead.");}function Qu(e){return e instanceof Error&&/process\.getBuiltinModule/.test(e.message)}function ef(e){return `the text shaper cannot start on this Node version: the ESM build reaches Node builtins through \`process.getBuiltinModule\`, added in Node 20.16 and 22.3. Upgrade Node; \`setHarfBuzzWasmUrl\` does not apply here. (${Ju(e instanceof Error?e.message:String(e))})`}function tf(e){let t=Ju(e instanceof Error?e.message:String(e));return `the HarfBuzz WASM binary could not be loaded from ${"its bundled location"}. If this bundler does not emit \`new URL(..., import.meta.url)\` assets (esbuild, Bun, and library builds that inline dynamic imports), serve \`@docx-editor.dev/core/harfbuzz.wasm\` yourself, point \`setHarfBuzzWasmUrl\` from '@docx-editor.dev/core/layout' at it before creating an editor, and reload the page. (${t})`}function nf(e,t){let n=`expected HarfBuzz ${e}, loaded ${t}`;return `${n}. The bundled binary does not match this build of the engine.`}var Ao=Object.freeze({name:"HarfBuzz",version:"14.3.0"}),Do=null,Eo=null;function Ty(){return Do?Promise.resolve():Eo||(Eo=import('harfbuzzjs').then(e=>{let t=e.versionString();if(t!==Ao.version)throw new Ne("shapingLibraryMismatch",{diagnostic:nf(Ao.version,t)});Do=e;}).catch(e=>{throw Eo=null,e instanceof Ne?e:Qu(e)?new Ne("unsupportedRuntime",{diagnostic:ef(e),cause:e}):new Ne("wasmUnavailable",{diagnostic:tf(e),cause:e})}),Eo)}function Oy(){return Do!==null}function ky(){if(!Do)throw new Ne("notInitialized",{diagnostic:"Call initializeHarfBuzz() before creating a text shaper"});return Do}var Ne=class extends Error{name="HarfBuzzShapingError";code;limit;actual;diagnostic;constructor(t,n={}){super(`HarfBuzz shaping failed (${t})`,{cause:n.cause}),this.code=t,this.limit=n.limit,this.actual=n.actual,this.diagnostic=n.diagnostic;}},By=16*1024*1024,Cy=1e6,Ly=1e6,Fy=1e6,My=4,Ey=512,Ny=1024*1024,Ay=16*1024*1024,Dy=32*1024*1024,_y=64*1024*1024,zy=64*1024*1024,Hy=1e6,jy=1e6,Wy=1e6,Gy=64,Xy=4096,$y=4*1024*1024,Vy=64*1024*1024,Yy=64*1024*1024,Uy=256*1024*1024,Ky=new Set(["COLR","CPAL","CBDT","CBLC","sbix","SVG "]),rf=["cmap","head","hhea","hmtx","maxp"],Zy=(e,t)=>e[t]<<8|e[t+1],qy=(e,t)=>e[t]*16777216+(e[t+1]<<16)+(e[t+2]<<8)+e[t+3]>>>0,Jy=(e,t)=>String.fromCharCode(e[0],e[1],e[2],e[3])==="ttcf"?qy(e,12+t*4):0,Qy=(e,t)=>{let n=Jy(e,t),r=Zy(e,n+4),o=new Set;for(let a=0;a<r;a+=1){let i=n+12+a*16;o.add(String.fromCharCode(e[i],e[i+1],e[i+2],e[i+3]));}return o},eb=e=>e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),tb=(e,t)=>{let n=chunkDY3QVCWC_cjs.j(e,t);if(!n.valid)return n;let r=Qy(e,t);for(let o of rf)if(!r.has(o))return {valid:false,diagnostic:`missing required ${o} table`};return {valid:true}},nb=tb,Ut=(e,t,n)=>{if(!Number.isSafeInteger(e)||e<=0||e>n)throw new RangeError(`${t} must be a positive safe integer no greater than ${n}`);return e},rb=(e,t,n)=>{let r=e<0n,o=r?-e:e,a=o/t,i=o%t;if(n!=="towardZero"){let c=i*2n;(c>t||c===t&&(n==="halfAwayFromZero"||n==="halfToEven"&&a%2n!==0n))&&(a+=1n);}let l=r?-a:a,s=Number(l);if(!Number.isSafeInteger(s))throw new RangeError("Shaped fixed-point value exceeds the safe integer range");return s},of=(e,t,n,r)=>{if(!Number.isSafeInteger(e))throw new RangeError("font units must be a safe integer");if(!Number.isSafeInteger(t)||t<=0)throw new RangeError("fixed-point denominator must be a positive safe integer");if(!Number.isSafeInteger(n)||n<0)throw new RangeError("fixed-point numerator must be a non-negative safe integer");return Yt(rb(BigInt(e)*BigInt(n),BigInt(t),r))},ob=(e,t,n,r)=>{if(!Number.isSafeInteger(t)||t<=0)throw new RangeError("font size must be a positive integer number of half points");if(t>Math.floor(Number.MAX_SAFE_INTEGER/n))throw new RangeError("font size and fixed-point scale product exceeds the safe integer range");let o=t*n,a=e*2;return i=>of(i,a,o,r)},ab=(e,t)=>{if(t.length===0)return [];let n=[...new Set(t.map(i=>i.cluster))].sort((i,l)=>i-l),r=new Map;for(let i=0;i<n.length;i+=1)r.set(n[i],n[i+1]??e.length);let o=[],a=0;for(;a<t.length;){let i=t[a].cluster,l=a+1;for(;l<t.length&&t[l].cluster===i;)l+=1;let s=t.slice(a,l).reduce((d,u)=>d+u.advanceX,0),c=Yt(s);o.push({textStart:i,textEnd:r.get(i),glyphStart:a,glyphEnd:l,advance:c,caretEdges:Object.freeze([Yt(0),c]),fontSpan:0}),a=l;}return o},Kt=64,cn=8,rr=8,ib=32,af=Kt+2*cn,lb=Kt+cn+rr,sb=Kt+cn+rr,db=Kt+cn+rr,lf=Kt+8*cn,sf=Kt+8*rr+cn,cb=Kt+6*rr+cn,ub=Kt+3*rr+2*cn,fb=Kt+3*rr,_o=e=>Kt+e.length*Uint16Array.BYTES_PER_ELEMENT,xs=e=>db+_o(e),No=e=>ib+e*cn,pb=(e,t)=>af+_o(e)+lb+xs(t),mb=e=>lf+_o(e)+No(e.length)+e.length*sf,gb=e=>{let t=new Set(e.glyphs.map(n=>n.outline));return lf+_o(e.text)+No(e.glyphs.length)+e.glyphs.length*sf+No(e.clusters.length)+e.clusters.length*cb+e.clusters.reduce((n,r)=>n+No(r.caretEdges.length),0)+No(e.fontSpans.length)+e.fontSpans.length*ub+fb+[...t].reduce((n,r)=>n+xs(r.path),0)},hb=(e,t)=>af+_o(e)+sb+t,bs=class{#t;#l;#u;#f;#p;#y;#b;#m;#g;#s;#h;#d;#e;#o=new Map;#a=new Map;#n=new Map;#i=0;#r=0;#c;constructor(t,n){this.#t=t,this.#l=Ut(n.maxFontBytes??By,"maximum font bytes",zy),this.#u=Ut(n.maxInputUtf16??Cy,"maximum input UTF-16 code units",Hy),this.#f=Ut(n.maxCodepoints??Ly,"maximum input code points",jy),this.#p=Ut(n.maxGlyphs??Fy,"maximum shaped glyphs",Wy),this.#y=Ut(n.maxCachedFaces??My,"maximum cached faces",Gy),this.#b=Ut(n.maxCachedShapes??Ey,"maximum cached shape results",Xy),this.#m=Ut(n.maxOutlineBytes??Ny,"maximum outline bytes",$y),this.#g=Ut(n.maxCachedOutlineBytes??Ay,"maximum cached outline bytes",Vy),this.#s=Ut(n.maxShapedRunBytes??Dy,"maximum shaped run bytes",Yy),this.#h=Ut(n.maxCachedShapeBytes??_y,"maximum cached shape bytes",Uy),this.#d=n.instrumentation?.onFaceCacheEvent,this.#e=n.instrumentation,this.#c=new this.#t.Buffer;}dispose(){this.#o.clear(),this.#a.clear(),this.#n.clear(),this.#i=0,this.#r=0,this.#e?.onOutlineCacheEvent?.(Object.freeze({kind:"cleared",retainedBytes:0})),this.#e?.onShapeCacheEvent?.(Object.freeze({kind:"cleared",retainedBytes:0})),this.#c=void 0;}#S(t,n){let r=this.#o.get(t.identity);if(r)return this.#o.delete(t.identity),this.#o.set(t.identity,r),this.#d?.(Object.freeze({kind:"hit",identity:t.identity})),r;let o=chunkDY3QVCWC_cjs.g(t);for(let d of rf)if(!o.has(d))throw new Ne("malformedFont",{diagnostic:`missing required ${d} table`});this.#e?.onByteCopy?.();let a=new this.#t.Blob(eb(n)),i=new this.#t.Face(a,t.faceIndex),l=new this.#t.Font(i),s=l.hExtents();if(!Number.isSafeInteger(i.upem)||i.upem<=0||!Number.isSafeInteger(s.ascender)||!Number.isSafeInteger(s.descender)||!Number.isSafeInteger(s.lineGap))throw new Ne("malformedFont",{diagnostic:"invalid font units or horizontal metrics"});if(l.setScale(i.upem,i.upem),this.#o.size>=this.#y){let d=this.#o.keys().next().value;d!==void 0&&(this.#o.delete(d),this.#d?.(Object.freeze({kind:"evicted",identity:d})));}let c={identity:t.identity,blob:a,face:i,font:l,unitsPerEm:i.upem};return this.#o.set(t.identity,c),this.#d?.(Object.freeze({kind:"created",identity:t.identity})),c}#w(t,n,r){let o=JSON.stringify([t.identity,t.unitsPerEm,r,n]),a=this.#a.get(o);if(a)return this.#a.delete(o),this.#a.set(o,a),this.#e?.onOutlineCacheEvent?.(Object.freeze({kind:"hit",retainedBytes:this.#i})),a.outline;this.#e?.onOutlinePathCall?.();let i=t.font.glyphToPath(n),l=xs(i);if(l>this.#m)throw new Ne("outlineOverLimit",{limit:this.#m,actual:l});let s=Object.freeze({path:i,unitsPerEm:t.unitsPerEm}),c=pb(o,i);if(c>this.#g)return this.#e?.onOutlineCacheEvent?.(Object.freeze({kind:"skipped",retainedBytes:this.#i})),s;for(;this.#i+c>this.#g;){let d=this.#a.keys().next().value;if(d===void 0)break;let u=this.#a.get(d);this.#a.delete(d),this.#i-=u.bytes,this.#e?.onOutlineCacheEvent?.(Object.freeze({kind:"evicted",retainedBytes:this.#i}));}return this.#a.set(o,{outline:s,bytes:c}),this.#i+=c,this.#e?.onOutlineCacheEvent?.(Object.freeze({kind:"created",retainedBytes:this.#i})),s}#x(t){if(t.length>this.#u)throw new Ne("textOverLimit",{limit:this.#u,actual:t.length});let n=0;for(let r=0;r<t.length;){let o=t.codePointAt(r);if(r+=o>65535?2:1,n+=1,n>this.#f)throw new Ne("codepointsOverLimit",{limit:this.#f,actual:n})}}shape(t){if(!this.#c)throw new Ne("disposed");if(chunkDY3QVCWC_cjs.h(t.environment.font),t.environment.font.byteLength>this.#l)throw new Ne("fontOverLimit",{limit:this.#l,actual:t.environment.font.byteLength});this.#x(t.text);let n=mb(t.text);if(n>this.#s)throw new Ne("shapedRunOverLimit",{limit:this.#s,actual:n});let r=nr(t.environment),o=JSON.stringify([t.text,t.fontSizeHalfPoints,t.bidiLevel,ys(r)]),a=this.#n.get(o);if(a)return this.#n.delete(o),this.#n.set(o,a),this.#e?.onShapeCacheEvent?.(Object.freeze({kind:"hit",retainedBytes:this.#r})),a.run;if(this.#e?.onShapeCacheEvent?.(Object.freeze({kind:"miss",retainedBytes:this.#r})),r.shapingLibrary.name!==Ao.name||r.shapingLibrary.version!==Ao.version)throw new Ne("shapingLibraryMismatch");if(r.normalization!=="none")throw new Ne("unsupportedNormalization");if(!Number.isSafeInteger(t.bidiLevel)||t.bidiLevel<0||(t.bidiLevel&1)===1!=(r.direction==="rtl"))throw new Ne("invalidBidiLevel");if(Object.keys(r.variationAxes).length>0)throw new Ne("unsupportedVariationAxes");if(r.fallbackOrder.length>0)throw new Ne("unsupportedFallback");let i=chunkDY3QVCWC_cjs.f(r.font),l=chunkDY3QVCWC_cjs.g(r.font);if([...Ky].some(c=>l.has(c)))throw new Ne("unsupportedColorFont");let s=t.text;this.#x(s);try{let c=this.#S(r.font,i),{face:d,font:u}=c,p=this.#c;p.reset(),p.addText(s),p.setDirection(r.direction==="rtl"?this.#t.Direction.RTL:this.#t.Direction.LTR),p.setScript(r.script),p.setLanguage(r.language),p.setClusterLevel(this.#t.ClusterLevel.MONOTONE_CHARACTERS);let f=Object.entries(r.features).map(([O,R])=>new this.#t.Feature(O,R));this.#e?.onShapeCall?.(),this.#t.shape(u,p,f);let m=p.getGlyphInfosAndPositions();if(m.length>this.#p)throw new Ne("glyphOverLimit",{limit:this.#p,actual:m.length});let g=ob(d.upem,t.fontSizeHalfPoints,r.fixedPointScale,r.roundingMode),y=Yt(0),b=Yt(0),x=new Map,T=JSON.stringify(Object.entries(r.variationAxes).sort(([O],[R])=>O.localeCompare(R))),k=m.map(O=>{let R=g(O.xAdvance??0),h=g(O.yAdvance??0),D={id:O.codepoint,cluster:O.cluster,originX:y,originY:b,advanceX:R,advanceY:h,offsetX:g(O.xOffset??0),offsetY:g(O.yOffset??0),outline:x.get(O.codepoint)??(()=>{let W=this.#w(c,O.codepoint,T);return x.set(O.codepoint,W),W})()};return y=Yt(y+R),b=Yt(b+h),D}),M=u.hExtents(),E=Za({text:s,direction:r.direction,bidiLevel:t.bidiLevel,glyphs:k,clusters:ab(s,k),fontSpans:k.length===0?[]:[{glyphStart:0,glyphEnd:k.length,font:r.font,fallbackIndex:null}],metrics:{ascent:g(M.ascender),descent:g(-M.descender),lineGap:g(M.lineGap)}},r),P=gb(E);if(P>this.#s)throw new Ne("shapedRunOverLimit",{limit:this.#s,actual:P});let L=hb(o,P);if(L>this.#h)return this.#e?.onShapeCacheEvent?.(Object.freeze({kind:"skipped",retainedBytes:this.#r})),E;for(;this.#n.size>=this.#b||this.#r+L>this.#h;){let O=this.#n.keys().next().value;if(O===void 0)break;let R=this.#n.get(O);this.#n.delete(O),this.#r-=R.bytes,this.#e?.onShapeCacheEvent?.(Object.freeze({kind:"evicted",retainedBytes:this.#r}));}return this.#n.set(o,{run:E,bytes:L}),this.#r+=L,this.#e?.onShapeCacheEvent?.(Object.freeze({kind:"stored",retainedBytes:this.#r})),E}catch(c){throw c instanceof Ne?c:new Ne("malformedFont",{diagnostic:c instanceof Error?c.message:"HarfBuzz shaping failed"})}}},yb=(e={})=>new bs(ky(),e);var te=(e,t,n)=>e>=t&&e<=n,qa=class extends Error{name="UnsupportedScriptError";code="unsupportedScript";codePoint;constructor(t){super(`Unsupported Unicode script at U+${t.toString(16).toUpperCase()}`),this.codePoint=t;}},bb=e=>{if(te(e,65313,65338)||te(e,65345,65370))return {slot:"hAnsi",script:"Latn"};if(te(e,1424,1535)||te(e,64285,64335))return {slot:"cs",script:"Hebr"};if(te(e,1536,1791)||te(e,1872,1919)||te(e,2160,2207)||te(e,2208,2303)||te(e,64336,65023)||te(e,65136,65279)||te(e,126464,126719))return {slot:"cs",script:"Arab"};if(te(e,4352,4607)||te(e,11904,12351)||te(e,12352,12543)||te(e,12544,12687)||te(e,12784,12799)||te(e,13312,19903)||te(e,19968,40959)||te(e,44032,55215)||te(e,63744,64255)||te(e,65382,65437)||te(e,65440,65500)||te(e,131072,201551))return {slot:"eastAsia",script:"Hani"};if(te(e,2304,2431)||te(e,43232,43263))return {slot:"cs",script:"Deva"};if(te(e,2432,2559))return {slot:"cs",script:"Beng"};if(te(e,880,1023)||te(e,7936,8191))return {slot:"hAnsi",script:"Grek"};if(te(e,1024,1327)||te(e,7296,7311)||te(e,11744,11775)||te(e,42560,42655))return {slot:"hAnsi",script:"Cyrl"};if(te(e,3584,3711))return {slot:"cs",script:"Thai"};if(te(e,6016,6143)||te(e,6624,6655))return {slot:"cs",script:"Khmr"};if(te(e,768,879)||te(e,6832,6911)||te(e,7616,7679)||te(e,8400,8447)||te(e,8192,8303)||te(e,65056,65071)||e<=47||te(e,58,64)||te(e,91,96)||te(e,123,191)||e===5760||te(e,8192,11263)||te(e,65024,65039)||te(e,65280,65381)||te(e,65438,65439)||te(e,65501,65535)||te(e,126976,129791)||te(e,917760,917999))return null;if(e<=127)return {slot:"ascii",script:"Latn"};if(te(e,192,687)||te(e,7424,7551)||te(e,7552,7615)||te(e,7680,7935)||te(e,11360,11391)||te(e,42784,43007)||te(e,43824,43887))return {slot:"hAnsi",script:"Latn"};throw new qa(e)};function xb(e,t,n){let r=[];for(let l=0;l<e.length;){let s=e.codePointAt(l),c=l+(s>65535?2:1);r.push({from:l,to:c,classified:bb(s)}),l=c;}let o=null;for(let l of r)l.classified?o=l.classified:o&&(l.classified=o);o=null;for(let l=r.length-1;l>=0;l-=1){let s=r[l];s.classified?o=s.classified:o&&(s.classified=o);}let a=[],i=r.every(({from:l})=>e.codePointAt(l)<=127)?"ascii":"hAnsi";for(let l of r){let s=n.levels[t+l.from]??0,c=(s&1)===1?"rtl":"ltr",d=l.classified??{slot:i,script:"Zyyy"},u=a.at(-1);u&&u.to===l.from&&u.bidiLevel===s&&u.slot===d.slot&&u.script===d.script?a[a.length-1]={...u,to:l.to}:a.push({from:l.from,to:l.to,direction:c,bidiLevel:s,script:d.script,slot:d.slot});}return a}var Sb="und";function wb(){return typeof Intl.Segmenter=="function"}function Pb(){let e=Intl.Segmenter;if(typeof e!="function")throw new Error("Intl.Segmenter is required for deterministic grapheme segmentation (locale: und)");return e}function Rb(){let e=new(Pb())("und",{granularity:"grapheme"});return {segment(t){let n=[],r=0;for(let o of e.segment(t)){let a=o.index,i=a+o.segment.length;n.push({index:r,text:o.segment,utf16From:a,utf16To:i}),r+=1;}return n}}}var Ps=Rb(),Rs=Ps,df=0;function Is(){return df}var Dr=null,or=null,Ja=null,zo=null;function At(e){if(Dr===e&&or)return or;if(Ja===e&&zo){let n=zo;return Ja=Dr,zo=or,Dr=e,or=n,n}let t=Rs.segment(e);return Ja=Dr,zo=or,Dr=e,or=t,t}function Ib(e){Rs=e,cf();}function vb(){Rs=Ps,cf();}function cf(){df+=1,Dr=null,or=null,Ja=null,zo=null,Ss=null,Qa=null,ws=0;}function Tb(e){return At(e).length}var Ss=null,Qa=null,ws=0;function Ob(e){if(Ss===e&&Qa)return {offsets:Qa,count:ws};let t=At(e),n=new Int32Array(e.length+1);for(let r of t)for(let o=r.utf16From;o<r.utf16To&&o<e.length;o+=1)n[o]=r.index;return n[e.length]=t.length,Ss=e,Qa=n,ws=t.length,{offsets:n,count:t.length}}function ei(e,t){let n=Math.max(0,Math.min(t,e.length)),{offsets:r}=Ob(e);return r[n]}function kb(e,t){let n=At(e);if(n.length===0)return 0;let r=Math.max(0,Math.min(t,n.length));return r>=n.length?e.length:n[r].utf16From}function vs(e){let t=new Set([0,e.text.length]);for(let r of At(e.text))t.add(r.utf16From),t.add(r.utf16To);let n=new Set([0,e.text.length]);for(let r of e.clusters)n.add(r.textStart),n.add(r.textEnd);return [...t].filter(r=>n.has(r)).sort((r,o)=>r-o)}function ti(e,t){return vs(e).includes(t)}function Bb(e,t){return ti(e,t)}function Cb(e,t,n){return n>=t&&ti(e,t)&&ti(e,n)}function Lb(e){let t=At(e.text);return vs(e).map(n=>n===e.text.length?t.length:t.findIndex(r=>r.utf16From===n))}var Os="und";function mf(){return typeof Intl.Segmenter=="function"}function Fb(){let e=Intl.Segmenter;if(typeof e!="function")throw new Error(`Intl.Segmenter is required for word segmentation (locale: ${Os})`);return e}function gf(){let e=new(Fb())(Os,{granularity:"word"});return {segment(t){let n=[];for(let r of e.segment(t)){let o=r.index,a=o+r.segment.length;n.push({utf16From:o,utf16To:a,wordLike:r.isWordLike===true});}return n}}}var Mb=/^[\p{L}\p{N}']$/u,Eb=/^\s$/u;function uf(e){return Mb.test(e)}function ff(e){return Eb.test(e)}function Ts(e,t,n,r){let o=e[t],a=e[n-1];return {utf16From:o.utf16From,utf16To:a.utf16To,wordLike:r}}function hf(e){let t=At(e);if(t.length===0)return [];let n=[],r=0;for(;r<t.length;){let o=t[r];if(ff(o.text)){let a=r+1;for(;a<t.length&&ff(t[a].text);)a+=1;n.push(Ts(t,r,a,false)),r=a;continue}if(uf(o.text)){let a=r+1;for(;a<t.length&&uf(t[a].text);)a+=1;n.push(Ts(t,r,a,true)),r=a;continue}n.push(Ts(t,r,r+1,false)),r+=1;}return n}function yf(){return {segment:hf}}function bf(e={}){let t=e.isIntlAvailable??mf,n=e.createIntlBoundary??gf,r=e.createFallbackBoundary??yf;if(!t())return r();try{return n()}catch{return r()}}var pf;function xf(){return pf??=bf(),pf}function Nb(e,t=xf()){return t.segment(e)}function Ab(e,t){return t.map(n=>({graphemeFrom:ei(e,n.utf16From),graphemeTo:ei(e,n.utf16To),wordLike:n.wordLike}))}var ni=(e,t)=>{if(!Number.isSafeInteger(e)||e<0)throw new RangeError(`${t} must be a non-negative safe integer`)},_r=(e,t)=>{if(e.trim().length===0)throw new TypeError(`${t} must not be blank`)},zr=e=>(ni(e.resourceEpoch,"resourceEpoch"),ni(e.configEpoch,"configEpoch"),ni(e.producerVersion,"producerVersion"),_r(e.extensionFingerprint,"extensionFingerprint"),_r(e.shapingHash,"shapingHash"),Object.freeze({resourceEpoch:e.resourceEpoch,configEpoch:e.configEpoch,extensionFingerprint:e.extensionFingerprint,shapingHash:e.shapingHash,producerVersion:e.producerVersion})),Db=(e,t)=>{let n=zr(e),r=zr(t),a=["resourceEpoch","configEpoch","extensionFingerprint","shapingHash","producerVersion"].filter(i=>n[i]!==r[i]);return a.length===0?Object.freeze({status:"current"}):Object.freeze({status:"restart",changed:Object.freeze(a)})},ks=e=>{let t=e.map(({key:n,fingerprint:r})=>(_r(n,"resource dependency key"),_r(r,"resource dependency fingerprint"),Object.freeze({key:n,fingerprint:r}))).sort((n,r)=>n.key<r.key?-1:n.key>r.key?1:0);for(let n=1;n<t.length;n+=1)if(t[n-1].key===t[n].key)throw new TypeError(`Duplicate resource dependency: ${t[n].key}`);return Object.freeze(t)},_b=e=>(ni(e.revision,"revision"),_r(e.dependencyFingerprint,"dependencyFingerprint"),_r(e.inputFingerprint,"inputFingerprint"),Object.freeze({revision:e.revision,dependencyFingerprint:e.dependencyFingerprint,inputFingerprint:e.inputFingerprint,resourceDependencies:ks(e.resourceDependencies),...zr(e)})),zb=(e,t)=>{let n=ks(e),r=ks(t),o=Math.max(n.length,r.length);for(let a=0;a<o;a+=1){let i=n[a],l=r[a];if(i?.key!==l?.key||i?.fingerprint!==l?.fingerprint)return {hit:false,reason:"resource-changed",resourceKey:i?.key??l.key}}return null};function Hb(e,t){if(e.dependencyFingerprint!==t.dependencyFingerprint)return {hit:false,reason:"dependency-changed"};if(e.inputFingerprint!==t.inputFingerprint)return {hit:false,reason:"input-changed"};let n=zb(e.resourceDependencies,t.resourceDependencies);if(n)return n;let r=["configEpoch","extensionFingerprint","shapingHash","producerVersion"];for(let o of r)if(e[o]!==t[o])return {hit:false,reason:"epoch-changed",epoch:o};return null}var Bs=class{entries=new Map;get(t,n){let r=this.entries.get(t);if(!r)return {hit:false,reason:"absent"};let o=Hb(r.provenance,n);return o||{hit:true,value:r.value,provenance:r.provenance}}set(t,n,r){this.entries.set(t,{value:n,provenance:_b(r)});}evictEpoch(t){let n=zr(t),r=0;for(let[o,a]of this.entries){let i=a.provenance;(i.configEpoch!==n.configEpoch||i.extensionFingerprint!==n.extensionFingerprint||i.shapingHash!==n.shapingHash||i.producerVersion!==n.producerVersion)&&(this.entries.delete(o),r+=1);}return r}evictResources(t,n){let r=zr(t),o=this.evictEpoch(r);for(let[a,i]of this.entries)i.provenance.resourceDependencies.some(s=>n.get(s.key)!==s.fingerprint)&&(this.entries.delete(a),o+=1);return o}get size(){return this.entries.size}};var Ho=Object.freeze({width:612,height:792,margin:Object.freeze({top:72,right:72,bottom:72,left:72})});function Je(e,t=false){return Sf(e.fragments,t)}function Sf(e,t=false){let n=[],r=o=>{for(let a of o){if(a.kind==="paragraph"){n.push(a);continue}for(let i of a.rows)if(!(i.isHeaderRepeat&&!t))for(let l of i.cells)r(l.blocks);}};return r(e),n}function wf(e){let t=[];for(let n of e.pages)for(let r of Je(n))t.push(...r.lines);return t}function mI(e){return e.anchoredDrawings??[]}function jb(e,t){let n=[];for(let r of e.pages)for(let o of Je(r))o.paragraphId===t&&n.push(o);return n.sort((r,o)=>r.fragmentIndex-o.fragmentIndex)}function Wb(e,t,n){for(let r of wf(e)){let o=r.range.paragraphId===t?r.range.start:Number.NaN,a=r.range.paragraphId===t?r.range.end:Number.NaN;for(let i of r.spans)i.range.paragraphId===t&&(o=Number.isNaN(o)?i.range.start:Math.min(o,i.range.start),a=Number.isNaN(a)?i.range.end:Math.max(a,i.range.end));for(let i of r.drawings??[])i.paragraphId===t&&(o=Number.isNaN(o)?i.start:Math.min(o,i.start),a=Number.isNaN(a)?i.start+1:Math.max(a,i.start+1));if(!Number.isNaN(o)&&n>=o&&n<=a)return r}return null}function Cs(e){return e.contentControls??[]}function ri(e){if(e.length===0)return null;let t=1/0,n=1/0,r=-1/0,o=-1/0;for(let a of e)t=Math.min(t,a.x),n=Math.min(n,a.y),r=Math.max(r,a.x+a.width),o=Math.max(o,a.y+a.height);return {x:t,y:n,width:r-t,height:o-n}}function Ls(e){let t=false,n=false;for(let r of e)(r==="contentLocked"||r==="sdtContentLocked")&&(t=true),(r==="sdtLocked"||r==="sdtContentLocked")&&(n=true);return t&&n?"sdtContentLocked":t?"contentLocked":n?"sdtLocked":"unlocked"}var Pf=1,oi=1;function Hr(e){let t=Math.max(e,1),n=3;if(t>=n){let i=t/3;if(i>=1)return {strokePt:i,gapPt:i,extentPt:t,insetPt:0}}let r=1,o=1,a=Math.max(t,n);return {strokePt:r,gapPt:o,extentPt:a,insetPt:(t-a)/2}}var Gb=new Set(["double","triple","thinThickSmallGap","thickThinSmallGap","thinThickThinSmallGap","thinThickMediumGap","thickThinMediumGap","thinThickThinMediumGap","thinThickLargeGap","thickThinLargeGap","thinThickThinLargeGap","doubleWave"]);function Xb(e){return Gb.has(e)}function Rf(e,t){return Xb(e)?Hr(t).extentPt:t}function Es(e){return e.some(t=>t.localName==="pageBreakBefore"&&t.attributes?.val!=="0"&&t.attributes?.val!=="false")}var vf=31680/20,Wo=12,Tf=3168,Of=14,Wr=Object.freeze({rule:"auto",value:240}),$b=132,Vb=1584,kf=["top","left","bottom","right","between","bar"],Yb=Object.freeze({}),Ub=/^[0-9A-Fa-f]{6}$/,Kb=new Set(["nil","none"]);function ai(e,t=false){return e===void 0||!(t?/^-?\d{1,9}$/:/^\d{1,9}$/).test(e)?null:Number(e)}function Fs(e,t){return !Number.isFinite(e)||e<=0?0:e>t?t:e}function If(e){let t=ai(e,true);return t===null?0:Fs(t/20,vf)}function Ms(e){return e!=="0"&&e!=="false"&&e!=="off"}function Zb(e){return e===void 0||e==="auto"?null:Ub.test(e)?e.toUpperCase():null}function jo(e,t){return e.attributes.find(n=>n.localName===t)?.value}function Zt(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function Ns(e,t){let n=0,r=0,o=false,a=false;for(let i of e){if(i.localName!=="spacing")continue;let l=i.attributes?.before,s=i.attributes?.after;l!==void 0&&(n=If(l)),s!==void 0&&(r=If(s));let c=i.attributes?.beforeAutospacing,d=i.attributes?.afterAutospacing;c!==void 0&&(o=Ms(c)),d!==void 0&&(a=Ms(d));}if(o||a){let i=t?.inList||t?.inTableCell?0:Of;o&&(n=i),a&&(r=i);}return {before:n,after:r}}function As(e){let t,n;for(let a of e){if(a.localName!=="spacing")continue;let i=a.attributes?.lineRule;(i==="auto"||i==="exact"||i==="atLeast")&&(t=i);let l=a.attributes?.line;if(l!==void 0){let s=ai(l,true);s!==null&&(n=s);}}if(n===void 0)return Wr;let r=t??"auto";if(r==="auto"){let a=n/240;return a>0?{rule:"auto",value:Math.min(a,$b)*240}:Wr}let o=n/20;return o>0?{rule:r,value:Math.min(o,Vb)}:Wr}function Ds(e,t,n){let r=e.rule==="auto"?t*(e.value/240):e.rule==="exact"?e.value:Math.max(t,e.value),o=r-t;return o<0?{height:r,baseline:Math.max(0,Math.min(n,r))}:e.rule==="exact"?{height:r,baseline:n+o/2}:{height:r,baseline:n}}function _s(e){let t=false;for(let n of e){if(n.localName!=="contextualSpacing")continue;let r=n.attributes?.val;t=r===void 0||Ms(r);}return t}function jr(e){if(!e)return;let t=jo(e,"val");if(!t||Kb.has(t))return;let n=ai(jo(e,"sz")),r=n===null?.5:Fs(n/8,Wo)||.5,o=ai(jo(e,"space")),a=o===null?0:Fs(o,Tf),i=jo(e,"shadow"),l=i!==void 0&&i!=="0"&&i!=="false"&&i!=="off";return {val:t,color:Zb(jo(e,"color")),widthPt:r,spacePt:a,...l?{shadow:true}:{}}}function Bf(e){let t=jr(Zt(e,"top")),n=jr(Zt(e,"left")??Zt(e,"start")),r=jr(Zt(e,"bottom")),o=jr(Zt(e,"right")??Zt(e,"end")),a=jr(Zt(e,"between")),i=jr(Zt(e,"bar"));return {...t?{top:t}:{},...n?{left:n}:{},...r?{bottom:r}:{},...o?{right:o}:{},...a?{between:a}:{},...i?{bar:i}:{}}}function un(e){if(!e||e.kind==="textValue")return {};let t=Zt(e,"pBdr");return t?Bf(t):{}}function Go(e){let t=Yb;for(let n of e){if(!n||n.kind==="textValue")continue;let r=Zt(n,"pBdr");r&&(t=Bf(r));}return t}function Pt(e){return Rf(e.val,e.widthPt)}function Mn(e){return e?e.spacePt+Pt(e):0}function qb(e){return Mn(e)}function zs(e){let t=[];for(let n of kf){let r=e[n];r&&t.push(`${n}:${r.val},${r.color??"auto"},${r.widthPt},${r.spacePt},${r.shadow?1:0}`);}return t.join("|")}function Gr(e,t){return Math.max(e,t)-t}function Hs(e,t,n,r){return n&&!r?0:Gr(e,t)}var Jb=/^[0-9A-Fa-f]{6}$/;function ii(e){if(!(e===void 0||e==="auto"||e==="nil")&&Jb.test(e))return e.toUpperCase()}function Xo(e){if(e&&e.val!=="nil")return ii(e.fill)}function js(e){if(!e||e.localName!=="shd")return;let t={};for(let n of e.attributes)t[n.localName]=n.value;return Xo(t)}function Ws(e){let t;for(let n of e)n.localName==="shd"&&(t=Xo(n.attributes));return t}function $o(e,t,n){if(e.length===0)return;let r=e[0].box.y,o=e[e.length-1].box;return {x:t,y:r,width:n,height:Math.max(o.y+o.height-r,0)}}var Qb=64,ex=31680,tx=720,nx=36,Gs=new Map([["dot","."],["hyphen","-"],["underscore","_"],["heavy","_"],["middleDot","\xB7"]]),Xr=Object.freeze({stops:Object.freeze([]),defaultIntervalPt:36}),rx=new Map([["left","left"],["start","left"],["center","center"],["right","right"],["end","right"],["decimal","decimal"]]),ox=new Set(["dot","hyphen","underscore","heavy","middleDot"]);function Vo(e){return e.kind!=="textValue"}function li(e,t){return e.attributes.find(n=>n.localName===t)?.value}function Xs(e,t){for(let n of e.children)if(Vo(n)&&n.localName===t)return n}function Cf(e){return e===void 0||!/^-?\d{1,9}$/.test(e)?null:Number(e)}function ax(e){return !Number.isFinite(e)||e<0?null:e>31680?31680:e}function Lf(e,t){if(!t)return;let n=0;for(let r of t.children){if(n>=128)break;if(n+=1,!Vo(r)||r.localName!=="tab")continue;let o=ax(Cf(li(r,"pos"))??NaN);if(o===null)continue;let a=li(r,"val")??"left";if(a==="clear"){e.delete(o);continue}let i=rx.get(a);if(i===void 0||e.size>=64&&!e.has(o))continue;let l=li(r,"leader");e.set(o,{alignment:i,...l!==void 0&&ox.has(l)?{leader:l}:{}});}}function Ff(e,t=36){let n=[...e.entries()].sort((o,a)=>o[0]-a[0]),r=[];for(let o=0;o<n.length&&o<64;o+=1){let[a,i]=n[o];r.push({positionPt:a/20,alignment:i.alignment,...ix(i)});}return {stops:Object.freeze(r),defaultIntervalPt:t}}function ix(e){return e.leader?{leader:e.leader}:{}}function $s(e){let t=new Map;for(let n of e)!n||!Vo(n)||Lf(t,Xs(n,"tabs"));return Ff(t)}function Vs(e){if(!e||!Vo(e))return Xr;let t=new Map;return Lf(t,Xs(e,"tabs")),Ff(t)}function Yo(e,t){return t===void 0||!Number.isFinite(t)||t<=0||t===e.defaultIntervalPt?e:{stops:e.stops,defaultIntervalPt:t}}function lx(e){if(!e||!Vo(e))return 36;let t=Xs(e,"defaultTabStop");if(!t)return 36;let n=Cf(li(t,"val"));return n===null||n<=0||n>31680?36:n/20}function $r(e,t,n){let r=Math.max(t,n);for(let i of e.stops)if(i.positionPt>t)return {positionPt:Math.min(i.positionPt,r),alignment:i.alignment,...i.leader?{leader:i.leader}:{}};let o=e.defaultIntervalPt>0?e.defaultIntervalPt:36,a=Math.ceil((t+1e-9)/o)*o;return a<=t&&(a+=o),{positionPt:Math.min(a,r),alignment:"left"}}function Ys(e,t,n,r,o){let a=n;switch(e){case "center":a=n-r/2;break;case "right":a=n-r;break;case "decimal":a=n-o;break;default:a=n;}let i=a-t;return i>0?i:0}function ar(e){return `tabs(${e.stops.map(n=>`${n.alignment}@${Math.round(n.positionPt*1e3)}${n.leader?`/${n.leader}`:""}`).join(",")}|d${Math.round(e.defaultIntervalPt*1e3)})`}var si=4,Mf=4096,En=64,qs=Object.freeze({hasPage:false,hasNumPages:false,hasSectionPages:false}),sx=/\s*\\\*\s*MERGEFORMAT\s*$/i;function Vr(e){if(e.length>chunkDY3QVCWC_cjs.qc)return null;let t=e.replace(/\s+/g," ").trim().toUpperCase();return t.length>chunkDY3QVCWC_cjs.qc?null:t.replace(sx,"").trim()}function ir(e){let t=Vr(e);return t==="PAGE"||t==="NUMPAGES"||t==="SECTIONPAGES"?t:null}function Rt(e,t){return chunkDY3QVCWC_cjs.fc(e,t)}function lr(e){return chunkDY3QVCWC_cjs.gc(e)}function Js(){return {nodes:0,exhausted:false}}function fn(e){return e.exhausted?false:(e.nodes+=1,e.nodes>Mf?(e.exhausted=true,false):true)}function Ko(){return {nesting:0,instruction:"",instructionOverflow:false,deletedInstruction:"",deletedInstructionOverflow:false,sawLiveInstruction:false,nestingOverflow:false,phase:"idle",inner:[]}}function Uo(e){e.nesting=0,e.instruction="",e.instructionOverflow=false,e.deletedInstruction="",e.deletedInstructionOverflow=false,e.sawLiveInstruction=false,e.nestingOverflow=false,e.phase="idle",e.inner.length=0;}function di(e){return e.sawLiveInstruction?{instruction:e.instruction,overflow:e.instructionOverflow}:{instruction:e.deletedInstruction,overflow:e.deletedInstructionOverflow}}function dx(e){return e.sawLive?{instruction:e.instruction,overflow:e.overflow}:{instruction:e.deletedInstruction,overflow:e.deletedOverflow}}function Zo(e){e.nesting===0&&(e.instruction="",e.instructionOverflow=false,e.deletedInstruction="",e.deletedInstructionOverflow=false,e.sawLiveInstruction=false,e.nestingOverflow=false,e.phase="instruction",e.inner.length=0),e.nesting+=1,e.nesting>si?e.nestingOverflow=true:e.nesting>=2&&(e.inner[e.nesting-2]={instruction:"",overflow:false,deletedInstruction:"",deletedOverflow:false,sawLive:false,separated:false});}function Yr(e){return e.nesting<2||e.nesting>si?null:e.inner[e.nesting-2]??null}function Ef(e){if(e.nesting===1)return e.phase==="instruction";let t=Yr(e);return t!==null&&!t.separated}function Ks(e,t){if(!Ef(e))return false;if(e.nesting===1)return t?!e.deletedInstructionOverflow:!e.instructionOverflow;let n=Yr(e);return t?!n.deletedOverflow:!n.overflow}function Nf(e){if(e.nesting===1){e.sawLiveInstruction=true;return}let t=Yr(e);t&&(t.sawLive=true);}function Zs(e,t){if(e.nesting===1){t?(e.deletedInstructionOverflow=true,e.deletedInstruction=""):(e.instructionOverflow=true,e.instruction="");return}let n=Yr(e);n&&(t?(n.deletedOverflow=true,n.deletedInstruction=""):(n.overflow=true,n.instruction=""));}function Us(e){Zs(e,false),Zs(e,true);}function cx(e,t,n=false){if(!Ks(e,n))return;let r=Yr(e);n||Nf(e);let o=r?n?r.deletedInstruction:r.instruction:n?e.deletedInstruction:e.instruction;if(o.length+t.length>chunkDY3QVCWC_cjs.qc){Zs(e,n);return}r?n?r.deletedInstruction=o+t:r.instruction=o+t:n?e.deletedInstruction=o+t:e.instruction=o+t;}function qo(e,t,n,r){if(!Ef(e))return;let o=chunkDY3QVCWC_cjs.hc(t);if(o||Nf(e),!Ks(e,o))return;if(r>En){Us(e);return}let a=[],i=t.kind==="textValue"?[]:t.children??[];for(let l=i.length-1;l>=0;l-=1)a.push({node:i[l],depth:r+1});for(;a.length>0;){let l=a.pop();if(!fn(n)){Us(e);return}if(l.depth>En){Us(e);return}if(l.node.kind==="textValue"){if(cx(e,l.node.value,o),!Ks(e,o))return;continue}let s=l.node.children??[];for(let c=s.length-1;c>=0;c-=1)a.push({node:s[c],depth:l.depth+1});}}function Jo(e){if(e.nesting===1){if(e.phase!=="instruction"||(e.phase="result",e.nestingOverflow))return null;let r=di(e);return r.overflow?null:ir(r.instruction)}let t=Yr(e);if(!t||t.separated)return null;t.separated=true;let n=dx(t);return n.overflow?null:ir(n.instruction)}function Qo(e){e.nesting>0&&(e.nesting-=1),e.nesting===0&&Uo(e);}function Af(e){return e.phase==="instruction"&&e.nesting>=1}function Df(e){return e.phase==="result"&&e.nesting>=1}function Qs(e){let t=false,n=false,r=false,o=Js(),a=Ko(),i=()=>t&&n&&r,l=f=>{f==="PAGE"?t=true:f==="NUMPAGES"?n=true:r=true;},s=false,c=[],d=(f,m)=>{if(f.kind!=="runProperties"){if(Rt(f,"begin")){Zo(a),a.nestingOverflow&&(s=true);return}if(lr(f)){qo(a,f,o,m);return}if(Rt(f,"separate")){let g=a.nesting,y=a.phase,b=Jo(a);if(s)return;b&&(g<=1||y==="result")&&c.push(b);return}if(Rt(f,"end")&&(Qo(a),a.nesting===0)){if(!s)for(let g of c)l(g);c.length=0;}}},u=(f,m)=>{if(f.kind==="run")for(let g of f.children){if(!fn(o))return;if(d(g,m+1),(g.kind==="drawing"||g.kind==="generic")&&!lr(g)&&"children"in g&&g.children.length>0){let y={...a,inner:a.inner.map(T=>({...T}))},b=s,x=c;c=[],p(g,m+1),Object.assign(a,y),s=b,c=x;}if(i()||o.exhausted)return}},p=(f,m)=>{if(!i()&&fn(o)&&!(m>En)&&f.kind!=="textValue"){if(f.kind==="paragraph"){Uo(a),s=false,c.length=0;for(let g of f.children)if(p(g,m+1),i()||o.exhausted)return;Uo(a),s=false,c.length=0;return}if(f.kind==="run"){u(f,m);return}if(chunkDY3QVCWC_cjs.ic(f)){let g=ir(chunkDY3QVCWC_cjs.kc(f)??"");if(g){l(g);return}}for(let g of f.children)if(p(g,m+1),i()||o.exhausted)return}};return p(e,0),!t&&!n&&!r?qs:{hasPage:t,hasNumPages:n,hasSectionPages:r}}var ux=64,fx=64,px=[{value:1e3,glyph:"M"},{value:900,glyph:"CM"},{value:500,glyph:"D"},{value:400,glyph:"CD"},{value:100,glyph:"C"},{value:90,glyph:"XC"},{value:50,glyph:"L"},{value:40,glyph:"XL"},{value:10,glyph:"X"},{value:9,glyph:"IX"},{value:5,glyph:"V"},{value:4,glyph:"IV"},{value:1,glyph:"I"}];function pn(e){if(!Number.isFinite(e))return 1;let t=Math.trunc(e);return t<0?1:t>9999?9999:t}function Nn(e){return String(pn(e))}function _f(e){let t=pn(e);return t<10?`0${t}`:String(t)}function ed(e){let t=pn(e);t>3999&&(t=3999);let n="";for(let{value:r,glyph:o}of px)for(;t>=r;)if(n+=o,t-=r,n.length>=64)return n.slice(0,64);return n||"I"}function zf(e){return ed(e).toLowerCase()}function td(e){let t=pn(e),n="";for(;t>0&&n.length<8;)t-=1,n=String.fromCharCode(65+t%26)+n,t=Math.floor(t/26);return n||"A"}function Hf(e){return td(e).toLowerCase()}function mx(e){let t=pn(e),n=t%100,r=t%10,o=n>=11&&n<=13?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return `${t}${o}`}function gx(e){return pn(e).toString(16).toUpperCase()}function hx(e){let t=["*","\u2020","\u2021","\xA7"],n=pn(e);if(n<=0)return t[0];let r=(n-1)%t.length,o=Math.min(Math.floor((n-1)/t.length)+1,yx);return t[r].repeat(o)}var yx=8,ci=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],bx=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"];function ui(e){let t=pn(e);if(t<20)return ci[t];if(t<100){let r=t%10;return bx[Math.floor(t/10)]+(r===0?"":`-${ci[r]}`)}if(t<1e3){let r=t%100;return `${ci[Math.floor(t/100)]} hundred${r===0?"":` ${ui(r)}`}`}let n=t%1e3;return `${ci[Math.floor(t/1e3)]} thousand${n===0?"":` ${ui(n)}`}`}function jf(e){return e.length===0?e:e[0].toUpperCase()+e.slice(1)}function xx(e){return jf(ui(e))}var Sx=new Map([["zero","zeroth"],["one","first"],["two","second"],["three","third"],["five","fifth"],["eight","eighth"],["nine","ninth"],["twelve","twelfth"]]);function wx(e){let t=Sx.get(e);return t!==void 0?t:e.endsWith("y")?`${e.slice(0,-1)}ieth`:`${e}th`}function Px(e){let t=ui(e),n=Math.max(t.lastIndexOf(" "),t.lastIndexOf("-")),r=n<0?"":t.slice(0,n+1);return jf(r+wx(t.slice(n+1)))}function mn(e,t){switch(e){case "decimal":return Nn(t);case "decimalZero":return _f(t);case "upperRoman":return ed(t);case "lowerRoman":return zf(t);case "upperLetter":return td(t);case "lowerLetter":return Hf(t);case "ordinal":return mx(t);case "cardinalText":return xx(t);case "ordinalText":return Px(t);case "hex":return gx(t);case "chicago":return hx(t);case "numberInDash":return `- ${Nn(t)} -`;case "none":case "bullet":return "";default:return Nn(t)}}function nd(e,t,n){let r=e.length>64?e.slice(0,64):e,o="";for(let a=0;a<r.length&&!(o.length>=64);a+=1){let i=r[a];if(i==="%"&&a+1<r.length){let l=r[a+1];if(l>="1"&&l<="9"){let s=Number(l)-1,c=n[s]??"decimal",d=t[s]??1,u=c==="bullet"?"":mn(c,d);for(let p of u){if(o.length>=64)break;o+=p;}a+=1;continue}}o+=i;}return o}var fi="0";function rd(e,t){if(!Number.isFinite(e)||e<0)return "";let n=Math.floor(e),r=t&&t.length>0?t:"decimal";if(r==="none"||r==="bullet")return Nn(n);let o=mn(r,n);return o.length>0?o:Nn(n)}function gn(e,t){if(e==="PAGE")return rd(t.pageNumber,t.format);let n=e==="NUMPAGES"?t.pageCount:t.sectionPageCount??t.pageCount;return !Number.isFinite(n)||n<0?"":Nn(Math.floor(n))}function An(e){return e.hasPage||e.hasNumPages||e.hasSectionPages}function od(e,t=qs){if(!e||!An(t))return "";let n=[];return t.hasPage&&(n.push(`p${e.pageNumber}`),e.format&&n.push(`f${e.format}`)),t.hasNumPages&&n.push(`n${e.pageCount}`),t.hasSectionPages&&n.push(`s${e.sectionPageCount??e.pageCount}`),`|fld:${n.join("/")}`}function Ur(e,t,n,r){let o=false,a=e.map((i,l)=>{let s=t+l,c=i.pageFieldSource;return c&&c.pageNumber===s&&c.sectionPageCount===n&&c.format===r?i:(o=true,{...i,pageFieldSource:{pageNumber:s,sectionPageCount:n,...r?{format:r}:{}}})});return o?a:e}function Rx(e){for(let t of e.spans)if(t.fieldAtom?.pageField)return true;return false}function Wf(e){if(e.kind==="paragraph"){for(let t of e.lines)if(Rx(t))return true;return false}for(let t of e.rows)for(let n of t.cells)for(let r of n.blocks)if(Wf(r))return true;return false}function ad(e,t){let n=t,r=false;for(let o of e)n=Math.max(n,o.box.y+o.box.height),!r&&Wf(o)&&(r=true);return {usedBottom:n,hasBodyPageFields:r}}function Ix(e,t){let n=null;for(let r=0;r<e.spans.length;r+=1){let o=e.spans[r],a=o.fieldAtom?.pageField?.kind;if(!a)continue;let i=gn(a,t);i!==o.text&&(n||(n=e.spans.slice()),n[r]={...o,text:i});}return n?{...e,spans:n}:e}function Gf(e,t){let n=null;for(let r=0;r<e.length;r+=1){let o=e[r],a=o;if(o.kind==="paragraph"){let i=null;for(let l=0;l<o.lines.length;l+=1){let s=o.lines[l],c=Ix(s,t);c!==s&&(i||(i=o.lines.slice()),i[l]=c);}i&&(a={...o,lines:i});}else {let i=null;for(let l=0;l<o.rows.length;l+=1){let s=o.rows[l],c=null;for(let d=0;d<s.cells.length;d+=1){let u=s.cells[d],p=Gf(u.blocks,t);p!==u.blocks&&(c||(c=s.cells.slice()),c[d]={...u,blocks:p});}c&&(i||(i=o.rows.slice()),i[l]={...s,cells:c});}i&&(a={...o,rows:i});}a!==o&&(n||(n=e.slice()),n[r]=a);}return n??e}function Dn(e){let t=e.pages.length;if(t===0)return e;let n=false,r=e.pages.map(o=>{let a=o.pageFieldSource,i={pageNumber:a?.pageNumber??o.index+1,pageCount:t,sectionPageCount:a?.sectionPageCount??t,...a?.format?{format:a.format}:{}},l=u=>{if(!u?.pageFieldProjector)return u;n=true;let p=u.pageFieldProjector(i),{pageFieldProjector:f,...m}=p;return m},s=l(o.header),c=l(o.footer),d=o.hasBodyPageFields===false?o.fragments:Gf(o.fragments,i);return s===o.header&&c===o.footer&&d===o.fragments?o:(d!==o.fragments&&(n=true),{...o,...s!==void 0?{header:s}:{},...c!==void 0?{footer:c}:{},...d!==o.fragments?{fragments:d}:{}})});return n?{revision:e.revision,pages:r}:e}var vx=`
|
|
2
|
-
\r`,Tx=/[ \t\n\r]*\\\*[ \t\n\r]*(?:"[^"]*"|[^ \t\n\r"\\]+)?[ \t\n\r]*$/;function Xf(e,t){let n=t;for(;n<e.length&&vx.includes(e[n]);)n+=1;return n}function $f(e,t){if(e[t]==='"'){let r=t+1;for(;r<e.length&&e[r]!=='"';)r+=1;return r<e.length?r+1:r}let n=t;for(;n<e.length&&!`
|
|
3
|
-
\r"`.includes(e[n]);)n+=1;return n}function pi(e){if(e.length===0||e.length>256)return null;let t=Xf(e,0);if(e[t]==='"')return null;let n=$f(e,t),r=e.slice(t,n).toUpperCase();if(r!=="MACROBUTTON"&&r!=="GOTOBUTTON")return null;let o=Xf(e,n);if(o>=e.length)return null;let a=$f(e,o),i=e.slice(a).trim();for(;;){let l=i.replace(Tx,"").trimEnd();if(l===i)break;i=l;}if(i[0]==='"'){let l=i.indexOf('"',1);l===-1?i=i.slice(1):l===i.length-1&&(i=i.slice(1,-1));}return i.length===0?null:{display:i}}var Vf=Object.freeze({TITLE:"title",AUTHOR:"creator",SUBJECT:"subject",KEYWORDS:"keywords",LASTSAVEDBY:"lastModifiedBy",COMMENTS:"description"}),Ox=/\s*\\[A-Z*@#!]\s*(?:"[^"]*"|[^\s"\\]+)?\s*$/;function kx(e){let t=e;for(;;){let n=t.replace(Ox,"").trimEnd();if(n===t)return t;t=n;}}function Bx(e){let t=e.trimStart();if(t.length===0)return null;if(t[0]==='"'){let o=t.indexOf('"',1),a=o===-1?t.slice(1):t.slice(1,o);return a.length>0?a:null}let n=t.search(/\s/),r=n===-1?t:t.slice(0,n);return r.length>0?r:null}function mi(e){let t=Vr(e);if(t===null||t.length===0)return null;let n=kx(t),r=Vf[n];if(r)return {property:r};if(!n.startsWith("DOCPROPERTY"))return null;let o=n.slice(11);if(o.length===0||!/^\s/.test(o))return null;let a=Bx(o);if(a===null)return null;let i=Vf[a];return i?{property:i}:null}function gi(e,t){if(!t)return null;let n=t[e.property];return n!==void 0&&n.length>0?n:null}var Cx=chunkDY3QVCWC_cjs.qc,Lx=2048,Fx=256;function Mx(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===" "||r===" "||r===`
|
|
4
|
-
`||r==="\r"){n+=1;continue}if(r==='"'){let a=n+1;for(;a<e.length&&e[a]!=='"';)a+=1;t.push({value:e.slice(n+1,a),quoted:true}),n=a<e.length?a+1:a;continue}let o=n;for(;o<e.length&&!`
|
|
5
|
-
\r"`.includes(e[o]);)o+=1;t.push({value:e.slice(n,o),quoted:false}),n=o;}return t}var Ex=new Set(["\\l","\\o","\\t","\\m","\\n","\\*","\\#","\\@"]);function hi(e){if(e.length===0||e.length>Cx)return null;let t=Mx(e);if(t.length<2)return null;let n=t[0];if(n.quoted||n.value.toUpperCase()!=="HYPERLINK")return null;let r=null,o=false,a=null,i=false,l=null,s=false;for(let c=1;c<t.length;c+=1){let d=t[c];if(!d.quoted&&d.value.startsWith("\\")){let u=d.value.toLowerCase();if(!Ex.has(u))continue;let p=t[c+1];if(!p||!p.quoted&&p.value.startsWith("\\"))continue;c+=1;let f=p.value.length>0&&p.value.length<=Fx;u==="\\l"?i||(i=true,f&&(a=p.value)):u==="\\o"&&(s||(s=true,f&&(l=p.value)));continue}o||(o=true,d.value.length>0&&d.value.length<=Lx&&(r=d.value));}return r===null&&a===null?null:{target:r,anchor:a,tooltip:l}}function ea(e){if(e.kind==="text"||e.kind==="deletedText"){let t="";for(let n of e.children)n.kind==="textValue"&&(t+=n.value);return t}return e.kind==="tab"?" ":e.kind==="hardBreak"?chunkDY3QVCWC_cjs._b(e):""}function Kr(e){if(!e||e.kind==="textValue")return [];let t=[];for(let n of e.children){if(n.kind==="textValue")continue;let r={};for(let o of n.attributes)r[o.localName]=o.value;t.push(Object.keys(r).length>0?{localName:n.localName,attributes:r}:{localName:n.localName});}return t}function yi(e,t,n){let r=Kr(e.kind==="run"?e.children.find(o=>o.kind==="runProperties"):void 0);return n?[...n(t,r)]:t.length===0?r:[...t,...r]}var qt=Object.freeze({fontFamily:null,fontSizePt:10,color:null,bold:false,italic:false,underline:null,strike:false,doubleStrike:false,highlight:null,shading:null,verticalAlign:"baseline",baselineShiftPt:0,caps:false,smallCaps:false,characterSpacingPt:0,horizontalScalePercent:100,kerningMinPt:0,hidden:false}),Nx=/^[0-9A-Fa-f]{6}$/;function _n(e){let t=e.attributes?.val;return t===void 0||!(t==="0"||t==="false"||t==="off")}function ta(e,t=false){return e===void 0||!(t?/^-?\d{1,7}$/:/^\d{1,7}$/).test(e)?null:Number(e)}function Yf(e){return e===void 0||e==="auto"?null:Nx.test(e)?e.toUpperCase():null}function Uf(e,t){return e==="minorAscii"||e==="minorHAnsi"?t.minor:e==="majorAscii"||e==="majorHAnsi"?t.major:null}function De(e,t){let n={...qt};for(let r of e)switch(r.localName){case "rFonts":{let o=r.attributes,i=(t?Uf(o?.asciiTheme,t)??Uf(o?.hAnsiTheme,t):null)??o?.ascii??o?.hAnsi;i&&i.length<=128&&(n.fontFamily=i);break}case "sz":{let o=ta(r.attributes?.val);o!==null&&o>0&&(n.fontSizePt=o/2);break}case "color":{n.color=Yf(r.attributes?.val);break}case "b":n.bold=_n(r);break;case "i":n.italic=_n(r);break;case "u":{let o=r.attributes?.val??"single";n.underline=o==="none"||!_n(r)?null:{variant:o,color:Yf(r.attributes?.color)};break}case "strike":n.strike=_n(r);break;case "dstrike":n.doubleStrike=_n(r);break;case "highlight":{let o=r.attributes?.val;n.highlight=o&&o!=="none"?o:null;break}case "shd":{n.shading=Xo(r.attributes)??null;break}case "vertAlign":{let o=r.attributes?.val;o==="superscript"||o==="subscript"?n.verticalAlign=o:o==="baseline"&&(n.verticalAlign="baseline");break}case "position":{let o=ta(r.attributes?.val,true);o!==null&&(n.baselineShiftPt=o/2);break}case "caps":n.caps=_n(r);break;case "smallCaps":n.smallCaps=_n(r);break;case "spacing":{let o=ta(r.attributes?.val,true);o!==null&&(n.characterSpacingPt=o/20);break}case "w":{let o=ta(r.attributes?.val);o!==null&&o>0&&(n.horizontalScalePercent=o);break}case "kern":{let o=ta(r.attributes?.val);o!==null&&(n.kerningMinPt=o/2);break}case "vanish":n.hidden=_n(r);break;}return n}function zn(e,t){return t.caps?e.toUpperCase():e}function Jt(e,t,n){return n.measure(zn(e,t),t)}function Ax(e,t){return e.fontFamily===t.fontFamily&&e.fontSizePt===t.fontSizePt&&e.color===t.color&&e.bold===t.bold&&e.italic===t.italic&&e.strike===t.strike&&e.doubleStrike===t.doubleStrike&&e.highlight===t.highlight&&e.shading===t.shading&&e.verticalAlign===t.verticalAlign&&e.baselineShiftPt===t.baselineShiftPt&&e.caps===t.caps&&e.smallCaps===t.smallCaps&&e.characterSpacingPt===t.characterSpacingPt&&e.horizontalScalePercent===t.horizontalScalePercent&&e.kerningMinPt===t.kerningMinPt&&e.hidden===t.hidden&&e.underline?.variant===t.underline?.variant&&e.underline?.color===t.underline?.color}function id(e){return e.verticalAlign==="superscript"?e.baselineShiftPt+e.fontSizePt*.33:e.verticalAlign==="subscript"?e.baselineShiftPt-e.fontSizePt*.16:e.baselineShiftPt}var Dx=new Map([[167,"\u2663"],[168,"\u2666"],[169,"\u2665"],[170,"\u2660"],[174,"\u2192"],[176,"\xB0"],[180,"\xD7"],[183,"\u2022"],[222,"\u21D2"]]),Kf=new Map([[108,"\u25CF"],[110,"\u25A0"],[111,"\u25A1"],[167,"\u25AA"],[216,"\u27A2"],[252,"\u2714"],[253,"\u2718"]]),Zf=new Map([[167,"\u25AA"],[183,"\u2022"]]),qf=new Map([["symbol",Dx],["wingdings",Kf],["wingdings 2",Zf],["wingdings 3",Zf],["webdings",Kf]]),_x=64;function na(e){return !e||e.length>_x?false:qf.has(e.toLowerCase())}function Zr(e,t,n){if(e.length===0||!na(t))return e;let r=qf.get(t.toLowerCase());if(n?.(t)===true)return e;let o="",a=false;for(let i of e){let l=i.codePointAt(0);if(l>=61440&&l<=61695){let s=r.get(l-61440);if(s!==void 0){o+=s,a=true;continue}}o+=i;}return a?o:e}var Hn=61440,ra=61695,ld=128;function qr(e){return e.kind==="generic"&&e.namespaceUri===chunkDY3QVCWC_cjs.ma&&e.localName==="sym"}function Jf(e,t){if(!(e.kind==="textValue"||!("attributes"in e))){for(let n of e.attributes)if(n.localName===t&&(n.namespaceUri===chunkDY3QVCWC_cjs.ma||n.namespaceUri===""))return n.value}}function zx(e){return !e||e.length>4||!/^[0-9A-Fa-f]{1,4}$/.test(e)?null:Number.parseInt(e,16)}function bi(e){return !(!Number.isInteger(e)||e<32||e>1114111||e>=127&&e<=159||e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65534)===65534||e===65532)}function Jr(e){if(!qr(e))return null;let t=zx(Jf(e,"char"));if(t===null)return null;let n=Jf(e,"font"),r=n&&n.length<=ld?n:null,o=na(r),a=o&&t<=255&&t+Hn<=ra?t+Hn:t;if(o&&a>=Hn&&a<=ra){let i=Zr(String.fromCodePoint(a),r),l=i.codePointAt(0)<Hn;return {text:i,font:r,unicode:l}}return bi(t)?{text:String.fromCodePoint(t),font:r,unicode:t<57344||t>63743}:null}function sd(e,t,n){if(!t.font)return {props:e,style:De(e,n)};let r=[...e,{localName:"rFonts",attributes:{ascii:t.font,hAnsi:t.font}}];return {props:r,style:De(r,n)}}var Hx=256,jx=9;function Wx(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===" "||r===" "||r===`
|
|
6
|
-
`||r==="\r"){n+=1;continue}if(r==='"'){let a=n+1;for(;a<e.length&&e[a]!=='"';)a+=1;t.push({value:e.slice(n+1,a),quoted:true}),n=a<e.length?a+1:a;continue}let o=n;for(;o<e.length&&!`
|
|
7
|
-
\r"`.includes(e[o]);)o+=1;t.push({value:e.slice(n,o),quoted:false}),n=o;}return t}function Gx(e){if(e.quoted)return null;let t=e.value;if(t.length===0||t.length>jx)return null;let n;if(t.startsWith("0x")||t.startsWith("0X")){let r=t.slice(2);if(!/^[0-9A-Fa-f]{1,6}$/.test(r))return null;n=Number.parseInt(r,16);}else {if(!/^\d{1,7}$/.test(t))return null;n=Number.parseInt(t,10);}return n>1114111||n>=55296&&n<=57343?null:n}function xi(e){if(e.length===0||e.length>Hx)return null;let t=Wx(e);if(t.length<2)return null;let n=t[0];if(n.quoted||n.value.toUpperCase()!=="SYMBOL")return null;let r=Gx(t[1]);if(r===null)return null;let o=null,a=null,i=false;for(let l=2;l<t.length;l+=1){let s=t[l];if(s.quoted||!s.value.startsWith("\\"))continue;let c=s.value.toLowerCase();if(c==="\\f"){let d=t[l+1];d&&d.value.length>0&&d.value.length<=ld&&(d.quoted||!d.value.startsWith("\\"))&&(o=d.value,l+=1);continue}if(c==="\\s"){let d=t[l+1];if(d&&(d.quoted||!d.value.startsWith("\\"))&&(l+=1,/^\d{1,3}$/.test(d.value))){let u=Number(d.value);u>=1&&u<=999&&(a=u);}continue}c==="\\u"&&(i=true);}return {code:r,font:o,sizePt:a,unicode:i}}function Si(e,t,n){let r=[];e.font&&r.push({localName:"rFonts",attributes:{ascii:e.font,hAnsi:e.font}}),e.sizePt!==null&&r.push({localName:"sz",attributes:{val:String(e.sizePt*2)}});let o=r.length>0?[...t,...r]:t,a=De(o,n);if(e.unicode)return bi(e.code)?{text:String.fromCodePoint(e.code),props:o,style:a}:null;let i=e.font??a.fontFamily;if(na(i)){let l=e.code<=255&&e.code+Hn<=ra?e.code+Hn:e.code;if(l>=Hn&&l<=ra)return {text:Zr(String.fromCodePoint(l),i),props:o,style:a}}return bi(e.code)?{text:String.fromCodePoint(e.code),props:o,style:a}:null}function wi(){let e=null,t=0,n=false,r=false,o=()=>{e=null,t=0,n=false,r=false;};return {get active(){return e!==null},onSeparate(a,i){e===null&&a!==null&&(e=a,t=i,n=false,r=false);},onEnd(a,i){if(e===null||a>t)return null;let l=a===t,c=l&&i&&!(n&&!r)?gn(e,i):"";return o(),l?c:null},reset:o,noteResult(a){n=true,a&&(r=true);}}}var ft="all-markup",Qf=Object.freeze([]),Xx=32,$x={revisionInsert:"insert",revisionDelete:"delete",revisionMoveFrom:"moveFrom",revisionMoveTo:"moveTo"};function hn(e,t){for(let n of e.attributes)if(n.localName===t&&n.namespaceUri===e.namespaceUri&&(n.kind==="wmlVal"||n.kind==="genericExtension"||n.kind==="xmlSpace"))return n.value}function Ri(e){if(e.kind==="textValue")return null;let t=$x[e.kind];if(t===void 0)return null;let n=hn(e,"date");return {kind:t,id:hn(e,"id")??"",author:hn(e,"author")??"",...n===void 0?{}:{date:n},nodeId:e.id}}function Ii(e,t){return e.length===0?[t]:[...e,t]}function vi(e){return e.kind!=="textValue"&&chunkDY3QVCWC_cjs.ra(e.kind)}var Qr=Xx;function et(e,t){if(t==="all-markup"||e.length===0)return true;for(let n of e)if(t==="proposed"?n.kind==="delete"||n.kind==="moveFrom":n.kind==="insert"||n.kind==="moveTo")return false;return true}function eo(e){if(e.kind==="textValue")return Pi;let t=e.children.find(o=>o.kind==="paragraphProperties");if(!t||t.kind==="textValue")return Pi;let n=t.children.find(o=>o.kind==="runProperties");if(!n||n.kind==="textValue")return Pi;let r=[];for(let o of n.children){if(o.kind==="textValue"||o.namespaceUri!==chunkDY3QVCWC_cjs.ma)continue;let a=Vx[o.localName];if(a===void 0)continue;let i=hn(o,"date");r.push({kind:a,id:hn(o,"id")??"",author:hn(o,"author")??"",...i===void 0?{}:{date:i},nodeId:o.id});}return r.length>0?r:Pi}var Vx={ins:"insert",del:"delete",moveFrom:"moveFrom",moveTo:"moveTo"};function oa(e){if(e.kind==="textValue")return null;let t=e.children.find(r=>r.kind==="paragraphProperties");if(!t||t.kind==="textValue")return null;let n=t.children.find(r=>r.kind==="runProperties");if(!n||n.kind==="textValue")return null;for(let r of n.children){if(r.kind==="textValue"||r.namespaceUri!==chunkDY3QVCWC_cjs.ma||r.localName!=="rPrChange")continue;let o=hn(r,"date");return {kind:"format",id:hn(r,"id")??"",author:hn(r,"author")??"",...o===void 0?{}:{date:o},nodeId:r.id}}return null}var Pi=Object.freeze([]);function dd(e){return e.find(t=>ep(t))??e[0]}function ep(e){return e.kind==="delete"||e.kind==="moveFrom"}function Ti(e,t){let n=dd(e);return {...n?{markRevisions:e,markRevision:n}:{},...t?{markFormatRevision:t}:{}}}function Yx(e){return dd(eo(e))??null}function Ux(e){for(let t of e){if(t.localName!=="rPrChange"&&t.localName!=="pPrChange")continue;let n=t.attributes??{},r=n.date;return {kind:"format",id:n.id??"",author:n.author??"",...r===void 0?{}:{date:r},nodeId:""}}return null}function yn(e){return e.some(t=>t.kind==="delete"||t.kind==="moveFrom")}function Kx(e){let{simple:t,depth:n,pageContext:r,budget:o,revisions:a,displayMode:i,inheritedRunProperties:l,cascadeRuns:s,themeFonts:c}=e,d="",u,p,f=false,m=Ko(),g=wi(),y=(x,T)=>{u||(u=x,p=T);},b=(x,T,k)=>{if(!(x.kind==="textValue"||T>En)){for(let M of x.children)if(M.kind!=="textValue"){if(!fn(o))return;if(M.kind==="run"){let E=yi(M,l,s),P=De(E,c);for(let L of M.children){if(L.kind==="runProperties")continue;if(Rt(L,"begin")){Zo(m),m.nesting===1&&g.reset();continue}if(lr(L)){qo(m,L,o,T+1);continue}if(Rt(L,"separate")){let W=m.nesting,ee=m.phase,B=Jo(m);(W===1||ee==="result"&&!m.nestingOverflow)&&g.onSeparate(r?B:null,W);continue}if(Rt(L,"end")){let W=g.onEnd(m.nesting,r);W!==null&&(d+=W),Qo(m);continue}if(chunkDY3QVCWC_cjs.nc(L))continue;if(qr(L)){if(et(k,i)&&(f=true),g.active){g.noteResult(!P.hidden&&et(k,i));continue}let W=Jr(L);if(!W?.unicode||P.hidden||!et(k,i))continue;y(E,P),d+=W.text;continue}let O=ea(L);if(O.length===0)continue;let R=yn(k),h=!et(k,i)||L.kind==="deletedText"&&!R;h||(f=true);let D=P.hidden||h;if(g.active){g.noteResult(!D),D||y(E,P);continue}D||(y(E,P),d+=O);}continue}if(chunkDY3QVCWC_cjs.ic(M)){let E=g.active?null:ir(chunkDY3QVCWC_cjs.kc(M)??"");if(E&&r){if(!et(k,i))continue;let P=d.length;b(M,T+1,k),d=d.slice(0,P),d+=gn(E,r);continue}b(M,T+1,k);continue}if(M.kind==="hyperlink"){b(M,T+1,k);continue}if(vi(M)&&k.length<Qr){let E=Ri(M);b(M,T+1,E?Ii(k,E):k);continue}b(M,T+1,k);}}};return b(t,n,a),{text:d,resultProps:u,resultStyle:p,sawResultContent:f}}function tp(e){let{simple:t,pageContext:n,inheritedRunProperties:r,themeFonts:o}=e,a=Kx(e),i=chunkDY3QVCWC_cjs.kc(t)??"",l=a.resultProps??r,s=ir(i);if(s&&n){let g=a.resultStyle??De(r,o);return g.hidden?null:{text:gn(s,n),props:l,style:g}}if(s&&e.bodyPageFields&&!n&&a.text.length===0&&!a.sawResultContent){let g=a.resultStyle??De(r,o);return g.hidden?null:{text:fi,props:l,style:g,pageField:{kind:s}}}let c=xi(i);if(c){let g=Si(c,l,o);if(g)return g.style.hidden?null:{text:g.text,props:g.props,style:g.style}}let d=a.text.length===0&&!a.sawResultContent;if(d){let g=mi(i);if(g){let y=gi(g,e.documentProperties);if(y!==null){let b=a.resultStyle??De(r,o);return b.hidden?null:{text:y,props:l,style:b}}}}let u=d?pi(i):null;if(u){let g=a.resultStyle??De(r,o);return g.hidden?null:{text:u.display,props:l,style:g}}if(a.text.length===0)return null;let p=a.resultStyle??De(r,o);if(p.hidden)return null;let f=e.currentLink?null:hi(i),m=f?e.projectFieldLink?.(f)??null:null;return {text:a.text,props:l,style:p,...m?{link:m}:{}}}var Zx="\u2612",qx="\u2610";function Jx(e){let t=Vr(e);return t==="FORMCHECKBOX"?"checkbox":t==="FORMDROPDOWN"?"dropdown":null}function cd(e,t){e.symbolSpec=xi(t),!e.symbolSpec&&(e.linkSpec=hi(t),!e.linkSpec&&(e.formSpec=Jx(t),!e.formSpec&&(e.buttonSpec=pi(t),!e.buttonSpec&&(e.docPropertySpec=mi(t)))));}function np(e,t){if(e.formSpec==="checkbox"){if(e.formData?.kind!=="checkbox")return null;let n=e.formData.checked?Zx:qx;if(e.formData.sizeHalfPoints===null)return {text:n,props:e.props,style:e.style};let r=[...e.props,{localName:"sz",attributes:{val:String(e.formData.sizeHalfPoints)}}];return {text:n,props:r,style:De(r,t)}}if(e.formSpec==="dropdown"){if(e.cachedText.length>0||e.sawResultContent||e.formData?.kind!=="dropdown")return null;let n=e.formData.entries[e.formData.selectedIndex]??"";return n.length===0?null:{text:n,props:e.props,style:e.style}}return null}function rp(e,t){if(e.symbolSpec){let r=Si(e.symbolSpec,e.props,t.themeFonts);if(r)return {text:r.text,props:r.props,style:r.style}}let n=np(e,t.themeFonts);if(n)return {text:n.text,props:n.props,style:n.style};if(e.kind&&t.pageContext)return {text:gn(e.kind,t.pageContext),props:e.props,style:e.style};if(e.cachedText.length>0)return {text:e.cachedText,props:e.props,style:e.style};if(!e.sawResultContent){if(e.kind&&t.bodyPageFields)return {text:fi,props:e.props,style:e.style,pageField:{kind:e.kind}};if(e.docPropertySpec){let r=gi(e.docPropertySpec,t.documentProperties);if(r!==null)return {text:r,props:e.props,style:e.style}}if(e.buttonSpec)return {text:e.buttonSpec.display,props:e.props,style:e.style}}return null}function sr(e,t,n){if(n<=t)return;let r=e[e.length-1];if(r&&r.end>=t){r.end=Math.max(r.end,n);return}e.push({start:t,end:n});}var Qx=new Set(["left","center","right"]),eS=new Set(["margin","indent","leftMargin"]),tS=new Set(["dot","hyphen","underscore","middleDot"]);function op(e){if(e.kind==="textValue"||e.localName!=="ptab"||e.namespaceUri!==chunkDY3QVCWC_cjs.ma)return null;let t="left",n="margin",r;for(let o of e.attributes)o.namespaceUri===chunkDY3QVCWC_cjs.ma&&(o.localName==="alignment"?t=o.value:o.localName==="relativeTo"?n=o.value:o.localName==="leader"&&(r=o.value));return {alignment:Qx.has(t)?t:"left",relativeTo:eS.has(n)?n:"margin",...r!==void 0&&tS.has(r)?{leader:r}:{}}}Object.freeze({marks:Object.freeze(new Map)});function dr(e,t){return chunkDY3QVCWC_cjs.ed(e,t)}function ud(e,t){if(!chunkDY3QVCWC_cjs.vd(e))return null;if(chunkDY3QVCWC_cjs.ld(e)||chunkDY3QVCWC_cjs.md(e))return {text:"",projected:true,kind:null,noteId:null};let n=chunkDY3QVCWC_cjs.jd(e),r=chunkDY3QVCWC_cjs.rd(e)??chunkDY3QVCWC_cjs.sd(e);if(!r)return null;let o=chunkDY3QVCWC_cjs.od(e),a=o!==null?dr(r,o):n?void 0:t?.activeNoteKey,i=o!==null?o:a?nS(a,r)??null:null,l=a,s=l!==void 0?n?"to-note":"to-body":void 0,c={projected:true,kind:r,noteId:i,...s?{nav:s}:{},...l?{scopeId:l}:{}};if(n&&o!==null&&chunkDY3QVCWC_cjs.td(e))return {text:"",...c};if(!t||!a)return {text:"",...c};let d=t.marks.get(a);return d==null?{text:"",...c}:t.reservedMarkText&&t.reservedMarkText.length>0?{text:d,measureText:t.reservedMarkText,...c}:{text:d,...c}}function nS(e,t){let n=`${t}:`;if(!e.startsWith(n))return null;let r=e.slice(n.length);if(!/^-?\d+$/.test(r))return null;let o=Number(r);return Number.isSafeInteger(o)?o:null}function ip(e){return chunkDY3QVCWC_cjs.jd(e)||chunkDY3QVCWC_cjs.kd(e)||chunkDY3QVCWC_cjs.ld(e)||chunkDY3QVCWC_cjs.md(e)}function rS(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return (t>>>0).toString(16).padStart(8,"0")}var ap=new WeakMap;function lp(e){if(!e)return "";let t=ap.get(e);if(t!==void 0)return t;let n=JSON.stringify([[...e.marks],e.reservedMarkText??null,e.activeNoteKey??null]),r=`${e.marks.size}:${rS(n)}`;return ap.set(e,r),r}function Oi(e,t=[],n,r,o,a,i=ft,l,s,c,d,u,p=false){if(e.kind==="textValue")return [];if(e.kind!=="paragraph")return [];let f=[],m=0,g,y=chunkDY3QVCWC_cjs.rc(e,{maxNesting:si,maxInstructionChars:chunkDY3QVCWC_cjs.qc}),b=y.filter(I=>I.addressing==="atomic"),x=new Set(b.filter(I=>I.kind==="complex").map(I=>I.node.id)),T=new Set(y.filter(I=>I.kind==="complex"&&I.addressing==="editable-result").map(I=>I.node.id)),k=new Set;for(let I of b)for(let _ of I.removeNodeIds)k.add(_);let M=Ko(),E=Js(),P=null,L=null,O=wi(),R=Qf,h=(I,_,v,j,J,N,G)=>{if(I.length===0&&!j&&!G?.inlineDrawing)return;let Y=G?.linkOverride??g,$=G?.revisionsOverride??R,Q=Y?{link:Y}:{},q=$.length===0?{}:{revisions:$};if(j){f.push({text:I,props:_,style:v,start:J,end:N,projected:true,...G?.measureText!==void 0?{measureText:G.measureText}:{},...G?.noteNav?{noteNav:G.noteNav}:{},...G?.inlineDrawing?{inlineDrawing:G.inlineDrawing}:{},...G?.fieldAtom?{fieldAtom:G.fieldAtom}:{},...Q,...q});return}I.length!==0&&f.push({text:I,props:_,style:v,start:J,end:N,...G?.positionalTab?{positionalTab:G.positionalTab}:{},...G?.breakKind?{breakKind:G.breakKind}:{},...Q,...q});},D=()=>{if(!P||!P.atomic){P=null,L=null;return}let I=P.atomStart,_=I+1;if(P.style.hidden){P=null,L=null;return}if(!et(P.resultRevisions,i)){l&&yn(P.resultRevisions)&&sr(l,I,_),P=null,L=null;return}let{resultLink:v,linkSpec:j,resultRevisions:J,formField:N}=P,G,Y=()=>{if(G)return G;let Q=!v&&j?d?.(j)??null:null,q=v??Q;return G={...J.length>0?{revisionsOverride:J}:{},...q?{linkOverride:q}:{},fieldAtom:{formField:N}},G},$=rp(P,{pageContext:n,themeFonts:c,documentProperties:u,bodyPageFields:p});if($){let Q=Y(),q=$.pageField?{...Q,fieldAtom:{formField:P.formField,pageField:$.pageField}}:Q;h($.text,$.props,$.style,true,I,_,q);}P=null,L=null;},W=()=>{if(!P)return;let I=!P.resultLink&&P.linkSpec?d?.(P.linkSpec)??null:null,_=v=>I&&!v.link?{...v,link:I}:v;if(P.atomic){m=P.atomStart;for(let v of P.buffered)f.push({..._(v),start:m,end:m+(v.end-v.start)}),m+=v.end-v.start;P.cachedText.length>0&&P.buffered.length===0&&(h(P.cachedText,P.props,P.style,false,m,m+P.cachedText.length,I?{linkOverride:I}:void 0),m+=P.cachedText.length);}else {for(let v of P.buffered)f.push(_(v));m=P.bufferOffset;}P=null,L=null;},ee=(I,_,v)=>{let j=($,Q,q,se)=>{let Pe=yn(R),he=v.hidden||!et(R,i)||Pe;if(Q.hidden||he){if(Pe&&l&&sr(l,q,se),!Q.hidden)return;h("\uFFFC",_,v,true,q,se);return}h("\uFFFC",_,v,true,q,se,{inlineDrawing:Object.freeze({drawingNodeId:$,ownerPartName:s.ownerPartName,projection:Q,resource:s.resourceOf(Q)})});};if(I.kind==="drawing"){let $=m;m+=1;let Q=m;if(!s)return;let q=s.projectionForAtom?.(I.id)??(I.kind==="drawing"?s.project(I):null);if(!q||q.kind!=="inline"){h("\uFFFC",_,v,true,$,Q);return}j(I.id,q,$,Q);return}if(chunkDY3QVCWC_cjs.ab(I)){let $=m;m+=1;let Q=m;if(!s)return;let q=s.projectionForAtom?.(I.id)??null;if(!q||q.kind!=="inline"){h("\uFFFC",_,v,true,$,Q);return}j(I.id,q,$,Q);return}if(ip(I)){let $=ud(I,a),Q=m,q=Q+1;if(m=q,v.hidden||!$||$.text.length===0&&!$.measureText)return;let se=$.scopeId&&$.nav?{scopeId:$.scopeId,direction:$.nav}:void 0;h($.text.length>0?$.text:$.measureText??"",_,v,true,Q,q,{...$.measureText!==void 0?{measureText:$.measureText}:{},...se?{noteNav:se}:{}});return}let J=op(I);if(J){v.hidden||h(" ",_,v,false,m,m,{positionalTab:J});return}if(qr(I)){let $=Jr(I);if(!$||v.hidden||!et(R,i))return;let Q=sd(_,$,c);h($.text,Q.props,Q.style,true,m,m);return}let N=ea(I);if(N.length===0)return;let G=yn(R);v.hidden||!et(R,i)||I.kind==="deletedText"&&!G||h(N,_,v,false,m,m+N.length,{...I.kind==="hardBreak"?{breakKind:chunkDY3QVCWC_cjs.Yb(I)}:{}}),G&&l&&sr(l,m,m+N.length),m+=N.length;},B=(I,_)=>{if(I.kind!=="run")return;let v=yi(I,t,r),j=De(v,c),J=()=>{P&&(P.capturedResultStyle||(P.props=v,P.style=j,P.capturedResultStyle=true),P.capturedResultRevisions||(P.resultRevisions=R,P.capturedResultRevisions=true,!P.resultLink&&g&&(P.resultLink=g)));};for(let N of I.children){if(!fn(E)){if(W(),Uo(M),O.reset(),N.kind==="runProperties"||Rt(N,"begin")||Rt(N,"separate")||Rt(N,"end")||lr(N)||k.has(N.id)&&L===null)continue;ee(N,v,j);continue}if(N.kind!=="runProperties"){if(Rt(N,"begin")){let G=x.has(N.id);Zo(M),M.nesting===1&&(W(),O.reset(),L=G?N.id:null,P={kind:null,symbolSpec:null,linkSpec:null,formSpec:null,buttonSpec:null,docPropertySpec:null,formData:chunkDY3QVCWC_cjs.pc(N),atomic:G,editableResult:T.has(N.id),atomStart:m,props:v,style:j,capturedResultStyle:false,cachedText:"",sawResultContent:false,buffered:[],bufferOffset:m,resultRevisions:R,capturedResultRevisions:R.length>0,formField:chunkDY3QVCWC_cjs.oc(N),...g?{resultLink:g}:{}},G&&(m+=1));continue}if(lr(N)){qo(M,N,E,_+1);continue}if(Rt(N,"separate")){let G=M.nesting===1&&M.phase==="instruction",Y=M.nesting,$=Jo(M);if(G&&P){P.kind=$;let Q=di(M);!P.kind&&!Q.overflow&&!M.nestingOverflow&&cd(P,Q.instruction),P.props=v,P.style=j;}else P?.atomic&&M.phase==="result"&&!M.nestingOverflow&&O.onSeparate(n?$:null,Y);continue}if(Rt(N,"end")){let G=M.nesting===1;if(G&&P?.atomic&&M.phase==="instruction"){let $=di(M);!$.overflow&&!M.nestingOverflow&&cd(P,$.instruction);}let Y=O.onEnd(M.nesting,n);Y!==null&&P?.atomic&&(P.cachedText+=Y),Qo(M),G&&(P?.atomic?D():W());continue}if(!(Af(M)&&P?.atomic)){if(P&&Df(M)){if(qr(N)){if(P.atomic){if(et(R,i)&&(P.sawResultContent=true),O.active){O.noteResult(!j.hidden&&et(R,i));continue}if(!j.hidden&&et(R,i)){let se=Jr(N);se?.unicode&&(J(),P.cachedText+=se.text);}continue}let Q=Jr(N);if(!Q||j.hidden||!et(R,i))continue;let q=sd(v,Q,c);P.buffered.push({text:Q.text,props:q.props,style:q.style,start:m,end:m,projected:true,...R.length>0?{revisions:R}:{},...g?{link:g}:{},fieldAtom:{formField:P.formField}});continue}let G=ea(N);if(G.length===0)continue;let Y=yn(R),$=!et(R,i)||N.kind==="deletedText"&&!Y;if(P.atomic&&!$&&(P.sawResultContent=true),Y&&l&&(P.atomic?sr(l,P.atomStart,P.atomStart+1):sr(l,m,m+G.length)),$){P.atomic&&O.active&&O.noteResult(false),P.atomic||(m+=G.length,P.bufferOffset=m);continue}if(P.atomic){if(O.active){if(O.noteResult(!j.hidden),j.hidden)continue;J();continue}if(j.hidden)continue;J(),P.cachedText+=G;continue}if(j.hidden){m+=G.length,P.bufferOffset=m;continue}P.capturedResultStyle||(P.props=v,P.style=j,P.capturedResultStyle=true),P.buffered.push({text:G,props:v,style:j,start:m,end:m+G.length,...R.length>0?{revisions:R}:{},...g?{link:g}:{},fieldAtom:{formField:P.formField}}),m+=G.length,P.bufferOffset=m;continue}k.has(N.id)&&L===null&&x.size>0,ee(N,v,j);}}}};if(!fn(E))return f;let F=chunkDY3QVCWC_cjs.Wa(),H=(I,_)=>{let v=m;if(m+=1,I.kind==="textValue"||(yn(R)&&l&&sr(l,v,v+1),!et(R,i)))return;let j=tp({simple:I,depth:_,pageContext:n,budget:E,revisions:R,displayMode:i,inheritedRunProperties:t,cascadeRuns:r,themeFonts:c,currentLink:g,projectFieldLink:d,documentProperties:u,bodyPageFields:p});j&&h(j.text,j.props,j.style,true,v,v+1,{fieldAtom:{formField:false,...j.pageField?{pageField:j.pageField}:{}},...j.link?{linkOverride:j.link}:{}});},z=(I,_,v,j)=>{if(chunkDY3QVCWC_cjs.ic(I)){H(I,_);return}if(I.kind==="run"){B(I,_);return}if(chunkDY3QVCWC_cjs.Lb(I)){if(j>=chunkDY3QVCWC_cjs.Kb||_>En)return;for(let Y of chunkDY3QVCWC_cjs.Ob(I))z(Y,_+1,v,j+1);return}if(_>En||_>=Qr)return;let J=I.kind!=="textValue"&&"localName"in I?chunkDY3QVCWC_cjs.Va(v,I):v;if(I.kind==="hyperlink"){let Y=g;g=o?.(I)??void 0;for(let $ of I.children)z($,_+1,J,j);g=Y;return}if(!vi(I))return;let N=Ri(I);if(!N||!fn(E))return;let G=R;R=Ii(G,N);for(let Y of I.children)z(Y,_+1,J,j);R=G;};for(let I of e.children)z(I,1,F,0);return W(),f}function oS(e){let t=Object.entries(e.attributes??{}).sort(([n],[r])=>n<r?-1:n>r?1:0).map(([n,r])=>`${n}=${r}`).join(",");return `${e.localName}(${t})`}function aS(e){return e.map(oS).join(";")}var sp=new WeakMap,cp=1<<18;function up(e){if(e.kind==="textValue")return `t:${e.value}`;let t=e.kind==="paragraph"||e.kind==="table";if(t){let r=sp.get(e);if(r!==void 0)return r}let n=iS(e);return t&&n.length<=cp&&sp.set(e,n),n}function iS(e){if(e.kind==="textValue")return `t:${e.value}`;let t=[`${e.kind}:${"localName"in e?e.localName:""}#${"id"in e?e.id:""}`];if("attributes"in e&&Array.isArray(e.attributes)){let n=[...e.attributes].map(r=>`${r.namespaceUri??""}:${r.localName}=${r.value}`).sort();for(let r of n)t.push(r);}for(let n of e.children??[])t.push(up(n));return `(${t.join("|")})`}var dp=new WeakMap;function cr(e){let t=Math.round(e.width*1e3),n=e.drawingToken??"",r=e.exclusionToken??"",o=aS(e.properties),a=dp.get(e.paragraph);if(a&&a.producer===e.producer&&a.width===t&&a.drawingToken===n&&a.exclusionToken===r&&a.propertiesToken===o)return a.key;let i=[e.producer,t,n,r,o,up(e.paragraph)].join("\0");return i.length<=cp&&dp.set(e.paragraph,{producer:e.producer,width:t,drawingToken:n,exclusionToken:r,propertiesToken:o,key:i}),i}function lS(e={}){let t=Math.max(1,e.maxEntries??4096),n=new Map,r=0,o=0,a=0;return {get(i){let l=n.get(i);if(l===void 0){o+=1;return}return r+=1,n.delete(i),n.set(i,l),l},set(i,l){for(n.has(i)&&n.delete(i),n.set(i,l);n.size>t;){let s=n.keys().next();if(s.done)break;n.delete(s.value),a+=1;}},retain(i){for(let l of [...n.keys()])i.has(l)||(n.delete(l),a+=1);},clear(){n.clear();},get stats(){return {hits:r,misses:o,evictions:a,size:n.size}}}}var fp=21600;function je(e){return Number.isFinite(e)?e:0}function aa(e){if(e.length===0)return Object.freeze([]);let t=[...e].sort((o,a)=>o.start-a.start||o.end-a.end),n=[],r=t[0];for(let o=1;o<t.length;o+=1){let a=t[o];a.start<=r.end+1e-4?r=Object.freeze({start:r.start,end:Math.max(r.end,a.end)}):(n.push(r),r=a);}return n.push(r),Object.freeze(n)}function sS(e,t){let n=[];for(let r of e)for(let o of t){let a=Math.max(r.start,o.start),i=Math.min(r.end,o.end);i>a+1e-6&&n.push(Object.freeze({start:a,end:i}));}return aa(n)}function fd(e,t,n){let r=[];for(let o of e){let a=Math.max(o.start,t),i=Math.min(o.end,n);i>a+1e-6&&r.push(Object.freeze({start:a,end:i}));}return aa(r)}function dS(e,t,n){let r=[],o=t;for(let a of e)a.start>o&&r.push(Object.freeze({start:o,end:a.start})),o=Math.max(o,a.end);return o<n&&r.push(Object.freeze({start:o,end:n})),Object.freeze(r)}function mp(e,t){return to(e,t)}function pd(e,t,n){return mp(to(e,t),n)}function cS(e,t){let n=[],r=Math.min(e.length,it);if(r<2)return Object.freeze([]);for(let o=0;o<r;o+=1){let a=e[o],i=e[(o+1)%r],l=a.y,s=i.y;if(l===s)continue;let c=Math.min(l,s),d=Math.max(l,s);if(t<c||t>d||t===d&&s>l||t===c&&s<l)continue;let u=(t-l)/(s-l),p=a.x+u*(i.x-a.x);Number.isFinite(p)&&n.push({x:p,delta:s>l?1:-1});}return n.sort((o,a)=>o.x-a.x||o.delta-a.delta),Object.freeze(n)}function uS(e,t){let n=[],r=Math.min(e.length,it);for(let o=0;o<r;o+=1){let a=e[o],i=e[(o+1)%r];if(a.y!==i.y||Math.abs(t-a.y)>1e-6)continue;let l=Math.min(a.x,i.x),s=Math.max(a.x,i.x);s>l&&n.push(Object.freeze({start:l,end:s}));}return aa(n)}function pp(e,t,n){let r=fS(cS(e,t),n),o=uS(e,t);return aa([...r,...o])}function fS(e,t){if(e.length===0)return Object.freeze([]);let n=[];if(t==="evenodd"){for(let a=0;a+1<e.length;a+=2){let i=e[a].x,l=e[a+1].x;l>i&&n.push(Object.freeze({start:i,end:l}));}return Object.freeze(n)}let r=0,o=null;for(let a of e){let i=r;r+=a.delta,i===0&&r!==0?o=a.x:i!==0&&r===0&&o!==null&&(a.x>o&&n.push(Object.freeze({start:o,end:a.x})),o=null);}return Object.freeze(n)}function pS(e,t){return Object.freeze({top:je(e.top)+je(t.top),right:je(e.right)+je(t.right),bottom:je(e.bottom)+je(t.bottom),left:je(e.left)+je(t.left)})}function mS(e,t,n,r,o,a){let i=t.x-e.x,l=t.y-e.y,s=r.x-n.x,c=r.y-n.y,d=i*c-l*s;if(Math.abs(d)<1e-12)return null;let p=((n.x-e.x)*l-(n.y-e.y)*i)/d,f=((n.x-e.x)*c-(n.y-e.y)*s)/d;if(p<-1e-9||p>1+1e-9||f<-1e-9||f>1+1e-9)return null;let m=e.y+p*l;return !Number.isFinite(m)||m<o-1e-6||m>a+1e-6?null:m}function gS(e,t,n,r){let o=[],a=Math.min(e.length,it),i=Math.min(t.length,it);if(a<2||i<2)return Object.freeze([]);let l=it*it,s=0;for(let c=0;c<a;c+=1){let d=e[c],u=e[(c+1)%a];for(let p=0;p<i;p+=1){if(s>=l)return Object.freeze(o);s+=1;let f=t[p],m=t[(p+1)%i],g=mS(d,u,f,m,n,r);g!==null&&o.push(g);}}return Object.freeze(o)}function hS(e,t,n){let r=new Set;r.add(t),r.add(n);for(let o of e){let a=Math.min(o.length,it);for(let i=0;i<a;i+=1){let l=o[i].y;Number.isFinite(l)&&l>=t-1e-6&&l<=n+1e-6&&r.add(l);}for(let i=0;i<a;i+=1){let l=o[i],s=o[(i+1)%a],c=l.y,d=s.y;if(c!==d)for(let u of [t,n]){let p=Math.min(c,d),f=Math.max(c,d);u>=p&&u<=f&&r.add(u);}}}if(e.length>=2)for(let o of gS(e[0],e[1],t,n))r.add(o);return Object.freeze([...r].sort((o,a)=>o-a))}function yS(e,t,n,r){let o=pp(e,n,r);return t&&t.length>=3&&(o=sS(o,pp(t,n,"nonzero"))),o}function gp(e,t,n,r,o=null){let a=je(n.top),i=je(n.bottom),l=je(n.left),s=je(n.right),c=t-i,d=t+a,u=hS(o&&o.length>=3?[e,o]:[e],c,d),p=[],f=u.length>=2?u.flatMap((m,g)=>{if(g+1>=u.length)return [];let y=u[g+1];return y<=m+1e-6?[m]:[m,y,(m+y)/2]}):[c];for(let m of f){let g=yS(e,o,m,r);for(let y of g)p.push(Object.freeze({start:y.start-l,end:y.end+s}));}return aa(p)}function hp(e){let{x:t,y:n,width:r,height:o}=e;return Object.freeze([Object.freeze({x:t,y:n}),Object.freeze({x:t+r,y:n}),Object.freeze({x:t+r,y:n+o}),Object.freeze({x:t,y:n+o})])}function bS(e){let t=Math.max(0,je(e.extentWidthPt)),n=Math.max(0,je(e.extentHeightPt)),r=Bi(e.transform,t,n),o=Math.min(e.polygonEmu.length,it);if(o<3)return hp({x:e.anchorX,y:e.anchorY,width:t,height:n});let a=r.width/fp,i=r.height/fp,l=[];for(let s=0;s<o;s+=1){let c=e.polygonEmu[s];l.push(Object.freeze({x:je(c.x)*a,y:je(c.y)*i}));}return Ci({points:Object.freeze(l),sourceWidth:r.width,sourceHeight:r.height,offsetX:r.offsetX,offsetY:r.offsetY,crop:{left:0,top:0,right:0,bottom:0},transform:e.transform,layoutWidth:t,layoutHeight:n,anchorX:e.anchorX,anchorY:e.anchorY})}function xS(e,t){let n=t.effectInsets??ki,r=t.wrapDistances??ki,o=je(t.contentLeft),a=je(t.contentRight);if(t.mode==="topAndBottom"){let d=mp(to(t.contentBounds,n),r);return e<d.y||e>=d.y+d.height?Object.freeze([]):fd([{start:o,end:a}],o,a)}if(t.mode==="square"){let d=pd(t.contentBounds,n,r);return e<d.y||e>=d.y+d.height?Object.freeze([]):fd([{start:d.x,end:d.x+d.width}],o,a)}let i=t.polygon&&t.polygon.length>=3?t.polygon:hp(t.contentBounds),l=t.mode==="through"?"evenodd":"nonzero",s=pS(r,n),c=gp(i,e,s,l,t.clipPolygon);return fd(c,o,a)}function SS(e){return e.length===0?null:Object.freeze({start:Math.min(...e.map(t=>t.start)),end:Math.max(...e.map(t=>t.end))})}function wS(e,t,n,r,o){if(n==="bothSides"||t.length===0)return e;let a=SS(t);if(!a)return e;if(n==="left")return Object.freeze(e.filter(s=>s.end<=a.start+1e-4));if(n==="right")return Object.freeze(e.filter(s=>s.start>=a.end-1e-4));let i=Math.max(0,a.start-r),l=Math.max(0,o-a.end);return i===l?Object.freeze(e.filter(s=>s.start>=a.end-1e-4)):i>l?Object.freeze(e.filter(s=>s.end<=a.start+1e-4)):Object.freeze(e.filter(s=>s.start>=a.end-1e-4))}function yp(e,t){let n=xS(e,t),r=dS(n,t.contentLeft,t.contentRight);return wS(r,n,t.textSide,t.contentLeft,t.contentRight)}function PS(e,t,n,r){return n.length<3?false:gp(n,t,r,"nonzero").some(a=>e>=a.start-1e-6&&e<=a.end+1e-6)}function md(e,t,n){let r=n.effectInsets??ki,o=n.hitBounds;if(e<o.x||e>o.x+o.width||t<o.y||t>o.y+o.height)return false;if(n.clipPolygon&&n.clipPolygon.length>=3)return PS(e,t,n.clipPolygon,r);let a=to(n.contentBounds,r);return e>=a.x&&e<=a.x+a.width&&t>=a.y&&t<=a.y+a.height}function bp(e){let t=Object.freeze({top:je(e.wrapDistancesEmu.top/Qt),right:je(e.wrapDistancesEmu.right/Qt),bottom:je(e.wrapDistancesEmu.bottom/Qt),left:je(e.wrapDistancesEmu.left/Qt)}),n=e.mode==="tight"||e.mode==="through"?bS({polygonEmu:e.polygonEmu,extentWidthPt:e.extentWidthPt,extentHeightPt:e.extentHeightPt,anchorX:e.contentBounds.x,anchorY:e.contentBounds.y,transform:e.transform}):null;return Object.freeze({mode:e.mode,contentBounds:e.contentBounds,polygon:n,clipPolygon:e.geometry.clipPolygon,wrapDistances:t,effectInsets:e.geometry.effectInsets,textSide:e.textSide,contentLeft:e.contentLeft,contentRight:e.contentRight})}var It=1e5,it=chunkDY3QVCWC_cjs.E.maxPolygonPoints,ki=Object.freeze({top:0,right:0,bottom:0,left:0}),RS=32,IS=.1,vS=new Set(["rect","ellipse","roundRect"]);function ue(e){return Number.isFinite(e)?e:0}function Ct(e,t,n){return Number.isFinite(e)?Math.min(n,Math.max(t,e)):t}function xp(e,t){let n=e+t;return Number.isFinite(n)?n:0}function Sp(e,t,n){let r=Ct(e,0,n),o=Ct(t,0,n);if(r<=0||o<=0)return {left:r,right:o};let a=r+o;if(a>=n){let i=(n-1)/a;r*=i,o*=i;}return {left:r,right:o}}function TS(e){let t=Sp(Ct(e.left,0,It),Ct(e.right,0,It),It),n=Sp(Ct(e.top,0,It),Ct(e.bottom,0,It),It);return Object.freeze({left:t.left,top:n.left,right:t.right,bottom:n.right})}function OS(e){let t=TS({left:e.left*It,top:e.top*It,right:e.right*It,bottom:e.bottom*It});return Object.freeze({left:t.left/It,top:t.top/It,right:t.right/It,bottom:t.bottom/It})}function kS(e){let t=n=>{if(!Number.isFinite(n))return 0;let r=n/Qt;return !Number.isFinite(r)||Math.abs(r)>72e4?0:r};return Object.freeze({top:t(e.top),right:t(e.right),bottom:t(e.bottom),left:t(e.left)})}function to(e,t){let n=ue(t.left),r=ue(t.right),o=ue(t.top),a=ue(t.bottom);return Object.freeze({x:e.x-n,y:e.y-o,width:Math.max(0,xp(e.width,n+r)),height:Math.max(0,xp(e.height,o+a))})}function BS(e,t,n){let r=e*Ct(n.left,0,1),o=t*Ct(n.top,0,1),a=e*(1-Ct(n.right,0,1)),i=t*(1-Ct(n.bottom,0,1));if(a<=r||i<=o){let l=e/2,s=t/2;return Object.freeze({left:l,top:s,right:l,bottom:s})}return Object.freeze({left:r,top:o,right:a,bottom:i})}function Bi(e,t,n){let r=e.extentEmu?.cx??0,o=e.extentEmu?.cy??0,a=e.offsetEmu??{x:0,y:0},i=r>0?ue(jn(r)??t):Math.max(0,ue(t)),l=o>0?ue(jn(o)??n):Math.max(0,ue(n));return Object.freeze({offsetX:ue(jn(a.x)??0),offsetY:ue(jn(a.y)??0),width:i,height:l})}function CS(e,t,n,r){let o=BS(t,n,r),a=o.right-o.left,i=o.bottom-o.top,l=t>0?t:1,s=n>0?n:1,c=[],d=Math.min(e.length,it);for(let u=0;u<d;u+=1){let p=e[u],f=a<=0?o.left:o.left+Ct(p.x/l,0,1)*a,m=i<=0?o.top:o.top+Ct(p.y/s,0,1)*i;c.push(Object.freeze({x:ue(f),y:ue(m)}));}return Object.freeze(c)}function wp(e,t,n){let r=e.x-t.x,o=e.y-t.y;n.flipHorizontal&&(r=-r),n.flipVertical&&(o=-o);let a=ue(n.rotationDegrees)*Math.PI/180,i=Math.cos(a),l=Math.sin(a),s=r*i-o*l,c=r*l+o*i;return Object.freeze({x:ue(s+t.x),y:ue(c+t.y)})}function Pp(e){if(e.length===0)return Object.freeze({x:0,y:0,width:0,height:0});let t=e[0].x,n=e[0].x,r=e[0].y,o=e[0].y,a=Math.min(e.length,it);for(let i=1;i<a;i+=1){let l=e[i];!Number.isFinite(l.x)||!Number.isFinite(l.y)||(t=Math.min(t,l.x),n=Math.max(n,l.x),r=Math.min(r,l.y),o=Math.max(o,l.y));}return Object.freeze({x:t,y:r,width:Math.max(0,n-t),height:Math.max(0,o-r)})}function gd(e){let t=Object.freeze({x:e.offsetX+e.sourceWidth/2,y:e.offsetY+e.sourceHeight/2}),n=ia(0,0,e.sourceWidth,e.sourceHeight),r=[];for(let l of n)r.push(wp(Object.freeze({x:l.x+e.offsetX,y:l.y+e.offsetY}),t,e.transform));let o=Pp(r),a=Math.max(o.width,1e-6),i=Math.max(o.height,1e-6);return Object.freeze({bboxX:o.x,bboxY:o.y,scaleX:Math.max(0,ue(e.layoutWidth))/a,scaleY:Math.max(0,ue(e.layoutHeight))/i,anchorX:ue(e.anchorX),anchorY:ue(e.anchorY)})}function LS(e,t){return Object.freeze({x:ue(t.anchorX+(e.x-t.bboxX)*t.scaleX),y:ue(t.anchorY+(e.y-t.bboxY)*t.scaleY)})}function Ci(e){let t=e.mapping??gd({sourceWidth:e.sourceWidth,sourceHeight:e.sourceHeight,offsetX:e.offsetX,offsetY:e.offsetY,transform:e.transform,layoutWidth:e.layoutWidth,layoutHeight:e.layoutHeight,anchorX:e.anchorX,anchorY:e.anchorY}),n=CS(e.points,e.sourceWidth,e.sourceHeight,e.crop),r=Math.min(n.length>0?n.length:e.points.length,it),o=n.length>0?n:e.points.slice(0,r),a=Object.freeze({x:e.offsetX+e.sourceWidth/2,y:e.offsetY+e.sourceHeight/2}),i=[];for(let l=0;l<r;l+=1){let s=o[l],c=Object.freeze({x:ue(s.x+e.offsetX),y:ue(s.y+e.offsetY)});i.push(LS(wp(c,a,e.transform),t));}return Object.freeze(i)}function ia(e,t,n,r){if(n<=0||r<=0){let o=Object.freeze({x:e,y:t});return Object.freeze([o,o,o,o])}return Object.freeze([Object.freeze({x:e,y:t}),Object.freeze({x:e+n,y:t}),Object.freeze({x:e+n,y:t+r}),Object.freeze({x:e,y:t+r})])}function FS(e,t,n){if(!e||!vS.has(e))return null;if(t<=0||n<=0)return ia(0,0,Math.max(0,t),Math.max(0,n));if(e==="rect")return ia(0,0,t,n);if(e==="ellipse"){let l=[],s=t/2,c=n/2,d=t/2,u=n/2,p=Math.min(RS,it);for(let f=0;f<p;f+=1){let m=f/p*Math.PI*2;l.push(Object.freeze({x:s+d*Math.cos(m),y:c+u*Math.sin(m)}));}return Object.freeze(l)}let r=Math.min(t,n)*IS,o=Math.max(0,r),a=t,i=n;return Object.freeze([Object.freeze({x:o,y:0}),Object.freeze({x:a-o,y:0}),Object.freeze({x:a,y:o}),Object.freeze({x:a,y:i-o}),Object.freeze({x:a-o,y:i}),Object.freeze({x:o,y:i}),Object.freeze({x:0,y:i-o}),Object.freeze({x:0,y:o})])}function ro(e){return Object.freeze({x:ue(e.x),y:ue(e.y)})}function MS(e,t){if(e.length===0)return Object.freeze([]);let n=t.x+t.width,r=t.y+t.height,o=(i,l,s)=>{if(i.length===0)return Object.freeze([]);let c=[],d=Math.min(i.length,it);for(let u=0;u<d;u+=1){let p=ro(i[u]),f=ro(i[(u+1)%d]),m=l(p),g=l(f);if(m&&g?c.push(f):m&&!g?c.push(ro(s(p,f))):!m&&g&&(c.push(ro(s(p,f))),c.push(f)),c.length>=it)break}return Object.freeze(c.slice(0,it))},a=e.slice(0,it).map(ro);return a=[...o(a,i=>i.x>=t.x,(i,l)=>{let s=l.x-i.x,c=Math.abs(s)>1e-6?(t.x-i.x)/s:0;return Object.freeze({x:t.x,y:ue(i.y+c*(l.y-i.y))})})],a=[...o(a,i=>i.x<=n,(i,l)=>{let s=l.x-i.x,c=Math.abs(s)>1e-6?(n-i.x)/s:0;return Object.freeze({x:n,y:ue(i.y+c*(l.y-i.y))})})],a=[...o(a,i=>i.y>=t.y,(i,l)=>{let s=l.y-i.y,c=Math.abs(s)>1e-6?(t.y-i.y)/s:0;return Object.freeze({x:ue(i.x+c*(l.x-i.x)),y:t.y})})],a=[...o(a,i=>i.y<=r,(i,l)=>{let s=l.y-i.y,c=Math.abs(s)>1e-6?(r-i.y)/s:0;return Object.freeze({x:ue(i.x+c*(l.x-i.x)),y:r})})],Object.freeze(a)}function ES(e){let t=Pp(e);return Object.freeze({x:t.x,y:t.y,width:t.width,height:t.height})}function Li(e,t){let n=NS(e.paintBounds,t),r=n.width>0&&n.height>0?n:Object.freeze({...n}),o=a=>{if(!a||a.length===0)return a;let i=MS(a,t);return i.length>=3?Object.freeze(i.map(ro)):Object.freeze([])};return Object.freeze({...e,paintBounds:n,hitBounds:r,transformedCorners:Object.freeze(o(e.transformedCorners)??e.transformedCorners),clipPolygon:o(e.clipPolygon)})}function NS(e,t){let n=Math.max(e.x,t.x),r=Math.max(e.y,t.y),o=Math.min(e.x+e.width,t.x+t.width),a=Math.min(e.y+e.height,t.y+t.height);return o<=n||a<=r?Object.freeze({x:n,y:r,width:0,height:0}):Object.freeze({x:n,y:r,width:o-n,height:a-r})}function AS(e){let t=Math.max(0,ue(e.extentWidth)),n=Math.max(0,ue(e.extentHeight)),r=ue(e.anchorX),o=ue(e.anchorY),a=OS(e.crop),i=kS(e.effectExtentEmu),l=Bi(e.transform,t,n),s=Object.freeze({x:r,y:o,width:t,height:n}),c={sourceWidth:l.width,sourceHeight:l.height,offsetX:l.offsetX,offsetY:l.offsetY,crop:a,transform:e.transform,layoutWidth:t,layoutHeight:n,anchorX:r,anchorY:o},d=gd(c),u=Object.freeze({left:0,top:0,right:0,bottom:0}),p=Ci({points:ia(0,0,l.width,l.height),...c,crop:u,mapping:d}),f=FS(e.presetGeometry,l.width,l.height),m="none",g=f;g||(m=e.presetGeometry?"unsupported-preset":"none",g=ia(0,0,l.width,l.height));let y=Ci({points:g,...c,crop:u,mapping:d}),b=ES(y.length>=3?y:p),x=to(b,i);return Object.freeze({contentBounds:s,paintBounds:x,hitBounds:x,transformedCorners:p,clipPolygon:y.length>=3?y:p,clipFallback:m,effectInsets:i})}function oo(e){let t=e.projection.picture,n=Object.freeze({rotationDegrees:0,flipHorizontal:false,flipVertical:false,offsetEmu:Object.freeze({x:0,y:0}),extentEmu:Object.freeze({cx:0,cy:0})});return AS({extentWidth:e.extentWidth,extentHeight:e.extentHeight,anchorX:e.anchorX,anchorY:e.anchorY,effectExtentEmu:e.projection.effectExtentEmu,crop:t?.crop??{left:0,top:0,right:0,bottom:0},transform:t?.transform??n,presetGeometry:t?.presetGeometry??null})}function DS(e){let{transform:t,contentWidth:n,contentHeight:r}=e;if(n<=0||r<=0)return null;let o=Bi(t,n,r),a=o.width,i=o.height,l=gd({sourceWidth:a,sourceHeight:i,offsetX:o.offsetX,offsetY:o.offsetY,transform:t,layoutWidth:n,layoutHeight:r,anchorX:0,anchorY:0}),s=ue(t.rotationDegrees),c=Math.abs(s%360)>1e-4,d=t.flipHorizontal?-1:1,u=t.flipVertical?-1:1,p=l.scaleX,f=l.scaleY,m=a>0?a/n:1,g=i>0?i/r:1;if(!c&&d===1&&u===1&&Math.abs(p-1)<1e-4&&Math.abs(f-1)<1e-4&&Math.abs(o.offsetX)<1e-4&&Math.abs(o.offsetY)<1e-4&&Math.abs(m-1)<1e-4&&Math.abs(g-1)<1e-4)return null;let b=s*Math.PI/180,x=Math.cos(b),T=Math.sin(b),k=o.offsetX+a/2,M=o.offsetY+i/2,E=p*x*d,P=-p*T*u,L=f*T*d,O=f*x*u,R=p*(k-x*d*(a/2)+T*u*(i/2)-l.bboxX),h=f*(M-T*d*(a/2)-x*u*(i/2)-l.bboxY);return Object.freeze({a:ue(E*m),b:ue(L*m),c:ue(P*g),d:ue(O*g),e:ue(R),f:ue(h)})}function Jv(e){let t=DS(e);if(t)return `matrix(${no(t.a)}, ${no(t.b)}, ${no(t.c)}, ${no(t.d)}, ${no(t.e)}, ${no(t.f)})`}function no(e){return Number.isFinite(e)?String(e):"0"}var _S=Object.freeze({"http://schemas.openxmlformats.org/drawingml/2006/chart":"chart","http://schemas.openxmlformats.org/drawingml/2006/diagram":"diagram","http://schemas.microsoft.com/office/word/2010/wordprocessingGroup":"group","http://schemas.microsoft.com/office/word/2010/wordprocessingShape":"textbox","http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas":"canvas"}),zS=Object.freeze({rotationDegrees:0,flipHorizontal:false,flipVertical:false,offsetEmu:Object.freeze({x:0,y:0}),extentEmu:Object.freeze({cx:0,cy:0})}),HS=Object.freeze({left:0,top:0,right:0,bottom:0});function vp(e){let t=e.picture,n=null;if(!t){for(let r of e.diagnostics){if(r.code!=="unsupported-graphic")continue;let o=r.detail??"";n=_S[o]??"graphic";break}n===null&&(n="graphic");}return Object.freeze({hyperlinkHref:e.hyperlinkHref,effects:e.effects,crop:t?.crop??HS,transform:t?.transform??zS,placeholderGraphicKind:t?null:n,vectorShape:e.vectorShape})}var Qt=12700;function tt(e){return e/Qt}function jn(e){if(!Number.isFinite(e)||Math.abs(e)>1e4*Qt*72)return null;let t=e/Qt;return Number.isFinite(t)?t:null}function bn(e){let t=tt(e.inlineDistancesEmu.left),n=tt(e.inlineDistancesEmu.right),r=tt(e.inlineDistancesEmu.top),o=tt(e.inlineDistancesEmu.bottom),a=tt(e.effectExtentEmu.left),i=tt(e.effectExtentEmu.right),l=tt(e.effectExtentEmu.top),s=tt(e.effectExtentEmu.bottom),c=tt(e.extentEmu.cx),d=tt(e.extentEmu.cy);return Object.freeze({distL:t,distR:n,distT:r,distB:o,effectL:a,effectR:i,effectT:l,effectB:s,width:c,height:d,totalWidth:t+a+c+i+n,lineContribution:r+l+d+s+o})}function Tp(e,t,n){let r=Math.max(n.distT+n.effectT,e-n.height),o=Math.max(t,r-n.effectT+n.height+n.effectB+n.distB),a=r+n.height+n.effectB;return Object.freeze({extentTopY:r,lineHeight:o,baseline:Math.max(e,a)})}function Fi(e,t,n){if(Math.abs(t)<1e-4&&Math.abs(n)<1e-4)return e;let r=a=>Object.freeze({...a,x:a.x+t,y:a.y+n}),o=a=>Object.freeze({x:a.x+t,y:a.y+n});return Object.freeze({...e,contentBounds:r(e.contentBounds),paintBounds:r(e.paintBounds),hitBounds:r(e.hitBounds),transformedCorners:Object.freeze(e.transformedCorners.map(o)),clipPolygon:e.clipPolygon?Object.freeze(e.clipPolygon.map(o)):null})}function Mi(e,t,n){return Math.abs(t)<1e-4&&Math.abs(n)<1e-4?e:Object.freeze({...e,x:e.x+t,y:e.y+n,advanceStart:e.advanceStart+t,advanceEnd:e.advanceEnd+t,paintBounds:Object.freeze({...e.paintBounds,x:e.paintBounds.x+t,y:e.paintBounds.y+n}),hitBounds:Object.freeze({...e.hitBounds,x:e.hitBounds.x+t,y:e.hitBounds.y+n}),geometry:Fi(e.geometry,t,n)})}function hd(e,t){return e.length===0?e:e.map(n=>{let r=n.geometry.effectInsets.bottom,o=t-n.height-r,a=o-n.y;return Math.abs(a)<1e-4&&n.baselineOffset===t?n:Object.freeze({...n,y:o,baselineOffset:t,geometry:Fi(n.geometry,0,a),paintBounds:Object.freeze({...n.paintBounds,y:n.paintBounds.y+a}),hitBounds:Object.freeze({...n.hitBounds,y:n.hitBounds.y+a})})})}function yd(e,t){let n=Math.max(e.x,t.x),r=Math.max(e.y,t.y),o=Math.min(e.x+e.width,t.x+t.width),a=Math.min(e.y+e.height,t.y+t.height);return o<=n||a<=r?Object.freeze({x:n,y:r,width:0,height:0}):Object.freeze({x:n,y:r,width:o-n,height:a-r})}function Ei(e,t){let n=yd(e.paintBounds,t),r=n.width>0&&n.height>0?n:Object.freeze({...n}),o=e.x-e.geometry.contentBounds.x,a=e.y-e.geometry.contentBounds.y,i=Fi(e.geometry,o,a);return Object.freeze({...e,paintBounds:n,hitBounds:r,geometry:Li(i,t)})}var Rp=new Set(["character","column","insideMargin","leftMargin","margin","outsideMargin","page","rightMargin"]),Ip=new Set(["bottomMargin","insideMargin","line","margin","outsideMargin","page","paragraph","topMargin"]);function en(e){return e%2===1}function Op(e,t){return !(!t.layoutInCell||t.cellBox===null||!Number.isFinite(t.cellBox.height)||t.cellBox.height<=0||!Number.isFinite(t.cellBox.width)||t.cellBox.width<=0)}function kp(e,t){if(Op(e,t)){let s=t.cellBox;if(!s)return null;let{x:c,width:d}=s;switch(e){case "page":case "column":case "margin":case "leftMargin":return {left:c,right:c+d,center:c+d/2};case "rightMargin":return {left:c,right:c+d,center:c+d/2};case "character":return {left:t.anchorCharacterX,right:t.anchorCharacterX,center:t.anchorCharacterX};case "insideMargin":return en(t.pageNumber)?{left:c,right:c+d,center:c+d/2}:{left:c+d,right:c+d,center:c+d};case "outsideMargin":return en(t.pageNumber)?{left:c+d,right:c+d,center:c+d}:{left:c,right:c+d,center:c+d/2};default:return null}}let n=-t.marginLeft,r=t.contentWidth+t.marginRight,o=0,a=t.contentWidth,i=t.columnBox.x,l=t.columnBox.x+t.columnBox.width;switch(e){case "page":return {left:n,right:r,center:(n+r)/2};case "margin":return {left:o,right:a,center:o+t.contentWidth/2};case "column":return {left:i,right:l,center:i+t.columnBox.width/2};case "character":return {left:t.anchorCharacterX,right:t.anchorCharacterX,center:t.anchorCharacterX};case "leftMargin":return {left:n,right:n,center:n};case "rightMargin":return {left:r,right:r,center:r};case "insideMargin":return en(t.pageNumber)?{left:o,right:o,center:o}:{left:a,right:a,center:a};case "outsideMargin":return en(t.pageNumber)?{left:r,right:r,center:r}:{left:n,right:n,center:n};default:return null}}function Bp(e,t){if(Op(e,t)){let s=t.cellBox;if(!s)return null;let{y:c,height:d}=s;switch(e){case "page":case "margin":case "topMargin":case "bottomMargin":return {top:c,bottom:c+d,center:c+d/2};case "paragraph":return {top:t.paragraphBox.y,bottom:t.paragraphBox.y+t.paragraphBox.height,center:t.paragraphBox.y+t.paragraphBox.height/2};case "line":return {top:t.anchorLineBox.y,bottom:t.anchorLineBox.y+t.anchorLineBox.height,center:t.anchorLineBox.y+t.anchorLineBox.height/2};case "insideMargin":return en(t.pageNumber)?{top:c,bottom:c+d,center:c+d/2}:{top:c+d,bottom:c+d,center:c+d};case "outsideMargin":return en(t.pageNumber)?{top:c+d,bottom:c+d,center:c+d}:{top:c,bottom:c+d,center:c+d/2};default:return null}}let n=-t.contentInsetTop,r=t.contentBandHeight,o=n+t.pageHeight-t.marginBottom,a=r+t.contentInsetBottom,i=0,l=t.contentHeight;switch(e){case "page":return {top:n,bottom:a,center:(n+a)/2};case "margin":return {top:i,bottom:l,center:i+t.contentHeight/2};case "paragraph":return {top:t.paragraphBox.y,bottom:t.paragraphBox.y+t.paragraphBox.height,center:t.paragraphBox.y+t.paragraphBox.height/2};case "line":return {top:t.anchorLineBox.y,bottom:t.anchorLineBox.y+t.anchorLineBox.height,center:t.anchorLineBox.y+t.anchorLineBox.height/2};case "topMargin":return {top:n,bottom:n,center:n};case "bottomMargin":return {top:o,bottom:o,center:o};case "insideMargin":return en(t.pageNumber)?{top:i,bottom:i,center:i}:{top:l,bottom:l,center:l};case "outsideMargin":return en(t.pageNumber)?{top:a,bottom:a,center:a}:{top:n,bottom:n,center:n};default:return null}}function Cp(e){return e===null?0:jn(e)}function jS(e,t,n){let r=en(n.pageNumber);if(n.layoutInCell&&n.cellBox&&Number.isFinite(n.cellBox.width)&&n.cellBox.width>0){let{x:o,width:a}=n.cellBox;return e==="inside"?r?o:o+a-t:e==="outside"?r?o+a-t:o:null}return e==="inside"?r?0:n.contentWidth-t:e==="outside"?r?n.contentWidth-t:0:null}function WS(e,t,n){let r=en(n.pageNumber),o=n.contentBandHeight;if(n.layoutInCell&&n.cellBox&&Number.isFinite(n.cellBox.height)&&n.cellBox.height>0){let{y:a,height:i}=n.cellBox;return e==="inside"?r?a:a+i-t:e==="outside"?r?a+i-t:a:null}return e==="inside"?r?0:o-t:e==="outside"?r?o-t:0:null}function GS(e,t,n,r,o){let a=kp(e,o);if(!a)return null;let i=Cp(n);if(i===null)return null;if(t==="left")return a.left+i;if(t==="center")return a.center-r/2+i;if(t==="right")return a.right-r+i;if(t==="inside"||t==="outside"){let l=jS(t,r,o);if(l!==null)return l+i}return a.left+i}function XS(e,t,n,r,o){let a=Bp(e,o);if(!a)return null;let i=Cp(n);if(i===null)return null;if(t==="top")return a.top+i;if(t==="center")return a.center-r/2+i;if(t==="bottom")return a.bottom-r+i;if(t==="inside"||t==="outside"){let l=WS(t,r,o);if(l!==null)return l+i}return a.top+i}function la(e){let t=e.contentBandHeight;return Object.freeze({x:-e.marginLeft,y:-e.contentInsetTop,width:e.pageWidth,height:t+e.contentInsetTop+e.contentInsetBottom})}function bd(e,t){let n=bn(e),r=e.position,o=e.anchor,a="page",i="page";if(!r||!o)return Object.freeze({x:0,y:0,horizontalFrame:a,verticalFrame:i,horizontalFrameOrigin:0,verticalFrameOrigin:0,layoutFallback:"unresolvable-frame"});if(o.simplePos){let g=jn(r.simplePosition.xEmu),y=jn(r.simplePosition.yEmu);return Object.freeze(g===null||y===null?{x:0,y:0,horizontalFrame:r.horizontal.relativeFrom,verticalFrame:r.vertical.relativeFrom,horizontalFrameOrigin:0,verticalFrameOrigin:0,layoutFallback:"unresolvable-frame"}:{x:g-t.marginLeft,y:y-t.contentInsetTop,horizontalFrame:r.horizontal.relativeFrom,verticalFrame:r.vertical.relativeFrom,horizontalFrameOrigin:0,verticalFrameOrigin:0})}let l=r.horizontal.relativeFrom,s=r.vertical.relativeFrom,c=kp(l,t),d=Bp(s,t),u=c?.left??0,p=d?.top??0;if(!Rp.has(l)||!Ip.has(s))return Object.freeze({x:0,y:0,horizontalFrame:Rp.has(l)?l:a,verticalFrame:Ip.has(s)?s:i,horizontalFrameOrigin:u,verticalFrameOrigin:p,layoutFallback:"unresolvable-frame"});let f=GS(l,r.horizontal.align,r.horizontal.offsetEmu,n.width,t),m=XS(s,r.vertical.align,r.vertical.offsetEmu,n.height,t);return Object.freeze(f===null||m===null?{x:0,y:0,horizontalFrame:l,verticalFrame:s,horizontalFrameOrigin:u,verticalFrameOrigin:p,layoutFallback:"unresolvable-frame"}:{x:f,y:m,horizontalFrame:l,verticalFrame:s,horizontalFrameOrigin:u,verticalFrameOrigin:p})}function $S(e){let t=e.input.projection,n=t.anchor,r=bn(t),o=oo({projection:t,anchorX:e.resolved.x,anchorY:e.resolved.y,extentWidth:r.width,extentHeight:r.height}),a=e.clipRegion?yd(o.paintBounds,e.clipRegion):o.paintBounds,i=a.width>0&&a.height>0?a:Object.freeze({...a});return Object.freeze({kind:"anchoredDrawing",drawingNodeId:e.input.drawingNodeId,paragraphId:e.anchorParagraphId,anchorParagraphId:e.anchorParagraphId,ownerPartName:e.input.ownerPartName,start:e.start,x:e.resolved.x,y:e.resolved.y,width:r.width,height:r.height,horizontalFrame:e.resolved.horizontalFrame,verticalFrame:e.resolved.verticalFrame,horizontalFrameOrigin:e.resolved.horizontalFrameOrigin,verticalFrameOrigin:e.resolved.verticalFrameOrigin,behindDocument:n?.behindDocument??false,allowOverlap:n?.allowOverlap??true,layoutInCell:n?.layoutInCell??true,relativeHeight:n?.relativeHeight??0,wrap:t.wrap==="inline"?"inFront":t.wrap,...e.sourceOrder!==void 0?{sourceOrder:e.sourceOrder}:{},...e.resolved.layoutFallback?{layoutFallback:e.resolved.layoutFallback}:{},...e.textboxStory?{textboxStory:e.textboxStory}:{},paintBounds:a,hitBounds:i,geometry:e.clipRegion?Li(o,e.clipRegion):o,resource:e.input.resource,accessibility:chunkDY3QVCWC_cjs.bb(t),...vp(t)})}function Lt(e,t){if(e.kind!=="paragraph")return [];let n=[],r=o=>{if(o.kind==="drawing"){let a=t.projectionForAtom?.(o.id)??t.project(o);a?.kind==="anchored"&&n.push({atomId:o.id,projection:a});return}if(chunkDY3QVCWC_cjs.ab(o)){let a=t.projectionForAtom?.(o.id)??null;a?.kind==="anchored"&&n.push({atomId:o.id,projection:a});return}if("children"in o)for(let a of o.children)r(a);};for(let o of e.children)r(o);return Object.freeze(n)}function Dt(e){let t=new Map;if(e.kind!=="paragraph")return t;let n=0,r=o=>{if(o.kind==="drawing"||chunkDY3QVCWC_cjs.ab(o)){t.set(o.id,n),n+=1;return}if(o.kind==="textValue"){n+=o.value.length;return}if("children"in o)for(let a of o.children)r(a);};for(let o of e.children){if(o.kind==="run"){for(let a of o.children)r(a);continue}if(o.kind==="hyperlink"){for(let a of o.children)if(a.kind==="run")for(let i of a.children)r(i);}}return t}function VS(e,t,n){for(let o of e.spans){if(t<o.range.start)break;if(t<o.range.end){if(n&&o.text!==void 0&&o.style!==void 0){let l=t-o.range.start;return o.box.x+Jt(o.text.slice(0,l),o.style,n)}let a=o.range.end-o.range.start;if(a<=0)return o.box.x;let i=t-o.range.start;return o.box.x+o.box.width*i/a}if(t===o.range.end)return n&&o.text!==void 0&&o.style!==void 0?o.box.x+Jt(o.text,o.style,n):o.box.x+o.box.width}let r;for(let o of e.spans)o.range.end<=t&&(r=o);return r?n&&r.text!==void 0&&r.style!==void 0?r.box.x+Jt(r.text,r.style,n):r.box.x+r.box.width:e.box.x}function YS(e,t){let n=e.range.start;for(let r of e.spans)r.range.end<=t&&(n=r.range.end);return n}function xd(e,t,n){if(!(Math.abs(n)<=.001))for(let r=0;r<e.length;r+=1){let o=e[r];o.anchorParagraphId===t&&(e[r]=Object.freeze({...o,y:o.y+n,geometry:Fi(o.geometry,0,n),paintBounds:Object.freeze({...o.paintBounds,y:o.paintBounds.y+n}),hitBounds:Object.freeze({...o.hitBounds,y:o.hitBounds.y+n})}));}}function ao(e){let t=Lt(e.paragraph,e.drawingLayout);if(t.length===0)return [];let n=Dt(e.paragraph),r=[];for(let o of t){let a=o.projection;if(a.hidden)continue;let i=n.get(o.atomId);if(i===void 0||e.fragmentRange&&(i<e.fragmentRange.start||i>=e.fragmentRange.end))continue;let l=e.lines.find(y=>i>=y.range.start&&i<y.range.end);if(!l)continue;let s=a.anchor?.layoutInCell??true,d=a.position?.horizontal.relativeFrom==="character"?YS(l,i):i,u=Object.freeze({...e.frameBase,paragraphBox:e.paragraphBox,anchorLineBox:l.box,anchorCharacterX:VS(l,d,e.measurer),columnBox:e.columnBox,cellBox:e.cellBox,layoutInCell:s}),p=bd(a,u),m=s&&e.cellBox!==null&&Number.isFinite(e.cellBox.height)&&e.cellBox.height>0&&Number.isFinite(e.cellBox.width)&&e.cellBox.width>0?e.cellBox:la(e.frameBase),g=$S({input:Object.freeze({drawingNodeId:o.atomId,ownerPartName:e.drawingLayout.ownerPartName,projection:a,resource:e.drawingLayout.resourceOf(a)}),anchorParagraphId:e.paragraphId,start:d,resolved:p,clipRegion:m,...e.sourceOrderOf?{sourceOrder:e.sourceOrderOf(o.atomId)}:{},...a.textboxStory&&e.layoutTextboxStory?{textboxStory:e.layoutTextboxStory(a)}:{}});r.push(g);}return Object.freeze(r)}function Lp(e){let t=bn(e.input.projection),n=e.slotX+t.distL+t.effectL,r=oo({projection:e.input.projection,anchorX:n,anchorY:e.y,extentWidth:t.width,extentHeight:t.height}),o=e.contentTop!==void 0&&e.contentBottom!==void 0?Object.freeze({x:e.contentLeft,y:e.contentTop,width:Math.max(0,e.contentRight-e.contentLeft),height:Math.max(0,e.contentBottom-e.contentTop)}):Object.freeze({x:e.contentLeft,y:r.paintBounds.y,width:Math.max(0,e.contentRight-e.contentLeft),height:r.paintBounds.height}),a=yd(r.paintBounds,o),i=a.width>0&&a.height>0?a:Object.freeze({...a});return Object.freeze({kind:"inlineDrawing",drawingNodeId:e.input.drawingNodeId,paragraphId:e.paragraphId,ownerPartName:e.input.ownerPartName,start:e.start,x:n,y:e.y,width:t.width,height:t.height,distL:t.distL,distR:t.distR,distT:t.distT,distB:t.distB,advanceStart:e.slotX,advanceEnd:e.slotX+t.totalWidth,baselineOffset:e.baseline,paintBounds:a,hitBounds:i,geometry:Li(r,o),resource:e.input.resource,accessibility:chunkDY3QVCWC_cjs.bb(e.input.projection),...vp(e.input.projection)})}var US=256,Pd=8,ur=8,io=class extends Error{name="DrawingExclusionConvergenceError";constructor(t="drawing exclusion reflow did not converge"){super(t);}};function KS(e,t){let n=Math.max(1,t.columnCount);if(n<=1)return 0;let r=e.x+e.width/2;if(t.columnLefts&&t.columnWidths&&t.columnLefts.length===n){for(let i=0;i<n;i+=1){let l=t.columnLefts[i],s=l+t.columnWidths[i];if(r>=l-.001&&r<s+.001)return i}return n-1}let o=t.columnGapPt,a=(t.contentWidth-o*(n-1))/n;for(let i=0;i<n;i+=1){let l=i*(a+o),s=l+a;if(r>=l-.001&&r<s+.001)return i}return n-1}function wd(e){return e.behindDocument?"behind":"inFront"}function Fp(e){return e!=="inline"&&e!=="behind"&&e!=="inFront"}function ZS(e){switch(e){case "inline":case "behind":case "inFront":return null;case "square":case "squareLeft":case "squareRight":return "square";case "tight":return "tight";case "through":return "through";case "topAndBottom":return "topAndBottom";default:return null}}function qS(e){return e==="squareLeft"?"left":e==="squareRight"?"right":"bothSides"}function Rd(e){let t=ZS(e.projection.wrap);if(!t||!e.projection.wrapGeometry)return null;let n=e.projection.wrapGeometry,r=Object.freeze({x:e.anchorX,y:e.anchorY,width:e.geometry.contentBounds.width,height:e.geometry.contentBounds.height});return bp({mode:t,contentBounds:r,geometry:e.geometry,wrapDistancesEmu:n.distancesEmu,polygonEmu:n.polygon,crop:e.projection.picture?.crop??{},transform:e.projection.picture?.transform??{rotationDegrees:0,flipHorizontal:false,flipVertical:false,offsetEmu:{x:0,y:0},extentEmu:{cx:0,cy:0}},extentWidthPt:e.geometry.contentBounds.width,extentHeightPt:e.geometry.contentBounds.height,textSide:t==="square"?qS(e.projection.wrap):n.textSide,contentLeft:e.contentLeft,contentRight:e.contentRight})}function Id(e){if(e.mode==="topAndBottom"||e.mode==="square")return pd(e.contentBounds,e.effectInsets,e.wrapDistances);let t=[e.contentBounds.y,e.contentBounds.y+e.contentBounds.height];if(e.polygon)for(let o of e.polygon)t.push(o.y);let n=Math.min(...t)-e.effectInsets.top-e.wrapDistances.top,r=Math.max(...t)+e.effectInsets.bottom+e.wrapDistances.bottom;return Object.freeze({x:e.contentLeft,y:n,width:Math.max(0,e.contentRight-e.contentLeft),height:Math.max(0,r-n)})}function JS(e){if(e.drawing.behindDocument||!Fp(e.drawing.wrap))return null;let t=e.yOverride??e.drawing.y,n=Rd({projection:e.projection,geometry:e.drawing.geometry,contentLeft:e.contentLeft,contentRight:e.contentRight,anchorX:e.drawing.x,anchorY:t});return n?Object.freeze({drawingNodeId:e.drawing.drawingNodeId,anchorParagraphId:e.drawing.anchorParagraphId,anchorModelStart:e.drawing.start,sourceOrder:e.sourceOrder,paintLayer:wd(e.drawing),relativeHeight:e.drawing.relativeHeight,allowOverlap:e.drawing.allowOverlap,columnIndex:e.columnIndex??0,y:t,verticalBand:Id(n),input:n}):null}function Mp(e,t){let n=e.sourceOrder??Number.MAX_SAFE_INTEGER,r=t.sourceOrder??Number.MAX_SAFE_INTEGER;return n!==r?n-r:e.drawingNodeId.localeCompare(t.drawingNodeId)}function QS(e,t){let n=wd(e),r=wd(t);return n!==r?n==="behind"?-1:1:e.relativeHeight!==t.relativeHeight?e.relativeHeight-t.relativeHeight:Mp(e,t)}function Ep(e){return Object.freeze([...e].sort(QS))}function Sd(e,t){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function vd(e,t){if(Math.abs(t)<=1e-4)return e;let n=e.geometry;return Object.freeze({...e,y:e.y+t,paintBounds:Object.freeze({...e.paintBounds,y:e.paintBounds.y+t}),hitBounds:Object.freeze({...e.hitBounds,y:e.hitBounds.y+t}),geometry:Object.freeze({...n,contentBounds:Object.freeze({...n.contentBounds,y:n.contentBounds.y+t}),paintBounds:Object.freeze({...n.paintBounds,y:n.paintBounds.y+t}),hitBounds:Object.freeze({...n.hitBounds,y:n.hitBounds.y+t}),transformedCorners:n.transformedCorners.map(r=>Object.freeze({x:r.x,y:r.y+t})),clipPolygon:n.clipPolygon?n.clipPolygon.map(r=>Object.freeze({x:r.x,y:r.y+t})):null})})}function Np(e,t){let n=t.maxAttempts??US,r=[...e].sort(Mp),o=[],a=[],i=[];for(let l of r){if(l.allowOverlap){o.push(l);continue}let s=l,c=0;for(;c<n&&o.some(g=>Sd(g.paintBounds,s.paintBounds));){let f=o.find(g=>Sd(g.paintBounds,s.paintBounds)),m=f.paintBounds.y+f.paintBounds.height-s.paintBounds.y+.001;s=vd(s,m),c+=1;}let d=o.some(p=>Sd(p.paintBounds,s.paintBounds)),u=s.paintBounds.y+s.paintBounds.height>t.pageBottom+.001;if(d||u){a.push(s),i.push(s.drawingNodeId);continue}o.push(s);}return Object.freeze({drawings:Object.freeze(o),deferred:Object.freeze(a),deferredNodeIds:Object.freeze(i)})}function lo(e,t,n,r){let o=[{start:n,end:r}];for(let a of t){let i=a.verticalBand;if(e<i.y||e>=i.y+i.height)continue;let l=yp(e,a.input),s=[];for(let c of o)for(let d of l){let u=Math.max(c.start,d.start),p=Math.min(c.end,d.end);p>u+1e-6&&s.push(Object.freeze({start:u,end:p}));}if(o=s,o.length===0)break}return Object.freeze(o)}function Ap(e,t){for(let n of t)if(e>=n.start-1e-6&&e<n.end-1e-6)return Math.max(0,n.end-e);return 0}function e0(e,t){for(let n of t)if(n.end>e+1e-6)return n;return null}function Td(e,t){let n=e0(e,t);if(!n)return null;let r=Math.max(e,n.start),o=n.end-r;return o<=.001?null:Object.freeze({x:r,available:o})}function t0(e,t,n){let r=e.contentBounds;return Object.freeze({...e,contentBounds:Object.freeze({...r,x:r.x+t,y:r.y+n}),contentLeft:e.contentLeft+t,contentRight:e.contentRight+t,...e.polygon?{polygon:e.polygon.map(o=>Object.freeze({x:o.x+t,y:o.y+n}))}:{},...e.clipPolygon?{clipPolygon:e.clipPolygon.map(o=>Object.freeze({x:o.x+t,y:o.y+n}))}:{}})}function Od(e,t){return Object.freeze({...e,layoutFallback:t})}function Dp(e,t,n,r){return e.length===0?e:Object.freeze(e.map(o=>{let a=o.verticalBand,i=o.input;return Object.freeze({...o,y:o.y-n,verticalBand:Object.freeze({...a,x:a.x-t,y:a.y-n}),input:Object.freeze({...t0(i,-t,-n),contentLeft:r?.left,contentRight:r?.right??i.contentRight-t})})}))}function _p(e,t,n){return Object.freeze(e.filter(r=>{let o=n(r.anchorParagraphId);return o===void 0?r.sourceOrder<=t:o<=t}))}function zp(e){let t=Lt(e.paragraph,e.drawingLayout);if(t.length===0)return Object.freeze([]);let n=Dt(e.paragraph),r=Math.max(1,e.contentRight-e.contentLeft),o=[];for(let a of t){if(a.projection.anchor?.behindDocument||!Fp(a.projection.wrap)||a.projection.wrap==="topAndBottom")continue;let i=n.get(a.atomId);if(i===void 0)continue;let l=e.anchorLineTopByModelStart.get(i);if(l===void 0)continue;let s=Object.freeze({x:e.contentLeft,y:l,width:r,height:14}),c=e.anchorCellBox!=null,d=bd(a.projection,{pageNumber:1,pageWidth:e.contentRight+e.contentLeft+r,pageHeight:792,marginLeft:e.contentLeft,marginRight:0,marginBottom:0,contentInsetTop:0,contentInsetBottom:0,contentWidth:r,contentHeight:648,contentBandHeight:648,paragraphBox:s,anchorLineBox:s,anchorCharacterX:e.contentLeft,columnBox:s,cellBox:c?e.anchorCellBox:null,layoutInCell:c,ownerPartName:e.drawingLayout.ownerPartName}),u=e.paragraphStartY+l,p=bn(a.projection),f=oo({projection:a.projection,anchorX:d.x,anchorY:u,extentWidth:p.width,extentHeight:p.height}),m=Rd({projection:a.projection,geometry:f,contentLeft:e.contentLeft,contentRight:e.contentRight,anchorX:d.x,anchorY:u});m&&o.push(Object.freeze({drawingNodeId:a.atomId,anchorParagraphId:e.paragraphId,anchorModelStart:i,sourceOrder:e.sourceOrderOf?.(a.atomId)??Number.MAX_SAFE_INTEGER,paintLayer:a.projection.anchor?.behindDocument?"behind":"inFront",relativeHeight:a.projection.anchor?.relativeHeight??0,allowOverlap:a.projection.anchor?.allowOverlap??true,columnIndex:0,y:u,verticalBand:Id(m),input:m}));}return o.sort((a,i)=>a.sourceOrder-i.sourceOrder),Object.freeze(o)}function Ni(e){let t=Lt(e.paragraph,e.drawingLayout);if(t.length===0)return Object.freeze([]);let n=Dt(e.paragraph),r=[];for(let o of t){if(o.projection.anchor?.behindDocument||o.projection.wrap!=="topAndBottom")continue;let a=n.get(o.atomId);if(a===void 0)continue;let i=e.anchorLineTopByModelStart.get(a);if(i===void 0)continue;let l=e.paragraphStartY+i,s=bn(o.projection),c=oo({projection:o.projection,anchorX:e.contentLeft,anchorY:l,extentWidth:s.width,extentHeight:s.height}),d=Rd({projection:o.projection,geometry:c,contentLeft:e.contentLeft,contentRight:e.contentRight,anchorX:e.contentLeft,anchorY:l});d&&r.push(Object.freeze({drawingNodeId:o.atomId,anchorParagraphId:e.paragraphId,anchorModelStart:a,sourceOrder:e.sourceOrderOf?.(o.atomId)??Number.MAX_SAFE_INTEGER,paintLayer:o.projection.anchor?.behindDocument?"behind":"inFront",relativeHeight:o.projection.anchor?.relativeHeight??0,allowOverlap:o.projection.anchor?.allowOverlap??true,columnIndex:e.columnIndex??0,y:l,verticalBand:Id(d),input:d}));}return r.sort((o,a)=>o.sourceOrder-a.sourceOrder),Object.freeze(r)}var n0=8;function r0(e,t,n,r){return e<r&&t>n}function xn(e,t,n){if(t<=0||n.length===0)return 0;let r=0;for(let o=0;o<n0;o+=1){let a=e+r,i=a+t,l=a,s=false;for(let d of n){if(d.input.mode!=="topAndBottom")continue;let u=d.verticalBand.y,p=u+d.verticalBand.height;r0(a,i,u,p)&&(s=true,l=Math.max(l,p));}if(!s)break;let c=l-e;if(c<=r+.001)break;r=c;}return r}function o0(e){return e.map(t=>`${t.start.toFixed(3)}-${t.end.toFixed(3)}`).join(",")}function a0(e){let t=e.contentBounds,n=e.wrapDistances,r=e.effectInsets,o=e.polygon?.map(i=>`${i.x.toFixed(3)},${i.y.toFixed(3)}`).join(";")??"",a=e.clipPolygon?.map(i=>`${i.x.toFixed(3)},${i.y.toFixed(3)}`).join(";")??"";return [e.mode,e.textSide,t.x.toFixed(3),t.y.toFixed(3),t.width.toFixed(3),t.height.toFixed(3),n.top.toFixed(3),n.right.toFixed(3),n.bottom.toFixed(3),n.left.toFixed(3),r.top.toFixed(3),r.right.toFixed(3),r.bottom.toFixed(3),r.left.toFixed(3),o,a].join(":")}function tn(e){return e.length===0?"":e.map(t=>{let n=t.verticalBand,r=t.y+t.input.contentBounds.height/2,o=lo(r,[t],t.input.contentLeft,t.input.contentRight);return [t.drawingNodeId,String(t.sourceOrder),String(t.columnIndex),t.y.toFixed(3),n.x.toFixed(3),n.y.toFixed(3),n.width.toFixed(3),n.height.toFixed(3),a0(t.input),o0(o)].join("|")}).join(`
|
|
8
|
-
`)}function kd(e,t,n,r,o,a){let i=[];for(let l of e){let s=t.projectionForAtom?.(l.drawingNodeId);if(!s)continue;let c=l.sourceOrder??o?.(l.drawingNodeId)??Number.MAX_SAFE_INTEGER,d=a!==void 0?KS(l,a):0,u=JS({drawing:l,projection:s,sourceOrder:c,contentLeft:n,contentRight:r,columnIndex:d});u&&i.push(u);}return i.sort((l,s)=>l.sourceOrder-s.sourceOrder),Object.freeze(i)}function sa(e,t,n,r,o){let a=o??Object.freeze({columnCount:1,columnGapPt:0,contentWidth:n}),i=new Map;for(let l of e){let s=l.anchoredDrawings??[],c=kd(s,t,0,n,r,a);c.length>0&&i.set(l.index,c);}return i}function Ai(e,t){if(e.size!==t.size)return false;for(let[n,r]of e){let o=t.get(n);if(!o||tn(r)!==tn(o))return false}return true}function Di(e){return e.size===0?"":[...e.entries()].sort(([t],[n])=>t-n).map(([t,n])=>`${t}:${tn(n)}`).join(`
|
|
9
|
-
`)}var i0=.001;function vt(e){return Kr(e)}var zi=new Set(["-","\u2010","\u2013","\u2014"]);function Hp(e){let t=[];for(let n=0;n<e.length;n+=1){let r=e[n];r===" "?(n>0&&t[t.length-1]!==n&&t.push(n),t.push(n+1)):(r===" "||zi.has(r)&&n>0&&e[n-1]!==" "&&n+1<e.length&&e[n+1]!==" "&&!zi.has(e[n+1]))&&t.push(n+1);}return t[t.length-1]!==e.length&&t.push(e.length),t}function l0(e,t,n){for(let r=t;r<e.length;r+=1){let o=e[r];if(o.inlineDrawing)return true;let a=r===t?n:0;for(let i=a;i<o.text.length;i+=1){let l=o.text[i];if(l===`
|
|
10
|
-
`||l===chunkDY3QVCWC_cjs.Xb)return false;if(l!==" "&&l!==" ")return true}}return false}function s0(e,t,n,r){let o=0,a=0,i=false;for(let l=t;l<e.length;l+=1){let s=e[l],c=l===t?n:0;for(let d=c;d<s.text.length;){let u=s.text[d];if(u===" "||u===`
|
|
11
|
-
`||u===chunkDY3QVCWC_cjs.Xb)return {width:o,decimalOffset:i?a:o};let p=d+1,f=s.text.slice(d,p),m=r.measure(zn(f,s.style),s.style);!i&&u==="."?i=true:i||(a+=m),o+=m,d=p;}}return {width:o,decimalOffset:i?a:o}}function d0(e,t,n,r){let o=e.relativeTo==="indent"||!r?{left:t,right:n}:r;return {positionPt:e.alignment==="right"?o.right:e.alignment==="center"?(o.left+o.right)/2:o.left,alignment:e.alignment,...e.leader?{leader:e.leader}:{}}}function jp(e,t,n,r=0){return (n.length>0?xn(e,t.height,n):t.exclusionSkipBefore??0)+Math.max(0,t.height-t.trailingSpacing)+r}function c0(e){return Object.freeze({spans:e.spans.map(t=>Object.freeze({...t,box:Object.freeze({...t.box})})),drawings:e.drawings.map(t=>Object.freeze({...t,paintBounds:Object.freeze({...t.paintBounds}),hitBounds:Object.freeze({...t.hitBounds})})),start:e.start,end:e.end,width:e.width,height:e.height,baseline:e.baseline,leading:e.leading,trailingSpacing:e.trailingSpacing,...e.pageBreakAfter?{pageBreakAfter:true}:{},...e.columnBreakAfter?{columnBreakAfter:true}:{},...e.deletedRanges?{deletedRanges:Object.freeze(e.deletedRanges)}:{},...e.exclusionSkipBefore?{exclusionSkipBefore:e.exclusionSkipBefore}:{}})}var _i=31680;function da(e){if(e===void 0||!/^-?\d{1,9}$/.test(e))return null;let t=Number(e);return Number.isFinite(t)?t>_i?_i:t<-_i?-_i:t:null}function ca(e){let t=0,n=0;for(let r of e){if(r.localName!=="ind")continue;let o=r.attributes?.left??r.attributes?.start,a=r.attributes?.right??r.attributes?.end,i=da(o),l=da(a);i!==null&&(t=i/20),l!==null&&(n=l/20);}return {left:t,right:n}}function Wp(e){let t="left";for(let n of e)if(n.localName==="jc")switch(n.attributes?.val){case "center":t="center";break;case "right":case "end":t="right";break;case "both":case "distribute":t="both";break;default:t="left";}return t}function u0(e){return e.endsWith(" ")}function f0(e,t){let n=e.range.end-e.range.start;if(n<=0||e.text===" "||e.projected||e.text.length!==n)return Object.freeze([0,e.box.width]);let r=[0];for(let o=1;o<=e.text.length;o+=1)r.push(Jt(e.text.slice(0,o),e.style,t));return Object.freeze(r)}function so(e,t){return e.map(n=>n.caretEdges?n:{...n,caretEdges:f0(n,t)})}function Hi(e,t,n,r,o,a,i){if(e.length===0)return e;if(o==="left")return so(e,t);let l=e[e.length-1],s=l.text.replace(/\s+$/,""),c=s===l.text?0:l.box.width-Jt(s,l.style,t),d=i??l.box.x-n+l.box.width-c,u=r-d;if(u<=0)return so(e,t);if(o==="both"){if(a)return so(e,t);let f=[];for(let b=1;b<e.length;b+=1)u0(e[b-1].text)&&f.push(b);if(f.length===0)return so(e,t);let m=u/f.length,g=new Set(f),y=0;return so(e.map((b,x)=>(g.has(x)&&(y+=m),y===0?b:{...b,box:{...b.box,x:b.box.x+y}})),t)}let p=o==="center"?u/2:u;return so(e.map(f=>({...f,box:{...f.box,x:f.box.x+p}})),t)}function ji(e,t){return t===0||e.length===0?e:e.map(n=>Mi(n,t,0))}function Wi(e,t,n,r,o,a,i,l=[],s=Xr,c,d,u){let p=i!==null&&a?a.get(i):void 0;if(p)return p;let f=u?.lineSpacing??Wr,m=u?.firstLineOffset??0,g=[],y=Oi(e,l,c,d,u?.projectLink,u?.noteMarks,u?.displayMode??ft,g,u?.inlineDrawingLayout,u?.themeFonts,u?.projectFieldLink,u?.documentProperties,u?.bodyPageFields??false),b=Math.max(0,u?.startOffset??0),x=y.flatMap(C=>{if(C.end<=b)return [];if(C.start>=b)return [C];let S=b-C.start;return [{...C,text:C.projected?C.text:C.text.slice(S),start:b}]});if(x.length===0&&u?.suppressEmptyPlaceholderLine)return [];let T=C=>({...C.revisions===void 0?{}:{revisions:C.revisions},...C.fieldAtom===void 0?{}:{fieldAtom:C.fieldAtom}}),k=u?.markRunProperties??l,M=k.length===0?qt:De(k,u?.themeFonts),E=n+r,P=u?.contentLeft??n,L=u?.contentRight??E,O=u?.contentOriginX??0,R=[],h={spans:[],start:b,end:b,drawings:[],width:0,height:0,baseline:0,leading:0,trailingSpacing:0},D=false,W=new Map,ee=(()=>{let C=new Set;if(!u?.inlineDrawingLayout)return C;let S=Dt(e);for(let K of Lt(e,u.inlineDrawingLayout)){if(K.projection.wrap!=="topAndBottom")continue;let V=S.get(K.atomId);V!==void 0&&C.add(V);}return C})(),B=(()=>{let C=new Set;if(!u?.inlineDrawingLayout)return C;let S=Dt(e);for(let K of Lt(e,u.inlineDrawingLayout)){if(K.projection.anchor?.behindDocument||K.projection.wrap==="topAndBottom"||K.projection.wrap==="inline"||K.projection.wrap==="behind"||K.projection.wrap==="inFront")continue;let V=S.get(K.atomId);V!==void 0&&C.add(V);}return C})(),F=[...(u?.pageExclusionZones??[]).filter(C=>C.anchorParagraphId===t).map(C=>C.anchorModelStart),...ee,...B],H=(()=>{let C=new Map;if(F.length===0)return C;let S=0,K=0,V=0,U=()=>V===0?m:0,le=()=>Math.max(1,r-U()),Re=we=>{S=we,K=0,V+=1;};for(let we of x){if(we.inlineDrawing){let Ke=bn(we.inlineDrawing.projection).totalWidth;K>0&&K+Ke>le()&&Re(we.start),F.includes(we.start)&&C.set(we.start,S),K+=Ke;continue}if(we.text===`
|
|
12
|
-
`||we.text===chunkDY3QVCWC_cjs.Xb){Re(we.end);continue}let gt=0;for(let Ke of Hp(we.text)){let dt=we.text.slice(gt,Ke);if(dt.length===0)continue;let Xe=we.style,ct=o.measure(dt,Xe),rt=we.start+gt;K>0&&K+ct>le()&&Re(rt),F.includes(rt)&&C.set(rt,S),F.includes(we.start)&&C.set(we.start,S),K+=ct,gt=Ke;}}for(let we of F)C.has(we)||C.set(we,S);return C})();for(let C of B){let S=H.get(C);S!==void 0&&W.set(C,S);}let z=C=>{if(C.anchorParagraphId!==t)return true;let S=H.get(C.anchorModelStart);return S!==void 0&&h.start>=S||h.end>=C.anchorModelStart},I=()=>{let C=u?.pageExclusionZones?.filter(V=>!(!z(V)||V.anchorParagraphId===t&&(V.input.mode==="topAndBottom"||u?.anchorCellBox!=null)))??[],S=u?.inlineDrawingLayout&&u.anchorCellBox!=null&&W.size>0?zp({paragraph:e,paragraphId:t,drawingLayout:u.inlineDrawingLayout,contentLeft:P,contentRight:L,paragraphStartY:u.paragraphStartY??0,anchorLineTopByModelStart:W,anchorCellBox:u.anchorCellBox}):Object.freeze([]),K=u?.inlineDrawingLayout&&W.size>0?Ni({paragraph:e,paragraphId:t,drawingLayout:u.inlineDrawingLayout,contentLeft:P,contentRight:L,paragraphStartY:u?.paragraphStartY??0,anchorLineTopByModelStart:W}):Object.freeze([]);return Object.freeze([...C,...S,...K])},_=()=>R.length===0?m:0,v=()=>O+n+_(),j=()=>Math.max(1,r-_()),J=()=>R.reduce((C,S)=>C+S.height+(S.exclusionSkipBefore??0),0),N=()=>(u?.paragraphStartY??0)+J(),G=C=>{ee.has(C)&&W.set(C,J());},Y=()=>{if(D)return;let C=I();if(C.length===0||h.spans.length>0||h.drawings.length>0)return;let S=o.lineMetrics(M),K=xn(N(),h.height>0?h.height:S.height,C);K>.001&&(D=true,h.exclusionSkipBefore=K);},$=()=>N()+(h.exclusionSkipBefore??0)+.001,Q=()=>{let C=I();if(C.length===0)return true;Y();let S=lo($(),C,P,L),K=v()+h.width,V=Td(K,S);return V?(V.x>K+.001&&(h.width=V.x-v()),true):false},q=()=>{let C=j(),S=I();if(S.length===0)return C;if(Y(),!Q())return 0;let K=lo($(),S,P,L),V=v()+h.width,U=Ap(V,K);return U<=.001?0:Math.min(C,h.width+U)},se=()=>Math.max(0,q()-h.width),Pe=()=>{let C=I();if(C.length===0||!C.some(le=>le.anchorParagraphId!==t||h.end>le.anchorModelStart))return false;let K=lo($(),C,P,L),V=v()+h.width,U=false;for(let le of K){if(!U){V>=le.start-1e-6&&V<le.end-1e-6&&(U=true);continue}if(le.end-le.start>.001)return h.width=le.start-v(),true}return false},he=C=>{if(F.length===0||C<Math.min(...F))return;let S=I().filter(Re=>Re.anchorParagraphId===t&&C>=Re.anchorModelStart);if(S.length===0)return;Y();let K=lo($(),S,P,L),V=v()+h.width,U=-1;for(let Re=0;Re<K.length;Re+=1){let we=K[Re];if(V>=we.start-.001&&V<we.end-.001){U=Re;break}}if(U>=0)return;let le=Td(V,K);le&&le.x>V+.001&&(h.width=le.x-v());},fe=C=>{I().filter(K=>K.input.mode==="topAndBottom"&&K.anchorParagraphId===t&&C>=K.anchorModelStart).length!==0&&((h.spans.length>0||h.drawings.length>0)&&Fe(),Y());},ye=(C,S=0)=>S>64?se()>=C:(Y(),Q()?C<=se()+.001?true:h.spans.length>0||h.drawings.length>0?Pe()&&C<=se()+.001?true:(Fe(),ye(C,S+1)):Pe()?ye(C,S+1):true:h.spans.length>0||h.drawings.length>0?(Fe(),ye(C,S+1)):true),Ae=(C,S)=>g.filter(K=>K.start<S&&K.end>C).map(K=>({start:Math.max(K.start,C),end:Math.min(K.end,S)})),Ie=-1,mt=0,lt=0,Le="",nn=(C,S)=>{let K=o.lineMetrics(C),V=Tp(K.baseline,h.height||K.height,S);return h.height===0?(h.height=V.lineHeight,h.baseline=V.baseline):(V.lineHeight>h.height&&(h.height=V.lineHeight),h.baseline=Math.max(h.baseline,V.baseline)),{extentTopY:V.extentTopY}},rn=()=>{if(h.drawings.length===0)return;h.spans.length===0&&(h.baseline=Math.max(h.baseline,...h.drawings.map(S=>S.y+S.height)));let C=hd(h.drawings,h.baseline);h.drawings.splice(0,h.drawings.length,...C),h.baseline=Math.max(h.baseline,...h.drawings.map(S=>S.y+S.height));},ve=()=>{if(h.drawings.length===0)return;let C=hd(h.drawings,h.baseline);h.drawings.splice(0,h.drawings.length,...C);},Ge=C=>{let S=0;for(let K of h.spans)S=Math.max(S,o.lineMetrics(K.style).height);return S>0?S:C},st=()=>{if(h.drawings.length===0)return;let C=Math.max(0,...h.drawings.map(S=>S.y+S.height+S.distB));h.height=Math.max(h.height,C);},ne=()=>{rn(),st();},on=()=>{if(!(h.spans.length<2))for(let C=1;C<h.spans.length;C+=1){let S=h.spans[C-1],K=h.spans[C],V=K.box.x-(S.box.x+S.box.width);V<=.001||h.drawings.some(le=>le.start>=S.range.end&&le.start<K.range.start)||(h.spans[C]={...K,wrapAdvanceBefore:V});}},Fe=C=>{let S=o.lineMetrics(M),K=h.baseline;h.height===0?(h.height=S.height,h.baseline=S.baseline,K=S.baseline):C?.includeParagraphMark&&(h.height=Math.max(h.height,S.height)),ne();let V=h.height,U=f.rule==="auto"&&h.drawings.length>0,le=U?Ge(S.height):V,Re=Ds(f,le,h.baseline);U||(h.baseline=Re.baseline),h.leading=Math.max(0,h.baseline-K),h.height=Re.height,ve(),f.rule!=="exact"&&st(),h.trailingSpacing=h.drawings.length===0&&f.rule!=="exact"?Math.max(0,Re.height-V):0,(()=>{let Ke=I();if(Ke.length===0)return;let dt=xn(N(),h.height,Ke);dt>.001?h.exclusionSkipBefore=dt:delete h.exclusionSkipBefore;})(),on();let gt=Ae(h.start,h.end);gt.length>0&&(h.deletedRanges=gt),R.push(h),Ie=-1,mt=0,D=false,h={spans:[],drawings:[],start:h.end,end:h.end,width:0,height:0,baseline:0,leading:0,trailingSpacing:0},Y();},nt=false;for(let C=0;C<x.length;C+=1){let S=x[C];if(S.breakKind==="column"){let U=o.lineMetrics(S.style);h.spans.push({range:{paragraphId:t,start:S.start,end:S.end},text:S.text,props:S.props,style:S.style,box:{x:v()+h.width,y:0,width:0,height:U.height},...S.link?{link:S.link}:{},...T(S)}),h.height=Math.max(h.height,U.height),h.baseline=Math.max(h.baseline,U.baseline),h.end=S.end,Fe(),R[R.length-1].columnBreakAfter=true,nt=true;continue}if(S.projected&&!S.inlineDrawing&&S.text==="\uFFFC"){G(S.start),h.end=S.end;continue}if(S.inlineDrawing){G(S.start);let U=bn(S.inlineDrawing.projection),le=U.totalWidth;if((h.spans.length>0||h.drawings.length>0)&&h.width+le>q()&&Fe(),!ye(le))continue;let{extentTopY:we}=nn(S.style,U),gt=v()+h.width;h.drawings.push(Lp({input:S.inlineDrawing,paragraphId:t,start:S.start,slotX:gt,y:we,baseline:h.baseline,contentLeft:P,contentRight:L})),h.width+=le,h.end=S.end,Ie=-1,Le="";continue}if(S.text===chunkDY3QVCWC_cjs.Xb){let U=o.lineMetrics(S.style);h.spans.push({range:{paragraphId:t,start:S.start,end:S.end},text:chunkDY3QVCWC_cjs.Xb,props:S.props,style:S.style,box:{x:v()+h.width,y:0,width:0,height:U.height},...S.link?{link:S.link}:{},...T(S)}),h.height=Math.max(h.height,U.height),h.baseline=Math.max(h.baseline,U.baseline),h.end=S.end,Fe(),R[R.length-1].pageBreakAfter=true,nt=false;continue}if(S.text===`
|
|
13
|
-
`){let U=o.lineMetrics(S.style);h.spans.push({range:{paragraphId:t,start:S.start,end:S.end},text:`
|
|
14
|
-
`,props:S.props,style:S.style,box:{x:v()+h.width,y:0,width:0,height:U.height},...S.link?{link:S.link}:{},...T(S)}),h.height=Math.max(h.height,U.height),h.baseline=Math.max(h.baseline,U.baseline),h.end=S.end,Fe(),nt=true;continue}nt=false,fe(S.start),F.length>0&&S.start>=Math.min(...F)&&he(S.start);let K=o.lineMetrics(S.style),V=0;for(let U of Hp(S.text)){let le=S.text.slice(V,U);if(le.length===0)continue;let Re=!!S.projected||!!S.positionalTab||S.end-S.start!==S.text.length,we=Re?{paragraphId:t,start:S.start,end:S.end}:{paragraphId:t,start:S.start+V,end:S.start+U};if(le===" "){(h.spans.length>0||h.drawings.length>0)&&h.width>=q()&&l0(x,C,U)&&Fe();let ot=v()+h.width,$e=s0(x,C,U,o),Me=S.positionalTab?d0(S.positionalTab,n,E,u?.marginExtent):null,be=Me===null?$r(s,ot,E):Me.positionPt>ot?Me:{...$r(s,ot,E),...Me.leader?{leader:Me.leader}:{}},Bt=Ys(be.alignment,ot,be.positionPt,$e.width,$e.decimalOffset);h.spans.push({range:we,text:" ",props:S.props,style:S.style,box:{x:ot,y:0,width:Bt,height:K.height},...be.leader?{tabLeader:be.leader,tabLeaderAdvancePt:o.measure(Gs.get(be.leader)??".",S.style)}:{},...S.link?{link:S.link}:{},...be.leader?{tabLeader:be.leader}:{},...Re&&!S.positionalTab?{projected:true}:{},...S.noteNav?{noteNav:S.noteNav}:{},...T(S)}),h.width+=Bt,h.height=Math.max(h.height,K.height),h.baseline=Math.max(h.baseline,K.baseline),h.end=Re?S.end:S.start+U,Le=" ",V=U;continue}let gt=S.measureText??le,Ke=o.measure(zn(gt,S.style),S.style),dt=V>0||Le===""||/[\s\u00a0]$/.test(Le)||/^[\s\u00a0]/.test(le)||zi.has(Le[Le.length-1])&&!zi.has(le[0]);if(dt&&(Ie=h.spans.length,mt=h.width,lt=h.end),he(S.start+V),h.width+Ke>q()+i0&&(h.spans.length>0||h.drawings.length>0))if(dt||Ie<=0){if(!(Pe()&&h.width+Ke<=q()+.001)){if(Fe(),!ye(Ke))continue}}else {let ot=h.spans.splice(Ie);h.width=mt,h.end=lt,h.height=0,h.baseline=0;for(let $e of h.spans){let Me=o.lineMetrics($e.style);h.height=Math.max(h.height,Me.height),h.baseline=Math.max(h.baseline,Me.baseline);}Fe();for(let $e of ot){let Me=o.lineMetrics($e.style);h.spans.push({...$e,box:{...$e.box,x:v()+h.width}}),h.width+=$e.box.width,h.height=Math.max(h.height,Me.height),h.baseline=Math.max(h.baseline,Me.baseline),h.end=$e.range.end;}Ie=0,mt=0;}else if(h.spans.length===0&&h.drawings.length===0&&Ke>q()+.001&&!ye(Ke))continue;let Xe=le,ct=S.start+V,rt=Ke;if(!Re&&S.measureText===void 0)for(;h.spans.length===0&&Xe.length>1&&rt>q();){let ot=1,$e=Xe.length-1,Me=1;for(;ot<=$e;){let Pr=ot+$e>>1;o.measure(zn(Xe.slice(0,Pr),S.style),S.style)<=q()?(Me=Pr,ot=Pr+1):$e=Pr-1;}let be=Xe.slice(0,Me),Bt=o.measure(zn(be,S.style),S.style);h.spans.push({range:{paragraphId:t,start:ct,end:ct+Me},text:be,props:S.props,style:S.style,box:{x:v()+h.width,y:0,width:Bt,height:K.height},...S.link?{link:S.link}:{},...S.noteNav?{noteNav:S.noteNav}:{},...T(S)}),h.width+=Bt,h.height=Math.max(h.height,K.height),h.baseline=Math.max(h.baseline,K.baseline),h.end=ct+Me,Fe(),Xe=Xe.slice(Me),ct+=Me,rt=o.measure(zn(Xe,S.style),S.style);}h.spans.push({range:Re?we:{paragraphId:t,start:ct,end:S.start+U},text:Xe,props:S.props,style:S.style,box:{x:v()+h.width,y:0,width:rt,height:K.height},...S.link?{link:S.link}:{},...Re&&!S.positionalTab?{projected:true}:{},...S.noteNav?{noteNav:S.noteNav}:{},...T(S)}),h.width+=rt,h.height=Math.max(h.height,K.height),h.baseline=Math.max(h.baseline,K.baseline),h.end=Re?S.end:S.start+U,Le=le,V=U;}}return (h.spans.length>0||h.drawings.length>0||R.length===0||nt)&&Fe({includeParagraphMark:true}),i!==null&&a&&a.set(i,R.map(c0)),R}var Xi=32,Xp=4096,p0=128,m0=/[\u0000-\u001F\u007F-\u009F]/,g0={major:null,minor:null};function fr(e){return e.kind!=="textValue"}function ua(e,t){return e.attributes.find(n=>n.localName===t)?.value}function fa(e,t){for(let n of e.children)if(fr(n)&&n.localName===t)return n}function co(e){return !(e===void 0||e.length===0||e.length>p0||m0.test(e)||chunkDY3QVCWC_cjs.S(e))}function h0(e){return e==="1"||e==="true"}function Gi(e){return e.map(t=>t.attributes?{n:t.localName,a:t.attributes}:{n:t.localName})}function ma(e){if(e){for(let t of e.children)if(fr(t)&&(t.kind==="runProperties"||t.localName==="rPr"))return t}}function $i(e){if(e){for(let t of e.children)if(fr(t)&&(t.kind==="paragraphProperties"||t.localName==="pPr"))return t}}var Gp=new Set(["rPrChange","pPrChange","ins","del","moveFrom","moveTo"]);function uo(e){return e.some(t=>Gp.has(t.localName))?e.filter(t=>!Gp.has(t.localName)):e}function y0(e){let t=fa(e,"docDefaults");if(!t)return {run:[],paragraph:[],paragraphNode:void 0};let n=fa(t,"rPrDefault"),r=fa(t,"pPrDefault"),o=ma(n),a=$i(r);return {run:uo(vt(o)),paragraph:uo(vt(a)),paragraphNode:a}}function b0(e){let t=ua(e,"styleId");if(!co(t))return null;let n=ua(e,"type")??"",r=(()=>{let c=fa(e,"basedOn");return c?ua(c,"val"):void 0})(),o=co(r)?r:null,a=$i(e),i=ma(e),l=new Map,s=0;for(let c of e.children){if(c.kind==="textValue"||c.localName!=="tblStylePr")continue;if(s>=x0)break;s+=1;let d=ua(c,"type");d&&!l.has(d)&&l.set(d,c);}return {styleId:t,type:n,basedOn:o,isDefault:h0(ua(e,"default")),paragraphProperties:uo(vt(a)),runProperties:uo(vt(i)),paragraphPropertiesNode:a,tablePropertiesNode:fa(e,"tblPr"),conditionalTableFormats:l}}var x0=32,pa=Object.freeze({tablePropertyNodes:Object.freeze([]),paragraphPropertyNodes:Object.freeze([]),paragraphProperties:Object.freeze([]),runProperties:Object.freeze([]),conditional:new Map});function $p(e,t){if(!t||!co(t))return pa;let n=Ld(e,t,"table");if(n.length===0)return pa;let r=[],o=[],a=[],i=[],l=new Map;for(let s of n){s.tablePropertiesNode&&r.push(s.tablePropertiesNode),s.paragraphPropertiesNode&&o.push(s.paragraphPropertiesNode),a.push(...s.paragraphProperties),i.push(...s.runProperties);for(let[c,d]of s.conditionalTableFormats)l.set(c,d);}return {tablePropertyNodes:r,paragraphPropertyNodes:o,paragraphProperties:a,runProperties:i,conditional:l}}var Bd=Object.freeze({paragraphProperties:Object.freeze([]),paragraphPropertyNodes:Object.freeze([]),runProperties:Object.freeze([])});function Vp(e,t){let n=[...e.paragraphPropertyNodes],r=[...e.paragraphProperties],o=[...e.runProperties];for(let a of t){let i=e.conditional.get(a);if(!i)continue;let l=$i(i);l&&(n.push(l),r.push(...uo(vt(l))));let s=ma(i);s&&o.push(...uo(vt(s)));}return n.length===0&&r.length===0&&o.length===0?Bd:{paragraphProperties:r,paragraphPropertyNodes:n,runProperties:o}}function S0(e,t=g0){let n=new Map;if(!e)return {cacheToken:chunkSFMAIFEN_cjs.y({empty:true,theme:t}),docDefaultsRun:[],docDefaultsParagraph:[],docDefaultsParagraphNode:void 0,defaultParagraphStyleId:null,defaultCharacterStyleId:null,themeFonts:t,styles:n};let r=y0(e),o=null,a=null,i=0;for(let s of e.children){if(!fr(s)||s.localName!=="style")continue;if(i>=Xp)break;i+=1;let c=b0(s);if(!c)continue;let{isDefault:d,...u}=c;n.set(u.styleId,u),u.type==="paragraph"?d?o=u.styleId:o===u.styleId&&(o=null):u.type==="character"&&(d?a=u.styleId:a===u.styleId&&(a=null));}return {cacheToken:chunkSFMAIFEN_cjs.y({dR:Gi(r.run),dP:Gi(r.paragraph),defP:o,defC:a,theme:t,styles:[...n.values()].map(s=>({id:s.styleId,type:s.type,basedOn:s.basedOn,p:Gi(s.paragraphProperties),r:Gi(s.runProperties)}))}),docDefaultsRun:r.run,docDefaultsParagraph:r.paragraph,docDefaultsParagraphNode:r.paragraphNode,defaultParagraphStyleId:o,defaultCharacterStyleId:a,themeFonts:t,styles:n}}function Cd(e,t){let n=null;for(let r of e){if(r.localName!==t)continue;let o=r.attributes?.val;n=co(o)?o:null;}return n}function Ld(e,t,n){let r=e.styles.get(t);if(!r||r.type!==n)return [];let o=[],a=new Set,i=t,l=0;for(;i!==null&&l<Xi&&!(a.has(i)||!co(i));){a.add(i);let s=e.styles.get(i);if(!s)break;o.push(s),i=s.basedOn,l+=1;}return o.reverse()}function fo(e,t,n){let r=vt(t),o=Cd(r,"pStyle")??e.defaultParagraphStyleId,a=o?Ld(e,o,"paragraph"):[],i=[...e.docDefaultsParagraph,...n?.paragraphProperties??[],...a.flatMap(f=>f.paragraphProperties)],l=[...i,...r],s=[];e.docDefaultsParagraphNode&&s.push(e.docDefaultsParagraphNode),n&&s.push(...n.paragraphPropertyNodes);for(let f of a)f.paragraphPropertiesNode&&s.push(f.paragraphPropertiesNode);t&&s.push(t);let c=ma(t&&fr(t)?t:void 0),d=vt(c),u=[...e.docDefaultsRun,...n?.runProperties??[],...a.flatMap(f=>f.runProperties)],p=d.length===0?u:[...u,...d];return {paragraphProperties:l,inheritedParagraphProperties:i,paragraphPropertyNodes:s,runProperties:u,markRunProperties:p,styleId:o??null}}function Yp(e){let t;for(let n of e){if(!n||n.kind==="textValue")continue;let r=false;for(let o of n.children)if(fr(o)&&o.localName==="pBdr"){r=true;break}r&&(t=un(n).bottom);}return t}function Sn(e,t,n){let r=[];if(n){let a=Cd(t,"rStyle")??n.defaultCharacterStyleId;a&&(r=Ld(n,a,"character").flatMap(i=>i.runProperties));}return e.length===0&&r.length===0?t:t.length===0&&r.length===0?e:[...e,...r,...t]}function ga(e,t,n,r,o,a=false){let i=$i(e),l=n?fo(n,i,o):null,s=l?[...l.paragraphProperties]:vt(i),c=vt(ma(i&&fr(i)?i:void 0)),d=l?l.runProperties:[],u=l?l.markRunProperties:c,p=ca(s),f=0,m=0;if(r)f=r.indent.hanging,m=r.indent.firstLine;else for(let b of s){if(b.localName!=="ind")continue;let x=da(b.attributes?.hanging),T=da(b.attributes?.firstLine);(b.attributes?.hanging!==void 0||b.attributes?.firstLine!==void 0)&&(f=x!==null?Math.max(0,x)/20:0,m=T!==null?T/20:0);}let g=r?{left:r.indent.left,right:r.indent.right,hanging:f,firstLine:m}:{left:p.left,right:p.right,hanging:f,firstLine:m},y=l?$s(l.paragraphPropertyNodes):Vs(i);return {props:s,indent:g,available:Math.max(1,t-g.left-g.right),alignment:Wp(s),spacing:Ns(s,{inList:r!==void 0,inTableCell:a}),lineSpacing:As(s),contextualSpacing:_s(s),styleId:l?l.styleId:Cd(s,"pStyle")??null,bottomBorder:l?Yp(l.paragraphPropertyNodes):un(i).bottom,borders:l?Go(l.paragraphPropertyNodes):un(i),shading:Ws(s),inheritedRunProperties:d,markRunProperties:u,tabStops:y,tabStopsCacheToken:ar(y),...r?{listItem:r}:{}}}var Up=new WeakMap;function w0(e){let t=Up.get(e);if(t!==void 0)return t;let n=o=>o.some(a=>a.localName==="pBdr"),r=n(e.docDefaultsParagraph);if(!r){for(let o of e.styles.values())if(n(o.paragraphProperties)){r=true;break}}return Up.set(e,r),r}function Kp(e,t){return !t||!w0(t)?un(e):Go(fo(t,e).paragraphPropertyNodes)}var P0=Object.freeze({keepNext:false,keepLines:false,widowControl:true});function Fd(e){let t=e?.val;return t!=="0"&&t!=="false"&&t!=="off"}function Zp(e){let t=false,n=false,r=true;for(let o of e)switch(o.localName){case "keepNext":t=Fd(o.attributes);break;case "keepLines":n=Fd(o.attributes);break;case "widowControl":r=Fd(o.attributes);break;}return !t&&!n&&r?P0:{keepNext:t,keepLines:n,widowControl:r}}function qp(e,t,n,r,o){if(e<=t)return e;if(r.keepLines&&!o)return t;if(!r.widowControl||n<2)return e;let a=e;return n-a<2&&(a-=1),a-t===1&&(a-=1),a<t&&(a=t),a===t&&o?e:a}function Jp(e,t,n,r){let o=0,a=n;for(let i=t;i-t<8;i+=1){let l=e[i];if(!l||l.kind!=="paragraph"||!l.spacing||!l.keeps)return null;o+=Math.max(l.spacing.before,a)-a;let s=r(i);if(!l.keeps.keepNext||i+1>=e.length)return o+=s[0]??0,l.keeps.widowControl&&s.length>1&&(o+=s[1]),o;for(let c of s)o+=c;o+=l.spacing.after,a=l.spacing.after;}return null}function Qp(e,t){let n=e;for(let r=0;r<e.length;r+=1){let o=t(r);o!==void 0&&(n===e&&(n=[...e]),n[r]=`${n[r]}~mk~${o}`);}return n}function em(e,t){let n=e,r=0;for(let o=e.length-2;o>=0;o-=1)t(o)&&r<8?(n===e&&(n=[...e]),n[o]=`${e[o]}~kn~${n[o+1]}`,r+=1):r=0;return n}var R0=Qr;function _t(e,t){if(e.kind!=="textValue"){for(let n of e.children)if(n.kind!=="textValue"&&n.namespaceUri===chunkDY3QVCWC_cjs.ma&&n.localName===t)return n}}function tm(e){if(e.kind==="textValue")return false;let t=_t(e,"paragraphProperties")??_t(e,"pPr");if(!t)return false;let n=_t(t,"runProperties")??_t(t,"rPr");return n===void 0?false:_t(n,"del")!==void 0||_t(n,"moveFrom")!==void 0}function nm(e,t){if(e.kind==="textValue"||t>R0)return true;let n=(r,o)=>{for(let a of r){if(a.kind==="textValue")continue;if(a.kind==="run"){for(let l of a.children){if(l.kind==="text"){for(let s of l.children)if(s.kind==="textValue"&&s.value.length>0)return false;continue}if(l.kind!=="runProperties")return false}continue}if(chunkDY3QVCWC_cjs.Lb(a)){if(o>=chunkDY3QVCWC_cjs.Kb)continue;let l=chunkDY3QVCWC_cjs.Nb(a);if(l&&!n(l,o+1))return false;continue}if((a.kind==="hyperlink"||a.kind==="revisionInsert"||a.kind==="revisionMoveTo")&&!nm(a,o+1))return false}return true};return n(e.children,t)}function rm(e,t){if(t==="all-markup"||e.kind==="textValue")return false;let n=_t(e,"paragraphProperties")??_t(e,"pPr");if(!n)return false;let r=_t(n,"runProperties")??_t(n,"rPr");return r===void 0?false:(t==="proposed"?["del","moveFrom"]:["ins","moveTo"]).some(a=>_t(r,a)!==void 0)}function Md(e,t="proposed"){return e.kind!=="paragraph"||t!=="proposed"||!tm(e)?false:nm(e,0)}function I0(e){let t=e.root;if(t.localName==="hdr"||t.localName==="ftr")return t;let n=r=>{if(r.kind!=="textValue"){if(r.kind==="body")return r;for(let o of r.children){let a=n(o);if(a)return a}}};return n(t)}function v0(e,t){return !(e.kind==="paragraph"&&Md(e,t))}var sm=new WeakMap;function Vi(e){return sm.get(e)??null}function dm(e,t){let n=t.children.filter(a=>om(a)),r=e.flatMap(a=>a.children.filter(i=>!om(i))),o={...t,children:[...n,...r]};return sm.set(o,{merged:o,members:e}),o}function om(e){return e.kind!=="textValue"&&(e.kind==="paragraphProperties"||e.localName==="pPr")}function T0(e,t){if(t==="all-markup")return e.map(i=>i.block);let n=[],r=[],o=null,a=()=>{n.push(...am(r)),r=[],o=null;};for(let{block:i,parentKey:l}of e){if(r.length>0&&l!==o&&a(),i.kind!=="paragraph"){a(),n.push(i);continue}let s=rm(i,t);if((s||r.length>0)&&!k0(i,t)){a(),n.push(i);continue}if(s){r.push(i),o=l;continue}if(r.length===0){n.push(i);continue}let c=[...r,i];r=[],o=null,n.push(dm(c,i));}return n.push(...am(r)),n}function am(e){if(e.length<2)return e;let t=e[e.length-1];return [dm(e,t)]}function ha(e,t){return T0(O0(e),t).filter(r=>v0(r,t))}function O0(e){let t=[],n=(r,o,a)=>{for(let i of r)if(i.kind!=="textValue"){if(i.kind==="paragraph"||i.kind==="table"){t.push({block:i,parentKey:a});continue}chunkDY3QVCWC_cjs.Lb(i)&&o<chunkDY3QVCWC_cjs.Kb&&n(chunkDY3QVCWC_cjs.Ob(i),o+1,i.id);}};return n(e,0,""),t}var im=new WeakMap;function k0(e,t){let n=im.get(e),r=n?.get(t);if(r!==void 0)return r;let o=B0(e,t);return n?n.set(t,o):im.set(e,new Map([[t,o]])),o}function B0(e,t){if(!C0(e))return false;let n=Oi(e,[],void 0,void 0,void 0,void 0,t),r=0;for(let o of n)r=Math.max(r,o.end);return r<=chunkDY3QVCWC_cjs.Sd(e).length}function C0(e){let t=0,n=false,r=o=>{if(o.kind!=="textValue"){if(o.namespaceUri===chunkDY3QVCWC_cjs.ma&&o.localName==="fldChar"){let a=o.attributes.find(i=>i.localName==="fldCharType")?.value;a==="begin"?t+=1:a==="end"&&(t-=1,t<0&&(n=true));}for(let a of o.children)r(a);}};return r(e),t===0&&!n}var lm=chunkDY3QVCWC_cjs.He(16);function wn(e,t="all-markup"){let n=lm.get(e),r=n?.[t];if(r)return r;let o=I0(e),a=o?ha(o.children,t):[];return n?n[t]=a:lm.set(e,{[t]:a}),a}function Yi(e,t="all-markup"){return e.kind!=="note"?[]:ha(e.children,t)}function cm(e,t="all-markup"){return e.kind==="textValue"?[]:ha(e.children,t)}var L0={state:"none"},um=(e,t)=>t.state==="omitted"?e:t;function Ui(e,t,n={}){return e.state==="omitted"?t:e.state==="none"?L0:e}function Ed(e,t){let n=um;return {top:n(e.top,t.top),left:n(e.left,t.left),bottom:n(e.bottom,t.bottom),right:n(e.right,t.right),insideH:n(e.insideH,t.insideH),insideV:n(e.insideV,t.insideV)}}function Nd(e,t){let n=um;return {top:n(e.top,t.top),left:n(e.left,t.left),bottom:n(e.bottom,t.bottom),right:n(e.right,t.right)}}function Ki(e=1048576){let t=e|0;return {intervalsRemaining:t>0?t:0}}function fm(e,t,n,r){let o=Math.max(0,Math.min(t|0,1024)),a=new Array(e.length);for(let i=0;i<e.length;i+=1){if(r&&r.intervalsRemaining<=0){a[i]=[];continue}a[i]=F0(e[i],o,n,r);}return a}function F0(e,t,n,r){let o=[];for(let d=0;d<e.length;d+=1){let u=e[d],p=Math.max(0,u.gridColumn|0),f=Math.min(t,p+Math.max(0,u.gridSpan|0));p>=f||(o.push({x:p,kind:1,cellIndex:d,cell:u}),o.push({x:f,kind:0,cellIndex:d,cell:u}));}if(o.length===0)return [];o.sort((d,u)=>d.x!==u.x?d.x-u.x:d.kind!==u.kind?d.kind-u.kind:d.cellIndex-u.cellIndex);let a=new Map,i,l=o[0].x,s=[],c=()=>{i=void 0;for(let d of a.values())(!i||d.cellIndex<i.cellIndex)&&(i=d);};for(let d of o){if(d.x>l&&i&&(!r||r.intervalsRemaining>0)){let u=s[s.length-1];u&&u.end===l&&u.cellIndex===i.cellIndex&&u.cell===i.cell?s[s.length-1]={start:u.start,end:d.x,cell:u.cell,cellIndex:u.cellIndex}:(s.push({start:l,end:d.x,cell:i.cell,cellIndex:i.cellIndex}),n&&(n.ownershipSlotsWritten+=1),r&&(r.intervalsRemaining-=1));}d.kind===1?a.set(d.cellIndex,{cell:d.cell,cellIndex:d.cellIndex}):a.delete(d.cellIndex),c(),l=d.x;}return s}function M0(e,t){let n=0,r=e.length;for(;n<r;){let o=n+r>>1;e[o].start<=t?n=o+1:r=o;}return n}function Ad(e,t,n,r){r&&(r.columnLookups+=1);let o=e[t];if(!o||n<0)return;let a=M0(o,n)-1;if(a<0)return;let i=o[a];if(!(n>=i.end))return {cell:i.cell,cellIndex:i.cellIndex}}var hm=256,Ve={state:"omitted"},tl={state:"none"},ym={top:Ve,left:Ve,bottom:Ve,right:Ve,insideH:Ve,insideV:Ve},bm={top:Ve,left:Ve,bottom:Ve,right:Ve},pm={single:1,thick:2,double:3,dotted:4,dashed:5,triple:10},N0=new Map([["single","single"],["thick","thick"],["double","double"],["dotted","dotted"],["dashed","dashed"],["dashSmallGap","dashed"],["dotDash","dashed"],["dotDotDash","dashed"],["triple","triple"],["wave","single"],["hairline","single"],["inset","single"],["outset","single"]]);function ya(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function Dd(e,t){return e.attributes.find(n=>n.localName===t)?.value}function A0(e){return e===void 0||!/^\d{1,9}$/.test(e)?null:Number(e)}function D0(e){if(e===null)return .5;let t=e/8;return !Number.isFinite(t)||t<=0?.5:t>Wo?Wo:t}function nl(e){if(!e)return Ve;let t=Dd(e,"val");if(!t)return Ve;if(t==="nil"||t==="none")return tl;let n=N0.get(t)??"single",r=Dd(e,"color"),o=r===void 0||r==="auto"?null:ii(r)??null;return {state:"edge",style:n,color:o,widthPt:D0(A0(Dd(e,"sz")))}}function xm(e,t){if(!e)return bm;let n={top:Ve,left:Ve,bottom:Ve,right:Ve};for(let r of t)n[r]=nl(ya(e,r));return n}function rl(e){let t=e&&ya(e,"tblBorders");return t?{...xm(t,["top","left","bottom","right"]),insideH:nl(ya(t,"insideH")),insideV:nl(ya(t,"insideV"))}:ym}function ol(e){return xm(e&&ya(e,"tcBorders"),["top","left","bottom","right"])}function _d(e){return e.state!=="edge"?0:Math.max(1,Math.round(e.widthPt*8))}function mm(e){if(!e)return 0;let t=Number.parseInt(e.slice(0,2),16),n=Number.parseInt(e.slice(2,4),16),r=Number.parseInt(e.slice(4,6),16);return t+n+r}function Sm(e,t,n=true){if(e.state==="omitted")return t.state==="omitted"?Ve:t;if(t.state==="omitted")return e;if(e.state==="none")return t.state==="none"?tl:t;if(t.state==="none")return e;let r=_d(e),o=_d(t);if(r>o)return e;if(o>r)return t;let a=pm[e.style],i=pm[t.style];if(a!==i)return a>i?e:t;let l=mm(e.color),s=mm(t.color);return l<s?e:s<l?t:n?e:t}function Zi(e){if(e.state==="edge")return {style:e.style,color:e.color,widthPt:e.widthPt}}function _0(e,t,n){return n?t==="top"||t==="bottom"?e.insideH:e.insideV:e[t]}function z0(e,t){return e===void 0&&t===void 0?true:!e||!t?false:e.style===t.style&&e.color===t.color&&e.widthPt===t.widthPt}function qi(e){if(e.length===0)return [];let t=[],n={...e[0]};for(let r=1;r<e.length;r+=1){let o=e[r];n.gridEnd===o.gridStart&&z0(n.edge,o.edge)?n={...n,gridEnd:o.gridEnd}:(t.push(n),n={...o});}return t.push(n),t}function Ji(e,t,n){let r=e.filter(a=>a.edge!==void 0);if(r.length!==1)return;let o=r[0];if(!(o.gridStart!==t||o.gridEnd!==n))return o.edge}function gm(e,t,n){let r=0,o=Math.min(n,e.length);for(let a=Math.max(0,t);a<o;a+=1)r+=e[a];return r}function H0(e){if(!(!e||e.style!=="double"))return Hr(e.widthPt)}function Qi(e){return e==="dashed"?"dashed":e==="dotted"?"dotted":"solid"}function j0(e,t){return t?e==="outer"?t.insetPt:t.insetPt+t.strokePt+t.gapPt:0}function W0(e,t,n){return n?e==="outer"?t-n.insetPt:t-n.insetPt-n.strokePt-n.gapPt:t}function G0(e,t){return t?e==="outer"?t.insetPt+t.strokePt:t.insetPt+t.extentPt:0}function X0(e,t,n){return n?e==="outer"?t-n.insetPt-n.strokePt:t-n.insetPt-n.extentPt:t}function Wn(e,t){e.length>=hm||!(t.width>0)||!(t.height>0)||e.push(t);}function $0(e,t,n,r,o,a,i,l,s,c,d){let u=Hr(n.widthPt),{strokePt:p,gapPt:f,extentPt:m,insetPt:g}=u,y=Math.abs(r)<1e-6,b=Math.abs(o-a)<1e-6,x=Math.abs(r)<1e-6,T=Math.abs(o-i)<1e-6;if(t==="top"||t==="bottom"){let E=t==="top"?g:i-g-p,P=t==="top"?g+p+f:i-g-m;for(let L of ["outer","inner"]){let O=r,R=o;y&&(O=j0(L,l)),b&&(R=W0(L,a,s)),Wn(e,{side:t,role:L,color:n.color,cssStyle:"solid",x:O,y:L==="outer"?E:P,width:R-O,height:p});}return}let k=t==="left"?g:a-g-p,M=t==="left"?g+p+f:a-g-m;for(let E of ["outer","inner"]){let P=r,L=o;x&&(P=G0(E,c)),T&&(L=X0(E,i,d)),Wn(e,{side:t,role:E,color:n.color,cssStyle:"solid",x:E==="outer"?k:M,y:P,width:p,height:L-P});}}function V0(e,t,n,r,o,a,i){let l=n.widthPt,s=Math.max(1,l),c=l*3+s*2;if(t==="top"||t==="bottom"){let u=t==="top"?0:i-c;for(let p=0;p<3;p+=1)Wn(e,{side:t,role:p===0?"outer":p===1?"middle":"inner",color:n.color,cssStyle:"solid",x:r,y:u+p*(l+s),width:o-r,height:l});return}let d=t==="left"?0:a-c;for(let u=0;u<3;u+=1)Wn(e,{side:t,role:u===0?"outer":u===1?"middle":"inner",color:n.color,cssStyle:"solid",x:d+u*(l+s),y:r,width:l,height:o-r});}function Y0(e,t,n,r,o,a,i){let l=n.widthPt;t==="top"?Wn(e,{side:t,role:"edge",color:n.color,cssStyle:Qi(n.style),x:r,y:0,width:o-r,height:l}):t==="bottom"?Wn(e,{side:t,role:"edge",color:n.color,cssStyle:Qi(n.style),x:r,y:i-l,width:o-r,height:l}):t==="left"?Wn(e,{side:t,role:"edge",color:n.color,cssStyle:Qi(n.style),x:0,y:r,width:l,height:o-r}):Wn(e,{side:t,role:"edge",color:n.color,cssStyle:Qi(n.style),x:a-l,y:r,width:l,height:o-r});}function el(e,t){if(e.length===0)return;let n=e[0];return H0(n.edge)}function U0(e,t,n,r,o,a,i,l,s,c){let d=(D,W,ee)=>{let B=[];for(let F of W){if(!F.edge)continue;let H,z;ee?(H=gm(i,l,F.gridStart),z=gm(i,l,F.gridEnd)):(H=s[F.gridStart-c]??0,z=s[F.gridEnd-c]??a),B.push({side:D,gridStart:F.gridStart,gridEnd:F.gridEnd,startPt:H,endPt:z,edge:F.edge});}return B},u=d("top",e,true),p=d("left",t,false),f=d("bottom",n,true),m=d("right",r,false),g=[...u,...m,...f,...p],y=el(t),b=el(r),x=el(e),T=el(n),k=(D,W)=>D.length===1&&Math.abs(D[0].startPt)<1e-6&&Math.abs(D[0].endPt-W)<1e-6,M=k(u,o),E=k(p,a),P=k(f,o),L=k(m,a),O=[],R=(D,W,ee)=>{for(let B of W){let{edge:F,startPt:H,endPt:z}=B;F.style==="double"?$0(O,D,F,H,z,o,a,D==="top"||D==="bottom"?y:void 0,D==="top"||D==="bottom"?b:void 0,D==="left"||D==="right"?x:void 0,D==="left"||D==="right"?T:void 0):F.style==="triple"?V0(O,D,F,H,z,o,a):ee||Y0(O,D,F,H,z,o,a);}};R("top",u,M),R("left",p,E),R("bottom",f,P),R("right",m,L);let h={};return M&&u[0]&&(h.top=u[0].edge),E&&p[0]&&(h.left=p[0].edge),P&&f[0]&&(h.bottom=f[0].edge),L&&m[0]&&(h.right=m[0].edge),g.length>0&&(h.edgeSegments=g),O.length>0&&(h.strokes=O),h}function zd(e,t,n,r,o,a){let i=e.length,l=e.map(u=>u.map(()=>({})));o&&(o.ownershipSlotsWritten=0,o.columnLookups=0);let s=fm(e,n,o,a),c=(u,p,f)=>Ui(u.borders[p],_0(t,p,f),{}),d=(u,p,f,m)=>u.state==="none"&&p.state!=="edge"||p.state==="none"&&u.state!=="edge"?tl:Sm(f,m);for(let u=0;u<i;u+=1){let p=e[u];for(let f=0;f<p.length;f+=1){let m=p[f];if(m.vMergeContinue){l[u][f]={};continue}let g=m.mergeRowSpan??1,y=u+g-1,b=u===0,x=y===i-1,T=m.gridColumn===0,k=m.gridColumn+m.gridSpan-1,M=k>=n-1,E=[];if(b)for(let H=m.gridColumn;H<=k;H+=1)E.push({gridStart:H,gridEnd:H+1,edge:Zi(c(m,"top",false))});let P=[];if(T)for(let H=u;H<=y;H+=1)P.push({gridStart:H,gridEnd:H+1,edge:Zi(c(m,"left",false))});let L=[];for(let H=m.gridColumn;H<=k;H+=1){let z;if(x)z=c(m,"bottom",false);else {let I=Ad(s,y+1,H,o);I?.cell.vMergeContinue?z=Ve:z=d(m.borders.bottom,I?I.cell.borders.top:Ve,c(m,"bottom",true),I?c(I.cell,"top",true):t.insideH);}L.push({gridStart:H,gridEnd:H+1,edge:Zi(z)});}let O=[];for(let H=u;H<=y;H+=1){let z;if(M)z=c(m,"right",false);else {let I=Ad(s,H,k+1,o);z=d(m.borders.right,I?I.cell.borders.left:Ve,c(m,"right",true),I?c(I.cell,"left",true):t.insideV);}O.push({gridStart:H,gridEnd:H+1,edge:Zi(z)});}let R=qi(E),h=qi(P),D=qi(L),W=qi(O);if(!r){let H={},z=Ji(R,m.gridColumn,k+1),I=Ji(h,u,y+1),_=Ji(D,m.gridColumn,k+1),v=Ji(W,u,y+1);z&&(H.top=z),I&&(H.left=I),_&&(H.bottom=_),v&&(H.right=v);let j=[],J=(N,G)=>{for(let Y of G)Y.edge&&j.push({side:N,gridStart:Y.gridStart,gridEnd:Y.gridEnd,startPt:Y.gridStart,endPt:Y.gridEnd,edge:Y.edge});};J("top",R),J("left",h),J("bottom",D),J("right",W),j.length>0&&(H.edgeSegments=j),l[u][f]=H;continue}let ee=r.cellBoxes[u][f],B=[0],F=0;for(let H=u;H<=y;H+=1){let z=r.rowBands[H];F+=z.height,B.push(F);}B.length>1&&(B[B.length-1]=ee.height),l[u][f]=U0(R,h,D,W,ee.width,ee.height,r.columnWidthsPt,m.gridColumn,B,u);}}return l}function pr(e){return e?"state"in e?e.state==="edge"?e.widthPt:0:e.widthPt:0}var Hd=ym,jd=bm;var Pm=31680/20,zt=Object.freeze({type:"auto",value:0}),K0=100,Z0=Object.freeze({mm:72/25.4,cm:72/2.54,in:72,pt:1,pc:12,pi:12});function q0(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function Gd(e,t){return e.attributes.find(n=>n.localName===t)?.value}function Rm(e){if(/^\d{1,9}$/.test(e)){let r=Number(e)/20;return Number.isFinite(r)?{kind:"length",pt:r}:null}let t=/^(\d{1,7}(?:\.\d{1,4})?)%$/.exec(e);if(t){let r=Number(t[1]);return Number.isFinite(r)?{kind:"percent",percent:r}:null}let n=/^(\d{1,9}(?:\.\d{1,4})?)(mm|cm|in|pt|pc|pi)$/.exec(e);if(n){let r=Number(n[1])*Z0[n[2]];return Number.isFinite(r)?{kind:"length",pt:r}:null}return null}function mr(e){if(!e)return zt;let t=Gd(e,"type");if(t!==void 0&&t!=="pct"&&t!=="dxa")return t==="nil"?{type:"nil",value:0}:zt;let n=Gd(e,"w");if(n===void 0)return zt;let r=Rm(n);if(!r)return zt;let o=/^\d{1,9}$/.test(n);if(r.kind==="percent"||o&&t==="pct"){let a=r.kind==="percent"?r.percent:Number(n)/50;return !Number.isFinite(a)||a<=0?zt:{type:"pct",value:Math.min(a,K0)}}return !Number.isFinite(r.pt)||r.pt<=0?zt:{type:"dxa",value:Math.min(r.pt,Pm)}}function ba(e,t){if(!e)return;let n=mr(e);if(n.type==="dxa")return Math.min(n.value,t)}function Im(e){let t=q0(e,"tblGrid");if(!t)return [];let n=[];for(let r of t.children)if(r.kind!=="textValue"&&r.localName==="gridCol"&&(n.push(r),n.length>=1024))break;return n}function J0(e){let t=[];for(let n of e){let r=Gd(n,"w"),o=r===void 0?null:Rm(r);if(!o||o.kind!=="length"||!Number.isFinite(o.pt)||o.pt<=0){t.push(void 0);continue}t.push(o.pt>Pm?void 0:o.pt);}return t}var Wd=1,wm=.001;function Q0(e,t,n,r){let o=[];for(let i=0;i<n;i+=1)o.push(e[i]);let a=t.filter(i=>i.start<n&&(i.preferred.type==="dxa"||i.preferred.type==="pct"&&r>0)).sort((i,l)=>i.span-l.span);for(let i of a){let l=Math.min(i.start+i.span,n);if(l<=i.start)continue;let s=i.preferred.type==="pct"?r*i.preferred.value/100:i.preferred.value;if(!Number.isFinite(s)||s<=0)continue;if(l-i.start===1){let p=o[i.start];o[i.start]=p===void 0?s:Math.max(p,s);continue}let c=[],d=s;for(let p=i.start;p<l;p+=1){let f=o[p];f===void 0?c.push(p):d-=f;}if(c.length===0||d<=0)continue;let u=d/c.length;for(let p of c)o[p]=u;}return o}function vm(e){let{columnCount:t,tableWidth:n}=e,r=Number.isFinite(e.contentWidthPt)&&e.contentWidthPt>0,o=r?e.contentWidthPt:Wd,a=n.type==="dxa"?n.value:n.type==="pct"?o*n.value/100:0,i=J0(e.gridCols),l=Q0(i,e.claims,t,a),s=0,c=0;for(let b of l)b===void 0?c+=1:s+=b;let d=[];if(c>0){let b=s>0?s/Math.max(t-c,1):o/t,x=Math.max(o-s,0)/c,T=Math.max(Math.min(x,b),Wd);for(let k of l)d.push(k??T);}else for(let b of l)d.push(b);let u=d.reduce((b,x)=>b+x,0);if(!Number.isFinite(u)||u<=0)return new Array(t).fill(o/t);let p=t*Wd,f=e.layoutFixed||!r?Number.POSITIVE_INFINITY:o,m=Math.max(a>0?Math.min(a,f):Math.min(u,f),p),g=n.type==="pct"&&a>0;if(u<=m+wm&&!g||Math.abs(u-m)<=wm)return d;let y=m/u;return d.map(b=>b*y)}var ll=16,Sa=3,il=31680/20,zm=31680/20,Tm=1023,ew=256,Om=31680/20;function km(e){let t=e&&ge(e,"jc");if(!t)return;let n=He(t,"val");if(n==="center")return "center";if(n==="right"||n==="end")return "right";if(n==="left"||n==="start")return "left"}var Bm=31680/20,Hm={top:Sa,right:Sa,bottom:Sa,left:Sa};function ge(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function He(e,t){return e.attributes.find(n=>n.localName===t)?.value}function tw(e){let t=e&&ge(e,"gridSpan"),n=t&&He(t,"val");if(!n||!/^\d{1,7}$/.test(n))return 1;let r=Number(n);return Number.isInteger(r)&&r>1?Math.min(r,1024):1}function Cm(e,t){let n=e&&ge(e,t),r=n&&He(n,"val");if(!r||!/^\d{1,7}$/.test(r))return 0;let o=Number(r);return Number.isInteger(o)&&o>0?Math.min(o,1024):0}function nw(e){let t=e&&ge(e,"vMerge");return t?He(t,"val")!=="restart":false}function rw(e){let t=e&&ge(e,"vAlign"),n=t&&He(t,"val");return n==="center"?"center":n==="bottom"?"bottom":"top"}function Lm(e){return js(e&&ge(e,"shd"))}function Fm(e,t){let n=e&&ge(e,t);if(!n)return false;let r=He(n,"val");return r!=="0"&&r!=="false"}var xa=Object.freeze({rule:"auto"});function ow(e){let t=e&&ge(e,"trHeight");if(!t)return xa;let n=He(t,"hRule"),r=n==="auto"||n==="exact"||n==="atLeast"?n:void 0;if(r==="auto")return xa;let o=He(t,"val");if(o===void 0||!/^\d{1,9}$/.test(o))return xa;let a=Number(o);if(!Number.isFinite(a)||a<=0)return xa;let i=Math.min(a/20,zm);return i>0?{rule:r==="exact"?"exact":"atLeast",valuePt:i}:xa}function al(e){if(!e)return;let t=He(e,"w");if(t===void 0||!/^\d{1,9}$/.test(t))return;let n=Number(t);if(!Number.isFinite(n)||n<0)return;let r=n/20;return r>il?il:r}function Xd(e){if(!e)return {};let t=al(ge(e,"top")),n=al(ge(e,"left")),r=al(ge(e,"bottom")),o=al(ge(e,"right"));return {...t===void 0?{}:{top:t},...n===void 0?{}:{left:n},...r===void 0?{}:{bottom:r},...o===void 0?{}:{right:o}}}function $d(e,t){return {top:t.top??e.top,right:t.right??e.right,bottom:t.bottom??e.bottom,left:t.left??e.left}}function wa(e,t){let n=e.columnWidthsPt.reduce((o,a)=>o+a,0),r=t-n;return !Number.isFinite(r)||r<=0?0:e.alignment==="center"?r/2:e.alignment==="right"?r:Math.min(e.indentPt,r)}function Mm(e){if(e==="page")return "page";if(e==="margin")return "margin";if(e==="text")return "text"}function Em(e){if(e===void 0||!/^-?\d{1,9}$/.test(e))return;let t=Number(e);if(!Number.isFinite(t))return;let n=t/20;return Math.max(-Bm,Math.min(Bm,n))}function Nm(e){let t=e&&ge(e,"tblpPr");if(!t)return;let n=He(t,"tblpXSpec"),r=n==="left"||n==="center"||n==="right"||n==="inside"||n==="outside"?n:void 0,o=He(t,"tblpYSpec"),a=o==="inline"||o==="top"||o==="center"||o==="bottom"||o==="inside"||o==="outside"?o:void 0;return {horzAnchor:Mm(He(t,"horzAnchor"))??"text",vertAnchor:Mm(He(t,"vertAnchor"))??"text",...r?{xSpec:r}:{},xPt:Em(He(t,"tblpX"))??0,...a?{ySpec:a}:{},yPt:Em(He(t,"tblpY"))??0}}function jm(e,t,n){let r=n[e.horzAnchor],o=r.width-t,a;if(e.xSpec==="center"?a=r.left+o/2:e.xSpec==="right"||e.xSpec==="outside"?a=r.left+o:e.xSpec?a=r.left:a=r.left+e.xPt,!Number.isFinite(a))return r.left;let i=n.page.left+n.page.width;return Math.max(n.page.left,Math.min(a,i))}var aw=Object.freeze({firstRow:false,lastRow:false,firstColumn:false,lastColumn:false,rowBanding:true,columnBanding:true});function Pn(e,t){let n=He(e,t);if(n!==void 0)return n!=="0"&&n!=="false"&&n!=="off"}function iw(e){let t=e&&ge(e,"tblLook");if(!t)return aw;let n=He(t,"val"),r=n&&/^[0-9A-Fa-f]{1,4}$/.test(n)?Number.parseInt(n,16):0;return {firstRow:Pn(t,"firstRow")??(r&32)!==0,lastRow:Pn(t,"lastRow")??(r&64)!==0,firstColumn:Pn(t,"firstColumn")??(r&128)!==0,lastColumn:Pn(t,"lastColumn")??(r&256)!==0,rowBanding:Pn(t,"noHBand")===void 0?(r&512)===0:!Pn(t,"noHBand"),columnBanding:Pn(t,"noVBand")===void 0?(r&1024)===0:!Pn(t,"noVBand")}}var Vd=["firstRow","lastRow","firstCol","lastCol","band1Vert","band2Vert","band1Horz","band2Horz","nwCell","neCell","swCell","seCell"],Am=["firstRow","lastRow","firstColumn","lastColumn","oddVBand","evenVBand","oddHBand","evenHBand","firstRowFirstColumn","firstRowLastColumn","lastRowFirstColumn","lastRowLastColumn"];function Dm(e,t){let n=e&&ge(e,"cnfStyle");if(!n)return;let r=He(n,"val");if(r&&/^[01]{1,12}$/.test(r))for(let o=0;o<r.length&&o<Vd.length;o+=1)r[o]==="1"&&t.add(Vd[o]);for(let o=0;o<Am.length;o+=1)Pn(n,Am[o])===true&&t.add(Vd[o]);}var lw=["band1Vert","band2Vert","band1Horz","band2Horz","firstCol","lastCol","firstRow","lastRow","nwCell","neCell","swCell","seCell"];function sw(e){let t=new Set;Dm(e.rowProperties,t),Dm(e.cellProperties,t);let{look:n,rowIndex:r,rowCount:o,gridColumn:a,gridSpan:i,columnCount:l}=e,s=t.has("firstRow")||n.firstRow&&r===0,c=t.has("lastRow")||n.lastRow&&r===o-1,d=t.has("firstCol")||n.firstColumn&&a===0,u=t.has("lastCol")||n.lastColumn&&a+i>=l;if(!(t.has("band1Vert")||t.has("band2Vert"))&&n.columnBanding&&!d&&!u){let g=a-(n.firstColumn?1:0);t.add(g%2===0?"band1Vert":"band2Vert");}if(!(t.has("band1Horz")||t.has("band2Horz"))&&n.rowBanding&&!s&&!c){let g=r-(n.firstRow?1:0);t.add(g%2===0?"band1Horz":"band2Horz");}d&&t.add("firstCol"),u&&t.add("lastCol"),s&&t.add("firstRow"),c&&t.add("lastRow"),s&&d&&t.add("nwCell"),s&&u&&t.add("neCell"),c&&d&&t.add("swCell"),c&&u&&t.add("seCell");let m=[];for(let g of lw)t.has(g)&&m.push(g);return m}var _m=new WeakMap;function po(e,t,n,r,o="all-markup"){let a=_m.get(e);if(a&&a.contentWidthPt===t&&a.depth===n&&a.styleCascade===r&&a.displayMode===o)return a.structure;let i=dw(e,t,n,r,o);return _m.set(e,{contentWidthPt:t,depth:n,styleCascade:r,displayMode:o,structure:i}),i}function dw(e,t,n,r,o){if(n>=ll||e.kind!=="table")return null;let a=ge(e,"tblPr"),i=a&&ge(a,"tblStyle")?He(ge(a,"tblStyle"),"val"):void 0,l=r?$p(r,i):pa,s=iw(a),c=Hm,d=Hd;for(let _ of l.tablePropertyNodes)c=$d(c,Xd(ge(_,"tblCellMar"))),d=Ed(d,rl(_));let u=$d(c,Xd(a&&ge(a,"tblCellMar"))),p=Ed(d,a?rl(a):Hd),f=new Map,m=_=>{if(l===pa)return Bd;let v=_.join("|"),j=f.get(v);if(j)return j;let J=Vp(l,_);return f.size<ew&&f.set(v,J),J},g=[],y=[],b=1;for(let _ of chunkDY3QVCWC_cjs.me(e.children)){if(_.kind!=="tableRow")continue;let v=ge(_,"trPr"),j=[],J=[],N=[],G=Math.min(Cm(v,"gridBefore"),Tm);G>0&&y.push({start:0,span:G,preferred:mr(v&&ge(v,"wBefore"))});let Y=G,$=chunkDY3QVCWC_cjs.me(_.children);for(let se of $){if(se.kind!=="tableCell")continue;let Pe=ge(se,"tcPr"),he=Math.min(Y,Tm),fe=Math.min(tw(Pe),1024-he),ye=mr(Pe&&ge(Pe,"tcW"));j.push(he),J.push(fe),N.push(ye),y.push({start:he,span:fe,preferred:ye}),Y=he+fe;}let Q=Cm(v,"gridAfter"),q=Math.min(Y+Q,1024);Q>0&&Y<1024&&y.push({start:Y,span:Math.min(Q,1024-Y),preferred:mr(v&&ge(v,"wAfter"))}),q>b&&(b=q),g.push({node:_,cells:$,properties:v,starts:j,spans:J,preferred:N,gridColumns:q});}let x=Im(e),T=x.length>0?x.length:b,k=g.length,M=[];for(let _=0;_<g.length;_+=1){let v=g[_],j=v.node,J=v.properties,N=0,G=[];for(let Pe of v.cells){if(Pe.kind!=="tableCell")continue;let he=ge(Pe,"tcPr"),fe=v.starts[N],ye=v.spans[N],Ae=v.preferred[N]??zt,Ie=sw({look:s,rowIndex:_,rowCount:k,gridColumn:fe,gridSpan:ye,columnCount:T,rowProperties:J,cellProperties:he});N+=1;let mt,lt=jd;for(let ve of Ie){let Ge=l.conditional.get(ve);if(!Ge)continue;let st=ge(Ge,"tcPr");mt=Lm(st)??mt,lt=Nd(lt,ol(st));}let Le=Lm(he)??mt,nn=$d(u,Xd(he&&ge(he,"tcMar"))),rn=ha(Pe.children,o);G.push({id:Pe.id,gridSpan:ye,gridColumn:fe,...x[fe]?.id?{gridColumnId:x[fe].id}:{},vMergeContinue:nw(he),vAlign:rw(he),margins:nn,borders:Nd(lt,he?ol(he):jd),...Le===void 0?{}:{shading:Le},preferredWidth:Ae,styleFormatting:m(Ie),blocks:rn});}let Y=J?ge(J,"ins")??ge(J,"del"):void 0,$=Y?Y.localName==="ins"?"insert":"delete":void 0,Q=Y&&He(Y,"id"),q=Y&&He(Y,"author"),se=Y&&He(Y,"date");M.push({id:j.id,...$?{revisionKind:$}:{},...Q!==void 0?{revisionId:Q}:{},...q!==void 0?{revisionAuthor:q}:{},...se!==void 0?{revisionDate:se}:{},isHeader:Fm(J,"tblHeader"),cantSplit:Fm(J,"cantSplit"),height:ow(J),cells:G});}let E=zt,P,L,O,R,h;for(let _ of l.tablePropertyNodes){let v=ge(_,"tblW");v&&(E=mr(v));let j=ge(_,"tblLayout");j&&(P=He(j,"type")==="fixed"),L=ba(ge(_,"tblInd"),Om)??L,O=km(_)??O,R=ba(ge(_,"tblCellSpacing"),il)??R,h=Nm(_)??h;}let D=a&&ge(a,"tblW"),W=D?mr(D):E,ee=a&&ge(a,"tblLayout"),B=ee?He(ee,"type")==="fixed":P??false,F=ba(a&&ge(a,"tblInd"),Om)??L??0,H=km(a)??O??"left",z=n===0?Nm(a)??h:void 0,I=ba(a&&ge(a,"tblCellSpacing"),il)??R??0;return {columnWidthsPt:vm({gridCols:x,claims:y,columnCount:T,contentWidthPt:t,tableWidth:W,layoutFixed:B}),rows:M,tableWidth:W,layoutFixed:B,indentPt:F,alignment:H,...z?{float:z}:{},cellSpacingPt:I,tableBorders:p,defaultMargins:u}}function sl(e){let t=[],n=0;for(let r of e.members){let o=chunkDY3QVCWC_cjs.Sd(r).length;t.push({paragraphId:r.id,base:n,length:o}),n+=o;}return {members:t,total:n}}function Yd(e,t){let n;for(let r of e.members){if(r.base>t)break;(n===void 0||r.length>0||r.base>n.base)&&(n=r);}return n??e.members[e.members.length-1]}function Wm(e,t){let n=Yd(t,e.start);if(!n)return e;let r=e.end-n.base;return {paragraphId:n.paragraphId,start:e.start-n.base,end:Math.min(r,n.length)}}function cw(e,t){return {...e,range:Wm(e.range,t)}}function dl(e,t){return e.map(n=>{let r=n.spans.map(u=>cw(u,t)),o=r[0],a=n.drawings?.map(u=>{let p=Yd(t,u.start);return p?{...u,paragraphId:p.paragraphId,start:u.start-p.base}:u}),i=o?r.filter(u=>u.range.paragraphId===o.range.paragraphId):[],l=o?(a??[]).filter(u=>u.paragraphId===o.range.paragraphId):[],s=o?{paragraphId:o.range.paragraphId,start:Math.min(o.range.start,...l.map(u=>u.start)),end:Math.max(i[i.length-1].range.end,...l.map(u=>u.start+1))}:Wm(n.range,t),c=a,d=n.deletedRanges?.map(u=>({deleted:u,member:Yd(t,u.start)})).filter(({member:u})=>u?.paragraphId===s.paragraphId).map(({deleted:u,member:p})=>({start:u.start-(p?.base??0),end:u.end-(p?.base??0)}));return {...n,range:s,spans:r,...c?{drawings:c}:{},...d?{deletedRanges:d}:{}}})}var Kd=512,Xm=9,Ht=31680/20,uw=8,fw=128;function Pa(e,t){return e.kind!=="textValue"&&e.namespaceUri===chunkDY3QVCWC_cjs.ma&&e.localName===t}function Ye(e,t){for(let n of e.attributes)if(n.localName===t)return n.value}function Tt(e,t){for(let n of e.children)if(Pa(n,t))return n}function Rn(e,t=false){return e===void 0||!(t?/^-?\d{1,9}$/:/^\d{1,9}$/).test(e)?null:Number(e)}function pw(e){let t=e/20;return !Number.isFinite(t)||t<=0?0:t>Ht?Ht:t}function Ud(e){let t=e/20;return Number.isFinite(t)?t>Ht?Ht:t<-Ht?-Ht:t:0}function mw(e){let t={left:0,right:0,hanging:0,firstLine:0};if(!e)return t;let n=Tt(e,"ind");if(!n)return t;let r=Rn(Ye(n,"left")??Ye(n,"start"),true),o=Rn(Ye(n,"right")??Ye(n,"end"),true),a=Rn(Ye(n,"hanging")),i=Rn(Ye(n,"firstLine"),true);return {left:r===null?0:Ud(r),right:o===null?0:Ud(o),hanging:a===null?0:pw(a),firstLine:i===null?0:Ud(i),stated:{left:r!==null,right:o!==null,firstLineOffset:a!==null||i!==null}}}function gw(e){return e==="space"?"space":e==="nothing"?"nothing":"tab"}function hw(e){return e==="center"?"center":e==="right"||e==="end"?"right":"left"}function yw(e,t){let n=Tt(e,t);if(!n)return false;let r=Ye(n,"val");return r!=="0"&&r!=="false"&&r!=="off"}function Gm(e,t){let n=Tt(e,t);if(!n)return;let r=Ye(n,"val");if(!(r===void 0||r.length===0||r.length>fw))return r}function bw(e,t){for(let n of e){if(n.localName!==t)continue;let r=n.attributes?.val;return !(r==="0"||r==="false")}return false}function $m(e){let t=Rn(Ye(e,"ilvl"));if(t===null||t<0||t>8)return null;let n=Tt(e,"start"),r=1;if(n){let b=Rn(Ye(n,"val"));b!==null&&b>=0&&(r=Math.min(b,9999));}let o=Tt(e,"numFmt"),a=(o?Ye(o,"val"):void 0)??"decimal",i=Tt(e,"lvlText"),l=i?Ye(i,"val")??"":"",s=Tt(e,"lvlJc"),c=hw(s?Ye(s,"val"):void 0),d=Tt(e,"suff"),u=gw(d?Ye(d,"val"):void 0),p=Tt(e,"lvlRestart"),f;if(p){let b=Rn(Ye(p,"val"));b!==null&&b>=0&&b<=9&&(f=b);}let m=Tt(e,"pPr"),g=Tt(e,"rPr"),y=g?Kr(g):[];return {ilvl:t,start:r,numFmt:a.length>64?"decimal":a,lvlText:l.length>64?l.slice(0,64):l,lvlJc:c,suff:u,indent:mw(m),...f!==void 0?{lvlRestart:f}:{},isLgl:yw(e,"isLgl"),runProperties:y,vanish:bw(y,"vanish")}}function xw(e){let t=Ye(e,"abstractNumId");if(t===void 0||t.length===0||t.length>64)return null;let n=new Map;for(let a of e.children){if(!Pa(a,"lvl"))continue;if(n.size>=9)break;let i=$m(a);i&&!n.has(i.ilvl)&&n.set(i.ilvl,i);}let r=Gm(e,"numStyleLink"),o=Gm(e,"styleLink");return {abstractNumId:t,levels:n,...r!==void 0?{numStyleLink:r}:{},...o!==void 0?{styleLink:o}:{}}}function Sw(e){let t=Rn(Ye(e,"ilvl"));if(t===null||t<0||t>8)return null;let n=Tt(e,"startOverride"),r;if(n){let i=Rn(Ye(n,"val"));i!==null&&i>=0&&(r=Math.min(i,9999));}let o=Tt(e,"lvl"),a=o?$m(o)??void 0:void 0;return r===void 0&&a===void 0?{ilvl:t,override:{}}:{ilvl:t,override:{...r!==void 0?{startOverride:r}:{},...a?{level:a}:{}}}}function ww(e){let t=Ye(e,"numId");if(t===void 0||t.length===0||t.length>64)return null;let n=Tt(e,"abstractNumId"),r=n?Ye(n,"val"):void 0;if(!r||r.length>64)return null;let o=new Map;for(let a of e.children){if(!Pa(a,"lvlOverride"))continue;if(o.size>=Xm)break;let i=Sw(a);i&&!o.has(i.ilvl)&&o.set(i.ilvl,i.override);}return {numId:t,abstractNumId:r,overrides:o}}function Pw(e){let t=new Map,n=new Map;if(!e)return {abstractNums:t,nums:n};let r=0,o=0;for(let a of e.children){if(Pa(a,"abstractNum")){if(r>=Kd)continue;r+=1;let i=xw(a);i&&!t.has(i.abstractNumId)&&t.set(i.abstractNumId,i);continue}if(Pa(a,"num")){if(o>=Kd)continue;o+=1;let i=ww(a);i&&!n.has(i.numId)&&n.set(i.numId,i);}}return {abstractNums:t,nums:n}}function Rw(e,t,n){let r=new Set([t.abstractNumId]),o=t;for(let a=0;a<uw;a+=1){let i=o.numStyleLink;if(i===void 0)return o;let l=n(i);if(l===void 0)return null;let s=e.nums.get(l);if(!s)return null;let c=e.abstractNums.get(s.abstractNumId);if(!c||r.has(c.abstractNumId))return null;r.add(c.abstractNumId),o=c;}return null}function Vm(e,t){let n=false,r=new Map(e.abstractNums);for(let[o,a]of e.abstractNums){if(a.numStyleLink===void 0)continue;let i=Rw(e,a,t);!i||i.levels===a.levels||i.levels.size===0||(r.set(o,{...a,levels:i.levels}),n=true);}return n?{abstractNums:r,nums:e.nums}:e}function mo(e,t,n){if(n<0||n>8)return null;let r=e.nums.get(t);if(!r)return null;let o=e.abstractNums.get(r.abstractNumId);if(!o)return null;let a=r.overrides.get(n),i=a?.level??o.levels.get(n);return i?{abstractNumId:r.abstractNumId,level:i,...a?.startOverride!==void 0?{startOverride:a.startOverride}:{}}:null}var Zd=Object.freeze({abstractNums:new Map,nums:new Map});function Iw(e,t){let n=e.nums.get(t),r=[];for(let o=0;o<=8;o+=1){let a=mo(e,t,o);if(!a){r.push(1);continue}let i=n?.overrides.get(o)?.startOverride;r.push(i??a.level.start);}return r}function vw(e,t,n){let r=[];for(let o=0;o<=8;o+=1){let a=mo(e,t,o);r.push(a?.level.numFmt??"decimal");}return {formats:r,starts:[...n]}}function Tw(e,t){if(t===0)return null;if(t===void 0)return e-1;let n=t-1;return n>=e?null:n}function qd(e){let t=new Map,n=new Map,r=new Map,o=a=>{let i=t.get(a);i||(i=[0,0,0,0,0,0,0,0,0],t.set(a,i));let l=n.get(a);l||(l=[false,false,false,false,false,false,false,false,false],n.set(a,l));let s=r.get(a);return s||(s=Iw(e,a),r.set(a,s)),{counters:i,initialized:l,starts:s}};return {advance(a,i){if(i<0||i>8||a.length===0||a.length>64)return null;let l=mo(e,a,i);if(!l)return null;let{abstractNumId:s,level:c}=l,{counters:d,initialized:u,starts:p}=o(a),{formats:f}=vw(e,a,p);for(let k=i+1;k<=8;k+=1){let M=mo(e,a,k);if(!M)continue;let E=Tw(k,M.level.lvlRestart);E!==null&&i<=E&&(u[k]=false);}let m=p[i]??c.start;u[i]?d[i]+=1:(d[i]=m,u[i]=true);let g=d.slice(),y=u.slice(),b=g.map((k,M)=>y[M]?k:p[M]??1),x=c.isLgl?f.map(k=>k==="bullet"||k==="none"?k:"decimal"):f,T=c.vanish?"":c.numFmt==="bullet"&&!/%[1-9]/.test(c.lvlText)?c.lvlText:nd(c.lvlText,b,x);return {abstractNumId:s,numId:a,ilvl:i,level:c,counters:g,markerText:T}}}}function Qd(e){return e.kind!=="textValue"}function Ym(e,t){for(let n of e.attributes)if(n.localName===t)return n.value}function cl(e,t){for(let n of e.children)if(Qd(n)&&n.localName===t)return n}function ec(e){let t=null;for(let n of e){if(!Qd(n))continue;let r=cl(n,"numPr");if(!r)continue;let o=cl(r,"ilvl"),a=cl(r,"numId"),i=a?Ym(a,"val"):void 0,l=o?Ym(o,"val"):"0";if(!i||i==="0"){t=null;continue}if(i.length>64){t=null;continue}let s=/^\d{1,2}$/.test(l??"")?Number(l):0;if(s<0||s>8){t=null;continue}t={numId:i,ilvl:s};}return t}function Ow(e,t){let n=new Set,r=e.styles.get(t);for(let o=0;r!==void 0&&o<Xi;o+=1){if(n.has(r.styleId))return;n.add(r.styleId);let a=r.paragraphPropertiesNode,i=a?ec([a]):null;if(i)return i.numId;r=r.basedOn===null?void 0:e.styles.get(r.basedOn);}}var Jd=new WeakMap;function tc(e,t){if(!t)return e;let n=Jd.get(e);if(n&&n.styleCascade===t)return n.linked;let r=Vm(e,a=>Ow(t,a)),o={styleCascade:t,linked:r};return Jd.set(e,o),Jd.set(r,o),r}function Um(e){return Number.isFinite(e)?e>Ht?Ht:e<-Ht?-Ht:e:0}function Km(e){let t=null;for(let n of e){if(n.localName!=="ind")continue;let r=n.attributes?.hanging,o=n.attributes?.firstLine;r===void 0&&o===void 0||(t={hanging:r!==void 0&&/^\d{1,9}$/.test(r)?Um(Number(r)/20):0,firstLine:o!==void 0&&/^-?\d{1,9}$/.test(o)?Um(Number(o)/20):0});}return t}function Zm(e){return e.some(t=>t.localName==="ind"&&(t.attributes?.left!==void 0||t.attributes?.start!==void 0))}function qm(e){return e.some(t=>t.localName==="ind"&&(t.attributes?.right!==void 0||t.attributes?.end!==void 0))}function eg(e,t,n=[]){let r=e.stated??{left:false,right:false,firstLineOffset:false},o=ca(t),a=ca(n),i={hanging:e.hanging,firstLine:e.firstLine},l=Zm(n)?a.left:r.left?e.left:Zm(t)?o.left:e.left,s=qm(n)?a.right:r.right?e.right:qm(t)?o.right:e.right,c=Km(n)??(r.firstLineOffset?i:Km(t)??i);return {left:l,right:s,...c}}function tg(e,t=8){let n=[],r=(o,a)=>{for(let i of o){if(i.kind==="paragraph"){n.push(i);continue}if(!(i.kind!=="table"||a>=t)){for(let l of chunkDY3QVCWC_cjs.me(i.children))if(l.kind==="tableRow")for(let s of chunkDY3QVCWC_cjs.me(l.children)){if(s.kind!=="tableCell")continue;let c=chunkDY3QVCWC_cjs.Pb(s.children);r(c,a+1);}}}};return r(e,0),n}var Jm=new WeakMap;function kw(e,t){let n=Jm.get(e);if(n&&n.styleCascade===t)return n;let r=e.children.find(s=>s.kind==="paragraphProperties"),o=t?fo(t,r):null,a=o?o.paragraphPropertyNodes:r?[r]:[],i=r&&Qd(r)?cl(r,"rPr"):void 0,l={styleCascade:t,numPr:ec(a),inheritedParagraphProperties:o?.inheritedParagraphProperties??[],directProps:vt(r),inheritedMarkProps:o?o.markRunProperties:vt(i),perLevel:new WeakMap};return Jm.set(e,l),l}function ng(e,t,n,r){let o=new Map;if(t.nums.size===0)return o;let a=tc(t,n),i=qd(a);for(let l of tg(e)){let s=kw(l,n),c=s.numPr;if(!c)continue;let d=i.advance(c.numId,c.ilvl);if(!d)continue;let u=s.perLevel.get(d.level);if(!u){let y=eg(d.level.indent,s.inheritedParagraphProperties,s.directProps),b=Sn(s.inheritedMarkProps,d.level.runProperties,n);u={indent:y,markerStyle:De(b,n?.themeFonts)},s.perLevel.set(d.level,u);}let{indent:p,markerStyle:f}=u,m=Zr(d.markerText,f.fontFamily,r),g=[d.numId,d.ilvl,d.level.numFmt,d.level.lvlText,p.left,p.right,p.hanging,p.firstLine,d.level.lvlJc,d.level.suff,d.level.vanish?1:0,m.length].join("|");o.set(l.id,{numId:d.numId,ilvl:d.ilvl,abstractNumId:d.abstractNumId,numFmt:d.level.numFmt,markerText:m,markerAlign:d.level.lvlJc,suffix:d.level.suff,indent:p,markerStyle:f,cacheToken:g});}return o}var Qm=new WeakMap;function nc(e,t){if(e.listItems===void 0){let o=Qm.get(t);if(o&&o.rawIndex===e.numberingIndex&&o.styleCascade===e.styleCascade&&o.isFontAvailable===e.isFontAvailable)return {...e,numberingIndex:o.linkedIndex,...o.listItems?{listItems:o.listItems}:{}}}let n=tc(e.numberingIndex??Zd,e.styleCascade),r=e.listItems??(n.nums.size>0?ng(t,n,e.styleCascade,e.isFontAvailable):void 0);return e.listItems===void 0&&Qm.set(t,{rawIndex:e.numberingIndex,styleCascade:e.styleCascade,isFontAvailable:e.isFontAvailable,linkedIndex:n,listItems:r}),{...e,numberingIndex:n,...r?{listItems:r}:{}}}function ul(e,t,n,r){if((!e.markerText||e.indent.hanging<=0&&t<=0)&&!e.markerText||!e.markerText)return null;let o=e.indent.left,a=e.indent.hanging,i=Math.min(0,o),l=Math.max(i,o-a),s=Math.max(a,t),c=l;return e.markerAlign==="right"?c=o-t:e.markerAlign==="center"&&(c=l+(s-t)/2),c<i&&(c=i),{x:c,y:n,width:Math.max(t,0),height:r}}function Bw(e,t,n=Xr,r=Number.POSITIVE_INFINITY){if(!e.markerText)return 0;let o=t.measure(e.markerText,e.markerStyle),a=ul(e,o,0,0);if(!a)return 0;let i=e.indent.left,l=a.x+a.width;return e.suffix==="nothing"?l-i:e.suffix==="space"?l+t.measure(" ",e.markerStyle)-i:l<=i?0:$r(n,l,r).positionPt-i}function fl(e,t,n,r,o){return e?Bw(e,n,r,o===void 0?void 0:t.left+o):t.hanging>0?-t.hanging:t.firstLine}function pl(e,t,n,r=0){if(!e||!e.markerText||!n)return;let o=t.measure(e.markerText,e.markerStyle),a=ul(e,o,n.y,n.height);if(a)return {text:e.markerText,style:e.markerStyle,box:{x:a.x+r,y:a.y,width:a.width,height:a.height},level:e.ilvl,numId:e.numId,numFmt:e.numFmt}}var rg=new WeakMap,og=new WeakMap;function In(e){let t=rg.get(e);if(t)return t;let n=new Set,r=[];for(let o of e.pages)for(let a of Je(o)){for(let i of a.lines)for(let l of pt(i))n.has(l.paragraphId)||(n.add(l.paragraphId),r.push(l.paragraphId));a.lines.length===0&&!n.has(a.paragraphId)&&(n.add(a.paragraphId),r.push(a.paragraphId));}return rg.set(e,r),r}function go(e){let t=og.get(e);if(t)return t;let n=new Map;for(let[r,o]of In(e).entries())n.set(o,r);return og.set(e,n),n}var ag=new WeakMap;function pt(e){let t=ag.get(e);if(t)return t;let n={paragraphId:e.range.paragraphId,start:e.range.start,end:e.range.end,spans:e.spans,drawings:e.drawings??[]},o=e.spans.some(a=>a.range.paragraphId!==e.range.paragraphId)?Cw(e):[n];return ag.set(e,o),o}function Cw(e){let t=[];for(let n of e.spans){let r=t[t.length-1];if(r&&r.paragraphId===n.range.paragraphId){t[t.length-1]={...r,start:Math.min(r.start,n.range.start),end:Math.max(r.end,n.range.end),spans:[...r.spans,n]};continue}t.push({paragraphId:n.range.paragraphId,start:n.range.start,end:n.range.end,spans:[n],drawings:[]});}return t.map(n=>({...n,drawings:(e.drawings??[]).filter(r=>r.paragraphId===n.paragraphId)}))}function vn(e,t){return pt(e).find(n=>n.paragraphId===t)??null}function ho(e,t,n,r){let o=go(e),a=o.get(t.paragraphId)??-1,i=o.get(n.paragraphId)??-1,l=o.get(r.paragraphId)??-1;if(a<i||a>l)return null;let s=a===i?Math.max(t.start,n.offset):t.start,c=a===l?Math.min(t.end,r.offset):t.end;return c>s?{start:s,end:c}:null}function EO(e,t){for(let n of e.pages)for(let r of Je(n)){let o=Gn(r).indexOf(t);if(o>0)return Gn(r).slice(0,o).reverse()}return []}var ig=new WeakMap;function Gn(e){let t=ig.get(e);if(t)return t;let n=[];for(let r of e.lines??[])for(let o of pt(r))n.includes(o.paragraphId)||n.push(o.paragraphId);return n.includes(e.paragraphId)||n.push(e.paragraphId),ig.set(e,n),n}function Lw(e,t){let n=Gn(e);if(n.length===1)return n[0]===t?{start:e.range.start,end:e.range.end}:null;let r=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;for(let a of e.lines??[]){let i=vn(a,t);i&&(r=Math.min(r,i.start),o=Math.max(o,i.end));}return o>=r?{start:r,end:o}:null}function rc(e,t,n){let r=Lw(e,t);return r!==null&&n>=r.start&&n<r.end}function NO(e,t){for(let n of e.pages)for(let r of Je(n))if(r.paragraphId===t)return r;for(let n of e.pages)for(let r of Je(n))if(Gn(r).includes(t))return r;return null}var sc=8,lg=new WeakMap;function gl(e){let t=lg.get(e);if(t)return t;let n=[],r=new Map,o=new Map,a=new Map,i=new Map,l=new Map,s=(d,u)=>{for(let p of d){if(p.kind==="paragraph"){if(!u)for(let f of p.lines)o.set(f.range.paragraphId,f.id);continue}for(let f of p.rows){if(!f.isHeaderRepeat&&!r.has(f.id)){let m=a.get(p.tableId)??0;r.set(f.id,m),a.set(p.tableId,m+1);}for(let m of f.cells){if(!f.isHeaderRepeat&&!u){let g=`${p.tableId}|${m.gridColumn}`;if(m.blocks.length===0){let y=l.get(g);y&&i.set(m,y);}else l.set(g,{row:f,cell:m});}s(m.blocks,u||f.isHeaderRepeat);}}}};for(let d of e.pages)n.push(d.box.y),s(d.fragments,false);let c={pageTops:n,rowIndexById:r,lastLineIdOfParagraph:o,mergeOriginOf:i};return lg.set(e,c),c}function va(e,t){let n=gl(e).pageTops;if(n.length===0)return -1;let r=0,o=n.length-1,a=0;for(;r<=o;){let i=r+o>>1;n[i]<=t?(a=i,r=i+1):o=i-1;}return a}function Fw(e,t){let n=e.pages[va(e,t.y)];if(!n)return false;for(let r of [n.header,n.footer])if(r&&yl(r.box,t))return true;return false}function ic(e,t,n,r=false){if(!e||e.length===0)return null;let o=[...e].sort((a,i)=>a.behindDocument!==i.behindDocument?a.behindDocument?-1:1:i.relativeHeight-a.relativeHeight);for(let a of o){if(r&&a.behindDocument||!Ra(a,t))continue;let i={paragraphId:a.anchorParagraphId,offset:a.start};return {position:i,caret:{position:i,x:a.x,y:a.y,height:a.height,lineId:"",pageIndex:n},pageIndex:n,lineId:"",cell:null,contentControlId:null,onGlyphs:true,drawing:Object.freeze({drawingNodeId:a.drawingNodeId,paragraphId:a.anchorParagraphId,start:a.start})}}return null}function hl(e,t,n,r={}){let o=e.pages[t];if(!o)return null;let a={layout:e,pageIndex:o.index,verticalWeight:r.verticalWeight??sc,measurer:r.measurer},i=sg(e,o.index,n),l=(o.anchoredDrawings??[]).filter(p=>!p.behindDocument),s=(o.anchoredDrawings??[]).filter(p=>p.behindDocument),c=ic(l,n,a.pageIndex);if(c)return {...c,contentControlId:i};let d=ml(o.fragments,n,a,null);if(d?.onGlyphs)return {...d,contentControlId:i};let u=ic(s,n,a.pageIndex);if(u)return {...u,contentControlId:i};if(d)return {...d,contentControlId:i};for(let p=1;p<e.pages.length;p+=1)for(let f of [t-p,t+p]){let m=e.pages[f];if(!m)continue;let g=ml(m.fragments,n,{...a,pageIndex:m.index},null);if(g)return {...g,contentControlId:sg(e,m.index,n)}}return null}function WO(e,t,n,r,o={}){let a=e.pages[t];if(!a)return null;let i={layout:e,pageIndex:a.index,verticalWeight:o.verticalWeight??sc,measurer:o.measurer};return ml(n,r,i,null)}function Mw(e,t,n={}){let r=e.pages[va(e,t.y)];if(!r)return null;for(let o of [r.header,r.footer]){if(!o?.anchoredDrawings||o.anchoredDrawings.length===0)continue;let a=Object.freeze({x:t.x-o.box.x,y:t.y-o.box.y}),i=ic(o.anchoredDrawings,a,r.index);if(i)return i}return hl(e,r.index,{x:t.x-r.contentBox.x,y:t.y-r.contentBox.y},n)}function yl(e,t){return t.x>=e.x&&t.x<e.x+e.width&&t.y>=e.y&&t.y<e.y+e.height}function bl(e,t,n){let r=e.contentControls??[],o=null;for(let a of r)for(let i of a.fragments)i.pageIndex===t&&yl(i.box,n)&&(!o||a.nestingDepth>o.nestingDepth)&&(o=a);return o}function sg(e,t,n){return bl(e,t,n)?.id??null}function lc(e,t,n){let r=Math.max(e.x-t.x,0,t.x-(e.x+e.width)),o=Math.max(e.y-t.y,0,t.y-(e.y+e.height));return r+o*n}function Ew(e,t,n){return e.kind!=="table"||Math.max(e.box.y-t.y,0,t.y-(e.box.y+e.box.height))>0?lc(e.box,t,n):0}function ml(e,t,n,r){if(e.length===0)return null;let o=null;for(let i of e){if(!yl(i.box,t))continue;o=i;let l=dg(i,t,n,r);if(l)return l;break}let a=e.filter(i=>i!==o).map(i=>({block:i,score:Ew(i,t,n.verticalWeight)})).sort((i,l)=>i.score-l.score);for(let{block:i}of a){let l=dg(i,t,n,r);if(l)return l}return null}function dg(e,t,n,r){return e.kind==="paragraph"?Nw(e,t,n,r,yl(e.box,t)):Gw(e,t,n)}function Nw(e,t,n,r,o){let a=Aw(e.lines,t.y);if(!a)return null;let i=Hw(a,t.x,t.y,n),l=_w(a,t.x),s=Math.min(Math.max(i.offset,l.start),l.end),c={paragraphId:l.paragraphId,offset:s},d=Ta(a,s,n.measurer,l);return {position:c,caret:{position:c,x:i.x,y:d.y,height:d.height,lineId:a.id,pageIndex:n.pageIndex},pageIndex:n.pageIndex,lineId:a.id,cell:r,onGlyphs:o&&i.withinSpan&&t.y>=a.box.y&&t.y<a.box.y+a.box.height,contentControlId:null,drawing:i.drawing&&i.withinSpan?Dw(i.drawing):null}}function Aw(e,t){if(e.length===0)return null;for(let o of e)if(t>=o.box.y&&t<o.box.y+o.box.height)return o;let n=e[0],r=Number.POSITIVE_INFINITY;for(let o of e){let a=t<o.box.y?o.box.y-t:t-(o.box.y+o.box.height);a<r&&(r=a,n=o);}return n}function Dw(e){return Object.freeze({drawingNodeId:e.drawingNodeId,paragraphId:e.paragraphId,start:e.start})}function _w(e,t){let n=pt(e),r=n[0];for(let o of n){let a=o.spans[0];if(a===void 0)continue;let i=o.spans[o.spans.length-1];if(t>=a.box.x&&(r=o),t<i.box.x+i.box.width)break}return r}function zw(e,t,n){for(let r of n??e.drawings??[])if(r.start===t||r.start+1===t)return r;return null}function Ra(e,t){let n=e.hitBounds;return t.x<n.x||t.x>=n.x+n.width||t.y<n.y||t.y>=n.y+n.height?false:md(t.x,t.y,e.geometry)}function Hw(e,t,n,r){let o=e.spans;for(let s of e.drawings??[])if(Ra(s,{x:t,y:n}))return {offset:s.start,x:s.hitBounds.x,withinSpan:true,drawing:s};if(o.length===0&&(e.drawings?.length??0)>0){let s=e.drawings[0];if(t<=s.advanceStart)return {offset:e.range.start,x:s.advanceStart,withinSpan:false,drawing:s};let c=e.drawings[e.drawings.length-1];if(t>=c.advanceEnd)return oc(e,c.advanceEnd,r);for(let d of e.drawings??[])if(t>=d.advanceStart&&t<d.advanceEnd){let u=t>=d.x+d.width/2;return {offset:u?d.start+1:d.start,x:u?d.advanceEnd:d.advanceStart,withinSpan:Ra(d,{x:t,y:n}),drawing:d}}}if(o.length===0)return {offset:e.range.start,x:e.contentX,withinSpan:false};let a=o[0];if(t<=a.box.x)return {offset:e.range.start,x:a.box.x,withinSpan:false};let i=o[o.length-1],l=i.box.x+i.box.width;if(t>=l)return oc(e,l,r);for(let s of o)if(t>=s.box.x&&t<s.box.x+s.box.width)return jw(s,t,r);for(let s=0;s<o.length;s+=1){let c=o[s];for(let d of e.drawings??[]){if(t>=d.advanceStart&&t<d.advanceEnd){let u=Ra(d,{x:t,y:n}),p=t>=d.x+d.width/2;return {offset:p?d.start+1:d.start,x:p?d.advanceEnd:d.advanceStart,withinSpan:u,drawing:d}}if(!(d.start<=c.range.start&&d.hitBounds.x+d.hitBounds.width<=c.box.x)){if(Ra(d,{x:t,y:n}))return {offset:d.start,x:d.hitBounds.x,withinSpan:true,drawing:d};if(t<c.box.x&&t>=d.hitBounds.x+d.hitBounds.width)return {offset:d.start+1,x:d.hitBounds.x+d.hitBounds.width,withinSpan:false,drawing:d};if(t<d.hitBounds.x&&t>=(o[s-1]?.box.x??e.contentX))return {offset:d.start,x:d.hitBounds.x,withinSpan:false,drawing:d}}}if(t<c.box.x){let d=o[s-1],u=d.box.x+d.box.width;return t-u<=c.box.x-t?{offset:d.range.end,x:u,withinSpan:false}:{offset:c.range.start,x:c.box.x,withinSpan:false}}}return oc(e,l,r)}function oc(e,t,n){let r=gg(n.layout,e);if(r===e.range.end)return {offset:r,x:t,withinSpan:false};for(let o=e.spans.length-1;o>=0;o-=1){let a=e.spans[o];if(r<a.range.start)continue;let i=r-a.range.start,l=n.measurer?Ia(a,i,n.measurer):a.box.width*(a.range.end>a.range.start?i/(a.range.end-a.range.start):0);return {offset:r,x:a.box.x+l,withinSpan:false}}return {offset:r,x:t,withinSpan:false}}function gg(e,t){let n=t.range.end;if(n>t.range.start&&ac(t,n-1)===chunkDY3QVCWC_cjs.Xb)return n-1;if(gl(e).lastLineIdOfParagraph.get(t.range.paragraphId)===t.id)return n;let r=n;for(r>t.range.start&&ac(t,r-1)===`
|
|
15
|
-
`&&(r-=1);r>t.range.start&&ac(t,r-1)===" ";)r-=1;return r}function ac(e,t){for(let n of e.spans)if(!(t<n.range.start||t>=n.range.end))return n.text.length!==n.range.end-n.range.start?null:n.text[t-n.range.start]??null;return null}var cg=new WeakMap,ug=new WeakMap;function fg(e){let t=Is(),n=cg.get(e);if(n&&n.epoch===t)return n.boundaries;let r=[0];for(let o of At(e.text))r.push(o.utf16To);return r[r.length-1]!==e.text.length&&r.push(e.text.length),cg.set(e,{epoch:t,boundaries:r}),r}function Ia(e,t,n){let r=e.caretEdges;if(r&&t>=0&&t<r.length)return r[t];let o=ug.get(n);o||(o=new WeakMap,ug.set(n,o));let a=o.get(e);a||(a=new Map,o.set(e,a));let i=a.get(t);if(i!==void 0)return i;let l=t<=0?0:Jt(e.text.slice(0,t),e.style,n);return a.set(t,l),l}function dc(e){return e.text===" "||e.projected?true:e.text.length!==e.range.end-e.range.start}function xl(e,t,n){let r=e.range.end-e.range.start;if(r<=0)return e.box.x;let o=Math.max(0,Math.min(t-e.range.start,r)),a=e.caretEdges;return a&&o<a.length?e.box.x+a[o]:!n||dc(e)?e.box.x+e.box.width*(o/r):e.box.x+Ia(e,o,n)}function Ta(e,t,n,r){let o=zw(e,t,r?.drawings);if(o)return {x:t>o.start?o.advanceEnd:o.advanceStart,y:o.y,height:o.height};let a=r?r.spans:e.spans;if(a.length===0){let c=e.leading??0;return {x:e.contentX,y:e.box.y+c,height:Math.max(0,e.box.height-c-(e.trailingSpacing??0))}}let i=a[0];for(let c=0;c<a.length;c+=1){let d=a[c];if(t>d.range.start&&t<d.range.end){i=d;break}if(t===d.range.end){let u=a[c+1];if(u&&u.range.start===t&&dc(d)){i=u;break}if(u&&u.range.start===t&&d.text.endsWith(" ")&&u.box.x-(d.box.x+d.box.width)>.25){i=u;break}i=d;}else t>d.range.end&&(i=d);}let l=xl(i,t,n),s=n?.lineMetrics(i.style);return !s||s.height<=0?{x:l,y:e.box.y,height:e.box.height}:{x:l,y:e.box.y+e.baseline-s.baseline-id(i.style),height:s.height}}function jw(e,t,n){let r=t-e.box.x,o=e.range.end-e.range.start;if(o<=0||dc(e)){let f=r>e.box.width/2;return {offset:f?e.range.end:e.range.start,x:f?e.box.x+e.box.width:e.box.x,withinSpan:true}}if(!n.measurer){let f=Math.max(0,Math.min(1,r/Math.max(e.box.width,Number.EPSILON))),m=Math.round(f*o),g=fg(e),y=g[0],b=Number.POSITIVE_INFINITY;for(let x of g){let T=Math.abs(x-m);T<b&&(b=T,y=x);}return {offset:e.range.start+y,x:e.box.x+e.box.width*(y/o),withinSpan:true}}let a=fg(e),i=1,l=a.length-1;for(;i<l;){let f=i+l>>1;Ia(e,a[f],n.measurer)<r?i=f+1:l=f;}let s=a[i],c=a[i-1],d=Ia(e,s,n.measurer),u=Ia(e,c,n.measurer),p=r-u<=d-r;return {offset:e.range.start+(p?c:s),x:e.box.x+(p?u:d),withinSpan:true}}function pg(e,t,n,r){if(e.length===0)return null;for(let i of e){let l=n(i);if(t>=l&&t<l+r(i))return i}let o=e[0],a=Number.POSITIVE_INFINITY;for(let i of e){let l=n(i),s=t<l?l-t:t-(l+r(i));s<a&&(a=s,o=i);}return o}function Ww(e,t,n,r){return {tableId:t.tableId,rowId:n.id,cellId:r.id,rowIndex:gl(e).rowIndexById.get(n.id)??0,gridColumn:r.gridColumn,gridSpan:r.gridSpan}}function Gw(e,t,n,r){let o=e.rows.filter(c=>!c.isHeaderRepeat),a=o.length>0?o:e.rows,i=[],l=pg(a,t.y,c=>c.box.y,c=>c.box.height);if(l){let c=pg(l.cells,t.x,d=>d.box.x,d=>d.box.width);c&&i.push(Xw(n,l,c));}let s=[];for(let c of a)for(let d of c.cells)d.blocks.length!==0&&(i.some(u=>u.cell===d)||s.push({entry:{row:c,cell:d},score:lc(d.box,t,n.verticalWeight)}));s.sort((c,d)=>c.score-d.score);for(let{row:c,cell:d}of [...i,...s.map(u=>u.entry)]){let u=Ww(n.layout,e,c,d),p=ml(d.blocks,t,n,u);if(p)return p}return null}function Xw(e,t,n){return n.blocks.length>0?{row:t,cell:n}:gl(e.layout).mergeOriginOf.get(n)??{row:t,cell:n}}function hg(e,t){let n=t.paintBounds;return n.width<=0||n.height<=0?null:Object.freeze({pageIndex:e,x:n.x,y:n.y,width:n.width,height:n.height,record:t})}function $w(e,t,n){for(let r of t.lines)for(let o of r.drawings??[])if(o.drawingNodeId===n)return hg(e,o);return null}function yg(e,t,n){if(t.kind==="paragraph")return $w(e,t,n);for(let r of t.rows)for(let o of r.cells)for(let a of o.blocks){let i=yg(e,a,n);if(i)return i}return null}function mg(e,t,n){for(let r of t){let o=yg(e,r,n);if(o)return o}return null}function Vw(e,t){for(let n of e.pages){for(let o of n.anchoredDrawings??[])if(o.drawingNodeId===t)return hg(n.index,o);let r=mg(n.index,n.fragments,t);if(r)return r;for(let o of [n.header,n.footer]){if(!o)continue;for(let i of o.anchoredDrawings??[]){if(i.drawingNodeId!==t)continue;let l=i.paintBounds;return l.width<=0||l.height<=0?null:Object.freeze({pageIndex:n.index,x:o.box.x+l.x-n.contentBox.x,y:o.box.y+l.y-n.contentBox.y,width:l.width,height:l.height,record:i})}let a=mg(n.index,o.fragments,t);if(a){let i=a.record.paintBounds;return Object.freeze({pageIndex:n.index,x:n.header?.box.x===o.box.x||n.footer?.box.x===o.box.x?o.box.x+i.x-n.contentBox.x:a.x,y:o.box.y+i.y-n.contentBox.y,width:a.width,height:a.height,record:a.record})}}}return null}function Yw(e){let t=[0],n=0;for(let r of e)n+=r,t.push(n);return t}function Uw(e,t){let n=t.get(e.id);return n===void 0&&(e.isHeaderRepeat?n=0:(n=t.size,t.set(e.id,n))),{...e,rowIndex:n}}function Sl(e,t,n,r){return {...e,nestingDepth:n,columnEdges:e.columnEdges??Yw(t),rows:e.rows.map(o=>Uw(o,r))}}var bg=new WeakMap,yo=4,cc=6,xg=14,Kw={rowDivider:4,columnDivider:4,rightEdge:4,insertRow:3,insertColumn:3,tableBody:0};function Sg(e,t,n,r,o){for(let a of e){if(a.kind!=="table")continue;let i=a.nestingDepth??r;for(let l of a.rows){o({pageIndex:t,table:a,row:l,rowOrdinal:l.rowIndex,nestingDepth:i,editable:!l.isHeaderRepeat,pageContentBox:n});for(let s of l.cells)Sg(s.blocks,t,n,i+1,o);}}}function $O(e){let t=bg.get(e);if(t)return t;let n=[];for(let o=0;o<e.pages.length;o+=1){let a=e.pages[o];Sg(a.fragments,o,a.contentBox,0,i=>{n.push(i);});}let r=Object.freeze({sourceRevision:e.revision,occurrences:Object.freeze(n)});return bg.set(e,r),r}function VO(e){let t=e.sourceRevision;switch(e.kind){case "rowDivider":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.edgeY}`;case "columnDivider":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.leftGridColumnId}:${e.rightGridColumnId}:${e.edgeX}`;case "rightEdge":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.gridColumnId}:${e.edgeX}`;case "insertRow":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}`;case "insertColumn":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.gridColumnId}:${e.isHeaderRepeat}`;case "tableBody":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.nestingDepth}:${e.editable}`}}function YO(e){switch(e.kind){case "rowDivider":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.edgeY}`;case "columnDivider":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.leftGridColumnId}:${e.rightGridColumnId}:${e.edgeX}`;case "rightEdge":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.gridColumnId}:${e.edgeX}`;case "insertRow":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}`;case "insertColumn":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.gridColumnId}:${e.isHeaderRepeat}`;case "tableBody":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.nestingDepth}:${e.editable}`}}function UO(e,t){if(t.kind==="insertRow"){for(let n of e.occurrences)if(n.pageIndex===t.pageIndex&&n.table.tableId===t.tableId&&n.row.id===t.rowId&&n.row.isHeaderRepeat===t.isHeaderRepeat)return n.editable?{kind:"insertRow",pageIndex:n.pageIndex,sourceRevision:e.sourceRevision,tableId:n.table.tableId,rowId:n.row.id,isHeaderRepeat:n.row.isHeaderRepeat,nestingDepth:n.nestingDepth}:null;return null}for(let n of e.occurrences)if(n.pageIndex===t.pageIndex&&n.table.tableId===t.tableId&&n.row.id===t.rowId&&n.row.isHeaderRepeat===t.isHeaderRepeat&&n.editable)for(let r=0;r<n.table.columnEdges.length-1;r+=1){let o=Oa(n.row,r);if(o===t.gridColumnId)return {kind:"insertColumn",pageIndex:n.pageIndex,sourceRevision:e.sourceRevision,tableId:n.table.tableId,rowId:n.row.id,gridColumnId:o,isHeaderRepeat:n.row.isHeaderRepeat,nestingDepth:n.nestingDepth}}return null}function Oa(e,t){for(let n of e.cells)if(n.gridColumn===t)return n.gridColumnId??null;return null}function Zw(e,t,n,r,o){let a=e.pages[t.pageIndex];if(!a)return null;let i=n-a.contentBox.x-o,l=r-a.contentBox.y,s=t.table,c=i-s.box.x,d=l-s.box.y;return c<-yo||d<-xg||c>s.box.width+yo||d>s.box.height+cc?null:{x:c,y:d}}function qw(e,t,n,r,o){if(t.row.isHeaderRepeat)return null;let a=t.table,i=t.row.box.y-a.box.y+t.row.box.height;if(!a.columnEdges.slice(1).some(c=>Math.abs(n-c)<=yo)&&n>=0&&n<=a.box.width&&Math.abs(r-i)<=yo)return {kind:"rowDivider",pageIndex:t.pageIndex,sourceRevision:e.sourceRevision,tableId:a.tableId,rowId:t.row.id,isHeaderRepeat:t.row.isHeaderRepeat,nestingDepth:t.nestingDepth,edgeY:i};if(r<t.row.box.y-t.table.box.y||r>t.row.box.y-t.table.box.y+t.row.box.height)return null;for(let c=1;c<a.columnEdges.length-1;c+=1){let d=a.columnEdges[c];if(Math.abs(n-d)>yo)continue;let u=Oa(t.row,c-1),p=Oa(t.row,c);if(!u||!p)continue;let f=o.pages[t.pageIndex];return {kind:"columnDivider",pageIndex:t.pageIndex,sourceRevision:e.sourceRevision,tableId:a.tableId,rowId:t.row.id,leftGridColumnId:u,rightGridColumnId:p,isHeaderRepeat:t.row.isHeaderRepeat,nestingDepth:t.nestingDepth,edgeX:d,sheetY:f.contentBox.y+a.box.y+r}}let s=a.columnEdges.at(-1);if(Math.abs(n-s)<=yo){let c=a.columnEdges.length-2,d=Oa(t.row,c);if(!d)return null;let u=o.pages[t.pageIndex];return {kind:"rightEdge",pageIndex:t.pageIndex,sourceRevision:e.sourceRevision,tableId:a.tableId,rowId:t.row.id,gridColumnId:d,isHeaderRepeat:t.row.isHeaderRepeat,nestingDepth:t.nestingDepth,edgeX:s,sheetY:u.contentBox.y+a.box.y+r}}return null}function KO(e,t,n,r,o=0,a){let i=a??va(r,n),l=i>=0?o:0,s=null,c=-1,d=-1,u=p=>{if(!p)return;let f=Kw[p.kind];p.nestingDepth<c||p.nestingDepth===c&&f<=d||(c=p.nestingDepth,d=f,s=p);};for(let p of e.occurrences){if(i>=0&&p.pageIndex!==i)continue;let f=Zw(r,p,t,n,l);if(!f||(u(qw(e,p,f.x,f.y,r)??{kind:"tableBody",pageIndex:p.pageIndex,sourceRevision:e.sourceRevision,tableId:p.table.tableId,nestingDepth:p.nestingDepth,editable:p.editable}),!p.editable))continue;let m=p.row.box.y-p.table.box.y;f.x<=cc&&Math.abs(f.y-(m+p.row.box.height/2))<=p.row.box.height/2+cc&&u({kind:"insertRow",pageIndex:p.pageIndex,sourceRevision:e.sourceRevision,tableId:p.table.tableId,rowId:p.row.id,isHeaderRepeat:p.row.isHeaderRepeat,nestingDepth:p.nestingDepth});for(let g=0;g<p.table.columnEdges.length-1;g+=1){let y=p.table.columnEdges[g],b=p.table.columnEdges[g+1],x=(y+b)/2;if(Math.abs(f.x-x)>(b-y)/2+2||f.y>xg)continue;let T=Oa(p.row,g);if(T){u({kind:"insertColumn",pageIndex:p.pageIndex,sourceRevision:e.sourceRevision,tableId:p.table.tableId,rowId:p.row.id,gridColumnId:T,isHeaderRepeat:p.row.isHeaderRepeat,nestingDepth:p.nestingDepth});break}}}return s}var wg=1048576;function uc(e=wg){let t=e|0;return {cellsRemaining:t>0?t:0}}function fc(e,t,n,r){let o=new Map,a=new Map,i=r?.pageFragment===true,l=new Set,s=i,d=f=>{let m=a.get(f);m&&(o.set(m.id,m.span),a.delete(f));},u=()=>n!==void 0&&n.cellsRemaining<=0,p=()=>{for(let f of [...a.keys()])d(f);};for(let f of e){if(u()){p();break}s&&f.isHeaderRepeat!==true&&(s=false,p(),l?.clear());let m=new Set,g=false;for(let y of f.cells){if(n){if(n.cellsRemaining<=0){g=true;break}n.cellsRemaining-=1;}let b=Math.max(0,Math.min(y.gridColumn|0,1023));if(m.add(b),y.vMergeContinue){let x=a.get(b);x?x.span+=1:l&&!l.has(b)&&(a.set(b,{id:y.id,span:1}));}else d(b),a.set(b,{id:y.id,span:1});l?.add(b);}if(g){p();break}for(let y of [...a.keys()])m.has(y)||d(y);}return p(),o}function Rg(e,t,n,r){let o=new Map,a=0,i=l=>{let s=po(l,t,0,n,r);if(s)for(let c of s.rows)for(let d of c.cells)for(let u of d.blocks)u.localName==="p"?o.set(u.id,a++):u.localName==="tbl"&&i(u);};for(let l of e)l.kind==="paragraph"&&l.paragraph?o.set(l.paragraph.id,a++):l.kind==="table"&&l.table&&i(l.table);return o}var Pl=4096,Pg=1,Ft=class extends Error{code;constructor(t,n){super(n),this.name="TablePaginationError",this.code=t;}};function pc(e){return e.cells.map(()=>({blockIndex:0,lineIndex:0,previousSpaceAfter:0,paragraphFragmentIndex:0}))}function Ig(e){return e.publishAnchoredDrawings??e.collectAnchoredDrawings}function vg(e,t,n,r,o){let a=Ig(o);if(!(e.length===0||!a||!o.inlineDrawingLayout||!o.anchorFrameBase||!o.pageContentClip))for(let i of e){let l=null,s=null,c=i.lines;for(let u of t){for(let p of u.blocks)if(p.kind==="paragraph"&&p.paragraphId===i.paragraphId){l=p.box,c=p.lines,s=u.box;break}if(l)break}if(!l)continue;let d=s??Object.freeze({x:i.cellOriginX,y:n,width:i.cellContentWidth,height:r});a(ao({paragraph:i.paragraph,paragraphId:i.paragraphId,paragraphBox:l,lines:c,drawingLayout:o.inlineDrawingLayout,frameBase:o.anchorFrameBase(),columnBox:o.columnBoxForParagraph?.(l)??l,cellBox:d,pageClip:o.pageContentClip(),measurer:o.measurer,...o.layoutTextboxStoryFor?{layoutTextboxStory:o.layoutTextboxStoryFor}:{}}));}}function Jw(e,t,n,r){if(!(!r.onAnchorRepublish||!r.inlineDrawingLayout||!r.anchorFrameBase||!r.pageContentClip))for(let o of e){if(o.kind!=="paragraph")continue;let a=t.find(l=>l.kind==="paragraph"&&l.id===o.paragraphId);!a||a.kind!=="paragraph"||Lt(a,r.inlineDrawingLayout).length===0||r.onAnchorRepublish(o.paragraphId,ao({paragraph:a,paragraphId:o.paragraphId,paragraphBox:o.box,lines:o.lines,drawingLayout:r.inlineDrawingLayout,frameBase:r.anchorFrameBase(),columnBox:r.columnBoxForParagraph?.(o.box)??o.box,cellBox:n,pageClip:r.pageContentClip(),measurer:r.measurer,...r.layoutTextboxStoryFor?{layoutTextboxStory:r.layoutTextboxStoryFor}:{}}));}}function Qw(e,t){let n=Ig(e),r=e.deferAnchoredDrawings;return !n&&!r?{rowDeps:e,flushDeferred:()=>{}}:{rowDeps:{...e,publishAnchoredDrawings:n,collectAnchoredDrawings:void 0,deferAnchoredDrawings:i=>{t.push(i);}},flushDeferred:(i,l,s)=>{if(t.length!==0){if(n&&!e.anchorDeferOnly)vg(t,i,l,s,e);else if(r)for(let c of t)r(c);t.length=0;}}}}function wl(e,t,n){let r=0;for(let o=t;o<n&&o<e.length;o+=1)r+=e[o];return r}function mc(e,t){return t===0?[...e]:e.map(n=>n.kind==="table"?{...n,box:{...n.box,y:n.box.y+t},rows:n.rows.map(r=>({...r,box:{...r.box,y:r.box.y+t},cells:r.cells.map(o=>({...o,box:{...o.box,y:o.box.y+t},blocks:mc(o.blocks,t)}))}))}:{...n,box:{...n.box,y:n.box.y+t},...n.shadingBox?{shadingBox:{...n.shadingBox,y:n.shadingBox.y+t}}:{},...n.bottomBorder?{bottomBorder:{...n.bottomBorder,box:{...n.bottomBorder.box,y:n.bottomBorder.box.y+t}}}:{},...n.borders?{borders:n.borders.map(r=>({...r,box:{...r.box,y:r.box.y+t}}))}:{},...n.marker?{marker:{...n.marker,box:{...n.marker.box,y:n.marker.box.y+t}}}:{},lines:n.lines.map(r=>({...r,box:{...r.box,y:r.box.y+t},spans:r.spans.map(o=>({...o,box:{...o.box,y:o.box.y+t}})),...r.drawings?{drawings:r.drawings.map(o=>Mi(o,0,t))}:{}}))})}function eP(e,t,n,r,o,a,i){let l=e.id,s=o.listItems?.get(l),{props:c,indent:d,available:u,alignment:p,spacing:f,lineSpacing:m,bottomBorder:g,borders:y,shading:b,inheritedRunProperties:x,markRunProperties:T,tabStops:k,tabStopsCacheToken:M}=ga(e,n,o.styleCascade,s,i?.tableCellStyle,true),E=Yo(k,o.defaultTabStopPt),P=E===k?M:ar(E),L=fl(s,d,o.measurer,E,u),O=o.pageExclusionZones?.()??Object.freeze([]),R=o.paragraphOrderIndex?.(l)??Number.MAX_SAFE_INTEGER,h=o.paragraphOrderIndex?_p(O,R,V=>o.paragraphOrderIndex?.(V)):O,D=Dp(h,t,0,{left:0,right:d.left+u+d.right}),W=tn(D),ee=W?`${r.toFixed(3)}|${W}`:"",B=cr({paragraph:e,properties:[...c,...x,...T,{localName:"tabStops",attributes:{token:P}},...s?[{localName:"list",attributes:{token:s.cacheToken}}]:[]],width:u,producer:o.producer,...o.drawingTokenForParagraph?.(e)?{drawingToken:o.drawingTokenForParagraph(e)}:o.drawingLayoutToken?{drawingToken:o.drawingLayoutToken}:{},...ee?{exclusionToken:ee}:{}}),F=Wi(e,l,d.left,u,o.measurer,o.cache,o.cache?B:null,x,E,o.pageContext,o.styleCascade?(V,U)=>Sn(V,U,o.styleCascade):void 0,{lineSpacing:m,firstLineOffset:L,marginExtent:{left:0,right:d.left+u+d.right},...o.projectLink?{projectLink:o.projectLink}:{},...o.projectFieldLink?{projectFieldLink:o.projectFieldLink}:{},...o.documentProperties?{documentProperties:o.documentProperties}:{},...o.bodyPageFields?{bodyPageFields:true}:{},displayMode:o.displayMode,...o.noteMarks?{noteMarks:o.noteMarks}:{},...o.inlineDrawingLayout?{inlineDrawingLayout:o.inlineDrawingLayout}:{},contentLeft:0,contentRight:d.left+u+d.right,paragraphStartY:r,anchorCellBox:Object.freeze({x:0,y:0,width:d.left+u+d.right,height:Math.max(1,u)}),...D.length>0?{pageExclusionZones:D}:{},...o.styleCascade?{themeFonts:o.styleCascade.themeFonts}:{},markRunProperties:T}),H=i?.lineStart??0,z=i?.fragmentIndex??0,I=i?.maxBottom??Number.POSITIVE_INFINITY,_=i?.includeAfter??true,v=i?.includeBottomBorder??true,j=H===0?Gr(f.before,a):0,J=t+d.left,N=H===0?Mn(y.top):0,G=[],Y=r+j+N,$=H,Q=false;for(let V=H;V<F.length;V+=1){let U=F[V],le=V===F.length-1,Re=le&&v&&g?Mn(g):0,we=le&&_?f.after:0,gt=D.length>0?xn(Y,U.height,D):U.exclusionSkipBefore??0;if(Y+gt+U.height+Re+we>I+.001)break;Y+=gt;let dt=t+d.left+(V===0?L:0),Xe=Math.max(1,u-(V===0?L:0)),ct=U.spans.map(be=>({...be,range:{...be.range,paragraphId:l},box:{...be.box,x:be.box.x+t,y:Y}})),rt=Hi(ct,o.measurer,dt,Xe,p,le,p==="center"||p==="right"?U.width:void 0),ot=ct.length>0&&rt.length>0?rt[0].box.x-ct[0].box.x:p!=="left"&&p!=="both"?(()=>{let be=Xe-U.width;return be<=0?0:p==="center"?be/2:be})():0,$e=Object.freeze({x:t,y:r,width:n,height:Math.max(0,I-r)}),Me=ji(U.drawings.map(be=>Ei(Object.freeze({...be,paragraphId:l,x:t+be.x,advanceStart:t+be.advanceStart,advanceEnd:t+be.advanceEnd,y:Y+be.y,paintBounds:Object.freeze({...be.paintBounds,x:t+be.paintBounds.x,y:Y+be.paintBounds.y}),hitBounds:Object.freeze({...be.hitBounds,x:t+be.hitBounds.x,y:Y+be.hitBounds.y})}),$e)),ot);G.push({id:o.nextLineId(l,U.start,V),range:{paragraphId:l,start:U.start,end:U.end},spans:rt,...Me.length>0?{drawings:Me}:{},box:{x:t+d.left,y:Y,width:u,height:U.height},contentX:rt[0]?.box.x??dt+ot,baseline:U.baseline,leading:U.leading,trailingSpacing:U.trailingSpacing,...U.deletedRanges?{deletedRanges:U.deletedRanges}:{}}),Y+=U.height,$=V+1,Q=true;}if(!Q)return {fragment:null,bottom:r,spaceAfter:a,nextLineIndex:H,complete:false,fitted:false};let q=$>=F.length,se=G[0].box.y,Pe=Y,he=[],fe,ye=se,Ae=Pe,Ie=y.left?Pt(y.left):0,mt=y.right?Pt(y.right):0,lt=y.left?J-y.left.spacePt-Ie:J,Le=y.right?J+u+y.right.spacePt+mt:J+u,nn=Math.max(Le-lt,0);if(N>0&&y.top){let V=Pt(y.top),U=se-y.top.spacePt-V;he.push({side:"top",edge:y.top,box:{x:lt,y:U,width:nn,height:V}}),ye=U;}if(q&&v&&g){let V=Pt(g),U=Pe+g.spacePt,le={x:lt,y:U,width:nn,height:V};fe={edge:g,box:le},he.push({side:"bottom",edge:g,box:le}),Ae=U+V;}let rn=Math.max(Ae-ye,0);if(y.left&&he.push({side:"left",edge:y.left,box:{x:J-y.left.spacePt-Ie,y:ye,width:Ie,height:rn}}),y.right&&he.push({side:"right",edge:y.right,box:{x:J+u+y.right.spacePt,y:ye,width:mt,height:rn}}),y.bar){let V=Pt(y.bar);he.push({side:"bar",edge:y.bar,box:{x:J-y.bar.spacePt-V,y:se,width:V,height:Math.max(Pe-se,0)}});}let ve=q&&_?f.after:0,Ge=Ae+ve,st=b===void 0?void 0:y.left||y.right?{x:lt,y:ye,width:nn,height:Math.max(Ae-ye,0)}:$o(G,J,u),ne=q&&o.displayMode==="all-markup",on=ne?eo(e):[],Fe=ne?oa(e):null,nt=H===0?pl(s,o.measurer,G[0]?{y:G[0].box.y,height:G[0].box.height}:void 0,t):void 0,C=Vi(e),S=C?dl(G,sl(C)):G,K={kind:"paragraph",id:`${l}#f${z}`,paragraphId:l,fragmentIndex:z,range:{paragraphId:l,start:S[0].range.start,end:S[S.length-1].range.end},props:c,spacing:{before:j,after:ve},indent:d,...fe?{bottomBorder:fe}:{},...he.length>0?{borders:he}:{},...b===void 0?{}:{shading:b},...st===void 0?{}:{shadingBox:st},...nt?{marker:nt}:{},...Ti(on,Fe),lines:S,box:{x:J,y:r,width:u,height:Ge-r}};if(o.inlineDrawingLayout&&o.anchorFrameBase&&o.pageContentClip){let V=Object.freeze({x:t,y:r,width:n,height:Math.max(0,I-r)}),U=K.box,le={paragraph:e,paragraphId:l,paragraphBox:U,lines:S};o.deferAnchoredDrawings?o.deferAnchoredDrawings({...le,cellOriginX:t,cellContentWidth:n}):o.collectAnchoredDrawings&&o.collectAnchoredDrawings(ao({paragraph:e,paragraphId:l,paragraphBox:U,lines:S,drawingLayout:o.inlineDrawingLayout,frameBase:o.anchorFrameBase(),columnBox:o.columnBoxForParagraph?.(U)??U,cellBox:V,pageClip:o.pageContentClip(),measurer:o.measurer,...o.layoutTextboxStoryFor?{layoutTextboxStory:o.layoutTextboxStoryFor}:{}}));}return {fragment:K,bottom:Ge,spaceAfter:ve,nextLineIndex:$,complete:q,fitted:true}}function gr(e,t,n,r,o,a){let i=Tg(e,t,n,r,Number.POSITIVE_INFINITY,o,a,{blockIndex:0,lineIndex:0,previousSpaceAfter:0,paragraphFragmentIndex:0});return {blocks:i.blocks,bottom:i.bottom}}function Tg(e,t,n,r,o,a,i,l,s){let c=[],d=r,u=l.previousSpaceAfter,p=l.blockIndex,f=l.lineIndex,m=l.paragraphFragmentIndex,g=false,y=false;for(;p<e.length;){let b=e[p];if(b.kind==="table"){f!==0&&(f=0),u=0;let T=rP(b,t,n,d,a+1,i);if(!T){p+=1;continue}if(T.bottom>o+.001){y=!g;break}c.push(T.fragment),d=T.bottom,g=true,p+=1,f=0;continue}if(b.kind!=="paragraph"){p+=1,f=0;continue}let x=eP(b,t,Math.max(1,n-t),d,i,u,{lineStart:f,fragmentIndex:m,maxBottom:o,includeAfter:true,includeBottomBorder:true,...s?{tableCellStyle:s}:{}});if(!x.fitted||!x.fragment)break;if(c.push(x.fragment),d=x.bottom,g=true,x.complete)u=x.spaceAfter,p+=1,f=0,m=0;else return {blocks:c,bottom:d,cursor:{blockIndex:p,lineIndex:x.nextLineIndex,previousSpaceAfter:0,paragraphFragmentIndex:m+1},complete:false,fitted:true,nestedSplitBlocked:false}}return {blocks:c,bottom:d,cursor:{blockIndex:p,lineIndex:f,previousSpaceAfter:u,paragraphFragmentIndex:m},complete:p>=e.length,fitted:g,nestedSplitBlocked:y}}function Og(e,t){return {top:e.top+pr(t.top),right:e.right+pr(t.right),bottom:e.bottom+pr(t.bottom),left:e.left+pr(t.left)}}function tP(e,t,n){return {top:t?{state:"none"}:e.top,left:e.left,bottom:n?{state:"none"}:e.bottom,right:e.right}}function kg(e,t,n){return !t&&!n?e:{...e,cells:e.cells.map(r=>({...r,borders:tP(r.borders,t,n)}))}}function ka(e,t,n,r,o,a,i,l=0){let s=gc(e,t,n,r,Number.POSITIVE_INFINITY,o,false,a,i,pc(e),l);return {record:s.record,bottom:s.bottom}}function gc(e,t,n,r,o,a,i,l,s,c,d=0){let u=wl(t,0,t.length),p=Number.isFinite(d)&&d>0?d/2:0,f=s.measurer.lineMetrics(qt).height,m=e.height,g=m.rule==="exact"?m.valuePt:void 0,y=m.rule==="atLeast"?m.valuePt:void 0,b=[],{rowDeps:x,flushDeferred:T}=Qw(s,b),k=a&&s.pageOccurrenceKey?{...x,nextLineId:(B,F,H)=>x.nextLineId(B,F,H,s.pageOccurrenceKey())}:x,M=g===void 0?o:Math.min(o,r+Math.max(0,g)),E=[],P=false,L=false,O=r;for(let B=0;B<e.cells.length;B+=1){let F=e.cells[B],H=c[B]??{blockIndex:0,lineIndex:0,previousSpaceAfter:0,paragraphFragmentIndex:0},z=F.gridSpan,I=F.gridColumn,_=n+wl(t,0,I),v=wl(t,I,Math.min(I+z,t.length))||u,j=Math.min(p,Math.max((v-Pg)/2,0)),J=_+j,N=Math.max(v-2*j,Pg),G=Og(F.margins,F.borders),Y=i?pr(F.borders.top):G.top,$=r+Y,Q=M-G.bottom,q=[],se=$,Pe=H,he=true,fe=false,ye=false;if(!F.vMergeContinue)if(Q<$+.001)he=H.blockIndex>=F.blocks.length;else {let Ie=Tg(F.blocks,J+G.left,J+N-G.right,$,Q,l,k,H,F.styleFormatting);q=Ie.blocks,se=Ie.bottom,Pe=Ie.cursor,he=Ie.complete,fe=Ie.fitted,ye=Ie.nestedSplitBlocked,fe&&(P=true),ye&&(L=true);}let Ae=Math.min(M,fe?se+G.bottom:r+Y+f+G.bottom);Ae>O&&(O=Ae),E.push({cell:F,x:J,width:N,gridColumn:I,blocks:q,contentTop:$,contentBottom:se,insets:{...G,top:Y},nextCursor:Pe,complete:F.vMergeContinue?true:he,fitted:fe,nestedSplitBlocked:ye});}O=Math.min(M,Math.max(O,r));for(let B of E){let F=B.fitted?B.contentBottom+B.insets.bottom:r+B.insets.top+f+B.insets.bottom;F>O&&F<=M+.001&&(O=F);}O=Math.min(M,O);let R=false;if(g!==void 0){let B=r+g;B<=o+.001?(O=B,R=true):O=Math.min(o,O);}else if(y!==void 0){let B=r+y;E.every(H=>H.complete)&&B<=o+.001&&B>O&&(O=B);}O=Math.min(o,O);let h=Math.max(0,O-r),D=E.map(B=>{let F=B.blocks,H=R?true:B.complete;if(!B.cell.vMergeContinue&&H&&B.cell.vAlign!=="top"&&F.length>0){let z=B.contentBottom-B.contentTop,I=h-B.insets.top-B.insets.bottom-z;if(I>0){let _=B.cell.vAlign==="center"?I/2:I;F=mc(F,_);}}return {id:B.cell.id,gridColumn:B.gridColumn,...B.cell.gridColumnId?{gridColumnId:B.cell.gridColumnId}:{},gridSpan:B.cell.gridSpan,vMergeContinue:B.cell.vMergeContinue,...B.cell.vMergeContinue?{paintInert:true}:{},rowSpan:1,...B.cell.shading===void 0?{}:{shading:B.cell.shading},blocks:F,box:{x:B.x,y:r,width:B.width,height:h}}}),W=R||E.every(B=>B.complete)?null:E.map(B=>B.nextCursor),ee=R||E.every(B=>B.complete);return T(D,r,h),{record:{id:e.id,...e.revisionKind?{revisionKind:e.revisionKind}:{},...e.revisionId!==void 0?{revisionId:e.revisionId}:{},...e.revisionAuthor!==void 0?{revisionAuthor:e.revisionAuthor}:{},...e.revisionDate!==void 0?{revisionDate:e.revisionDate}:{},rowIndex:0,isHeaderRepeat:a,...i?{isContinuation:true}:{},cells:D,box:{x:n,y:r,width:u,height:h}},bottom:O,remainder:ee?null:W,fitted:P||e.cells.every(B=>B.vMergeContinue)||R,nestedSplitBlocked:L}}function nP(e){return {...e,collectAnchoredDrawings:void 0,publishAnchoredDrawings:void 0,deferAnchoredDrawings:void 0,onAnchorRepublish:void 0,onAnchorShift:void 0,anchorDeferOnly:true}}function hc(e,t,n,r,o,a=0){let i=0,l={...nP(o),pageExclusionZones:void 0,nextLineId:()=>`probe-${i++}`};return ka(e,t,n,0,false,r,l,a).record.box.height}function yc(e,t,n,r,o,a,i,l){if(e.length===0)return [];let s=new Map;for(let y of n)for(let b of y.cells)s.set(b.id,b);let c=fc(e,a,o,{pageFragment:true}),d=e.map((y,b)=>({...y,cells:y.cells.map(x=>{let T=c.get(x.id);if(x.vMergeContinue&&T===void 0)return {...x,paintInert:true,rowSpan:1,borders:{},blocks:[]};let k=x.vMergeContinue,M=T??1,E=x.box.height;if(M>1){let R=e[b+M-1];E=R.box.y+R.box.height-x.box.y;}let P=s.get(x.id),L=x.blocks;if(P&&P.vAlign!=="top"&&L.length>0){let R=Og(P.margins,P.borders),h=Number.POSITIVE_INFINITY,D=Number.NEGATIVE_INFINITY;for(let W of L)h=Math.min(h,W.box.y),D=Math.max(D,W.box.y+W.box.height);if(Number.isFinite(h)&&Number.isFinite(D)){let W=E-R.top-R.bottom-(D-h),B=x.box.y+R.top+(W>0?P.vAlign==="center"?W/2:W:0)-h;if(Math.abs(B)>.001){L=mc(L,B);for(let F of L)F.kind==="paragraph"&&i?.(F.paragraphId,B);}}}let O=Object.freeze({x:x.box.x,y:x.box.y,width:x.box.width,height:E});return P&&l&&(M>1||P.vAlign!=="top"&&L.length>0)&&Jw(L,P.blocks,O,l),{...x,...k?{vMergeContinue:false,paintInert:false}:{},rowSpan:M,blocks:L,box:{...x.box,height:E}}})})),u=d.map(y=>y.cells.map(b=>{let x=s.get(b.id);return {gridColumn:b.gridColumn,gridSpan:b.gridSpan,vMergeContinue:b.vMergeContinue,borders:x?.borders??{top:{state:"omitted"},left:{state:"omitted"},bottom:{state:"omitted"},right:{state:"omitted"}},mergeRowSpan:b.rowSpan??1}})),p=t.columnWidthsPt.length,f=t.tableBorders,m={columnWidthsPt:t.columnWidthsPt,rowBands:d.map(y=>({y:y.box.y,height:y.box.height})),cellBoxes:d.map(y=>y.cells.map(b=>({width:b.box.width,height:b.box.height})))},g=zd(u,f,p,m,void 0,r);return d.map((y,b)=>({...y,cells:y.cells.map((x,T)=>{let k=g[b][T];return x.paintInert||x.vMergeContinue?{...x,borders:{},paintInert:true}:{...x,borders:k}})}))}function rP(e,t,n,r,o,a){if(o>=ll)return null;let i=Math.max(1,n-t),l=po(e,i,o,a.styleCascade,a.displayMode);if(!l||l.rows.length===0)return null;let s=[],c={...a,publishAnchoredDrawings:void 0,collectAnchoredDrawings:void 0,anchorDeferOnly:true,deferAnchoredDrawings:y=>{s.push(y);}},d=t+wa(l,i),u=[],p=r;for(let y of l.rows){let b=ka(y,l.columnWidthsPt,d,p,false,o,c,l.cellSpacingPt);u.push(b.record),p=b.bottom;}let f=yc(u,l,l.rows,a.borderOwnershipBudget,a.vMergeResolveBudget,void 0,void 0,void 0);for(let y of s)for(let b of f)if(b.cells.some(T=>T.blocks.some(k=>k.kind==="paragraph"&&k.paragraphId===y.paragraphId))){vg([y],b.cells,b.box.y,b.box.height,a);break}let m=wl(l.columnWidthsPt,0,l.columnWidthsPt.length),g=new Map;return {fragment:Sl({kind:"table",id:`${e.id}#f0`,tableId:e.id,fragmentIndex:0,rows:f,box:{x:d,y:r,width:m,height:p-r}},l.columnWidthsPt,o,g),bottom:p}}function Bg(e){let t=e.picture;return t?.embeddedRelationshipId?`embed:${e.ownerPartName}:${t.embeddedRelationshipId}`:t?.linkedRelationshipId?`link:${e.ownerPartName}:${t.linkedRelationshipId}`:`nonpicture:${e.drawingNodeId}`}function Cg(e){let t=new Map,n=[{node:e.root,depth:0}],r=0;for(;n.length>0;){let o=n.pop();if(r+=1,r>chunkDY3QVCWC_cjs._a||o.depth>chunkDY3QVCWC_cjs.Ya.maxDrawingDepth)return null;let{node:a}=o;if(a.kind==="drawing"||chunkDY3QVCWC_cjs.ab(a)){t.set(a.id,a);continue}if("children"in a)for(let i=a.children.length-1;i>=0;i-=1)n.push({node:a.children[i],depth:o.depth+1});}return t}function bc(e){let t=e.position,n=e.anchor,r=e.picture,o=e.wrapGeometry;return [e.drawingNodeId,e.ownerPartName,e.kind,e.hidden?"1":"0",String(e.extentEmu.cx),String(e.extentEmu.cy),String(e.effectExtentEmu.top),String(e.effectExtentEmu.right),String(e.effectExtentEmu.bottom),String(e.effectExtentEmu.left),e.compatibilityBranchNodeId??"",n?.simplePos?"sp":"pv",n?String(n.relativeHeight):"",n?n.layoutInCell?"1":"0":"",r?[String(r.crop.left),String(r.crop.top),String(r.crop.right),String(r.crop.bottom),String(r.transform.rotationDegrees),r.transform.flipHorizontal?"1":"0",r.transform.flipVertical?"1":"0",String(r.transform.offsetEmu.x),String(r.transform.offsetEmu.y),String(r.transform.extentEmu.cx),String(r.transform.extentEmu.cy),r.embeddedRelationshipId??"",r.linkedRelationshipId??"",r.presetGeometry??""].join(":"):"",o?[o.element,o.textSide,String(o.distancesEmu.top),String(o.distancesEmu.right),String(o.distancesEmu.bottom),String(o.distancesEmu.left),String(o.polygon.length)].join(":"):"",t?[t.horizontal.relativeFrom,t.horizontal.align??"",String(t.horizontal.offsetEmu??""),t.vertical.relativeFrom,t.vertical.align??"",String(t.vertical.offsetEmu??""),String(t.simplePosition.xEmu),String(t.simplePosition.yEmu)].join(":"):""].join("|")}function Rl(e){switch(e.kind){case "ready":return `ready:${e.resourceKey}:${e.contentId}:${e.pixelWidth}x${e.pixelHeight}`;case "pending":return `pending:${e.resourceKey}`;case "external":return `external:${e.relationshipId}:${e.sinkSafe?"1":"0"}`;case "missing":return "missing";case "unrenderable":return `unrenderable:${e.reason}`;default:return e.kind}}var oP=1;function xc(e,t){if(e.kind==="drawing"||chunkDY3QVCWC_cjs.ab(e)){t.push(e.id);return}if("children"in e)for(let n of e.children)xc(n,t);}function aP(e){if(e.kind!=="paragraph")return [];let t=[];for(let n of e.children)xc(n,t);return Object.freeze(t)}function iP(e){let{ownerPartName:t,part:n,pkg:r,lookup:o,onResourceSettled:a,rememberReadyHandle:i,forgetReadyHandle:l}=e,s=false,c=0,d=new Map,u=new Set,p=new Map,f=new WeakMap,m=new WeakMap,g=0,y=chunkDY3QVCWC_cjs.$a(r,t),b=chunkDY3QVCWC_cjs.eb(n,{resolveRelationship:y}),x=Cg(n),T=(O,R)=>{if(s||u.has(R))return;u.add(R);let h=c;o.resolveForProjection(O).then(D=>{s||h!==c||(d.set(R,D),D.kind==="ready"&&i(D.validatedHandle),g+=1,p.set(R,g),a(t));}).catch(()=>{s||h!==c||(d.set(R,Object.freeze({kind:"unrenderable",partName:null,mime:"unknown",reason:"decode-failed"})),g+=1,p.set(R,g),a(t));}).finally(()=>{u.delete(R);});},k=O=>{let R=Bg(O),h=d.get(R);if(h)return h;let D=O.picture?.linkedRelationshipId;if(D){let ee=o.resolveLinked(t,D);return d.set(R,ee),g+=1,p.set(R,g),ee}let W=Object.freeze({kind:"pending",resourceKey:R});return d.set(R,W),g+=1,p.set(R,g),T(O,R),W},M=O=>b.get(O)??null,E=Object.freeze({ownerPartName:t,projectionForAtom:M,project:O=>M(O.id),resourceOf:k}),P=O=>{let R=m.get(O);if(R)return R;let h=aP(O),D=null,W=(B,F)=>{if(!(F>=oP))for(let H of B){let z=b.get(H)?.textboxStory;if(!z)continue;let I=[];if(xc(z.content,I),I.length!==0){D||(D=[...h]);for(let _ of I)D.push(_);W(I,F+1);}}};W(h,0);let ee=D??h;return m.set(O,ee),ee};return {context:E,cacheTokenForPart:()=>`${t}|${g}|${c}|${b.size}`,drawingTokenForParagraph:O=>{let R=f.get(O);if(R?.resourceEpoch===g)return R.token;let h=P(O);if(h.length===0)return f.set(O,{resourceEpoch:g,token:""}),"";let W=h.map(ee=>{let B=b.get(ee);if(!B)return `${ee}:refused`;let F=k(B);return [ee,bc(B),Rl(F),String(p.get(Bg(B))??0)].join("|")}).sort().join(";");return f.set(O,{resourceEpoch:g,token:W}),W},isCompatibleWith:(O,R)=>{if(O===n)return true;let h=Cg(O);if(x&&h&&x.size===h.size){let W=true;for(let[ee,B]of x)if(h.get(ee)!==B){W=false;break}if(W)return true}let D=chunkDY3QVCWC_cjs.eb(O,{resolveRelationship:chunkDY3QVCWC_cjs.$a(R,t)});if(D.size!==b.size)return false;for(let[W,ee]of b){let B=D.get(W);if(!B||bc(B)!==bc(ee))return false}return true},dispose:()=>{s=true,c+=1;for(let O of d.values())O.kind==="ready"&&l(O.validatedHandle);d.clear(),u.clear(),p.clear();}}}function Rk(e){let t=e.session.packageRevision(),n=e.session.currentPackage(),r=e.resourceLookup??chunkDY3QVCWC_cjs.rb(n,{decodePort:e.decodePort}),o=new Map,a=new Map,i=new Map,l=new Map,s=f=>{i.set(f.resourceKey,f);let m=chunkDY3QVCWC_cjs.gb(f);m&&l.set(f.resourceKey,m);},c=f=>{i.delete(f.resourceKey);let m=l.get(f.resourceKey);m&&(chunkDY3QVCWC_cjs.hb(m),l.delete(f.resourceKey));},d=(f,m)=>{let y=m.currentPackage().parts.get(f)??a.get(f);if(y)return y;if(f===m.part().name)return m.part();throw new Error(`Missing inline drawing part ${f}`)},u=(f,m)=>{let g=o.get(f);if(g)return g;let y=d(f,m);a.set(f,y);let b=iP({ownerPartName:f,part:y,pkg:m.currentPackage(),lookup:r,onResourceSettled:()=>e.onResourcesChanged(),rememberReadyHandle:s,forgetReadyHandle:c});return o.set(f,b),b},p=f=>{let m=f.currentPackage();if(m.partBytes===n.partBytes&&m.relationships===n.relationships&&m.contentTypes===n.contentTypes){for(let[y,b]of o){let x=m.parts.get(y)??(y===f.part().name?f.part():void 0);if(x&&b.isCompatibleWith(x,m)){a.set(y,x);continue}b.dispose(),o.delete(y),a.delete(y);}t=f.packageRevision(),n=m;return}for(let y of o.values())y.dispose();o.clear(),a.clear();for(let y of l.values())chunkDY3QVCWC_cjs.hb(y);l.clear(),i.clear(),e.resourceLookup||r.dispose(),t=f.packageRevision(),n=m,r=e.resourceLookup??chunkDY3QVCWC_cjs.rb(m,{decodePort:e.decodePort});};return Object.freeze({get bodyContext(){return u(e.session.part().name,e.session).context},contextForPart(f){return u(f,e.session).context},cacheTokenForPart(f){return u(f,e.session).cacheTokenForPart()},drawingTokenForParagraph(f,m){return u(m,e.session).drawingTokenForParagraph(f)},mintValidatedBytes(f,m){let g=i.get(f.resourceKey);return !g||g.contentId!==f.contentId?null:chunkDY3QVCWC_cjs.fb(f,m)},sync(f){f.packageRevision()!==t&&p(f);},dispose(){for(let f of o.values())f.dispose();o.clear(),a.clear();for(let f of l.values())chunkDY3QVCWC_cjs.hb(f);l.clear(),i.clear(),e.resourceLookup||r.dispose();}})}function Lg(e,t){let n=[],r=o=>{if(o.kind==="paragraph"){let a=t(o);a&&n.push(a);return}if("children"in o)for(let a of o.children)r(a);};return r(e),n.sort().join(";")}function lP(e){let t=n=>{if(n.kind==="textValue"||chunkDY3QVCWC_cjs.dc(n)||chunkDY3QVCWC_cjs.bc(n)!==null)return false;if(n.kind==="text"||n.localName==="t"){for(let r of n.children)if(r.kind==="textValue"&&r.value.trim().length>0)return true;return false}for(let r of n.children)if(r.kind!=="textValue"&&t(r))return true;return false};for(let n of e.children)if(n.kind!=="textValue"&&t(n))return true;return false}function Ng(e,t){for(let n of t.resultParagraphIds){let r=chunkDY3QVCWC_cjs.Fa(e,n);if(!(!r||r.kind==="textValue"||r.kind!=="paragraph")&&lP(r))return true}return false}var Fg=new WeakMap,Mg=new WeakMap,Eg=new WeakMap;function Sc(e){let t=Fg.get(e);if(t)return t;let n=new Set;for(let r of chunkDY3QVCWC_cjs.Ac(e))n.add(r.beginParagraphId),n.add(r.endParagraphId);return Fg.set(e,n),n}function wc(e){let t=Mg.get(e);if(t)return t;let n=new Set;for(let r of chunkDY3QVCWC_cjs.Ac(e))Ng(e,r)||n.add(r.beginParagraphId);return Mg.set(e,n),n}function Pc(e){let t=Eg.get(e);if(t)return t;let n=new Set;for(let r of chunkDY3QVCWC_cjs.Ac(e))if(!Ng(e,r))for(let o of r.resultParagraphIds)n.add(o);return Eg.set(e,n),n}var sP=4,Ag=256;function dP(e){return `txbx-${e}`}function Il(e,t){let n=e.textboxStory;if(!n)return null;let r=tt(e.extentEmu.cx),o=tt(e.extentEmu.cy),a=tt(n.insetsEmu.left),i=tt(n.insetsEmu.right),l=tt(n.insetsEmu.top),s=tt(n.insetsEmu.bottom),c=Math.max(1,r-a-i),d=Math.max(0,o-l-s),u=tt(n.strokeWidthEmu),p={fillHex:n.fillHex,strokeHex:n.strokeHex,strokeWidthPt:u,contentWidth:c,contentHeight:d};if((t.depth??0)>=sP)return {fragments:[],flowHeight:0,contentOffset:{x:a,y:l},...p,fallbackReason:"textbox-nesting-limit"};let m=cm(n.content,t.displayMode),g=dP(e.drawingNodeId),y=0,b=gr(m,0,c,0,0,{measurer:t.measurer,cache:t.cache,producer:`${t.producer}|txbx:${e.drawingNodeId}`,nextLineId:()=>`${g}-line-${y++}`,styleCascade:t.styleCascade,...t.pageContext?{pageContext:t.pageContext}:{},...t.documentProperties?{documentProperties:t.documentProperties}:{},...t.defaultTabStopPt!==void 0?{defaultTabStopPt:t.defaultTabStopPt}:{},...t.displayMode?{displayMode:t.displayMode}:{},...t.inlineDrawingLayout?{inlineDrawingLayout:t.inlineDrawingLayout}:{},...t.drawingTokenForParagraph?{drawingTokenForParagraph:t.drawingTokenForParagraph}:{}}),x=b.blocks,T=b.bottom,k;if(x.length>Ag){x=x.slice(0,Ag);let P=x[x.length-1];T=P?P.box.y+P.box.height:0,k="textbox-fragment-limit";}if(T>d+.001){let P=x.filter(L=>L.box.y<d-.001);P.length<x.length&&(x=P,k=k??"textbox-height-clip");}let M=Math.max(0,d-T),E=n.verticalAnchor==="center"?M/2:n.verticalAnchor==="bottom"?M:0;return {fragments:x,flowHeight:T,contentOffset:{x:a,y:l+E},...p,...k?{fallbackReason:k}:{}}}var cP=128;function uP(e){return chunkSFMAIFEN_cjs.y(chunkDY3QVCWC_cjs.xa(e))}function fP(e){let t=Math.max(1,Math.floor(e)),n=new Map;return {get(r){let o=n.get(r);if(o!==void 0)return n.delete(r),n.set(r,o),o},set(r,o){for(n.has(r)&&n.delete(r),n.set(r,o);n.size>t;){let a=n.keys().next();if(a.done)break;n.delete(a.value);}},get size(){return n.size}}}function pP(e,t,n,r,o,a,i,l=cP,s,c=ft,d,u,p,f,m){let g=Qs(e.root),y=fP(l),b=wn(e,c),x=uP(e),T,k=M=>{let E=An(g)||d?M:void 0,P=E?.pageNumber??f?.pageNumber??1,L=od(E,g)+(d?`|pn:${P}`:"");if(L===""){if(T)return T}else {let B=y.get(L);if(B)return B}let O=0,R=[],h=()=>{let B=E?.pageNumber??f?.pageNumber??1,F=f?.pageWidth??t,H=f?.pageHeight??Math.max(1,t),z=f?.marginLeft??0,I=f?.marginRight??0,_=f?.marginTop??0,v=f?.marginBottom??0,j=Math.max(1,H-_-v);return Object.freeze({pageNumber:B,pageWidth:F,pageHeight:H,marginLeft:z,marginRight:I,marginBottom:v,contentInsetTop:_,contentInsetBottom:v,contentWidth:t,contentHeight:j,contentBandHeight:j,ownerPartName:e.name,storyKind:e.name.includes("ftr")?"footer":"header"})},D=Object.freeze([]),W;if(d){let B=false;for(let F=0;F<ur;F+=1){R.splice(0,R.length),O=0,W=gr(b,0,Math.max(1,t),0,0,{measurer:n,cache:o,producer:r+L+(c===ft?"":`|rev:${c}`),nextLineId:()=>`hf-${e.name}-line-${O++}`,styleCascade:a,pageContext:E,...s!==void 0?{defaultTabStopPt:s}:{},displayMode:c,...m?{documentProperties:m}:{},inlineDrawingLayout:d,anchorFrameBase:h,pageContentClip:()=>la(h()),layoutTextboxStoryFor:z=>Il(z,{measurer:n,producer:r+L+(c===ft?"":`|rev:${c}`),cache:o,styleCascade:a,...E?{pageContext:E}:{},...s!==void 0?{defaultTabStopPt:s}:{},displayMode:c,...m?{documentProperties:m}:{},inlineDrawingLayout:d,...u?{drawingTokenForParagraph:u}:{}}),collectAnchoredDrawings:z=>{R.push(...z);},columnBoxForParagraph:z=>Object.freeze({x:0,y:z.y,width:t,height:z.height}),pageExclusionZones:()=>D,...u?{drawingTokenForParagraph:u}:p?{drawingLayoutToken:p}:{}});let H=kd(R,d,0,t);if(H.length===0){B=true,D=H;break}if(F>0&&tn(D)===tn(H)){B=true,D=H;break}D=H;}if(!B)throw new io(`header/footer exclusion reflow did not converge within ${ur} passes`)}else W=gr(b,0,Math.max(1,t),0,0,{measurer:n,cache:o,producer:r+L+(c===ft?"":`|rev:${c}`),nextLineId:()=>`hf-${e.name}-line-${O++}`,styleCascade:a,pageContext:E,...s!==void 0?{defaultTabStopPt:s}:{},displayMode:c,...m?{documentProperties:m}:{}});let ee={partName:e.name,contentKey:x,fragments:W.blocks,flowHeight:W.bottom,pageFieldNeeds:g,...R.length>0?{anchoredDrawings:Object.freeze([...R])}:{},withPageContext:B=>!An(g)&&!ee.anchoredDrawings?.length?T??ee:k(B)};return L===""?T=ee:y.set(L,ee),ee};return k(i)}function Rc(e,t,n){let r=n-e.box.y,o=u=>({...u,y:u.y+r}),a=u=>{if(!u)return;let p={...u,box:o(u.box),...u.anchoredDrawings?{anchoredDrawings:u.anchoredDrawings}:{}};if(!u.pageFieldProjector)return p;let f=u.pageFieldProjector;return {...p,pageFieldProjector:m=>{let g=f(m);return {...g,box:o(g.box)}}}},i=u=>{if(u)return {...u,box:o(u.box),...u.separator?{separator:{...u.separator,box:o(u.separator.box)}}:{},notes:u.notes.map(p=>({...p,box:o(p.box)}))}},l=a(e.header),s=a(e.footer),c=i(e.footnotes),d=i(e.endnotes);return {...e,id:`page-${t}`,index:t,box:o(e.box),contentBox:o(e.contentBox),...l?{header:l}:{},...s?{footer:s}:{},...c?{footnotes:c}:{},...d?{endnotes:d}:{}}}function Ic(e){let t=[],n=r=>{if(r.kind==="table"){for(let o of r.rows)for(let a of o.cells)for(let i of a.blocks)n(i);return}for(let o of r.lines)for(let a of o.drawings??[])t.push(Rl(a.resource));};for(let r of e.anchoredDrawings??[])t.push(Rl(r.resource));for(let r of e.fragments)n(r);return t.length===0?"":`!${t.join("!")}`}var vl=4096,Xn=20,jt=Object.freeze({pageSize:Object.freeze({widthTwips:12240,heightTwips:15840}),margins:Object.freeze({topTwips:1440,rightTwips:1440,bottomTwips:1440,leftTwips:1440,headerTwips:720,footerTwips:720,gutterTwips:0}),columns:Object.freeze({count:1,gapTwips:720,equalWidth:true,separator:false,definitions:Object.freeze([])}),landscape:false,titlePage:false,breakType:"nextPage"});function vc(e,t,n=31680*2){if(e===void 0||!/^-?\d{1,7}$/.test(e))return t;let r=Number(e);return !Number.isFinite(r)||r<=0||r>n?t:r}function hr(e,t){if(e===void 0||!/^-?\d{1,7}$/.test(e))return t;let n=Number(e);return !Number.isFinite(n)||Math.abs(n)>31680?t:n}function zg(e,t,n=31680){if(e===void 0||!/^\d{1,7}$/.test(e))return t;let r=Number(e);return !Number.isFinite(r)||r<0||r>n?t:r}var Ue=(e,t)=>{if(!(e.kind==="textValue"||!("attributes"in e))){for(let n of e.attributes??[])if(n.localName===t)return n.value}},yr=(e,t)=>{if(e.kind!=="textValue"){for(let n of e.children??[])if(n.kind!=="textValue"&&"localName"in n&&n.localName===t)return n}};function Dg(e,t,n){let r=Ue(e,t);return r===void 0?n:r==="0"||r==="false"||r==="off"||r==="no"?false:r==="1"||r==="true"||r==="on"||r==="yes"?true:n}function mP(e){if(!e)return 1;let t=Ue(e,"num");return !t||!/^\d{1,7}$/.test(t)?1:Math.max(1,Math.min(12,Number(t)))}function gP(e,t,n){if(!e||e.kind==="textValue")return [];let r=[];for(let o of e.children??[]){if(r.length>=t||o.kind==="textValue"||!("localName"in o)||o.localName!=="col")continue;let a=r.length;r.push({widthTwips:vc(Ue(o,"w"),1,31680),gapTwips:a===t-1?0:zg(Ue(o,"space"),n)});}return r}function hP(e){let t=e?yr(e,"type"):void 0,n=t?Ue(t,"val"):void 0;return n==="continuous"||n==="evenPage"||n==="oddPage"||n==="nextColumn"?n:"nextPage"}var yP=new Set(["hyphen","period","colon","emDash","enDash"]);function Hg(e){let t=yr(e,"pgNumType");if(!t||t.kind==="textValue")return;let n={},r=Ue(t,"start");if(r!==void 0&&/^-?\d{1,7}$/.test(r)){let l=Number(r);Number.isFinite(l)&&l>=0&&l<=9999&&(n.start=l);}let o=Ue(t,"fmt");o!==void 0&&o.length>0&&o.length<=64&&!/[<>&"']/.test(o)&&(n.fmt=o);let a=Ue(t,"chapStyle");if(a!==void 0&&/^\d{1,2}$/.test(a)){let l=Number(a);Number.isFinite(l)&&l>=0&&l<=9&&(n.chapStyle=l);}let i=Ue(t,"chapSep");return i!==void 0&&yP.has(i)&&(n.chapSep=i),n}function Tl(e){if(!e)return jt;let t=yr(e,"pgSz"),n=yr(e,"pgMar"),r=yr(e,"cols"),o=jt,a=t?Ue(t,"orient"):void 0,i=t?vc(Ue(t,"w"),o.pageSize.widthTwips):o.pageSize.widthTwips,l=t?vc(Ue(t,"h"),o.pageSize.heightTwips):o.pageSize.heightTwips,s=Hg(e),c=mP(r),d=r?zg(Ue(r,"space"),o.columns.gapTwips):o.columns.gapTwips,u=r?Dg(r,"equalWidth",true):true;return {pageSize:{widthTwips:i,heightTwips:l},margins:{topTwips:n?hr(Ue(n,"top"),1440):o.margins.topTwips,rightTwips:n?hr(Ue(n,"right"),1440):o.margins.rightTwips,bottomTwips:n?hr(Ue(n,"bottom"),1440):o.margins.bottomTwips,leftTwips:n?hr(Ue(n,"left"),1440):o.margins.leftTwips,headerTwips:n?hr(Ue(n,"header"),720):o.margins.headerTwips,footerTwips:n?hr(Ue(n,"footer"),720):o.margins.footerTwips,gutterTwips:n?hr(Ue(n,"gutter"),0):o.margins.gutterTwips},columns:{count:c,gapTwips:d,equalWidth:u,separator:r?Dg(r,"sep",false):false,definitions:u?[]:gP(r,c,d)},landscape:a==="landscape"||i>l,titlePage:chunkDY3QVCWC_cjs.ta(e,"titlePg"),breakType:hP(e),...s!==void 0?{pageNumbering:s}:{}}}function bP(e){let t=n=>{if(n.kind!=="textValue"){if(n.kind==="body")return yr(n,"sectPr");for(let r of n.children??[]){let o=t(r);if(o)return o}}};return t(e.root)}function Ol(e){let t=e.children.find(r=>r.kind==="paragraphProperties");if(!t)return;let n=yr(t,"sectPr");return n&&n.kind!=="textValue"?n:void 0}function xP(e){let t=jg(e);return t[t.length-1]?.properties??jt}function jg(e,t="all-markup"){return Wg(e,t).sections}function Wg(e,t="all-markup"){return Tc(e,wn(e,t))}var _g=chunkDY3QVCWC_cjs.He(16);function Tc(e,t){let n=_g.get(t);if(n&&n.part===e)return n.result;let r=SP(e,t);return _g.set(t,{part:e,result:r}),r}function SP(e,t){let n=[],r=0,o=false;for(let i=0;i<t.length;i+=1){let l=t[i];if(l.kind!=="paragraph")continue;let s=Ol(l);if(s){if(n.length>=vl){o=true;continue}n.push({index:n.length,properties:Tl(s),blockStart:r,blockEndExclusive:i+1}),r=i+1;}}if(o){if(n.length>0){let i=n[n.length-1];n[n.length-1]={...i,blockEndExclusive:t.length};}return {sections:n,truncated:true}}let a=bP(e);if(r<t.length||n.length===0){if(n.length>=vl){let i=n[n.length-1];return n[n.length-1]={...i,blockEndExclusive:t.length},{sections:n,truncated:true}}n.push({index:n.length,properties:Tl(a),blockStart:r,blockEndExclusive:t.length});}else if(a){if(n.length>=vl)return {sections:n,truncated:true};n.push({index:n.length,properties:Tl(a),blockStart:r,blockEndExclusive:t.length});}return {sections:n,truncated:o}}function br(e){let t=e.pageSize.widthTwips/Xn,n=e.pageSize.heightTwips/Xn,r=(e.margins.leftTwips+e.margins.gutterTwips)/Xn,o=e.margins.rightTwips/Xn,a=e.margins.topTwips/Xn,i=e.margins.bottomTwips/Xn;return t-r-o<=0||n-a-i<=0?Ho:{width:t,height:n,margin:{top:a,right:o,bottom:i,left:r},headerDistance:Math.max(0,e.margins.headerTwips)/Xn,footerDistance:Math.max(0,e.margins.footerTwips)/Xn}}function Oc(e,t){let n=Math.max(1,t),r=Math.max(1,Math.min(12,Math.floor(e.count))),o=e.definitions??[],a=e.equalWidth===false&&o.length===r&&o.every(d=>d.widthTwips>0),i,l;if(a){i=o.map(f=>Math.max(1,f.widthTwips/20)),l=o.slice(0,-1).map(f=>Math.max(0,f.gapTwips/20));let d=l.reduce((f,m)=>f+m,0),u=Math.max(r*1,n-d),p=i.reduce((f,m)=>f+m,0);if(p>u){let f=u/p;i=i.map(m=>Math.max(1,m*f));}}else {let d=Math.max(0,e.gapTwips/20),u=Math.min(d,Math.max(0,(n-r*1)/(r-1||1)));l=Array.from({length:Math.max(0,r-1)},()=>u);let p=Math.max(1,(n-l.reduce((f,m)=>f+m,0))/r);i=Array.from({length:r},()=>p);}let s=[],c=0;for(let d=0;d<r;d+=1)s.push(c),c+=i[d]+(l[d]??0);return {count:r,widths:i,gaps:l,lefts:s,separator:e.separator===true&&r>1}}function wP(e,t,n){return Ba(e,t,()=>n)}function Ba(e,t,n){let r=[],o=null,a=-1,i=-1;for(let l of t){let s=n(l.sectionIndex);if(l.customMarkFollows){r.push({noteId:l.noteId,mark:null});continue}o===null?(o=s.numStart,a=l.sectionIndex,i=l.pageIndex??-1):s.numRestart==="eachSect"&&l.sectionIndex!==a?(o=s.numStart,a=l.sectionIndex):s.numRestart==="eachPage"&&l.pageIndex!==void 0&&l.pageIndex!==i?(o=s.numStart,i=l.pageIndex):s.numRestart==="eachSect"?a=l.sectionIndex:s.numRestart==="eachPage"&&l.pageIndex!==void 0&&(i=l.pageIndex);let c=o;o+=1,r.push({noteId:l.noteId,mark:mn(s.numFmt,c),displayNumber:c});}return r}function Gg(e){let t=new Map;for(let n of e)t.set(n.noteId,n.mark);return t}var bo=chunkDY3QVCWC_cjs.xd,Ca=512,kc=6,PP=1/3;function Xg(e,t){return `note-${e}-${t}`}function RP(e){if(!e)return [];let t=[];for(let n of chunkDY3QVCWC_cjs.zd(e.root)){if(t.length>=bo)break;chunkDY3QVCWC_cjs.qd(n)&&t.push(n);}return t}function $g(e,t){if(e){for(let n of chunkDY3QVCWC_cjs.zd(e.root))if(chunkDY3QVCWC_cjs.pd(n)===t)return n}}function Bc(e,t,n){let r=chunkDY3QVCWC_cjs.nd(e),o=chunkDY3QVCWC_cjs.od(e);if(!r||o===null)return null;let a=chunkDY3QVCWC_cjs.ed(r,o),i=Yi(e),l=Xg(r,o),s=0,c=Math.max(1,t),d=n.maxFlowHeightPt??Number.POSITIVE_INFINITY,u=n.noteMarks?{...n.noteMarks,activeNoteKey:a}:{marks:new Map,activeNoteKey:a},p=n.ownerPartName?n.drawingsForPart?.(n.ownerPartName):void 0,f=gr(i,0,c,0,0,{measurer:n.measurer,cache:n.cache,producer:`${n.producer}|${a}`,nextLineId:()=>`${l}-line-${s++}`,styleCascade:n.styleCascade,noteMarks:u,...n.projectLink?{projectLink:n.projectLink}:{},...n.projectFieldLink?{projectFieldLink:n.projectFieldLink}:{},...n.documentProperties?{documentProperties:n.documentProperties}:{},...n.defaultTabStopPt!==void 0?{defaultTabStopPt:n.defaultTabStopPt}:{},...p?{inlineDrawingLayout:p.inlineDrawingLayout,...p.drawingTokenForParagraph?{drawingTokenForParagraph:p.drawingTokenForParagraph}:{}}:{}}),m=f.blocks,g=f.bottom,y;if(m.length>Ca){m=m.slice(0,Ca);let b=m[m.length-1];g=b?b.box.y+b.box.height:0,y="note-fragment-limit";}if(g>d){let b=[],x=0;for(let T of m){let k=T.box.y+T.box.height;if(k>d+.001&&b.length>0)break;b.push(T),x=k;}m=b,g=x,y=y??"note-height-cap";}return {noteKind:r,noteId:o,scopeId:a,noteType:chunkDY3QVCWC_cjs.pd(e),fragments:m,flowHeight:g,...y?{fallbackReason:y}:{}}}function kl(e,t,n,r){if(!e)return null;let o=chunkDY3QVCWC_cjs.Ad(e.root,t);return o?Bc(o,n,{...r,ownerPartName:e.name}):null}function Vg(e,t){return "single"}function Yg(e){let t=Yi(e);if(t.length===0)return true;for(let n of t){if(n.kind!=="paragraph")return false;let r=n.children.find(o=>o.kind==="paragraphProperties");if(Object.keys(un(r)).length>0||!IP(n))return false}return true}function IP(e){for(let t of e.children)if(t.kind!=="textValue"&&t.kind!=="paragraphProperties"){if(t.kind==="run"){if(!vP(t))return false;continue}return false}return true}function vP(e){for(let t of e.children)if(t.kind!=="textValue"&&t.kind!=="runProperties"&&!(chunkDY3QVCWC_cjs.ld(t)||chunkDY3QVCWC_cjs.md(t)||chunkDY3QVCWC_cjs.kd(t))){if(t.kind==="text"){if(t.children.map(r=>r.value).join("").trim().length>0)return false;continue}return false}return true}function La(e,t,n,r,o,a){let i=Vg(),l=$g(e,t);if(l){if(Yg(l))return {kind:t,fragments:[],flowHeight:kc,synthetic:false,ruleStyle:i};let s=Bc(l,n,{...r,...e?{ownerPartName:e.name}:{}});if(s&&s.flowHeight>0){let c=a??Number.POSITIVE_INFINITY;return s.flowHeight>c+.001?{kind:t,fragments:[],flowHeight:kc,synthetic:true,ruleStyle:i,fallbackReason:"note-separator-height-cap"}:{kind:t,fragments:s.fragments,flowHeight:s.flowHeight,synthetic:false}}}return {kind:t,fragments:[],flowHeight:kc,synthetic:true,ruleStyle:i}}function Ug(e,t){let n=Math.max(1,e*PP);return {x:0,y:Math.max(0,(t-.75)/2),width:n,height:.75}}function Bl(e,t,n,r){if(e.ruleStyle!==void 0||e.synthetic){let o=Ug(n,e.flowHeight);return {x:t+o.x,y:r+o.y,width:o.width,height:Math.max(o.height,e.ruleStyle==="double"?2.25:.75)}}return {x:t,y:r,width:n,height:e.flowHeight}}var Lc=8,Qg=4096,eh=256,th=14,Fc=12;function TP(e,t){return t>=e.range.start&&t<e.range.end}function nh(e){let t=[],n=r=>{for(let o of r){if(o.kind==="paragraph"){t.push(o);continue}for(let a of o.rows)if(!a.isHeaderRepeat)for(let i of a.cells)n(i.blocks);}};return n(e),t}function Ec(e){let t=new Map;for(let n of e){let r=t.get(n.paragraphId);r?r.push(n):t.set(n.paragraphId,[n]);}return t}function Ll(e,t,n){let r=nh(e.fragments);if(!n)return t.filter(i=>r.some(l=>rc(l,i.paragraphId,i.atomOffset)));let o=[],a=new Set;for(let i of r)for(let l of Gn(i)){let s=n.get(l);if(s)for(let c of s)a.has(c)||rc(i,l,c.atomOffset)&&(a.add(c),o.push(c));}return o}function rh(){let e=new Map;return {get(t,n,r,o,a,i,l){let c=`${t?.name??"none"}\0${o}\0${n}\0${r}\0${a}`,d=e.get(c);if(d)return d;let u=La(t,n,r,i,o,a);return e.set(c,u),u.fallbackReason&&l.push(u.fallbackReason),u}}}function OP(e,t){let n=[];for(let r of e){if(n.length>=bo)break;n.push({...r,sectionIndex:t.get(r.paragraphId)??0});}return n}function xo(e,t){return e.footnotePropsBySection[t]??e.footnotePropsBySection[0]??e.documentFootnoteProps}function Nc(e,t){return e.endnotePropsBySection[t]??e.endnotePropsBySection[0]??e.documentEndnoteProps}function oh(e,t){return {measurer:e.measurer,producer:e.producer,cache:e.cache,styleCascade:e.styleCascade,defaultTabStopPt:e.defaultTabStopPt,projectLink:e.projectLink,projectFieldLink:e.projectFieldLink,documentProperties:e.documentProperties,noteMarks:t,drawingsForPart:e.drawingsForPart}}function kP(e,t){return t===0?e:{...e,box:{...e.box,y:e.box.y+t},...e.shadingBox?{shadingBox:{...e.shadingBox,y:e.shadingBox.y+t}}:{},...e.bottomBorder?{bottomBorder:{...e.bottomBorder,box:{...e.bottomBorder.box,y:e.bottomBorder.box.y+t}}}:{},...e.borders?{borders:e.borders.map(n=>({...n,box:{...n.box,y:n.box.y+t}}))}:{},...e.marker?{marker:{...e.marker,box:{...e.marker.box,y:e.marker.box.y+t}}}:{},lines:e.lines.map(n=>({...n,box:{...n.box,y:n.box.y+t},spans:n.spans.map(r=>({...r,box:{...r.box,y:r.box.y+t}}))}))}}function Kg(e,t){return t===0?[...e]:e.map(n=>n.kind==="paragraph"?kP(n,t):{...n,box:{...n.box,y:n.box.y+t}})}function BP(e,t){if(e.lines.length===0)return e.box.y+e.box.height<=t+.001?{head:e,tail:null}:{head:null,tail:e};let n=0;for(;n<e.lines.length;n+=1){let g=e.lines[n];if(g.box.y+g.box.height>t+.001)break}if(n===0)return {head:null,tail:e};if(n>=e.lines.length)return {head:e,tail:null};let r=e.lines.slice(0,n),o=e.lines.slice(n),a=r[r.length-1],i=e.box.y,l=a.box.y+a.box.height,s=e.borders?.filter(g=>g.side!=="bottom"),c={...e,range:{paragraphId:e.paragraphId,start:r[0].range.start,end:a.range.end},spacing:{before:e.spacing.before,after:0},lines:r,box:{...e.box,height:Math.max(0,l-i)},...s&&s.length>0?{borders:s}:{borders:void 0},bottomBorder:void 0,...e.shadingBox?{shadingBox:{...e.shadingBox,height:Math.max(0,l-e.shadingBox.y)}}:{}},d=o[o.length-1],u=o[0].box.y,p=d.box.y+d.box.height,f=e.borders?.filter(g=>g.side!=="top"),m={...e,id:`${e.paragraphId}#f${e.fragmentIndex+1}`,fragmentIndex:e.fragmentIndex+1,range:{paragraphId:e.paragraphId,start:o[0].range.start,end:o[o.length-1].range.end},spacing:{before:0,after:e.spacing.after},lines:o,box:{x:e.box.x,y:u,width:e.box.width,height:Math.max(0,p-u)},marker:void 0,...f&&f.length>0?{borders:f}:{borders:void 0},...e.bottomBorder?{bottomBorder:e.bottomBorder}:{},...e.shadingBox?{shadingBox:{x:e.shadingBox.x,y:u,width:e.shadingBox.width,height:Math.max(0,p-u)}}:{}};return {head:c,tail:m}}function CP(e){let t=0;for(let n of e)t=Math.max(t,n.box.y+n.box.height);return t}function Fl(e,t,n){if(e.flowHeight<=t+.001)return {head:e.fragments,headHeight:e.flowHeight,tail:[],tailHeight:0};if(t<=.001)return {head:[],headHeight:0,tail:e.fragments,tailHeight:e.flowHeight};let r=[],o=0,a=0,i=null;for(let u=0;u<e.fragments.length&&u<Ca;u+=1){let p=e.fragments[u],f=p.box.y+p.box.height;if(f<=t+.001){r.push(p),o=f,a=u+1;continue}if(p.kind==="paragraph"){let m=BP(p,t);if(m.head)r.push(m.head),o=m.head.box.y+m.head.box.height,i=m.tail,a=u+1;else {let g=n?.fullContentHeight??t,b=p.lines[0]?.box.height??p.box.height;if(r.length===0&&t>=g-.001&&b>g+.001){n?.reasons?.push("note-line-exceeds-page"),a=u+1,i=null;let x=e.fragments.slice(a),T=x[0]?.box.y??0;return {head:[],headHeight:0,tail:Kg(x,-T),tailHeight:Math.max(0,e.flowHeight-T)}}a=u,i=null;}break}a=u;break}let l=[...i?[i]:[],...e.fragments.slice(a)];if(l.length===0)return {head:r,headHeight:o,tail:[],tailHeight:0};let s=l[0]?.box.y??0,c=Kg(l,-s),d=CP(c);return {head:r,headHeight:o,tail:c,tailHeight:d}}function LP(e,t){let n="FootnoteReference";if(!t)return {...qt,verticalAlign:"superscript"};let r=Sn([],[{localName:"rStyle",attributes:{val:n}}],t);return De(r,t.themeFonts)}function FP(e,t,n,r){let o=new Set;for(let d of e.values())d&&d.length>0&&o.add(d);let a=Math.max(t.footnotePropsBySection.length,t.endnotePropsBySection.length,1,...n.map(d=>d.sectionIndex+1),...r.map(d=>d.sectionIndex+1)),i=false;for(let d=0;d<a;d+=1){let u=xo(t,d);if(u.numRestart==="eachPage"){i=true;for(let f=0;f<Fc;f+=1){let m=mn(u.numFmt,u.numStart+f);m.length>0&&o.add(m);}}let p=Nc(t,d);if(p.numRestart==="eachPage"){i=true;for(let f=0;f<Fc;f+=1){let m=mn(p.numFmt,p.numStart+f);m.length>0&&o.add(m);}}}if(!i||o.size===0)return;let l=LP("footnote",t.styleCascade),s,c=-1;for(let d of o){let u=t.measurer.measure(d,l);(u>c+.001||Math.abs(u-c)<=.001&&d.length>(s?.length??0))&&(s=d,c=u);}return s}function ah(e,t,n){let r=Ba("footnote",e,l=>xo(n,l)),o=Ba("endnote",t,l=>Nc(n,l)),a=new Map;for(let l of r)a.set(dr("footnote",l.noteId),l.mark);for(let l of o)a.set(dr("endnote",l.noteId),l.mark);let i=FP(a,n,e,t);return {marks:a,...i?{reservedMarkText:i}:{}}}function Ml(e){let t=0;for(let n of e.fragments)t=Math.max(t,n.box.y+n.box.height);return t}function Mc(e){let{footnotes:t,endnotes:n,noteStream:r,...o}=e;return o}function MP(e,t){if(t.marks.size===0)return e;let n=false,r=e.pages.map(o=>{let a=ih(o.fragments,t);return a===o.fragments?o:(n=true,{...o,fragments:a})});return n?{revision:e.revision,pages:r}:e}function ih(e,t){let n=false,r=e.map(o=>{if(o.kind==="paragraph"){let l=EP(o,t);return l!==o&&(n=true),l}let a=false,i=o.rows.map(l=>{let s=false,c=l.cells.map(d=>{let u=ih(d.blocks,t);return u===d.blocks?d:(s=true,{...d,blocks:u})});return s?(a=true,{...l,cells:c}):l});return a?(n=true,{...o,rows:i}):o});return n?r:e}function EP(e,t){let n=false,r=e.lines.map(o=>{let a=NP(o,t);return a!==o&&(n=true),a});return n?{...e,lines:r}:e}function NP(e,t){let n=false,r=e.spans.map(o=>{let a=AP(o,t);return a!==o&&(n=true),a});return n?{...e,spans:r}:e}function AP(e,t){if(!e.projected||e.noteNav?.direction!=="to-note")return e;let n=t.marks.get(e.noteNav.scopeId);if(n===void 0)return e;let r=n??"";return e.text===r?e:{...e,text:r}}function DP(e){return e.footnotes?Math.max(0,Math.min(e.contentBox.height,e.footnotes.box.y-e.contentBox.y)):e.contentBox.height}function lh(e){return !(e.noteStream==="footnote-drain"||e.fragments.length===0&&(e.footnotes?.notes.length??0)>0)}function _P(e){for(let t=e.length-1;t>=0;t-=1)if(lh(e[t]))return t;return Math.max(0,e.length-1)}function Ac(e,t,n,r,o,a,i,l){let s=new Map(a),c=t.filter(B=>B.noteKind==="footnote"),d=e.contentBox.width,u=oh(n,r),p=[],f=0,m=Qg,g=a.size>0?"continuationSeparator":"separator",y=Math.max(0,e.contentBox.height),b=l?.separatorCache?l.separatorCache.get(n.footnotesPart,g,d,"footnote",y,u,i):(()=>{let B=La(n.footnotesPart,g,d,u,"footnote",y);return B.fallbackReason&&i.push(B.fallbackReason),B})(),x=Math.max(0,e.contentBox.height-Ml(e)-b.flowHeight),T=Math.max(0,e.contentBox.height-th-b.flowHeight),k=l?.reserveColumnBudget?T:x,E={fullContentHeight:Math.max(0,e.contentBox.height-b.flowHeight),reasons:i};for(let[B,F]of a){let H=B.match(/^(footnote|endnote):(-?\d+)$/);if(!H||H[1]!=="footnote")continue;let z=Number(H[2]),I=Math.max(0,k-f);if(F.height<=I+.001)p.push({noteKind:"footnote",noteId:z,scopeId:B,mark:null,continuation:true,box:{x:e.contentBox.x,y:0,width:d,height:F.height},fragments:F.fragments}),f+=F.height,s.delete(B);else {let _=Fl({fragments:F.fragments,flowHeight:F.height},I,E);_.head.length>0&&(p.push({noteKind:"footnote",noteId:z,scopeId:B,mark:null,continuation:true,box:{x:e.contentBox.x,y:0,width:d,height:_.headHeight},fragments:_.head}),f+=_.headHeight),_.tail.length>0?s.set(B,{fragments:_.tail,height:_.tailHeight,mark:null}):s.delete(B);}}for(let B of c){if(p.length>=bo){i.push("note-count-limit");break}let F=kl(n.footnotesPart,B.noteId,d,u);if(!F){i.push("missing-note-body");continue}let H=r.marks.get(dr("footnote",B.noteId))??null,z=Math.max(0,k-f);if(m-=F.fragments.length,m<0){i.push("note-area-fragment-limit");break}if(F.flowHeight<=z+.001)p.push({noteKind:"footnote",noteId:B.noteId,scopeId:F.scopeId,mark:B.customMarkFollows?null:H,box:{x:e.contentBox.x,y:0,width:d,height:F.flowHeight},fragments:F.fragments}),f+=F.flowHeight;else {let I=Fl(F,z,E);I.head.length>0&&(p.push({noteKind:"footnote",noteId:B.noteId,scopeId:F.scopeId,mark:B.customMarkFollows?null:H,box:{x:e.contentBox.x,y:0,width:d,height:I.headHeight},fragments:I.head}),f+=I.headHeight),I.tail.length>0&&s.set(F.scopeId,{fragments:I.tail,height:I.tailHeight,mark:null});}}if(p.length===0&&a.size===0)return {area:void 0,nextCarry:s};let P=b.flowHeight,L=P+f,O=Ml(e),R;o==="beneathText"?R=e.contentBox.y+O:(R=e.contentBox.y+e.contentBox.height-L,R=Math.max(R,e.contentBox.y+O));let h=R+P,D=p.map(B=>{let F={...B,box:{...B.box,y:h}};return h+=B.box.height,F}),W=Bl(b,e.contentBox.x,d,R);return {area:{kind:"footnotes",placement:o==="beneathText"?"beneathText":"pageBottom",box:{x:e.contentBox.x,y:R,width:d,height:L},separator:{kind:g,box:W,fragments:b.fragments,synthetic:b.synthetic,...b.ruleStyle!==void 0?{ruleStyle:b.ruleStyle}:{}},notes:D},nextCarry:s}}function sh(e,t,n){return {id:`page-${t}`,index:t,box:e.box,contentBox:e.contentBox,fragments:[],...n?{noteStream:n}:{},...e.header?{header:e.header}:{},...e.footer?{footer:e.footer}:{},...e.pageFieldSource?{pageFieldSource:{...e.pageFieldSource,pageNumber:e.pageFieldSource.pageNumber+(t-e.index)}}:{}}}function Dc(e,t){let n=new Set;for(let r of nh(e.fragments))n.add(t.get(r.paragraphId)??0);return [...n].sort((r,o)=>r-o)}function dh(e,t,n){for(let r=e.length-1;r>=0;r-=1)if(Dc(e[r],n).includes(t))return r;return Math.max(0,e.length-1)}function zP(e,t,n){let r=dh(e,t,n);for(let o=r+1;o<e.length;o+=1){let a=e[o];if(a.noteStream==="footnote-drain"||a.noteStream==="endnote-overflow"||a.fragments.length===0&&(a.footnotes?.notes.length??0)>0)continue;let i=Dc(a,n);if(i.length!==0&&!i.includes(t))return o}return e.length}function HP(e){return e.map((t,n)=>t.index===n&&t.id===`page-${n}`?t:{...t,id:`page-${n}`,index:n})}function jP(e){let t=HP(e);return [...Dn({revision:0,pages:t}).pages]}function WP(e,t,n,r,o,a,i,l){let s=new Map(a),c=[];if(t.length===0&&a.size===0)return {area:void 0,nextCarry:s,remainingRefs:c};let d=e.contentBox.width,u=oh(n,r),p=l?.separatorKind??"separator",f=z=>z==="footnote"?n.footnotesPart:n.endnotesPart,m=n.endnotesPart??n.footnotesPart,g=Math.max(0,e.contentBox.height),y=l?.separatorCache?l.separatorCache.get(m,p,d,"endnote",g,u,i):(()=>{let z=La(m,p,d,u,"endnote",g);return z.fallbackReason&&i.push(z.fallbackReason),z})(),b=y.flowHeight,x=Ml(e),T=e.endnotes?Math.max(x,e.endnotes.box.y-e.contentBox.y+e.endnotes.box.height):x,k=DP(e),M=Math.max(0,k-T-b),P={fullContentHeight:Math.max(0,k-b),reasons:i},L=[],O=0,R=Qg;for(let[z,I]of a){let _=z.match(/^(footnote|endnote):(-?\d+)$/);if(!_)continue;let v=_[1],j=Number(_[2]),J=Math.max(0,M-O);if(I.height<=J+.001)L.push({noteKind:v,noteId:j,scopeId:z,mark:null,continuation:true,box:{x:e.contentBox.x,y:0,width:d,height:I.height},fragments:I.fragments}),O+=I.height,s.delete(z);else {let N=Fl({fragments:I.fragments,flowHeight:I.height},J,P);N.head.length>0&&(L.push({noteKind:v,noteId:j,scopeId:z,mark:null,continuation:true,box:{x:e.contentBox.x,y:0,width:d,height:N.headHeight},fragments:N.head}),O+=N.headHeight),N.tail.length>0?s.set(z,{fragments:N.tail,height:N.tailHeight,mark:null}):s.delete(z);}}for(let z=0;z<t.length;z+=1){let I=t[z];if(L.length>=bo){i.push("note-count-limit"),c.push(...t.slice(z));break}let _=f(I.noteKind),v=kl(_,I.noteId,d,u);if(!v){i.push("missing-note-body");continue}let j=r.marks.get(dr(I.noteKind,I.noteId))??null,J=Math.max(0,M-O);if(R-=v.fragments.length,R<0){i.push("note-area-fragment-limit"),c.push(...t.slice(z));break}if(v.flowHeight<=J+.001)L.push({noteKind:I.noteKind,noteId:I.noteId,scopeId:v.scopeId,mark:I.customMarkFollows?null:j,box:{x:e.contentBox.x,y:0,width:d,height:v.flowHeight},fragments:v.fragments}),O+=v.flowHeight;else {let N=Fl(v,J,P);N.head.length>0&&(L.push({noteKind:I.noteKind,noteId:I.noteId,scopeId:v.scopeId,mark:I.customMarkFollows?null:j,box:{x:e.contentBox.x,y:0,width:d,height:N.headHeight},fragments:N.head}),O+=N.headHeight),N.tail.length>0&&s.set(v.scopeId,{fragments:N.tail,height:N.tailHeight,mark:null}),c.push(...t.slice(z+1));break}}if(L.length===0&&a.size===0)return {area:void 0,nextCarry:s,remainingRefs:c};if(L.length===0)return {area:void 0,nextCarry:s,remainingRefs:c};let h=e.contentBox.y+T,D=h+b,W=L.map(z=>{let I={...z,box:{...z.box,y:D}};return D+=z.box.height,I}),ee=Bl(y,e.contentBox.x,d,h),B=b+O,F=Math.max(0,k-T),H=Math.min(B,F);return {area:{kind:"endnotes",placement:o,box:{x:e.contentBox.x,y:h,width:d,height:H},separator:{kind:p,box:ee,fragments:y.fragments,synthetic:y.synthetic,...y.ruleStyle!==void 0?{ruleStyle:y.ruleStyle}:{}},notes:W},nextCarry:s,remainingRefs:c}}function GP(e,t,n,r,o,a,i){let l=e,s=t;for(;s.size>0&&a.remaining>0;){let c=l[l.length-1],d=sh(c,c.index+1,"footnote-drain"),u=Ac(d,[],n,r,"pageBottom",s,o,{separatorCache:i}),p=u.area?.notes.length??0;if(s=u.nextCarry,p===0){o.push("note-overflow-stalled"),u.area&&(l=[...l,{...d,footnotes:u.area}],a.remaining-=1);break}l=[...l,{...d,footnotes:u.area}],a.remaining-=1;}return s.size>0&&!o.includes("note-overflow-stalled")&&o.push("note-overflow-page-limit"),{pages:l,carry:s}}function XP(e,t,n,r="endnote-overflow"){let o=sh(n,t,r);return {pages:[...e.slice(0,t),o,...e.slice(t)],pageIndex:t}}function Zg(e,t,n){if(n<=t||t>=e.length)return e;let r=Math.min(n,e.length),o=e[t],a=o.pageFieldSource?.pageNumber??t+1,i=o.pageFieldSource?.format,l=r-t,s=[...e];for(let c=t;c<r;c+=1){let d=s[c];s[c]={...d,pageFieldSource:{pageNumber:a+(c-t),sectionPageCount:l,...i?{format:i}:{}}};}return s}function qg(e,t,n,r,o,a,i,l,s){if(n.length===0||e.length===0)return e;let c=[...e],d=[...n],u=new Map,p=t,f=0,m="separator",g=s?.stopBeforeIndex??Number.POSITIVE_INFINITY,y=s?.sectionStartIndex??t,b=s?.stopBeforeIndex!==void 0,x=s?.separatorCache;for(;d.length>0||u.size>0;){if(p>=c.length||p>=g){if(l.remaining<=0){i.push("note-overflow-page-limit");break}let E=c[Math.min(Math.max(p,1),c.length)-1]??c[c.length-1],P=Math.min(p,g,c.length),L=XP(c,P,E,"endnote-overflow");c=L.pages,p=L.pageIndex,b&&(g=P+1),f+=1,l.remaining-=1;}let T=c[p];if(!lh(T)){p+=1;continue}let k=WP(T,d,r,o,a,u,i,{separatorKind:m,...x?{separatorCache:x}:{}});u=k.nextCarry,d=k.remainingRefs;let M=k.area?.notes.length??0;if(k.area){let E=c[p];c[p]={...E,endnotes:E.endnotes?{...k.area,notes:[...E.endnotes.notes,...k.area.notes],box:{...k.area.box,y:E.endnotes.box.y,height:E.endnotes.box.height+k.area.box.height}}:k.area};}else {if(u.size===0&&d.length===0)break;if(!k.area&&u.size===0&&d.length>0){p+=1,m="separator";continue}}if(M===0&&(u.size>0||d.length>0)&&T.fragments.length===0&&T.noteStream==="endnote-overflow"){i.push("note-overflow-stalled");break}if(u.size>0||d.length>0){m="continuationSeparator",p+=1;continue}break}return (d.length>0||u.size>0)&&(i.includes("note-overflow-stalled")||i.push("note-overflow-page-limit")),b?c=Zg(c,y,Math.min(g,c.length)):f>0&&(c=Zg(c,y,c.length)),c}function ch(e,t,n,r){let o=new Map,a=[],i=new Map,l=Ec(t),s=rh();for(let d of e.pages){let u=Mc(d),f=Ll(u,t,l).filter(k=>k.noteKind==="footnote"),m=f[0]?.sectionIndex??0,g=xo(n,m);if(g.pos==="sectEnd"||g.pos==="docEnd")continue;let y=Math.max(0,u.contentBox.height-th),{area:b,nextCarry:x}=Ac(u,f,n,r,g.pos,i,a,{reserveColumnBudget:true,separatorCache:s});i=x;let T=Math.min(b?.box.height??0,y);if(T>0){let k=o.get(d.index)??0;o.set(d.index,Math.max(k,T));}}let c=true;for(let d of e.pages){let u=o.get(d.index)??0;if(u<=0)continue;if(Ml(Mc(d))+u>d.contentBox.height+.5){c=false;break}}return {reserves:o,stable:c,reasons:a}}function uh(e,t,n,r){let o=[...r?.fallbackReasons??[]],a=r?.paragraphSectionIndex??new Map,i={remaining:eh},l=Ec(t),s=rh(),c=[],d=[];for(let x of e.pages)for(let T of Ll(x,t,l)){let k={noteId:T.noteId,sectionIndex:T.sectionIndex,pageIndex:x.index,customMarkFollows:T.customMarkFollows};T.noteKind==="footnote"?c.push(k):d.push(k);}let u=ah(c,d,n),p=new Map,f=new Map,m=[],g=e.pages.map(x=>{let T=Mc(x),k=Ll(x,t,l),M=k.filter(R=>R.noteKind==="footnote"),E=k.filter(R=>R.noteKind==="endnote");for(let R of E)if(Nc(n,R.sectionIndex).pos==="sectEnd"){let D=f.get(R.sectionIndex)??[];D.push(R),f.set(R.sectionIndex,D);}else m.push(R);for(let R of M){let h=xo(n,R.sectionIndex);if(h.pos==="sectEnd"){let D=f.get(R.sectionIndex)??[];D.push(R),f.set(R.sectionIndex,D);}else h.pos==="docEnd"&&m.push(R);}let P=M[0]?.sectionIndex??0,L=xo(n,P),O;if(L.pos==="pageBottom"||L.pos==="beneathText"){let R=M.filter(D=>{let W=xo(n,D.sectionIndex).pos;return W==="pageBottom"||W==="beneathText"}),h=Ac(T,R,n,u,L.pos,p,o,{separatorCache:s});O=h.area,p=h.nextCarry;}return {...T,...O?{footnotes:O}:{}}}),y=g.length;if(p.size>0){let x=GP(g,p,n,u,o,i,s);g=x.pages,p=x.carry;}if(f.size>0&&g.length>0){let x=[...f.keys()].sort((T,k)=>T-k);for(let T of x){let k=f.get(T),M=dh(g,T,a),E=zP(g,T,a),P=M;for(let L=0;L<=M;L+=1)if(Dc(g[L],a).includes(T)){P=L;break}g=qg(g,M,k,n,u,"sectEnd",o,i,{stopBeforeIndex:E,sectionStartIndex:P,separatorCache:s});}}return m.length>0&&g.length>0&&(g=qg(g,_P(g),m,n,u,"docEnd",o,i,{separatorCache:s})),g.length!==y&&(g=jP(g)),{layout:MP({revision:e.revision,pages:g},u),fallbackReasons:o,noteMarks:u}}function $P(e){return chunkDY3QVCWC_cjs.Zd(e).map(t=>({noteKind:t.noteKind,noteId:t.noteId,paragraphId:t.paragraphId,atomOffset:t.atomOffset,customMarkFollows:t.customMarkFollows}))}function VP(e,t,n){let r=new Map,o=wn(e,n);for(let a=0;a<t.length;a+=1){let i=t[a];for(let l=i.blockStart;l<i.blockEndExclusive;l+=1){let s=o[l];if(!s)continue;if(s.kind==="paragraph"){r.set(s.id,a);continue}let c=(d,u)=>{if(!(u>32)&&d.kind!=="textValue"){if(d.kind==="paragraph"){r.set(d.id,a);return}for(let p of d.children)c(p,u+1);}};c(s,0);}}return r}function xr(e){let t=new Map;for(let[n,r]of e)r>0&&t.set(n,r);return t}function Cc(e,t){let n=xr(e),r=xr(t);if(n.size!==r.size)return false;for(let[o,a]of n)if((r.get(o)??0)!==a)return false;return true}function Jg(e,t){let n=xr(e);for(let[r,o]of t)o<=0||n.set(r,Math.max(n.get(r)??0,o));return n}function Cl(e){return [...xr(e)].map(([t,n])=>`${t}=${n}`).sort().join(",")}function fh(e,t,n,r,o){let a=$P(e),i=VP(e,t,n.displayMode??ft),l=OP(a,i),s=ph(l,r),c=n.session?.notePageBottomReserves,d=c?xr(c):new Map,u=[],p=o({...n,noteMarks:s,pageBottomReserves:d}),f=new Set([Cl(d)]);for(let g=0;g<Lc;g+=1){let y=ch(p,l,r,s);if(u=[...y.reasons],y.stable&&Cc(y.reserves,d))break;let b=y.stable?xr(y.reserves):Jg(d,y.reserves);if(Cc(b,d)){u.push("note-reflow-exhausted");break}let x=Cl(b);if(f.has(x)){b=Jg(d,y.reserves);let T=Cl(b);if(Cc(b,d)||f.has(T)){u.push("note-reflow-exhausted");break}}d=b,f.add(Cl(d)),p=o({...n,noteMarks:s,pageBottomReserves:d}),g===Lc-1&&u.push("note-reflow-exhausted");}let m=uh(p,l,r,{fallbackReasons:u,paragraphSectionIndex:i});return n.session&&(n.session.previous=m.layout,n.session.notePageBottomReserves=xr(d)),m.layout}function ph(e,t){let n=[],r=[];for(let o of e){let a={noteId:o.noteId,sectionIndex:o.sectionIndex,customMarkFollows:o.customMarkFollows};o.noteKind==="footnote"?n.push(a):r.push(a);}return ah(n,r,t)}function mh(e,t){let n=e.projectLink??t.projectLink,r=e.projectFieldLink??t.projectFieldLink,o=e.documentProperties??t.documentProperties;return {...e,...n?{projectLink:n}:{},...r?{projectFieldLink:r}:{},...o?{documentProperties:o}:{}}}var YP="http://schemas.openxmlformats.org/wordprocessingml/2006/main",UP="http://schemas.microsoft.com/office/word/2010/wordml",KP="http://schemas.microsoft.com/office/word/2012/wordml";function ZP(e){if(e.kind!=="textValue"){for(let t of e.attributes)if(t.localName==="val"&&t.namespaceUri===YP)return t.value}}function Fa(e){for(let t of e.children)if(t.kind!=="textValue"&&(t.kind==="contentControlProperties"||t.localName==="sdtPr"))return t}function So(e,t){if(e){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}}function $n(e,t){let n=So(e,t);return n?ZP(n):void 0}function El(e){return e==="sdtLocked"||e==="contentLocked"||e==="sdtContentLocked"?e:"unlocked"}function _c(e){if(!e)return "richText";for(let t of e.children){if(t.kind==="textValue")continue;let n=t.kind,r=t.localName,o=t.namespaceUri;if(n==="contentControlDropDownList"||r==="dropDownList")return "dropdown";if(n==="contentControlComboBox"||r==="comboBox")return "comboBox";if(n==="contentControlDate"||r==="date")return "date";if(r==="picture")return "picture";if(n==="contentControlText"||r==="text")return "plainText";if(r==="richText")return "richText";if(n==="contentControlCheckbox"||r==="checkbox"&&o===UP)return "checkbox";if(r==="repeatingSection"&&o===KP)return "repeatingSection"}return "richText"}function gh(e){let t=(n,r)=>{for(let o of n)if(o.kind!=="textValue"){if(o.kind==="tableRow")return "row";if(o.kind==="tableCell")return "cell";if(o.kind==="paragraph"||o.kind==="table")return "block";if(chunkDY3QVCWC_cjs.Lb(o)&&r<chunkDY3QVCWC_cjs.Kb){let a=t(chunkDY3QVCWC_cjs.Ob(o),r+1);if(a)return a}}return null};return t(chunkDY3QVCWC_cjs.Ob(e),0)??"inline"}var qP={kind:"covered",id:"hashed",paragraphId:"covered",fragmentIndex:"covered",range:"hashed",props:"hashed",spacing:"hashed",indent:"hashed",bottomBorder:"hashed",borders:"hashed",shading:"hashed",shadingBox:"hashed",markRevisions:"hashed",markRevision:"covered",markFormatRevision:"hashed",marker:"hashed",lines:"hashed",box:"hashed"},JP={kind:"covered",id:"hashed",tableId:"hashed",fragmentIndex:"hashed",nestingDepth:"hashed",columnEdges:"hashed",rows:"hashed",box:"hashed"};function bh(e){return Object.keys(e).filter(t=>e[t]==="hashed")}var QP=bh(qP),eR=bh(JP),hh=new WeakMap;function yh(e){let t=hh.get(e);if(t!==void 0)return t;let n=e.kind==="table"?JSON.stringify(eR.map(r=>e[r])):JSON.stringify(QP.map(r=>e[r]));return hh.set(e,n),n}function xh(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1){let r=e[n],o=t[n];if(r!==o&&yh(r)!==yh(o))return false}return true}function zc(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1)if(e[n]!==t[n])return false;return true}var Sh=Object.freeze([]),wh=new Map;function Ph(e,t){if(e===t)return true;if(e.size!==t.size)return false;for(let[n,r]of e)if(t.get(n)!==r)return false;return true}function Nl(){return {previous:null,checkpoints:[],keys:[],context:"",startLineCounter:0,endLineCounter:0,endCursorY:0,endSpaceAfter:0,endsOpenPage:true,stats:{placed:0,total:0,reusedPages:0,fullPasses:0},balanceLimit:null,multi:null,notePageBottomReserves:null}}function Rh(e,t){return [...e].map(([n,r])=>`${n}=${r.flowHeight}`).sort().join(",")}function vh(e){return e?`hf:${e.titlePage?1:0}${e.evenAndOddHeaders?1:0};h:${Rh(e.headers)};f:${Rh(e.footers)}`:""}function Al(e,t,n){if(e.sectionFurniture)return e.sectionFurniture[t];if(t===n-1)return e.furniture}function tR(e,t){return e.map((n,r)=>{let o=br(n.properties),a=Al(t,r,e.length),i=n.properties.pageNumbering,l=i?`pn:${i.start??""},${i.fmt??""},${i.chapStyle??""},${i.chapSep??""}`:"pn:",s=n.properties.columns,c=`cols:${s.count},${s.gapTwips},${s.equalWidth===false?0:1},${s.separator?1:0};${(s.definitions??[]).map(d=>`${d.widthTwips}/${d.gapTwips}`).join(",")}`;return [n.blockStart,n.blockEndExclusive,n.properties.breakType,o.width,o.height,o.margin.top,o.margin.right,o.margin.bottom,o.margin.left,o.headerDistance??36,o.footerDistance??36,vh(a),l,c].join(":")}).join("|")}function nR(e,t,n){if(!e)return null;let r=e.multi;if(r&&r.structureKey===t&&r.sections.length===n)return r;let o={structureKey:t,sections:Array.from({length:n},()=>Nl()),spans:[],previousRemapped:[],previousFinalized:null,previousPageCount:-1};return e.multi=o,o}function rR(e){return e!=="continuous"}function oR(e,t){return e.width===t.width&&e.height===t.height}function aR(e,t){if(t.fragments.length===0&&!t.columnSeparators?.length&&!t.anchoredDrawings?.length)return e;let n=e.anchoredDrawings||t.anchoredDrawings?Object.freeze([...e.anchoredDrawings??[],...t.anchoredDrawings??[]]):void 0;return {...e,fragments:t.fragments.length>0?[...e.fragments,...t.fragments]:e.fragments,...(e.columnSeparators?.length||t.columnSeparators?.length)&&{columnSeparators:[...e.columnSeparators??[],...t.columnSeparators??[]]},...n?{anchoredDrawings:n}:{}}}function Ih(e,t,n){e.previous=t,e.startLineCounter=0,e.endLineCounter=n,e.keys=[],e.checkpoints=[],e.context="";}function Th(e,t,n,r,o){let{session:a,...i}=r,l=tR(t,r),s=nR(a,l,t.length),c=[],d=[],u=[],p=0,f=0,m=0,g=0,y=0,b=0,x=0,T=true,k=null,M="",E=1;for(let O=0;O<t.length;O+=1){let R=t[O],h=e.slice(R.blockStart,R.blockEndExclusive),D=br(R.properties),W=Al(r,O,t.length),ee=c.length,B=p,F=s?.spans[O],H=vh(W);if(h.length===0&&!rR(R.properties.breakType)){u.push({startIndex:ee,pageCount:0,sheetY:B,remappedPages:[]});continue}let z=O>0&&R.properties.breakType==="continuous"&&c.length>0&&T&&k!==null&&oR(k,D)&&M===H,I=s?.sections[O],_=R.properties.columns.count>1&&t[O+1]?.properties.breakType==="continuous",v=o(h,n,{...i,geometry:D,furniture:W,sectionColumns:R.properties.columns,..._?{balanceColumns:_}:{},lineCounterStart:f,pageIndexStart:z?ee-1:ee,...z?{flowStartY:b,spaceBeforeCarry:x}:{},...I?{session:I}:{}});f=v.lineCounter,b=v.endCursorY,x=v.endSpaceAfter,T=v.endsOpenPage,k=D,M=H,I?(m+=I.stats.placed,g+=I.stats.total):(m+=h.length,g+=h.length);let j=I!==void 0&&I.stats.placed===0&&I.stats.reusedPages===v.pages.length&&F!==void 0&&F.pageCount===v.pages.length,J=F!==void 0&&F.startIndex===ee&&F.sheetY===B&&F.remappedPages.length===v.pages.length,N=R.properties.pageNumbering,G=N?.start!==void 0?N.start:E,Y=N?.fmt,$;if(z){let Q=c.length-1,q=c[Q],se=aR(q,v.pages[0]);if(se!==q){c[Q]=se;let fe=d.lastIndexOf(q);fe!==-1&&(d[fe]=se);}let Pe=[];for(let fe of v.pages.slice(1)){let ye=Rc(fe,c.length+Pe.length,p);Pe.push(ye),p=ye.box.y+ye.box.height+24;}let he=Pe.length+1;$=Ur(Pe,G+1,he,Y);for(let fe of $)c.push(fe),d.push(fe);E=G+he;}else if(j&&J){$=F.remappedPages,y+=$.length;for(let Q of $)c.push(Q),d.push(Q),p=Q.box.y+Q.box.height+24;E=G+$.length;}else {let Q=[];for(let q of v.pages){let se=Rc(q,c.length+Q.length,p);Q.push(se),p=se.box.y+se.box.height+24;}$=Ur(Q,G,Q.length,Y);for(let q of $)c.push(q),d.push(q);E=G+$.length;}u.push({startIndex:ee,pageCount:$.length,sheetY:B,remappedPages:$});}if(c.length===0){let O=br(t[0]?.properties??jt),R=o([],n,{...i,geometry:O,sectionColumns:t[0]?.properties.columns??jt.columns}),h=Dn({revision:n,pages:R.pages});return s&&(s.spans=[],s.previousRemapped=R.pages,s.previousFinalized=h,s.previousPageCount=h.pages.length),a&&(Ih(a,h,f),a.stats={placed:0,total:0,reusedPages:0,fullPasses:a.stats.fullPasses+1}),h}let P=Dn({revision:n,pages:c}),L=P;if(s?.previousFinalized&&s.previousPageCount===P.pages.length&&s.previousRemapped.length===d.length){let O=s.previousFinalized.pages,R=s.previousRemapped,h=P.pages.map((D,W)=>d[W]===R[W]&&O[W]?O[W]:D);L={revision:n,pages:h};}return s&&(s.spans=u,s.previousRemapped=d,s.previousFinalized=L,s.previousPageCount=L.pages.length),a&&(Ih(a,L,f),a.stats={placed:m,total:g||1,reusedPages:y,fullPasses:a.stats.fullPasses+(m===g&&y===0?1:0)}),L}function Dl(e=6,t=14){let n=r=>r.fontSizePt/11;return {measure:(r,o)=>r.length*e*n(o)*(o.horizontalScalePercent/100)+r.length*o.characterSpacingPt,lineMetrics:r=>{let o=r.verticalAlign==="baseline"?1:.75,a=t*n(r)*o;return {height:a,baseline:a*.8}}}}var iR=2,Oh=new WeakMap,kh=new WeakMap;function lR(e,t,n){let r=n.displayMode??ft,o=wn(e,r),a=Tc(e,o).sections,i=Mh(e),l={...n,producer:`${n.producer??"unversioned-measurer"}|cc:${i}`,tocFieldChromeParagraphIds:n.tocFieldChromeParagraphIds??Sc(e),emptyTocPlaceholderParagraphIds:n.emptyTocPlaceholderParagraphIds??wc(e),emptyTocSuppressedResultParagraphIds:n.emptyTocSuppressedResultParagraphIds??Pc(e)},s=n.drawingSourceOrder;!s&&n.inlineDrawingLayout&&(s=kh.get(n.inlineDrawingLayout),s||(s=(()=>{let f=new Map;return chunkDY3QVCWC_cjs.db(e).forEach((m,g)=>{f.set(m.drawingNodeId,g);}),f})(),kh.set(n.inlineDrawingLayout,s)));let c=nc(s?{...l,drawingSourceOrder:s}:l,o),d=f=>{if(a.length>1)return Th(o,a,t,f,wo);let m=a[0],g=f.geometry??(m?br(m.properties):Ho),y=Al(f,0,a.length)??f.furniture,b=wo(o,t,{...f,geometry:g,furniture:y,sectionColumns:m?.properties.columns??jt.columns}),x=m?.properties.pageNumbering,T=Eh({revision:b.layout.revision,pages:Ur(b.pages,x?.start??1,b.pages.length,x?.fmt)},b.layout),k=Dn(T);return f.session&&(f.session.multi=null,f.session.previous=k),k},u=f=>{let m=bR(f,e,i);return n.session&&(n.session.previous=m),m};if(!n.notes)return u(d(c));let p=mh(n.notes,n);return u(fh(e,a,c,p,d))}function Bh(e,t,n,r){let o=`line:${e}:${n}:${t}`;return r===void 0?o:`${o}:occ:${r}`}function Sr(e,t,n){let r=n.geometry,o=r.width-r.margin.left-r.margin.right,a=Oc(n.sectionColumns??jt.columns,o);if(n.inlineDrawingLayout&&n.drawingExclusionPass===void 0&&!n.drawingExclusionConverged){let w=Z=>n.drawingSourceOrder?.get(Z),X=Object.freeze({columnCount:a.count,columnGapPt:a.gaps[0]??0,contentWidth:o,columnLefts:a.lefts,columnWidths:a.widths}),A=new Map,oe=null,ce=false,pe=new Set,de=n.session?.previous?.pages;if(de){A=sa(de,n.inlineDrawingLayout,o,w,X),oe=wo(e,t,{...n,drawingExclusionPass:0,drawingExclusionZonesByPage:A});let Z=sa(oe.pages,n.inlineDrawingLayout,o,w,X);if(Ai(A,Z))return oe;A=new Map(Z),pe.add(Di(Z));}for(let Z=0;Z<ur;Z+=1){oe=wo(e,t,{...n,session:void 0,drawingExclusionPass:Z,drawingExclusionZonesByPage:A});let me=sa(oe.pages,n.inlineDrawingLayout,o,w,X);if(me.size===0){ce=true,A=me;break}let xe=Di(me);if(pe.has(xe)){ce=true,A=me;break}if(pe.add(xe),Z>0&&Ai(A,me)){ce=true,A=me;break}A=new Map(me);}if(!ce)for(let Z=0;Z<iR&&!ce;Z+=1){oe=wo(e,t,{...n,session:void 0,drawingExclusionPass:ur+Z,drawingExclusionZonesByPage:A});let me=sa(oe.pages,n.inlineDrawingLayout,o,w,X),xe=Di(me);if(Ai(A,me)||pe.has(xe)){ce=true,A=me;break}pe.add(xe),A=new Map(me);}if(!ce)throw new io(`wrap exclusion reflow did not converge within ${ur} passes`);return wo(e,t,{...n,drawingExclusionConverged:true,drawingExclusionZonesByPage:A})}let i=n.measurer,l=n.cache,s=n.styleCascade,c=n.listItems,d=n.defaultTabStopPt,u=n.displayMode??ft,p=u==="all-markup",f=n.tocFieldChromeParagraphIds,m=n.emptyTocPlaceholderParagraphIds,g=n.emptyTocSuppressedResultParagraphIds,y=(n.producer??"unversioned-measurer")+(s?`|sc:${s.cacheToken}`:"")+(n.noteMarks?`|nm:${lp(n.noteMarks)}`:"")+(c&&c.size>0?`|num:${c.size}`:"")+(d!==void 0?`|dts:${d}`:"")+(u===ft?"":`|rev:${u}`),b=a.widths[0],x=n.furniture,T=r.headerDistance??36,k=r.footerDistance??36,M=w=>{let X=0;for(let A of w?.values()??[])X=Math.max(X,A.flowHeight);return X},E=r.height*.4,P=Math.min(E,Math.max(r.margin.top,x?T+M(x.headers):0)),L=Math.min(E,Math.max(r.margin.bottom,x?k+M(x.footers):0)),O=r.height-P-L,R=n.pageBottomReserves,h=n.session,D=n.lineCounterStart??0,W=x?`|hf:${T},${k},${x.titlePage?1:0}${x.evenAndOddHeaders?1:0};`+[...x.headers].map(([w,X])=>`h${w}=${X.flowHeight}@${X.contentKey}${Ic(X)}`).sort().join(",")+";"+[...x.footers].map(([w,X])=>`f${w}=${X.flowHeight}@${X.contentKey}${Ic(X)}`).sort().join(","):"",ee=n.flowStartY??0,B=n.spaceBeforeCarry??0,F=n.pageIndexStart??0,H=R?`|nr:${[...R].map(([w,X])=>`${w}=${X}`).join(",")}`:"",z=n.columnRegionBottom,I=`|cols:${a.widths.join(",")};${a.gaps.join(",")};${a.separator?1:0}${z!==void 0?`;bal:${z}`:""}`,_=`${y}|${r.width}x${r.height}|${r.margin.top},${r.margin.right},${r.margin.bottom},${r.margin.left}|fs:${ee},${B}|pi:${F}${W}${H}${I}`,v=[],j=()=>{let w=Math.max(1,O-(R?.get(v.length)??0));return z!==void 0&&v.length===0?Math.max(1,Math.min(w,z)):w},J=(w,X)=>{let A=w.kind==="paragraph"?n.drawingTokenForParagraph?.(w)??n.drawingLayoutToken??"":w.kind==="table"&&n.drawingTokenForParagraph?Lg(w,n.drawingTokenForParagraph):"",oe=Oh.get(w);if(oe&&oe.contentWidth===X&&oe.producer===y&&oe.drawingToken===A)return oe.entry;let ce;if(w.kind==="table")ce={kind:"table",table:w,key:cr({paragraph:w,properties:[],width:X,producer:y,...A?{drawingToken:A}:{}})};else {let pe=c?.get(w.id),de=ga(w,X,s,pe),{props:Z,indent:me,available:xe,alignment:Se,spacing:Te,lineSpacing:Be,contextualSpacing:Oe,styleId:Qe,shading:ae,inheritedRunProperties:_e,markRunProperties:Ce}=de,ze=Kp(w.children.find(bt=>bt.kind==="paragraphProperties"),s),an=zs(ze),We=Yo(de.tabStops,d),Kn=We===de.tabStops?de.tabStopsCacheToken:ar(We);ce={kind:"paragraph",paragraph:w,props:Z,indent:me,available:xe,alignment:Se,spacing:Te,lineSpacing:Be,contextualSpacing:Oe,styleId:Qe,borders:ze,borderGroupKey:an===""?"":`${an}@${me.left},${me.left+xe}`,shading:ae,inheritedRunProperties:_e,markRunProperties:Ce,tabStops:We,keeps:Zp(Z),...pe?{listItem:pe}:{},key:cr({paragraph:w,properties:[...Z,..._e,...Ce,{localName:"tabStops",attributes:{token:Kn}},...pe?[{localName:"list",attributes:{token:pe.cacheToken}}]:[]],width:xe,producer:y,...A?{drawingToken:A}:{}})};}return Oh.set(w,{contentWidth:X,producer:y,drawingToken:A,entry:ce}),ce},N=e.map(w=>J(w,b)),G=N.map(w=>w.key),Y=Rg(N,b,s,u),$=N.map(w=>w.kind==="paragraph"&&w.keeps.keepNext),Q=N.map(w=>w.kind==="paragraph"?c?.get(w.paragraph.id)?.markerText:void 0),q=Qp(em(G,w=>$[w]),w=>Q[w]),se=h?.previous??null,Pe=se!==null&&h!==void 0&&h.context===_,he=a.count===1&&Pe,fe=0;if(Pe){let w=Math.min(q.length,h.keys.length);for(;fe<w&&q[fe]===h.keys[fe];)fe+=1;}let ye=0;if(he){let w=Math.min(q.length,h.keys.length)-fe;for(;ye<w&&q[q.length-1-ye]===h.keys[h.keys.length-1-ye];)ye+=1;}if(Pe&&fe===N.length&&N.length===h.keys.length){let w=Eh({revision:t,pages:se.pages},se),X=D+(h.endLineCounter-h.startLineCounter);return h.previous=w,h.startLineCounter=D,h.endLineCounter=X,h.stats={placed:0,total:N.length,reusedPages:se.pages.length,fullPasses:h.stats.fullPasses},l?.retain(new Set(G)),{layout:w,pages:w.pages,lineCounter:X,endCursorY:h.endCursorY,endSpaceAfter:h.endSpaceAfter,endsOpenPage:h.endsOpenPage}}let Ae=[],Ie=0,mt=0,lt=()=>a.lefts[Ie],Le=()=>a.widths[Ie],nn=()=>({text:{left:lt(),width:Le()},margin:{left:0,width:o},page:{left:-r.margin.left,width:r.width}}),rn=()=>Ae.length>mt,ve=[],Ge=[],st=new Map,ne=ee,on=ee,Fe=0,nt=D,C=B,S=[],K=()=>({pageCount:v.length,pageFragments:[...Ae],pendingAnchoredDrawings:[...ve],deferredAnchoredDrawings:Ge.length>0?[...Ge]:Sh,anchorPageDeferCounts:st.size>0?new Map(st):wh,cursorY:ne,lineCounter:nt,previousSpaceAfter:C,flowColumnIndex:Fe}),V=0,U=0,le=0,Re=ee===0;if(he&&fe>0&&fe<h.checkpoints.length){let w=h.checkpoints[fe];v.push(...se.pages.slice(0,w.pageCount)),Ae=[...w.pageFragments],ve=[...w.pendingAnchoredDrawings],Ge=[...w.deferredAnchoredDrawings],st.clear();for(let[X,A]of w.anchorPageDeferCounts)st.set(X,A);ne=w.cursorY,Fe=w.flowColumnIndex,Ie=w.flowColumnIndex,nt=w.lineCounter,C=w.previousSpaceAfter,V=fe,Re=false,le=v.length,S.push(...h.checkpoints.slice(0,fe));}let we=w=>({x:0,y:w*(r.height+24),width:r.width,height:r.height}),gt=w=>x?.titlePage&&w===0?"first":x?.evenAndOddHeaders&&(F+w+1)%2===0?"even":"default",Ke=(w,X,A)=>{if(!x)return;let oe=gt(X),ce=(w==="header"?x.headers:x.footers).get(oe);if(!ce)return;let pe=Be=>{let Oe=w==="header"?A.y+T:A.y+r.height-k-Be.flowHeight;return {kind:w,variant:oe,partName:Be.partName,...Be.rId?{rId:Be.rId}:{},box:{x:A.x+r.margin.left,y:Oe,width:o,height:Be.flowHeight},fragments:Be.fragments,...Be.anchoredDrawings?{anchoredDrawings:Be.anchoredDrawings}:{}}},de=F+X+1,Z={pageNumber:de,pageCount:Math.max(de,v.length+1),sectionPageCount:X+1},me=ce.pageFieldNeeds,Se=An(me)||(ce.anchoredDrawings?.length??0)>0?ce.withPageContext(Z):ce,Te=pe(Se);return An(me)?{...Te,pageFieldProjector:Be=>pe(ce.withPageContext(Be))}:Te},dt=a.count,Xe=lt,ct=w=>Object.freeze({x:a.lefts[Fe]??0,y:w.y,width:a.widths[Fe]??b,height:w.height}),rt=()=>Object.freeze({pageNumber:F+v.length+1,pageWidth:r.width,pageHeight:r.height,marginLeft:r.margin.left,marginRight:r.margin.right,marginBottom:r.margin.bottom,contentInsetTop:P,contentInsetBottom:L,contentWidth:b,contentHeight:j(),contentBandHeight:O,ownerPartName:n.inlineDrawingLayout?.ownerPartName??chunkDY3QVCWC_cjs.n,storyKind:"body"}),ot=()=>la(rt()),$e=w=>n.drawingSourceOrder?.get(w),Me=w=>{if(w.length===0)return;for(let A of w)ve.some(oe=>oe.drawingNodeId===A.drawingNodeId)||ve.push(A.sourceOrder===void 0&&$e(A.drawingNodeId)!==void 0?Object.freeze({...A,sourceOrder:$e(A.drawingNodeId)}):A);if(!n.inlineDrawingLayout)return;let X=Np(ve,{pageBottom:j()});if(ve.splice(0,ve.length,...X.drawings),X.deferred.length>0)for(let A of X.deferred){let oe=(st.get(A.drawingNodeId)??0)+1;st.set(A.drawingNodeId,oe),oe>=Pd?ve.push(Od(A,"page-defer-exhausted")):Ge.push(A);}},be=()=>{if(Ge.length===0)return;let w=Ge.map(X=>vd(X,ne-X.y));Ge=[],Me(w);},Bt=()=>{let w=v.length,X=we(w),A=Ke("header",w,X),oe=Ke("footer",w,X),{usedBottom:ce,hasBodyPageFields:pe}=ad(Ae,on);v.push({id:`page-${w}`,index:w,box:X,contentBox:{x:X.x+r.margin.left,y:X.y+P,width:o,height:O},fragments:Ae,hasBodyPageFields:pe,...a.separator?{columnSeparators:a.gaps.map((de,Z)=>({x:a.lefts[Z]+a.widths[Z]+de/2-.375,y:on,width:.75,height:Math.max(0,ce-on)}))}:{},...ve.length>0?{anchoredDrawings:Ep(ve)}:{},...A?{header:A}:{},...oe?{footer:oe}:{}}),Ae=[],ve=[],ne=0,Ie=0,Fe=0,on=0,mt=0;},Pr=(w,X)=>{if(w.kind!=="paragraph"||w.listItem!==void 0||w.shading!==void 0)return false;let{top:A,bottom:oe,left:ce,right:pe,between:de}=w.borders;if(A??oe??ce??pe??de)return false;let Z=n.inlineDrawingLayout;return Z&&Lt(w.paragraph,Z).length>0?false:X.every(me=>me.drawings.length===0&&!me.pageBreakAfter&&!me.columnBreakAfter&&me.spans.every(xe=>xe.text.length===0))},Rr=()=>{if(Ie+1<a.count){Ie+=1,Fe=Ie,ne=on,C=0,mt=Ae.length;return}Bt(),be();},Vc=w=>Il(w,{measurer:i,producer:y,cache:l,styleCascade:s,...d!==void 0?{defaultTabStopPt:d}:{},...u?{displayMode:u}:{},...n.documentProperties?{documentProperties:n.documentProperties}:{},inlineDrawingLayout:n.inlineDrawingLayout,drawingTokenForParagraph:n.drawingTokenForParagraph}),Tn={measurer:i,cache:l,producer:y,nextLineId:(w,X,A,oe)=>(nt+=1,Bh(w,X,A,oe)),pageOccurrenceKey:()=>String(F+v.length),styleCascade:s,listItems:c,...d!==void 0?{defaultTabStopPt:d}:{},...n.projectLink?{projectLink:n.projectLink}:{},...n.projectFieldLink?{projectFieldLink:n.projectFieldLink}:{},...n.documentProperties?{documentProperties:n.documentProperties}:{},bodyPageFields:true,...n.noteMarks?{noteMarks:n.noteMarks}:{},...n.inlineDrawingLayout?{inlineDrawingLayout:n.inlineDrawingLayout}:{},...n.drawingTokenForParagraph?{drawingTokenForParagraph:n.drawingTokenForParagraph}:n.drawingLayoutToken?{drawingLayoutToken:n.drawingLayoutToken}:{},...n.inlineDrawingLayout?{anchorFrameBase:rt,pageContentClip:ot,layoutTextboxStoryFor:Vc,publishAnchoredDrawings:Me,collectAnchoredDrawings:Me,columnBoxForParagraph:ct,pageExclusionZones:()=>n.drawingExclusionZonesByPage?.get(v.length)??Object.freeze([]),paragraphOrderIndex:w=>Y.get(w),onAnchorShift:(w,X)=>xd(ve,w,X),onAnchorRepublish:(w,X)=>{for(let A=ve.length-1;A>=0;A-=1)ve[A].anchorParagraphId===w&&ve.splice(A,1);ve.push(...X);}}:{},borderOwnershipBudget:Ki(),vMergeResolveBudget:uc(),displayMode:u},Gl=w=>fl(c?.get(w.paragraph.id)??w.listItem,w.indent,i,w.tabStops,w.available),Xl=(w,X,A=0)=>{let oe=w.paragraph.id,pe=!(m?.has(oe)??false)&&((f?.has(oe)??false)||(g?.has(oe)??false)),de=w.available,Z=Xe(),xe=(n.drawingExclusionZonesByPage?.get(v.length)??Object.freeze([])).filter(Qe=>{let ae=Y.get(w.paragraph.id),_e=Y.get(Qe.anchorParagraphId);if(ae!==void 0&&_e!==void 0){if(_e>ae)return false}else {let Ce=N.findIndex(ze=>ze.kind==="paragraph"&&ze.paragraph.id===Qe.anchorParagraphId);if(Ce<0||Ce>X)return false}return !(dt>1&&Qe.columnIndex!==Fe)}),Se=tn(xe),Te=n.drawingTokenForParagraph?.(w.paragraph)??n.drawingLayoutToken??(n.inlineDrawingLayout?"drawing":void 0),Be=l&&!pe?Se||Te?cr({paragraph:w.paragraph,properties:w.props,width:de,producer:y,...Te?{drawingToken:Te}:{},...Se?{exclusionToken:`${Fe}|${ne.toFixed(3)}|${Se}`}:{},...A>0?{startOffset:A}:{}}):A===0?w.key:`${w.key}|from:${A}`:null,Oe=dt>1;return Wi(w.paragraph,oe,w.indent.left,de,i,l,Be,w.inheritedRunProperties,w.tabStops,void 0,s?(Qe,ae)=>Sn(Qe,ae,s):void 0,{lineSpacing:w.lineSpacing,firstLineOffset:A===0?Gl(w):0,startOffset:A,marginExtent:{left:0,right:w.indent.left+de+w.indent.right},...n.projectLink?{projectLink:n.projectLink}:{},...n.projectFieldLink?{projectFieldLink:n.projectFieldLink}:{},...n.documentProperties?{documentProperties:n.documentProperties}:{},bodyPageFields:true,displayMode:u,...n.noteMarks?{noteMarks:n.noteMarks}:{},...n.inlineDrawingLayout?{inlineDrawingLayout:n.inlineDrawingLayout}:{},contentLeft:Oe?Z:0,contentRight:Oe?Z+Le():w.indent.left+de+w.indent.right,paragraphStartY:ne,...xe.length>0?{pageExclusionZones:xe}:{},...pe?{suppressEmptyPlaceholderLine:true}:{},...s?{themeFonts:s.themeFonts}:{},markRunProperties:w.markRunProperties})},Yc=(w,X)=>(n.drawingExclusionZonesByPage?.get(v.length)??Object.freeze([])).filter(oe=>{let ce=Y.get(w.paragraph.id),pe=Y.get(oe.anchorParagraphId);if(ce!==void 0&&pe!==void 0){if(pe>ce)return false}else {let de=N.findIndex(Z=>Z.kind==="paragraph"&&Z.paragraph.id===oe.anchorParagraphId);if(de<0||de>X)return false}return !(dt>1&&oe.columnIndex!==Fe||oe.anchorParagraphId===w.paragraph.id&&oe.input.mode==="topAndBottom")}),Uc=(w,X,A,oe,ce,pe,de)=>{let Z=Yc(w,X);if(!n.inlineDrawingLayout||oe<=ce)return Z;let me=Dt(w.paragraph),xe=new Map,Se=0;for(let ae=ce;ae<oe;ae+=1){let _e=A[ae];for(let ze of me.values())ze>=_e.start&&ze<_e.end&&xe.set(ze,Se);let Ce=de.get(ae)??A[ae].exclusionSkipBefore??0;Se+=Ce+A[ae].height;}if(xe.size===0)return Z;let Te=dt>1,Be=w.available,Oe=Xe(),Qe=Ni({paragraph:w.paragraph,paragraphId:w.paragraph.id,drawingLayout:n.inlineDrawingLayout,contentLeft:Te?Oe:0,contentRight:Te?Oe+Le():w.indent.left+Be+w.indent.right,paragraphStartY:pe,anchorLineTopByModelStart:xe,columnIndex:Fe});return Object.freeze([...Z,...Qe])},uy=(w,X,A,oe,ce,pe,de,Z)=>{if(n.inlineDrawingLayout){let Te=[...Dt(w.paragraph).values()];if(Te.length>0){let Be=Math.min(...Te);if(de.end<=Be||Te.some(Oe=>Oe>=de.start&&Oe<de.end)&&de.end<=Be+1)return 0}}let me=Uc(w,X,A,oe,ce,pe,Z),xe=me.length>0?xn(ne,de.height,me):0,Se=de.exclusionSkipBefore??0;return xe>.001?xe:Se},fy=w=>{let X=Le(),A=po(w,X,0,s,u);if(!A||A.rows.length===0)return;let oe=A.columnWidthsPt.reduce((ae,_e)=>ae+_e,0),ce=()=>A.float?jm(A.float,oe,nn()):lt()+wa(A,Le()),pe=ce();A.float&&A.float.vertAnchor==="text"&&!A.float.ySpec&&(ne=Math.max(0,Math.min(ne+A.float.yPt,j())));let de=[];for(let ae of A.rows)if(ae.isHeader)de.push(ae);else break;let Z=0,me=ne,xe=[],Se=new Map,Te=[],Be=()=>{if(xe.length===0)return;let ae=yc(xe,A,Te,Tn.borderOwnershipBudget,Tn.vMergeResolveBudget,void 0,(Ce,ze)=>{xd(ve,Ce,ze);},Tn),_e=ae[ae.length-1];Ae.push(Sl({kind:"table",id:`${w.id}#f${Z}`,tableId:w.id,fragmentIndex:Z,rows:ae,box:{x:pe,y:me,width:A.columnWidthsPt.reduce((Ce,ze)=>Ce+ze,0),height:_e.box.y+_e.box.height-me}},A.columnWidthsPt,0,Se)),Z+=1,xe=[],Te=[];},Oe=ae=>{if(de.length===0)return;let _e=0;for(let Ce of de)_e+=hc(Ce,A.columnWidthsPt,pe,0,Tn,A.cellSpacingPt);if(_e>j()+.001)throw new Ft("table-row-overheight",`Table header group (${de.length} row(s)) is taller than the page content box`);ne+_e>j()+.001&&ne>0&&(Be(),Rr(),pe=ce(),me=ne);for(let Ce of de){let ze=ka(Ce,A.columnWidthsPt,pe,ne,ae,0,Tn,A.cellSpacingPt);if(ze.bottom>j()+.001)throw new Ft("table-row-overheight",`Table header row ${Ce.id} overflowed the page content box`);xe.push(ze.record),Te.push(Ce),ne=ze.bottom;}},Qe=ae=>{Be(),Rr(),pe=ce(),me=ne,Oe(true);};Oe(false);for(let ae of A.rows.slice(de.length)){let _e=hc(ae,A.columnWidthsPt,pe,0,Tn,A.cellSpacingPt),Ce=pc(ae),ze=false,an=0,We=false;for(_e<=j()+.001&&ne+_e>j()+.001&&ne>0&&(Qe(),We=true);;){if(an+=1,an>Pl)throw new Ft("table-row-fragment-limit",`Table row ${ae.id} exceeded ${Pl} page fragments`);let Kn=j()-ne;if(Kn<=.001&&ne>0){if(We)throw new Ft("table-row-overheight",`Table row ${ae.id} cannot fit after repeated header rows`);Qe(),We=true;continue}if(!ze&&_e<=Kn+.001){let ln=ka(ae,A.columnWidthsPt,pe,ne,false,0,Tn,A.cellSpacingPt);if(ln.bottom>j()+.001)throw new Ft("table-row-overheight",`Table row ${ae.id} overflowed the page content box after placement`);xe.push(ln.record),Te.push(ae),ne=ln.bottom;break}if(ae.cantSplit||ae.height.rule==="exact"){if(ne>0&&!We){Qe(),We=true;continue}throw new Ft("table-row-overheight",ae.height.rule==="exact"?`Table row ${ae.id} has w:trHeight hRule=exact taller than the available page content`:`Table row ${ae.id} has w:cantSplit and is taller than the available page content`)}let bt=gc(ae,A.columnWidthsPt,pe,ne,j(),false,ze,0,Tn,Ce,A.cellSpacingPt);if(!bt.fitted&&ne>0&&!We){Qe(),We=true;continue}if(!bt.fitted)throw new Ft(bt.nestedSplitBlocked?"table-row-split-unsupported":"table-row-overheight",bt.nestedSplitBlocked?`Table row ${ae.id} contains a nested table taller than the page content box`:`Table row ${ae.id} has content that cannot fit a page content box`);if(bt.bottom>j()+.001)throw new Ft("table-row-overheight",`Table row ${ae.id} overflowed the page content box`);let Ro=bt.remainder!==null,Ir=kg(ae,ze,Ro);if(xe.push(bt.record),Te.push(Ir),ne=bt.bottom,!Ro)break;Ce=bt.remainder,ze=true,We=false,Qe();}}Be();},Un=false,$l=N.length;for(let w=V;w<N.length;w+=1){let X=J(e[w],Le());if(S[w]=K(),he&&ye>0&&w>=N.length-ye){let re=h.checkpoints[w+(h.keys.length-N.length)];if(re&&re.cursorY===ne&&re.previousSpaceAfter===C&&re.flowColumnIndex===Fe&&re.pageCount===v.length&&xh(re.pageFragments,Ae)&&zc(re.pendingAnchoredDrawings,ve)&&zc(re.deferredAnchoredDrawings,Ge)&&Ph(re.anchorPageDeferCounts,st)){let ie=se.pages.slice(re.pageCount);v.push(...ie),le+=ie.length,Un=true,$l=w,nt+=h.endLineCounter-re.lineCounter;break}}if(U+=1,X.kind==="table"){C=0,fy(X.table);continue}let{paragraph:A,props:oe,spacing:ce,contextualSpacing:pe,styleId:de,borders:Z,shading:me,keeps:xe}=X,{indent:Se,alignment:Te,markRunProperties:Be}=X,Oe=X.available,Qe=w>0?N[w-1]:void 0,ae=N[w+1],_e=re=>re?.kind==="paragraph"&&re.styleId===de&&de!==null,Ce=pe?{before:_e(Qe)?0:ce.before,after:_e(ae)?0:ce.after}:ce,ze=c?.get(A.id)??X.listItem,an=Gl(X),We=A.id,Kn=X.borderGroupKey,bt=re=>Kn!==""&&re?.kind==="paragraph"&&re.borderGroupKey===Kn,Ro=bt(Qe),Ir=bt(ae),ln=Ro?void 0:Z.top,vr=Ir?Z.between:Z.bottom,Zn=Mn(ln),tu=Mn(vr);Es(oe)&&(Ae.length>0||v.length===0)&&(Bt(),C=0);let Ze=Xl(X,w);if(Ze.length===0)continue;let my=Ol(A)!==void 0&&Pr(X,Ze),nu=()=>my&&z===void 0&&Ie+1>=a.count,Vl=re=>{let ie=J(A,Le());ie.kind==="paragraph"&&(Se=ie.indent,Te=ie.alignment,Oe=ie.available,Be=ie.markRunProperties,an=re===0?Gl(ie):0,Ze=[...Xl(ie,w,re)]);};{let re=Gr(Ce.before,C),ie=Be.length===0?qt:De(Be,s?.themeFonts),ht=Ze.length<=1?tu+Ce.after:0,Gt=ne+re+Zn,Ot=Uc(X,w,Ze,0,0,Gt,new Map),Qn=Ze[0]?jp(Gt,Ze[0],Ot,ht):i.lineMetrics(ie).height+ht,kn=re+Zn+Qn;if(xe.keepNext&&!$[w-1]){let qe=Jp(N,w,C,sn=>{let Xt=N[sn];return Xt?.kind==="paragraph"?Xl(Xt,sn).map(Mt=>Mt.height):[]});qe!==null&&qe+Zn<=j()&&(kn=Math.max(kn,qe+Zn));}ne+kn>j()&&ne>0&&!nu()&&(Rr(),C=0,Vl(0));}let gy=ne===0&&!rn(),Yl=Hs(Ce.before,C,gy,Re);Yl>0&&(ne+=Yl),Zn>0&&(ne+=Zn),Re=false;let qn=0,Ee=[],ru=Ze[0]?.start??0,Tr=Yl,Jn=Zn,Ul=false,Io=ne,ou=0,Da=new Map;C=0;let au=n.inlineDrawingLayout!==void 0&&Lt(X.paragraph,n.inlineDrawingLayout).length>0,iu=false,Kl=null,hy=eo(X.paragraph),lu=Vi(X.paragraph),su=lu?sl(lu):null,yy=()=>{let re=Ee[0];if(!re)return 0;let ie=ou;if(ie<=.001)return 0;let ht=xn(Io,re.box.height,Yc(X,w));return Math.max(0,ie-ht)},_a=re=>{if(Ee.length===0)return;let ie=lt(),ht=Xe(),Gt=Ee[0].box.y,Ot=Gt-Tr-Jn,Qn=Ee[Ee.length-1].box.y+Ee[Ee.length-1].box.height,kn=re?Ce.after:0,qe=[],sn,Xt=Gt,Mt=Qn,Bn=Z.left?Pt(Z.left):0,To=Z.right?Pt(Z.right):0,Or=Z.left?ie+Se.left-Z.left.spacePt-Bn:ie+Se.left,ql=Z.right?ie+Se.left+Oe+Z.right.spacePt+To:ie+Se.left+Oe,kr=Math.max(ql-Or,0);if(Jn>0&&ln){let at=Pt(ln),$t=Gt-ln.spacePt-at;qe.push({side:"top",edge:ln,box:{x:Or,y:$t,width:kr,height:at}}),Xt=$t;}if(re&&vr){let at=Pt(vr),$t=Qn+vr.spacePt,Cn={x:Or,y:$t,width:kr,height:at};qe.push({side:Ir?"between":"bottom",edge:vr,box:Cn}),Ir||(sn={edge:vr,box:Cn}),Mt=$t+at;}re&&(ne=Math.max(ne,Mt+kn));let Br=Math.max(Mt+kn-Ot,0),ke=Ro&&qn===0?Ot:Xt,dn=Ir&&re?Ot+Br:Mt,Cr=Math.max(dn-ke,0);if(Z.left&&qe.push({side:"left",edge:Z.left,box:{x:ie+Se.left-Z.left.spacePt-Bn,y:ke,width:Bn,height:Cr}}),Z.right&&qe.push({side:"right",edge:Z.right,box:{x:ie+Se.left+Oe+Z.right.spacePt,y:ke,width:To,height:Cr}}),Z.bar){let at=Pt(Z.bar);qe.push({side:"bar",edge:Z.bar,box:{x:ie+Se.left-Z.bar.spacePt-at,y:Gt,width:at,height:Math.max(Qn-Gt,0)}});}let Lr=su?dl(Ee,su):null,Fr=qn===0?pl(ze,i,Ee[0]?{y:Ee[0].box.y,height:Ee[0].box.height}:void 0):void 0,za=Fr?{...Fr,box:{...Fr.box,x:Fr.box.x+ie}}:void 0;if(Ae.push({kind:"paragraph",id:`${We}#f${qn}`,paragraphId:We,fragmentIndex:qn,range:Lr?Lr[Lr.length-1].range:{paragraphId:We,start:ru,end:Ee[Ee.length-1].range.end},props:oe,spacing:{before:Tr,after:kn},indent:Se,...sn?{bottomBorder:sn}:{},...qe.length>0?{borders:qe}:{},...me===void 0?{}:{shading:me,shadingBox:Z.left||Z.right?{x:Or,y:Xt,width:kr,height:Math.max(Mt-Xt,0)}:$o(Ee,ie+Se.left,Oe)},...za?{marker:za}:{},...re&&p?Ti(hy,oa(X.paragraph)):{},lines:Lr??Ee,box:{x:ht+Se.left,y:Ot,width:Oe,height:Br}}),n.inlineDrawingLayout&&au&&!iu){iu=true;let at=[...Dt(X.paragraph).values()],$t=at.length>0&&at.every(kt=>Ee.some(er=>kt>=er.range.start&&kt<er.range.end)),Cn,Ha,Jl;if($t){let kt=Ot-yy();Cn=Ee,Ha={x:ht+Se.left,y:kt,width:Oe,height:Br},Jl=ct({x:ht+Se.left,y:kt,height:Br});}else {let kt=Kl??{columnX:ht,columnWidth:Le(),startY:Ot},er=kt.startY;Cn=Ze.map((Et,by)=>{let xy={id:`anchor-line-${by}`,range:{paragraphId:We,start:Et.start,end:Et.end},box:{x:kt.columnX+Se.left,y:er,width:Oe,height:Et.height},contentX:Et.spans.length>0?Et.spans[0].box.x+kt.columnX:kt.columnX+Se.left,baseline:Et.baseline,leading:Et.leading,trailingSpacing:Et.trailingSpacing,spans:Et.spans.map(Ql=>({...Ql,box:{...Ql.box,x:Ql.box.x+kt.columnX,y:er}}))};return er+=Et.height+(Et.exclusionSkipBefore??0),xy});let du=kt.startY;Ha={x:kt.columnX+Se.left,y:du,width:Oe,height:Math.max(er-du,Ee[0]?.box.height??0)},Jl=ct(Ha);}Me(ao({paragraph:X.paragraph,paragraphId:We,paragraphBox:Ha,lines:Cn,drawingLayout:n.inlineDrawingLayout,frameBase:rt(),columnBox:Jl,cellBox:null,pageClip:ot(),measurer:i,sourceOrderOf:$e,layoutTextboxStory:Vc}));}qn+=1,ru=Ee[Ee.length-1].range.end,Ee=[],Tr=0,Jn=0;},On=0,Zl=0,vo=Ze.length+8;for(let re=0;re<Ze.length;re+=1){let ie=Ze[re],ht=re===Ze.length-1,Gt=ht?tu+Ce.after:0;re===On&&(Io=ne,au&&Kl===null&&qn===0&&(Kl=Object.freeze({columnX:Xe(),columnWidth:Le(),startY:Io})));let Ot=uy(X,w,Ze,re,On,Io,ie,Da),Qn=Ot+Math.max(0,ie.height-ie.trailingSpacing)+Gt;if(ne+Qn>j()&&!nu()&&(Ee.length>0||Ae.length>0||v.length>0)){let ke=!rn(),dn=Zl<vo?qp(re,On,Ze.length,xe,ke):re,Cr=dn<re;for(let at=re;at>dn;at-=1){Ee.pop();let $t=Ze[at-1],Cn=Da.get(at-1)??$t.exclusionSkipBefore??0;Da.delete(at-1),ne-=$t.height+Cn,nt-=1;}let Lr=Cr&&Ee.length===0&&qn===0,Fr=Ze[dn].start,za=Le();if(_a(false),Rr(),Tr=0,Lr?ne=Jn:Jn=0,Le()!==za){Vl(Fr),vo=Math.max(vo,Ze.length+8),On=0,Cr&&(Zl+=1),re=-1;continue}if(On=dn,Io=ne,Cr){Zl+=1,re=dn-1;continue}}let qe=Xe();Da.set(re,Ot),ne+=Ot;let sn=qe+Se.left+(re===0?an:0),Xt=Math.max(1,Oe-(re===0?an:0)),Mt=ie.spans.map(ke=>({...ke,range:{...ke.range,paragraphId:We},box:{...ke.box,x:ke.box.x+qe,y:ne}})),Bn=Hi(Mt,i,sn,Xt,Te,ht,Te==="center"||Te==="right"?ie.width:void 0),To=Mt.length>0&&Bn.length>0?Bn[0].box.x-Mt[0].box.x:Te!=="left"&&Te!=="both"?(()=>{let ke=Xt-ie.width;return ke<=0?0:Te==="center"?ke/2:ke})():0,Or=Object.freeze({x:0,y:0,width:b,height:j()}),ql=ie.drawings.map(ke=>{let dn=Object.freeze({...ke,paragraphId:We,x:qe+ke.x,y:ne+ke.y,advanceStart:ke.advanceStart+qe,advanceEnd:ke.advanceEnd+qe,paintBounds:Object.freeze({...ke.paintBounds,x:qe+ke.paintBounds.x,y:ne+ke.paintBounds.y}),hitBounds:Object.freeze({...ke.hitBounds,x:qe+ke.hitBounds.x,y:ne+ke.hitBounds.y})});return Ei(dn,Or)}),kr=ji(ql,To),Br={id:Bh(A.id,ie.start,re),range:{paragraphId:We,start:ie.start,end:ie.end},spans:Bn,box:{x:Xe()+Se.left,y:ne,width:Oe,height:ie.height},contentX:Bn[0]?.box.x??sn+To,baseline:ie.baseline,leading:ie.leading,trailingSpacing:ie.trailingSpacing,...ie.deletedRanges?{deletedRanges:ie.deletedRanges}:{},...kr.length>0?{drawings:kr}:{}};if(nt+=1,Ee.length===0&&(ou=Ot),Ee.push(Br),ne+=ie.height,ie.columnBreakAfter){let ke=Le();if(_a(ht),Rr(),Tr=0,Jn=0,Ul=true,!ht&&Le()!==ke){Vl(ie.end),vo=Math.max(vo,Ze.length+8),On=0,re=-1;continue}On=re+1;}else ie.pageBreakAfter&&(_a(ht),Bt(),Tr=0,Jn=0,Ul=true,On=re+1);}_a(true),C=Ul?0:Ce.after;}Un||(S[N.length]=K());let Kc=Un&&h?h.endCursorY:ne,Zc=Un&&h?h.endSpaceAfter:C,qc=!Un&&(Ae.length>0||v.length===0),Jc=Un&&h?h.endsOpenPage:qc;qc&&Bt();let Qc=0,py=Pd*4+8;for(;(ve.length>0||Ge.length>0)&&Qc<py;)Qc+=1,ve.length===0&&be(),Bt();Ge.length>0&&(ve.push(...Ge.map(w=>Od(w,"page-defer-exhausted"))),Ge=[],Bt()),l?.retain(new Set(G));let eu={revision:t,pages:v};return h&&(h.previous=eu,h.checkpoints=Un?[...S.slice(0,$l),...h.checkpoints.slice($l+(h.keys.length-N.length))]:S,h.keys=q,h.context=_,h.startLineCounter=D,h.endLineCounter=nt,h.endCursorY=Kc,h.endSpaceAfter=Zc,h.endsOpenPage=Jc,h.stats={placed:U,total:N.length,reusedPages:le,fullPasses:h.stats.fullPasses+(V===0?1:0)}),{layout:eu,pages:v,lineCounter:nt,endCursorY:Kc,endSpaceAfter:Zc,endsOpenPage:Jc}}function Ch(e,t,n){let r=t.lefts.map(()=>n);for(let o of e.fragments){let a=0;for(let i=t.count-1;i>=0;i-=1)if(o.box.x+.5>=t.lefts[i]){a=i;break}r[a]=Math.max(r[a],o.box.y+o.box.height);}return r}var sR=.25,dR=20;function wo(e,t,n){let r=Oc(n.sectionColumns??jt.columns,n.geometry.width-n.geometry.margin.left-n.geometry.margin.right);if(!n.balanceColumns||r.count<2||n.columnRegionBottom!==void 0)return n.session&&(n.session.balanceLimit=null),Sr(e,t,n);let o=n.session,a=n.flowStartY??0,{session:i,...l}=n,s=y=>{let b=y.pages[0],x=b?Math.max(...Ch(b,r,a)):y.endCursorY;return o&&(o.endCursorY=x),{...y,endCursorY:x}};if(o&&o.balanceLimit!==null){let y=o.balanceLimit,b=Sr(e,t,{...n,columnRegionBottom:y});if(o.stats.placed===0&&o.stats.reusedPages===b.pages.length)return o.balanceLimit=y,s(b)}let c=Sr(e,t,l);if(c.pages.length!==1||!c.endsOpenPage)return o&&(o.balanceLimit=null),Sr(e,t,n);let d=Ch(c.pages[0],r,a),u=d.reduce((y,b)=>y+Math.max(0,b-a),0);if(u<=0)return o&&(o.balanceLimit=null),Sr(e,t,n);let p=a+u/r.count,f=Math.max(...d)+.01,m=y=>{try{let b=Sr(e,t,{...l,columnRegionBottom:y});return b.pages.length===1&&b.endsOpenPage}catch{return false}};for(let y=0;y<dR&&f-p>sR;y+=1){let b=(p+f)/2;m(b)?f=b:p=b;}let g=Sr(e,t,{...n,columnRegionBottom:f});return o&&(o.balanceLimit=f),s(g)}function Mh(e){let t=Lh.get(e);if(t!==void 0)return t;let n=cR(e);return Lh.set(e,n),n}var Lh=new WeakMap,Fh=new WeakMap;function cR(e){let t=(n,r)=>{if(n.kind==="textValue")return "";if(r===0&&(n.kind==="paragraph"||n.kind==="table")){let a=Fh.get(n);if(a!==void 0)return a}let o;if(chunkDY3QVCWC_cjs.Lb(n)){if(r>=chunkDY3QVCWC_cjs.Kb)return "";let a=Fa(n),i=[n.id,$n(a,"alias")??"",$n(a,"tag")??"",El($n(a,"lock")),_c(a),So(a,"showingPlcHdr")?"1":"0",So(a,"dataBinding")?"1":"0"].join(":"),l=chunkDY3QVCWC_cjs.Ob(n).map(s=>t(s,r+1)).filter(s=>s.length>0);o=[i,...l].join("|");}else o=n.children.map(a=>t(a,r)).filter(a=>a.length>0).join("|");return r===0&&(n.kind==="paragraph"||n.kind==="table")&&Fh.set(n,o),o};return t(e.root,0)}function _l(e){if(e.kind==="textValue")return e.value.length;if(e.kind==="tab"||e.kind==="hardBreak")return 1;if(e.kind==="runProperties"||e.kind==="paragraphProperties"||e.kind==="generic")return 0;if(chunkDY3QVCWC_cjs.Lb(e)){let n=0;for(let r of chunkDY3QVCWC_cjs.Ob(e))n+=_l(r);return n}let t=0;for(let n of e.children)t+=_l(n);return t}function uR(e){let t=[],n=(i,l)=>{for(let s of i){if(s.kind==="paragraph"||s.kind==="table"){l.push(s.id);continue}if(chunkDY3QVCWC_cjs.Lb(s)){n(chunkDY3QVCWC_cjs.Ob(s),l);continue}(s.kind==="tableRow"||s.kind==="tableCell")&&n(s.children,l);}},r=(i,l,s,c,d)=>{let u=s;for(let p of i)if(!(p.kind==="textValue"||p.kind==="paragraphProperties")){if(chunkDY3QVCWC_cjs.Lb(p)){if(c>=chunkDY3QVCWC_cjs.Kb){u+=_l(p);continue}let f=Fa(p),m=El($n(f,"lock")),g=[...d,m],y=u,b=r(chunkDY3QVCWC_cjs.Ob(p),l,u,c+1,g);t.push({control:p,nestingDepth:c,lockStack:g,level:"inline",paragraphId:l,range:{start:y,end:b},blockIds:[]}),u=b;continue}if(p.kind==="hyperlink"){u=r(p.children,l,u,c,d);continue}u+=_l(p);}return u},o=(i,l,s)=>{for(let c of i){if(c.kind==="textValue")continue;if(c.kind==="paragraph"){r(c.children,c.id,0,l,s);continue}if(c.kind==="table"){for(let y of c.children)y.kind==="tableRow"&&o([y],l,s);continue}if(c.kind==="tableRow"){for(let y of c.children)y.kind==="tableCell"?o(y.children,l,s):chunkDY3QVCWC_cjs.Lb(y)&&o([y],l,s);continue}if(!chunkDY3QVCWC_cjs.Lb(c)||l>=chunkDY3QVCWC_cjs.Kb)continue;let d=Fa(c),u=El($n(d,"lock")),p=[...s,u],f=gh(c),m=chunkDY3QVCWC_cjs.Ob(c);if(f==="inline"){o(m,l+1,p);continue}let g=[];n(m,g),t.push({control:c,nestingDepth:l,lockStack:p,level:f,blockIds:g}),o(m,l+1,p);}},a=e.root.children.find(i=>i.kind==="body");return a&&a.kind!=="textValue"&&o(a.children,0,[]),t}function fR(e,t){let n=new Map,r=new Map,o=s=>{let c=n.get(s.blockId);c?c.push(s):n.set(s.blockId,[s]);},a=s=>{let c=r.get(s.paragraphId);c?c.push(s):r.set(s.paragraphId,[s]);},i=0,l=(s,c)=>{if(c.kind==="paragraph"){o({pageIndex:s,blockId:c.paragraphId,box:c.box});for(let d of c.lines){let u=i;i+=1;let p=Math.max(0,d.box.height-d.leading-(d.trailingSpacing??0));for(let f of d.spans)a({pageIndex:s,paragraphId:f.range.paragraphId,start:f.range.start,end:f.range.end,line:u,box:{x:f.box.x,y:f.box.y+d.leading,width:f.box.width,height:p}});}return}o({pageIndex:s,blockId:c.tableId,box:c.box});for(let d of c.rows)if(!d.isHeaderRepeat)for(let u of d.cells)for(let p of u.blocks)l(s,p);};for(let s of e.pages)for(let c of s.fragments)l(s.index,c);return {blocksById:n,spansByParagraph:r}}function pR(e,t,n){let r=new Map,o=new Set;for(let a of e)if(!o.has(a)){o.add(a);for(let i of t.blocksById.get(a)??[]){let l=r.get(i.pageIndex);l?l.push(i.box):r.set(i.pageIndex,[i.box]);}}return [...r.entries()].sort(([a],[i])=>a-i).flatMap(([a,i])=>{let l=ri(i);return l?[{pageIndex:a,box:l}]:[]})}function mR(e,t,n,r){let o=n.spansByParagraph.get(e)??[],a=new Map,i=0,l=o.length;for(;i<l;){let s=i+(l-i>>1);(t.start===t.end?o[s].end<t.start:o[s].end<=t.start)?i=s+1:l=s;}for(let s=i;s<o.length;s+=1){let c=o[s];if(c.end<=t.start)continue;if(c.start>=t.end)break;let d=a.get(c.line);d?d.boxes.push(c.box):a.set(c.line,{pageIndex:c.pageIndex,boxes:[c.box]});}if(a.size===0&&t.start===t.end)for(let s=i;s<o.length;s+=1){let c=o[s];if(c.start>t.start)break;if(t.start>c.end)continue;let d=c.start===c.end?c.box.x:c.box.x+c.box.width*(t.start-c.start)/Math.max(1,c.end-c.start);return [{pageIndex:c.pageIndex,box:{x:d,y:c.box.y,width:0,height:c.box.height}}]}return [...a.entries()].sort(([s],[c])=>s-c).flatMap(([,s])=>{let c=ri(s.boxes);return c?[{pageIndex:s.pageIndex,box:c}]:[]})}function gR(e,t,n){let r=Fa(e.control),o=$n(r,"alias"),a=$n(r,"tag"),i=e.lockStack[e.lockStack.length-1]??"unlocked",l=e.level==="inline"&&e.paragraphId&&e.range?mR(e.paragraphId,e.range,t):pR(e.blockIds,t);return {id:e.control.id,...o!==void 0?{alias:o}:{},...a!==void 0?{tag:a}:{},controlType:_c(r),lock:i,effectiveLock:Ls(e.lockStack),placeholder:So(r,"showingPlcHdr")!==void 0,bound:So(r,"dataBinding")!==void 0,nestingDepth:e.nestingDepth,level:e.level,fragments:l}}function hR(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1){let r=e[n],o=t[n];if(r!==o&&(r.pageIndex!==o.pageIndex||r.box.x!==o.box.x||r.box.y!==o.box.y||r.box.width!==o.box.width||r.box.height!==o.box.height))return false}return true}function yR(e,t){return e.id===t.id&&e.alias===t.alias&&e.tag===t.tag&&e.controlType===t.controlType&&e.lock===t.lock&&e.effectiveLock===t.effectiveLock&&e.placeholder===t.placeholder&&e.bound===t.bound&&e.nestingDepth===t.nestingDepth&&e.level===t.level&&hR(e.fragments,t.fragments)}function Ma(e,t){if(!e)return t.length===0;if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1)if(!yR(e[n],t[n]))return false;return true}function Eh(e,t){return {revision:e.revision,pages:e.pages,...t.contentControls!==void 0?{contentControls:t.contentControls}:{},...t.controlContextToken!==void 0?{controlContextToken:t.controlContextToken}:{}}}function bR(e,t,n=Mh(t),r){if(n===""){let u=e.pages.some(f=>f.contentControls!==void 0&&f.contentControls.length>0);if(!u&&e.controlContextToken===n&&Ma(e.contentControls,[]))return e;let p=u?e.pages.map(f=>f.contentControls!==void 0&&f.contentControls.length>0?{...f,contentControls:[]}:f):e.pages;return {revision:e.revision,pages:p,contentControls:[],controlContextToken:n}}let o=uR(t),a=fR(e),i=o.map(u=>gR(u,a)),l=new Map;for(let u of i)for(let p of u.fragments){let f=l.get(p.pageIndex),m={...u,fragments:[p]};f?f.push(m):l.set(p.pageIndex,[m]);}if(e.controlContextToken===n&&Ma(e.contentControls,i)&&e.pages.every(u=>Ma(u.contentControls,l.get(u.index)??[])))return e;let s=false,c=e.pages.map(u=>{let p=l.get(u.index)??[];return Ma(u.contentControls,p)||p.length===0&&!u.contentControls?u:(s=true,{...u,contentControls:p})}),d=s?c:e.pages;return d===e.pages&&e.controlContextToken===n&&Ma(e.contentControls,i)?e:{revision:e.revision,pages:d,contentControls:i,controlContextToken:n}}var _h="Calibri, Carlito, Helvetica, Arial, sans-serif",gC=new Map([["calibri","Carlito"]]),xR=4096,SR=256;function Nh(e,t){return e===void 0?Math.max(1,Math.floor(t)):Number.isFinite(e)&&e>0?Math.max(1,Math.floor(e)):1}function Ah(e){let t=new Map,n=0;return {get(r){let o=t.get(r);if(o!==void 0)return t.delete(r),t.set(r,o),o},set(r,o){for(t.has(r)&&t.delete(r),t.set(r,o);t.size>e;){let a=t.keys().next();if(a.done)break;t.delete(a.value),n+=1;}},get size(){return t.size},get evictions(){return n}}}var Dh=/^[\p{L}\p{N}\p{M} \-.+_]{1,64}$/u;function zh(e=null){return e!=null&&typeof e.measureText=="function"}function Hh(e={}){let t=e.scale??1;if(!(t>0)||!Number.isFinite(t))return null;let n=e.fallbackFamily??_h,r=e.context??null;if(!zh(r))return null;let o=r,a=Ah(Nh(e.maxWidthEntries,xR)),i=Ah(Nh(e.maxMetricsEntries,SR)),l=e.fontAlias,s=d=>{let u=d.fontFamily&&Dh.test(d.fontFamily)?d.fontFamily:null,p=u?l?.(u):void 0,f=p&&Dh.test(p)?p:null,m=u?f?`"${f}", "${u}", ${n}`:`"${u}", ${n}`:n,g=d.bold?"bold":"normal",y=d.italic?"italic":"normal",b=d.fontSizePt*(d.verticalAlign==="baseline"?1:.75)*t;return `${y} ${g} ${b}px ${m}`},c=(d,u,p)=>d/t*(p.horizontalScalePercent/100)+u.length*p.characterSpacingPt;return {measure(d,u){if(d.length===0)return 0;let p=s(u),f=`${p}\0${d}`,m=a.get(f);if(m!==void 0)return c(m,d,u);o.font=p;let g=o.measureText(d).width;return a.set(f,g),c(g,d,u)},lineMetrics(d){let u=d.fontSizePt*(d.verticalAlign==="baseline"?1:.75),p=s(d),f=i.get(p);if(f)return f;let m=u*1.15,g=u*.8;o.font=p;let y=o.measureText("Hxg"),b=y.fontBoundingBoxAscent,x=y.fontBoundingBoxDescent;if(typeof b=="number"&&Number.isFinite(b)&&b>0&&(g=b/t,typeof x=="number"&&Number.isFinite(x)&&x>=0)){let k=(b+x)/t;k>0&&(m=k);}m>0||(m=u*1.15);let T={height:m,baseline:g};return i.set(p,T),T}}}function wR(e=1,t={}){let n=Hh({...t,scale:t.scale??e});return n?{measurer:n,producer:t.fontAlias?"canvas-measurer+embedded":"canvas-measurer"}:{measurer:Dl(),producer:"fixed-measurer"}}function PR(e){return e.box}function jh(e,t){if(e.kind==="paragraph"){t.add(e.paragraphId);return}for(let n of e.rows)for(let r of n.cells)for(let o of r.blocks)jh(o,t);}function RR(e){let t=new Map,n=(o,a,i)=>{if(!(o.kind==="textValue"||i>chunkDY3QVCWC_cjs.fe*4)){for(let l of o.children)if(l.kind!=="textValue"){if(l.kind==="paragraph"){for(let s of r)t.get(s)?.push(l.id);n(l,l.id,i+1);continue}if(l.kind==="contentControl"){t.set(l.id,[]),r.push(l.id);let s=chunkDY3QVCWC_cjs.pe(l);s&&n(s,a,i+1),r.pop();let c=t.get(l.id);c&&c.length===0&&a!==null&&c.push(a);continue}n(l,a,i+1);}}},r=[];return n(e,null,0),t}function IR(e,t){let n=Math.min(e.x,t.x),r=Math.min(e.y,t.y);return {x:n,y:r,width:Math.max(e.x+e.width,t.x+t.width)-n,height:Math.max(e.y+e.height,t.y+t.height)-r}}function vR(e,t){let n=chunkDY3QVCWC_cjs.te(e.root);if(n.length===0)return TR;let r=new Map;t.pages.forEach((i,l)=>{(c=>{for(let d of c){let u=new Set;jh(d,u);for(let p of u){let f=r.get(p)??[];f.push({pageIndex:l,box:PR(d)}),r.set(p,f);}}})(i.fragments);});let o=RR(e.root),a=[];for(let i of n){let l=chunkDY3QVCWC_cjs.re(i.node),s=[...i.ancestors.map(p=>chunkDY3QVCWC_cjs.re(p).lock),l.lock],c=o.get(i.node.id)??[],d=new Map;for(let p of c)for(let f of r.get(p)??[]){let m=d.get(f.pageIndex);d.set(f.pageIndex,m?IR(m,f.box):f.box);}let u=[...d.entries()].sort((p,f)=>p[0]-f[0]).map(([p,f])=>({pageIndex:p,...f}));a.push({controlId:i.node.id,type:l.type,level:chunkDY3QVCWC_cjs.se(i.node),depth:i.depth,lock:l.lock,effectiveLock:chunkDY3QVCWC_cjs.we(s),showingPlaceholder:l.showingPlaceholder,temporary:l.temporary,...l.tag===void 0?{}:{tag:l.tag},...l.alias===void 0?{}:{alias:l.alias},...l.id===void 0?{}:{id:l.id},...l.dataBinding===void 0?{}:{dataBinding:l.dataBinding},paragraphIds:c,fragments:u});}return a}var TR=Object.freeze([]);var Wh=e=>e.verticalAlign==="baseline"?1:.75;function Gh(e){let t=Math.round(e.fontSizePt*2);return Math.max(1,t)}function OR(e){let{shaper:t,resolveFont:n,fallback:r,shapingLibrary:o,unicodeDataVersion:a,fixedPointScale:i=1e3,script:l="Latn",language:s="en"}=e,c=new Map,d=new Map,u=(f,m)=>`${f.identity}|${Gh(m)}`,p=(f,m,g)=>t.shape({text:f,fontSizeHalfPoints:Gh(g),bidiLevel:0,environment:nr({font:m,variationAxes:{},shapingLibrary:o,unicodeDataVersion:a,normalization:"none",script:l,language:s,direction:"ltr",features:{},fallbackOrder:[],fixedPointScale:i,roundingMode:"halfToEven"})});return {measure(f,m){if(f.length===0)return 0;let g=n(m);if(!g)return r.measure(f,m);let y=`${u(g,m)}|${f}`,b=c.get(y);if(b===void 0){let x=0;try{for(let T of p(f,g,m).glyphs)x+=T.advanceX;}catch{return r.measure(f,m)}b=x/i,c.set(y,b);}return b*Wh(m)*(m.horizontalScalePercent/100)+f.length*m.characterSpacingPt},lineMetrics(f){let m=n(f);if(!m)return r.lineMetrics(f);let g=Wh(f),y=u(m,f),b=d.get(y);if(b)return g===1?b:{height:b.height*g,baseline:b.baseline*g};let x,T=true;try{let k=p(" ",m,f),M=k.metrics.ascent/i,E=k.metrics.descent/i,P=M+E;P>0?x={height:P,baseline:M}:(x=r.lineMetrics(f),T=!1);}catch{x=r.lineMetrics(f),T=false;}return T?(d.set(y,x),g===1?x:{height:x.height*g,baseline:x.baseline*g}):x}}}function kR(e){let{layout:t,viewport:n}=e,r=new Set;if(!n){for(let s of t.pages)r.add(s.index);return r}let o=Math.max(0,Math.trunc(e.overscanPages??1)),a=n.top+n.height,i=-1,l=-1;for(let s of t.pages){let c=s.box.y;c+s.box.height>=n.top&&c<=a&&(i===-1&&(i=s.index),l=s.index);}if(i===-1){let s=BR(t,n.top);s!==null&&(i=s,l=s);}if(i!==-1){let s=Math.max(0,i-o),c=Math.min(t.pages.length-1,l+o);for(let d=s;d<=c;d+=1)r.add(d);}for(let s of e.pinnedPages??[])s>=0&&s<t.pages.length&&r.add(s);return r}function BR(e,t){let n=null,r=Number.POSITIVE_INFINITY;for(let o of e.pages){let a=t<o.box.y?o.box.y-t:t>o.box.y+o.box.height?t-(o.box.y+o.box.height):0;a<r&&(r=a,n=o.index);}return n}var Xh=["text-local","paragraph-local","flow-structural","global"];function $h(e,t){return Xh.indexOf(t)>Xh.indexOf(e)?t:e}function CR(e){return {impact:"text-local",paragraphIds:new Set,created:new Set,deleted:new Set,dependencyKeys:new Set,structural:false,revision:e}}function LR(e){let{run:t,currentRevision:n,publish:r,schedule:o}=e,a=null,i=null,l=null,s=0,c=0;function d(y){let b=e.runCooperatively;if(!b)return t(y);let x=b(y);l=x;try{for(;;){let T=x.step();if(T)return T;if(n()!==y.revision)return x.cancel(),c+=1,null;if(l!==x)return null}}finally{l===x&&(l=null);}}function u(y){let b=f(n());b.impact=$h(b.impact,y.impact),b.structural=b.structural||y.structural;for(let x of y.paragraphIds)b.paragraphIds.add(x);for(let x of y.created)b.created.add(x);for(let x of y.deleted)b.deleted.add(x);for(let x of y.dependencyKeys)b.dependencyKeys.add(x);}let p=y=>({impact:y.impact,paragraphIds:y.paragraphIds,created:y.created,deleted:y.deleted,dependencyKeys:y.dependencyKeys,structural:y.structural,revision:y.revision});function f(y){return a||(a=CR(y)),a.revision=Math.max(a.revision,y),a}function m(){!o||i||(i=o(()=>{i=null,g();}));}function g(){i&&(i(),i=null),l&&(l.cancel(),l=null,c+=1);let y=a;if(!y)return false;a=null;let b=p(y),x=d(b);return !x||x.revision!==n()?(s+=1,u(b),m(),false):(r(x,b),true)}return {notify(y){let b=f(y.toRevision);b.impact=$h(b.impact,y.impact);for(let x of y.dirty)b.paragraphIds.add(x);for(let x of y.created)b.created.add(x),b.paragraphIds.add(x);for(let x of y.deleted)b.deleted.add(x),b.paragraphIds.add(x);for(let x of y.dependencyKeys)b.dependencyKeys.add(x);for(let x of y.splitJoin)b.structural=true,"split"in x?(b.paragraphIds.add(x.split.from),b.paragraphIds.add(x.split.tail)):(b.paragraphIds.add(x.join.kept),b.paragraphIds.add(x.join.removed));(y.impact==="flow-structural"||y.impact==="global")&&(b.structural=true),m();},invalidateAll(y,b){let x=f(y);x.impact="flow-structural",x.structural=true,b&&x.dependencyKeys.add(b),m();},flush:g,pending:()=>a?p(a):null,cancel(){i?.(),i=null,l?.cancel(),l=null,a=null;},get staleDiscards(){return s},get cancelledRuns(){return c}}}function wr(e,t,n,r){let o=r?r.spans:e.spans;for(let i of r?r.drawings:e.drawings??[]){if(t===i.start)return i.advanceStart;if(t===i.start+1)return i.advanceEnd}let a=r?r.spans[0]?.box.x??e.contentX:e.contentX;for(let i of o){if(t<=i.range.start)return i.box.x;if(t>=i.range.end){a=i.box.x+i.box.width;continue}return xl(i,t,n)}return a}function Vh(e,t){let n=jc(e,t);if(!n)return [];let r=[];for(let o of e.pages)for(let a of Je(o))for(let i of a.lines)for(let l of pt(i)){let s=ho(e,l,n.from,n.to);if(!s)continue;let c=wr(i,s.start,void 0,l),d=wr(i,s.end,void 0,l);r.push({pageIndex:o.index,x:Math.min(c,d),y:i.box.y,width:Math.abs(d-c),height:i.box.height});}return r}function Yh(e,t,n){let r=new Map;if(t.length===0)return r;for(let o of e.pages)if(!(n&&!n.has(o.index)))for(let a of Je(o))for(let i of a.lines)for(let l of pt(i))for(let s of t){let c=ho(e,l,s.from,s.to);if(!c)continue;let d=wr(i,c.start,void 0,l),u=wr(i,c.end,void 0,l),p=r.get(s.key)??[];p.push({pageIndex:o.index,x:Math.min(d,u),y:i.box.y,width:Math.abs(u-d),height:i.box.height}),r.set(s.key,p);}return r}function Wc(e){let t=new Map;for(let n=0;n<e.length;n+=1){let r=e[n].position,o=t.get(r.paragraphId);o||(o=new Map,t.set(r.paragraphId,o)),o.has(r.offset)||o.set(r.offset,n);}return {stops:e,index:t}}var zl=class{#t=new WeakMap;#l=new WeakMap;get(t,n,r,o){let a;if(!r)a=this.#t.get(t)??new Map,this.#t.has(t)||this.#t.set(t,a);else {let s=this.#l.get(t);s||(s=new WeakMap,this.#l.set(t,s)),a=s.get(r)??new Map,s.has(r)||s.set(r,a);}let i=a.get(n);if(i)return i;let l=o();return a.set(n,l),l}};function Uh(e){let t=[],n=new Set;for(let r of e)n.has(r.lineId)||(n.add(r.lineId),t.push(r.lineId));return t}function Kh(e,t,n){let r=null;for(let o of e)o.lineId===t&&(!r||Math.abs(o.x-n)<Math.abs(r.x-n))&&(r=o);return r}function Ea(e,t){let n=null;for(let r of e)r.position.paragraphId===t.paragraphId&&(!n||Math.abs(r.position.offset-t.offset)<Math.abs(n.position.offset-t.offset))&&(n=r);return n}function Gc(e,t,n){let r=null;for(let o of e){if(o.position.paragraphId!==t.paragraphId)continue;let a=o.position.offset;n===1?a>t.offset&&(!r||a<r.position.offset)&&(r=o):a<t.offset&&(!r||a>r.position.offset)&&(r=o);}return r}function Zh(e,t,n){let r=n.index.get(e.paragraphId)?.get(e.offset),o=r===void 0?Ea(n.stops,e):n.stops[r];if(!o)return null;let a=o.lineId,i=n.stops.filter(l=>l.lineId===a);return (t===-1?i[0]:i[i.length-1])?.position??null}function qh(e,t,n,r,o){let a=o(e.paragraphId),i=a.index.get(e.paragraphId)?.get(e.offset);if(i===void 0){let d=Gc(a.stops,e,t);if(d)return {position:d.position,desiredX:null}}else {let d=i+t;if(d>=0&&d<a.stops.length)return {position:a.stops[d].position,desiredX:null}}let l=n[r+t];if(!l)return {position:e,desiredX:null};let s=o(l).stops,c=t===-1?s[s.length-1]:s[0];return c?{position:c.position,desiredX:null}:null}function Jh(e,t,n){let r=e===-1?t[0]:t[t.length-1];if(!r)return null;let o=n(r).stops;return (e===-1?o[0]:o[o.length-1])?.position??null}function Qh(e,t,n,r,o,a){let i=a(e.paragraphId),l=i.index.get(e.paragraphId)?.get(e.offset),s=l===void 0?Ea(i.stops,e):i.stops[l];if(!s)return null;let c=n??s.x,d=Uh(i.stops),u=d.indexOf(s.lineId),p=d[u+t];if(p){let m=Kh(i.stops,p,c);return m?{position:m.position,desiredX:c}:null}for(let m=o+t;m>=0&&m<r.length;m+=t){let g=a(r[m]),y=Uh(g.stops),b=t===-1?y[y.length-1]:y[0];if(!b)continue;let x=Kh(g.stops,b,c);if(x)return {position:x.position,desiredX:c}}let f=t===-1?i.stops[0]:i.stops[i.stops.length-1];return f?{position:f.position,desiredX:c}:null}var ey=new WeakMap;function Wt(e){let t=ey.get(e);if(t)return t;let n=new Map,r=(a,i)=>{for(let l of pt(a)){let s={line:a,pageIndex:i},c=n.get(l.paragraphId);c?c.push(s):n.set(l.paragraphId,[s]);}},o=(a,i)=>{let l=s=>{for(let c of s){if(c.kind==="paragraph"){for(let d of c.lines)r(d,i);continue}for(let d of c.rows)if(!d.isHeaderRepeat)for(let u of d.cells)l(u.blocks);}};l(a);};for(let a of e.pages){for(let i of Je(a))for(let l of i.lines)r(l,a.index);a.header&&o(a.header.fragments,a.index),a.footer&&o(a.footer.fragments,a.index);for(let i of [a.footnotes,a.endnotes])if(i)for(let l of i.notes)o(l.fragments,a.index);}return ey.set(e,n),n}var ty=new WeakMap;function Xc(e,t){let n=ty.get(e);n||(n=new Map,ty.set(e,n));let r=n.get(t);if(r)return r;let o=[];for(let{line:i}of Wt(e).get(t)??[])if(i.range.paragraphId===t)for(let l of i.deletedRanges??[])o.push({start:l.start,end:l.end});o.sort((i,l)=>i.start-l.start);let a=[];for(let i of o){let l=a[a.length-1];l&&i.start<=l.end?l.end=Math.max(l.end,i.end):a.push(i);}return n.set(t,a),a}function ny(e,t){for(let n of e)if(t>n.start&&t<n.end)return true;return false}function ry(e,t){for(let n of Xc(e,t.paragraphId))if(t.offset>n.start&&t.offset<n.end)return {paragraphId:t.paragraphId,offset:n.end};return t}var FR=/[\p{L}\p{N}_'\u2019]/u;function Na(e,t,n){let r=a=>{let i=e[a];return i!==void 0&&FR.test(i)},o=Math.max(0,Math.min(t,e.length));if(n===-1){for(;o>0&&!r(o-1);)o-=1;for(;o>0&&r(o-1);)o-=1;return o}for(;o<e.length&&!r(o);)o+=1;for(;o<e.length&&r(o);)o+=1;return o}function MR(e,t,n){let r=Wt(e).get(t.range.paragraphId)??[],o=false;for(let a of r){if(a.line===t){o=true;continue}if(o&&a.line.range.start===n)return true}return false}function ER(e,t,n){for(let{line:r}of Wt(e).get(t)??[])if(r.range.start===n&&r.drawings?.some(o=>o.start===n))return r;return null}function NR(e,t,n){for(let r of n?n.spans:e.spans)if(!(t<=r.range.start||t>=r.range.end)&&(r.projected||r.text.length!==r.range.end-r.range.start))return true;return false}function ay(e){let t=e.spans[e.spans.length-1]?.text;return t===`
|
|
16
|
-
`||t===chunkDY3QVCWC_cjs.Xb}function jl(e,t,n,r,o,a,i){for(let l of pt(n))i!==void 0&&l.paragraphId!==i||AR(e,t,n,l,r,o,a);}function AR(e,t,n,r,o,a,i){let l=pt(n).length>1,s=Xc(t,r.paragraphId),c=d=>r.spans.some(u=>u.range.start<=d&&d<=u.range.end);for(let d=r.start;d<=r.end;d+=1)if(!(d===r.end&&d>r.start&&!l&&ay(n)&&MR(t,n,d))){if(d===r.start&&d>a&&e.length>0){let u=e[e.length-1];if(u.position.paragraphId===r.paragraphId&&u.position.offset===d)continue}NR(n,d,r)||ny(s,d)&&!c(d)||e.push({position:{paragraphId:r.paragraphId,offset:d},x:wr(n,d,i,r),y:n.box.y,height:n.box.height,lineId:n.id,pageIndex:o});}}function iy(e,t,n,r,o){for(let a of t){if(a.kind==="paragraph"){for(let i of a.lines)jl(r,e,i,n,a.range.start,o);continue}for(let i of a.rows)if(!i.isHeaderRepeat)for(let l of i.cells)iy(e,l.blocks,n,r,o);}}var DR=new zl;function ly(e,t){let n=[];for(let r of e.pages)for(let o of Je(r))for(let a of o.lines)jl(n,e,a,r.index,o.range.start,t);return n}function _R(e,t,n){let o=(Wt(e).get(t.paragraphId)??[]).find(({line:i})=>{let l=vn(i,t.paragraphId);return l!==null&&t.offset>=l.start&&t.offset<=l.end});if(!o||pt(o.line).length<2)return null;let a=[];return jl(a,e,o.line,o.pageIndex,0,n),Wc(a)}function Hl(e,t,n){return DR.get(e,t,n,()=>{let r=[];for(let{line:o,pageIndex:a}of Wt(e).get(t)??[])jl(r,e,o,a,0,n,t);return Wc(r)})}function zR(e,t,n,r){if(!e.pages[t])return [];let o=[];return iy(e,n,t,o,r),o}function HR(e){return e?typeof e.measure=="function"?{measurer:e}:e:{}}function sy(e,t,n){let r=HR(n),o=Wt(e).get(t.paragraphId)??[],a=r.preferredPageIndex,i=a===void 0?o:[...o].sort((s,c)=>{let d=s.pageIndex===a?0:1,u=c.pageIndex===a?0:1;return d-u}),l=null;for(let{line:s,pageIndex:c}of i){let d=vn(s,t.paragraphId);if(!d||t.offset<d.start||t.offset>d.end)continue;if(t.offset===d.end&&t.offset>d.start&&pt(s).length===1&&ay(s)){l??={line:s,pageIndex:c};continue}if(t.offset===d.end&&t.offset>d.start&&ER(e,t.paragraphId,t.offset))continue;let u=Ta(s,t.offset,r.measurer,d);return {position:t,x:u.x,y:u.y,height:u.height,lineId:s.id,pageIndex:c}}if(l){let s=Ta(l.line,t.offset,r.measurer,vn(l.line,t.paragraphId));return {position:t,x:s.x,y:s.y,height:s.height,lineId:l.line.id,pageIndex:l.pageIndex}}return null}function jR(e,t){let n=t.pageIndex!==void 0&&e.pages[t.pageIndex]?t.pageIndex:0;return hl(e,n,t)?.caret??null}function WR(e,t){let n=t.pageIndex!==void 0&&e.pages[t.pageIndex]?t.pageIndex:0;return bl(e,n,t)}function GR(e){return Cs(e)}function jc(e,t){if(t.anchor.paragraphId===t.head.paragraphId)return t.anchor.offset<=t.head.offset?{from:t.anchor,to:t.head}:{from:t.head,to:t.anchor};let n=In(e),r=n.indexOf(t.anchor.paragraphId),o=n.indexOf(t.head.paragraphId);return r===-1||o===-1?null:r<o||r===o&&t.anchor.offset<=t.head.offset?{from:t.anchor,to:t.head}:{from:t.head,to:t.anchor}}function Po(e,t){let n=[],r=new Set;for(let{line:a}of Wt(e).get(t)??[]){let i=vn(a,t);if(i){for(let l of i.spans){if(l.range.end===l.range.start)continue;let s=`${l.range.start}:${l.range.end}`;if(r.has(s))continue;r.add(s);let c=l.range.end-l.range.start,d=l.text.length===c?l.text:l.text.slice(0,c).padEnd(c," ");n.push({start:l.range.start,text:d});}for(let l of i.drawings){let s=l.start,c=s+1,d=`${s}:${c}`;r.has(d)||(r.add(d),n.push({start:s,text:"\uFFFC"}));}}}n.sort((a,i)=>a.start-i.start);let o="";for(let a of n)a.start>o.length&&(o+=" ".repeat(a.start-o.length)),o=o.slice(0,a.start)+a.text;return o}function oy(e,t,n,r){let o=In(e),a=go(e).get(t.paragraphId);return a===void 0?null:qh(t,n,o,a,i=>Hl(e,i,r))}function XR(e,t,n,r=null,o={}){if(!o.stops&&(n==="left"||n==="right"))return oy(e,t,n==="left"?-1:1,o.measurer);if(!o.stops&&(n==="wordLeft"||n==="wordRight")){let s=n==="wordLeft"?-1:1,c=Na(Po(e,t.paragraphId),t.offset,s);return c===t.offset?oy(e,t,s,o.measurer):{position:{paragraphId:t.paragraphId,offset:c},desiredX:null}}if(!o.stops&&(n==="lineStart"||n==="lineEnd")){let s=Zh(t,n==="lineStart"?-1:1,_R(e,t,o.measurer)??Hl(e,t.paragraphId,o.measurer));return s?{position:s,desiredX:null}:null}if(!o.stops&&(n==="documentStart"||n==="documentEnd")){let s=Jh(n==="documentStart"?-1:1,In(e),c=>Hl(e,c,o.measurer));return s?{position:s,desiredX:null}:null}if(!o.stops&&(n==="up"||n==="down")){let s=go(e).get(t.paragraphId);return s===void 0?null:Qh(t,n==="up"?-1:1,r,In(e),s,c=>Hl(e,c,o.measurer))}let a=o.stops?[...o.stops]:ly(e,o.measurer);if(a.length===0)return null;let i=a.findIndex(s=>s.position.paragraphId===t.paragraphId&&s.position.offset===t.offset);if(i===-1){if(n==="left"||n==="right"){let c=Gc(a,t,n==="left"?-1:1)??Ea(a,t);return c?{position:c.position,desiredX:null}:null}let s=Ea(a,t);if(!s)return null;i=a.indexOf(s);}let l=a[i];switch(n){case "left":return {position:a[Math.max(0,i-1)].position,desiredX:null};case "right":return {position:a[Math.min(a.length-1,i+1)].position,desiredX:null};case "lineStart":return {position:a.filter(c=>c.lineId===l.lineId)[0].position,desiredX:null};case "lineEnd":{let s=a.filter(c=>c.lineId===l.lineId);return {position:s[s.length-1].position,desiredX:null}}case "wordLeft":case "wordRight":{let s=Po(e,t.paragraphId),c=n==="wordLeft"?-1:1,d=Na(s,t.offset,c);return d===t.offset?{position:a[c===-1?Math.max(0,i-1):Math.min(a.length-1,i+1)].position,desiredX:null}:{position:{paragraphId:t.paragraphId,offset:d},desiredX:null}}case "documentStart":return {position:a[0].position,desiredX:null};case "documentEnd":return {position:a[a.length-1].position,desiredX:null};case "pageUp":case "pageDown":{let s=r??l.x,c=l.pageIndex+(n==="pageUp"?-1:1),d=a.filter(f=>f.pageIndex===c);if(d.length===0)return {position:(n==="pageUp"?a[0]:a[a.length-1]).position,desiredX:s};let u=d[0],p=Number.POSITIVE_INFINITY;for(let f of d){let m=Math.abs(f.y-l.y)*1e3+Math.abs(f.x-s);m<p&&(p=m,u=f);}return {position:u.position,desiredX:s}}case "up":case "down":{let s=r??l.x,c=[],d=new Set;for(let g of a)d.has(g.lineId)||(d.add(g.lineId),c.push(g.lineId));let u=c.indexOf(l.lineId),p=n==="up"?u-1:u+1;if(p<0||p>=c.length)return {position:(n==="up"?a[0]:a[a.length-1]).position,desiredX:s};let f=a.filter(g=>g.lineId===c[p]),m=f[0];for(let g of f)Math.abs(g.x-s)<Math.abs(m.x-s)&&(m=g);return {position:m.position,desiredX:s}}default:return null}}function $R(e,t){return sy(e,t)}function VR(e,t){let n=jc(e,t);if(!n)return [];if(n.from.paragraphId===n.to.paragraphId&&n.from.offset===n.to.offset)return YR(e,n.from);let r=[];if(n.from.paragraphId===n.to.paragraphId){for(let{line:c}of Wt(e).get(n.from.paragraphId)??[]){let d=vn(c,n.from.paragraphId);if(!d)continue;let u=ho(e,d,n.from,n.to);if(u)for(let p of d.spans)p.range.end>u.start&&p.range.start<u.end&&r.push(p);}return r}let o=In(e),a=go(e),i=Wt(e),l=a.get(n.from.paragraphId)??-1,s=a.get(n.to.paragraphId)??-1;if(l===-1||s===-1)return [];for(let c=l;c<=s;c+=1)for(let{line:d}of i.get(o[c])??[]){let u=vn(d,o[c]);if(!u)continue;let p=ho(e,u,n.from,n.to);if(p)for(let f of u.spans)f.range.end>p.start&&f.range.start<p.end&&r.push(f);}return r}function YR(e,t){let n=null;for(let{line:r}of Wt(e).get(t.paragraphId)??[])for(let o of vn(r,t.paragraphId)?.spans??[]){if(o.range.start<t.offset&&t.offset<=o.range.end)return [o];n===null&&o.range.start===t.offset&&(n=o);}return n?[n]:[]}var dy=new WeakMap;function Yn(e){let t=dy.get(e);if(t)return t;let n=new Map,r=new Map,o=new Map,a=(l,s)=>{for(let c of l){if(c.kind==="paragraph")continue;let d=c.tableId,u=o.get(d);u||(u=new Map,o.set(d,u),n.set(d,[]),r.set(d,new Map));for(let p of c.rows){let f=u.get(p.id);f===void 0&&(f=u.size,u.set(p.id,f),r.get(d).set(f,p.cells));for(let m of p.cells)n.get(d).push({pageIndex:s,tableId:d,row:p,cell:m,rowIndex:f,isHeaderRepeat:p.isHeaderRepeat}),a(m.blocks,s);}}};for(let l of e.pages)a(l.fragments,l.index);let i=new Map;for(let[l,s]of n)i.set(l,{placed:s,rows:r.get(l)??new Map});return dy.set(e,i),i}function cy(e){let t=0;for(let n of e.rows.values())for(let r of n)t=Math.max(t,Vn(r).to+1);return t}var Vn=e=>({from:e.gridColumn,to:e.gridColumn+Math.max(1,e.gridSpan)-1});function UR(e,t,n){if(t.tableId!==n.tableId)return null;let r=Yn(e).get(t.tableId);if(!r)return null;let o=Math.min(t.rowIndex,n.rowIndex),a=Math.max(t.rowIndex,n.rowIndex),i=Math.min(Vn(t).from,Vn(n).from),l=Math.max(Vn(t).to,Vn(n).to),s=f=>{let{from:m,to:g}=Vn(f);return g>=i&&m<=l},c=f=>(r.rows.get(f)??[]).some(m=>m.vMergeContinue&&s(m)),d=r.rows.size+cy(r)+2;for(let f=0;!(f>d);f+=1){let m=false;for(let[g,y]of r.rows)if(!(g<o||g>a))for(let b of y){if(!s(b))continue;let{from:x,to:T}=Vn(b);x<i&&(i=x,m=true),T>l&&(l=T,m=true);}for(;o>0&&c(o);)o-=1,m=true;for(;c(a+1);)a+=1,m=true;if(!m)break}let u=[],p=new Set;for(let f of r.placed){if(f.isHeaderRepeat||f.rowIndex<o||f.rowIndex>a)continue;let{from:m,to:g}=Vn(f.cell);g<i||m>l||p.has(f.cell.id)||(p.add(f.cell.id),u.push(f.cell.id));}return u.length===0?null:{kind:"cells",tableId:t.tableId,cellIds:u,rows:{from:o,to:a},columns:{from:i,to:l},text:KR(e,t.tableId,u)}}function Wl(e,t){let n=new Set(t),r=[],o=new Set;for(let a of Yn(e).values())for(let i of a.placed)if(!(i.isHeaderRepeat||!n.has(i.cell.id)))for(let l of i.cell.blocks)Aa(l,r,o);return r}function Aa(e,t,n){if(e.kind==="paragraph"){for(let r of Gn(e))n.has(r)||(n.add(r),t.push(r));return}for(let r of e.rows)if(!r.isHeaderRepeat)for(let o of r.cells)for(let a of o.blocks)Aa(a,t,n);}function KR(e,t,n){let r=Wl(e,n),o=r[0],a=r[r.length-1];return !o||!a?ZR(e,t):{anchor:{paragraphId:o,offset:0},head:{paragraphId:a,offset:Po(e,a).length}}}function ZR(e,t){let n=Yn(e).get(t);for(let o of n?.placed??[]){if(o.isHeaderRepeat)continue;let a=[];for(let l of o.cell.blocks)Aa(l,a,new Set);let i=a[0];if(i){let l={paragraphId:i,offset:0};return {anchor:l,head:l}}}for(let o of e.pages)for(let a of Je(o)){let i={paragraphId:a.paragraphId,offset:0};return {anchor:i,head:i}}let r={paragraphId:"",offset:0};return {anchor:r,head:r}}function qR(e,t){let n=new Set(Wl(e,t)),r=[],o=new Set;for(let a of e.pages)for(let i of Je(a))if(n.has(i.paragraphId))for(let l of i.lines)for(let s of l.spans){let c=`${s.range.paragraphId}:${s.range.start}:${s.range.end}`;o.has(c)||(o.add(c),r.push(s));}return r}function JR(e,t){let n=new Set(t),r=[];for(let o of Yn(e).values())for(let a of o.placed)n.has(a.cell.id)&&r.push({pageIndex:a.pageIndex,x:a.cell.box.x,y:a.cell.box.y,width:a.cell.box.width,height:a.cell.box.height});return r}function QR(e,t){let n=Yn(e).get(t.tableId);if(!n)return "";let r=new Set(t.cellIds),o=new Map,a=new Set;for(let i of n.placed){if(i.isHeaderRepeat||!r.has(i.cell.id)||a.has(i.cell.id))continue;a.add(i.cell.id);let l=Wl(e,[i.cell.id]).map(c=>Po(e,c)).join(`
|
|
17
|
-
`),s=o.get(i.rowIndex);s?s.set(i.cell.gridColumn,l):o.set(i.rowIndex,new Map([[i.cell.gridColumn,l]]));}return [...o.keys()].sort((i,l)=>i-l).map(i=>{let l=o.get(i),s=[];for(let c=t.columns.from;c<=t.columns.to;c+=1)s.push(l.get(c)??"");return s.join(" ")}).join(`
|
|
18
|
-
`)}function $c(e,t){let n=null,r=-1;for(let[o,a]of Yn(e))for(let i of a.placed){if(i.isHeaderRepeat)continue;let l=[];for(let c of i.cell.blocks)Aa(c,l,new Set);if(!l.includes(t))continue;let s=o.length;s<=r||(r=s,n={tableId:o,rows:a.rows.size,columns:cy(a),rowIndex:i.rowIndex,columnIndex:i.cell.gridColumn});}return n}function eL(e,t,n){if(n){let a=$c(e,t);if(!a||a.tableId!==n.tableId)return null;let i=n.cellIds[0];if(!i)return null;let l=Yn(e).get(n.tableId);if(!l)return null;for(let s of l.placed)if(s.cell.id===i)return {tableId:n.tableId,rowId:s.row.id,cellId:i,cellIds:n.cellIds,gridColumnIndex:s.cell.gridColumn,isHeaderRepeat:s.isHeaderRepeat};return null}let r=$c(e,t);if(!r)return null;let o=Yn(e).get(r.tableId);if(!o)return null;for(let a of o.placed){if(a.isHeaderRepeat)continue;let i=[];for(let l of a.cell.blocks)Aa(l,i,new Set);if(i.includes(t))return {tableId:r.tableId,rowId:a.row.id,cellId:a.cell.id,cellIds:[a.cell.id],gridColumnIndex:a.cell.gridColumn,isHeaderRepeat:a.row.isHeaderRepeat}}return null}exports.$=Pf;exports.$a=zn;exports.$b=ec;exports.$c=Vg;exports.A=vs;exports.Aa=Qb;exports.Ab=ga;exports.Ac=KO;exports.Ad=Yh;exports.B=ti;exports.Ba=ex;exports.Bb=tm;exports.Bc=Pl;exports.Bd=ry;exports.C=Bb;exports.Ca=tx;exports.Cb=Md;exports.Cc=Ft;exports.Cd=Na;exports.D=Cb;exports.Da=nx;exports.Db=wn;exports.Dc=Rk;exports.Dd=ly;exports.E=Lb;exports.Ea=Gs;exports.Eb=Yi;exports.Ec=Sc;exports.Ed=zR;exports.F=Os;exports.Fa=Xr;exports.Fb=Ui;exports.Fc=wc;exports.Fd=sy;exports.G=mf;exports.Ga=$s;exports.Gb=hm;exports.Gc=Pc;exports.Gd=jR;exports.H=gf;exports.Ha=Vs;exports.Hb=nl;exports.Hc=pP;exports.Hd=WR;exports.I=hf;exports.Ia=Yo;exports.Ib=rl;exports.Ic=vl;exports.Id=GR;exports.J=yf;exports.Ja=lx;exports.Jb=ol;exports.Jc=jt;exports.Jd=Po;exports.K=bf;exports.Ka=$r;exports.Kb=_d;exports.Kc=Hg;exports.Kd=XR;exports.L=xf;exports.La=Ys;exports.Lb=Sm;exports.Lc=Tl;exports.Ld=$R;exports.M=Nb;exports.Ma=ar;exports.Mb=zd;exports.Mc=Ol;exports.Md=VR;exports.N=Ab;exports.Na=ux;exports.Nb=pr;exports.Nc=xP;exports.Nd=UR;exports.O=zr;exports.Oa=fx;exports.Ob=zt;exports.Oc=jg;exports.Od=Wl;exports.P=Db;exports.Pa=pn;exports.Pb=ll;exports.Pc=Wg;exports.Pd=qR;exports.Q=Bs;exports.Qa=Nn;exports.Qb=Sa;exports.Qc=br;exports.Qd=JR;exports.R=Ho;exports.Ra=_f;exports.Rb=zm;exports.Rc=wP;exports.Rd=QR;exports.S=Je;exports.Sa=ed;exports.Sb=Hm;exports.Sc=Ba;exports.Sd=$c;exports.T=Sf;exports.Ta=zf;exports.Tb=wa;exports.Tc=Gg;exports.Td=eL;exports.U=wf;exports.Ua=td;exports.Ub=po;exports.Uc=bo;exports.V=mI;exports.Va=Hf;exports.Vb=Kd;exports.Vc=Ca;exports.W=jb;exports.Wa=mn;exports.Wb=Xm;exports.Wc=Xg;exports.X=Wb;exports.Xa=nd;exports.Xb=Pw;exports.Xc=RP;exports.Y=Cs;exports.Ya=rd;exports.Yb=mo;exports.Yc=$g;exports.Z=ri;exports.Za=qt;exports.Zb=Zd;exports.Zc=Bc;exports._=Ls;exports._a=De;exports._b=qd;exports._c=kl;exports.a=Yt;exports.aa=oi;exports.ab=Jt;exports.ac=tc;exports.ad=Yg;exports.b=nr;exports.ba=Hr;exports.bb=Ax;exports.bc=eg;exports.bd=La;exports.c=qu;exports.ca=Es;exports.cb=id;exports.cc=tg;exports.cd=Ug;exports.d=ys;exports.da=vf;exports.db=ft;exports.dc=ng;exports.dd=Bl;exports.e=Za;exports.ea=Wo;exports.eb=et;exports.ec=nc;exports.ed=Lc;exports.f=Py;exports.fa=Tf;exports.fb=eo;exports.fc=ul;exports.fd=eh;exports.g=vy;exports.ga=Of;exports.gb=oa;exports.gc=In;exports.gd=Fc;exports.h=Ao;exports.ha=Wr;exports.hb=dd;exports.hc=pt;exports.hd=TP;exports.i=Ty;exports.ia=kf;exports.ib=ep;exports.ic=EO;exports.id=Ec;exports.j=Oy;exports.ja=Ns;exports.jb=Yx;exports.jc=Gn;exports.jd=Ll;exports.k=Ne;exports.ka=As;exports.kb=Ux;exports.kc=NO;exports.kd=ch;exports.l=nb;exports.la=Ds;exports.lb=yn;exports.lc=sc;exports.ld=uh;exports.m=of;exports.ma=_s;exports.mb=dr;exports.mc=va;exports.md=ph;exports.n=yb;exports.na=un;exports.nb=ud;exports.nc=Fw;exports.nd=Nl;exports.o=qa;exports.oa=Go;exports.ob=cr;exports.oc=hl;exports.od=Dl;exports.p=xb;exports.pa=Pt;exports.pb=lS;exports.pc=WO;exports.pd=lR;exports.q=Sb;exports.qa=Mn;exports.qb=Jv;exports.qc=Mw;exports.qd=_h;exports.r=wb;exports.ra=qb;exports.rb=wd;exports.rc=bl;exports.rd=gC;exports.s=Ps;exports.sa=zs;exports.sb=_i;exports.sc=gg;exports.sd=zh;exports.t=Is;exports.ta=Gr;exports.tb=Xi;exports.tc=xl;exports.td=Hh;exports.u=At;exports.ua=Hs;exports.ub=Xp;exports.uc=Ta;exports.ud=wR;exports.v=Ib;exports.va=ii;exports.vb=co;exports.vc=Vw;exports.vd=vR;exports.w=vb;exports.wa=Xo;exports.wb=S0;exports.wc=$O;exports.wd=OR;exports.x=Tb;exports.xa=js;exports.xb=fo;exports.xc=VO;exports.xd=kR;exports.y=ei;exports.ya=Ws;exports.yb=Yp;exports.yc=YO;exports.yd=LR;exports.z=kb;exports.za=$o;exports.zb=Sn;exports.zc=UO;exports.zd=Vh;
|