|
|
import{aY as it,aZ as Oe,a_ as ot,G as lt,o as ut,c as ct,g as dt,h as ht}from"./index-9b4667b6.js";import{r as pt}from"./index-d783beed.js";var je={exports:{}};(function(xe,Te){(function(ge,be){xe.exports=be(pt,it)})(Oe,function(ge,be){var Be=Object.defineProperty,De=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Re=(q,ee,C)=>ee in q?Be(q,ee,{enumerable:!0,configurable:!0,writable:!0,value:C}):q[ee]=C,ze=(q,ee)=>{for(var C in ee||(ee={}))Ue.call(ee,C)&&Re(q,C,ee[C]);if(De)for(var C of De(ee))We.call(ee,C)&&Re(q,C,ee[C]);return q},ce=(q,ee,C)=>new Promise((M,D)=>{var P=u=>{try{e(C.next(u))}catch(r){D(r)}},v=u=>{try{e(C.throw(u))}catch(r){D(r)}},e=u=>u.done?M(u.value):Promise.resolve(u.value).then(P,v);e((C=C.apply(q,ee)).next())});typeof window.setImmediate>"u"&&(window.setImmediate=function(q,...ee){setTimeout(()=>q(ee))});var we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Oe<"u"?Oe:typeof self<"u"?self:{},Ne={exports:{}};function Se(q){throw new Error('Could not dynamically require "'+q+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Fe={exports:{}};/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files <http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/main/LICENSE
*/var Me;function He(){return Me||(Me=1,function(q,ee){(function(C){q.exports=C()})(function(){return function C(M,D,P){function v(r,m){if(!D[r]){if(!M[r]){var f=typeof Se=="function"&&Se;if(!m&&f)return f(r,!0);if(e)return e(r,!0);var n=new Error("Cannot find module '"+r+"'");throw n.code="MODULE_NOT_FOUND",n}var i=D[r]={exports:{}};M[r][0].call(i.exports,function(y){var d=M[r][1][y];return v(d||y)},i,i.exports,C,M,D,P)}return D[r].exports}for(var e=typeof Se=="function"&&Se,u=0;u<P.length;u++)v(P[u]);return v}({1:[function(C,M,D){var P=C("./utils"),v=C("./support"),e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";D.encode=function(u){for(var r,m,f,n,i,y,d,h=[],p=0,g=u.length,w=g,x=P.getTypeOf(u)!=="string";p<u.length;)w=g-p,f=x?(r=u[p++],m=p<g?u[p++]:0,p<g?u[p++]:0):(r=u.charCodeAt(p++),m=p<g?u.charCodeAt(p++):0,p<g?u.charCodeAt(p++):0),n=r>>2,i=(3&r)<<4|m>>4,y=1<w?(15&m)<<2|f>>6:64,d=2<w?63&f:64,h.push(e.charAt(n)+e.charAt(i)+e.charAt(y)+e.charAt(d));return h.join("")},D.decode=function(u){var r,m,f,n,i,y,d=0,h=0,p="data:";if(u.substr(0,p.length)===p)throw new Error("Invalid base64 input, it looks like a data url.");var g,w=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===e.charAt(64)&&w--,u.charAt(u.length-2)===e.charAt(64)&&w--,w%1!=0)throw new Error("Invalid base64 input, bad content length.");for(g=v.uint8array?new Uint8Array(0|w):new Array(0|w);d<u.length;)r=e.indexOf(u.charAt(d++))<<2|(n=e.indexOf(u.charAt(d++)))>>4,m=(15&n)<<4|(i=e.indexOf(u.charAt(d++)))>>2,f=(3&i)<<6|(y=e.indexOf(u.charAt(d++))),g[h++]=r,i!==64&&(g[h++]=m),y!==64&&(g[h++]=f);return g}},{"./support":30,"./utils":32}],2:[function(C,M,D){var P=C("./external"),v=C("./stream/DataWorker"),e=C("./stream/Crc32Probe"),u=C("./stream/DataLengthProbe");function r(m,f,n,i,y){this.compressedSize=m,this.uncompressedSize=f,this.crc32=n,this.compression=i,this.compressedContent=y}r.prototype={getContentWorker:function(){var m=new v(P.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),f=this;return m.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new v(P.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},r.createWorkerFrom=function(m,f,n){return m.pipe(new e).pipe(new u("uncompressedSize")).pipe(f.compressWorker(n)).pipe(new u("compressedSize")).withStreamInfo("compression",f)},M.exports=r},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(C,M,D){var P=C("./stream/GenericWorker");D.STORE={magic:"\0\0",compressWorker:function(){return new P("STORE compression")},uncompressWorker:function(){return new P("STORE decompression")}},D.DEFLATE=C("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(C,M,D){var P=C("./utils"),v=function(){for(var e,u=[],r=0;r<256;r++){e=r;for(var m=0;m<8;m++)e=1&e?3988292384^e>>>1:e>>>1;u[r]=e}return u}();M.exports=function(e,u){return e!==void 0&&e.length?P.getTypeOf(e)!=="string"?function(r,m,f,n){var i=v,y=n+f;r^=-1;for(var d=n;d<y;d++)r=r>>>8^i[255&(r^m[d])];return-1^r}(0|u,e,e.length,0):function(r,m,f,n){var i=v,y=n+f;r^=-1;for(var d=n;d<y;d++)r=r>>>8^i[255&(r^m.charCodeAt(d))];return-1^r}(0|u,e,e.length,0):0}},{"./utils":32}],5:[function(C,M,D){D.base64=!1,D.binary=!1,D.dir=!1,D.createFolders=!0,D.date=null,D.compression=null,D.compressionOptions=null,D.comment=null,D.unixPermissions=null,D.dosPermissions=null},{}],6:[function(C,M,D){var P=null;P=typeof Promise<"u"?Promise:C("lie"),M.exports={Promise:P}},{lie:37}],7:[function(C,M,D){var P=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",v=C("pako"),e=C("./utils"),u=C("./stream/GenericWorker"),r=P?"uint8array":"array";function m(f,n){u.call(this,"FlateWorker/"+f),this._pako=nul \0`,X+=P(N,2),X+=s.magic,X+=P(w,2),X+=P(x,2),X+=P(Y.crc32,4),X+=P(Y.compressedSize,4),X+=P(Y.uncompressedSize,4),X+=P(l.length,2),X+=P(z.length,2),{fileRecord:f.LOCAL_FILE_HEADER+X+l+z,dirRecord:f.CENTRAL_FILE_HEADER+P(Q,2)+X+P(E.length,2)+"\0\0\0\0"+P(R,4)+P(h,4)+l+z+E}}var e=C("../utils"),u=C("../stream/GenericWorker"),r=C("../utf8"),m=C("../crc32"),f=C("../signature");function n(i,y,d,h){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=y,this.zipPlatform=d,this.encodeFileName=h,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}e.inherits(n,u),n.prototype.push=function(i){var y=i.meta.percent||0,d=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,u.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:d?(y+100*(d-h-1))/d:100}}))},n.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var y=this.streamFiles&&!i.file.dir;if(y){var d=v(i,y,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:d.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(i){this.accumulate=!1;var y=this.streamFiles&&!i.file.dir,d=v(i,y,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(d.dirRecord),y)this.push({data:function(h){return f.DATA_DESCRIPTOR+P(h.crc32,4)+P(h.compressedSize,4)+P(h.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:d.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var i=this.bytesWritten,y=0;y<this.dirRecords.length;y++)this.push({data:this.dirRecords[y],meta:{percent:100}});var d=this.bytesWritten-i,h=function(p,g,w,x,a){var s=e.transformTo("string",a(x));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+P(p,2)+P(p,2)+P(g,4)+P(w,4)+P(s.length,2)+s}(this.dirRecords.length,d,i,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},n.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},n.prototype.registerPrevious=function(i){this._sources.push(i);var y=this;return i.on("data",function(d){y.processChunk(d)}),i.on("end",function(){y.closedSource(y.previous.streamInfo),y._sources.length?y.prepareNextSource():y.end()}),i.on("error",function(d){y.error(d)}),this},n.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},n.prototype.error=function(i){var y=this._sources;if(!u.prototype.error.call(this,i))return!1;for(var d=0;d<y.length;d++)try{y[d].error(i)}catch{}return!0},n.prototype.lock=function(){u.prototype.lock.call(this);for(var i=this._sources,y=0;y<i.length;y++)i[y].lock()},M.exports=n},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(C,M,D){var P=C("../compressions"),v=C("./ZipFileWorker");D.generateWorker=function(e,u,r){var m=new v(u.streamFiles,r,u.platform,u.encodeFileName),f=0;try{e.forEach(function(n,i){f++;var y=function(g,w){var x=g||w,a=P[x];if(!a)throw new Error(x+" is not a valid compression method !");return a}(i.options.compression,u.compression),d=i.options.compressionOptions||u.compressionOptions||{},h=i.dir,p=i.date;i._compressWorker(y,d).withStreamInfo("file",{name:n,dir:h,date:p,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(m)}),m.entriesCount=f}catch(n){m.error(n)}return m}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(C,M,D){function P(){if(!(this instanceof P))return new P;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrad
\r math {\r display: inline-block;\r line-height: initial;\r }\r \r mfrac {\r display: inline-block;\r vertical-align: -50%;\r text-align: center;\r \r &>:first-child {\r border-bottom: solid thin currentColor;\r }\r \r &>* {\r display: block;\r }\r }\r \r msub {\r &>:nth-child(2) {\r font-size: smaller;\r vertical-align: sub;\r }\r }\r \r msup {\r &>:nth-child(2) {\r font-size: smaller;\r vertical-align: super;\r }\r }\r \r munder, mover, munderover {\r display: inline-flex;\r flex-flow: column nowrap;\r vertical-align: middle;\r text-align: center;\r \r &>:not(:first-child) {\r font-size: smaller;\r }\r }\r \r munderover {\r &>:last-child { order: -1; }\r }\r \r mroot, msqrt {\r position: relative;\r display: inline-block;\r border-top: solid thin currentColor; \r margin-top: 0.5px;\r vertical-align: middle; \r margin-left: 1ch; \r \r &:before {\r content: "";\r display: inline-block;\r position: absolute;\r width: 1ch;\r left: -1ch;\r top: -1px;\r bottom: 0;\r background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 100' preserveAspectRatio='none'%3E%3Cpath d='m0,75 l5,0 l5,25 l10,-100' stroke='black' fill='none' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");\r }\r }`],sourceRoot:""}]);const g=h.toString()},645:v=>{v.exports=function(e){var u=[];return u.toString=function(){return this.map(function(r){var m="",f=r[5]!==void 0;return r[4]&&(m+="@supports (".concat(r[4],") {")),r[2]&&(m+="@media ".concat(r[2]," {")),f&&(m+="@layer".concat(r[5].length>0?" ".concat(r[5]):""," {")),m+=e(r),f&&(m+="}"),r[2]&&(m+="}"),r[4]&&(m+="}"),m}).join("")},u.i=function(r,m,f,n,i){typeof r=="string"&&(r=[[null,r,void 0]]);var y={};if(f)for(var d=0;d<this.length;d++){var h=this[d][0];h!=null&&(y[h]=!0)}for(var p=0;p<r.length;p++){var g=[].concat(r[p]);f&&y[g[0]]||(i!==void 0&&(g[5]===void 0||(g[1]="@layer".concat(g[5].length>0?" ".concat(g[5]):""," {").concat(g[1],"}")),g[5]=i),m&&(g[2]&&(g[1]="@media ".concat(g[2]," {").concat(g[1],"}")),g[2]=m),n&&(g[4]?(g[1]="@supports (".concat(g[4],") {").concat(g[1],"}"),g[4]=n):g[4]="".concat(n)),u.push(g))}},u}},806:v=>{v.exports=function(e,u){return u||(u={}),e&&(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),u.hash&&(e+=u.hash),/["'() \t\n]|(%20)/.test(e)||u.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},537:v=>{v.exports=function(e){var u=e[1],r=e[3];if(!r)return u;if(typeof btoa=="function"){var m=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),f="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(m),n="/*# ".concat(f," */");return[u].concat([n]).join(` `)}return[u].join(` `)}},522:(v,e,u)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.OpenXmlPackage=void 0;const r=u(626),m=u(472),f=u(593),n=u(461);class i{constructor(d,h){this._zip=d,this.options=h,this.xmlParser=new m.XmlParser}get(d){return this._zip.files[function(h){return h.startsWith("/")?h.substr(1):h}(d)]}update(d,h){this._zip.file(d,h)}static load(d,h){return ce(this,null,function*(){const p=yield r.loadAsync(d);return new i(p,h)})}save(d="blob"){return this._zip.generateAsync({type:d})}load(d,h="string"){var p,g;return(g=(p=this.get(d))===null||p===void 0?void 0:p.async(h))!==null&&g!==void 0?g:Promise.resolve(null)}loadRelationships(d=null){return ce(this,null,function*(){let h="_rels/.rels";if(d!=null){const[g,w]=(0,f.splitPath)(d);h=`${g}_rels/${w}.rels`}const p=yield this.load(h);return p?(0,n.parseRelationships)(this.parseXmlDocument(p).firstElementChild,this.xmlParser):null})}parseXmlDocument(d){return(0,m.parseXmlString)(d,this.options.trimXmlDeclaration)}}e.OpenXmlPackage=i},530:(v,e,u)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Part=void 0;const r=u(472);e.Part=class{constructor(m,f){this._package=m,this.path=f}load(){return ce(this,null,function*(){this.rels=yield this._package.loadRelationships(this.path);const m=yield this._package.load(this.path),f=this._package.parseXmlDocument(m);this._package.options.keepOrigin&&(this._xmlDocument=f),this.parseXml(f.firstElementChild)})}save(){this._package.update(this.path,(0,r.serializeXmlString)(this._xmlDocument))}parseXml(m){}}},461:(v,e)=>{var u;Object.defineProperty(e,"__esModule",{value:!0}),e.parseRelationships=e.RelationshipTypes=void 0,function(r){r.OfficeDocument="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",r.FontTable="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",r.Image="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",r.Numbering="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",r.Styles="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",r.StylesWithEffects="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",r.Theme="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",r.Settings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",r.WebSettings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",r.Hyperlink="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",r.Footnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",r.Endnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",r.Footer="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",r.Header="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",r.ExtendedProperties="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",r.CoreProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",r.CustomProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties"}(u||(e.RelationshipTypes=u={})),e.parseRelationships=function(r,m){return m.elements(r).map(f=>({id:m.attr(f,"Id"),type:m.attr(f,"Type"),target:m.attr(f,"Target"),targetMode:m.attr(f,"TargetMode")}))}},168:(v,e,u)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentParser=e.autos=void 0;const r=u(120),m=u(109),f=u(59),n=u(472),i=u(488),y=u(172),d=u(149),h=u(320);e.autos={shd:"inherit",color:"black",borderColor:"black",highlight:"transparent"};const p=[],g={oMath:r.DomType.MmlMath,oMathPara:r.DomType.MmlMathParagraph,f:r.DomType.MmlFraction,func:r.DomType.MmlFunction,fName:r.DomType.MmlFunctionName,num:r.DomType.MmlNumerator,den:r.DomType.MmlDenominator,rad:r.DomType.MmlRadical,deg:r.DomType.MmlDegree,e:r.DomType.MmlBase,sSup:r.DomType.MmlSuperscript,sSub:r.DomType.MmlSubscript,sPre:r.DomType.MmlPreSubSuper,sup:r.DomType.MmlSuperArgument,su
.${a}-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; } .${a}-wrapper>section.${a} { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; } .${a} { color: black; hyphens: auto; } section.${a} { box-sizing: border-box; display: flex; flex-flow: column nowrap; position: relative; overflow: hidden; } section.${a}>article { margin-bottom: auto; z-index: 1; } section.${a}>footer { z-index: 1; } .${a} table { border-collapse: collapse; } .${a} table td, .${a} table th { vertical-align: top; } .${a} p { margin: 0pt; min-height: 1em; } .${a} span { white-space: pre-wrap; overflow-wrap: break-word; } .${a} a { color: inherit; text-decoration: inherit; } `)}renderNumbering(a,s){var t="",l=[];for(var b of a){var _=`p.${this.numberingClass(b.id,b.level)}`,E="none";if(b.bullet){let k=`--${this.className}-${b.bullet.src}`.toLowerCase();t+=this.styleToString(`${_}:before`,{content:"' '",display:"inline-block",background:`var(${k})`},b.bullet.style),this.document.loadNumberingImage(b.bullet.src).then(T=>{var o=`${this.rootSelector} { ${k}: url(${T}) }`;s.appendChild(w(o))})}else if(b.levelText){let k=this.numberingCounter(b.id,b.level);const T=k+" "+(b.start-1);b.level>0&&(t+=this.styleToString(`p.${this.numberingClass(b.id,b.level-1)}`,{"counter-reset":T})),l.push(T),t+=this.styleToString(`${_}:before`,Object.assign({content:this.levelTextToContent(b.levelText,b.suff,b.id,this.numFormatToCssValue(b.format)),"counter-increment":k},b.rStyle))}else E=this.numFormatToCssValue(b.format);t+=this.styleToString(_,Object.assign({display:"list-item","list-style-position":"inside","list-style-type":E},b.pStyle))}return l.length>0&&(t+=this.styleToString(this.rootSelector,{"counter-reset":l.join(" ")})),w(t)}renderStyles(a){var s,t="";const l=this.styleMap,b=(0,m.keyBy)(a.filter(T=>T.isDefault),T=>T.target);for(const T of a){var _=T.styles;if(T.linked){var E=T.linked&&l[T.linked];E?_=_.concat(E.styles):this.options.debug&&console.warn(`Can't find linked style ${T.linked}`)}for(const o of _){var k=`${(s=T.target)!==null&&s!==void 0?s:""}.${T.cssName}`;T.target!=o.target&&(k+=` ${o.target}`),b[T.target]==T&&(k=`.${this.className} ${T.target}, `+k),t+=this.styleToString(k,o.values)}}return w(t)}renderNotes(a,s,t){var l=a.map(_=>s[_]).filter(_=>_);if(l.length>0){var b=this.createElement("ol",null,this.renderElements(l));t.appendChild(b)}}renderElement(a){switch(a.type){case r.DomType.Paragraph:return this.renderParagraph(a);case r.DomType.BookmarkStart:return this.renderBookmarkStart(a);case r.DomType.BookmarkEnd:return null;case r.DomType.Run:return this.renderRun(a);case r.DomType.Table:return this.renderTable(a);case r.DomType.Row:return this.renderTableRow(a);case r.DomType.Cell:return this.renderTableCell(a);case r.DomType.Hyperlink:return this.renderHyperlink(a);case r.DomType.Drawing:return this.renderDrawing(a);case r.DomType.Image:return this.renderImage(a);case r.DomType.Text:case r.DomType.Text:return this.renderText(a);case r.DomType.DeletedText:return this.renderDeletedText(a);case r.DomType.Tab:return this.renderTab(a);case r.DomType.Symbol:return this.renderSymbol(a);case r.DomType.Break:return this.renderBreak(a);case r.DomType.Footer:return this.renderContainer(a,"footer");case r.DomType.Header:return this.renderContainer(a,"header");case r.DomType.Footnote:case r.DomType.Endnote:return this.renderContainer(a,"li");case r.DomType.FootnoteReference:return this.renderFootnoteReference(a);case r.DomType.EndnoteReference:return this.renderEndnoteReference(a);case r.DomType.NoBreakHyphen:return this.createElement("wbr");case r.DomType.VmlPicture:return this.renderVmlPicture(a);case r.DomType.VmlElement:return this.renderVmlElement(a);case r.DomType.MmlMath:return this.renderContainerNS(a,i,"math",{xmlns:i});case r.DomType.MmlMathParagraph:return this.renderContainer(a,"span");case r.DomType.MmlFraction:return this.renderContainerNS(a,i,"mfrac");case r.DomType.MmlBase:return this.renderContainerNS(a,i,a.parent.type==r.DomType.MmlMatrixRow?"mtd":"mrow");case r.DomType.MmlNumerator:case r.DomType.MmlDenominator:case r.DomType.MmlFunction:case r.DomType.MmlLimit:case r.DomType.MmlBox:return this.renderContainerNS(a,i,"mrow");case r.DomType.MmlGroupChar:return this.renderMmlGroupChar(a);case r.DomType.MmlLimitLower:return this.renderContainerNS(a,i,"munder");case r.DomType.MmlMatrix:return this.renderContainerNS(a,i,"mtable");case r.DomType.MmlMatrixRow:return this.renderContainerNS(a,i,"mtr");case r.DomType.MmlRadical:return this.renderMmlRadical(a);case r.DomType.MmlSuperscript:return this.renderContainerNS(a,i,"msup");case r.DomType.MmlSubscript:return this.renderContainerNS(a,i,"msub");case r.DomType.MmlDegree:case r.DomType.MmlSuperArgument:case r.DomType.MmlSubArgument:return t
`;for(const b in s)b.startsWith("$")||(l+=` ${b}: ${s[b]};\r `);return t&&(l+=t),l+`}\r `}numberingCounter(a,s){return`${this.className}-num-${a}-${s}`}levelTextToContent(a,s,t,l){var b;return`"${a.replace(/%\d*/g,_=>{let E=parseInt(_.substring(1),10)-1;return`"counter(${this.numberingCounter(t,E)}, ${l})"`})}${(b={tab:"\\9",space:"\\a0"}[s])!==null&&b!==void 0?b:""}"`}numFormatToCssValue(a){var s;return(s={none:"none",bullet:"disc",decimal:"decimal",lowerLetter:"lower-alpha",upperLetter:"upper-alpha",lowerRoman:"lower-roman",upperRoman:"upper-roman",decimalZero:"decimal-leading-zero",aiueo:"katakana",aiueoFullWidth:"katakana",chineseCounting:"simp-chinese-informal",chineseCountingThousand:"simp-chinese-informal",chineseLegalSimplified:"simp-chinese-formal",chosung:"hangul-consonant",ideographDigital:"cjk-ideographic",ideographTraditional:"cjk-heavenly-stem",ideographLegalTraditional:"trad-chinese-formal",ideographZodiac:"cjk-earthly-branch",iroha:"katakana-iroha",irohaFullWidth:"katakana-iroha",japaneseCounting:"japanese-informal",japaneseDigitalTenThousand:"cjk-decimal",japaneseLegal:"japanese-formal",thaiNumbers:"thai",koreanCounting:"korean-hangul-formal",koreanDigital:"korean-hangul-formal",koreanDigital2:"korean-hanja-informal",hebrew1:"hebrew",hebrew2:"hebrew",hindiNumbers:"devanagari",ganada:"hangul",taiwaneseCounting:"cjk-ideographic",taiwaneseCountingThousand:"cjk-ideographic",taiwaneseDigital:"cjk-decimal"}[a])!==null&&s!==void 0?s:a}refreshTabStops(){this.options.experimental&&(clearTimeout(this.tabsTimeout),this.tabsTimeout=setTimeout(()=>{const a=(0,f.computePixelToPoint)();for(let s of this.currentTabs)(0,f.updateTabStop)(s.span,s.stops,this.defaultTabSize,a)},500))}}},630:(v,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.updateTabStop=e.computePixelToPoint=void 0;const u={pos:0,leader:"none",style:"left"};function r(m){return parseFloat(m)}e.computePixelToPoint=function(m=document.body){const f=document.createElement("div");f.style.width="100pt",m.appendChild(f);const n=100/f.offsetWidth;return m.removeChild(f),n},e.updateTabStop=function(m,f,n,i=.75){const y=m.closest("p"),d=m.getBoundingClientRect(),h=y.getBoundingClientRect(),p=getComputedStyle(y),g=(f==null?void 0:f.length)>0?f.map(k=>({pos:r(k.position),leader:k.leader,style:k.style})).sort((k,T)=>k.pos-T.pos):[u],w=g[g.length-1],x=h.width*i,a=r(n);let s=w.pos+a;if(s<x)for(;s<x&&g.length<50;s+=a)g.push(Object.assign(Object.assign({},u),{pos:s}));const t=parseFloat(p.marginLeft),l=h.left+t,b=(d.left-l)*i,_=g.find(k=>k.style!="clear"&&k.pos>b);if(_==null)return;let E=1;if(_.style=="right"||_.style=="center"){const k=Array.from(y.querySelectorAll(`.${m.className}`)),T=k.indexOf(m)+1,o=document.createRange();o.setStart(m,1),T<k.length?o.setEndBefore(k[T]):o.setEndAfter(y);const z=_.style=="center"?.5:1,$=o.getBoundingClientRect(),L=$.left+z*$.width-(h.left-t);E=_.pos-L*i}else E=_.pos-b;switch(m.innerHTML=" ",m.style.textDecoration="inherit",m.style.wordSpacing=`${E.toFixed(0)}pt`,_.leader){case"dot":case"middleDot":m.style.textDecoration="underline",m.style.textDecorationStyle="dotted";break;case"hyphen":case"heavy":case"underscore":m.style.textDecoration="underline"}}},881:(v,e,u)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.WmlEndnote=e.WmlFootnote=e.WmlBaseNote=void 0;const r=u(120);class m{}e.WmlBaseNote=m,e.WmlFootnote=class extends m{constructor(){super(...arguments),this.type=r.DomType.Footnote}},e.WmlEndnote=class extends m{constructor(){super(...arguments),this.type=r.DomType.Endnote}}},735:(v,e,u)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.EndnotesPart=e.FootnotesPart=e.BaseNotePart=void 0;const r=u(530),m=u(881);class f extends r.Part{constructor(i,y,d){super(i,y),this._documentParser=d}}e.BaseNotePart=f,e.FootnotesPart=class extends f{constructor(n,i,y){super(n,i,y)}parseXml(n){this.notes=this._documentParser.parseNotes(n,"footnote",m.WmlFootnote)}},e.EndnotesPart=class extends f{constructor(n,i,y){super(n,i,y)}parseXml(n){this.notes=this._documentParser.parseNotes(n,"endnote",m.WmlEndnote)}}},527:(v,e,u)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NumberingPart=void 0;const r=u(530),m=u
|