@docx-editor.dev/core 2.31.0 → 2.33.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.
Files changed (140) hide show
  1. package/README.md +25 -1
  2. package/THIRD_PARTY_NOTICES.md +1 -0
  3. package/dist/automation.cjs +1 -1
  4. package/dist/automation.d.ts +16 -54
  5. package/dist/automation.js +1 -1
  6. package/dist/binding.cjs +1 -1
  7. package/dist/binding.d.ts +17 -15
  8. package/dist/binding.js +1 -1
  9. package/dist/{chrome-print-BWvaVEhD.d.ts → chrome-print-CrPI9ZQc.d.ts} +128 -38
  10. package/dist/chunk-23MKR33J.js +4 -0
  11. package/dist/chunk-2CWQY27B.cjs +1 -0
  12. package/dist/chunk-2DEY5NUC.cjs +32 -0
  13. package/dist/chunk-2DR4TH6B.js +1 -0
  14. package/dist/chunk-2F2UEAE2.js +2 -0
  15. package/dist/chunk-2GPGAFOJ.cjs +5 -0
  16. package/dist/chunk-ALD626VU.cjs +2 -0
  17. package/dist/chunk-AU33YWEJ.js +236 -0
  18. package/dist/chunk-AXU63LYW.cjs +1 -0
  19. package/dist/chunk-CM5VZRBV.js +32 -0
  20. package/dist/chunk-D7FAFFTN.js +1 -0
  21. package/dist/chunk-DYUVJNDD.cjs +1 -0
  22. package/dist/chunk-ESYUKD5D.js +2 -0
  23. package/dist/chunk-F7TGQMVR.js +5 -0
  24. package/dist/chunk-FLW7KIQX.js +30 -0
  25. package/dist/chunk-JG4A6W6I.js +7 -0
  26. package/dist/chunk-JNGLSBPH.js +2 -0
  27. package/dist/chunk-KE6ZWRIY.cjs +236 -0
  28. package/dist/chunk-L3YXJDPX.js +1 -0
  29. package/dist/chunk-LI42N7OW.cjs +4 -0
  30. package/dist/chunk-PLKDS4JT.js +1 -0
  31. package/dist/chunk-PXMTQ73F.cjs +2 -0
  32. package/dist/chunk-R4R3AAE4.js +1 -0
  33. package/dist/chunk-RFUNFTGV.cjs +1 -0
  34. package/dist/chunk-SVM6PGMS.js +3 -0
  35. package/dist/chunk-SZURLHR3.cjs +3 -0
  36. package/dist/chunk-UYCGCVZ2.cjs +1 -0
  37. package/dist/chunk-WN7ICTA5.js +1 -0
  38. package/dist/chunk-X34QRAUU.cjs +1 -0
  39. package/dist/chunk-XNBYG4XJ.cjs +30 -0
  40. package/dist/chunk-ZDFJW5XS.cjs +2 -0
  41. package/dist/chunk-ZWO4JHNN.cjs +7 -0
  42. package/dist/collaboration/replication.cjs +1 -1
  43. package/dist/collaboration/replication.d.ts +29 -4
  44. package/dist/collaboration/replication.js +1 -1
  45. package/dist/collaboration.cjs +1 -1
  46. package/dist/collaboration.d.ts +5 -5
  47. package/dist/collaboration.js +1 -1
  48. package/dist/contracts/document.d.ts +3 -3
  49. package/dist/contracts/editor.d.ts +13 -9
  50. package/dist/contracts/interaction.d.ts +2 -2
  51. package/dist/contracts/modules.d.ts +15 -12
  52. package/dist/contracts/types.d.ts +135 -2
  53. package/dist/{custom-node-writes-TeUvMP13.d.ts → custom-node-writes-AqY5KpVx.d.ts} +7 -2
  54. package/dist/diagnostic-context-CuzhOX0g.d.ts +98 -0
  55. package/dist/{diagnostic-hints-C9JlLz1L.d.ts → diagnostic-hints-BtCaCqQC.d.ts} +4 -4
  56. package/dist/{document-protection-C8x3P2J6.d.ts → document-protection-BvbpSXbQ.d.ts} +1 -1
  57. package/dist/drawing-graphic-kind-CXYGYbB3.d.ts +324 -0
  58. package/dist/drawing-preview-package-B9lSLRg4.d.ts +115 -0
  59. package/dist/{editor-B2ShlO23.d.ts → editor-B7OOAAie.d.ts} +181 -244
  60. package/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
  61. package/dist/{editor-scope-C7ke1KJG.d.ts → editor-scope-CA6egMaK.d.ts} +6 -2
  62. package/dist/editor.cjs +1 -1
  63. package/dist/editor.css +4 -4
  64. package/dist/editor.d.ts +259 -31
  65. package/dist/editor.js +1 -1
  66. package/dist/export.cjs +2 -2
  67. package/dist/export.d.ts +48 -19
  68. package/dist/export.js +2 -2
  69. package/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
  70. package/dist/{font-resolver-CWh40DYp.d.ts → font-resolver-Bm9XqTNO.d.ts} +15 -1
  71. package/dist/index.cjs +1 -1
  72. package/dist/index.d.ts +43 -26
  73. package/dist/index.js +1 -1
  74. package/dist/{layout-shaping-CWS3j0Xr.d.ts → layout-shaping-Ci_BTnSU.d.ts} +1 -1
  75. package/dist/layout.cjs +1 -1
  76. package/dist/layout.d.ts +181 -99
  77. package/dist/layout.js +1 -1
  78. package/dist/metafile-drawing-DtMFyMKq.d.ts +107 -0
  79. package/dist/{note-properties-QsKh24sM.d.ts → note-properties-DCIJUKIy.d.ts} +1 -1
  80. package/dist/output.cjs +1 -1
  81. package/dist/output.d.ts +11 -7
  82. package/dist/output.js +1 -1
  83. package/dist/{protocol-COZJUKUY.d.ts → protocol-Cp_QzVxS.d.ts} +75 -5
  84. package/dist/{review-paragraph-order-C_QbCKcH.d.ts → review-paragraph-order-BJQ43_r0.d.ts} +1 -1
  85. package/dist/revision-projection-OVusTS77.d.ts +258 -0
  86. package/dist/{semantic-cell-selection-Cub9FDa8.d.ts → semantic-cell-selection-CoI5hHBm.d.ts} +2 -2
  87. package/dist/{semantic-interaction-dApRIYpt.d.ts → semantic-interaction-BbA4dgEo.d.ts} +1 -1
  88. package/dist/{semantic-paint-DLzA8sjP.d.ts → semantic-paint-B5JcIv9c.d.ts} +19 -9
  89. package/dist/{semantic-record-queries-3yp9o11g.d.ts → semantic-record-queries-DnO8J5_j.d.ts} +1 -1
  90. package/dist/{semantic-records-B-akgRch.d.ts → semantic-records-DoK0lNjS.d.ts} +439 -418
  91. package/dist/store.cjs +1 -1
  92. package/dist/store.d.ts +511 -20
  93. package/dist/store.js +1 -1
  94. package/dist/{types-barrel-CkF2JbU4.d.ts → tree-op-types-Df4oY2u4.d.ts} +1081 -524
  95. package/dist/{tree-package-store-B8l8DX3Z.d.ts → tree-package-store-DXhX1PE-.d.ts} +8 -3
  96. package/dist/{tree-session-contract-DeLRqohz.d.ts → tree-session-contract-CF2625mv.d.ts} +5 -5
  97. package/dist/unsupported-elements-CUojsaCr.d.ts +23 -0
  98. package/docs/accept-reject-without-scrolling.md +95 -0
  99. package/docs/comment-on-found-text.md +72 -0
  100. package/docs/custom-review-cards.md +178 -0
  101. package/docs/highlight-ranges.md +48 -0
  102. package/docs/index.md +36 -0
  103. package/docs/propose-rewrite.md +247 -0
  104. package/docs/tracked-replacement.md +68 -0
  105. package/licenses/ECMA-376.md +29 -0
  106. package/package.json +3 -2
  107. package/dist/bookmark-names-DDuAra_V.d.ts +0 -37
  108. package/dist/chunk-243W4WW2.cjs +0 -2
  109. package/dist/chunk-2E2RPEKX.js +0 -1
  110. package/dist/chunk-4S24UOPG.js +0 -30
  111. package/dist/chunk-5JPIEN54.cjs +0 -3
  112. package/dist/chunk-5SO5QDMV.cjs +0 -2
  113. package/dist/chunk-6IDOVU6L.cjs +0 -1
  114. package/dist/chunk-6JIJOZDW.js +0 -1
  115. package/dist/chunk-BTQKU64Q.cjs +0 -1
  116. package/dist/chunk-DBOOTED4.cjs +0 -30
  117. package/dist/chunk-EOTAXOJY.cjs +0 -5
  118. package/dist/chunk-FDAKJ2SJ.cjs +0 -30
  119. package/dist/chunk-FNNOJNGY.js +0 -3
  120. package/dist/chunk-FT33HRZP.js +0 -5
  121. package/dist/chunk-HC6YNKUI.cjs +0 -1
  122. package/dist/chunk-HZ66UCIS.js +0 -2
  123. package/dist/chunk-IBRBNT37.cjs +0 -1
  124. package/dist/chunk-IVIN7X43.js +0 -30
  125. package/dist/chunk-LZY6B6IV.js +0 -4
  126. package/dist/chunk-MOYYRVFV.cjs +0 -2
  127. package/dist/chunk-N6B3BXCL.js +0 -1
  128. package/dist/chunk-Q5K2GGNG.js +0 -2
  129. package/dist/chunk-R2XINWVE.js +0 -7
  130. package/dist/chunk-SUEXVBPR.js +0 -1
  131. package/dist/chunk-T2QQHG5C.js +0 -18
  132. package/dist/chunk-VWIJKH4A.js +0 -1
  133. package/dist/chunk-WO4V6PNS.cjs +0 -18
  134. package/dist/chunk-XMJKFURD.cjs +0 -4
  135. package/dist/chunk-XSTGE3NI.cjs +0 -1
  136. package/dist/chunk-YQWMI6J5.cjs +0 -7
  137. package/dist/chunk-ZCJS7D7S.js +0 -2
  138. package/dist/diagnostic-context-DJ0P1uZE.d.ts +0 -31
  139. package/dist/headless-document-view-qOpaCF82.d.ts +0 -143
  140. package/dist/omml-equation-BsLAa2lX.d.ts +0 -115
@@ -1,3 +0,0 @@
1
- 'use strict';var chunkDBOOTED4_cjs=require('./chunk-DBOOTED4.cjs'),chunkWO4V6PNS_cjs=require('./chunk-WO4V6PNS.cjs');var cr=(e,t,n)=>{let r=e<0n,o=r?-e:e,a=o/t,i=o%t;if(n!=="towardZero"){let u=i*2n;(u>t||u===t&&(n==="halfAwayFromZero"||n==="halfToEven"&&a%2n!==0n))&&(a+=1n);}let c=r?-a:a,s=Number(c);if(!Number.isSafeInteger(s))throw new RangeError("Shaped fixed-point value exceeds the safe integer range");return s},et=(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");if(e===0||n===0)return chunkDBOOTED4_cjs.n(0);let o=e*n;if(Number.isSafeInteger(o)){let a=Math.abs(o),i=a%t,c=(a-i)/t;return r!=="towardZero"&&(i>t-i||i===t-i&&(r==="halfAwayFromZero"||r==="halfToEven"&&c%2!==0))&&(c+=1),chunkDBOOTED4_cjs.n(c===0?0:o<0?-c:c)}return chunkDBOOTED4_cjs.n(cr(BigInt(e)*BigInt(n),BigInt(t),r))},Yt=(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=>et(i,a,o,r)},$t=(e,t,n)=>{let r=t*n,o=e*2;return a=>a*r/o};var lr=4096,qt=e=>typeof e=="number"?String(e):JSON.stringify(e)??typeof e,we=class{constructor(t){this.onRestart=t;}onRestart;#e=new Map;keyOf(t,n){let r=chunkDBOOTED4_cjs.t(n),o=this.#e.get(r);o===void 0&&(this.#e.size>=lr&&(this.#e.clear(),this.onRestart()),o=this.#e.size,this.#e.set(r,o));let a=`${o}\0${qt(t.fontSizeHalfPoints)}\0${qt(t.bidiLevel)}\0`,i=t.context;return !i||i.before===""&&i.after===""?`${a}-${t.text}`:`${a}c${i.before.length},${i.after.length}\0${i.before}${i.after}${t.text}`}clear(){this.#e.clear();}};function te(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 Zt(e){return e.replace(/[a-z][a-z0-9+.-]*:\/\/[^\s"')]+/gi,t=>te(t))}function pr(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 Jt(e){return e instanceof Error&&/process\.getBuiltinModule/.test(e.message)}function Qt(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.0 and 22.3.0. Upgrade Node; \`setHarfBuzzWasmUrl\` does not apply here. (${Zt(e instanceof Error?e.message:String(e))})`}function en(e){let t=Zt(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 tn(e,t){let n=`expected HarfBuzz ${e}, loaded ${t}`;return `${n}. The bundled binary does not match this build of the engine.`}var Q=Object.freeze({name:"HarfBuzz",version:"14.4.0"}),ue=null,ce=null;function nt(){return ue?Promise.resolve():ce||(ce=import('harfbuzzjs').then(e=>{let t=e.versionString();if(t!==Q.version)throw new B("shapingLibraryMismatch",{diagnostic:tn(Q.version,t)});ue=e;}).catch(e=>{throw ce=null,e instanceof B?e:Jt(e)?new B("unsupportedRuntime",{diagnostic:Qt(e),cause:e}):new B("wasmUnavailable",{diagnostic:en(e),cause:e})}),ce)}function fr(){return ue!==null}function yr(){if(!ue)throw new B("notInitialized",{diagnostic:"Call initializeHarfBuzz() before creating a text shaper"});return ue}var B=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;}},mr=16*1024*1024,hr=1e6,gr=1e6,Sr=1e6,br=4,xr=512,Rr=1024*1024,Fr=16*1024*1024,Cr=32*1024*1024,vr=64*1024*1024,Er=64*1024*1024,Lr=1e6,Br=1e6,Tr=1e6,Or=64,wr=4096,Ir=4*1024*1024,Ar=64*1024*1024,Pr=64*1024*1024,_r=256*1024*1024,Mr=new Set(["COLR","CPAL","CBDT","CBLC","sbix","SVG "]),nn=["cmap","head","hhea","hmtx","maxp"],zr=(e,t)=>e[t]<<8|e[t+1],kr=(e,t)=>e[t]*16777216+(e[t+1]<<16)+(e[t+2]<<8)+e[t+3]>>>0,Nr=(e,t)=>String.fromCharCode(e[0],e[1],e[2],e[3])==="ttcf"?kr(e,12+t*4):0,Dr=(e,t)=>{let n=Nr(e,t),r=zr(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},Hr=e=>e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),Ur=(e,t)=>{let n=chunkDBOOTED4_cjs.l(e,t);if(!n.valid)return n;let r=Dr(e,t);for(let o of nn)if(!r.has(o))return {valid:false,diagnostic:`missing required ${o} table`};return {valid:true}},rt=Ur,N=(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},Gr=(e,t,n)=>{if(t.length===0)return [];let r=[],o=0;for(;o<t.length;){let a=t[o].cluster,i=o+1,c=t[o].advanceX;for(;i<t.length&&t[i].cluster===a;)c+=t[i].advanceX,i+=1;let s=chunkDBOOTED4_cjs.n(c);r.push({textStart:a,textEnd:n==="rtl"?t[o-1]?.cluster??e.length:t[i]?.cluster??e.length,glyphStart:o,glyphEnd:i,advance:s,caretEdges:Object.freeze([chunkDBOOTED4_cjs.n(0),s]),fontSpan:0}),o=i;}return r},U=64,K=8,X=8,rn=32,ot=U+2*K,Wr=U+K+X,Kr=U+K+2*X,Xr=U+K+X,on=U+8*K,an=U+8*X+K,jr=U+6*X+K,Vr=U+3*X+2*K,Yr=U+3*X,de=e=>U+e.length*Uint16Array.BYTES_PER_ELEMENT,at=e=>Xr+de(e),le=e=>rn+e*K,$r=(e,t)=>ot+de(e)+Wr+at(t),qr=e=>on+de(e)+le(e.length)+e.length*an,Zr=e=>{let t=new Set(e.glyphs.map(n=>n.outline));return on+de(e.text)+le(e.glyphs.length)+e.glyphs.length*an+le(e.clusters.length)+e.clusters.length*jr+e.clusters.reduce((n,r)=>n+le(r.caretEdges.length),0)+le(e.fontSpans.length)+e.fontSpans.length*Vr+(e.exactAdvancesX===void 0?0:rn+e.exactAdvancesX.length*X)+Yr+[...t].reduce((n,r)=>n+at(r.path),0)},Jr=(e,t)=>ot+de(e)+Kr+t,tt=class{#e;#p;#f;#y;#m;#R;#h;#l=0;#F;#g;#S;#c;#b;#u;#t;#o=new Map;#i=new Map;#s=new Map;#n=new Map;#C=new we(()=>{this.#n.clear(),this.#r=0,this.#t?.onShapeCacheEvent?.(Object.freeze({kind:"cleared",retainedBytes:0}));});#a=0;#r=0;#x=0;#d;constructor(t,n){chunkDBOOTED4_cjs.p(this),this.#e=t,this.#p=N(n.maxFontBytes??mr,"maximum font bytes",Er),this.#f=N(n.maxInputUtf16??hr,"maximum input UTF-16 code units",Lr),this.#y=N(n.maxCodepoints??gr,"maximum input code points",Br),this.#m=N(n.maxGlyphs??Sr,"maximum shaped glyphs",Tr),this.#h=N(n.maxCachedFontBytes??64*1024*1024,"maximum cached font bytes",64*1024*1024),this.#R=N(n.maxCachedFaces??br,"maximum cached faces",Or),this.#F=N(n.maxCachedShapes??xr,"maximum cached shape results",wr),this.#g=N(n.maxOutlineBytes??Rr,"maximum outline bytes",Ir),this.#S=N(n.maxCachedOutlineBytes??Fr,"maximum cached outline bytes",Ar),this.#c=N(n.maxShapedRunBytes??Cr,"maximum shaped run bytes",Pr),this.#b=N(n.maxCachedShapeBytes??vr,"maximum cached shape bytes",_r),this.#u=n.instrumentation?.onFaceCacheEvent,this.#t=n.instrumentation,this.#d=new this.#e.Buffer;}dispose(){this.#o.clear(),this.#l=0,this.#i.clear(),this.#s.clear(),this.#n.clear(),this.#C.clear(),this.#a=0,this.#r=0,this.#t?.onOutlineCacheEvent?.(Object.freeze({kind:"cleared",retainedBytes:0})),this.#t?.onShapeCacheEvent?.(Object.freeze({kind:"cleared",retainedBytes:0})),this.#d=void 0;}#E(t,n){let r=this.#o.get(t.identity);if(r)return this.#o.delete(t.identity),this.#o.set(t.identity,r),this.#u?.(Object.freeze({kind:"hit",identity:t.identity})),r;let o=chunkDBOOTED4_cjs.j(t);for(let l of nn)if(!o.has(l))throw new B("malformedFont",{diagnostic:`missing required ${l} table`});this.#t?.onByteCopy?.();let a=new this.#e.Blob(Hr(n)),i=new this.#e.Face(a,t.faceIndex),c=new this.#e.Font(i),s=c.hExtents();if(!Number.isSafeInteger(i.upem)||i.upem<=0||!Number.isSafeInteger(s.ascender)||!Number.isSafeInteger(s.descender)||!Number.isSafeInteger(s.lineGap))throw new B("malformedFont",{diagnostic:"invalid font units or horizontal metrics"});c.setScale(i.upem,i.upem);let u={identity:t.identity,blob:a,face:i,font:c,unitsPerEm:i.upem,byteLength:n.byteLength};if(n.byteLength<=this.#h){for(;this.#o.size>=this.#R||this.#l+n.byteLength>this.#h;){let l=this.#o.keys().next().value;if(l===void 0)break;this.#l-=this.#o.get(l).byteLength,this.#o.delete(l),this.#u?.(Object.freeze({kind:"evicted",identity:l}));}this.#o.set(t.identity,u),this.#l+=n.byteLength;}return this.#u?.(Object.freeze({kind:"created",identity:t.identity})),u}#L(t,n){let r=this.#i.get(t.identity)?.get(n);if(r)return this.#s.delete(r),this.#s.set(r,void 0),this.#t?.onOutlineCacheEvent?.(Object.freeze({kind:"hit",retainedBytes:this.#a})),r.outline;this.#t?.onOutlinePathCall?.();let o=t.font.glyphToPath(n),a=at(o);if(a>this.#g)throw new B("outlineOverLimit",{limit:this.#g,actual:a});let i=Object.freeze({path:o,unitsPerEm:t.unitsPerEm}),c=$r(t.identity,o)+3*ot+2*X;if(c>this.#S)return this.#t?.onOutlineCacheEvent?.(Object.freeze({kind:"skipped",retainedBytes:this.#a})),i;for(;this.#a+c>this.#S;){let l=this.#s.keys().next().value;if(l===void 0)break;this.#s.delete(l);let d=this.#i.get(l.identity);d.delete(l.glyphId),d.size===0&&this.#i.delete(l.identity),this.#a-=l.bytes,this.#t?.onOutlineCacheEvent?.(Object.freeze({kind:"evicted",retainedBytes:this.#a}));}let s=this.#i.get(t.identity);s||this.#i.set(t.identity,s=new Map);let u={outline:i,bytes:c,identity:t.identity,glyphId:n};return s.set(n,u),this.#s.set(u,void 0),this.#a+=c,this.#t?.onOutlineCacheEvent?.(Object.freeze({kind:"created",retainedBytes:this.#a})),i}#v(t){if(t.length>this.#f)throw new B("textOverLimit",{limit:this.#f,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.#y)throw new B("codepointsOverLimit",{limit:this.#y,actual:n})}}shape(t){if(!this.#d)throw new B("disposed");if(chunkDBOOTED4_cjs.k(t.environment.font),t.environment.font.byteLength>this.#p)throw new B("fontOverLimit",{limit:this.#p,actual:t.environment.font.byteLength});this.#v(t.text);let n=qr(t.text);if(n>this.#c)throw new B("shapedRunOverLimit",{limit:this.#c,actual:n});let r=chunkDBOOTED4_cjs.r(t.environment),o=this.#C.keyOf(t,r),a=this.#n.get(o);if(a)return this.#x-a.stamp>=Math.max(1,this.#n.size>>1)&&(this.#n.delete(o),this.#n.set(o,a),a.stamp=++this.#x),this.#t?.onShapeCacheEvent?.(Object.freeze({kind:"hit",retainedBytes:this.#r})),a.run;if(this.#t?.onShapeCacheEvent?.(Object.freeze({kind:"miss",retainedBytes:this.#r})),r.shapingLibrary.name!==Q.name||r.shapingLibrary.version!==Q.version)throw new B("shapingLibraryMismatch");if(r.normalization!=="none")throw new B("unsupportedNormalization");if(!Number.isSafeInteger(t.bidiLevel)||t.bidiLevel<0||(t.bidiLevel&1)===1!=(r.direction==="rtl"))throw new B("invalidBidiLevel");if(Object.keys(r.variationAxes).length>0)throw new B("unsupportedVariationAxes");if(r.fallbackOrder.length>0)throw new B("unsupportedFallback");let i=chunkDBOOTED4_cjs.i(r.font),c=chunkDBOOTED4_cjs.j(r.font);if([...Mr].some(m=>c.has(m))&&!c.has("glyf")&&!c.has("CFF "))throw new B("unsupportedColorFont");let s=t.text;this.#v(s);let u=t.context?.before??"",l=t.context?.after??"",d=chunkDBOOTED4_cjs.o,g=Math.max(String(u).length,String(l).length);if(typeof u!="string"||typeof l!="string"||g>d)throw new B("textOverLimit",{limit:d,actual:g});try{let m=this.#E(r.font,i),{face:S,font:x}=m,f=this.#d;f.reset(),u||l?f.addText(u+s+l,u.length,s.length):f.addText(s),f.setDirection(r.direction==="rtl"?this.#e.Direction.RTL:this.#e.Direction.LTR),f.setScript(r.script),f.setLanguage(r.language),f.setClusterLevel(this.#e.ClusterLevel.MONOTONE_CHARACTERS);let h=Object.entries(r.features).map(([I,z])=>new this.#e.Feature(I,z));this.#t?.onShapeCall?.(),this.#e.shape(x,f,h);let b=f.getLength();if(b>this.#m)throw new B("glyphOverLimit",{limit:this.#m,actual:b});let R=f.getGlyphInfos(),F=f.getGlyphPositions(),v=Yt(S.upem,t.fontSizeHalfPoints,r.fixedPointScale,r.roundingMode),w=$t(S.upem,t.fontSizeHalfPoints,r.fixedPointScale),T=[],y=chunkDBOOTED4_cjs.n(0),p=chunkDBOOTED4_cjs.n(0),C=new Map,E=R.map((I,z)=>{let W=F[z];T.push(w(W?.xAdvance??0));let bt=v(W?.xAdvance??0),xt=v(W?.yAdvance??0),sr={id:I.codepoint,cluster:I.cluster-u.length,originX:y,originY:p,advanceX:bt,advanceY:xt,offsetX:v(W?.xOffset??0),offsetY:v(W?.yOffset??0),outline:C.get(I.codepoint)??(()=>{let Rt=this.#L(m,I.codepoint);return C.set(I.codepoint,Rt),Rt})()};return y=chunkDBOOTED4_cjs.n(y+bt),p=chunkDBOOTED4_cjs.n(p+xt),sr}),L=x.hExtents(),O=chunkDBOOTED4_cjs.u({text:s,direction:r.direction,bidiLevel:t.bidiLevel,glyphs:E,exactAdvancesX:T,clusters:Gr(s,E,r.direction),fontSpans:E.length===0?[]:[{glyphStart:0,glyphEnd:E.length,font:r.font,fallbackIndex:null}],metrics:{ascent:v(L.ascender),descent:v(-L.descender),lineGap:v(L.lineGap)}},r),M=Zr(O);if(M>this.#c)throw new B("shapedRunOverLimit",{limit:this.#c,actual:M});let A=Jr(o,M);if(A>this.#b)return this.#t?.onShapeCacheEvent?.(Object.freeze({kind:"skipped",retainedBytes:this.#r})),O;for(;this.#n.size>=this.#F||this.#r+A>this.#b;){let I=this.#n.keys().next().value;if(I===void 0)break;let z=this.#n.get(I);this.#n.delete(I),this.#r-=z.bytes,this.#t?.onShapeCacheEvent?.(Object.freeze({kind:"evicted",retainedBytes:this.#r}));}return this.#n.set(o,{run:O,bytes:A,stamp:++this.#x}),this.#r+=A,this.#t?.onShapeCacheEvent?.(Object.freeze({kind:"stored",retainedBytes:this.#r})),O}catch(m){throw m instanceof B?m:new B("malformedFont",{diagnostic:m instanceof Error?m.message:"HarfBuzz shaping failed"})}}},it=(e={})=>new tt(yr(),e);var st=Object.freeze({maxFontBytes:16*1024*1024,maxInputUtf16:1e6,maxCodepoints:1e6,maxGlyphs:1e6,maxCachedFaces:32,maxCachedFontBytes:64*1024*1024,maxCachedShapes:512,maxOutlineBytes:1024*1024,maxCachedOutlineBytes:16*1024*1024,maxShapedRunBytes:32*1024*1024,maxCachedShapeBytes:64*1024*1024}),Ja=Object.freeze({...st,maxCachedShapes:4096});function sn(e){let t={maxFontBytes:e.maxFontBytes,maxInputUtf16:e.maxInputUtf16,maxCodepoints:e.maxCodepoints,maxGlyphs:e.maxGlyphs,maxOutlineBytes:e.maxOutlineBytes,maxShapedRunBytes:e.maxShapedRunBytes},n=["docx-editor-layout-harfbuzz-execution-policy",1,Object.entries(t).sort(([r],[o])=>r<o?-1:r>o?1:0).map(([r,o])=>Object.freeze([r,o]))];return `layout-shaper-policy:sha256:${chunkWO4V6PNS_cjs.f(new TextEncoder().encode(JSON.stringify(n)))}`}function cn(e,t=st){let n=e?.maxFontBytes??t.maxFontBytes;if(!Number.isSafeInteger(n)||n<=0||n>chunkDBOOTED4_cjs.a)throw new RangeError(`Font shaping byte ceiling must be between 1 and ${chunkDBOOTED4_cjs.a}`);return n===t.maxFontBytes?t:Object.freeze({...t,maxFontBytes:n})}function ln(e,t,n=false){let r=false,o=Object.freeze({shape(a){if(r)throw new B("disposed");let i=a.environment.font;if(chunkDBOOTED4_cjs.k(i),i.byteLength>t.maxFontBytes)throw new B("fontOverLimit",{limit:t.maxFontBytes,actual:i.byteLength});return e.shape(a)},dispose(){r||(r=true,n&&e.dispose?.());}});return chunkDBOOTED4_cjs.q(e)?chunkDBOOTED4_cjs.p(o):o}var Qr=Object.freeze({}),un=chunkDBOOTED4_cjs.b,eo="16.0.0",to="none",no=1e3,ro="halfToEven",fn="cluster-edges-only",oo="Latn",ao=new Uint8Array(0);var j=class extends Error{code="overLimit";constructor(t){super(t),this.name="LayoutShapingConfigurationError";}};function io(e,t){let n=e.epoch,r=e.maxFontBytes,o=e.sources,a=e.substitutions,i=e.defaultFont,c=e.language;if(!Number.isSafeInteger(r)||r<=0||r>chunkDBOOTED4_cjs.a)throw new j(`Font byte ceiling must not exceed the engine hard maximum of ${chunkDBOOTED4_cjs.a}`);let s=o.length,u=a?.length??0;if(s===0||s>chunkDBOOTED4_cjs.b)throw new j(`Font source count must be between 1 and ${chunkDBOOTED4_cjs.b}`);if(u>un)throw new j(`Font substitution count must not exceed ${un}`);let l=0,d=[];for(let S=0;S<s;S+=1){let x=o[S],f=x.request,h=x.availability,b=x.id,R=x.hash,F=x.faceIndex,v=h==="forbidden",w=v?ao:x.bytes;if(!v){if(typeof b!="string"||b.length===0)throw new TypeError("Resolved font id must not be empty");let T;try{T=chunkDBOOTED4_cjs.e(w);}catch{throw new j(`Font source ${b} must provide genuine bytes`)}if(T>r)throw new j(`Font source ${b} exceeds the per-font byte ceiling`);if(l+=T,l>chunkDBOOTED4_cjs.c)throw new j(`Font sources exceed the aggregate byte ceiling of ${chunkDBOOTED4_cjs.c}`)}d.push(t&&chunkDBOOTED4_cjs.g(x)!==void 0?x:Object.freeze({request:Object.freeze({family:f.family,weight:f.weight,style:f.style}),id:b,bytes:w,hash:R,faceIndex:F,...h?{availability:h}:{}}));}let g;if(a){g=[];for(let S=0;S<u;S+=1){let x=a[S],f=x.from,h=x.to,b=x.lineMetrics;g.push(Object.freeze({from:Object.freeze({family:f.family,weight:f.weight,style:f.style}),to:Object.freeze({family:h.family,weight:h.weight,style:h.style}),...b?{lineMetrics:Object.freeze({heightEm:b.heightEm,baselineEm:b.baselineEm})}:{}}));}}let m={epoch:n,maxFontBytes:r,sources:Object.freeze(d),substitutions:g?Object.freeze(g):void 0,defaultFont:Object.freeze({family:i.family,sizeHalfPoints:i.sizeHalfPoints}),language:c};return Object.freeze(m)}function dn(e,t){let n=e.map((o,a)=>({value:o,index:a,key:chunkDBOOTED4_cjs.h(t(o))})),r=new Set;for(let o of n){if(r.has(o.key))return e;r.add(o.key);}return n.sort((o,a)=>o.key<a.key?-1:o.key>a.key?1:o.index-a.index).map(({value:o})=>o)}function so(e,t){let n={family:e.family},r={sizeHalfPoints:e.sizeHalfPoints};return {...n,...t?r:{}}}function pn(e,t){let n=s=>({family:s.family,weight:s.weight,style:s.style}),r=t?e.sources:dn(e.sources,s=>s.request),o=e.substitutions??[],a=t?o:dn(o,s=>s.from),i={sources:r.map(s=>{let u=s.availability??"available",l={request:n(s.request),availability:u};if(u==="forbidden")return {...l,...t?{id:s.id,faceIndex:s.faceIndex,declaredHash:s.hash}:{}};let d=chunkDBOOTED4_cjs.g(s);if(d==null)throw new TypeError("Font configuration identity requires prepared source bytes");return {...l,...t?{id:s.id}:{},faceIndex:s.faceIndex,declaredHash:s.hash,actualHash:d,byteLength:s.bytes.byteLength}}),substitutions:a.map(s=>({from:n(s.from),to:n(s.to),lineMetrics:s.lineMetrics?{heightEm:s.lineMetrics.heightEm,baselineEm:s.lineMetrics.baselineEm}:null})),defaultFont:so(e.defaultFont,t),language:e.language||"en"},c={epoch:e.epoch,maxFontBytes:e.maxFontBytes};return {version:1,...t?c:{},...i}}var co=Symbol("prepared-layout-font-configuration"),Ie=new WeakMap;function lo(e){return Ie.has(e)}function uo(e){let t=Ie.get(e);if(!t)throw new TypeError("Invalid prepared layout font configuration");return t.configuration}function ui(e){let t=Ie.get(e);if(!t)throw new TypeError("Invalid prepared layout font configuration");return t.sharedShapingFingerprint}function ct(e,t){return yn(e,t,false)}function di(e,t){return yn(e,t,true)}function yn(e,t,n){let r=io(e,n),o=Object.freeze({epoch:r.epoch,maxFontBytes:r.maxFontBytes,sources:Object.freeze(r.sources.map(d=>n&&chunkDBOOTED4_cjs.g(d)!==void 0?d:chunkDBOOTED4_cjs.f(d,{onOwnedByteCopy:t?.onFontByteCopy,onHash:t?.onFontHash}))),substitutions:r.substitutions,defaultFont:r.defaultFont,language:r.language}),a=new TextEncoder,i=pn(o,true),c=a.encode(JSON.stringify(i)),s=pn(o,false),u=a.encode(JSON.stringify(s)),l=Object.freeze({[co]:true,fingerprint:`font-config:${chunkWO4V6PNS_cjs.f(c)}`});return Ie.set(l,{configuration:o,sharedShapingFingerprint:`shared-font-config:${chunkWO4V6PNS_cjs.f(u)}`}),l}function po(e){return ct(e).fingerprint}function fo(e,t){let n=new TextEncoder().encode(JSON.stringify({version:1,environment:e,executionPolicy:sn(t),ligatureCaretPolicy:fn,fallback:chunkDBOOTED4_cjs.ia}));return `shaping:${chunkWO4V6PNS_cjs.f(n)}`}async function mn(e,t,n,r,o=false){let i=lo(e)?e:ct(e,t),c=uo(i),{epoch:s,maxFontBytes:u,sources:l,substitutions:d,defaultFont:g}=c,m=c.language||"en",S=i.fingerprint,x=chunkDBOOTED4_cjs.m({epoch:s,maxFontBytes:u,resources:l,substitutions:d,validateFont:rt,instrumentation:{onOwnedByteCopy:t?.onFontByteCopy,onHash:t?.onFontHash,onAdmission:t?.onFontAdmission}});await nt();let f=Object.freeze({script:oo,variationAxes:Object.freeze({}),shapingLibrary:Q,unicodeDataVersion:eo,normalization:to,language:m,features:Qr,...o?{documentLigatures:true}:{},fixedPointScale:no,roundingMode:ro});return Object.freeze({fonts:x,shaper:ln(n??it(r),r,n===void 0),defaultFont:g,environment:f,ligatureCaretPolicy:fn,operation:Object.freeze({resourceEpoch:x.epoch,configEpoch:s,extensionFingerprint:S,shapingHash:fo(f,r),producerVersion:1})})}async function yo(e,t,n){return mn(e,t,void 0,cn(n))}async function pi(e,t,n,r,o=false){return mn(e,r,t,n,o)}function mo(e){e.shaper.dispose?.();}function lt(e){let t=new Set([0,e.text.length]);for(let r of chunkDBOOTED4_cjs.oa(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 Ae(e,t){return lt(e).includes(t)}function ho(e,t){return Ae(e,t)}function go(e,t,n){return n>=t&&Ae(e,t)&&Ae(e,n)}function So(e){let t=chunkDBOOTED4_cjs.oa(e.text);return lt(e).map(n=>n===e.text.length?t.length:t.findIndex(r=>r.utf16From===n))}var dt="und";function bn(){return typeof Intl.Segmenter=="function"}function bo(){let e=Intl.Segmenter;if(typeof e!="function")throw new Error(`Intl.Segmenter is required for word segmentation (locale: ${dt})`);return e}function xn(){let e=new(bo())(dt,{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 xo=/^[\p{L}\p{N}']$/u,Ro=/^\s$/u;function hn(e){return xo.test(e)}function gn(e){return Ro.test(e)}function ut(e,t,n,r){let o=e[t],a=e[n-1];return {utf16From:o.utf16From,utf16To:a.utf16To,wordLike:r}}function Rn(e){let t=chunkDBOOTED4_cjs.oa(e);if(t.length===0)return [];let n=[],r=0;for(;r<t.length;){let o=t[r];if(gn(o.text)){let a=r+1;for(;a<t.length&&gn(t[a].text);)a+=1;n.push(ut(t,r,a,false)),r=a;continue}if(hn(o.text)){let a=r+1;for(;a<t.length&&hn(t[a].text);)a+=1;n.push(ut(t,r,a,true)),r=a;continue}n.push(ut(t,r,r+1,false)),r+=1;}return n}function Fn(){return {segment:Rn}}function Cn(e={}){let t=e.isIntlAvailable??bn,n=e.createIntlBoundary??xn,r=e.createFallbackBoundary??Fn;if(!t())return r();try{return n()}catch{return r()}}var Sn;function vn(){return Sn??=Cn(),Sn}function Fo(e,t=vn()){return t.segment(e)}function Co(e,t){return t.map(n=>({graphemeFrom:chunkDBOOTED4_cjs.sa(e,n.utf16From),graphemeTo:chunkDBOOTED4_cjs.sa(e,n.utf16To),wordLike:n.wordLike}))}var En={resourceEpoch:"resource-scoped",configEpoch:"coarse-gate",extensionFingerprint:"coarse-gate",shapingHash:"coarse-gate",producerVersion:"coarse-gate"},yt=Object.keys(En),Ln=yt.filter(e=>En[e]==="coarse-gate"),Pe=(e,t)=>{if(!Number.isSafeInteger(e)||e<0)throw new RangeError(`${t} must be a non-negative safe integer`)},ne=(e,t)=>{if(e.trim().length===0)throw new TypeError(`${t} must not be blank`)},vo={resourceEpoch:Pe,configEpoch:Pe,extensionFingerprint:ne,shapingHash:ne,producerVersion:Pe},Eo=(e,t)=>{vo[t](e[t],t);},re=e=>{for(let t of yt)Eo(e,t);return Object.freeze({resourceEpoch:e.resourceEpoch,configEpoch:e.configEpoch,extensionFingerprint:e.extensionFingerprint,shapingHash:e.shapingHash,producerVersion:e.producerVersion})},Lo=(e,t)=>{let n=re(e),r=re(t),o=yt.filter(a=>n[a]!==r[a]);return o.length===0?Object.freeze({status:"current"}):Object.freeze({status:"restart",changed:Object.freeze(o)})},pt=e=>{let t=e.map(({key:n,fingerprint:r})=>(ne(n,"resource dependency key"),ne(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)},Bo=e=>(Pe(e.revision,"revision"),ne(e.dependencyFingerprint,"dependencyFingerprint"),ne(e.inputFingerprint,"inputFingerprint"),Object.freeze({revision:e.revision,dependencyFingerprint:e.dependencyFingerprint,inputFingerprint:e.inputFingerprint,resourceDependencies:pt(e.resourceDependencies),...re(e)})),To=(e,t)=>{let n=pt(e),r=pt(t),o=Math.max(n.length,r.length);for(let a=0;a<o;a+=1){let i=n[a],c=r[a];if(i?.key!==c?.key||i?.fingerprint!==c?.fingerprint)return {hit:false,reason:"resource-changed",resourceKey:i?.key??c.key}}return null};function Oo(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=To(e.resourceDependencies,t.resourceDependencies);if(n)return n;for(let r of Ln)if(e[r]!==t[r])return {hit:false,reason:"epoch-changed",epoch:r};return null}var ft=class{entries=new Map;get(t,n){let r=this.entries.get(t);if(!r)return {hit:false,reason:"absent"};let o=Oo(r.provenance,n);return o||{hit:true,value:r.value,provenance:r.provenance}}set(t,n,r){this.entries.set(t,{value:n,provenance:Bo(r)});}evictEpoch(t){let n=re(t),r=0;for(let[o,a]of this.entries){let i=a.provenance;Ln.some(c=>i[c]!==n[c])&&(this.entries.delete(o),r+=1);}return r}evictResources(t,n){let r=re(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}};function Bn(e){return e.projected===true?null:e.range}function Io(e,t,n){let{page:r,story:o,host:a,noteScopeId:i,noteAreaKind:c}=e,s=o==="header"||o==="footer"?u=>chunkDBOOTED4_cjs.ya(u,e.origin,{x:r.box.x,y:r.box.y}):void 0;chunkDBOOTED4_cjs.Ha(a,(u,l)=>{let{textboxDepth:d,textboxOwner:g,textboxPath:m,storyOrigin:S}=l,x=d===0?o:"textbox";for(let f of u.lines){let h=[...chunkDBOOTED4_cjs.Na(f)].sort((b,R)=>(t.get(b.paragraphId)??Number.MAX_SAFE_INTEGER)-(t.get(R.paragraphId)??Number.MAX_SAFE_INTEGER));for(let b of h)for(let R of b.spans)n({page:r,story:x,rootStory:o,root:e,storyOrigin:S,absoluteBox:Object.freeze({x:S.x+R.box.x,y:S.y+R.box.y,width:R.box.width,height:R.box.height}),noteScopeId:i,noteAreaKind:c,textboxDepth:d,textboxOwner:g,textboxPath:m,paragraph:u,paragraphId:b.paragraphId,line:f,span:R,sourceRange:Bn(R)});}},e.origin,s);}function Ao(e,t){let n=new Map(chunkDBOOTED4_cjs.Ua(e).map((r,o)=>[r,o]));chunkDBOOTED4_cjs.Ea(e,r=>Io(r,n,t));}var _o=1,Tn=4,Y=Object.freeze({top:0,right:0,bottom:0,left:0}),On=new WeakMap;function Mo(e,t){let n=zo(e);return n===Y?t:chunkDBOOTED4_cjs.Me(t,n)}function zo(e){let t=e.vectorShape;if(!t)return Y;let{cx:n,cy:r}=t.extentEmu;if(!(n>=0)||!(r>=0)||n===0&&r===0)return Y;let o=On.get(t);if(o||(o=ko(t),On.set(t,o)),o===Y)return Y;let a=e.paintBounds,i=e.geometry.contentBounds;if(!(a.width>0||i.width<=0)||!(a.height>0||i.height<=0))return Y;let c=n>0?i.width/n:i.height/r,s=r>0?i.height/r:i.width/n,u=(d,g,m)=>{if(m<-1e-3)return 0;let S=d*g-Math.max(0,m);return Number.isFinite(S)&&S>0?S:0},l={left:u(o.left,c,i.x-a.x),top:u(o.top,s,i.y-a.y),right:u(o.right,c,a.x+a.width-(i.x+i.width)),bottom:u(o.bottom,s,a.y+a.height-(i.y+i.height))};return l.left||l.top||l.right||l.bottom?Object.freeze(l):Y}function ko(e){let{cx:t,cy:n}=e.extentEmu,r=0,o=0,a=t,i=n,c=(l,d)=>{r=Math.min(r,l),a=Math.max(a,l),o=Math.min(o,d),i=Math.max(i,d);},s=_o,u=l=>l.x>=-s&&l.x<=t+s&&l.y>=-s&&l.y<=n+s;for(let l of e.components){if(l.strokeHex===null||l.strokeInset===true)continue;let d=Math.max(1,chunkDBOOTED4_cjs.Le(l.strokeWidthEmu))/2;l.subpathsEmu.forEach((g,m)=>{let S=l.subpathsClosed?.[m]!==false,x=No(g,S),f=S&&x.length>2?x.length:x.length-1,h=[];for(let R=0;R<f;R+=1){let F=x[R],v=x[(R+1)%x.length],w=Math.hypot(v.x-F.x,v.y-F.y),T={x:-(v.y-F.y)/w,y:(v.x-F.x)/w};if(h.push(T),!!Do(F,v,-s,t+s,-s,n+s))for(let y=0;y<2;y+=1){let p=V[y],C=F.x+(v.x-F.x)*p,E=F.y+(v.y-F.y)*p;c(C+T.x*d,E+T.y*d),c(C-T.x*d,E-T.y*d);}}if(!S&&h.length&&(l.strokeCap==="round"||l.strokeCap==="square")){for(let[R,F,v]of [[x[0],h[0],-1],[x[x.length-1],h[h.length-1],1]])if(u(R))if(l.strokeCap==="round")c(R.x-d,R.y-d),c(R.x+d,R.y+d);else {let w=R.x+v*F.y*d,T=R.y-v*F.x*d;c(w+F.x*d,T+F.y*d),c(w-F.x*d,T-F.y*d);}}let b=S&&x.length>2?h.length:h.length-1;for(let R=0;R<b;R+=1){let F=x[(R+1)%x.length];if(!u(F))continue;if(l.strokeJoin==="round"){c(F.x-d,F.y-d),c(F.x+d,F.y+d);continue}if(l.strokeJoin==="bevel")continue;let v=h[R],w=h[(R+1)%h.length],T=1+v.x*w.x+v.y*w.y;if(T<2/(Tn*Tn))continue;let y=v.y*-w.x- -v.x*w.y;if(y===0)continue;let p=y>0?-1:1;c(F.x+p*(v.x+w.x)*d/T,F.y+p*(v.y+w.y)*d/T);}});for(let g of l.arrowheadsEmu??[])if(!(!g[0]||!u(g[0])))for(let m of g)c(m.x,m.y);}return r>=0&&o>=0&&a<=t&&i<=n?Y:Object.freeze({left:-r,top:-o,right:a-t,bottom:i-n})}function No(e,t){let n=[];for(let a of e){let i=n[n.length-1];(!i||i.x!==a.x||i.y!==a.y)&&n.push(a);}let r=n[0],o=n[n.length-1];return t&&n.length>1&&r.x===o.x&&r.y===o.y&&n.pop(),n}var V=new Float64Array(2);function Do(e,t,n,r,o,a){let i=t.x-e.x,c=t.y-e.y;return V[0]=0,V[1]=1,_e(-i,e.x-n)&&_e(i,r-e.x)&&_e(-c,e.y-o)&&_e(c,a-e.y)}function _e(e,t){if(e===0)return t>=0;let n=t/e;return e<0?V[0]=Math.max(V[0],n):V[1]=Math.min(V[1],n),V[0]<=V[1]}var Ho=new Map([["roman","serif"],["swiss","sans"],["modern","mono"]]);function Bi(e,t){return t==="fixed"?"mono":e?Ho.get(e):void 0}var Uo=new Map([["calibri","sans"],["arial","sans"],["helvetica","sans"],["verdana","sans"],["tahoma","sans"],["segoe ui","sans"],["aptos","sans"],["century gothic","sans"],["carlito","sans"],["cambria","serif"],["times new roman","serif"],["georgia","serif"],["garamond","serif"],["book antiqua","serif"],["palatino linotype","serif"],["caladea","serif"],["courier new","mono"],["consolas","mono"]]);function wn(e){let t=e.trim().toLowerCase(),n=Uo.get(t);if(n)return n;let r=t.split(/[\s_-]+/);if(r.includes("mono")||r.includes("monospace")||r.includes("courier"))return "mono";if(r.includes("sans"))return "sans";if(r.includes("serif")||r.includes("roman"))return "serif"}var Ti={serif:"Times New Roman",sans:"Arial",mono:"Courier New"};var mt="Calibri, Carlito, Helvetica, Arial, sans-serif",Go='"Times New Roman", "Liberation Serif", Tinos, serif',Wo='"Courier New", "Liberation Mono", Cousine, monospace';function Ko(e,t=mt){if(!e)return t;let n=wn(e);return n==="serif"?Go:n==="mono"?Wo:t}var Mi=new Map([["calibri","Carlito"]]),Xo=65536,jo=256;function In(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 An(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 Pn=/^[\p{L}\p{N}\p{M} \-.+_,;]{1,64}$/u;function _n(e=null){return e!=null&&typeof e.measureText=="function"}function Mn(e={}){let t=e.scale??1;if(!(t>0)||!Number.isFinite(t))return null;let n=e.fallbackFamily??mt,r=e.context??null;if(!_n(r))return null;let o=r,a=An(In(e.maxWidthEntries,Xo)),i=An(In(e.maxMetricsEntries,jo)),c=e.fontAlias,s=l=>{let d=l.fontFamily&&Pn.test(l.fontFamily)?l.fontFamily:null,g=d?c?.(d):void 0,m=g&&Pn.test(g)?g:null,S=Ko(d,n),x=d?m?`"${m}", "${d}", ${S}`:`"${d}", ${S}`:n,f=l.bold?"bold":"normal",h=l.italic?"italic":"normal",b=l.smallCaps?"small-caps":"normal",R=l.fontSizePt*chunkDBOOTED4_cjs.ha(l)*t;return `${h} ${b} ${f} ${R}px ${x}`},u=(l,d,g)=>l/t*(g.horizontalScalePercent/100)+d.length*g.characterSpacingPt;return {measure(l,d){if(l.length===0)return 0;let g=s(d),m=`${g}\0${chunkDBOOTED4_cjs.fd(d)}\0${l}`,S=a.get(m);if(S!==void 0)return u(S,l,d);o.font=g,"fontKerning"in o&&(o.fontKerning=chunkDBOOTED4_cjs.fd(d)?"normal":"none");let x=o.measureText(l).width;return a.set(m,x),u(x,l,d)},inkBounds(l,d){if(!l||l.length>2||d.shaping?.direction==="rtl"||chunkDBOOTED4_cjs.oa(l).length!==1)return;o.font=s(d),"fontKerning"in o&&(o.fontKerning=chunkDBOOTED4_cjs.fd(d)?"normal":"none");let g=o.textAlign,m=o.direction,S;try{g!==void 0&&(o.textAlign="left"),m!==void 0&&(o.direction="ltr"),S=o.measureText(l);}finally{g!==void 0&&(o.textAlign=g),m!==void 0&&(o.direction=m);}let x=S.actualBoundingBoxLeft,f=S.actualBoundingBoxRight;if(x===void 0||f===void 0||!Number.isFinite(x)||!Number.isFinite(f))return;let h=d.horizontalScalePercent/(100*t);return {left:-x*h,right:f*h}},textOutline(l,d){if(!l||d.shaping?.direction==="rtl")return;o.font=s(d),"fontKerning"in o&&(o.fontKerning=chunkDBOOTED4_cjs.fd(d)?"normal":"none");let g=o.textAlign,m=o.textBaseline,S;try{g!==void 0&&(o.textAlign="left"),m!==void 0&&(o.textBaseline="alphabetic"),S=o.measureText(l);}finally{g!==void 0&&(o.textAlign=g),m!==void 0&&(o.textBaseline=m);}let x=[-(S.actualBoundingBoxLeft??NaN),-(S.actualBoundingBoxAscent??NaN),S.actualBoundingBoxRight??NaN,S.actualBoundingBoxDescent??NaN].map(F=>F/t);if(x.some(F=>!Number.isFinite(F)))return;let[f,h,b,R]=x;if(!(!(b>f)||!(R>h)))return {path:null,ink:{left:f,top:h,right:b,bottom:R}}},lineMetrics(l){let d=l.fontSizePt*chunkDBOOTED4_cjs.ha(l),g=s(l),m=i.get(g);if(m)return m;let S=d*1.15,x=d*.8;o.font=g,"fontKerning"in o&&(o.fontKerning=chunkDBOOTED4_cjs.fd(l)?"normal":"none");let f=o.measureText("Hxg"),h=f.fontBoundingBoxAscent,b=f.fontBoundingBoxDescent;if(typeof h=="number"&&Number.isFinite(h)&&h>0&&(x=h/t,typeof b=="number"&&Number.isFinite(b)&&b>=0)){let F=(h+b)/t;F>0&&(S=Math.max(F,S));}S>0||(S=d*1.15);let R={height:S,baseline:x};return i.set(g,R),R}}}function Vo(e=1,t={}){let n=Mn({...t,scale:t.scale??e});return n?{measurer:n,producer:t.fontAlias?"canvas-measurer+embedded":"canvas-measurer"}:{measurer:chunkDBOOTED4_cjs.ja(),producer:"fixed-measurer"}}function Yo(e){let t;return n=>{t===void 0&&(t=chunkDBOOTED4_cjs.ic(e.pages)?.hosts??null);let r=t?.get(n);return r?chunkDBOOTED4_cjs.gc(r.pageNumber,r.format):null}}function zn(e,t){let n=chunkDBOOTED4_cjs.td(e,t.displayMode??chunkDBOOTED4_cjs.$a),r=chunkDBOOTED4_cjs.Bc({numberingIndex:t.numberingIndex,styleCascade:t.styleCascade},n).listItems,o=t.package?{footnotesPart:chunkWO4V6PNS_cjs.lh(t.package,"footnote"),endnotesPart:chunkWO4V6PNS_cjs.lh(t.package,"endnote")}:void 0,a=chunkDBOOTED4_cjs.Xc(n,r,o,t.package?chunkDBOOTED4_cjs.Uc(t.package,e,n):void 0,t.displayMode??chunkDBOOTED4_cjs.$a);return {blocks:n,notes:o,context:a}}function kn(e,t,n,r,o){for(let a of t){if(r.length>=chunkWO4V6PNS_cjs.pl)return;if(n.tokenForParagraph(a.id)!==""&&chunkWO4V6PNS_cjs.sl(e,a.id)===null)for(let i of chunkWO4V6PNS_cjs.rl(a)){if(r.length>=chunkWO4V6PNS_cjs.pl)return;if(!i.rewritable)continue;let c=chunkDBOOTED4_cjs.dc(i.instruction);if(c===null)continue;let s=n.liveValueOf(i.fieldNodeId,c);if(s===null&&o&&n.pageRefProjectionOf){let u=n.pageRefProjectionOf(i.fieldNodeId,c);if(u){let l=o(u.targetParagraphId);l!==null&&l.length>0&&chunkDBOOTED4_cjs.hc(u.calibration,u.cached,l,Number.NaN)&&(s=l);}}s===null||s===i.cachedText||s.length>chunkWO4V6PNS_cjs.ql||s.includes("\r")||r.push({paragraphId:a.id,fieldNodeId:i.fieldNodeId,text:s});}}}function $o(e,t){let{blocks:n,context:r}=zn(e,t);if(r===null)return null;let o=[];return kn(e,chunkDBOOTED4_cjs.fc(chunkDBOOTED4_cjs.vc(n)),r,o,t.pageRefPageNumberOf),o.length===0?null:{op:"refreshFieldResults",updates:o}}function ji(e,t){let{notes:n,context:r}=zn(e,t);if(r===null||n===void 0)return [];let o=[],a=[{noteKind:"footnote",notesPart:n.footnotesPart},{noteKind:"endnote",notesPart:n.endnotesPart}];for(let{noteKind:i,notesPart:c}of a){if(!c)continue;let s=[];for(let u of chunkDBOOTED4_cjs.Vc(c,t.displayMode??chunkDBOOTED4_cjs.$a)){if(s.length>=chunkWO4V6PNS_cjs.pl)break;kn(c,chunkDBOOTED4_cjs.fc(chunkDBOOTED4_cjs.vc(u)),r,s);}s.length>0&&o.push({noteKind:i,op:{op:"refreshFieldResults",updates:s}});}return o}function qo(e){return e.box}function Nn(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)Nn(o,t);}function Zo(e){let t=new Map,n=(o,a,i)=>{if(!(o.kind==="textValue"||i>chunkWO4V6PNS_cjs.Nb*4)){for(let c of o.children)if(c.kind!=="textValue"){if(c.kind==="paragraph"){for(let s of r)t.get(s)?.push(c.id);n(c,c.id,i+1);continue}if(c.kind==="contentControl"){t.set(c.id,[]),r.push(c.id);let s=chunkWO4V6PNS_cjs.Xb(c);s&&n(s,a,i+1),r.pop();let u=t.get(c.id);u&&u.length===0&&a!==null&&u.push(a);continue}n(c,a,i+1);}}},r=[];return n(e,null,0),t}function Jo(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 Qo(e,t){let n=chunkWO4V6PNS_cjs.$b(e.root);if(n.length===0)return ea;let r=new Map;t.pages.forEach((i,c)=>{(u=>{for(let l of u){let d=new Set;Nn(l,d);for(let g of d){let m=r.get(g)??[];m.push({pageIndex:c,box:qo(l)}),r.set(g,m);}}})(i.fragments);});let o=Zo(e.root),a=[];for(let i of n){let c=chunkWO4V6PNS_cjs.Zb(i.node),s=[...i.ancestors.map(g=>chunkWO4V6PNS_cjs.Zb(g).lock),c.lock],u=o.get(i.node.id)??[],l=new Map;for(let g of u)for(let m of r.get(g)??[]){let S=l.get(m.pageIndex);l.set(m.pageIndex,S?Jo(S,m.box):m.box);}let d=[...l.entries()].sort((g,m)=>g[0]-m[0]).map(([g,m])=>({pageIndex:g,...m}));a.push({controlId:i.node.id,type:c.type,level:chunkWO4V6PNS_cjs._b(i.node),depth:i.depth,lock:c.lock,effectiveLock:chunkWO4V6PNS_cjs.cc(s),showingPlaceholder:c.showingPlaceholder,temporary:c.temporary,...c.tag===void 0?{}:{tag:c.tag},...c.alias===void 0?{}:{alias:c.alias},...c.id===void 0?{}:{id:c.id},...c.dataBinding===void 0?{}:{dataBinding:c.dataBinding},paragraphIds:u,fragments:d});}return a}var ea=Object.freeze([]);function Un(e,t,n){for(let r of e.lines??[]){let o=r.spans;if(!o){if(n<r.range.end)return r.box.y;continue}let a=0,i=0;for(let c of o)c.range.paragraphId===t&&(a+=1,i=c.range.end);if(a===o.length?n<r.range.end:a>0&&n<i)return r.box.y}return e.fragmentY}function da(e,t){let n=new Map;for(let r of e.pages)for(let[o,a]of pa(r,t))n.has(o)||n.set(o,a);return n}var Dn=new WeakMap;function pa(e,t){let n=Dn.get(t);n||(n=new WeakMap,Dn.set(t,n));let r=n.get(e);if(r)return r;let o=new Map;for(let a of t(e)){let i=new Set([a.paragraphId]);for(let c of a.lines??[])for(let s of c.spans??[])i.add(s.range.paragraphId);for(let c of i)o.has(c)||o.set(c,{pageIndex:e.index,contentY:e.contentBox.y,fragmentY:a.box.y,...a.lines?{lines:a.lines}:{}});}return n.set(e,o),o}function fa(e,t){let n=chunkWO4V6PNS_cjs.Sj(e);if(!n)return null;let r=t.get(n.start.paragraphId);if(!r)return null;let o=Hn.get(e);if(o?.anchor===r)return o.geometry;let a={pageIndex:r.pageIndex,y:r.contentY+Un(r,n.start.paragraphId,n.start.offset)};return Hn.set(e,{anchor:r,geometry:a}),a}var Hn=new WeakMap;var Gn=new WeakMap;function ya(e){let t=Gn.get(e);if(t!==void 0)return t;let n=chunkDBOOTED4_cjs.i(e),r=new DataView(n.buffer,n.byteOffset,n.byteLength),o=false,a=r.getUint32(0)===1953784678?r.getUint32(12+e.faceIndex*4):0,i=r.getUint16(a+4);for(let c=0;c<i;c++){let s=a+12+c*16;if(r.getUint32(s)!==1330851634)continue;let u=r.getUint32(s+8),l=r.getUint32(s+12);l>=86&&u<=n.byteLength-l&&r.getUint16(u)>=1&&(o=(r.getUint32(u+78)&1966080)!==0);break}return Gn.set(e,o),o}function Wn(e,t,n,r,o){let a=n.height-r;if(Math.abs(a-t)>o||!ya(e))return n;let i=Math.max(n.height,t*1.3),c=n.baseline-r;return {height:i,baseline:c+(i-a)/2}}var ma="abcdefghijklmnopqrstuvwxyz";function D(e){let t=Math.round(e.fontSizePt*2);return Math.max(1,t)}function G(e,t,n,r,o){let a=r.shaping?.context;return e.shape({text:o,fontSizeHalfPoints:D(r),bidiLevel:r.shaping?.direction==="rtl"?1:0,environment:ha(t,n,r),...a?{context:a}:{}})}var Kn=new WeakMap;function ha(e,t,n){if(!Object.isFrozen(e)||!Object.isFrozen(e.features)||!Object.isFrozen(e.variationAxes)||!Object.isFrozen(e.shapingLibrary))return Xn(e,t,n);let r=n.shaping?.direction??"ltr",o=n.shaping?.script,a=`${r}|${o??""}|${chunkDBOOTED4_cjs.fd(n)?1:0}|${e.documentLigatures?chunkDBOOTED4_cjs.F(n):""}|${n.smallCaps?1:0}`,i=Kn.get(e);i||Kn.set(e,i=new WeakMap);let c=i.get(t);c||i.set(t,c=new Map);let s=c.get(a);return s||c.set(a,s=Xn(e,t,n)),s}function Xn(e,t,n){return chunkDBOOTED4_cjs.r({...e,font:t,direction:n.shaping?.direction??"ltr",script:n.shaping?.script==="Zyyy"?e.script:n.shaping?.script??e.script,features:{...e.features,kern:chunkDBOOTED4_cjs.fd(n)?1:0,...e.documentLigatures?chunkDBOOTED4_cjs.E(n):{},...n.smallCaps?{smcp:1}:{}},fallbackOrder:[]})}function Me(e,t,n,r,o){let a=o.get(n);if(a!==void 0)return a;let i=true;try{for(let c of ma){let s=G(e,t,n,{...r,smallCaps:!0},c),u=G(e,t,n,{...r,smallCaps:!1},c);if(!(s.glyphs.length!==u.glyphs.length||s.glyphs.some((d,g)=>d.id!==u.glyphs[g]?.id))){i=!1;break}}}catch{i=false;}return o.set(n,i),i}function jn(e,t,n,r,o){let a=new WeakMap;return (i,c)=>{let s=chunkDBOOTED4_cjs.ha(c),u=a.get(i);u||(u=new Map,a.set(i,u));let l=D(c),d=u.get(l);if(d)return s===1?d:{height:d.height*s,baseline:d.baseline*s};let g,m=true,S=i.substitution?.lineMetrics;if(S){let x=l/2;g={height:S.heightEm*x,baseline:S.baselineEm*x};}else try{let x=G(e,t,i,c,""),f=x.metrics.ascent/t.fixedPointScale,h=x.metrics.descent/t.fixedPointScale,b=l/2,R=f+h,F=b*r,v=R>F?F/R:1,w=R*v,T=Math.min(Math.max(0,x.metrics.lineGap/t.fixedPointScale),w*o),y=w+T;y>0?g=Wn(i,b,{height:y,baseline:f*v+T},T,2/t.fixedPointScale):(g=n.lineMetrics(c),m=!1);}catch{g=n.lineMetrics(c),m=false;}return m?(u.set(l,g),s===1?g:{height:g.height*s,baseline:g.baseline*s}):g}}var ht=2048,ga=32,Sa=new Map([["symbol",{ascent:2059,descent:450,advances:[512,682,1460,1024,1124,1706,1593,899,682,682,1024,1124,512,1124,512,569,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,569,569,1124,1124,1124,909,1124,1479,1366,1479,1253,1251,1563,1235,1479,682,1292,1479,1405,1821,1479,1479,1573,1518,1139,1212,1251,1413,899,1573,1321,1628,1251,682,1767,682,1348,1024,1024,1292,1124,1124,1012,899,1067,842,1235,674,1235,1124,1124,1180,1067,1124,1124,1067,1124,1235,899,1180,1460,1405,1010,1405,1012,983,410,983,1124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1270,506,1124,342,1460,1024,1542,1542,1542,1542,2134,2021,1235,2021,1235,819,1124,842,1124,1124,1460,1012,942,1124,1124,1124,1124,2048,1235,2048,1348,1686,1405,1628,2021,1573,1573,1686,1573,1573,1460,1460,1460,1460,1460,1460,1460,1573,1460,1618,1618,1823,1686,1124,512,1460,1235,1235,2134,2021,1235,2021,1235,1012,674,1618,1618,1610,1460,786,786,786,786,786,786,1012,1012,1012,1012,0,674,561,1405,1405,1405,786,786,786,786,786,786,1012,1012,1012,0]}],["wingdings",{ascent:1841,descent:432,advances:[2048,2110,2344,2665,2752,1830,2492,938,2220,1826,2319,2319,2399,2399,2951,2956,2245,2751,1431,1431,1826,1135,1233,2196,1941,2208,1924,1825,1826,1826,1825,1863,1863,1203,1624,1381,1381,1929,1929,1124,1124,1826,1727,1727,1727,2275,1352,1739,2230,1819,1803,1332,1665,1529,1529,1480,1420,1627,1813,1826,1834,1825,2368,2159,1974,2233,1927,1911,1937,2099,1902,2245,2181,1597,2150,2603,1529,1951,1529,1825,1825,1825,1825,937,1529,2020,1825,1183,2171,2171,1825,1826,1826,1086,1086,0,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,2048,2048,2048,2048,2048,2048,2048,2048,641,937,641,1825,1825,1825,1825,1825,1951,937,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,2146,2146,2146,2146,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2566,2566,1627,1627,1825,1825,1825,1825,1825,1825,2006,2006,1825,1825,1589,1589,1589,1589,2186,2186,1825,1825,1787,1787,1787,1787,1825,1825,1660,1660,2171,1660,1601,1601,1601,1601,987,789,1301,1609,1826,1826,2119]}],["wingdings 2",{ascent:1727,descent:432,advances:[2048,2110,2090,2073,2086,2344,2045,2220,989,1431,1431,1826,1431,1431,1826,1431,1431,1826,1431,1431,2320,2246,1826,1826,1826,2320,2170,2170,1381,1381,1938,1938,1938,1938,1928,1928,1928,1928,1047,1047,1047,1047,1178,1178,1178,1178,1826,1321,1568,1826,1826,1826,1826,1825,1825,1826,1826,2226,1727,1548,1579,984,1035,864,1018,2048,2048,2048,2048,2048,2048,2048,2048,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,1826,0,1899,1899,1453,1453,1673,1332,1431,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,2048,2048,542,740,1135,1825,1825,1825,1825,1825,1825,1825,542,740,1135,1825,1825,1825,1825,1825,1825,1825,1825,1825,624,764,903,1461,2020,2020,2020,2020,2020,542,641,740,1135,1529,1529,1085,1085,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1496,1825,0,0,0,0,0,0]}],["wingdings 3",{ascent:1900,descent:432,advances:[2048,1825,1825,1135,1135,1444,1444,1444,1444,1825,1825,1135,1135,1677,1677,1135,1135,1135,1135,1135,1135,1135,1135,1135,1135,1135,1825,1825,1455,1455,1455,1455,2010,2010,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,2220,1825,1751,1114,1115,1660,1660,1930,1930,1930,1930,1924,1924,1924,1924,1930,1930,1931,1931,1825,1825,1232,1232,1444,1444,1444,1444,1825,1232,2005,2005,2005,2005,1801,1801,1801,1801,1801,1801,1801,1801,1085,1085,1825,0,1825,1825,1825,1825,1825,1627,1627,1825,1825,1825,1825,789,789,1825,1825,987,987,1825,1825,1184,1184,1825,1825,1579,1579,1825,1825,888,888,1825,1825,1381,1381,1825,1825,1875,1875,1825,1825,1825,1825,1825,1825,1825,789,592,493,394,1825,1825,1825,1825,1825,1085,1085,1381,1381,1628,1628,1184,1184,900,900,1825,1825,1019,1019,1825,1825,1825,1825,1825,1825,1825,1825,1825,1825,1291,1291,1291,1291,1961,1961,1825,1825,1540,1540,1540,1540,2096,2096,1825,1825,1688,1688,1688,1688,2277,2277,1825,1825,1885,1885,1885,1885,543,543,1234,1234,766,766,1234,1234,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}],["webdings",{ascent:1638,descent:410,advances:[1024,2048,2048,2048,2048,2028,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,1100,1100,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,1144,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,0,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2500,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,1377,1377,2048,1726,1058,2048,2048,2048,2048,877,1240,2048,2048,2048,2048,1357,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048,2645,2048,2048,2048,2048]}]]);function ba(e){if(chunkWO4V6PNS_cjs.b(e))return Sa.get(e.toLowerCase())}function Vn(e,t,n,r){let o=D(r)/2*chunkDBOOTED4_cjs.ha(r)*(r.horizontalScalePercent/100)/ht,a=[];for(let i=0;i<n.length;i++){let c=chunkWO4V6PNS_cjs.c(n.charCodeAt(i),t),s=c===null?0:e.advances[c-ga]??0;if(s===0)return;a.push(s*o+r.characterSpacingPt);}return a}function Yn(e){let t=new WeakMap,n=r=>{let o=t.get(r);return o===void 0&&(o=ba(r.fontFamily)??null,t.set(r,o)),o};return {...e,measure(r,o){let a=n(o),i=a&&Vn(a,o.fontFamily,r,o);if(!i)return e.measure(r,o);let c=0;for(let s of i)c+=s;return c},caretAdvances(r,o){let a=n(o),i=a&&Vn(a,o.fontFamily,r,o);if(!i)return e.caretAdvances?.(r,o);let c=[0];for(let s of i)c.push(c[c.length-1]+s);return c},lineMetrics(r,o){let a=n(r);if(!a)return e.lineMetrics(r,o);let i=D(r)/2*chunkDBOOTED4_cjs.ha(r);return {height:(a.ascent+a.descent)*i/ht,baseline:a.ascent*i/ht}}}}var xa={M:2,L:2,Q:4,C:6,Z:0},$n=e=>{let t=Math.round(e*1e3)/1e3;return String(Object.is(t,-0)?0:t)};function qn(e,t,n){if(!(t>0)||!(n>0))return;let r=[],o=0,a=1/0,i=-1/0,c=1/0,s=-1/0;for(let u of e.glyphs){if(u.id===0)return;let l=u.outline.path,d=u.outline.unitsPerEm;if(!l)continue;if(!(d>0)||!l.startsWith("M")||/[^MLQCZ0-9eE+.,\s-]/u.test(l))return;let g=t*(u.drawScale??1)/d,m=(u.originX+u.offsetX)/n,S=(u.originY+u.offsetY)/n;for(let x of l.matchAll(/([MLQCZ])([^MLQCZ]*)/gu)){let f=x[1],h=x[2].trim().split(/[\s,]+/u).filter(Boolean).map(Number);if(h.length!==xa[f]||h.some(R=>!Number.isFinite(R)))return;let b=f;for(let R=0;R<h.length;R+=2){let F=m+h[R]*g,v=-(S+h[R+1]*g);a=Math.min(a,F),i=Math.max(i,F),c=Math.min(c,v),s=Math.max(s,v),b+=`${R?" ":""}${$n(F)} ${$n(v)}`;}if(o+=b.length,o>2e6)return;r.push(b);}}if(!(!r.length||!(i>a)||!(s>c)))return Object.freeze({path:r.join(""),ink:Object.freeze({left:a,top:c,right:i,bottom:s})})}var gt=new WeakMap;function Ra(e){let t=gt.get(e);if(t!==void 0)return t??void 0;let n=e.path;if(!n.startsWith("M")||n.length>1e6||/[^MLQCZ0-9eE+.,\s-]/u.test(n))return;let r=1/0,o=-1/0,a=n.matchAll(/([MLQCZ])([^MLQCZ]*)/gu);for(let c of a){let s=c[1]==="Z"?0:c[1]==="C"?6:c[1]==="Q"?4:2,u=c[2].trim().split(/[\s,]+/u).filter(Boolean).map(Number);if(u.length!==s||u.some(l=>!Number.isFinite(l))){gt.set(e,null);return}for(let l=0;l<u.length;l+=2)r=Math.min(r,u[l]),o=Math.max(o,u[l]);}let i=Number.isFinite(r)&&Number.isFinite(o)?{left:r,right:o}:void 0;return gt.set(e,i??null),i}function Zn(e,t,n,r){if(e.clusters.length!==1||e.glyphs.length===0)return;let o=1/0,a=-1/0;for(let c of e.glyphs){if(c.id===0)return;let s=Ra(c.outline),u=c.outline.unitsPerEm;if(!s||!(u>0))return;let l=(c.originX+c.offsetX)/n;o=Math.min(o,l+s.left*t*(c.drawScale??1)/u),a=Math.max(a,l+s.right*t*(c.drawScale??1)/u);}let i={left:o*r,right:a*r};return Number.isFinite(i.left)&&Number.isFinite(i.right)?i:void 0}function Fa(e,t,n){if(t<12)return null;if(e.getUint32(0)!==1953784678)return 0;let o=12+(Number.isSafeInteger(n)&&n>0?n:0)*4;if(o+4>t)return null;let a=e.getUint32(o);return a+12<=t?a:null}function Jn(e,t,n,r,o){let a=e.getUint16(n+4);if(a>4096||n+12+a*16>t)return null;for(let i=0;i<a;i+=1){let c=n+12+i*16;if(e.getUint32(c)!==r)continue;let s=e.getUint32(c+8),u=e.getUint32(c+12);return u<o||s+u>t?null:s}return null}function Qn(e,t){let n=e.byteLength,r=new DataView(e.buffer,e.byteOffset,n),o=Fa(r,n,t);if(o===null)return null;let a=Jn(r,n,o,1751474532,54);if(a===null)return null;let i=r.getUint16(a+18);if(i<=0)return null;let c=Jn(r,n,o,1330851634,30);if(c===null)return null;let s=r.getInt16(c+26)/i,u=r.getInt16(c+28)/i;return !(s>0)||s>1||!(Math.abs(u)<=1)?null:{offsetEm:u,thicknessEm:s}}var Ca=.5,va=4,er=4096;function tr(e){let t="environment"in e?e.environment:void 0,n="environment"in e?void 0:e,{shaper:r,resolveFont:o}=e,a=Yn(e.fallback),i=t??{shapingLibrary:n.shapingLibrary,unicodeDataVersion:n.unicodeDataVersion,script:n?.script??"Latn",fixedPointScale:n?.fixedPointScale??1e3,normalization:n?.normalization??"none",features:n?.features??{},roundingMode:n?.roundingMode??"halfToEven",language:n?.language??"en",variationAxes:{}},c=new WeakMap,s=new WeakMap,u=chunkDBOOTED4_cjs.q(r),l=jn(r,i,a,va,Ca),d=new WeakMap,g=new WeakMap,m=new Array(er),S=0,x=(y,p,C)=>{let E=m[S];E&&E.cache.delete(E.text),y.set(p,C),m[S]={cache:y,text:p},S=(S+1)%er;},f=y=>{let p=d.get(y);if(p!==void 0)return p;let C=o(y);return d.set(y,C),C},h=(y,p,C)=>{let E=C?s:c,L=E.get(y);L||(L=new Map,E.set(y,L));let O=L.get(p);return O||(O=new Map,L.set(p,O)),O},b=new WeakMap,R=y=>{if(!y.shaping?.wordSpacingPt)return y;let p=b.get(y);return p||(p={...y,shaping:{...y.shaping,wordSpacingPt:void 0}},b.set(y,p)),p},F=(y,p)=>p.shaping?.wordSpacingPt?chunkDBOOTED4_cjs.Ed(y)*p.shaping.wordSpacingPt:0,v=(y,p)=>a.measure(y,R(p))+F(y,p),w=(y,p)=>{let C=Math.max(0,a.measure(y,R(p))),E=a.caretAdvances?.(y,R(p))??chunkDBOOTED4_cjs.Cd(y,C);if(!E||E.length!==y.length+1)return chunkDBOOTED4_cjs.Cd(y,v(y,p));let L=Math.max(0,v(y,p)),O=0,M=0;return E.map((A,I)=>{if(I===0)return 0;y[I-1]===" "&&M++;let z=A+M*(p.shaping?.wordSpacingPt??0);return O=Math.max(O,Math.min(L,Number.isFinite(z)?z:O)),I===y.length?L:O})},T=new WeakMap;return {hasResolvedFont(y){return f(y)!==null},strikeoutMetrics(y){let p=f(y);if(!p)return;let C=T.get(p);if(C===void 0&&(C=Qn(p.bytes,p.faceIndex),T.set(p,C)),!C)return;let E=D(y)/2*chunkDBOOTED4_cjs.ha(y);return {offsetPt:C.offsetEm*E,thicknessPt:C.thicknessEm*E}},measure(y,p){if(y.length===0)return 0;let C=f(p);if(!C)return v(y,p);let E=h(C,D(p),p.smallCaps),L=p.shaping?.context,O=p.shaping?`1:${JSON.stringify(L?[p.shaping.script,p.shaping.direction,y,L.before,L.after]:[p.shaping.script,p.shaping.direction,y])}`:`0:${y}`,M=`${chunkDBOOTED4_cjs.fd(p)?1:0}:${chunkDBOOTED4_cjs.F(p)}:${O}`,A=E.get(M);if(A===void 0){let I=0;try{if(p.smallCaps&&!Me(r,i,C,p,g))return v(y,p);let z=G(r,i,C,p,y);if(z.glyphs.some(W=>W.id===0))return v(y,p);for(let W of z.glyphs)I+=W.advanceX;}catch{return v(y,p)}A=I/i.fixedPointScale,x(E,M,A);}return A*chunkDBOOTED4_cjs.ha(p)*(p.horizontalScalePercent/100)+y.length*p.characterSpacingPt+F(y,p)},inkBounds(y,p){if(!y||y.length>2||p.shaping?.direction==="rtl"||chunkDBOOTED4_cjs.oa(y).length!==1)return;let C=f(p);if(!C)return a.inkBounds?.(y,p);try{if(p.smallCaps&&!Me(r,i,C,p,g))return a.inkBounds?.(y,p);let E=G(r,i,C,p,y);return Zn(E,D(p)/2,i.fixedPointScale,chunkDBOOTED4_cjs.ha(p)*p.horizontalScalePercent/100)}catch{return}},textOutline(y,p){let C=f(p);if(!C)return a.textOutline?.(y,p);try{let E=G(r,i,C,p,y);return qn(E,D(p)/2,i.fixedPointScale)??a.textOutline?.(y,p)}catch{return a.textOutline?.(y,p)}},caretAdvances(y,p){let C=f(p);if(!C)return w(y,p);try{if(p.smallCaps&&!Me(r,i,C,p,g))return w(y,p);let E=G(r,i,C,p,y);return E.glyphs.some(L=>L.id===0)?w(y,p):chunkDBOOTED4_cjs.Dd(y,E,chunkDBOOTED4_cjs.ha(p)*(p.horizontalScalePercent/100)/i.fixedPointScale,p.characterSpacingPt,p.shaping?.wordSpacingPt??0)??chunkDBOOTED4_cjs.Cd(y,E.glyphs.reduce((L,O)=>L+O.advanceX,0)*chunkDBOOTED4_cjs.ha(p)*(p.horizontalScalePercent/100)/i.fixedPointScale+y.length*p.characterSpacingPt+F(y,p))}catch{return w(y,p)}},lineMetrics(y,p){let C=f(y);if(!C)return a.lineMetrics(y,p);if(!p||/^[\t\n\r\f ]*$/.test(p))return l(C,y);if(u){let E=l(C,y),L=Math.max(0,E.baseline),O=Math.max(0,E.height-E.baseline);return L+O>0?{height:L+O,baseline:L}:E}try{let E=G(r,i,C,y,p),L=0,O=0;for(let M of E.fontSpans){let A=l(M.font,y);L=Math.max(L,A.baseline),O=Math.max(O,A.height-A.baseline);}if(L+O>0)return {height:L+O,baseline:L}}catch{}return l(C,y)}}}function Ea(e,t){return tr({...t,shaper:e.shaper,environment:e.environment})}function La(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,c=-1;for(let s of t.pages){let u=s.box.y;u+s.box.height>=n.top&&u<=a&&(i===-1&&(i=s.index),c=s.index);}if(i===-1){let s=Ba(t,n.top);s!==null&&(i=s,c=s);}if(i!==-1){let s=Math.max(0,i-o),u=Math.min(t.pages.length-1,c+o);for(let l=s;l<=u;l+=1)r.add(l);}for(let s of e.pinnedPages??[])s>=0&&s<t.pages.length&&r.add(s);return r}function Ba(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 nr=["text-local","paragraph-local","flow-structural","global"];function rr(e,t){return nr.indexOf(t)>nr.indexOf(e)?t:e}function Ta(e){return {impact:"text-local",paragraphIds:new Set,created:new Set,deleted:new Set,dependencyKeys:new Set,structural:false,revision:e}}function Oa(e){let{run:t,currentRevision:n,publish:r,schedule:o}=e,a=null,i=null,c=null,s=0,u=0;function l(f){let h=e.runCooperatively;if(!h)return t(f);let b=h(f);c=b;try{for(;;){let R=b.step();if(R)return R;if(n()!==f.revision)return b.cancel(),u+=1,null;if(c!==b)return null}}finally{c===b&&(c=null);}}function d(f){let h=m(n());h.impact=rr(h.impact,f.impact),h.structural=h.structural||f.structural;for(let b of f.paragraphIds)h.paragraphIds.add(b);for(let b of f.created)h.created.add(b);for(let b of f.deleted)h.deleted.add(b);for(let b of f.dependencyKeys)h.dependencyKeys.add(b);}let g=f=>({impact:f.impact,paragraphIds:f.paragraphIds,created:f.created,deleted:f.deleted,dependencyKeys:f.dependencyKeys,structural:f.structural,revision:f.revision});function m(f){return a||(a=Ta(f)),a.revision=Math.max(a.revision,f),a}function S(){!o||i||(i=o(()=>{i=null,x();}));}function x(){i&&(i(),i=null),c&&(c.cancel(),c=null,u+=1);let f=a;if(!f)return false;a=null;let h=g(f),b=l(h);return !b||b.revision!==n()?(s+=1,d(h),S(),false):(r(b,h),true)}return {notify(f){let h=m(n());h.impact=rr(h.impact,f.impact);for(let b of f.dirty)h.paragraphIds.add(b);for(let b of f.created)h.created.add(b),h.paragraphIds.add(b);for(let b of f.deleted)h.deleted.add(b),h.paragraphIds.add(b);for(let b of f.dependencyKeys)h.dependencyKeys.add(b);for(let b of f.splitJoin)h.structural=true,"split"in b?(h.paragraphIds.add(b.split.from),h.paragraphIds.add(b.split.tail)):(h.paragraphIds.add(b.join.kept),h.paragraphIds.add(b.join.removed));(f.impact==="flow-structural"||f.impact==="global")&&(h.structural=true),S();},invalidateAll(f,h){let b=m(f);b.impact="flow-structural",b.structural=true,h&&b.dependencyKeys.add(h),S();},flush:x,pending:()=>a?g(a):null,cancel(){i?.(),i=null,c?.cancel(),c=null,a=null;},get staleDiscards(){return s},get cancelledRuns(){return u}}}var or=new WeakMap;function q(e){let t=or.get(e);if(t)return t;let n=new Map,r=new Map,o=new Map,a=new Map,i=(s,u,l,d)=>{for(let g of s){if(g.kind==="paragraph")continue;let m=g.tableId;a.set(m,Math.max(a.get(m)??0,(g.columnEdges?.length??1)-1));let S=o.get(m);S||(S=new Map,o.set(m,S),n.set(m,[]),r.set(m,new Map));for(let x of g.rows){let f=S.get(x.id);f===void 0&&(f=S.size,S.set(x.id,f),r.get(m).set(f,x.cells));for(let h of x.cells)n.get(m).push({pageIndex:u,tableId:m,row:x,cell:h,rowIndex:f,isHeaderRepeat:x.isHeaderRepeat,offsetX:l,offsetY:d}),i(h.blocks,u,l,d);}}};for(let s of e.pages){i(s.fragments,s.index,0,0);for(let u of [s.header,s.footer])u&&i(u.fragments,s.index,u.box.x-s.contentBox.x,u.box.y-s.contentBox.y);for(let u of [s.footnotes,s.endnotes])if(u)for(let l of u.notes)i(l.fragments,s.index,l.box.x-s.contentBox.x,l.box.y-s.contentBox.y);}let c=new Map;for(let[s,u]of n)c.set(s,{placed:u,rows:r.get(s)??new Map,columnCount:a.get(s)??0});return or.set(e,c),c}function wa(e){let t=e.columnCount;for(let n of e.rows.values())for(let r of n)t=Math.max(t,$(r).to+1);return t}var $=e=>({from:e.gridColumn,to:e.gridColumn+Math.max(1,e.gridSpan)-1});function Ia(e,t,n){if(t.tableId!==n.tableId)return null;let r=q(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($(t).from,$(n).from),c=Math.max($(t).to,$(n).to),s=m=>{let{from:S,to:x}=$(m);return x>=i&&S<=c},u=m=>(r.rows.get(m)??[]).some(S=>S.vMergeContinue&&s(S)),l=r.rows.size+wa(r)+2;for(let m=0;!(m>l);m+=1){let S=false;for(let[x,f]of r.rows)if(!(x<o||x>a))for(let h of f){if(!s(h))continue;let{from:b,to:R}=$(h);b<i&&(i=b,S=true),R>c&&(c=R,S=true);}for(;o>0&&u(o);)o-=1,S=true;for(;u(a+1);)a+=1,S=true;if(!S)break}let d=[],g=new Set;for(let m of r.placed){if(m.isHeaderRepeat||m.rowIndex<o||m.rowIndex>a)continue;let{from:S,to:x}=$(m.cell);x<i||S>c||g.has(m.cell.id)||(g.add(m.cell.id),d.push(m.cell.id));}return d.length===0?null:{kind:"cells",tableId:t.tableId,cellIds:d,rows:{from:o,to:a},columns:{from:i,to:c},text:Aa(e,t.tableId,d)}}function Ns(e,t){return ir(e,t,true)}function ze(e,t){return ir(e,t,false)}function ir(e,t,n){let r=new Set(t),o=[],a=new Set;for(let i of q(e).values())for(let c of i.placed)if(!(c.isHeaderRepeat||!r.has(c.cell.id)))for(let s of c.cell.blocks)n&&s.kind!=="paragraph"||pe(s,o,a);return o}function pe(e,t,n){if(e.kind==="paragraph"){for(let r of chunkDBOOTED4_cjs.Ra(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)pe(a,t,n);}function Aa(e,t,n){let r=ze(e,n),o=r[0],a=r[r.length-1];return !o||!a?Pa(e,t):{anchor:{paragraphId:o,offset:0},head:{paragraphId:a,offset:chunkDBOOTED4_cjs.se(e,a).length}}}function Pa(e,t){let n=q(e).get(t);for(let o of n?.placed??[]){if(o.isHeaderRepeat)continue;let a=[];for(let c of o.cell.blocks)pe(c,a,new Set);let i=a[0];if(i){let c={paragraphId:i,offset:0};return {anchor:c,head:c}}}for(let o of e.pages)for(let a of chunkDBOOTED4_cjs.za(o)){let i={paragraphId:a.paragraphId,offset:0};return {anchor:i,head:i}}let r={paragraphId:"",offset:0};return {anchor:r,head:r}}function _a(e){let t=[...chunkDBOOTED4_cjs.za(e)];for(let n of [e.header,e.footer])n&&t.push(...chunkDBOOTED4_cjs.Aa(n.fragments));for(let n of [e.footnotes,e.endnotes])if(n)for(let r of n.notes)t.push(...chunkDBOOTED4_cjs.Aa(r.fragments));return t}function Ma(e,t){let n=new Set(ze(e,t)),r=[],o=new Set;for(let a of e.pages)for(let i of _a(a))if(n.has(i.paragraphId))for(let c of i.lines)for(let s of c.spans){let u=`${s.range.paragraphId}:${s.range.start}:${s.range.end}`;o.has(u)||(o.add(u),r.push(s));}return r}function za(e,t){let n=new Set(t),r=[];for(let o of q(e).values())for(let a of o.placed)n.has(a.cell.id)&&r.push({pageIndex:a.pageIndex,x:a.cell.box.x+a.offsetX,y:a.cell.box.y+a.offsetY,width:a.cell.box.width,height:a.cell.box.height});return r}function ka(e,t,n=chunkDBOOTED4_cjs.se){let r=q(e).get(t.tableId);if(!r)return "";let o=new Set(t.cellIds),a=r.placed.some(s=>s.cell.logicalGridColumn!==void 0),i=new Map,c=new Set;for(let s of r.placed){if(s.isHeaderRepeat||!o.has(s.cell.id)||c.has(s.cell.id))continue;c.add(s.cell.id);let u=ze(e,[s.cell.id]).map(g=>n(e,g)).join(`
2
- `),l=i.get(s.rowIndex),d=s.cell.gridColumn+(a?Math.max(1,s.cell.gridSpan)-1:0);l?l.set(d,u):i.set(s.rowIndex,new Map([[d,u]]));}return [...i.keys()].sort((s,u)=>s-u).map(s=>{let u=i.get(s),l=[];for(let d=0;d<=t.columns.to-t.columns.from;d+=1){let g=a?t.columns.to-d:t.columns.from+d;l.push(u.get(g)??"");}return l.join(" ")}).join(`
3
- `)}function St(e,t){return chunkDBOOTED4_cjs.He(e,t)}function Ds(e,t,n){if(n){let a=St(e,t);if(!a||a.tableId!==n.tableId)return null;let i=n.cellIds[0];if(!i)return null;let c=q(e).get(n.tableId);if(!c)return null;for(let s of c.placed)if(s.cell.id===i)return {tableId:n.tableId,rowId:s.row.id,cellId:i,cellIds:n.cellIds,gridColumnIndex:s.cell.logicalGridColumn??s.cell.gridColumn,isHeaderRepeat:s.isHeaderRepeat};return null}let r=St(e,t);if(!r)return null;let o=q(e).get(r.tableId);if(!o)return null;for(let a of o.placed){if(a.isHeaderRepeat)continue;let i=[];for(let c of a.cell.blocks)pe(c,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.logicalGridColumn??a.cell.gridColumn,isHeaderRepeat:a.row.isHeaderRepeat}}return null}var ar=new WeakMap;function Hs(e,t){let n=ar.get(e);if(n)return n.get(t)??null;let r=new Map;for(let[o,a]of q(e))for(let i of a.placed){if(i.isHeaderRepeat)continue;let c=[];for(let u of i.cell.blocks)pe(u,c,new Set);let s={tableId:o,rowId:i.row.id,cellId:i.cell.id,rowIndex:i.rowIndex,gridColumn:i.cell.gridColumn,gridSpan:i.cell.gridSpan};for(let u of c){let l=r.get(u);l&&l.tableId.length>=o.length||r.set(u,s);}}return ar.set(e,r),r.get(t)??null}function Na(e,t,n){if(![e,t,n].every(Number.isFinite)||t<=0||n<=0)return {offsetPt:0,count:0};let r=Math.ceil(e/n-1e-9)*n;if(!Number.isFinite(r))return {offsetPt:0,count:0};let o=Math.max(0,r-e);return {offsetPt:o,count:Math.min(8192,Math.max(0,Math.floor((t-o)/n+1e-9)))}}exports.$=Qo;exports.A=dt;exports.B=bn;exports.C=xn;exports.D=Rn;exports.E=Fn;exports.F=Cn;exports.G=vn;exports.H=Fo;exports.I=Co;exports.J=re;exports.K=Lo;exports.L=ft;exports.M=Bn;exports.N=Ao;exports.O=Mo;exports.P=Bi;exports.Q=wn;exports.R=Ti;exports.S=mt;exports.T=Ko;exports.U=Mi;exports.V=_n;exports.W=Mn;exports.X=Vo;exports.Y=Yo;exports.Z=$o;exports._=ji;exports.a=et;exports.aa=Un;exports.b=pr;exports.ba=da;exports.c=Q;exports.ca=fa;exports.d=nt;exports.da=G;exports.e=fr;exports.ea=Me;exports.f=B;exports.fa=tr;exports.g=rt;exports.ga=Ea;exports.h=it;exports.ha=La;exports.i=Ja;exports.ia=Oa;exports.j=sn;exports.ja=Ia;exports.k=cn;exports.ka=Ns;exports.l=j;exports.la=ze;exports.m=lo;exports.ma=Ma;exports.n=uo;exports.na=za;exports.o=ui;exports.oa=ka;exports.p=ct;exports.pa=St;exports.q=di;exports.qa=Ds;exports.r=po;exports.ra=Hs;exports.s=yo;exports.sa=Na;exports.t=pi;exports.u=mo;exports.v=lt;exports.w=Ae;exports.x=ho;exports.y=go;exports.z=So;
@@ -1,2 +0,0 @@
1
- 'use strict';var chunkIBRBNT37_cjs=require('./chunk-IBRBNT37.cjs'),chunk243W4WW2_cjs=require('./chunk-243W4WW2.cjs'),chunkWO4V6PNS_cjs=require('./chunk-WO4V6PNS.cjs');function z(n){let r=[],s=0;for(let t of n){let o=s+t.text.length;t.resultRuns?r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,resultRuns:t.resultRuns,...t.symbolOffsets?{symbolOffsets:t.symbolOffsets}:{},...t.symbolDisplays?{symbolDisplays:t.symbolDisplays}:{},projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}):t.floatingObject?r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,floatingObject:true,projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}):r.push({text:t.text,rawStart:t.rawStart,rawEnd:t.rawEnd,...t.symbol?{symbol:true}:{},...t.symbolOffsets?{symbolOffsets:t.symbolOffsets}:{},...t.symbolDisplays?{symbolDisplays:t.symbolDisplays}:{},projectedStart:s,projectedEnd:o,expansion:t.text.length!==t.rawEnd-t.rawStart}),s=o;}return r}function G(n,r){return r<=n.rawStart?n.projectedStart:r>=n.rawEnd?n.projectedEnd:n.expansion?n.projectedStart:n.projectedStart+r-n.rawStart}function I(n,r){return n.expansion?n.rawStart:n.rawStart+r-n.projectedStart}function L(n,r){return n.expansion?n.rawEnd:n.rawStart+r-n.projectedStart}var K=new Set([chunkWO4V6PNS_cjs.bb,"\u2011"]),Q=/[\u001e\u001f\u2011]/,Y="\uFFFF";function W(n,r){if(!Q.test(n)&&!r?.size)return {text:n,at:null};let s="",t=[];for(let o=0;o<n.length;o+=1){let l=n[o];if(r?.has(o))s+=Y;else {if(l===chunkWO4V6PNS_cjs.cb)continue;s+=K.has(l)?"-":l;}t.push(o);}return {text:s,at:t}}function U(n){let r;for(let s of n){if(s.symbol){r??=new Set;for(let t=s.projectedStart;t<s.projectedEnd;t+=1)r.add(t);}for(let t of s.symbolOffsets??[])(r??=new Set).add(s.projectedStart+t);}return r}function O(n){let r=z(n),s="";for(let o of n)s+=o.text;let t=null;return {text:s,projectedOffset(o){let l=0;for(let i of r){if(o<=i.rawEnd)return G(i,o);l=i.projectedEnd;}return l},rawRange(o,l){if(o<0||o>=l||l>s.length)return null;let i=r.find(d=>o>=d.projectedStart&&o<d.projectedEnd),e=r.find(d=>l>d.projectedStart&&l<=d.projectedEnd);return !i||!e?null:{start:I(i,o),end:L(e,l)}},sliceRaw(o,l){if(o>=l)return "";let i="";for(let e of r){if(e.expansion){o<=e.rawStart&&l>=e.rawEnd&&(i+=e.text);continue}let d=Math.max(o,e.rawStart),a=Math.min(l,e.rawEnd);d<a&&(i+=e.text.slice(d-e.rawStart,a-e.rawStart));}return i},displaySlice(o,l){let i="";for(let e of r){if(e.projectedEnd<=o||e.projectedStart>=l)continue;let d=Math.max(o,e.projectedStart)-e.projectedStart,a=Math.min(l,e.projectedEnd)-e.projectedStart;if(e.symbol){i+=e.symbolDisplays?.[0]??"";continue}let u=new Map;e.symbolOffsets?.forEach((f,c)=>u.set(f,e.symbolDisplays?.[c]??""));for(let f=d;f<a;f+=1)i+=u.get(f)??e.text[f];}return i},resultRunAddressAt(o){let l=r.find(e=>e.resultRuns!==void 0&&o>=e.projectedStart&&o<e.projectedEnd);if(!l?.resultRuns)return null;let i=o-l.projectedStart;for(let e of l.resultRuns)if(i>=e.start&&i<e.end)return {runId:e.runId,offset:i-e.start};return null},findOccurrences(o,l,i={}){let e=[];if(l<=0||!chunk243W4WW2_cjs.sa(o)||s.length===0)return {matches:e,truncated:false};let d=i.matchCase===true,a=i.wholeWord===true;t??=W(s,U(r));let u=t,f=W(o).text;if(f.length===0||f.includes(Y))return {matches:e,truncated:false};let c=d?f:chunk243W4WW2_cjs.qa(f),j=d?u.text:chunk243W4WW2_cjs.qa(u.text),R=p=>u.at?.[p]??p,X=p=>{if(!u.at)return p;let m=0;for(;m<u.at.length&&u.at[m]<p;)m+=1;return m},v=Math.min(s.length,i.to??s.length),D=new Set,b=j.indexOf(c,X(Math.max(0,i.from??0)));for(;b>=0;){let p=b+c.length,m=R(b),x=R(p-1)+1;if(x>v)return {matches:e,truncated:false};if(r.some(y=>y.floatingObject===true&&y.projectedStart>m&&y.projectedStart<x)){b=j.indexOf(c,b+1);continue}if(!a||chunk243W4WW2_cjs.ra(u.text,b,p)){let y=r.find(h=>m>=h.projectedStart&&m<h.projectedEnd),E=r.find(h=>x>h.projectedStart&&x<=h.projectedEnd);if(!y||!E)return {matches:e,truncated:false};let S=y===E&&y.expansion?y:null;if(!S||!D.has(S)){if(e.length>=l)return {matches:e,truncated:true};e.push({start:m,length:x-m,rawStart:I(y,m),rawEnd:L(E,x)}),S&&D.add(S);}}b=j.indexOf(c,p);}return {matches:e,truncated:false}}}}function q(n){return n.length===0?O([]):O([{text:n,rawStart:0,rawEnd:n.length}])}var J="http://schemas.openxmlformats.org/markup-compatibility/2006";function Z(n){if(n.kind==="textValue")return false;if(chunkWO4V6PNS_cjs.qd(n))return chunkWO4V6PNS_cjs.rd(n);let r=s=>s.kind!=="textValue"&&s.children.some(t=>t.kind==="anchoredDrawing"||t.kind!=="textValue"&&t.localName==="anchor");if(n.kind==="drawing")return r(n);if(n.namespaceUri!==J||n.localName!=="AlternateContent")return false;for(let s of n.children){if(s.kind==="textValue"||s.localName!=="Choice")continue;let t=s.children.find(o=>o.kind==="drawing"||o.kind!=="textValue"&&o.localName==="drawing");if(t)return r(t)}return false}function $(n,r,s="allMarkup"){if(!r.includes(chunkWO4V6PNS_cjs.qf)&&!r.includes(chunkWO4V6PNS_cjs.db))return r.length===0?[]:[{text:r,rawStart:0,rawEnd:r.length}];let t=chunkWO4V6PNS_cjs.Lf(n),o=chunkWO4V6PNS_cjs.lg(n,t),l=chunkIBRBNT37_cjs.d(n,t,s),i=new Map;for(let a of t)i.set(a.node.id,a);let e=[],d=0;for(let a of o){let u=i.get(a.node.id),f=!u&&chunkWO4V6PNS_cjs.eb(a.node);if(!u&&!f){Z(a.node)&&(d<a.start&&e.push({text:r.slice(d,a.start),rawStart:d,rawEnd:a.start}),e.push({text:"",rawStart:a.start,rawEnd:a.end,floatingObject:true}),d=a.end);continue}if(d<a.start&&e.push({text:r.slice(d,a.start),rawStart:d,rawEnd:a.start}),!u){e.push({text:chunkWO4V6PNS_cjs.db,rawStart:a.start,rawEnd:a.end,symbol:true,symbolDisplays:[chunkWO4V6PNS_cjs.ck(a.node)]}),d=a.end;continue}let c=l.get(u.node.id);u.kind==="simple"&&c?e.push({text:c.text,rawStart:a.start,rawEnd:a.end,resultRuns:c.runs,...c.symbols?{symbolOffsets:c.symbols}:{},...c.symbolDisplays?{symbolDisplays:c.symbolDisplays}:{}}):e.push({text:c?.text??chunkWO4V6PNS_cjs.qf,rawStart:a.start,rawEnd:a.end,...c?.symbols?{symbolOffsets:c.symbols}:{},...c?.symbolDisplays?{symbolDisplays:c.symbolDisplays}:{}}),d=a.end;}return d<r.length&&e.push({text:r.slice(d),rawStart:d,rawEnd:r.length}),e}function it(n,r,s="allMarkup"){return !r.includes(chunkWO4V6PNS_cjs.qf)&&!r.includes(chunkWO4V6PNS_cjs.db)?q(r):O($(n,r,s))}
2
- exports.a=O;exports.b=q;exports.c=$;exports.d=it;
@@ -1 +0,0 @@
1
- 'use strict';var chunkWO4V6PNS_cjs=require('./chunk-WO4V6PNS.cjs');var W=new Set(["document","hdr","ftr","footnotes","endnotes"]),$=24,J=512,U=chunkWO4V6PNS_cjs.ub($);function V(r){let n=r.root;return n.namespaceUri===chunkWO4V6PNS_cjs.la&&W.has(n.localName)}function Y(r){let n=[],e=t=>{if(t.kind!=="textValue"){t.namespaceUri===chunkWO4V6PNS_cjs.la&&t.localName==="p"&&n.push(t);for(let a of t.children)e(a);}};return e(r.root),n}function H(r){let n=chunkWO4V6PNS_cjs.Eb(r);let e=[],t=new Set;for(let a of Y(n)){let i=chunkWO4V6PNS_cjs.wb(a);if(!i||!chunkWO4V6PNS_cjs.vb(i))continue;let o=i.toUpperCase();if(t.has(o))continue;t.add(o);let s=chunkWO4V6PNS_cjs.hj(n,a.id);s!==null&&e.push(Object.freeze({paragraphId:o,nodeId:a.id,text:s}));}return Object.freeze(e)}function q(r){let n=U.get(r.root);if(n)return n;let e=chunkWO4V6PNS_cjs.Eb(r);let t=new Map,a=new Set,i=o=>{if(o.kind!=="textValue"){if(o.namespaceUri===chunkWO4V6PNS_cjs.la&&o.localName==="p"){let s=chunkWO4V6PNS_cjs.wb(o);if(s&&chunkWO4V6PNS_cjs.vb(s)){let p=s.toUpperCase();a.has(p)||(a.add(p),o.kind==="paragraph"&&t.set(p,o.id));}}for(let s of o.children)i(s);}};return i(e.root),U.set(r.root,t),t}function _(r,n){if(r.length!==n.length)return false;for(let e=0;e<r.length;e+=1)if(r[e].root!==n[e])return false;return true}function B(r){let n=new Map,e=null,t=(i,o,s)=>{for(n.delete(i),n.set(i,{partName:o.name,root:o.root,nodeId:s});n.size>J;){let p=n.keys().next();if(p.done)break;n.delete(p.value);}},a=(i,o)=>{let s=n.get(i);if(!s)return null;let p=o.find(d=>d.name===s.partName);if(!p)return null;if(p.root===s.root)return {part:p,nodeId:s.nodeId};let l=chunkWO4V6PNS_cjs.Ta(p,s.nodeId);if(!l||l.kind!=="paragraph")return null;let c=chunkWO4V6PNS_cjs.wb(l);return !c||c.toUpperCase()!==i?null:(t(i,p,s.nodeId),{part:p,nodeId:s.nodeId})};return i=>{let o=r(),s=a(i,o);if(s)return s;if(e&&e.ids.has(i)&&_(o,e.roots))return null;for(let p of o){let l=q(p).get(i);if(l!==void 0)return t(i,p,l),{part:p,nodeId:l}}return (!e||!_(o,e.roots))&&(e={roots:o.map(p=>p.root),ids:new Set}),e.ids.size<J&&e.ids.add(i),null}}function L(r,n){return chunkWO4V6PNS_cjs.Ma(r,n)}var F=Object.freeze({kind:"body"}),Q=1e6;function O(r,n){if(n<=0||n>=r.length)return false;let e=r.charCodeAt(n-1),t=r.charCodeAt(n);return e>=55296&&e<=56319&&t>=56320&&t<=57343}function K(r,n,e){if(n===e)return [];let t=0,a=Math.min(n.length,e.length);for(;t<a&&n.charCodeAt(t)===e.charCodeAt(t);)t+=1;for(;t>0&&(O(n,t)||O(e,t));)t-=1;let i=0;for(;i<n.length-t&&i<e.length-t&&n.charCodeAt(n.length-i-1)===e.charCodeAt(e.length-i-1);)i+=1;for(;i>0&&(O(n,n.length-i)||O(e,e.length-i));)i-=1;let o=n.length-t-i,s=e.slice(t,e.length-i),p=[];return o>0&&p.push({op:"deleteText",paragraphId:r,start:t,end:t+o}),s.length>0&&p.push({op:"insertText",paragraphId:r,offset:t,text:s}),Object.freeze(p)}function tt(r){let n=t=>!!t&&t.kind!=="textValue"&&t.namespaceUri===chunkWO4V6PNS_cjs.la&&t.localName==="t"&&t.attributes.every(a=>a.namespaceUri===chunkWO4V6PNS_cjs.ma&&a.localName==="space")&&t.children.every(a=>a.kind==="textValue"),e=[];for(let t of r){let a=e.at(-1);if(!n(a)||!n(t)){e.push(t);continue}let i=a.children.map(o=>o.kind==="textValue"?o.value:"").join("")+t.children.map(o=>o.kind==="textValue"?o.value:"").join("");e[e.length-1]={...a,attributes:/^\s|\s$/.test(i)?[{kind:"xmlSpace",namespaceUri:chunkWO4V6PNS_cjs.ma,localName:"space",prefix:"xml",value:"preserve"}]:[],children:[{id:a.children[0]?.id??`${a.id}/text`,kind:"textValue",value:i}]};}return e}function G(r){if(r.kind==="textValue")return r;let n=false,e=r.children.map(t=>{let a=G(t);return a!==t&&(n=true),a});if(r.namespaceUri===chunkWO4V6PNS_cjs.la&&r.localName==="r"){let t=tt(e);(t.length!==e.length||t.some((a,i)=>a!==e[i]))&&(e=[...t],n=true);}return n?{...r,children:e}:r}function et(r,n,e){let t=r.parts.get(n);if(!t)return r;let a=false,i=new Set;for(let o of e)(o.op==="insertText"||o.op==="deleteText")&&!o.revision&&i.add(o.paragraphId);for(let o of i){let s=chunkWO4V6PNS_cjs.Ta(t,o);if(!s||s.kind==="textValue")continue;let p=G(s);if(p===s)continue;let l=chunkWO4V6PNS_cjs.Za(t,o,p,{deferValidation:true});l.ok&&(t=l.part,a=true);}return a?chunkWO4V6PNS_cjs.Ie(r,t):r}function rt(r,n){let e=n.documentId.trim();if(e.length===0||e.length>256)throw new TypeError("documentId must contain 1 to 256 characters");let t=()=>H(r.bodyStore().part),a,i=()=>{let l=r.bodyStore().part,c=r.currentPackage();if(a?.pkg===c&&a.body===l)return a.parts;let d=[l];for(let g of c.parts.values())g===l||!V(g)||d.push(g);return a={pkg:c,body:l,parts:Object.freeze(d)},a.parts},o=B(i),s=(l,c)=>{if(l.length===0)return {ok:true,changed:false};let d=t(),g=new Set,P=[];for(let u of l){if(typeof u.text!="string"||u.text.length>Q)return {ok:false,reason:"collaboration-text-limit"};if(typeof u.paragraphId!="string"||u.paragraphId.length===0||u.paragraphId.length>256)return {ok:false,reason:"unknown-paragraph-id"};let m=u.paragraphId.toUpperCase();if(g.has(m))return {ok:false,reason:"duplicate-paragraph-id"};g.add(m);let N=d.filter(X=>X.paragraphId===m);if(N.length!==1)return {ok:false,reason:"unknown-paragraph-id"};let M=N[0];P.push(...K(M.nodeId,M.text,u.text));}if(P.length===0)return {ok:true,changed:false};let x=r.transact(F,u=>{for(let m of P)u.apply(m);u.applyPackage(m=>et(m,m.mainDocumentPart,P));},{origin:c.origin,actorId:c.actorId,operationId:c.operationId,recordsHistory:false});return x.ok?{ok:true,changed:x.change!==null}:{ok:false,reason:x.detail??x.reason}};return Object.freeze({documentId:e,paragraphs:t,paragraphByNodeId(l){return t().find(c=>c.nodeId===l)??null},paragraphTextOf(l){for(let c of i()){let d=chunkWO4V6PNS_cjs.hj(c,l);if(d!==null)return d}return null},paragraphByStableId(l){let c=l.toUpperCase(),d=o(c);if(!d)return null;let g=chunkWO4V6PNS_cjs.hj(d.part,d.nodeId);return g===null?null:Object.freeze({paragraphId:c,nodeId:d.nodeId,text:g})},applyParagraphText(l,c,d){return s([{paragraphId:l,text:c}],d)},applyParagraphTexts:s,applyRemotePackage(l,c){let d=r.publishRemotePackage(l,c);return d.ok?{ok:true,changed:d.change!==null}:{ok:false,reason:d.detail??d.reason}},revision:()=>r.packageRevision,subscribe:l=>r.subscribe(l),observePrimitiveJournal:l=>L(r,l),hasPendingJournals:()=>chunkWO4V6PNS_cjs.Ka(r),flushPendingJournals:()=>{chunkWO4V6PNS_cjs.La(r);},save:()=>chunkWO4V6PNS_cjs.Ge(r.currentPackage()),binaryPart(l){let c=r.currentPackage();return c.partBytes.get(l)??c.partBytes.get(l.startsWith("/")?l.slice(1):`/${l}`)??null}})}function nt(r,n,e){if(n===e||r>n.length)return Math.min(r,e.length);let t=0;for(;t<n.length&&t<e.length&&n[t]===e[t];)t+=1;let a=0;for(;a<n.length-t&&a<e.length-t&&n[n.length-1-a]===e[e.length-1-a];)a+=1;if(r<=t)return Math.min(r,e.length);if(r>n.length-a)return Math.min(e.length,r+e.length-n.length);let i=at(n,e,t,a),o=i.offsets.get(r);return o===void 0&&(o=(i.table?st(i.table,r,n,e,t):null)??ct(r,n,e,t,a)??t,i.offsets.set(r,o)),o}var f=[],ot=16;function at(r,n,e,t){let a=f.findIndex(o=>o.before===r&&o.after===n);if(a>=0){let[o]=f.splice(a,1);return f.push(o),o}let i={before:r,after:n,table:lt(r,n,e,t),offsets:new Map};return f.length>=ot&&f.shift(),f.push(i),i}var it=1<<18;function lt(r,n,e,t){let a=r.length-t-e,i=n.length-t-e;if(a*i>it)return null;let o=i+1,s=new Uint32Array((a+1)*o);for(let p=a-1;p>=0;p-=1)for(let l=i-1;l>=0;l-=1)s[p*o+l]=r[e+p]===n[e+l]?s[(p+1)*o+l+1]+1:Math.max(s[(p+1)*o+l],s[p*o+l+1]);return {lengths:s,width:o,columns:i}}function st(r,n,e,t,a){let{lengths:i,width:o,columns:s}=r,p=n-a,l=0,c=0;for(;l<p;)c<s&&e[a+l]===t[a+c]?(l+=1,c+=1):c>=s||i[(l+1)*o+c]>=i[l*o+c+1]?l+=1:c+=1;return a+c}var pt=[32,16,8,4];function ct(r,n,e,t,a){let i=e.slice(t,e.length-a),o=s=>{let p=i.indexOf(s);return p>=0&&i.indexOf(s,p+1)<0?p:null};for(let s of pt){let p=n.slice(Math.max(t,r-s),r);if(p.length===s){let c=o(p);if(c!==null)return t+c+p.length}let l=n.slice(r,Math.min(n.length-a,r+s));if(l.length===s){let c=o(l);if(c!==null)return t+c}}return null}exports.a=et;exports.b=rt;exports.c=nt;
@@ -1 +0,0 @@
1
- var e=/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,t=/^var\(--doc-review-author-[0-9]{1,2}\)$/;function r(n){if(n!==void 0&&!(n.length>64)&&(e.test(n)||t.test(n)))return n}export{r as a};
@@ -1 +0,0 @@
1
- 'use strict';var e=/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,t=/^var\(--doc-review-author-[0-9]{1,2}\)$/;function r(n){if(n!==void 0&&!(n.length>64)&&(e.test(n)||t.test(n)))return n}exports.a=r;