@syncfusion/ej2-docx 35.1.39 → 35.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitleaksignore +35 -0
- package/README.md +1 -1
- package/dist/ej2-docx.umd.min.js +9 -0
- package/dist/global/ej2-docx.min.js +9 -0
- package/dist/global/index.d.ts +9 -0
- package/package.json +31 -31
- package/src/features/document/alt-chunk.d.ts +1 -1
- package/src/features/document/alt-chunk.js +1 -1
- package/src/features/document/augmentations.d.ts +2 -2
- package/src/features/document/entity-type.d.ts +8 -8
- package/src/features/document/entity-type.js +8 -8
- package/src/features/document/length.d.ts +14 -14
- package/src/features/document/length.js +12 -12
- package/src/features/document/text-range.d.ts +11 -11
- package/src/features/document/text-range.js +2 -2
- package/src/features/drawing/drawing-shape.d.ts +1 -1
- package/src/features/drawing/drawing-shape.js +1 -1
- package/src/features/editable-ranges/index.d.ts +1 -1
- package/src/features/editable-ranges/index.js +1 -1
- package/src/features/headers-footers/index.d.ts +8 -8
- package/src/features/headers-footers/index.js +8 -8
- package/src/features/images/caption-authoring-api.d.ts +3 -3
- package/src/features/images/caption-authoring-api.js +2 -2
- package/src/features/images/captions.d.ts +1 -1
- package/src/features/images/captions.js +1 -1
- package/src/features/images/index.d.ts +10 -10
- package/src/features/images/index.js +7 -7
- package/src/features/numbering/index.js +1 -1
- package/src/features/numbering/list-format.d.ts +1 -1
- package/src/features/sections/page-setup.d.ts +1 -1
package/dist/ej2-docx.umd.min.js
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-docx.umd.min.js
|
|
3
|
+
* version : 35.1.40
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
1
10
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).ej={})}(this,function(M){"use strict";h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var h,p,m=function(e,t){function r(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},J=(p=Error,m(T,p),T);function T(e,t,r){var n=this.constructor,t=p.call(this,t)||this;return t.name=n.name,t.code=e,void 0!==r&&void 0!==r.cause&&(t.cause=r.cause),Object.setPrototypeOf(t,n.prototype),t}m(O,k=J);var k,x=O;function O(){return null!==k&&k.apply(this,arguments)||this}m(L,A=J);var A,E=L;function L(){return null!==A&&A.apply(this,arguments)||this}m(_,R=J);var R,B=_;function _(){return null!==R&&R.apply(this,arguments)||this}m(G,j=J);var j,W=G;function G(){return null!==j&&j.apply(this,arguments)||this}m(Y,q=J);var q,X=Y;function Y(e,t){return q.call(this,"content/unsupported",e,t)||this}m(K,Z=J);var Z,N=K;function K(e,t){return Z.call(this,"model/detached-object",e,t)||this}m(ie,ee=J);var ee,ne=ie;function ie(e,t){return ee.call(this,"argument/invalid",e,t)||this}m(le,oe=J);var oe,ae=le;function le(e,t){return oe.call(this,"io/error",e,t)||this}var se={totalUncompressedSize:536870912,compressionRatio:200,entryCount:1e4,singlePartUncompressedSize:134217728,xmlNestingDepth:256,xmlAttributeCount:4096,textNodeLength:33554432,relationshipCountPerPart:1e4};function ue(e){return void 0===e?se:{totalUncompressedSize:(null!=e.totalUncompressedSize?e:se).totalUncompressedSize,compressionRatio:(null!=e.compressionRatio?e:se).compressionRatio,entryCount:(null!=e.entryCount?e:se).entryCount,singlePartUncompressedSize:(null!=e.singlePartUncompressedSize?e:se).singlePartUncompressedSize,xmlNestingDepth:(null!=e.xmlNestingDepth?e:se).xmlNestingDepth,xmlAttributeCount:(null!=e.xmlAttributeCount?e:se).xmlAttributeCount,textNodeLength:(null!=e.textNodeLength?e:se).textNodeLength,relationshipCountPerPart:(null!=e.relationshipCountPerPart?e:se).relationshipCountPerPart}}var ce="http://www.w3.org/XML/1998/namespace",de="http://www.w3.org/2000/xmlns/",he="http://schemas.openxmlformats.org/wordprocessingml/2006/main",pe="http://purl.oclc.org/ooxml/wordprocessingml/main",fe=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},ve=(me.prototype.eof=function(){return this.pos>=this.source.length},me.prototype.peek=function(){return this.source.charAt(this.pos)},me.prototype.startsWith=function(e){return this.source.startsWith(e,this.pos)},me.prototype.advance=function(e){this.pos+=e=void 0===e?1:e},me.prototype.skipWhitespace=function(){for(;!this.eof();){var e=this.peek();if(" "!==e&&"\t"!==e&&"\n"!==e&&"\r"!==e)break;this.advance()}},me);function me(e){this.pos=0,this.source=e}function ye(e){if(!e.startsWith("&"))throw new E("xml/malformed","Expected entity reference");var t=e.pos;if(e.advance(),e.startsWith("#x")||e.startsWith("#X")){e.advance(2);for(var r="";!e.eof()&&/[0-9a-fA-F]/.test(e.peek());)r+=e.peek(),e.advance();if(!e.startsWith(";")||0===r.length)throw new E("xml/malformed","Invalid numeric character reference");e.advance();var n=Number.parseInt(r,16);return String.fromCodePoint(n)}if(e.startsWith("#")){e.advance();for(var i="";!e.eof()&&/[0-9]/.test(e.peek());)i+=e.peek(),e.advance();if(e.startsWith(";")&&0!==i.length)return e.advance(),String.fromCodePoint(Number.parseInt(i,10));throw new E("xml/malformed","Invalid numeric character reference")}for(n=e.pos;!e.eof()&&/[A-Za-z]/.test(e.peek());)e.advance();var o=e.source.slice(n,e.pos);if(!e.startsWith(";"))throw new E("xml/malformed","Unterminated entity at "+String(t));switch(e.advance(),o){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'";default:throw new E("xml/dtd-forbidden","Unknown entity &"+o+"; — DTD-defined entities are not resolved")}}function ge(e){var t=e.pos;if(e.eof()||!/[:A-Za-z_]/.test(e.peek()))throw new E("xml/malformed","Invalid XML name at "+String(t));for(e.advance();!e.eof()&&/[:A-Za-z0-9._-]/.test(e.peek());)e.advance();return e.source.slice(t,e.pos)}function be(e){var t=e.indexOf(":");return-1===t?{prefix:"",localName:e}:{prefix:e.slice(0,t),localName:e.slice(t+1)}}function we(e,t){if("xml"===e)return ce;if("xmlns"===e)return de;if(""===e)return t.defaultUri;t=t.prefixes.get(e);if(void 0===t)throw new E("xml/malformed","Unbound namespace prefix "+e);return t}function Pe(e){if(e.startsWith("\x3c!--")){if(e.advance(4),-1===(t=e.source.indexOf("--\x3e",e.pos)))throw new E("xml/malformed","Unterminated comment");e.pos=t+3}else if(e.startsWith("<?")){var t;if(e.advance(2),-1===(t=e.source.indexOf("?>",e.pos)))throw new E("xml/malformed","Unterminated processing instruction");e.pos=t+2}}function Se(e,t,r,n){if(r>n.xmlNestingDepth)throw new B("security/limit-exceeded","XML nesting depth exceeds "+String(n.xmlNestingDepth));if(!e.startsWith("<"))throw new E("xml/malformed","Expected < to start an element");if(e.advance(),e.startsWith("/"))throw new E("xml/malformed","Unexpected end tag");var i=ge(e),o=[];for(e.skipWhitespace();!e.eof()&&">"!==e.peek()&&"/"!==e.peek();){var a=ge(e);if(e.skipWhitespace(),"="!==e.peek())throw new E("xml/malformed","Expected = after attribute "+a);e.advance(),e.skipWhitespace();var l=function(e,t){var r=e.peek();if('"'!==r&&"'"!==r)throw new E("xml/malformed","Attribute value must be quoted");e.advance();for(var n="";!e.eof()&&e.peek()!==r;){if("<"===e.peek())throw new E("xml/malformed","Raw < in attribute value");if("&"===e.peek()?n+=ye(e):(n+=e.peek(),e.advance()),n.length>t.textNodeLength)throw new B("security/limit-exceeded","Attribute value exceeds the text length limit")}if(e.peek()!==r)throw new E("xml/malformed","Unterminated attribute value");return e.advance(),n}(e,n);if(o.push({qname:a,value:l}),o.length>n.xmlAttributeCount)throw new B("security/limit-exceeded","XML attribute count exceeds the limit");e.skipWhitespace()}var s=[],u=t.defaultUri,c=new Map(t.prefixes);try{for(var d,h=fe(o),p=h.next();!p.done;p=h.next())"xmlns"===(g=p.value).qname?(u=g.value,s.push({prefix:"",namespaceUri:g.value})):g.qname.startsWith("xmlns:")&&(d=g.qname.slice("xmlns:".length),c.set(d,g.value),s.push({prefix:d,namespaceUri:g.value}))}catch(e){m={error:e}}finally{try{p&&!p.done&&(v=h.return)&&v.call(h)}finally{if(m)throw m.error}}var f={defaultUri:u,prefixes:c},t=be(i),v=t.prefix,m=t.localName,t=we(v,f),y=[];try{for(var g,b,w=fe(o),P=w.next();!P.done;P=w.next())"xmlns"===(g=P.value).qname||g.qname.startsWith("xmlns:")||(b=be(g.qname),y.push({prefix:b.prefix,localName:b.localName,namespaceUri:""===b.prefix?"":we(b.prefix,f),value:g.value}))}catch(e){x={error:e}}finally{try{P&&!P.done&&(S=w.return)&&S.call(w)}finally{if(x)throw x.error}}var S=!1;if(e.startsWith("/>"))S=!0,e.advance(2);else{if(!e.startsWith(">"))throw new E("xml/malformed","Unterminated start tag "+i);e.advance()}var x=[];return S||function(e,t,r,n,i,o){for(;!e.eof();){if(e.startsWith("</")){e.advance(2);var a=ge(e);if(e.skipWhitespace(),!e.startsWith(">"))throw new E("xml/malformed","Unterminated end tag");if(e.advance(),a!==i)throw new E("xml/malformed","Mismatched end tag </"+a+"> for <"+i+">");return}if(e.startsWith("\x3c!--")||e.startsWith("<?"))Pe(e);else if(e.startsWith("<![CDATA[")){e.advance(9);a=e.source.indexOf("]]>",e.pos);if(-1===a)throw new E("xml/malformed","Unterminated CDATA");var l=e.source.slice(e.pos,a);if(l.length>n.textNodeLength)throw new B("security/limit-exceeded","CDATA exceeds the text length limit");e.pos=a+3,o.push({kind:"text",value:l})}else if(e.startsWith("<"))o.push(Se(e,t,r,n));else{for(var s="";!e.eof()&&"<"!==e.peek();)if("&"===e.peek()?s+=ye(e):(s+=e.peek(),e.advance()),s.length>n.textNodeLength)throw new B("security/limit-exceeded","Text node exceeds the text length limit");0<s.length&&o.push({kind:"text",value:s})}}throw new E("xml/malformed","Missing end tag for <"+i+">")}(e,f,r+1,n,i,x),{kind:"element",namespaceUri:t,localName:m,prefix:v,attributes:y,namespaceDeclarations:s,children:x}}function xe(e){if(2<=e.length){if(255===e[0]&&254===e[1])return new TextDecoder("utf-16le").decode(e);if(254===e[0]&&255===e[1])return new TextDecoder("utf-16be").decode(e)}return new TextDecoder("utf-8").decode(e)}function Ce(e,t){t=ue(t),e=65279===e.charCodeAt(0)?e.slice(1):e;if(/<!DOCTYPE/i.test(e)||/<!ENTITY/i.test(e))throw new E("xml/dtd-forbidden","DTD and ENTITY declarations are disabled");var r=new ve(e);for(r.skipWhitespace();r.startsWith("<?")||r.startsWith("\x3c!--");)Pe(r),r.skipWhitespace();e=Se(r,{defaultUri:"",prefixes:new Map},1,t);if(r.skipWhitespace(),r.eof())return e;throw new E("xml/malformed","Trailing content after the document element")}var Ie=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function Ve(e,t,r){return e.split(t).join(r)}function Te(e){return Ve(Ve(Ve(e,"&","&"),"<","<"),">",">")}function ke(e){return Ve(Te(e),'"',""")}function Fe(e){var t,r,n,i,o,a,l,s,u=""===e.prefix?e.localName:e.prefix+":"+e.localName,c=["<",u];try{for(var d=Ie(e.namespaceDeclarations),h=d.next();!h.done;h=d.next()){var p=h.value;""===p.prefix?c.push(' xmlns="',ke(p.namespaceUri),'"'):c.push(" xmlns:",p.prefix,'="',ke(p.namespaceUri),'"')}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}try{for(var f=Ie(e.attributes),v=f.next();!v.done;v=f.next()){var m=v.value,y=m.namespaceUri===ce&&""===m.prefix?"xml:"+m.localName:""===(l=m).prefix?l.localName:l.prefix+":"+l.localName;c.push(" ",y,'="',ke(m.value),'"')}}catch(e){n={error:e}}finally{try{v&&!v.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}if(0===e.children.length)c.push("/>");else{c.push(">");try{for(var g=Ie(e.children),b=g.next();!b.done;b=g.next()){var w=b.value;c.push("text"===(s=w).kind?Te(s.value):Fe(s))}}catch(e){o={error:e}}finally{try{b&&!b.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}c.push("</",u,">")}return c.join("")}for(var De=new Uint32Array(256),Oe=0;Oe<256;Oe+=1){for(var Ne=Oe,Ae=0;Ae<8;Ae+=1)Ne=1==(1&Ne)?3988292384^Ne>>>1:Ne>>>1;De[Oe]=Ne>>>0}function Ee(e){for(var t=4294967295,r=0;r<e.length;r+=1){var n=e[r];if(void 0===n)break;n=De[255&(t^n)];if(void 0===n)break;t=n^t>>>8}return(4294967295^t)>>>0}var Le=15,Re=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],Be=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],_e=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],je=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Me=(ze.prototype.bits=function(e){for(;this.bitsLeft<e;){if(this.offset>=this.input.length)throw new Error("Truncated DEFLATE stream");this.buffer|=this.input[this.offset++]<<this.bitsLeft,this.bitsLeft+=8}var t=this.buffer&(1<<e)-1;return this.buffer>>>=e,this.bitsLeft-=e,t},ze.prototype.align=function(){this.buffer=0,this.bitsLeft=0},ze.prototype.bytes=function(e){if(this.align(),this.offset+e>this.input.length)throw new Error("Truncated DEFLATE stored block");var t=this.input.subarray(this.offset,this.offset+e);return this.offset+=e,t},ze.prototype.u16=function(){if(this.align(),this.offset+2>this.input.length)throw new Error("Truncated DEFLATE stored block");var e=this.input[this.offset]|this.input[this.offset+1]<<8;return this.offset+=2,e},ze);function ze(e){this.input=e,this.buffer=0,this.bitsLeft=0,this.offset=0}He.prototype.decode=function(e){for(var t=0,r=1;r<=Le;r++){var t=t<<1|e.bits(1),n=this.counts[r];if(0!==n){var i=this.firstCode[r];if(i<=t&&t<i+n)return this.symbols[this.symbolIndex[r]+(t-i)]}}throw new Error("Invalid DEFLATE Huffman code")};var Ue=He;function He(e){this.counts=[],this.firstCode=[],this.symbolIndex=[];for(var t=[],r=0;r<=Le;r++)t[r]=0;for(r=0;r<e.length;r++){var n=e[r];if(Le<n)throw new Error("Invalid DEFLATE Huffman length");0<n&&(t[n]+=1)}var i=[],o=0;t[0]=0;for(var a=1;a<=Le;a++)i[a]=o=o+t[a-1]<<1,this.firstCode[a]=o,this.counts[a]=t[a];this.symbolIndex=[];for(a=0;a<=Le;a++)this.symbolIndex[a]=0;for(var l=0,a=1;a<=Le;a++)this.symbolIndex[a]=l,l+=t[a];this.symbols=[];for(r=0;r<e.length;r++)this.symbols[r]=0;for(var s=0;s<e.length;s++){var u,c=e[s];0!==c&&(u=this.symbolIndex[c]+(i[c]-this.firstCode[c]),this.symbols[u]=s,i[c]+=1)}}var We=function(){for(var e=[],t=0;t<288;t++)e[t]=t<144?8:t<256?9:t<280?7:8;return new Ue(e)}(),Ge=function(){for(var e=[],t=0;t<30;t++)e[t]=5;return new Ue(e)}();Xe.prototype.push=function(e){this.ensure(1),this.bytes[this.length++]=e},Xe.prototype.copy=function(e,t){if(e<=0||e>this.length)throw new Error("Invalid DEFLATE distance");this.ensure(t);for(var r=this.length-e,n=0;n<t;n++)this.bytes[this.length++]=this.bytes[r+n]},Xe.prototype.finish=function(){return this.bytes.slice(0,this.length)},Xe.prototype.ensure=function(e){if(this.length+e>this.maxOutputLength)throw new RangeError("Inflated size exceeds limit "+String(this.maxOutputLength));if(!(this.length+e<=this.bytes.length)){for(var t=this.bytes.length;t<this.length+e;)t*=2;t>this.maxOutputLength&&(t=this.maxOutputLength);var r=new Uint8Array(t);r.set(this.bytes.subarray(0,this.length)),this.bytes=r}};var qe=Xe;function Xe(e){this.maxOutputLength=e,this.bytes=new Uint8Array(256),this.length=0}function Ye(e,t,r,n){for(;;){var i=r.decode(e);if(i<256)t.push(i);else{if(256===i)return;if(285<i)throw new Error("Invalid DEFLATE length symbol");var i=i-257,i=Re[i]+e.bits(Be[i]),o=n.decode(e);if(29<o)throw new Error("Invalid DEFLATE distance symbol");o=_e[o]+e.bits(je[o]);t.copy(o,i)}}}function Ze(e,t){var r=new Me(e),n=new qe(t);do{var i=r.bits(1),o=r.bits(2);if(0===o){var a=r.u16();if((65535^a)!==r.u16())throw new Error("Invalid DEFLATE stored-block length");for(var l=r.bytes(a),s=0;s<l.length;s++)n.push(l[s])}else if(1===o)Ye(r,n,We,Ge);else{if(2!==o)throw new Error("Invalid DEFLATE block type");a=function(e){var t=e.bits(5)+257,r=e.bits(5)+1,n=e.bits(4)+4;if(286<t||30<r)throw new Error("Invalid DEFLATE dynamic Huffman header");for(var i=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],o=[],a=0;a<19;a++)o[a]=0;for(a=0;a<n;a++)o[i[a]]=e.bits(3);for(var l=new Ue(o),s=[];s.length<t+r;){var u=l.decode(e);if(u<16)s.push(u);else{var c=0,d=0;if(16===u){if(0===s.length)throw new Error("Invalid DEFLATE length repeat");d=s[s.length-1],c=e.bits(2)+3}else c=17===u?e.bits(3)+3:e.bits(7)+11;if(t+r<s.length+c)throw new Error("Invalid DEFLATE length repeat");for(a=0;a<c;a++)s.push(d)}}return{literal:new Ue(s.slice(0,t)),distance:new Ue(s.slice(t))}}(r);Ye(r,n,a.literal,a.distance)}}while(0===i);return n.finish()}var Ke=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function Je(e){var t,r;if(0===e.length)throw new x("package/invalid-part-name","ZIP item name is empty");if(e.includes("\0"))throw new x("package/invalid-part-name","ZIP item name contains a NUL");var n=e.split("\\").join("/");if(n.startsWith("/")||e.startsWith("\\"))throw new x("package/invalid-part-name","ZIP item name is an absolute path: "+e);if(/^[a-zA-Z]:/.test(e))throw new x("package/invalid-part-name","ZIP item name has a drive letter: "+e);if(n.startsWith("//"))throw new x("package/invalid-part-name","ZIP item name is a UNC path: "+e);n=n.split("/");try{for(var i=Ke(n),o=i.next();!o.done;o=i.next())if(".."===o.value)throw new x("package/invalid-part-name","ZIP item name contains '..': "+e)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}var $e=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Qe=101010256,et=33639248,tt=67324752,rt=0,nt=8,it=1,ot=2048,at=Uint8Array.of(208,207,17,224,161,177,26,225);function lt(e,t){if(!(e.length<2*t.length))e:for(var r=0;r<=e.length-2*t.length;r+=1){for(var n=0;n<t.length;n+=1){var i=e[r+2*n],o=e[r+2*n+1];if(i!==t.charCodeAt(n)||0!==o)continue e}return!0}return!1}function st(e){var t=lt(e,"WordDocument"),r=function(e){var t,r,n=[512,at.length];try{for(var i=$e(n),o=i.next();!o.done;o=i.next()){var a=o.value;if(!(e.length<a+2))if(42476===new DataView(e.buffer,e.byteOffset+a,2).getUint16(0,!0))return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!1}(e),n=lt(e,"EncryptedPackage"),e=lt(e,"EncryptionInfo");if((t||r)&&!n&&!e)throw new x("package/invalid-zip","Input is a legacy binary Word document (OLE compound / .doc), not an OPC ZIP (.docx). Binary DOC is out of scope.");if(n||e)throw new x("package/encrypted","Input is an encrypted Office package (OLE compound / [MS-OFFCRYPTO]), not an OPC ZIP");throw new x("package/invalid-zip","Input is an OLE compound file, not an OPC ZIP (.docx)")}function ut(e,t,r,n){r=t+r;if(t<0||r>e.length)throw new x("package/invalid-zip","Truncated ZIP "+n);return e.subarray(t,r)}function ct(e,t){var r=ue(t),n=(!function(e){if(!(e.length<at.length)){for(var t=0;t<at.length;t+=1)if(e[t]!==at[t])return;return 1}}(e)||st(e),new DataView(e.buffer,e.byteOffset,e.byteLength)),t=function(e){var t=e.byteLength;if(t<22)throw new x("package/invalid-zip","Buffer is too small to be a ZIP archive");for(var r=Math.max(0,t-22-65535),n=t-22;r<=n;--n)if(e.getUint32(n,!0)===Qe&&n+22+e.getUint16(n+20,!0)===t)return n;throw new x("package/invalid-zip","ZIP end-of-central-directory signature not found")}(n),i=n.getUint16(t+4,!0),o=n.getUint16(t+6,!0),a=n.getUint16(t+8,!0),l=n.getUint16(t+10,!0),s=n.getUint32(t+12,!0),t=n.getUint32(t+16,!0);if(0!==i||0!==o||a!==l)throw new x("package/invalid-zip","Multi-disk ZIP archives are not supported");if(65535===l||4294967295===t||4294967295===s)throw new x("package/invalid-zip","ZIP64 archives are not supported in this ZIP reader");if(l>r.entryCount)throw new B("security/entry-count","ZIP entry count "+String(l)+" exceeds the limit");if(t+s>e.length)throw new x("package/invalid-zip","Central directory is truncated");for(var u=new Map,c=[],d=t,h=0,p=0;p<l;p+=1){if(n.getUint32(d,!0)!==et)throw new x("package/invalid-zip","Central directory file header signature missing");var f=n.getUint16(d+8,!0),v=n.getUint16(d+10,!0),m=n.getUint32(d+16,!0),y=n.getUint32(d+20,!0),g=(n.getUint32(d+24,!0),n.getUint16(d+28,!0)),b=n.getUint16(d+30,!0),w=n.getUint16(d+32,!0),P=n.getUint32(d+42,!0),S=ut(e,d+46,g,"item name"),S=(S=S,new TextDecoder(0!=(f&ot)?"utf-8":"latin1").decode(S));if(d+=46+g+b+w,0!=(f&it))throw new x("package/encrypted","ZIP item "+S+" is encrypted; OPC ZIP encryption is forbidden (ECMA-376-2 §7.3.6)");Je(S);g=S.toLowerCase(),b=u.get(g);if(void 0!==b)throw new x("package/duplicate-zip-entry","Duplicate ZIP item name "+S+" (conflicts with "+b+")");if(u.set(g,S),n.getUint32(P,!0)!==tt)throw new x("package/invalid-zip","Local file header missing for "+S);w=function(t,e,r,n,i){var o=Math.min(r.singlePartUncompressedSize,n,0===t.length?r.singlePartUncompressedSize:t.length*r.compressionRatio);if(o<=0)throw new B("security/total-uncompressed","Total uncompressed size limit hit at "+i);if(e===rt){if(t.length>r.singlePartUncompressedSize)throw new B("security/part-size","Uncompressed entry "+i+" exceeds the single-part limit");if(t.length>n)throw new B("security/total-uncompressed","Total uncompressed size limit hit at "+i);return t.slice()}if(e!==nt)throw new x("package/invalid-zip","ZIP item "+i+" uses compression method "+String(e)+"; OPC allows only STORE and DEFLATE (ECMA-376-2 §7.3.6)");try{var a=Ze(t,o);if(a.length>r.singlePartUncompressedSize)throw new B("security/part-size","Uncompressed entry "+i+" exceeds the single-part limit");if(0<t.length&&a.length/t.length>r.compressionRatio)throw new B("security/zip-bomb","Inflate ratio exceeded for "+i);return a}catch(e){if(e instanceof B||e instanceof x)throw e;if(e instanceof RangeError){if(o===n&&n<r.singlePartUncompressedSize)throw new B("security/total-uncompressed","Total uncompressed size limit hit at "+i,{cause:e});if(o===t.length*r.compressionRatio)throw new B("security/zip-bomb","Inflate ratio exceeded for "+i,{cause:e});throw new B("security/part-size","Uncompressed entry "+i+" exceeds the single-part limit (raise ResourceLimits.singlePartUncompressedSize to load large documents)",{cause:e})}throw new x("package/invalid-zip","DEFLATE stream is invalid for "+i,{cause:e})}}(ut(e,P+30+n.getUint16(P+26,!0)+n.getUint16(P+28,!0),y,"payload for "+S),v,r,r.totalUncompressedSize-h,S);if(Ee(w)!==m)throw new x("package/invalid-zip","CRC-32 mismatch for "+S);if((h+=w.byteLength)>r.totalUncompressedSize)throw new B("security/total-uncompressed","Total uncompressed size limit hit at "+S);c.push({name:S,data:w})}return c}var dt=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},ht=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},pt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ht(arguments[t]));return e},ft=67324752,vt=33639248,mt=101010256,yt=0,gt=20;function bt(e){var t,r,n,i,o=0;try{for(var a=dt(e),l=a.next();!l.done;l=a.next())o+=(h=l.value).byteLength}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}var s=new Uint8Array(o),u=0;try{for(var c=dt(e),d=c.next();!d.done;d=c.next()){var h=d.value;s.set(h,u),u+=h.byteLength}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return s}function wt(e){var t=new Uint8Array(2);return new DataView(t.buffer).setUint16(0,e,!0),t}function Pt(e){var t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),t}function St(e){var t,r,n,i=new TextEncoder,o=new Map,a=[];try{for(var l=dt(e),s=l.next();!s.done;s=l.next()){var u=s.value;if(Je(u.name),!/^[\u0020-\u007e]+$/.test(u.name))throw new x("package/invalid-part-name","ZIP item name is not ASCII as required by ECMA-376-2 §7.3.3: "+u.name);var c=u.name.toLowerCase(),d=o.get(c);if(void 0!==d)throw new x("package/duplicate-zip-entry","Duplicate ZIP item name "+u.name+" (conflicts with "+d+")");o.set(c,u.name),a.push({nameBytes:i.encode(u.name),name:u.name,data:u.data,crc:Ee(u.data)})}}catch(e){t={error:e}}finally{try{s&&!s.done&&(w=l.return)&&w.call(l)}finally{if(t)throw t.error}}if(65535<a.length)throw new x("package/invalid-zip","Too many ZIP entries to encode in a non-ZIP64 archive");var h=[],p=[],f=0;try{for(var v=dt(a),m=v.next();!m.done;m=v.next()){var y=m.value,g=bt([Pt(ft),wt(gt),wt(0),wt(yt),wt(0),wt(0),Pt(y.crc),Pt(y.data.byteLength),Pt(y.data.byteLength),wt(y.nameBytes.byteLength),wt(0),y.nameBytes,y.data]),b=(h.push(g),bt([Pt(vt),wt(gt),wt(gt),wt(0),wt(yt),wt(0),wt(0),Pt(y.crc),Pt(y.data.byteLength),Pt(y.data.byteLength),wt(y.nameBytes.byteLength),wt(0),wt(0),wt(0),wt(0),Pt(0),Pt(f),y.nameBytes]));p.push(b),f+=g.byteLength}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}var e=bt(p),w=bt([Pt(mt),wt(0),wt(0),wt(a.length),wt(a.length),Pt(e.byteLength),Pt(f),wt(0)]);return bt(pt(h,[e,w]))}var xt=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Ct="[Content_Types].xml",It="http://schemas.openxmlformats.org/package/2006/content-types",Vt="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",Tt="application/vnd.openxmlformats-package.relationships+xml";function kt(e,t,r){e=e.attributes.find(function(e){return e.localName===t&&""===e.namespaceUri});if(void 0===e||0===e.value.length)throw new x("package/invalid-content-types",r+" is missing "+t);return e.value}function Ft(e){var t,r,n,e=Ce(e);if("Types"!==(n=e).localName||n.namespaceUri!==It)throw new x("package/invalid-content-types","Expected Types in "+It+", found {"+e.namespaceUri+"}"+e.localName);var i=[];try{for(var o=xt(e.children.filter(function(e){return"element"===e.kind})),a=o.next();!a.done;a=o.next()){var l=a.value;l.namespaceUri!==It?i.push({kind:"opaque",xml:l}):"Default"===l.localName?i.push({kind:"default",extension:kt(l,"Extension","Default"),contentType:kt(l,"ContentType","Default")}):"Override"===l.localName?i.push({kind:"override",partName:kt(l,"PartName","Override"),contentType:kt(l,"ContentType","Override")}):i.push({kind:"opaque",xml:l})}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{records:i}}function Dt(e){e=e.find(function(e){return e.name===Ct});if(void 0===e)throw new x("package/missing-part","ZIP item "+Ct+" is required (ECMA-376-2 §7.3.7)");return Ft(new TextDecoder("utf-8").decode(e.data))}function Ot(e,t){var r,n,i=e.records.find(function(e){return"override"===e.kind&&e.partName===t});return void 0!==i&&"override"===i.kind||!((r=(i=-1===(i=t.lastIndexOf("/"))?t:t.slice(i+1)).lastIndexOf("."))<=0||r===i.length-1)&&(n=i.slice(r+1),void 0!==(i=e.records.find(function(e){return"default"===e.kind&&e.extension.toLowerCase()===n.toLowerCase()})))&&"default"===i.kind?i.contentType:void 0}function Nt(e){return{records:[{kind:"default",extension:"rels",contentType:Tt},{kind:"default",extension:"xml",contentType:"application/xml"},{kind:"override",partName:e=void 0===e?"/word/document.xml":e,contentType:Vt}]}}function At(e){e=e.records.map(function(e){return"opaque"===e.kind?e.xml:"default"===e.kind?{kind:"element",namespaceUri:It,localName:"Default",prefix:"",attributes:[{namespaceUri:"",localName:"Extension",prefix:"",value:e.extension},{namespaceUri:"",localName:"ContentType",prefix:"",value:e.contentType}],namespaceDeclarations:[],children:[]}:{kind:"element",namespaceUri:It,localName:"Override",prefix:"",attributes:[{namespaceUri:"",localName:"PartName",prefix:"",value:e.partName},{namespaceUri:"",localName:"ContentType",prefix:"",value:e.contentType}],namespaceDeclarations:[],children:[]}});return Fe({kind:"element",namespaceUri:It,localName:"Types",prefix:"",attributes:[],namespaceDeclarations:[{prefix:"",namespaceUri:It}],children:e})}var Et=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function $(e){return e.toLowerCase()}function Lt(e){var t,r,n=e;if(n.includes("\0"))throw new x("package/invalid-part-name","Part name contains a NUL");if(n.includes("\\"))throw new x("package/invalid-part-name","Part name contains a backslash: "+n);if(!n.startsWith("/"))throw new x("package/invalid-part-name","OPC part names begin with '/': "+n);if("/"===n)throw new x("package/invalid-part-name","Part name must have at least one segment");if(n.endsWith("/"))throw new x("package/invalid-part-name","Part name must not end with '/': "+n);var i=n.slice(1).split("/");try{for(var o=Et(i),a=o.next();!a.done;a=o.next()){var l=a.value;if(0===l.length)throw new x("package/invalid-part-name","Part name has an empty segment: "+n);if("."===l||".."===l)throw new x("package/invalid-part-name","Part name contains a '.' or '..' segment: "+n);if(l.endsWith("."))throw new x("package/invalid-part-name","OPC forbids a path segment that ends with '.': "+n);if(/^[a-zA-Z]:/.test(l))throw new x("package/invalid-part-name","Part name has a drive letter: "+n);if(/%2f/i.test(l)||/%5c/i.test(l))throw new x("package/invalid-part-name","Part name has a percent-encoded slash: "+n)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}if(/^[\u0020-\u007e]+$/.test(n))return e;throw new x("package/invalid-part-name","Phase 1 part names are ASCII (ECMA-376-2 §7.3.3 ZIP mapping): "+n)}function Rt(e){return Lt("/"+e.split("\\").join("/"))}function Bt(e){return e.slice(1)}function _t(e,t){return $(e)===$(t)}function jt(e,t){e=$(e),t=$(t);return e.startsWith(t+"/")}function Mt(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(void 0!==r)for(var n=t+1;n<e.length;n+=1){var i=e[n];if(void 0!==i){if(_t(r,i))throw new x("package/duplicate-zip-entry","Equivalent part names in one package: "+r+" and "+i+" (ECMA-376-2 §6.2.2.3)");if(jt(r,i)||jt(i,r))throw new x("package/invalid-part-name","Part name "+r+" is derivable from "+i+" (ECMA-376-2 §6.2.2.3)")}}}}var zt=".rels";function Ut(e){var t,e=e.split("/").filter(function(e){return 0<e.length});return!(e.length<2)&&(t=e[e.length-1],e=e[e.length-2],void 0!==t)&&void 0!==e&&"_rels"===e.toLowerCase()&&t.toLowerCase().endsWith(zt)}function Ht(e){return _t(e,"/_rels/.rels")}function Wt(){return Lt("/_rels/.rels")}function Gt(e){var t=e.lastIndexOf("/"),r=e.slice(0,t);return Lt((""===r?"/_rels":r+"/_rels")+"/"+e.slice(t+1)+zt)}function qt(e){if(!Ut(e))throw new x("package/invalid-part-name","Not a Relationships part: "+e);if(!Ht(e)){var t=e.split("/"),r=t[t.length-1];if(void 0!==r&&r.toLowerCase().endsWith(zt))return r=r.slice(0,r.length-zt.length),Lt(t.slice(0,-2).join("/")+"/"+r);throw new x("package/invalid-part-name","Relationships part name is malformed: "+e)}}function Xt(t,e){var r,n,i=t.trim();if(0===i.length)throw new x("package/invalid-part-name","Internal relationship Target is empty");if(/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(i))throw new x("package/invalid-part-name","Internal relationship Target is not a package-relative reference: "+t);r=i.startsWith("/")?i:(e=void 0===e||(r=(e=e).lastIndexOf("/"))<=0?"/":e.slice(0,r)+"/",new URL(i,"https://opc.invalid"+e).pathname);try{n=decodeURIComponent(r)}catch(e){throw new x("package/invalid-part-name","Internal Target is not a valid URI path: "+t)}return Lt(n)}var Yt=function(){return(Yt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Zt=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Kt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Jt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Kt(arguments[t]));return e},$t="http://schemas.openxmlformats.org/package/2006/relationships",Qt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",er="http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument",tr={Internal:"Internal",External:"External"},rr=/^[A-Za-z_][\w.-]*$/;function nr(e){if(rr.test(e))return e;throw new x("package/invalid-relationship-id","Relationship Id is not a valid xsd:ID token: "+e)}function ir(e){for(var t=1;e.has("rId"+String(t));)t+=1;return nr("rId"+String(t))}function or(e){return e===Qt||e===er}function ar(e,t){e=e.attributes.find(function(e){return e.localName===t&&""===e.namespaceUri});return null==e?void 0:e.value}function lr(e,t){e=ar(e,t);if(void 0===e||0===e.length)throw new x("package/invalid-relationships","Relationship is missing "+t);return e}function sr(e,t){var r,n,i,o=null!=(i=null==t?void 0:t.relationshipCountLimit)?i:se.relationshipCountPerPart,a=null!=(i=null==t?void 0:t.sourceLabel)?i:"Relationships part",t=Ce(e);if("Relationships"!==t.localName||t.namespaceUri!==$t)throw new x("package/invalid-relationships","Expected Relationships in "+$t+", found {"+t.namespaceUri+"}"+t.localName);function l(e){if(e.namespaceUri!==$t||"Relationship"!==e.localName)return u.push(e);if(o<(d+=1))throw new B("security/relationship-count","Relationship count exceeds "+String(o)+" on "+a);var t=nr(lr(e,"Id"));if(c.has(t))throw new x("package/invalid-relationships","Duplicate Relationship Id "+t+" in "+a+" (xsd:ID uniqueness)");c.add(t);var r=new Set(["Id","Type","Target","TargetMode"]),n=e.attributes.filter(function(e){return""!==e.namespaceUri||!r.has(e.localName)}),i=function(e){if(void 0!==e){if(e===tr.Internal||e===tr.External)return e;throw new x("package/invalid-relationships","TargetMode must be Internal or External (opc-relationships.xsd ST_TargetMode), got "+e)}}(ar(e,"TargetMode")),t=Yt({id:t,type:lr(e,"Type"),target:lr(e,"Target"),extraAttributes:n,children:e.children},void 0===i?{}:{targetMode:i});s.push(t)}var s=[],u=[],c=new Set,d=0;try{for(var h=Zt(t.children.filter(function(e){return"element"===e.kind})),p=h.next();!p.done;p=h.next())l(p.value)}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}return{items:s,opaque:u}}function ur(e){e=Jt(e.items.map(function(e){var t=[{namespaceUri:"",localName:"Id",prefix:"",value:e.id},{namespaceUri:"",localName:"Type",prefix:"",value:e.type},{namespaceUri:"",localName:"Target",prefix:"",value:e.target}];return void 0!==e.targetMode&&t.push({namespaceUri:"",localName:"TargetMode",prefix:"",value:e.targetMode}),t.push.apply(t,Jt(e.extraAttributes)),{kind:"element",namespaceUri:$t,localName:"Relationship",prefix:"",attributes:t,namespaceDeclarations:[],children:e.children}}),e.opaque);return Fe({kind:"element",namespaceUri:$t,localName:"Relationships",prefix:"",attributes:[],namespaceDeclarations:[{prefix:"",namespaceUri:$t}],children:e})}function cr(e){return e.items.find(function(e){return or(e.type)})}function dr(){return{items:[],opaque:[]}}function hr(e,t){void 0===t&&(t=[]);var r,n,i=new Set;try{for(var o=Zt(e),a=o.next();!a.done;a=o.next()){var l=a.value;if(i.has(l.id))throw new x("package/invalid-relationships","Duplicate Relationship Id "+l.id);i.add(l.id)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return{items:e,opaque:t}}var pr=function(){return(pr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},fr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},vr=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(fr(arguments[t]));return e},mr=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},yr=new TextEncoder,gr=new TextDecoder("utf-8");function br(e){return yr.encode(e)}function wr(e,t){var r=$(t);return e.find(function(e){return $(e.name)===r})}function Pr(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w:document xmlns:w="'+he+'"><w:body/></w:document>'}function Sr(e){var t=Lt("/word/document.xml"),r=null!=(r=null==e?void 0:e.documentXml)?r:br(Pr()),n={id:nr("rId1"),type:Qt,target:"word/document.xml",extraAttributes:[],children:[]},i=null!=(i=null==e?void 0:e.extraPackageRelationships)?i:[],n=hr(vr([n],i)),e=null!=(i=null==e?void 0:e.extraParts)?i:[],i=vr([{name:t,contentType:Vt,data:r}],e);return Mt(i.map(function(e){return e.name})),{contentTypes:Nt(t),packageRelationships:n,parts:i,partRelationships:[]}}function xr(e){e=cr(e.packageRelationships);if(void 0===e)throw new x("package/missing-part","Package Relationships part has no officeDocument relationship (ECMA-376-1 §11.2)");if(e.targetMode===tr.External)throw new x("package/missing-part","officeDocument relationship must not use TargetMode External");return Xt(e.target)}function Cr(e,t,r){return sr(gr.decode(e),{sourceLabel:t,relationshipCountLimit:r})}function Ir(e,t){var r,n,i,o,a=ue(t),e=ct(e,t),l=Dt(e),s=[],u=[];try{for(var c=mr(e),d=c.next();!d.done;d=c.next()){var h=d.value;if(h.name!==Ct&&!h.name.endsWith("/")){var p=Rt(h.name);if(Ut(p)){var f=Cr(h.data,h.name,a.relationshipCountPerPart);if(Ht(p))o=f;else{var v=qt(p);if(void 0===v)throw new x("package/invalid-relationships","Could not invert Relationships part "+p);u.push({source:v,relationships:f})}}else{var m=null!=(i=Ot(l,p))?i:"application/octet-stream";s.push({name:p,contentType:m,data:h.data})}}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(void 0===o)throw new x("package/missing-part","Missing package Relationships part "+Bt(Wt()));Mt(s.map(function(e){return e.name}));t={contentTypes:l,packageRelationships:o,parts:s,partRelationships:u},e=xr(t);if(void 0===wr(s,e))throw new x("package/missing-part","officeDocument target part "+e+" is not in the package");return t}function Vr(e){function t(e,t){var r=e.toLowerCase();if(l.has(r))throw new x("package/duplicate-zip-entry","Duplicate ZIP item on save: "+e);l.add(r),a.push({name:e,data:t})}xr(e);var r,n,i,o,a=[{name:Ct,data:br(At(e.contentTypes))},{name:Bt(Wt()),data:br(ur(e.packageRelationships))}],l=new Set(a.map(function(e){return e.name.toLowerCase()}));try{for(var s=mr(e.parts),u=s.next();!u.done;u=s.next()){var c=u.value;t(Bt(c.name),c.data)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}try{for(var d=mr(e.partRelationships),h=d.next();!h.done;h=d.next()){var p=h.value;0===p.relationships.items.length&&0===p.relationships.opaque.length||t(Bt(Gt(p.source)),br(ur(p.relationships)))}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}return St(a)}function Tr(e,t){return wr(e.parts,t)}function kr(e,t){var r;return e=e.partRelationships,r=$(t=t),null!=(e=null==(t=e.find(function(e){return $(e.source)===r}))?void 0:t.relationships)?e:dr()}function Fr(e,t,r){var n=$(t),i=e.parts.findIndex(function(e){return $(e.name)===n});if(i<0)throw new x("package/invalid-part-name","Part not in package: "+t);t=e.parts.map(function(e,t){return t===i?{name:e.name,contentType:e.contentType,data:r}:e});return pr({},e,{parts:t})}function Dr(e,r){var t,n=$(r.name),i=e.parts.findIndex(function(e){return $(e.name)===n});return t=0<=i?e.parts.map(function(e,t){return t===i?r:e}):vr(e.parts,[r]),pr({},e,{parts:t})}function Or(e,t,r){return pr({},e,{contentTypes:(e=e.contentTypes,n=t,i=r,(e=e.records.map(function(e){return"override"===e.kind&&e.partName===n?{kind:"override",partName:n,contentType:i}:e})).some(function(e){return"override"===e.kind&&e.partName===n})||e.push({kind:"override",partName:n,contentType:i}),{records:e})});var n,i}function Nr(e,t,r){return pr({},e,{partRelationships:(e=e.partRelationships,r=r,n=$(t=t),(i=e.findIndex(function(e){return $(e.source)===n}))<0?vr(e,[{source:t,relationships:r}]):((e=vr(e))[i]={source:t,relationships:r},e))});var n,i}function Ar(e,t){return pr({},e,{packageRelationships:t})}function Er(e){if(0!==e.length&&/^[a-z][a-z0-9-]*$/.test(e))return e;throw new J("feature/invalid-id","Invalid feature id: "+e)}var Lr=new Map;function Rr(e){Lr.set(e.id,e)}function Br(e){return Lr.has(e)}function _r(){return{assertAttachedParagraph:function(){},owningDocument:function(){throw new N("This content is not in a document")}}}var jr=new Map;function Mr(e){jr.set(e.wmlLocalName,e)}function zr(e,t){var r=jr.get(e.localName);if(void 0!==r){e=r.tryParse(e,t);if(void 0!==e)return{type:"feature",featureId:r.featureId,value:e}}}function Ur(e){return e.value.toOpenXml()}var Hr=function(){return(Hr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Wr=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Gr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},qr=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Gr(arguments[t]));return e},Xr=[];function Yr(e){Xr.push(e)}function Zr(e,t,r){var n,i,o=new Map,a={mainPartName:t,limits:r};try{for(var l=Wr(Xr),s=l.next();!s.done;s=l.next()){var u=s.value,c=function(e,t,r){var n,i,o=kr(e,t);try{for(var a=Wr(o.items),l=a.next();!l.done;l=a.next()){var s=l.value;if(-1!==r.indexOf(s.type)&&s.targetMode!==tr.External)return Tr(e,Xt(s.target,t))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}(e,t,u.relationshipTypes);o.set(u.featureId,u.loadPart(c,a))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return o}function Kr(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=qr(e.items);try{for(var a=Wr(t),l=a.next();!l.done;l=a.next())!function(t){if(o.some(function(e){return e.type===t.type&&e.target===t.target}))return;for(var e=t.id;i.has(e);)e=ir(i);i.add(e),o.push(Hr({},t,{id:e}))}(l.value)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return hr(o,e.opaque)}function Jr(e,t,r){var n,i,o=e;try{for(var a=Wr(Xr),l=a.next();!l.done;l=a.next()){var s,u,c=l.value,d=r.get(c.featureId);void 0!==d&&d.isDirty()&&(s=d.serialize(),o=void 0===Tr(o,c.partName)?(o=Or(o=Dr(o,{name:c.partName,contentType:c.contentType,data:s}),c.partName,c.contentType),u={id:ir(new Set(qr(o.packageRelationships.items.map(function(e){return e.id}),kr(o,t).items.map(function(e){return e.id})))),type:null!=c.relationshipTypes[0]?c.relationshipTypes[0]:"",target:c.defaultRelativeTarget,extraAttributes:[],children:[]},Nr(o,t,Kr(kr(o,t),[u]))):Fr(o,c.partName,s))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}var $r=function(){return($r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Qr=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},en=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},tn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(en(arguments[t]));return e},rn=[];function nn(e){rn.push(e)}function on(e,t,r){var n,i,o=new Map,a={mainPartName:t,limits:r};try{for(var l=Qr(rn),s=l.next();!s.done;s=l.next()){var u=s.value;o.set(u.featureId,u.loadParts(e,a))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return o}function an(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=tn(e.items);try{for(var a=Qr(t),l=a.next();!l.done;l=a.next())!function(t){if(o.some(function(e){return e.type===t.type&&e.target===t.target}))return;for(var e=t.id;i.has(e);)e=ir(i);i.add(e),o.push($r({},t,{id:e}))}(l.value)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return hr(o,e.opaque)}function ln(e){var t,r,n,i,o,a,l=Lt("/word/document.xml"),s=new Set;try{for(var u=Qr(kr(e.opcPackage(),l).items),c=u.next();!c.done;c=u.next()){var d=c.value;s.add(d.id)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}try{for(var h=Qr(rn),p=h.next();!p.done;p=h.next()){var f=p.value,v=e.featurePart(f.featureId);if(null!=v&&"object"==typeof v){var m=v;if("function"==typeof m.pendingRelationshipIds)try{for(var y=Qr(m.pendingRelationshipIds()),g=y.next();!g.done;g=y.next()){var b=g.value;s.add(b)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}}}}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}return s}function sn(e,t,r){var n,i,o=e;try{for(var a=Qr(rn),l=a.next();!l.done;l=a.next()){var s=l.value,u=r.get(s.featureId);void 0!==u&&u.isDirty()&&(o=u.applyToPackage(o,t))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function un(e,t,r,n,i,o){return void 0===Tr(e,r)?(e=Or(e=Dr(e,{name:r,contentType:n,data:i}),r,n),void 0!==o?Nr(e,t,an(kr(e,t),[o])):e):Fr(e,r,i)}var cn=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},dn=he;function hn(e){return e===he||e===pe}function te(e,t){return hn(e.namespaceUri)&&e.localName===t}function re(e){return e.children.filter(function(e){return"element"===e.kind})}function pn(e){var t,r,n="";try{for(var i=cn(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function y(e,t){return{namespaceUri:dn,localName:e,prefix:"w",value:t}}function fn(){return{namespaceUri:ce,localName:"space",prefix:"xml",value:"preserve"}}function b(e,t){return{kind:"element",namespaceUri:dn,localName:e,prefix:"w",attributes:null!=(e=null==t?void 0:t.attributes)?e:[],namespaceDeclarations:null!=(e=null==t?void 0:t.namespaceDeclarations)?e:[],children:null!=(e=null==t?void 0:t.children)?e:[]}}function z(e){e=e.attributes.find(function(e){return"val"===e.localName&&(hn(e.namespaceUri)||""===e.namespaceUri)});return null==e?void 0:e.value}function vn(e){return e.attributes.some(function(e){return"space"===e.localName&&e.namespaceUri===ce&&"preserve"===e.value})}var mn=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},yn=new Map;function gn(e,t){var r=yn.get(e.wmlLocalName);void 0===r?yn.set(e.wmlLocalName,[e]):!0===(null==t?void 0:t.prepend)?r.unshift(e):r.push(e)}function bn(e){var t,r,n,i,o=yn.get(e.localName);if(void 0!==o)try{for(var a=mn(o),l=a.next();!l.done;l=a.next()){var s=l.value;if(i=s,(n=e).localName===i.wmlLocalName&&(void 0===i.namespaceUri?te(n,i.wmlLocalName):hn(i.namespaceUri)?hn(n.namespaceUri)&&n.localName===i.wmlLocalName:n.namespaceUri===i.namespaceUri)){var u=s.tryParse(e);if(void 0!==u)return{type:"feature",featureId:s.featureId,value:u}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}var wn=new Map;function Pn(e){wn.set(e.wmlLocalName,e)}function Sn(e){var t=wn.get(e.localName);if(void 0!==t&&function(e,t){if(e.localName===t.wmlLocalName)return t=null!=t.namespaceUri?t.namespaceUri:dn,e.namespaceUri===t}(e,t)){e=t.tryParse(e);if(void 0!==e)return{type:"feature",featureId:t.featureId,value:e}}}var xn=function(){return(xn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Cn=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},In=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Vn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(In(arguments[t]));return e},Tn=[];function kn(e){Tn.push(e)}function Fn(e,t){var r,n,i=new Map,o={limits:t};try{for(var a=Cn(Tn),l=a.next();!l.done;l=a.next()){var s=l.value;i.set(s.featureId,s.loadParts(e,o))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}function Dn(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=Vn(e.items);try{for(var a=Cn(t),l=a.next();!l.done;l=a.next())!function(t){if(o.some(function(e){return e.type===t.type&&e.target===t.target}))return;for(var e=t.id;i.has(e);)e=ir(i);i.add(e),o.push(xn({},t,{id:e}))}(l.value)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return hr(o,e.opaque)}function On(e,t){var r,n,i=e;try{for(var o=Cn(Tn),a=o.next();!a.done;a=o.next()){var l=a.value,s=t.get(l.featureId);void 0!==s&&s.isDirty()&&(i=s.applyToPackage(i))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function Nn(e,t){var r,n;try{for(var i=Cn(e.packageRelationships.items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.type===t&&a.targetMode!==tr.External){var l=Tr(e,Xt(a.target));if(void 0!==l)return{relationship:a,part:l}}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function An(e,t,r,n,i){return void 0===Tr(e,t)?(e=Or(e=Dr(e,{name:t,contentType:r,data:n}),t,r),void 0!==i?Ar(e,Dn(e.packageRelationships,[i])):e):Fr(e,t,n)}function En(e){return new Set(e.packageRelationships.items.map(function(e){return e.id}))}var Ln=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Rn=[],Bn=new Map;function _n(e){Rn.push(e)}function jn(e){Bn.set(e.featureId,e)}function Mn(e,t){zn(e.listBlocks(),t)}function zn(e,t){var r,n;try{for(var i=Ln(e),o=i.next();!o.done;o=i.next()){var a,l=o.value;"paragraph"===l.type?t(l.paragraph):"feature"===l.type&&void 0!==(a=Bn.get(l.featureId))&&a.visitParagraphs(l.value,t)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Un(e){var t,r;try{for(var n=Ln(Rn),i=n.next();!i.done;i=n.next())i.value.materialize(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}var Hn=function(){return(Hn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Wn=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Gn=Er("bibliography"),qn=new TextDecoder("utf-8"),Xn="http://schemas.openxmlformats.org/officeDocument/2006/bibliography",Yn="http://purl.oclc.org/ooxml/officeDocument/bibliography",m="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",Zn="http://purl.oclc.org/ooxml/officeDocument/relationships/customXml",Kn=[m,Zn],Jn={present:!1,sourceCount:0,styleName:void 0,selectedStyle:void 0,sourceTags:[]};function $n(e){return e===Xn||e===Yn}function Qn(e,t){e=e.attributes.find(function(e){return e.localName===t&&($n(e.namespaceUri)||""===e.namespaceUri)});return null==e?void 0:e.value}function ei(e){return e.children.filter(function(e){return"element"===e.kind&&$n(e.namespaceUri)})}function ti(e){var t,r,n,i;if("Sources"===e.localName&&$n(e.namespaceUri)){var o=[],a=0;try{for(var l=Wn(ei(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if("Source"===u.localName){a+=1;try{for(var c=Wn(ei(u)),d=c.next();!d.done;d=c.next()){var h=d.value;if("Tag"===h.localName){var p=function(e){var t,r;try{for(var n=Wn(e.children),i=n.next();!i.done;i=n.next()){var o=i.value;if("text"===o.kind&&0<o.value.length)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(h);void 0!==p&&0<p.length&&o.push(p);break}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return{present:!0,sourceCount:a,styleName:Qn(e,"StyleName"),selectedStyle:Qn(e,"SelectedStyle"),sourceTags:o}}}ni.prototype.present=function(){return this.metadata.present},ni.prototype.sourceCount=function(){return this.metadata.sourceCount},ni.prototype.styleName=function(){return this.metadata.styleName},ni.prototype.selectedStyle=function(){return this.metadata.selectedStyle},ni.prototype.sourceTags=function(){return this.metadata.sourceTags},ni.prototype.isDirty=function(){return!1},ni.prototype.applyToPackage=function(e,t){return e};var ri=ni;function ni(e){this.metadata=e}function ii(e,t){var r,n;try{for(var i=Wn(kr(e,t).items),o=i.next();!o.done;o=i.next()){var a=o.value;if(-1!==Kn.indexOf(a.type)){var l=Tr(e,Xt(a.target,t));if(void 0!==l){var s=function(e){if(0!==e.byteLength)try{return ti(Ce(qn.decode(e)))}catch(e){}}(l.data);if(void 0!==s)return new ri(s)}}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return new ri(Hn({},Jn))}var oi=!1;function ai(){oi||(oi=!0,Rr({id:Gn}),nn({featureId:Gn,relationshipTypes:Kn,loadParts:function(e,t){return ii(e,t.mainPartName)}}))}ai();var li=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},si=[];function ui(e){si.push(e)}function ci(){var t,e;try{for(var r=li(si),n=r.next();!n.done;n=r.next())(0,n.value)()}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}var di="http://schemas.openxmlformats.org/markup-compatibility/2006",hi=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function pi(e){var t,r,n,i,o=new Map;o.set("xml",ce),o.set("xmlns",de);try{for(var a=hi(e),l=a.next();!l.done;l=a.next()){var s=l.value;try{for(var u=hi(s.namespaceDeclarations),c=u.next();!c.done;c=u.next()){var d=c.value;o.set(d.prefix,d.namespaceUri)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o}var fi=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function vi(e,t){return e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===di})}function mi(e){return 0===e.trim().length?[]:e.trim().split(/\s+/)}function yi(e,t,r){t=t.get(e);if(void 0===t)throw new W("xml/markup-compatibility",r+' prefix "'+e+'" is not bound to an in-scope namespace (ECMA-376-3 §7.2)');if(t===di)throw new W("xml/markup-compatibility",r+' prefix "'+e+'" is bound to the Markup Compatibility namespace');return{prefix:e,namespaceUri:t}}function gi(e,t,r){return void 0===e?[]:mi(e).map(function(e){return yi(e,t,r)})}function bi(e,t){var r;return{ignorable:gi(null==(r=vi(e,"Ignorable"))?void 0:r.value,t,"Ignorable"),mustUnderstand:gi(null==(r=vi(e,"MustUnderstand"))?void 0:r.value,t,"MustUnderstand"),processContent:function(e,t){var r,n;if(void 0===e)return[];var i=[];try{for(var o=fi(mi(e)),a=o.next();!a.done;a=o.next()){var l=a.value,s=l.indexOf(":");if(s<=0||s===l.length-1)throw new W("xml/markup-compatibility",'ProcessContent token must be prefix:local or prefix:* (ECMA-376-3 §7.3), got "'+l+'"');var u=l.slice(0,s),c=l.slice(s+1),d=yi(u,t,"ProcessContent");i.push({prefix:u,localNameOrStar:c,namespaceUri:d.namespaceUri})}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}(null==(r=vi(e,"ProcessContent"))?void 0:r.value,t),preserveElements:gi(null==(r=vi(e,"PreserveElements"))?void 0:r.value,t,"PreserveElements"),preserveAttributes:gi(null==(r=vi(e,"PreserveAttributes"))?void 0:r.value,t,"PreserveAttributes")}}var wi=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function Pi(e,t){return e.namespaceUri===di&&e.localName===t}function Si(e){return Pi(e,"AlternateContent")}function xi(e){var t,r;if(Si(e)){var e=e.children.filter(function(e){return"element"===e.kind}).filter(function(e){return e.namespaceUri===di}),n=!1,i=0;try{for(var o=wi(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("Choice"===l.localName){if(n)throw new W("xml/markup-compatibility","Choice must not follow Fallback (ECMA-376-3 §7.5)");var s=l.attributes.find(function(e){return"Requires"===e.localName&&""===e.namespaceUri});if(void 0===s||0===s.value.trim().length)throw new W("xml/markup-compatibility","Choice Requires is required and must list one or more prefixes (ECMA-376-3 §7.6)");i+=1}else{if("Fallback"!==l.localName)throw new W("xml/markup-compatibility","Unexpected Markup Compatibility child "+l.localName+" of AlternateContent (ECMA-376-3 §7.5)");if(n)throw new W("xml/markup-compatibility","AlternateContent may have at most one Fallback (ECMA-376-3 §7.5)");n=!0}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}if(i<1)throw new W("xml/markup-compatibility","AlternateContent shall contain one or more Choice children (ECMA-376-3 §7.5)")}}var Ci=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Ii=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Vi=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ii(arguments[t]));return e};var Ti={Lax:"lax",Strict:"strict"};function ki(e,t,r,n){var i,o,a,l,s,u,c,d=Vi(t,[e]),t=pi(d),h=bi(e,t);try{for(var p=Ci(h.ignorable),f=p.next();!f.done;f=p.next()){var v=f.value;r.add(v.namespaceUri)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(C=p.return)&&C.call(p)}finally{if(i)throw i.error}}try{for(var m=Ci(h.processContent),y=m.next();!y.done;y=m.next()){var g=y.value;if(!r.has(g.namespaceUri))throw new W("xml/markup-compatibility","ProcessContent namespace "+g.namespaceUri+" is not declared Ignorable (ECMA-376-3 §7.3)")}}catch(e){o={error:e}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}if(n.conformance===Ti.Strict)try{for(var b=Ci(h.mustUnderstand),w=b.next();!w.done;w=b.next()){v=w.value;if(!n.understoodNamespaces.has(v.namespaceUri))throw new W("xml/markup-compatibility","MustUnderstand namespace is not understood: "+v.namespaceUri+" (ECMA-376-3 §7.4)")}}catch(e){l={error:e}}finally{try{w&&!w.done&&(s=b.return)&&s.call(b)}finally{if(l)throw l.error}}if(xi(e),e.namespaceUri===di&&"Choice"===e.localName){var P,S,x=t,C=(C=e).attributes.find(function(e){return"Requires"===e.localName&&""===e.namespaceUri});if(void 0!==C){C=0===C.value.trim().length?[]:C.value.trim().split(/\s+/);try{for(var I=Ci(C),V=I.next();!V.done;V=I.next()){var T=V.value;if(void 0===x.get(T))throw new W("xml/markup-compatibility",'Choice Requires prefix "'+T+'" is not bound (ECMA-376-3 §7.6)')}}catch(e){P={error:e}}finally{try{V&&!V.done&&(S=I.return)&&S.call(I)}finally{if(P)throw P.error}}}}try{for(var k=Ci(e.children.filter(function(e){return"element"===e.kind})),F=k.next();!F.done;F=k.next())ki(F.value,d,r,n)}catch(e){u={error:e}}finally{try{F&&!F.done&&(c=k.return)&&c.call(k)}finally{if(u)throw u.error}}}function Fi(e,t){var r=new Set(null!=(r=null==t?void 0:t.understoodNamespaces)?r:[]);r.add(di),ki(e,[],new Set,{conformance:null!=(e=null==t?void 0:t.conformance)?e:Ti.Lax,understoodNamespaces:r})}var Di=function(){return(Di=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Oi=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ni=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Oi(arguments[t]));return e};function Ai(e){return e.children.filter(function(e){return"element"===e.kind})}function Ei(e,t){return((r=e.namespaceUri)===he||r===pe)&&e.localName===t;var r}function Li(e){if(!Ei(e,"document"))throw new x("package/invalid-document-part","Expected w:document in "+he+" or "+pe+", found {"+e.namespaceUri+"}"+e.localName);e=Ai(e).find(function(e){return Ei(e,"body")});if(void 0===e)throw new x("package/invalid-document-part","w:document is missing w:body");return e}function Ri(e){return"applyToPackage"in e&&"function"==typeof e.applyToPackage&&1===e.applyToPackage.length}function Bi(e){return"applyToPackage"in e&&"function"==typeof e.applyToPackage&&2<=e.applyToPackage.length}var _i=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},ji=Er("alt-chunk"),Mi="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk",zi="http://purl.oclc.org/ooxml/officeDocument/relationships/aFChunk",Ui=[Mi,zi];Wi.prototype.bindDocument=function(e){this.documentOwner=e},Object.defineProperty(Wi.prototype,"relationshipId",{get:function(){return null==(e=(e=this.element).attributes.find(function(e){return"id"===e.localName&&("http://schemas.openxmlformats.org/officeDocument/2006/relationships"===e.namespaceUri||"r"===e.prefix||""===e.namespaceUri)}))?void 0:e.value;var e},enumerable:!0,configurable:!0}),Object.defineProperty(Wi.prototype,"target",{get:function(){var e=this.relationshipId;if(void 0!==e&&void 0!==this.documentOwner){var t,r,n=this.documentOwner.opcPackage(),i=xr(n),o=n,a=i,l=e;try{for(var s=_i(kr(o,a).items),u=s.next();!u.done;u=s.next()){var c,d=u.value;if(d.id===l)return-1===Ui.indexOf(d.type)||d.targetMode===tr.External||void 0===(c=Tr(o,Xt(d.target,a)))?void 0:{partName:c.name,contentType:c.contentType}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}}},enumerable:!0,configurable:!0}),Wi.prototype.toOpenXml=function(){return this.element};var Hi=Wi;function Wi(e){this.element=e}var Gi=!1;function qi(){Gi||(Gi=!0,Rr({id:ji}),Mr({featureId:ji,wmlLocalName:"altChunk",tryParse:function(e){if(te(e,"altChunk"))return re(e),new Hi(e)}}))}function Xi(e){return"feature"===e.type&&e.featureId===ji&&e.value instanceof Hi}function Yi(e){var t,r,n=[];try{for(var i=_i(e),o=i.next();!o.done;o=i.next()){var a=o.value;Xi(a)&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Zi(e,t){var r,n;try{for(var i=_i(e),o=i.next();!o.done;o=i.next()){var a=o.value;Xi(a)&&a.value.bindDocument(t)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Ki(e){var e=z(e);return void 0===e||0===e.length||"true"===(e=e.trim().toLowerCase())||"1"===e||"on"===e||"false"!==e&&"0"!==e&&"off"!==e&&void 0}function Ji(e,t){return t?b(e):b(e,{attributes:[y("val","false")]})}var $i=12700,Qi=36e4,eo=36e3,to=9525,ro=20,no=2,io=72;function oo(e,t){if(!Number.isFinite(t))throw new RangeError(e+" must be finite, got "+String(t))}function ao(e){oo("points",e);e=Math.round(e*$i);if(e<=0)throw new RangeError("Image dimensions must be positive, got "+String(e)+" EMU");return e}function lo(e){return oo("points",e),Math.round(e*$i)}function so(e){oo("points",e);e=Math.round(e*no),e=Math.min(Math.max(e,0),3276);if(e<=0)throw new RangeError("Font size must be positive, got "+String(e)+" half-points");return e}function U(e){return oo("points",e),Math.round(e*ro)}function H(e){return oo("twips",e),e/ro}function uo(e){return oo("emu",e),e/$i}function co(e){return oo("halfPoints",e),e/no}function ho(e,t){return oo("a",e),oo("b",t),e+t}function po(e,t){return oo("points",e),oo("Scale factor",t),e*t}function fo(e){return oo("inches",e),e*io}function vo(e){return oo("cm",e),e*Qi/$i}function mo(e){return oo("mm",e),e*eo/$i}function yo(e){return oo("px",e),e*to/$i}function go(e){if(!Number.isInteger(e)||e<0)throw new RangeError("Half-points must be a non-negative integer, got "+String(e));return e}function bo(e){if(!Number.isInteger(e)||e<=0)throw new RangeError("EMUs must be a positive integer, got "+String(e));return e}function wo(e){return so(e)}var Po={EMU_PER_INCH:914400,EMU_PER_PT:$i,EMU_PER_TWIP:635,EMU_PER_HALF_POINT:6350,EMU_PER_CM:Qi,EMU_PER_MM:eo,EMU_PER_PX_96DPI:to,TWIPS_PER_PT:ro,HALF_POINTS_PER_PT:no,PT_PER_INCH:io};(n=M.Color||(M.Color={}))[n.Transparent=0]="Transparent",n[n.AliceBlue=1]="AliceBlue",n[n.AntiqueWhite=2]="AntiqueWhite",n[n.Aqua=3]="Aqua",n[n.Aquamarine=4]="Aquamarine",n[n.Azure=5]="Azure",n[n.Beige=6]="Beige",n[n.Bisque=7]="Bisque",n[n.Black=8]="Black",n[n.BlanchedAlmond=9]="BlanchedAlmond",n[n.Blue=10]="Blue",n[n.BlueViolet=11]="BlueViolet",n[n.Brown=12]="Brown",n[n.BurlyWood=13]="BurlyWood",n[n.CadetBlue=14]="CadetBlue",n[n.Chartreuse=15]="Chartreuse",n[n.Chocolate=16]="Chocolate",n[n.Coral=17]="Coral",n[n.CornflowerBlue=18]="CornflowerBlue",n[n.Cornsilk=19]="Cornsilk",n[n.Crimson=20]="Crimson",n[n.Cyan=21]="Cyan",n[n.DarkBlue=22]="DarkBlue",n[n.DarkCyan=23]="DarkCyan",n[n.DarkGoldenrod=24]="DarkGoldenrod",n[n.DarkGray=25]="DarkGray",n[n.DarkGreen=26]="DarkGreen",n[n.DarkKhaki=27]="DarkKhaki",n[n.DarkMagenta=28]="DarkMagenta",n[n.DarkOliveGreen=29]="DarkOliveGreen",n[n.DarkOrange=30]="DarkOrange",n[n.DarkOrchid=31]="DarkOrchid",n[n.DarkRed=32]="DarkRed",n[n.DarkSalmon=33]="DarkSalmon",n[n.DarkSeaGreen=34]="DarkSeaGreen",n[n.DarkSlateBlue=35]="DarkSlateBlue",n[n.DarkSlateGray=36]="DarkSlateGray",n[n.DarkTurquoise=37]="DarkTurquoise",n[n.DarkViolet=38]="DarkViolet",n[n.DeepPink=39]="DeepPink",n[n.DeepSkyBlue=40]="DeepSkyBlue",n[n.DimGray=41]="DimGray",n[n.DodgerBlue=42]="DodgerBlue",n[n.Firebrick=43]="Firebrick",n[n.FloralWhite=44]="FloralWhite",n[n.ForestGreen=45]="ForestGreen",n[n.Fuchsia=46]="Fuchsia",n[n.Gainsboro=47]="Gainsboro",n[n.GhostWhite=48]="GhostWhite",n[n.Gold=49]="Gold",n[n.Goldenrod=50]="Goldenrod",n[n.Gray=51]="Gray",n[n.Green=52]="Green",n[n.GreenYellow=53]="GreenYellow",n[n.Honeydew=54]="Honeydew",n[n.HotPink=55]="HotPink",n[n.IndianRed=56]="IndianRed",n[n.Indigo=57]="Indigo",n[n.Ivory=58]="Ivory",n[n.Khaki=59]="Khaki",n[n.Lavender=60]="Lavender",n[n.LavenderBlush=61]="LavenderBlush",n[n.LawnGreen=62]="LawnGreen",n[n.LemonChiffon=63]="LemonChiffon",n[n.LightBlue=64]="LightBlue",n[n.LightCoral=65]="LightCoral",n[n.LightCyan=66]="LightCyan",n[n.LightGoldenrodYellow=67]="LightGoldenrodYellow",n[n.LightGreen=68]="LightGreen",n[n.LightGray=69]="LightGray",n[n.LightPink=70]="LightPink",n[n.LightSalmon=71]="LightSalmon",n[n.LightSeaGreen=72]="LightSeaGreen",n[n.LightSkyBlue=73]="LightSkyBlue",n[n.LightSlateGray=74]="LightSlateGray",n[n.LightSteelBlue=75]="LightSteelBlue",n[n.LightYellow=76]="LightYellow",n[n.Lime=77]="Lime",n[n.LimeGreen=78]="LimeGreen",n[n.Linen=79]="Linen",n[n.Magenta=80]="Magenta",n[n.Maroon=81]="Maroon",n[n.MediumAquamarine=82]="MediumAquamarine",n[n.MediumBlue=83]="MediumBlue",n[n.MediumOrchid=84]="MediumOrchid",n[n.MediumPurple=85]="MediumPurple",n[n.MediumSeaGreen=86]="MediumSeaGreen",n[n.MediumSlateBlue=87]="MediumSlateBlue",n[n.MediumSpringGreen=88]="MediumSpringGreen",n[n.MediumTurquoise=89]="MediumTurquoise",n[n.MediumVioletRed=90]="MediumVioletRed",n[n.MidnightBlue=91]="MidnightBlue",n[n.MintCream=92]="MintCream",n[n.MistyRose=93]="MistyRose",n[n.Moccasin=94]="Moccasin",n[n.NavajoWhite=95]="NavajoWhite",n[n.Navy=96]="Navy",n[n.OldLace=97]="OldLace",n[n.Olive=98]="Olive",n[n.OliveDrab=99]="OliveDrab",n[n.Orange=100]="Orange",n[n.OrangeRed=101]="OrangeRed",n[n.Orchid=102]="Orchid",n[n.PaleGoldenrod=103]="PaleGoldenrod",n[n.PaleGreen=104]="PaleGreen",n[n.PaleTurquoise=105]="PaleTurquoise",n[n.PaleVioletRed=106]="PaleVioletRed",n[n.PapayaWhip=107]="PapayaWhip",n[n.PeachPuff=108]="PeachPuff",n[n.Peru=109]="Peru",n[n.Pink=110]="Pink",n[n.Plum=111]="Plum",n[n.PowderBlue=112]="PowderBlue",n[n.Purple=113]="Purple",n[n.Red=114]="Red",n[n.RosyBrown=115]="RosyBrown",n[n.RoyalBlue=116]="RoyalBlue",n[n.SaddleBrown=117]="SaddleBrown",n[n.Salmon=118]="Salmon",n[n.SandyBrown=119]="SandyBrown",n[n.SeaGreen=120]="SeaGreen",n[n.SeaShell=121]="SeaShell",n[n.Sienna=122]="Sienna",n[n.Silver=123]="Silver",n[n.SkyBlue=124]="SkyBlue",n[n.SlateBlue=125]="SlateBlue",n[n.SlateGray=126]="SlateGray",n[n.Snow=127]="Snow",n[n.SpringGreen=128]="SpringGreen",n[n.SteelBlue=129]="SteelBlue",n[n.Tan=130]="Tan",n[n.Teal=131]="Teal",n[n.Thistle=132]="Thistle",n[n.Tomato=133]="Tomato",n[n.Turquoise=134]="Turquoise",n[n.Violet=135]="Violet",n[n.Wheat=136]="Wheat",n[n.White=137]="White",n[n.WhiteSmoke=138]="WhiteSmoke",n[n.Yellow=139]="Yellow",n[n.YellowGreen=140]="YellowGreen";for(var t={},So=(t[M.Color.Transparent]="",t[M.Color.AliceBlue]="F0F8FF",t[M.Color.AntiqueWhite]="FAEBD7",t[M.Color.Aqua]="00FFFF",t[M.Color.Aquamarine]="7FFFD4",t[M.Color.Azure]="F0FFFF",t[M.Color.Beige]="F5F5DC",t[M.Color.Bisque]="FFE4C4",t[M.Color.Black]="000000",t[M.Color.BlanchedAlmond]="FFEBCD",t[M.Color.Blue]="0000FF",t[M.Color.BlueViolet]="8A2BE2",t[M.Color.Brown]="A52A2A",t[M.Color.BurlyWood]="DEB887",t[M.Color.CadetBlue]="5F9EA0",t[M.Color.Chartreuse]="7FFF00",t[M.Color.Chocolate]="D2691E",t[M.Color.Coral]="FF7F50",t[M.Color.CornflowerBlue]="6495ED",t[M.Color.Cornsilk]="FFF8DC",t[M.Color.Crimson]="DC143C",t[M.Color.Cyan]="00FFFF",t[M.Color.DarkBlue]="00008B",t[M.Color.DarkCyan]="008B8B",t[M.Color.DarkGoldenrod]="B8860B",t[M.Color.DarkGray]="A9A9A9",t[M.Color.DarkGreen]="006400",t[M.Color.DarkKhaki]="BDB76B",t[M.Color.DarkMagenta]="8B008B",t[M.Color.DarkOliveGreen]="556B2F",t[M.Color.DarkOrange]="FF8C00",t[M.Color.DarkOrchid]="9932CC",t[M.Color.DarkRed]="8B0000",t[M.Color.DarkSalmon]="E9967A",t[M.Color.DarkSeaGreen]="8FBC8F",t[M.Color.DarkSlateBlue]="483D8B",t[M.Color.DarkSlateGray]="2F4F4F",t[M.Color.DarkTurquoise]="00CED1",t[M.Color.DarkViolet]="9400D3",t[M.Color.DeepPink]="FF1493",t[M.Color.DeepSkyBlue]="00BFFF",t[M.Color.DimGray]="696969",t[M.Color.DodgerBlue]="1E90FF",t[M.Color.Firebrick]="B22222",t[M.Color.FloralWhite]="FFFAF0",t[M.Color.ForestGreen]="228B22",t[M.Color.Fuchsia]="FF00FF",t[M.Color.Gainsboro]="DCDCDC",t[M.Color.GhostWhite]="F8F8FF",t[M.Color.Gold]="FFD700",t[M.Color.Goldenrod]="DAA520",t[M.Color.Gray]="808080",t[M.Color.Green]="008000",t[M.Color.GreenYellow]="ADFF2F",t[M.Color.Honeydew]="F0FFF0",t[M.Color.HotPink]="FF69B4",t[M.Color.IndianRed]="CD5C5C",t[M.Color.Indigo]="4B0082",t[M.Color.Ivory]="FFFFF0",t[M.Color.Khaki]="F0E68C",t[M.Color.Lavender]="E6E6FA",t[M.Color.LavenderBlush]="FFF0F5",t[M.Color.LawnGreen]="7CFC00",t[M.Color.LemonChiffon]="FFFACD",t[M.Color.LightBlue]="ADD8E6",t[M.Color.LightCoral]="F08080",t[M.Color.LightCyan]="E0FFFF",t[M.Color.LightGoldenrodYellow]="FAFAD2",t[M.Color.LightGreen]="90EE90",t[M.Color.LightGray]="D3D3D3",t[M.Color.LightPink]="FFB6C1",t[M.Color.LightSalmon]="FFA07A",t[M.Color.LightSeaGreen]="20B2AA",t[M.Color.LightSkyBlue]="87CEFA",t[M.Color.LightSlateGray]="778899",t[M.Color.LightSteelBlue]="B0C4DE",t[M.Color.LightYellow]="FFFFE0",t[M.Color.Lime]="00FF00",t[M.Color.LimeGreen]="32CD32",t[M.Color.Linen]="FAF0E6",t[M.Color.Magenta]="FF00FF",t[M.Color.Maroon]="800000",t[M.Color.MediumAquamarine]="66CDAA",t[M.Color.MediumBlue]="0000CD",t[M.Color.MediumOrchid]="BA55D3",t[M.Color.MediumPurple]="9370DB",t[M.Color.MediumSeaGreen]="3CB371",t[M.Color.MediumSlateBlue]="7B68EE",t[M.Color.MediumSpringGreen]="00FA9A",t[M.Color.MediumTurquoise]="48D1CC",t[M.Color.MediumVioletRed]="C71585",t[M.Color.MidnightBlue]="191970",t[M.Color.MintCream]="F5FFFA",t[M.Color.MistyRose]="FFE4E1",t[M.Color.Moccasin]="FFE4B5",t[M.Color.NavajoWhite]="FFDEAD",t[M.Color.Navy]="000080",t[M.Color.OldLace]="FDF5E6",t[M.Color.Olive]="808000",t[M.Color.OliveDrab]="6B8E23",t[M.Color.Orange]="FFA500",t[M.Color.OrangeRed]="FF4500",t[M.Color.Orchid]="DA70D6",t[M.Color.PaleGoldenrod]="EEE8AA",t[M.Color.PaleGreen]="98FB98",t[M.Color.PaleTurquoise]="AFEEEE",t[M.Color.PaleVioletRed]="DB7093",t[M.Color.PapayaWhip]="FFEFD5",t[M.Color.PeachPuff]="FFDAB9",t[M.Color.Peru]="CD853F",t[M.Color.Pink]="FFC0CB",t[M.Color.Plum]="DDA0DD",t[M.Color.PowderBlue]="B0E0E6",t[M.Color.Purple]="800080",t[M.Color.Red]="FF0000",t[M.Color.RosyBrown]="BC8F8F",t[M.Color.RoyalBlue]="4169E1",t[M.Color.SaddleBrown]="8B4513",t[M.Color.Salmon]="FA8072",t[M.Color.SandyBrown]="F4A460",t[M.Color.SeaGreen]="2E8B57",t[M.Color.SeaShell]="FFF5EE",t[M.Color.Sienna]="A0522D",t[M.Color.Silver]="C0C0C0",t[M.Color.SkyBlue]="87CEEB",t[M.Color.SlateBlue]="6A5ACD",t[M.Color.SlateGray]="708090",t[M.Color.Snow]="FFFAFA",t[M.Color.SpringGreen]="00FF7F",t[M.Color.SteelBlue]="4682B4",t[M.Color.Tan]="D2B48C",t[M.Color.Teal]="008080",t[M.Color.Thistle]="D8BFD8",t[M.Color.Tomato]="FF6347",t[M.Color.Turquoise]="40E0D0",t[M.Color.Violet]="EE82EE",t[M.Color.Wheat]="F5DEB3",t[M.Color.White]="FFFFFF",t[M.Color.WhiteSmoke]="F5F5F5",t[M.Color.Yellow]="FFFF00",t[M.Color.YellowGreen]="9ACD32",{}),xo=Object.keys(t),Co=0;Co<xo.length;Co++){var Io=Number(xo[Co]),Vo=t[Io];void 0!==Vo&&0<Vo.length&&(So[Vo.toUpperCase()]=Io)}function To(e){var t,e=e.trim();if(0!==e.length)return"#"===e.charAt(0)&&(e=e.substring(1)),/^[0-9A-Fa-f]{6}$/.test(e)?e.toUpperCase():/^[0-9A-Fa-f]{3}$/.test(e)?((t=e.charAt(0))+t+(t=e.charAt(1))+t+(t=e.charAt(2))+t).toUpperCase():void 0}function ko(e){if(void 0!==e){e=e.trim();if(0!==e.length){var t=e.toLowerCase();if("auto"===t||"windowtext"===t)return M.Color.Black;if("transparent"===t||"none"===t)return M.Color.Transparent;var t=To(e);if(void 0!==t)return void 0!==(t=So[t])?t:void 0;for(var r=e.replace(/[\s_-]/g,"").toLowerCase(),n=Object.keys(M.Color).filter(function(e){return isNaN(Number(e))}),i=0;i<n.length;i++){var o=n[i];if(o.toLowerCase()===r)return M.Color[o]}}}}function Fo(e){return e===M.Color.Transparent?"":void 0!==(e=t[e])&&0<e.length?e:"000000"}function Do(e){switch(e){case M.Color.Black:return"black";case M.Color.Blue:return"blue";case M.Color.Cyan:case M.Color.Aqua:return"cyan";case M.Color.DarkBlue:case M.Color.Navy:return"darkBlue";case M.Color.DarkCyan:case M.Color.Teal:return"darkCyan";case M.Color.DarkGray:case M.Color.Gray:case M.Color.DimGray:return"darkGray";case M.Color.DarkGreen:case M.Color.Green:case M.Color.ForestGreen:return"darkGreen";case M.Color.DarkMagenta:case M.Color.Purple:return"darkMagenta";case M.Color.DarkRed:case M.Color.Maroon:return"darkRed";case M.Color.Olive:case M.Color.DarkOliveGreen:case M.Color.DarkGoldenrod:return"darkYellow";case M.Color.Lime:case M.Color.LimeGreen:case M.Color.LawnGreen:return"green";case M.Color.LightGray:case M.Color.Silver:return"lightGray";case M.Color.Magenta:case M.Color.Fuchsia:return"magenta";case M.Color.Transparent:return"none";case M.Color.Red:return"red";case M.Color.White:case M.Color.WhiteSmoke:case M.Color.Snow:return"white";case M.Color.Yellow:case M.Color.Gold:case M.Color.LightYellow:return"yellow";default:return}}function Oo(e){if(void 0!==e)switch(e){case"black":return M.Color.Black;case"blue":return M.Color.Blue;case"cyan":return M.Color.Cyan;case"darkBlue":return M.Color.DarkBlue;case"darkCyan":return M.Color.DarkCyan;case"darkGray":return M.Color.DarkGray;case"darkGreen":return M.Color.DarkGreen;case"darkMagenta":return M.Color.DarkMagenta;case"darkRed":return M.Color.DarkRed;case"darkYellow":return M.Color.Olive;case"green":return M.Color.Lime;case"lightGray":return M.Color.LightGray;case"magenta":return M.Color.Magenta;case"none":return M.Color.Transparent;case"red":return M.Color.Red;case"white":return M.Color.White;case"yellow":return M.Color.Yellow;default:return}}(n=M.LocaleIDs||(M.LocaleIDs={}))[n.None=0]="None",n[n.af_ZA=1078]="af_ZA",n[n.sq_AL=1052]="sq_AL",n[n.am_ET=1118]="am_ET",n[n.ar_SA=1025]="ar_SA",n[n.ar_IQ=2049]="ar_IQ",n[n.ar_EG=3073]="ar_EG",n[n.ar_LY=4097]="ar_LY",n[n.ar_DZ=5121]="ar_DZ",n[n.ar_MA=6145]="ar_MA",n[n.ar_TN=7169]="ar_TN",n[n.ar_OM=8193]="ar_OM",n[n.ar_YE=9217]="ar_YE",n[n.ar_SY=10241]="ar_SY",n[n.ar_JO=11265]="ar_JO",n[n.ar_LB=12289]="ar_LB",n[n.ar_KW=13313]="ar_KW",n[n.ar_AE=14337]="ar_AE",n[n.ar_BH=15361]="ar_BH",n[n.ar_QA=16385]="ar_QA",n[n.hy_AM=1067]="hy_AM",n[n.as_IN=1101]="as_IN",n[n.az_AZ_Latn=1068]="az_AZ_Latn",n[n.az_AZ_Cyrl=2092]="az_AZ_Cyrl",n[n.eu_ES=1069]="eu_ES",n[n.be_BY=1059]="be_BY",n[n.bn_IN=1093]="bn_IN",n[n.bn_BD=2117]="bn_BD",n[n.bs_BA_Latn=5146]="bs_BA_Latn",n[n.bs_BA_Cyrl=8218]="bs_BA_Cyrl",n[n.bg_BG=1026]="bg_BG",n[n.my_MM=1109]="my_MM",n[n.ca_ES=1027]="ca_ES",n[n.zh_TW=1028]="zh_TW",n[n.zh_CN=2052]="zh_CN",n[n.zh_HK=3076]="zh_HK",n[n.zh_SG=4100]="zh_SG",n[n.zh_MO=5124]="zh_MO",n[n.hr_HR=1050]="hr_HR",n[n.hr_BA=4122]="hr_BA",n[n.cs_CZ=1029]="cs_CZ",n[n.da_DK=1030]="da_DK",n[n.prs_AF=1164]="prs_AF",n[n.dv_MV=1125]="dv_MV",n[n.nl_NL=1043]="nl_NL",n[n.nl_BE=2067]="nl_BE",n[n.en_US=1033]="en_US",n[n.en_GB=2057]="en_GB",n[n.en_AU=3081]="en_AU",n[n.en_CA=4105]="en_CA",n[n.en_NZ=5129]="en_NZ",n[n.en_IE=6153]="en_IE",n[n.en_ZA=7177]="en_ZA",n[n.en_JM=8201]="en_JM",n[n.en_CB=9225]="en_CB",n[n.en_BZ=10249]="en_BZ",n[n.en_TT=11273]="en_TT",n[n.en_ZW=12297]="en_ZW",n[n.en_PH=13321]="en_PH",n[n.en_IN=16393]="en_IN",n[n.en_MY=17417]="en_MY",n[n.en_SG=18441]="en_SG",n[n.et_EE=1061]="et_EE",n[n.fo_FO=1080]="fo_FO",n[n.fil_PH=1124]="fil_PH",n[n.fi_FI=1035]="fi_FI",n[n.fr_FR=1036]="fr_FR",n[n.fr_BE=2060]="fr_BE",n[n.fr_CA=3084]="fr_CA",n[n.fr_CH=4108]="fr_CH",n[n.fr_LU=5132]="fr_LU",n[n.fr_MC=6156]="fr_MC",n[n.fy_NL=1122]="fy_NL",n[n.gl_ES=1110]="gl_ES",n[n.ka_GE=1079]="ka_GE",n[n.de_DE=1031]="de_DE",n[n.de_CH=2055]="de_CH",n[n.de_AT=3079]="de_AT",n[n.de_LU=4103]="de_LU",n[n.de_LI=5127]="de_LI",n[n.el_GR=1032]="el_GR",n[n.gu_IN=1095]="gu_IN",n[n.ha_NG_Latn=1128]="ha_NG_Latn",n[n.he_IL=1037]="he_IL",n[n.hi_IN=1081]="hi_IN",n[n.hu_HU=1038]="hu_HU",n[n.is_IS=1039]="is_IS",n[n.ig_NG=1136]="ig_NG",n[n.id_ID=1057]="id_ID",n[n.iu_CA_Latn=2141]="iu_CA_Latn",n[n.iu_CA_Cans=1117]="iu_CA_Cans",n[n.ga_IE=2108]="ga_IE",n[n.xh_ZA=1076]="xh_ZA",n[n.zu_ZA=1077]="zu_ZA",n[n.it_IT=1040]="it_IT",n[n.it_CH=2064]="it_CH",n[n.ja_JP=1041]="ja_JP",n[n.kn_IN=1099]="kn_IN",n[n.kk_KZ=1087]="kk_KZ",n[n.km_KH=1107]="km_KH",n[n.quc_GT=1158]="quc_GT",n[n.rw_RW=1159]="rw_RW",n[n.sw_KE=1089]="sw_KE",n[n.kok_IN=1111]="kok_IN",n[n.ko_KR=1042]="ko_KR",n[n.ky_KG=1088]="ky_KG",n[n.lo_LA=1108]="lo_LA",n[n.lv_LV=1062]="lv_LV",n[n.lt_LT=1063]="lt_LT",n[n.dsb_DE=2094]="dsb_DE",n[n.lb_LU=1134]="lb_LU",n[n.mk_MK=1071]="mk_MK",n[n.ms_MY=1086]="ms_MY",n[n.ms_BN=2110]="ms_BN",n[n.ml_IN=1100]="ml_IN",n[n.mt_MT=1082]="mt_MT",n[n.mi_NZ=1153]="mi_NZ",n[n.arn_CL=1146]="arn_CL",n[n.mr_IN=1102]="mr_IN",n[n.mn_MN=1104]="mn_MN",n[n.mn_CN=2128]="mn_CN",n[n.ne_NP=1121]="ne_NP",n[n.nb_NO=1044]="nb_NO",n[n.nn_NO=2068]="nn_NO",n[n.oc_FR=1154]="oc_FR",n[n.or_IN=1096]="or_IN",n[n.ps_AF=1123]="ps_AF",n[n.fa_IR=1065]="fa_IR",n[n.pl_PL=1045]="pl_PL",n[n.pt_BR=1046]="pt_BR",n[n.pt_PT=2070]="pt_PT",n[n.pa_IN=1094]="pa_IN",n[n.quz_BO=1131]="quz_BO",n[n.quz_EC=2155]="quz_EC",n[n.quz_PE=3179]="quz_PE",n[n.ro_RO=1048]="ro_RO",n[n.rm_CH=1047]="rm_CH",n[n.ru_RU=1049]="ru_RU",n[n.smn_FI=9275]="smn_FI",n[n.smj_NO=4155]="smj_NO",n[n.smj_SE=5179]="smj_SE",n[n.se_NO=3131]="se_NO",n[n.se_SE=1083]="se_SE",n[n.se_FI=2107]="se_FI",n[n.sms_FI=8251]="sms_FI",n[n.sma_NO=6203]="sma_NO",n[n.sma_SE=7227]="sma_SE",n[n.sa_IN=1103]="sa_IN",n[n.sr_SP_Cyrl=3098]="sr_SP_Cyrl",n[n.sr_SP_Latn=2074]="sr_SP_Latn",n[n.sr_BA_Cyrl=7194]="sr_BA_Cyrl",n[n.sr_BA_Latn=5146]="sr_BA_Latn",n[n.nso_ZA=1132]="nso_ZA",n[n.tn_ZA=1074]="tn_ZA",n[n.si_LK=1115]="si_LK",n[n.sk_SK=1051]="sk_SK",n[n.sl_SI=1060]="sl_SI",n[n.es_ES_tradnl=1034]="es_ES_tradnl",n[n.es_MX=2058]="es_MX",n[n.es_ES=3082]="es_ES",n[n.es_GT=4106]="es_GT",n[n.es_CR=5130]="es_CR",n[n.es_PA=6154]="es_PA",n[n.es_DO=7178]="es_DO",n[n.es_VE=8202]="es_VE",n[n.es_CO=9226]="es_CO",n[n.es_PE=10250]="es_PE",n[n.es_AR=11274]="es_AR",n[n.es_EC=12298]="es_EC",n[n.es_CL=13322]="es_CL",n[n.es_UY=14346]="es_UY",n[n.es_PY=15370]="es_PY",n[n.es_BO=16394]="es_BO",n[n.es_SV=17418]="es_SV",n[n.es_HN=18442]="es_HN",n[n.es_NI=19466]="es_NI",n[n.es_PR=20490]="es_PR",n[n.es_US=21514]="es_US",n[n.sv_SE=1053]="sv_SE",n[n.sv_FI=2077]="sv_FI",n[n.syr_SY=1114]="syr_SY",n[n.tg_TJ_Cyrl=1064]="tg_TJ_Cyrl",n[n.ta_IN=1097]="ta_IN",n[n.tt_RU=1092]="tt_RU",n[n.te_IN=1098]="te_IN",n[n.th_TH=1054]="th_TH",n[n.bo_CN=1105]="bo_CN",n[n.ti_ER=2163]="ti_ER",n[n.ti_ET=1139]="ti_ET",n[n.ts_ZA=1073]="ts_ZA",n[n.tr_TR=1055]="tr_TR",n[n.tk_TM=1090]="tk_TM",n[n.uk_UA=1058]="uk_UA",n[n.hsb_DE=1070]="hsb_DE",n[n.ur_PK=1056]="ur_PK",n[n.ug_CN=1152]="ug_CN",n[n.uz_UZ_Latn=1091]="uz_UZ_Latn",n[n.uz_UZ_Cyrl=2115]="uz_UZ_Cyrl",n[n.vi_VN=1066]="vi_VN",n[n.cy_GB=1106]="cy_GB",n[n.wo_SN=1160]="wo_SN",n[n.sah_RU=1157]="sah_RU",n[n.ii_CN=1144]="ii_CN",n[n.yo_NG=1130]="yo_NG";var No={},Ao={};function e(e,t){No[e]=t,Ao[t.toLowerCase()]=e}function Eo(e){var t;return void 0===e||0===(e=e.trim()).length?M.LocaleIDs.None:(e=e.replace(/_/g,"-").toLowerCase(),void 0!==(t=Ao[e])?t:"en"===(t=e.split("-")[0])?M.LocaleIDs.en_US:"ar"===t?M.LocaleIDs.ar_SA:"he"===t||"iw"===t?M.LocaleIDs.he_IL:"ja"===t?M.LocaleIDs.ja_JP:"zh"===t?M.LocaleIDs.zh_CN:M.LocaleIDs.None)}function Lo(e){if(e!==M.LocaleIDs.None)return No[e]}function Ro(e){return"superscript"===e?M.SubSuperScript.SuperScript:"subscript"===e?M.SubSuperScript.SubScript:M.SubSuperScript.None}function Bo(e){return e===M.SubSuperScript.SuperScript?"superscript":e===M.SubSuperScript.SubScript?"subscript":e===M.SubSuperScript.None?"baseline":void 0}function _o(e){if(void 0===e||""===e||"none"===e)return M.UnderlineStyle.None;switch(e){case"single":return M.UnderlineStyle.Single;case"words":return M.UnderlineStyle.Words;case"double":return M.UnderlineStyle.Double;case"thick":return M.UnderlineStyle.Thick;case"dotted":return M.UnderlineStyle.Dotted;case"dottedHeavy":return M.UnderlineStyle.DottedHeavy;case"dash":return M.UnderlineStyle.Dash;case"dashed":case"dashedHeavy":return M.UnderlineStyle.DashHeavy;case"dashLong":return M.UnderlineStyle.DashLong;case"dashLongHeavy":return M.UnderlineStyle.DashLongHeavy;case"dotDash":return M.UnderlineStyle.DotDash;case"dashDotHeavy":case"dotDashHeavy":return M.UnderlineStyle.DotDashHeavy;case"dotDotDash":return M.UnderlineStyle.DotDotDash;case"dashDotDotHeavy":case"dotDotDashHeavy":return M.UnderlineStyle.DotDotDashHeavy;case"wave":case"wavy":return M.UnderlineStyle.Wavy;case"wavyHeavy":return M.UnderlineStyle.WavyHeavy;case"wavyDouble":return M.UnderlineStyle.WavyDouble;default:return M.UnderlineStyle.Single}}function jo(e){switch(e){case M.UnderlineStyle.None:return"none";case M.UnderlineStyle.Single:return"single";case M.UnderlineStyle.Words:return"words";case M.UnderlineStyle.Double:return"double";case M.UnderlineStyle.Dotted:return"dotted";case M.UnderlineStyle.Thick:return"thick";case M.UnderlineStyle.Dash:return"dash";case M.UnderlineStyle.DotDash:return"dotDash";case M.UnderlineStyle.DotDotDash:return"dotDotDash";case M.UnderlineStyle.Wavy:return"wave";case M.UnderlineStyle.DottedHeavy:return"dottedHeavy";case M.UnderlineStyle.DashHeavy:return"dashedHeavy";case M.UnderlineStyle.DotDashHeavy:return"dotDashHeavy";case M.UnderlineStyle.DotDotDashHeavy:return"dashDotDotHeavy";case M.UnderlineStyle.WavyHeavy:return"wavyHeavy";case M.UnderlineStyle.DashLong:return"dashLong";case M.UnderlineStyle.DashLongHeavy:return"dashLongHeavy";case M.UnderlineStyle.WavyDouble:return"wavyDouble";default:return"single"}}e(M.LocaleIDs.af_ZA,"af-ZA"),e(M.LocaleIDs.sq_AL,"sq-AL"),e(M.LocaleIDs.am_ET,"am-ET"),e(M.LocaleIDs.ar_SA,"ar-SA"),e(M.LocaleIDs.ar_IQ,"ar-IQ"),e(M.LocaleIDs.ar_EG,"ar-EG"),e(M.LocaleIDs.ar_LY,"ar-LY"),e(M.LocaleIDs.ar_DZ,"ar-DZ"),e(M.LocaleIDs.ar_MA,"ar-MA"),e(M.LocaleIDs.ar_TN,"ar-TN"),e(M.LocaleIDs.ar_OM,"ar-OM"),e(M.LocaleIDs.ar_YE,"ar-YE"),e(M.LocaleIDs.ar_SY,"ar-SY"),e(M.LocaleIDs.ar_JO,"ar-JO"),e(M.LocaleIDs.ar_LB,"ar-LB"),e(M.LocaleIDs.ar_KW,"ar-KW"),e(M.LocaleIDs.ar_AE,"ar-AE"),e(M.LocaleIDs.ar_BH,"ar-BH"),e(M.LocaleIDs.ar_QA,"ar-QA"),e(M.LocaleIDs.hy_AM,"hy-AM"),e(M.LocaleIDs.as_IN,"as-IN"),e(M.LocaleIDs.az_AZ_Latn,"az-Latn-AZ"),e(M.LocaleIDs.az_AZ_Cyrl,"az-Cyrl-AZ"),e(M.LocaleIDs.eu_ES,"eu-ES"),e(M.LocaleIDs.be_BY,"be-BY"),e(M.LocaleIDs.bn_IN,"bn-IN"),e(M.LocaleIDs.bn_BD,"bn-BD"),e(M.LocaleIDs.bs_BA_Latn,"bs-Latn-BA"),e(M.LocaleIDs.bs_BA_Cyrl,"bs-Cyrl-BA"),e(M.LocaleIDs.bg_BG,"bg-BG"),e(M.LocaleIDs.my_MM,"my-MM"),e(M.LocaleIDs.ca_ES,"ca-ES"),e(M.LocaleIDs.zh_TW,"zh-TW"),e(M.LocaleIDs.zh_CN,"zh-CN"),e(M.LocaleIDs.zh_HK,"zh-HK"),e(M.LocaleIDs.zh_SG,"zh-SG"),e(M.LocaleIDs.zh_MO,"zh-MO"),e(M.LocaleIDs.hr_HR,"hr-HR"),e(M.LocaleIDs.hr_BA,"hr-BA"),e(M.LocaleIDs.cs_CZ,"cs-CZ"),e(M.LocaleIDs.da_DK,"da-DK"),e(M.LocaleIDs.prs_AF,"prs-AF"),e(M.LocaleIDs.dv_MV,"dv-MV"),e(M.LocaleIDs.nl_NL,"nl-NL"),e(M.LocaleIDs.nl_BE,"nl-BE"),e(M.LocaleIDs.en_US,"en-US"),e(M.LocaleIDs.en_GB,"en-GB"),e(M.LocaleIDs.en_AU,"en-AU"),e(M.LocaleIDs.en_CA,"en-CA"),e(M.LocaleIDs.en_NZ,"en-NZ"),e(M.LocaleIDs.en_IE,"en-IE"),e(M.LocaleIDs.en_ZA,"en-ZA"),e(M.LocaleIDs.en_JM,"en-JM"),e(M.LocaleIDs.en_CB,"en-029"),e(M.LocaleIDs.en_BZ,"en-BZ"),e(M.LocaleIDs.en_TT,"en-TT"),e(M.LocaleIDs.en_ZW,"en-ZW"),e(M.LocaleIDs.en_PH,"en-PH"),e(M.LocaleIDs.en_IN,"en-IN"),e(M.LocaleIDs.en_MY,"en-MY"),e(M.LocaleIDs.en_SG,"en-SG"),e(M.LocaleIDs.et_EE,"et-EE"),e(M.LocaleIDs.fo_FO,"fo-FO"),e(M.LocaleIDs.fil_PH,"fil-PH"),e(M.LocaleIDs.fi_FI,"fi-FI"),e(M.LocaleIDs.fr_FR,"fr-FR"),e(M.LocaleIDs.fr_BE,"fr-BE"),e(M.LocaleIDs.fr_CA,"fr-CA"),e(M.LocaleIDs.fr_CH,"fr-CH"),e(M.LocaleIDs.fr_LU,"fr-LU"),e(M.LocaleIDs.fr_MC,"fr-MC"),e(M.LocaleIDs.fy_NL,"fy-NL"),e(M.LocaleIDs.gl_ES,"gl-ES"),e(M.LocaleIDs.ka_GE,"ka-GE"),e(M.LocaleIDs.de_DE,"de-DE"),e(M.LocaleIDs.de_CH,"de-CH"),e(M.LocaleIDs.de_AT,"de-AT"),e(M.LocaleIDs.de_LU,"de-LU"),e(M.LocaleIDs.de_LI,"de-LI"),e(M.LocaleIDs.el_GR,"el-GR"),e(M.LocaleIDs.gu_IN,"gu-IN"),e(M.LocaleIDs.ha_NG_Latn,"ha-Latn-NG"),e(M.LocaleIDs.he_IL,"he-IL"),e(M.LocaleIDs.hi_IN,"hi-IN"),e(M.LocaleIDs.hu_HU,"hu-HU"),e(M.LocaleIDs.is_IS,"is-IS"),e(M.LocaleIDs.ig_NG,"ig-NG"),e(M.LocaleIDs.id_ID,"id-ID"),e(M.LocaleIDs.iu_CA_Latn,"iu-Latn-CA"),e(M.LocaleIDs.iu_CA_Cans,"iu-Cans-CA"),e(M.LocaleIDs.ga_IE,"ga-IE"),e(M.LocaleIDs.xh_ZA,"xh-ZA"),e(M.LocaleIDs.zu_ZA,"zu-ZA"),e(M.LocaleIDs.it_IT,"it-IT"),e(M.LocaleIDs.it_CH,"it-CH"),e(M.LocaleIDs.ja_JP,"ja-JP"),e(M.LocaleIDs.kn_IN,"kn-IN"),e(M.LocaleIDs.kk_KZ,"kk-KZ"),e(M.LocaleIDs.km_KH,"km-KH"),e(M.LocaleIDs.quc_GT,"quc-GT"),e(M.LocaleIDs.rw_RW,"rw-RW"),e(M.LocaleIDs.sw_KE,"sw-KE"),e(M.LocaleIDs.kok_IN,"kok-IN"),e(M.LocaleIDs.ko_KR,"ko-KR"),e(M.LocaleIDs.ky_KG,"ky-KG"),e(M.LocaleIDs.lo_LA,"lo-LA"),e(M.LocaleIDs.lv_LV,"lv-LV"),e(M.LocaleIDs.lt_LT,"lt-LT"),e(M.LocaleIDs.dsb_DE,"dsb-DE"),e(M.LocaleIDs.lb_LU,"lb-LU"),e(M.LocaleIDs.mk_MK,"mk-MK"),e(M.LocaleIDs.ms_MY,"ms-MY"),e(M.LocaleIDs.ms_BN,"ms-BN"),e(M.LocaleIDs.ml_IN,"ml-IN"),e(M.LocaleIDs.mt_MT,"mt-MT"),e(M.LocaleIDs.mi_NZ,"mi-NZ"),e(M.LocaleIDs.arn_CL,"arn-CL"),e(M.LocaleIDs.mr_IN,"mr-IN"),e(M.LocaleIDs.mn_MN,"mn-MN"),e(M.LocaleIDs.mn_CN,"mn-Mong-CN"),e(M.LocaleIDs.ne_NP,"ne-NP"),e(M.LocaleIDs.nb_NO,"nb-NO"),e(M.LocaleIDs.nn_NO,"nn-NO"),e(M.LocaleIDs.oc_FR,"oc-FR"),e(M.LocaleIDs.or_IN,"or-IN"),e(M.LocaleIDs.ps_AF,"ps-AF"),e(M.LocaleIDs.fa_IR,"fa-IR"),e(M.LocaleIDs.pl_PL,"pl-PL"),e(M.LocaleIDs.pt_BR,"pt-BR"),e(M.LocaleIDs.pt_PT,"pt-PT"),e(M.LocaleIDs.pa_IN,"pa-IN"),e(M.LocaleIDs.quz_BO,"quz-BO"),e(M.LocaleIDs.quz_EC,"quz-EC"),e(M.LocaleIDs.quz_PE,"quz-PE"),e(M.LocaleIDs.ro_RO,"ro-RO"),e(M.LocaleIDs.rm_CH,"rm-CH"),e(M.LocaleIDs.ru_RU,"ru-RU"),e(M.LocaleIDs.smn_FI,"smn-FI"),e(M.LocaleIDs.smj_NO,"smj-NO"),e(M.LocaleIDs.smj_SE,"smj-SE"),e(M.LocaleIDs.se_NO,"se-NO"),e(M.LocaleIDs.se_SE,"se-SE"),e(M.LocaleIDs.se_FI,"se-FI"),e(M.LocaleIDs.sms_FI,"sms-FI"),e(M.LocaleIDs.sma_NO,"sma-NO"),e(M.LocaleIDs.sma_SE,"sma-SE"),e(M.LocaleIDs.sa_IN,"sa-IN"),e(M.LocaleIDs.sr_SP_Cyrl,"sr-Cyrl-CS"),e(M.LocaleIDs.sr_SP_Latn,"sr-Latn-CS"),e(M.LocaleIDs.sr_BA_Cyrl,"sr-Cyrl-BA"),e(M.LocaleIDs.sr_BA_Latn,"sr-Latn-BA"),e(M.LocaleIDs.nso_ZA,"nso-ZA"),e(M.LocaleIDs.tn_ZA,"tn-ZA"),e(M.LocaleIDs.si_LK,"si-LK"),e(M.LocaleIDs.sk_SK,"sk-SK"),e(M.LocaleIDs.sl_SI,"sl-SI"),e(M.LocaleIDs.es_ES_tradnl,"es-ES_tradnl"),e(M.LocaleIDs.es_MX,"es-MX"),e(M.LocaleIDs.es_ES,"es-ES"),e(M.LocaleIDs.es_GT,"es-GT"),e(M.LocaleIDs.es_CR,"es-CR"),e(M.LocaleIDs.es_PA,"es-PA"),e(M.LocaleIDs.es_DO,"es-DO"),e(M.LocaleIDs.es_VE,"es-VE"),e(M.LocaleIDs.es_CO,"es-CO"),e(M.LocaleIDs.es_PE,"es-PE"),e(M.LocaleIDs.es_AR,"es-AR"),e(M.LocaleIDs.es_EC,"es-EC"),e(M.LocaleIDs.es_CL,"es-CL"),e(M.LocaleIDs.es_UY,"es-UY"),e(M.LocaleIDs.es_PY,"es-PY"),e(M.LocaleIDs.es_BO,"es-BO"),e(M.LocaleIDs.es_SV,"es-SV"),e(M.LocaleIDs.es_HN,"es-HN"),e(M.LocaleIDs.es_NI,"es-NI"),e(M.LocaleIDs.es_PR,"es-PR"),e(M.LocaleIDs.es_US,"es-US"),e(M.LocaleIDs.sv_SE,"sv-SE"),e(M.LocaleIDs.sv_FI,"sv-FI"),e(M.LocaleIDs.syr_SY,"syr-SY"),e(M.LocaleIDs.tg_TJ_Cyrl,"tg-Cyrl-TJ"),e(M.LocaleIDs.ta_IN,"ta-IN"),e(M.LocaleIDs.tt_RU,"tt-RU"),e(M.LocaleIDs.te_IN,"te-IN"),e(M.LocaleIDs.th_TH,"th-TH"),e(M.LocaleIDs.bo_CN,"bo-CN"),e(M.LocaleIDs.ti_ER,"ti-ER"),e(M.LocaleIDs.ti_ET,"ti-ET"),e(M.LocaleIDs.ts_ZA,"ts-ZA"),e(M.LocaleIDs.tr_TR,"tr-TR"),e(M.LocaleIDs.tk_TM,"tk-TM"),e(M.LocaleIDs.uk_UA,"uk-UA"),e(M.LocaleIDs.hsb_DE,"hsb-DE"),e(M.LocaleIDs.ur_PK,"ur-PK"),e(M.LocaleIDs.ug_CN,"ug-CN"),e(M.LocaleIDs.uz_UZ_Latn,"uz-Latn-UZ"),e(M.LocaleIDs.uz_UZ_Cyrl,"uz-Cyrl-UZ"),e(M.LocaleIDs.vi_VN,"vi-VN"),e(M.LocaleIDs.cy_GB,"cy-GB"),e(M.LocaleIDs.wo_SN,"wo-SN"),e(M.LocaleIDs.sah_RU,"sah-RU"),e(M.LocaleIDs.ii_CN,"ii-CN"),e(M.LocaleIDs.yo_NG,"yo-NG"),Ao["sr-cyrl-rs"]=M.LocaleIDs.sr_SP_Cyrl,Ao["sr-latn-rs"]=M.LocaleIDs.sr_SP_Latn,Ao["az-az"]=M.LocaleIDs.az_AZ_Latn,Ao["zh-chs"]=M.LocaleIDs.zh_CN,Ao["zh-cht"]=M.LocaleIDs.zh_TW,Ao["zh-hans"]=M.LocaleIDs.zh_CN,Ao["zh-hant"]=M.LocaleIDs.zh_TW,(n=M.SubSuperScript||(M.SubSuperScript={}))[n.None=0]="None",n[n.SuperScript=1]="SuperScript",n[n.SubScript=2]="SubScript",(n=M.UnderlineStyle||(M.UnderlineStyle={}))[n.None=0]="None",n[n.Single=1]="Single",n[n.Words=2]="Words",n[n.Double=3]="Double",n[n.Dotted=4]="Dotted",n[n.Thick=6]="Thick",n[n.Dash=7]="Dash",n[n.DotDash=9]="DotDash",n[n.DotDotDash=10]="DotDotDash",n[n.Wavy=11]="Wavy",n[n.DottedHeavy=20]="DottedHeavy",n[n.DashHeavy=23]="DashHeavy",n[n.DotDashHeavy=25]="DotDashHeavy",n[n.DotDotDashHeavy=26]="DotDotDashHeavy",n[n.WavyHeavy=27]="WavyHeavy",n[n.DashLong=39]="DashLong",n[n.DashLongHeavy=55]="DashLongHeavy",n[n.WavyDouble=43]="WavyDouble";var Mo=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},zo=new Set(["rStyle","rFonts","b","bCs","i","iCs","caps","smallCaps","strike","dstrike","outline","shadow","emboss","imprint","snapToGrid","vanish","webHidden","noProof","hidden","specVanish","color","spacing","w","kern","position","sz","szCs","highlight","u","vertAlign","lang","em","effect","shd","bdr","cs","rtl"]),Uo=new Set(["rPrChange","oMath","eastAsianLayout","fitText"]),Ho=new Set(["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"]),Wo=new Set(["single","words","double","thick","dotted","dottedHeavy","dash","dashedHeavy","dashLong","dashLongHeavy","dotDash","dotDashHeavy","dotDotDash","dotDotDashHeavy","wave","wavyHeavy","wavyDouble","none"]),Go=new Set(["none","dot","comma","circle","underDot"]),qo=new Set(["none","blinkBackground","lights","antsBlack","antsRed","shimmer","sparkle","movie"]);function Xo(e){return Math.round(2*e)}function Yo(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function Zo(e,t){e=e.attributes.find(function(e){return e.localName===t&&("w"===e.prefix||""===e.prefix)});return null==e?void 0:e.value}function Ko(e,t){if(!(0<t&&t<=1638))throw new RangeError(e+" must be in (0, 1638] points, got "+String(t))}function Jo(e,t){if(t<-1584||1584<t)throw new RangeError(e+" must be in [-1584, 1584] points, got "+String(t))}function $o(e){return void 0!==e?e:{}}function Qo(e){return void 0===e.ascii&&void 0===e.hAnsi&&void 0===e.cs&&void 0===e.eastAsia&&void 0===e.hint&&void 0===e.asciiTheme&&void 0===e.hAnsiTheme&&void 0===e.eastAsiaTheme&&void 0===e.cTheme}function ea(e,t,r){void 0!==r&&e.push(Ji(t,r))}function ta(e){var t,r,n,i,o,a,l,s,u,c,d,h,p,f,v,m,y,g,b,w={rPrExtra:[],styleIdValue:void 0,boldValue:void 0,italicValue:void 0,strikeValue:void 0,doubleStrikeValue:void 0,vanishValue:void 0,legacyHiddenValue:void 0,noProofValue:void 0,fontSizeValue:void 0,fontSizeBidiValue:void 0,textColorValue:void 0,textColorTheme:void 0,highlightValue:void 0,shadingValue:void 0,underlineStyleValue:void 0,underlineColorValue:void 0,vertAlignValue:void 0,smallCapsValue:void 0,allCapsValue:void 0,fontsValue:void 0,characterScaleValue:void 0,kerningValue:void 0,characterSpacingValue:void 0,positionValue:void 0,borderValue:void 0,languageValue:void 0,embossValue:void 0,imprintValue:void 0,outlineValue:void 0,shadowValue:void 0,webHiddenValue:void 0,bidiValue:void 0,complexScriptValue:void 0,boldBidiValue:void 0,italicBidiValue:void 0,emphasisValue:void 0,textEffectValue:void 0,specVanishValue:void 0,snapToGridValue:void 0},P=[];try{for(var S=Mo(re(e)),x=S.next();!x.done;x=S.next()){var C,I,V,T=x.value;te(T,T.localName)?!Uo.has(T.localName)&&zo.has(T.localName)?"rStyle"===T.localName?w.styleIdValue=z(T):"sz"===T.localName?void 0!==(C=z(T))&&/^\d+$/.test(C)?w.fontSizeValue=go(Number.parseInt(C,10)):P.push(T):"szCs"===T.localName?void 0!==(C=z(T))&&/^\d+$/.test(C)?w.fontSizeBidiValue=go(Number.parseInt(C,10)):P.push(T):"color"===T.localName?void 0===(I=function(e){var t=Zo(e,"val");if(void 0!==t)return void 0!==(e=Zo(e,"themeColor"))?{value:t,themeColor:e}:{value:t}}(T))?P.push(T):(w.textColorValue=I.value,w.textColorTheme=I.themeColor):"highlight"===T.localName?void 0===(I=function(e){if(void 0!==(e=z(e))&&Ho.has(e))return e}(T))?P.push(T):w.highlightValue=I:"shd"===T.localName?w.shadingValue=(b=g=y=void 0,y=Zo(m=T,"fill"),g=Zo(m,"color"),m=Zo(m,"val"),b={},void 0!==y&&(b.fill=y),void 0!==g&&(b.color=g),void 0!==m&&(b.pattern=m),b):"u"===T.localName?void 0===(I=function(e){var t=void 0!==(t=Zo(e,"val"))?t:"single";if(Wo.has(t))return void 0!==(e=Zo(e,"color"))?{style:t,color:e}:{style:t}}(T))?P.push(T):(w.underlineStyleValue=I.style,w.underlineColorValue=I.color):"vertAlign"===T.localName?void 0===(I=function(e){if("baseline"===(e=z(e))||"superscript"===e||"subscript"===e)return e}(T))?P.push(T):w.vertAlignValue=I:"rFonts"===T.localName?w.fontsValue=(v=f=p=h=d=c=u=s=l=void 0,l=Zo(a=T,"ascii"),s=Zo(a,"hAnsi"),u=Zo(a,"cs"),c=Zo(a,"eastAsia"),d=Zo(a,"hint"),h=Zo(a,"asciiTheme"),p=Zo(a,"hAnsiTheme"),f=Zo(a,"eastAsiaTheme"),a=Zo(a,"cTheme"),v={},void 0!==l&&(v.ascii=l),void 0!==s&&(v.hAnsi=s),void 0!==u&&(v.cs=u),void 0!==c&&(v.eastAsia=c),void 0!==d&&(v.hint=d),void 0!==h&&(v.asciiTheme=h),void 0!==p&&(v.hAnsiTheme=p),void 0!==f&&(v.eastAsiaTheme=f),void 0!==a&&(v.cTheme=a),v):"w"===T.localName?void 0===(I=function(e){if(!(void 0===(e=Yo(z(e)))||e<1||600<e))return e}(T))?P.push(T):w.characterScaleValue=I:"kern"===T.localName?void 0===(I=function(e){if(!(void 0===(e=Yo(z(e)))||e<0))return e}(T))?P.push(T):w.kerningValue=I:"spacing"===T.localName?void 0===(I=Yo(z(T)))?P.push(T):w.characterSpacingValue=I:"position"===T.localName?void 0===(I=Yo(z(T)))?P.push(T):w.positionValue=I:"bdr"===T.localName?void 0===(I=function(e){var t,r,n=Zo(e,"val");if(void 0!==n)return t=Zo(e,"color"),r=Yo(Zo(e,"sz")),e=Yo(Zo(e,"space")),void 0!==t&&void 0!==r&&void 0!==e?{style:n,color:t,size:r,space:e}:void 0!==t&&void 0!==r?{style:n,color:t,size:r}:void 0!==t&&void 0!==e?{style:n,color:t,space:e}:void 0!==r&&void 0!==e?{style:n,size:r,space:e}:void 0!==t?{style:n,color:t}:void 0!==r?{style:n,size:r}:void 0!==e?{style:n,space:e}:{style:n}}(T))?P.push(T):w.borderValue=I:"lang"===T.localName?w.languageValue=(o=i=void 0,i=Zo(n=T,"val"),o=Zo(n,"bidi"),n=Zo(n,"eastAsia"),void 0!==i&&void 0!==o&&void 0!==n?{latin:i,bidi:o,eastAsia:n}:void 0!==i&&void 0!==o?{latin:i,bidi:o}:void 0!==i&&void 0!==n?{latin:i,eastAsia:n}:void 0!==o&&void 0!==n?{bidi:o,eastAsia:n}:void 0!==i?{latin:i}:void 0!==o?{bidi:o}:void 0!==n?{eastAsia:n}:{}):"em"===T.localName?void 0===(I=function(e){if(void 0!==(e=z(e))&&Go.has(e))return e}(T))?P.push(T):w.emphasisValue=I:"effect"===T.localName?void 0===(I=function(e){if(void 0!==(e=z(e))&&qo.has(e))return e}(T))?P.push(T):w.textEffectValue=I:void 0===(V=Ki(T))?P.push(T):"b"===T.localName?w.boldValue=V:"bCs"===T.localName?w.boldBidiValue=V:"i"===T.localName?w.italicValue=V:"iCs"===T.localName?w.italicBidiValue=V:"strike"===T.localName?w.strikeValue=V:"dstrike"===T.localName?w.doubleStrikeValue=V:"vanish"===T.localName?w.vanishValue=V:"noProof"===T.localName?w.noProofValue=V:"smallCaps"===T.localName?w.smallCapsValue=V:"caps"===T.localName?w.allCapsValue=V:"hidden"===T.localName?w.legacyHiddenValue=V:"emboss"===T.localName?w.embossValue=V:"imprint"===T.localName?w.imprintValue=V:"outline"===T.localName?w.outlineValue=V:"shadow"===T.localName?w.shadowValue=V:"webHidden"===T.localName?w.webHiddenValue=V:"cs"===T.localName?w.complexScriptValue=V:"rtl"===T.localName?w.bidiValue=V:"specVanish"===T.localName?w.specVanishValue=V:"snapToGrid"===T.localName?w.snapToGridValue=V:P.push(T):P.push(T):P.push(T)}}catch(e){t={error:e}}finally{try{x&&!x.done&&(r=S.return)&&r.call(S)}finally{if(t)throw t.error}}return w.rPrExtra=P,w}function ra(e,t,r){e=void 0!==(e=e)?{latin:e.latin,bidi:e.bidi,eastAsia:e.eastAsia}:{};return void 0===r?e[t]=void 0:(r=Lo(r),e[t]=void 0!==r?r:void 0),void 0===(t=e).latin&&void 0===t.bidi&&void 0===t.eastAsia?void 0:e}function na(e,t){if(void 0!==e){e=e[t];if(void 0!==e)return Eo(e)}}function ia(e){if(void 0!==e)return Fo(e)}function oa(e){if(void 0!==e)return ko(e)}function aa(e){var t,r,n,i,o,a,l=[];void 0!==e.styleIdValue&&l.push(b("rStyle",{attributes:[y("val",e.styleIdValue)]})),void 0===e.fontsValue||Qo(e.fontsValue)||l.push((t=e.fontsValue,r=[],void 0!==t.ascii&&r.push(y("ascii",t.ascii)),void 0!==t.hAnsi&&r.push(y("hAnsi",t.hAnsi)),void 0!==t.cs&&r.push(y("cs",t.cs)),void 0!==t.eastAsia&&r.push(y("eastAsia",t.eastAsia)),void 0!==t.hint&&r.push(y("hint",t.hint)),void 0!==t.asciiTheme&&r.push(y("asciiTheme",t.asciiTheme)),void 0!==t.hAnsiTheme&&r.push(y("hAnsiTheme",t.hAnsiTheme)),void 0!==t.eastAsiaTheme&&r.push(y("eastAsiaTheme",t.eastAsiaTheme)),void 0!==t.cTheme&&r.push(y("cTheme",t.cTheme)),b("rFonts",{attributes:r}))),ea(l,"b",e.boldValue),ea(l,"bCs",e.boldBidiValue),ea(l,"i",e.italicValue),ea(l,"iCs",e.italicBidiValue),ea(l,"caps",e.allCapsValue),ea(l,"smallCaps",e.smallCapsValue),ea(l,"strike",e.strikeValue),ea(l,"dstrike",e.doubleStrikeValue),ea(l,"outline",e.outlineValue),ea(l,"shadow",e.shadowValue),ea(l,"emboss",e.embossValue),ea(l,"imprint",e.imprintValue),ea(l,"snapToGrid",e.snapToGridValue),ea(l,"vanish",e.vanishValue),ea(l,"webHidden",e.webHiddenValue),ea(l,"noProof",e.noProofValue),ea(l,"hidden",e.legacyHiddenValue),ea(l,"specVanish",e.specVanishValue),void 0!==e.textColorValue&&l.push((t=e.textColorValue,r=e.textColorTheme,t=[y("val",t)],void 0!==r&&t.push(y("themeColor",r)),b("color",{attributes:t}))),void 0!==e.characterSpacingValue&&l.push(b("spacing",{attributes:[y("val",String(e.characterSpacingValue))]})),void 0!==e.characterScaleValue&&l.push(b("w",{attributes:[y("val",String(e.characterScaleValue))]})),void 0!==e.kerningValue&&l.push(b("kern",{attributes:[y("val",String(e.kerningValue))]})),void 0!==e.positionValue&&l.push(b("position",{attributes:[y("val",String(e.positionValue))]})),void 0!==e.fontSizeValue&&l.push(b("sz",{attributes:[y("val",String(e.fontSizeValue))]})),void 0!==e.fontSizeBidiValue&&l.push(b("szCs",{attributes:[y("val",String(e.fontSizeBidiValue))]})),void 0!==e.highlightValue&&l.push(b("highlight",{attributes:[y("val",e.highlightValue)]})),void 0!==e.underlineStyleValue&&l.push((i=e.underlineStyleValue,n=e.underlineColorValue,i=[y("val",i)],void 0!==n&&i.push(y("color",n)),b("u",{attributes:i}))),void 0!==e.vertAlignValue&&l.push(b("vertAlign",{attributes:[y("val",e.vertAlignValue)]})),void 0!==e.languageValue&&l.push((n=e.languageValue,i=[],void 0!==n.latin&&i.push(y("val",n.latin)),void 0!==n.bidi&&i.push(y("bidi",n.bidi)),void 0!==n.eastAsia&&i.push(y("eastAsia",n.eastAsia)),b("lang",{attributes:i}))),void 0!==e.emphasisValue&&l.push(b("em",{attributes:[y("val",e.emphasisValue)]})),void 0!==e.textEffectValue&&l.push(b("effect",{attributes:[y("val",e.textEffectValue)]})),void 0!==e.shadingValue&&l.push((o=e.shadingValue,a=[],void 0!==o.pattern&&a.push(y("val",o.pattern)),void 0!==o.color&&a.push(y("color",o.color)),void 0!==o.fill&&a.push(y("fill",o.fill)),b("shd",{attributes:a}))),void 0!==e.borderValue&&l.push((o=e.borderValue,a=[y("val",o.style)],void 0!==o.color&&a.push(y("color",o.color)),void 0!==o.size&&a.push(y("sz",String(o.size))),void 0!==o.space&&a.push(y("space",String(o.space))),b("bdr",{attributes:a}))),ea(l,"cs",e.complexScriptValue),ea(l,"rtl",e.bidiValue);for(var s=0;s<e.rPrExtra.length;s++)l.push(e.rPrExtra[s]);return l}var la={bold:!1,italic:!1,strikethrough:!1,doubleStrikethrough:!1,allCaps:!1,smallCaps:!1,hidden:!1,emboss:!1,engrave:!1,outline:!1,shadow:!1,noProof:!1,webHidden:!1,fontSize:10,fontName:"Times New Roman",fontNameAscii:"Times New Roman",fontNameNonFarEast:"Times New Roman",fontNameFarEast:"Times New Roman",fontNameBidi:"Times New Roman",underlineStyle:M.UnderlineStyle.None,underlineColor:M.Color.Transparent,textColor:M.Color.Transparent,highlightColor:M.Color.Transparent,textBackgroundColor:M.Color.Transparent,subSuperScript:M.SubSuperScript.None,characterSpacing:0,position:0,kerning:0,scaling:100,localeId:1033,localeIdBidi:1025,localeIdFarEast:1033,bidi:!1,complexScript:!1,boldBidi:!1,italicBidi:!1,fontSizeBidi:10,emphasisMark:"none",textEffect:"none",specVanish:!1,snapToGrid:!0},sa=(r.prototype.mutate=function(){this.host.notifyCharacterFormatMutation()},r.prototype.effective=function(e){var t=this.host.resolveEffectiveCharacterValue,t=void 0!==t?t.call(this.host,e):void 0;return void 0!==t?t:void 0},r.prototype.effectiveOrDefault=function(e,t){e=this.effective(e);return void 0!==e?e:t},Object.defineProperty(r.prototype,"bold",{get:function(){return void 0!==this.boldValue?this.boldValue:this.effective("bold")},set:function(e){this.boldValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"italic",{get:function(){return void 0!==this.italicValue?this.italicValue:this.effective("italic")},set:function(e){this.italicValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"strikethrough",{get:function(){return void 0!==this.strikeValue?this.strikeValue:this.effective("strikethrough")},set:function(e){!0===(this.strikeValue=e)&&(this.doubleStrikeValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"doubleStrikethrough",{get:function(){return void 0!==this.doubleStrikeValue?this.doubleStrikeValue:this.effective("doubleStrikethrough")},set:function(e){!0===(this.doubleStrikeValue=e)&&(this.strikeValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"allCaps",{get:function(){return void 0!==this.allCapsValue?this.allCapsValue:this.effective("allCaps")},set:function(e){!0===(this.allCapsValue=e)&&(this.smallCapsValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"smallCaps",{get:function(){return void 0!==this.smallCapsValue?this.smallCapsValue:this.effective("smallCaps")},set:function(e){!0===(this.smallCapsValue=e)&&(this.allCapsValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hidden",{get:function(){return void 0!==this.vanishValue?this.vanishValue:this.effective("hidden")},set:function(e){this.vanishValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"emboss",{get:function(){return void 0!==this.embossValue?this.embossValue:this.effective("emboss")},set:function(e){!0===(this.embossValue=e)&&(this.imprintValue=void 0,this.outlineValue=void 0,this.shadowValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"engrave",{get:function(){return void 0!==this.imprintValue?this.imprintValue:this.effective("engrave")},set:function(e){!0===(this.imprintValue=e)&&(this.embossValue=void 0,this.outlineValue=void 0,this.shadowValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"outline",{get:function(){return void 0!==this.outlineValue?this.outlineValue:this.effective("outline")},set:function(e){!0===(this.outlineValue=e)&&(this.embossValue=void 0,this.imprintValue=void 0,this.shadowValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shadow",{get:function(){return void 0!==this.shadowValue?this.shadowValue:this.effective("shadow")},set:function(e){!0===(this.shadowValue=e)&&(this.embossValue=void 0,this.imprintValue=void 0,this.outlineValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"noProof",{get:function(){return void 0!==this.noProofValue?this.noProofValue:this.effective("noProof")},set:function(e){this.noProofValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"webHidden",{get:function(){return void 0!==this.webHiddenValue?this.webHiddenValue:this.effective("webHidden")},set:function(e){this.webHiddenValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontSize",{get:function(){return void 0!==this.fontSizeValue?co(this.fontSizeValue):this.effectiveOrDefault("fontSize",la.fontSize)},set:function(e){void 0===e?this.fontSizeValue=void 0:(Ko("fontSize",e),this.fontSizeValue=wo(e)),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontName",{get:function(){if(void 0!==this.fontsValue){if(void 0!==this.fontsValue.ascii)return this.fontsValue.ascii;if(void 0!==this.fontsValue.hAnsi)return this.fontsValue.hAnsi}return this.effectiveOrDefault("fontName",la.fontName)},set:function(e){if(void 0===e)return void 0===this.fontsValue?void 0:(this.fontsValue.ascii=void 0,this.fontsValue.hAnsi=void 0,Qo(this.fontsValue)&&(this.fontsValue=void 0),void this.mutate());var t=$o(this.fontsValue);t.ascii=e,t.hAnsi=e,void 0!==t.eastAsia&&(t.eastAsia=e),void 0!==t.cs&&(t.cs=e),this.fontsValue=t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontNameAscii",{get:function(){return void 0!==this.fontsValue&&void 0!==this.fontsValue.ascii?this.fontsValue.ascii:this.effectiveOrDefault("fontNameAscii",la.fontNameAscii)},set:function(e){var t=$o(this.fontsValue);t.ascii=e,this.fontsValue=Qo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontNameNonFarEast",{get:function(){return void 0!==this.fontsValue&&void 0!==this.fontsValue.hAnsi?this.fontsValue.hAnsi:this.effectiveOrDefault("fontNameNonFarEast",la.fontNameNonFarEast)},set:function(e){var t=$o(this.fontsValue);t.hAnsi=e,this.fontsValue=Qo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontNameFarEast",{get:function(){return void 0!==this.fontsValue&&void 0!==this.fontsValue.eastAsia?this.fontsValue.eastAsia:this.effectiveOrDefault("fontNameFarEast",la.fontNameFarEast)},set:function(e){var t=$o(this.fontsValue);t.eastAsia=e,this.fontsValue=Qo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontNameBidi",{get:function(){return void 0!==this.fontsValue&&void 0!==this.fontsValue.cs?this.fontsValue.cs:this.effectiveOrDefault("fontNameBidi",la.fontNameBidi)},set:function(e){var t=$o(this.fontsValue);t.cs=e,this.fontsValue=Qo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"underlineStyle",{get:function(){return void 0!==this.underlineStyleValue?_o(this.underlineStyleValue):this.effectiveOrDefault("underlineStyle",la.underlineStyle)},set:function(e){void 0===e?(this.underlineStyleValue=void 0,this.underlineColorValue=void 0):this.underlineStyleValue=jo(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"underlineColor",{get:function(){var e;return void 0!==this.underlineColorValue?void 0!==(e=oa(this.underlineColorValue))?e:M.Color.Transparent:"transparent"===(e=this.effective("underlineColor"))?M.Color.Transparent:void 0!==e?e:la.underlineColor},set:function(e){this.underlineColorValue=ia(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){var e;return void 0!==this.textColorValue?void 0!==(e=oa(this.textColorValue))?e:M.Color.Transparent:"transparent"===(e=this.effective("textColor"))?M.Color.Transparent:void 0!==e?e:la.textColor},set:function(e){this.textColorValue=ia(e),this.textColorTheme=void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"highlightColor",{get:function(){var e;return void 0!==this.highlightValue?Oo(this.highlightValue):"transparent"===(e=this.effective("highlightColor"))?M.Color.Transparent:void 0!==e?e:la.highlightColor},set:function(e){this.highlightValue=void 0===e?void 0:Do(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textBackgroundColor",{get:function(){var e;return void 0!==this.shadingValue&&void 0!==this.shadingValue.fill?void 0!==(e=oa(this.shadingValue.fill))?e:M.Color.Transparent:"transparent"===(e=this.effective("textBackgroundColor"))?M.Color.Transparent:void 0!==e?e:la.textBackgroundColor},set:function(e){void 0===e?this.shadingValue=void 0:(e=Fo(e),this.shadingValue={pattern:"clear",fill:e}),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"subSuperScript",{get:function(){return void 0!==this.vertAlignValue?Ro(this.vertAlignValue):this.effectiveOrDefault("subSuperScript",la.subSuperScript)},set:function(e){this.vertAlignValue=void 0===e?void 0:Bo(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"characterSpacing",{get:function(){return void 0!==this.characterSpacingValue?H(this.characterSpacingValue):this.effectiveOrDefault("characterSpacing",la.characterSpacing)},set:function(e){void 0===e?this.characterSpacingValue=void 0:(Jo("characterSpacing",e),this.characterSpacingValue=U(e)),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"position",{get:function(){return void 0!==this.positionValue?co(this.positionValue):this.effectiveOrDefault("position",la.position)},set:function(e){void 0===e?this.positionValue=void 0:(Jo("position",e),this.positionValue=Xo(e)),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"kerning",{get:function(){return void 0!==this.kerningValue?co(this.kerningValue):this.effectiveOrDefault("kerning",la.kerning)},set:function(e){if(void 0===e)this.kerningValue=void 0;else{if(e<0)throw new RangeError("kerning must be non-negative, got "+String(e));if((e=Xo(e))<0)throw new RangeError("kerning must be non-negative, got "+String(e)+" half-points");this.kerningValue=e}this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"scaling",{get:function(){return void 0!==this.characterScaleValue?this.characterScaleValue:this.effectiveOrDefault("scaling",la.scaling)},set:function(e){if(void 0!==e&&(!Number.isInteger(e)||e<1||600<e))throw new RangeError("scaling must be an integer 1–600, got "+String(e));this.characterScaleValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"border",{get:function(){return void 0!==this.borderValue?this.borderValue:this.effective("border")},set:function(e){this.borderValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"localeId",{get:function(){var e=na(this.languageValue,"latin");return void 0!==e?e:this.effectiveOrDefault("localeId",la.localeId)},set:function(e){this.languageValue=ra(this.languageValue,"latin",e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"localeIdBidi",{get:function(){var e=na(this.languageValue,"bidi");return void 0!==e?e:this.effectiveOrDefault("localeIdBidi",la.localeIdBidi)},set:function(e){this.languageValue=ra(this.languageValue,"bidi",e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"localeIdFarEast",{get:function(){var e=na(this.languageValue,"eastAsia");return void 0!==e?e:this.effectiveOrDefault("localeIdFarEast",la.localeIdFarEast)},set:function(e){this.languageValue=ra(this.languageValue,"eastAsia",e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"characterStyle",{get:function(){return this.styleIdValue},set:function(e){this.styleIdValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"bidi",{get:function(){return void 0!==this.bidiValue?this.bidiValue:this.effective("bidi")},set:function(e){this.bidiValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"complexScript",{get:function(){return void 0!==this.complexScriptValue?this.complexScriptValue:this.effective("complexScript")},set:function(e){this.complexScriptValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"boldBidi",{get:function(){return void 0!==this.boldBidiValue?this.boldBidiValue:this.effective("boldBidi")},set:function(e){this.boldBidiValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"italicBidi",{get:function(){return void 0!==this.italicBidiValue?this.italicBidiValue:this.effective("italicBidi")},set:function(e){this.italicBidiValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"fontSizeBidi",{get:function(){return void 0!==this.fontSizeBidiValue?co(this.fontSizeBidiValue):this.effectiveOrDefault("fontSizeBidi",la.fontSizeBidi)},set:function(e){void 0===e?this.fontSizeBidiValue=void 0:(Ko("fontSizeBidi",e),this.fontSizeBidiValue=wo(e)),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"emphasisMark",{get:function(){return void 0!==this.emphasisValue?this.emphasisValue:this.effectiveOrDefault("emphasisMark",la.emphasisMark)},set:function(e){this.emphasisValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textEffect",{get:function(){return void 0!==this.textEffectValue?this.textEffectValue:this.effectiveOrDefault("textEffect",la.textEffect)},set:function(e){this.textEffectValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"specVanish",{get:function(){return void 0!==this.specVanishValue?this.specVanishValue:this.effective("specVanish")},set:function(e){this.specVanishValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"snapToGrid",{get:function(){return void 0!==this.snapToGridValue?this.snapToGridValue:this.effective("snapToGrid")},set:function(e){this.snapToGridValue=e,this.mutate()},enumerable:!0,configurable:!0}),r.prototype.assign=function(e){void 0!==e.bold&&(this.bold=e.bold),void 0!==e.italic&&(this.italic=e.italic),void 0!==e.strikethrough&&(this.strikethrough=e.strikethrough),void 0!==e.doubleStrikethrough&&(this.doubleStrikethrough=e.doubleStrikethrough),void 0!==e.allCaps&&(this.allCaps=e.allCaps),void 0!==e.smallCaps&&(this.smallCaps=e.smallCaps),void 0!==e.hidden&&(this.hidden=e.hidden),void 0!==e.emboss&&(this.emboss=e.emboss),void 0!==e.engrave&&(this.engrave=e.engrave),void 0!==e.outline&&(this.outline=e.outline),void 0!==e.shadow&&(this.shadow=e.shadow),void 0!==e.noProof&&(this.noProof=e.noProof),void 0!==e.webHidden&&(this.webHidden=e.webHidden),void 0!==e.fontSize&&(this.fontSize=e.fontSize),void 0!==e.fontName&&(this.fontName=e.fontName),void 0!==e.fontNameBidi&&(this.fontNameBidi=e.fontNameBidi),void 0!==e.underlineStyle&&(this.underlineStyle=e.underlineStyle),void 0!==e.underlineColor&&(this.underlineColor=e.underlineColor),void 0!==e.textColor&&(this.textColor=e.textColor),void 0!==e.highlightColor&&(this.highlightColor=e.highlightColor),void 0!==e.textBackgroundColor&&(this.textBackgroundColor=e.textBackgroundColor),void 0!==e.subSuperScript&&(this.subSuperScript=e.subSuperScript),void 0!==e.characterSpacing&&(this.characterSpacing=e.characterSpacing),void 0!==e.position&&(this.position=e.position),void 0!==e.kerning&&(this.kerning=e.kerning),void 0!==e.scaling&&(this.scaling=e.scaling),void 0!==e.border&&(this.border=e.border),void 0!==e.localeId&&(this.localeId=e.localeId),void 0!==e.localeIdBidi&&(this.localeIdBidi=e.localeIdBidi),void 0!==e.localeIdFarEast&&(this.localeIdFarEast=e.localeIdFarEast),void 0!==e.characterStyle&&(this.characterStyle=e.characterStyle),void 0!==e.bidi&&(this.bidi=e.bidi),void 0!==e.complexScript&&(this.complexScript=e.complexScript),void 0!==e.boldBidi&&(this.boldBidi=e.boldBidi),void 0!==e.italicBidi&&(this.italicBidi=e.italicBidi),void 0!==e.fontSizeBidi&&(this.fontSizeBidi=e.fontSizeBidi),void 0!==e.emphasisMark&&(this.emphasisMark=e.emphasisMark),void 0!==e.textEffect&&(this.textEffect=e.textEffect)},r.prototype.clear=function(){this.styleIdValue=void 0,this.boldValue=void 0,this.italicValue=void 0,this.strikeValue=void 0,this.doubleStrikeValue=void 0,this.vanishValue=void 0,this.legacyHiddenValue=void 0,this.noProofValue=void 0,this.fontSizeValue=void 0,this.fontSizeBidiValue=void 0,this.textColorValue=void 0,this.textColorTheme=void 0,this.highlightValue=void 0,this.shadingValue=void 0,this.underlineStyleValue=void 0,this.underlineColorValue=void 0,this.vertAlignValue=void 0,this.smallCapsValue=void 0,this.allCapsValue=void 0,this.fontsValue=void 0,this.characterScaleValue=void 0,this.kerningValue=void 0,this.characterSpacingValue=void 0,this.positionValue=void 0,this.borderValue=void 0,this.languageValue=void 0,this.embossValue=void 0,this.imprintValue=void 0,this.outlineValue=void 0,this.shadowValue=void 0,this.webHiddenValue=void 0,this.bidiValue=void 0,this.complexScriptValue=void 0,this.boldBidiValue=void 0,this.italicBidiValue=void 0,this.emphasisValue=void 0,this.textEffectValue=void 0,this.specVanishValue=void 0,this.snapToGridValue=void 0,this.mutate()},r.prototype.hydrate=function(e){this.rPrExtra=e.rPrExtra,this.styleIdValue=e.styleIdValue,this.boldValue=e.boldValue,this.italicValue=e.italicValue,this.strikeValue=e.strikeValue,this.doubleStrikeValue=e.doubleStrikeValue,this.vanishValue=e.vanishValue,this.legacyHiddenValue=e.legacyHiddenValue,this.noProofValue=e.noProofValue,this.fontSizeValue=e.fontSizeValue,this.fontSizeBidiValue=e.fontSizeBidiValue,this.textColorValue=e.textColorValue,this.textColorTheme=e.textColorTheme,this.highlightValue=e.highlightValue,this.shadingValue=e.shadingValue,this.underlineStyleValue=e.underlineStyleValue,this.underlineColorValue=e.underlineColorValue,this.vertAlignValue=e.vertAlignValue,this.smallCapsValue=e.smallCapsValue,this.allCapsValue=e.allCapsValue,this.fontsValue=e.fontsValue,this.characterScaleValue=e.characterScaleValue,this.kerningValue=e.kerningValue,this.characterSpacingValue=e.characterSpacingValue,this.positionValue=e.positionValue,this.borderValue=e.borderValue,this.languageValue=e.languageValue,this.embossValue=e.embossValue,this.imprintValue=e.imprintValue,this.outlineValue=e.outlineValue,this.shadowValue=e.shadowValue,this.webHiddenValue=e.webHiddenValue,this.bidiValue=e.bidiValue,this.complexScriptValue=e.complexScriptValue,this.boldBidiValue=e.boldBidiValue,this.italicBidiValue=e.italicBidiValue,this.emphasisValue=e.emphasisValue,this.textEffectValue=e.textEffectValue,this.specVanishValue=e.specVanishValue,this.snapToGridValue=e.snapToGridValue},r.prototype.snapshot=function(){return{rPrExtra:this.rPrExtra,styleIdValue:this.styleIdValue,boldValue:this.boldValue,italicValue:this.italicValue,strikeValue:this.strikeValue,doubleStrikeValue:this.doubleStrikeValue,vanishValue:this.vanishValue,legacyHiddenValue:this.legacyHiddenValue,noProofValue:this.noProofValue,fontSizeValue:this.fontSizeValue,fontSizeBidiValue:this.fontSizeBidiValue,textColorValue:this.textColorValue,textColorTheme:this.textColorTheme,highlightValue:this.highlightValue,shadingValue:this.shadingValue,underlineStyleValue:this.underlineStyleValue,underlineColorValue:this.underlineColorValue,vertAlignValue:this.vertAlignValue,smallCapsValue:this.smallCapsValue,allCapsValue:this.allCapsValue,fontsValue:this.fontsValue,characterScaleValue:this.characterScaleValue,kerningValue:this.kerningValue,characterSpacingValue:this.characterSpacingValue,positionValue:this.positionValue,borderValue:this.borderValue,languageValue:this.languageValue,embossValue:this.embossValue,imprintValue:this.imprintValue,outlineValue:this.outlineValue,shadowValue:this.shadowValue,webHiddenValue:this.webHiddenValue,bidiValue:this.bidiValue,complexScriptValue:this.complexScriptValue,boldBidiValue:this.boldBidiValue,italicBidiValue:this.italicBidiValue,emphasisValue:this.emphasisValue,textEffectValue:this.textEffectValue,specVanishValue:this.specVanishValue,snapToGridValue:this.snapToGridValue}},r.prototype.buildRPrChildren=function(){return aa(this.snapshot())},r.prototype.fontsRecord=function(){return this.fontsValue},r);function r(e){this.rPrExtra=[],this.host=e}function ua(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;n+=1)r.push(e[t[n]]);return r}function ca(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;n+=1)r.push([t[n],e[t[n]]]);return r}var da={Left:"start",Center:"center",Right:"end",Justify:"justify"};function ha(e){return"left"===e||"start"===e?da.Left:"right"===e||"end"===e?da.Right:"center"===e?da.Center:"both"===e||"justify"===e?da.Justify:void 0}function pa(e){return e===da.Justify?"both":e}(n=M.PageOrientation||(M.PageOrientation={})).Portrait="portrait",n.Landscape="landscape",(n=M.PageNumberStyle||(M.PageNumberStyle={})).Arabic="decimal",n.UpperRoman="upperRoman",n.LowerRoman="lowerRoman",n.UpperLetter="upperLetter",n.LowerLetter="lowerLetter",n.Ordinal="ordinal",n.CardinalText="cardinalText",n.OrdinalText="ordinalText",n.NumberInDash="numberInDash",n.Chicago="chicago",(n=M.LineNumberingMode||(M.LineNumberingMode={})).Continuous="continuous",n.RestartPage="newPage",n.RestartSection="newSection",(n=M.PrinterPaperTray||(M.PrinterPaperTray={}))[n.DefaultBin=1]="DefaultBin",n[n.UpperBin=1]="UpperBin",n[n.LowerBin=2]="LowerBin",n[n.MiddleBin=3]="MiddleBin",n[n.ManualFeed=4]="ManualFeed",n[n.EnvelopeFeed=5]="EnvelopeFeed",n[n.EnvelopeManualFeed=6]="EnvelopeManualFeed",n[n.AutoSheetFeed=7]="AutoSheetFeed",n[n.TractorFeed=8]="TractorFeed",n[n.SmallFormatBin=9]="SmallFormatBin",n[n.LargeFormatBin=10]="LargeFormatBin",n[n.LargeCapacityBin=11]="LargeCapacityBin",n[n.Cassette=14]="Cassette",n[n.FormSource=15]="FormSource",(n=M.PageVerticalAlignment||(M.PageVerticalAlignment={})).Top="top",n.Center="center",n.Both="both",n.Bottom="bottom",(n=M.PageBorderOffsetFrom||(M.PageBorderOffsetFrom={})).Text="text",n.PageEdge="page",(n=M.PageBordersApplyType||(M.PageBordersApplyType={})).AllPages="allPages",n.FirstPage="firstPage",n.NotFirstPage="notFirstPage",(n=M.BorderStyle||(M.BorderStyle={})).Nil="nil",n.None="none",n.Single="single",n.Thick="thick",n.Double="double",n.Dotted="dotted",n.Dashed="dashed",n.DotDash="dotDash",n.DotDotDash="dotDotDash",n.Triple="triple",n.ThinThickSmallGap="thinThickSmallGap",n.ThickThinSmallGap="thickThinSmallGap",n.ThinThickThinSmallGap="thinThickThinSmallGap",n.ThinThickMediumGap="thinThickMediumGap",n.ThickThinMediumGap="thickThinMediumGap",n.ThinThickThinMediumGap="thinThickThinMediumGap",n.ThinThickLargeGap="thinThickLargeGap",n.ThickThinLargeGap="thickThinLargeGap",n.ThinThickThinLargeGap="thinThickThinLargeGap",n.Wave="wave",n.DoubleWave="doubleWave",n.DashSmallGap="dashSmallGap",n.DashDotStroked="dashDotStroked",n.ThreeDEmboss="threeDEmboss",n.ThreeDEngrave="threeDEngrave",n.Outset="outset",n.Inset="inset";va.prototype.setChangeListener=function(e){this.changeListener=e},va.prototype.replace=function(e,t,r){this.widthValue=e,this.heightValue=t,r&&void 0!==this.changeListener&&this.changeListener(e,t)},Object.defineProperty(va.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=e,void 0!==this.changeListener&&this.changeListener(this.widthValue,this.heightValue)},enumerable:!0,configurable:!0}),Object.defineProperty(va.prototype,"height",{get:function(){return this.heightValue},set:function(e){this.heightValue=e,void 0!==this.changeListener&&this.changeListener(this.widthValue,this.heightValue)},enumerable:!0,configurable:!0});var fa=va;function va(e,t){this.widthValue=e,this.heightValue=t,this.changeListener=void 0}var ma=function(){return(ma=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},ya=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},n={Auto:"auto",AtLeast:"atLeast",Exact:"exact"};function ga(e){if(void 0!==e&&/^-?\d+$/.test(e))return parseInt(e,10)}function ba(e,t){e=e.attributes.find(function(e){return e.localName===t&&("w"===e.prefix||""===e.prefix)});return null==e?void 0:e.value}function wa(e,t){var r,n;try{for(var i=ya(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(te(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Pa(e,t,r,n){var i,o,a=re(e),l=[],s=!1;try{for(var u=ya(a),c=u.next();!c.done;c=u.next()){var d=c.value;te(d,r)?(s||void 0===n||l.push(n),s=!0):l.push(d)}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return s||void 0===n||l.push(n),b(t,{attributes:e.attributes,namespaceDeclarations:e.namespaceDeclarations,children:l})}function Sa(e){if(void 0!==e&&(0!==re(e).length||0!==e.attributes.length))return e}var xa=new Set(["auto","dxa","nil","pct"]);function Ca(e){var t=null!=(t=ba(e,"type"))?t:"dxa";if(xa.has(t))return{type:t,value:H(null!=(t=ga(ba(e,"w")))?t:0)}}function Ia(e,t){var r=U(t.value);return b(e,{attributes:[y("w",String(r)),y("type",t.type)]})}function Va(e){var t,r,n,i,o=ba(e,"val");if(void 0!==o)return t=ba(e,"color"),r=void 0!==(r=ba(e,"sz"))?ga(r):void 0,n=void 0!==(n=ba(e,"space"))?ga(n):void 0,void 0!==(e=ba(e,"shadow"))&&("true"===(e=e.trim().toLowerCase())||"1"===e||"on"===e?i=!0:"false"!==e&&"0"!==e&&"off"!==e||(i=!1)),ma({style:o},void 0!==t?{color:t}:{},void 0!==r?{size:r}:{},void 0!==n?{space:n}:{},void 0!==i?{shadow:i}:{})}function Ta(e,t){var r,n;if(void 0!==t.style)return r=[y("val",t.style)],void 0!==t.color&&(0<(n=t.color).length&&"#"===n.charAt(0)&&(n=n.slice(1)),r.push(y("color",n))),void 0!==t.size&&r.push(y("sz",String(t.size))),void 0!==t.space&&r.push(y("space",String(t.space))),void 0!==t.shadow&&r.push(y("shadow",t.shadow?"true":"false")),b(e,{attributes:r})}function ka(e){var t,r,n,i,o,a,l,s;try{for(var u=ya(re(e)),c=u.next();!c.done;c=u.next()){var d=c.value;if(te(d,d.localName)){var h=Va(d);if(void 0!==h)switch(d.localName){case"top":n=h;break;case"left":case"start":i=h;break;case"bottom":o=h;break;case"right":case"end":a=h;break;case"insideH":l=h;break;case"insideV":s=h}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return ma({},void 0!==n?{top:n}:{},void 0!==i?{left:i}:{},void 0!==o?{bottom:o}:{},void 0!==a?{right:a}:{},void 0!==l?{insideH:l}:{},void 0!==s?{insideV:s}:{})}function Fa(e,t){function r(e,t){void 0!==(e=void 0!==t?Ta(e,t):void 0)&&a.push(e)}var n,i,o=new Set(["top","left","right","bottom","insideH","insideV","start","end"]),a=[];if(r("top",e.top),r("left",e.left),r("bottom",e.bottom),r("right",e.right),r("insideH",e.insideH),r("insideV",e.insideV),void 0!==t)try{for(var l=ya(re(t)),s=l.next();!s.done;s=l.next()){var u=s.value;te(u,u.localName)&&o.has(u.localName)||a.push(u)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return b("tblBorders",{children:a})}function Da(e){var t,r,n,i,o=ka(e);try{for(var a=ya(re(e)),l=a.next();!l.done;l=a.next()){var s,u=l.value;te(u,u.localName)&&void 0!==(s=Va(u))&&("tl2br"===u.localName?n=s:"tr2bl"===u.localName&&(i=s))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return ma({},o,void 0!==n?{tl2br:n}:{},void 0!==i?{tr2bl:i}:{})}function Oa(e,t){function r(e,t){void 0!==(e=void 0!==t?Ta(e,t):void 0)&&a.push(e)}var n,i,o=new Set(["top","left","right","bottom","insideH","insideV","start","end","tl2br","tr2bl"]),a=[];if(r("top",e.top),r("left",e.left),r("bottom",e.bottom),r("right",e.right),r("insideH",e.insideH),r("insideV",e.insideV),r("tl2br",e.tl2br),r("tr2bl",e.tr2bl),void 0!==t)try{for(var l=ya(re(t)),s=l.next();!s.done;s=l.next()){var u=s.value;te(u,u.localName)&&o.has(u.localName)||a.push(u)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return b("tcBorders",{children:a})}function Na(e){var t,r,n,i,o,a;try{for(var l=ya(re(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if(te(u,u.localName)){var c=function(e){var t=ba(e,"type");if(void 0===t||"dxa"===t||"auto"===t||"nil"===t||"pct"===t){t=ga(ba(e,"w"));if(void 0!==t)return H(t)}}(u);if(void 0!==c)switch(u.localName){case"top":n=c;break;case"right":case"end":i=c;break;case"bottom":o=c;break;case"left":case"start":a=c}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return ma({},void 0!==n?{top:n}:{},void 0!==i?{right:i}:{},void 0!==o?{bottom:o}:{},void 0!==a?{left:a}:{})}function Aa(e,t){return b(e,{attributes:[y("w",String(U(t))),y("type","dxa")]})}function Ea(e,t,r){var n,i,o=new Set(["top","left","right","bottom","start","end"]),a=[];if(void 0!==t.top&&a.push(Aa("top",t.top)),void 0!==t.left&&a.push(Aa("left",t.left)),void 0!==t.bottom&&a.push(Aa("bottom",t.bottom)),void 0!==t.right&&a.push(Aa("right",t.right)),void 0!==r)try{for(var l=ya(re(r)),s=l.next();!s.done;s=l.next()){var u=s.value;te(u,u.localName)&&o.has(u.localName)||a.push(u)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return b(e,{children:a})}function La(e){var t=ba(e,"fill"),r=ba(e,"color"),e=ba(e,"val");return ma({},void 0!==t?{fill:t}:{},void 0!==r?{color:r}:{},void 0!==e?{pattern:e}:{})}function Ra(e){var t=[];return void 0!==e.pattern&&t.push(y("val",e.pattern)),void 0!==e.color&&t.push(y("color",e.color)),void 0!==e.fill&&(0<(e=e.fill).length&&"#"===e.charAt(0)&&(e=e.slice(1)),t.push(y("fill",e))),b("shd",{attributes:t})}function Ba(e){e=z(e);return"left"===e||"start"===e?"left":"right"===e||"end"===e?"right":"center"===e?"center":void 0}function _a(e){return b("jc",{attributes:[y("val",e)]})}var ja=32,Ma=64,za=128,Ua=256,Ha=512,Wa=1024;function Ga(e,t){e=ba(e,t);if(void 0!==e)return"1"===e||"true"===e||"on"===e||"0"!==e&&"false"!==e&&"off"!==e&&void 0}function qa(e){var t=Ga(e,"firstRow"),r=Ga(e,"lastRow"),n=Ga(e,"firstColumn"),i=Ga(e,"lastColumn"),o=Ga(e,"noHBand"),a=Ga(e,"noVBand"),e=function(e){if(void 0!==e&&0!==e.length){e=0===e.indexOf("0x")||0===e.indexOf("0X")?e.slice(2):e;if(/^[0-9a-fA-F]+$/.test(e))return parseInt(e,16)}}(ba(e,"val"));return void 0!==e&&(void 0===t&&(t=0!=(e&ja)),void 0===r&&(r=0!=(e&Ma)),void 0===n&&(n=0!=(e&za)),void 0===i&&(i=0!=(e&Ua)),void 0===o&&(o=0!=(e&Ha)),void 0===a)&&(a=0!=(e&Wa)),ma({},void 0!==t?{firstRow:t}:{},void 0!==r?{lastRow:r}:{},void 0!==n?{firstCol:n}:{},void 0!==i?{lastCol:i}:{},void 0!==o?{noHBand:o}:{},void 0!==a?{noVBand:a}:{})}function Xa(e,t,r){void 0!==r&&e.push(y(t,r?"1":"0"))}function Ya(e){var t=[];return Xa(t,"firstRow",e.firstRow),Xa(t,"lastRow",e.lastRow),Xa(t,"firstColumn",e.firstCol),Xa(t,"lastColumn",e.lastCol),Xa(t,"noHBand",e.noHBand),Xa(t,"noVBand",e.noVBand),b("tblLook",{attributes:t})}var Za=["firstRow","lastRow","firstColumn","lastColumn","oddVBand","evenVBand","oddHBand","evenHBand","firstRowLastColumn","firstRowFirstColumn","lastRowLastColumn","lastRowFirstColumn"],Ka={val:!0,firstRow:!0,lastRow:!0,firstColumn:!0,lastColumn:!0,oddVBand:!0,evenVBand:!0,oddHBand:!0,evenHBand:!0,firstRowFirstColumn:!0,firstRowLastColumn:!0,lastRowFirstColumn:!0,lastRowLastColumn:!0};function Ja(e){return{firstRow:void 0!==e&&!0===e.firstRow,lastRow:void 0!==e&&!0===e.lastRow,firstColumn:void 0!==e&&!0===e.firstColumn,lastColumn:void 0!==e&&!0===e.lastColumn,oddVBand:void 0!==e&&!0===e.oddVBand,evenVBand:void 0!==e&&!0===e.evenVBand,oddHBand:void 0!==e&&!0===e.oddHBand,evenHBand:void 0!==e&&!0===e.evenHBand,firstRowFirstColumn:void 0!==e&&!0===e.firstRowFirstColumn,firstRowLastColumn:void 0!==e&&!0===e.firstRowLastColumn,lastRowFirstColumn:void 0!==e&&!0===e.lastRowFirstColumn,lastRowLastColumn:void 0!==e&&!0===e.lastRowLastColumn}}function $a(e){for(var t=0;t<Za.length;t++)if(!0===e[Za[t]])return!0;return!1}function Qa(e){return $a(e)}function el(e){var t={firstRow:Ga(e,"firstRow"),lastRow:Ga(e,"lastRow"),firstColumn:Ga(e,"firstColumn"),lastColumn:Ga(e,"lastColumn"),oddVBand:Ga(e,"oddVBand"),evenVBand:Ga(e,"evenVBand"),oddHBand:Ga(e,"oddHBand"),evenHBand:Ga(e,"evenHBand"),firstRowFirstColumn:Ga(e,"firstRowFirstColumn"),firstRowLastColumn:Ga(e,"firstRowLastColumn"),lastRowFirstColumn:Ga(e,"lastRowFirstColumn"),lastRowLastColumn:Ga(e,"lastRowLastColumn")},r=function(e){if(void 0!==e&&12===e.length&&/^[01]{12}$/.test(e))return e}(ba(e,"val"));if(void 0!==r)for(var n=0;n<Za.length;n++)void 0===t[o=Za[n]]&&(t[o]="1"===r.charAt(n));for(var i={},n=0;n<Za.length;n++){var o,a=t[o=Za[n]];void 0!==a&&(i[o]=a)}return i}function tl(e,t){for(var r="",n=0;n<Za.length;n+=1)r+=e[Za[n]]?"1":"0";var i=[y("val",r),y("firstRow",e.firstRow?"1":"0"),y("lastRow",e.lastRow?"1":"0"),y("firstColumn",e.firstColumn?"1":"0"),y("lastColumn",e.lastColumn?"1":"0"),y("oddVBand",e.oddVBand?"1":"0"),y("evenVBand",e.evenVBand?"1":"0"),y("oddHBand",e.oddHBand?"1":"0"),y("evenHBand",e.evenHBand?"1":"0"),y("firstRowFirstColumn",e.firstRowFirstColumn?"1":"0"),y("firstRowLastColumn",e.firstRowLastColumn?"1":"0"),y("lastRowFirstColumn",e.lastRowFirstColumn?"1":"0"),y("lastRowLastColumn",e.lastRowLastColumn?"1":"0")];if(void 0!==t)for(n=0;n<t.attributes.length;n+=1){var o=t.attributes[n];!0!==Ka[o.localName]&&i.push(o)}return b("cnfStyle",{attributes:i,namespaceDeclarations:void 0!==t?t.namespaceDeclarations:void 0,children:void 0!==t?re(t):void 0})}function rl(e){for(var t=e,r=0;r<Za.length;r++)if(void 0!==t[Za[r]])return!1;return!0}function nl(e){return z(e)}function il(e,t){return b(e,{attributes:[y("val",t)]})}function ol(e,t,r){return Pa(null!=(e=e)?e:b("tblPr"),"tblPr",t,r)}function al(e){e=wa(e,"jc");return void 0!==e?Ba(e):void 0}function ll(e,t){return ol(e,"jc",void 0!==t?_a(t):void 0)}function sl(e){e=wa(e,"tblInd");if(void 0!==e){e=ga(ba(e,"w"));if(void 0!==e)return H(e)}}function ul(e,t){return ol(e,"tblInd",void 0===t?void 0:b("tblInd",{attributes:[y("w",String(U(t))),y("type","dxa")]}))}function cl(e){e=wa(e,"tblW");return void 0!==e?Ca(e):void 0}function dl(e,t){return ol(e,"tblW",void 0!==t?Ia("tblW",t):void 0)}function hl(e){e=wa(e,"tblBorders");if(void 0!==e){e=ka(e);if(void 0!==e.top||void 0!==e.left||void 0!==e.bottom||void 0!==e.right||void 0!==e.insideH||void 0!==e.insideV)return e}}function pl(e,t){var r=wa(e,"tblBorders");return ol(e,"tblBorders",void 0!==t?Fa(t,r):void 0)}function fl(e){e=wa(e,"tblCellMar");if(void 0!==e){e=Na(e);if(void 0!==e.top||void 0!==e.right||void 0!==e.bottom||void 0!==e.left)return e}}function vl(e,t){var r=wa(e,"tblCellMar");return ol(e,"tblCellMar",void 0!==t?Ea("tblCellMar",t,r):void 0)}function ml(e){e=wa(e,"tblCellSpacing");if(void 0!==e){e=ga(ba(e,"w"));if(void 0!==e)return H(e)}}function yl(e,t){return ol(e,"tblCellSpacing",void 0===t?void 0:b("tblCellSpacing",{attributes:[y("w",String(U(t))),y("type","dxa")]}))}function gl(e){e=wa(e,"shd");if(void 0!==e){e=La(e);if(void 0!==e.fill||void 0!==e.color||void 0!==e.pattern)return e}}function bl(e,t){return ol(e,"shd",void 0!==t?Ra(t):void 0)}function wl(e){e=wa(e,"tblLook");if(void 0!==e){e=qa(e);if(void 0!==e.firstRow||void 0!==e.lastRow||void 0!==e.firstCol||void 0!==e.lastCol||void 0!==e.noHBand||void 0!==e.noVBand)return e}}function Pl(e,t){return ol(e,"tblLook",void 0!==t?Ya(t):void 0)}function Sl(e){e=wa(e,"tblCaption");return void 0!==e?nl(e):void 0}function xl(e,t){return ol(e,"tblCaption",void 0!==t?il("tblCaption",t):void 0)}function Cl(e){e=wa(e,"tblDescription");return void 0!==e?nl(e):void 0}function Il(e,t){return ol(e,"tblDescription",void 0!==t?il("tblDescription",t):void 0)}function Vl(e){e=wa(e,"tblStyle");return void 0!==e?nl(e):void 0}function Tl(e,t){return ol(e,"tblStyle",void 0!==t?il("tblStyle",t):void 0)}function kl(e){e=wa(e,"tblLayout");return void 0!==e&&"fixed"===ba(e,"type")?"fixed":"autoFit"}function Fl(e,t){return ol(e,"tblLayout","autoFit"===t?void 0:b("tblLayout",{attributes:[y("type","fixed")]}))}function Dl(e){e=wa(e,"tblStyleRowBandSize");if(void 0!==e)return ga(z(e))}function Ol(e,t){return ol(e,"tblStyleRowBandSize",void 0!==t?il("tblStyleRowBandSize",String(t)):void 0)}function Nl(e){e=wa(e,"tblStyleColBandSize");if(void 0!==e)return ga(z(e))}function Al(e,t){return ol(e,"tblStyleColBandSize",void 0!==t?il("tblStyleColBandSize",String(t)):void 0)}var El=function(){return(El=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Ll=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Rl={Left:"left",Center:"center",Right:"right",Decimal:"decimal",Bar:"bar",Clear:"clear",Num:"num",Start:"start",End:"end"},Bl={NoLeader:"none",Dot:"dot",Heavy:"heavy",Hyphen:"hyphen",MiddleDot:"middleDot",Single:"single"},_l=(Object.defineProperty(jl.prototype,"position",{get:function(){return this.positionValue},set:function(e){this.positionValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(jl.prototype,"justification",{get:function(){return this.justificationValue},set:function(e){this.justificationValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(jl.prototype,"alignment",{get:function(){return this.justificationValue},set:function(e){this.justificationValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(jl.prototype,"leader",{get:function(){return this.leaderValue},set:function(e){this.leaderValue=e},enumerable:!0,configurable:!0}),jl.prototype.toBagStop=function(){var e={position:this.positionValue,alignment:this.justificationValue};return this.leaderValue!==Bl.NoLeader?{position:this.positionValue,alignment:this.justificationValue,leader:this.leaderValue}:e},jl.fromTabStop=function(e){return new jl(e.position,e.alignment,void 0!==e.leader?e.leader:Bl.NoLeader)},jl);function jl(e,t,r){void 0===t&&(t=Rl.Left),void 0===r&&(r=Bl.NoLeader),this.positionValue=e=void 0===e?0:e,this.justificationValue=t,this.leaderValue=r}Object.defineProperty(zl.prototype,"count",{get:function(){var e=this.owner.tabStops;return void 0!==e?e.length:0},enumerable:!0,configurable:!0}),zl.prototype.item=function(e){var t=this.owner.tabStops;if(!(void 0===t||e<0||e>=t.length))return _l.fromTabStop(t[e])},zl.prototype.add=function(e,t,r){return this.addTab(e,t,r)},zl.prototype.addTab=function(e,t,r){e=new _l(void 0!==e?e:0,void 0!==t?t:Rl.Left,void 0!==r?r:Bl.NoLeader),t=this.owner.tabStops,r=void 0!==t?t.slice():[];return r.push(e.toBagStop()),this.owner.tabStops=r,e},zl.prototype.removeAt=function(e){var t=this.owner.tabStops;if(void 0===t||e<0||e>=t.length)throw new RangeError("TabCollection.removeAt: index out of range");1===t.length?this.owner.tabStops=void 0:((t=t.slice()).splice(e,1),this.owner.tabStops=t)},zl.prototype.removeByPosition=function(e){var t=this.owner.tabStops;if(void 0!==t){for(var r=-1,n=0;n<t.length;n++)if(t[n].position===e){r=n;break}r<0||this.removeAt(r)}},zl.prototype.clear=function(){this.owner.tabStops=void 0};var Ml=zl;function zl(e){this.owner=e}Hl.prototype.read=function(){var e=this.owner.readBordersBag();return void 0!==e?e[this.edge]:void 0},Hl.prototype.write=function(e){var t=this.owner.readBordersBag(),t=void 0!==t?El({},t):{},e=(void 0===e?delete t[this.edge]:t[this.edge]=e,void 0===t.top&&void 0===t.left&&void 0===t.bottom&&void 0===t.right&&void 0===t.between&&void 0===t.bar);this.owner.writeBordersBag(e?void 0:t)},Object.defineProperty(Hl.prototype,"borderType",{get:function(){var e=this.read();return void 0!==e?e.style:"none"},set:function(e){var t=this.read();this.write({style:e,color:void 0!==t?t.color:void 0,size:void 0!==t?t.size:void 0,space:void 0!==t?t.space:void 0})},enumerable:!0,configurable:!0}),Object.defineProperty(Hl.prototype,"color",{get:function(){var e=this.read();return void 0!==e&&void 0!==e.color?e.color:"auto"},set:function(e){var t=this.read();this.write({style:void 0!==t?t.style:"single",color:"number"!=typeof(e=e)?e:0<(e=Fo(e)).length?e:"auto",size:void 0!==t?t.size:void 0,space:void 0!==t?t.space:void 0})},enumerable:!0,configurable:!0}),Object.defineProperty(Hl.prototype,"lineWidth",{get:function(){var e=this.read();return void 0!==e&&void 0!==e.size?e.size/8:0},set:function(e){var t=this.read();this.write({style:void 0!==t?t.style:"single",color:void 0!==t?t.color:void 0,size:Math.round(8*e),space:void 0!==t?t.space:void 0})},enumerable:!0,configurable:!0}),Object.defineProperty(Hl.prototype,"space",{get:function(){var e=this.read();return void 0!==e&&void 0!==e.space?e.space:0},set:function(e){var t=this.read();this.write({style:void 0!==t?t.style:"single",color:void 0!==t?t.color:void 0,size:void 0!==t?t.size:void 0,space:e})},enumerable:!0,configurable:!0});var Ul=Hl;function Hl(e,t){this.owner=e,this.edge=t}Object.defineProperty(Gl.prototype,"top",{get:function(){return void 0===this.topFace&&(this.topFace=new Ul(this.owner,"top")),this.topFace},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"left",{get:function(){return void 0===this.leftFace&&(this.leftFace=new Ul(this.owner,"left")),this.leftFace},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"bottom",{get:function(){return void 0===this.bottomFace&&(this.bottomFace=new Ul(this.owner,"bottom")),this.bottomFace},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"right",{get:function(){return void 0===this.rightFace&&(this.rightFace=new Ul(this.owner,"right")),this.rightFace},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"between",{get:function(){return void 0===this.betweenFace&&(this.betweenFace=new Ul(this.owner,"between")),this.betweenFace},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"bar",{get:function(){return void 0===this.barFace&&(this.barFace=new Ul(this.owner,"bar")),this.barFace},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"borderType",{set:function(e){this.top.borderType=e,this.left.borderType=e,this.bottom.borderType=e,this.right.borderType=e},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"color",{set:function(e){this.top.color=e,this.left.color=e,this.bottom.color=e,this.right.color=e},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"lineWidth",{set:function(e){this.top.lineWidth=e,this.left.lineWidth=e,this.bottom.lineWidth=e,this.right.lineWidth=e},enumerable:!0,configurable:!0}),Object.defineProperty(Gl.prototype,"space",{set:function(e){this.top.space=e,this.left.space=e,this.bottom.space=e,this.right.space=e},enumerable:!0,configurable:!0});var Wl=Gl;function Gl(e){this.owner=e}function ql(e){var t;return"number"==typeof e?0<(t=Fo(e)).length?t:"auto":e}var Xl=new Set(["lr","rl","tb","tbV","rlV","lrV","btLr","lrTb","lrTbV","tbLrV","tbRl","tbRlV"]),Yl=new Set(["auto","top","center","baseline","bottom"]),Zl=new Set(["clear","solid","horzStripe","vertStripe","reverseDiagStripe","diagStripe","horzCross","diagCross","thinHorzStripe","thinVertStripe","thinReverseDiagStripe","thinDiagStripe","thinHorzCross","thinDiagCross","pct5","pct10","pct12","pct15","pct20","pct25","pct30","pct35","pct37","pct40","pct45","pct50","pct55","pct60","pct62","pct65","pct70","pct75","pct80","pct85","pct87","pct90","pct95"]),Kl=new Set(ua(M.BorderStyle));function Jl(){return{pPrExtra:[],jcRaw:void 0,keepNextValue:void 0,keepLinesValue:void 0,pageBreakBeforeValue:void 0,pageBreakAfterValue:void 0,widowControlValue:void 0,bidiValue:void 0,outlineLevelValue:void 0,indentsValue:void 0,spacingValue:void 0,tabStopsValue:void 0,bordersValue:void 0,shadingValue:void 0,suppressAutoHyphensValue:void 0,suppressLineNumbersValue:void 0,contextualSpacingValue:void 0,mirrorIndentsValue:void 0,adjustRightIndentValue:void 0,textDirectionValue:void 0,textDirectionRaw:void 0,baselineAlignmentValue:void 0,baselineAlignmentRaw:void 0,snapToGridValue:void 0,wordWrapValue:void 0,overflowPunctuationValue:void 0,autoSpaceDEValue:void 0,autoSpaceDNValue:void 0,kinsokuValue:void 0,topLinePunctuationValue:void 0}}function $l(e,t){if(t<-1584||1584<t)throw new RangeError(e+" must be in [-1584, 1584] points, got "+String(t))}function Ql(e,t){if(t<0||1584<t)throw new RangeError(e+" must be in [0, 1584] points, got "+String(t))}function es(e,t){if(!/^[0-9A-Fa-f]{6}$/.test(t)&&"auto"!==t)throw new J("content/invalid-shading-pattern",e+' must be a six-digit hex color (RRGGBB) or "auto", got "'+t+'"')}function ts(e){return void 0===e?{}:e}function rs(e){return void 0===e.left&&void 0===e.right&&void 0===e.firstLine&&void 0===e.hanging&&void 0===e.start&&void 0===e.end&&void 0===e.leftChars&&void 0===e.rightChars&&void 0===e.firstLineChars&&void 0===e.hangingChars}function ns(e){return void 0===e?{}:e}function is(e){return void 0===e.before&&void 0===e.after&&void 0===e.line&&void 0===e.lineRule&&void 0===e.beforeAutospacing&&void 0===e.afterAutospacing&&void 0===e.beforeLines&&void 0===e.afterLines}var os="",as="",ls=!1,ss=!1,us=!1,cs=!1,ds=!1,hs=!0,ps=!0,fs=!0,vs=!1,ms=!1,ys=(i.prototype.mutate=function(){this.host.notifyParagraphFormatMutation()},i.prototype.effective=function(e){var t=this.host.resolveEffectiveParagraphValue,t=void 0!==t?t.call(this.host,e):void 0;return void 0!==t?t:void 0},i.prototype.effectiveOrDefault=function(e,t){e=this.effective(e);return void 0!==e?e:t},Object.defineProperty(i.prototype,"horizontalAlignment",{get:function(){if(void 0!==this.jcRaw){var e=ha(this.jcRaw);if(void 0!==e)return e}return this.effective("horizontalAlignment")},set:function(e){void 0===e?(this.jcRaw=void 0,this.mutate()):(void 0===this.jcRaw?void 0:ha(this.jcRaw))!==e&&(this.jcRaw=pa(e),this.mutate())},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"keepFollow",{get:function(){return void 0!==this.keepNextValue?this.keepNextValue:this.effective("keepFollow")},set:function(e){this.keepNextValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"keepLines",{get:function(){return void 0!==this.keepLinesValue?this.keepLinesValue:this.effective("keepLines")},set:function(e){this.keepLinesValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pageBreakBefore",{get:function(){return void 0!==this.pageBreakBeforeValue?this.pageBreakBeforeValue:this.effective("pageBreakBefore")},set:function(e){this.pageBreakBeforeValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pageBreakAfter",{get:function(){return void 0!==this.pageBreakAfterValue?this.pageBreakAfterValue:this.effective("pageBreakAfter")},set:function(e){this.pageBreakAfterValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"widowControl",{get:function(){return void 0!==this.widowControlValue?this.widowControlValue:this.effective("widowControl")},set:function(e){this.widowControlValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bidi",{get:function(){return void 0!==this.bidiValue?this.bidiValue:this.effective("bidi")},set:function(e){this.bidiValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"outlineLevel",{get:function(){return void 0!==this.outlineLevelValue?this.outlineLevelValue:this.effective("outlineLevel")},set:function(e){if(void 0===e)this.outlineLevelValue=void 0;else{var t=e;if(!isFinite(t)||Math.floor(t)!==t||t<0||9<t)throw new RangeError("outlineLevel must be an integer 0–9, got "+String(t));this.outlineLevelValue=e}this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"leftIndent",{get:function(){if(void 0!==this.indentsValue){if(void 0!==this.indentsValue.left)return H(this.indentsValue.left);if(void 0!==this.indentsValue.start)return H(this.indentsValue.start)}return this.effective("leftIndent")},set:function(e){var t=ts(this.indentsValue);void 0===e?t.left=void 0:($l("leftIndent",e),t.left=Math.round(20*e),t.start=void 0,t.leftChars=void 0),this.indentsValue=rs(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rightIndent",{get:function(){if(void 0!==this.indentsValue){if(void 0!==this.indentsValue.right)return H(this.indentsValue.right);if(void 0!==this.indentsValue.end)return H(this.indentsValue.end)}return this.effective("rightIndent")},set:function(e){var t=ts(this.indentsValue);void 0===e?t.right=void 0:($l("rightIndent",e),t.right=Math.round(20*e),t.end=void 0,t.rightChars=void 0),this.indentsValue=rs(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"firstLineIndent",{get:function(){if(void 0!==this.indentsValue){if(void 0!==this.indentsValue.firstLine)return H(this.indentsValue.firstLine);if(void 0!==this.indentsValue.hanging)return-H(this.indentsValue.hanging)}return this.effective("firstLineIndent")},set:function(e){var t=ts(this.indentsValue);void 0===e?(t.firstLine=void 0,t.hanging=void 0):($l("firstLineIndent",e),e<0?(t.firstLine=void 0,t.hanging=Math.round(20*-e)):(t.firstLine=Math.round(20*e),t.hanging=void 0),t.firstLineChars=void 0),this.indentsValue=rs(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"beforeSpacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.before?H(this.spacingValue.before):this.effective("beforeSpacing")},set:function(e){var t=ns(this.spacingValue);void 0===e?t.before=void 0:(Ql("beforeSpacing",e),t.before=Math.round(20*e),!0===t.beforeAutospacing&&(t.beforeAutospacing=void 0),t.beforeLines=void 0),this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"afterSpacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.after?H(this.spacingValue.after):this.effective("afterSpacing")},set:function(e){var t=ns(this.spacingValue);void 0===e?t.after=void 0:(Ql("afterSpacing",e),t.after=Math.round(20*e),!0===t.afterAutospacing&&(t.afterAutospacing=void 0),t.afterLines=void 0),this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"beforeAutospacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.beforeAutospacing?this.spacingValue.beforeAutospacing:this.effective("beforeAutospacing")},set:function(e){var t=ns(this.spacingValue);t.beforeAutospacing=e,this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"afterAutospacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.afterAutospacing?this.spacingValue.afterAutospacing:this.effective("afterAutospacing")},set:function(e){var t=ns(this.spacingValue);t.afterAutospacing=e,this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"beforeLines",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.beforeLines?this.spacingValue.beforeLines:this.effective("beforeLines")},set:function(e){var t=ns(this.spacingValue);t.beforeLines=e,this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"afterLines",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.afterLines?this.spacingValue.afterLines:this.effective("afterLines")},set:function(e){var t=ns(this.spacingValue);t.afterLines=e,this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"lineSpacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.line&&"auto"!==this.spacingValue.lineRule?H(this.spacingValue.line):this.effective("lineSpacing")},set:function(e){var t=ns(this.spacingValue);if(void 0===e)t.line=void 0,"exact"!==t.lineRule&&"atLeast"!==t.lineRule||(t.lineRule=void 0);else{var r=e;if(r<.7||1584<r)throw new RangeError("lineSpacing must be in [0.7, 1584] points, got "+String(r));t.line=Math.round(20*e),t.lineRule="atLeast"===t.lineRule?"atLeast":"exact"}this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"lineSpacingRule",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.lineRule?this.spacingValue.lineRule:this.effective("lineSpacingRule")},set:function(e){var t=ns(this.spacingValue);t.lineRule=e,this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"lineSpacingCount",{get:function(){return void 0!==this.spacingValue&&"auto"===this.spacingValue.lineRule&&void 0!==this.spacingValue.line?this.spacingValue.line/240:this.effective("lineSpacingCount")},set:function(e){var t=ns(this.spacingValue);if(void 0===e)"auto"===t.lineRule&&(t.line=void 0,t.lineRule=void 0);else{if(e<0||100<e)throw new RangeError("lineSpacingCount must be in [0, 100], got "+String(e));t.line=Math.round(240*e),t.lineRule="auto"}this.spacingValue=is(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tabStops",{get:function(){return void 0!==this.tabStopsValue?this.tabStopsValue:this.effective("tabStops")},set:function(e){this.tabStopsValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tabs",{get:function(){return void 0===this.tabsCollection&&(this.tabsCollection=new Ml(this)),this.tabsCollection},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"borders",{get:function(){return void 0===this.bordersFace&&(this.bordersFace=new Wl(this)),this.bordersFace},enumerable:!0,configurable:!0}),i.prototype.setBorders=function(e){this.bordersValue=e,this.mutate()},i.prototype.readBordersBag=function(){return void 0!==this.bordersValue?this.bordersValue:this.effective("borders")},i.prototype.writeBordersBag=function(e){this.bordersValue=e,this.mutate()},Object.defineProperty(i.prototype,"backColor",{get:function(){return void 0!==this.shadingValue&&void 0!==this.shadingValue.fill?this.shadingValue.fill:this.effectiveOrDefault("backColor",os)},set:function(e){var t=void 0===this.shadingValue?{}:El({},this.shadingValue);void 0===e?t.fill=void 0:(es("backColor",e=ql(e)),t.fill=e),this.shadingValue=gs(t)?t:void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"foreColor",{get:function(){return void 0!==this.shadingValue&&void 0!==this.shadingValue.color?this.shadingValue.color:this.effectiveOrDefault("foreColor",as)},set:function(e){var t=void 0===this.shadingValue?{}:El({},this.shadingValue);void 0===e?t.color=void 0:(es("foreColor",e=ql(e)),t.color=e),this.shadingValue=gs(t)?t:void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"shadingPattern",{get:function(){return void 0!==this.shadingValue&&void 0!==this.shadingValue.pattern?this.shadingValue.pattern:this.effective("shadingPattern")},set:function(e){var t=void 0===this.shadingValue?{}:El({},this.shadingValue);if(void 0===e)t.pattern=void 0;else{if(!Zl.has(e))throw new J("content/invalid-shading-pattern",'shadingPattern must be an ST_Shd pattern token, got "'+e+'"');t.pattern=e}this.shadingValue=gs(t)?t:void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"suppressAutoHyphens",{get:function(){return void 0!==this.suppressAutoHyphensValue?this.suppressAutoHyphensValue:this.effectiveOrDefault("suppressAutoHyphens",ls)},set:function(e){this.suppressAutoHyphensValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"suppressLineNumbers",{get:function(){return void 0!==this.suppressLineNumbersValue?this.suppressLineNumbersValue:this.effectiveOrDefault("suppressLineNumbers",ss)},set:function(e){this.suppressLineNumbersValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"contextualSpacing",{get:function(){return void 0!==this.contextualSpacingValue?this.contextualSpacingValue:this.effectiveOrDefault("contextualSpacing",us)},set:function(e){this.contextualSpacingValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mirrorIndents",{get:function(){return void 0!==this.mirrorIndentsValue?this.mirrorIndentsValue:this.effectiveOrDefault("mirrorIndents",cs)},set:function(e){this.mirrorIndentsValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"adjustRightIndent",{get:function(){return void 0!==this.adjustRightIndentValue?this.adjustRightIndentValue:this.effectiveOrDefault("adjustRightIndent",ds)},set:function(e){this.adjustRightIndentValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textDirection",{get:function(){return void 0!==this.textDirectionValue?this.textDirectionValue:this.effective("textDirection")},set:function(e){if(void 0===e)this.textDirectionValue=void 0;else{if(!Xl.has(e))throw new J("content/invalid-text-direction",'textDirection must be an ST_TextDirection token, got "'+e+'"');this.textDirectionValue=e}this.textDirectionRaw=void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"baselineAlignment",{get:function(){return void 0!==this.baselineAlignmentValue?this.baselineAlignmentValue:this.effective("baselineAlignment")},set:function(e){if(void 0===e)this.baselineAlignmentValue=void 0;else{if(!Yl.has(e))throw new J("content/invalid-baseline-alignment",'baselineAlignment must be an ST_TextAlignment token, got "'+e+'"');this.baselineAlignmentValue=e}this.baselineAlignmentRaw=void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"snapToGrid",{get:function(){return void 0!==this.snapToGridValue?this.snapToGridValue:this.effectiveOrDefault("snapToGrid",hs)},set:function(e){this.snapToGridValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"wordWrap",{get:function(){return void 0!==this.wordWrapValue?this.wordWrapValue:this.effectiveOrDefault("wordWrap",ps)},set:function(e){this.wordWrapValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"overflowPunctuation",{get:function(){return void 0!==this.overflowPunctuationValue?this.overflowPunctuationValue:this.effectiveOrDefault("overflowPunctuation",fs)},set:function(e){this.overflowPunctuationValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"autoSpaceDE",{get:function(){return void 0!==this.autoSpaceDEValue?this.autoSpaceDEValue:this.effectiveOrDefault("autoSpaceDE",vs)},set:function(e){this.autoSpaceDEValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"autoSpaceDN",{get:function(){return void 0!==this.autoSpaceDNValue?this.autoSpaceDNValue:this.effectiveOrDefault("autoSpaceDN",ms)},set:function(e){this.autoSpaceDNValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"kinsoku",{get:function(){return this.kinsokuValue},set:function(e){this.kinsokuValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"topLinePunctuation",{get:function(){return this.topLinePunctuationValue},set:function(e){this.topLinePunctuationValue=e,this.mutate()},enumerable:!0,configurable:!0}),i.prototype.textDirectionRawValue=function(){return this.textDirectionRaw},i.prototype.baselineAlignmentRawValue=function(){return this.baselineAlignmentRaw},i.prototype.assign=function(e){void 0!==e.horizontalAlignment&&(this.horizontalAlignment=e.horizontalAlignment),void 0!==e.keepFollow&&(this.keepFollow=e.keepFollow),void 0!==e.keepLines&&(this.keepLines=e.keepLines),void 0!==e.pageBreakBefore&&(this.pageBreakBefore=e.pageBreakBefore),void 0!==e.pageBreakAfter&&(this.pageBreakAfter=e.pageBreakAfter),void 0!==e.widowControl&&(this.widowControl=e.widowControl),void 0!==e.bidi&&(this.bidi=e.bidi),void 0!==e.outlineLevel&&(this.outlineLevel=e.outlineLevel),void 0!==e.leftIndent&&(this.leftIndent=e.leftIndent),void 0!==e.rightIndent&&(this.rightIndent=e.rightIndent),void 0!==e.firstLineIndent&&(this.firstLineIndent=e.firstLineIndent),void 0!==e.beforeSpacing&&(this.beforeSpacing=e.beforeSpacing),void 0!==e.afterSpacing&&(this.afterSpacing=e.afterSpacing),void 0!==e.beforeAutospacing&&(this.beforeAutospacing=e.beforeAutospacing),void 0!==e.afterAutospacing&&(this.afterAutospacing=e.afterAutospacing),void 0!==e.beforeLines&&(this.beforeLines=e.beforeLines),void 0!==e.afterLines&&(this.afterLines=e.afterLines),void 0!==e.lineSpacing&&(this.lineSpacing=e.lineSpacing),void 0!==e.lineSpacingRule&&(this.lineSpacingRule=e.lineSpacingRule),void 0!==e.lineSpacingCount&&(this.lineSpacingCount=e.lineSpacingCount),void 0!==e.tabStops&&(this.tabStops=e.tabStops),void 0!==e.borders&&this.setBorders(e.borders),void 0!==e.backColor&&(this.backColor=e.backColor),void 0!==e.foreColor&&(this.foreColor=e.foreColor),void 0!==e.shadingPattern&&(this.shadingPattern=e.shadingPattern),void 0!==e.suppressAutoHyphens&&(this.suppressAutoHyphens=e.suppressAutoHyphens),void 0!==e.suppressLineNumbers&&(this.suppressLineNumbers=e.suppressLineNumbers),void 0!==e.contextualSpacing&&(this.contextualSpacing=e.contextualSpacing),void 0!==e.mirrorIndents&&(this.mirrorIndents=e.mirrorIndents),void 0!==e.adjustRightIndent&&(this.adjustRightIndent=e.adjustRightIndent),void 0!==e.textDirection&&(this.textDirection=e.textDirection),void 0!==e.baselineAlignment&&(this.baselineAlignment=e.baselineAlignment),void 0!==e.snapToGrid&&(this.snapToGrid=e.snapToGrid),void 0!==e.wordWrap&&(this.wordWrap=e.wordWrap),void 0!==e.overflowPunctuation&&(this.overflowPunctuation=e.overflowPunctuation),void 0!==e.autoSpaceDE&&(this.autoSpaceDE=e.autoSpaceDE),void 0!==e.autoSpaceDN&&(this.autoSpaceDN=e.autoSpaceDN)},i.prototype.clear=function(){this.jcRaw=void 0,this.keepNextValue=void 0,this.keepLinesValue=void 0,this.pageBreakBeforeValue=void 0,this.pageBreakAfterValue=void 0,this.widowControlValue=void 0,this.bidiValue=void 0,this.outlineLevelValue=void 0,this.indentsValue=void 0,this.spacingValue=void 0,this.tabStopsValue=void 0,this.bordersValue=void 0,this.shadingValue=void 0,this.suppressAutoHyphensValue=void 0,this.suppressLineNumbersValue=void 0,this.contextualSpacingValue=void 0,this.mirrorIndentsValue=void 0,this.adjustRightIndentValue=void 0,this.textDirectionValue=void 0,this.textDirectionRaw=void 0,this.baselineAlignmentValue=void 0,this.baselineAlignmentRaw=void 0,this.snapToGridValue=void 0,this.wordWrapValue=void 0,this.overflowPunctuationValue=void 0,this.autoSpaceDEValue=void 0,this.autoSpaceDNValue=void 0,this.kinsokuValue=void 0,this.topLinePunctuationValue=void 0,this.mutate()},i.prototype.hydrate=function(e){this.pPrExtra=e.pPrExtra,this.jcRaw=e.jcRaw,this.keepNextValue=e.keepNextValue,this.keepLinesValue=e.keepLinesValue,this.pageBreakAfterValue=e.pageBreakAfterValue,this.pageBreakBeforeValue=e.pageBreakBeforeValue,this.widowControlValue=e.widowControlValue,this.bidiValue=e.bidiValue,this.outlineLevelValue=e.outlineLevelValue,this.indentsValue=e.indentsValue,this.spacingValue=e.spacingValue,this.tabStopsValue=e.tabStopsValue,this.bordersValue=e.bordersValue,this.shadingValue=e.shadingValue,this.suppressAutoHyphensValue=e.suppressAutoHyphensValue,this.suppressLineNumbersValue=e.suppressLineNumbersValue,this.contextualSpacingValue=e.contextualSpacingValue,this.mirrorIndentsValue=e.mirrorIndentsValue,this.adjustRightIndentValue=e.adjustRightIndentValue,this.textDirectionValue=e.textDirectionValue,this.textDirectionRaw=e.textDirectionRaw,this.baselineAlignmentValue=e.baselineAlignmentValue,this.baselineAlignmentRaw=e.baselineAlignmentRaw,this.snapToGridValue=e.snapToGridValue,this.wordWrapValue=e.wordWrapValue,this.overflowPunctuationValue=e.overflowPunctuationValue,this.autoSpaceDEValue=e.autoSpaceDEValue,this.autoSpaceDNValue=e.autoSpaceDNValue,this.kinsokuValue=e.kinsokuValue,this.topLinePunctuationValue=e.topLinePunctuationValue},i.prototype.snapshot=function(){return{pPrExtra:this.pPrExtra,jcRaw:this.jcRaw,keepNextValue:this.keepNextValue,keepLinesValue:this.keepLinesValue,pageBreakAfterValue:this.pageBreakAfterValue,pageBreakBeforeValue:this.pageBreakBeforeValue,widowControlValue:this.widowControlValue,bidiValue:this.bidiValue,outlineLevelValue:this.outlineLevelValue,indentsValue:this.indentsValue,spacingValue:this.spacingValue,tabStopsValue:this.tabStopsValue,bordersValue:this.bordersValue,shadingValue:this.shadingValue,suppressAutoHyphensValue:this.suppressAutoHyphensValue,suppressLineNumbersValue:this.suppressLineNumbersValue,contextualSpacingValue:this.contextualSpacingValue,mirrorIndentsValue:this.mirrorIndentsValue,adjustRightIndentValue:this.adjustRightIndentValue,textDirectionValue:this.textDirectionValue,textDirectionRaw:this.textDirectionRaw,baselineAlignmentValue:this.baselineAlignmentValue,baselineAlignmentRaw:this.baselineAlignmentRaw,snapToGridValue:this.snapToGridValue,wordWrapValue:this.wordWrapValue,overflowPunctuationValue:this.overflowPunctuationValue,autoSpaceDEValue:this.autoSpaceDEValue,autoSpaceDNValue:this.autoSpaceDNValue,kinsokuValue:this.kinsokuValue,topLinePunctuationValue:this.topLinePunctuationValue}},i.prototype.extraChildren=function(){return this.pPrExtra},i.prototype.readCnfStyle=function(){for(var e=0;e<this.pPrExtra.length;e+=1){var t=this.pPrExtra[e];if(te(t,"cnfStyle"))return rl(t=el(t))?void 0:t}},i.prototype.writeCnfStyle=function(e){try{this.mutate()}catch(e){}for(var t,r=-1,n=0;n<this.pPrExtra.length;n+=1){var i=this.pPrExtra[n];if(te(i,"cnfStyle")){t=i,r=n;break}}void 0===e?0<=r&&this.pPrExtra.splice(r,1):(e=tl(Ja(e),t),0<=r?this.pPrExtra[r]=e:this.pPrExtra.push(e))},i.prototype.buildPPrChildren=function(e){return Bs(this.snapshot(),e)},i);function i(e){this.pPrExtra=[],this.host=e}function gs(e){return void 0!==e.fill||void 0!==e.color||void 0!==e.pattern}var bs=new Set(["keepNext","keepLines","pageBreakBefore","widowControl","bidi","jc","outlineLvl","ind","spacing","tabs","pBdr","shd","suppressLineNumbers","suppressAutoHyphens","contextualSpacing","textDirection","textAlignment","adjustRightInd","overflowPunct","autoSpaceDE","autoSpaceDN","snapToGrid","wordWrap","mirrorIndents","kinsoku","topLinePunct"]),ws=new Set(["framePr","suppressOverlap","textboxTightWrap","divId","cnfStyle","pPrChange"]),Ps=new Set(["left","center","right","decimal","bar","clear","num","start","end"]),Ss=new Set(["none","dot","heavy","hyphen","middleDot","underscore"]);function xs(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function Cs(e,t){e=e.attributes.find(function(e){return e.localName===t&&("w"===e.prefix||""===e.prefix)});return null==e?void 0:e.value}function Is(e,t){return xs(Cs(e,t))}function Vs(e,t){e=xs(Cs(e,t));if(!(void 0===e||e<0))return e}function Ts(e,t){e=Cs(e,t);return"1"===e||"true"===e||"0"!==e&&"false"!==e&&void 0}function ks(e){var t={},r=Is(e,"left"),n=Is(e,"right"),i=Vs(e,"firstLine"),o=Vs(e,"hanging"),a=Is(e,"start"),l=Is(e,"end"),s=Vs(e,"leftChars"),u=Vs(e,"rightChars"),c=Vs(e,"firstLineChars"),e=Vs(e,"hangingChars");if(void 0!==r&&(t.left=r),void 0!==n&&(t.right=n),void 0!==i&&(t.firstLine=i),void 0!==o&&(t.hanging=o),void 0!==a&&(t.start=a),void 0!==l&&(t.end=l),void 0!==s&&(t.leftChars=s),void 0!==u&&(t.rightChars=u),void 0!==c&&(t.firstLineChars=c),void 0!==e&&(t.hangingChars=e),!rs(t))return t}function Fs(e){var t={},r=Vs(e,"before"),n=Vs(e,"after"),i=Vs(e,"line"),o=Cs(e,"lineRule"),o="auto"===o||"exact"===o||"atLeast"===o?o:void 0,a=Ts(e,"beforeAutospacing"),l=Ts(e,"afterAutospacing"),s=Is(e,"beforeLines"),e=Is(e,"afterLines");if(void 0!==r&&(t.before=r),void 0!==n&&(t.after=n),void 0!==i&&(t.line=i),void 0!==o&&(t.lineRule=o),void 0!==a&&(t.beforeAutospacing=a),void 0!==l&&(t.afterAutospacing=l),void 0!==s&&(t.beforeLines=s),void 0!==e&&(t.afterLines=e),!is(t))return t}function Ds(e){var t,r,n,i,o,a,l,s;try{for(var u=Ll(re(e)),c=u.next();!c.done;c=u.next()){var d,h=c.value;te(h,h.localName)&&void 0!==(d=function(e){var t,r,n=Cs(e,"val");if(void 0!==n)return Kl.has(n),n=n,t=Cs(e,"color"),r=void 0!==(r=Cs(e,"sz"))?xs(r):void 0,e=void 0!==(e=Cs(e,"space"))?xs(e):void 0,El({style:n},void 0!==t?{color:t}:{},void 0!==r?{size:r}:{},void 0!==e?{space:e}:{})}(h))&&("top"===h.localName?n=d:"left"===h.localName?i=d:"bottom"===h.localName?o=d:"right"===h.localName?a=d:"between"===h.localName?l=d:"bar"===h.localName&&(s=d))}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return El({},void 0!==n?{top:n}:{},void 0!==i?{left:i}:{},void 0!==o?{bottom:o}:{},void 0!==a?{right:a}:{},void 0!==l?{between:l}:{},void 0!==s?{bar:s}:{})}function Os(e){var t,r,n,i,o,a=Jl(),l=[];try{for(var s=Ll(re(e)),u=s.next();!u.done;u=s.next()){var c,d,h,p=u.value;te(p,"pStyle")||te(p,"numPr")||te(p,"rPr")||te(p,"sectPr")||(te(p,p.localName)&&!ws.has(p.localName)&&"suppressHyphenation"!==p.localName&&bs.has(p.localName)?"jc"===p.localName?a.jcRaw=z(p):"outlineLvl"===p.localName?void 0!==(d=z(p))&&/^-?\d+$/.test(d)?a.outlineLevelValue=Number.parseInt(d,10):l.push(p):"ind"===p.localName?void 0===(c=ks(p))?l.push(p):a.indentsValue=c:"spacing"===p.localName?void 0===(c=Fs(p))?l.push(p):a.spacingValue=c:"tabs"===p.localName?a.tabStopsValue=function(e){var t,r,n,i=[];try{for(var o=Ll(re(e)),a=o.next();!a.done;a=o.next()){var l,s,u,c,d,h=a.value;te(h,"tab")&&void 0!==(l=xs(Cs(h,"pos")))&&(s=null!=(n=Cs(h,"val"))?n:"left",u=Ps.has(s)?s:"left",d=void 0!==(c=Cs(h,"leader"))&&Ss.has(c)?c:void 0,i.push(El({position:H(l),alignment:u},void 0!==d?{leader:d}:{})))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}(p):"pBdr"===p.localName?a.bordersValue=Ds(p):"shd"===p.localName?a.shadingValue=(o=i=void 0,i=Cs(n=p,"fill"),o=Cs(n,"color"),n=void 0!==(n=Cs(n,"val"))&&Zl.has(n)?n:void 0,El({},void 0!==i?{fill:i}:{},void 0!==o?{color:o}:{},void 0!==n?{pattern:n}:{})):"textDirection"===p.localName?void 0===(d=z(p))?l.push(p):Xl.has(d)?(a.textDirectionValue=d,a.textDirectionRaw=void 0):(a.textDirectionValue=void 0,a.textDirectionRaw=d):"textAlignment"===p.localName?void 0===(d=z(p))?l.push(p):Yl.has(d)?(a.baselineAlignmentValue=d,a.baselineAlignmentRaw=void 0):(a.baselineAlignmentValue=void 0,a.baselineAlignmentRaw=d):void 0===(h=Ki(p))?l.push(p):"keepNext"===p.localName?a.keepNextValue=h:"keepLines"===p.localName?a.keepLinesValue=h:"pageBreakBefore"===p.localName?a.pageBreakBeforeValue=h:"widowControl"===p.localName?a.widowControlValue=h:"bidi"===p.localName?a.bidiValue=h:"suppressLineNumbers"===p.localName?a.suppressLineNumbersValue=h:"suppressAutoHyphens"===p.localName?a.suppressAutoHyphensValue=h:"contextualSpacing"===p.localName?a.contextualSpacingValue=h:"adjustRightInd"===p.localName?a.adjustRightIndentValue=h:"overflowPunct"===p.localName?a.overflowPunctuationValue=h:"autoSpaceDE"===p.localName?a.autoSpaceDEValue=h:"autoSpaceDN"===p.localName?a.autoSpaceDNValue=h:"snapToGrid"===p.localName?a.snapToGridValue=h:"wordWrap"===p.localName?a.wordWrapValue=h:"mirrorIndents"===p.localName?a.mirrorIndentsValue=h:"kinsoku"===p.localName?a.kinsokuValue=h:"topLinePunct"===p.localName?a.topLinePunctuationValue=h:l.push(p):l.push(p))}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return a.pPrExtra=l,a}function Ns(e,t,r){void 0!==r&&e.push(Ji(t,r))}function As(e,t,r){for(var n=[],i=0;i<t.length;i++){var o=t[i];(te(o,r)?e:n).push(o)}return n}function Es(e){var t=[];return void 0!==e.left&&t.push(y("left",String(e.left))),void 0!==e.right&&t.push(y("right",String(e.right))),void 0!==e.start&&t.push(y("start",String(e.start))),void 0!==e.end&&t.push(y("end",String(e.end))),void 0!==e.hanging&&t.push(y("hanging",String(e.hanging))),void 0!==e.firstLine&&t.push(y("firstLine",String(e.firstLine))),void 0!==e.leftChars&&t.push(y("leftChars",String(e.leftChars))),void 0!==e.rightChars&&t.push(y("rightChars",String(e.rightChars))),void 0!==e.firstLineChars&&t.push(y("firstLineChars",String(e.firstLineChars))),void 0!==e.hangingChars&&t.push(y("hangingChars",String(e.hangingChars))),b("ind",{attributes:t})}function Ls(e){var t=[];return void 0!==e.before&&t.push(y("before",String(e.before))),void 0!==e.after&&t.push(y("after",String(e.after))),void 0!==e.beforeLines&&t.push(y("beforeLines",String(e.beforeLines))),void 0!==e.afterLines&&t.push(y("afterLines",String(e.afterLines))),void 0!==e.line?(t.push(y("line",String(e.line))),t.push(y("lineRule",void 0!==e.lineRule?e.lineRule:"auto"))):void 0!==e.lineRule&&t.push(y("lineRule",e.lineRule)),void 0!==e.beforeAutospacing&&t.push(y("beforeAutospacing",e.beforeAutospacing?"1":"0")),void 0!==e.afterAutospacing&&t.push(y("afterAutospacing",e.afterAutospacing?"1":"0")),b("spacing",{attributes:t})}function Rs(e,t){var r=[y("val",t.style)];return void 0!==t.color&&r.push(y("color",t.color)),void 0!==t.size&&r.push(y("sz",String(t.size))),void 0!==t.space&&r.push(y("space",String(t.space))),b(e,{attributes:r})}function Bs(e,t){var r,n,i,o=[],a=e.pPrExtra.slice();Ns(o,"keepNext",e.keepNextValue),Ns(o,"keepLines",e.keepLinesValue),Ns(o,"pageBreakBefore",e.pageBreakBeforeValue),a=As(o,a,"framePr"),Ns(o,"widowControl",e.widowControlValue),void 0!==t&&void 0!==t.numPr&&o.push(t.numPr),Ns(o,"suppressLineNumbers",e.suppressLineNumbersValue),void 0!==e.bordersValue&&o.push((r=e.bordersValue,n=[],void 0!==r.top&&n.push(Rs("top",r.top)),void 0!==r.left&&n.push(Rs("left",r.left)),void 0!==r.bottom&&n.push(Rs("bottom",r.bottom)),void 0!==r.right&&n.push(Rs("right",r.right)),void 0!==r.between&&n.push(Rs("between",r.between)),void 0!==r.bar&&n.push(Rs("bar",r.bar)),b("pBdr",{children:n}))),void 0!==e.shadingValue&&gs(e.shadingValue)&&o.push((r=e.shadingValue,n=[],void 0!==r.pattern&&n.push(y("val",r.pattern)),void 0!==r.color&&n.push(y("color",r.color)),void 0!==r.fill&&n.push(y("fill",r.fill)),b("shd",{attributes:n}))),void 0!==e.tabStopsValue&&0<e.tabStopsValue.length&&o.push((i=(i=e.tabStopsValue).map(function(e){var t=[y("val",e.alignment),y("pos",String(U(e.position)))];return void 0!==e.leader&&t.push(y("leader",e.leader)),b("tab",{attributes:t})}),b("tabs",{children:i}))),Ns(o,"suppressAutoHyphens",e.suppressAutoHyphensValue),Ns(o,"kinsoku",e.kinsokuValue),Ns(o,"wordWrap",e.wordWrapValue),Ns(o,"overflowPunct",e.overflowPunctuationValue),Ns(o,"topLinePunct",e.topLinePunctuationValue),Ns(o,"autoSpaceDE",e.autoSpaceDEValue),Ns(o,"autoSpaceDN",e.autoSpaceDNValue),Ns(o,"bidi",e.bidiValue),Ns(o,"adjustRightInd",e.adjustRightIndentValue),Ns(o,"snapToGrid",e.snapToGridValue),void 0===e.spacingValue||is(e.spacingValue)||o.push(Ls(e.spacingValue)),void 0===e.indentsValue||rs(e.indentsValue)||o.push(Es(e.indentsValue)),Ns(o,"contextualSpacing",e.contextualSpacingValue),Ns(o,"mirrorIndents",e.mirrorIndentsValue),a=As(o,a,"suppressOverlap"),void 0!==e.jcRaw&&o.push(b("jc",{attributes:[y("val",e.jcRaw)]})),void 0!==e.textDirectionValue?o.push(b("textDirection",{attributes:[y("val",e.textDirectionValue)]})):void 0!==e.textDirectionRaw&&o.push(b("textDirection",{attributes:[y("val",e.textDirectionRaw)]})),void 0!==e.baselineAlignmentValue?o.push(b("textAlignment",{attributes:[y("val",e.baselineAlignmentValue)]})):void 0!==e.baselineAlignmentRaw&&o.push(b("textAlignment",{attributes:[y("val",e.baselineAlignmentRaw)]})),a=As(o,a,"textboxTightWrap"),a=As(o,a,"divId"),a=As(o,a,"cnfStyle"),void 0!==e.outlineLevelValue&&o.push(b("outlineLvl",{attributes:[y("val",String(e.outlineLevelValue))]})),void 0!==t&&void 0!==t.rPr&&o.push(t.rPr),void 0!==t&&void 0!==t.sectPr&&o.push(t.sectPr);for(var a=As(o,a,"pPrChange"),l=0;l<a.length;l++)o.push(a[l]);return o}function _s(e){if(te(e,"spacing")){e=Fs(e);if(void 0!==e&&(void 0!==e.before||void 0!==e.after||void 0!==e.line||void 0!==e.lineRule))return El({},void 0!==e.before?{before:H(e.before)}:{},void 0!==e.after?{after:H(e.after)}:{},void 0!==e.line?{lineSpacing:H(e.line)}:{},void 0!==e.lineRule?{lineRule:e.lineRule}:{})}}Object.defineProperty(Ms.prototype,"owner",{get:function(){return this.ownerValue},enumerable:!0,configurable:!0}),Object.defineProperty(Ms.prototype,"documentContext",{get:function(){return this.documentContextValue},enumerable:!0,configurable:!0}),Ms.prototype.setDocumentContext=function(e){this.documentContextValue=e,this.wasRemovedValue=!1},Ms.prototype.attach=function(e){this.ownerValue=e,this.wasRemovedValue=!1},Ms.prototype.detach=function(){void 0!==this.ownerValue&&(this.wasRemovedValue=!0,this.documentContextValue=void 0),this.ownerValue=void 0,this.onDetached()},Ms.prototype.onDetached=function(){},Ms.prototype.assertAttached=function(){if(void 0===this.ownerValue)throw new N("This paragraph item is no longer attached");this.ownerValue.assertAttachedItem(this)},Ms.prototype.mutate=function(){if(void 0!==this.ownerValue)this.ownerValue.assertAttachedItem(this);else if(this.wasRemovedValue||void 0===this.documentContextValue)throw new N("This paragraph item is no longer attached")};var js=Ms;function Ms(){this.ownerValue=void 0,this.documentContextValue=void 0,this.wasRemovedValue=!1}(o=M.EntityType||(M.EntityType={}))[o.WordDocument=0]="WordDocument",o[o.Section=1]="Section",o[o.TextBody=2]="TextBody",o[o.HeaderFooter=3]="HeaderFooter",o[o.Paragraph=4]="Paragraph",o[o.AlternateChunk=5]="AlternateChunk",o[o.BlockContentControl=6]="BlockContentControl",o[o.InlineContentControl=7]="InlineContentControl",o[o.RowContentControl=8]="RowContentControl",o[o.CellContentControl=9]="CellContentControl",o[o.StructureDocumentTag=10]="StructureDocumentTag",o[o.StructureDocumentTagInline=11]="StructureDocumentTagInline",o[o.StructureDocumentTagRow=12]="StructureDocumentTagRow",o[o.StructureDocumentTagCell=13]="StructureDocumentTagCell",o[o.SDTBlockContent=14]="SDTBlockContent",o[o.SDTInlineContent=15]="SDTInlineContent",o[o.SDTRowContent=16]="SDTRowContent",o[o.SDTCellContent=17]="SDTCellContent",o[o.Table=18]="Table",o[o.TableRow=19]="TableRow",o[o.TableCell=20]="TableCell",o[o.TextRange=21]="TextRange",o[o.Picture=22]="Picture",o[o.Field=23]="Field",o[o.FieldMark=24]="FieldMark",o[o.MergeField=25]="MergeField",o[o.SeqField=26]="SeqField",o[o.EmbededField=27]="EmbededField",o[o.ControlField=28]="ControlField",o[o.TextFormField=29]="TextFormField",o[o.DropDownFormField=30]="DropDownFormField",o[o.CheckBox=31]="CheckBox",o[o.BookmarkStart=32]="BookmarkStart",o[o.BookmarkEnd=33]="BookmarkEnd",o[o.Shape=34]="Shape",o[o.Comment=35]="Comment",o[o.Footnote=36]="Footnote",o[o.TextBox=37]="TextBox",o[o.Break=38]="Break",o[o.Symbol=39]="Symbol",o[o.TOC=40]="TOC",o[o.XmlParaItem=41]="XmlParaItem",o[o.Undefined=42]="Undefined",o[o.Chart=43]="Chart",o[o.SmartArt=44]="SmartArt",o[o.Canvas=45]="Canvas",o[o.CommentMark=46]="CommentMark",o[o.CommentEnd=47]="CommentEnd",o[o.OleObject=48]="OleObject",o[o.AbsoluteTab=49]="AbsoluteTab",o[o.AutoShape=50]="AutoShape",o[o.EditableRangeStart=51]="EditableRangeStart",o[o.EditableRangeEnd=52]="EditableRangeEnd",o[o.GroupShape=53]="GroupShape",o[o.ChildShape=54]="ChildShape",o[o.ChildGroupShape=55]="ChildGroupShape",o[o.Math=56]="Math",o[o.Ink=57]="Ink";zs=function(e,t){return(zs=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var zs,o=function(e,t){function r(){this.constructor=e}zs(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},Us=function(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&(r[i[n]]=e[i[n]]);return r},Hs=function(e){var t="function"==typeof iu&&e[iu.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Ws={PageBreak:"page",ColumnBreak:"column",LineBreak:"line",TextWrappingBreak:"textWrapping"},Gs={None:"none",Left:"left",Right:"right",All:"all"},qs=(Object.defineProperty(Xs.prototype,"characterFormat",{get:function(){return void 0===this.characterFormatField&&(this.characterFormatField=new sa(this)),this.characterFormatField},enumerable:!0,configurable:!0}),Object.defineProperty(Xs.prototype,"extraAttributes",{get:function(){return this.extraAttributesValue},enumerable:!0,configurable:!0}),Xs.prototype.setExtraAttributes=function(e){this.extraAttributesValue=e},Xs.prototype.notifyCharacterFormatMutation=function(){},Xs.prototype.hydrateCharacterFormat=function(e){this.characterFormat.hydrate(e)},Xs.prototype.snapshotCharacterFormat=function(){return this.characterFormat.snapshot()},Xs);function Xs(e){this.extraAttributesValue=null!=e?e:[]}o(Ks,Ys=js),Object.defineProperty(Ks.prototype,"wireGroup",{get:function(){return this.wireGroupValue},enumerable:!0,configurable:!0}),Object.defineProperty(Ks.prototype,"characterFormat",{get:function(){return this.wireGroupValue.characterFormat},enumerable:!0,configurable:!0}),Ks.prototype.notifyCharacterFormatMutation=function(){this.mutate()};var Ys,Zs=Ks;function Ks(e){var t=Ys.call(this)||this;return t.wireGroupValue=null!=e?e:new qs,t}o(Qs,Js=Zs);var Js,$s=Qs;function Qs(e){e=Js.call(this,e)||this;return e.type=M.EntityType.AbsoluteTab,e}o(ru,eu=Zs);var eu,tu=ru;function ru(e){e=eu.call(this,e)||this;return e.type="carriageReturn",e}o(ou,nu=Zs),Object.defineProperty(ou.prototype,"font",{get:function(){return this.fontValue},set:function(e){this.mutate(),this.fontValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(ou.prototype,"char",{get:function(){return this.charValue},set:function(e){this.mutate(),this.charValue=e},enumerable:!0,configurable:!0});var nu,iu=ou;function ou(e,t,r){r=nu.call(this,r)||this;return r.type=M.EntityType.Symbol,r.fontValue=e,r.charValue=t,r}o(su,au=Zs),Object.defineProperty(su.prototype,"breakType",{get:function(){return this.breakTypeValue},set:function(e){this.mutate(),this.breakTypeValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(su.prototype,"clear",{get:function(){return this.clearValue},enumerable:!0,configurable:!0}),Object.defineProperty(su.prototype,"extras",{get:function(){return this.extrasValue},enumerable:!0,configurable:!0});var au,lu=su;function su(e,t,r,n){n=au.call(this,n)||this;return n.type=M.EntityType.Break,n.breakTypeValue=e,void 0!==t&&t!==Gs.None?n.clearValue=t:n.clearValue=void 0,n.extrasValue=null!=r?r:[],n}o(du,uu=Zs);var uu,cu=du;function du(e,t,r){r=uu.call(this,r)||this;return r.type="featureRun",r.featureId=e,r.value=t,r}o(fu,hu=Zs);var hu,pu=fu;function fu(e,t){t=hu.call(this,t)||this;return t.type="opaqueRun",t.xml=e,t}o(mu,vu=js),mu.prototype.onDetached=function(){null!=this.value.releaseContent&&this.value.releaseContent()};var vu,F=mu;function mu(e,t){var r=vu.call(this)||this;return r.type="featureInline",r.featureId=e,r.value=t,r}o(bu,yu=js);var yu,gu=bu;function bu(e){var t=yu.call(this)||this;return t.type="opaque",t.xml=e,t}function wu(e){return e.startsWith(" ")||e.endsWith(" ")||e.includes(" ")||e.includes("\n")}o(Su,Pu=Zs),Object.defineProperty(Su.prototype,"text",{get:function(){return this.textValue},set:function(e){if(this.mutate(),e.length>se.textNodeLength)throw new B("security/limit-exceeded","w:t exceeds the text node length limit");this.textValue=e,this.xmlSpacePreserveValue=wu(e)},enumerable:!0,configurable:!0}),Su.prototype.applyCharacterFormat=function(e){e instanceof sa?this.characterFormat.hydrate(e.snapshot()):this.characterFormat.assign(e)},Object.defineProperty(Su.prototype,"xmlSpacePreserve",{get:function(){return this.xmlSpacePreserveValue},enumerable:!0,configurable:!0}),Su.prototype.setTextFromParse=function(e,t){this.textValue=e,this.xmlSpacePreserveValue=t},Su.prototype.toOpenXml=function(){return Nu(this)},Su.fromXml=function(e,t){for(var r,n,i=ku(e,t),o=0;o<i.length;o+=1)if(i[o]instanceof Su)return i[o];var a,l=new qs(e.attributes);try{for(var s=Hs(re(e)),u=s.next();!u.done;u=s.next()){var c=u.value;te(c,"rPr")&&(a=ta(c))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}e=new Su(t,l);return void 0!==a&&l.hydrateCharacterFormat(a),e},Su.prototype.hydrate=function(e){this.wireGroup.setExtraAttributes(e.extraAttributes),this.textValue=e.text,this.xmlSpacePreserveValue=e.xmlSpacePreserve;e.extraAttributes,e.text,e.xmlSpacePreserve;e=Us(e,["extraAttributes","text","xmlSpacePreserve"]);this.wireGroup.hydrateCharacterFormat(e)},Su.prototype.snapshot=function(){var e=this.characterFormat.snapshot();return{extraAttributes:this.wireGroup.extraAttributes,text:this.textValue,xmlSpacePreserve:this.xmlSpacePreserveValue,rPrExtra:e.rPrExtra,styleIdValue:e.styleIdValue,boldValue:e.boldValue,italicValue:e.italicValue,strikeValue:e.strikeValue,doubleStrikeValue:e.doubleStrikeValue,vanishValue:e.vanishValue,legacyHiddenValue:e.legacyHiddenValue,noProofValue:e.noProofValue,fontSizeValue:e.fontSizeValue,fontSizeBidiValue:e.fontSizeBidiValue,textColorValue:e.textColorValue,textColorTheme:e.textColorTheme,highlightValue:e.highlightValue,shadingValue:e.shadingValue,underlineStyleValue:e.underlineStyleValue,underlineColorValue:e.underlineColorValue,vertAlignValue:e.vertAlignValue,smallCapsValue:e.smallCapsValue,allCapsValue:e.allCapsValue,fontsValue:e.fontsValue,characterScaleValue:e.characterScaleValue,kerningValue:e.kerningValue,characterSpacingValue:e.characterSpacingValue,positionValue:e.positionValue,borderValue:e.borderValue,languageValue:e.languageValue,embossValue:e.embossValue,imprintValue:e.imprintValue,outlineValue:e.outlineValue,shadowValue:e.shadowValue,webHiddenValue:e.webHiddenValue,bidiValue:e.bidiValue,complexScriptValue:e.complexScriptValue,boldBidiValue:e.boldBidiValue,italicBidiValue:e.italicBidiValue,emphasisValue:e.emphasisValue,textEffectValue:e.textEffectValue,specVanishValue:e.specVanishValue,snapToGridValue:e.snapToGridValue}};var Pu,w=Su;function Su(e,t){t=Pu.call(this,t)||this;return t.type=M.EntityType.TextRange,t.textValue="",t.xmlSpacePreserveValue=!1,void 0!==e&&("function"==typeof e.assertAttachedItem?t.attach(e):t.setDocumentContext(e)),t}function xu(e,t,r,n){if((r=void 0===r?Gs.None:r)!==Gs.None&&(i=t)!==Ws.LineBreak&&i!==Ws.TextWrappingBreak)throw new J("content/invalid-break","w:br @w:clear is only valid with a line / text-wrapping break");var i;return new lu(t,r,n,e)}function Cu(e,t){return xu(new qs,e,null!=t?t:Gs.None)}function Iu(e,t){return new iu(e,t,new qs)}function Vu(e,t){var r=null!=t?t:new qs;if(e.indexOf("\t")<0)return[Tu(e,r)];for(var n=e.split("\t"),i=[],o=0;o<n.length;o+=1){var a=n[o];void 0!==a&&0<a.length&&i.push(Tu(a,r)),o<n.length-1&&i.push(new $s(r))}return i}function Tu(e,t){if(e.length>se.textNodeLength)throw new B("security/limit-exceeded","w:t exceeds the text node length limit");t=new w(void 0,t);return t.setTextFromParse(e,wu(e)),t}function ku(e,t){var r,n,i,o=new qs(e.attributes),a=[];try{for(var l=Hs(re(e)),s=l.next();!s.done;s=l.next()){var u=s.value;te(u,"rPr")?i=ta(u):a.push(function(e,t,r){if(te(e,"t"))return n=pn(e),(r=new w(r,t)).setTextFromParse(n,vn(e)||wu(n)),r;if(te(e,"tab"))return new $s(t);if(te(e,"br"))return function(e,t){var r,n,i,o=Ws.LineBreak,a=!1,l=!1,s=Du(e,"type");"page"===s?(o=Ws.PageBreak,a=!0):"column"===s?(o=Ws.ColumnBreak,a=!0):"textWrapping"===s?(o=Ws.TextWrappingBreak,a=!0):void 0===s?a=!0:"line"===s&&(o=Ws.LineBreak,a=!0);s=Du(e,"clear");o!==Ws.LineBreak&&o!==Ws.TextWrappingBreak||("left"===s?(i=Gs.Left,l=!0):"right"===s?(i=Gs.Right,l=!0):"all"===s?(i=Gs.All,l=!0):"none"===s&&(l=!1));var u=[];try{for(var c=Hs(e.attributes),d=c.next();!d.done;d=c.next()){var h=d.value,p="w"===h.prefix||""===h.prefix;p&&"type"===h.localName?a||u.push(h):p&&"clear"===h.localName&&l||u.push(h)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return new lu(o,i,u,t)}(e,t);if(te(e,"cr"))return new tu(t);if(te(e,"sym"))return function(e,t){try{for(var r=Hs(e.attributes),n=r.next();!n.done;n=r.next()){var i=n.value;if("font"!==i.localName&&"char"!==i.localName)return new pu(e,t);if("w"!==i.prefix&&""!==i.prefix)return new pu(e,t)}}catch(e){a={error:e}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(a)throw a.error}}if(0<e.children.length)return new pu(e,t);var o=Du(e,"font"),a=Du(e,"char");return void 0!==o&&void 0!==a&&/^[0-9A-Fa-f]{4}$/.test(a)?new iu(o,a,t):new pu(e,t)}(e,t);var n=bn(e);return void 0===n?new pu(e,t):new cu(n.featureId,n.value,t)}(u,o,t))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return void 0!==i&&o.hydrateCharacterFormat(i),0===a.length&&(e=new w(t,o),a.push(e)),a}function Fu(e,t){if(void 0===t&&(t=!1),e instanceof w)return!t&&0<=e.text.indexOf("\t")?void 0:b(t?"instrText":"t",{attributes:e.xmlSpacePreserve||t?[fn()]:[],children:[{kind:"text",value:e.text}]});if(e instanceof $s)return b("tab");if(e instanceof lu){var r,n,t=e,i=[];t.breakType===Ws.PageBreak?i.push(y("type","page")):t.breakType===Ws.ColumnBreak?i.push(y("type","column")):t.breakType===Ws.TextWrappingBreak?(i.push(y("type","textWrapping")),void 0!==t.clear&&i.push(y("clear",t.clear))):void 0!==t.clear&&(i.push(y("type","textWrapping")),i.push(y("clear",t.clear)));try{for(var o=Hs(t.extras),a=o.next();!a.done;a=o.next()){var l=a.value;i.push(l)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return b("br",{attributes:i})}return e instanceof tu?b("cr"):e instanceof iu?b("sym",{attributes:[y("font",e.font),y("char",e.char)]}):"object"==typeof e&&null!==e&&"toOpenXml"in e&&("fieldType"in e||"fieldMarkType"in e)?e.toOpenXml():e instanceof cu?(e.featureId,e.value).toOpenXml():e instanceof pu?e.xml:void 0}function Du(e,t){e=e.attributes.find(function(e){return e.localName===t&&("w"===e.prefix||""===e.prefix)});return null==e?void 0:e.value}function Ou(e){return e instanceof Zs||"object"==typeof e&&null!==e&&"wireGroup"in e}function Nu(e){return Au(e.wireGroup,[e])}function Au(e,t,r){var n,i,o=e.characterFormat.buildRPrChildren(),a=[];0<o.length&&a.push(b("rPr",{children:o}));try{for(var l=Hs(t),s=l.next();!s.done;s=l.next()){var u=s.value,c=void 0!==r&&!0===r.get(u);if(u instanceof w&&!c&&0<=u.text.indexOf("\t")){y=v=f=m=p=h=d=void 0;var d=u.text,h=!1,p=a;if(h||d.indexOf("\t")<0)m=h||wu(d)?[fn()]:[],p.push(b(h?"instrText":"t",{attributes:m,children:[{kind:"text",value:d}]}));else for(var f=d.split("\t"),v=0;v<f.length;v+=1){var m,y=f[v];void 0!==y&&0<y.length&&(m=wu(y)?[fn()]:[],p.push(b("t",{attributes:m,children:[{kind:"text",value:y}]}))),v<f.length-1&&p.push(b("tab"))}}else{var g=Fu(u,c);void 0!==g&&a.push(g)}}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return b("r",{attributes:e.extraAttributes,children:a})}function Eu(e){for(var t=[],r=function(e){for(var t=new Map,r=[],n=0;n<e.length;n++){var i,o=e[n];void 0!==o&&("object"==typeof o&&"fieldType"in o?r.push({phase:"instruction"}):"object"==typeof o&&"fieldMarkType"in o?"separate"===(i=o.fieldMarkType)?0<r.length&&(r[r.length-1].phase="result"):"end"===i&&0<r.length&&r.pop():o instanceof w&&(i=0<r.length&&"instruction"===r[r.length-1].phase,t.set(o,i)))}return t}(e),n=0;n<e.length;){var i=e[n];if(void 0===i)n+=1;else if(i instanceof F)t.push(i.value.toOpenXml()),n+=1;else if(i instanceof gu)t.push(i.xml),n+=1;else if(Ou(i)){for(var o=i.wireGroup,a=[i],l=n+1;l<e.length;){var s=e[l];if(void 0===s||!Ou(s)||s.wireGroup!==o)break;a.push(s),l+=1}t.push(Au(o,a,r)),n=l}else n+=1}return t}var o=w,Lu=Nu;function Ru(e){var t;if(e instanceof cu&&(null!=(t=e.value)&&("number"==typeof t.type||"number"==typeof t.entityType)))return t;if(e instanceof F&&(null!=(t=e.value)&&("number"==typeof t.type||"number"==typeof t.entityType)))return t;return e}function Bu(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(n===t||Ru(n)===t)return r}return-1}Object.defineProperty(ju.prototype,"count",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(ju.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),ju.prototype.add=function(e){this.insert(this.items.length,e)},ju.prototype.insert=function(e,t){if(this.host.assertMutable(),e<0||e>this.items.length)throw new RangeError("Paragraph item index "+String(e)+" is out of range");this.assertNotOwned(t),this.items.splice(e,0,t),t.attach(this.host),this.rebuildIndexProperties()},ju.prototype.remove=function(e){this.host.assertMutable();e=Bu(this.items,e);if(-1===e)throw new N("This paragraph item is no longer in its paragraph");var t=this.items[e];this.items.splice(e,1),t.detach(),this.rebuildIndexProperties()},ju.prototype.removeAt=function(e){if(this.host.assertMutable(),e<0||e>=this.items.length)throw new RangeError("Paragraph item index "+String(e)+" is out of range");var t=this.items[e];this.items.splice(e,1),t.detach(),this.rebuildIndexProperties()},ju.prototype.clear=function(){this.host.assertMutable(),this.detachAll(),this.items.length=0,this.rebuildIndexProperties()},ju.prototype.containsIdentity=function(e){return-1!==this.indexOfIdentity(e)},ju.prototype.indexOf=function(e){return Bu(this.items,e)},ju.prototype.indexOfIdentity=function(e){for(var t=0;t<this.items.length;t+=1)if(this.items[t]===e)return t;return-1},ju.prototype.toArray=function(){for(var e=[],t=0;t<this.items.length;t+=1)e.push(Ru(this.items[t]));return e},ju.prototype.snapshot=function(){return this.items.slice()},ju.prototype.forEach=function(e){for(var t=0;t<this.items.length;t+=1)e(Ru(this.items[t]),t)},ju.prototype.some=function(e){for(var t=0;t<this.items.length;t+=1)if(e(Ru(this.items[t]),t))return!0;return!1},ju.prototype.every=function(e){for(var t=0;t<this.items.length;t+=1)if(!e(Ru(this.items[t]),t))return!1;return!0},ju.prototype.filter=function(e){for(var t=[],r=0;r<this.items.length;r+=1){var n=Ru(this.items[r]);e(n,r)&&t.push(n)}return t},ju.prototype.find=function(e){for(var t=0;t<this.items.length;t+=1){var r=Ru(this.items[t]);if(e(r,t))return r}},ju.prototype.findIndex=function(e){for(var t=0;t<this.items.length;t+=1)if(e(Ru(this.items[t]),t))return t;return-1},ju.prototype.map=function(e){for(var t=[],r=0;r<this.items.length;r+=1)t.push(e(Ru(this.items[r]),r));return t},ju.prototype[Symbol.iterator]=function(){var t=this.items.slice(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=Ru(t[r]),r+=1,{done:!1,value:e})}}},ju.prototype.hydrate=function(e){this.detachAll();for(var t=this.items.length=0;t<e.length;t+=1){var r=e[t];this.items.push(r),r.attach(this.host)}this.rebuildIndexProperties()},ju.prototype.addFromParse=function(e){this.items.push(e),e.attach(this.host),this.rebuildIndexProperties()},ju.prototype.detachAll=function(){for(var e=0;e<this.items.length;e+=1)this.items[e].detach()},ju.prototype.reattachAll=function(){for(var e=0;e<this.items.length;e+=1)this.items[e].attach(this.host)},ju.prototype.assertNotOwned=function(e){if(void 0!==e.owner){if(e.owner===this.host&&this.containsIdentity(e))throw new N("Paragraph item is already in this paragraph");throw new N("Paragraph item is already attached")}},ju.prototype.rebuildIndexProperties=function(){for(var e=this.items.length,t=this.cachedCount,r=e<t?t:e,n=0;n<r;n+=1){var i,o=String(n);n<e?(i=Ru(this.items[n]),Object.defineProperty(this,o,{value:i,writable:!1,enumerable:!0,configurable:!0})):delete this[o]}this.cachedCount=e};var _u=ju;function ju(e){this.host=e,this.items=[],this.cachedCount=0,this.rebuildIndexProperties()}var Mu,zu=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function Uu(e){Mu=e}Object.defineProperty(Hu.prototype,"paragraphFormat",{get:function(){return void 0===this.paragraphFormatField&&(this.paragraphFormatField=new ys(this)),this.paragraphFormatField},enumerable:!0,configurable:!0}),Object.defineProperty(Hu.prototype,"breakCharacterFormat",{get:function(){return void 0===this.breakCharacterFormatField&&(this.breakCharacterFormatField=new sa(this)),this.breakCharacterFormatField},enumerable:!0,configurable:!0}),Object.defineProperty(Hu.prototype,"listFormat",{get:function(){if(void 0===this.listFormatField){if(void 0===Mu)throw new J("feature/not-registered","ListFormat is unavailable; register the numbering feature before accessing paragraph.listFormat");this.listFormatField=Mu(this)}return this.listFormatField},enumerable:!0,configurable:!0}),Hu.prototype.notifyParagraphFormatMutation=function(){this.mutate()},Hu.prototype.notifyCharacterFormatMutation=function(){this.mutate()},Hu.prototype.detach=function(){this.owner=void 0,this.paragraphItems.detachAll()},Hu.prototype.attach=function(e){this.owner=e,this.paragraphItems.reattachAll()},Hu.prototype.assertAttachedItem=function(e){if(this.mutate(),!this.paragraphItems.containsIdentity(e))throw new N("This paragraph item is no longer in its paragraph")},Hu.prototype.assertMutable=function(){this.mutate()},Hu.prototype.mutate=function(){if(void 0===this.owner)throw new N("This paragraph is no longer in a document");this.owner.assertAttachedParagraph(this)},Hu.prototype.owningDocument=function(){if(void 0===this.owner)throw new N("This paragraph is no longer in a document");return this.owner.owningDocument()},Object.defineProperty(Hu.prototype,"styleId",{get:function(){return this.styleIdValue},set:function(e){this.mutate(),this.styleIdValue=e},enumerable:!0,configurable:!0}),Hu.prototype.applyStyle=function(e){throw new Error("Styles feature is not loaded")},Hu.prototype.resolveEffectiveCharacterValue=function(e){},Hu.prototype.resolveEffectiveParagraphValue=function(e){},Object.defineProperty(Hu.prototype,"numId",{get:function(){return this.numIdValue},set:function(e){this.mutate(),this.numIdValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Hu.prototype,"listLevel",{get:function(){return this.listLevelValue},set:function(e){this.mutate(),this.listLevelValue=e},enumerable:!0,configurable:!0}),Hu.prototype.getConditionalFormatting=function(){return this.paragraphFormat.readCnfStyle()},Hu.prototype.setConditionalFormatting=function(e){this.paragraphFormat.writeCnfStyle(e)},Object.defineProperty(Hu.prototype,"isInCell",{get:function(){var e=this.owner;return void 0!==e&&"tableCell"===e.bodyOwnerKind},enumerable:!0,configurable:!0}),Hu.prototype.sectionBreakSectPr=function(){return this.sectionBreakSectPrElement},Hu.prototype.replaceSectionBreakSectPr=function(e){void 0!==this.owner&&this.mutate(),void 0!==(this.sectionBreakSectPrElement=e)&&(this.sectionBreakPropertiesModelValue=void 0)},Hu.prototype.sectionBreakPropertiesModel=function(){return this.sectionBreakPropertiesModelValue},Hu.prototype.replaceSectionBreakPropertiesModel=function(e){void 0!==this.owner&&this.mutate(),void 0!==(this.sectionBreakPropertiesModelValue=e)&&(this.sectionBreakSectPrElement=void 0)},Object.defineProperty(Hu.prototype,"items",{get:function(){return this.paragraphItems},enumerable:!0,configurable:!0}),Object.defineProperty(Hu.prototype,"text",{get:function(){for(var e=[],t=this.paragraphItems.snapshot(),r=[],n=0;n<t.length;n+=1){var i=t[n];if(void 0!==i&&"object"==typeof i&&"fieldType"in i&&!("fieldMarkType"in i))r.push({phase:"instruction"});else{if(void 0!==i&&"object"==typeof i&&"fieldMarkType"in i){var o,a=i;if("separate"===a.fieldMarkType){0<r.length&&void 0!==(o=r[r.length-1])&&(o.phase="result");continue}if("end"===a.fieldMarkType){0<r.length&&r.pop();continue}}(0===r.length||"result"===r[r.length-1].phase)&&(i instanceof w?e.push(i.text):i instanceof $s&&e.push("\t"))}}return e.join("")},enumerable:!0,configurable:!0}),Hu.prototype.appendTextRange=function(){this.mutate();var e=new w;return this.paragraphItems.add(e),e},Hu.prototype.appendText=function(e,t){this.mutate();for(var r,n=new qs,i=Vu(e,n),o=0;o<i.length;o+=1){var a=i[o];void 0!==a&&(this.paragraphItems.add(a),void 0===r&&a instanceof w)&&(r=a)}return void 0===r&&(r=new w(void 0,n),this.paragraphItems.add(r)),null!=t&&void 0!==t.bold&&(r.characterFormat.bold=t.bold),null!=t&&void 0!==t.italic&&(r.characterFormat.italic=t.italic),null!=t&&void 0!==t.fontSize&&(r.characterFormat.fontSize=t.fontSize),r},Hu.prototype.appendBreak=function(e,t){this.mutate();t=null==t?void 0:t.clear,e=Cu(e,null!=t?t:Gs.None);return this.paragraphItems.add(e),e},Hu.prototype.appendSymbol=function(e,t){this.mutate();e=Iu(e,t);return this.paragraphItems.add(e),e},Hu.prototype.appendFeatureRunItem=function(e,t){this.mutate();e=new cu(e,t,new qs);return this.paragraphItems.add(e),e},Hu.prototype.appendFeatureInline=function(e,t){this.mutate();e=new F(e,t);return this.paragraphItems.add(e),e},Hu.prototype.insertFeatureInlineAt=function(e,t,r){this.mutate();t=new F(t,r);return this.paragraphItems.insert(e,t),t},Hu.prototype.removeFeatureInline=function(e){this.mutate();for(var t=this.paragraphItems.snapshot(),r=0;r<t.length;r+=1){var n=t[r];if(n instanceof F&&n.value===e)return void this.paragraphItems.removeAt(r)}throw new N("This inline is no longer in its paragraph")},Hu.prototype.removeFeatureRunItem=function(e){this.mutate();for(var t=this.paragraphItems.snapshot(),r=0;r<t.length;r+=1){var n=t[r];if(n instanceof cu&&n.value===e)return void this.paragraphItems.removeAt(r)}throw new N("This item is no longer in its paragraph")},Hu.prototype.appendParagraphItem=function(e){this.mutate(),this.paragraphItems.add(e)},Hu.prototype.removeTextRange=function(e){this.mutate();e=this.paragraphItems.indexOfIdentity(e);if(-1===e)throw new N("This text range is no longer in its paragraph");this.paragraphItems.removeAt(e)},Hu.prototype.toOpenXml=function(){return Gu(this)},Hu.fromXml=function(e,t){var r,n,i,o,a,l,s,u,c,d,h,p,t=new D(t=t),f=[],v=[];try{for(var m=zu(re(e)),y=m.next();!y.done;y=m.next()){var g=y.value;if(te(g,"pPr")){try{for(var b=zu(re(g)),w=b.next();!w.done;w=b.next()){var P=w.value;if(te(P,"pStyle"))s=z(P);else if(te(P,"numPr"))try{for(var S=zu(re(P)),x=S.next();!x.done;x=S.next()){var C,I=x.value;te(I,"ilvl")?void 0===(C=Wu(z(I)))?f.push(I):c=C:!te(I,"numId")||void 0===(C=Wu(z(I)))?f.push(I):u=C}}catch(e){a={error:e}}finally{try{x&&!x.done&&(l=S.return)&&l.call(S)}finally{if(a)throw a.error}}else te(P,"rPr")?p=ta(P):te(P,"sectPr")&&(d=P)}}catch(e){i={error:e}}finally{try{w&&!w.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}h=Os(g)}else if(te(g,"r"))for(var V=ku(g,void 0),T=0;T<V.length;T+=1)v.push(V[T]);else{var k=Sn(g);v.push(void 0!==k?new F(k.featureId,k.value):new gu(g))}}}catch(e){r={error:e}}finally{try{y&&!y.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}return t.hydrate({extraAttributes:e.attributes,styleIdValue:s,numIdValue:u,listLevelValue:c,numPrExtra:f,sectionBreakSectPr:d,items:v,paragraphFormat:void 0!==h?h:Jl(),breakCharacterFormat:p}),t},Hu.prototype.hydrate=function(e){this.extraAttributes=e.extraAttributes,this.styleIdValue=e.styleIdValue,this.numIdValue=e.numIdValue,this.listLevelValue=e.listLevelValue,this.numPrExtra=e.numPrExtra,this.sectionBreakSectPrElement=e.sectionBreakSectPr;for(var t=0;t<e.items.length;t+=1){var r=e.items[t];void 0!==r.owner&&r.detach()}this.paragraphItems.hydrate(e.items),this.paragraphFormat.hydrate(e.paragraphFormat),void 0!==e.breakCharacterFormat&&this.breakCharacterFormat.hydrate(e.breakCharacterFormat)},Hu.prototype.snapshot=function(){return{extraAttributes:this.extraAttributes,styleIdValue:this.styleIdValue,numIdValue:this.numIdValue,listLevelValue:this.listLevelValue,numPrExtra:this.numPrExtra,sectionBreakSectPr:void 0!==this.sectionBreakPropertiesModelValue?this.sectionBreakPropertiesModelValue.toOpenXml():this.sectionBreakSectPrElement,items:this.paragraphItems.snapshot(),paragraphFormat:this.paragraphFormat.snapshot(),breakCharacterFormat:this.breakCharacterFormat.snapshot()}};var D=Hu;function Hu(e){this.owner=e,this.extraAttributes=[],this.numPrExtra=[],this.sectionBreakSectPrElement=void 0,this.paragraphItems=new _u(this),this.paragraphFormatField=void 0,this.breakCharacterFormatField=void 0,this.listFormatField=void 0}function Wu(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function Gu(e){var t,r=e.snapshot(),n=[];if(void 0!==r.styleIdValue&&n.push(b("pStyle",{attributes:[y("val",r.styleIdValue)]})),void 0!==r.numIdValue||void 0!==r.listLevelValue||0<r.numPrExtra.length){var i=[];void 0!==r.listLevelValue&&i.push(b("ilvl",{attributes:[y("val",String(r.listLevelValue))]})),void 0!==r.numIdValue&&i.push(b("numId",{attributes:[y("val",String(r.numIdValue))]}));for(var o=0;o<r.numPrExtra.length;o++)i.push(r.numPrExtra[o]);t=b("numPr",{children:i})}for(var a,l=e.breakCharacterFormat.buildRPrChildren(),s=(0<l.length&&(a=b("rPr",{children:l})),e.paragraphFormat.buildPPrChildren({numPr:t,rPr:a,sectPr:r.sectionBreakSectPr})),o=0;o<s.length;o++)n.push(s[o]);for(var u=[],c=(0<n.length&&u.push(b("pPr",{children:n})),Eu(r.items)),o=0;o<c.length;o++)u.push(c[o]);return b("p",{attributes:r.extraAttributes,children:u})}function qu(e){e=e.snapshot();if(!0!==e.paragraphFormat.pageBreakAfterValue)return!1;for(var t=e.items,r=0;r<t.length;r++){var n=t[r];if(n instanceof lu&&n.breakType===Ws.PageBreak)return!1}return!void 0}function Xu(){return b("p",{children:Eu([Cu(Ws.PageBreak)])})}var Yu=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function Zu(e,t){var r,n,i=[];try{for(var o=Yu(e),a=o.next();!a.done;a=o.next()){var l,s,u=a.value;"element"===u.kind&&(te(u,"p")?(l=D.fromXml(u,t),i.push({type:"paragraph",paragraph:l})):(s=zr(u,t),i.push(void 0!==s?s:{type:"opaque",xml:u})))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function Ku(e){var t,r,n=[];try{for(var i=Yu(e),o=i.next();!o.done;o=i.next()){var a=o.value;"paragraph"===a.type?(n.push(a.paragraph.toOpenXml()),qu(a.paragraph)&&n.push(Xu())):"feature"===a.type?n.push(Ur(a)):n.push(a.xml)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Ju(e){return e instanceof D}var $u=[];function Qu(e){for(var t=0;t<$u.length;t+=1)if($u[t]===e)return;$u.push(e)}function ec(e){if("paragraph"===e.type)return e.paragraph;if("opaque"!==e.type)for(var t=e,r=0;r<$u.length;r+=1){var n=$u[r].project(t);if(void 0!==n)return n}}function tc(e){if(Ju(e))return{type:"paragraph",paragraph:e};if("object"==typeof e&&null!==e){var t=e;if("paragraph"===t.type&&t.paragraph instanceof D)return{type:"paragraph",paragraph:t.paragraph};if("feature"===t.type&&void 0!==t.value)for(var r=0;r<$u.length;r+=1)if($u[r].isInstance(t.value))if(void 0!==(n=$u[r].toBlock(t.value)))return n}for(var n,r=0;r<$u.length;r+=1)if(void 0!==(n=$u[r].toBlock(e)))return n;throw new TypeError("Unsupported body item type")}function rc(e){if(e instanceof D)return!0;for(var t=0;t<$u.length;t+=1)if($u[t].isInstance(e))return!0;return!1}function nc(e){var t;"object"==typeof e&&null!==e&&"releaseContent"in e&&"function"==typeof(t=e.releaseContent)&&t.call(e)}function ic(e,t){for(var r=0;r<e.length;r+=1)if(ec(e[r])===t)return r;return-1}Object.defineProperty(ac.prototype,"count",{get:function(){return this.project().length},enumerable:!0,configurable:!0}),Object.defineProperty(ac.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),ac.prototype.add=function(e){return this.insert(this.count,e)},ac.prototype.insert=function(e,t){if(!rc(t))throw new TypeError("BodyItemCollection accepts only Paragraph, Table, or block content control instances");var r=this.project();if(e<0||e>r.length)throw new RangeError("Body item index "+String(e)+" is out of range");this.assertNotOwned(t);var n=tc(t),i=this.host.rawBlocks(),e=this.rawIndexForPublicInsert(e,r,i);return this.insertRawBlockAt(e,n),t},ac.prototype.remove=function(e){e=ic(this.host.rawBlocks(),e);if(-1===e)throw new N("Body item is not in this body");this.removeRawBlockAt(e)},ac.prototype.removeAt=function(e){var t=this.project();if(e<0||e>=t.length)throw new RangeError("Body item index "+String(e)+" is out of range");t=t[e],e=ic(this.host.rawBlocks(),t);if(-1===e)throw new N("Body item is not in this body");this.removeRawBlockAt(e)},ac.prototype.clear=function(){var e=this.host.rawBlocks();if(0!==e.length){var t=e.slice();this.host.replaceRawBlocks([]);for(var r=0;r<t.length;r+=1){var n=t[r];"paragraph"===n.type?n.paragraph.detach():"feature"===n.type&&nc(n.value)}}this.rebuildIndexProperties(),this.notifyHostBodyItemsChanged()},ac.prototype.indexOf=function(e){for(var t=this.project(),r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},ac.prototype.toArray=function(){return this.project()},ac.prototype.forEach=function(e){for(var t=this.project(),r=0;r<t.length;r+=1)e(t[r],r)},ac.prototype.some=function(e){for(var t=this.project(),r=0;r<t.length;r+=1)if(e(t[r],r))return!0;return!1},ac.prototype.filter=function(e){for(var t=this.project(),r=[],n=0;n<t.length;n+=1){var i=t[n];e(i,n)&&r.push(i)}return r},ac.prototype.find=function(e){for(var t=this.project(),r=0;r<t.length;r+=1){var n=t[r];if(e(n,r))return n}},ac.prototype.map=function(e){for(var t=this.project(),r=[],n=0;n<t.length;n+=1)r.push(e(t[n],n));return r},ac.prototype[Symbol.iterator]=function(){var t=this.project(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},ac.prototype.syncFromHost=function(){this.rebuildIndexProperties()},ac.prototype.insertRawBlockAt=function(e,t){var r=this.host.rawBlocks();if(e<0||e>r.length)throw new RangeError("Body item index "+String(e)+" is out of range");var n,i,o=this.host.owningDocument(),a=("paragraph"===t.type?t.paragraph.attach(this.host):"feature"===t.type&&(n=t.value,i=o,"object"==typeof n)&&null!==n&&"bindDocument"in n&&"function"==typeof(a=n.bindDocument)&&a.call(n,i),r.slice());a.splice(e,0,t),this.host.replaceRawBlocks(a),Zi([t],o),this.rebuildIndexProperties(),this.notifyHostBodyItemsChanged()},ac.prototype.removeRawBlockAt=function(e){var t=this.host.rawBlocks();if(e<0||e>=t.length)throw new RangeError("Body item index "+String(e)+" is out of range");var r=t[e],t=t.slice();t.splice(e,1),this.host.replaceRawBlocks(t),"paragraph"===r.type?r.paragraph.detach():"feature"===r.type&&nc(r.value),this.rebuildIndexProperties(),this.notifyHostBodyItemsChanged()},ac.prototype.appendRawBlock=function(e){this.insertRawBlockAt(this.host.rawBlocks().length,e)},ac.prototype.indexOfRawBlock=function(e){var t=this.host.rawBlocks(),r=t.indexOf(e);if(-1!==r)return r;for(var n,i,o=0;o<t.length;o+=1)if(n=t[o],i=e,n.type===i.type&&("paragraph"===n.type&&"paragraph"===i.type?n.paragraph===i.paragraph:"feature"===n.type&&"feature"===i.type?n.featureId===i.featureId&&n.value===i.value:"opaque"===n.type&&"opaque"===i.type&&n.xml===i.xml))return o;return-1},ac.prototype.project=function(){for(var e=this.host.rawBlocks(),t=[],r=0;r<e.length;r+=1){var n=ec(e[r]);void 0!==n&&t.push(n)}return t},ac.prototype.rawIndexForPublicInsert=function(e,t,r){if(e===t.length)return r.length;r=ic(r,t[e]);if(-1===r)throw new N("Body item index is inconsistent");return r},ac.prototype.assertNotOwned=function(e){if(-1!==ic(this.host.rawBlocks(),e))throw new N("Body item is already in this body");if(e instanceof D)try{if(e.owningDocument()!==this.host.owningDocument())throw new N("Body item belongs to another document");throw new N("Body item is already attached")}catch(e){if(e instanceof N&&"This paragraph is no longer in a document"===e.message)return;throw 0 instanceof N,e}if("object"==typeof e&&null!==e&&"owningDocument"in e){var t=e.owningDocument;if("function"==typeof t){var r=void 0;try{r=t.call(e)}catch(e){r=void 0}if(void 0!==r){if(r!==this.host.owningDocument())throw new N("Body item belongs to another document");throw new N("Body item is already attached")}}}},ac.prototype.rebuildIndexProperties=function(){for(var e=this.project(),t=e.length,r=this.cachedLength,n=t<r?r:t,i=0;i<n;i+=1){var o,a=String(i);i<t?(o=e[i],Object.defineProperty(this,a,{value:o,writable:!1,enumerable:!0,configurable:!0})):delete this[a]}this.cachedLength=t},ac.prototype.notifyHostBodyItemsChanged=function(){var e=this.host.notifyBodyItemsChanged;"function"==typeof e&&e.call(this.host)};var oc=ac;function ac(e){this.cachedLength=0,this.host=e,this.rebuildIndexProperties()}lc=function(e,t){return(lc=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var lc,sc=function(e,t){function r(){this.constructor=e}lc(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},uc=function(){return(uc=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},cc=(Object.defineProperty(dc.prototype,"count",{get:function(){return this.list().length},enumerable:!0,configurable:!0}),Object.defineProperty(dc.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),dc.prototype.add=function(e){return this.insert(this.count,e)},dc.prototype.insert=function(e,t){var r,n=this.list();if(e<0||e>n.length)throw new RangeError("Index "+String(e)+" is out of range");if(void 0!==t)r=t;else{if(void 0===this.factory)throw new TypeError("No item provided and no factory is registered for this collection");r=this.factory()}if(this.typeFilter(r))return t=this.bodyIndexForTypedInsert(e,n),this.items.insert(t,r),this.rebuildIndexProperties(),r;throw new TypeError("Item type does not match this collection")},dc.prototype.remove=function(e){if(-1===this.items.indexOf(e)||!this.typeFilter(e))throw new N("Item is not in this collection");this.items.remove(e),this.rebuildIndexProperties()},dc.prototype.removeAt=function(e){var t=this.list();if(e<0||e>=t.length)throw new RangeError("Index "+String(e)+" is out of range");this.items.remove(t[e]),this.rebuildIndexProperties()},dc.prototype.indexOf=function(e){for(var t=this.list(),r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},dc.prototype.toArray=function(){return this.list()},dc.prototype.forEach=function(e){for(var t=this.list(),r=0;r<t.length;r+=1)e(t[r],r)},dc.prototype.some=function(e){for(var t=this.list(),r=0;r<t.length;r+=1)if(e(t[r],r))return!0;return!1},dc.prototype.filter=function(e){for(var t=this.list(),r=[],n=0;n<t.length;n+=1){var i=t[n];e(i,n)&&r.push(i)}return r},dc.prototype.find=function(e){for(var t=this.list(),r=0;r<t.length;r+=1){var n=t[r];if(e(n,r))return n}},dc.prototype.map=function(e){for(var t=this.list(),r=[],n=0;n<t.length;n+=1)r.push(e(t[n],n));return r},dc.prototype[Symbol.iterator]=function(){var t=this.list(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},dc.prototype.syncFromHost=function(){this.rebuildIndexProperties()},dc.prototype.setFactory=function(e){this.factory=e},dc.prototype.list=function(){for(var e=[],t=this.items.count,r=0;r<t;r+=1){var n=this.items[r];void 0!==n&&this.typeFilter(n)&&e.push(n)}return e},dc.prototype.bodyIndexForTypedInsert=function(e,t){if(e===t.length)return this.items.count;t=t[e],e=this.items.indexOf(t);if(-1===e)throw new N("Typed collection index is inconsistent");return e},dc.prototype.rebuildIndexProperties=function(){for(var e=this.list(),t=e.length,r=this.cachedLength,n=t<r?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t},dc);function dc(e,t,r){this.cachedLength=0,this.items=e,this.typeFilter=t,this.factory=r,this.rebuildIndexProperties()}sc(fc,hc=cc);var hc,pc=fc;function fc(e,t){return hc.call(this,e,function(e){return e instanceof D},t)||this}sc(yc,vc=cc);var vc,mc=yc;function yc(e,t,r){return vc.call(this,e,t,r)||this}sc(wc,gc=cc);var gc,bc=wc;function wc(e,t,r){return gc.call(this,e,t,r)||this}var Pc={};function Sc(e){Pc=uc({},Pc,e)}function xc(){return Pc}function Cc(e){return new mc(e,function(e){var t=Pc.isTable;return void 0!==t&&t(e)},function(){var e=Pc.createTable;if(void 0===e)throw new TypeError("No item provided and no factory is registered for this collection");return e()})}function Ic(e){return new bc(e,function(e){var t=Pc.isBlockContentControl;return void 0!==t&&t(e)},function(){var e=Pc.createBlockContentControl;if(void 0===e)throw new TypeError("No item provided and no factory is registered for this collection");return e()})}Object.defineProperty(Tc.prototype,"items",{get:function(){return this.itemsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Tc.prototype,"paragraphs",{get:function(){return this.paragraphsInstance},enumerable:!0,configurable:!0}),Tc.prototype.owningSection=function(){return this.section},Tc.prototype.setOwningSection=function(e){this.section=e},Tc.prototype.setOwningDocument=function(e){this.document=e},Tc.prototype.owningDocument=function(){if(void 0!==this.section)return this.section.owningDocument();if(void 0!==this.document)return this.document;throw new N("Body is not attached to a document")},Tc.prototype.rawBlocks=function(){return this.itemList},Tc.prototype.replaceRawBlocks=function(e){this.itemList=e.slice()},Tc.prototype.assertAttachedParagraph=function(t){if(!this.itemList.some(function(e){return"paragraph"===e.type&&e.paragraph===t}))throw new N("This paragraph is no longer in the document")},Tc.prototype.listBlocks=function(){return this.itemList},Tc.prototype.replaceItems=function(e){for(var t=this.itemList,r=0;r<t.length;r+=1)if("paragraph"===(a=t[r]).type){for(var n=!1,i=0;i<e.length;i+=1){var o=e[i];if("paragraph"===o.type&&o.paragraph===a.paragraph){n=!0;break}}n||a.paragraph.detach()}this.itemList=e.slice();for(var a,r=0;r<this.itemList.length;r+=1)"paragraph"===(a=this.itemList[r]).type&&a.paragraph.attach(this);this.itemsInstance.syncFromHost(),this.syncTypedViews()},Tc.prototype.appendRawBlock=function(e){this.itemsInstance.appendRawBlock(e)},Tc.prototype.insertRawBlockAt=function(e,t){this.itemsInstance.insertRawBlockAt(e,t)},Tc.prototype.removeRawBlockAt=function(e){this.itemsInstance.removeRawBlockAt(e)},Tc.prototype.listParagraphs=function(){for(var e=[],t=0;t<this.itemList.length;t+=1){var r=this.itemList[t];"paragraph"===r.type&&e.push(r.paragraph)}return e},Tc.prototype.appendParagraph=function(e){var t=this.paragraphsInstance.add();return void 0!==(null==e?void 0:e.style)&&t.applyStyle(e.style),void 0!==(null==e?void 0:e.text)&&t.appendText(e.text),t},Tc.prototype.insertParagraph=function(e){return this.paragraphsInstance.insert(e)},Tc.prototype.removeParagraph=function(e){this.paragraphsInstance.remove(e)},Tc.prototype.syncParagraphs=function(){this.syncTypedViews()},Tc.prototype.notifyBodyItemsChanged=function(){this.syncTypedViews()},Tc.prototype.syncTypedViews=function(){this.paragraphsInstance.syncFromHost();var e=this.owningSection();void 0!==e&&e.syncCollections()};var Vc=Tc;function Tc(e,t,r){void 0===t&&(t=[]),this.document=e,this.section=r,this.itemList=t.slice(),this.itemsInstance=new oc(this),this.paragraphsInstance=new pc(this.itemsInstance,function(){return new D(void 0)});for(var n=0;n<this.itemList.length;n+=1){var i=this.itemList[n];"paragraph"===i.type&&i.paragraph.attach(this)}}kc=function(e,t){return(kc=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};(function(e,t){function r(){this.constructor=e}kc(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)})(Nc,Fc=Vc),Object.defineProperty(Nc.prototype,"kind",{get:function(){return this.kindValue},enumerable:!0,configurable:!0}),Object.defineProperty(Nc.prototype,"refType",{get:function(){return this.refTypeValue},enumerable:!0,configurable:!0}),Object.defineProperty(Nc.prototype,"relationshipId",{get:function(){return this.relationshipIdValue},enumerable:!0,configurable:!0}),Nc.prototype.bindRelationshipId=function(e){this.relationshipIdValue=e},Nc.prototype.bindLifecycleHandlers=function(e,t){this.materializeHandler=e,this.syncHandler=t,this.requireFeatureOnMutate=!1},Nc.prototype.markFeatureRequiredOnMutate=function(){this.requireFeatureOnMutate=!0},Nc.prototype.replaceItemsSilent=function(e){this.suppressSync=!0;try{Fc.prototype.replaceItems.call(this,e)}finally{this.suppressSync=!1}},Nc.prototype.replaceRawBlocks=function(e){this.ensureMaterializedForMutation(),Fc.prototype.replaceRawBlocks.call(this,e),this.runSync()},Nc.prototype.replaceItems=function(e){this.ensureMaterializedForMutation(),Fc.prototype.replaceItems.call(this,e),this.runSync()},Nc.prototype.assertAttachedParagraph=function(e){this.ensureMaterializedForMutation(),Fc.prototype.assertAttachedParagraph.call(this,e),this.runSync()},Nc.prototype.ensureMaterializedForMutation=function(){if(!this.suppressSync){if(this.requireFeatureOnMutate)throw new Error("Headers/footers feature is not registered; call registerHeadersFootersFeature() before mutating header/footer content");void 0!==this.materializeHandler&&this.materializeHandler()}},Nc.prototype.runSync=function(){this.suppressSync||void 0!==this.syncHandler&&this.syncHandler()};var kc,Fc,Dc,Oc=Nc;function Nc(e,t,r,n,i,o){void 0===n&&(n=[]),void 0===o&&(o="");var a=this,i=void 0!==i?i:void 0!==e?function(){try{return e.owningDocument()}catch(e){}}():void 0;return(a=Fc.call(this,i,n,e)||this).kindValue=t,a.refTypeValue=r,a.relationshipIdValue=o,a.materializeHandler=void 0,a.syncHandler=void 0,a.suppressSync=!1,a.requireFeatureOnMutate=!1,a}function Ac(e){Dc=e}function Ec(){Dc=void 0}Mc.prototype.bindSection=function(e){this.section=e},Object.defineProperty(Mc.prototype,"oddHeader",{get:function(){return this.headerSlot("default","oddHeaderInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(Mc.prototype,"firstPageHeader",{get:function(){return this.headerSlot("first","firstPageHeaderInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(Mc.prototype,"evenHeader",{get:function(){return this.headerSlot("even","evenHeaderInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(Mc.prototype,"oddFooter",{get:function(){return this.footerSlot("default","oddFooterInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(Mc.prototype,"firstPageFooter",{get:function(){return this.footerSlot("first","firstPageFooterInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(Mc.prototype,"evenFooter",{get:function(){return this.footerSlot("even","evenFooterInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(Mc.prototype,"linkToPrevious",{get:function(){return this.computeLinkToPrevious()},set:function(e){this.linkToPreviousValue=e;var t=Lc;void 0!==t&&void 0!==this.section?t(this.section,e):e||this.section},enumerable:!0,configurable:!0}),Mc.prototype.computeLinkToPrevious=function(){var e=Rc;return void 0!==e&&void 0!==this.section?e(this.section):this.linkToPreviousValue},Mc.prototype.headerSlot=function(e,t){var r=this[t];return void 0!==r?r:(r=this.createHeader(e),this[t]=r)},Mc.prototype.footerSlot=function(e,t){var r=this[t];return void 0!==r?r:(r=this.createFooter(e),this[t]=r)},Mc.prototype.createHeader=function(e){var t=this.section;return void 0!==t&&void 0!==Dc?Dc.createHeader(t,e):this.createUnregisteredPlaceholder("header",e)},Mc.prototype.createFooter=function(e){var t=this.section;return void 0!==t&&void 0!==Dc?Dc.createFooter(t,e):this.createUnregisteredPlaceholder("footer",e)},Mc.prototype.createUnregisteredPlaceholder=function(e,t){e=new Oc(this.section,e,t,[]);return e.markFeatureRequiredOnMutate(),e};var Lc,Rc,Bc,_c,jc=Mc;function Mc(e){this.section=e,this.linkToPreviousValue=!0}function zc(e,t){Lc=e,Rc=t}function Uc(){Rc=Lc=void 0}function Hc(e){Bc=e}function Wc(){Bc=void 0}function Gc(e){_c=e}function qc(){_c=void 0}function Xc(){return _c}function Yc(e){if(void 0!==e&&void 0!==Bc){e=e.internalPageSetupModel();if(void 0!==e)return Bc(e)}if(void 0!==_c)return _c()}Object.defineProperty($c.prototype,"count",{get:function(){return this.list.length},enumerable:!0,configurable:!0}),$c.prototype.add=function(){var e=Yc(this.list[this.list.length-1]),e=new dd(this.document,[],e);return this.list.push(e),e.bindDocument(this.document),this.rebuildIndexProperties(),e},$c.prototype.insert=function(e){if(e<0||e>this.list.length)throw new RangeError("Section index "+String(e)+" is out of range");var t;return e===this.list.length?this.add():(t=Yc(this.list[0===e?0:e-1]),t=new dd(this.document,[],t),this.list.splice(e,0,t),t.bindDocument(this.document),this.rebuildIndexProperties(),t)},$c.prototype.remove=function(e){e=this.list.indexOf(e);if(-1===e)throw new N("Section is not in this document");this.removeAt(e)},$c.prototype.removeAt=function(e){if(e<0||e>=this.list.length)throw new RangeError("Section index "+String(e)+" is out of range");if(this.list.length<=1)throw new N("Cannot remove the last section");this.list.splice(e,1),this.rebuildIndexProperties()},$c.prototype.indexOf=function(e){return this.list.indexOf(e)},$c.prototype[Symbol.iterator]=function(){var t=this.list.slice(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},$c.prototype.replaceAll=function(e){if(e.length<1)throw new N("Document must have at least one section");this.list=e.slice();for(var t=0;t<this.list.length;t+=1)this.list[t].bindDocument(this.document);this.rebuildIndexProperties()},$c.prototype.asArray=function(){return this.list},$c.prototype.rebuildIndexProperties=function(){for(var e=this.list,t=e.length,r=this.cachedLength,n=t<r?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t};var Zc,Kc,Jc=$c;function $c(e,t){if(this.cachedLength=0,t.length<1)throw new N("Document must have at least one section");this.document=e,this.list=t.slice();for(var r=0;r<this.list.length;r+=1)this.list[r].bindDocument(e);this.rebuildIndexProperties()}function Qc(e){Zc=e}function ed(){Zc=void 0}function td(e){Kc=e}function rd(){Kc=void 0}function nd(e,t){void 0!==e&&void 0!==Kc&&Kc(e,t)}function id(e){var t;if(void 0!==e)return"function"!=typeof e.toOpenXml&&void 0!==Zc&&void 0!==(t=Zc(e))?t:e}function od(e){var t=e.sectionBreakPropertiesModel();return void 0!==t?t:e.sectionBreakSectPr()}function ad(e){return void 0!==od(e)}function ld(e,t){for(var r=[],n=[],i=0;i<e.length;i+=1){var o=e[i];n.push(o),"paragraph"===o.type&&ad(o.paragraph)&&(o=od(o.paragraph),r.push({items:n,properties:o,isFinal:!1}),n=[])}return r.push({items:n,properties:t,isFinal:!0}),r}function sd(e,t){void 0===t?(e.replaceSectionBreakPropertiesModel(void 0),e.replaceSectionBreakSectPr(void 0)):"function"==typeof t.toOpenXml?e.replaceSectionBreakPropertiesModel(t):e.replaceSectionBreakSectPr(t)}function ud(e){var t=e[e.length-1];return void 0!==t&&"paragraph"===t.type?t.paragraph:(t=new D(void 0),e.push({type:"paragraph",paragraph:t}),t)}function cd(e){for(var t=[],r=0;r<e.length;r+=1){var n=e[r],i=n.isLast,o=n.listBlocks().slice(),a=void 0!==n.pageSetup?n.pageSetup:n.pageSetupXml;i?void 0!==(i=o[o.length-1])&&"paragraph"===i.type&&ad(i.paragraph)&&(i.paragraph.replaceSectionBreakPropertiesModel(void 0),i.paragraph.replaceSectionBreakSectPr(void 0)):(i=ud(o),void 0!==a||void 0!==n.pageSetup||void 0!==n.pageSetupXml?sd(i,a):ad(i)),void 0!==n.replaceItems&&n.replaceItems(o);for(var l=0;l<o.length;l+=1)t.push(o[l])}return t}Object.defineProperty(hd.prototype,"body",{get:function(){return this.bodyInstance},enumerable:!0,configurable:!0}),Object.defineProperty(hd.prototype,"paragraphs",{get:function(){return this.paragraphsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(hd.prototype,"tables",{get:function(){return this.tablesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(hd.prototype,"blockContentControls",{get:function(){return this.blockContentControlsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(hd.prototype,"headersFooters",{get:function(){return this.headersFootersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(hd.prototype,"pageSetup",{get:function(){var e;if(void 0===this.pageSetupModel&&void 0!==(e=_c)&&(this.pageSetupModel=e()),void 0===this.pageSetupModel)throw new N("Section.pageSetup requires the sections feature (import @syncfusion/ej2-docx or @syncfusion/ej2-docx/sections)");return this.pageSetupModel},enumerable:!0,configurable:!0}),hd.prototype.internalPageSetupModel=function(){return this.pageSetupModel},hd.prototype.setPageSetup=function(e){void 0!==e?this.pageSetupModel=e:(e=_c,this.pageSetupModel=void 0!==e?e():void 0)},hd.prototype.owningDocument=function(){if(void 0===this.document)throw new N("Section is not attached to a document");return this.document},hd.prototype.bindDocument=function(e){this.headersFootersInstance.bindSection(this),this.document=e,this.bodyInstance.setOwningDocument(e),this.bodyInstance.setOwningSection(this),void 0!==this.pageSetupModel&&nd(this.pageSetupModel,e)},hd.prototype.syncCollections=function(){this.bodyInstance.items.syncFromHost(),this.paragraphsInstance.syncFromHost(),this.tablesInstance.syncFromHost(),this.blockContentControlsInstance.syncFromHost()};var dd=hd;function hd(e,t,r){void 0===t&&(t=[]),this.document=e,this.bodyInstance=new Vc(e,t,this),this.pageSetupModel=r,void 0===this.pageSetupModel&&void 0!==(e=_c)&&(this.pageSetupModel=e()),this.headersFootersInstance=new jc(this),this.paragraphsInstance=new pc(this.bodyInstance.items,function(){return new D(void 0)}),this.tablesInstance=Cc(this.bodyInstance.items),this.blockContentControlsInstance=Ic(this.bodyInstance.items)}var pd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function fd(e){var t=function(e){if("function"==typeof btoa){for(var t="",r=0;r<e.length;r+=32768){for(var n=Math.min(r+32768,e.length),i="",o=r;o<n;o++)i+=String.fromCharCode(e[o]);t+=i}return btoa(t)}}(e);if(void 0!==t)return t;for(var r="",n=0;n<e.length;n+=3)var i=e[n]<<16|(n+1<e.length?e[n+1]:0)<<8|(n+2<e.length?e[n+2]:0),r=(r=(r=(r+=pd[i>>18&63])+pd[i>>12&63])+(n+1<e.length?pd[i>>6&63]:"="))+(n+2<e.length?pd[63&i]:"=");return r}function vd(e){var t=function(e){if("function"==typeof atob){for(var t=atob(e),r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=255&t.charCodeAt(n);return r}}(e);if(void 0!==t)return t;if(e.length%4!=0)throw new Error("Invalid base64 payload");for(var t=0===e.length?"":e.charAt(e.length-1),r=e.length<2?"":e.charAt(e.length-2),n=e.length/4*3-("="===r&&"="===t?2:"="===t?1:0),i=new Uint8Array(n),o=0,a=0;a<e.length;a+=4){var l=pd.indexOf(e.charAt(a)),s=pd.indexOf(e.charAt(a+1)),u="="===e.charAt(a+2)?0:pd.indexOf(e.charAt(a+2)),c="="===e.charAt(a+3)?0:pd.indexOf(e.charAt(a+3));if(l<0||s<0||"="!==e.charAt(a+2)&&u<0||"="!==e.charAt(a+3)&&c<0)throw new Error("Invalid base64 payload");l=l<<18|s<<12|u<<6|c;i[o++]=l>>16&255,"="!==e.charAt(a+2)&&o<n&&(i[o++]=l>>8&255),"="!==e.charAt(a+3)&&o<n&&(i[o++]=255&l)}return i}var md=function(o,a,l,s){return new(l=l||Promise)(function(e,t){function r(e){try{i(s.next(e))}catch(e){t(e)}}function n(e){try{i(s.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new l(function(e){e(t.value)}).then(r,n)}i((s=s.apply(o,a||[])).next())})},yd=function(n,i){var o,a,l,s={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(r){return function(e){var t=[r,e];if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,a&&(l=2&t[0]?a.return:t[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,t[1])).done)return l;switch(a=0,(t=l?[2&t[0],l.value]:t)[0]){case 0:case 1:l=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(l=0<(l=s.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3]))s.label=t[1];else if(6===t[0]&&s.label<l[1])s.label=l[1],l=t;else{if(!(l&&s.label<l[2])){l[2]&&s.ops.pop(),s.trys.pop();continue}s.label=l[2],s.ops.push(t)}}t=i.call(n,s)}catch(e){t=[6,e],a=0}finally{o=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},gd=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},bd=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},wd=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(bd(arguments[t]));return e};function Pd(){qi(),ci()}var Sd=new TextEncoder,xd=new TextDecoder("utf-8"),Cd=(C.create=function(){Pd();var e=Sr(),t=xr(e),r=new D(void 0);return new C(e,{attributes:[],namespaceDeclarations:[{prefix:"w",namespaceUri:he}]},void 0,[{type:"paragraph",paragraph:r}],void 0,Fd(Zr(e,t),on(e,t),Fn(e)))},C.fromPackage=function(e,t){Pd();var r,n,i,o,a=xr(e),l=Tr(e,a);if(void 0===l)throw new N("Main document part is missing");var s,l=Ce(xd.decode(l.data),t);Fi(l);try{for(var u=gd(l.children),c=u.next();!c.done;c=u.next())if("element"===(m=c.value).kind&&te(m,"background")){s=m;break}}catch(e){p={error:e}}finally{try{c&&!c.done&&(h=u.return)&&h.call(u)}finally{if(p)throw p.error}}var d,h=Fd(Zr(e,a,t),on(e,a,t),Fn(e,t)),p=Li(l),f=_r(),v=[];try{for(var m,y=gd(p.children),g=y.next();!g.done;g=y.next())"element"===(m=g.value).kind&&(te(m,"sectPr")?d=m:v.push.apply(v,wd(Zu([m],f))))}catch(e){r={error:e}}finally{try{g&&!g.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}var b=new C(e,{attributes:l.attributes,namespaceDeclarations:0<l.namespaceDeclarations.length?l.namespaceDeclarations:[{prefix:"w",namespaceUri:he}]},s,[],void 0,h);b.hydratePartitionedSections(v,d);try{for(var w=gd(h.values()),P=w.next();!P.done;P=w.next()){var S=P.value;null!=S.afterMainDocumentLoad&&S.afterMainDocumentLoad(b)}}catch(e){i={error:e}}finally{try{P&&!P.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}return b},C.prototype.hydratePartitionedSections=function(e,t){for(var r,n,i=ld(e,t),o=[],a=0;a<i.length;a+=1){var l=i[a],s=id(l.properties),s=void 0!==s&&"function"==typeof s.toOpenXml?s:void 0,u=new dd(this,l.items,s);o.push(u),nd(s,this),l.isFinal||void 0===s||void 0!==(l=(l=l.items)[l.length-1])&&"paragraph"===l.type&&l.paragraph.replaceSectionBreakPropertiesModel(s)}this.sectionsInstance.replaceAll(o),this.sectPr=void 0,this.finalSectionModel=void 0;var e=i[i.length-1],c=o[o.length-1];void 0!==e&&void 0!==c&&(void 0!==(e=id(e.properties))&&"function"==typeof e.toOpenXml?(this.finalSectionModel=e,c.setPageSetup(this.finalSectionModel),nd(this.finalSectionModel,this),this.sectPr=void 0):void 0!==t?"element"===t.kind?(this.sectPr=t,c.setPageSetup(void 0)):(this.finalSectionModel=t,c.setPageSetup(this.finalSectionModel),nd(this.finalSectionModel,this)):c.setPageSetup(void 0));for(a=0;a<o.length;a+=1){var d=(u=o[a]).body;try{for(var h=gd(d.listBlocks()),p=h.next();!p.done;p=h.next()){var f=p.value;"paragraph"===f.type?f.paragraph.attach(d):"feature"===f.type&&kd(f.value,this)}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}Zi(d.listBlocks(),this),u.syncCollections()}},C.prototype.repartitionFromBodyBlocks=function(){var e=this.finalSectionPropertiesModel(),e=void 0!==e?e:this.sectPr;this.hydratePartitionedSections(this.listBlocks().slice(),e)},C.open=function(e,t){var r;return"string"==typeof e&&void 0!==t&&"base64"===t.format?(r={format:"base64",limits:t.limits},C.openSync(e,r)):C.openSync(e,t)},C.openAsync=Id,C.openSync=function(e,t){e=function(e,t){if("string"!=typeof e)return function(e){if(e instanceof Uint8Array)return e;return new Uint8Array(e)}(e);if(null==t||"base64"!==t.format)throw Td();return function(e){if("string"!=typeof e||0===e.trim().length)throw new ne("open(..., { format: 'base64' }) requires a non-empty base64 string");e=function(e){var t=e.indexOf(",");if(0<=t&&/^data:/i.test(e)&&/;base64/i.test(e.slice(0,t)))return e.slice(t+1);return e}(e).replace(/\s+/g,"");try{return vd(e)}catch(e){throw new ne("Invalid base64 payload for open(..., { format: 'base64' })",{cause:e})}}(e)}(e,t);return C.fromPackage(Ir(e,null==t?void 0:t.limits),null==t?void 0:t.limits)},C.load=function(e,t){var r;return"string"==typeof e&&void 0!==t&&"base64"===t.format?(r={format:"base64",limits:t.limits},C.open(e,r)):C.open(e,t)},C.loadAsync=Id,C.loadSync=function(e,t){var r;return"string"==typeof e&&void 0!==t&&"base64"===t.format?(r={format:"base64",limits:t.limits},C.openSync(e,r)):C.openSync(e,t)},Object.defineProperty(C.prototype,"sections",{get:function(){return this.sectionsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"lastSection",{get:function(){var e=this.sectionsInstance.count,e=this.sectionsInstance[e-1];if(void 0===e)throw new N("Document must have at least one section");return e},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"lastParagraph",{get:function(){var e=this.lastSection.body.listParagraphs(),e=e[e.length-1];if(void 0===e)throw new N("Last section has no block-level paragraph (model invariant violated)");return e},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"body",{get:function(){return this.firstSectionBody()},enumerable:!0,configurable:!0}),C.prototype.appendParagraph=function(e){return this.body.appendParagraph(e)},C.prototype.addSection=function(){return this.sectionsInstance.add()},C.prototype.assertAttachedParagraph=function(t){var r,e;try{for(var n=gd(this.sectionsInstance.asArray()),i=n.next();!i.done;i=n.next())if(i.value.body.listBlocks().some(function(e){return"paragraph"===e.type&&e.paragraph===t}))return}catch(e){r={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(r)throw r.error}}throw new N("This paragraph is no longer in the document")},C.prototype.owningDocument=function(){return this},Object.defineProperty(C.prototype,"altChunks",{get:function(){return Yi(this.listBlocks())},enumerable:!0,configurable:!0}),C.prototype.firstSectionBody=function(){var e=this.sectionsInstance[0];if(void 0===e)throw new N("Document must have at least one section");return e.body},C.prototype.listParagraphs=function(){var t,e,r=[];try{for(var n=gd(this.sectionsInstance.asArray()),i=n.next();!i.done;i=n.next())for(var o=i.value.body.listParagraphs(),a=0;a<o.length;a+=1)r.push(o[a])}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},C.prototype.listBlocks=function(){var t,e,r=[];try{for(var n=gd(this.sectionsInstance.asArray()),i=n.next();!i.done;i=n.next())for(var o=i.value.body.listBlocks(),a=0;a<o.length;a+=1)r.push(o[a])}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},C.prototype.appendBlock=function(e){this.firstSectionBody().appendRawBlock(e)},C.prototype.insertBlockAt=function(e,t){this.firstSectionBody().insertRawBlockAt(e,t)},C.prototype.insertParagraphAtBlockIndex=function(e){var t=new D(void 0);return this.insertBlockAt(e,{type:"paragraph",paragraph:t}),t},C.prototype.insertParagraph=function(e){return this.firstSectionBody().paragraphs.insert(e)},C.prototype.removeParagraph=function(e){this.firstSectionBody().paragraphs.remove(e)},C.prototype.removeBlockAt=function(e){this.firstSectionBody().removeRawBlockAt(e)},C.prototype.toOpenXml=function(){var t=this,r=this.sectionsInstance.asArray(),e=Ku(cd(r.map(function(n,e){return{listBlocks:function(){return n.body.listBlocks()},pageSetup:n.internalPageSetupModel(),pageSetupXml:e===r.length-1&&void 0===n.internalPageSetupModel()?t.sectPr:void 0,replaceItems:function(e){n.body.replaceItems(e);for(var t=0;t<e.length;t+=1){var r=e[t];"paragraph"===r.type&&r.paragraph.attach(n.body)}},isLast:e===r.length-1}}))),n=this.bodySectPr(),n=(void 0!==n&&e.push(n),[]);return void 0!==this.background&&n.push(this.background),n.push(b("body",{children:e})),b("document",{attributes:this.rootExtra.attributes,namespaceDeclarations:this.rootExtra.namespaceDeclarations,children:n})},C.prototype.preservedBackground=function(){return this.background},C.prototype.bodySectPr=function(){var e;return void 0!==this.finalSectionModel?this.finalSectionModel.toOpenXml():void 0!==(e=null==(e=(e=this.sectionsInstance.asArray())[e.length-1])?void 0:e.internalPageSetupModel())?e.toOpenXml():this.sectPr},C.prototype.replaceBodySectPr=function(e){this.finalSectionModel=void 0,this.sectPr=e;e=this.sectionsInstance.asArray(),e=e[e.length-1];void 0!==e&&e.setPageSetup(void 0)},C.prototype.finalSectionPropertiesModel=function(){var e;return void 0!==this.finalSectionModel?this.finalSectionModel:null==(e=(e=this.sectionsInstance.asArray())[e.length-1])?void 0:e.internalPageSetupModel()},C.prototype.replaceFinalSectionPropertiesModel=function(e){void 0!==(this.finalSectionModel=e)&&(this.sectPr=void 0);var t=this.sectionsInstance.asArray(),t=t[t.length-1];void 0!==t&&t.setPageSetup(e),void 0!==e&&nd(e,this)},C.prototype.featurePart=function(e){return this.featureParts.get(e)},C.prototype.setFeaturePart=function(e,t){this.featureParts.set(e,t)},C.prototype.opcPackage=function(){return this.pkg},C.prototype.saveSync=function(e){var t=this.saveSyncBytes();return null!=e&&"base64"===e.format?Vd(t):t},C.prototype.saveSyncBytes=function(){Un(this);var t,e=xr(this.pkg),r=this.pkg,n=new Map,i=new Map,o=new Map;try{for(var a=gd(this.featureParts),l=a.next();!l.done;l=a.next()){var s=bd(l.value,2),u=s[0],c=s[1];(Bi(c)?i:Ri(c)?o:n).set(u,c)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(d=a.return)&&d.call(a)}finally{if(t)throw t.error}}var r=On(Jr(sn(r,e,i),e,n),o),d=Fe(this.toOpenXml());return r=Fr(r,e,Sd.encode(d)),Vr(this.pkg=r)},C.prototype.save=function(r){return md(this,void 0,void 0,function(){var t;return yd(this,function(e){switch(e.label){case 0:return t=this.saveSyncBytes(),void 0===r?[2,t]:"object"==typeof r&&"base64"===r.format?[2,Vd(t)]:[4,function(e,t){if("string"!=typeof e||0===e.trim().length)throw new ne("save(fileName) requires a non-empty file name string");var r=function(){var e=Function("return this")().window;if(null!=e&&null!=e.document&&"function"==typeof e.document.createElementNS)return e.document}();if(void 0===r)throw new ae("save(fileName) downloads in the browser and does not write a filesystem path. Use save() or saveSync() and write the bytes from application code.");var n,e=function(e){var e=e.trim(),t=e.split(/[/\\]/),t=t[t.length-1];return void 0!==t&&0<t.length?t:e}(e),i=Function("return this")(),t=new i.Blob([t],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}),o=i.navigator;return null!=o&&"function"==typeof o.msSaveBlob?o.msSaveBlob(t,e):(n=i.URL.createObjectURL(t),(o=r.createElementNS("http://www.w3.org/1999/xhtml","a")).download=e,o.href=n,(t=r.createEvent("MouseEvent")).initEvent("click",!0,!0),o.dispatchEvent(t),i.setTimeout(function(){i.URL.revokeObjectURL(n)},0)),Promise.resolve()}(r,t)];case 1:return e.sent(),[2]}})})},C);function C(e,t,r,n,i,o){this.pkg=e,this.rootExtra=t,this.background=r,this.sectPr=i,this.finalSectionModel=void 0,this.featureParts=o;var a,l,e=new dd(this,n),s=(this.sectionsInstance=new Jc(this,[e]),e.body);try{for(var u=gd(s.listBlocks()),c=u.next();!c.done;c=u.next()){var d=c.value;"paragraph"===d.type?d.paragraph.attach(s):"feature"===d.type&&kd(d.value,this)}}catch(e){a={error:e}}finally{try{c&&!c.done&&(l=u.return)&&l.call(u)}finally{if(a)throw a.error}}Zi(s.listBlocks(),this),e.syncCollections()}function Id(e,t){if("object"==typeof(r=e)&&null!==r&&"arrayBuffer"in r&&"function"==typeof r.arrayBuffer)return e.arrayBuffer().then(function(e){return Cd.openSync(e,t)});var r,n;try{return"string"==typeof e?void 0!==t&&"base64"===t.format?(n={format:"base64",limits:t.limits},Promise.resolve(Cd.openSync(e,n))):Promise.reject(Td()):Promise.resolve(Cd.openSync(e,t))}catch(e){return Promise.reject(e)}}function Vd(e){return fd(e)}function Td(){return new ne("open/load does not read a filesystem path. Pass Uint8Array, ArrayBuffer, base64 with { format: 'base64' }, or a File/Blob to openAsync/loadAsync.")}function kd(e,t){"object"==typeof e&&null!==e&&"bindDocument"in e&&e.bindDocument.call(e,t)}function Fd(e,t,r){var n,i,o,a,l,s,u=new Map;try{for(var c=gd(e),d=c.next();!d.done;d=c.next()){var h=bd(d.value,2),p=h[0],f=h[1];u.set(p,f)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}try{for(var v=gd(t),m=v.next();!m.done;m=v.next()){var y=bd(m.value,2),p=y[0],f=y[1];u.set(p,f)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}try{for(var g=gd(r),b=g.next();!b.done;b=g.next()){var w=bd(b.value,2),p=w[0],f=w[1];u.set(p,f)}}catch(e){l={error:e}}finally{try{b&&!b.done&&(s=g.return)&&s.call(g)}finally{if(l)throw l.error}}return u}var Dd=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Od=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Dd(arguments[t]));return e},Nd=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Ad=Er("bookmarks"),Ed=["id","name","colFirst","colLast"];function Ld(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)});return null==e?void 0:e.value}function Rd(e,r){return e.attributes.filter(function(e){var t;return!("space"===e.localName&&"xml"===e.prefix||("w"===(t=e).prefix||""===t.namespaceUri||0<=t.namespaceUri.indexOf("wordprocessingml"))&&-1!==Ed.indexOf(e.localName)&&r.has(e.localName))})}function Bd(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function _d(e){return Bd(e)}function jd(e){if(0!==e.length)for(var t=0;t<e.length;t+=1){var r=e.charCodeAt(t);if(32!==r&&9!==r&&10!==r&&13!==r)return 1}}function Md(e){if(!jd(e))throw new J("content/invalid-bookmark","Bookmark name must not be empty")}function zd(e,t){if("number"!=typeof e||!Number.isFinite(e)||e<0||Math.floor(e)!==e)throw new J("content/invalid-bookmark",t+" must be a non-negative integer")}Object.defineProperty(Hd.prototype,"bookmarkId",{get:function(){return this.bookmarkIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(Hd.prototype,"name",{get:function(){return this.nameValue},set:function(e){Md(e),this.nameValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Hd.prototype,"firstColumn",{get:function(){return this.firstColumnValue},set:function(e){void 0!==e&&zd(e,"firstColumn"),this.firstColumnValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Hd.prototype,"lastColumn",{get:function(){return this.lastColumnValue},set:function(e){void 0!==e&&zd(e,"lastColumn"),this.lastColumnValue=e},enumerable:!0,configurable:!0}),Hd.prototype.setBookmarkId=function(e){this.bookmarkIdValue=e},Hd.prototype.isPendingBookmarkId=function(){return this.bookmarkIdValue<0},Hd.prototype.residualAttributes=function(){return this.residual},Hd.prototype.releaseContent=function(){},Hd.prototype.toOpenXml=function(){var e=[y("id",String(this.bookmarkIdValue)),y("name",this.nameValue)];return void 0!==this.firstColumnValue&&e.push(y("colFirst",String(this.firstColumnValue))),void 0!==this.lastColumnValue&&e.push(y("colLast",String(this.lastColumnValue))),e.push.apply(e,Od(this.residual)),b("bookmarkStart",{attributes:e})};var Ud=Hd;function Hd(e,t,r){Md(t),this.bookmarkIdValue=e,this.nameValue=t,this.firstColumnValue=null==r?void 0:r.firstColumn,this.lastColumnValue=null==r?void 0:r.lastColumn,this.residual=void 0!==(null==r?void 0:r.residualAttributes)?Od(r.residualAttributes):[]}Object.defineProperty(Gd.prototype,"bookmarkId",{get:function(){return this.bookmarkIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(Gd.prototype,"name",{get:function(){return this.nameValue},set:function(e){0<e.length&&Md(e),this.nameValue=e},enumerable:!0,configurable:!0}),Gd.prototype.setBookmarkId=function(e){this.bookmarkIdValue=e},Gd.prototype.isPendingBookmarkId=function(){return this.bookmarkIdValue<0},Gd.prototype.releaseContent=function(){},Gd.prototype.toOpenXml=function(){return b("bookmarkEnd",{attributes:[y("id",String(this.bookmarkIdValue))]})};var Wd=Gd;function Gd(e,t){this.bookmarkIdValue=e,this.nameValue=void 0!==t?t:""}Object.defineProperty(Xd.prototype,"name",{get:function(){return this.startMarkerValue.name},enumerable:!0,configurable:!0}),Object.defineProperty(Xd.prototype,"bookmarkStart",{get:function(){return this.startMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xd.prototype,"bookmarkEnd",{get:function(){return this.endMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xd.prototype,"firstColumn",{get:function(){return this.startMarkerValue.firstColumn},set:function(e){this.startMarkerValue.firstColumn=e},enumerable:!0,configurable:!0}),Object.defineProperty(Xd.prototype,"lastColumn",{get:function(){return this.startMarkerValue.lastColumn},set:function(e){this.startMarkerValue.lastColumn=e},enumerable:!0,configurable:!0}),Object.defineProperty(Xd.prototype,"bookmarkId",{get:function(){return this.startMarkerValue.bookmarkId},enumerable:!0,configurable:!0}),Object.defineProperty(Xd.prototype,"startMarker",{get:function(){return this.startMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xd.prototype,"endMarker",{get:function(){return this.endMarkerValue},enumerable:!0,configurable:!0});var qd=Xd;function Xd(e,t){this.startMarkerValue=e,this.endMarkerValue=t,0===this.endMarkerValue.name.length&&0<e.name.length&&(this.endMarkerValue.name=e.name)}function Yd(e){var i=[];return Mn(e,function(e){for(var t=e.items.toArray(),r=0;r<t.length;r+=1){var n=t[r];void 0!==n&&n instanceof F&&(n.value instanceof Ud||n.value instanceof Wd)&&i.push(n.value)}}),i}function Zd(e,t){for(var r=Yd(e),n=0;n<r.length;n+=1)t(r[n].bookmarkId)}function Kd(e){e=e,t=new Set,Zd(e,function(e){t.add(e)});for(var t,r=t,n=-1;r.has(n);)--n;return n}function Jd(e){return Kd(e)}var $d=new WeakMap;function Qd(e){for(var t=Yd(e),r=new Set,n=[],i=0;i<t.length;i+=1){var o=t[i];if(o instanceof Ud)for(var a=o,l=i+1;l<t.length;l+=1){var s=t[l];if(s instanceof Wd&&(s.bookmarkId===a.bookmarkId&&!r.has(s))){r.add(s);var u=$d.get(a);void 0!==u&&u.bookmarkEnd===s||(u=new qd(a,s),$d.set(a,u)),n.push(u);break}}}return n}function eh(e,t){for(var r=Qd(e),n=0;n<r.length;n+=1)if(r[n].name===t)return r[n]}function th(e,i){var o;return Mn(e,function(e){if(void 0===o)for(var t=e.items.toArray(),r=0;r<t.length;r+=1){var n=t[r];if(void 0!==n&&n instanceof F&&n.value===i)return void(o={paragraph:e,index:r})}}),o}function rh(e,t){var r=th(e,t.bookmarkStart),n=th(e,t.bookmarkEnd);if(void 0===r||void 0===n)throw new J("content/unknown-bookmark","Bookmark markers are not in this document");if(r.paragraph===n.paragraph)if(n.index>r.index)n.paragraph.removeFeatureInline(t.bookmarkEnd),r.paragraph.removeFeatureInline(t.bookmarkStart);else{r.paragraph.removeFeatureInline(t.bookmarkStart);e=th(e,t.bookmarkEnd);if(void 0===e)throw new J("content/unknown-bookmark","Bookmark end marker is not in this document");e.paragraph.removeFeatureInline(t.bookmarkEnd)}else n.paragraph.removeFeatureInline(t.bookmarkEnd),r.paragraph.removeFeatureInline(t.bookmarkStart);$d.delete(t.bookmarkStart)}Object.defineProperty(ih.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.cachedLength},enumerable:!0,configurable:!0}),ih.prototype.itemAt=function(e){return Qd(this.document)[e]},ih.prototype.findByName=function(e){return eh(this.document,e)},ih.prototype.remove=function(e){rh(this.document,e),this.rebuildIndexProperties()},ih.prototype.removeAt=function(e){var t=Qd(this.document);if(e<0||e>=t.length)throw new RangeError("Bookmark index "+String(e)+" is out of range");rh(this.document,t[e]),this.rebuildIndexProperties()},ih.prototype.clear=function(){for(var e=Qd(this.document).slice(),t=0;t<e.length;t+=1)rh(this.document,e[t]);this.rebuildIndexProperties()},ih.prototype[Symbol.iterator]=function(){var t=Qd(this.document).slice(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},ih.prototype.rebuildIndexProperties=function(){for(var e=Qd(this.document),t=e.length,r=this.cachedLength,n=t<r?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t};var nh=ih;function ih(e){this.cachedLength=0,this.document=e}var oh=new WeakMap;function ah(e){sh();var t=oh.get(e);return void 0!==t?t.rebuildIndexProperties():((t=new nh(e)).rebuildIndexProperties(),oh.set(e,t)),t}Object.defineProperty(Cd.prototype,"bookmarks",{configurable:!0,enumerable:!1,get:function(){return ah(this)}});var lh=!1;function sh(){lh||(lh=!0,Rr({id:Ad}),Pn({featureId:Ad,wmlLocalName:"bookmarkStart",tryParse:function(e){if(te(e,"bookmarkStart")){var t,r,n,i,o=Bd(Ld(e,"id")),a=Ld(e,"name");if(void 0!==o&&void 0!==a&&jd(a))return(t=new Set).add("id"),t.add("name"),r=_d(n=Ld(e,"colFirst")),void 0!==n&&void 0!==r&&t.add("colFirst"),i=_d(n=Ld(e,"colLast")),void 0!==n&&void 0!==i&&t.add("colLast"),new Ud(o,a,{firstColumn:r,lastColumn:i,residualAttributes:Rd(e,t)})}}}),Pn({featureId:Ad,wmlLocalName:"bookmarkEnd",tryParse:function(e){if(te(e,"bookmarkEnd")){e=Bd(Ld(e,"id"));if(void 0!==e)return new Wd(e)}}}),_n({featureId:Ad,materialize:function(e){var s,u;e=e,s=new Map,u=0,Zd(e,function(e){0<=e&&u<=e&&(u=e+1)}),Mn(e,function(e){var t,r;try{for(var n=Nd(e.items),i=n.next();!i.done;i=n.next()){var o,a,l=i.value;l instanceof F&&(l.value instanceof Ud&&l.value.isPendingBookmarkId()&&(o=l.value.bookmarkId,void 0===(a=s.get(o))&&(a=u,u+=1,s.set(o,a)),l.value.setBookmarkId(a)),l.value instanceof Wd)&&l.value.isPendingBookmarkId()&&(o=l.value.bookmarkId,void 0===(a=s.get(o))&&(a=u,u+=1,s.set(o,a)),l.value.setBookmarkId(a))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}})}}))}D.prototype.appendBookmarkStart=function(e){Md(e);var t=Jd(this.owningDocument()),t=new Ud(t,e);return this.appendFeatureInline(Ad,t),t},D.prototype.appendBookmarkEnd=function(e){e=new Wd(e.bookmarkId,e.name);return this.appendFeatureInline(Ad,e),e},D.prototype.appendBookmark=function(e,t){Md(e);var r=Jd(this.owningDocument()),n=new Ud(r,e),t=(this.appendFeatureInline(Ad,n),null==t?void 0:t.text),t=(void 0!==t&&0<t.length&&this.appendText(t),new Wd(r,e));return this.appendFeatureInline(Ad,t),new qd(n,t)},ui(function(){sh()}),sh();var uh=function(){return(uh=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},ch=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},dh="http://schemas.microsoft.com/office/2011/relationships/commentsExtended",hh="http://schemas.microsoft.com/office/2011/relationships/people",ph="http://schemas.microsoft.com/office/2016/09/relationships/commentsIds",fh="http://schemas.microsoft.com/office/2018/08/relationships/commentsExtensible",vh="http://schemas.microsoft.com/office/word/2012/wordml",mh="http://schemas.microsoft.com/office/word/2016/wordml/cid",yh="http://schemas.microsoft.com/office/word/2018/wordml/cex",gh=new TextDecoder("utf-8"),bh={extendedEntryCount:0,extendedEntries:[],peopleCount:0,peopleAuthors:[],idsEntryCount:0,extensibleEntryCount:0},sc={extended:void 0,people:void 0,ids:void 0,extensible:void 0};function wh(e,t,r){return e.namespaceUri===t&&e.localName===r}function Ph(e){return e.children.filter(function(e){return"element"===e.kind})}function Sh(e,t,r){e=e.attributes.find(function(e){return e.localName===r&&(e.namespaceUri===t||""===e.namespaceUri)});return null==e?void 0:e.value}function xh(e){var t,r,n=0,i=[];try{for(var o=ch(Ph(e)),a=o.next();!a.done;a=o.next()){var l,s,u=a.value;wh(u,vh,"commentEx")&&(n+=1,void 0!==(l=Sh(u,vh,"paraId")))&&0!==l.length&&(s=Sh(u,vh,"paraIdParent"),i.push({paraId:l,paraIdParent:void 0!==s&&0<s.length?s:void 0,done:function(e){if(void 0!==e)return"0"!==e}(Sh(u,vh,"done"))}))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{count:n,entries:i}}function Ch(e){var t,r,n,i,o,a;if(0!==e.byteLength)try{var l,s=Ce(gh.decode(e));if(wh(s,vh,"commentsEx"))return l=xh(s),uh({},bh,{extendedEntryCount:l.count,extendedEntries:l.entries});if(wh(s,vh,"people")){var u=[],c=0;try{for(var d,h=ch(Ph(s)),p=h.next();!p.done;p=h.next())wh(m=p.value,vh,"person")&&(c+=1,void 0!==(d=Sh(m,vh,"author")))&&0<d.length&&u.push(d)}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(t)throw t.error}}return uh({},bh,{peopleCount:c,peopleAuthors:u})}if(wh(s,mh,"commentsIds")){c=0;try{for(var f=ch(Ph(s)),v=f.next();!v.done;v=f.next())wh(m=v.value,mh,"commentId")&&(c+=1)}catch(e){n={error:e}}finally{try{v&&!v.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}return uh({},bh,{idsEntryCount:c})}if(wh(s,yh,"commentsExtensible")){c=0;try{for(var m,y=ch(Ph(s)),g=y.next();!g.done;g=y.next())wh(m=g.value,yh,"commentExtensible")&&(c+=1)}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}return uh({},bh,{extensibleEntryCount:c})}}catch(e){return uh({},bh)}}function Ih(e,t,r){var n,i;try{for(var o=ch(kr(e,t).items),a=o.next();!a.done;a=o.next()){var l=a.value;if(l.type===r&&l.targetMode!==tr.External){var s=Tr(e,Xt(l.target,t));if(void 0!==s)return s.data}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Vh(e,t){var r=Ih(e,t,dh),n=Ih(e,t,hh),i=Ih(e,t,ph),e=Ih(e,t,fh);return{extended:void 0===r?void 0:Ch(r),people:void 0===n?void 0:Ch(n),ids:void 0===i?void 0:Ch(i),extensible:void 0===e?void 0:Ch(e)}}kh.prototype.extendedPresent=function(){return void 0!==this.metadata.extended},kh.prototype.extendedEntryCount=function(){var e=null==this.metadata.extended?void 0:this.metadata.extended.extendedEntryCount;return null!=e?e:0},kh.prototype.extendedEntries=function(){var e=null==this.metadata.extended?void 0:this.metadata.extended.extendedEntries;return null!=e?e:[]},kh.prototype.peoplePresent=function(){return void 0!==this.metadata.people},kh.prototype.peopleCount=function(){var e=null==this.metadata.people?void 0:this.metadata.people.peopleCount;return null!=e?e:0},kh.prototype.peopleAuthors=function(){var e=null==this.metadata.people?void 0:this.metadata.people.peopleAuthors;return null!=e?e:[]},kh.prototype.idsPresent=function(){return void 0!==this.metadata.ids},kh.prototype.idsEntryCount=function(){var e=null==this.metadata.ids?void 0:this.metadata.ids.idsEntryCount;return null!=e?e:0},kh.prototype.extensiblePresent=function(){return void 0!==this.metadata.extensible},kh.prototype.extensibleEntryCount=function(){var e=null==this.metadata.extensible?void 0:this.metadata.extensible.extensibleEntryCount;return null!=e?e:0};var Th=kh;function kh(e){this.metadata=e}Fh=function(e,t){return(Fh=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var Fh,Dh=function(e,t){function r(){this.constructor=e}Fh(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},Oh=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Nh=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ah=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Nh(arguments[t]));return e},Eh=Er("content-controls"),Lh="http://schemas.microsoft.com/office/word/2010/wordml",Rh="http://schemas.microsoft.com/office/word/2012/wordml",Bh="w14",_h="w15",jh="Segoe UI Symbol",Mh=(zh.prototype.bind=function(e){this.onChange=e},zh.prototype.dirty=function(){void 0!==this.onChange&&this.onChange()},Object.defineProperty(zh.prototype,"font",{get:function(){return this.fontValue},set:function(e){this.fontValue=e,this.dirty()},enumerable:!0,configurable:!0}),Object.defineProperty(zh.prototype,"value",{get:function(){return this.valueValue},set:function(e){this.valueValue=e,this.dirty()},enumerable:!0,configurable:!0}),zh);function zh(e){this.fontValue=null!=e?e.font:void 0,this.valueValue=null!=e?e.value:void 0,this.onChange=void 0}Hh.prototype.bind=function(e){this.onChange=e},Hh.prototype.dirty=function(){void 0!==this.onChange&&this.onChange()},Object.defineProperty(Hh.prototype,"displayText",{get:function(){return this.displayTextValue},set:function(e){this.displayTextValue=e,this.dirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Hh.prototype,"value",{get:function(){return this.valueValue},set:function(e){this.valueValue=e,this.dirty()},enumerable:!0,configurable:!0});var Uh=Hh;function Hh(){this.displayTextValue=void 0,this.valueValue=void 0,this.onChange=void 0}Gh.prototype.bind=function(e){this.onChange=e;for(var t=0;t<this.items.length;t++)this.items[t].bind(e)},Gh.prototype.dirty=function(){void 0!==this.onChange&&this.onChange()},Object.defineProperty(Gh.prototype,"count",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Gh.prototype.getItem=function(e){if(e<0||e>=this.items.length)throw new RangeError("List item index out of range");return this.items[e]},Gh.prototype.toArray=function(){return this.items.slice()},Gh.prototype.add=function(e){void 0!==this.onChange&&e.bind(this.onChange),this.items.push(e),this.dirty()},Gh.prototype.clear=function(){this.items.length=0,this.dirty()},Gh.prototype.asReadonly=function(){return this.items};var Wh=Gh;function Gh(e){this.items=null!=e?e.slice():[],this.onChange=void 0}Xh.prototype.bindOwner=function(e){this.owner=e},Xh.prototype.markDirty=function(){void 0!==this.owner&&this.owner.markSdtPrDirty()},Xh.prototype.clearPayloadsForType=function(e){"checkbox"!==e&&(this.isCheckedValue=!1,this.checkedStateValue.font=void 0,this.checkedStateValue.value=void 0,this.uncheckedStateValue.font=void 0,this.uncheckedStateValue.value=void 0),"date"!==e&&(this.fullDateValue=void 0,this.dateDisplayFormatValue=void 0,this.dateDisplayLocaleValue=void 0,this.dateStorageFormatValue=void 0,this.dateCalendarTypeValue=void 0),"comboBox"!==e&&"dropDownList"!==e&&(this.contentControlListItemsValue.clear(),this.lastValueValue=void 0),"plainText"!==e&&(this.multilineValue=void 0)},Object.defineProperty(Xh.prototype,"tag",{get:function(){return this.tagValue},set:function(e){this.tagValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"title",{get:function(){return this.titleValue},set:function(e){this.titleValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"id",{get:function(){return this.idValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"lockContentControl",{get:function(){return this.lockContentControlValue},set:function(e){this.lockContentControlValue=!0===e,this.lockContentControlValue&&(this.temporaryValue=!1),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"lockContents",{get:function(){return this.lockContentsValue},set:function(e){this.lockContentsValue=!0===e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"lockWire",{get:function(){return e=this.lockContentControlValue,t=this.lockContentsValue,e&&t?"sdtContentLocked":e?"sdtLocked":t?"contentLocked":void 0;var e,t},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"placeholderDocPart",{get:function(){return this.placeholderDocPartValue},set:function(e){this.placeholderDocPartValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"dataBinding",{get:function(){return this.dataBindingValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"type",{get:function(){return this.typeValue},set:function(e){sp(e),this.typeValue=e,this.clearPayloadsForType(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"isTemporary",{get:function(){return this.temporaryValue},set:function(e){this.temporaryValue=!0===e,this.temporaryValue&&(this.lockContentControlValue=!1),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"temporary",{get:function(){return this.temporaryValue},set:function(e){this.isTemporary=!0===e},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"appearance",{get:function(){return this.appearanceValue},set:function(e){this.appearanceValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"color",{get:function(){return this.colorValue},set:function(e){this.colorValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"themeColor",{get:function(){return this.themeColorValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"themeTint",{get:function(){return this.themeTintValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"themeShade",{get:function(){return this.themeShadeValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"isChecked",{get:function(){return this.isCheckedValue},set:function(e){this.isCheckedValue=!0===e,"checkbox"!==this.typeValue&&(this.typeValue="checkbox",this.clearPayloadsForType("checkbox"),this.isCheckedValue=!0===e),this.markDirty(),void 0!==this.owner&&this.owner.synchronizeCheckboxContent()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"checkedState",{get:function(){return this.checkedStateValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"uncheckedState",{get:function(){return this.uncheckedStateValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"fullDate",{get:function(){return this.fullDateValue},set:function(e){void 0!==(this.fullDateValue=e)&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.fullDateValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"dateDisplayFormat",{get:function(){return this.dateDisplayFormatValue},set:function(e){void 0!==(this.dateDisplayFormatValue=e)&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.dateDisplayFormatValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"dateDisplayLocale",{get:function(){return this.dateDisplayLocaleValue},set:function(e){void 0!==(this.dateDisplayLocaleValue=e)&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.dateDisplayLocaleValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"dateStorageFormat",{get:function(){return this.dateStorageFormatValue},set:function(e){void 0!==(this.dateStorageFormatValue=e)&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.dateStorageFormatValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"dateCalendarType",{get:function(){return this.dateCalendarTypeValue},set:function(e){void 0!==(this.dateCalendarTypeValue=e)&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.dateCalendarTypeValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"contentControlListItems",{get:function(){return this.contentControlListItemsValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"lastValue",{get:function(){return this.lastValueValue},set:function(e){void 0!==(this.lastValueValue=e)&&"comboBox"!==this.typeValue&&"dropDownList"!==this.typeValue&&(this.typeValue="dropDownList",this.clearPayloadsForType(this.typeValue),this.lastValueValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"multiline",{get:function(){return this.multilineValue},set:function(e){void 0!==(this.multilineValue=e)&&(this.typeValue="plainText",this.clearPayloadsForType("plainText"),this.multilineValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"residualChildren",{get:function(){return this.residualChildrenValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"leftoverAttributes",{get:function(){return this.leftoverAttributesValue},enumerable:!0,configurable:!0}),Object.defineProperty(Xh.prototype,"namespaceDeclarations",{get:function(){return this.namespaceDeclarationsValue},enumerable:!0,configurable:!0});var qh=Xh;function Xh(e){function t(){r.markDirty()}var r=this,e=null!=e?e:{},n=(this.tagValue=e.tag,this.titleValue=e.title,this.idValue=e.id,void 0!==e.lock?"sdtLocked"===(n=e.lock)?{lockContentControl:!0,lockContents:!1}:"contentLocked"===n?{lockContentControl:!1,lockContents:!0}:"sdtContentLocked"===n?{lockContentControl:!0,lockContents:!0}:{lockContentControl:!1,lockContents:!1}:{lockContentControl:!0===e.lockContentControl,lockContents:!0===e.lockContents});this.lockContentControlValue=n.lockContentControl,this.lockContentsValue=n.lockContents,this.placeholderDocPartValue=e.placeholderDocPart,this.dataBindingValue=e.dataBinding,this.typeValue=e.type,this.temporaryValue=!0===e.temporary,this.appearanceValue=e.appearance,this.colorValue=e.color,this.themeColorValue=e.themeColor,this.themeTintValue=e.themeTint,this.themeShadeValue=e.themeShade,this.isCheckedValue=!0===e.isChecked,this.checkedStateValue=null!=e.checkedState?e.checkedState:new Mh("checkbox"===e.type?{font:jh,value:"2612"}:void 0),this.uncheckedStateValue=null!=e.uncheckedState?e.uncheckedState:new Mh("checkbox"===e.type?{font:jh,value:"2610"}:void 0),this.fullDateValue=e.fullDate,this.dateDisplayFormatValue=e.dateDisplayFormat,this.dateDisplayLocaleValue=e.dateDisplayLocale,this.dateStorageFormatValue=e.dateStorageFormat,this.dateCalendarTypeValue=e.dateCalendarType,this.contentControlListItemsValue=new Wh(e.listItems),this.lastValueValue=e.lastValue,this.multilineValue=e.multiline,this.residualChildrenValue=null!=e.residualChildren?e.residualChildren:[],this.leftoverAttributesValue=null!=e.leftoverAttributes?e.leftoverAttributes:[],this.namespaceDeclarationsValue=null!=e.namespaceDeclarations?e.namespaceDeclarations:[],this.owner=void 0;this.checkedStateValue.bind(t),this.uncheckedStateValue.bind(t),this.contentControlListItemsValue.bind(t)}function Yh(e,t){return e.namespaceUri===Lh&&e.localName===t}function Zh(e,t){return e.namespaceUri===Rh&&e.localName===t}function Kh(e,t){e=e.attributes.find(function(e){return e.localName===t});return null==e?void 0:e.value}function Jh(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||hn(e.namespaceUri)||"w"===e.prefix)});return null==e?void 0:e.value}function $h(e){return Jh(e,"val")}function Qh(e){return Kh(e,"val")}function ep(e){return void 0===e||0===e.length||"true"===(e=e.trim().toLowerCase())||"1"===e||"on"===e||"false"!==e&&"0"!==e&&"off"!==e&&void 0}function tp(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix||e.namespaceUri.includes("wordprocessingml")||e.namespaceUri===Lh||e.namespaceUri===Rh)});return null==e?void 0:e.value}function rp(e,t,r,n){return{namespaceUri:e,localName:r,prefix:t,value:n}}function np(e,t,r,n){return{kind:"element",namespaceUri:e,localName:r,prefix:t,attributes:null!=(e=null==n?void 0:n.attributes)?e:[],namespaceDeclarations:null!=(r=null==n?void 0:n.namespaceDeclarations)?r:[],children:null!=(t=null==n?void 0:n.children)?t:[]}}var ip=new Map([["comboBox","comboBox"],["date","date"],["dropDownList","dropDownList"],["picture","picture"],["richText","richText"],["text","plainText"]]),op=new Map([["comboBox","comboBox"],["date","date"],["dropDownList","dropDownList"],["picture","picture"],["richText","richText"],["plainText","text"],["checkbox","checkbox"]]),ap=new Set(["equation","docPartObj","docPartList","citation","group","bibliography"]),lp=new Set(["comboBox","date","dropDownList","picture","richText","plainText","checkbox"]);function sp(e){if(void 0!==e&&!lp.has(e))throw new Error("Content control type '"+e+"' is not authorable.")}function up(e){var t,r,n,i,o,a;try{for(var l=Oh(re(e)),s=l.next();!s.done;s=l.next()){var u,c=s.value;te(c,"dateFormat")?n=$h(c):te(c,"lid")?void 0!==(u=$h(c))&&(i=Eo(u)):te(c,"storeMappedDataAs")?o=function(e){if("text"===e||"date"===e||"dateTime"===e)return e}($h(c)):te(c,"calendar")&&(a=function(e){if("gregorian"===e||"hijri"===e||"hebrew"===e||"taiwan"===e||"japan"===e||"thai"===e||"korea"===e||"saka"===e||"gregorianArabic"===e||"gregorianMiddleEastFrench"===e||"gregorianTransliteratedEnglish"===e||"gregorianTransliteratedFrench"===e||"gregorianUsLocale"===e)return e}($h(c)))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return{fullDate:tp(e,"fullDate"),dateDisplayFormat:n,dateDisplayLocale:i,dateStorageFormat:o,dateCalendarType:a}}function cp(e){return new Mh({font:Kh(e,"font"),value:Kh(e,"val")})}function dp(e){var t,r,n,i;if(void 0!==e&&te(e,"sdtPr")){var o,a,l,s,u,c,d,h,p,f,v,m,y,g,b,w=[],P=!1,S=!1,x=!1,C=!1,R=!1,B=!1,_=!1,j=!1,M=!1,I=!1;try{for(var V=Oh(re(e)),T=V.next();!T.done;T=V.next()){var z,U,k,F,D,H,W,G,O,N,q,X,Y,Z,K,J,$,Q,A=T.value;if(te(A,"alias")&&!P)P=!0,a=$h(A);else if(te(A,"tag")&&!S)S=!0,o=$h(A);else if(te(A,"id")&&!x)x=!0,l=function(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}($h(A));else if(te(A,"lock")&&!C)C=!0,s=function(e){if("sdtLocked"===e||"contentLocked"===e||"unlocked"===e||"sdtContentLocked"===e)return e}($h(A));else if(te(A,"placeholder")&&!R){R=!0;try{for(var E=Oh(re(A)),L=E.next();!L.done;L=E.next()){var ee=L.value;te(ee,"docPart")&&(u=$h(ee))}}catch(e){n={error:e}}finally{try{L&&!L.done&&(i=E.return)&&i.call(E)}finally{if(n)throw n.error}}}else te(A,"temporary")&&!B?(B=!0,z=null==(k=ep($h(A)))||k):te(A,"dataBinding")&&!_?(_=!0,void 0!==(U=function(e){if(te(e,"dataBinding")){var t=tp(e,"xpath"),r=tp(e,"storeItemID");if(void 0!==t&&0!==t.length&&void 0!==r&&0!==r.length)return{prefixMappings:tp(e,"prefixMappings"),xpath:t,storeItemID:r}}}(A))?c=U:w.push(A)):Zh(A,"appearance")&&!j?(j=!0,void 0!==(k=function(e){if("boundingBox"===e||"tags"===e||"hidden"===e)return e}(Qh(A)))?d=k:w.push(A)):Zh(A,"color")&&!M?(M=!0,void 0!==(k={color:(b=void 0)!==(b=Kh(g=A,"val"))&&0<b.length?ko(b):void 0,themeColor:Kh(g,"themeColor"),themeTint:Kh(g,"themeTint"),themeShade:Kh(g,"themeShade")}).color||void 0!==k.themeColor||void 0!==k.themeTint||void 0!==k.themeShade?(h=k.color,p=k.themeColor,f=k.themeTint,v=k.themeShade):w.push(A)):Yh(A,"checkbox")?I?w.push(A):(I=!0,F="checkbox",H=(D=function(e){var t,r,n=!1,i=new Mh,o=new Mh;try{for(var a=Oh(re(e)),l=a.next();!l.done;l=a.next()){var s,u=l.value;Yh(u,"checked")?n=null==(s=ep(Qh(u)))||s:Yh(u,"checkedState")?i=cp(u):Yh(u,"uncheckedState")&&(o=cp(u))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return{isChecked:n,checkedState:i,uncheckedState:o}}(A)).isChecked,W=D.checkedState,G=D.uncheckedState):!(hn(A.namespaceUri)&&(y=A.localName,ip.has(y)||ap.has(y)))||I||(I=!0,ap.has(A.localName))||void 0===(O=ip.get(A.localName))?w.push(A):"plainText"===(F=O)?m=ep(Jh(A,"multiLine")):"date"===O?(q=(N=up(A)).fullDate,X=N.dateDisplayFormat,Y=N.dateDisplayLocale,Z=N.dateStorageFormat,K=N.dateCalendarType):"comboBox"!==O&&"dropDownList"!==O||($=(J=function(e){var t,r,n=[];try{for(var i=Oh(re(e)),o=i.next();!o.done;o=i.next()){var a,l=o.value;te(l,"listItem")&&((a=new Uh).displayText=tp(l,"displayText"),a.value=tp(l,"value"),n.push(a))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return{items:n,lastValue:tp(e,"lastValue")}}(A)).items,Q=J.lastValue)}}catch(e){t={error:e}}finally{try{T&&!T.done&&(r=V.return)&&r.call(V)}finally{if(t)throw t.error}}return new qh({tag:o,title:a,id:l,lock:s,placeholderDocPart:u,dataBinding:c,type:F,temporary:z,appearance:d,color:h,themeColor:p,themeTint:f,themeShade:v,isChecked:H,checkedState:W,uncheckedState:G,fullDate:q,dateDisplayFormat:X,dateDisplayLocale:Y,dateStorageFormat:Z,dateCalendarType:K,listItems:$,lastValue:Q,multiline:m,residualChildren:w,leftoverAttributes:Ah(e.attributes),namespaceDeclarations:e.namespaceDeclarations})}}function hp(e){var t=[];return void 0!==e.displayText&&t.push(y("displayText",e.displayText)),void 0!==e.value&&t.push(y("value",e.value)),b("listItem",{attributes:t})}function pp(e,t){var r=[];return void 0!==t.font&&r.push(rp(Lh,Bh,"font",t.font)),void 0!==t.value&&r.push(rp(Lh,Bh,"val",t.value)),np(Lh,Bh,e,{attributes:r})}function fp(e){var t,r,n,i,o=e.type;if(void 0!==o)return"checkbox"===o?(t=[np(Lh,Bh,"checked",{attributes:[rp(Lh,Bh,"val",(t=e).isChecked?"1":"0")]}),pp("checkedState",t.checkedState),pp("uncheckedState",t.uncheckedState)],np(Lh,Bh,"checkbox",{children:t})):"date"===o?(t=[],void 0!==(r=e).dateDisplayFormat&&t.push(b("dateFormat",{attributes:[y("val",r.dateDisplayFormat)]})),void 0!==r.dateDisplayLocale&&void 0!==(n=Lo(r.dateDisplayLocale))&&t.push(b("lid",{attributes:[y("val",n)]})),void 0!==r.dateStorageFormat&&t.push(b("storeMappedDataAs",{attributes:[y("val",r.dateStorageFormat)]})),void 0!==r.dateCalendarType&&t.push(b("calendar",{attributes:[y("val",r.dateCalendarType)]})),n=[],void 0!==r.fullDate&&n.push(y("fullDate",r.fullDate)),b("date",{attributes:n,children:t})):"comboBox"===o||"dropDownList"===o?(r="comboBox"===o?"comboBox":"dropDownList",n=e.contentControlListItems.asReadonly().map(hp),i=[],void 0!==e.lastValue&&i.push(y("lastValue",e.lastValue)),b(r,{attributes:i,children:n})):"plainText"===o?(i=[],void 0!==e.multiline&&i.push(y("multiLine",e.multiline?"1":"0")),b("text",{attributes:i})):void 0!==(e=op.get(o))?b(e):void 0}function vp(e){var t,r=[],n=(void 0!==e.title&&r.push(b("alias",{attributes:[y("val",e.title)]})),void 0!==e.tag&&r.push(b("tag",{attributes:[y("val",e.tag)]})),void 0!==e.id&&r.push(b("id",{attributes:[y("val",String(e.id))]})),e.lockWire),n=(void 0!==n&&r.push(b("lock",{attributes:[y("val",n)]})),void 0!==e.placeholderDocPart&&r.push(b("placeholder",{children:[b("docPart",{attributes:[y("val",e.placeholderDocPart)]})]})),e.isTemporary&&r.push((n="temporary",!0?b(n):b(n,{attributes:[y("val","false")]}))),void 0!==e.appearance&&r.push((n=e.appearance,np(Rh,_h,"appearance",{attributes:[rp(Rh,_h,"val",n)]}))),function(e){var t,r=void 0!==e.color?Fo(e.color):void 0,n=e.themeColor,i=e.themeTint,e=e.themeShade;if(void 0!==r||void 0!==n||void 0!==i||void 0!==e)return t=[],void 0!==r&&t.push(y("val",r)),void 0!==n&&t.push(rp(Rh,_h,"themeColor",n)),void 0!==i&&t.push(rp(Rh,_h,"themeTint",i)),void 0!==e&&t.push(rp(Rh,_h,"themeShade",e)),np(Rh,_h,"color",{attributes:t})}(e)),n=(void 0!==n&&r.push(n),void 0!==e.dataBinding&&r.push((n=e.dataBinding,l=[],void 0!==n.prefixMappings&&l.push(y("prefixMappings",n.prefixMappings)),l.push(y("xpath",n.xpath)),l.push(y("storeItemID",n.storeItemID)),b("dataBinding",{attributes:l}))),fp(e));void 0!==n&&r.push(n);try{for(var i=Oh(e.residualChildren),o=i.next();!o.done;o=i.next()){var a=o.value;r.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(s=i.return)&&s.call(i)}finally{if(t)throw t.error}}var l=Ah(e.namespaceDeclarations),n="checkbox"===e.type||l.some(function(e){return e.namespaceUri===Lh}),s=void 0!==e.appearance||void 0!==e.color||void 0!==e.themeColor||l.some(function(e){return e.namespaceUri===Rh});return n&&!l.some(function(e){return e.namespaceUri===Lh})&&l.push({prefix:Bh,namespaceUri:Lh}),s&&!l.some(function(e){return e.namespaceUri===Rh})&&l.push({prefix:_h,namespaceUri:Rh}),b("sdtPr",{attributes:e.leftoverAttributes,namespaceDeclarations:l,children:r})}var mp={assertAttachedItem:function(){}};Object.defineProperty(gp.prototype,"contentControlProperties",{get:function(){return this.ensureProperties()},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"properties",{get:function(){return this.propertiesValue},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"breakCharacterFormat",{get:function(){return this.breakCharacterFormatInstance},enumerable:!0,configurable:!0}),gp.prototype.notifyCharacterFormatMutation=function(){this.breakFormatDirty=!0,this.rebuildSdtEndPr=!0},gp.prototype.hydrateBreakCharacterFormat=function(e){var t,r;try{for(var n=Oh(re(e)),i=n.next();!i.done;i=n.next()){var o,a=i.value;if(te(a,"rPr"))return o=ta(a),this.breakCharacterFormatInstance.hydrate(o),this.breakFormatDirty=!1,void(this.rebuildSdtEndPr=!1)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},gp.prototype.serializeSdtEndPr=function(){var e;return this.rebuildSdtEndPr||this.breakFormatDirty?0===(e=this.breakCharacterFormatInstance.buildRPrChildren()).length&&void 0===this.sdtEndPrRaw?void 0:b("sdtEndPr",{children:[b("rPr",{children:e})]}):this.sdtEndPrRaw},gp.prototype.markSdtPrDirty=function(){this.rebuildSdtPr=!0},gp.prototype.synchronizeCheckboxContent=function(){},gp.prototype.ensureProperties=function(){return void 0===this.propertiesValue&&(this.propertiesValue=new qh({}),this.propertiesValue.bindOwner(this)),this.propertiesValue},Object.defineProperty(gp.prototype,"title",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.title},set:function(e){this.ensureProperties().title=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"tag",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.tag},set:function(e){this.ensureProperties().tag=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"lockContentControl",{get:function(){return this.ensureProperties().lockContentControl},set:function(e){this.ensureProperties().lockContentControl=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"lockContents",{get:function(){return this.ensureProperties().lockContents},set:function(e){this.ensureProperties().lockContents=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"placeholderText",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.placeholderDocPart},set:function(e){this.ensureProperties().placeholderDocPart=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"type",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.type},set:function(e){this.ensureProperties().type=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"isTemporary",{get:function(){return this.ensureProperties().isTemporary},set:function(e){this.ensureProperties().isTemporary=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"appearance",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.appearance},set:function(e){this.ensureProperties().appearance=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"color",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.color},set:function(e){this.ensureProperties().color=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"isChecked",{get:function(){return this.ensureProperties().isChecked},set:function(e){this.ensureProperties().isChecked=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"checkedState",{get:function(){return this.ensureProperties().checkedState},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"uncheckedState",{get:function(){return this.ensureProperties().uncheckedState},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"fullDate",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.fullDate},set:function(e){this.ensureProperties().fullDate=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"dateDisplayFormat",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.dateDisplayFormat},set:function(e){this.ensureProperties().dateDisplayFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"dateDisplayLocale",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.dateDisplayLocale},set:function(e){this.ensureProperties().dateDisplayLocale=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"dateStorageFormat",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.dateStorageFormat},set:function(e){this.ensureProperties().dateStorageFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"dateCalendarType",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.dateCalendarType},set:function(e){this.ensureProperties().dateCalendarType=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"contentControlListItems",{get:function(){return this.ensureProperties().contentControlListItems},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"lastValue",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.lastValue},set:function(e){this.ensureProperties().lastValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"multiline",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.multiline},set:function(e){this.ensureProperties().multiline=e},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"blockContentControl",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(gp.prototype,"inlineContentControl",{get:function(){},enumerable:!0,configurable:!0}),gp.prototype.releaseContent=function(){},gp.prototype.bindDocument=function(e){this.documentOwner=e},gp.prototype.owningDocument=function(){if(void 0===this.documentOwner)throw new N("This content control is not bound to a document");return this.documentOwner},gp.prototype.buildSdtShell=function(e){var t,r;return void 0!==this.preservedXml?this.preservedXml:(t=[],this.rebuildSdtPr&&void 0!==this.propertiesValue?t.push(vp(this.propertiesValue)):void 0!==this.sdtPr?t.push(this.sdtPr):void 0!==this.propertiesValue&&t.push(vp(this.propertiesValue)),void 0!==(r=this.serializeSdtEndPr())&&t.push(r),t.push(b("sdtContent",{children:e})),b("sdt",{children:t}))},gp.prototype.toOpenXml=function(){return this.buildSdtShell([])};var yp=gp;function gp(e,t,r,n,i){void 0===i&&(i=!1),this.propertiesValue=e,this.sdtPr=t,this.sdtEndPrRaw=r,this.preservedXml=n,this.documentOwner=void 0,this.rebuildSdtPr=i,this.rebuildSdtEndPr=!1,this.breakFormatDirty=!1,this.breakCharacterFormatInstance=new sa(this),void 0!==r&&this.hydrateBreakCharacterFormat(r),void 0!==this.propertiesValue&&this.propertiesValue.bindOwner(this)}Dh(Pp,bp=yp),Object.defineProperty(Pp.prototype,"body",{get:function(){return this.bodyInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Pp.prototype,"blockContentControl",{get:function(){var t,e,r=[];try{for(var n=Oh(this.bodyInstance.rawBlocks()),i=n.next();!i.done;i=n.next()){var o=ec(i.value);void 0!==o&&r.push(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},enumerable:!0,configurable:!0}),Pp.prototype.releaseContent=function(){var t,e,r=this.bodyInstance.rawBlocks();try{for(var n=Oh(r),i=n.next();!i.done;i=n.next()){var o=i.value;"feature"===o.type&&o.value instanceof yp&&o.value.releaseContent()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},Pp.prototype.bindDocument=function(e){var t,r;bp.prototype.bindDocument.call(this,e),this.bodyInstance.setOwningDocument(e);try{for(var n=Oh(this.bodyInstance.rawBlocks()),i=n.next();!i.done;i=n.next()){var o=i.value;"paragraph"===o.type&&o.paragraph.attach(this),"feature"===o.type&&o.value instanceof yp&&o.value.bindDocument(e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},Pp.prototype.assertAttachedParagraph=function(e){var t,r,n=!1;try{for(var i=Oh(this.bodyInstance.rawBlocks()),o=i.next();!o.done;o=i.next()){var a=o.value;if("paragraph"===a.type&&a.paragraph===e){n=!0;break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(!n)throw new N("Paragraph is not in this content control")},Pp.prototype.toOpenXml=function(){return this.buildSdtShell(Ku(this.bodyInstance.rawBlocks()))};var bp,wp=Pp;function Pp(e,t,r,n,i,o,a){var l,s,u=bp.call(this,e,t,r,i,o=void 0===o?!1:o)||this;u.isBlockLevel=!0,u.bodyInstance=new Vc(a,null!=n?n:[]);try{for(var c=Oh(u.bodyInstance.rawBlocks()),d=c.next();!d.done;d=c.next()){var h=d.value;"paragraph"===h.type&&h.paragraph.attach(u)}}catch(e){l={error:e}}finally{try{d&&!d.done&&(s=c.return)&&s.call(c)}finally{if(l)throw l.error}}return u}Dh(Cp,Sp=yp),Object.defineProperty(Cp.prototype,"paragraphItems",{get:function(){return this.paragraphItemsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Cp.prototype,"inlineContentControl",{get:function(){var t,e,r=[];try{for(var n=Oh(this.paragraphItemsInstance),i=n.next();!i.done;i=n.next()){var o=i.value;o instanceof w?r.push({type:"textRange",run:o}):o instanceof F?r.push({type:"feature",featureId:o.featureId,value:o.value}):o instanceof gu?r.push({type:"opaque",xml:o.xml}):"function"==typeof o.toOpenXml&&r.push({type:"opaque",xml:o.toOpenXml()})}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},enumerable:!0,configurable:!0}),Object.defineProperty(Cp.prototype,"owner",{get:function(){return this.itemOwner},enumerable:!0,configurable:!0}),Cp.prototype.attach=function(e){this.itemOwner=e,this.paragraphItemsInstance.reattachAll()},Cp.prototype.detach=function(){this.paragraphItemsInstance.detachAll(),this.itemOwner=void 0},Cp.prototype.assertAttachedItem=function(e){if(!this.paragraphItemsInstance.containsIdentity(e))throw new N("Paragraph item is not in this content control")},Cp.prototype.assertMutable=function(){},Cp.prototype.releaseContent=function(){var t,e;try{for(var r=Oh(this.paragraphItemsInstance),n=r.next();!n.done;n=r.next()){var i=n.value;i instanceof Cp?i.releaseContent():i instanceof F&&i.value instanceof yp&&i.value.releaseContent()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},Cp.prototype.synchronizeCheckboxContent=function(){var e=this.properties;if(void 0!==e&&"checkbox"===e.type){var t=e.isChecked?e.checkedState:e.uncheckedState,e=e.isChecked?"☒":"☐",t=(void 0!==t.value&&/^[0-9A-Fa-f]{1,6}$/.test(t.value)&&(t=Number.parseInt(t.value,16))<=1114111&&(e=String.fromCodePoint(t)),Ah(this.paragraphItemsInstance)),r=1===t.length?t[0]:void 0;if(r instanceof w)r.text=e;else if(0===t.length)try{var n=new w(this.owningDocument());n.text=e,this.paragraphItemsInstance.add(n)}catch(e){}}},Cp.prototype.bindDocument=function(e){var t,r;Sp.prototype.bindDocument.call(this,e);try{for(var n=Oh(this.paragraphItemsInstance),i=n.next();!i.done;i=n.next()){var o=i.value;o instanceof yp?o.bindDocument(e):o instanceof F&&o.value instanceof yp&&o.value.bindDocument(e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}this.synchronizeCheckboxContent()},Cp.prototype.toOpenXml=function(){return this.buildSdtShell(Eu(Ah(this.paragraphItemsInstance)))};var Sp,xp=Cp;function Cp(e,t,r,n,i,o){e=Sp.call(this,e,t,r,i,o=void 0===o?!1:o)||this;return e.entityType=M.EntityType.InlineContentControl,e.paragraphItemsInstance=new _u(e),(e.itemOwner=void 0)!==n&&0<n.length&&e.paragraphItemsInstance.hydrate(n),e}function Ip(e,t,r){var n,i,o,a;if(te(e,"sdt"))return n=(o=function(e){var t,r,n,i,o;try{for(var a=Oh(re(e)),l=a.next();!l.done;l=a.next()){var s=l.value;te(s,"sdtPr")?n=s:te(s,"sdtEndPr")?i=s:te(s,"sdtContent")&&(o=s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return{sdtPr:n,sdtEndPr:i,sdtContent:o}}(e)).sdtPr,i=o.sdtEndPr,o=o.sdtContent,a=dp(n),void 0===o&&void 0===n&&void 0===i?new("block"===t?wp:xp)(void 0,void 0,void 0,[],e):"block"===t?(e=void 0!==o?Zu(o.children,r):[],new wp(a,n,i,e,void 0)):(t=void 0!==o?function(e,t){var r,n,i=[];try{for(var o=Oh(e),a=o.next();!a.done;a=o.next()){var l,s,u=a.value;"element"===u.kind&&(te(l=u,"r")?i.push({type:"textRange",run:w.fromXml(l,t)}):(s=Sn(l),i.push(void 0!==s?s:{type:"opaque",xml:l})))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}(o.children,mp):[],new xp(a,n,i,function(e){var t,r,n=[];try{for(var i=Oh(e),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"===a.type?n.push(a.run):"feature"===a.type?n.push(new F(a.featureId,a.value)):n.push(new gu(a.xml))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(t),void 0))}function Vp(e){sp(e);var e=void 0!==e?new qh({type:e}):void 0,t=void 0!==e?vp(e):void 0,r=new D(void 0),e=new wp(e,t,void 0,[{type:"paragraph",paragraph:r}],void 0,!0);return r.attach(e),e}function Tp(e){sp(e);var e=void 0!==e?new qh({type:e}):void 0,t=void 0!==e?vp(e):void 0;return new xp(e,t,void 0,[],void 0,!0)}Object.defineProperty(Vc.prototype,"addBlockContentControl",{value:function(e){e=Vp(e);return this.appendRawBlock({type:"feature",featureId:Eh,value:e}),e.bindDocument(this.owningDocument()),e},writable:!0,configurable:!0}),Object.defineProperty(Cd.prototype,"addBlockContentControl",{value:function(e){return this.firstSectionBody().addBlockContentControl(e)},writable:!0,configurable:!0}),Object.defineProperty(D.prototype,"appendInlineContentControl",{value:function(e){e=Tp(e);this.appendFeatureInline(Eh,e);try{e.bindDocument(this.owningDocument())}catch(e){}return e},writable:!0,configurable:!0});var kp=!1;function Fp(){kp||(kp=!0,Rr({id:Eh}),Pn({featureId:Eh,wmlLocalName:"sdt",tryParse:function(e){return Ip(e,"inline",_r())}}),Mr({featureId:Eh,wmlLocalName:"sdt",tryParse:function(e,t){return Ip(e,"block",t)}}),jn({featureId:Eh,visitParagraphs:function(e,t){e instanceof wp&&zn(e.body.rawBlocks(),t)}}),Qu({project:function(e){if(e.featureId===Eh&&e.value instanceof yp)return e.value},toBlock:function(e){if(e instanceof yp)return{type:"feature",featureId:Eh,value:e}},isInstance:function(e){return e instanceof wp||e instanceof yp}}),Sc({isBlockContentControl:function(e){return e instanceof wp||e instanceof yp&&!0===e.isBlockLevel},createBlockContentControl:function(){return Vp()}}))}Dh=Eh;function Dp(e){return e instanceof wp||e instanceof yp&&!0===e.isBlockLevel||"object"==typeof e&&null!==e&&"feature"===(e=e).type&&e.featureId===Eh&&e.value instanceof yp&&(e.value instanceof wp||!0===e.value.isBlockLevel)}ui(function(){Fp()}),Fp();var Op=function(){return(Op=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Np=function(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&(r[i[n]]=e[i[n]]);return r},Ap=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Ep=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Lp=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ep(arguments[t]));return e},Rp=Er("comments"),Bp=he,_p=new TextDecoder("utf-8"),jp=new TextEncoder,Mp="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",zp="http://purl.oclc.org/ooxml/officeDocument/relationships/comments",Up="application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml",Hp=[Mp,zp];function Wp(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)});return null==e?void 0:e.value}function Gp(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}var qp={assertAttachedParagraph:function(){},owningDocument:function(){throw new N("Comment content is not in a WordDocument")}},Xp={assertAttachedItem:function(){}};function Yp(e){var t=e.snapshotCharacterFormat();return{extraAttributes:e.extraAttributes,rPrExtra:t.rPrExtra,styleIdValue:t.styleIdValue,boldValue:t.boldValue,italicValue:t.italicValue,strikeValue:t.strikeValue,doubleStrikeValue:t.doubleStrikeValue,vanishValue:t.vanishValue,legacyHiddenValue:t.legacyHiddenValue,noProofValue:t.noProofValue,fontSizeValue:t.fontSizeValue,fontSizeBidiValue:t.fontSizeBidiValue,textColorValue:t.textColorValue,textColorTheme:t.textColorTheme,highlightValue:t.highlightValue,shadingValue:t.shadingValue,underlineStyleValue:t.underlineStyleValue,underlineColorValue:t.underlineColorValue,vertAlignValue:t.vertAlignValue,smallCapsValue:t.smallCapsValue,allCapsValue:t.allCapsValue,fontsValue:t.fontsValue,characterScaleValue:t.characterScaleValue,kerningValue:t.kerningValue,characterSpacingValue:t.characterSpacingValue,positionValue:t.positionValue,borderValue:t.borderValue,languageValue:t.languageValue,embossValue:t.embossValue,imprintValue:t.imprintValue,outlineValue:t.outlineValue,shadowValue:t.shadowValue,webHiddenValue:t.webHiddenValue,bidiValue:t.bidiValue,complexScriptValue:t.complexScriptValue,boldBidiValue:t.boldBidiValue,italicBidiValue:t.italicBidiValue,emphasisValue:t.emphasisValue,textEffectValue:t.textEffectValue,specVanishValue:t.specVanishValue,snapToGridValue:t.snapToGridValue}}function Zp(e){var t=new qs;return new w(Xp,t),void 0!==e&&(t.characterFormat.characterStyle=e),Yp(t)}function Kp(e){if(void 0!==e&&0!==e.length){e=Date.parse(e);if(!Number.isNaN(e))return new Date(e)}}$p.prototype.releaseContent=function(){},$p.prototype.toOpenXml=function(){return b("commentRangeStart",{attributes:[y("id",String(this.commentId))]})};var Jp=$p;function $p(e){this.commentId=e}ef.prototype.releaseContent=function(){},ef.prototype.toOpenXml=function(){return b("commentRangeEnd",{attributes:[y("id",String(this.commentId))]})};var Qp=ef;function ef(e){this.commentId=e}rf.prototype.toOpenXml=function(){return b("commentReference",{attributes:[y("id",String(this.commentId))]})};var tf=rf;function rf(e){this.commentId=e}var nf=function(e,t,r,n,i){this.commentId=e,this.author=t,this.date="string"==typeof r?Kp(r):r,this.anchorRuns=n,this.reference=i},of=(Object.defineProperty(af.prototype,"commentId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty(af.prototype,"author",{get:function(){var e=Pf(this.WordDocument).entryFor(this.id),e=null==e?void 0:e.author;return null!=e?e:""},enumerable:!0,configurable:!0}),Object.defineProperty(af.prototype,"initials",{get:function(){var e=Pf(this.WordDocument).entryFor(this.id);return null==e?void 0:e.initials},enumerable:!0,configurable:!0}),Object.defineProperty(af.prototype,"date",{get:function(){var e;return Kp(null==(e=Pf(this.WordDocument).entryFor(this.id))?void 0:e.date)},enumerable:!0,configurable:!0}),Object.defineProperty(af.prototype,"paragraphs",{get:function(){return Pf(this.WordDocument).paragraphsFor(this.id)},enumerable:!0,configurable:!0}),Object.defineProperty(af.prototype,"ancestor",{get:function(){return Pf(this.WordDocument).ancestorFor(this.WordDocument,this.id)},enumerable:!0,configurable:!0}),Object.defineProperty(af.prototype,"done",{get:function(){var e=Pf(this.WordDocument).entryFor(this.id),e=null==e?void 0:e.done;return null!=e&&e},enumerable:!0,configurable:!0}),af.prototype.captureReferenceRunFormatting=function(e){this.referenceRunFormatting=Yp(e)},af.prototype.applyDefaultReferenceRunStyle=function(){void 0===this.referenceRunFormatting&&(this.referenceRunFormatting=Zp("CommentReference"))},af.prototype.releaseContent=function(){},af.prototype.toOpenXml=function(){var e,t,r,n=null!=this.referenceRunFormatting?this.referenceRunFormatting:Zp();return e=this.id,t=new qs((n=n).extraAttributes),n.extraAttributes,n=Np(n,["extraAttributes"]),t.hydrateCharacterFormat(n),n=t.characterFormat.buildRPrChildren(),r=[],0<n.length&&r.push(b("rPr",{children:n})),r.push(b("commentReference",{attributes:[y("id",String(e))]})),b("r",{attributes:t.extraAttributes,children:r})},af);function af(e,t){this.WordDocument=e,this.id=t}function lf(e){return void 0!==e&&0<e.length?e:void 0}function sf(e,t){var r,n,i=Ce(_p.decode(e.data));if(te(i,"comments")){var o=[];try{for(var a=Ap(re(i)),l=a.next();!l.done;l=a.next()){var s,u,c,d,h,p=l.value;te(p,"comment")&&(s=Gp(Wp(p,"id")),u=Wp(p,"author"),c=lf(Wp(p,"initials")),d=lf(Wp(p,"date")),void 0===s||void 0===u||0===u.length?o.push({commentId:null!=s?s:-1,author:null!=u?u:"",initials:c,date:d,blocks:[],preservedXml:p,lastParaId:void 0,parentParaId:void 0,done:void 0}):(h=Zu(p.children,qp),o.push({commentId:s,author:u,initials:c,date:d,blocks:h,preservedXml:void 0,lastParaId:function(e){for(var t=e.length-1;0<=t;--t){var r=e[t];if(void 0!==r&&"paragraph"===r.type)return function(e){e=e.find(function(e){return"paraId"===e.localName&&(e.namespaceUri===Lh||""===e.namespaceUri||"w14"===e.prefix)}),e=null==e?void 0:e.value;return void 0!==e&&0<e.length?e:void 0}(r.paragraph.toOpenXml().attributes)}return}(h),parentParaId:void 0,done:void 0})))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return{partName:e.name,relationshipId:t.id,relationshipType:t.type,rootExtra:{attributes:i.attributes,namespaceDeclarations:0<i.namespaceDeclarations.length?i.namespaceDeclarations:[{prefix:"w",namespaceUri:Bp}]},entries:o,dirty:!1,pendingRelationship:void 0}}}function uf(e,t){var r,n,i,o,a=new Set;try{for(var l=Ap(e),s=l.next();!s.done;s=l.next()){var u=s.value;0<=u.commentId&&a.add(u.commentId)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var c=Ap(t.listParagraphs()),d=c.next();!d.done;d=c.next()){var h,p,f=d.value,v=(b=g=y=p=h=m=v=void 0,f),m=a;try{for(var y=Ap(v.items),g=y.next();!g.done;g=y.next()){var b=g.value;b instanceof F?(b.value instanceof Jp||b.value instanceof Qp||b.value instanceof of)&&m.add(b.value.commentId):b instanceof cu&&b.value instanceof tf&&m.add(b.value.commentId)}}catch(e){h={error:e}}finally{try{g&&!g.done&&(p=y.return)&&p.call(y)}finally{if(h)throw h.error}}}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}for(var w=0;a.has(w);)w+=1;return w}function cf(e,t,r,n){for(var i,o,a=[],l=!1,s=t.snapshot().items,u=0;u<s.length;u+=1){var c,d,h=s[u];(d=r,o=n,c=void 0,(i=h)instanceof cu&&i.value instanceof tf&&(d=d,c=i.value.commentId,void 0!==(d=d.entryFor(c)))&&void 0===d.preservedXml&&!o.has(i.value.commentId))?(c=h.value.commentId,(d=r.commentInstanceFor(e,c)).captureReferenceRunFormatting(h.wireGroup),n.add(c),l=!0,a.push(new F(Rp,d))):a.push(h)}l&&t.hydrate(Op({},t.snapshot(),{items:a}))}hf.prototype.extensions=function(){return this.extensionParts},hf.prototype.elevateMainStoryReferences=function(e){var t,r,n=new Set;try{for(var i=Ap(e.listParagraphs()),o=i.next();!o.done;o=i.next())cf(e,o.value,this,n)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},hf.prototype.afterMainDocumentLoad=function(e){this.elevateMainStoryReferences(e)},hf.prototype.commentInstanceFor=function(e,t){var r=this.commentViews.get(t);return void 0!==r||(r=new of(e,t),this.commentViews.set(t,r)),r},hf.prototype.isDirty=function(){return!0===(null==this.state?void 0:this.state.dirty)||void 0!==(null==this.state?void 0:this.state.pendingRelationship)},hf.prototype.applyToPackage=function(e,t){var r,n,i=this.state;return void 0===i||!i.dirty&&void 0===i.pendingRelationship||(r=function(e){var t,r=[];try{for(var n=Ap(e.entries),i=n.next();!i.done;i=n.next()){var o,a,l,s=i.value;void 0!==s.preservedXml?r.push(s.preservedXml):(o=[y("id",String(s.commentId)),y("author",s.author)],void 0!==(a=lf(s.initials))&&o.push(y("initials",a)),void 0!==(l=lf(s.date))&&o.push(y("date",l)),r.push(b("comment",{attributes:o,children:Ku(s.blocks)})))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(u=n.return)&&u.call(n)}finally{if(t)throw t.error}}var u=b("comments",{attributes:e.rootExtra.attributes,namespaceDeclarations:0<e.rootExtra.namespaceDeclarations.length?e.rootExtra.namespaceDeclarations:[{prefix:"w",namespaceUri:Bp}],children:r});return jp.encode(Fe(u))}(i),n=null!=i.pendingRelationship?i.pendingRelationship:kr(e,t).items.find(function(e){return e.id===i.relationshipId}),e=un(e,t,i.partName,Up,r,n),i.dirty=!1,i.pendingRelationship=void 0),e},hf.prototype.ensurePart=function(e,t){return void 0!==this.state?this.state:(e={partName:t=function(e){var t=Lt("/word/comments.xml");if(!e.has($(t)))return t;for(var r=2;e.has($(Lt("/word/comments"+String(r)+".xml")));)r+=1;return Lt("/word/comments"+String(r)+".xml")}(t),relationshipId:e=ir(e),relationshipType:Mp,rootExtra:{attributes:[],namespaceDeclarations:[{prefix:"w",namespaceUri:Bp}]},entries:[],dirty:!0,pendingRelationship:{id:e,type:Mp,target:t.slice("/word/".length),extraAttributes:[],children:[]}},this.state=e)},hf.prototype.addEntry=function(e,t,r,n,i){var o=this.state;if(void 0===o)throw new J("content/unknown-comment","Comments part is not loaded");e=uf(o.entries,e);return o.entries=Lp(o.entries,[{commentId:e,author:t,initials:lf(i),date:lf(n),blocks:Zu([b("p",{children:[b("r",{children:[b("t",{children:[{kind:"text",value:r}]})]})]})],qp),preservedXml:void 0,done:void 0,lastParaId:void 0,parentParaId:void 0}]),o.dirty=!0,e},hf.prototype.entryFor=function(t){return(null==this.state?void 0:this.state.entries).find(function(e){return e.commentId===t})},hf.prototype.ancestorFor=function(e,t){var r=this.state;if(void 0!==r){var n=r.entries.findIndex(function(e){return e.commentId===t});if(!(n<0)){var i=null==r.entries[n]?void 0:r.entries[n].parentParaId;if(void 0!==i&&0!==i.length)for(var o=n-1;0<=o;--o){var a=r.entries[o];if(void 0!==a&&void 0===a.preservedXml&&a.lastParaId===i)return this.commentInstanceFor(e,a.commentId)}}}},hf.prototype.commentIds=function(){var t,e;if(void 0===this.state)return[];var r=[];try{for(var n=Ap(this.state.entries),i=n.next();!i.done;i=n.next()){var o=i.value;void 0===o.preservedXml&&r.push(o.commentId)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},hf.prototype.comments=function(t){var r=this;return this.commentIds().map(function(e){return r.commentInstanceFor(t,e)})},hf.prototype.paragraphsFor=function(e){var t,r,e=this.entryFor(e);if(void 0===e||void 0!==e.preservedXml)return[];var n=[];try{for(var i=Ap(e.blocks),o=i.next();!o.done;o=i.next()){var a=o.value;"paragraph"===a.type&&n.push(a.paragraph)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},hf.prototype.textFor=function(e){e=this.entryFor(e);if(void 0!==e&&void 0===e.preservedXml){var t,r,n,i,e=e.blocks;try{for(var o=Ap(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("paragraph"===l.type)try{for(var s=Ap(l.paragraph.items),u=s.next();!u.done;u=s.next()){var c=u.value;if(c instanceof w){var d=c.text;if(0<d.length)return d}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}},hf.prototype.removeEntry=function(t){var e=this.state;if(void 0===e)throw new J("content/unknown-comment","Comments part is not loaded");var r=e.entries.filter(function(e){return e.commentId!==t});if(r.length===e.entries.length)throw new J("content/unknown-comment","Comment id "+String(t)+" is not in this WordDocument");e.entries=r,this.commentViews.delete(t),e.dirty=!0};var df=hf;function hf(e,t){this.commentViews=new Map,this.state=e,this.extensionParts=t}function pf(e,t){var r,n,i,o=new Th(Vh(e,t));try{for(var a=Ap(kr(e,t).items),l=a.next();!l.done;l=a.next()){var s=l.value;if(i=s.type,-1!==Hp.indexOf(i)){var u=Tr(e,Xt(s.target,t));if(void 0!==u){var c=sf(u,s);if(void 0!==c){x=S=P=w=b=g=y=f=p=h=d=m=v=void 0;var d,h,p,f,v=c.entries,m=o.extendedEntries();if(0!==m.length){var y=new Map;try{for(var g=Ap(m),b=g.next();!b.done;b=g.next()){var w=b.value;y.set(w.paraId,w)}}catch(e){d={error:e}}finally{try{b&&!b.done&&(h=g.return)&&h.call(g)}finally{if(d)throw d.error}}try{for(var P=Ap(v),S=P.next();!S.done;S=P.next()){var x=S.value;void 0===x.preservedXml&&void 0!==x.lastParaId&&void 0!==(w=y.get(x.lastParaId))&&(x.done=void 0!==w.done&&w.done,x.parentParaId=w.paraIdParent)}}catch(e){p={error:e}}finally{try{S&&!S.done&&(f=P.return)&&f.call(P)}finally{if(p)throw p.error}}}return new df(c,o)}}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return new df(void 0,o)}function ff(e,t,r){for(var n=-1,i=t-1;0<=i;--i)if(void 0!==(l=e[i])&&l instanceof F&&l.value instanceof Qp){if(l.value.commentId!==r)break;for(var o=i-1;0<=o;--o){var a=e[o];if(void 0!==a&&a instanceof F&&a.value instanceof Jp&&a.value.commentId===r){n=o;break}}break}if(n<0)return[];for(var l,s=[],i=n+1;i<t;i+=1)void 0!==(l=e[i])&&l instanceof w&&s.push(l);return s}var vf=!1;function mf(){vf||(vf=!0,Rr({id:Rp}),nn({featureId:Rp,relationshipTypes:Hp,loadParts:function(e,t){return pf(e,t.mainPartName)}}),Pn({featureId:Rp,wmlLocalName:"commentRangeStart",tryParse:function(e){if(te(e,"commentRangeStart")){e=Gp(Wp(e,"id"));if(void 0!==e)return new Jp(e)}}}),Pn({featureId:Rp,wmlLocalName:"commentRangeEnd",tryParse:function(e){if(te(e,"commentRangeEnd")){e=Gp(Wp(e,"id"));if(void 0!==e)return new Qp(e)}}}),gn({featureId:Rp,wmlLocalName:"commentReference",tryParse:function(e){if(te(e,"commentReference")){e=Gp(Wp(e,"id"));if(void 0!==e)return new tf(e)}}}))}Object.defineProperty(gf.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.cachedLength},enumerable:!0,configurable:!0}),gf.prototype.itemAt=function(e){return Pf(this.document).comments(this.document)[e]},gf.prototype[Symbol.iterator]=function(){var t=Pf(this.document).comments(this.document).slice(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},gf.prototype.rebuildIndexProperties=function(){for(var e=Pf(this.document).comments(this.document),t=e.length,r=this.cachedLength,n=t<r?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t};var yf=gf;function gf(e){this.cachedLength=0,this.document=e}var bf=new WeakMap;function wf(e){mf();var t=bf.get(e);return void 0!==t?t.rebuildIndexProperties():((t=new yf(e)).rebuildIndexProperties(),bf.set(e,t)),t}function Pf(e){var t=e.featurePart(Rp);if(t instanceof df)return t;if(void 0!==t)throw new J("feature/not-registered","Comments feature state was replaced with an unexpected part type");if(Br(Rp))return t=new df(void 0,new Th({extended:void 0,people:void 0,ids:void 0,extensible:void 0})),e.setFeaturePart(Rp,t),t;throw new J("feature/not-registered","Comments feature is not registered; call registerCommentsFeature() before use")}function Sf(e,t,r){var n,i=e.items.length,i=void 0===t&&void 0===r?n=i:void 0===t?n=null!=r?r:i:void 0===r?n=t:(n=t,r),t=e,r=n,e=i;if(t=t.items.length,!Number.isInteger(r)||!Number.isInteger(e)||r<0||e<r||t<e)throw new RangeError("Comment range indices out of range: start="+String(r)+" end="+String(e)+" length="+String(t));return{start:n,end:i}}function xf(e,t,r,n){var i=Pf(e),o=(i.ensurePart(function(e){var t,r,n=Lt("/word/WordDocument.xml"),i=new Set;try{for(var o=Ap(kr(e.opcPackage(),n).items),a=o.next();!a.done;a=o.next()){var l=a.value;i.add(l.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}(e),function(e){var t,r,n=new Set;try{for(var i=Ap(e.opcPackage().parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add($(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(e)),a=n.date,o=n.defaultDateNow,void 0===a?o?(new Date).toISOString():void 0:"string"==typeof a?lf(a):a.toISOString()),a=i.addEntry(e,t,r,o,n.initials),t=i.commentInstanceFor(e,a);return t.applyDefaultReferenceRunStyle(),t}function Cf(e,t,r){var n,i,r="string"==typeof t?Op({text:t},r):t,t=e.owningDocument(),o=Sf(e,r.rangeStart,r.rangeEnd),t=xf(t,null!=r.author?r.author:"",r.text,Op({},void 0!==r.date?{date:r.date}:{},void 0!==r.initials?{initials:r.initials}:{},{defaultDateNow:!0}));return r=e,e=t.commentId,n=t,i=o.start,o=o.end,r.insertFeatureInlineAt(i,Rp,new Jp(e)),r.insertFeatureInlineAt(o+1,Rp,new Qp(e)),r.insertFeatureInlineAt(o+2,Rp,n),t}Object.defineProperty(Cd.prototype,"comments",{configurable:!0,enumerable:!1,get:function(){return wf(this)}}),D.prototype.appendComment=function(e,t){return Cf(this,e,t)},ui(function(){mf()}),mf();var If=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Vf=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Tf=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Vf(arguments[t]));return e},kf=Er("custom-xml"),Ff=new TextDecoder("utf-8"),Df="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",Of="http://purl.oclc.org/ooxml/officeDocument/relationships/customXml",Nf="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",Af="http://purl.oclc.org/ooxml/officeDocument/relationships/customXmlProps",Ef="http://schemas.openxmlformats.org/officeDocument/2006/customXml",Lf=[Df,Of],Rf=[Nf,Af];function Bf(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix||e.namespaceUri.includes("wordprocessingml"))});return null==e?void 0:e.value}var _f=function(e,t){this.placeholder=e,this.attributes=t};function jf(e){var t,r;if(void 0!==e&&te(e,"customXmlPr")){var n,i=[];try{for(var o=If(re(e)),a=o.next();!a.done;a=o.next()){var l,s=a.value;te(s,"placeholder")?n=Bf(s,"val"):void 0!==(l=function(e){if(te(e,"attr")){var t=Bf(e,"name"),r=Bf(e,"val");if(void 0!==t&&0!==t.length&&void 0!==r)return{uri:Bf(e,"uri"),name:t,val:r}}}(s))&&i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}if(void 0!==n||0!==i.length)return new _f(n,i)}}var Mf={assertAttachedItem:function(){}};Object.defineProperty(Uf.prototype,"blockContent",{get:function(){return this.blocks},enumerable:!0,configurable:!0}),Object.defineProperty(Uf.prototype,"inlineContent",{get:function(){return this.inlines},enumerable:!0,configurable:!0}),Object.defineProperty(Uf.prototype,"firstParagraphText",{get:function(){var t,e,r,n;if(void 0!==this.blocks)try{for(var i=If(this.blocks),o=i.next();!o.done;o=i.next()){var a=o.value;if("paragraph"===a.type)try{for(var l=If(a.paragraph.items),s=l.next();!s.done;s=l.next()){var u=s.value;if(u instanceof w&&0<u.text.length)return u.text}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},enumerable:!0,configurable:!0}),Uf.prototype.releaseContent=function(){if(void 0!==this.blocks){var t,e,r=this.blocks;try{for(var n=If(r),i=n.next();!i.done;i=n.next()){var o=i.value;"feature"===o.type&&o.value instanceof zf&&o.value.releaseContent()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}if(void 0!==this.inlines){var a,l,r=this.inlines;try{for(var s=If(r),u=s.next();!u.done;u=s.next()){var c=u.value;"feature"===c.type&&c.value instanceof zf&&c.value.releaseContent()}}catch(e){a={error:e}}finally{try{u&&!u.done&&(l=s.return)&&l.call(s)}finally{if(a)throw a.error}}}},Uf.prototype.toOpenXml=function(){var e,t;return void 0!==this.preservedXml?this.preservedXml:(e=[y("element",this.elementName)],void 0!==this.uri&&0<this.uri.length&&e.push(y("uri",this.uri)),t=[],void 0!==this.customXmlPr&&t.push(this.customXmlPr),void 0!==this.blocks?t.push.apply(t,Tf(Ku(this.blocks))):void 0!==this.inlines&&t.push.apply(t,Tf(function(e){var t,r,n=[];try{for(var i=If(e),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"===a.type?n.push(Lu(a.run)):"feature"===a.type?n.push(a.value.toOpenXml()):n.push(a.xml)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(this.inlines))),b("customXml",{attributes:e,children:t}))};var zf=Uf;function Uf(e,t,r,n,i,o,a){this.elementName=e,this.uri=t,this.properties=r,this.customXmlPr=n,this.blocks=i,this.inlines=o,this.preservedXml=a}function Hf(e,t,r){var n,i,o,a;if(te(e,"customXml"))return void 0===(n=Bf(e,"element"))||0===n.length?new zf("",void 0,void 0,void 0,void 0,void 0,e):(i=Bf(e,"uri"),o=(e=function(e){var t,r,n,i=[];try{for(var o=If(re(e)),a=o.next();!a.done;a=o.next()){var l=a.value;te(l,"customXmlPr")?n=l:i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{customXmlPr:n,content:i}}(e)).customXmlPr,e=e.content,a=jf(o),"block"===t?(t=Zu(e,r),new zf(n,i,a,o,t,void 0,void 0)):(r=function(e,t){var r,n,i=[];try{for(var o=If(e),a=o.next();!a.done;a=o.next()){var l,s,u=a.value;"element"===u.kind&&(te(l=u,"r")?i.push({type:"textRange",run:w.fromXml(l,t)}):(s=Sn(l),i.push(void 0!==s?s:{type:"opaque",xml:l})))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}(e,Mf),new zf(n,i,a,o,void 0,r,void 0)))}var Wf=function(e,t,r,n,i,o,a){this.partName=e,this.data=t,this.contentType=r,this.itemId=n,this.propertiesPartName=i,this.propertiesData=o,this.propertiesContentType=a},Gf=(Object.defineProperty(qf.prototype,"items",{get:function(){return this.storageItems},enumerable:!0,configurable:!0}),qf.prototype.isDirty=function(){return!1},qf.prototype.applyToPackage=function(e,t){return e},qf);function qf(e){this.storageItems=e}function Xf(e,t){var r,n,i,o,a,l,s=[];try{for(var u=If(kr(e,t).items),c=u.next();!c.done;c=u.next()){var d=c.value;if(l=d.type,-1!==Lf.indexOf(l)){var h=Xt(d.target,t),p=Tr(e,h);if(void 0!==p){var f=void 0,v=void 0,m=void 0,y=void 0;try{for(var g=If(kr(e,h).items),b=g.next();!b.done;b=g.next()){var w=b.value;if(a=w.type,-1!==Rf.indexOf(a)){var P=Tr(e,f=Xt(w.target,h));if(void 0!==P){v=P.data,m=P.contentType,y=function(e){var t;try{var r=Ce(Ff.decode(e));return"datastoreItem"===r.localName?null==(t=r.attributes.find(function(e){return"itemID"===e.localName&&(e.namespaceUri===Ef||""===e.namespaceUri||e.namespaceUri.includes("customXml"))}))?void 0:t.value:void 0}catch(e){}}(P.data);break}}}}catch(e){i={error:e}}finally{try{b&&!b.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}s.push(new Wf(h,p.data,p.contentType,y,f,v,m))}}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return new Gf(s)}var Yf=!1;function Zf(){Yf||(Yf=!0,Rr({id:kf}),nn({featureId:kf,relationshipTypes:Lf,loadParts:function(e,t){return Xf(e,t.mainPartName)}}),Pn({featureId:kf,wmlLocalName:"customXml",tryParse:function(e){return Hf(e,"inline",_r())}}),Mr({featureId:kf,wmlLocalName:"customXml",tryParse:function(e,t){return Hf(e,"block",t)}}))}Zf();var Kf={nil:M.BorderStyle.Nil,none:M.BorderStyle.None,single:M.BorderStyle.Single,thick:M.BorderStyle.Thick,double:M.BorderStyle.Double,dotted:M.BorderStyle.Dotted,dashed:M.BorderStyle.Dashed,dotDash:M.BorderStyle.DotDash,dotDotDash:M.BorderStyle.DotDotDash,triple:M.BorderStyle.Triple,thinThickSmallGap:M.BorderStyle.ThinThickSmallGap,thickThinSmallGap:M.BorderStyle.ThickThinSmallGap,thinThickThinSmallGap:M.BorderStyle.ThinThickThinSmallGap,thinThickMediumGap:M.BorderStyle.ThinThickMediumGap,thickThinMediumGap:M.BorderStyle.ThickThinMediumGap,thinThickThinMediumGap:M.BorderStyle.ThinThickThinMediumGap,thinThickLargeGap:M.BorderStyle.ThinThickLargeGap,thickThinLargeGap:M.BorderStyle.ThickThinLargeGap,thinThickThinLargeGap:M.BorderStyle.ThinThickThinLargeGap,wave:M.BorderStyle.Wave,doubleWave:M.BorderStyle.DoubleWave,dashSmallGap:M.BorderStyle.DashSmallGap,dashDotStroked:M.BorderStyle.DashDotStroked,threeDEmboss:M.BorderStyle.ThreeDEmboss,threeDEngrave:M.BorderStyle.ThreeDEngrave,outset:M.BorderStyle.Outset,inset:M.BorderStyle.Inset};function Jf(e){return void 0!==e&&void 0!==(e=Kf[e])?e:void 0}var $f=function(){for(var e={},t=Object.keys(Kf),r=0;r<t.length;r+=1){var n=t[r];e[Kf[n]]=n}return e}();function Qf(e){var t=$f[e];if(void 0!==t)return t;if(void 0!==Kf[e])return e;throw new RangeError("Unsupported BorderStyle value")}function ev(e){return void 0!==e&&void 0!==Kf[e]}var tv=function(){return(tv=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},rv=["top","bottom","left","right","insideH","insideV"],nv=["top","bottom","left","right"],iv=M.BorderStyle.None,ov="auto";function av(e,t){if("number"!=typeof e||!isFinite(e)||e<0)throw new RangeError(t+" must be a finite non-negative number")}function lv(e){if("string"==typeof e){if(ev(e))return 1;if(void 0!==Jf(e))return 1;for(var t=Object.keys(M.BorderStyle),r=0;r<t.length;r+=1)if(M.BorderStyle[t[r]]===e)return 1}}uv.prototype.current=function(){var e=this.host.readEdge(this.key);return void 0!==e?e:{}},uv.prototype.commit=function(e){var t=void 0!==e.style||void 0!==e.color||void 0!==e.size||void 0!==e.space||void 0!==e.shadow;this.host.writeEdge(this.key,t?e:void 0)},uv.prototype.styleWireForCommit=function(e){return void 0!==e.style?e.style:"single"},Object.defineProperty(uv.prototype,"borderType",{get:function(){var e=this.current().style;return void 0!==e&&void 0!==(e=Jf(e))?e:iv},set:function(e){if(!lv(e))throw new RangeError("Unsupported BorderStyle value");var t=this.current();this.commit({style:Qf(e),color:t.color,size:t.size,space:t.space,shadow:t.shadow})},enumerable:!0,configurable:!0}),Object.defineProperty(uv.prototype,"color",{get:function(){var e=this.current().color;return void 0!==e?e:ov},set:function(e){var e=function(e){if("number"==typeof e)return 0<(t=Fo(e)).length?t:"auto";if("string"!=typeof e)throw new RangeError("Border color must be a string, Color, or hex color");var t=e.trim();if(0===t.length)throw new RangeError("Border color must be a non-empty string");return"auto"===t.toLowerCase()?"auto":void 0!==(t=To(t))?t:e}(e),t=this.current();this.commit({style:this.styleWireForCommit(t),color:e,size:t.size,space:t.space,shadow:t.shadow})},enumerable:!0,configurable:!0}),Object.defineProperty(uv.prototype,"lineWidth",{get:function(){var e=this.current().size;return void 0!==e?e/8:0},set:function(e){av(e,"Border lineWidth");var t=this.current();this.commit({style:this.styleWireForCommit(t),color:t.color,size:Math.round(8*e),space:t.space,shadow:t.shadow})},enumerable:!0,configurable:!0}),Object.defineProperty(uv.prototype,"shadow",{get:function(){var e=this.current().shadow;return void 0!==e&&e},set:function(e){if("boolean"!=typeof e)throw new RangeError("Border shadow must be a boolean");var t=this.current();this.commit({style:this.styleWireForCommit(t),color:t.color,size:t.size,space:t.space,shadow:e})},enumerable:!0,configurable:!0}),uv.prototype.readSpacePoints=function(){var e=this.current().space;return void 0!==e?e:0},uv.prototype.writeSpacePoints=function(e){av(e,"Borders space");var t=this.current();this.commit({style:this.styleWireForCommit(t),color:t.color,size:t.size,space:e,shadow:t.shadow})};var sv=uv;function uv(e,t){this.host=e,this.key=t}Object.defineProperty(dv.prototype,"top",{get:function(){return this.topBorder},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"bottom",{get:function(){return this.bottomBorder},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"left",{get:function(){return this.leftBorder},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"right",{get:function(){return this.rightBorder},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"horizontal",{get:function(){return this.horizontalBorder},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"vertical",{get:function(){return this.verticalBorder},enumerable:!0,configurable:!0}),dv.prototype.aggregateKeys=function(){return this.includeInside?rv:nv},dv.prototype.edgeAt=function(e){return new sv(this.host,e)},Object.defineProperty(dv.prototype,"borderType",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).borderType;if(r){if(i!==e)return iv}else e=i,r=!0}return void 0!==e?e:iv},set:function(e){if(!lv(e))throw new RangeError("Unsupported BorderStyle value");for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).borderType=e},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"color",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).color;if(r){if(i!==e)return ov}else e=i,r=!0}return void 0!==e?e:ov},set:function(e){for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).color=e},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"lineWidth",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).lineWidth;if(r){if(i!==e)return 0}else e=i,r=!0}return void 0!==e?e:0},set:function(e){av(e,"Borders lineWidth");for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).lineWidth=e},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"space",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).readSpacePoints();if(r){if(i!==e)return 0}else e=i,r=!0}return void 0!==e?e:0},set:function(e){av(e,"Borders space");for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).writeSpacePoints(e)},enumerable:!0,configurable:!0}),Object.defineProperty(dv.prototype,"shadow",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).shadow;if(r){if(i!==e)return!1}else e=i,r=!0}return void 0!==e&&e},set:function(e){if("boolean"!=typeof e)throw new RangeError("Borders shadow must be a boolean");for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).shadow=e},enumerable:!0,configurable:!0});var cv=dv;function dv(e,t){void 0===t&&(t=!0),this.host=e,this.includeInside=t,this.topBorder=new sv(e,"top"),this.bottomBorder=new sv(e,"bottom"),this.leftBorder=new sv(e,"left"),this.rightBorder=new sv(e,"right"),this.horizontalBorder=new sv(e,"insideH"),this.verticalBorder=new sv(e,"insideV")}function hv(i,o){return{readEdge:function(e){var t=i();if(void 0!==t)return t[e]},writeEdge:function(e,t){var r=i(),r=void 0!==r?tv({},r):{},n=r,n=(void 0===t?delete n[e]:n[e]=t,void 0!==r.top||void 0!==r.bottom||void 0!==r.left||void 0!==r.right||void 0!==r.insideH||void 0!==r.insideV);o(n?r:void 0)}}}function pv(i,o){return{readEdge:function(e){var t=i();if(void 0!==t)return t[e]},writeEdge:function(e,t){var r=i(),r=void 0!==r?tv({},r):{},n=r,n=(void 0===t?delete n[e]:n[e]=t,void 0!==r.top||void 0!==r.bottom||void 0!==r.left||void 0!==r.right||void 0!==r.insideH||void 0!==r.insideV||void 0!==r.tl2br||void 0!==r.tr2bl);o(n?r:void 0)}}}Object.defineProperty(vv.prototype,"count",{get:function(){return this.host.listRows().length},enumerable:!0,configurable:!0}),Object.defineProperty(vv.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),vv.prototype.syncFromHost=function(){this.rebuildIndexProperties()},vv.prototype.add=function(){return this.insert(this.count)},vv.prototype.insert=function(e){var t=this.host.listRows().slice();if(e<0||e>t.length)throw new RangeError("Row index "+String(e)+" is out of range");var r=this.host.createEmptyRow();return t.splice(e,0,r),this.host.replaceRows(t),this.host.bindRow(r),this.rebuildIndexProperties(),r},vv.prototype.remove=function(e){e=this.host.listRows().indexOf(e);if(-1===e)throw new N("This row is no longer in its table");this.removeAt(e)},vv.prototype.removeAt=function(e){var t=this.host.listRows().slice();if(e<0||e>=t.length)throw new RangeError("Row index "+String(e)+" is out of range");if(t.length<=this.host.minRowCount())throw new N("A table must retain at least one row");t.splice(e,1),this.host.replaceRows(t),this.rebuildIndexProperties()},vv.prototype.get=function(e){var t=this.host.listRows();if(e<0||e>=t.length)throw new RangeError("Row index "+String(e)+" is out of range");return t[e]},vv.prototype.indexOf=function(e){return this.host.listRows().indexOf(e)},vv.prototype.toArray=function(){return this.host.listRows().slice()},vv.prototype.forEach=function(e){for(var t=this.host.listRows(),r=0;r<t.length;r+=1)e(t[r],r)},vv.prototype[Symbol.iterator]=function(){return this.host.listRows().slice()[Symbol.iterator]()},vv.prototype.rebuildIndexProperties=function(){for(var r=this.host,e=r.listRows().length,t=this.indexedCount>e?this.indexedCount:e,n=0;n<t+8;n+=1)Object.prototype.hasOwnProperty.call(this,n)&&delete this[n];for(n=0;n<e;n+=1)Object.defineProperty(this,n,{get:function(t){return function(){var e=r.listRows();if(!(t<0||t>=e.length))return e[t]}}(n),enumerable:!0,configurable:!0});this.indexedCount=e};var fv=vv;function vv(e){this.host=e,this.indexedCount=0,this.rebuildIndexProperties()}Object.defineProperty(yv.prototype,"count",{get:function(){return this.host.listCells().length},enumerable:!0,configurable:!0}),Object.defineProperty(yv.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),yv.prototype.syncFromHost=function(){this.rebuildIndexProperties()},yv.prototype.add=function(){return this.insert(this.count)},yv.prototype.insert=function(e){var t=this.host.listCells().slice();if(e<0||e>t.length)throw new RangeError("Cell index "+String(e)+" is out of range");var r=this.host.createEmptyCell();return t.splice(e,0,r),this.host.replaceCells(t),this.host.bindCell(r),this.rebuildIndexProperties(),r},yv.prototype.remove=function(e){e=this.host.listCells().indexOf(e);if(-1===e)throw new N("This cell is no longer in its row");this.removeAt(e)},yv.prototype.removeAt=function(e){var t=this.host.listCells().slice();if(e<0||e>=t.length)throw new RangeError("Cell index "+String(e)+" is out of range");if(t.length<=this.host.minCellCount())throw new N("A table row must retain at least one cell");t.splice(e,1),this.host.replaceCells(t),this.rebuildIndexProperties()},yv.prototype.get=function(e){var t=this.host.listCells();if(e<0||e>=t.length)throw new RangeError("Cell index "+String(e)+" is out of range");return t[e]},yv.prototype.indexOf=function(e){return this.host.listCells().indexOf(e)},yv.prototype.toArray=function(){return this.host.listCells().slice()},yv.prototype.forEach=function(e){for(var t=this.host.listCells(),r=0;r<t.length;r+=1)e(t[r],r)},yv.prototype[Symbol.iterator]=function(){return this.host.listCells().slice()[Symbol.iterator]()},yv.prototype.rebuildIndexProperties=function(){for(var r=this.host,e=r.listCells().length,t=this.indexedCount>e?this.indexedCount:e,n=0;n<t+8;n+=1)Object.prototype.hasOwnProperty.call(this,n)&&delete this[n];for(n=0;n<e;n+=1)Object.defineProperty(this,n,{get:function(t){return function(){var e=r.listCells();if(!(t<0||t>=e.length))return e[t]}}(n),enumerable:!0,configurable:!0});this.indexedCount=e};var mv=yv;function yv(e){this.host=e,this.indexedCount=0,this.rebuildIndexProperties()}Object.defineProperty(bv.prototype,"left",{get:function(){var e=this.host.read();return void 0!==e&&void 0!==e.left?e.left:0},set:function(e){this.writeSide("left",e)},enumerable:!0,configurable:!0}),Object.defineProperty(bv.prototype,"right",{get:function(){var e=this.host.read();return void 0!==e&&void 0!==e.right?e.right:0},set:function(e){this.writeSide("right",e)},enumerable:!0,configurable:!0}),Object.defineProperty(bv.prototype,"top",{get:function(){var e=this.host.read();return void 0!==e&&void 0!==e.top?e.top:0},set:function(e){this.writeSide("top",e)},enumerable:!0,configurable:!0}),Object.defineProperty(bv.prototype,"bottom",{get:function(){var e=this.host.read();return void 0!==e&&void 0!==e.bottom?e.bottom:0},set:function(e){this.writeSide("bottom",e)},enumerable:!0,configurable:!0}),Object.defineProperty(bv.prototype,"all",{get:function(){var e=this.top;return this.bottom===e&&this.left===e&&this.right,e},set:function(e){this.host.write({top:e,bottom:e,left:e,right:e})},enumerable:!0,configurable:!0}),bv.prototype.writeSide=function(e,t){var r=this.host.read(),n="top"===e?t:void 0!==r?r.top:void 0,i="bottom"===e?t:void 0!==r?r.bottom:void 0,o="left"===e?t:void 0!==r?r.left:void 0,e="right"===e?t:void 0!==r?r.right:void 0;this.host.write({top:n,bottom:i,left:o,right:e})};var gv=bv;function bv(e){this.host=e}var wv=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function Pv(e,t){var r,n;try{for(var i=wv(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(te(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Sv(e,t,r){return Sa(Pa(null!=(e=e)?e:b("trPr"),"trPr",t,r))}var xv=new Set([n.Auto,n.AtLeast,n.Exact]);function Cv(e){if(void 0!==e){var e=Pv(e,"trHeight");if(void 0!==e){var t=ga(ba(e,"val"));if(void 0!==t){e=null!=(e=ba(e,"hRule"))?e:"auto";if(xv.has(e))return{value:H(t),rule:e}}}}}function Iv(e,t){return void 0===t?void 0===e?void 0:Sv(e,"trHeight",void 0):Sv(e,"trHeight",b("trHeight",{attributes:[y("val",String(U(t.value))),y("hRule",t.rule)]}))}function Vv(e){return void 0!==e&&void 0!==(e=Pv(e,"cantSplit"))?Ki(e):void 0}function Tv(e,t){if(void 0!==t||void 0!==e)return Sv(e,"cantSplit",void 0!==t?Ji("cantSplit",t):void 0)}function kv(e){return void 0!==e&&void 0!==(e=Pv(e,"tblHeader"))?Ki(e):void 0}function Fv(e,t){if(void 0!==t||void 0!==e)return Sv(e,"tblHeader",void 0!==t?Ji("tblHeader",t):void 0)}function Dv(e){if(void 0!==e){e=Pv(e,"shd");if(void 0!==e){e=La(e);if(void 0!==e.fill||void 0!==e.color||void 0!==e.pattern)return e}}}function Ov(e,t){if(void 0!==t||void 0!==e)return Sv(e,"shd",void 0!==t?Ra(t):void 0)}function Nv(e){return void 0!==e&&void 0!==(e=Pv(e,"cnfStyle"))&&$a(Ja(e=el(e)))?e:void 0}function Av(e,t){var r;return void 0===t?void 0===e?void 0:Sv(e,"cnfStyle",void 0):(r=void 0!==e?Pv(e,"cnfStyle"):void 0,Sv(e,"cnfStyle",tl(Ja(t),r)))}var Ev=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Lv={top:H(0),left:H(0),bottom:H(0),right:H(0)};function Rv(e,t){var r,n;try{for(var i=Ev(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(te(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Bv(e,t,r){return Sa(Pa(null!=(e=e)?e:b("tcPr"),"tcPr",t,r))}function _v(e){if(void 0!==e){var t,r,n="gridSpan";try{for(var i=Ev(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(te(a,n)){var l=z(a);if(void 0!==l&&/^\d+$/.test(l))return parseInt(l,10)}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}}function jv(e){if(void 0!==e){var t,r;try{for(var n=Ev(re(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(te(o,"vMerge")){var a=z(o);if("restart"===a)return"restart";if("continue"===a||void 0===a)return"continue"}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}function Mv(e,t){if(void 0===t||1===t)return void 0===e?void 0:Bv(e,"gridSpan",void 0);if(t<1)throw new RangeError("gridSpan must be at least 1");return Bv(e,"gridSpan",b("gridSpan",{attributes:[y("val",String(t))]}))}function zv(e,t){return void 0===t?void 0===e?void 0:Bv(e,"vMerge",void 0):Bv(e,"vMerge",b("vMerge","restart"===t?{attributes:[y("val","restart")]}:{attributes:[y("val","continue")]}))}function Uv(e){if(void 0!==e){var t,r;try{for(var n=Ev(re(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(te(o,"hMerge")){var a=z(o);if("restart"===a)return"restart";if("continue"===a||void 0===a)return"continue"}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}function Hv(e,t){return void 0===t?void 0===e?void 0:Bv(e,"hMerge",void 0):Bv(e,"hMerge",b("hMerge","restart"===t?{attributes:[y("val","restart")]}:{attributes:[y("val","continue")]}))}function Wv(e){return void 0!==e&&void 0!==(e=Rv(e,"tcW"))?Ca(e):void 0}function Gv(e,t){return Bv(e,"tcW",void 0!==t?Ia("tcW",t):void 0)}function qv(e){if(void 0!==e){e=Rv(e,"tcBorders");if(void 0!==e){e=Da(e);if(void 0!==e.top||void 0!==e.left||void 0!==e.bottom||void 0!==e.right||void 0!==e.insideH||void 0!==e.insideV||void 0!==e.tl2br||void 0!==e.tr2bl)return e}}}function Xv(e,t){var r=void 0!==e?Rv(e,"tcBorders"):void 0;return Bv(e,"tcBorders",void 0!==t?Oa(t,r):void 0)}function Yv(e){if(void 0!==e){e=Rv(e,"shd");if(void 0!==e){e=La(e);if(void 0!==e.fill||void 0!==e.color||void 0!==e.pattern)return e}}}function Zv(e,t){var r;return void 0!==t&&(void 0!==(r=t).fill&&0<r.fill.length||void 0!==r.color&&0<r.color.length&&"auto"!==r.color||void 0!==r.pattern&&0<r.pattern.length&&"clear"!==r.pattern||"clear"===r.pattern&&void 0!==r.color&&0<r.color.length)?Bv(e,"shd",Ra(t)):Bv(e,"shd",void 0)}function Kv(e){if(void 0!==e){e=Rv(e,"tcMar");if(void 0!==e){e=Na(e);if(void 0!==e.top||void 0!==e.right||void 0!==e.bottom||void 0!==e.left)return e}}}function Jv(e){return void 0===e||void 0===Rv(e,"tcMar")}function $v(e,t){var r=void 0!==e?Rv(e,"tcMar"):void 0;return Bv(e,"tcMar",void 0!==t?Ea("tcMar",t,r):void 0)}function Qv(e,t){if(t)return $v(e,void 0);t=void 0!==e?Rv(e,"tcMar"):void 0;if(void 0!==t){t=Na(t);if(void 0!==t.top||void 0!==t.right||void 0!==t.bottom||void 0!==t.left)return e}return $v(e,Lv)}var em=new Set(["lr","rl","tb","btLr","lrV","rlV"]);function tm(e){if(void 0!==e){e=Rv(e,"textDirection");if(void 0!==e){e=z(e);if(void 0!==e)return em.has(e)?e:"lrTb"===e?"lr":"tbRl"===e?"tb":"btLr"===e?"btLr":"lrTbV"===e?"lrV":"tbRlV"===e?"rlV":"tbLrV"===e?"tb":void 0}}}function rm(e,t){return Bv(e,"textDirection",void 0!==t?b("textDirection",{attributes:[y("val",t)]}):void 0)}function nm(e){return void 0!==e&&void 0!==(e=Rv(e,"vAlign"))&&("top"===(e=z(e))||"center"===e||"bottom"===e)?e:void 0}function im(e,t){return Bv(e,"vAlign",void 0!==t?b("vAlign",{attributes:[y("val",t)]}):void 0)}function om(e){return void 0!==e&&void 0!==(e=Rv(e,"noWrap"))?Ki(e):void 0}function am(e,t){return Bv(e,"noWrap",void 0!==t?Ji("noWrap",t):void 0)}function lm(e){return void 0!==e&&void 0!==(e=Rv(e,"tcFitText"))?Ki(e):void 0}function sm(e,t){return Bv(e,"tcFitText",void 0!==t?Ji("tcFitText",t):void 0)}function um(e){return void 0!==e&&void 0!==(e=Rv(e,"cnfStyle"))&&$a(Ja(e=el(e)))?e:void 0}function cm(e,t){var r;return void 0===t?void 0===e?void 0:Bv(e,"cnfStyle",void 0):(r=void 0!==e?Rv(e,"cnfStyle"):void 0,Bv(e,"cnfStyle",tl(Ja(t),r)))}var dm=function(){return(dm=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},hm=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},pm={leftFromText:!0,rightFromText:!0,topFromText:!0,bottomFromText:!0,vertAnchor:!0,horzAnchor:!0,tblpX:!0,tblpY:!0,tblpXSpec:!0,tblpYSpec:!0};function fm(e,t){var r,n;try{for(var i=hm(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(te(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function vm(e,t){e=ga(ba(e,t));return void 0!==e?H(e):void 0}function mm(e){var t=fm(e,"tblpPr");if(void 0!==t){for(var r=[],n=0;n<t.attributes.length;n+=1){var i=t.attributes[n];!0!==pm[i.localName]&&r.push(i)}return dm({horizontalPosition:vm(t,"tblpX"),verticalPosition:vm(t,"tblpY"),horizontalOrigin:"margin"===(e=ba(t,"horzAnchor"))?"margin":"page"===e?"page":"column"===e?"column":void 0,verticalOrigin:"margin"===(e=ba(t,"vertAnchor"))?"margin":"page"===e?"page":"paragraph"===e?"paragraph":void 0,distanceFromTop:vm(t,"topFromText"),distanceFromBottom:vm(t,"bottomFromText"),distanceFromLeft:vm(t,"leftFromText"),distanceFromRight:vm(t,"rightFromText")},0<r.length?{unknownAttributes:r}:{})}}function ym(e,t,r){void 0!==r&&e.push(y(t,String(U(r))))}function gm(e,t){if(void 0===t)return Pa(e,"tblPr","tblpPr",void 0);for(var r=fm(e,"tblpPr"),n=[],i=(ym(n,"leftFromText",t.distanceFromLeft),ym(n,"rightFromText",t.distanceFromRight),ym(n,"topFromText",t.distanceFromTop),ym(n,"bottomFromText",t.distanceFromBottom),void 0!==t.verticalOrigin&&n.push(y("vertAnchor",t.verticalOrigin)),void 0!==t.horizontalOrigin&&n.push(y("horzAnchor",t.horizontalOrigin)),ym(n,"tblpX",t.horizontalPosition),ym(n,"tblpY",t.verticalPosition),{}),o=0;o<n.length;o+=1)i[n[o].localName]=!0;for(var a=void 0!==t.unknownAttributes?t.unknownAttributes:void 0!==r?r.attributes:[],o=0;o<a.length;o+=1){var l=a[o];!0!==pm[l.localName]&&!0!==i[l.localName]&&(n.push(l),i[l.localName]=!0)}if(void 0!==r)for(o=0;o<r.attributes.length;o+=1)!0===i[(l=r.attributes[o]).localName]||"tblpXSpec"!==l.localName&&"tblpYSpec"!==l.localName||(n.push(l),i[l.localName]=!0);t=Pa(e,"tblPr","tblpPr",b("tblpPr",{attributes:n,namespaceDeclarations:void 0!==r?r.namespaceDeclarations:void 0,children:void 0!==r?re(r):void 0}));return void 0!==Sa(t)?t:e}var bm=function(){return(bm=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},wm={None:"none",Start:"start",Continue:"continue"},Pm={Margin:"margin",Page:"page",Column:"column"},Sm={Margin:"margin",Page:"page",Paragraph:"paragraph"};function xm(e){return null==e?void 0:e.fill}function Cm(e){var t;return"number"==typeof e?0<(t=Fo(e)).length?t:void 0:0!==(t=e.trim()).length?"auto"===t.toLowerCase()?"auto":void 0!==(t=To(t))?t:e:void 0}function Im(e,t){var r,n;return void 0===e?void 0===t||(r=t.pattern,n=t.color,!(void 0!==r&&"clear"!==r||void 0!==n&&"auto"!==n))||void 0===n&&void 0===r?void 0:bm({},void 0!==n?{color:n}:{},void 0!==r?{pattern:r}:{}):(n=void 0!==t&&void 0!==t.pattern&&0<t.pattern.length?t.pattern:"clear",{fill:e,color:void 0!==t&&void 0!==t.color&&0<t.color.length?t.color:"auto",pattern:n})}function Vm(e){return"restart"===e?wm.Start:"continue"===e?wm.Continue:wm.None}function Tm(e){return e===wm.Start?"restart":e===wm.Continue?"continue":void 0}Fm.prototype.readBag=function(){var e=mm(this.host.readTblPr());return void 0!==e?e:{}},Fm.prototype.writeBag=function(e){this.host.writeTblPr(gm(this.host.readTblPr(),e))},Object.defineProperty(Fm.prototype,"horizontalPosition",{get:function(){var e=this.readBag().horizontalPosition;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:e,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(Fm.prototype,"verticalPosition",{get:function(){var e=this.readBag().verticalPosition;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:e,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(Fm.prototype,"horizontalOrigin",{get:function(){var e=this.readBag().horizontalOrigin;return void 0!==e?e:Pm.Margin},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:e,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(Fm.prototype,"verticalOrigin",{get:function(){var e=this.readBag().verticalOrigin;return void 0!==e?e:Sm.Margin},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:e,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(Fm.prototype,"distanceFromTop",{get:function(){var e=this.readBag().distanceFromTop;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:e,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(Fm.prototype,"distanceFromBottom",{get:function(){var e=this.readBag().distanceFromBottom;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:e,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(Fm.prototype,"distanceFromLeft",{get:function(){var e=this.readBag().distanceFromLeft;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:e,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(Fm.prototype,"distanceFromRight",{get:function(){var e=this.readBag().distanceFromRight;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:e,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0});var km=Fm;function Fm(e){this.host=e}Object.defineProperty(Om.prototype,"borders",{get:function(){return this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"paddings",{get:function(){return this.paddingsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"positioning",{get:function(){return this.positioningInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"horizontalAlignment",{get:function(){var e=al(this.host.readTblPr());return void 0!==e?e:"left"},set:function(e){if("left"!==e&&"center"!==e&&"right"!==e)throw new RangeError("Unsupported TableAlignment value");this.host.writeTblPr(ll(this.host.readTblPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"cellSpacing",{get:function(){var e=ml(this.host.readTblPr());return void 0!==e?e:0},set:function(e){if("number"!=typeof e||!isFinite(e)||e<0)throw new RangeError("cellSpacing must be a finite non-negative number");this.host.writeTblPr(yl(this.host.readTblPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"backColor",{get:function(){return xm(gl(this.host.readTblPr()))},set:function(e){var t=gl(this.host.readTblPr()),e=void 0===e?void 0:Cm(e),t=(this.host.writeTblPr(bl(this.host.readTblPr(),Im(e,t))),this.host.applyTableBackColorToCells);void 0!==t&&t.call(this.host,e)},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"wrapAround",{get:function(){return void 0!==mm(this.host.readTblPr())},set:function(e){e?void 0===mm(this.host.readTblPr())&&this.host.writeTblPr(gm(this.host.readTblPr(),{})):this.host.writeTblPr(gm(this.host.readTblPr(),void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"isAutoResized",{get:function(){return"fixed"!==kl(this.host.readTblPr())},set:function(e){e=e?"autoFit":"fixed";this.host.writeTblPr(Fl(this.host.readTblPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"preferredWidth",{get:function(){return cl(this.host.readTblPr())},set:function(e){this.host.writeTblPr(dl(this.host.readTblPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(Om.prototype,"layout",{get:function(){return kl(this.host.readTblPr())},set:function(e){this.host.writeTblPr(Fl(this.host.readTblPr(),e))},enumerable:!0,configurable:!0});var Dm=Om;function Om(e){var t=this,r=(this.host=e,this.bordersInstance=new cv(hv(function(){return hl(t.host.readTblPr())},function(e){t.host.writeTblPr(pl(t.host.readTblPr(),e))}),!0),{read:function(){return fl(t.host.readTblPr())},write:function(e){t.host.writeTblPr(vl(t.host.readTblPr(),e))}});this.paddingsInstance=new gv(r),this.positioningInstance=new km(e)}Object.defineProperty(Am.prototype,"isBreakAcrossPages",{get:function(){return!0!==Vv(this.host.readTrPr())},set:function(e){this.host.writeTrPr(Tv(this.host.readTrPr(),!e||void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Am.prototype,"backColor",{get:function(){return xm(Dv(this.host.readTrPr()))},set:function(e){var t=Dv(this.host.readTrPr()),e=void 0===e?void 0:Cm(e);this.host.writeTrPr(Ov(this.host.readTrPr(),Im(e,t)))},enumerable:!0,configurable:!0});var Nm=Am;function Am(e){this.host=e}Object.defineProperty(Lm.prototype,"backColor",{get:function(){return xm(Yv(this.host.readTcPr()))},set:function(e){var t=Yv(this.host.readTcPr()),e=void 0===e?void 0:Cm(e);this.host.writeTcPr(Zv(this.host.readTcPr(),Im(e,t)))},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"borders",{get:function(){return this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"paddings",{get:function(){return this.paddingsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"verticalAlignment",{get:function(){var e=nm(this.host.readTcPr());return void 0!==e?e:"top"},set:function(e){if("top"!==e&&"center"!==e&&"bottom"!==e)throw new RangeError("Unsupported verticalAlignment value");this.host.writeTcPr(im(this.host.readTcPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"textDirection",{get:function(){var e=tm(this.host.readTcPr());return void 0!==e?e:"lr"},set:function(e){if("lr"!==e&&"rl"!==e&&"tb"!==e&&"btLr"!==e&&"lrV"!==e&&"rlV"!==e)throw new RangeError("Unsupported textDirection value");this.host.writeTcPr(rm(this.host.readTcPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"wrapText",{get:function(){return!0!==om(this.host.readTcPr())},set:function(e){this.host.writeTcPr(am(this.host.readTcPr(),!e||void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"fitText",{get:function(){return!0===lm(this.host.readTcPr())},set:function(e){this.host.writeTcPr(sm(this.host.readTcPr(),!!e||void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"columnSpan",{get:function(){var e=_v(this.host.readTcPr());return void 0!==e&&0<e?e:1},set:function(e){this.host.writeTcPr(Mv(this.host.readTcPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"horizontalMerge",{get:function(){return Vm(Uv(this.host.readTcPr()))},set:function(e){this.host.writeTcPr(Hv(this.host.readTcPr(),Tm(e)))},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"verticalMerge",{get:function(){return Vm(jv(this.host.readTcPr()))},set:function(e){this.host.writeTcPr(zv(this.host.readTcPr(),Tm(e)))},enumerable:!0,configurable:!0}),Object.defineProperty(Lm.prototype,"samePaddingsAsTable",{get:function(){return Jv(this.host.readTcPr())},set:function(e){this.host.writeTcPr(Qv(this.host.readTcPr(),e))},enumerable:!0,configurable:!0});var Em=Lm;function Lm(e){var t=this,e=(this.host=e,this.bordersInstance=new cv(pv(function(){return qv(t.host.readTcPr())},function(e){t.host.writeTcPr(Xv(t.host.readTcPr(),e))}),!1),{read:function(){return Kv(t.host.readTcPr())},write:function(e){t.host.writeTcPr($v(t.host.readTcPr(),e))}});this.paddingsInstance=new gv(e)}var Rm=function(){return(Rm=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Bm=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},_m={spacing:void 0,indentation:void 0,keepNext:void 0,keepLines:void 0,pageBreakBefore:void 0,widowControl:void 0,contextualSpacing:void 0,outlineLevel:void 0};function jm(e){var t,r,n,i,o,a,l,s,u,c;if(void 0===e||!te(e,"pPr"))return _m;try{for(var d=Bm(re(e)),h=d.next();!h.done;h=d.next()){var p,f=h.value;if(te(f,f.localName))switch(f.localName){case"spacing":n=_s(f);continue;case"ind":i=function(e){if(te(e,"ind")){e=ks(e);if(void 0!==e){var t=void 0!==e.left?H(e.left):void 0,r=void 0!==e.right?H(e.right):void 0;if(void 0!==t||void 0!==r||void 0!==e.firstLine||void 0!==e.hanging)return El({},void 0!==t?{left:t}:{},void 0!==r?{right:r}:{},void 0!==e.firstLine?{firstLine:H(e.firstLine)}:{},void 0!==e.hanging?{hanging:H(e.hanging)}:{})}}}(f);continue;case"keepNext":void 0!==(p=Ki(f))&&(o=p);continue;case"keepLines":void 0!==(p=Ki(f))&&(a=p);continue;case"pageBreakBefore":void 0!==(p=Ki(f))&&(l=p);continue;case"widowControl":void 0!==(p=Ki(f))&&(s=p);continue;case"contextualSpacing":void 0!==(p=Ki(f))&&(u=p);continue;case"outlineLvl":var v,m=function(e,t){return null==(e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)}))?void 0:e.value}(f,"val");void 0!==m&&/^\d$/.test(m)&&0<=(v=parseInt(m,10))&&v<=8&&(c=v);continue;default:continue}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return{spacing:n,indentation:i,keepNext:o,keepLines:a,pageBreakBefore:l,widowControl:s,contextualSpacing:u,outlineLevel:c}}function Mm(e,t){return void 0!==t?t:e}function zm(e){var t,r,n,i=[];if(void 0!==e.keepNext&&i.push(Ji("keepNext",e.keepNext)),void 0!==e.keepLines&&i.push(Ji("keepLines",e.keepLines)),void 0!==e.pageBreakBefore&&i.push(Ji("pageBreakBefore",e.pageBreakBefore)),void 0!==e.widowControl&&i.push(Ji("widowControl",e.widowControl)),void 0!==e.spacing&&i.push((n=e.spacing,t={},void 0!==n.before&&(t.before=U(n.before)),void 0!==n.after&&(t.after=U(n.after)),void 0!==(r=void 0!==n.lineSpacing?n.lineSpacing:n.line)&&(t.line=U(r)),void 0!==n.lineRule&&(t.lineRule=n.lineRule),void 0!==n.beforeAutospacing&&(t.beforeAutospacing=n.beforeAutospacing),void 0!==n.afterAutospacing&&(t.afterAutospacing=n.afterAutospacing),Ls(t))),void 0!==e.indentation&&i.push((r=e.indentation,n={},void 0!==r.left&&(n.left=U(r.left)),void 0!==r.right&&(n.right=U(r.right)),void 0!==r.firstLine&&(n.firstLine=U(r.firstLine)),void 0!==r.hanging&&(n.hanging=U(r.hanging)),Es(n))),void 0!==e.contextualSpacing&&i.push(Ji("contextualSpacing",e.contextualSpacing)),void 0!==e.outlineLevel&&i.push(b("outlineLvl",{attributes:[y("val",String(e.outlineLevel))]})),0!==i.length)return b("pPr",{children:i})}var Um='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Angsana New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游明朝"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Cordia New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>',Hm=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Wm=Er("theme"),Gm=new TextEncoder,qm="http://schemas.openxmlformats.org/drawingml/2006/main",Xm="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Ym="http://purl.oclc.org/ooxml/officeDocument/relationships/theme",Zm="application/vnd.openxmlformats-officedocument.theme+xml",Km=Lt("/word/theme/theme1.xml"),Jm=new TextDecoder("utf-8"),$m=["majorEastAsia","majorBidi","majorAscii","majorHAnsi","minorEastAsia","minorBidi","minorAscii","minorHAnsi"];function Qm(e){return void 0!==e&&-1!==$m.indexOf(e)?e:void 0}function ey(e){var t,r,n,i,o;try{for(var a=Hm(ny(e)),l=a.next();!l.done;l=a.next()){var s=l.value;ty(s,"latin")?n=ry(s,"typeface"):ty(s,"ea")?i=ry(s,"typeface"):ty(s,"cs")&&(o=ry(s,"typeface"))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return{latin:n,ea:i,cs:o}}function ty(e,t){return e.localName===t&&e.namespaceUri===qm}function ry(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===qm||""===e.namespaceUri)});return null==e?void 0:e.value}function ny(e){return e.children.filter(function(e){return"element"===e.kind})}function iy(e){var t,r,n,i,o,a,l;if(ty(e,"theme")){try{for(var s=Hm(ny(e)),u=s.next();!u.done;u=s.next()){var c=u.value;if(ty(c,"themeElements")){try{for(var d=Hm(ny(c)),h=d.next();!h.done;h=d.next()){var p=h.value;ty(p,"clrScheme")?o=ry(p,"name"):ty(p,"fontScheme")?a=ry(p,"name"):ty(p,"fmtScheme")&&(l=ry(p,"name"))}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}break}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return{name:ry(e,"name"),colorSchemeName:o,fontSchemeName:a,formatSchemeName:l,fontScheme:function(e){var t,r,n,i,o,a;try{for(var l=Hm(ny(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if(ty(u,"themeElements")){var c=void 0,d=void 0;try{for(var h=Hm(ny(u)),p=h.next();!p.done;p=h.next()){var f=p.value;if(ty(f,"fontScheme")){try{for(var v=Hm(ny(f)),m=v.next();!m.done;m=v.next()){var y=m.value;ty(y,"majorFont")?c=ey(y):ty(y,"minorFont")&&(d=ey(y))}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}break}}}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}return void 0===c&&void 0===d?void 0:{major:null!=c?c:{latin:void 0,ea:void 0,cs:void 0},minor:null!=d?d:{latin:void 0,ea:void 0,cs:void 0}}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}}(e)}}}function oy(e){return iy(Ce(Jm.decode(e)))}ly.prototype.name=function(){return null==this.metadata?void 0:this.metadata.name},ly.prototype.colorSchemeName=function(){return null==this.metadata?void 0:this.metadata.colorSchemeName},ly.prototype.fontSchemeName=function(){return null==this.metadata?void 0:this.metadata.fontSchemeName},ly.prototype.formatSchemeName=function(){return null==this.metadata?void 0:this.metadata.formatSchemeName},ly.prototype.typefaceFor=function(e){var t=null==this.metadata?void 0:this.metadata.fontScheme;if(void 0!==t){var r=t;switch(e){case"majorAscii":case"majorHAnsi":return r.major.latin;case"minorAscii":case"minorHAnsi":return r.minor.latin;case"majorEastAsia":return r.major.ea;case"minorEastAsia":return r.minor.ea;case"majorBidi":return r.major.cs;case"minorBidi":return r.minor.cs}}},ly.prototype.isDirty=function(){return this.dirty},ly.prototype.serialize=function(){return void 0!==this.bytes?this.bytes:new Uint8Array(0)};var ay=ly;function ly(e,t,r){this.bytes=e,this.metadata=t,this.dirty=r}function sy(){var e=Gm.encode(Um),t=oy(e);return new ay(e,t,!0)}var uy=!1;function cy(){uy=!1}function dy(){uy||(uy=!0,Rr({id:Wm}),Yr({featureId:Wm,relationshipTypes:[Xm,Ym],defaultRelativeTarget:"theme/theme1.xml",partName:Km,contentType:Zm,loadPart:function(e,t){return void 0===(e=e)?sy():(r=oy(e.data),new ay(e.data,r,!1));var r}}))}function hy(e){dy();e=e.featurePart(Wm);if(void 0!==e&&e instanceof ay)return e;throw new J("feature/not-registered","Theme part was not loaded; call registerStylesFeature() before WordDocument.open")}var py=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},fy={bold:void 0,boldCs:void 0,italic:void 0,italicCs:void 0,fontSize:void 0,fontSizeCs:void 0,kerning:void 0,asciiFont:void 0,hAnsiFont:void 0,eastAsiaFont:void 0,csFont:void 0,fontHint:void 0,asciiTheme:void 0,hAnsiTheme:void 0,eastAsiaTheme:void 0,csTheme:void 0,underline:void 0,color:void 0,vertAlign:void 0,lang:void 0},vy=new Set(["single","words","double","thick","dotted","dottedHeavy","dash","dashedHeavy","dashLong","dashLongHeavy","dotDash","dashDotHeavy","dotDotDash","dashDotDotHeavy","wave","wavyHeavy","wavyDouble","none"]),my=new Set(["baseline","superscript","subscript"]),yy=new Set(["default","eastAsia"]),gy=/^([0-9A-Fa-f]{6}|auto)$/;function by(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)});return null==e?void 0:e.value}function wy(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)});return null==e?void 0:e.value}function Py(e){var t=by(e,"ascii"),r=by(e,"hAnsi"),n=by(e,"eastAsia"),i=by(e,"cs"),o=Qm(by(e,"asciiTheme")),a=Qm(by(e,"hAnsiTheme")),l=Qm(by(e,"eastAsiaTheme")),s=Qm(by(e,"cstheme"));return{asciiFont:void 0!==t?t:void 0,hAnsiFont:void 0!==r?r:void 0,eastAsiaFont:void 0!==n?n:void 0,csFont:void 0!==i?i:void 0,fontHint:void 0!==(e=by(e,"hint"))&&yy.has(e)?e:void 0,asciiTheme:void 0===t?o:void 0,hAnsiTheme:void 0===r?a:void 0,eastAsiaTheme:void 0===n?l:void 0,csTheme:void 0===i?s:void 0}}function Sy(e){e=z(e);if(void 0!==e&&/^\d+$/.test(e))return co(parseInt(e,10))}function xy(e){var t,r,n,i,o,a,l,s,u,c,d,h,p,f;if(void 0===e||!te(e,"rPr"))return fy;try{for(var v=py(re(e)),m=v.next();!m.done;m=v.next()){var y,g,b,w,P,S,x,C,I,V,T,k,F,D,O,N=m.value;te(N,N.localName)&&("rFonts"===N.localName?(g=(y=Py(N)).asciiFont,b=y.hAnsiFont,w=y.eastAsiaFont,P=y.csFont,S=y.fontHint,x=y.asciiTheme,C=y.hAnsiTheme,I=y.eastAsiaTheme,V=y.csTheme):"sz"===N.localName?l=Sy(N):"szCs"===N.localName?s=Sy(N):"kern"===N.localName?u=Sy(N):"lang"===N.localName?h=function(e){var t=wy(e,"val"),r=wy(e,"eastAsia"),e=wy(e,"bidi");if(void 0!==t||void 0!==r||void 0!==e)return{val:t,eastAsia:r,bidi:e}}(N):"u"===N.localName?void 0!==(T=void 0!==(f=z(N))&&vy.has(f)?f:void 0)&&(F={kind:T,color:void 0!==(k=by(N,"color"))?k:void 0}):"color"===N.localName?void 0!==(D=z(N))&&gy.test(D)&&(c=D):"vertAlign"===N.localName?d=void 0!==(p=z(N))&&my.has(p)?p:void 0:"b"!==N.localName&&"i"!==N.localName&&"bCs"!==N.localName&&"iCs"!==N.localName||void 0!==(O=Ki(N))&&("b"===N.localName?n=O:"i"===N.localName?o=O:"bCs"===N.localName?i=O:a=O))}}catch(e){t={error:e}}finally{try{m&&!m.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}return{bold:n,boldCs:i,italic:o,italicCs:a,fontSize:l,fontSizeCs:s,kerning:u,asciiFont:g,hAnsiFont:b,eastAsiaFont:w,csFont:P,fontHint:S,asciiTheme:x,hAnsiTheme:C,eastAsiaTheme:I,csTheme:V,underline:F,color:c,vertAlign:d,lang:h}}function Cy(e,t,r,n){return void 0!==r?{font:r,theme:void 0}:void 0!==n?{font:void 0,theme:n}:{font:e,theme:t}}function Iy(e,t,r,n){return void 0!==r?{font:r,theme:void 0}:void 0!==n?{font:void 0,theme:n}:{font:e,theme:t}}function Vy(e,t){var r=Cy(e.asciiFont,e.asciiTheme,t.asciiFont,t.asciiTheme),n=Cy(e.hAnsiFont,e.hAnsiTheme,t.hAnsiFont,t.hAnsiTheme),i=Iy(e.eastAsiaFont,e.eastAsiaTheme,t.eastAsiaFont,t.eastAsiaTheme),o=Iy(e.csFont,e.csTheme,t.csFont,t.csTheme);return{bold:(void 0!==t.bold?t:e).bold,boldCs:(void 0!==t.boldCs?t:e).boldCs,italic:(void 0!==t.italic?t:e).italic,italicCs:(void 0!==t.italicCs?t:e).italicCs,fontSize:(void 0!==t.fontSize?t:e).fontSize,fontSizeCs:(void 0!==t.fontSizeCs?t:e).fontSizeCs,kerning:(void 0!==t.kerning?t:e).kerning,asciiFont:r.font,hAnsiFont:n.font,eastAsiaFont:i.font,csFont:o.font,fontHint:(void 0!==t.fontHint?t:e).fontHint,asciiTheme:r.theme,hAnsiTheme:n.theme,eastAsiaTheme:i.theme,csTheme:o.theme,underline:(void 0!==t.underline?t:e).underline,color:(void 0!==t.color?t:e).color,vertAlign:(void 0!==t.vertAlign?t:e).vertAlign,lang:(r=e.lang,void 0===(n=t.lang)?r:void 0===r?n:{val:(void 0!==n.val?n:r).val,eastAsia:(void 0!==n.eastAsia?n:r).eastAsia,bidi:(void 0!==n.bidi?n:r).bidi})}}function Ty(e){var t,e=e.characterFormat.fontsRecord();return void 0===e?{asciiFont:void 0,hAnsiFont:void 0,eastAsiaFont:void 0,csFont:void 0,fontHint:void 0,asciiTheme:void 0,hAnsiTheme:void 0,eastAsiaTheme:void 0,csTheme:void 0}:(t=e.hint,{asciiFont:e.ascii,hAnsiFont:e.hAnsi,eastAsiaFont:e.eastAsia,csFont:e.cs,fontHint:"default"===t||"eastAsia"===t?t:void 0,asciiTheme:Qm(e.asciiTheme),hAnsiTheme:Qm(e.hAnsiTheme),eastAsiaTheme:Qm(e.eastAsiaTheme),csTheme:Qm(e.cTheme)})}function ky(e){return null!=e.bold&&e.bold}function Fy(e){return null!=e.italic&&e.italic}function Dy(e){return String(so(e))}function Oy(e){var t,r=[];if(void 0===e.asciiFont&&void 0===e.hAnsiFont&&void 0===e.eastAsiaFont&&void 0===e.csFont&&void 0===e.fontHint&&void 0===e.asciiTheme&&void 0===e.hAnsiTheme&&void 0===e.eastAsiaTheme&&void 0===e.csTheme||(t=[],void 0!==e.asciiFont&&t.push(y("ascii",e.asciiFont)),void 0!==e.hAnsiFont&&t.push(y("hAnsi",e.hAnsiFont)),void 0!==e.eastAsiaFont&&t.push(y("eastAsia",e.eastAsiaFont)),void 0!==e.csFont&&t.push(y("cs",e.csFont)),void 0!==e.asciiTheme&&t.push(y("asciiTheme",e.asciiTheme)),void 0!==e.hAnsiTheme&&t.push(y("hAnsiTheme",e.hAnsiTheme)),void 0!==e.eastAsiaTheme&&t.push(y("eastAsiaTheme",e.eastAsiaTheme)),void 0!==e.csTheme&&t.push(y("cstheme",e.csTheme)),void 0!==e.fontHint&&t.push(y("hint",e.fontHint)),r.push(b("rFonts",{attributes:t}))),void 0!==e.bold&&r.push(Ji("b",e.bold)),void 0!==e.boldCs&&r.push(Ji("bCs",e.boldCs)),void 0!==e.italic&&r.push(Ji("i",e.italic)),void 0!==e.italicCs&&r.push(Ji("iCs",e.italicCs)),void 0!==e.color&&r.push(b("color",{attributes:[y("val",e.color)]})),void 0!==e.kerning&&r.push(b("kern",{attributes:[y("val",Dy(e.kerning))]})),void 0!==e.fontSize&&r.push(b("sz",{attributes:[y("val",Dy(e.fontSize))]})),void 0!==e.fontSizeCs&&r.push(b("szCs",{attributes:[y("val",Dy(e.fontSizeCs))]})),void 0!==e.underline&&(t=[y("val",e.underline.kind)],void 0!==e.underline.color&&t.push(y("color",e.underline.color)),r.push(b("u",{attributes:t}))),void 0!==e.vertAlign&&r.push(b("vertAlign",{attributes:[y("val",e.vertAlign)]})),void 0!==e.lang&&(t=[],void 0!==e.lang.val&&t.push(y("val",e.lang.val)),void 0!==e.lang.eastAsia&&t.push(y("eastAsia",e.lang.eastAsia)),void 0!==e.lang.bidi&&t.push(y("bidi",e.lang.bidi)),0<t.length)&&r.push(b("lang",{attributes:t})),0!==r.length)return b("rPr",{children:r})}var Ny=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ay=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ny(arguments[t]));return e},Ey=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Ly=new Set(["paragraph","character","table","numbering"]),Ry=new Set(["name","aliases","basedOn","next","link","autoRedefine","hidden","uiPriority","semiHidden","unhideWhenUsed","qFormat","locked"]);function By(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)});return null==e?void 0:e.value}function _y(e){if(void 0!==e)return""===(e=e.trim().toLowerCase())||"true"===e||"1"===e||"on"===e||"false"!==e&&"0"!==e&&"off"!==e&&void 0}function jy(e,t){return e.find(function(e){return te(e,t)})}function My(e,t){e=jy(e,t);if(void 0!==e)return z(e)}function zy(e,t){e=jy(e,t);if(void 0!==e)return Ki(e)}Object.defineProperty(Hy.prototype,"styleId",{get:function(){return this.styleIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"type",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"default",{get:function(){return this.defaultValue},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"customStyle",{get:function(){return this.customStyleValue},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"name",{get:function(){return My(this.children,"name")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"aliases",{get:function(){return My(this.children,"aliases")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"basedOn",{get:function(){return My(this.children,"basedOn")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"next",{get:function(){return My(this.children,"next")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"link",{get:function(){return My(this.children,"link")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"uiPriority",{get:function(){var e=jy(this.children,"uiPriority");if(void 0!==e){e=z(e);if(void 0!==e&&/^-?\d+$/.test(e.trim()))return parseInt(e.trim(),10)}},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"autoRedefine",{get:function(){return zy(this.children,"autoRedefine")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"hidden",{get:function(){return zy(this.children,"hidden")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"semiHidden",{get:function(){return zy(this.children,"semiHidden")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"unhideWhenUsed",{get:function(){return zy(this.children,"unhideWhenUsed")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"qFormat",{get:function(){return zy(this.children,"qFormat")},enumerable:!0,configurable:!0}),Object.defineProperty(Hy.prototype,"locked",{get:function(){return zy(this.children,"locked")},enumerable:!0,configurable:!0}),Hy.prototype.runProperties=function(){return xy(jy(this.children,"rPr"))},Hy.prototype.serialize=function(){var t,e,r=[],n=(void 0!==this.typeValue&&r.push(y("type",this.typeValue)),r.push(y("styleId",this.styleIdValue)),void 0!==this.defaultValue&&r.push(y("default",this.defaultValue?"1":"0")),void 0!==this.customStyleValue&&r.push(y("customStyle",this.customStyleValue?"1":"0")),r.push.apply(r,Ay(this.extraAttributes)),[]),i=this.name,i=(n.push(b("name",{attributes:[y("val",null!=i?i:this.styleIdValue)]})),this.aliases),i=(void 0!==i&&n.push(b("aliases",{attributes:[y("val",i)]})),this.basedOn),i=(void 0!==i&&n.push(b("basedOn",{attributes:[y("val",i)]})),this.next),i=(void 0!==i&&n.push(b("next",{attributes:[y("val",i)]})),this.link),i=(void 0!==i&&n.push(b("link",{attributes:[y("val",i)]})),this.autoRedefine),i=(void 0!==i&&n.push(Ji("autoRedefine",i)),this.hidden),i=(void 0!==i&&n.push(Ji("hidden",i)),this.uiPriority),i=(void 0!==i&&n.push(b("uiPriority",{attributes:[y("val",String(i))]})),this.semiHidden),i=(void 0!==i&&n.push(Ji("semiHidden",i)),this.unhideWhenUsed),i=(void 0!==i&&n.push(Ji("unhideWhenUsed",i)),this.qFormat),i=(void 0!==i&&n.push(Ji("qFormat",i)),this.locked);void 0!==i&&n.push(Ji("locked",i));try{for(var o=Ey(this.children),a=o.next();!a.done;a=o.next()){var l=a.value;te(l,l.localName)&&Ry.has(l.localName)||n.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return b("style",{attributes:r,children:n})};var Uy=Hy;function Hy(e,t,r,n,i,o){void 0===o&&(o=[]),this.styleIdValue=e,this.typeValue=t,this.defaultValue=r,this.customStyleValue=n,this.children=i,this.extraAttributes=o}function Wy(e){if(te(e,"style")){var t,r,n,i,o,a=By(e,"styleId");if(void 0!==a&&0!==a.length)return t=function(e){if(void 0!==e&&Ly.has(e))return e}(By(e,"type")),r=_y(By(e,"default")),n=_y(By(e,"customStyle")),i=new Set(["styleId","type","default","customStyle"]),o=e.attributes.filter(function(e){return!(i.has(e.localName)&&(e.namespaceUri===dn||""===e.namespaceUri))}),new Uy(a,t,r,n,Ay(re(e)),o)}}function Gy(e,t){return new Uy(e,t,void 0,void 0,[b("name",{attributes:[y("val",e)]})])}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},qy=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Xy=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(qy(arguments[t]));return e};function Yy(e){return e.trim().toLowerCase().replace(/\s+/g,"")}var Zy=a({},fy,{asciiFont:"Times New Roman",hAnsiFont:"Times New Roman",eastAsiaFont:"Times New Roman",fontSize:12,fontSizeCs:12,lang:{val:"en-US",eastAsia:"zh-TW",bidi:"ar-SA"}}),Ky=a({},_m,{spacing:{}});var Jy=[16,14,13,12,12,11,11,11,11];function $y(e){var t=null!=(t=Jy[e-1])?t:11,r=String(e);return{styleId:"Heading"+r,displayName:"Heading "+r,type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:9,isQuickFormat:!0,paragraphFormatting:a({},_m,{keepNext:!0,spacing:{before:12,after:3},outlineLevel:e-1}),characterFormatting:a({},fy,{asciiFont:"Arial",hAnsiFont:"Arial",csFont:"Arial",bold:!0,boldCs:!0},2===e?{italic:!0,italicCs:!0}:{},1===e?{kerning:16}:{},{fontSize:t,fontSizeCs:t})}}function Qy(e,t){return{styleId:e,displayName:t,type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{vertAlign:"superscript"})}}function e0(e,t){return{styleId:e,displayName:t,type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m),characterFormatting:a({},fy,fy,{fontSize:10,fontSizeCs:10})}}function t0(r,e){function t(e){var t=[y("val","single"),y("sz","4"),y("space","0")];return t.push(y(n?"themeColor":"color",r)),b(e,{attributes:t})}var n=0===r.indexOf("accent"),i=b("tblBorders",{children:[t("top"),t("left"),t("bottom"),t("right"),t("insideH"),t("insideV")]}),o=n?[y("val","clear"),y("themeFill",r)]:[y("val","clear"),y("fill",r)],e=[y("val","clear"),y("fill",e)],o=b("tblStylePr",{attributes:[y("type","firstRow")],children:[b("tcPr",{children:[b("shd",{attributes:o})]}),b("rPr",{children:[b("b"),b("color",{attributes:[y("val","FFFFFF")]})]})]}),e=b("tblStylePr",{attributes:[y("type","band1Horz")],children:[b("tcPr",{children:[b("shd",{attributes:e})]})]});return[b("tblPr",{children:[i]}),o,e]}function r0(e,t,r,n){return{styleId:e,displayName:t,type:"table",basedOn:"TableNormal",uiPriority:60,isQuickFormat:!0,tableFormatting:t0(r,n)}}var n0={TableNormal:"TableNormal",TableGrid:"TableGrid",LightShading:"LightShading",LightShadingAccent1:"LightShading-Accent1",LightShadingAccent2:"LightShading-Accent2",LightShadingAccent3:"LightShading-Accent3",LightShadingAccent4:"LightShading-Accent4",LightShadingAccent5:"LightShading-Accent5",LightShadingAccent6:"LightShading-Accent6"};Ky=[{styleId:"Normal",displayName:"Normal",type:"paragraph",isDefault:!0,isQuickFormat:!0,paragraphFormatting:Ky,characterFormatting:Zy},{styleId:"DefaultParagraphFont",displayName:"Default Paragraph Font",type:"character",isDefault:!0,uiPriority:1,isSemiHidden:!0,unhideWhenUsed:!0},{styleId:"TableNormal",displayName:"Normal Table",type:"table",isDefault:!0,uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,tableFormatting:(Ky=b("tblInd",{attributes:[y("w","0"),y("type","dxa")]}),Zy=b("tblCellMar",{children:[o0("top","0"),o0("left","108"),o0("bottom","0"),o0("right","108")]}),[b("tblPr",{children:[Ky,Zy]})])},{styleId:"NoList",displayName:"No List",type:"numbering",isDefault:!0,uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0},{styleId:"TableGrid",displayName:"Table Grid",type:"table",basedOn:"TableNormal",tableFormatting:(Ky=b("tblInd",{attributes:[y("w","0"),y("type","dxa")]}),Zy=b("tblBorders",{children:[i0("top"),i0("left"),i0("bottom"),i0("right"),i0("insideH"),i0("insideV")]}),[b("tblPr",{children:[Ky,Zy]})])},r0("LightShading","Light Shading","000000","E7E6E6"),r0("LightShading-Accent1","Light Shading Accent 1","accent1","D6DCE4"),r0("LightShading-Accent2","Light Shading Accent 2","accent2","F7D9C8"),r0("LightShading-Accent3","Light Shading Accent 3","accent3","E2EFD9"),r0("LightShading-Accent4","Light Shading Accent 4","accent4","FFF2CC"),r0("LightShading-Accent5","Light Shading Accent 5","accent5","DDEBF7"),r0("LightShading-Accent6","Light Shading Accent 6","accent6","FCE4D6"),{styleId:"Hyperlink",displayName:"Hyperlink",type:"character",basedOn:"DefaultParagraphFont",characterFormatting:a({},fy,{color:"0000FF",underline:{kind:"single",color:void 0}})},$y(1),$y(2),$y(3),$y(4),$y(5),$y(6),$y(7),$y(8),$y(9),{styleId:"NoSpacing",displayName:"No Spacing",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:1,isQuickFormat:!0,paragraphFormatting:a({},_m,{spacing:{after:0,lineSpacing:12,lineRule:"auto"}})},{styleId:"Title",displayName:"Title",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:10,isQuickFormat:!0,paragraphFormatting:a({},_m,{spacing:{after:0,lineSpacing:12,lineRule:"auto"}}),characterFormatting:a({},fy,{asciiFont:"Calibri Light",hAnsiFont:"Calibri Light",eastAsiaFont:"Calibri Light",csFont:"Calibri Light",fontSize:28,fontSizeCs:28,kerning:14})},{styleId:"Subtitle",displayName:"Subtitle",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:11,isQuickFormat:!0,characterFormatting:a({},fy,{color:"595959",asciiFont:"Calibri Light",hAnsiFont:"Calibri Light",eastAsiaFont:"Calibri Light",csFont:"Calibri Light",fontSize:12,fontSizeCs:12,italic:!0,italicCs:!0})},{styleId:"BodyText",displayName:"Body Text",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0},{styleId:"BodyText2",displayName:"Body Text 2",type:"paragraph",basedOn:"BodyText",next:"BodyText",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{fontSize:11,fontSizeCs:11})},{styleId:"BodyText3",displayName:"Body Text 3",type:"paragraph",basedOn:"BodyText",next:"BodyText",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{fontSize:10,fontSizeCs:10})},{styleId:"Caption",displayName:"Caption",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:35,isQuickFormat:!0,paragraphFormatting:a({},_m,{spacing:{after:6,lineSpacing:12,lineRule:"auto"}}),characterFormatting:a({},fy,{color:"595959",italic:!0,italicCs:!0,fontSize:9,fontSizeCs:9})},{styleId:"Quote",displayName:"Quote",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:29,isQuickFormat:!0,paragraphFormatting:a({},_m,{indentation:{left:18,right:18}}),characterFormatting:a({},fy,{color:"595959",italic:!0,italicCs:!0})},{styleId:"IntenseQuote",displayName:"Intense Quote",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:30,isQuickFormat:!0,paragraphFormatting:a({},_m,{indentation:{left:18,right:18}}),characterFormatting:a({},fy,{color:"595959",italic:!0,italicCs:!0})},{styleId:"ListParagraph",displayName:"List Paragraph",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:34,isQuickFormat:!0,paragraphFormatting:a({},_m,{contextualSpacing:!0,indentation:{left:18,hanging:18}})},{styleId:"List",displayName:"List",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0},{styleId:"List2",displayName:"List 2",type:"paragraph",basedOn:"List",next:"List",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:36}})},{styleId:"List3",displayName:"List 3",type:"paragraph",basedOn:"List",next:"List",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:54}})},{styleId:"ListBullet",displayName:"List Bullet",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isQuickFormat:!0,paragraphFormatting:a({},_m,{indentation:{left:36,hanging:18}})},{styleId:"ListBullet2",displayName:"List Bullet 2",type:"paragraph",basedOn:"ListBullet",next:"ListBullet",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:72,hanging:18}})},{styleId:"ListBullet3",displayName:"List Bullet 3",type:"paragraph",basedOn:"ListBullet",next:"ListBullet",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:108,hanging:18}})},{styleId:"ListNumber",displayName:"List Number",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isQuickFormat:!0,paragraphFormatting:a({},_m,{indentation:{left:36,hanging:18}})},{styleId:"ListNumber2",displayName:"List Number 2",type:"paragraph",basedOn:"ListNumber",next:"ListNumber",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:72,hanging:18}})},{styleId:"ListNumber3",displayName:"List Number 3",type:"paragraph",basedOn:"ListNumber",next:"ListNumber",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:108,hanging:18}})},{styleId:"Header",displayName:"Header",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{spacing:{after:0,lineSpacing:12,lineRule:"auto"}}),characterFormatting:a({},fy)},{styleId:"Footer",displayName:"Footer",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{spacing:{after:0,lineSpacing:12,lineRule:"auto"}}),characterFormatting:a({},fy)},e0("FootnoteText","Footnote Text"),e0("EndnoteText","Endnote Text"),e0("CommentText","Annotation Text"),{styleId:"TOCHeading",displayName:"TOC Heading",type:"paragraph",basedOn:"Heading1",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,isQuickFormat:!0},{styleId:"TOC1",displayName:"toc 1",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{spacing:{after:5}})},{styleId:"TOC2",displayName:"toc 2",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:11}})},{styleId:"TOC3",displayName:"toc 3",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:22}})},{styleId:"TOC4",displayName:"toc 4",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:33}})},{styleId:"TOC5",displayName:"toc 5",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:44}})},{styleId:"TOC6",displayName:"toc 6",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:55}})},{styleId:"TOC7",displayName:"toc 7",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:66}})},{styleId:"TOC8",displayName:"toc 8",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:77}})},{styleId:"TOC9",displayName:"toc 9",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:a({},_m,{indentation:{left:88}})},{styleId:"FollowedHyperlink",displayName:"Followed Hyperlink",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{color:"800080",underline:{kind:"single",color:void 0}})},{styleId:"Strong",displayName:"Strong",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{bold:!0,boldCs:!0})},{styleId:"Emphasis",displayName:"Emphasis",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{italic:!0,italicCs:!0})},{styleId:"IntenseEmphasis",displayName:"Intense Emphasis",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{color:"0070C0"})},{styleId:"SubtleEmphasis",displayName:"Subtle Emphasis",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{color:"0070C0"})},{styleId:"BookTitle",displayName:"Book Title",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:a({},fy,{asciiFont:"Times New Roman",hAnsiFont:"Times New Roman",eastAsiaFont:"Times New Roman",csFont:"Times New Roman",fontSize:20,fontSizeCs:20,kerning:10,italic:!0,italicCs:!0})},Qy("FootnoteReference","Footnote Reference"),Qy("EndnoteReference","Endnote Reference"),Qy("CommentReference","Annotation Reference")];function i0(e){return b(e,{attributes:[y("val","single"),y("sz","4"),y("space","0"),y("color","000000")]})}function o0(e,t){return b(e,{attributes:[y("w",t),y("type","dxa")]})}var a0=Object.freeze(Ky.map(function(e){for(var t=[e];0<t.length;){var r=t.pop();if(null!=r&&"object"==typeof r&&!Object.isFrozen(r)){Object.freeze(r);var n,i,o=r;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&null!==(i=o[n])&&"object"==typeof i&&t.push(i)}}return e})),l0=new Map(a0.map(function(e){return[e.styleId,e]})),s0=new Map(a0.map(function(e){return[Yy(e.displayName),e]}));function u0(e){return l0.get(e)}function c0(e){return s0.get(Yy(e))}function d0(e){var t=l0.get(e);return void 0===t&&null==(t=s0.get(Yy(e)))?void 0:t.styleId}function h0(e){if(void 0!==e)return e.map(function t(e){return a({},e,{attributes:e.attributes.map(function(e){return a({},e)}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return a({},e)}),children:e.children.map(function(e){return"element"===e.kind?t(e):a({},e)})})})}function p0(e){var t=[b("name",{attributes:[y("val",e.displayName)]})],r=(void 0!==e.basedOn&&t.push(b("basedOn",{attributes:[y("val",e.basedOn)]})),void 0!==e.next&&t.push(b("next",{attributes:[y("val",e.next)]})),void 0!==e.link&&t.push(b("link",{attributes:[y("val",e.link)]})),void 0!==e.uiPriority&&t.push(b("uiPriority",{attributes:[y("val",String(e.uiPriority))]})),void 0!==e.isSemiHidden&&e.isSemiHidden&&t.push(b("semiHidden")),void 0!==e.unhideWhenUsed&&e.unhideWhenUsed&&t.push(b("unhideWhenUsed")),void 0!==e.isQuickFormat&&e.isQuickFormat&&t.push(b("qFormat")),h0(e.tableFormatting)),r=(void 0!==r&&t.push.apply(t,Xy(r)),function(e){if(void 0!==e)return a({},e,void 0!==e.spacing?{spacing:a({},e.spacing)}:{},void 0!==e.indentation?{indentation:a({},e.indentation)}:{})}(e.paragraphFormatting)),r=void 0===r?void 0:zm(r),r=(void 0!==r&&t.push(r),function(e){if(void 0!==e)return a({},e,void 0!==e.underline?{underline:a({},e.underline)}:{},void 0!==e.lang?{lang:a({},e.lang)}:{})}(e.characterFormatting)),r=void 0===r?void 0:Oy(r);return void 0!==r&&t.push(r),new Uy(e.styleId,e.type,e.isDefault,void 0,t)}function f0(e,t){if(e.type!==t)throw t=t,new J("styles/invalid-type-for-target",'Style "'+e.styleId+'" is a '+String(e.type)+" style and cannot be used as a "+t+" style")}function v0(e){return null!=e.type?e.type:"paragraph"}function m0(e,t,r){if(0===t.trim().length)throw new J("content/invalid-style-id","Style id must not be empty");var n=null!=(n=e.getStyle(t))?n:e.findStyleByDisplayName(t);if(void 0!==n)return f0(n,r),n;n=null!=(n=u0(t))?n:c0(t);if(void 0===n)throw new J("styles/undefined-style",'Style "'+t+'" is not defined in this document and is not a known built-in '+r+" style");if(n.type!==r)throw new J("styles/invalid-type-for-target",'Built-in style "'+n.styleId+'" is a '+n.type+" style and cannot be used as a "+r+" style");t=p0(n);return y0(e,t,new Set([n.styleId])),e.addStyle(t),t}function y0(e,t,r){var n=t.basedOn,n=(void 0!==n&&0<n.length&&g0(e,t,n,"basedOn",v0(t),r),t.next),n=(void 0!==n&&0<n.length&&void 0!==d0(n)&&void 0===e.getStyle(n)&&m0(e,n,v0(t)),t.link);void 0!==n&&0<n.length&&g0(e,t,n,"link","paragraph"===v0(t)?"character":"paragraph",r)}function g0(e,t,r,n,i,o){var a=e.getStyle(r);if(void 0!==a){if(a.type!==i)throw new J("basedOn"===n?"styles/invalid-based-on":"styles/invalid-link",'Style "'+t.styleId+'" '+n+' "'+r+'" is a '+String(a.type)+" style; expected "+i)}else{if(o.has(r))throw new J("basedOn"===n?"styles/circular-based-on":"styles/circular-link","Circular "+n+' relationship on style "'+r+'"');a=u0(r);if(void 0!==a){if(a.type!==i)throw new J("basedOn"===n?"styles/invalid-based-on":"styles/invalid-link",'Style "'+t.styleId+'" '+n+' "'+r+'" is a '+a.type+" style; expected "+i);t=p0(a),n=new Set(o);n.add(r),y0(e,t,n),e.addStyle(t)}}}function b0(e,t,r){var n=null!=(n=e.getStyle(t))?n:e.findStyleByDisplayName(t);if(void 0!==n)return n;n=null!=(n=u0(t))?n:c0(t);if(void 0!==n){if(n.type!==r)throw new J("styles/invalid-type-for-target",'Built-in style "'+n.styleId+'" is a '+n.type+" style and cannot be used as a "+r+" style");t=p0(n);return y0(e,t,new Set([n.styleId])),e.addStyle(t),t}}var w0=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},P0=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},S0=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(P0(arguments[t]));return e},x0=(C0.prototype.rPrDefault=function(){return this.rPrDefaultElement},C0.prototype.runProperties=function(){var t,e;if(void 0!==this.rPrDefaultElement)try{for(var r=w0(re(this.rPrDefaultElement)),n=r.next();!n.done;n=r.next()){var i=n.value;if(te(i,"rPr"))return xy(i)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return fy},C0.prototype.pPrDefault=function(){return this.pPrDefaultElement},C0.prototype.paragraphProperties=function(){var t,e;if(void 0!==this.pPrDefaultElement)try{for(var r=w0(re(this.pPrDefaultElement)),n=r.next();!n.done;n=r.next()){var i=n.value;if(te(i,"pPr"))return jm(i)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return _m},C0.prototype.serialize=function(){var e=[];return void 0!==this.rPrDefaultElement&&e.push(this.rPrDefaultElement),void 0!==this.pPrDefaultElement&&e.push(this.pPrDefaultElement),e.push.apply(e,S0(this.extras)),b("docDefaults",{children:e})},C0);function C0(e,t,r){void 0===r&&(r=[]),this.rPrDefaultElement=e,this.pPrDefaultElement=t,this.extras=r}function I0(e){var t,r;if(te(e,"docDefaults")){var n,i,o=[];try{for(var a=w0(re(e)),l=a.next();!l.done;l=a.next()){var s=l.value;te(s,"rPrDefault")&&void 0===n?n=s:te(s,"pPrDefault")&&void 0===i?i=s:o.push(s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return new x0(n,i,o)}}var V0=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},T0=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},k0=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(T0(arguments[t]));return e};function F0(){var e=b("rFonts",{attributes:[y("asciiTheme","minorHAnsi"),y("eastAsiaTheme","minorHAnsi"),y("hAnsiTheme","minorHAnsi"),y("cstheme","minorBidi")]}),t=b("kern",{attributes:[y("val","2")]}),r=b("sz",{attributes:[y("val","24")]}),n=b("szCs",{attributes:[y("val","24")]}),i=b("lang",{attributes:[y("val","en-US"),y("eastAsia","en-US"),y("bidi","ar-SA")]}),e=b("rPr",{children:[e,t,r,n,i]}),t=b("rPrDefault",{children:[e]}),r=b("spacing",{attributes:[y("after","160"),y("line","278"),y("lineRule","auto")]}),n=b("pPr",{children:[r]}),i=b("pPrDefault",{children:[n]});return new x0(t,i)}var D0=[{styleId:"Normal",type:"paragraph"},{styleId:"DefaultParagraphFont",type:"character"},{styleId:"TableNormal",type:"table"},{styleId:"NoList",type:"numbering"},{styleId:"TableGrid",type:"table"},{styleId:"Hyperlink",type:"character"}],O0=(N0.prototype.getStyle=function(e){return this.byId.get(e)},N0.prototype.findStyleByDisplayName=function(e){var t,r,n=e.trim().toLowerCase().replace(/\s+/g,"");if(0!==n.length)try{for(var i=V0(this.ordered),o=i.next();!o.done;o=i.next()){var a=o.value,l=a.name;if(void 0!==l&&l.trim().toLowerCase().replace(/\s+/g,"")===n)return a}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},N0.prototype.addStyle=function(e){this.byId.has(e.styleId)||(this.ordered.push(e),this.byId.set(e.styleId,e))},N0.prototype.styles=function(){return k0(this.ordered)},N0);function N0(){this.byId=new Map,this.ordered=[]}function A0(){var t,e,r=new O0;try{for(var n=V0(D0),i=n.next();!i.done;i=n.next()){var o=i.value;m0(r,o.styleId,o.type)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return{docDefaults:F0(),styles:r.styles()}}var E0=function(){return(E0=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function L0(e,t,r){return void 0!==t?void 0===r?void 0:r.typefaceFor(t):e}function R0(e,t,r,n){var i=e.docDefaultsRunProperties(),t=t.styleId;return void 0!==t&&void 0!==(t=e.styleRunProperties(t))&&(i=Vy(i,t)),i=Vy(i,function(e,t){if(void 0===e)return fy;for(var r=[],n=new Set,i=e;void 0!==i&&0<i.length&&!n.has(i);)n.add(i),r.push(i),i=t.styleBasedOn(i);for(var o=fy,a=r.length-1;0<=a;--a){var l=r[a];void 0!==l&&void 0!==(l=t.styleRunProperties(l))&&(o=Vy(o,l))}return o}(r.characterFormat.characterStyle,e)),{bold:ky(i=Vy(i,(t=r.characterFormat,E0({},fy,{bold:t.bold,italic:t.italic,fontSize:t.fontSize,kerning:t.kerning},Ty(r))))),italic:Fy(i),fontSize:i.fontSize,asciiFont:L0(i.asciiFont,i.asciiTheme,n),hAnsiFont:L0(i.hAnsiFont,i.hAnsiTheme,n)}}var B0=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},_0=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(B0(arguments[t]));return e},j0=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},M0=(Object.defineProperty(z0.prototype,"name",{get:function(){return this.nameValue},enumerable:!0,configurable:!0}),Object.defineProperty(z0.prototype,"locked",{get:function(){return this.lockedValue},enumerable:!0,configurable:!0}),Object.defineProperty(z0.prototype,"uiPriority",{get:function(){return this.uiPriorityValue},enumerable:!0,configurable:!0}),Object.defineProperty(z0.prototype,"semiHidden",{get:function(){return this.semiHiddenValue},enumerable:!0,configurable:!0}),Object.defineProperty(z0.prototype,"unhideWhenUsed",{get:function(){return this.unhideWhenUsedValue},enumerable:!0,configurable:!0}),Object.defineProperty(z0.prototype,"qFormat",{get:function(){return this.qFormatValue},enumerable:!0,configurable:!0}),z0.prototype.serialize=function(){var e=_0([y("name",this.nameValue)],this.extraAttributes);return void 0!==this.lockedValue&&e.push(y("locked",this.lockedValue?"1":"0")),void 0!==this.uiPriorityValue&&e.push(y("uiPriority",String(this.uiPriorityValue))),void 0!==this.semiHiddenValue&&e.push(y("semiHidden",this.semiHiddenValue?"1":"0")),void 0!==this.unhideWhenUsedValue&&e.push(y("unhideWhenUsed",this.unhideWhenUsedValue?"1":"0")),void 0!==this.qFormatValue&&e.push(y("qFormat",this.qFormatValue?"1":"0")),b("lsdException",{attributes:e})},z0);function z0(e,t,r,n,i,o,a){void 0===a&&(a=[]),this.nameValue=e,this.lockedValue=t,this.uiPriorityValue=r,this.semiHiddenValue=n,this.unhideWhenUsedValue=i,this.qFormatValue=o,this.extraAttributes=a}Object.defineProperty(H0.prototype,"defLockedState",{get:function(){return this.defLockedStateValue},enumerable:!0,configurable:!0}),Object.defineProperty(H0.prototype,"defUIPriority",{get:function(){return this.defUIPriorityValue},enumerable:!0,configurable:!0}),Object.defineProperty(H0.prototype,"defSemiHidden",{get:function(){return this.defSemiHiddenValue},enumerable:!0,configurable:!0}),Object.defineProperty(H0.prototype,"defUnhideWhenUsed",{get:function(){return this.defUnhideWhenUsedValue},enumerable:!0,configurable:!0}),Object.defineProperty(H0.prototype,"defQFormat",{get:function(){return this.defQFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(H0.prototype,"count",{get:function(){return this.countValue},enumerable:!0,configurable:!0}),Object.defineProperty(H0.prototype,"exceptions",{get:function(){return this.exceptionsList},enumerable:!0,configurable:!0}),H0.prototype.serialize=function(){var e=_0(this.extraAttributes),t=(void 0!==this.defLockedStateValue&&e.push(y("defLockedState",this.defLockedStateValue?"1":"0")),void 0!==this.defUIPriorityValue&&e.push(y("defUIPriority",String(this.defUIPriorityValue))),void 0!==this.defSemiHiddenValue&&e.push(y("defSemiHidden",this.defSemiHiddenValue?"1":"0")),void 0!==this.defUnhideWhenUsedValue&&e.push(y("defUnhideWhenUsed",this.defUnhideWhenUsedValue?"1":"0")),void 0!==this.defQFormatValue&&e.push(y("defQFormat",this.defQFormatValue?"1":"0")),void 0!==this.countValue&&e.push(y("count",String(this.countValue))),this.exceptionsList.map(function(e){return e.serialize()}));return t.push.apply(t,_0(this.extras)),b("latentStyles",{attributes:e,children:t})};var U0=H0;function H0(e,t,r,n,i,o,a,l,s){void 0===l&&(l=[]),void 0===s&&(s=[]),this.defLockedStateValue=e,this.defUIPriorityValue=t,this.defSemiHiddenValue=r,this.defUnhideWhenUsedValue=n,this.defQFormatValue=i,this.countValue=o,this.exceptionsList=a,this.extraAttributes=l,this.extras=s}function W0(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)});return null==e?void 0:e.value}function G0(e){if(void 0!==e)return""===(e=e.trim().toLowerCase())||"true"===e||"1"===e||"on"===e||"false"!==e&&"0"!==e&&"off"!==e&&void 0}function q0(e){if(void 0!==e&&/^-?\d+$/.test(e.trim()))return parseInt(e.trim(),10)}function X0(e){var t,r;if(te(e,"latentStyles")){var n=new Set(["defLockedState","defUIPriority","defSemiHidden","defUnhideWhenUsed","defQFormat","count"]),i=e.attributes.filter(function(e){return!(n.has(e.localName)&&(e.namespaceUri===dn||""===e.namespaceUri))}),o=[],a=[];try{for(var l=j0(re(e)),s=l.next();!s.done;s=l.next()){var u,c=s.value;te(c,"lsdException")?void 0!==(u=function(e){if(te(e,"lsdException")){var t,r,n=W0(e,"name");if(void 0!==n&&0!==n.length)return t=new Set(["name","locked","uiPriority","semiHidden","unhideWhenUsed","qFormat"]),r=e.attributes.filter(function(e){return!(t.has(e.localName)&&(e.namespaceUri===dn||""===e.namespaceUri))}),new M0(n,G0(W0(e,"locked")),q0(W0(e,"uiPriority")),G0(W0(e,"semiHidden")),G0(W0(e,"unhideWhenUsed")),G0(W0(e,"qFormat")),r)}}(c))&&o.push(u):a.push(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return new U0(G0(W0(e,"defLockedState")),q0(W0(e,"defUIPriority")),G0(W0(e,"defSemiHidden")),G0(W0(e,"defUnhideWhenUsed")),G0(W0(e,"defQFormat")),q0(W0(e,"count")),o,i,a)}}function Y0(e){e=aa(e);return 0===e.length?fy:xy(b("rPr",{children:e}))}function Z0(e){return ta(void 0===e?b("rPr"):e)}function K0(e){return void 0===e?Jl():Os(e)}J0=function(e,t){return(J0=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var J0,Zy=function(e,t){function r(){this.constructor=e}J0(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},$0=new Set(["name","aliases","basedOn","next","link","autoRedefine","hidden","uiPriority","semiHidden","unhideWhenUsed","qFormat","locked"]);function Q0(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(void 0!==n&&te(n,t))return n}}function eg(e,t){e=Q0(e,t);if(void 0!==e)return z(e)}function tg(e,t){e=Q0(e,t);if(void 0!==e)return Ki(e)}function rg(e,t,r){void 0!==r&&e.push(Ji(t,r))}Object.defineProperty(ng.prototype,"styleId",{get:function(){return this.styleIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"type",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"isDefault",{get:function(){return this.defaultValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"customStyle",{get:function(){return this.customStyleValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"name",{get:function(){return this.nameValue},set:function(e){this.ensureAttached(),this.nameValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"characterFormat",{get:function(){return this.characterFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"owner",{get:function(){return this.ownerValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"isAttached",{get:function(){return this.attachedValue&&void 0!==this.ownerValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"basedOnId",{get:function(){return this.basedOnIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"baseStyle",{get:function(){if(void 0!==this.basedOnIdValue&&0!==this.basedOnIdValue.length&&void 0!==this.ownerValue){var e=this.ownerValue.lookupStyle(this.basedOnIdValue);if(void 0!==e&&(void 0===this.typeValue||void 0===e.type||e.type===this.typeValue))return e}},enumerable:!0,configurable:!0}),ng.prototype.applyBaseStyle=function(e){if(this.ensureAttached(),void 0===e)this.basedOnIdValue=void 0;else{var t;if("string"==typeof e){if(0===e.length)throw new ne("Base style id must not be empty");if(void 0===this.ownerValue)throw new N("Cannot resolve base style on a detached style");if(void 0===(t=this.ownerValue.lookupStyle(e)))return this.basedOnIdValue=e,void this.markDirty()}else t=e;if(t===this)throw new J("styles/circular-based-on",'Style "'+this.styleIdValue+'" cannot be based on itself');if(!t.isAttached||t.owner!==this.ownerValue)throw new J("argument/invalid","Base style must belong to the same document styles collection");if(void 0!==this.typeValue&&void 0!==t.type&&t.type!==this.typeValue)throw new J("styles/invalid-based-on",'Style "'+this.styleIdValue+'" basedOn "'+t.styleId+'" is a '+String(t.type)+" style; expected "+this.typeValue);var r=t,n=new Set;for(n.add(this.styleIdValue);void 0!==r;){if(n.has(r.styleId))throw new J("styles/circular-based-on",'Circular basedOn relationship on style "'+this.styleIdValue+'"');n.add(r.styleId);var i=r.basedOnId;if(void 0===i||void 0===this.ownerValue)break;r=this.ownerValue.lookupStyle(i)}this.basedOnIdValue=t.styleId}this.markDirty()},Object.defineProperty(ng.prototype,"nextStyleId",{get:function(){return this.nextIdValue},set:function(e){this.ensureAttached(),this.nextIdValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"linkStyleId",{get:function(){return this.linkIdValue},set:function(e){this.ensureAttached(),this.linkIdValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"uiPriority",{get:function(){return this.uiPriorityValue},set:function(e){this.ensureAttached(),this.uiPriorityValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"isQuickStyle",{get:function(){return this.qFormatValue},set:function(e){this.ensureAttached(),this.qFormatValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"isSemiHidden",{get:function(){return this.semiHiddenValue},set:function(e){this.ensureAttached(),this.semiHiddenValue=e,this.markDirty()},enumerable:!0,configurable:!0}),ng.prototype.notifyCharacterFormatMutation=function(){this.ensureAttached(),this.markDirty()},ng.prototype.attach=function(e){if(!this.attachedValue||this.ownerValue!==e){if(this.attachedValue&&void 0!==this.ownerValue&&this.ownerValue!==e)throw new J("argument/invalid",'Style "'+this.styleIdValue+'" is already owned by another document');this.ownerValue=e,this.attachedValue=!0}},ng.prototype.detach=function(){this.attachedValue=!1,this.ownerValue=void 0},ng.prototype.remove=function(){this.ensureAttached();var e=this.ownerValue;if(void 0===e)throw new N('Style "'+this.styleIdValue+'" is detached from its document');if("function"!=typeof e.remove)throw new ne('Style "'+this.styleIdValue+'" owner does not support removal');e.remove(this)},ng.prototype.clearReferencesToStyleId=function(e){this.basedOnIdValue===e&&(this.basedOnIdValue=void 0),this.nextIdValue===e&&(this.nextIdValue=void 0),this.linkIdValue===e&&(this.linkIdValue=void 0)},ng.prototype.hydrateFromDocxStyle=function(e){this.suppressDirty=!0;try{for(var t=e.serialize(),r=re(t),n=(this.nameValue=eg(r,"name"),this.aliasesValue=eg(r,"aliases"),this.basedOnIdValue=eg(r,"basedOn"),this.nextIdValue=eg(r,"next"),this.linkIdValue=eg(r,"link"),this.uiPriorityValue=function(e){if(void 0!==e){e=z(e);if(void 0!==e&&/^-?\d+$/.test(e.trim()))return parseInt(e.trim(),10)}}(Q0(r,"uiPriority")),this.autoRedefineValue=tg(r,"autoRedefine"),this.hiddenValue=tg(r,"hidden"),this.semiHiddenValue=tg(r,"semiHidden"),this.unhideWhenUsedValue=tg(r,"unhideWhenUsed"),this.qFormatValue=tg(r,"qFormat"),this.lockedValue=tg(r,"locked"),this.customStyleValue=e.customStyle,Q0(r,"rPr")),i=(this.characterFormatValue.hydrate(Z0(n)),Q0(r,"pPr")),o=(this.hydrateParagraphFormat(K0(i)),[]),a=0;a<r.length;a+=1){var l=r[a];if(void 0!==l){if(te(l,l.localName)){if($0.has(l.localName))continue;if("pPr"===l.localName||"rPr"===l.localName)continue}o.push(l)}}this.opaqueChildrenValue=o;var s=new Set(["styleId","type","default","customStyle"]);this.extraAttributesValue=t.attributes.filter(function(e){return!(s.has(e.localName)&&(e.namespaceUri===dn||""===e.namespaceUri))})}finally{this.suppressDirty=!1}},ng.prototype.hydrateParagraphFormat=function(e){},ng.prototype.serializeParagraphProperties=function(e){},ng.prototype.serialize=function(){var e=[];void 0!==this.typeValue&&e.push(y("type",this.typeValue)),e.push(y("styleId",this.styleIdValue)),void 0!==this.defaultValue&&e.push(y("default",this.defaultValue?"1":"0")),void 0!==this.customStyleValue&&e.push(y("customStyle",this.customStyleValue?"1":"0"));for(var t=0;t<this.extraAttributesValue.length;t+=1)e.push(this.extraAttributesValue[t]);var r=[],n=null!=this.nameValue?this.nameValue:this.styleIdValue;r.push(b("name",{attributes:[y("val",n)]})),void 0!==this.aliasesValue&&r.push(b("aliases",{attributes:[y("val",this.aliasesValue)]})),void 0!==this.basedOnIdValue&&r.push(b("basedOn",{attributes:[y("val",this.basedOnIdValue)]})),void 0!==this.nextIdValue&&r.push(b("next",{attributes:[y("val",this.nextIdValue)]})),void 0!==this.linkIdValue&&r.push(b("link",{attributes:[y("val",this.linkIdValue)]})),rg(r,"autoRedefine",this.autoRedefineValue),rg(r,"hidden",this.hiddenValue),void 0!==this.uiPriorityValue&&r.push(b("uiPriority",{attributes:[y("val",String(this.uiPriorityValue))]})),rg(r,"semiHidden",this.semiHiddenValue),rg(r,"unhideWhenUsed",this.unhideWhenUsedValue),rg(r,"qFormat",this.qFormatValue),rg(r,"locked",this.lockedValue);for(t=0;t<this.opaqueChildrenValue.length;t+=1)r.push(this.opaqueChildrenValue[t]);this.serializeParagraphProperties(r);for(var i=this.characterFormatValue.buildRPrChildren(),o=[],t=0;t<i.length;t+=1){var a=i[t];te(a,"rStyle")||o.push(a)}return 0<o.length&&r.push(b("rPr",{children:o})),b("style",{attributes:e,children:r})},ng.prototype.characterFormatSnapshot=function(){return this.characterFormatValue.snapshot()},ng.prototype.toDocxStyle=function(){var e=Wy(this.serialize());return void 0!==e?e:new Uy(this.styleIdValue,this.typeValue,this.defaultValue,this.customStyleValue,re(this.serialize()).slice())},ng.prototype.replaceShell=function(e){if(e.styleId!==this.styleIdValue)throw new J("argument/invalid",'Cannot replace style shell: styleId "'+e.styleId+'" does not match "'+this.styleIdValue+'"');this.hydrateFromDocxStyle(e),this.markDirty()},ng.prototype.normalizedName=function(){var e=this.nameValue;return void 0!==e&&0<e.length?Yy(e):Yy(this.styleIdValue)},ng.prototype.getOpaqueChildren=function(){return this.opaqueChildrenValue},ng.prototype.setOpaqueChildren=function(e){this.opaqueChildrenValue=e.slice(),this.markDirty()},ng.prototype.ensureAttached=function(){if(!this.attachedValue||void 0===this.ownerValue)throw new N('Style "'+this.styleIdValue+'" is detached from its document')},ng.prototype.markDirty=function(){this.suppressDirty||void 0!==this.ownerValue&&this.ownerValue.markStylesDirty()},ng.prototype.seedIdentity=function(e,t){this.suppressDirty=!0;try{this.nameValue=e,this.basedOnIdValue=t}finally{this.suppressDirty=!1}},ng.prototype.hydrateCharacterSnapshot=function(e){this.suppressDirty=!0;try{this.characterFormatValue.hydrate(e)}finally{this.suppressDirty=!1}},ng.prototype.setBasedOnIdInternal=function(e){this.basedOnIdValue=e},ng.prototype.setMetaInternal=function(e){void 0!==e.nextId&&(this.nextIdValue=e.nextId),void 0!==e.linkId&&(this.linkIdValue=e.linkId),void 0!==e.uiPriority&&(this.uiPriorityValue=e.uiPriority),void 0!==e.semiHidden&&(this.semiHiddenValue=e.semiHidden),void 0!==e.unhideWhenUsed&&(this.unhideWhenUsedValue=e.unhideWhenUsed),void 0!==e.qFormat&&(this.qFormatValue=e.qFormat),void 0!==e.aliases&&(this.aliasesValue=e.aliases),void 0!==e.autoRedefine&&(this.autoRedefineValue=e.autoRedefine),void 0!==e.hidden&&(this.hiddenValue=e.hidden),void 0!==e.locked&&(this.lockedValue=e.locked)},Object.defineProperty(ng.prototype,"nextIdInternal",{get:function(){return this.nextIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(ng.prototype,"linkIdInternal",{get:function(){return this.linkIdValue},enumerable:!0,configurable:!0});Ky=ng;function ng(e,t,r,n){if(0===e.length)throw new ne("Style id must not be empty");this.styleIdValue=e,this.typeValue=t,this.defaultValue=r,this.customStyleValue=n,this.nameValue=void 0,this.aliasesValue=void 0,this.basedOnIdValue=void 0,this.nextIdValue=void 0,this.linkIdValue=void 0,this.uiPriorityValue=void 0,this.autoRedefineValue=void 0,this.hiddenValue=void 0,this.semiHiddenValue=void 0,this.unhideWhenUsedValue=void 0,this.qFormatValue=void 0,this.lockedValue=void 0,this.extraAttributesValue=[],this.opaqueChildrenValue=[],this.ownerValue=void 0,this.attachedValue=!1,this.suppressDirty=!1,this.characterFormatValue=new sa(this)}Zy(ag,ig=Ky),Object.defineProperty(ag.prototype,"paragraphFormat",{get:function(){return this.paragraphFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(ag.prototype,"baseParagraphStyle",{get:function(){var e=this.baseStyle;if(e instanceof ag)return e},enumerable:!0,configurable:!0}),ag.prototype.notifyParagraphFormatMutation=function(){this.ensureAttached(),this.markDirty()},ag.prototype.hydrateParagraphFormat=function(e){this.paragraphFormatValue.hydrate(e)},ag.prototype.serializeParagraphProperties=function(e){var t=this.paragraphFormatValue.buildPPrChildren();0<t.length&&e.push(b("pPr",{children:t}))},ag.prototype.paragraphFormatSnapshot=function(){return this.paragraphFormatValue.snapshot()},ag.createMinimal=function(e){var t=new ag(e,void 0,!0);return t.seedIdentity(e,void 0),t},ag.fromDocxStyle=function(e){var t=new ag(e.styleId,e.default,e.customStyle);return t.hydrateFromDocxStyle(e),t};var ig,og=ag;function ag(e,t,r){e=ig.call(this,e,"paragraph",t,r)||this;return e.paragraphFormatValue=new ys(e),e}Zy(ug,lg=Ky),Object.defineProperty(ug.prototype,"baseCharacterStyle",{get:function(){var e=this.baseStyle;if(e instanceof ug)return e},enumerable:!0,configurable:!0}),ug.createMinimal=function(e){var t=new ug(e,void 0,!0);return t.seedIdentity(e,void 0),t},ug.fromDocxStyle=function(e){var t=new ug(e.styleId,e.default,e.customStyle);return t.hydrateFromDocxStyle(e),t};var lg,sg=ug;function ug(e,t,r){return lg.call(this,e,"character",t,r)||this}Zy(hg,cg=Ky),hg.prototype.hydrateParagraphFormat=function(e){var t;void 0===this.paragraphFormatValue&&((t=this).paragraphFormatValue=new ys({notifyParagraphFormatMutation:function(){t.ensureAttached(),t.markDirty()}})),this.paragraphFormatValue.hydrate(e)},hg.prototype.serializeParagraphProperties=function(e){var t;void 0!==this.paragraphFormatValue&&0<(t=this.paragraphFormatValue.buildPPrChildren()).length&&e.push(b("pPr",{children:t}))},hg.fromDocxStyle=function(e){var t=new hg(e.styleId,e.type,e.default,e.customStyle);return t.hydrateFromDocxStyle(e),t};var cg,dg=hg;function hg(e,t,r,n){return cg.call(this,e,t,r,n)||this}function pg(e){return("paragraph"===e.type?og:"character"===e.type?sg:dg).fromDocxStyle(e)}function fg(e,t){return("paragraph"===t?og:sg).createMinimal(e)}vg=function(e,t){return(vg=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var vg,Zy=function(e,t){function r(){this.constructor=e}vg(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},mg=function(){return(mg=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},yg={WholeTable:"wholeTable",FirstRow:"firstRow",LastRow:"lastRow",FirstColumn:"firstColumn",LastColumn:"lastColumn",OddColumnBand:"band1Vert",EvenColumnBand:"band2Vert",OddRowBand:"band1Horz",EvenRowBand:"band2Horz",TopLeftCell:"nwCell",TopRightCell:"neCell",BottomLeftCell:"swCell",BottomRightCell:"seCell"},gg={wholeTable:!0,firstRow:!0,lastRow:!0,firstColumn:!0,lastColumn:!0,band1Vert:!0,band2Vert:!0,band1Horz:!0,band2Horz:!0,nwCell:!0,neCell:!0,swCell:!0,seCell:!0};var bg={pPr:0,rPr:1,tblPr:2,trPr:3,tcPr:4,tblStylePr:5},wg={pPr:0,rPr:1,tblPr:2,trPr:3,tcPr:4};function Pg(e){e=bg[e];return void 0!==e?e:void 0}function Sg(e){e=wg[e];return void 0!==e?e:void 0}function xg(e,t){for(var r=[],n=[],i=[],o=0;o<e.length;o+=1){var a=e[o],l=t(a.localName);void 0===l?0===n.length?r.push(a):i.push({el:a,index:o}):n.push({rank:l,el:a,index:o})}n.sort(function(e,t){return e.rank!==t.rank?e.rank-t.rank:e.index-t.index});for(var s=r.slice(),o=0;o<n.length;o+=1)s.push(n[o].el);i.sort(function(e,t){return e.index-t.index});for(o=0;o<i.length;o+=1)s.push(i[o].el);return s}function Cg(e){return xg(e,Sg)}function Ig(e){var t=re(e);if(t.length<=1)return t.length,e;for(var r=Cg(t),n=!1,i=0;i<t.length;i+=1)if(t[i]!==r[i]){n=!0;break}return n?b("tblStylePr",{attributes:e.attributes,namespaceDeclarations:e.namespaceDeclarations,children:r}):e}function Vg(e){for(var t=re(e),r=[],n=0;n<t.length;n+=1){var i=t[n];te(i,"tblStylePr")?r.push(Ig(i)):r.push(i)}var o=xg(r,Pg),a=o.length!==t.length;if(!a)for(n=0;n<t.length;n+=1)if(t[n]!==o[n]){a=!0;break}return a?b("style",{attributes:e.attributes,namespaceDeclarations:e.namespaceDeclarations,children:o}):e}function Tg(e,t){for(var r=0;r<e.attributes.length;r+=1){var n=e.attributes[r];if(n.localName===t)return n.value}}Fg.prototype.readTblPr=function(){return this.owner.readBaseChild("tblPr")},Fg.prototype.writeTblPr=function(e){this.owner.writeBaseChild("tblPr",e)},Object.defineProperty(Fg.prototype,"borders",{get:function(){var i;return void 0===this.bordersInstance&&((i=this).bordersInstance=new cv({readEdge:function(e){var t=i.readTblPr();return void 0!==t&&void 0!==(t=hl(t))?t[e]:void 0},writeEdge:function(e,t){var r=void 0!==i.readTblPr()?i.readTblPr():b("tblPr"),n=void 0!==hl(r)?mg({},hl(r)):{};void 0===t?delete n[e]:n[e]=t;e=0<Object.keys(n).length?n:void 0;i.writeTblPr(pl(r,e))}})),this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"cellSpacing",{get:function(){var e=this.readTblPr();return void 0!==e?ml(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(yl(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"leftIndent",{get:function(){var e=this.readTblPr();return void 0!==e?sl(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(ul(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"paddings",{get:function(){var r;return void 0===this.paddingsInstance&&((r=this).paddingsInstance=new gv({read:function(){var e=r.readTblPr();return void 0!==e?fl(e):void 0},write:function(e){var t=void 0!==r.readTblPr()?r.readTblPr():b("tblPr");r.writeTblPr(vl(t,e))}})),this.paddingsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"preferredWidth",{get:function(){var e=this.readTblPr();return void 0!==e?cl(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(dl(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"alignment",{get:function(){var e=this.readTblPr();return void 0!==e?al(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(ll(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"layout",{get:function(){var e=this.readTblPr();return void 0!==e?kl(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(Fl(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"shading",{get:function(){var e=this.readTblPr();return void 0!==e?gl(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(bl(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"rowStripe",{get:function(){var e=this.readTblPr();return void 0!==e?Dl(e):void 0},set:function(e){if(void 0!==e&&!isFinite(e))throw new RangeError("TableStyle rowStripe must be a finite number or undefined, got "+String(e));var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(Ol(t,void 0!==e?Math.trunc(e):void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Fg.prototype,"columnStripe",{get:function(){var e=this.readTblPr();return void 0!==e?Nl(e):void 0},set:function(e){if(void 0!==e&&!isFinite(e))throw new RangeError("TableStyle columnStripe must be a finite number or undefined, got "+String(e));var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(Al(t,void 0!==e?Math.trunc(e):void 0))},enumerable:!0,configurable:!0});var kg=Fg;function Fg(e){this.owner=e}Og.prototype.readTrPr=function(){return this.isConditional?this.owner.readChild("trPr"):this.owner.readBaseChild("trPr")},Og.prototype.writeTrPr=function(e){this.isConditional?this.owner.writeChild("trPr",e):this.owner.writeBaseChild("trPr",e)},Object.defineProperty(Og.prototype,"height",{get:function(){var e=Cv(this.readTrPr());return void 0!==e?e.value:void 0},set:function(e){var t,r=this.readTrPr();void 0===e?this.writeTrPr(Iv(r,void 0)):(t=void 0!==(t=Cv(r))&&void 0!==t.rule?t.rule:"atLeast",this.writeTrPr(Iv(r,{value:e,rule:t})))},enumerable:!0,configurable:!0}),Object.defineProperty(Og.prototype,"allowBreakAcrossPages",{get:function(){var e=Vv(this.readTrPr());return void 0===e||!e},set:function(e){var t=this.readTrPr();this.writeTrPr(Tv(t,!e||void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(Og.prototype,"isHeader",{get:function(){return!0===kv(this.readTrPr())},set:function(e){var t=this.readTrPr();this.writeTrPr(Fv(t,!!e||void 0))},enumerable:!0,configurable:!0});var Dg=Og;function Og(e,t){void 0===t&&(t=!1),this.owner=e,this.isConditional=t}Ag.prototype.readTcPr=function(){return this.isConditional?this.owner.readChild("tcPr"):this.owner.readBaseChild("tcPr")},Ag.prototype.writeTcPr=function(e){this.isConditional?this.owner.writeChild("tcPr",e):this.owner.writeBaseChild("tcPr",e)},Object.defineProperty(Ag.prototype,"borders",{get:function(){var i;return void 0===this.bordersInstance&&((i=this).bordersInstance=new cv({readEdge:function(e){var t=i.readTcPr();return void 0!==t&&void 0!==(t=qv(t))?t[e]:void 0},writeEdge:function(e,t){var r=void 0!==i.readTcPr()?i.readTcPr():b("tcPr"),n=void 0!==qv(r)?mg({},qv(r)):{};void 0===t?delete n[e]:n[e]=t;e=0<Object.keys(n).length?n:void 0;i.writeTcPr(Xv(r,e))}})),this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Ag.prototype,"paddings",{get:function(){var r;return void 0===this.paddingsInstance&&((r=this).paddingsInstance=new gv({read:function(){var e=r.readTcPr();return void 0!==e?Kv(e):void 0},write:function(e){var t=void 0!==r.readTcPr()?r.readTcPr():b("tcPr");r.writeTcPr($v(t,e))}})),this.paddingsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Ag.prototype,"backgroundColor",{get:function(){var e=this.readTcPr(),e=void 0!==e?Yv(e):void 0;if(void 0!==e&&void 0!==e.fill)return ko(e.fill)},set:function(e){var t,r,n=void 0!==this.readTcPr()?this.readTcPr():b("tcPr"),i=Yv(n);return void 0===e?void 0===i?void 0:(delete(t=mg({},i)).fill,r=void 0===t.fill&&void 0===t.color&&void 0===t.pattern,void this.writeTcPr(Zv(n,r?void 0:t))):0===(t=Fo(e)).length?void 0===i?void 0:(delete(e=mg({},i)).fill,r=void 0===e.fill&&void 0===e.color&&void 0===e.pattern,void this.writeTcPr(Zv(n,r?void 0:e))):(r=void 0!==i&&void 0!==i.pattern&&0<i.pattern.length?i.pattern:"clear",e=void 0!==i&&void 0!==i.color&&0<i.color.length?i.color:"auto",void this.writeTcPr(Zv(n,{fill:t,color:e,pattern:r})))},enumerable:!0,configurable:!0}),Object.defineProperty(Ag.prototype,"verticalAlignment",{get:function(){var e=this.readTcPr();return void 0!==e?nm(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():b("tcPr");this.writeTcPr(im(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Ag.prototype,"textDirection",{get:function(){var e=this.readTcPr();return void 0!==e?tm(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():b("tcPr");this.writeTcPr(rm(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Ag.prototype,"preferredWidth",{get:function(){var e=this.readTcPr();return void 0!==e?Wv(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():b("tcPr");this.writeTcPr(Gv(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Ag.prototype,"horizontalMerge",{get:function(){var e=this.readTcPr();return void 0!==e?Uv(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():b("tcPr");this.writeTcPr(Hv(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(Ag.prototype,"verticalMerge",{get:function(){var e=this.readTcPr();return void 0!==e?jv(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():b("tcPr");this.writeTcPr(zv(t,e))},enumerable:!0,configurable:!0});var Ng=Ag;function Ag(e,t){void 0===t&&(t=!1),this.owner=e,this.isConditional=t}Object.defineProperty(Lg.prototype,"conditionalFormattingType",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),Object.defineProperty(Lg.prototype,"characterFormat",{get:function(){var e;return void 0===this.characterFormatInstance&&(this.characterFormatInstance=new sa(this),void 0!==(e=this.readChild("rPr")))&&this.characterFormatInstance.hydrate(ta(e)),this.characterFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Lg.prototype,"paragraphFormat",{get:function(){var e;return void 0===this.paragraphFormatInstance&&(this.paragraphFormatInstance=new ys(this),void 0!==(e=this.readChild("pPr")))&&this.paragraphFormatInstance.hydrate(Os(e)),this.paragraphFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Lg.prototype,"rowProperties",{get:function(){return void 0===this.rowPropertiesInstance&&(this.rowPropertiesInstance=new Dg(this,!0)),this.rowPropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Lg.prototype,"cellProperties",{get:function(){return void 0===this.cellPropertiesInstance&&(this.cellPropertiesInstance=new Ng(this,!0)),this.cellPropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Lg.prototype,"tableProperties",{get:function(){return void 0===this.tablePropertiesInstance&&(this.tablePropertiesInstance=new Rg(this)),this.tablePropertiesInstance},enumerable:!0,configurable:!0}),Lg.prototype.notifyCharacterFormatMutation=function(){this.syncFormatsToElement(),this.parent.replaceConditionalElement(this.typeValue,this.element)},Lg.prototype.notifyParagraphFormatMutation=function(){this.syncFormatsToElement(),this.parent.replaceConditionalElement(this.typeValue,this.element)},Lg.prototype.notifyStructureMutation=function(){this.parent.replaceConditionalElement(this.typeValue,this.element)},Lg.prototype.syncFormatsToElement=function(){var e;void 0!==this.characterFormatInstance&&(e=aa(this.characterFormatInstance.snapshot()),this.writeChildInternal("rPr",0<e.length?b("rPr",{children:e}):void 0,!1)),void 0!==this.paragraphFormatInstance&&(e=Bs(this.paragraphFormatInstance.snapshot()),this.writeChildInternal("pPr",0<e.length?b("pPr",{children:e}):void 0,!1))},Lg.prototype.readChild=function(e){for(var t=re(this.element),r=0;r<t.length;r+=1)if(te(t[r],e))return t[r]},Lg.prototype.writeChild=function(e,t){this.writeChildInternal(e,t,!0)},Lg.prototype.writeChildInternal=function(e,t,r){for(var n=re(this.element),i=[],o=!1,a=0;a<n.length;a+=1){var l=n[a];te(l,e)?(o||void 0===t||i.push(t),o=!0):i.push(l)}o||void 0===t||i.push(t);var s=Cg(i);this.element=b("tblStylePr",{attributes:this.element.attributes,namespaceDeclarations:this.element.namespaceDeclarations,children:s}),r&&this.notifyStructureMutation()},Lg.prototype.toElement=function(){return this.syncFormatsToElement(),this.element=Ig(this.element),this.element};var Eg=Lg;function Lg(e,t,r){this.parent=e,this.typeValue=t,this.element=r}Bg.prototype.readTblPr=function(){return this.owner.readChild("tblPr")},Bg.prototype.writeTblPr=function(e){this.owner.writeChild("tblPr",e)},Object.defineProperty(Bg.prototype,"borders",{get:function(){var i;return void 0===this.bordersInstance&&((i=this).bordersInstance=new cv({readEdge:function(e){var t=i.readTblPr();return void 0!==t&&void 0!==(t=hl(t))?t[e]:void 0},writeEdge:function(e,t){var r=void 0!==i.readTblPr()?i.readTblPr():b("tblPr"),n=void 0!==hl(r)?mg({},hl(r)):{},e=(void 0===t?delete n[e]:n[e]=t,Object.keys(n));i.writeTblPr(pl(r,0<e.length?n:void 0))}})),this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Bg.prototype,"shading",{get:function(){var e=this.readTblPr();return void 0!==e?gl(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():b("tblPr");this.writeTblPr(bl(t,e))},enumerable:!0,configurable:!0});var Rg=Bg;function Bg(e){this.owner=e}Object.defineProperty(jg.prototype,"count",{get:function(){return this.owner.listConditional().length},enumerable:!0,configurable:!0}),jg.prototype.item=function(e){var t=this.owner.listConditional();if(e<0||e>=t.length)throw new RangeError("Conditional formatting index out of range");return t[e]},jg.prototype.findByType=function(e){for(var t=this.owner.listConditional(),r=0;r<t.length;r+=1)if(t[r].conditionalFormattingType===e)return t[r]},jg.prototype.add=function(e){var t=this.findByType(e);return void 0!==t?t:(t=b("tblStylePr",{attributes:[y("type",e)],children:[]}),this.owner.addConditionalElement(e,t))},jg.prototype.clear=function(){this.owner.clearConditionals()};var _g=jg;function jg(e){this.owner=e}Zy(Ug,Mg=Ky),Ug.prototype.bindHost=function(e){this.host=e},Object.defineProperty(Ug.prototype,"paragraphFormat",{get:function(){return this.paragraphFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(Ug.prototype,"tableProperties",{get:function(){return void 0===this.tablePropertiesInstance&&(this.tablePropertiesInstance=new kg(this)),this.tablePropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Ug.prototype,"rowProperties",{get:function(){return void 0===this.rowPropertiesInstance&&(this.rowPropertiesInstance=new Dg(this,!1)),this.rowPropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Ug.prototype,"cellProperties",{get:function(){return void 0===this.cellPropertiesInstance&&(this.cellPropertiesInstance=new Ng(this,!1)),this.cellPropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(Ug.prototype,"conditionalFormattingStyles",{get:function(){return void 0===this.conditionalCollection&&(this.conditionalCollection=new _g(this)),this.conditionalCollection},enumerable:!0,configurable:!0}),Ug.prototype.hydrateParagraphFormat=function(e){this.paragraphFormatValue.hydrate(e)},Ug.prototype.serializeParagraphProperties=function(e){var t=this.paragraphFormatValue.buildPPrChildren();0<t.length&&e.push(b("pPr",{children:t}))},Ug.prototype.serialize=function(){return Vg(Mg.prototype.serialize.call(this))},Ug.prototype.notifyCharacterFormatMutation=function(){Mg.prototype.notifyCharacterFormatMutation.call(this),this.notifyHost()},Ug.prototype.notifyParagraphFormatMutation=function(){this.ensureAttached(),this.markDirty(),this.notifyHost()},Ug.prototype.notifyHost=function(){void 0!==this.host&&this.host.notifyTableStyleMutation()},Ug.prototype.readBaseChild=function(e){for(var t=re(this.toDocxStyle().serialize()),r=0;r<t.length;r+=1)if(te(t[r],e))return t[r]},Ug.prototype.writeBaseChild=function(e,t){for(var r=this.toDocxStyle(),n=r.serialize(),i=re(n),o=[],a=!1,l=0;l<i.length;l+=1){var s=i[l];te(s,e)&&"tblStylePr"!==e?(a||void 0===t||o.push(t),a=!0):o.push(s)}a||void 0===t||o.push(t),this.replaceShellFromChildren(r,n,o),this.conditionalCache=void 0,this.notifyHost()},Ug.prototype.replaceShellFromChildren=function(e,t,r){t=Vg(b("style",{attributes:t.attributes,namespaceDeclarations:t.namespaceDeclarations,children:r})),r=re(t),t=Wy(t);void 0!==t?this.replaceShell(t):this.replaceShell(new Uy(this.styleId,"table",void 0,void 0,r.slice()))},Ug.prototype.listConditional=function(){if(void 0!==this.conditionalCache)return this.conditionalCache;for(var e=re(this.toDocxStyle().serialize()),t=[],r=0;r<e.length;r+=1){var n,i=e[r];te(i,"tblStylePr")&&void 0!==(n=void 0!==z(i)?z(i):Tg(i,"type"))&&!0===gg[n]&&t.push(new Eg(this,n,i))}return this.conditionalCache=t},Ug.prototype.addConditionalElement=function(e,t){var t=Ig(t),r=this.toDocxStyle(),n=r.serialize(),i=re(n).slice();return i.push(t),this.replaceShellFromChildren(r,n,i),this.conditionalCache=void 0,this.notifyHost(),new Eg(this,e,t)},Ug.prototype.replaceConditionalElement=function(e,t){for(var r=Ig(t),t=this.toDocxStyle(),n=t.serialize(),i=re(n),o=[],a=!1,l=0;l<i.length;l+=1){var s=i[l];if(te(s,"tblStylePr"))if((void 0!==z(s)?z(s):Tg(s,"type"))===e){a||(o.push(r),a=!0);continue}o.push(s)}a||o.push(r),this.replaceShellFromChildren(t,n,o),this.conditionalCache=void 0,this.notifyHost()},Ug.prototype.clearConditionals=function(){var e=this.toDocxStyle(),t=e.serialize(),r=re(t).filter(function(e){return!te(e,"tblStylePr")});this.replaceShellFromChildren(e,t,r),this.conditionalCache=void 0,this.notifyHost()};var Mg,zg=Ug;function Ug(e,t){var r=Mg.call(this,e.styleId,"table",e.default,e.customStyle)||this;return r.host=t,r.paragraphFormatValue=new ys(r),r.hydrateFromDocxStyle(e),r}Object.defineProperty(Wg.prototype,"ownerDocument",{get:function(){return this.document},enumerable:!0,configurable:!0}),Object.defineProperty(Wg.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.styleList.length},enumerable:!0,configurable:!0}),Wg.prototype.itemAt=function(e){return this.styleList[e]},Wg.prototype[Symbol.iterator]=function(){var t=this.styleList.slice(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},Wg.prototype.getStyle=function(e){return this.styleById.get(e)},Wg.prototype.findById=function(e){return this.getStyle(e)},Wg.prototype.getParagraphStyle=function(e){e=this.styleById.get(e);if(e instanceof og)return e},Wg.prototype.getCharacterStyle=function(e){e=this.styleById.get(e);if(e instanceof sg)return e},Wg.prototype.getTableStyle=function(e){e=this.styleById.get(e);if(e instanceof zg)return e},Wg.prototype.findByName=function(e){var t=Yy(e);if(0!==t.length)for(var r=0;r<this.styleList.length;r+=1){var n=this.styleList[r];if(n.normalizedName()===t)return n}},Wg.prototype.hasStyle=function(e){return this.styleById.has(e)||this.pendingParagraphStyles.has(e)||this.pendingCharacterStyles.has(e)||this.pendingTableStyles.has(e)},Wg.prototype.addParagraphStyle=function(e){this.assertNewId(e);e=og.createMinimal(e);return this.attachAndIndex(e,!0),e},Wg.prototype.addCharacterStyle=function(e){this.assertNewId(e);e=sg.createMinimal(e);return this.attachAndIndex(e,!0),e},Wg.prototype.addTableStyle=function(e){var t=this,e=e.trim();if(0===e.length)throw new ne("Table style name must not be empty");var r=function(e){for(var t="",r=0;r<e.length;r+=1){var n=e.charAt(r),i=e.charCodeAt(r),o=48<=i&&i<=57;(65<=i&&i<=90||97<=i&&i<=122||127<i||o)&&(t+=n)}return t}(e),r=(r=function(e,t){if(!t(e))return e;var r=1;for(;t(e+String(r));)r+=1;return e+String(r)}(r=0===r.length?"TableStyle":r,function(e){return t.styleById.has(e)}),new Uy(r,"table",void 0,!0,[b("name",{attributes:[y("val",e)]})]));return this.appendFromDocxShell(r,!0)},Wg.prototype.ensureParagraphStyle=function(e){var t=this.getParagraphStyle(e);if(void 0!==t)return t;this.ensureStyle(e,"paragraph");t=this.getParagraphStyle(e);if(void 0!==t)return t;t=this.findByName(e);if(t instanceof og)return t;throw new J("styles/undefined-style",'Failed to ensure paragraph style "'+e+'"')},Wg.prototype.ensureCharacterStyle=function(e){var t=this.getCharacterStyle(e);if(void 0!==t)return t;this.ensureStyle(e,"character");t=this.getCharacterStyle(e);if(void 0!==t)return t;t=this.findByName(e);if(t instanceof sg)return t;throw new J("styles/undefined-style",'Failed to ensure character style "'+e+'"')},Wg.prototype.ensureTableStyle=function(e){var t=this.getTableStyle(e);if(void 0!==t)return t;this.ensureStyle(e,"table");t=this.getTableStyle(e);if(void 0!==t)return t;t=this.findByName(e);if(t instanceof zg)return t;throw new J("styles/undefined-style",'Failed to ensure table style "'+e+'"')},Wg.prototype.remove=function(e){var t="string"==typeof e?e:e.styleId,r=this.styleById.get(t);if(void 0===r)return!1;if("string"!=typeof e&&e!==r)throw new ne("Style instance is not the collection entry for its styleId");"function"==typeof this.host.purgeContentStyleReferences&&this.host.purgeContentStyleReferences(this.document,t),this.purgeCatalogReferencesTo(t,r);e=this.styleList.indexOf(r);return 0<=e&&this.styleList.splice(e,1),this.styleById.delete(t),this.projected.delete(t),this.pendingParagraphStyles.delete(t),this.pendingCharacterStyles.delete(t),this.pendingTableStyles.delete(t),"function"==typeof this.host.forgetProjectedStyle&&this.host.forgetProjectedStyle(t),r.detach(),this.host.markStylesDirty(),this.rebuildIndexProperties(),!0},Wg.prototype.purgeCatalogReferencesTo=function(e,t){for(var r=0;r<this.styleList.length;r+=1){var n=this.styleList[r];n!==t&&n.clearReferencesToStyleId(e)}},Wg.prototype.stylesInOrder=function(){return this.styleList},Wg.prototype.markStylesDirty=function(){this.projected.clear(),this.host.markStylesDirty()},Wg.prototype.lookupStyle=function(e){return this.styleById.get(e)},Wg.prototype.findStyleByDisplayName=function(e){e=this.findByName(e);if(void 0!==e)return this.projectDocxStyle(e.styleId)},Wg.prototype.addStyle=function(e){if(e instanceof Uy)return this.styleById.has(e.styleId)?void 0:void this.appendFromDocxShell(e,!0);if(!this.styleById.has(e.styleId)){if(e.isAttached&&e.owner!==this)throw new J("argument/invalid",'Style "'+e.styleId+'" is owned by another document');this.attachAndIndex(e,!0)}},Wg.prototype.hydrateFromDocxStyles=function(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];this.styleById.has(n.styleId)||this.appendFromDocxShell(n,t)}},Wg.prototype.replaceFromDocxStyles=function(e,t){for(var r=0;r<this.styleList.length;r+=1)this.styleList[r].detach();this.styleList.length=0,this.styleById.clear(),this.projected.clear(),this.hydrateFromDocxStyles(e,t),this.rebuildIndexProperties()},Wg.prototype.registerPendingParagraphStyle=function(e){0===e.length||this.styleById.has(e)||this.pendingParagraphStyles.add(e)},Wg.prototype.registerPendingCharacterStyle=function(e){0===e.length||this.styleById.has(e)||this.pendingCharacterStyles.add(e)},Wg.prototype.registerPendingTableStyle=function(e){0===e.length||this.styleById.has(e)||this.pendingTableStyles.add(e)},Wg.prototype.materializePendingIds=function(e,t,r){var n=Array.from(this.pendingParagraphStyles);this.pendingParagraphStyles.clear();for(var i=0;i<n.length;i+=1){var o=n[i];this.styleById.has(o)||this.ensureStyle(o,"paragraph"),void 0!==(s=this.styleById.get(o))&&s.styleId!==o?e(o,s.styleId):void 0===s&&void 0!==(u=this.findByName(o))&&u.styleId!==o&&e(o,u.styleId)}var a=Array.from(this.pendingCharacterStyles);this.pendingCharacterStyles.clear();for(i=0;i<a.length;i+=1){o=a[i];this.styleById.has(o)||this.ensureStyle(o,"character"),void 0!==(s=this.styleById.get(o))&&s.styleId!==o?t(o,s.styleId):void 0===s&&void 0!==(u=this.findByName(o))&&u.styleId!==o&&t(o,u.styleId)}if(void 0!==r){var l=Array.from(this.pendingTableStyles);this.pendingTableStyles.clear();for(i=0;i<l.length;i+=1){var s,u,o=l[i];this.styleById.has(o)||this.ensureStyle(o,"table"),void 0!==(s=this.styleById.get(o))&&s.styleId!==o?r(o,s.styleId):void 0===s&&void 0!==(u=this.findByName(o))&&u.styleId!==o&&r(o,u.styleId)}}else this.pendingTableStyles.clear()},Wg.prototype.asDocxLookup=function(){var t=this;return{getStyle:function(e){return t.projectDocxStyle(e)},findStyleByDisplayName:function(e){return t.findStyleByDisplayName(e)},addStyle:function(e){t.styleById.has(e.styleId)||t.appendFromDocxShell(e,!0)}}},Wg.prototype.projectDocxStyles=function(){for(var e=[],t=0;t<this.styleList.length;t+=1){var r=this.projectDocxStyle(this.styleList[t].styleId);void 0!==r&&e.push(r)}return e},Wg.prototype.projectDocxStyle=function(e){var t=this.projected.get(e);return void 0!==t?t:void 0!==(t=this.styleById.get(e))?(t=t.toDocxStyle(),this.projected.set(e,t),t):void 0},Wg.prototype.ensureStyle=function(e,t){if(0===e.length)throw new J("content/invalid-style-id","Style id must not be empty");if(!this.styleById.has(e)){if("paragraph"===t||"character"===t){try{m0(this.asDocxLookup(),e,t)}catch(e){}if(this.styleById.has(e))return}var r=b0(this.asDocxLookup(),e,t);void 0!==r?this.styleById.has(r.styleId)||this.appendFromDocxShell(r,!0):"table"===t?(r=Gy(e,"table"),this.appendFromDocxShell(r,!0)):(r=fg(e,t),this.attachAndIndex(r,!0))}},Wg.prototype.assertNewId=function(e){if(0===e.length)throw new ne("Style id must not be empty");if(this.styleById.has(e))throw new J("argument/invalid",'Style id "'+e+'" already exists in this document')},Wg.prototype.appendFromDocxShell=function(e,t){var r,n=this;return r="table"===e.type?new zg(e,{notifyTableStyleMutation:function(){n.projected.delete(e.styleId),n.host.markStylesDirty()}}):pg(e),this.attachAndIndex(r,t),this.projected.set(r.styleId,e),r},Wg.prototype.attachAndIndex=function(e,t){var r;this.styleById.has(e.styleId)||(e instanceof zg&&(r=this,e.bindHost({notifyTableStyleMutation:function(){r.projected.delete(e.styleId),r.host.markStylesDirty()}})),e.attach(this),this.styleList.push(e),this.styleById.set(e.styleId,e),t&&this.host.markStylesDirty(),this.rebuildIndexProperties())},Wg.prototype.rebuildIndexProperties=function(){for(var e=this.styleList,t=e.length,r=this.cachedLength,n=t<r?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t};var Hg=Wg;function Wg(e,t,r){void 0===r&&(r=[]),this.cachedLength=0,this.document=e,this.host=t,this.styleList=[],this.styleById=new Map,this.pendingParagraphStyles=new Set,this.pendingCharacterStyles=new Set,this.pendingTableStyles=new Set,this.projected=new Map,this.document;for(var n=0;n<r.length;n+=1){var i=r[n];this.attachAndIndex(i,!1)}}var Gg=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},qg=Er("styles-with-effects"),Xg="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",Yg="application/vnd.ms-word.stylesWithEffects+xml",Zg=Lt("/word/stylesWithEffects.xml"),Kg=new TextDecoder("utf-8");function Jg(e){var t,r;if(!te(e,"styles"))return[];var n,i=[];try{for(var o=Gg(re(e)),a=o.next();!a.done;a=o.next()){var l,s=a.value;te(s,"style")&&void 0!==(l=null==(n=(n=s).attributes.find(function(e){return"styleId"===e.localName&&(e.namespaceUri===he||""===e.namespaceUri)}))?void 0:n.value)&&0<l.length&&i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}Qg.prototype.present=function(){return void 0!==this.bytes},Qg.prototype.styleIds=function(){return this.styleIdList},Qg.prototype.styleCount=function(){return this.styleIdList.length},Qg.prototype.isDirty=function(){return this.dirty},Qg.prototype.serialize=function(){return void 0!==this.bytes?this.bytes:new Uint8Array(0)};var $g=Qg;function Qg(e,t,r){this.bytes=e,this.styleIdList=t,this.dirty=r}function eb(e){var t;return void 0===e?new $g(void 0,[],!1):(t=function(e){if(0===e.byteLength)return[];try{return Jg(Ce(Kg.decode(e)))}catch(e){return[]}}(e.data),new $g(e.data,t,!1))}var tb=!1;function rb(){tb=!1}function nb(){tb||(tb=!0,Rr({id:qg}),Yr({featureId:qg,relationshipTypes:[Xg],defaultRelativeTarget:"stylesWithEffects.xml",partName:Zg,contentType:Yg,loadPart:eb}))}var ib=function(n,i){var o,a,l,s={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(r){return function(e){var t=[r,e];if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,a&&(l=2&t[0]?a.return:t[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,t[1])).done)return l;switch(a=0,(t=l?[2&t[0],l.value]:t)[0]){case 0:case 1:l=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(l=0<(l=s.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3]))s.label=t[1];else if(6===t[0]&&s.label<l[1])s.label=l[1],l=t;else{if(!(l&&s.label<l[2])){l[2]&&s.ops.pop(),s.trys.pop();continue}s.label=l[2],s.ops.push(t)}}t=i.call(n,s)}catch(e){t=[6,e],a=0}finally{o=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},ob=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},ab=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};function lb(e,t){if(null==e)throw new J("content/unsupported",t+" must not be empty");e=String(e).trim();if(0===e.length)throw new J("content/unsupported",t+" must not be empty");return e}function sb(e){var t,r,n=[];try{for(var i=ob(e.fonts()),o=i.next();!o.done;o=i.next()){var a=o.value,l=a.alternateName;void 0!==l&&0<l.trim().length&&n.push([a.name,l])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}cb.prototype.boundPart=function(){return this.part},Object.defineProperty(cb.prototype,"size",{get:function(){return sb(this.part).length},enumerable:!0,configurable:!0}),cb.prototype.set=function(e,t){e=lb(e,"Font name"),t=lb(t,"Alternate font name");return this.part.appendFont(e).alternateName=t,this},cb.prototype.get=function(e){if(null!=e){var e=String(e).trim();if(0!==e.length){e=null==(e=this.part.font(e))?void 0:e.alternateName;if(void 0!==e&&0!==e.trim().length)return e}}},cb.prototype.has=function(e){return void 0!==this.get(e)},cb.prototype.delete=function(e){return null!=e&&0!==(e=String(e).trim()).length&&void 0!==(e=this.part.font(e))&&void 0!==e.alternateName&&0!==e.alternateName.trim().length&&!(e.alternateName=void 0)},cb.prototype.clear=function(){var t,e;try{for(var r=ob(this.part.fonts()),n=r.next();!n.done;n=r.next()){var i=n.value;void 0!==i.alternateName&&(i.alternateName=void 0)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},cb.prototype.entries=function(){return ib(this,function(e){switch(e.label){case 0:return[5,ob(sb(this.part))];case 1:return e.sent(),[2]}})},cb.prototype.keys=function(){var t,r,n,i,o;return ib(this,function(e){switch(e.label){case 0:e.trys.push([0,5,6,7]),n=ob(sb(this.part)),i=n.next(),e.label=1;case 1:return i.done?[3,4]:(o=ab(i.value,1),[4,o[0]]);case 2:e.sent(),e.label=3;case 3:return i=n.next(),[3,1];case 4:return[3,7];case 5:return o=e.sent(),t={error:o},[3,7];case 6:try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}return[7];case 7:return[2]}})},cb.prototype.values=function(){var t,r,n,i,o;return ib(this,function(e){switch(e.label){case 0:e.trys.push([0,5,6,7]),n=ob(sb(this.part)),i=n.next(),e.label=1;case 1:return i.done?[3,4]:(o=ab(i.value,2),[4,o[1]]);case 2:e.sent(),e.label=3;case 3:return i=n.next(),[3,1];case 4:return[3,7];case 5:return o=e.sent(),t={error:o},[3,7];case 6:try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}return[7];case 7:return[2]}})},cb.prototype[Symbol.iterator]=function(){return this.entries()};var ub=cb;function cb(e){this.part=e}var db=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},hb=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(db(arguments[t]));return e},pb=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},fb="http://schemas.openxmlformats.org/officeDocument/2006/relationships",Zy={Decorative:"decorative",Modern:"modern",Roman:"roman",Script:"script",Swiss:"swiss",Auto:"auto"},vb={Fixed:"fixed",Variable:"variable",Default:"default"},mb={Regular:"regular",Bold:"bold",Italic:"italic",BoldItalic:"boldItalic"},yb=new Set(ua(Zy)),gb=new Set(ua(vb)),bb=((l={})[mb.Regular]="embedRegular",l[mb.Bold]="embedBold",l[mb.Italic]="embedItalic",l[mb.BoldItalic]="embedBoldItalic",l),wb={embedRegular:mb.Regular,embedBold:mb.Bold,embedItalic:mb.Italic,embedBoldItalic:mb.BoldItalic},Pb=(Object.defineProperty(Sb.prototype,"name",{get:function(){return this.nameValue},enumerable:!0,configurable:!0}),Object.defineProperty(Sb.prototype,"alternateName",{get:function(){return this.alternateNameValue},set:function(e){if(void 0===e||0===e.trim().length)return void 0===this.alternateNameValue?void 0:(this.alternateNameValue=void 0,void this.markDirty());this.alternateNameValue!==e&&(this.alternateNameValue=e,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(Sb.prototype,"alternateNames",{get:function(){var t,e;if(void 0===this.alternateNameValue)return[];var r=[];try{for(var n=pb(this.alternateNameValue.split(",")),i=n.next();!i.done;i=n.next()){var o=i.value.trim();0<o.length&&r.push(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},enumerable:!0,configurable:!0}),Object.defineProperty(Sb.prototype,"panose",{get:function(){return this.panoseValue},set:function(e){e=Ib(e);this.panoseValue!==e&&(this.panoseValue=e,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(Sb.prototype,"charset",{get:function(){return this.charsetValue},set:function(e){e=Ib(e);this.charsetValue!==e&&(this.charsetValue=e,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(Sb.prototype,"family",{get:function(){return this.familyValue},set:function(e){if(void 0===e)return void 0===this.familyValue&&void 0===this.familyRawValue?void 0:(this.familyValue=void 0,this.familyRawValue=void 0,void this.markDirty());var t=e;if(!yb.has(t))throw new RangeError("Invalid FontFamily value: "+t);this.familyValue===e&&void 0===this.familyRawValue||(this.familyValue=e,this.familyRawValue=void 0,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(Sb.prototype,"notTrueType",{get:function(){return this.notTrueTypeValue},set:function(e){this.notTrueTypeValue!==e&&(this.notTrueTypeValue=e,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(Sb.prototype,"pitch",{get:function(){return this.pitchValue},set:function(e){if(void 0===e)return void 0===this.pitchValue&&void 0===this.pitchRawValue?void 0:(this.pitchValue=void 0,this.pitchRawValue=void 0,void this.markDirty());var t=e;if(!gb.has(t))throw new RangeError("Invalid FontPitch value: "+t);this.pitchValue===e&&void 0===this.pitchRawValue||(this.pitchValue=e,this.pitchRawValue=void 0,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(Sb.prototype,"signature",{get:function(){return this.signatureValue},set:function(e){if(void 0===e)return void 0===this.signatureValue?void 0:(this.signatureValue=void 0,void this.markDirty());var t,r,e={usb0:e.usb0,usb1:e.usb1,usb2:e.usb2,usb3:e.usb3,csb0:e.csb0,csb1:e.csb1};t=this.signatureValue,r=e,void 0!==t&&t.usb0===r.usb0&&t.usb1===r.usb1&&t.usb2===r.usb2&&t.usb3===r.usb3&&t.csb0===r.csb0&&t.csb1===r.csb1||(this.signatureValue=e,this.markDirty())},enumerable:!0,configurable:!0}),Sb.prototype.embedRefs=function(){return this.embeds.map(Cb)},Sb.prototype.embedRef=function(t){Vb(t);var e=this.embeds.find(function(e){return e.slot===t});return void 0===e?void 0:Cb(e)},Sb.prototype.clearEmbed=function(t){Vb(t);var e=this.embeds.findIndex(function(e){return e.slot===t});e<0||(this.embeds.splice(e,1),this.markDirty())},Sb.prototype.serialize=function(){function e(t){var e=o.embeds.find(function(e){return e.slot===t});void 0!==e&&n.push(function(e){var t=bb[e.slot],r=[{namespaceUri:fb,localName:"id",prefix:"r",value:e.relationshipId}];void 0!==e.fontKey&&r.push(y("fontKey",e.fontKey));void 0!==e.subsetted&&r.push(y("subsetted",e.subsetted?"true":"false"));r.push.apply(r,hb(e.extraAttributes));var n=0<e.namespaceDeclarations.length?hb(e.namespaceDeclarations):[{prefix:"r",namespaceUri:fb}];n.some(function(e){return"r"===e.prefix&&e.namespaceUri===fb})||n.push({prefix:"r",namespaceUri:fb});return b(t,{attributes:r,children:e.children,namespaceDeclarations:n})}(e))}var t,r,n=[],i=(void 0!==this.alternateNameValue&&n.push(b("altName",{attributes:[y("val",this.alternateNameValue)]})),void 0!==this.panoseValue&&n.push(b("panose1",{attributes:[y("val",this.panoseValue)]})),void 0!==this.charsetValue&&n.push(b("charset",{attributes:[y("val",this.charsetValue)]})),null!=this.familyValue?this.familyValue:this.familyRawValue),i=(void 0!==i&&n.push(b("family",{attributes:[y("val",i)]})),void 0!==this.notTrueTypeValue&&n.push(Ji("notTrueType",this.notTrueTypeValue)),null!=this.pitchValue?this.pitchValue:this.pitchRawValue),o=(void 0!==i&&n.push(b("pitch",{attributes:[y("val",i)]})),void 0!==this.signatureValue&&n.push(b("sig",{attributes:[y("usb0",(i=this.signatureValue).usb0),y("usb1",i.usb1),y("usb2",i.usb2),y("usb3",i.usb3),y("csb0",i.csb0),y("csb1",i.csb1)]})),this);try{for(var a=pb([mb.Regular,mb.Bold,mb.Italic,mb.BoldItalic]),l=a.next();!l.done;l=a.next())e(l.value)}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n.push.apply(n,hb(this.residualChildren)),b("font",{attributes:hb([y("name",this.nameValue)],this.extraAttributes),children:n})},Sb);function Sb(e,t,r){this.nameValue=e,this.alternateNameValue=t.alternateName,this.panoseValue=t.panose,this.charsetValue=t.charset,this.familyValue=t.family,this.familyRawValue=t.familyRaw,this.notTrueTypeValue=t.notTrueType,this.pitchValue=t.pitch,this.pitchRawValue=t.pitchRaw,this.signatureValue=t.signature,this.embeds=void 0!==t.embeds?t.embeds.map(xb):[],this.residualChildren=void 0!==t.residualChildren?hb(t.residualChildren):[],this.extraAttributes=void 0!==t.extraAttributes?hb(t.extraAttributes):[],this.markDirty=r}function xb(e){return{slot:e.slot,relationshipId:e.relationshipId,fontKey:e.fontKey,subsetted:e.subsetted,extraAttributes:hb(e.extraAttributes),children:hb(e.children),namespaceDeclarations:hb(e.namespaceDeclarations)}}function Cb(e){return{slot:e.slot,relationshipId:e.relationshipId,fontKey:e.fontKey,subsetted:e.subsetted}}function Ib(e){if(void 0!==e&&0!==e.trim().length)return e}function Vb(e){if(e!==mb.Regular&&e!==mb.Bold&&e!==mb.Italic&&e!==mb.BoldItalic)throw new RangeError("Invalid FontEmbedSlot value: "+e)}function Tb(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)});return null==e?void 0:e.value}function kb(e,t){var r=null==(r=(r=e).attributes.find(function(e){return"id"===e.localName&&(e.namespaceUri===fb||"r"===e.prefix||""===e.namespaceUri)}))?void 0:r.value;if(void 0!==r&&0!==r.length)return{slot:t,relationshipId:r,fontKey:void 0!==(t=Tb(e,"fontKey"))&&0<t.trim().length?t:void 0,subsetted:function(e){var e=e.attributes.find(function(e){return"subsetted"===e.localName&&(e.namespaceUri===dn||""===e.namespaceUri)});if(void 0!==e)return"true"===(e=e.value.trim().toLowerCase())||"1"===e||"on"===e||"false"!==e&&"0"!==e&&"off"!==e&&void 0}(e),extraAttributes:e.attributes.filter(function(e){return("id"!==e.localName||e.namespaceUri!==fb&&"r"!==e.prefix&&""!==e.namespaceUri)&&("fontKey"!==e.localName||e.namespaceUri!==dn&&""!==e.namespaceUri)&&("subsetted"!==e.localName||e.namespaceUri!==dn&&""!==e.namespaceUri)}),children:hb(e.children),namespaceDeclarations:hb(e.namespaceDeclarations)}}function Fb(e){var t,r,n,i,o,a,l,s,u,c,d,h=[],p=new Set,f=[];try{for(var v=pb(re(e)),m=v.next();!m.done;m=v.next()){var y,g,b,w=m.value;te(w,"altName")?void 0===n&&void 0!==(y=z(w))&&0<y.trim().length&&(n=y):te(w,"panose1")?void 0===i&&void 0!==(y=z(w))&&0<y.trim().length&&(i=y):te(w,"charset")?void 0===o&&void 0!==(y=z(w))&&0<y.trim().length&&(o=y):te(w,"family")?void 0===a&&void 0===l&&void 0!==(y=z(w))&&0<y.trim().length&&(yb.has(y)?a=y:l=y):te(w,"notTrueType")?void 0===s&&void 0!==(b=Ki(w))&&(s=b):te(w,"pitch")?void 0===u&&void 0===c&&void 0!==(y=z(w))&&0<y.trim().length&&(gb.has(y)?u=y:c=y):te(w,"sig")?void 0===d&&(void 0!==(b=function(e){var t=Tb(e,"usb0"),r=Tb(e,"usb1"),n=Tb(e,"usb2"),i=Tb(e,"usb3"),o=Tb(e,"csb0"),e=Tb(e,"csb1");if(void 0!==t&&void 0!==r&&void 0!==n&&void 0!==i&&void 0!==o&&void 0!==e)return{usb0:t,usb1:r,usb2:n,usb3:i,csb0:o,csb1:e}}(w))?d=b:f.push(w)):void 0!==(g=wb[w.localName])&&te(w,w.localName)?p.has(g)||(void 0!==(b=kb(w,g))?(h.push(b),p.add(g)):f.push(w)):f.push(w)}}catch(e){t={error:e}}finally{try{m&&!m.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}return{alternateName:n,panose:i,charset:o,family:a,familyRaw:l,notTrueType:s,pitch:u,pitchRaw:c,signature:d,embeds:h,residualChildren:f}}function Db(e,t){var r,n=null==(n=(n=e).attributes.find(function(e){return"name"===e.localName&&(e.namespaceUri===dn||""===e.namespaceUri)}))?void 0:n.value;if(void 0!==n&&0!==n.length)return r=Fb(e),e=e.attributes.filter(function(e){return!("name"===e.localName&&(e.namespaceUri===dn||""===e.namespaceUri))}),new Pb(n,{alternateName:r.alternateName,panose:r.panose,charset:r.charset,family:r.family,familyRaw:r.familyRaw,notTrueType:r.notTrueType,pitch:r.pitch,pitchRaw:r.pitchRaw,signature:r.signature,embeds:r.embeds,residualChildren:r.residualChildren,extraAttributes:e},t)}function Ob(e,t){return new Pb(e,{},t)}var Nb=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ab=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Nb(arguments[t]));return e},Eb=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Lb=Er("font-table"),Rb="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",Bb="http://purl.oclc.org/ooxml/officeDocument/relationships/fontTable",_b="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml",jb=Lt("/word/fontTable.xml"),Mb=new TextDecoder("utf-8"),zb=new TextEncoder;function Ub(e){return e.toLowerCase()}Wb.prototype.fontNames=function(){return this.fontEntries.map(function(e){return e.name})},Wb.prototype.hasFont=function(e){return void 0!==this.font(e)},Wb.prototype.fonts=function(){return this.fontEntries},Wb.prototype.font=function(e){var t=Ub(e);return this.fontEntries.find(function(e){return Ub(e.name)===t})},Wb.prototype.appendFont=function(e){var t=this,e=e.trim();if(0===e.length)throw new J("content/unsupported","Font name must not be empty");var r=this.font(e);return void 0!==r||(r=Ob(e,function(){t.markDirty()}),this.fontEntries.push(r),this.markDirty()),r},Wb.prototype.substituteFont=function(e){e=this.font(e);return null==e?void 0:e.alternateName},Wb.prototype.isDirty=function(){return this.dirty},Wb.prototype.markDirty=function(){this.dirty=!0,this.bytes=void 0},Wb.prototype.serialize=function(){var e;return this.dirty?(e=Ab(this.rootExtrasBeforeFonts,this.fontEntries.map(function(e){return e.serialize()}),this.rootExtrasAfterFonts),e=b("fonts",{namespaceDeclarations:this.rootNamespaceDeclarations,attributes:this.rootAttributes,children:e}),zb.encode(Fe(e))):void 0!==this.bytes?this.bytes:new Uint8Array(0)};var Hb=Wb;function Wb(e,t,r,n,i,o,a){this.bytes=e,this.fontEntries=t,this.rootExtrasBeforeFonts=Ab(r),this.rootExtrasAfterFonts=Ab(n),this.rootAttributes=Ab(i),this.rootNamespaceDeclarations=0<o.length?Ab(o):[{prefix:"w",namespaceUri:he}],this.dirty=a}function Gb(e){var t,r;return void 0===e?new Hb(void 0,[],[],[],[],[],!1):te(r=Ce(Mb.decode(e.data)),"fonts")?(t={part:void 0},r=function(e,t){var r,n,i=[],o=[],a=[],l=!1;try{for(var s=Eb(re(e)),u=s.next();!u.done;u=s.next()){var c,d=u.value;te(d,"font")?(l=!0,void 0!==(c=Db(d,t))&&i.push(c)):(l?a:o).push(d)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return{fontEntries:i,rootExtrasBeforeFonts:o,rootExtrasAfterFonts:a,rootAttributes:Ab(e.attributes),rootNamespaceDeclarations:Ab(e.namespaceDeclarations)}}(r,function(){void 0!==t.part&&t.part.markDirty()}),r=new Hb(e.data,r.fontEntries,r.rootExtrasBeforeFonts,r.rootExtrasAfterFonts,r.rootAttributes,r.rootNamespaceDeclarations,!1),t.part=r):new Hb(e.data,[],[],[],[],[],!1)}var qb=!1;function Xb(){qb=!1}function Yb(){qb||(qb=!0,Rr({id:Lb}),Yr({featureId:Lb,relationshipTypes:[Rb,Bb],defaultRelativeTarget:"fontTable.xml",partName:jb,contentType:_b,loadPart:Gb}))}function Zb(e){Yb();var t=e.featurePart(Lb);if(t instanceof Hb)return t;if(void 0!==t)throw new J("feature/not-registered","Font table part was not loaded; call registerFontTableFeature() or registerStylesFeature() before WordDocument.open");t=new Hb(void 0,[],[],[],[],[],!1);return e.setFeaturePart(Lb,t),t}var Kb=new WeakMap;function Jb(e){Yb();var t=Kb.get(e);return void 0!==t||(t=Zb(e),t=new ub(t),Kb.set(e,t)),t}Object.defineProperty(Cd.prototype,"fontSubstitutionTable",{configurable:!0,enumerable:!1,get:function(){return Jb(this)}}),Yb();var $b=function(){return($b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Qb=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},ew=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},tw=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ew(arguments[t]));return e},rw=(Object.defineProperty(nw.prototype,"ilvl",{get:function(){return this._ilvl},enumerable:!0,configurable:!0}),Object.defineProperty(nw.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),nw.prototype.setStart=function(e){this._start=e},Object.defineProperty(nw.prototype,"numFmt",{get:function(){return this._numFmt},enumerable:!0,configurable:!0}),nw.prototype.setNumFmt=function(e){this._numFmt=e},Object.defineProperty(nw.prototype,"lvlText",{get:function(){return this._lvlText},enumerable:!0,configurable:!0}),nw.prototype.setLvlText=function(e){this._lvlText=e},Object.defineProperty(nw.prototype,"isLgl",{get:function(){return this._isLgl},enumerable:!0,configurable:!0}),nw.prototype.setIsLgl=function(e){this._isLgl=e},Object.defineProperty(nw.prototype,"lvlJc",{get:function(){return this._lvlJc},enumerable:!0,configurable:!0}),nw.prototype.setLvlJc=function(e){this._lvlJc=e},Object.defineProperty(nw.prototype,"lvlPicBulletId",{get:function(){return this._lvlPicBulletId},enumerable:!0,configurable:!0}),nw.prototype.getExtras=function(){return this.extras},nw.prototype.setExtraElement=function(e,t){for(var r=[],n=!1,i=0;i<this.extras.length;i+=1){var o=this.extras[i];void 0!==o&&te(o,e)?n||void 0===t||(r.push(t),n=!0):void 0!==o&&r.push(o)}if(!n&&void 0!==t)if("pPr"===e||"rPr"===e||"legacy"===e)r.push(t);else{for(var a=r.length,i=0;i<r.length;i+=1){var l=r[i];if(void 0!==l&&(te(l,"pPr")||te(l,"rPr")||te(l,"legacy"))){a=i;break}}r.splice(a,0,t)}this.extras=r},nw.prototype.findExtra=function(e){for(var t=0;t<this.extras.length;t+=1){var r=this.extras[t];if(void 0!==r&&te(r,e))return r}},nw.prototype.toOpenXml=function(){var t,e,r=[],n=(void 0!==this._start&&r.push(b("start",{attributes:[y("val",String(this._start))]})),void 0!==this._numFmt&&r.push(b("numFmt",{attributes:[y("val",this._numFmt)]})),new Set(["start","numFmt"])),i=new Set(["isLgl","lvlText","lvlPicBulletId","lvlJc"]),o=[],a=[],l=!1;try{for(var s=Qb(this.extras),u=s.next();!u.done;u=s.next()){var c=u.value;(l=te(c,"pPr")||te(c,"rPr")||te(c,"legacy")?!0:l)||te(c,"pPr")||te(c,"rPr")||te(c,"legacy")||te(c,"lvlJc")?a.push(c):n.has(c.localName)||i.has(c.localName)||o.push(c)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return r.push.apply(r,tw(o)),void 0!==this._isLgl&&r.push(function(e,t){if(t)return b(e);return b(e,{attributes:[y("val","0")]})}("isLgl",this._isLgl)),void 0!==this._lvlText&&r.push(b("lvlText",{attributes:[y("val",this._lvlText)]})),void 0!==this._lvlPicBulletId&&r.push(b("lvlPicBulletId",{attributes:[y("val",String(this._lvlPicBulletId))]})),void 0!==this._lvlJc&&r.push(b("lvlJc",{attributes:[y("val",this._lvlJc)]})),r.push.apply(r,tw(a)),b("lvl",{attributes:tw([y("ilvl",String(this._ilvl))],this.extraAttributes),children:r})},nw);function nw(e){this._ilvl=e.ilvl,this._start=e.start,this._numFmt=e.numFmt,this._lvlText=e.lvlText,this._isLgl=e.isLgl,this._lvlJc=e.lvlJc,this._lvlPicBulletId=e.lvlPicBulletId,this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[],this.extras=null!=e.extras?e.extras.slice():[]}function iw(e){var t;if(te(e,"lvl")){var r=function(e,t){e=e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===he});if(void 0!==(null==e?void 0:e.value)&&/^-?\d+$/.test(e.value))return Number.parseInt(e.value,10)}(e,"ilvl");if(void 0!==r){var n,i,o,a,l,s,u=[];try{for(var c=Qb(re(e)),d=c.next();!d.done;d=c.next()){var h,p=d.value;if(te(p,"start")&&void 0===n)if(void 0!==(h=z(p))&&/^-?\d+$/.test(h)){n=Number.parseInt(h,10);continue}if(te(p,"numFmt")&&void 0===i)if(void 0!==(h=z(p))){i=h;continue}if(te(p,"lvlText")&&void 0===o)if(void 0!==(h=z(p))){o=h;continue}if(te(p,"isLgl")&&void 0===a)a=function(e){e=z(e);return void 0===e||""===e||"1"===e||"true"===e||"on"===e||"0"!==e&&"false"!==e&&"off"!==e}(p);else{if(te(p,"lvlJc")&&void 0===l)if(void 0!==(h=z(p))){l=h;continue}if(te(p,"lvlPicBulletId")&&void 0===s)if(void 0!==(h=z(p))&&/^-?\d+$/.test(h)){s=Number.parseInt(h,10);continue}u.push(p)}}}catch(e){t={error:e}}finally{try{d&&!d.done&&(f=c.return)&&f.call(c)}finally{if(t)throw t.error}}var f=e.attributes.filter(function(e){return!("ilvl"===e.localName&&e.namespaceUri===he)});return new rw($b({ilvl:r},void 0!==n?{start:n}:{},void 0!==i?{numFmt:i}:{},void 0!==o?{lvlText:o}:{},void 0!==a?{isLgl:a}:{},void 0!==l?{lvlJc:l}:{},void 0!==s?{lvlPicBulletId:s}:{},{extraAttributes:f,extras:u}))}}}function ow(e,t){return new rw({ilvl:e,start:1,numFmt:"bullet"===t?"bullet":"decimal",lvlText:"bullet"===t?"•":"%1.",lvlJc:"left",extras:[b("pPr",{children:[b("ind",{attributes:[y("left","720"),y("hanging","360")]})]})]})}var aw=[{lvlText:"",font:"Symbol"},{lvlText:"o",font:"Courier New"},{lvlText:"",font:"Wingdings"}],lw=[{numFmt:"decimal",lvlJc:"left"},{numFmt:"lowerLetter",lvlJc:"right"},{numFmt:"lowerRoman",lvlJc:"left"}];function sw(e){var t=e%3,t=null!=(t=null!=aw[t]?aw[t]:aw[0])?t:{lvlText:"",font:"Symbol"};return new rw({ilvl:e,start:1,numFmt:"bullet",lvlText:t.lvlText,lvlJc:"left",extras:[b("pPr",{children:[b("ind",{attributes:[y("left",String(720*(e+1))),y("hanging","360")]})]}),b("rPr",{children:[b("rFonts",{attributes:[y("ascii",t.font),y("hAnsi",t.font)]})]})]})}function uw(e){var t=e%3,t=null!=(t=null!=lw[t]?lw[t]:lw[0])?t:{numFmt:"decimal",lvlJc:"left"},r=720*(e+1);return new rw({ilvl:e,start:1,numFmt:t.numFmt,lvlText:"%"+String(e+1)+".",lvlJc:t.lvlJc,extras:[b("pPr",{children:[b("ind",{attributes:[y("left",String(r)),y("hanging","360")]})]})]})}var cw=function(){return(cw=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},dw=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},hw=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(dw(arguments[t]));return e},pw=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},fw=new Set(["singleLevel","multilevel","hybridMultilevel"]),vw=(Object.defineProperty(mw.prototype,"abstractNumId",{get:function(){return this._abstractNumId},enumerable:!0,configurable:!0}),Object.defineProperty(mw.prototype,"multiLevelType",{get:function(){return this._multiLevelType},enumerable:!0,configurable:!0}),Object.defineProperty(mw.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),mw.prototype.setName=function(e){this._name=e},Object.defineProperty(mw.prototype,"styleLink",{get:function(){return this._styleLink},enumerable:!0,configurable:!0}),mw.prototype.setStyleLink=function(e){this._styleLink=e},Object.defineProperty(mw.prototype,"numStyleLink",{get:function(){return this._numStyleLink},enumerable:!0,configurable:!0}),Object.defineProperty(mw.prototype,"levels",{get:function(){return this._levels},enumerable:!0,configurable:!0}),mw.prototype.toOpenXml=function(){var t,e,r=hw(this.prefixExtras);void 0!==this._multiLevelType&&r.push(b("multiLevelType",{attributes:[y("val",this._multiLevelType)]})),void 0!==this._name&&r.push(b("name",{attributes:[y("val",this._name)]})),void 0!==this._styleLink&&r.push(b("styleLink",{attributes:[y("val",this._styleLink)]})),void 0!==this._numStyleLink&&r.push(b("numStyleLink",{attributes:[y("val",this._numStyleLink)]}));try{for(var n=pw(this._levels),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o.toOpenXml())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r.push.apply(r,hw(this.suffixExtras)),b("abstractNum",{attributes:hw([y("abstractNumId",String(this._abstractNumId))],this.extraAttributes),children:r})},mw);function mw(e){this._abstractNumId=e.abstractNumId,this._multiLevelType=e.multiLevelType,this._name=e.name,this._styleLink=e.styleLink,this._numStyleLink=e.numStyleLink,this._levels=null!=e.levels?e.levels.slice():[],this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[],this.prefixExtras=null!=e.prefixExtras?e.prefixExtras:[],this.suffixExtras=null!=e.suffixExtras?e.suffixExtras:[]}function yw(e){var t;if(te(e,"abstractNum")){var r=function(e,t){e=e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===he});if(void 0!==(null==e?void 0:e.value)&&/^-?\d+$/.test(e.value))return Number.parseInt(e.value,10)}(e,"abstractNumId");if(void 0!==r){var n,i,o,a,l=[],s=[],u=[],c=!1;try{for(var d=pw(re(e)),h=d.next();!h.done;h=d.next()){var p,f=h.value;if(te(f,"lvl")){var v=iw(f);void 0!==v&&l.push(v),c=!0}else{if(te(f,"multiLevelType")&&void 0===n)if(void 0!==(p=z(f))&&fw.has(p)){n=p;continue}if(te(f,"name")&&void 0===i)if(void 0!==(p=z(f))){i=p;continue}if(te(f,"styleLink")&&void 0===o)if(void 0!==(p=z(f))){o=p;continue}if(te(f,"numStyleLink")&&void 0===a)if(void 0!==(p=z(f))){a=p;continue}(c?u:s).push(f)}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(m=d.return)&&m.call(d)}finally{if(t)throw t.error}}var m=e.attributes.filter(function(e){return!("abstractNumId"===e.localName&&e.namespaceUri===he)});return new vw(cw({abstractNumId:r},void 0!==n?{multiLevelType:n}:{},void 0!==i?{name:i}:{},void 0!==o?{styleLink:o}:{},void 0!==a?{numStyleLink:a}:{},{levels:l,extraAttributes:m,prefixExtras:s,suffixExtras:u}))}}}function gw(e,t){for(var r=[],n=0;n<9;n++)r.push(("bullet"===t?sw:uw)(n));return new vw({abstractNumId:e,multiLevelType:"hybridMultilevel",levels:r})}function bw(l){var e,s,t=l.numId;if(void 0===t)return"";try{e=l.owningDocument()}catch(e){return""}try{s=lP(e)}catch(e){return""}var u,c,t=s.getNumbering(t);return void 0===t||void 0===s.getAbstractNumbering(t.abstractNumId)?"":(void 0!==l.listLevel&&l.listLevel,u=new Map,c="",Mn(e,function(e){if(void 0!==e.numId){var t=e.numId,r=s.getNumbering(t);if(void 0!==r){var n=s.getAbstractNumbering(r.abstractNumId);if(void 0!==n){var i=void 0!==e.listLevel?e.listLevel:0,t=String(t);if(void 0===(o=u.get(t))){for(var o=[0,0,0,0,0,0,0,0,0],a=0;a<9;a+=1)o[a]=ww(r,n.levels,a)-1;u.set(t,o)}for(a=i+1;a<9;a+=1)(function(e,t){e=e.find(function(e){return e.ilvl===t});if(void 0!==e)for(var r=e.getExtras(),n=0;n<r.length;n+=1){var i=r[n];if("lvlRestart"===i.localName)for(var o=0;o<i.attributes.length;o+=1){var a=i.attributes[o];if("val"===a.localName&&/^\d+$/.test(a.value))return parseInt(a.value,10)}}return t})(n.levels,a)<=i&&(o[a]=ww(r,n.levels,a)-1);o[i]=(void 0!==o[i]?o[i]:0)+1,e===l&&(c=function(e,t,r,n){var i=Pw(t,e,r);if(void 0===i)return"";var o=void 0!==i.numFmt?i.numFmt:"decimal";if("bullet"===o)return void 0!==i.lvlText?i.lvlText:"";if("none"===o)return"";for(var a=void 0!==i.lvlText?i.lvlText:"%"+String(r+1),l=!0===i.isLgl,s="",u=0;u<a.length;u+=1){var c=a.charAt(u);if("%"===c&&u+1<a.length){var d=a.charAt(u+1);if("1"<=d&&d<="9"){var d=parseInt(d,10)-1,h=void 0!==n[d]?n[d]:0,p=o;d!==r&&(d=Pw(t,e,d),p=void 0!==d&&void 0!==d.numFmt?d.numFmt:"decimal"),s+=function(e,t){e<0&&(e=0);switch(t){case"decimal":return String(e);case"decimalZero":return e<10?"0"+String(e):String(e);case"upperRoman":return Sw(e).toUpperCase();case"lowerRoman":return Sw(e).toLowerCase();case"upperLetter":return xw(e).toUpperCase();case"lowerLetter":return xw(e).toLowerCase();case"ordinal":return function(e){var t=e%100;if(11<=t&&t<=13)return String(e)+"th";switch(e%10){case 1:return String(e)+"st";case 2:return String(e)+"nd";case 3:return String(e)+"rd";default:return String(e)+"th"}}(e);case"ordinalText":return function(e){e=Vw(e);return"one"!==e?"two"!==e?"three"!==e?"five"!==e?"eight"!==e?"nine"!==e?"twelve"!==e?"y"!==e.charAt(e.length-1)?e+"th":e.substring(0,e.length-1)+"ieth":"twelfth":"ninth":"eighth":"fifth":"third":"second":"first"}(e);case"cardinalText":return Vw(e);case"bullet":case"none":return"";case"decimalEnclosedParen":return"("+String(e)+")";case"decimalEnclosedFullstop":return String(e)+".";case"decimalEnclosedCircle":case"decimalEnclosedCircleChinese":return function(e){if(1<=e&&e<=20)return String.fromCharCode(9312+e-1);return String(e)}(e);case"decimalFullWidth":return function(e){for(var t=String(e),r="",n=0;n<t.length;n+=1){var i=t.charCodeAt(n);r+=48<=i&&i<=57?String.fromCharCode(i-48+65296):t.charAt(n)}return r}(e);case"decimalHalfWidth":return String(e);case"hebrew1":case"hebrew2":return function(e){if(1<=e&&e<=10)return["","א","ב","ג","ד","ה","ו","ז","ח","ט","י"][e];return String(e)}(e);case"hindiNumbers":return function(e){for(var t=String(e),r="",n=0;n<t.length;n+=1){var i=t.charCodeAt(n);r+=48<=i&&i<=57?String.fromCharCode(i-48+2406):t.charAt(n)}return r}(e);case"hindiCounting":return Vw(e);case"hindiVowels":case"hindiConsonants":return xw(e).toLowerCase();case"chineseCounting":case"chineseCountingThousand":case"chineseLegalSimplified":case"japaneseCounting":case"japaneseDigitalTenThousand":case"japaneseLegal":case"koreanCounting":case"koreanDigital":case"koreanDigital2":case"koreanLegal":case"taiwaneseCounting":case"taiwaneseCountingThousand":case"taiwaneseDigital":case"ideographTraditional":case"ideographZodiac":case"ideographZodiacTraditional":case"ideographEnclosedCircle":return String(e);case"aiueo":case"aiueoFullWidth":return function(e){if(e<=0)return String(e);e=(e-1)%Tw.length;return Tw.charAt(e)}(e);case"iroha":case"irohaFullWidth":return function(e){if(e<=0)return String(e);e=(e-1)%kw.length;return kw.charAt(e)}(e);case"ganada":case"chosung":return xw(e).toLowerCase();default:return String(e)}}(h,p=l?"decimal":p),u+=1;continue}}s+=c}return s}(n.levels,r,i,o))}}}}),c)}function ww(e,t,r){var n=e.levelOverrides.find(function(e){return e.ilvl===r});return void 0!==n&&void 0!==n.startOverride?n.startOverride:void 0!==(n=Pw(e,t,r))&&void 0!==n.start?n.start:1}function Pw(e,t,r){var e=e.levelOverrides.find(function(e){return e.ilvl===r});return void 0!==e&&void 0!==e.level?e.level:void 0!==(e=t.find(function(e){return e.ilvl===r}))?e:0<t.length?t[0]:void 0}function Sw(e){if(e<=0)return String(e);for(var t=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],r=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"],n=e,i="",o=0;o<t.length;o+=1)for(;t[o]<=n;)i+=r[o],n-=t[o];return i}function xw(e){if(e<=0)return String(e);for(var t=e,r="";0<t;)--t,r=String.fromCharCode(97+t%26)+r,t=Math.floor(t/26);return r}Object.defineProperty(D.prototype,"listString",{get:function(){return bw(this)},configurable:!0});var Cw=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],Iw=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"];function Vw(e){var t,r;return e<0?String(e):e<20?Cw[e]:e<100?(t=Math.floor(e/10),0==(r=e%10)?Iw[t]:Iw[t]+"-"+Cw[r]):e<1e3?(t=Math.floor(e/100),0==(r=e%100)?Cw[t]+" hundred":Cw[t]+" hundred "+Vw(r)):String(e)}var Tw="あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん";var kw="いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす";var Fw=function(){return(Fw=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Dw=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ow=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Dw(arguments[t]));return e},Nw=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Aw=(Object.defineProperty(Ew.prototype,"ilvl",{get:function(){return this._ilvl},enumerable:!0,configurable:!0}),Object.defineProperty(Ew.prototype,"startOverride",{get:function(){return this._startOverride},enumerable:!0,configurable:!0}),Ew.prototype.setStartOverride=function(e){this._startOverride=e},Object.defineProperty(Ew.prototype,"level",{get:function(){return this._level},enumerable:!0,configurable:!0}),Ew.prototype.toOpenXml=function(){var e=[];return void 0!==this._startOverride&&e.push(b("startOverride",{attributes:[y("val",String(this._startOverride))]})),void 0!==this._level&&e.push(this._level.toOpenXml()),e.push.apply(e,Ow(this.extras)),b("lvlOverride",{attributes:Ow([y("ilvl",String(this._ilvl))],this.extraAttributes),children:e})},Ew);function Ew(e){this._ilvl=e.ilvl,this._startOverride=e.startOverride,this._level=e.level,this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[],this.extras=null!=e.extras?e.extras:[]}Object.defineProperty(Rw.prototype,"numId",{get:function(){return this._numId},enumerable:!0,configurable:!0}),Object.defineProperty(Rw.prototype,"abstractNumId",{get:function(){return this._abstractNumId},enumerable:!0,configurable:!0}),Object.defineProperty(Rw.prototype,"levelOverrides",{get:function(){return this._levelOverrides},enumerable:!0,configurable:!0}),Rw.prototype.setStartOverride=function(t,e){var r=this._levelOverrides.find(function(e){return e.ilvl===t});void 0!==r?r.setStartOverride(e):this._levelOverrides.push(new Aw({ilvl:t,startOverride:e}))},Rw.prototype.toOpenXml=function(){var t,e,r=Ow(this.prefixExtras,[b("abstractNumId",{attributes:[y("val",String(this._abstractNumId))]})]);try{for(var n=Nw(this._levelOverrides),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o.toOpenXml())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r.push.apply(r,Ow(this.suffixExtras)),b("num",{attributes:Ow([y("numId",String(this._numId))],this.extraAttributes),children:r})};var Lw=Rw;function Rw(e){this._numId=e.numId,this._abstractNumId=e.abstractNumId,this._levelOverrides=null!=e.levelOverrides?Ow(e.levelOverrides):[],this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[],this.prefixExtras=null!=e.prefixExtras?e.prefixExtras:[],this.suffixExtras=null!=e.suffixExtras?e.suffixExtras:[]}function Bw(e){var t;if(te(e,"lvlOverride")){var r=Mw(e,"ilvl");if(void 0!==r){var n,i,o=[];try{for(var a=Nw(re(e)),l=a.next();!l.done;l=a.next()){var s=l.value;if(te(s,"startOverride")&&void 0===n){var u=z(s);if(void 0!==u&&/^-?\d+$/.test(u)){n=Number.parseInt(u,10);continue}}te(s,"lvl")&&void 0===i&&void 0!==(i=iw(s))||o.push(s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(c=a.return)&&c.call(a)}finally{if(t)throw t.error}}var c=e.attributes.filter(function(e){return!("ilvl"===e.localName&&e.namespaceUri===he)});return new Aw(Fw({ilvl:r},void 0!==n?{startOverride:n}:{},void 0!==i?{level:i}:{},{extraAttributes:c,extras:o}))}}}function _w(e){var t;if(te(e,"num")){var r=Mw(e,"numId");if(void 0!==r){var n,i=[],o=[],a=[],l=0,s=!1;try{for(var u=Nw(re(e)),c=u.next();!c.done;c=u.next()){var d,h=c.value;if(te(h,"abstractNumId")&&!s){var p=z(h);if(void 0!==p&&/^-?\d+$/.test(p)){l=Number.parseInt(p,10),s=!0;continue}}te(h,"lvlOverride")?void 0!==(d=Bw(h))&&a.push(d):(s?o:i).push(h)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}if(s)return n=e.attributes.filter(function(e){return!("numId"===e.localName&&e.namespaceUri===he)}),new Lw({numId:r,abstractNumId:l,levelOverrides:a,extraAttributes:n,prefixExtras:i,suffixExtras:o})}}}function jw(e,t){return new Lw({numId:e,abstractNumId:t})}function Mw(e,t){e=e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===he});if(void 0!==(null==e?void 0:e.value)&&/^-?\d+$/.test(e.value))return Number.parseInt(e.value,10)}var zw=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Uw=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(zw(arguments[t]));return e},Hw=(Object.defineProperty(Ww.prototype,"numPicBulletId",{get:function(){return this._numPicBulletId},enumerable:!0,configurable:!0}),Ww.prototype.toOpenXml=function(){return b("numPicBullet",{attributes:Uw([y("numPicBulletId",String(this._numPicBulletId))],this.extraAttributes),children:this.children})},Ww);function Ww(e){this._numPicBulletId=e.numPicBulletId,this.children=null!=e.children?e.children:[],this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[]}function Gw(e){if(te(e,"numPicBullet")){var t,r=function(e,t){e=e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===he});if(void 0!==(null==e?void 0:e.value)&&/^-?\d+$/.test(e.value))return Number.parseInt(e.value,10)}(e,"numPicBulletId");if(void 0!==r)return t=e.attributes.filter(function(e){return!("numPicBulletId"===e.localName&&e.namespaceUri===he)}),new Hw({numPicBulletId:r,children:Uw(e.children),extraAttributes:t})}}var qw=function(){return(qw=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Xw=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Yw=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Xw(arguments[t]));return e},Zw=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Kw=(Uu(function(e){return new FP(e)}),Er("numbering")),Jw="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",$w="http://purl.oclc.org/ooxml/officeDocument/relationships/numbering",Qw="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml",eP=Lt("/word/numbering.xml"),tP=new TextEncoder,rP=(Object.defineProperty(nP.prototype,"pictureBullets",{get:function(){return this.pictureBulletList},enumerable:!0,configurable:!0}),Object.defineProperty(nP.prototype,"abstractNumberings",{get:function(){return this.abstractNumberingList},enumerable:!0,configurable:!0}),Object.defineProperty(nP.prototype,"numberings",{get:function(){return this.numberingList},enumerable:!0,configurable:!0}),Object.defineProperty(nP.prototype,"numIdMacAtCleanup",{get:function(){return this.numIdMacAtCleanupValue},enumerable:!0,configurable:!0}),nP.prototype.getAbstractNumbering=function(e){return this.abstractById.get(e)},nP.prototype.getNumbering=function(e){return this.numberingById.get(e)},nP.prototype.getPictureBullet=function(e){return this.pictureById.get(e)},nP.prototype.hasInstance=function(e){return this.numberingById.has(e)||this.pendingNumIds.has(e)},nP.prototype.ensureInstance=function(e,t){if(void 0===t&&(t="bullet"),e<1)throw new J("content/invalid-num-id","Numbering instance id must be at least 1");var r,n;this.numberingById.has(e)||(t=gw(r=this.nextAbstractNumId(),t),n=jw(e,r),this.abstractNumberingList.push(t),this.abstractById.set(r,t),this.numberingList.push(n),this.numberingById.set(e,n),this.dirty=!0)},nP.prototype.createBulletInstance=function(){var e=this.nextNumId();return this.pendingNumIds.add(e),e},nP.prototype.createDecimalInstance=function(){var e=this.nextNumId();return this.pendingDecimalNumIds.add(e),this.pendingNumIds.add(e),e},nP.prototype.registerAbstract=function(e){if(this.abstractById.has(e.abstractNumId))throw new J("content/invalid-num-id","Abstract numbering id "+String(e.abstractNumId)+" already exists");this.abstractNumberingList.push(e),this.abstractById.set(e.abstractNumId,e),this.dirty=!0},nP.prototype.allocateAbstractNumId=function(){return this.nextAbstractNumId()},nP.prototype.createInstanceFromAbstract=function(e,t){var r,n;if(this.abstractById.has(e))return n=jw(r=this.nextNumId(),e),void 0!==t&&n.setStartOverride(0,t),this.numberingList.push(n),this.numberingById.set(r,n),this.dirty=!0,r;throw new J("content/invalid-num-id","Abstract numbering id "+String(e)+" is not defined")},nP.prototype.markDirty=function(){this.dirty=!0},nP.prototype.registerPendingInstance=function(e,t){void 0===t&&(t="bullet"),this.numberingById.has(e)||(this.pendingNumIds.add(e),"decimal"===t&&this.pendingDecimalNumIds.add(e))},nP.prototype.isPendingDecimal=function(e){return this.pendingDecimalNumIds.has(e)},nP.prototype.materializePending=function(e){var t,r,n=this,i=[],o=new Set;Mn(e,function(e){e=e.numId;void 0===e||e<1||n.numberingById.has(e)||o.has(e)||(o.add(e),i.push(e))});try{for(var a=Zw(i),l=a.next();!l.done;l=a.next()){var s=l.value,u=this.pendingDecimalNumIds.has(s)?"decimal":"bullet";this.ensureInstance(s,u),this.pendingNumIds.delete(s),this.pendingDecimalNumIds.delete(s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},nP.prototype.isDirty=function(){return this.dirty},nP.prototype.serialize=function(){var t,r,e,n,i,o=Yw(this.rootPrefix);try{for(var a=Zw(this.pictureBulletList),l=a.next();!l.done;l=a.next()){var s=l.value;o.push(s.toOpenXml())}}catch(e){t={error:e}}finally{try{l&&!l.done&&(v=a.return)&&v.call(a)}finally{if(t)throw t.error}}try{for(var u=Zw(this.abstractNumberingList),c=u.next();!c.done;c=u.next()){var d=c.value;o.push(d.toOpenXml())}}catch(e){r={error:e}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(r)throw r.error}}try{for(var h=Zw(this.numberingList),p=h.next();!p.done;p=h.next()){var f=p.value;o.push(f.toOpenXml())}}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}void 0!==this.numIdMacAtCleanupValue&&o.push(b("numIdMacAtCleanup",{attributes:[y("val",String(this.numIdMacAtCleanupValue))]})),o.push.apply(o,Yw(this.rootSuffix));var v=b("numbering",{namespaceDeclarations:[{prefix:"w",namespaceUri:he}],children:o});return tP.encode(Fe(v))},nP.prototype.nextNumId=function(){var t,e,r,n,i=0;try{for(var o=Zw(this.numberingById.keys()),a=o.next();!a.done;a=o.next())i<(l=a.value)&&(i=l)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}try{for(var l,s=Zw(this.pendingNumIds),u=s.next();!u.done;u=s.next())i<(l=u.value)&&(i=l)}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return i+1},nP.prototype.nextAbstractNumId=function(){var t,e,r=-1;try{for(var n=Zw(this.abstractById.keys()),i=n.next();!i.done;i=n.next()){var o=i.value;r<o&&(r=o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r+1},nP);function nP(e){var t,r,n,i,o,a;this.rootPrefix=Yw(null!=e.rootPrefix?e.rootPrefix:[]),this.rootSuffix=Yw(null!=e.rootSuffix?e.rootSuffix:[]),this.pictureBulletList=Yw(null!=e.pictureBullets?e.pictureBullets:[]),this.abstractNumberingList=Yw(null!=e.abstractNumberings?e.abstractNumberings:[]),this.numberingList=Yw(null!=e.numberings?e.numberings:[]),this.abstractById=new Map,this.numberingById=new Map,this.pictureById=new Map;try{for(var l=Zw(this.pictureBulletList),s=l.next();!s.done;s=l.next()){var u=s.value;this.pictureById.set(u.numPicBulletId,u)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}try{for(var c=Zw(this.abstractNumberingList),d=c.next();!d.done;d=c.next()){var h=d.value;this.abstractById.set(h.abstractNumId,h)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}try{for(var p=Zw(this.numberingList),f=p.next();!f.done;f=p.next()){var v=f.value;this.numberingById.set(v.numId,v)}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}this.numIdMacAtCleanupValue=e.numIdMacAtCleanup,this.pendingNumIds=new Set,this.pendingDecimalNumIds=new Set,this.dirty=e.dirty}function iP(e){return void 0!==e&&te(e=Ce(xe(e.data)),"numbering")?(e=function(e){var t,r,n,i,o=[],a=[],l=[],s=[],u=[],c=!1;try{for(var d=Zw(re(e)),h=d.next();!h.done;h=d.next()){var p,f,v,m=h.value;te(m,"numPicBullet")?void 0!==(p=Gw(m))?(l.push(p),c=!0):(c||0!==s.length||0!==u.length?a:o).push(m):te(m,"abstractNum")?(c=!0,void 0!==(f=yw(m))?s.push(f):a.push(m)):te(m,"num")?(c=!0,void 0!==(f=_w(m))?u.push(f):a.push(m)):te(m,"numIdMacAtCleanup")?(c=!0,void 0!==(v=null==(n=m.attributes.find(function(e){return"val"===e.localName&&e.namespaceUri===he}))?void 0:n.value)&&/^-?\d+$/.test(v)&&void 0===i?i=Number.parseInt(v,10):a.push(m)):(c||0!==s.length||0!==u.length?a:o).push(m)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return{rootPrefix:o,rootSuffix:a,pictureBullets:l,abstractNumberings:s,numberings:u,numIdMacAtCleanup:i}}(e),new rP(qw({rootPrefix:e.rootPrefix,rootSuffix:e.rootSuffix,pictureBullets:e.pictureBullets,abstractNumberings:e.abstractNumberings,numberings:e.numberings},void 0!==e.numIdMacAtCleanup?{numIdMacAtCleanup:e.numIdMacAtCleanup}:{},{dirty:!1}))):new rP({dirty:!1})}var oP=!1;function aP(){oP||(oP=!0,Rr({id:Kw}),Yr({featureId:Kw,relationshipTypes:[Jw,$w],defaultRelativeTarget:"numbering.xml",partName:eP,contentType:Qw,loadPart:iP}),_n({featureId:Kw,materialize:function(e){var t=e.featurePart(Kw);t instanceof rP&&t.materializePending(e)}}))}function lP(e){var t=e.featurePart(Kw);if(t instanceof rP)return t;if(Br(Kw)&&void 0===t)return t=new rP({dirty:!1}),e.setFeaturePart(Kw,t),t;throw new J("feature/not-registered","Numbering part was not loaded; call registerNumberingFeature() before WordDocument.open")}function sP(e){return lP(e)}Object.defineProperty(D.prototype,"numbering",{set:function(e){var t,r,n;t=this,void 0===(e=e)?(t.numId=void 0,t.listLevel=void 0):(r=lP(t.owningDocument()),n=null!=e.level?e.level:0,e=e.numId,void 0===r.getNumbering(e)?r.hasInstance(e)?r.registerPendingInstance(e,"bullet"):r.ensureInstance(e,"bullet"):r.registerPendingInstance(e),t.numId=e,t.listLevel=n)}}),ui(function(){aP()}),aP(),(l=M.ListType||(M.ListType={})).Bulleted="bulleted",l.Numbered="numbered",(l=M.ListPatternType||(M.ListPatternType={})).Arabic="arabic",l.LeadingZero="leadingZero",l.Letter="letter",l.LetterLow="letterLow",l.Roman="roman",l.RomanLow="romanLow",l.Ordinal="ordinal",l.OrdinalText="ordinalText",l.CardinalText="cardinalText",l.Bullet="bullet",l.NoNumber="noNumber",l.FarEast="farEast",l.Special="special",l.Hebrew1="hebrew1",l.Hebrew2="hebrew2",l.HindiArabic="hindiArabic",l.HindiCardinalText="hindiCardinalText",l.HindiLetter1="hindiLetter1",l.HindiLetter2="hindiLetter2",l.ChineseCounting="chineseCounting",l.ChineseCountingThousand="chineseCountingThousand",l.ChineseLegalSimplified="chineseLegalSimplified",l.JapaneseCounting="japaneseCounting",l.JapaneseDigitalTenThousand="japaneseDigitalTenThousand",l.JapaneseLegal="japaneseLegal",l.KoreanCounting="koreanCounting",l.KoreanDigital="koreanDigital",l.KoreanDigital2="koreanDigital2",l.KoreanLegal="koreanLegal",l.Aiueo="aiueo",l.AiueoFullWidth="aiueoFullWidth",l.Iroha="iroha",l.IrohaFullWidth="irohaFullWidth",l.Ganada="ganada",l.Chosung="chosung",l.DecimalEnclosedCircle="decimalEnclosedCircle",l.DecimalFullWidth="decimalFullWidth",l.DecimalHalfWidth="decimalHalfWidth",l.DecimalEnclosedFullstop="decimalEnclosedFullstop",l.DecimalEnclosedParen="decimalEnclosedParen",l.DecimalEnclosedCircleChinese="decimalEnclosedCircleChinese",l.IdeographEnclosedCircle="ideographEnclosedCircle",l.IdeographTraditional="ideographTraditional",l.IdeographZodiac="ideographZodiac",l.IdeographZodiacTraditional="ideographZodiacTraditional",l.TaiwaneseCounting="taiwaneseCounting",l.TaiwaneseCountingThousand="taiwaneseCountingThousand",l.TaiwaneseDigital="taiwaneseDigital",l.None="none",l.Custom="custom",(l=M.FollowCharacterType||(M.FollowCharacterType={})).Tab="tab",l.Space="space",l.Nothing="nothing",(l=M.ListNumberAlignment||(M.ListNumberAlignment={})).Left="left",l.Center="center",l.Right="right";var uP={arabic:"decimal",leadingZero:"decimalZero",letter:"upperLetter",letterLow:"lowerLetter",roman:"upperRoman",romanLow:"lowerRoman",ordinal:"ordinal",ordinalText:"ordinalText",cardinalText:"cardinalText",bullet:"bullet",noNumber:"none",none:"none",hebrew1:"hebrew1",hebrew2:"hebrew2",hindiArabic:"hindiNumbers",hindiCardinalText:"hindiCounting",hindiLetter1:"hindiVowels",hindiLetter2:"hindiConsonants",chineseCounting:"chineseCounting",chineseCountingThousand:"chineseCountingThousand",chineseLegalSimplified:"chineseLegalSimplified",japaneseCounting:"japaneseCounting",japaneseDigitalTenThousand:"japaneseDigitalTenThousand",japaneseLegal:"japaneseLegal",koreanCounting:"koreanCounting",koreanDigital:"koreanDigital",koreanDigital2:"koreanDigital2",koreanLegal:"koreanLegal",aiueo:"aiueo",aiueoFullWidth:"aiueoFullWidth",iroha:"iroha",irohaFullWidth:"irohaFullWidth",ganada:"ganada",chosung:"chosung",decimalEnclosedCircle:"decimalEnclosedCircle",decimalFullWidth:"decimalFullWidth",decimalHalfWidth:"decimalHalfWidth",decimalEnclosedFullstop:"decimalEnclosedFullstop",decimalEnclosedParen:"decimalEnclosedParen",decimalEnclosedCircleChinese:"decimalEnclosedCircleChinese",ideographEnclosedCircle:"ideographEnclosedCircle",ideographTraditional:"ideographTraditional",ideographZodiac:"ideographZodiac",ideographZodiacTraditional:"ideographZodiacTraditional",taiwaneseCounting:"taiwaneseCounting",taiwaneseCountingThousand:"taiwaneseCountingThousand",taiwaneseDigital:"taiwaneseDigital",farEast:"ideographTraditional",special:"bullet",custom:"decimal"},cP={decimal:M.ListPatternType.Arabic,decimalZero:M.ListPatternType.LeadingZero,upperLetter:M.ListPatternType.Letter,lowerLetter:M.ListPatternType.LetterLow,upperRoman:M.ListPatternType.Roman,lowerRoman:M.ListPatternType.RomanLow,ordinal:M.ListPatternType.Ordinal,ordinalText:M.ListPatternType.OrdinalText,cardinalText:M.ListPatternType.CardinalText,bullet:M.ListPatternType.Bullet,none:M.ListPatternType.None,hebrew1:M.ListPatternType.Hebrew1,hebrew2:M.ListPatternType.Hebrew2,hindiNumbers:M.ListPatternType.HindiArabic,hindiCounting:M.ListPatternType.HindiCardinalText,hindiVowels:M.ListPatternType.HindiLetter1,hindiConsonants:M.ListPatternType.HindiLetter2,chineseCounting:M.ListPatternType.ChineseCounting,chineseCountingThousand:M.ListPatternType.ChineseCountingThousand,chineseLegalSimplified:M.ListPatternType.ChineseLegalSimplified,japaneseCounting:M.ListPatternType.JapaneseCounting,japaneseDigitalTenThousand:M.ListPatternType.JapaneseDigitalTenThousand,japaneseLegal:M.ListPatternType.JapaneseLegal,koreanCounting:M.ListPatternType.KoreanCounting,koreanDigital:M.ListPatternType.KoreanDigital,koreanDigital2:M.ListPatternType.KoreanDigital2,koreanLegal:M.ListPatternType.KoreanLegal,aiueo:M.ListPatternType.Aiueo,aiueoFullWidth:M.ListPatternType.AiueoFullWidth,iroha:M.ListPatternType.Iroha,irohaFullWidth:M.ListPatternType.IrohaFullWidth,ganada:M.ListPatternType.Ganada,chosung:M.ListPatternType.Chosung,decimalEnclosedCircle:M.ListPatternType.DecimalEnclosedCircle,decimalFullWidth:M.ListPatternType.DecimalFullWidth,decimalHalfWidth:M.ListPatternType.DecimalHalfWidth,decimalEnclosedFullstop:M.ListPatternType.DecimalEnclosedFullstop,decimalEnclosedParen:M.ListPatternType.DecimalEnclosedParen,decimalEnclosedCircleChinese:M.ListPatternType.DecimalEnclosedCircleChinese,ideographEnclosedCircle:M.ListPatternType.IdeographEnclosedCircle,ideographTraditional:M.ListPatternType.IdeographTraditional,ideographZodiac:M.ListPatternType.IdeographZodiac,ideographZodiacTraditional:M.ListPatternType.IdeographZodiacTraditional,taiwaneseCounting:M.ListPatternType.TaiwaneseCounting,taiwaneseCountingThousand:M.ListPatternType.TaiwaneseCountingThousand,taiwaneseDigital:M.ListPatternType.TaiwaneseDigital};function dP(e,t){if("number"!=typeof t||!Number.isFinite(t))throw new ne(e+" must be a finite number")}function hP(e,t){if(void 0!==e)for(var r=0;r<e.attributes.length;r+=1){var n=e.attributes[r];if(void 0!==n&&n.localName===t)return n=parseInt(n.value,10),Number.isFinite(n)?n:void 0}}function pP(e,t,r){for(var n=e.attributes.slice(),i=!1,o=0;o<n.length;o+=1){var a=n[o];if(void 0!==a&&a.localName===t){n[o]=y(t,String(r)),i=!0;break}}return i||n.push(y(t,String(r))),b(e.localName,{attributes:n,children:e.children.slice()})}function fP(e){if(void 0===e)return b("pPr",{children:[b("ind",{attributes:[]})]});for(var t=re(e).slice(),r=!1,n=0;n<t.length;n+=1)if(te(t[n],"ind")){r=!0;break}return r||t.push(b("ind",{attributes:[]})),b("pPr",{attributes:e.attributes.slice(),children:t})}function vP(e){if(void 0!==e)for(var t=re(e),r=0;r<t.length;r+=1)if(te(t[r],"ind"))return t[r]}function mP(e,t){for(var r=re(e).slice(),n=!1,i=0;i<r.length;i+=1)if(te(r[i],"ind")){r[i]=t,n=!0;break}return n||r.push(t),b("pPr",{attributes:e.attributes.slice(),children:r})}function yP(e,t){if(void 0===e||0===e.length)return{prefix:"",body:"",suffix:""};if(void 0!==t&&0<=t&&t<=8){var t="%"+String(t+1),r=e.indexOf(t);if(0<=r)return{prefix:e.substring(0,r),body:t,suffix:e.substring(r+t.length)}}return null===(r=/%([1-9])/.exec(e))||void 0===r.index?{prefix:"",body:e,suffix:""}:(r=(t=r.index)+r[0].length,{prefix:e.substring(0,t),body:e.substring(t,r),suffix:e.substring(r)})}function gP(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);t+=0<=n&&n<=8?"%"+String(n+1):e.charAt(r)}return t}function bP(e){for(var t="",r=0;r<e.length;){if("%"===e.charAt(r)&&r+1<e.length){var n=e.charAt(r+1);if("1"<=n&&n<="9"){t+=String.fromCharCode(n.charCodeAt(0)-"1".charCodeAt(0)),r+=2;continue}}t+=e.charAt(r),r+=1}return t}Object.defineProperty(PP.prototype,"listStyle",{get:function(){return this.owner},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"levelNumber",{get:function(){return this.level.ilvl},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"patternType",{get:function(){return void 0===(e=this.level.numFmt)||0===e.length?M.ListPatternType.Arabic:void 0!==(e=cP[e])?e:M.ListPatternType.Custom;var e},set:function(e){if("string"!=typeof e||!function(e){for(var t in M.ListPatternType)if(Object.prototype.hasOwnProperty.call(M.ListPatternType,t)&&M.ListPatternType[t]===e)return 1}(e))throw new ne("patternType must be a ListPatternType value");var t;this.level.setNumFmt(void 0!==(t=uP[t=e])?t:"decimal"),e===M.ListPatternType.Bullet?(void 0===(t=this.level.lvlText)||0<=t.indexOf("%"))&&this.level.setLvlText(""):e!==M.ListPatternType.NoNumber&&e!==M.ListPatternType.None&&(0===(t=yP(this.level.lvlText,this.level.ilvl)).body.length||t.body.indexOf("%")<0)&&(e="%"+String(this.level.ilvl+1),this.level.setLvlText(t.prefix+e+(0<t.suffix.length?t.suffix:"."))),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"startAt",{get:function(){var e=this.level.start;return void 0!==e?e:1},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e||e<0)throw new ne("startAt must be a non-negative integer");this.level.setStart(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"levelText",{get:function(){var e=this.level.lvlText;return void 0!==e?e:""},set:function(e){if("string"!=typeof e)throw new ne("levelText must be a string");this.level.setLvlText(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"numberPrefix",{get:function(){return bP(yP(this.level.lvlText,this.level.ilvl).prefix)},set:function(e){if("string"!=typeof e)throw new ne("numberPrefix must be a string");var t=yP(this.level.lvlText,this.level.ilvl),r=t.body,e=((0===r.length||r.indexOf("%")<0)&&(r="bullet"===this.level.numFmt?"":"%"+String(this.level.ilvl+1)),gP(e));this.level.setLvlText(e+r+t.suffix),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"numberSuffix",{get:function(){return bP(yP(this.level.lvlText,this.level.ilvl).suffix)},set:function(e){if("string"!=typeof e)throw new ne("numberSuffix must be a string");var t=yP(this.level.lvlText,this.level.ilvl),r=t.body,e=((0===r.length||r.indexOf("%")<0)&&(r="bullet"===this.level.numFmt?"":"%"+String(this.level.ilvl+1)),gP(e));this.level.setLvlText(t.prefix+r+e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"bulletCharacter",{get:function(){var e;return"bullet"===this.level.numFmt&&void 0!==(e=this.level.lvlText)?e:""},set:function(e){if("string"!=typeof e)throw new ne("bulletCharacter must be a string");this.level.setNumFmt("bullet"),this.level.setLvlText(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"followCharacter",{get:function(){var e=this.level.findExtra("suff"),e=void 0!==e?z(e):void 0;return"space"===e?M.FollowCharacterType.Space:"nothing"===e?M.FollowCharacterType.Nothing:M.FollowCharacterType.Tab},set:function(e){if("string"!=typeof e||(t=e)!==M.FollowCharacterType.Tab&&t!==M.FollowCharacterType.Space&&t!==M.FollowCharacterType.Nothing)throw new ne("followCharacter must be a FollowCharacterType value");var t="tab";e===M.FollowCharacterType.Space?t="space":e===M.FollowCharacterType.Nothing&&(t="nothing"),this.level.setExtraElement("suff",b("suff",{attributes:[y("val",t)]})),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"numberAlignment",{get:function(){var e=this.level.lvlJc;return"center"===e?M.ListNumberAlignment.Center:"right"===e?M.ListNumberAlignment.Right:M.ListNumberAlignment.Left},set:function(e){if("string"!=typeof e||(t=e)!==M.ListNumberAlignment.Left&&t!==M.ListNumberAlignment.Center&&t!==M.ListNumberAlignment.Right)throw new ne("numberAlignment must be a ListNumberAlignment value");var t;this.level.setLvlJc(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"tabSpaceAfter",{get:function(){var e=this.level.findExtra("pPr");if(void 0!==e)for(var t=re(e),r=0;r<t.length;r+=1){var n=t[r];if(te(n,"tabs"))for(var i=re(n),o=0;o<i.length;o+=1){var a=i[o];if(te(a,"tab")){a=hP(a,"pos");if(void 0!==a)return H(a)}}}return 0},set:function(e){var t="tabSpaceAfter",r=e;if(dP(t,r),r<0)throw new ne(t+" must be a non-negative number of points");r=U(e),t=this.level.findExtra("pPr"),e=re(t=void 0===t?b("pPr",{children:[]}):t).slice().filter(function(e){return!te(e,"tabs")});e.push(b("tabs",{children:[b("tab",{attributes:[y("val","left"),y("pos",String(r))]})]})),this.level.setExtraElement("pPr",b("pPr",{attributes:t.attributes.slice(),children:e})),this.suppressDirty=!0;try{this.paragraphFormatValue.hydrate(K0(this.level.findExtra("pPr")))}finally{this.suppressDirty=!1}this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"numberPosition",{get:function(){var e=vP(this.level.findExtra("pPr")),t=hP(e,"left"),e=hP(e,"hanging");return void 0===t?0:H(t-(void 0!==e?e:0))},set:function(e){dP("numberPosition",e);var e=U(e),t=vP(n=fP(this.level.findExtra("pPr"))),r=hP(t,"hanging"),n=mP(n,pP(t,"left",e+(void 0!==r?r:0)));this.level.setExtraElement("pPr",n),this.suppressDirty=!0;try{this.paragraphFormatValue.hydrate(K0(n))}finally{this.suppressDirty=!1}this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"textPosition",{get:function(){var e=hP(vP(this.level.findExtra("pPr")),"left");return void 0!==e?H(e):0},set:function(e){dP("textPosition",e);var e=U(e),t=fP(this.level.findExtra("pPr")),r=vP(t),n=e-U(this.numberPosition);n<0&&(n=0),r=pP(r,"left",e),t=mP(t,pP(r,"hanging",n)),this.level.setExtraElement("pPr",t),this.suppressDirty=!0;try{this.paragraphFormatValue.hydrate(K0(t))}finally{this.suppressDirty=!1}this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"restartLevel",{get:function(){var e=this.level.findExtra("lvlRestart"),e=void 0!==e?z(e):void 0;return void 0!==e&&/^\d+$/.test(e)?parseInt(e,10):this.level.ilvl},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e||e<0||8<e)throw new ne("restartLevel must be an integer from 0 through 8");this.level.setExtraElement("lvlRestart",b("lvlRestart",{attributes:[y("val",String(e))]})),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"isLegalStyleNumbering",{get:function(){return!0===this.level.isLgl},set:function(e){if("boolean"!=typeof e)throw new ne("isLegalStyleNumbering must be a boolean");this.level.setIsLgl(!!e||void 0),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"linkedParagraphStyleName",{get:function(){var e=this.level.findExtra("pStyle"),e=void 0!==e?z(e):void 0;return void 0!==e?e:""},set:function(e){if("string"!=typeof e)throw new ne("linkedParagraphStyleName must be a string");e=e.trim();0===e.length?this.level.setExtraElement("pStyle",void 0):this.level.setExtraElement("pStyle",b("pStyle",{attributes:[y("val",e)]})),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"characterFormat",{get:function(){return this.characterFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(PP.prototype,"paragraphFormat",{get:function(){return this.paragraphFormatValue},enumerable:!0,configurable:!0}),PP.prototype.notifyCharacterFormatMutation=function(){var e,t;this.suppressDirty||(e=[],void 0!==(t=this.characterFormatValue.buildRPrChildren?this.characterFormatValue.buildRPrChildren():void 0)?e=t:void 0!==(this.characterFormatValue.snapshot?this.characterFormatValue.snapshot():void 0)&&(e="function"!=typeof(t=this.characterFormatValue).buildRPrChildren?"function"!=typeof t.snapshot||"function"!=typeof t.constructor.buildRPrChildrenFromSnapshot?[]:t.constructor.buildRPrChildrenFromSnapshot(t.snapshot()):t.buildRPrChildren()),0===e.length?this.level.setExtraElement("rPr",void 0):this.level.setExtraElement("rPr",b("rPr",{children:e})),this.markDirty())},PP.prototype.notifyParagraphFormatMutation=function(){var e;this.suppressDirty||(0===(e=this.paragraphFormatValue.buildPPrChildren()).length?this.level.setExtraElement("pPr",void 0):this.level.setExtraElement("pPr",b("pPr",{children:e})),this.markDirty())},PP.prototype.hydrateFormatsFromLevel=function(){this.suppressDirty=!0;try{var e=this.level.findExtra("rPr"),t=(this.characterFormatValue.hydrate(void 0!==e?Z0(e):ta(b("rPr"))),this.level.findExtra("pPr"));this.paragraphFormatValue.hydrate(void 0!==t?K0(t):Jl())}finally{this.suppressDirty=!1}},PP.prototype.markDirty=function(){this.owner.markNumberingDirty()};var wP=PP;function PP(e,t){this.owner=e,this.level=t,this.suppressDirty=!1,this.characterFormatValue=new sa(this),this.paragraphFormatValue=new ys(this),this.hydrateFormatsFromLevel()}Object.defineProperty(xP.prototype,"count",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),xP.prototype.getItem=function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e||e<0||8<e)throw new ne("level index must be an integer from 0 through 8");var t=this.items[e];if(void 0===t)throw new J("content/invalid-num-id","List level "+String(e)+" is not defined");return t};var SP=xP;function xP(e){this.items=e}Object.defineProperty(IP.prototype,"name",{get:function(){return this.displayName},enumerable:!0,configurable:!0}),Object.defineProperty(IP.prototype,"listType",{get:function(){return this.listTypeValue},enumerable:!0,configurable:!0}),Object.defineProperty(IP.prototype,"levels",{get:function(){return this.levelsValue},enumerable:!0,configurable:!0}),Object.defineProperty(IP.prototype,"styleId",{get:function(){return this.styleIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(IP.prototype,"abstractId",{get:function(){return this.abstractNumId},enumerable:!0,configurable:!0}),IP.prototype.markNumberingDirty=function(){sP(this.document).markDirty()};var CP=IP;function IP(e){this.document=e.document,this.styleIdValue=e.styleId,this.displayName=e.displayName,this.listTypeValue=e.listType,this.abstractNumId=e.abstractNumId,this.levelsValue=new SP(e.levels)}var VP=new WeakMap;function TP(e,t,r){if("string"!=typeof t||(n=t)!==M.ListType.Bulleted&&n!==M.ListType.Numbered)throw new ne("listType must be ListType.Bulleted or ListType.Numbered");if("string"!=typeof r||0===r.trim().length)throw new ne("styleName must be a non-empty string");var n=r.trim(),r=GP(e);if(void 0!==r.findByName(n)||void 0!==r.getStyle(n))throw new J("styles/duplicate-style",'A style named "'+n+'" already exists');var i=function(e){for(var t="",r=0;r<e.length;r+=1){var n=e.charAt(r),i=e.charCodeAt(r),o=48<=i&&i<=57;(65<=i&&i<=90||97<=i&&i<=122||127<i||o)&&(t+=n)}return t}(n);if(0===i.length&&(i="ListStyle"),void 0!==r.getStyle(i))throw new J("styles/duplicate-style",'A style with id "'+i+'" already exists');var o=sP(e),a=o.allocateAbstractNumId(),l=gw(a,t===M.ListType.Bulleted?"bullet":"decimal"),o=(l.setName(n),l.setStyleLink(i),o.registerAbstract(l),new Uy(i,"numbering",void 0,!0,[b("name",{attributes:[y("val",n)]})]));if(r.addStyle(o),void 0===r.getStyle(i))throw new J("styles/undefined-style",'Failed to register list style "'+n+'"');for(var s=[],u=new CP({document:e,styleId:i,displayName:n,listType:t,abstractNumId:a,levels:s}),c=0;c<l.levels.length;c+=1){var d=l.levels[c];s.push(new wP(u,d))}return u.levelsValue=new SP(s),VP.set(l,u),u}Object.defineProperty(Cd.prototype,"addListStyle",{value:function(e,t){return TP(this,e,t)},writable:!0,configurable:!0});var kP;Object.defineProperty(DP.prototype,"ownerParagraph",{get:function(){return this.paragraph},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"listId",{get:function(){return this.paragraph.numId},set:function(e){if(void 0===e)this.removeList();else{if("number"!=typeof e||!Number.isFinite(e)||e<1||Math.floor(e)!==e)throw new ne("listId must be a positive integer");var t=this.catalog(),r=t.getNumbering(e);if(void 0===r&&!t.hasInstance(e))throw new J("content/invalid-num-id","Numbering instance "+String(e)+" is not defined in this document");t.registerPendingInstance(e),this.paragraph.numId=e,void 0===this.paragraph.listLevel&&(this.paragraph.listLevel=0)}},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"listLevelNumber",{get:function(){return this.paragraph.listLevel},set:function(e){if(void 0===e){if(void 0===this.paragraph.numId)return void(this.paragraph.listLevel=void 0);throw new ne("listLevelNumber cannot be cleared while the paragraph remains in a list")}this.assertLevel(e),this.assertLevelExistsOnAbstract(e),this.paragraph.listLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"isList",{get:function(){return void 0!==this.paragraph.numId},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"listType",{get:function(){var e=this.numberFormat;if(void 0!==e)return"bullet"===e?M.ListType.Bulleted:M.ListType.Numbered},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"numberFormat",{get:function(){var e=this.resolvedListLevel;return void 0===e?void 0:e.numFmt},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"levelText",{get:function(){var e=this.resolvedListLevel;return void 0===e?void 0:e.lvlText},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"listStyleName",{get:function(){return this.listStyleNameValue},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"startAt",{get:function(){var e=this.paragraph.numId;if(void 0!==e){var t=this.activeLevelIndex();try{var r=this.catalog().getNumbering(e);if(void 0!==r){var n=r.levelOverrides.find(function(e){return e.ilvl===t});if(void 0!==n&&void 0!==n.startOverride)return n.startOverride}}catch(e){}e=this.resolvedListLevel;return void 0===e?void 0:e.start}},set:function(e){if(void 0===e)throw new ne("startAt cannot be cleared; pass a non-negative integer");this.assertStartAt(e);var t=this.paragraph.numId;if(void 0===t)throw new J("content/not-in-list","Paragraph is not in a list; apply a list style before setting startAt");var r=this.catalog(),n=(void 0===r.getNumbering(t)&&(n=this.inferEnsureFormat(),r.ensureInstance(t,n)),r.getNumbering(t));if(void 0===n)throw new J("content/invalid-num-id","Numbering instance "+String(t)+" could not be resolved");n.setStartOverride(this.activeLevelIndex(),e),r.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"abstractNumId",{get:function(){var e=this.resolvedList;return void 0===e?void 0:e.abstractNumId},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"multiLevelType",{get:function(){var e=this.resolvedAbstractList;return void 0===e?void 0:e.multiLevelType},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"name",{get:function(){var e=this.resolvedAbstractList;return void 0===e?void 0:e.name},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"resolvedList",{get:function(){var e=this.paragraph.numId;if(void 0!==e)try{return this.catalog().getNumbering(e)}catch(e){}},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"resolvedAbstractList",{get:function(){var e=this.resolvedList;if(void 0!==e)try{return this.catalog().getAbstractNumbering(e.abstractNumId)}catch(e){}},enumerable:!0,configurable:!0}),Object.defineProperty(DP.prototype,"resolvedListLevel",{get:function(){var e=this.paragraph.numId;if(void 0!==e){var t=this.activeLevelIndex();try{var r=this.catalog(),n=e,i=t;if(void 0!==(n=r.getNumbering(n))&&void 0!==(r=r.getAbstractNumbering(n.abstractNumId)))return void 0!==(n=n.levelOverrides.find(function(e){return e.ilvl===i}))&&void 0!==n.level?n.level:void 0!==(n=r.levels.find(function(e){return e.ilvl===i}))?n:void 0}catch(e){}}},enumerable:!0,configurable:!0}),DP.prototype.applyDefBulletStyle=function(){var e=this.catalog().createBulletInstance();this.paragraph.numId=e,this.paragraph.listLevel=0,this.listStyleNameValue=void 0},DP.prototype.applyDefNumberedStyle=function(){var e=this.catalog().createDecimalInstance();this.paragraph.numId=e,this.paragraph.listLevel=0,this.listStyleNameValue=void 0},DP.prototype.applyStyle=function(e){if("string"!=typeof e||""===e.trim())throw new ne("styleName must be a non-empty string");var e=e.trim(),t=this.paragraph.owningDocument();if(void 0===kP)throw new J("feature/not-registered","Styles part is required to apply a list style; ensure styles are registered");try{r=kP(t)}catch(e){throw new J("feature/not-registered","Styles part is required to apply a list style; ensure styles are registered",e instanceof Error?{cause:e}:void 0)}t=void 0!==r.getStyle(e)?r.getStyle(e):r.findStyleByDisplayName(e);if(void 0===t)throw new J("styles/undefined-style",'Style "'+e+'" is not defined in this document');if("numbering"!==t.type)throw new J("styles/invalid-type-for-target",'Style "'+t.styleId+'" is a '+String(t.type)+" style and cannot be used as a numbering style");var r=function(e,t,r){for(var n=0;n<e.abstractNumberings.length;n+=1){var i=e.abstractNumberings[n];if(i.styleLink===t||void 0!==r&&i.styleLink===r||i.name===t||void 0!==r&&i.name===r){for(var o=0;o<e.numberings.length;o+=1){var a=e.numberings[o];if(a.abstractNumId===i.abstractNumId)return a.numId}return e.createInstanceFromAbstract(i.abstractNumId)}i.numStyleLink!==t&&void 0!==r&&i.numStyleLink}throw new J("content/unresolved-numbering-style",'No numbering definition is linked to style "'+t+'"')}(this.catalog(),t.styleId,t.name);this.paragraph.numId=r,this.paragraph.listLevel=0,this.listStyleNameValue=void 0!==t.name?t.name:t.styleId},DP.prototype.continueListNumbering=function(){var t,r=this,e=this.paragraph.owningDocument(),n=!1;if(Mn(e,function(e){n||(e===r.paragraph?n=!0:void 0!==e.numId&&(t=e))}),void 0===t||void 0===t.numId)throw new J("content/no-preceding-list","No preceding list paragraph is available to continue");e=void 0!==this.paragraph.listLevel?this.paragraph.listLevel:void 0!==t.listLevel?t.listLevel:0;this.paragraph.numId=t.numId,this.paragraph.listLevel=e;try{this.catalog().registerPendingInstance(t.numId)}catch(e){}},DP.prototype.restartNumbering=function(e){var t=this.paragraph.numId;if(void 0===t)throw new J("content/not-in-list","Paragraph is not in a list; apply a list style before restarting");void 0!==e&&this.assertStartAt(e);var r=this.catalog(),n=(void 0===r.getNumbering(t)&&r.ensureInstance(t,this.inferEnsureFormat()),r.getNumbering(t));if(void 0===n)throw new J("content/invalid-num-id","Numbering instance "+String(t)+" could not be resolved");var t=this.activeLevelIndex(),e=void 0!==e?e:1,n=r.createInstanceFromAbstract(n.abstractNumId),i=r.getNumbering(n);if(void 0===i)throw new J("content/invalid-num-id","Failed to create restarted numbering instance");i.setStartOverride(t,e),r.markDirty(),this.paragraph.numId=n,this.paragraph.listLevel=t},DP.prototype.increaseIndentLevel=function(){var e;void 0===this.paragraph.numId||8<=(e=this.activeLevelIndex())||(this.paragraph.listLevel=e+1)},DP.prototype.decreaseIndentLevel=function(){var e;void 0===this.paragraph.numId||(e=this.activeLevelIndex())<=0||(this.paragraph.listLevel=e-1)},DP.prototype.removeList=function(){this.paragraph.numId=void 0,this.paragraph.listLevel=void 0,this.listStyleNameValue=void 0},DP.prototype.catalog=function(){return lP(this.paragraph.owningDocument())},DP.prototype.activeLevelIndex=function(){var e=this.paragraph.listLevel;return void 0!==e?e:0},DP.prototype.assertLevel=function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e)throw new ne("list level must be an integer from 0 through 8");if(e<0||8<e)throw new ne("list level must be an integer from 0 through 8")},DP.prototype.assertStartAt=function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e)throw new ne("startAt must be a finite integer");if(e<0)throw new ne("startAt must be a non-negative integer")},DP.prototype.assertLevelExistsOnAbstract=function(t){var e=this.paragraph.numId;if(void 0!==e)try{var r=this.catalog(),n=r.getNumbering(e);if(void 0!==n){var i=r.getAbstractNumbering(n.abstractNumId);if(void 0!==i){var o=n.levelOverrides.find(function(e){return e.ilvl===t});if(void 0===o||void 0===o.level)if(void 0===i.levels.find(function(e){return e.ilvl===t}))throw new J("content/invalid-list-level","List level "+String(t)+" does not exist on numbering instance "+String(e))}}}catch(e){if(e instanceof J||e instanceof ne)throw e}},DP.prototype.inferEnsureFormat=function(){var e=this.paragraph.numId;if(void 0!==e)try{if(this.catalog().isPendingDecimal(e))return"decimal";var t=this.numberFormat;if(void 0!==t&&"bullet"!==t)return"decimal"}catch(e){}return"bullet"};var FP=DP;function DP(e){this.paragraph=e}var OP=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},NP=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(OP(arguments[t]));return e},AP=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},EP=(kP=KP,Er("styles")),LP="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",RP="http://purl.oclc.org/ooxml/officeDocument/relationships/styles",BP="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml",_P=Lt("/word/styles.xml"),jP=new TextDecoder("utf-8"),MP=new TextEncoder,zP=(UP.prototype.markStylesDirty=function(){this.dirty=!0},UP.prototype.forgetProjectedStyle=function(t){this.projectedById.delete(t),this.shellById.delete(t),this.pendingParagraphStyles.delete(t),this.pendingCharacterStyles.delete(t),this.pendingTableStyles.delete(t),0<this.shellList.length&&(this.shellList=this.shellList.filter(function(e){return e.styleId!==t}))},UP.prototype.purgeContentStyleReferences=function(e,t){r=t,Mn(t=e,function(e){JP(e,r)}),$P(t,function(e){e.styleId===r&&(e.styleId=void 0)});var r,e=t,n=r,t=Er("headers-footers");if(Br(t)){e=e.featurePart(t);if(void 0!==e&&"object"==typeof e&&null!==e){var i=e;if("function"==typeof i.relationshipIds)for(var o=["header","footer"],a=0;a<o.length;a+=1)for(var l=i.relationshipIds(o[a]),s=0;s<l.length;s+=1){var u=l[s];if("function"==typeof i.paragraphsForRelationship)for(var c=i.paragraphsForRelationship(u),d=0;d<c.length;d+=1)JP(c[d],n);"function"==typeof i.itemsForRelationship&&eS(i.itemsForRelationship(u),function(e){e.styleId===n&&(e.styleId=void 0)})}}}},UP.prototype.bindLiveCollection=function(e){if(this.collection!==e){this.collection=e,0<this.shellList.length&&(t=this.takeShells(),e.replaceFromDocxStyles(t,!1));for(var t,r=Array.from(this.pendingParagraphStyles),n=0;n<r.length;n+=1)e.registerPendingParagraphStyle(r[n]);this.pendingParagraphStyles.clear();for(var i=Array.from(this.pendingCharacterStyles),n=0;n<i.length;n+=1)e.registerPendingCharacterStyle(i[n]);this.pendingCharacterStyles.clear();for(var o=Array.from(this.pendingTableStyles),n=0;n<o.length;n+=1)e.registerPendingTableStyle(o[n]);this.pendingTableStyles.clear(),this.projectedById.clear()}},UP.prototype.takeShells=function(){var e=this.shellList.slice();return this.shellList=[],this.shellById.clear(),e},UP.prototype.liveCollection=function(){return this.collection},Object.defineProperty(UP.prototype,"styles",{get:function(){if(void 0===this.collection)return this.shellList;for(var e=this.collection.stylesInOrder(),t=[],r=0;r<e.length;r+=1){var n=e[r].styleId,i=this.projectedById.get(n);void 0===i&&void 0!==(i=this.collection.projectDocxStyle(n))&&this.projectedById.set(n,i),void 0!==i&&t.push(i)}return t},enumerable:!0,configurable:!0}),Object.defineProperty(UP.prototype,"docDefaults",{get:function(){return this.docDefaultsValue},enumerable:!0,configurable:!0}),Object.defineProperty(UP.prototype,"latentStyles",{get:function(){return this.latentStylesValue},enumerable:!0,configurable:!0}),UP.prototype.getStyle=function(e){var t;return void 0!==this.collection?void 0!==(t=this.projectedById.get(e))?t:(void 0!==(t=this.collection.projectDocxStyle(e))&&this.projectedById.set(e,t),t):this.shellById.get(e)},UP.prototype.hasStyle=function(e){return void 0!==this.collection?this.collection.hasStyle(e):this.shellById.has(e)||this.pendingParagraphStyles.has(e)||this.pendingCharacterStyles.has(e)||this.pendingTableStyles.has(e)},UP.prototype.docDefaultsRunProperties=function(){var e=this.docDefaultsValue;return void 0===e?fy:e.runProperties()},UP.prototype.docDefaultsParagraphProperties=function(){var e=this.docDefaultsValue;return void 0===e?_m:e.paragraphProperties()},UP.prototype.styleRunProperties=function(e){var t;return void 0!==this.collection?void 0===(t=this.collection.getStyle(e))?void 0:Y0(t.characterFormatSnapshot()):void 0!==(t=this.shellById.get(e))?t.runProperties():void 0},UP.prototype.styleBasedOn=function(e){var t;return void 0!==this.collection?void 0===(t=this.collection.getStyle(e))?void 0:t.basedOnId:null==(t=this.shellById.get(e))?void 0:t.basedOn},UP.prototype.ensureParagraphStyle=function(e){void 0!==this.collection?this.collection.ensureParagraphStyle(e):this.ensureStyle(e,"paragraph")},UP.prototype.ensureCharacterStyle=function(e){void 0!==this.collection?this.collection.ensureCharacterStyle(e):this.ensureStyle(e,"character")},UP.prototype.ensureTableStyle=function(e){void 0!==this.collection?this.collection.ensureTableStyle(e):this.ensureStyle(e,"table")},UP.prototype.registerPendingParagraphStyle=function(e){void 0!==this.collection?this.collection.registerPendingParagraphStyle(e):this.shellById.has(e)||this.pendingParagraphStyles.add(e)},UP.prototype.registerPendingCharacterStyle=function(e){void 0!==this.collection?this.collection.registerPendingCharacterStyle(e):this.shellById.has(e)||this.pendingCharacterStyles.add(e)},UP.prototype.registerPendingTableStyle=function(e){void 0!==this.collection?this.collection.registerPendingTableStyle(e):this.shellById.has(e)||this.pendingTableStyles.add(e)},UP.prototype.materializePending=function(e){var u=this,c=(GP(e),this.collection);void 0!==c?(Mn(e,function(e){var t,r,n=e.styleId;void 0!==n&&0<n.length&&!c.hasStyle(n)&&(c.ensureParagraphStyle(n),void 0!==(l=c.getStyle(n)))&&l.styleId!==n&&(e.styleId=l.styleId);try{for(var i=AP(e.items),o=i.next();!o.done;o=i.next()){var a,l,s=o.value;s instanceof w&&void 0!==(a=s.characterFormat.characterStyle)&&0<a.length&&!c.hasStyle(a)&&(c.ensureCharacterStyle(a),void 0!==(l=c.getStyle(a)))&&l.styleId!==a&&(s.characterFormat.characterStyle=l.styleId)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),$P(e,function(e){var t,r=e.styleId;void 0!==r&&0<r.length&&!c.hasStyle(r)&&(c.ensureTableStyle(r),void 0!==(t=c.getStyle(r)))&&t.styleId!==r&&(e.styleId=t.styleId)}),c.materializePendingIds(function(t,r){Mn(e,function(e){e.styleId===t&&(e.styleId=r)})},function(a,l){Mn(e,function(e){var t,r;try{for(var n=AP(e.items),i=n.next();!i.done;i=n.next()){var o=i.value;o instanceof w&&o.characterFormat.characterStyle===a&&(o.characterFormat.characterStyle=l)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}})},function(t,r){$P(e,function(e){e.styleId===t&&(e.styleId=r)})})):(Mn(e,function(e){var t,r,n=e.styleId;void 0===n||u.shellById.has(n)||(u.ensureStyle(n,"paragraph"),u.pendingParagraphStyles.delete(n),void 0!==(l=u.shellById.get(n))&&l.styleId!==n&&(e.styleId=l.styleId));try{for(var i=AP(e.items),o=i.next();!o.done;o=i.next()){var a,l,s=o.value;s instanceof w&&(void 0===(a=s.characterFormat.characterStyle)||u.shellById.has(a)||(u.ensureStyle(a,"character"),u.pendingCharacterStyles.delete(a),void 0!==(l=u.shellById.get(a))&&l.styleId!==a&&(s.characterFormat.characterStyle=l.styleId)))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),$P(e,function(e){var t,r=e.styleId;void 0===r||u.shellById.has(r)||(u.ensureStyle(r,"table"),u.pendingTableStyles.delete(r),void 0!==(t=u.shellById.get(r))&&t.styleId!==r&&(e.styleId=t.styleId))}),this.pendingParagraphStyles.clear(),this.pendingCharacterStyles.clear(),this.pendingTableStyles.clear())},UP.prototype.isDirty=function(){return this.dirty},UP.prototype.serialize=function(){var t,e=[];if(void 0!==this.docDefaultsValue&&e.push(this.docDefaultsValue.serialize()),void 0!==this.latentStylesValue&&e.push(this.latentStylesValue.serialize()),e.push.apply(e,NP(this.rootExtrasBeforeStyles)),void 0!==this.collection)for(var r=this.collection.stylesInOrder(),n=0;n<r.length;n+=1)e.push(r[n].serialize());else try{for(var i=AP(this.shellList),o=i.next();!o.done;o=i.next()){var a=o.value;e.push(a.serialize())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(l=i.return)&&l.call(i)}finally{if(t)throw t.error}}e.push.apply(e,NP(this.rootExtrasAfterStyles));var l=b("styles",{namespaceDeclarations:[{prefix:"w",namespaceUri:he}],children:e});return MP.encode(Fe(l))},UP.prototype.ensureStyle=function(e,t){if(0===e.length)throw new J("content/invalid-style-id","Style id must not be empty");this.shellById.has(e)||void 0===b0(this,e,t)&&(t=Gy(e,t),this.shellList.push(t),this.shellById.set(e,t),this.markStylesDirty())},UP.prototype.findStyleByDisplayName=function(e){var t,r,n;return void 0!==this.collection?void 0===(t=this.collection.findByName(e))?void 0:void 0!==(r=this.projectedById.get(t.styleId))?r:(void 0!==(r=this.collection.projectDocxStyle(t.styleId))&&this.projectedById.set(t.styleId,r),r):0!==(n=Yy(e)).length?this.shellList.find(function(e){e=e.name;return void 0!==e&&Yy(e)===n}):void 0},UP.prototype.addStyle=function(e){if(void 0!==this.collection)return void 0!==this.collection.getStyle(e.styleId)?void 0:(this.collection.hydrateFromDocxStyles([e],!0),void this.projectedById.delete(e.styleId));this.shellById.has(e.styleId)||(this.shellList.push(e),this.shellById.set(e.styleId,e),this.markStylesDirty())},UP);function UP(e,t,r,n,i,o){var a,l;this.docDefaultsValue=e,this.latentStylesValue=t,this.shellList=NP(r),this.shellById=new Map;try{for(var s=AP(this.shellList),u=s.next();!u.done;u=s.next()){var c=u.value;this.shellById.set(c.styleId,c)}}catch(e){a={error:e}}finally{try{u&&!u.done&&(l=s.return)&&l.call(s)}finally{if(a)throw a.error}}this.collection=void 0,this.projectedById=new Map,this.rootExtrasBeforeStyles=n,this.rootExtrasAfterStyles=i,this.pendingParagraphStyles=new Set,this.pendingCharacterStyles=new Set,this.pendingTableStyles=new Set,this.dirty=o}var HP=new WeakMap;function WP(e,t){var r=t.liveCollection();return void 0!==r?HP.set(e,r):(void 0===(r=HP.get(e))&&(r=new Hg(e,t),HP.set(e,r)),t.bindLiveCollection(r)),r}function GP(e){return ZP(),WP(e,qP(e))}function qP(e){e=e.featurePart(EP);if(void 0!==e&&e instanceof zP)return e;throw new J("feature/not-registered","Styles part was not loaded; call registerStylesFeature() before WordDocument.open")}function XP(e){var t,r;return void 0===e?(t=(r=A0()).docDefaults,r=r.styles,new zP(t,void 0,r,[],[],!0)):te(t=Ce(jP.decode(e.data)),"styles")?(r=function(e){var t,r,n,i,o=[],a=[],l=[],s=!1;try{for(var u=AP(re(e)),c=u.next();!c.done;c=u.next()){var d,h=c.value;te(h,"docDefaults")&&void 0===n?n=I0(h):te(h,"latentStyles")&&void 0===i?i=X0(h):te(h,"style")?(s=!0,void 0!==(d=Wy(h))&&o.push(d)):(s?l:a).push(h)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return{docDefaults:n,latentStyles:i,styles:o,rootExtrasBeforeStyles:a,rootExtrasAfterStyles:l}}(t),new zP(r.docDefaults,r.latentStyles,r.styles,r.rootExtrasBeforeStyles,r.rootExtrasAfterStyles,!1)):new zP(void 0,void 0,[],[],[],!1)}var YP=!1;function ZP(){YP||(YP=!0,dy(),Yb(),nb(),Rr({id:EP}),Yr({featureId:EP,relationshipTypes:[LP,RP],defaultRelativeTarget:"styles.xml",partName:_P,contentType:BP,loadPart:XP}),_n({featureId:EP,materialize:function(e){var t=e.featurePart(EP);t instanceof zP&&t.materializePending(e)}}))}function KP(e){var t=qP(e);return WP(e,t),t}function JP(e,t){var r,n;e.styleId===t&&(e.styleId=void 0);try{for(var i=AP(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof w&&a.characterFormat.characterStyle===t&&(a.characterFormat.characterStyle=void 0)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function $P(e,t){eS(e.listBlocks(),t)}function QP(e){if("object"==typeof e&&null!==e){var t=e;if("function"==typeof t.listRows)return e}}function eS(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if("object"==typeof n&&null!==n){var i=n,n=QP(n);if(void 0!==(n=void 0===n&&"feature"===i.type?QP(i.value):n)){t(n);for(var o=n.listRows(),a=0;a<o.length;a+=1)for(var l=o[a].listCells(),s=0;s<l.length;s+=1)eS(l[s].listBlocks(),t)}}}}D.prototype.applyStyle=function(e){var t,r,n=KP(this.owningDocument()),i=function(e,t){var r=e.getStyle(t),r=void 0!==r?r:e.findStyleByDisplayName(t);if(void 0!==r)return"character"===r.type?"character":"paragraph";e=u0(t),r=void 0!==e?e:c0(t);return void 0===r||"character"!==r.type?"paragraph":"character"}(n,e),n=m0(n,e,i);if("character"===i){var o=n.styleId;this.breakCharacterFormat.characterStyle=o;try{for(var a=AP(this.items),l=a.next();!l.done;l=a.next()){var s=l.value;s instanceof w&&(s.characterFormat.characterStyle=o)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}else this.styleId=n.styleId},D.prototype.resolveEffectiveCharacterValue=function(e){try{for(var t=this.owningDocument(),r=KP(t),n=GP(t),i=new Set,o=this.styleId;void 0!==o&&""!==o&&!i.has(o);){i.add(o);var a=n.getStyle(o);if(void 0===a)break;var l=function(e,t){if(void 0!==e)switch(t){case"bold":return e.bold;case"italic":return e.italic;case"strikethrough":return e.strikethrough;case"doubleStrikethrough":return e.doubleStrikethrough;case"allCaps":return e.allCaps;case"smallCaps":return e.smallCaps;case"hidden":return e.hidden;case"emboss":return e.emboss;case"engrave":return e.engrave;case"outline":return e.outline;case"shadow":return e.shadow;case"noProof":return e.noProof;case"webHidden":return e.webHidden;case"fontSize":return e.fontSize;case"fontName":return e.fontName;case"fontNameAscii":return e.fontNameAscii;case"fontNameNonFarEast":return e.fontNameNonFarEast;case"fontNameFarEast":return e.fontNameFarEast;case"fontNameBidi":return e.fontNameBidi;case"underlineStyle":return e.underlineStyle;case"underlineColor":return e.underlineColor;case"textColor":return e.textColor;case"highlightColor":return e.highlightColor;case"textBackgroundColor":return e.textBackgroundColor;case"subSuperScript":return e.subSuperScript;case"characterSpacing":return e.characterSpacing;case"position":return e.position;case"kerning":return e.kerning;case"scaling":return e.scaling;case"boldBidi":return e.boldBidi;case"italicBidi":return e.italicBidi;case"fontSizeBidi":return e.fontSizeBidi;case"localeId":return e.localeId;case"localeIdBidi":return e.localeIdBidi;case"localeIdFarEast":return e.localeIdFarEast;default:return}}(a.characterFormat,e);if(void 0!==l)return l;var s=a.baseStyle,o=void 0===s?void 0:s.styleId}var u=function(e,t){switch(t){case"bold":return e.bold;case"boldBidi":return e.boldCs;case"italic":return e.italic;case"italicBidi":return e.italicCs;case"fontSize":return e.fontSize;case"fontSizeBidi":return e.fontSizeCs;case"kerning":return e.kerning;case"fontName":return void 0!==e.asciiFont?e.asciiFont:e.hAnsiFont;case"fontNameAscii":return e.asciiFont;case"fontNameNonFarEast":return e.hAnsiFont;case"fontNameFarEast":return e.eastAsiaFont;case"fontNameBidi":return e.csFont;case"textColor":return e.color;default:return}}(r.docDefaultsRunProperties(),e);if(void 0!==u&&"textColor"!==e)return u}catch(e){}},D.prototype.resolveEffectiveParagraphValue=function(e){try{for(var t=this.owningDocument(),r=KP(t),n=GP(t),i=new Set,o=this.styleId;void 0!==o&&""!==o&&!i.has(o);){i.add(o);var a=n.getStyle(o);if(void 0!==a&&a instanceof og){var l=function(e,t){if(void 0!==e)switch(t){case"horizontalAlignment":return e.horizontalAlignment;case"keepFollow":return e.keepFollow;case"keepLines":return e.keepLines;case"pageBreakBefore":return e.pageBreakBefore;case"pageBreakAfter":return e.pageBreakAfter;case"widowControl":return e.widowControl;case"bidi":return e.bidi;case"outlineLevel":return e.outlineLevel;case"leftIndent":return e.leftIndent;case"rightIndent":return e.rightIndent;case"firstLineIndent":return e.firstLineIndent;case"beforeSpacing":return e.beforeSpacing;case"afterSpacing":return e.afterSpacing;case"beforeAutospacing":return e.beforeAutospacing;case"afterAutospacing":return e.afterAutospacing;case"beforeLines":return e.beforeLines;case"afterLines":return e.afterLines;case"lineSpacing":return e.lineSpacing;case"lineSpacingRule":return e.lineSpacingRule;case"lineSpacingCount":return e.lineSpacingCount;case"tabStops":return e.tabStops;case"borders":var r=e;return"function"==typeof r.readBordersBag?r.readBordersBag():r.borders;case"backColor":return e.backColor;case"foreColor":return e.foreColor;case"contextualSpacing":return e.contextualSpacing;case"mirrorIndents":return e.mirrorIndents;default:return}}(a.paragraphFormat,e);if(void 0!==l)return l;var s,o=void 0===(s=a.baseParagraphStyle)?void 0:s.styleId}else{if(void 0===a)break;o=void 0===(s=a.baseStyle)?void 0:s.styleId}}var u=function(e,t){var r=e.spacing,n=e.indentation;switch(t){case"keepFollow":return e.keepNext;case"keepLines":return e.keepLines;case"pageBreakBefore":return e.pageBreakBefore;case"widowControl":return e.widowControl;case"contextualSpacing":return e.contextualSpacing;case"outlineLevel":return e.outlineLevel;case"beforeSpacing":return void 0===r?void 0:r.before;case"afterSpacing":return void 0===r?void 0:r.after;case"lineSpacing":return void 0===r?void 0:void 0!==r.lineSpacing?r.lineSpacing:r.line;case"lineSpacingRule":return void 0===r?void 0:r.lineRule;case"leftIndent":return void 0===n?void 0:n.left;case"rightIndent":return void 0===n?void 0:n.right;case"firstLineIndent":return void 0===n?void 0:void 0!==n.firstLine?n.firstLine:void 0!==n.hanging?-n.hanging:void 0;default:return}}(r.docDefaultsParagraphProperties(),e);if(void 0!==u)return u}catch(e){}},Object.defineProperty(Cd.prototype,"styles",{get:function(){return GP(this)},configurable:!0}),Object.defineProperty(Cd.prototype,"addTableStyle",{value:function(e){return GP(this).addTableStyle(e)},writable:!0,configurable:!0}),Object.defineProperty(Cd.prototype,"themes",{get:function(){return hy(this)},configurable:!0}),ZP();tS=function(e,t){return(tS=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var tS,l=function(e,t){function r(){this.constructor=e}tS(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},rS={FitToContent:"fitToContent",FitToWindow:"fitToWindow",FixedColumnWidth:"fixedColumnWidth"};function nS(){return{type:"auto",value:H(0)}}var iS=1440,oS=468;function aS(e,t){for(var r=0<t?t:1,t=0<e?Math.floor(e):iS*r,n=Math.floor(t/r),i=t-n*r,o=[],a=0;a<r;a+=1)o.push(n+(a<i?1:0));return o}function lS(e){for(var t=[],r=0;r<e.length;r+=1){var n=e[r];t.push(b("gridCol",{attributes:[y("w",String(0<n?n:iS))]}))}return b("tblGrid",{children:t})}var sS=Er("tables");function uS(e){e=e.gridSpan;return void 0!==e&&0<e?e:1}function cS(e,t){for(var r=0,n=e.listCells(),i=0;i<n.length;i+=1){var o=n[i];if(void 0!==o){var a=uS(o);if(r<=t&&t<r+a)return{cell:o,startColumn:r,cellIndex:i};r+=a}}}function dS(e,t){for(var r=0,n=e.listCells(),i=0;i<n.length;i+=1){var o=n[i];if(o===t)return r;r+=uS(o)}return-1}function hS(e){return 0<e.text.trim().length}Object.defineProperty(s.prototype,"rows",{get:function(){return this.rowsInstance},enumerable:!0,configurable:!0}),s.prototype.listRows=function(){return this.tableRows},s.prototype.replaceRows=function(e){if(e.length<1)throw new N("A table must retain at least one row");for(var t=this.tableRows,r=0;r<t.length;r+=1)-1===e.indexOf(t[r])&&t[r].setOwnerTable(void 0);this.tableRows=e;for(r=0;r<e.length;r+=1)e[r].setOwnerTable(this);this.rowsInstance.syncFromHost(),this.markConditionalFormattingDirty()},s.prototype.createEmptyRow=function(){return this.buildEmptyRow()},s.prototype.bindRow=function(e){if(e.setOwnerTable(this),void 0!==this.documentOwner){e.bindDocument(this.documentOwner);for(var t=e.listCells(),r=0;r<t.length;r+=1)t[r].bindDocument(this.documentOwner)}},s.prototype.minRowCount=function(){return 1},s.prototype.readTblPr=function(){return this.tblPr},s.prototype.writeTblPr=function(e){this.tblPr=e},s.prototype.applyTableBackColorToCells=function(e){for(var t=this.tableRows,r=0;r<t.length;r+=1)for(var n=t[r].listCells(),i=0;i<n.length;i+=1){var o,a=n[i],l=Yv(a.readTcPr());void 0===e?void 0===l||void 0!==l.pattern&&"clear"!==l.pattern||void 0!==l.color&&"auto"!==l.color||a.writeTcPr(Zv(a.readTcPr(),void 0)):(o=void 0!==l&&void 0!==l.pattern&&0<l.pattern.length?l.pattern:"clear",l={fill:e,color:void 0!==l&&void 0!==l.color&&0<l.color.length?l.color:"auto",pattern:o},a.writeTcPr(Zv(a.readTcPr(),l)))}},Object.defineProperty(s.prototype,"tableFormat",{get:function(){return this.tableFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"title",{get:function(){return Sl(this.tblPr)},set:function(e){this.tblPr=xl(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"description",{get:function(){return Cl(this.tblPr)},set:function(e){this.tblPr=Il(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"indentFromLeft",{get:function(){return sl(this.tblPr)},set:function(e){this.tblPr=ul(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"width",{get:function(){for(var e=this.gridColumnWidthsTwips(),t=0,r=0;r<e.length;r+=1)t+=e[r];return t<=0?0:H(t)},set:function(e){if(!isFinite(e)||e<0)throw new RangeError("Table width must be a non-negative finite number of points, got "+String(e));this.tblPr=dl(this.tblPr,{type:"dxa",value:e})},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"preferredWidth",{get:function(){return cl(this.tblPr)},set:function(e){this.tblPr=dl(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"layout",{get:function(){return kl(this.tblPr)},set:function(e){this.tblPr=Fl(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"look",{get:function(){return wl(this.tblPr)},set:function(e){this.tblPr=Pl(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"rowBandSize",{get:function(){return Dl(this.tblPr)},set:function(e){if(void 0!==e&&!isFinite(e))throw new RangeError("Table rowBandSize must be a finite number or undefined, got "+String(e));this.tblPr=Ol(this.tblPr,void 0!==e?Math.trunc(e):void 0),this.markConditionalFormattingDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"columnBandSize",{get:function(){return Nl(this.tblPr)},set:function(e){if(void 0!==e&&!isFinite(e))throw new RangeError("Table columnBandSize must be a finite number or undefined, got "+String(e));this.tblPr=Al(this.tblPr,void 0!==e?Math.trunc(e):void 0),this.markConditionalFormattingDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"styleId",{get:function(){return Vl(this.tblPr)},set:function(e){this.tblPr=Tl(this.tblPr,e),this.markConditionalFormattingDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"styleName",{get:function(){return Vl(this.tblPr)},enumerable:!0,configurable:!0}),s.prototype.applyStyle=function(e){if(void 0===this.documentOwner)throw new N("Cannot apply a table style to a table that is not attached to a document");e="string"==typeof e?e:e.styleId,e=m0(KP(this.documentOwner),e,"table");this.tblPr=Tl(this.tblPr,e.styleId),this.markConditionalFormattingDirty()},Object.defineProperty(s.prototype,"applyStyleForFirstRow",{get:function(){var e=this.look;return void 0!==e&&!0===e.firstRow},set:function(e){this.mergeTableLook({firstRow:!0===e})},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"applyStyleForLastRow",{get:function(){var e=this.look;return void 0!==e&&!0===e.lastRow},set:function(e){this.mergeTableLook({lastRow:!0===e})},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"applyStyleForFirstColumn",{get:function(){var e=this.look;return void 0!==e&&!0===e.firstCol},set:function(e){this.mergeTableLook({firstCol:!0===e})},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"applyStyleForLastColumn",{get:function(){var e=this.look;return void 0!==e&&!0===e.lastCol},set:function(e){this.mergeTableLook({lastCol:!0===e})},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"applyStyleForBandedRows",{get:function(){var e=this.look;return void 0===e||!0!==e.noHBand},set:function(e){this.mergeTableLook({noHBand:!0!==e})},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"applyStyleForBandedColumns",{get:function(){var e=this.look;return void 0===e||!0!==e.noVBand},set:function(e){this.mergeTableLook({noVBand:!0!==e})},enumerable:!0,configurable:!0}),s.prototype.mergeTableLook=function(e){var t=this.look,e={firstRow:void 0!==e.firstRow?e.firstRow:void 0!==t?t.firstRow:void 0,lastRow:void 0!==e.lastRow?e.lastRow:void 0!==t?t.lastRow:void 0,firstCol:void 0!==e.firstCol?e.firstCol:void 0!==t?t.firstCol:void 0,lastCol:void 0!==e.lastCol?e.lastCol:void 0!==t?t.lastCol:void 0,noHBand:void 0!==e.noHBand?e.noHBand:void 0!==t?t.noHBand:void 0,noVBand:void 0!==e.noVBand?e.noVBand:void 0!==t?t.noVBand:void 0};this.tblPr=Pl(this.tblPr,e),this.markConditionalFormattingDirty()},s.prototype.markConditionalFormattingDirty=function(){this.conditionalFormattingDirty=!0},s.prototype.updateConditionalFormatting=function(){function e(e){for(var t=e.listParagraphs(),r=0;r<t.length;r+=1)t[r].setConditionalFormatting(void 0)}var t=this.styleId,r=this.tableRows,n=r.length;if(void 0===t||0===t.length)for(var i=0;i<n;i+=1)for(var o=r[i],a=(o.setConditionalFormatting(void 0),o.listCells()),l=0;l<a.length;l+=1){var s=a[l];s.setConditionalFormatting(void 0),e(s)}else{var u,c=this.documentOwner;if(void 0!==c)try{u=GP(c).getTableStyle(t)}catch(e){u=void 0}if(void 0!==u){var d=u.conditionalFormattingStyles;if(0!==d.count)for(var h=function(e){return void 0!==d.findByType(e)},p=this.applyStyleForFirstRow,f=this.applyStyleForLastRow,v=this.applyStyleForFirstColumn,m=this.applyStyleForLastColumn,y=this.applyStyleForBandedRows,g=this.applyStyleForBandedColumns,b=0;b<n;b+=1)for(var w=r[b],P=b,S=!1,x=!1,S=Ja({firstRow:h(yg.FirstRow)&&p&&0===P,lastRow:h(yg.LastRow)&&f&&0!==P&&P===n-1,oddHBand:S=h(yg.OddRowBand)&&y&&P!==n-1&&P%2==1?!0:S,evenHBand:x=h(yg.EvenRowBand)&&y&&0!==P&&P!==n-1&&P%2==0?!0:x}),C=(w.setConditionalFormatting(S),w.listCells()),I=C.length,V=0;V<I;V+=1){var T=C[V],k=V,k=Ja({firstColumn:h(yg.FirstColumn)&&0===k&&v,lastColumn:h(yg.LastColumn)&&0!==k&&k===I-1&&m,oddVBand:h(yg.OddColumnBand)&&k!==I-1&&k%2==1&&g,evenVBand:h(yg.EvenColumnBand)&&0!==k&&k!==I-1&&k%2==0&&g,firstRowLastColumn:h(yg.TopRightCell)&&0===P&&0!==k&&k===I-1&&p&&m,firstRowFirstColumn:h(yg.TopLeftCell)&&0===P&&0===k&&p&&v,lastRowLastColumn:h(yg.BottomRightCell)&&0!==P&&P===n-1&&0!==k&&k===I-1&&f&&m,lastRowFirstColumn:h(yg.BottomLeftCell)&&0!==P&&P===n-1&&0===k&&f&&v});Qa(k)?T.setConditionalFormatting(k):T.setConditionalFormatting(void 0),e(T)}}}this.conditionalFormattingDirty=!1},Object.defineProperty(s.prototype,"owner",{get:function(){return this.documentOwner},enumerable:!0,configurable:!0}),s.prototype.resetCells=function(e,t){if(e<1||t<1)throw new RangeError("Table must have at least one row and one column");for(var r=[],n=0;n<e;n+=1)r.push(this.buildEmptyRowWithColumns(t));this.tableRows=r,this.rowsInstance.syncFromHost(),void 0!==this.documentOwner&&this.bindDocument(this.documentOwner),PS(this,t),this.reapplyTableBackColorToCells(),this.markConditionalFormattingDirty()},s.prototype.autoFit=function(e){switch(e){case rS.FitToContent:return void this.applyFitToContent();case rS.FitToWindow:return void this.applyFitToWindow();case rS.FixedColumnWidth:return void this.applyFixedColumnWidth();default:throw new RangeError("Unsupported AutoFitType: "+String(e))}},s.prototype.appendRow=function(){return this.rowsInstance.add()},s.prototype.insertRow=function(e){return this.rowsInstance.insert(e)},s.prototype.removeRow=function(e){this.rowsInstance.remove(e)},s.prototype.applyHorizontalMerge=function(e,t,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(r))throw new RangeError("applyHorizontalMerge indexes must be integers");if(r<t)throw new RangeError("applyHorizontalMerge range is inverted or empty");var n=this.tableRows[e];if(void 0===n)throw new RangeError("applyHorizontalMerge row index is out of bounds");var i=n.listCells();if(t<0||r>=i.length)throw new RangeError("applyHorizontalMerge cell index is out of bounds");if(t!==r){t=i[t],i=i[r],r=dS(n,t),t=dS(n,i)+uS(i)-1;if(r<0||t<r)throw new RangeError("applyHorizontalMerge could not resolve grid columns");this.mergeCells({fromRow:e,fromColumn:r,toRow:e,toColumn:t})}},s.prototype.applyVerticalMerge=function(e,t,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(r))throw new RangeError("applyVerticalMerge indexes must be integers");if(r<t)throw new RangeError("applyVerticalMerge range is inverted or empty");if(t<0||r>=this.tableRows.length)throw new RangeError("applyVerticalMerge row index is out of bounds");if(e<0||e>=this.columnCount())throw new RangeError("applyVerticalMerge column index is out of bounds");t!==r&&this.mergeCells({fromRow:t,fromColumn:e,toRow:r,toColumn:e})},s.prototype.mergeCells=function(e){var t,r=e.fromRow,n=e.fromColumn,i=e.toRow,o=e.toColumn;if(!(Number.isInteger(r)&&Number.isInteger(n)&&Number.isInteger(i)&&Number.isInteger(o)))throw new RangeError("mergeCells range coordinates must be integers");if(i<r||o<n)throw new RangeError("mergeCells range is inverted or empty");if(r<0||n<0||i>=this.tableRows.length)throw new RangeError("mergeCells range is out of bounds");if(this.columnCount()<=o)throw new RangeError("mergeCells range is out of bounds");var e=i-r+1,a=o-n+1;if(1==e&&1==a){var l=this.tableRows[r];if(void 0===l)throw new RangeError("mergeCells range is out of bounds");l=cS(l,n);if(void 0===l)throw new RangeError("mergeCells range is out of bounds");return l.cell}for(var s,u=[],c=r;c<=i;c+=1){if(void 0===(b=this.tableRows[c]))throw new RangeError("mergeCells range is out of bounds");for(var d=n;d<=o;){var h=cS(b,d);if(void 0===h)throw new RangeError("mergeCells range is out of bounds");if(h.startColumn<n||h.startColumn+uS(h.cell)-1>o)throw new RangeError("mergeCells range partially overlaps an existing merged cell");c===r&&h.startColumn===n?s=h.cell:h.cell!==s&&u.push(h.cell),d=h.startColumn+uS(h.cell)}}if(void 0===s)throw new RangeError("mergeCells could not resolve origin cell");for(var p=0;p<u.length;p+=1)this.moveCellContentInto(s,u[p]);for(var f=new Map,c=r;c<=i;c+=1){var v=this.tableRows[c];if(void 0===v)throw new RangeError("mergeCells range is out of bounds");for(var m=v.listCells(),y=0;y<m.length;y+=1){var g=m[y];f.set(g,uS(g))}}s.gridSpan=1<a?a:void 0,s.verticalMerge=1<e?"restart":void 0;for(var b,c=r;c<=i;c+=1){if(void 0===(b=this.tableRows[c]))throw new RangeError("mergeCells range is out of bounds");for(var w=[],P=0,S=!1,x=b.listCells(),C=0;C<x.length;C+=1){var g=x[C],I=null!=(I=f.get(g))?I:uS(g),V=P,T=P+I-1;P+=I,n<=T&&V<=o?c===r&&g===s?(w.push(g),S=!0):r<c&&V===n&&!S&&(g.gridSpan=1<a?a:void 0,g.verticalMerge="continue",this.ensureAtLeastOneParagraph(g),w.push(g),S=!0):w.push(g)}if(r<c&&!S){for(var k=this.createBoundEmptyCell(),F=(k.gridSpan=1<a?a:void 0,k.verticalMerge="continue",0),D=0;F<w.length&&D<n;){var O=w[F];if(void 0===O)break;D+=null!=(t=f.get(O))?t:uS(O),F+=1}w.splice(F,0,k)}if(w.length<1)throw new N("mergeCells would leave a row with no cells");b.replaceCells(w)}return this.markConditionalFormattingDirty(),s},s.prototype.splitCell=function(e){var t=this.getMergeRegion(e);if(void 0===t||t.origin!==e)throw new RangeError("splitCell requires a merge origin cell in this table");for(var r=t.fromRow,n=t.fromColumn,i=t.toRow,o=t.toColumn,a=[],l=[t.origin],s=0;s<t.continuations.length;s+=1)l.push(t.continuations[s]);for(var u=r;u<=i;u+=1){var c=this.tableRows[u];if(void 0!==c){for(var d=[],h=0,p=c.listCells(),f=0;f<p.length;f+=1){for(var v=p[f],m=uS(v),y=h,g=(h+=m,!1),b=0;b<l.length;b+=1)if(l[b]===v){g=!0;break}if(g)for(var w,P=y;P<y+m;P+=1)P<n||o<P?(w=this.createBoundEmptyCell(),d.push(w),a.push(w)):(w=void 0,u===r&&P===n?((w=t.origin).gridSpan=void 0,w.verticalMerge=void 0):P===y&&v!==t.origin?((w=v).gridSpan=void 0,w.verticalMerge=void 0,this.ensureAtLeastOneParagraph(w)):w=this.createBoundEmptyCell(),d.push(w),a.push(w));else d.push(v)}if(d.length<1)throw new N("splitCell would leave a row with no cells");c.replaceCells(d)}}return this.markConditionalFormattingDirty(),a},s.prototype.getMergeRegion=function(e){for(var t=-1,r=0;r<this.tableRows.length;r+=1){var n=null==this.tableRows[r]?void 0:this.tableRows[r].listCells();if(void 0!==n&&-1!==n.indexOf(e)){t=r;break}}if(!(t<0)){var i=this.tableRows[t];if(void 0!==i){var o=dS(i,e);if(!(o<0)){var a=uS(e),i=e.verticalMerge;if(!(a<=1&&void 0===i)){var l=t,s=e;if("continue"===i){for(var u=!1,c=t-1;0<=c;--c){var d=this.tableRows[c];if(void 0===d)break;d=cS(d,o);if(void 0===d||d.startColumn!==o)break;if(uS(d.cell)!==a)break;if("restart"===d.cell.verticalMerge){l=c,s=d.cell,u=!0;break}if("continue"!==d.cell.verticalMerge)break}if(!u)return{fromRow:t,fromColumn:o,toRow:t,toColumn:o+a-1,origin:e,continuations:[]}}var h=uS(s),i=this.tableRows[l];if(void 0!==i){var p=dS(i,s);if(!(p<0)){var i=p+h-1,f=l,v=[];if("restart"===s.verticalMerge)for(c=l+1;c<this.tableRows.length;c+=1){var m=this.tableRows[c];if(void 0===m)break;m=cS(m,p);if(void 0===m||m.startColumn!==p||uS(m.cell)!==h||"continue"!==m.cell.verticalMerge)break;f=c,v.push(m.cell)}if(!(h<=1&&void 0===s.verticalMerge))return{fromRow:l,fromColumn:p,toRow:f,toColumn:i,origin:s,continuations:v}}}}}}}},s.prototype.moveCellContentInto=function(e,t){if(e!==t){hS(e)&&hS(t)&&(r=new D(void 0),e.appendRawBlock({type:"paragraph",paragraph:r}));var r,n=t.listBlocks().slice();t.replaceItems([]);for(var i=0;i<n.length;i+=1)e.appendRawBlock(n[i]);this.ensureAtLeastOneParagraph(t)}},s.prototype.ensureAtLeastOneParagraph=function(e){0===e.listParagraphs().length&&e.appendParagraph()},s.prototype.createBoundEmptyCell=function(){var e=new yS(this.documentOwner,[]);return void 0!==this.documentOwner&&e.bindDocument(this.documentOwner),this.paintTableBackColorOntoCell(e),e},s.prototype.reapplyTableBackColorToCells=function(){var e=gl(this.tblPr),e=void 0===e?void 0:e.fill;void 0!==e&&0!==e.length&&this.applyTableBackColorToCells(e)},s.prototype.paintTableBackColorOntoCell=function(e){var t,r,n=gl(this.tblPr);void 0!==n&&void 0!==n.fill&&0!==n.fill.length&&(t=void 0!==n.pattern&&0<n.pattern.length?n.pattern:"clear",r=void 0!==n.color&&0<n.color.length?n.color:"auto",n={fill:n.fill,color:r,pattern:t},e.writeTcPr(Zv(e.readTcPr(),n)))},s.prototype.bindDocument=function(e){this.documentOwner=e;for(var t=0;t<this.tableRows.length;t+=1)for(var r=this.tableRows[t],n=(r.bindDocument(e),r.listCells()),i=0;i<n.length;i+=1)n[i].bindDocument(e)},s.prototype.toOpenXml=function(){this.conditionalFormattingDirty&&this.updateConditionalFormatting();for(var e=[],t=0;t<this.prefixMarkup.length;t+=1)e.push(this.prefixMarkup[t]);e.push(this.tblPr),e.push(this.tblGrid);for(var r=0;r<this.tableRows.length;r+=1)e.push(this.tableRows[r].toOpenXml());return b("tbl",{children:e})},s.prototype.columnCount=function(){for(var e,t=0,r=re(this.tblGrid),n=0;n<r.length;n+=1)te(r[n],"gridCol")&&(t+=1);return 0<t?t:void 0!==(e=this.tableRows[0])&&0<(e=e.listCells().length)?e:1},s.prototype.gridColumnWidthsTwips=function(){for(var e=[],t=re(this.tblGrid),r=0;r<t.length;r+=1){var n=t[r];te(n,"gridCol")&&(n=ga(ba(n,"w")),e.push(void 0!==n&&0<n?n:iS))}if(0<e.length)return e;for(var i=this.columnCount(),o=[],r=0;r<i;r+=1)o.push(iS);return o},s.prototype.cellWidthFromGridTwips=function(e,t,r){for(var n=0,i=0;i<r;i+=1){var o=e[t+i];n+=void 0!==o&&0<o?o:iS}return 0<n?n:iS*Math.max(r,1)},s.prototype.applyFitToContent=function(){this.layout="autoFit",this.preferredWidth=nS();for(var e=0;e<this.tableRows.length;e+=1)for(var t=this.tableRows[e].listCells(),r=0;r<t.length;r+=1)t[r].preferredWidth=nS()},s.prototype.applyFitToWindow=function(){for(var e=this.gridColumnWidthsTwips(),t=0,r=0;r<e.length;r+=1)t+=e[r];var n=0<t?t:iS;this.layout="autoFit",this.preferredWidth={type:"pct",value:H(5e3)};for(var i=0;i<this.tableRows.length;i+=1)for(var o=0,a=this.tableRows[i].listCells(),l=0;l<a.length;l+=1){var s=a[l],u=uS(s),c=s.preferredWidth;"pct"!==(null==c?void 0:c.type)&&(c=this.cellWidthFromGridTwips(e,o,u),c=Math.max(0,Math.round(c/n*5e3)),s.preferredWidth={type:"pct",value:H(c)}),o+=u}},s.prototype.applyFixedColumnWidth=function(){var e=this.gridColumnWidthsTwips();this.layout="fixed",this.preferredWidth=nS();for(var t=0;t<this.tableRows.length;t+=1)for(var r=0,n=this.tableRows[t].listCells(),i=0;i<n.length;i+=1){var o=n[i],a=uS(o),l=this.cellWidthFromGridTwips(e,r,a);o.preferredWidth={type:"dxa",value:H(l)},r+=a}},s.prototype.buildEmptyRow=function(){return this.buildEmptyRowWithColumns(this.columnCount())},s.prototype.buildEmptyRowWithColumns=function(e){for(var t=[],r=0;r<e;r+=1)t.push(this.createBoundEmptyCell());var n=new fS([],void 0,t,this);if(void 0!==this.documentOwner){n.bindDocument(this.documentOwner);for(var i=0;i<t.length;i+=1)t[i].bindDocument(this.documentOwner)}return n},s.prototype.effectiveCellWidthPoints=function(e){for(var t=this.tableRows,r=0;r<t.length;r+=1)for(var n=t[r].listCells(),i=0,o=0;o<n.length;o+=1){var a=n[o],l=uS(a);if(a===e)return H(this.cellWidthFromGridTwips(this.gridColumnWidthsTwips(),i,l));i+=l}return H(iS)};var pS=s;function s(e,t,r,n){this.prefixMarkup=e,this.tblPr=t,this.tblGrid=r,this.tableRows=n,this.documentOwner=void 0,this.rowsInstance=new fv(this),this.tableFormatInstance=new Dm(this),this.conditionalFormattingDirty=!1}vS.prototype.setOwnerTable=function(e){this.ownerTableRef=e},Object.defineProperty(vS.prototype,"cells",{get:function(){return this.cellsInstance},enumerable:!0,configurable:!0}),vS.prototype.listCells=function(){return this.tableCells},vS.prototype.replaceCells=function(e){if(e.length<1)throw new N("A table row must retain at least one cell");for(var t=this.tableCells,r=0;r<t.length;r+=1)-1===e.indexOf(t[r])&&t[r].setOwnerRow(void 0);this.tableCells=e;for(r=0;r<e.length;r+=1)e[r].setOwnerRow(this);this.cellsInstance.syncFromHost(),void 0!==this.ownerTableRef&&this.ownerTableRef.markConditionalFormattingDirty()},vS.prototype.createEmptyCell=function(){var e=new yS(this.boundDocument,[]);return e.setOwnerRow(this),void 0!==this.boundDocument&&e.bindDocument(this.boundDocument),void 0!==this.ownerTableRef&&this.ownerTableRef.paintTableBackColorOntoCell(e),e},vS.prototype.bindCell=function(e){e.setOwnerRow(this),void 0!==this.boundDocument&&e.bindDocument(this.boundDocument)},vS.prototype.minCellCount=function(){return 1},vS.prototype.getOwnerTableOrUndefined=function(){return this.ownerTableRef},vS.prototype.readTrPr=function(){return this.trPr},vS.prototype.writeTrPr=function(e){this.trPr=e},Object.defineProperty(vS.prototype,"rowFormat",{get:function(){return this.rowFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(vS.prototype,"ownerTable",{get:function(){if(void 0===this.ownerTableRef)throw new N("This row is no longer attached to a table");return this.ownerTableRef},enumerable:!0,configurable:!0}),Object.defineProperty(vS.prototype,"height",{get:function(){var e=Cv(this.trPr);return void 0===e?0:e.value},set:function(e){if(!isFinite(e)||e<0)throw new RangeError("Row height must be a non-negative finite number of points, got "+String(e));var t=Cv(this.trPr),t=void 0!==t?t.rule:"auto";this.trPr=Iv(this.trPr,0===e&&"auto"===t?void 0:{value:e,rule:t})},enumerable:!0,configurable:!0}),Object.defineProperty(vS.prototype,"heightType",{get:function(){var e=Cv(this.trPr);return void 0===e?"auto":e.rule},set:function(e){if("auto"!==e&&"exact"!==e&&"atLeast"!==e)throw new RangeError("Invalid row heightType: "+String(e));var t=Cv(this.trPr),t=void 0!==t?t.value:0;this.trPr=Iv(this.trPr,"auto"===e&&0===t?void 0:{value:t,rule:e})},enumerable:!0,configurable:!0}),Object.defineProperty(vS.prototype,"isHeader",{get:function(){return!0===kv(this.trPr)},set:function(e){this.trPr=Fv(this.trPr,!0===e||void 0)},enumerable:!0,configurable:!0}),vS.prototype.bindDocument=function(e){this.boundDocument=e;for(var t=0;t<this.tableCells.length;t+=1)this.tableCells[t].bindDocument(e)},vS.prototype.getConditionalFormatting=function(){return Nv(this.trPr)},vS.prototype.setConditionalFormatting=function(e){this.trPr=Av(this.trPr,e)},vS.prototype.toOpenXml=function(){for(var e=[],t=0;t<this.rowExtras.length;t+=1)e.push(this.rowExtras[t]);void 0!==this.trPr&&e.push(this.trPr);for(t=0;t<this.tableCells.length;t+=1)e.push(this.tableCells[t].toOpenXml());return b("tr",{children:e})};var fS=vS;function vS(e,t,r,n){this.rowExtras=e,this.trPr=t,this.tableCells=r,this.boundDocument=void 0,this.ownerTableRef=n,this.cellsInstance=new mv(this),this.rowFormatInstance=new Nm(this);for(var i=0;i<r.length;i+=1)r[i].setOwnerRow(this)}l(gS,mS=Vc),gS.prototype.setOwnerRow=function(e){this.ownerRowRef=e},gS.prototype.applyTcPr=function(e){this.tcPrValue=e},gS.prototype.readTcPr=function(){return this.tcPrValue},gS.prototype.writeTcPr=function(e){this.tcPrValue=e},Object.defineProperty(gS.prototype,"cellFormat",{get:function(){return this.cellFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(gS.prototype,"gridSpan",{get:function(){return _v(this.tcPrValue)},set:function(e){this.tcPrValue=Mv(this.tcPrValue,e);var e=this.ownerRowRef;void 0!==e&&void 0!==(e=e.getOwnerTableOrUndefined())&&e.markConditionalFormattingDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(gS.prototype,"verticalMerge",{get:function(){return jv(this.tcPrValue)},set:function(e){this.tcPrValue=zv(this.tcPrValue,e)},enumerable:!0,configurable:!0}),Object.defineProperty(gS.prototype,"preferredWidth",{get:function(){return Wv(this.tcPrValue)},set:function(e){this.tcPrValue=Gv(this.tcPrValue,e)},enumerable:!0,configurable:!0}),Object.defineProperty(gS.prototype,"width",{get:function(){var e=Wv(this.tcPrValue);if(void 0!==e&&"dxa"===e.type)return e.value;var t,e=this.ownerRowRef;if(void 0===e)return H(iS);try{t=e.ownerTable}catch(e){t=void 0}return void 0===t?H(iS):t.effectiveCellWidthPoints(this)},set:function(e){if(!isFinite(e)||e<0)throw new RangeError("Cell width must be a non-negative finite number of points, got "+String(e));this.tcPrValue=Gv(this.tcPrValue,{type:"dxa",value:e})},enumerable:!0,configurable:!0}),Object.defineProperty(gS.prototype,"text",{get:function(){for(var e=[],t=this.listParagraphs(),r=0;r<t.length;r+=1)e.push(t[r].text);return e.join("")},set:function(e){var t=this.listParagraphs()[0];0<(t=void 0===t?this.appendParagraph():t).text.length||0===e.length?(this.replaceItems([]),t=this.appendParagraph({text:e})):t.appendText(e)},enumerable:!0,configurable:!0}),Object.defineProperty(gS.prototype,"nestedTables",{get:function(){for(var e=[],t=this.listBlocks(),r=0;r<t.length;r+=1){var n=t[r];"feature"===n.type&&n.featureId===sS&&n.value instanceof pS&&e.push(n.value)}return e},enumerable:!0,configurable:!0}),gS.prototype.bindDocument=function(e){this.setOwningDocument(e),this.reattachNestedTables();for(var t=this.listBlocks(),r=0;r<t.length;r+=1){var n=t[r];"feature"===n.type&&n.featureId===sS&&n.value instanceof pS&&n.value.bindDocument(e)}},gS.prototype.reattachNestedTables=function(){var t;try{t=this.owningDocument()}catch(e){t=void 0}for(var e=this.listBlocks(),r=0;r<e.length;r+=1){var n=e[r];"feature"===n.type&&n.featureId===sS&&n.value instanceof pS&&void 0!==t&&n.value.bindDocument(t)}},gS.prototype.getConditionalFormatting=function(){return um(this.tcPrValue)},gS.prototype.setConditionalFormatting=function(e){this.tcPrValue=cm(this.tcPrValue,e)},gS.prototype.toOpenXml=function(){var e=[],t=(void 0!==this.tcPrValue&&e.push(this.tcPrValue),this.listBlocks());if(0===t.length)e.push(b("p"));else for(var r=Ku(t),n=0;n<r.length;n+=1)e.push(r[n]);return b("tc",{children:e})};var mS,yS=gS;function gS(e,t){e=mS.call(this,e,t)||this;return e.bodyOwnerKind="tableCell",e.tcPrValue=void 0,e.cellFormatInstance=new Em(e),e.ownerRowRef=void 0,e.reattachNestedTables(),e}function bS(){return b("tblPr")}function wS(e){return lS(aS(iS*e,e))}function PS(t,e){for(var e=0<e?e:1,r=aS(U(function(e){if(void 0!==(e=e.documentOwner))try{var t=e.sections;if(void 0!==t&&0<t.count){var r=t[0].pageSetup,n=r.pageSize.width-r.margins.left-r.margins.right;if(isFinite(n)&&0<n)return n}}catch(e){}return oS}(t)),e),n=(t.tblGrid=lS(r),t.layout="fixed",0),i=0;i<r.length;i+=1)n+=r[i];t.tblPr=dl(t.tblPr,{type:"dxa",value:H(n)});for(var o=t.listRows(),a=0;a<o.length;a+=1)for(var l=0,s=o[a].listCells(),u=0;u<s.length;u+=1){for(var c=s[u],d=uS(c),h=0,p=0;p<d;p+=1){var f=r[l+p];h+=void 0!==f&&0<f?f:iS}c.preferredWidth={type:"dxa",value:H(0<h?h:iS)},l+=d}if(void 0!==t.documentOwner)try{t.applyStyle(n0.TableGrid)}catch(e){t.tblPr=Tl(t.tblPr,n0.TableGrid)}else t.tblPr=Tl(t.tblPr,n0.TableGrid)}function SS(e,t){if(e<1||t<1)throw new RangeError("Table must have at least one row and one column");for(var r=[],n=0;n<e;n+=1){for(var i=[],o=0;o<t;o+=1)i.push(new yS(void 0,[]));r.push(new fS([],void 0,i))}for(var a=new pS([],bS(),wS(t),r),l=0;l<r.length;l+=1)r[l].setOwnerTable(a);return a}function xS(e){try{return e.owningDocument()}catch(e){}}function CS(e,t){if(te(e,"tbl")){for(var r,n,i=[],o=[],a=re(e),l=0;l<a.length;l+=1){var s=a[l];te(s,"tblPr")&&void 0===r?r=s:te(s,"tblGrid")&&void 0===n?n=s:te(s,"tr")?o.push(function(e,t){for(var r,n=[],i=[],o=re(e),a=0;a<o.length;a+=1){var l=o[a];te(l,"trPr")&&void 0===r?r=l:te(l,"tc")?i.push(function(e,t){for(var r,n=[],i=re(e),o=0;o<i.length;o+=1){var a=i[o];te(a,"tcPr")&&void 0===r?r=a:n.push(a)}e=Zu(n,t),t=new yS(xS(t),e);return t.applyTcPr(r),t}(l,t)):n.push(l)}i.length<1&&(e=new D(void 0),i.push(new yS(xS(t),[{type:"paragraph",paragraph:e}])));return new fS(n,r,i)}(s,t)):void 0===r&&i.push(s)}void 0===r&&(r=bS()),void 0===n&&(e=null!=(e=null==(e=o[0])?void 0:e.listCells().length)?e:1,n=wS(Math.max(e,1))),o.length<1&&(e=new D(void 0),e=new yS(xS(t),[{type:"paragraph",paragraph:e}]),o.push(new fS([],void 0,[e])));for(var u=new pS(i,r,n,o),l=0;l<o.length;l+=1)o[l].setOwnerTable(u),void 0!==xS(t)&&o[l].bindDocument(xS(t));return void 0!==xS(t)&&u.bindDocument(xS(t)),u}}var IS=!1;function VS(){IS||(IS=!0,Rr({id:sS}),Mr({featureId:sS,wmlLocalName:"tbl",tryParse:CS}),jn({featureId:sS,visitParagraphs:function(e,t){if(e instanceof pS)for(var r=t,n=e.listRows(),i=0;i<n.length;i+=1)for(var o=n[i].listCells(),a=0;a<o.length;a+=1)zn(o[a].listBlocks(),r)}}),Qu({project:function(e){if(e.featureId===sS&&e.value instanceof pS)return e.value},toBlock:function(e){if(e instanceof pS)return{type:"feature",featureId:sS,value:e}},isInstance:function(e){return e instanceof pS}}),Sc({isTable:function(e){return e instanceof pS},createTable:function(){return SS(1,1)}}))}l=sS;function TS(e){return e instanceof pS||"object"==typeof e&&null!==e&&"feature"===e.type&&e.featureId===sS&&e.value instanceof pS}function kS(e){return e instanceof pS}Object.defineProperty(Vc.prototype,"appendTable",{value:function(){var e=SS(1,1);this.appendRawBlock({type:"feature",featureId:sS,value:e});try{var t=this.owningDocument();e.bindDocument(t)}catch(e){}PS(e,1);var t=this.listBlocks(),t=0<t.length?t[t.length-1]:void 0,r=!1;return(r=void 0!==t&&"paragraph"===t.type&&void 0!==t.paragraph?0===t.paragraph.items.length:r)||this.appendParagraph(),e},writable:!0,configurable:!0}),Object.defineProperty(Cd.prototype,"appendTable",{value:function(){return this.firstSectionBody().appendTable()},writable:!0,configurable:!0}),ui(function(){VS()}),VS();var FS=[];var DS=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},OS=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(DS(arguments[t]));return e},NS={Inline:"inline",Anchored:"anchored"},V={Inline:"inline",None:"none",Square:"square",Tight:"tight",Through:"through",TopAndBottom:"topAndBottom"},AS={Margin:"margin",Page:"page",Column:"column",Character:"character",LeftMargin:"leftMargin",RightMargin:"rightMargin",InsideMargin:"insideMargin",OutsideMargin:"outsideMargin"},ES={Margin:"margin",Page:"page",Paragraph:"paragraph",Line:"line",TopMargin:"topMargin",BottomMargin:"bottomMargin",InsideMargin:"insideMargin",OutsideMargin:"outsideMargin"},LS={Left:"left",Right:"right",Center:"center",Inside:"inside",Outside:"outside",None:"none",Unknown:"unknown"},RS=[LS.Left,LS.Right,LS.Center,LS.Inside,LS.Outside],BS=ua(LS),_S={Top:"top",Bottom:"bottom",Center:"center",Inside:"inside",Outside:"outside",None:"none",Unknown:"unknown"},jS=[_S.Top,_S.Bottom,_S.Center,_S.Inside,_S.Outside],MS=ua(_S),zS=new Set(ua(NS)),US=new Set(ua(V)),HS=new Set(ua(AS)),WS=new Set(ua(ES)),GS=new Set(BS),qS=new Set(MS),XS=new Set(RS),YS=new Set(jS);function ZS(e){return HS.has(e)}function KS(e){return WS.has(e)}function JS(e){return GS.has(e)}function $S(e){return XS.has(e)}function QS(e){return qS.has(e)}function ex(e){return YS.has(e)}function tx(e,t,r){if(!r.has(t))throw new RangeError("Invalid "+e+' value "'+t+'"; expected one of: '+OS(r).join(", "))}var rx=zS,nx=US,ix=HS,ox=WS,ax=GS,lx=XS,sx=qS,ux=YS,cx={Both:"bothSides",Left:"left",Right:"right",Largest:"largest",Unknown:"unknown"},dx=ua(cx),hx=dx.filter(function(e){return e!==cx.Unknown}),px=new Set(dx),fx=new Set(hx),vx=px,mx=fx;function yx(e){return fx.has(e)}var gx={Line:"line",LineInv:"lineInv",Triangle:"triangle",RtTriangle:"rtTriangle",Rect:"rect",Diamond:"diamond",Parallelogram:"parallelogram",Trapezoid:"trapezoid",NonIsoscelesTrapezoid:"nonIsoscelesTrapezoid",Pentagon:"pentagon",Hexagon:"hexagon",Heptagon:"heptagon",Octagon:"octagon",Decagon:"decagon",Dodecagon:"dodecagon",Star4:"star4",Star5:"star5",Star6:"star6",Star7:"star7",Star8:"star8",Star10:"star10",Star12:"star12",Star16:"star16",Star24:"star24",Star32:"star32",RoundRect:"roundRect",Round1Rect:"round1Rect",Round2SameRect:"round2SameRect",Round2DiagRect:"round2DiagRect",SnipRoundRect:"snipRoundRect",Snip1Rect:"snip1Rect",Snip2SameRect:"snip2SameRect",Snip2DiagRect:"snip2DiagRect",Plaque:"plaque",Ellipse:"ellipse",Teardrop:"teardrop",HomePlate:"homePlate",Chevron:"chevron",PieWedge:"pieWedge",Pie:"pie",BlockArc:"blockArc",Donut:"donut",NoSmoking:"noSmoking",RightArrow:"rightArrow",LeftArrow:"leftArrow",UpArrow:"upArrow",DownArrow:"downArrow",StripedRightArrow:"stripedRightArrow",NotchedRightArrow:"notchedRightArrow",BentUpArrow:"bentUpArrow",LeftRightArrow:"leftRightArrow",UpDownArrow:"upDownArrow",LeftUpArrow:"leftUpArrow",LeftRightUpArrow:"leftRightUpArrow",QuadArrow:"quadArrow",LeftArrowCallout:"leftArrowCallout",RightArrowCallout:"rightArrowCallout",UpArrowCallout:"upArrowCallout",DownArrowCallout:"downArrowCallout",LeftRightArrowCallout:"leftRightArrowCallout",UpDownArrowCallout:"upDownArrowCallout",QuadArrowCallout:"quadArrowCallout",BentArrow:"bentArrow",UturnArrow:"uturnArrow",CircularArrow:"circularArrow",LeftCircularArrow:"leftCircularArrow",LeftRightCircularArrow:"leftRightCircularArrow",CurvedRightArrow:"curvedRightArrow",CurvedLeftArrow:"curvedLeftArrow",CurvedUpArrow:"curvedUpArrow",CurvedDownArrow:"curvedDownArrow",SwooshArrow:"swooshArrow",Cube:"cube",Can:"can",LightningBolt:"lightningBolt",Heart:"heart",Sun:"sun",Moon:"moon",SmileyFace:"smileyFace",IrregularSeal1:"irregularSeal1",IrregularSeal2:"irregularSeal2",FoldedCorner:"foldedCorner",Bevel:"bevel",Frame:"frame",HalfFrame:"halfFrame",Corner:"corner",DiagStripe:"diagStripe",Chord:"chord",Arc:"arc",LeftBracket:"leftBracket",RightBracket:"rightBracket",LeftBrace:"leftBrace",RightBrace:"rightBrace",BracketPair:"bracketPair",BracePair:"bracePair",StraightConnector1:"straightConnector1",BentConnector2:"bentConnector2",BentConnector3:"bentConnector3",BentConnector4:"bentConnector4",BentConnector5:"bentConnector5",CurvedConnector2:"curvedConnector2",CurvedConnector3:"curvedConnector3",CurvedConnector4:"curvedConnector4",CurvedConnector5:"curvedConnector5",Callout1:"callout1",Callout2:"callout2",Callout3:"callout3",AccentCallout1:"accentCallout1",AccentCallout2:"accentCallout2",AccentCallout3:"accentCallout3",BorderCallout1:"borderCallout1",BorderCallout2:"borderCallout2",BorderCallout3:"borderCallout3",AccentBorderCallout1:"accentBorderCallout1",AccentBorderCallout2:"accentBorderCallout2",AccentBorderCallout3:"accentBorderCallout3",WedgeRectCallout:"wedgeRectCallout",WedgeRoundRectCallout:"wedgeRoundRectCallout",WedgeEllipseCallout:"wedgeEllipseCallout",CloudCallout:"cloudCallout",Cloud:"cloud",Ribbon:"ribbon",Ribbon2:"ribbon2",EllipseRibbon:"ellipseRibbon",EllipseRibbon2:"ellipseRibbon2",LeftRightRibbon:"leftRightRibbon",VerticalScroll:"verticalScroll",HorizontalScroll:"horizontalScroll",Wave:"wave",DoubleWave:"doubleWave",Plus:"plus",FlowChartProcess:"flowChartProcess",FlowChartDecision:"flowChartDecision",FlowChartInputOutput:"flowChartInputOutput",FlowChartPredefinedProcess:"flowChartPredefinedProcess",FlowChartInternalStorage:"flowChartInternalStorage",FlowChartDocument:"flowChartDocument",FlowChartMultidocument:"flowChartMultidocument",FlowChartTerminator:"flowChartTerminator",FlowChartPreparation:"flowChartPreparation",FlowChartManualInput:"flowChartManualInput",FlowChartManualOperation:"flowChartManualOperation",FlowChartConnector:"flowChartConnector",FlowChartPunchedCard:"flowChartPunchedCard",FlowChartPunchedTape:"flowChartPunchedTape",FlowChartSummingJunction:"flowChartSummingJunction",FlowChartOr:"flowChartOr",FlowChartCollate:"flowChartCollate",FlowChartSort:"flowChartSort",FlowChartExtract:"flowChartExtract",FlowChartMerge:"flowChartMerge",FlowChartOfflineStorage:"flowChartOfflineStorage",FlowChartOnlineStorage:"flowChartOnlineStorage",FlowChartMagneticTape:"flowChartMagneticTape",FlowChartMagneticDisk:"flowChartMagneticDisk",FlowChartMagneticDrum:"flowChartMagneticDrum",FlowChartDisplay:"flowChartDisplay",FlowChartDelay:"flowChartDelay",FlowChartAlternateProcess:"flowChartAlternateProcess",FlowChartOffpageConnector:"flowChartOffpageConnector",ActionButtonBlank:"actionButtonBlank",ActionButtonHome:"actionButtonHome",ActionButtonHelp:"actionButtonHelp",ActionButtonInformation:"actionButtonInformation",ActionButtonForwardNext:"actionButtonForwardNext",ActionButtonBackPrevious:"actionButtonBackPrevious",ActionButtonEnd:"actionButtonEnd",ActionButtonBeginning:"actionButtonBeginning",ActionButtonReturn:"actionButtonReturn",ActionButtonDocument:"actionButtonDocument",ActionButtonSound:"actionButtonSound",ActionButtonMovie:"actionButtonMovie",Gear6:"gear6",Gear9:"gear9",Funnel:"funnel",MathPlus:"mathPlus",MathMinus:"mathMinus",MathMultiply:"mathMultiply",MathDivide:"mathDivide",MathEqual:"mathEqual",MathNotEqual:"mathNotEqual",CornerTabs:"cornerTabs",SquareTabs:"squareTabs",PlaqueTabs:"plaqueTabs",ChartX:"chartX",ChartStar:"chartStar",ChartPlus:"chartPlus"},bx=ua(gx),wx=new Set(bx);function Px(e){return wx.has(e)}var Sx={Unknown:"unknown",Rectangle:"rect",RoundedRectangle:"roundRect",SnipSingleCornerRectangle:"snip1Rect",SnipSameSideCornerRectangle:"snip2SameRect",SnipDiagonalCornerRectangle:"snip2DiagRect",SnipAndRoundSingleCornerRectangle:"snipRoundRect",RoundSingleCornerRectangle:"round1Rect",RoundSameSideCornerRectangle:"round2SameRect",RoundDiagonalCornerRectangle:"round2DiagRect",Oval:"ellipse",IsoscelesTriangle:"triangle",RightTriangle:"rtTriangle",Parallelogram:"parallelogram",Trapezoid:"trapezoid",NonIsoscelesTrapezoid:"nonIsoscelesTrapezoid",Diamond:"diamond",RegularPentagon:"pentagon",Hexagon:"hexagon",Heptagon:"heptagon",Octagon:"octagon",Decagon:"decagon",Dodecagon:"dodecagon",Pie:"pie",PieWedge:"pieWedge",Chord:"chord",Teardrop:"teardrop",Frame:"frame",HalfFrame:"halfFrame",LShape:"corner",DiagonalStripe:"diagStripe",Cross:"plus",Plaque:"plaque",Can:"can",Cube:"cube",Bevel:"bevel",Donut:"donut",NoSymbol:"noSmoking",BlockArc:"blockArc",FoldedCorner:"foldedCorner",SmileyFace:"smileyFace",Heart:"heart",LightningBolt:"lightningBolt",Sun:"sun",Moon:"moon",Cloud:"cloud",Arc:"arc",DoubleBracket:"bracketPair",DoubleBrace:"bracePair",LeftBracket:"leftBracket",RightBracket:"rightBracket",LeftBrace:"leftBrace",RightBrace:"rightBrace",RightArrow:"rightArrow",LeftArrow:"leftArrow",UpArrow:"upArrow",DownArrow:"downArrow",LeftRightArrow:"leftRightArrow",UpDownArrow:"upDownArrow",QuadArrow:"quadArrow",LeftRightUpArrow:"leftRightUpArrow",BentArrow:"bentArrow",UTurnArrow:"uturnArrow",LeftUpArrow:"leftUpArrow",BentUpArrow:"bentUpArrow",CurvedRightArrow:"curvedRightArrow",CurvedLeftArrow:"curvedLeftArrow",CurvedUpArrow:"curvedUpArrow",CurvedDownArrow:"curvedDownArrow",StripedRightArrow:"stripedRightArrow",NotchedRightArrow:"notchedRightArrow",Pentagon:"homePlate",Chevron:"chevron",RightArrowCallout:"rightArrowCallout",LeftArrowCallout:"leftArrowCallout",UpArrowCallout:"upArrowCallout",DownArrowCallout:"downArrowCallout",LeftRightArrowCallout:"leftRightArrowCallout",UpDownArrowCallout:"upDownArrowCallout",QuadArrowCallout:"quadArrowCallout",CircularArrow:"circularArrow",LeftCircularArrow:"leftCircularArrow",LeftRightCircularArrow:"leftRightCircularArrow",SwooshArrow:"swooshArrow",MathPlus:"mathPlus",MathMinus:"mathMinus",MathMultiply:"mathMultiply",MathDivision:"mathDivide",MathEqual:"mathEqual",MathNotEqual:"mathNotEqual",FlowChartProcess:"flowChartProcess",FlowChartAlternateProcess:"flowChartAlternateProcess",FlowChartDecision:"flowChartDecision",FlowChartData:"flowChartInputOutput",FlowChartPredefinedProcess:"flowChartPredefinedProcess",FlowChartInternalStorage:"flowChartInternalStorage",FlowChartDocument:"flowChartDocument",FlowChartMultiDocument:"flowChartMultidocument",FlowChartTerminator:"flowChartTerminator",FlowChartPreparation:"flowChartPreparation",FlowChartManualInput:"flowChartManualInput",FlowChartManualOperation:"flowChartManualOperation",FlowChartConnector:"flowChartConnector",FlowChartOffPageConnector:"flowChartOffpageConnector",FlowChartCard:"flowChartPunchedCard",FlowChartPunchedTape:"flowChartPunchedTape",FlowChartSummingJunction:"flowChartSummingJunction",FlowChartOr:"flowChartOr",FlowChartCollate:"flowChartCollate",FlowChartSort:"flowChartSort",FlowChartExtract:"flowChartExtract",FlowChartMerge:"flowChartMerge",FlowChartStoredData:"flowChartOfflineStorage",FlowChartDelay:"flowChartDelay",FlowChartSequentialAccessStorage:"flowChartMagneticTape",FlowChartMagneticDisk:"flowChartMagneticDisk",FlowChartDirectAccessStorage:"flowChartMagneticDrum",FlowChartDisplay:"flowChartDisplay",FlowChartOnlineStorage:"flowChartOnlineStorage",Explosion1:"irregularSeal1",Explosion2:"irregularSeal2",Star4Point:"star4",Star5Point:"star5",Star6Point:"star6",Star7Point:"star7",Star8Point:"star8",Star10Point:"star10",Star12Point:"star12",Star16Point:"star16",Star24Point:"star24",Star32Point:"star32",UpRibbon:"ribbon",DownRibbon:"ribbon2",CurvedUpRibbon:"ellipseRibbon",CurvedDownRibbon:"ellipseRibbon2",LeftRightRibbon:"leftRightRibbon",VerticalScroll:"verticalScroll",HorizontalScroll:"horizontalScroll",Wave:"wave",DoubleWave:"doubleWave",RectangularCallout:"wedgeRectCallout",RoundedRectangularCallout:"wedgeRoundRectCallout",OvalCallout:"wedgeEllipseCallout",CloudCallout:"cloudCallout",LineCallout1:"callout1",LineCallout2:"callout2",LineCallout3:"callout3",LineCallout1AccentBar:"accentCallout1",LineCallout2AccentBar:"accentCallout2",LineCallout3AccentBar:"accentCallout3",LineCallout1NoBorder:"borderCallout1",LineCallout2NoBorder:"borderCallout2",LineCallout3NoBorder:"borderCallout3",LineCallout1BorderAndAccentBar:"accentBorderCallout1",LineCallout2BorderAndAccentBar:"accentBorderCallout2",LineCallout3BorderAndAccentBar:"accentBorderCallout3",StraightConnector:"straightConnector1",BentConnector2:"bentConnector2",BentConnector3:"bentConnector3",BentConnector4:"bentConnector4",BentConnector5:"bentConnector5",CurvedConnector2:"curvedConnector2",CurvedConnector3:"curvedConnector3",CurvedConnector4:"curvedConnector4",CurvedConnector5:"curvedConnector5",ActionButtonBlank:"actionButtonBlank",ActionButtonHome:"actionButtonHome",ActionButtonHelp:"actionButtonHelp",ActionButtonInformation:"actionButtonInformation",ActionButtonForwardNext:"actionButtonForwardNext",ActionButtonBackPrevious:"actionButtonBackPrevious",ActionButtonEnd:"actionButtonEnd",ActionButtonBeginning:"actionButtonBeginning",ActionButtonReturn:"actionButtonReturn",ActionButtonDocument:"actionButtonDocument",ActionButtonSound:"actionButtonSound",ActionButtonMovie:"actionButtonMovie",Gear6:"gear6",Gear9:"gear9",Funnel:"funnel",CornerTabs:"cornerTabs",SquareTabs:"squareTabs",PlaqueTabs:"plaqueTabs",ChartX:"chartX",ChartStar:"chartStar",ChartPlus:"chartPlus",Custom:"custom"},xx=ua(Sx),Cx=new Set(xx);function Ix(e){return Px(e)}var Vx=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Tx={Solid:"solid",Dot:"dot",Dash:"dash",LargeDash:"lgDash",DashDot:"dashDot",LargeDashDot:"lgDashDot",LargeDashDotDot:"lgDashDotDot",SystemDash:"sysDash",SystemDot:"sysDot",SystemDashDot:"sysDashDot",SystemDashDotDot:"sysDashDotDot",Unknown:"unknown"},kx=ua(Tx),Fx=kx.filter(function(e){return e!==Tx.Unknown}),Dx=new Set(kx),Ox=new Set(Fx);function Nx(e){return Dx.has(e)}function Ax(e){return Ox.has(e)}var Ex={Round:"rnd",Square:"sq",Flat:"flat"},Fx=ua(Ex),Lx={None:"none",Triangle:"triangle",Stealth:"stealth",Diamond:"diamond",Oval:"oval",Arrow:"arrow"},Rx=ua(Lx),Bx=["sm","med","lg"],_x={Solid:"solid",None:"none",Theme:"theme",Unknown:"unknown"},jx=new Set(Fx),Mx=new Set(Rx),zx=new Set(Bx),Ux=20116800;function Hx(e){return jx.has(e)}function Wx(e){return Mx.has(e)}function Gx(e){return zx.has(e)}function qx(e){return e.children.filter(function(e){return"element"===e.kind})}function Xx(e,t,r){return e.namespaceUri===t&&e.localName===r}function Yx(e,t,r){var n,i;try{for(var o=Vx(qx(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(Xx(l,t,r))return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Zx(e,t,r){var n,i;if(Xx(e,t,r))return e;try{for(var o=Vx(qx(e)),a=o.next();!a.done;a=o.next()){var l=Zx(a.value,t,r);if(void 0!==l)return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}var Kx=/^[0-9a-fA-F]{6}$/;function Jx(e){var e=Yx(e,P,"srgbClr");return void 0!==e&&void 0!==(e=null==(e=e.attributes.find(function(e){return""===e.namespaceUri&&"val"===e.localName}))?void 0:e.value)&&Kx.test(e)?e.toLowerCase():void 0}function $x(e){var e=Yx(e,P,"srgbClr");return void 0!==e&&void 0!==(e=Yx(e,P,"alpha"))&&void 0!==(e=null==(e=e.attributes.find(function(e){return""===e.namespaceUri&&"val"===e.localName}))?void 0:e.value)&&/^\d+$/.test(e)&&0<=(e=Number.parseInt(e,10))&&e<=1e5?e:void 0}function Qx(e){e=Math.max(0,Math.min(100,e));return Math.round(1e3*(100-e))}function eC(e){return void 0===e?0:(e=Math.max(0,Math.min(1e5,e)),Math.round(100-e/1e3))}function tC(e){var t,r,n,i=Zx(e,vC,"spPr");return void 0===i?{presetGeometry:void 0,useCustomGeometry:!1,fill:void 0,line:void 0,hasThemeStyle:!1}:(t=Yx(i,P,"prstGeom"),r=Yx(i,P,"custGeom"),{presetGeometry:void 0!==(n=void 0===t||null==(n=t.attributes.find(function(e){return""===e.namespaceUri&&"prst"===e.localName}))?void 0:n.value)&&Px(n)?n:void 0,useCustomGeometry:void 0===t&&void 0!==r,fill:function(e){if(void 0!==Yx(e,P,"noFill"))return{kind:"none"};var t=Yx(e,P,"solidFill");{var r;if(void 0!==t)return void 0===(r=Jx(t))?{kind:"theme"}:void 0!==(t=$x(t))?{kind:"solid",srgb:r,alpha:t}:{kind:"solid",srgb:r}}if(void 0!==Yx(e,P,"pattFill"))return{kind:"pattern",preset:void 0===(t=Yx(e,P,"pattFill"))||null==(r=t.attributes.find(function(e){return""===e.namespaceUri&&"prst"===e.localName}))?void 0:r.value}}(i),line:function(e){if(void 0===e)return{kind:"theme",widthEmu:void 0,srgbColor:void 0,alpha:void 0,dash:void 0,cap:void 0,beginArrowType:void 0,beginArrowSize:void 0,endArrowType:void 0,endArrowSize:void 0,residual:!1};var t=void 0!==Yx(e,P,"noFill"),r=Yx(e,P,"solidFill"),n=void 0!==r?"solid":"theme",i=null==(i=e.attributes.find(function(e){return""===e.namespaceUri&&"w"===e.localName}))?void 0:i.value,i=void 0!==i&&/^\d+$/.test(i)?Number.parseInt(i,10):void 0,o=null==(o=e.attributes.find(function(e){return""===e.namespaceUri&&"cap"===e.localName}))?void 0:o.value,a=Yx(e,P,"prstDash"),l=void 0===a||null==(l=a.attributes.find(function(e){return""===e.namespaceUri&&"val"===e.localName}))?void 0:l.value,s=rC(e,"headEnd"),u=rC(e,"tailEnd"),e=void 0!==Yx(e,P,"custDash")||void 0!==Yx(e,P,"round")||void 0!==Yx(e,P,"bevel")||void 0!==Yx(e,P,"miter")||void 0!==a&&void 0!==l&&!Ax(l);return{kind:t?"none":n,widthEmu:i,srgbColor:void 0!==r?Jx(r):void 0,alpha:void 0!==r?$x(r):void 0,dash:void 0!==l&&Ax(l)?l:void 0,cap:void 0!==o&&Hx(o)?o:void 0,beginArrowType:s.type,beginArrowSize:s.size,endArrowType:u.type,endArrowSize:u.size,residual:e}}(Yx(i,P,"ln")),hasThemeStyle:void 0!==Zx(e,vC,"style")})}function rC(e,t){var e=Yx(e,P,t);return void 0===e?{type:void 0,size:void 0}:(t=null==(t=e.attributes.find(function(e){return""===e.namespaceUri&&"type"===e.localName}))?void 0:t.value,e=null==(e=e.attributes.find(function(e){return""===e.namespaceUri&&"w"===e.localName}))?void 0:e.value,{type:void 0!==t&&Wx(t)?t:void 0,size:void 0!==e&&Gx(e)?e:void 0})}function nC(e,t){return{kind:"element",namespaceUri:P,localName:"solidFill",prefix:"a",attributes:[],namespaceDeclarations:[],children:[(e=e,r=[],void 0!==(t=t)&&0<=t&&t<1e5&&r.push({kind:"element",namespaceUri:P,localName:"alpha",prefix:"a",attributes:[{namespaceUri:"",localName:"val",prefix:"",value:String(Math.round(t))}],namespaceDeclarations:[],children:[]}),{kind:"element",namespaceUri:P,localName:"srgbClr",prefix:"a",attributes:[{namespaceUri:"",localName:"val",prefix:"",value:e.toLowerCase()}],namespaceDeclarations:[],children:r})]};var r}function iC(){return{kind:"element",namespaceUri:P,localName:"noFill",prefix:"a",attributes:[],namespaceDeclarations:[],children:[]}}function oC(e){if("solid"===e.kind)return nC(e.srgb,e.alpha);if("none"===e.kind)return iC();throw new J("content/invalid-shape",'Only solid or noFill can be authored; kind "'+String(e.kind)+'" is residual')}function aC(e,t,r){var n;if(void 0!==t||void 0!==r)return n=[],void 0!==t&&n.push({namespaceUri:"",localName:"type",prefix:"",value:t}),void 0!==r&&n.push({namespaceUri:"",localName:"w",prefix:"",value:r}),{kind:"element",namespaceUri:P,localName:e,prefix:"a",attributes:n,namespaceDeclarations:[],children:[]}}function lC(e){var t=[];if(void 0!==e.widthEmu){if(e.widthEmu<0||e.widthEmu>Ux)throw new J("content/invalid-shape","Line width "+String(e.widthEmu)+" EMU outside ST_LineWidth range 0…20116800");t.push({namespaceUri:"",localName:"w",prefix:"",value:String(e.widthEmu)})}void 0!==e.cap&&t.push({namespaceUri:"",localName:"cap",prefix:"",value:e.cap});var r=[];if("solid"===e.kind){if(void 0===e.srgb)throw new J("content/invalid-shape","Solid line requires an sRGB color");r.push(nC(e.srgb,e.alpha))}else r.push(iC());void 0!==e.dash&&r.push({kind:"element",namespaceUri:P,localName:"prstDash",prefix:"a",attributes:[{namespaceUri:"",localName:"val",prefix:"",value:e.dash}],namespaceDeclarations:[],children:[]});var n=aC("headEnd",e.beginArrowType,e.beginArrowSize),n=(void 0!==n&&r.push(n),aC("tailEnd",e.endArrowType,e.endArrowSize));return void 0!==n&&r.push(n),{kind:"element",namespaceUri:P,localName:"ln",prefix:"a",attributes:t,namespaceDeclarations:[],children:r}}var sC={Single:"single"},uC={None:"none",Triangle:"triangle",Stealth:"stealth",Diamond:"diamond",Oval:"oval",Arrow:"arrow"},cC=function(){return(cC=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},dC=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},hC=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},pC=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(hC(arguments[t]));return e},f="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",P="http://schemas.openxmlformats.org/drawingml/2006/main",fC="http://schemas.openxmlformats.org/officeDocument/2006/relationships",vC="http://schemas.microsoft.com/office/word/2010/wordprocessingShape",mC="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",yC="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",gC="urn:schemas-microsoft-com:vml",bC="urn:schemas-microsoft-com:office:word",wC=di,PC=12700,SC=6e4;function xC(e){return e.children.filter(function(e){return"element"===e.kind})}function CC(e,t,r){return e.namespaceUri===t&&e.localName===r}function g(e,t,r){var n,i;if(CC(e,t,r))return e;try{for(var o=dC(xC(e)),a=o.next();!a.done;a=o.next()){var l=g(a.value,t,r);if(void 0!==l)return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function IC(e,t,r){e=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r});return null==e?void 0:e.value}function S(e,t,r,n){return{kind:"element",namespaceUri:e,localName:r,prefix:t,attributes:null!=(e=null==n?void 0:n.attributes)?e:[],namespaceDeclarations:null!=(r=null==n?void 0:n.namespaceDeclarations)?r:[],children:null!=(t=null==n?void 0:n.children)?t:[]}}function I(e,t,r,n){return{namespaceUri:r=void 0===r?"":r,localName:e,prefix:n=void 0===n?"":n,value:t}}function VC(e){return{kind:"element",namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,attributes:e.attributes.map(function(e){return cC({},e)}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return cC({},e)}),children:e.children.map(function(e){return"element"===e.kind?VC(e):{kind:"text",value:e.value}})}}function TC(e){var t=[I("id",String(e.docPrId)),I("name",e.name)];return void 0!==e.title&&0<e.title.length&&t.push(I("title",e.title)),void 0!==e.description&&0<e.description.length&&t.push(I("descr",e.description)),S(f,"wp","docPr",{attributes:t})}function kC(){return S(f,"wp","effectExtent",{attributes:[I("l","0"),I("t","0"),I("r","0"),I("b","0")]})}function FC(e){var t=[];return 0!==e.rotation&&t.push(I("rot",String(Math.round(e.rotation*SC)))),e.flipHorizontal&&t.push(I("flipH","1")),e.flipVertical&&t.push(I("flipV","1")),t}function DC(e){e=e?[I("noChangeAspect","1")]:[];return S(f,"wp","cNvGraphicFramePr",{children:[S(P,"a","graphicFrameLocks",{attributes:e})]})}function OC(e,t){var r,n,i,o,a,l,s,u,c,d=[];if(d.push((c=null!=(a=e).rotation?a.rotation:0,l=null!=a.flipHorizontal&&a.flipHorizontal,s=null!=a.flipVertical&&a.flipVertical,u=S(P,"a","off",{attributes:[I("x","0"),I("y","0")]}),a=S(P,"a","ext",{attributes:[I("cx",String(a.widthEmu)),I("cy",String(a.heightEmu))]}),S(P,"a","xfrm",{attributes:FC({rotation:c,flipHorizontal:l,flipVertical:s}),children:[u,a]}))),d.push(S(P,"a","prstGeom",{attributes:[I("prst",e.presetGeometry)],children:[S(P,"a","avLst")]})),void 0!==e.fill)d.push(oC(e.fill));else try{for(var h=dC(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]),p=h.next();!p.done;p=h.next()){var f=p.value,v=void 0!==t?Yx(t,P,f):void 0;if(void 0!==v){d.push(v);break}}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}void 0!==e.line?d.push(lC(e.line)):void 0!==t&&void 0!==(c=Yx(t,P,"ln"))&&d.push(c);var m=[];if(void 0!==t){var y=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]);try{for(var g=dC(t.children.filter(function(e){return"element"===e.kind})),b=g.next();!b.done;b=g.next()){var w=b.value;CC(w,P,"xfrm")||CC(w,P,"prstGeom")||CC(w,P,"custGeom")||CC(w,P,"ln")||w.namespaceUri===P&&y.has(w.localName)||m.push(w)}}catch(e){i={error:e}}finally{try{b&&!b.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}}return d.push.apply(d,pC(m)),d}function NC(){return S(vC,"wps","bodyPr")}function AC(e){if(void 0!==e)return g(e,vC,"spPr")}function EC(e){return S(vC,"wps","txbx",{children:[S(dn,"w","txbxContent",{namespaceDeclarations:[{prefix:"w",namespaceUri:dn}],children:e})]})}function LC(e){return Ku(e)}function RC(e,t){return Zu(e.children,t)}function BC(e){var t,r;if(void 0!==e){e=g(e,vC,"wsp");if(void 0!==e)try{for(var n=dC(xC(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(CC(o,vC,"txbx")||CC(o,vC,"linkedTxbx"))return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}return!1}function _C(e){var t=null!=e.groupChildElements?e.groupChildElements:[],r=S(mC,"wpg","cNvGrpSpPr"),n=[S(P,"a","off",{attributes:[I("x","0"),I("y","0")]}),S(P,"a","ext",{attributes:[I("cx",String(e.widthEmu)),I("cy",String(e.heightEmu))]}),S(P,"a","chOff",{attributes:[I("x","0"),I("y","0")]}),S(P,"a","chExt",{attributes:[I("cx",String(e.widthEmu)),I("cy",String(e.heightEmu))]})],i=[],e=(void 0!==e.rotation&&0!==e.rotation&&i.push(I("rot",String(Math.round(6e4*e.rotation)))),!0===e.flipHorizontal&&i.push(I("flipH","1")),!0===e.flipVertical&&i.push(I("flipV","1")),S(P,"a","xfrm",{attributes:i,children:n})),i=S(mC,"wpg","grpSpPr",{children:[e]});return S(mC,"wpg","wgp",{namespaceDeclarations:[{prefix:"wpg",namespaceUri:mC}],children:pC([r,i],t)})}function jC(e){var t=AC(e.preservedHost),t=S(vC,"wps","spPr",{children:OC(e,t)}),r=void 0!==e.txbxContent||BC(e.preservedHost),r=S(vC,"wps","cNvSpPr",{attributes:r?[I("txBox","1")]:[]}),n=[I("id",String(e.docPrId)),I("name",e.name)],n=(void 0!==e.title&&0<e.title.length&&n.push(I("title",e.title)),void 0!==e.description&&0<e.description.length&&n.push(I("descr",e.description)),S(vC,"wps","cNvPr",{attributes:n})),i=void 0!==e.preservedHost?g(e.preservedHost,vC,"style"):void 0,r=[r,n,t],n=(void 0!==i&&r.push(VC(i)),void 0!==e.preservedHost?g(e.preservedHost,vC,"txbx"):void 0),t=void 0!==e.preservedHost?g(e.preservedHost,vC,"linkedTxbx"):void 0,i=(void 0!==e.txbxContent?r.push(EC(e.txbxContent)):void 0!==n?r.push(VC(n)):void 0!==t&&r.push(VC(t)),void 0!==e.preservedHost?g(e.preservedHost,vC,"bodyPr"):void 0);return r.push(null!=(n=null!=e.bodyPr?e.bodyPr:i)?n:NC()),S(vC,"wps","wsp",{namespaceDeclarations:[{prefix:"wps",namespaceUri:vC}],children:r})}function MC(e){var t,r,n;return void 0!==e.groupChildElements?(t=S(P,"a","graphicData",{attributes:[I("uri",mC)],children:[_C(e)]}),S(P,"a","graphic",{namespaceDeclarations:[{prefix:"a",namespaceUri:P}],children:[t]})):(e=S(P,"a","graphicData",{attributes:[I("uri",vC)],children:[(e=AC((t=e).preservedHost),e=S(vC,"wps","spPr",{children:OC(t,e)}),r=void 0!==t.txbxContent||BC(t.preservedHost),r=S(vC,"wps","cNvSpPr",{attributes:r?[I("txBox","1")]:[]}),n=void 0!==t.preservedHost?g(t.preservedHost,vC,"style"):void 0,r=[r,e],void 0!==n&&r.push(VC(n)),e=void 0!==t.preservedHost?g(t.preservedHost,vC,"txbx"):void 0,n=void 0!==t.preservedHost?g(t.preservedHost,vC,"linkedTxbx"):void 0,void 0!==t.txbxContent?r.push(EC(t.txbxContent)):void 0!==e?r.push(VC(e)):void 0!==n&&r.push(VC(n)),e=void 0!==t.preservedHost?g(t.preservedHost,vC,"bodyPr"):void 0,r.push(null!=(n=null!=t.bodyPr?t.bodyPr:e)?n:NC()),S(vC,"wps","wsp",{namespaceDeclarations:[{prefix:"wps",namespaceUri:vC}],children:r}))]}),S(P,"a","graphic",{namespaceDeclarations:[{prefix:"a",namespaceUri:P}],children:[e]}))}function zC(e,t){return"inline"===t?V.Inline:void 0!==g(e,f,"wrapNone")?V.None:void 0!==g(e,f,"wrapSquare")?V.Square:void 0!==g(e,f,"wrapTight")?V.Tight:void 0!==g(e,f,"wrapThrough")?V.Through:void 0!==g(e,f,"wrapTopAndBottom")?V.TopAndBottom:V.None}function UC(e){return void 0===e||void 0===(e=IC(e,"","wrapText"))||""===e.trim()?cx.Both:yx(e=e.trim())?e:cx.Unknown}function HC(e,t,r){var n;if(void 0!==t&&(e===V.Tight&&"wrapTight"===t.localName||e===V.Through&&"wrapThrough"===t.localName||e===V.Square&&"wrapSquare"===t.localName||e===V.None&&"wrapNone"===t.localName||e===V.TopAndBottom&&"wrapTopAndBottom"===t.localName)&&void 0!==t){if(a=t,void 0===(n=r)||n===cx.Unknown||!yx(n)||"wrapNone"===a.localName||"wrapTopAndBottom"===a.localName||UC(a)===n)return t;if(void 0===r||!yx(r)||e!==V.Square&&e!==V.Tight&&e!==V.Through)return t;var i,o,a=t,l=r,s=[],u=!1;try{for(var c=dC(a.attributes),d=c.next();!d.done;d=c.next()){var h=d.value;""===h.namespaceUri&&"wrapText"===h.localName?(s.push(I("wrapText",l)),u=!0):s.push(cC({},h))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return u||s.push(I("wrapText",l)),{kind:"element",namespaceUri:a.namespaceUri,localName:a.localName,prefix:a.prefix,attributes:s,namespaceDeclarations:a.namespaceDeclarations.map(function(e){return cC({},e)}),children:a.children.slice()}}var p=void 0!==r&&yx(r)?r:cx.Both;switch(e){case V.None:return S(f,"wp","wrapNone");case V.Square:return S(f,"wp","wrapSquare",{attributes:[I("wrapText",p)]});case V.TopAndBottom:return S(f,"wp","wrapTopAndBottom");case V.Tight:case V.Through:case V.Inline:default:return S(f,"wp","wrapNone")}}function WC(r){var t,e;if(void 0!==r)try{for(var n=dC(["wrapNone","wrapSquare","wrapTight","wrapThrough","wrapTopAndBottom"]),i=n.next();!i.done;i=n.next()){var o=function(t){var e=xC(r).find(function(e){return CC(e,f,t)});if(void 0!==e)return{value:e}}(i.value);if("object"==typeof o)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}function GC(e){return void 0===e?{positionH:void 0,positionV:void 0}:{positionH:xC(e).find(function(e){return CC(e,f,"positionH")}),positionV:xC(e).find(function(e){return CC(e,f,"positionV")})}}function qC(e){if(void 0!==e)return xC(e).find(function(e){return CC(e,f,"effectExtent")})}function XC(e){var t=void 0!==e.horizontalOrigin?e.horizontalOrigin:AS.Column,e=void 0!==e.horizontalAlignment&&$S(e.horizontalAlignment)?S(f,"wp","align",{children:[{kind:"text",value:e.horizontalAlignment}]}):S(f,"wp","posOffset",{children:[{kind:"text",value:String(null!=e.horizontalPositionEmu?e.horizontalPositionEmu:0)}]});return S(f,"wp","positionH",{attributes:[I("relativeFrom",t)],children:[e]})}function YC(e){var t=void 0!==e.verticalOrigin?e.verticalOrigin:ES.Paragraph,e=void 0!==e.verticalAlignment&&ex(e.verticalAlignment)?S(f,"wp","align",{children:[{kind:"text",value:e.verticalAlignment}]}):S(f,"wp","posOffset",{children:[{kind:"text",value:String(null!=e.verticalPositionEmu?e.verticalPositionEmu:0)}]});return S(f,"wp","positionV",{attributes:[I("relativeFrom",t)],children:[e]})}function ZC(e,t){var r,n;if(void 0===e)return[];var i=[];try{for(var o=dC(t),a=o.next();!a.done;a=o.next()){var l=a.value,s=IC(e,"",l);void 0!==s&&i.push(I(l,s))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function KC(e,t){e=IC(e,"",t);if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function JC(e,t){e=IC(e,"",t);return"1"===e||"true"===e}function $C(e){var t,r,n="";try{for(var i=dC(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function QC(e){if(void 0!==e){e=xC(e).find(function(e){return CC(e,f,"posOffset")});if(void 0!==e){e=$C(e).trim();if(/^-?\d+$/.test(e))return Number.parseInt(e,10)}}}function eI(e){e=QC(e);return void 0!==e&&0<=e?uo(e):void 0}function tI(e,t){if(void 0!==e)return void 0===(e=xC(e).find(function(e){return CC(e,f,"align")}))?("h"===t?LS:_S).None:(e=$C(e).trim(),"h"===t?$S(e)?e:LS.Unknown:ex(e)?e:_S.Unknown)}function rI(e){var t=null!=(t=FI(e))?t:e,e=g(t,f,"inline"),r=g(t,f,"anchor"),n=null!=e?e:r,e=void 0!==e?"inline":void 0!==r?"anchor":void 0,r=void 0!==n&&void 0!==e?zC(n,e):V.None,i=void 0!==n?WC(n):void 0,i=r===V.Square||r===V.Tight||r===V.Through?UC(i):cx.Both,t=g(t,P,"prstGeom"),t=void 0!==t?IC(t,"","prst"):void 0,o={behindDocument:"anchor"===e&&void 0!==n&&JC(n,"behindDoc"),lockAnchor:"anchor"===e&&void 0!==n&&JC(n,"locked"),allowOverlap:"anchor"===e&&void 0!==n&&JC(n,"allowOverlap"),layoutInCell:"anchor"===e&&void 0!==n&&JC(n,"layoutInCell")};return cC(void 0===n?{placement:e,wrapping:r,wrapType:cx.Both,distanceTopEmu:void 0,distanceBottomEmu:void 0,distanceLeftEmu:void 0,distanceRightEmu:void 0}:{placement:e,wrapping:r,wrapType:i,distanceTopEmu:KC(n,"distT"),distanceBottomEmu:KC(n,"distB"),distanceLeftEmu:KC(n,"distL"),distanceRightEmu:KC(n,"distR")},o,{presetGeometry:t})}function nI(e){var t=null!=(t=FI(e))?t:e,e=g(t,f,"inline"),t=g(t,f,"anchor"),e=null!=e?e:t,t=void 0!==e?xC(e).find(function(e){return CC(e,f,"positionH")}):void 0,e=void 0!==e?xC(e).find(function(e){return CC(e,f,"positionV")}):void 0,r=void 0!==t?IC(t,"","relativeFrom"):void 0,n=void 0!==e?IC(e,"","relativeFrom"):void 0;return{horizontalOrigin:void 0!==r&&ZS(r)?r:void 0,verticalOrigin:void 0!==n&&KS(n)?n:void 0,horizontalPosition:eI(t),verticalPosition:eI(e),horizontalPositionEmu:QC(t),verticalPositionEmu:QC(e),horizontalAlignment:tI(t,"h"),verticalAlignment:tI(e,"v")}}function iI(e,t){return t===V.Inline?"inline":void 0!==t?"anchor":e}function oI(e,t){return void 0===t?"inline"===e?V.Inline:V.None:"anchor"===e&&t===V.Inline?V.None:"inline"===e?V.Inline:t}function aI(e){var t,r,n,i=void 0!==e.preservedHost?g(e.preservedHost,f,"anchor"):void 0,o=[I("distT",String(null!=e.distanceTopEmu?e.distanceTopEmu:0)),I("distB",String(null!=e.distanceBottomEmu?e.distanceBottomEmu:0)),I("distL",String(null!=e.distanceLeftEmu?e.distanceLeftEmu:114300)),I("distR",String(null!=e.distanceRightEmu?e.distanceRightEmu:114300)),I("simplePos","0"),I("relativeHeight","251658240"),I("behindDoc",!0===e.behindDocument?"1":"0"),I("locked",!0===e.lockAnchor?"1":"0"),I("layoutInCell",!1===e.layoutInCell?"0":"1"),I("allowOverlap",!1===e.allowOverlap?"0":"1")],a=void 0!==e.distanceTopEmu||void 0!==e.distanceBottomEmu||void 0!==e.distanceLeftEmu||void 0!==e.distanceRightEmu||void 0!==e.behindDocument||void 0!==e.lockAnchor||void 0!==e.allowOverlap||void 0!==e.layoutInCell||!0===e.layoutDirty,l=(a=(a||void 0===i)&&(void 0===i||a)?void 0!==i?(a=ZC(i,["simplePos","relativeHeight","hidden"]),pC([I("distT",String(null!=(l=null!=e.distanceTopEmu?e.distanceTopEmu:KC(i,"distT"))?l:0)),I("distB",String(null!=(l=null!=e.distanceBottomEmu?e.distanceBottomEmu:KC(i,"distB"))?l:0)),I("distL",String(null!=(l=null!=e.distanceLeftEmu?e.distanceLeftEmu:KC(i,"distL"))?l:114300)),I("distR",String(null!=(l=null!=e.distanceRightEmu?e.distanceRightEmu:KC(i,"distR"))?l:114300))],0<a.length?a:[I("simplePos","0"),I("relativeHeight","251658240")],[I("behindDoc",void 0!==e.behindDocument?e.behindDocument?"1":"0":JC(i,"behindDoc")?"1":"0"),I("locked",void 0!==e.lockAnchor?e.lockAnchor?"1":"0":JC(i,"locked")?"1":"0"),I("allowOverlap",void 0!==e.allowOverlap?e.allowOverlap?"1":"0":JC(i,"allowOverlap")?"1":"0"),I("layoutInCell",void 0!==e.layoutInCell?e.layoutInCell?"1":"0":JC(i,"layoutInCell")?"1":"0")])):o:0<(l=ZC(i,["distT","distB","distL","distR","simplePos","relativeHeight","behindDoc","locked","layoutInCell","allowOverlap","hidden"])).length?l:o,WC(i)),o=null!=(o=qC(i))?o:kC(),s=i?xC(i).find(function(e){return CC(e,f,"simplePos")}):void 0,u=GC(i),c=!0===e.layoutDirty||void 0===i,d=oI("anchor",null!=e.wrapping?e.wrapping:V.None),h=lI(e),d=(u=c?(t=null!=s?s:S(f,"wp","simplePos",{attributes:[I("x","0"),I("y","0")]}),r=h.horizontal?XC(e):null!=u.positionH?u.positionH:S(f,"wp","positionH",{attributes:[I("relativeFrom",AS.Column)],children:[S(f,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),n=h.vertical?YC(e):null!=u.positionV?u.positionV:S(f,"wp","positionV",{attributes:[I("relativeFrom",ES.Paragraph)],children:[S(f,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),HC(d,l,e.wrapType)):(c=xC(i).find(function(e){return CC(e,f,"positionH")}),h=xC(i).find(function(e){return CC(e,f,"positionV")}),t=null!=s?s:S(f,"wp","simplePos",{attributes:[I("x","0"),I("y","0")]}),r=null!=c?c:S(f,"wp","positionH",{attributes:[I("relativeFrom","column")],children:[S(f,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),n=null!=h?h:S(f,"wp","positionV",{attributes:[I("relativeFrom","paragraph")],children:[S(f,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),null!=l?l:S(f,"wp","wrapNone")),[{prefix:"wp",namespaceUri:f},{prefix:"a",namespaceUri:P},{prefix:"wps",namespaceUri:vC}]);return void 0!==e.groupChildElements&&d.push({prefix:"wpg",namespaceUri:mC}),S(f,"wp","anchor",{namespaceDeclarations:d,attributes:a,children:[t,r,n,S(f,"wp","extent",{attributes:[I("cx",String(e.widthEmu)),I("cy",String(e.heightEmu))]}),o,u,TC(e),DC(null==e.lockAspectRatio||e.lockAspectRatio),MC(e)]})}function lI(e){return{horizontal:!0===e.horizontalModeled,vertical:!0===e.verticalModeled}}function sI(e){return"1"===e||"true"===e}function uI(e){if(void 0!==e){var t=IC(e,"","cx"),e=IC(e,"","cy");if(void 0!==t&&void 0!==e&&/^\d+$/.test(t)&&/^\d+$/.test(e))return{widthEmu:Number.parseInt(t,10),heightEmu:Number.parseInt(e,10)}}}function cI(e){var t=g(e,f,"inline"),e=g(e,f,"anchor");return null!=t?t:e}function dI(e){var t,r,n,i=null!=(i=FI(e))?i:te(e,"drawing")?e:void 0;return void 0===i?{widthEmu:void 0,heightEmu:void 0,rotation:0,flipHorizontal:!1,flipVertical:!1,lockAspectRatio:!1}:(t=uI(void 0!==(e=cI(i))?g(e,f,"extent"):void 0),r=void 0===(i=g(i=i,P,"xfrm"))?{rotation:0,flipHorizontal:!1,flipVertical:!1,ext:void 0}:(r=void 0!==(r=IC(i,"","rot"))&&/^-?\d+$/.test(r)?Number.parseInt(r,10)/SC:0,n=xC(i).find(function(e){return CC(e,P,"ext")}),{rotation:r,flipHorizontal:sI(IC(i,"","flipH")),flipVertical:sI(IC(i,"","flipV")),ext:uI(n)}),{widthEmu:null!=(i=null==t?void 0:t.widthEmu)?i:null==r.ext?void 0:r.ext.widthEmu,heightEmu:null!=(n=null==t?void 0:t.heightEmu)?n:null==r.ext?void 0:r.ext.heightEmu,rotation:r.rotation,flipHorizontal:r.flipHorizontal,flipVertical:r.flipVertical,lockAspectRatio:void 0!==e&&void 0!==(i=g(i=e,P,"graphicFrameLocks"))&&sI(IC(i,"","noChangeAspect"))})}function hI(e,t){t=t(pC(e.attributes));e.attributes=t}function pI(e,u,c){hI(e,function(e){var t,r,n=[],i=!1,o=!1;try{for(var a=dC(e),l=a.next();!l.done;l=a.next()){var s=l.value;""===s.namespaceUri&&"cx"===s.localName?(i=!0,n.push(I("cx",String(u)))):""===s.namespaceUri&&"cy"===s.localName?(o=!0,n.push(I("cy",String(c)))):n.push(s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i||n.push(I("cx",String(u))),o||n.push(I("cy",String(c))),n})}function fI(e,t){var l,r,n,i,o=g(e,P,"xfrm");void 0!==o?(l=t,hI(r=o,function(e){var t,r,n=[];try{for(var i=dC(e),o=i.next();!o.done;o=i.next()){var a=o.value;""!==a.namespaceUri?n.push(a):"rot"!==a.localName&&"flipH"!==a.localName&&"flipV"!==a.localName&&n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return pC(n,FC(l))}),void 0===(i=xC(r).find(function(e){return CC(e,P,"ext")}))?(i=S(P,"a","ext",{attributes:[I("cx",String(l.widthEmu)),I("cy",String(l.heightEmu))]}),n=pC(r.children,[i]),r.children=n):pI(i,l.widthEmu,l.heightEmu)):void 0!==(r=g(e,vC,"spPr"))&&(n=S(P,"a","off",{attributes:[I("x","0"),I("y","0")]}),i=S(P,"a","ext",{attributes:[I("cx",String(t.widthEmu)),I("cy",String(t.heightEmu))]}),o=S(P,"a","xfrm",{attributes:FC(t),children:[n,i]}),r.children=pC([o],r.children))}function vI(e){e=Math.round(1e3*(e/PC))/1e3;return String(e)+"pt"}function mI(e){return 0===e?"0":vI(e)}function yI(e){e=e.startsWith("#")?e.slice(1):e;if(/^[0-9A-Fa-f]{6}$/.test(e))return"#"+e.toLowerCase()}function gI(e){if(void 0!==e)switch(e){case"none":return"none";case"triangle":return"block";case"diamond":return"diamond";case"oval":return"oval";default:return}}function bI(e){if(void 0!==e)switch(e){case"sm":return"narrow";case"med":return"medium";case"lg":return"wide";default:return}}function wI(e){if(void 0!==e)switch(e){case"sm":return"short";case"med":return"medium";case"lg":return"long";default:return}}function PI(e){switch(e){case V.Square:return{w10Type:"square",msoWrapStyle:"square"};case V.None:return{w10Type:"none",msoWrapStyle:"none"};case V.Tight:return{w10Type:"tight",msoWrapStyle:void 0};case V.Through:return{w10Type:"through",msoWrapStyle:void 0};case V.TopAndBottom:return{w10Type:"topAndBottom",msoWrapStyle:void 0};default:V.Inline;return{w10Type:void 0,msoWrapStyle:void 0}}}function SI(e){switch(e){case AS.Margin:return"margin";case AS.Page:return"page";case AS.Column:return"text";case AS.Character:return"char";case AS.LeftMargin:case AS.RightMargin:case AS.InsideMargin:case AS.OutsideMargin:default:return}}function xI(e){switch(e){case ES.Margin:return"margin";case ES.Page:return"page";case ES.Paragraph:return"text";case ES.Line:return"line";case ES.TopMargin:case ES.BottomMargin:case ES.InsideMargin:case ES.OutsideMargin:default:return}}function CI(e){var t,r,n,e=e.line;if(void 0!==e)return t=[],"none"===e.kind?t.push(I("on","f")):(void 0!==(n=function(e){if(void 0!==e)switch(e){case"rnd":return"round";case"sq":return"square";case"flat":return"flat";default:return}}(e.cap))&&t.push(I("endcap",n)),void 0!==(n=function(e){if(void 0!==e&&"unknown"!==e)switch(e){case"solid":return"solid";case"dash":case"lgDash":case"sysDash":return"dash";case"dot":case"sysDot":return"dot";case"dashDot":case"lgDashDot":case"sysDashDot":return"dashDot";case"lgDashDotDot":case"sysDashDotDot":return"dashDotDot";default:return}}(e.dash))&&"solid"!==n&&t.push(I("dashstyle",n)),void 0!==e.widthEmu&&t.push(I("weight",vI(e.widthEmu))),void 0!==(n=yI(e.srgb))&&t.push(I("color",n)),void 0!==(n=gI(e.beginArrowType))&&"none"!==n&&(t.push(I("startarrow",n)),n=bI(e.beginArrowSize),r=wI(e.beginArrowSize),void 0!==n&&t.push(I("startarrowwidth",n)),void 0!==r)&&t.push(I("startarrowlength",r)),void 0!==(n=gI(e.endArrowType))&&"none"!==n&&(t.push(I("endarrow",n)),r=bI(e.endArrowSize),n=wI(e.endArrowSize),void 0!==r&&t.push(I("endarrowwidth",r)),void 0!==n)&&t.push(I("endarrowlength",n))),t.push(I("joinstyle","miter")),S(gC,"v","stroke",{attributes:t})}function II(e){var t=iI(e.placement,e.wrapping),r=oI(t,e.wrapping),n=[I("style",function(e){var t,r=iI(e.placement,e.wrapping),n=oI(r,e.wrapping),i=[];"anchor"===r&&(i.push("position:absolute"),t=null!=e.horizontalPositionEmu?e.horizontalPositionEmu:0,o=null!=e.verticalPositionEmu?e.verticalPositionEmu:0,i.push("margin-left:"+vI(t)),i.push("margin-top:"+vI(o))),i.push("width:"+vI(e.widthEmu)),i.push("height:"+vI(e.heightEmu)),"anchor"===r&&(t=!0===e.behindDocument?-251658240:251658240,i.push("z-index:"+String(t)),i.push("visibility:visible"),void 0!==(o=PI(n)).msoWrapStyle&&i.push("mso-wrap-style:"+o.msoWrapStyle),r=null!=e.distanceLeftEmu?e.distanceLeftEmu:114300,t=null!=e.distanceTopEmu?e.distanceTopEmu:0,n=null!=e.distanceRightEmu?e.distanceRightEmu:114300,o=null!=e.distanceBottomEmu?e.distanceBottomEmu:0,i.push("mso-wrap-distance-left:"+mI(r)),i.push("mso-wrap-distance-top:"+mI(t)),i.push("mso-wrap-distance-right:"+mI(n)),i.push("mso-wrap-distance-bottom:"+mI(o)),i.push("mso-position-horizontal:absolute"),t=null!=(r=SI(e.horizontalOrigin))?r:"text",i.push("mso-position-horizontal-relative:"+t),i.push("mso-position-vertical:absolute"),o=null!=(n=xI(e.verticalOrigin))?n:"text",i.push("mso-position-vertical-relative:"+o));0!==(r=null!=e.rotation?e.rotation:0)&&(t=Math.round(1e3*r)/1e3,i.push("rotation:"+String(t)));var n=!0===e.flipHorizontal,o=!0===e.flipVertical;return n&&o?i.push("flip:xy"):n?i.push("flip:x"):o&&i.push("flip:y"),void 0!==e.bodyPr&&xC(e.bodyPr).some(function(e){return e.namespaceUri===P&&"spAutoFit"===e.localName})&&i.push("mso-fit-shape-to-text:t"),i.join(";")}(e)),I("id","Shape"+String(e.docPrId))],i=(void 0!==e.fill&&("none"===e.fill.kind?n.push(I("filled","f")):void 0!==(i=yI(e.fill.srgb))&&(n.push(I("filled","t")),n.push(I("fillcolor",i)))),void 0!==e.line&&("none"===e.line.kind?n.push(I("stroked","f")):(n.push(I("stroked","t")),void 0!==(i=yI(e.line.srgb))&&n.push(I("strokecolor",i)),void 0!==e.line.widthEmu&&n.push(I("strokeweight",vI(e.line.widthEmu))))),[]),o=(void 0!==e.fill&&"solid"===e.fill.kind&&void 0!==(o=e.fill).alpha&&0<(a=Math.round(100-o.alpha/1e3))&&a<=100&&(l=[],void 0!==(o=yI(o.srgb))&&l.push(I("color",o)),l.push(I("opacity",String(100-a)+"%")),i.push(S(gC,"v","fill",{attributes:l}))),CI(e)),a=(void 0!==o&&i.push(o),PI(r)),l=!1,a=("anchor"===t&&void 0!==a.w10Type&&(o=[I("type",a.w10Type)],r=SI(e.horizontalOrigin),a=xI(e.verticalOrigin),void 0!==r&&o.push(I("anchorx",r)),void 0!==a&&o.push(I("anchory",a)),i.push(S(bC,"w10","wrap",{attributes:o})),l=!0),"anchor"===t&&!0===e.lockAnchor&&(i.push(S(bC,"w10","anchorlock",{})),l=!0),void 0!==e.txbxContent&&(r=[],void 0!==(a=function(e){if(void 0!==e){var t,r=IC(e,"","lIns"),n=IC(e,"","tIns"),i=IC(e,"","rIns"),e=IC(e,"","bIns");if(void 0!==r||void 0!==n||void 0!==i||void 0!==e)return vI((t=function(e){return void 0!==e&&""!==e&&(e=Number(e),Number.isFinite(e))?e:0})(r))+","+vI(t(n))+","+vI(t(i))+","+vI(t(e))}}(e.bodyPr))&&r.push(I("inset",a)),o=void 0,o=1===(t=e.txbxContent.map(VC)).length&&void 0!==t[0]&&te(t[0],"txbxContent")?t:[b("txbxContent",{children:t})],i.push(S(gC,"v","textbox",{attributes:r,children:o}))),[{prefix:"v",namespaceUri:gC}]),e=(l&&a.push({prefix:"w10",namespaceUri:bC}),S(gC,"v","shape",{attributes:n,children:i}));return b("pict",{namespaceDeclarations:a,children:[e]})}function VI(e){var t,r,n,i,o,a=iI(e.placement,e.wrapping),l=oI(a,e.wrapping),e=cC({},e,{placement:a,wrapping:l});return b("drawing",{children:["inline"===a?(a=null!=(a=qC(void 0!==(l=e).preservedHost?g(l.preservedHost,f,"inline"):void 0))?a:kC(),t=null!=l.distanceTopEmu?l.distanceTopEmu:0,r=null!=l.distanceBottomEmu?l.distanceBottomEmu:0,n=null!=l.distanceLeftEmu?l.distanceLeftEmu:0,i=null!=l.distanceRightEmu?l.distanceRightEmu:0,o=[{prefix:"wp",namespaceUri:f},{prefix:"a",namespaceUri:P},{prefix:"wps",namespaceUri:vC}],void 0!==l.groupChildElements&&o.push({prefix:"wpg",namespaceUri:mC}),S(f,"wp","inline",{namespaceDeclarations:o,attributes:[I("distT",String(t)),I("distB",String(r)),I("distL",String(n)),I("distR",String(i))],children:[S(f,"wp","extent",{attributes:[I("cx",String(l.widthEmu)),I("cy",String(l.heightEmu))]}),a,TC(l),DC(null==l.lockAspectRatio||l.lockAspectRatio),MC(l)]})):aI(e)]})}function TI(e){var t=VI(e),e=II(e);return S(wC,"mc","AlternateContent",{namespaceDeclarations:[{prefix:"mc",namespaceUri:wC},{prefix:"wps",namespaceUri:vC},{prefix:"wp",namespaceUri:f},{prefix:"a",namespaceUri:P},{prefix:"v",namespaceUri:gC},{prefix:"w10",namespaceUri:bC}],children:[S(wC,"mc","Choice",{attributes:[I("Requires","wps")],children:[t]}),S(wC,"mc","Fallback",{children:[e]})]})}function kI(e){var t={placement:e.placement,widthEmu:e.widthEmu,heightEmu:e.heightEmu,presetGeometry:"rect",docPrId:e.docPrId,name:e.name,title:e.title,description:e.description,groupChildElements:e.children},e=(void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.flipHorizontal&&(t.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(t.flipVertical=e.flipVertical),void 0!==e.lockAspectRatio&&(t.lockAspectRatio=e.lockAspectRatio),void 0!==e.wrapping&&(t.wrapping=e.wrapping),void 0!==e.distanceTopEmu&&(t.distanceTopEmu=e.distanceTopEmu),void 0!==e.distanceBottomEmu&&(t.distanceBottomEmu=e.distanceBottomEmu),void 0!==e.distanceLeftEmu&&(t.distanceLeftEmu=e.distanceLeftEmu),void 0!==e.distanceRightEmu&&(t.distanceRightEmu=e.distanceRightEmu),void 0!==e.behindDocument&&(t.behindDocument=e.behindDocument),void 0!==e.horizontalOrigin&&(t.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(t.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalPositionEmu&&(t.horizontalPositionEmu=e.horizontalPositionEmu),void 0!==e.verticalPositionEmu&&(t.verticalPositionEmu=e.verticalPositionEmu),void 0!==e.horizontalAlignment&&(t.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(t.verticalAlignment=e.verticalAlignment),void 0!==e.lockAnchor&&(t.lockAnchor=e.lockAnchor),void 0!==e.allowOverlap&&(t.allowOverlap=e.allowOverlap),void 0!==e.layoutInCell&&(t.layoutInCell=e.layoutInCell),void 0!==e.horizontalModeled&&(t.horizontalModeled=e.horizontalModeled),void 0!==e.verticalModeled&&(t.verticalModeled=e.verticalModeled),void 0!==e.preservedHost&&(t.preservedHost=e.preservedHost),void 0!==e.layoutDirty&&(t.layoutDirty=e.layoutDirty),t),t=VI(e),e=II(e);return S(wC,"mc","AlternateContent",{namespaceDeclarations:[{prefix:"mc",namespaceUri:wC},{prefix:"wpg",namespaceUri:mC},{prefix:"wps",namespaceUri:vC},{prefix:"wp",namespaceUri:f},{prefix:"a",namespaceUri:P},{prefix:"v",namespaceUri:gC},{prefix:"w10",namespaceUri:bC}],children:[S(wC,"mc","Choice",{attributes:[I("Requires","wpg")],children:[t]}),S(wC,"mc","Fallback",{children:[e]})]})}function FI(e){var t,r,n,i,o,a;if(te(e,"drawing"))return e;if(e.namespaceUri===wC&&"AlternateContent"===e.localName){try{for(var l=dC(xC(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if(u.namespaceUri===wC&&"Choice"===u.localName)try{for(var c=dC(xC(u)),d=c.next();!d.done;d=c.next()){var h=d.value;if(te(h,"drawing"))return h}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}if(void 0!==g(e,e.namespaceUri,"drawing"))return void 0;else{try{for(var p=dC(xC(e)),f=p.next();!f.done;f=p.next()){var v=f.value,m=FI(v);if(void 0!==m)return m;if(te(v,"drawing"))return v}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}return}}}function DI(e){var t,r,n=null!=(n=FI(e))?n:te(e,"drawing")?e:void 0;return void 0===n||(e=g(n,f,"inline"),n=g(n,f,"anchor"),void 0===(e=null!=e?e:n))||void 0===(n=g(e,f,"docPr"))?{name:void 0,title:void 0,description:void 0,docPrId:void 0}:(e=void 0!==(e=IC(n,"","id"))&&/^\d+$/.test(e)?Number.parseInt(e,10):void 0,t=IC(n,"","name"),r=IC(n,"","title"),n=IC(n,"","descr"),{name:void 0!==t&&0<t.length?t:void 0,title:void 0!==r&&0<r.length?r:void 0,description:void 0!==n&&0<n.length?n:void 0,docPrId:e})}function OI(e,t){var r,n,i=[],o=!1,a=!1,l=!1,s=!1;try{for(var u=dC(e.attributes),c=u.next();!c.done;c=u.next()){var d=c.value;""!==d.namespaceUri?i.push(d):"id"===d.localName?(o=!0,void 0!==t.docPrId?i.push(I("id",String(t.docPrId))):i.push(d)):"name"===d.localName?(a=!0,void 0!==t.name?i.push(I("name",t.name)):i.push(d)):"title"===d.localName?(l=!0,void 0!==t.title&&i.push(I("title",t.title))):"descr"===d.localName?(s=!0,void 0!==t.description&&i.push(I("descr",t.description))):i.push(d)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}o||void 0===t.docPrId||i.unshift(I("id",String(t.docPrId))),a||void 0===t.name||i.push(I("name",t.name)),!l&&void 0!==t.title&&0<t.title.length&&i.push(I("title",t.title)),!s&&void 0!==t.description&&0<t.description.length&&i.push(I("descr",t.description)),e.attributes=i}function NI(e,t){var r,n,e=VC(e),i=null!=(i=FI(e))?i:te(e,"drawing")?e:void 0;return void 0!==i&&(r=g(i,f,"inline"),i=g(i,f,"anchor"),void 0!==(r=null!=r?r:i)&&void 0!==(n=g(r,f,"docPr")))&&OI(n,t),e}function AI(e,t){var r,n,l,i,o,a,e=VC(e),s=null!=(s=FI(e))?s:te(e,"drawing")?e:void 0;return void 0!==s&&(void 0!==(r=cI(s))&&(void 0!==(a=g(r,f,"extent"))?pI(a,t.widthEmu,t.heightEmu):(a=S(f,"wp","extent",{attributes:[I("cx",String(t.widthEmu)),I("cy",String(t.heightEmu))]}),0<=(n=(i=pC(r.children)).findIndex(function(e){return"element"===e.kind&&(CC(e,f,"effectExtent")||CC(e,f,"docPr")||e.localName.startsWith("wrap"))}))?i.splice(n,0,a):i.unshift(a),r.children=i),fI(s,t),n=r,l=t.lockAspectRatio,void 0===(a=xC(n).find(function(e){return CC(e,f,"cNvGraphicFramePr")}))?(a=DC(l),0<=(o=(i=pC(n.children)).findIndex(function(e){return"element"===e.kind&&CC(e,f,"docPr")}))?i.splice(o+1,0,a):i.push(a),n.children=i):void 0===(o=xC(a).find(function(e){return CC(e,P,"graphicFrameLocks")}))?(o=S(P,"a","graphicFrameLocks",{attributes:l?[I("noChangeAspect","1")]:[]}),a.children=pC([o],a.children)):hI(o,function(e){var t,r,n=[];try{for(var i=dC(e),o=i.next();!o.done;o=i.next()){var a=o.value;""===a.namespaceUri&&"noChangeAspect"===a.localName||n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return l&&n.push(I("noChangeAspect","1")),n}),void 0!==(a=g(r,f,"docPr"))))&&OI(a,t),e}function EI(e){return e.namespaceUri===vC&&"wsp"===e.localName||e.namespaceUri===mC&&"grpSp"===e.localName}function LI(e){var t,r,n=null!=(n=g(e,vC,"cNvPr"))?n:g(e,mC,"cNvPr");return void 0===n?{name:void 0,title:void 0,description:void 0,docPrId:void 0}:(e=void 0!==(e=IC(n,"","id"))&&/^\d+$/.test(e)?Number.parseInt(e,10):void 0,t=IC(n,"","name"),r=IC(n,"","title"),n=IC(n,"","descr"),{name:void 0!==t&&0<t.length?t:void 0,title:void 0!==r&&0<r.length?r:void 0,description:void 0!==n&&0<n.length?n:void 0,docPrId:e})}function RI(e,t){var e=VC(e),r=null!=(r=g(e,vC,"cNvPr"))?r:g(e,mC,"cNvPr");return void 0!==r&&OI(r,t),e}var BI="http://schemas.openxmlformats.org/drawingml/2006/diagram",_I="http://purl.oclc.org/ooxml/drawingml/diagram",jI="http://schemas.openxmlformats.org/drawingml/2006/chart",MI="http://purl.oclc.org/ooxml/drawingml/chart",zI="http://schemas.microsoft.com/office/word/2010/wordprocessingInk",UI="http://schemas.microsoft.com/office/word/2010/wordml",HI=114300,WI=Er("drawing"),GI=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},qI=["t","ctr","b","just","dist"],XI=["overflow","ellipsis","clip"],YI=["overflow","clip"],ZI=["horz","vert","vert270","wordArtVert","eaVert","mongolianVert","wordArtVertRtl"],KI=["none","square"],JI=1e3,$I=1e5,QI=new Set(qI),eV=new Set(XI),tV=new Set(YI),rV=new Set(ZI),nV=new Set(KI);function iV(e){return QI.has(e)}function oV(e){return eV.has(e)}function aV(e){return tV.has(e)}function lV(e){return rV.has(e)}function sV(e){return nV.has(e)}function uV(e){return e.children.filter(function(e){return"element"===e.kind})}function cV(e,t,r){return e.namespaceUri===t&&e.localName===r}function dV(e,t,r){var n,i;try{for(var o=GI(uV(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(cV(l,t,r))return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function hV(e,t,r){var n,i;if(cV(e,t,r))return e;try{for(var o=GI(uV(e)),a=o.next();!a.done;a=o.next()){var l=hV(a.value,t,r);if(void 0!==l)return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function pV(e,t){e=e.attributes.find(function(e){return""===e.namespaceUri&&e.localName===t});return null==e?void 0:e.value}function fV(e){if(void 0!==e)return"1"===e||"true"===e||"0"!==e&&"false"!==e&&void 0}function vV(e){if(void 0!==e&&/^-?\d+$/.test(e)){e=Number.parseInt(e,10);if(Number.isFinite(e)&&!(e<0))return uo(e)}}function mV(e){var t;if(void 0!==e)return/^\d+%$/.test(e)?(t=Number.parseInt(e.slice(0,-1),10),Number.isFinite(t)?1e3*t:void 0):/^\d+$/.test(e)?Number.parseInt(e,10):void 0}function yV(e){return hV(e,vC,"bodyPr")}function gV(e){return hV(e,vC,"txbx")}function bV(e){var t,r,n=gV(e);if(void 0!==n)try{for(var i=GI(uV(n)),o=i.next();!o.done;o=i.next()){var a=o.value;if("txbxContent"===a.localName)return a}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}function l(e){var t,r;if("txbxContent"===e.localName)return e;try{for(var n=GI(uV(e)),i=n.next();!i.done;i=n.next()){var o=i.value,a=l(o);if(void 0!==a)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}return l(e)}function wV(e){var t,r,n,i,o,a,l,s,u,c,d,h,p,e=yV(e);return void 0===e?{verticalAnchor:void 0,anchorCenter:void 0,textDirection:void 0,textWrapInside:void 0,verticalOverflow:void 0,horizontalOverflow:void 0,fromWordArt:void 0,insets:void 0,autoFit:void 0,hasPresetTextWarp:!1,residual:!1}:(d=pV(e,"anchor"),h=pV(e,"vert"),p=pV(e,"wrap"),t=pV(e,"vertOverflow"),r=pV(e,"horzOverflow"),i=vV(pV(e,"lIns")),o=vV(pV(e,"tIns")),a=vV(pV(e,"rIns")),l=vV(pV(e,"bIns")),void 0===i&&void 0===o&&void 0===a&&void 0===l||(n={},void 0!==i&&(n.left=i),void 0!==o&&(n.top=o),void 0!==a&&(n.right=a),void 0!==l&&(n.bottom=l),n=n),i=void 0!==dV(e,P,"prstTxWarp"),o=void 0!==dV(e,P,"scene3d"),a=void 0!==dV(e,P,"sp3d"),l=void 0!==dV(e,P,"flatTx"),s=void 0!==dV(e,P,"extLst"),u=new Set(["anchor","anchorCtr","vert","wrap","vertOverflow","horzOverflow","fromWordArt","lIns","tIns","rIns","bIns"]),c=e.attributes.some(function(e){return""===e.namespaceUri&&!u.has(e.localName)}),{verticalAnchor:void 0!==d&&iV(d)?d:void 0,anchorCenter:fV(pV(e,"anchorCtr")),textDirection:void 0!==h&&lV(h)?h:void 0,textWrapInside:void 0!==p&&sV(p)?p:void 0,verticalOverflow:void 0!==t&&oV(t)?t:void 0,horizontalOverflow:void 0!==r&&aV(r)?r:void 0,fromWordArt:fV(pV(e,"fromWordArt")),insets:n,autoFit:void 0!==dV(d=e,P,"noAutofit")?{kind:"none"}:void 0!==dV(d,P,"spAutoFit")?{kind:"shape"}:void 0!==(d=dV(d,P,"normAutofit"))?(h=mV(pV(d,"fontScale")),d=mV(pV(d,"lnSpcReduction")),p={kind:"normal"},void 0!==h&&(p.fontScale=h),void 0!==d&&(p.lineSpaceReduction=d),p):void 0,hasPresetTextWarp:i,residual:i||o||a||l||s||c})}function PV(e){return{kind:"element",namespaceUri:P,localName:e,prefix:"a",attributes:[],namespaceDeclarations:[],children:[]}}function SV(e){if("none"===e.kind)return PV("noAutofit");if("shape"===e.kind)return PV("spAutoFit");var t=e.fontScale,e=e.lineSpaceReduction,r=[];if(void 0!==t){if(!Number.isInteger(t)||t<JI||$I<t)throw new J("content/invalid-shape","normAutofit fontScale "+String(t)+" outside ST_TextFontScalePercent range "+String(JI)+"…"+String($I));r.push({namespaceUri:"",localName:"fontScale",prefix:"",value:String(t)})}if(void 0!==e){if(!Number.isInteger(e)||e<0)throw new J("content/invalid-shape","normAutofit lnSpcReduction "+String(e)+" must be a non-negative integer");r.push({namespaceUri:"",localName:"lnSpcReduction",prefix:"",value:String(e)})}return{kind:"element",namespaceUri:P,localName:"normAutofit",prefix:"a",attributes:r,namespaceDeclarations:[],children:[]}}function xV(e){var t=lo(e);if(!Number.isInteger(t)||t<0)throw new J("content/invalid-shape","bodyPr inset must be a non-negative point value convertible to EMU, got "+String(e));return String(t)}function CV(e){var t=[];if(void 0!==e.verticalAnchor){if(!iV(e.verticalAnchor))throw new J("content/invalid-shape",'Invalid bodyPr anchor "'+String(e.verticalAnchor)+'"');t.push({namespaceUri:"",localName:"anchor",prefix:"",value:e.verticalAnchor})}if(void 0!==e.anchorCenter&&t.push({namespaceUri:"",localName:"anchorCtr",prefix:"",value:e.anchorCenter?"1":"0"}),void 0!==e.textDirection){if(!lV(e.textDirection))throw new J("content/invalid-shape",'Invalid bodyPr vert "'+String(e.textDirection)+'"');t.push({namespaceUri:"",localName:"vert",prefix:"",value:e.textDirection})}if(void 0!==e.textWrapInside){if(!sV(e.textWrapInside))throw new J("content/invalid-shape",'Invalid bodyPr wrap "'+String(e.textWrapInside)+'" (schema: none|square only)');t.push({namespaceUri:"",localName:"wrap",prefix:"",value:e.textWrapInside})}if(void 0!==e.verticalOverflow){if(!oV(e.verticalOverflow))throw new J("content/invalid-shape",'Invalid bodyPr vertOverflow "'+String(e.verticalOverflow)+'"');t.push({namespaceUri:"",localName:"vertOverflow",prefix:"",value:e.verticalOverflow})}if(void 0!==e.horizontalOverflow){if(!aV(e.horizontalOverflow))throw new J("content/invalid-shape",'Invalid bodyPr horzOverflow "'+String(e.horizontalOverflow)+'"');t.push({namespaceUri:"",localName:"horzOverflow",prefix:"",value:e.horizontalOverflow})}void 0!==e.fromWordArt&&t.push({namespaceUri:"",localName:"fromWordArt",prefix:"",value:e.fromWordArt?"1":"0"});var r=e.insets,r=(void 0!==r&&(void 0!==r.left&&t.push({namespaceUri:"",localName:"lIns",prefix:"",value:xV(r.left)}),void 0!==r.top&&t.push({namespaceUri:"",localName:"tIns",prefix:"",value:xV(r.top)}),void 0!==r.right&&t.push({namespaceUri:"",localName:"rIns",prefix:"",value:xV(r.right)}),void 0!==r.bottom)&&t.push({namespaceUri:"",localName:"bIns",prefix:"",value:xV(r.bottom)}),[]);return void 0!==e.autoFit&&r.push(SV(e.autoFit)),{kind:"element",namespaceUri:vC,localName:"bodyPr",prefix:"wps",attributes:t,namespaceDeclarations:[],children:r}}var IV={Horizontal:"horz",Vertical:"vert",Vertical270:"vert270",WordArtVertical:"wordArtVert",EastAsianVertical:"eaVert",MongolianVertical:"mongolianVert",WordArtVerticalRtl:"wordArtVertRtl"},VV={Top:"t",Center:"ctr",Bottom:"b",Justified:"just",Distributed:"dist"},TV=M.Color.White;function kV(){return{kind:"solid",srgb:Fo(TV)}}Object.defineProperty(DV.prototype,"fill",{get:function(){var e=this.owner.readShapeFillState();return void 0!==e&&"none"!==e.kind},set:function(e){if(!0!==e&&!1!==e)throw new RangeError("FillFormat.fill must be a boolean");e?void 0!==(e=this.owner.readShapeFillState())&&"solid"===e.kind?this.owner.writeShapeFillState(e):this.owner.writeShapeFillState(kV()):this.owner.writeShapeFillState({kind:"none"})},enumerable:!0,configurable:!0}),Object.defineProperty(DV.prototype,"color",{get:function(){var e=this.owner.readShapeFillState();return void 0!==e&&"solid"===e.kind&&void 0!==(e=ko(e.srgb))?e:M.Color.Transparent},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("FillFormat.color must be a Color enum member");if(e===M.Color.Transparent)this.owner.writeShapeFillState({kind:"none"});else{e=Fo(e);if(0===e.length)throw new RangeError("FillFormat.color could not be serialized to sRGB");var t=this.owner.readShapeFillState(),t=void 0!==t&&"solid"===t.kind?t.alpha:void 0;this.owner.writeShapeFillState(void 0!==t?{kind:"solid",srgb:e,alpha:t}:{kind:"solid",srgb:e})}},enumerable:!0,configurable:!0}),Object.defineProperty(DV.prototype,"transparency",{get:function(){var e=this.owner.readShapeFillState();return void 0===e||"solid"!==e.kind?0:eC(e.alpha)},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0||100<e)throw new RangeError("FillFormat.transparency must be a finite number from 0 through 100");var t=this.owner.readShapeFillState(),t=t=void 0!==t&&"solid"===t.kind?t:kV(),e=Qx(e);this.owner.writeShapeFillState(1e5<=e?{kind:"solid",srgb:t.srgb}:{kind:"solid",srgb:t.srgb,alpha:e})},enumerable:!0,configurable:!0});var FV=DV;function DV(e){this.owner=e}var OV=function(){return(OV=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},NV=M.Color.Black,AV=12700,EV=Tx.Solid;function LV(){var e=Fo(NV);return{kind:_x.Solid,widthEmu:AV,srgbColor:0<e.length?e:"000000",alpha:void 0,dash:EV,cap:void 0,beginArrowType:void 0,beginArrowSize:void 0,endArrowType:void 0,endArrowSize:void 0,residual:!1}}function RV(){return{kind:_x.None,widthEmu:void 0,srgbColor:void 0,alpha:void 0,dash:void 0,cap:void 0,beginArrowType:void 0,beginArrowSize:void 0,endArrowType:void 0,endArrowSize:void 0,residual:!1}}function BV(e){return void 0!==e&&e.kind===_x.Solid?e:(e=e,t=LV(),{kind:_x.Solid,widthEmu:(void 0!==e&&void 0!==e.widthEmu?e:t).widthEmu,srgbColor:(void 0!==e&&void 0!==e.srgbColor?e:t).srgbColor,alpha:void 0!==e?e.alpha:void 0,dash:(void 0!==e&&void 0!==e.dash?e:t).dash,cap:void 0!==e?e.cap:void 0,beginArrowType:void 0!==e?e.beginArrowType:void 0,beginArrowSize:void 0!==e?e.beginArrowSize:void 0,endArrowType:void 0!==e?e.endArrowType:void 0,endArrowSize:void 0!==e?e.endArrowSize:void 0,residual:!1});var t}Object.defineProperty(jV.prototype,"line",{get:function(){var e=this.owner.readShapeLineState();return void 0!==e&&e.kind!==_x.None},set:function(e){if(!0!==e&&!1!==e)throw new RangeError("LineFormat.line must be a boolean");e?this.owner.writeShapeLineState(BV(this.owner.readShapeLineState())):this.owner.writeShapeLineState(RV())},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"color",{get:function(){var e=this.owner.readShapeLineState();return void 0!==e&&e.kind===_x.Solid&&void 0!==e.srgbColor&&void 0!==(e=ko(e.srgbColor))?e:M.Color.Transparent},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("LineFormat.color must be a Color enum member");if(e===M.Color.Transparent)this.owner.writeShapeLineState(RV());else{e=Fo(e);if(0===e.length)throw new RangeError("LineFormat.color could not be serialized to sRGB");var t=BV(this.owner.readShapeLineState());this.owner.writeShapeLineState(OV({},t,{kind:_x.Solid,srgbColor:e,residual:!1}))}},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"dashStyle",{get:function(){var e=this.owner.readShapeLineState();return void 0===e||void 0===e.dash?Tx.Solid:Nx(e.dash)?e.dash:Tx.Unknown},set:function(e){if(!Nx(e))throw new RangeError('Invalid LineFormat.dashStyle "'+String(e)+'"');if(e===Tx.Unknown)throw new RangeError("LineFormat.dashStyle cannot be set to LineDashing.Unknown");var t=BV(this.owner.readShapeLineState());this.owner.writeShapeLineState(OV({},t,{kind:_x.Solid,dash:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"capStyle",{get:function(){var e=this.owner.readShapeLineState();return void 0===e||void 0===e.cap?Ex.Flat:e.cap},set:function(e){if(!Hx(e))throw new RangeError('Invalid LineFormat.capStyle "'+String(e)+'"');var t=BV(this.owner.readShapeLineState());this.owner.writeShapeLineState(OV({},t,{kind:_x.Solid,cap:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"style",{get:function(){return sC.Single},set:function(e){if(e!==sC.Single)throw new RangeError('Invalid LineFormat.style "'+String(e)+'"; only LineStyle.Single is supported');this.owner.writeShapeLineState(BV(this.owner.readShapeLineState()))},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"weight",{get:function(){var e=this.owner.readShapeLineState();if(void 0!==e&&void 0!==e.widthEmu)return uo(e.widthEmu)},set:function(e){var t;if(void 0===e)r=BV(this.owner.readShapeLineState()),this.owner.writeShapeLineState(OV({},r,{kind:_x.Solid,widthEmu:void 0,residual:!1}));else{if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("LineFormat.weight must be a finite non-negative number of points");try{t=ao(0===e?1e-4:e),0===e&&(t=0)}catch(e){if(e instanceof RangeError)throw new RangeError("LineFormat.weight must be a finite non-negative number of points");throw e}var r=BV(this.owner.readShapeLineState());this.owner.writeShapeLineState(OV({},r,{kind:_x.Solid,widthEmu:t,residual:!1}))}},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"transparency",{get:function(){var e=this.owner.readShapeLineState();return void 0===e||e.kind!==_x.Solid?0:eC(e.alpha)},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0||100<e)throw new RangeError("LineFormat.transparency must be a finite number from 0 through 100");var t=this.owner.readShapeLineState();if(void 0===t||t.kind!==_x.Solid)throw new J("content/invalid-shape","LineFormat.transparency requires an explicit solid line; set color or line first");e=Qx(e);this.owner.writeShapeLineState(OV({},t,{alpha:1e5<=e?void 0:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"beginArrowheadStyle",{get:function(){var e=this.owner.readShapeLineState(),e=void 0!==e?e.beginArrowType:void 0;return void 0!==e?e:uC.None},set:function(e){if(!Wx(e))throw new RangeError('Invalid LineFormat.beginArrowheadStyle "'+String(e)+'"');var t=BV(this.owner.readShapeLineState());this.owner.writeShapeLineState(OV({},t,{kind:_x.Solid,beginArrowType:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"endArrowheadStyle",{get:function(){var e=this.owner.readShapeLineState(),e=void 0!==e?e.endArrowType:void 0;return void 0!==e?e:uC.None},set:function(e){if(!Wx(e))throw new RangeError('Invalid LineFormat.endArrowheadStyle "'+String(e)+'"');var t=BV(this.owner.readShapeLineState());this.owner.writeShapeLineState(OV({},t,{kind:_x.Solid,endArrowType:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"beginArrowheadSize",{get:function(){var e=this.owner.readShapeLineState();return void 0!==e?e.beginArrowSize:void 0},set:function(e){if(void 0!==e&&!Gx(e))throw new RangeError('Invalid LineFormat.beginArrowheadSize "'+String(e)+'"');var t=BV(this.owner.readShapeLineState());this.owner.writeShapeLineState(OV({},t,{kind:_x.Solid,beginArrowSize:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(jV.prototype,"endArrowheadSize",{get:function(){var e=this.owner.readShapeLineState();return void 0!==e?e.endArrowSize:void 0},set:function(e){if(void 0!==e&&!Gx(e))throw new RangeError('Invalid LineFormat.endArrowheadSize "'+String(e)+'"');var t=BV(this.owner.readShapeLineState());this.owner.writeShapeLineState(OV({},t,{kind:_x.Solid,endArrowSize:e,residual:!1}))},enumerable:!0,configurable:!0});var _V=jV;function jV(e){this.owner=e}Object.defineProperty(zV.prototype,"textWrappingStyle",{get:function(){return this.owner.readWrapStyle()},set:function(e){tx("textWrappingStyle",e,nx),this.owner.writeWrapStyle(e)},enumerable:!0,configurable:!0}),Object.defineProperty(zV.prototype,"textWrappingType",{get:function(){return this.owner.readWrapType()},set:function(e){if(e===cx.Unknown)throw new RangeError("WrapFormat.textWrappingType cannot be set to TextWrappingType.Unknown");tx("textWrappingType",e,vx),this.owner.writeWrapType(e)},enumerable:!0,configurable:!0}),Object.defineProperty(zV.prototype,"allowOverlap",{get:function(){return this.owner.readAllowOverlap()},set:function(e){if(!0!==e&&!1!==e)throw new RangeError("WrapFormat.allowOverlap must be a boolean");this.owner.writeAllowOverlap(e)},enumerable:!0,configurable:!0}),Object.defineProperty(zV.prototype,"distanceTop",{get:function(){return this.owner.readDistanceTop()},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("WrapFormat.distanceTop must be a finite number of points");this.owner.writeDistanceTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(zV.prototype,"distanceBottom",{get:function(){return this.owner.readDistanceBottom()},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("WrapFormat.distanceBottom must be a finite number of points");this.owner.writeDistanceBottom(e)},enumerable:!0,configurable:!0}),Object.defineProperty(zV.prototype,"distanceLeft",{get:function(){return this.owner.readDistanceLeft()},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("WrapFormat.distanceLeft must be a finite number of points");this.owner.writeDistanceLeft(e)},enumerable:!0,configurable:!0}),Object.defineProperty(zV.prototype,"distanceRight",{get:function(){return this.owner.readDistanceRight()},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("WrapFormat.distanceRight must be a finite number of points");this.owner.writeDistanceRight(e)},enumerable:!0,configurable:!0});var MV=zV;function zV(e){this.owner=e}Object.defineProperty(HV.prototype,"left",{get:function(){return this.owner.readInternalMarginLeft()},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("InternalMargin.left must be a finite non-negative number of points");this.owner.writeInternalMarginLeft(e)},enumerable:!0,configurable:!0}),Object.defineProperty(HV.prototype,"top",{get:function(){return this.owner.readInternalMarginTop()},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("InternalMargin.top must be a finite non-negative number of points");this.owner.writeInternalMarginTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(HV.prototype,"right",{get:function(){return this.owner.readInternalMarginRight()},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("InternalMargin.right must be a finite non-negative number of points");this.owner.writeInternalMarginRight(e)},enumerable:!0,configurable:!0}),Object.defineProperty(HV.prototype,"bottom",{get:function(){return this.owner.readInternalMarginBottom()},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("InternalMargin.bottom must be a finite non-negative number of points");this.owner.writeInternalMarginBottom(e)},enumerable:!0,configurable:!0});var UV=HV;function HV(e){this.owner=e}Object.defineProperty(GV.prototype,"textDirection",{get:function(){var e=this.owner.readTextFrameDirection();return void 0!==e?e:IV.Horizontal},set:function(e){if(!lV(e))throw new RangeError('Invalid TextFrame.textDirection "'+String(e)+'"');if("unknown"===e)throw new RangeError("TextFrame.textDirection cannot be set to Unknown");this.owner.writeTextFrameDirection(e)},enumerable:!0,configurable:!0}),Object.defineProperty(GV.prototype,"textVerticalAlignment",{get:function(){var e=this.owner.readTextFrameVerticalAlignment();return void 0!==e?e:VV.Top},set:function(e){if(!iV(e))throw new RangeError('Invalid TextFrame.textVerticalAlignment "'+String(e)+'"');if("unknown"===e)throw new RangeError("TextFrame.textVerticalAlignment cannot be set to Unknown");this.owner.writeTextFrameVerticalAlignment(e)},enumerable:!0,configurable:!0}),Object.defineProperty(GV.prototype,"internalMargin",{get:function(){return this.internalMarginValue},enumerable:!0,configurable:!0});var WV=GV;function GV(e){this.owner=e,this.internalMarginValue=new UV(e)}var qV=function(){return(qV=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},XV=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},YV=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},ZV=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(YV(arguments[t]));return e};function KV(e){return e.children.filter(function(e){return"element"===e.kind})}function JV(e,t,r){return e.namespaceUri===t&&e.localName===r}function $V(){return[{type:"paragraph",paragraph:new D(void 0)}]}function QV(e){return{kind:"element",namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,attributes:e.attributes.map(function(e){return qV({},e)}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return qV({},e)}),children:e.children.map(function(e){return"element"===e.kind?QV(e):{kind:"text",value:e.value}})}}function eT(e){var t,r;if(e.namespaceUri===mC&&("wgp"===e.localName||"grpSp"===e.localName))return e;if(e.namespaceUri===yC&&"wpc"===e.localName)return e;var n=null!=(n=FI(e))?n:te(e,"drawing")?e:void 0;if(void 0===n)return void 0!==(i=null!=(i=g(e,mC,"wgp"))?i:g(e,mC,"grpSp"))?i:g(e,yC,"wpc");var i=g(n,P,"graphicData");if(void 0!==i)try{for(var o=XV(KV(i)),a=o.next();!a.done;a=o.next()){var l=a.value;if(l.namespaceUri===mC&&("wgp"===l.localName||"grpSp"===l.localName)||l.namespaceUri===yC&&"wpc"===l.localName)return l}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return null!=(i=null!=(e=g(n,mC,"wgp"))?e:g(n,mC,"grpSp"))?i:g(n,yC,"wpc")}function tT(e){var t,e=g(e,P,"graphicData");return void 0===e?"unknown":(t=IC(e,"","uri"))===vC?void 0!==(e=g(e,vC,"wsp"))?KV(e).some(function(e){return JV(e,vC,"txbx")})||KV(e).some(function(e){return JV(e,vC,"linkedTxbx")})?"textBox":"shape":"unknown":t===mC?"group":t===yC?"canvas":"unknown"}function rT(e){var t=new Set;return function e(t,r){var n,i,o,a;try{for(var l=XV(t.attributes),s=l.next();!s.done;s=l.next()){var u=s.value;u.namespaceUri===fC&&("embed"===u.localName||"link"===u.localName)&&0<u.value.length&&r.add(u.value)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}try{for(var c=XV(KV(t)),d=c.next();!d.done;d=c.next()){var h=d.value;e(h,r)}}catch(e){o={error:e}}finally{try{d&&!d.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}}(e,t),ZV(t)}function nT(e){var t={placement:e.placement,widthEmu:e.widthEmu,heightEmu:e.heightEmu,presetGeometry:e.presetGeometry,docPrId:e.docPrId,name:e.name,title:e.title,description:e.description};return void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.flipHorizontal&&(t.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(t.flipVertical=e.flipVertical),void 0!==e.lockAspectRatio&&(t.lockAspectRatio=e.lockAspectRatio),void 0!==e.wrapping&&(t.wrapping=e.wrapping),void 0!==e.wrapType&&(t.wrapType=e.wrapType),void 0!==e.distanceTopEmu&&(t.distanceTopEmu=e.distanceTopEmu),void 0!==e.distanceBottomEmu&&(t.distanceBottomEmu=e.distanceBottomEmu),void 0!==e.distanceLeftEmu&&(t.distanceLeftEmu=e.distanceLeftEmu),void 0!==e.distanceRightEmu&&(t.distanceRightEmu=e.distanceRightEmu),void 0!==e.behindDocument&&(t.behindDocument=e.behindDocument),void 0!==e.horizontalOrigin&&(t.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(t.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalPositionEmu&&(t.horizontalPositionEmu=e.horizontalPositionEmu),void 0!==e.verticalPositionEmu&&(t.verticalPositionEmu=e.verticalPositionEmu),void 0!==e.horizontalAlignment&&(t.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(t.verticalAlignment=e.verticalAlignment),void 0!==e.lockAnchor&&(t.lockAnchor=e.lockAnchor),void 0!==e.horizontalModeled&&(t.horizontalModeled=e.horizontalModeled),void 0!==e.verticalModeled&&(t.verticalModeled=e.verticalModeled),void 0!==e.allowOverlap&&(t.allowOverlap=e.allowOverlap),void 0!==e.layoutInCell&&(t.layoutInCell=e.layoutInCell),void 0!==e.preservedHost&&(t.preservedHost=e.preservedHost),void 0!==e.layoutDirty&&(t.layoutDirty=e.layoutDirty),void 0!==e.txbxContent&&(t.txbxContent=e.txbxContent),void 0!==e.bodyPr&&(t.bodyPr=e.bodyPr),void 0!==e.fill&&(t.fill=e.fill),void 0!==e.line&&(t.line=e.line),t}function iT(e){var t={placement:e.placement,widthEmu:e.widthEmu,heightEmu:e.heightEmu,docPrId:e.docPrId,name:e.name,children:e.children};return void 0!==e.title&&(t.title=e.title),void 0!==e.description&&(t.description=e.description),void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.flipHorizontal&&(t.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(t.flipVertical=e.flipVertical),void 0!==e.lockAspectRatio&&(t.lockAspectRatio=e.lockAspectRatio),void 0!==e.wrapping&&(t.wrapping=e.wrapping),void 0!==e.distanceTopEmu&&(t.distanceTopEmu=e.distanceTopEmu),void 0!==e.distanceBottomEmu&&(t.distanceBottomEmu=e.distanceBottomEmu),void 0!==e.distanceLeftEmu&&(t.distanceLeftEmu=e.distanceLeftEmu),void 0!==e.distanceRightEmu&&(t.distanceRightEmu=e.distanceRightEmu),void 0!==e.behindDocument&&(t.behindDocument=e.behindDocument),void 0!==e.horizontalOrigin&&(t.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(t.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalPositionEmu&&(t.horizontalPositionEmu=e.horizontalPositionEmu),void 0!==e.verticalPositionEmu&&(t.verticalPositionEmu=e.verticalPositionEmu),void 0!==e.horizontalAlignment&&(t.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(t.verticalAlignment=e.verticalAlignment),void 0!==e.lockAnchor&&(t.lockAnchor=e.lockAnchor),void 0!==e.horizontalModeled&&(t.horizontalModeled=e.horizontalModeled),void 0!==e.verticalModeled&&(t.verticalModeled=e.verticalModeled),void 0!==e.allowOverlap&&(t.allowOverlap=e.allowOverlap),void 0!==e.layoutInCell&&(t.layoutInCell=e.layoutInCell),void 0!==e.preservedHost&&(t.preservedHost=e.preservedHost),void 0!==e.layoutDirty&&(t.layoutDirty=e.layoutDirty),t}function oT(e){var t={encoding:e.encoding,residual:e.residual,dirty:e.dirty};return void 0!==e.name&&(t.name=e.name),void 0!==e.title&&(t.title=e.title),void 0!==e.description&&(t.description=e.description),void 0!==e.docPrId&&(t.docPrId=e.docPrId),void 0!==e.placement&&(t.placement=e.placement),void 0!==e.width&&(t.width=e.width),void 0!==e.height&&(t.height=e.height),void 0!==e.presetGeometry&&(t.presetGeometry=e.presetGeometry),void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.lockAspectRatio&&(t.lockAspectRatio=e.lockAspectRatio),void 0!==e.flipHorizontal&&(t.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(t.flipVertical=e.flipVertical),void 0!==e.wrapping&&(t.wrapping=e.wrapping),void 0!==e.wrapType&&(t.wrapType=e.wrapType),void 0!==e.distanceTop&&(t.distanceTop=e.distanceTop),void 0!==e.distanceBottom&&(t.distanceBottom=e.distanceBottom),void 0!==e.distanceLeft&&(t.distanceLeft=e.distanceLeft),void 0!==e.distanceRight&&(t.distanceRight=e.distanceRight),void 0!==e.behindDocument&&(t.behindDocument=e.behindDocument),void 0!==e.horizontalOrigin&&(t.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(t.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalPosition&&(t.horizontalPosition=e.horizontalPosition),void 0!==e.verticalPosition&&(t.verticalPosition=e.verticalPosition),void 0!==e.horizontalAlignment&&(t.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(t.verticalAlignment=e.verticalAlignment),void 0!==e.lockAnchor&&(t.lockAnchor=e.lockAnchor),void 0!==e.allowOverlap&&(t.allowOverlap=e.allowOverlap),void 0!==e.layoutInCell&&(t.layoutInCell=e.layoutInCell),void 0!==e.txbxContent&&(t.txbxContent=e.txbxContent),void 0!==e.bodyPrElement&&(t.bodyPrElement=e.bodyPrElement),void 0!==e.fill&&(t.fill=e.fill),void 0!==e.line&&(t.line=e.line),void 0!==e.children&&(t.children=e.children),t}function aT(e){if(void 0!==e){if("none"===e.kind)return{kind:"none"};var t;if("solid"===e.kind)return t={kind:"solid",srgb:e.srgb},void 0!==e.alpha&&(t.alpha=e.alpha),t;throw new RangeError('Fill kind "'+String(e.kind)+'" cannot be authored; use solid or none')}}function lT(e){if(void 0!==e){if("none"===e.kind)t={kind:"none"},void 0!==e.widthEmu&&(t.widthEmu=e.widthEmu),void 0!==e.cap&&(t.cap=e.cap);else{if("solid"!==e.kind)throw new RangeError('Line kind "'+String(e.kind)+'" cannot be authored; use solid or none');if(void 0===e.srgbColor)throw new RangeError("Solid line requires an sRGB color");var t={kind:"solid",srgb:e.srgbColor};void 0!==e.widthEmu&&(t.widthEmu=e.widthEmu),void 0!==e.dash&&(t.dash=e.dash),void 0!==e.cap&&(t.cap=e.cap),void 0!==e.beginArrowType&&(t.beginArrowType=e.beginArrowType),void 0!==e.beginArrowSize&&(t.beginArrowSize=e.beginArrowSize),void 0!==e.endArrowType&&(t.endArrowType=e.endArrowType),void 0!==e.endArrowSize&&(t.endArrowSize=e.endArrowSize),void 0!==e.alpha&&(t.alpha=e.alpha)}return t}}var sT=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},uT=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},cT=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(uT(arguments[t]));return e};function dT(e){return!!te(e,"drawing")&&void 0!==g(e,f,"inline")&&void 0!==(e=g(e,P,"blip"))&&void 0!==(e=IC(e,fC,"embed"))&&0<e.length}function hT(e){return dT(e)||void 0!==(r=g(t=e,P,"graphicData"))&&IC(r,"","uri")===zI||void 0!==g(t,UI,"contentPart")||void 0!==(r=g(r=e,P,"graphicData"))&&((r=IC(r,"","uri"))===BI||r===_I)||void 0!==(t=g(t=e,P,"graphicData"))&&((t=IC(t,"","uri"))===jI||t===MI);var t,r}function pT(e){if(te(e,"drawing")&&!hT(e))return HT("drawingml",e)}function fT(e){if(te(e,"pict"))return HT("vml",e)}function vT(e){if(e.namespaceUri===di&&"AlternateContent"===e.localName){var t=FI(e);if(void 0!==t&&!hT(t))return HT("drawingml",e)}}function mT(e){var t,r,n=[];try{for(var i=sT(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof RT?n.push(a):a instanceof cu&&a.featureId===WI&&a.value instanceof RT&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function yT(e){var t,r,n=0;try{for(var i=sT(ST(e)),o=i.next();!o.done;o=i.next()){var a=DI(o.value.toOpenXml()).docPrId;void 0!==a&&n<a&&(n=a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function gT(e){return yT(e.owningDocument())+1}var bT=!1;function wT(){bT||(bT=!0,Rr({id:WI}),gn({featureId:WI,wmlLocalName:"drawing",tryParse:pT}),gn({featureId:WI,wmlLocalName:"pict",tryParse:fT}),gn({featureId:WI,wmlLocalName:"AlternateContent",namespaceUri:di,tryParse:vT}))}function PT(e){return mT(e.items.toArray())}function ST(e){var t,r,n=[];try{for(var i=sT(e.listBlocks()),o=i.next();!o.done;o=i.next()){var a=o.value;"paragraph"===a.type&&n.push.apply(n,cT(PT(a.paragraph)))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}xT=function(e,t){return(xT=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var xT,CT,IT=function(e,t){function r(){this.constructor=e}xT(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},VT=function(){return(VT=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},TT=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},kT=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},FT=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(kT(arguments[t]));return e},DT=(IT(OT,CT=Vc),OT.prototype.replaceRawBlocks=function(e){CT.prototype.replaceRawBlocks.call(this,e),this.hostShape.syncTxbxBlocksFromBody(this.rawBlocks())},OT.prototype.owningDocument=function(){try{return CT.prototype.owningDocument.call(this)}catch(e){return this.hostShape.internalOwningDocument()}},OT);function OT(e,t,r){t=CT.call(this,t,r)||this;return t.hostShape=e,t}AT.prototype.assertAttachedParagraph=function(e){if(!ET(this.shape.internalBlocks(),e))throw new N("Paragraph is not in this text box")},AT.prototype.owningDocument=function(){return this.shape.internalOwningDocument()};var NT=AT;function AT(e){this.shape=e}function ET(e,t){var r,n;try{for(var i=TT(e),o=i.next();!o.done;o=i.next()){var a=o.value;if("paragraph"===a.type&&a.paragraph===t)return!0;if(TS(a)&<(a.value,t))return!0;if(Dp(a)){var l=a.value.blockContentControl;if(void 0!==l&&function e(t,r){var n,i;try{for(var o=TT(t),a=o.next();!a.done;a=o.next()){var l=a.value;if(l instanceof D&&l===r)return!0;if(kS(l)&<(l,r))return!0;if(l instanceof yp){var s=l.blockContentControl;if(void 0!==s&&e(s,r))return!0}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return!1}(l,t))return!0}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1}function LT(e,t){var r,n,i,o,a,l,s,u;try{for(var c=TT(e.rows.toArray()),d=c.next();!d.done;d=c.next()){var h=d.value;try{for(var p=TT(h.cells.toArray()),f=p.next();!f.done;f=p.next()){var v=f.value;try{for(var m=TT(v.listParagraphs()),y=m.next();!y.done;y=m.next())if(y.value===t)return!0}catch(e){a={error:e}}finally{try{y&&!y.done&&(l=m.return)&&l.call(m)}finally{if(a)throw a.error}}try{for(var g=TT(v.nestedTables),b=g.next();!b.done;b=g.next())if(LT(b.value,t))return!0}catch(e){s={error:e}}finally{try{b&&!b.done&&(u=g.return)&&u.call(g)}finally{if(s)throw s.error}}}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return!1}u.prototype.encoding=function(){return this.encodingValue},u.prototype.placement=function(){var e;return void 0!==this.placementValue?this.placementValue:"vml"===this.encodingValue||void 0===(e=this.drawingRoot())?"unknown":void 0!==g(e,f,"anchor")?"anchor":void 0!==g(e,f,"inline")?"inline":"unknown"},u.prototype.variant=function(){if("vml"===this.encodingValue){var t,e=this.residual;try{for(var r=XV(KV(e)),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.namespaceUri===gC){if("group"===i.localName)return"group";if("shape"===i.localName||"rect"===i.localName||"oval"===i.localName||"roundrect"===i.localName)return KV(i).some(function(e){return JV(e,gC,"textbox")})?"textBox":"shape"}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}return"unknown"}if(this.childrenModeled)return"group";if(EI(this.residual))return"grpSp"===this.residual.localName?"group":this.txbxBodyModeled||void 0===this.presetGeometryValue&&"structure"!==this.dirtyMode&&void 0!==g(this.residual,vC,"txbx")?"textBox":"shape";e=this.drawingRoot();if(void 0!==e){var o=tT(e);if("group"===o||"canvas"===o)return o}return void 0!==this.presetGeometryValue&&"structure"===this.dirtyMode?this.txbxBodyModeled?"textBox":"shape":void 0===e?"unknown":tT(e)},u.prototype.children=function(){var e;return"vml"===this.encodingValue?[]:this.childrenModeled?this.childrenValue:void 0!==this.childrenCache?this.childrenCache:(e=this.parseNestedChildrenFromResidual(),this.childrenCache=e)},Object.defineProperty(u.prototype,"name",{get:function(){return void 0!==this.nameValue?this.nameValue:this.readResidualIdentity().name},set:function(e){this.nameValue=e,this.markIdentityDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"title",{get:function(){return"clean"!==this.dirtyMode||void 0!==this.titleValue?this.titleValue:this.readResidualIdentity().title},set:function(e){this.titleValue=e,this.markIdentityDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"alternativeText",{get:function(){return"clean"!==this.dirtyMode||void 0!==this.descriptionValue?this.descriptionValue:this.readResidualIdentity().description},set:function(e){this.descriptionValue=e,this.markIdentityDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"fillFormat",{get:function(){return void 0===this.fillFormatValue&&(this.fillFormatValue=new FV(this)),this.fillFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lineFormat",{get:function(){return void 0===this.lineFormatValue&&(this.lineFormatValue=new _V(this)),this.lineFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"wrapFormat",{get:function(){return void 0===this.wrapFormatValue&&(this.wrapFormatValue=new MV(this)),this.wrapFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"textFrame",{get:function(){return void 0===this.textFrameValue&&(this.textFrameValue=new WV(this)),this.textFrameValue},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"textBody",{get:function(){if(this.ensureTextBodyAccessible(),void 0===this.textBodyValue){var t,e=this.readTxbxState();try{t=this.internalOwningDocument()}catch(e){t=void 0}this.textBodyValue=new DT(this,t,e.blocks),this.syncTxbxBlocksFromBody(this.textBodyValue.rawBlocks())}return this.textBodyValue},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"autoShapeType",{get:function(){var e;return"vml"===this.encodingValue?Sx.Unknown:this.readSpPrState().useCustomGeometry?Sx.Custom:void 0!==(e=this.presetGeometryToken)&&Px(e)?e:Sx.Unknown},enumerable:!0,configurable:!0}),u.prototype.readShapeFillState=function(){return this.fillModeled?this.fillValue:"vml"!==this.encodingValue?this.readSpPrState().fill:void 0},u.prototype.writeShapeFillState=function(e){if(void 0!==e&&"solid"!==e.kind&&"none"!==e.kind)throw new RangeError('Fill kind "'+String(e.kind)+'" cannot be authored; use solid or none');this.fillValue=e,this.fillModeled=!0,this.markStructureDirty()},u.prototype.readShapeLineState=function(){return this.lineModeled?this.lineValue:"vml"!==this.encodingValue?this.readSpPrState().line:void 0},u.prototype.writeShapeLineState=function(e){if(void 0!==e&&"solid"!==e.kind&&"none"!==e.kind)throw new RangeError('Line kind "'+String(e.kind)+'" cannot be authored; use solid or none');if(void 0!==e&&"solid"===e.kind&&void 0===e.srgbColor)throw new RangeError("Solid line requires an sRGB color");this.lineValue=e,this.lineModeled=!0,this.markStructureDirty()},u.prototype.readWrapStyle=function(){return this.wrappingStyleInternal},u.prototype.writeWrapStyle=function(e){this.wrappingStyleInternal=e},u.prototype.readWrapType=function(){return void 0!==this.wrappingTypeValue?this.wrappingTypeValue:"vml"===this.encodingValue?cx.Both:rI(this.residual).wrapType},u.prototype.writeWrapType=function(e){if(e===cx.Unknown)throw new RangeError("WrapFormat.textWrappingType cannot be set to TextWrappingType.Unknown");tx("wrapType",e,vx),this.wrappingTypeValue=e,this.markStructureDirty()},u.prototype.readAllowOverlap=function(){return this.allowOverlapInternal},u.prototype.writeAllowOverlap=function(e){this.allowOverlapInternal=e},u.prototype.readDistanceTop=function(){return this.distanceTopInternal},u.prototype.writeDistanceTop=function(e){this.distanceTopInternal=e},u.prototype.readDistanceBottom=function(){return this.distanceBottomInternal},u.prototype.writeDistanceBottom=function(e){this.distanceBottomInternal=e},u.prototype.readDistanceLeft=function(){return this.distanceLeftInternal},u.prototype.writeDistanceLeft=function(e){this.distanceLeftInternal=e},u.prototype.readDistanceRight=function(){return this.distanceRightInternal},u.prototype.writeDistanceRight=function(e){this.distanceRightInternal=e},u.prototype.readTextFrameDirection=function(){return this.textDirection},u.prototype.writeTextFrameDirection=function(e){this.textDirection=e},u.prototype.readTextFrameVerticalAlignment=function(){return this.verticalAnchor},u.prototype.writeTextFrameVerticalAlignment=function(e){this.verticalAnchor=e},u.prototype.readInternalMarginLeft=function(){return this.readInsetPoints("left",91440)},u.prototype.writeInternalMarginLeft=function(e){this.writeInsetPoints("left",e)},u.prototype.readInternalMarginTop=function(){return this.readInsetPoints("top",45720)},u.prototype.writeInternalMarginTop=function(e){this.writeInsetPoints("top",e)},u.prototype.readInternalMarginRight=function(){return this.readInsetPoints("right",91440)},u.prototype.writeInternalMarginRight=function(e){this.writeInsetPoints("right",e)},u.prototype.readInternalMarginBottom=function(){return this.readInsetPoints("bottom",45720)},u.prototype.writeInternalMarginBottom=function(e){this.writeInsetPoints("bottom",e)},u.prototype.readBodyInsets=function(){return this.insets},u.prototype.writeBodyInsets=function(e){this.insets=e},u.prototype.readInsetPoints=function(e,t){var r,n=this.readBodyInsets();return void 0!==(r=void 0!==n?"left"===e?n.left:"top"===e?n.top:"right"===e?n.right:n.bottom:r)?r:uo(t)},u.prototype.writeInsetPoints=function(e,t){var r=this.readBodyInsets()||{},r={left:r.left,top:r.top,right:r.right,bottom:r.bottom};"left"===e?r.left=t:"top"===e?r.top=t:"right"===e?r.right=t:r.bottom=t,this.writeBodyInsets(r)},u.prototype.ensureTextBodyAccessible=function(){this.readTxbxState(),this.markTxbxBodyModeled()},u.prototype.syncTxbxBlocksFromBody=function(e){this.readTxbxState().blocks=e,this.markTxbxBodyModeled(),this.markStructureDirty()},u.prototype.appendShape=function(e,t,r){var n,i,o,a=this.variant();if("group"!==a&&"canvas"!==a)throw new J("content/invalid-shape",'appendShape is only valid on group or canvas hosts; variant is "'+a+'"');if(!Ix(e))throw new J("content/invalid-shape",'Invalid autoShapeType "'+String(e)+'"; expected a preset AutoShapeType token');try{n=ao(t),i=ao(r)}catch(e){if(e instanceof RangeError)throw new J("content/invalid-shape","Shape width and height must be positive point values",{cause:e});throw e}if(0<n&&0<i)return 0,o=jC({placement:"anchor",widthEmu:n,heightEmu:i,presetGeometry:e,docPrId:a=this.allocateNestedDocPrId(),name:"Shape",title:void 0,description:void 0,rotation:0,flipHorizontal:!1,flipVertical:!1,lockAspectRatio:!0,txbxContent:void 0,bodyPr:void 0,fill:n=kV(),line:lT(i=LV())}),this.ensureChildrenModeled(),((o=new _T(oT({encoding:"drawingml",residual:o,dirty:"structure",name:"Shape",title:void 0,description:void 0,docPrId:a,width:t,height:r,presetGeometry:e,rotation:0,lockAspectRatio:!0,flipHorizontal:!1,flipVertical:!1,fill:n,line:i}))).parentGroup=this).childrenValue.push(o),this.childrenModeled=!0,this.childrenCache=void 0,this.markStructureDirty(),this.notifyParentOfChildDirty(),o;throw new J("content/invalid-shape","Shape width and height must be positive point values")},u.prototype.extent=function(){var e;return void 0!==this.widthValue&&void 0!==this.heightValue?{width:this.widthValue,height:this.heightValue}:"vml"!==this.encodingValue&&void 0!==(e=dI(this.residual)).widthEmu&&void 0!==e.heightEmu?{width:uo(e.widthEmu),height:uo(e.heightEmu)}:void 0},u.prototype.extentEmu=function(){var e=this.extent();if(void 0!==e)return{width:ao(e.width),height:ao(e.height)}},Object.defineProperty(u.prototype,"width",{get:function(){var e;return void 0!==this.widthValue?this.widthValue:"vml"!==this.encodingValue&&void 0!==(e=dI(this.residual)).widthEmu?uo(e.widthEmu):void 0},set:function(e){this.widthValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"height",{get:function(){var e;return void 0!==this.heightValue?this.heightValue:"vml"!==this.encodingValue&&void 0!==(e=dI(this.residual)).heightEmu?uo(e.heightEmu):void 0},set:function(e){this.heightValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"rotation",{get:function(){return void 0!==this.rotationValue?this.rotationValue:"vml"===this.encodingValue?0:dI(this.residual).rotation},set:function(e){if(!Number.isFinite(e))throw new RangeError('Invalid rotation value "'+String(e)+'"; expected a finite number');this.rotationValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lockAspectRatio",{get:function(){return void 0!==this.lockAspectRatioValue?this.lockAspectRatioValue:"vml"!==this.encodingValue&&dI(this.residual).lockAspectRatio},set:function(e){this.lockAspectRatioValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"flipHorizontal",{get:function(){return void 0!==this.flipHorizontalValue?this.flipHorizontalValue:"vml"!==this.encodingValue&&dI(this.residual).flipHorizontal},set:function(e){this.flipHorizontalValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"flipVertical",{get:function(){return void 0!==this.flipVerticalValue?this.flipVerticalValue:"vml"!==this.encodingValue&&dI(this.residual).flipVertical},set:function(e){this.flipVerticalValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"wrappingStyleInternal",{get:function(){return void 0!==this.wrappingValue?this.wrappingValue:"vml"===this.encodingValue?V.None:rI(this.residual).wrapping},set:function(e){tx("wrappingStyle",e,nx),(this.wrappingValue=e)===V.Inline?this.placementValue="inline":this.placementValue="anchor",this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"distanceTopInternal",{get:function(){return this.readDistancePoints("top")},set:function(e){this.distanceTopValue=e,this.distancesModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"distanceBottomInternal",{get:function(){return this.readDistancePoints("bottom")},set:function(e){this.distanceBottomValue=e,this.distancesModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"distanceLeftInternal",{get:function(){return this.readDistancePoints("left")},set:function(e){this.distanceLeftValue=e,this.distancesModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"distanceRightInternal",{get:function(){return this.readDistancePoints("right")},set:function(e){this.distanceRightValue=e,this.distancesModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isBelowText",{get:function(){return void 0!==this.behindDocumentValue?this.behindDocumentValue:"vml"!==this.encodingValue&&rI(this.residual).behindDocument},set:function(e){this.behindDocumentValue=e,this.behindDocumentModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"horizontalOrigin",{get:function(){var e;return void 0!==this.horizontalOriginValue?this.horizontalOriginValue:"vml"!==this.encodingValue&&void 0!==(e=nI(this.residual).horizontalOrigin)?e:AS.Column},set:function(e){void 0!==e&&tx("horizontalOrigin",e,ix),this.horizontalModeled=!0,this.horizontalOriginValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"verticalOrigin",{get:function(){var e;return void 0!==this.verticalOriginValue?this.verticalOriginValue:"vml"!==this.encodingValue&&void 0!==(e=nI(this.residual).verticalOrigin)?e:ES.Paragraph},set:function(e){void 0!==e&&tx("verticalOrigin",e,ox),this.verticalModeled=!0,this.verticalOriginValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"horizontalPosition",{get:function(){return void 0!==this.horizontalPositionValue?this.horizontalPositionValue:"vml"!==this.encodingValue?nI(this.residual).horizontalPosition:void 0},set:function(e){this.horizontalModeled=!0,void 0!==(this.horizontalPositionValue=e)&&(this.horizontalAlignmentValue=void 0),this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"verticalPosition",{get:function(){return void 0!==this.verticalPositionValue?this.verticalPositionValue:"vml"!==this.encodingValue?nI(this.residual).verticalPosition:void 0},set:function(e){this.verticalModeled=!0,void 0!==(this.verticalPositionValue=e)&&(this.verticalAlignmentValue=void 0),this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"horizontalAlignment",{get:function(){var e;return void 0!==this.horizontalAlignmentValue?this.horizontalAlignmentValue:void 0===this.horizontalPositionValue&&"vml"!==this.encodingValue&&void 0!==(e=nI(this.residual).horizontalAlignment)?e:LS.None},set:function(e){if(void 0!==e){if(e===LS.Unknown)throw new RangeError("horizontalAlignment cannot be set to HorizontalAlignment.Unknown");tx("horizontalAlignment",e,ax),this.horizontalPositionValue=void 0}this.horizontalModeled=!0,this.horizontalAlignmentValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"verticalAlignment",{get:function(){var e;return void 0!==this.verticalAlignmentValue?this.verticalAlignmentValue:void 0===this.verticalPositionValue&&"vml"!==this.encodingValue&&void 0!==(e=nI(this.residual).verticalAlignment)?e:_S.None},set:function(e){if(void 0!==e){if(e===_S.Unknown)throw new RangeError("verticalAlignment cannot be set to VerticalAlignment.Unknown");tx("verticalAlignment",e,sx),this.verticalPositionValue=void 0}this.verticalModeled=!0,this.verticalAlignmentValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lockAnchor",{get:function(){return void 0!==this.lockAnchorValue?this.lockAnchorValue:"vml"!==this.encodingValue&&rI(this.residual).lockAnchor},set:function(e){this.lockAnchorValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"allowOverlapInternal",{get:function(){return void 0!==this.allowOverlapValue?this.allowOverlapValue:"vml"!==this.encodingValue&&rI(this.residual).allowOverlap},set:function(e){this.allowOverlapValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"layoutInCell",{get:function(){return void 0!==this.layoutInCellValue?this.layoutInCellValue:"vml"!==this.encodingValue&&rI(this.residual).layoutInCell},set:function(e){this.layoutInCellValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),u.prototype.readSpPrState=function(){var e;return void 0===this.spPrState&&(e=tC(this.residual),this.spPrState={presetGeometry:e.presetGeometry,useCustomGeometry:e.useCustomGeometry,fill:e.fill,line:e.line,hasThemeStyle:e.hasThemeStyle}),this.spPrState},Object.defineProperty(u.prototype,"presetGeometryToken",{get:function(){return void 0!==this.presetGeometryValue?this.presetGeometryValue:"vml"!==this.encodingValue?this.readSpPrState().presetGeometry:void 0},set:function(e){if(void 0!==e&&!Px(e))throw new RangeError('Invalid presetGeometry value "'+e+'"; expected an ST_ShapeType token');this.presetGeometryValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"fillInternal",{get:function(){return this.fillModeled?this.fillValue:"vml"!==this.encodingValue?this.readSpPrState().fill:void 0},set:function(e){if(void 0!==e&&"solid"!==e.kind&&"none"!==e.kind)throw new RangeError('Fill kind "'+String(e.kind)+'" cannot be authored; use solid or none');this.fillValue=e,this.fillModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lineInternal",{get:function(){return this.lineModeled?this.lineValue:"vml"!==this.encodingValue?this.readSpPrState().line:void 0},set:function(e){if(void 0!==e&&"solid"!==e.kind&&"none"!==e.kind)throw new RangeError('Line kind "'+String(e.kind)+'" cannot be authored; use solid or none');this.lineValue=e,this.lineModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasThemeStyle",{get:function(){return"vml"!==this.encodingValue&&this.readSpPrState().hasThemeStyle},enumerable:!0,configurable:!0}),u.prototype.readTxbxState=function(){if(void 0===this.txbxState){if("vml"===this.encodingValue)return this.txbxState={present:!1,blocks:[],residualTxbx:void 0,residualTxbxContent:void 0},this.txbxState;var e=gV(this.residual),t=void 0!==e?bV(e):void 0,r=void 0!==t?RC(t,this.textBoxOwnerForParse()):[];this.txbxState={present:void 0!==e,blocks:r,residualTxbx:e,residualTxbxContent:t}}return this.txbxState},u.prototype.textBoxOwnerForParse=function(){return void 0===this.textBoxOwner&&(this.textBoxOwner=new NT(this)),this.textBoxOwner},u.prototype.isTextBox=function(){return"vml"!==this.encodingValue&&(!!this.txbxBodyModeled||void 0!==gV(this.residual))},u.prototype.hasVmlFallback=function(){return"vml"!==this.encodingValue&&function e(t){var r,n,i,o,a,l;if(t.namespaceUri===di&&"AlternateContent"===t.localName)try{for(var s=XV(KV(t)),u=s.next();!u.done;u=s.next()){var c=u.value;if(c.namespaceUri===di&&"Fallback"===c.localName)try{for(var d=XV(KV(c)),h=d.next();!h.done;h=d.next())if(te(h.value,"pict"))return!0}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}else try{for(var p=XV(KV(t)),f=p.next();!f.done;f=p.next())if(e(c=f.value))return!0}catch(e){a={error:e}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(a)throw a.error}}return!1}(this.residual)},u.prototype.requireTextBox=function(){if(this.isTextBox())return this.readTxbxState();throw new J("content/invalid-shape","Text box body APIs require a textBox variant shape (wps:txbx). Author one with appendShape({ textBox: true }) or edit a loaded text box.")},u.prototype.readBodyPrState=function(){return this.bodyPrModeled&&void 0!==this.bodyPrValue||void 0===this.bodyPrValue&&("vml"===this.encodingValue?this.bodyPrValue={verticalAnchor:void 0,anchorCenter:void 0,textDirection:void 0,textWrapInside:void 0,verticalOverflow:void 0,horizontalOverflow:void 0,fromWordArt:void 0,insets:void 0,autoFit:void 0,hasPresetTextWarp:!1,residual:!1}:this.bodyPrValue=wV(this.residual)),this.bodyPrValue},u.prototype.writeBodyPrField=function(e){if("vml"===this.encodingValue)throw new J("content/invalid-shape","VML leaves do not carry wps:bodyPr; convert to DrawingML to model text body properties");this.bodyPrValue=e,this.bodyPrModeled=!0,this.markStructureDirty()},Object.defineProperty(u.prototype,"verticalAnchor",{get:function(){return this.readBodyPrState().verticalAnchor},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{verticalAnchor:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"anchorCenter",{get:function(){return this.readBodyPrState().anchorCenter},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{anchorCenter:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"textDirection",{get:function(){return this.readBodyPrState().textDirection},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{textDirection:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"textWrapInside",{get:function(){return this.readBodyPrState().textWrapInside},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{textWrapInside:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"verticalOverflow",{get:function(){return this.readBodyPrState().verticalOverflow},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{verticalOverflow:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"horizontalOverflow",{get:function(){return this.readBodyPrState().horizontalOverflow},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{horizontalOverflow:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"fromWordArt",{get:function(){return this.readBodyPrState().fromWordArt},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{fromWordArt:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"insets",{get:function(){return this.readBodyPrState().insets},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{insets:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"autoFit",{get:function(){return this.readBodyPrState().autoFit},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(VT({},t,{autoFit:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"bodyPrResidual",{get:function(){return"vml"!==this.encodingValue&&this.readBodyPrState().residual},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasPresetTextWarp",{get:function(){return"vml"!==this.encodingValue&&this.readBodyPrState().hasPresetTextWarp},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"blocks",{get:function(){return this.requireTextBox(),this.textBody.items.toArray()},enumerable:!0,configurable:!0}),u.prototype.insertBodyItemAt=function(e,t){return this.requireTextBox(),this.textBody.items.insert(e,t)},u.prototype.removeBodyItemAt=function(e){this.requireTextBox(),this.textBody.items.removeAt(e)},u.prototype.removeBodyItem=function(e){this.requireTextBox(),this.textBody.items.remove(e)},u.prototype.internalBlocks=function(){return void 0!==this.textBodyValue?this.textBodyValue.rawBlocks():(void 0!==this.txbxState?this.txbxState:this.readTxbxState()).blocks},u.prototype.internalOwningDocument=function(){var e=this.anchoringParagraph;if(void 0!==e)return e.owningDocument();throw new N("This drawing shape is not attached to a document paragraph")},u.prototype.getAnchoringParagraph=function(){return this.anchoringParagraph},u.prototype.bindAnchoringParagraph=function(e){this.anchoringParagraph=e},u.prototype.relationshipIds=function(){return rT(this.residual)},u.prototype.toOpenXml=function(){if(void 0!==this.txbxState&&"vml"!==this.encodingValue){var e=this.readTxbxState();if("clean"===this.dirtyMode)return n=this.replaceTxbxContentInResidual(QV(this.residual),e),this.hasDirtyNestedChildren()?this.rewriteResidualNestedChildren(n):n;if("identity"===this.dirtyMode)return t=(EI(this.residual)?RI:NI)(QV(this.residual),{name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue}),n=this.replaceTxbxContentInResidual(t,e),this.hasDirtyNestedChildren()?this.rewriteResidualNestedChildren(n):n;if("layout"===this.dirtyMode){if(void 0===this.widthValue||void 0===this.heightValue)throw new J("content/invalid-shape","Layout-dirty drawing shape is missing width or height");var t=ao(this.widthValue),r=ao(this.heightValue),n=AI(this.residual,{widthEmu:t,heightEmu:r,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null!=this.lockAspectRatioValue&&this.lockAspectRatioValue,name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue});return n=this.replaceTxbxContentInResidual(n,e),n=this.hasDirtyNestedChildren()?this.rewriteResidualNestedChildren(n):n}}if("clean"===this.dirtyMode)return this.hasDirtyNestedChildren()?this.rewriteResidualNestedChildren(QV(this.residual)):this.residual;if("identity"===this.dirtyMode)return t={name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue},n=(EI(this.residual)?RI:NI)(this.residual,t),this.hasDirtyNestedChildren()?this.rewriteResidualNestedChildren(n===this.residual?QV(this.residual):n):n;if("layout"===this.dirtyMode){if(void 0===this.widthValue||void 0===this.heightValue)throw new J("content/invalid-shape","Layout-dirty drawing shape is missing width or height");r=ao(this.widthValue),t=ao(this.heightValue),n=AI(this.residual,{widthEmu:r,heightEmu:t,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null!=this.lockAspectRatioValue&&this.lockAspectRatioValue,name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue});return n=this.hasDirtyNestedChildren()?this.rewriteResidualNestedChildren(n):n}var r=null!=this.placementValue?this.placementValue:"anchor",t=void 0===this.widthValue?void 0:ao(this.widthValue),n=void 0===this.heightValue?void 0:ao(this.heightValue),i=void 0===this.distanceTopValue?void 0:lo(this.distanceTopValue),o=void 0===this.distanceBottomValue?void 0:lo(this.distanceBottomValue),a=void 0===this.distanceLeftValue?void 0:lo(this.distanceLeftValue),l=void 0===this.distanceRightValue?void 0:lo(this.distanceRightValue),s=void 0===this.horizontalPositionValue?void 0:lo(this.horizontalPositionValue),u=void 0===this.verticalPositionValue?void 0:lo(this.verticalPositionValue),c=null!=this.docPrIdValue?this.docPrIdValue:1,d=null!=this.wrappingValue?this.wrappingValue:"inline"===r?V.Inline:V.None,h=this.variant();if(this.childrenModeled||"group"===h||"canvas"===h){if(void 0===t||void 0===n)throw new J("content/invalid-shape","Authored drawing group is missing width or height");this.ensureChildrenModeled();h=this.childrenValue.map(function(e){return e.toOpenXml()});return kI(iT({placement:r,widthEmu:t,heightEmu:n,docPrId:c,name:null!=this.nameValue?this.nameValue:"Group",title:this.titleValue,description:this.descriptionValue,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null==this.lockAspectRatioValue||this.lockAspectRatioValue,wrapping:d,distanceTopEmu:i,distanceBottomEmu:o,distanceLeftEmu:a,distanceRightEmu:l,behindDocument:this.behindDocumentValue,horizontalOrigin:this.horizontalOriginValue,verticalOrigin:this.verticalOriginValue,horizontalPositionEmu:s,verticalPositionEmu:u,horizontalAlignment:this.horizontalAlignmentValue,verticalAlignment:this.verticalAlignmentValue,horizontalModeled:this.horizontalModeled,verticalModeled:this.verticalModeled,lockAnchor:this.lockAnchorValue,allowOverlap:this.allowOverlapValue,layoutInCell:this.layoutInCellValue,preservedHost:this.residual,layoutDirty:!0,children:h}))}if(EI(this.residual)){if(void 0===t||void 0===n)throw new J("content/invalid-shape","Authored nested drawing shape is missing width or height");h=this.presetGeometryValue;if(void 0===h)throw new J("content/invalid-shape","Authored nested drawing shape is missing presetGeometry");var p=void 0,f=(void 0===this.txbxState&&!this.txbxBodyModeled||(p=LC(0<(e=this.readTxbxState()).blocks.length?e.blocks:$V())),this.bodyPrModeled?CV(null!=this.bodyPrValue?this.bodyPrValue:{}):void 0),v=this.fillModeled?aT(this.fillValue):void 0,m=this.lineModeled?lT(this.lineValue):void 0;return jC({placement:"anchor",widthEmu:t,heightEmu:n,presetGeometry:h,docPrId:c,name:null!=this.nameValue?this.nameValue:"Shape",title:this.titleValue,description:this.descriptionValue,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null==this.lockAspectRatioValue||this.lockAspectRatioValue,txbxContent:p,bodyPr:f,fill:v,line:m})}var y,h=this.presetGeometryValue;if(void 0===t||void 0===n||void 0===h)throw new J("content/invalid-shape","Authored drawing shape is missing size or presetGeometry");void 0===this.txbxState&&!this.txbxBodyModeled||(y=LC(0<(e=this.readTxbxState()).blocks.length?e.blocks:$V()));p=this.bodyPrModeled?CV(null!=this.bodyPrValue?this.bodyPrValue:{}):void 0;return TI(nT({placement:r,widthEmu:t,heightEmu:n,presetGeometry:h,docPrId:c,name:null!=this.nameValue?this.nameValue:"Shape",title:this.titleValue,description:this.descriptionValue,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null==this.lockAspectRatioValue||this.lockAspectRatioValue,wrapping:d,wrapType:this.readWrapType(),distanceTopEmu:i,distanceBottomEmu:o,distanceLeftEmu:a,distanceRightEmu:l,behindDocument:this.behindDocumentValue,horizontalOrigin:this.horizontalOriginValue,verticalOrigin:this.verticalOriginValue,horizontalPositionEmu:s,verticalPositionEmu:u,horizontalAlignment:this.horizontalAlignmentValue,verticalAlignment:this.verticalAlignmentValue,horizontalModeled:this.horizontalModeled,verticalModeled:this.verticalModeled,lockAnchor:this.lockAnchorValue,allowOverlap:this.allowOverlapValue,layoutInCell:this.layoutInCellValue,preservedHost:this.residual,layoutDirty:!0,txbxContent:y,bodyPr:p,fill:this.fillModeled?aT(this.fillValue):void 0,line:this.lineModeled?lT(this.lineValue):void 0}))},u.prototype.replaceTxbxContentInResidual=function(e,t){var r,n=gV(e);return void 0!==n&&(t=LC(0<t.blocks.length?t.blocks:$V()),r=n.children.filter(function(e){return!("element"===e.kind&&"txbxContent"===e.localName)}),n.children=FT(r,[b("txbxContent",{children:t})])),e},u.prototype.drawingRoot=function(){var e=FI(this.residual);return null!=e?e:te(this.residual,"drawing")?this.residual:void 0},u.prototype.markIdentityDirty=function(){var e;"structure"!==this.dirtyMode&&"layout"!==this.dirtyMode&&("clean"===this.dirtyMode&&(e=this.readResidualIdentity(),void 0===this.nameValue&&(this.nameValue=e.name),void 0===this.titleValue&&(this.titleValue=e.title),void 0===this.descriptionValue&&(this.descriptionValue=e.description),void 0===this.docPrIdValue)&&(this.docPrIdValue=e.docPrId),this.dirtyMode="identity"),this.notifyParentOfChildDirty()},u.prototype.markLayoutDirty=function(){"structure"===this.dirtyMode||("clean"!==this.dirtyMode&&"identity"!==this.dirtyMode||this.hydrateIdentityAndLayoutFromResidual(),this.dirtyMode="layout"),this.notifyParentOfChildDirty()},u.prototype.markTxbxBodyModeled=function(){this.txbxBodyModeled=!0},u.prototype.markStructureDirty=function(){var e,t;"structure"!==this.dirtyMode&&(this.hydrateIdentityAndLayoutFromResidual(),"vml"!==this.encodingValue&&(e=rI(this.residual),void 0===this.placementValue&&(this.placementValue=e.placement),void 0===this.wrappingValue&&(this.wrappingValue=e.wrapping),this.distancesModeled||(void 0===this.distanceTopValue&&void 0!==e.distanceTopEmu&&(this.distanceTopValue=uo(e.distanceTopEmu)),void 0===this.distanceBottomValue&&void 0!==e.distanceBottomEmu&&(this.distanceBottomValue=uo(e.distanceBottomEmu)),void 0===this.distanceLeftValue&&void 0!==e.distanceLeftEmu&&(this.distanceLeftValue=uo(e.distanceLeftEmu)),void 0===this.distanceRightValue&&void 0!==e.distanceRightEmu&&(this.distanceRightValue=uo(e.distanceRightEmu))),this.behindDocumentModeled||void 0!==this.behindDocumentValue||(this.behindDocumentValue=e.behindDocument),void 0===this.presetGeometryValue&&(this.presetGeometryValue=e.presetGeometry),t=nI(this.residual),void 0===this.horizontalOriginValue&&(this.horizontalOriginValue=t.horizontalOrigin),void 0===this.horizontalPositionValue&&void 0!==t.horizontalPositionEmu&&(this.horizontalPositionValue=uo(t.horizontalPositionEmu)),void 0===this.horizontalAlignmentValue&&(this.horizontalAlignmentValue=t.horizontalAlignment),void 0===this.verticalOriginValue&&(this.verticalOriginValue=t.verticalOrigin),void 0===this.verticalPositionValue&&void 0!==t.verticalPositionEmu&&(this.verticalPositionValue=uo(t.verticalPositionEmu)),void 0===this.verticalAlignmentValue&&(this.verticalAlignmentValue=t.verticalAlignment),void 0===this.lockAnchorValue&&(this.lockAnchorValue=e.lockAnchor),void 0===this.allowOverlapValue&&(this.allowOverlapValue=e.allowOverlap),void 0===this.layoutInCellValue)&&(this.layoutInCellValue=e.layoutInCell),this.spPrState=void 0),this.bodyPrModeled||(this.bodyPrValue=void 0),this.dirtyMode="structure",this.notifyParentOfChildDirty()},u.prototype.hydrateIdentityAndLayoutFromResidual=function(){var e=this.readResidualIdentity();void 0===this.nameValue&&(this.nameValue=e.name),void 0===this.titleValue&&(this.titleValue=e.title),void 0===this.descriptionValue&&(this.descriptionValue=e.description),void 0===this.docPrIdValue&&(this.docPrIdValue=e.docPrId),"vml"!==this.encodingValue&&(e=dI(this.residual),void 0===this.widthValue&&void 0!==e.widthEmu&&(this.widthValue=uo(e.widthEmu)),void 0===this.heightValue&&void 0!==e.heightEmu&&(this.heightValue=uo(e.heightEmu)),void 0===this.rotationValue&&(this.rotationValue=e.rotation),void 0===this.flipHorizontalValue&&(this.flipHorizontalValue=e.flipHorizontal),void 0===this.flipVerticalValue&&(this.flipVerticalValue=e.flipVertical),void 0===this.lockAspectRatioValue)&&(this.lockAspectRatioValue=e.lockAspectRatio)},u.prototype.readResidualIdentity=function(){return(EI(this.residual)?LI:DI)(this.residual)},u.prototype.parseNestedChildrenFromResidual=function(){var t,e;if("vml"===this.encodingValue)return[];var r=eT(this.residual);if(void 0===r)return[];var n=[];try{for(var i=TT(KV(r)),o=i.next();!o.done;o=i.next()){var a,l=o.value;EI(l)&&((a=HT("drawingml",l)).parentGroup=this,n.push(a))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return n},u.prototype.ensureChildrenModeled=function(){var t,e;if(!this.childrenModeled){var r=void 0!==this.childrenCache?this.childrenCache:this.parseNestedChildrenFromResidual();this.childrenValue=FT(r);try{for(var n=TT(this.childrenValue),i=n.next();!i.done;i=n.next())i.value.parentGroup=this}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this.childrenModeled=!0,this.childrenCache=void 0}},u.prototype.allocateNestedDocPrId=function(){var t,e,r=null!=this.anchoringParagraph?this.anchoringParagraph:null==this.parentGroup?void 0:this.parentGroup.anchoringParagraph;if(void 0!==r)return gT(r);var n=null!=this.docPrIdValue?this.docPrIdValue:0;try{for(var i=TT(this.children()),o=i.next();!o.done;o=i.next()){var a=o.value.docPrIdValue;void 0!==a&&n<a&&(n=a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return n+1},u.prototype.hasDirtyNestedChildren=function(){var t,e;if("vml"!==this.encodingValue){var r=this.childrenModeled?this.childrenValue:void 0!==this.childrenCache?this.childrenCache:void 0;if(void 0!==r)try{for(var n=TT(r),i=n.next();!i.done;i=n.next()){var o=i.value;if("clean"!==o.dirtyMode||o.hasDirtyNestedChildren())return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}return!1},u.prototype.rewriteResidualNestedChildren=function(e){this.ensureChildrenModeled();var t,r,n=eT(e);if(void 0!==n){var i=this.childrenValue,o=0,a=[];try{for(var l=TT(n.children),s=l.next();!s.done;s=l.next()){var u,c=s.value;"element"===c.kind&&EI(c)?void 0!==(u=i[o])&&(a.push(u.toOpenXml()),o+=1):a.push(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}for(;o<i.length;){if(void 0===(u=i[o]))break;a.push(u.toOpenXml()),o+=1}n.children=a}return e},u.prototype.notifyParentOfChildDirty=function(){var e=this.parentGroup;void 0!==e&&e.ensureChildrenModeled()},u.prototype.readDistancePoints=function(e){var t="top"===e?this.distanceTopValue:"bottom"===e?this.distanceBottomValue:"left"===e?this.distanceLeftValue:this.distanceRightValue;return void 0!==t?t:"vml"===this.encodingValue?0:(t=rI(this.residual),void 0!==(t="top"===e?t.distanceTopEmu:"bottom"===e?t.distanceBottomEmu:"left"===e?t.distanceLeftEmu:t.distanceRightEmu)?uo(t):(t=this.placement(),"left"!==e&&"right"!==e||"anchor"!==t?0:uo(HI)))};var RT=u;function u(e,t){var r,n;if(this.horizontalModeled=!1,this.verticalModeled=!1,"string"==typeof e){if(void 0===t)throw new TypeError("DrawingShape residual element is required");this.encodingValue=e,this.residual=t,this.dirtyMode="clean";t=(EI(t)?LI:DI)(t);this.nameValue=t.name,this.titleValue=t.title,this.descriptionValue=t.description,this.docPrIdValue=t.docPrId,this.distancesModeled=!1,this.behindDocumentModeled=!1,this.fillModeled=!1,this.lineModeled=!1,this.txbxBodyModeled=!1,this.bodyPrModeled=!1,this.childrenValue=[],this.childrenModeled=!1,this.childrenCache=void 0,this.parentGroup=void 0}else if(this.encodingValue=e.encoding,this.residual=e.residual,this.dirtyMode=e.dirty,this.nameValue=e.name,this.titleValue=e.title,this.descriptionValue=e.description,this.docPrIdValue=e.docPrId,this.placementValue=e.placement,this.widthValue=e.width,this.heightValue=e.height,this.presetGeometryValue=e.presetGeometry,this.rotationValue=e.rotation,this.lockAspectRatioValue=e.lockAspectRatio,this.flipHorizontalValue=e.flipHorizontal,this.flipVerticalValue=e.flipVertical,this.wrappingValue=e.wrapping,this.wrappingTypeValue=e.wrapType,this.distanceTopValue=e.distanceTop,this.distanceBottomValue=e.distanceBottom,this.distanceLeftValue=e.distanceLeft,this.distanceRightValue=e.distanceRight,this.behindDocumentValue=e.behindDocument,this.distancesModeled=void 0!==e.distanceTop||void 0!==e.distanceBottom||void 0!==e.distanceLeft||void 0!==e.distanceRight,this.behindDocumentModeled=void 0!==e.behindDocument,this.horizontalOriginValue=e.horizontalOrigin,this.verticalOriginValue=e.verticalOrigin,this.horizontalPositionValue=e.horizontalPosition,this.verticalPositionValue=e.verticalPosition,this.horizontalAlignmentValue=e.horizontalAlignment,this.verticalAlignmentValue=e.verticalAlignment,this.horizontalModeled=void 0!==e.horizontalPosition||void 0!==e.horizontalAlignment||void 0!==e.horizontalOrigin,this.verticalModeled=void 0!==e.verticalPosition||void 0!==e.verticalAlignment||void 0!==e.verticalOrigin,this.lockAnchorValue=e.lockAnchor,this.allowOverlapValue=e.allowOverlap,this.layoutInCellValue=e.layoutInCell,this.fillValue=e.fill,this.fillModeled=void 0!==e.fill,this.lineValue=e.line,this.lineModeled=void 0!==e.line,this.txbxBodyModeled=void 0!==e.txbxContent,this.bodyPrModeled=void 0!==e.bodyPrElement,void 0!==e.bodyPrElement&&(this.bodyPrValue=wV(e.bodyPrElement)),this.childrenValue=void 0!==e.children?FT(e.children):[],this.childrenModeled=void 0!==e.children,this.childrenCache=void 0,this.parentGroup=void 0,this.childrenModeled)try{for(var i=TT(this.childrenValue),o=i.next();!o.done;o=i.next())o.value.parentGroup=this}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}IT(jT,BT=RT),Object.defineProperty(jT.prototype,"items",{get:function(){return this.blocks},enumerable:!0,configurable:!0}),jT.prototype.insertBodyItemAt=function(e,t){return BT.prototype.insertBodyItemAt.call(this,e,t)},jT.prototype.removeBodyItemAt=function(e){BT.prototype.removeBodyItemAt.call(this,e)},jT.prototype.removeBodyItem=function(e){BT.prototype.removeBodyItem.call(this,e)};var BT,_T=jT;function jT(e,t){e=BT.call(this,e,t)||this;return e.type=M.EntityType.Shape,e}IT(UT,MT=_T),Object.defineProperty(UT.prototype,"childShapes",{get:function(){return this.children()},enumerable:!0,configurable:!0}),Object.defineProperty(UT.prototype,"childItems",{get:function(){return this.children()},enumerable:!0,configurable:!0}),UT.prototype.children=function(){return MT.prototype.children.call(this)},UT.prototype.add=function(e){var t;if(e instanceof RT?t=e:e instanceof cu&&e.value instanceof RT&&(t=e.value),void 0===t)throw new J("content/invalid-shape","GroupShape.add requires a drawing shape paragraph item");if(t===this)throw new J("content/invalid-shape","GroupShape cannot add itself");var r=t.getAnchoringParagraph();if(void 0!==r)for(var n=r.items.toArray(),i=n.length-1;0<=i;--i){var o=n[i];if(o instanceof cu&&o.value===t){r.removeFeatureRunItem(t);break}}(t.parentGroup=this).ensureChildrenModeled(),this.childrenValue.push(t),this.childrenModeled=!0,this.childrenCache=void 0,this.markStructureDirty(),this.notifyParentOfChildDirty()},UT.prototype.unGroup=function(){var t,e,r=FT(this.children());this.ensureChildrenModeled();try{for(var n=TT(r),i=n.next();!i.done;i=n.next())i.value.parentGroup=void 0}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.childrenValue=[],this.childrenModeled=!0,this.childrenCache=void 0,this.markStructureDirty(),r},UT.prototype.appendShape=function(e,t,r){return MT.prototype.appendShape.call(this,e,t,r)},UT.prototype.writeShapeFillState=function(e){throw new J("content/invalid-shape","Fill is not supported on GroupShape")},UT.prototype.writeShapeLineState=function(e){throw new J("content/invalid-shape","Line is not supported on GroupShape")},UT.prototype.writeTextFrameDirection=function(e){throw new J("content/invalid-shape","Text frame is not supported on GroupShape")},UT.prototype.writeTextFrameVerticalAlignment=function(e){throw new J("content/invalid-shape","Text frame is not supported on GroupShape")},UT.prototype.ensureTextBodyAccessible=function(){throw new J("content/invalid-shape","Text body is not supported on GroupShape")};var MT,zT=UT;function UT(e,t){e=MT.call(this,e,t)||this;return e.type=M.EntityType.GroupShape,e}function HT(e,t){if("vml"!==e){if(EI(t))return new("grpSp"===t.localName?zT:_T)(e,t);var r=null!=(r=FI(t))?r:te(t,"drawing")?t:void 0;if(void 0!==r){r=tT(r);if("group"===r||"canvas"===r)return new zT(e,t)}}return new _T(e,t)}var WT=uo(HI);function GT(e,t,r,n){if(!Ix(t))throw new J("content/invalid-shape",'Invalid autoShapeType "'+String(t)+'"; expected a preset AutoShapeType token');var i,o,a,l,s,u,c,d,h,p;try{h=ao(r),p=ao(n)}catch(e){if(e instanceof RangeError)throw new J("content/invalid-shape","Shape width and height must be positive point values",{cause:e});throw e}if(0<h&&0<p)return i=V.None,o=gT(e),0,l=a=WT,0,s=kV(),u=LV(),c=aT(s),d=lT(u),h=TI(nT({placement:"anchor",widthEmu:h,heightEmu:p,presetGeometry:t,docPrId:o,name:"Shape",title:void 0,description:void 0,rotation:0,flipHorizontal:!1,flipVertical:!1,lockAspectRatio:!0,wrapping:i,distanceTopEmu:lo(0),distanceBottomEmu:lo(0),distanceLeftEmu:HI,distanceRightEmu:HI,behindDocument:!1,lockAnchor:!1,allowOverlap:!0,layoutInCell:!0,layoutDirty:!0,txbxContent:void 0,bodyPr:void 0,fill:c,line:d})),p=new _T(oT({encoding:"drawingml",residual:h,dirty:"structure",name:"Shape",title:void 0,description:void 0,docPrId:o,placement:"anchor",width:r,height:n,presetGeometry:t,rotation:0,lockAspectRatio:!0,flipHorizontal:!1,flipVertical:!1,wrapping:i,distanceTop:0,distanceBottom:0,distanceLeft:a,distanceRight:l,behindDocument:!1,lockAnchor:!1,allowOverlap:!0,layoutInCell:!0,txbxContent:void 0,bodyPrElement:void 0,fill:s,line:u})),e.appendFeatureRunItem(WI,p),p.bindAnchoringParagraph(e),p;throw new J("content/invalid-shape","Shape width and height must be positive point values")}function qT(e,t){try{w=ao(t.width),P=ao(t.height)}catch(e){if(e instanceof RangeError)throw new J("content/invalid-shape","Group width and height must be positive point values",{cause:e});throw e}if(!(0<w&&0<P))throw new J("content/invalid-shape","Group width and height must be positive point values");var r=null!=t.placement?t.placement:"anchor";if("inline"!==r&&"anchor"!==r)throw new J("content/invalid-shape",'Invalid placement "'+r+"\"; expected 'inline' or 'anchor'");var n,i,o,a,l,s,u,c,d,h,p,f,v,m,y,g,b,w,P,S=t.wrappingStyle,x=(void 0!==S?(tx("wrappingStyle",S,nx),r=S===V.Inline?"inline":"anchor"):S="inline"===r?V.Inline:V.None,gT(e)),C=null!=t.name?t.name:"Group",I=null!=t.rotation?t.rotation:0;if(Number.isFinite(I))return n=null==t.lockAspectRatio||t.lockAspectRatio,i=null!=t.flipHorizontal&&t.flipHorizontal,o=null!=t.flipVertical&&t.flipVertical,a=void 0!==t.distanceTop?lo(t.distanceTop):void 0,l=void 0!==t.distanceBottom?lo(t.distanceBottom):void 0,s=void 0!==t.distanceLeft?lo(t.distanceLeft):void 0,u=void 0!==t.distanceRight?lo(t.distanceRight):void 0,c=t.behindDocument,d=t.horizontalOrigin,h=t.verticalOrigin,p=void 0!==t.horizontalPosition?lo(t.horizontalPosition):void 0,f=void 0!==t.verticalPosition?lo(t.verticalPosition):void 0,v=t.horizontalAlignment,m=t.verticalAlignment,void 0!==v&&tx("horizontalAlignment",v,ax),void 0!==m&&tx("verticalAlignment",m,sx),void 0!==d&&tx("horizontalOrigin",d,ix),void 0!==h&&tx("verticalOrigin",h,ox),v=void 0!==t.horizontalPosition?void 0:v,m=void 0!==t.verticalPosition?void 0:m,y=t.lockAnchor,g=t.allowOverlap,b=t.layoutInCell,w=kI(iT({placement:r,widthEmu:w,heightEmu:P,docPrId:x,name:C,title:t.title,description:t.description,rotation:I,flipHorizontal:i,flipVertical:o,lockAspectRatio:n,wrapping:S,distanceTopEmu:a,distanceBottomEmu:l,distanceLeftEmu:s,distanceRightEmu:u,behindDocument:c,horizontalOrigin:d,verticalOrigin:h,horizontalPositionEmu:p,verticalPositionEmu:f,horizontalAlignment:v,verticalAlignment:m,lockAnchor:y,allowOverlap:g,layoutInCell:b,layoutDirty:!0,children:[]})),P=new zT(oT({encoding:"drawingml",residual:w,dirty:"structure",name:C,title:t.title,description:t.description,docPrId:x,placement:r,width:t.width,height:t.height,rotation:I,lockAspectRatio:n,flipHorizontal:i,flipVertical:o,wrapping:S,distanceTop:t.distanceTop,distanceBottom:t.distanceBottom,distanceLeft:t.distanceLeft,distanceRight:t.distanceRight,behindDocument:c,horizontalOrigin:d,verticalOrigin:h,horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalAlignment:v,verticalAlignment:m,lockAnchor:y,allowOverlap:g,layoutInCell:b,children:[]})),e.appendFeatureRunItem(WI,P),P.bindAnchoringParagraph(e),P;throw new J("content/invalid-shape","Group rotation must be a finite number of degrees")}D.prototype.appendShape=function(e,t,r){return GT(this,e,t,r)},D.prototype.appendGroup=function(e){return qT(this,e)},ui(function(){wT()}),wT();var XT=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},YT=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(XT(arguments[t]));return e},ZT=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},KT=Er("editable-ranges"),IT={None:"none",Everyone:"everyone",Administrators:"administrators",Contributors:"contributors",Editors:"editors",Owners:"owners",Current:"current"},JT=ua(IT),$T=["next","prev"],QT=["id","edGrp","ed","colFirst","colLast","displacedByCustomXml"];function ek(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)});return null==e?void 0:e.value}function tk(e,r){return e.attributes.filter(function(e){var t;return!("space"===e.localName&&"xml"===e.prefix||("w"===(t=e).prefix||""===t.namespaceUri||0<=t.namespaceUri.indexOf("wordprocessingml"))&&-1!==QT.indexOf(e.localName)&&r.has(e.localName))})}function rk(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function nk(t){if(void 0!==t)return $T.find(function(e){return e===t})}function ik(e){return rk(e)}Object.defineProperty(ak.prototype,"rangeId",{get:function(){return this.rangeIdValue},enumerable:!0,configurable:!0}),ak.prototype.setRangeId=function(e){this.rangeIdValue=e},ak.prototype.isPendingRangeId=function(){return this.rangeIdValue<0},Object.defineProperty(ak.prototype,"editorGroup",{get:function(){return this.editorGroupValue},set:function(e){this.editorGroupValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(ak.prototype,"editor",{get:function(){return this.editorValue},set:function(e){this.editorValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(ak.prototype,"columnFirst",{get:function(){return this.columnFirstValue},set:function(e){this.columnFirstValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(ak.prototype,"columnLast",{get:function(){return this.columnLastValue},set:function(e){this.columnLastValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(ak.prototype,"displacedByCustomXml",{get:function(){return this.displacedByCustomXmlValue},set:function(e){this.displacedByCustomXmlValue=e},enumerable:!0,configurable:!0}),ak.prototype.residualAttributes=function(){return this.residual},ak.prototype.releaseContent=function(){},ak.prototype.toOpenXml=function(){var e=[y("id",String(this.rangeIdValue))];return void 0!==this.editorGroupValue&&e.push(y("edGrp",this.editorGroupValue)),void 0!==this.editorValue&&e.push(y("ed",this.editorValue)),void 0!==this.columnFirstValue&&e.push(y("colFirst",String(this.columnFirstValue))),void 0!==this.columnLastValue&&e.push(y("colLast",String(this.columnLastValue))),void 0!==this.displacedByCustomXmlValue&&e.push(y("displacedByCustomXml",this.displacedByCustomXmlValue)),e.push.apply(e,YT(this.residual)),b("permStart",{attributes:e})};var ok=ak;function ak(e,t){this.rangeIdValue=e,this.editorGroupValue=null==t?void 0:t.editorGroup,this.editorValue=null==t?void 0:t.editor,this.columnFirstValue=null==t?void 0:t.columnFirst,this.columnLastValue=null==t?void 0:t.columnLast,this.displacedByCustomXmlValue=null==t?void 0:t.displacedByCustomXml,this.residual=void 0!==(null==t?void 0:t.residualAttributes)?YT(t.residualAttributes):[]}Object.defineProperty(sk.prototype,"rangeId",{get:function(){return this.rangeIdValue},enumerable:!0,configurable:!0}),sk.prototype.setRangeId=function(e){this.rangeIdValue=e},sk.prototype.isPendingRangeId=function(){return this.rangeIdValue<0},Object.defineProperty(sk.prototype,"displacedByCustomXml",{get:function(){return this.displacedByCustomXmlValue},set:function(e){this.displacedByCustomXmlValue=e},enumerable:!0,configurable:!0}),sk.prototype.residualAttributes=function(){return this.residual},sk.prototype.releaseContent=function(){},sk.prototype.toOpenXml=function(){var e=[y("id",String(this.rangeIdValue))];return void 0!==this.displacedByCustomXmlValue&&e.push(y("displacedByCustomXml",this.displacedByCustomXmlValue)),e.push.apply(e,YT(this.residual)),b("permEnd",{attributes:e})};var lk=sk;function sk(e,t){this.rangeIdValue=e,this.displacedByCustomXmlValue=null==t?void 0:t.displacedByCustomXml,this.residual=void 0!==(null==t?void 0:t.residualAttributes)?YT(t.residualAttributes):[]}Object.defineProperty(ck.prototype,"rangeId",{get:function(){return this.startMarkerValue.rangeId},enumerable:!0,configurable:!0}),Object.defineProperty(ck.prototype,"startMarker",{get:function(){return this.startMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(ck.prototype,"endMarker",{get:function(){return this.endMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(ck.prototype,"editorGroup",{get:function(){return this.startMarkerValue.editorGroup},set:function(e){this.startMarkerValue.editorGroup=e},enumerable:!0,configurable:!0}),Object.defineProperty(ck.prototype,"editor",{get:function(){return this.startMarkerValue.editor},set:function(e){this.startMarkerValue.editor=e},enumerable:!0,configurable:!0}),Object.defineProperty(ck.prototype,"columnFirst",{get:function(){return this.startMarkerValue.columnFirst},enumerable:!0,configurable:!0}),Object.defineProperty(ck.prototype,"columnLast",{get:function(){return this.startMarkerValue.columnLast},enumerable:!0,configurable:!0}),ck.prototype.markersShareParagraph=function(e){return dk(e,this)};var uk=ck;function ck(e,t){this.startMarkerValue=e,this.endMarkerValue=t}function dk(e,t){var r=hk(e,t.startMarker),e=hk(e,t.endMarker);return void 0!==r&&void 0!==e&&"inline"===r.kind&&"inline"===e.kind&&r.paragraph===e.paragraph}function hk(e,i){for(var o,t=e.listBlocks(),r=0;r<t.length;r+=1){var n=t[r];if(void 0!==n&&("feature"===n.type&&n.value===i))return{kind:"block",document:e,index:r}}return Mn(e,function(e){if(void 0===o)for(var t=e.items.toArray(),r=0;r<t.length;r+=1){var n=t[r];if(void 0!==n&&n instanceof F&&n.value===i)return void(o={kind:"inline",paragraph:e,index:r})}}),o}function pk(e,t){if("inline"===e.kind)e.paragraph.removeFeatureInline(t);else{var r=e.document.listBlocks()[e.index];if(void 0===r||"feature"!==r.type||r.value!==t)throw new N("Editable-range marker is no longer in this document");e.document.removeBlockAt(e.index)}}function fk(e,t){return new ok(null!=(t=null==t?void 0:t.rangeId)?t:e.rangeId,{editorGroup:e.editorGroup,editor:e.editor,columnFirst:e.columnFirst,columnLast:e.columnLast,displacedByCustomXml:e.displacedByCustomXml,residualAttributes:e.residualAttributes()})}function vk(e,t){return new lk(null!=(t=null==t?void 0:t.rangeId)?t:e.rangeId,{displacedByCustomXml:e.displacedByCustomXml,residualAttributes:e.residualAttributes()})}function mk(e){if("block"===e.kind)return 1e6*e.index;for(var t=e.paragraph.owningDocument().listBlocks(),r=0,n=0;n<t.length;n+=1){var i=t[n];if(void 0!==i&&"paragraph"===i.type&&i.paragraph===e.paragraph){r=n;break}}return 1e6*r+e.index}function yk(e){if(te(e,"permStart")){var t,r,n,i,o,a,l,s=rk(ek(e,"id"));if(void 0!==s)return t=new Set(["id"]),r=function(t){if(void 0!==t)return JT.find(function(e){return e===t})}(n=ek(e,"edGrp")),void 0!==n&&void 0!==r&&t.add("edGrp"),void 0!==(n=ek(e,"ed"))&&t.add("ed"),i=ik(a=ek(e,"colFirst")),void 0!==a&&void 0!==i&&t.add("colFirst"),o=ik(a=ek(e,"colLast")),void 0!==a&&void 0!==o&&t.add("colLast"),l=nk(a=ek(e,"displacedByCustomXml")),void 0!==a&&void 0!==l&&t.add("displacedByCustomXml"),new ok(s,{editorGroup:r,editor:n,columnFirst:i,columnLast:o,displacedByCustomXml:l,residualAttributes:tk(e,t)})}}function gk(e){if(te(e,"permEnd")){var t,r,n,i=rk(ek(e,"id"));if(void 0!==i)return t=new Set(["id"]),n=nk(r=ek(e,"displacedByCustomXml")),void 0!==r&&void 0!==n&&t.add("displacedByCustomXml"),new lk(i,{displacedByCustomXml:n,residualAttributes:tk(e,t)})}}function bk(e){function a(e){o.has(e)||(o.add(e),i.push(e))}function t(e){var t,r;try{for(var n=ZT(e.items),i=n.next();!i.done;i=n.next()){var o=i.value;o instanceof F&&(o.value instanceof ok||o.value instanceof lk)&&a(o.value)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}var r,n,i=[],o=new Set,l=new Set;try{for(var s=ZT(e.listBlocks()),u=s.next();!u.done;u=s.next()){var c=u.value;"paragraph"===c.type?(l.add(c.paragraph),t(c.paragraph)):"feature"===c.type&&(c.value instanceof ok||c.value instanceof lk)&&a(c.value)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return Mn(e,function(e){l.has(e)||t(e)}),i}function wk(e,t){var r,n;try{for(var i=ZT(bk(e)),o=i.next();!o.done;o=i.next())t(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Pk(e,t){wk(e,function(e){t(e.rangeId)})}var Sk=new WeakMap;function xk(e,t){var r=Sk.get(e);return void 0!==r&&r.endMarker===t||(r=new uk(e,t),Sk.set(e,r)),r}function Ck(e){for(var t=bk(e),r=new Set,n=[],i=0;i<t.length;i+=1){var o=t[i];if(o instanceof ok)for(var a=o,l=i+1;l<t.length;l+=1){var s=t[l];if(s instanceof lk&&(s.rangeId===a.rangeId&&!r.has(s))){r.add(s);var u=Sk.get(a);void 0!==u&&u.endMarker===s||(u=new uk(a,s),Sk.set(a,u)),n.push(u);break}}}return n}function Ik(e){for(var t=new Set,r=(Pk(e,function(e){t.add(e)}),-1);t.has(r);)--r;return r}var Vk=!1;function Tk(){Vk||(Vk=!0,Rr({id:KT}),Pn({featureId:KT,wmlLocalName:"permStart",tryParse:yk}),Pn({featureId:KT,wmlLocalName:"permEnd",tryParse:gk}),Mr({featureId:KT,wmlLocalName:"permStart",tryParse:yk}),Mr({featureId:KT,wmlLocalName:"permEnd",tryParse:gk}),_n({featureId:KT,materialize:function(e){var n,i;e=e,n=new Map,i=0,Pk(e,function(e){0<=e&&i<=e&&(i=e+1)}),wk(e,function(e){var t,r;e.isPendingRangeId()&&(t=e.rangeId,void 0===(r=n.get(t))&&(r=i,i+=1,n.set(t,r)),e.setRangeId(r))})}}))}function kk(e,t){var r=e,n=t.startInlineIndex,i=t.endInlineIndex;if(r=r.items.length,!Number.isInteger(n)||!Number.isInteger(i)||n<0||i<n||r<i)throw new J("content/invalid-editable-range","Editable range indices out of range: start="+String(n)+" end="+String(i)+" length="+String(r));n=Ik(e.owningDocument()),i=new ok(n,{editorGroup:t.editorGroup,editor:t.editor,columnFirst:t.columnFirst,columnLast:t.columnLast}),r=new lk(n);return e.insertFeatureInlineAt(t.startInlineIndex,KT,i),e.insertFeatureInlineAt(t.endInlineIndex+1,KT,r),xk(i,r)}D.prototype.appendEditableRange=function(e,t){void 0===t&&(t={});var r=Ik(this.owningDocument()),t=new ok(r,{editorGroup:t.editorGroup,editor:t.editor,columnFirst:t.columnFirst,columnLast:t.columnLast}),e=(this.appendFeatureInline(KT,t),this.appendText(e),new lk(r));return this.appendFeatureInline(KT,e),xk(t,e)},D.prototype.insertEditableRangeAt=function(e){return kk(this,e)};var Fk,Dk,Ok=KT,Nk=(Tk(),Fk=function(e,t){return(Fk=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)},function(e,t){function r(){this.constructor=e}Fk(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Ak=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ek=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ak(arguments[t]));return e},Lk=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Rk={Separator:"separate",End:"end"},Bk=(Nk(_k,Dk=js),Object.defineProperty(_k.prototype,"wireGroup",{get:function(){return this.wireGroupValue},enumerable:!0,configurable:!0}),Object.defineProperty(_k.prototype,"fieldMarkType",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),_k.prototype.childElements=function(){return this.extrasValue},_k.prototype.toOpenXml=function(){var e=[y("fldCharType",this.typeValue)];return void 0!==this.fldLockValue&&e.push(y("fldLock",this.fldLockValue?"1":"0")),void 0!==this.dirtyValue&&e.push(y("dirty",this.dirtyValue?"1":"0")),b("fldChar",{attributes:e,children:Ek(this.extrasValue)})},_k);function _k(e,t,r,n,i){var o=Dk.call(this)||this;return o.typeValue=e,o.fldLockValue=t,o.dirtyValue=r,o.extrasValue=n,o.wireGroupValue=null!=i?i:new qs,o}Nk(zk,jk=js),Object.defineProperty(zk.prototype,"wireGroup",{get:function(){return this.wireGroupValue},enumerable:!0,configurable:!0}),Object.defineProperty(zk.prototype,"fieldType",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),Object.defineProperty(zk.prototype,"fieldCode",{get:function(){var e=this.findParagraph();return void 0===e?"":Jk(Zk(e,this))},set:function(e){if(0===e.trim().length)throw new J("content/invalid-field","Field instruction must not be empty");var t=/^\s*(\S+)/.exec(e);if((null!==t?t[1].toUpperCase():"")!==this.typeValue)throw new J("content/invalid-field","Field instruction keyword must match fieldType "+this.typeValue);t=this.findParagraph();if(void 0===t)throw new J("content/invalid-field","Field is not attached to a paragraph");var r=Zk(t,this);if(0<r.length){t=r[0];if(void 0!==t){e=e.trim();t.text=" "+e+" ";for(var n=1;n<r.length;n+=1){var i=r[n];void 0!==i&&(i.text="")}}}},enumerable:!0,configurable:!0}),Object.defineProperty(zk.prototype,"fieldValue",{get:function(){return this.text},enumerable:!0,configurable:!0}),Object.defineProperty(zk.prototype,"text",{get:function(){var e=this.findParagraph();return void 0===e?"":Jk(Kk(e,this))},set:function(e){var t=this.findParagraph();if(void 0===t)throw new J("content/invalid-field","Field is not attached to a paragraph");var r=Kk(t,this);if(0===r.length)throw new J("content/invalid-field","Field has no text result");t=r[0];if(void 0!==t){t.text=e;for(var n=1;n<r.length;n+=1){var i=r[n];void 0!==i&&(i.text="")}}},enumerable:!0,configurable:!0}),Object.defineProperty(zk.prototype,"characterFormat",{get:function(){var e=this.findParagraph();if(void 0===e)throw new J("content/invalid-field","Field is not attached to a paragraph");e=this.firstResultTextRange(e);if(void 0===e)throw new J("content/invalid-field","Field does not contain a text result");return e.characterFormat},enumerable:!0,configurable:!0}),zk.prototype.toOpenXml=function(){var e=[y("fldCharType","begin")];return void 0!==this.fldLockValue&&e.push(y("fldLock",this.fldLockValue?"1":"0")),void 0!==this.dirtyValue&&e.push(y("dirty",this.dirtyValue?"1":"0")),b("fldChar",{attributes:e,children:Ek(this.extrasValue)})},zk.prototype.findParagraph=function(){var e=this.owner;return void 0!==e&&"object"==typeof e&&"items"in e?e:void 0},zk.prototype.firstResultTextRange=function(e){e=Kk(e,this);return 0<e.length?e[0]:void 0};var jk,Mk=zk;function zk(e,t,r,n,i){var o=jk.call(this)||this;return o.typeValue=e,o.fldLockValue=t,o.dirtyValue=r,o.extrasValue=n,o.wireGroupValue=null!=i?i:new qs,o}Nk(Wk,Uk=Mk);var Uk,Hk=Wk;function Wk(){return null!==Uk&&Uk.apply(this,arguments)||this}Nk(Yk,Gk=Mk),Object.defineProperty(Yk.prototype,"fieldName",{get:function(){return $k(this.fieldCode).fieldName},set:function(e){e=e.trim();if(0===e.length)throw new J("content/invalid-field","MergeField fieldName must not be empty");var t=$k(this.fieldCode);t.fieldName=e,this.fieldCode=function(e){var t=Ek(e.tokens||[]);0<t.length?t[0]="MERGEFIELD":t.push("MERGEFIELD");1<t.length?t[1]=e.fieldName:t.push(e.fieldName);return" "+t.join(" ")+" "}(t)},enumerable:!0,configurable:!0});var Gk,qk,Xk=Yk;function Yk(){return null!==Gk&&Gk.apply(this,arguments)||this}function Zk(e,t){for(var r=[],n=e.items.snapshot(),i=0,o=!1,a="instruction",l=0;l<n.length;l+=1){var s=n[l];if(s===t)o=!0,i=0,a="instruction";else if(o)if(s instanceof Mk)i+=1;else{if(s instanceof Bk){if(s.fieldMarkType===Rk.Separator){0===i&&(a="result");continue}if(s.fieldMarkType===Rk.End){if(0===i){a="done";break}--i;continue}}"instruction"===a&&0===i&&s instanceof w&&r.push(s)}}return r}function Kk(e,t){for(var r=[],n=e.items.snapshot(),i=0,o=!1,a="instruction",l=0;l<n.length;l+=1){var s=n[l];if(s===t)o=!0,i=0,a="instruction";else if(o)if(s instanceof Mk)i+=1;else{if(s instanceof Bk){if(s.fieldMarkType===Rk.Separator){0===i&&(a="result");continue}if(s.fieldMarkType===Rk.End){if(0===i){a="done";break}--i;continue}}"result"===a&&0===i&&s instanceof w&&r.push(s)}}return r}function Jk(e){var t,r,n="";try{for(var i=Lk(e),o=i.next();!o.done;o=i.next())n+=o.value.text}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function $k(e){var e=function(e){var t=[],r=e.trim(),n=0;for(;n<r.length;){for(;n<r.length;){if(void 0===(o=r[n])||!/\s/.test(o))break;n+=1}if(n>=r.length)break;if('"'===r[n]){n+=1;for(var i="";n<r.length&&(void 0!==(o=r[n])&&'"'!==o);)i+=o,n+=1;n<r.length&&'"'===r[n]&&(n+=1),t.push(i)}else{for(var o,a="";n<r.length;){if(void 0===(o=r[n])||/\s/.test(o)||'"'===o)break;a+=o,n+=1}0<a.length&&t.push(a)}}return t}(e),t=e[0];return{fieldName:e[1]||"",tokens:e,keyword:t}}function Qk(e){qk=e}function eF(){if(void 0===qk)throw new J("feature/not-registered","Picture caption authoring is not loaded; import @syncfusion/ej2-docx/images (or load captions authoring with fields and styles) before addCaption");return qk}var tF=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},rF=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},nF={Arabic:"arabic",UpperCaseRoman:"upperCaseRoman",LowerCaseRoman:"lowerCaseRoman",UpperCaseLetter:"upperCaseLetter",LowerCaseLetter:"lowerCaseLetter"},iF={Above:"above",Below:"below"},oF=((Nk={})[nF.Arabic]="ARABIC",Nk[nF.UpperCaseRoman]="ROMAN",Nk[nF.LowerCaseRoman]="roman",Nk[nF.UpperCaseLetter]="ALPHABETIC",Nk[nF.LowerCaseLetter]="alphabetic",Nk),aF=new Set(ua(nF)),lF=new Set(ua(iF));function sF(e,t){if(t===nF.Arabic)return String(e);if(t===nF.UpperCaseRoman||t===nF.LowerCaseRoman)return r=function(e){var t,r,n=e,i="";try{for(var o=tF(uF),a=o.next();!a.done;a=o.next())for(var l=rF(a.value,2),s=l[0],u=l[1];s<=n;)i+=u,n-=s}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}(e),t===nF.UpperCaseRoman?r:r.toLowerCase();for(var r=e,n=t===nF.UpperCaseLetter,i=r,o="";0<i;){var a=(i-1)%26+1,a=String.fromCharCode((n?64:96)+a);o=a+o,i=Math.floor((i-1)/26)}return o}var uF=[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]];var cF=new WeakMap;function dF(e,t){cF.set(e,t)}function hF(e){return cF.get(e)}var pF=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},fF=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(pF(arguments[t]));return e},vF=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},mF="Caption";function yF(e,t,r){if(!r.has(t)){if("format"===e)throw new J("content/invalid-image-caption-format","Invalid "+e+' value "'+t+'"; expected one of: '+fF(r).join(", "));throw new J("content/invalid-image-caption-position","Invalid "+e+' value "'+t+'"; expected one of: '+fF(r).join(", "))}}function gF(e,t,r,n){if("string"!=typeof t||0===t.trim().length)throw new J("content/invalid-image-caption-name","Caption name must be a non-empty string (not null, undefined, empty, or whitespace-only)");yF("format",String(r),aF),yF("position",String(n),lF);var i=hF(e);if(void 0===i)throw new N("This picture is not attached to a document; attach it with paragraph.appendImage() before adding a caption");var l,s,e=function(e,t){for(var r=e.listBlocks(),n=0;n<r.length;n+=1){var i=r[n];if(void 0!==i&&"paragraph"===i.type&&-1!==b1(i.paragraph).indexOf(t))return{paragraph:i.paragraph,blockIndex:n}}throw new N("This picture is not attached to a paragraph in a document body; captions require a main-body picture paragraph")}(i,e).blockIndex,t=t.trim(),o=(KP(i).ensureParagraphStyle(mF),"SEQ "+t+" \\* "+oF[r]),n=i.insertParagraphAtBlockIndex(n===iF.Above?e:e+1),e=(n.styleId=mF,n.paragraphFormat),e=(e.beforeSpacing=1.5,e.afterSpacing=12,e.horizontalAlignment=da.Center,n.appendText(t+" "),sF((l=t,s=0,Mn(i,function(e){var t,r,n;try{for(var i=vF(JD(e)),o=i.next();!o.done;o=i.next()){var a=o.value;"SEQ"===$D(a)&&(null!=(n=a.trim().split(/\s+/)[1])?n:"")===l&&(s+=1)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),s+1),r));return KD(n,o,{result:e}),n}Qk(gF);var bF=function(){return(bF=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},wF=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},v="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",PF="http://schemas.openxmlformats.org/drawingml/2006/main",SF="http://schemas.openxmlformats.org/drawingml/2006/picture",xF="http://schemas.openxmlformats.org/officeDocument/2006/relationships",CF=6e4,IF="http://schemas.openxmlformats.org/drawingml/2006/picture";function VF(e){return e.children.filter(function(e){return"element"===e.kind})}function TF(e,t,r){return e.namespaceUri===t&&e.localName===r}function kF(e,t,r){var n,i;if(TF(e,t,r))return e;try{for(var o=wF(VF(e)),a=o.next();!a.done;a=o.next()){var l=kF(a.value,t,r);if(void 0!==l)return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function FF(e,t,r){e=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r});return null==e?void 0:e.value}function DF(e){var t,r,n="";try{for(var i=wF(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function c(e,t,r,n){return{kind:"element",namespaceUri:e,localName:r,prefix:t,attributes:null!=(e=null==n?void 0:n.attributes)?e:[],namespaceDeclarations:null!=(r=null==n?void 0:n.namespaceDeclarations)?r:[],children:null!=(t=null==n?void 0:n.children)?t:[]}}function d(e,t,r,n){return{namespaceUri:r=void 0===r?"":r,localName:e,prefix:n=void 0===n?"":n,value:t}}function OF(e,t){return[d("cx",String(e)),d("cy",String(t))]}function NF(e){return"1"===e||"true"===e}function AF(e){var t,r;if(void 0!==e)try{for(var n=wF(VF(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(TF(o,PF,"hlinkClick")){var a=FF(o,xF,"id");if(void 0!==a&&0<a.length)return a}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function EF(e){if(void 0!==e){e=VF(e).find(function(e){return TF(e,v,"posOffset")});if(void 0!==e){e=DF(e).trim();if(/^-?\d+$/.test(e))return uo(Number.parseInt(e,10))}}}function LF(e,t){if(void 0!==e){var e=VF(e).find(function(e){return TF(e,v,"align")});if(void 0!==e)return e=DF(e).trim(),"h"===t?JS(e)?e:void 0:QS(e)?e:void 0}}function RF(e){if(te(e,"drawing")){var t=kF(e,PF,"blip");if(void 0!==t){t=FF(t,xF,"embed");if(void 0!==t&&0!==t.length){var r=kF(e,v,"inline"),n=kF(e,v,"anchor"),n=null!=r?r:n;if(void 0!==n){var r=void 0!==r?NS.Inline:NS.Anchored,i=kF(n,v,"extent");if(void 0!==i){var o,a,l,s,u,c,d,h,p,f=FF(i,"","cx"),i=FF(i,"","cy");if(void 0!==f&&void 0!==i&&/^\d+$/.test(f)&&/^\d+$/.test(i)&&"0"!==f&&"0"!==i)return o=kF(n,v,"positionH"),a=kF(n,v,"positionV"),l=void 0!==o?FF(o,"","relativeFrom"):void 0,s=void 0!==a?FF(a,"","relativeFrom"):void 0,p=null!=(p=kF(e,SF,"pic"))?p:e,u=void 0===(h=kF(h=p,PF,"xfrm"))?{rotation:0,flipHorizontal:!1,flipVertical:!1}:{rotation:void 0!==(u=FF(h,"","rot"))&&/^-?\d+$/.test(u)?Number.parseInt(u,10)/CF:0,flipHorizontal:NF(FF(h,"","flipH")),flipVertical:NF(FF(h,"","flipV"))},c=void 0===(h=kF(h=n,v,"docPr"))?{name:"Picture",title:void 0,description:void 0,id:1,hyperlinkRelationshipId:void 0}:(d=void 0!==(d=FF(h,"","id"))&&/^\d+$/.test(d)?Number.parseInt(d,10):1,{name:null!=(c=FF(h,"","name"))?c:"Picture",title:FF(h,"","title"),description:FF(h,"","descr"),id:d,hyperlinkRelationshipId:AF(h)}),d=kF(p,SF,"cNvPr"),h=null!=c.hyperlinkRelationshipId?c.hyperlinkRelationshipId:AF(d),{placement:r,wrapping:(p=n,r===NS.Inline?V.Inline:void 0!==kF(p,v,"wrapNone")?V.None:void 0!==kF(p,v,"wrapSquare")?V.Square:void 0!==kF(p,v,"wrapTight")?V.Tight:void 0!==kF(p,v,"wrapThrough")?V.Through:void 0!==kF(p,v,"wrapTopAndBottom")?V.TopAndBottom:V.None),widthEmu:bo(Number.parseInt(f,10)),heightEmu:bo(Number.parseInt(i,10)),relationshipId:t,name:c.name,title:c.title,description:c.description,lockAspectRatio:void 0!==(r=kF(r=n,PF,"graphicFrameLocks"))&&NF(FF(r,"","noChangeAspect")),rotation:u.rotation,flipHorizontal:u.flipHorizontal,flipVertical:u.flipVertical,horizontalOrigin:void 0!==l&&ZS(l)?l:void 0,verticalOrigin:void 0!==s&&KS(s)?s:void 0,horizontalPosition:EF(o),verticalPosition:EF(a),horizontalAlignment:LF(o,"h"),verticalAlignment:LF(a,"v"),docPrId:c.id,hyperlinkRelationshipId:h,preservedHost:e}}}}}}}function BF(e){return c(PF,"a","hlinkClick",{attributes:[d("id",e,xF,"r")],children:[],namespaceDeclarations:[]})}function _F(e){var t=[d("id",String(e.docPrId)),d("name",e.name)],r=(void 0!==e.description&&0<e.description.length&&t.push(d("descr",e.description)),void 0!==e.title&&0<e.title.length&&t.push(d("title",e.title)),[]);return void 0!==e.hyperlinkRelationshipId&&0<e.hyperlinkRelationshipId.length&&r.push(BF(e.hyperlinkRelationshipId)),c(v,"wp","docPr",{attributes:t,children:r})}function jF(){return c(v,"wp","effectExtent",{attributes:[d("l","0"),d("t","0"),d("r","0"),d("b","0")]})}function MF(e){e=e?[d("noChangeAspect","1")]:[];return c(v,"wp","cNvGraphicFramePr",{children:[c(PF,"a","graphicFrameLocks",{attributes:e})]})}function zF(e){var t=[],r=(0!==e.rotation&&t.push(d("rot",String(Math.round(e.rotation*CF)))),e.flipHorizontal&&t.push(d("flipH","1")),e.flipVertical&&t.push(d("flipV","1")),c(SF,"pic","blipFill",{children:[c(PF,"a","blip",{attributes:[(r=e.relationshipId,{namespaceUri:xF,localName:"embed",prefix:"r",value:r})]}),c(PF,"a","stretch",{children:[c(PF,"a","fillRect")]})]})),t=c(SF,"pic","spPr",{children:[c(PF,"a","xfrm",{attributes:t,children:[c(PF,"a","off",{attributes:[d("x","0"),d("y","0")]}),c(PF,"a","ext",{attributes:OF(e.widthEmu,e.heightEmu)})]}),c(PF,"a","prstGeom",{attributes:[d("prst","rect")],children:[c(PF,"a","avLst")]})]});return c(SF,"pic","pic",{namespaceDeclarations:[{prefix:"pic",namespaceUri:SF},{prefix:"a",namespaceUri:PF},{prefix:"r",namespaceUri:xF}],children:[c(SF,"pic","nvPicPr",{children:[c(SF,"pic","cNvPr",{attributes:[d("id","0"),d("name",e.name)],children:void 0!==e.hyperlinkRelationshipId&&0<e.hyperlinkRelationshipId.length?[BF(e.hyperlinkRelationshipId)]:[]}),c(SF,"pic","cNvPicPr")]}),r,t]})}function UF(e){return c(PF,"a","graphic",{children:[c(PF,"a","graphicData",{attributes:[d("uri",IF)],children:[zF(e)]})]})}function HF(r){var t,e;if(void 0!==r)try{for(var n=wF(["wrapNone","wrapSquare","wrapTight","wrapThrough","wrapTopAndBottom"]),i=n.next();!i.done;i=n.next()){var o=function(t){var e=VF(r).find(function(e){return TF(e,v,t)});if(void 0!==e)return{value:e}}(i.value);if("object"==typeof o)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}function WF(e){if(void 0!==e)return VF(e).find(function(e){return TF(e,v,"effectExtent")})}function GF(e){var t,r,n,i,o=void 0!==e.preservedHost?kF(e.preservedHost,v,"anchor"):void 0,a=[d("distT","0"),d("distB","0"),d("distL","114300"),d("distR","114300"),d("simplePos","0"),d("relativeHeight","251658240"),d("behindDoc","0"),d("locked","0"),d("layoutInCell","1"),d("allowOverlap","1")],l=function(e,t){var r,n;if(void 0===e)return[];var i=[];try{for(var o=wF(t),a=o.next();!a.done;a=o.next()){var l=a.value,s=FF(e,"",l);void 0!==s&&i.push(d(l,s))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}(o,["distT","distB","distL","distR","simplePos","relativeHeight","behindDoc","locked","layoutInCell","allowOverlap","hidden"]),l=0<l.length?l:a,a=HF(o),s=null!=(s=WF(o))?s:jF(),u=o?VF(o).find(function(e){return TF(e,v,"simplePos")}):void 0;return u=e.layoutDirty||void 0===o?(t=null!=u?u:c(v,"wp","simplePos",{attributes:[d("x","0"),d("y","0")]}),i=(n=e).horizontalOrigin,n=void 0!==n.horizontalAlignment?c(v,"wp","align",{children:[{kind:"text",value:n.horizontalAlignment}]}):(n=void 0!==n.horizontalPosition?lo(n.horizontalPosition):0,c(v,"wp","posOffset",{children:[{kind:"text",value:String(n)}]})),i=c(v,"wp","positionH",{attributes:[d("relativeFrom",i)],children:[n]}),r=(n=e).verticalOrigin,n=void 0!==n.verticalAlignment?c(v,"wp","align",{children:[{kind:"text",value:n.verticalAlignment}]}):(n=void 0!==n.verticalPosition?lo(n.verticalPosition):0,c(v,"wp","posOffset",{children:[{kind:"text",value:String(n)}]})),r=c(v,"wp","positionV",{attributes:[d("relativeFrom",r)],children:[n]}),function(e,t){if(void 0!==t&&(e===V.Tight&&"wrapTight"===t.localName||e===V.Through&&"wrapThrough"===t.localName||e===V.Square&&"wrapSquare"===t.localName||e===V.None&&"wrapNone"===t.localName||e===V.TopAndBottom&&"wrapTopAndBottom"===t.localName))return t;switch(e){case V.None:return c(v,"wp","wrapNone");case V.Square:return c(v,"wp","wrapSquare",{attributes:[d("wrapText","bothSides")]});case V.TopAndBottom:return c(v,"wp","wrapTopAndBottom");case V.Tight:return void 0!==t&&"wrapTight"===t.localName?t:null!=t?t:c(v,"wp","wrapNone");case V.Through:return void 0!==t&&"wrapThrough"===t.localName?t:null!=t?t:c(v,"wp","wrapNone");default:return c(v,"wp","wrapNone")}}(e.wrapping===V.Inline?V.None:e.wrapping,a)):(n=VF(o).find(function(e){return TF(e,v,"positionH")}),o=VF(o).find(function(e){return TF(e,v,"positionV")}),t=null!=u?u:c(v,"wp","simplePos",{attributes:[d("x","0"),d("y","0")]}),i=null!=n?n:c(v,"wp","positionH",{attributes:[d("relativeFrom",AS.Column)],children:[c(v,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),r=null!=o?o:c(v,"wp","positionV",{attributes:[d("relativeFrom",ES.Paragraph)],children:[c(v,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),null!=a?a:c(v,"wp","wrapNone")),c(v,"wp","anchor",{namespaceDeclarations:[{prefix:"wp",namespaceUri:v},{prefix:"a",namespaceUri:PF},{prefix:"pic",namespaceUri:SF},{prefix:"r",namespaceUri:xF}],attributes:l,children:[t,i,r,c(v,"wp","extent",{attributes:OF(e.widthEmu,e.heightEmu)}),s,u,_F(e),MF(e.lockAspectRatio),UF(e)]})}function qF(e){if(0===e.relationshipId.length)throw new Error("encodePictureHost: relationship id is not materialized");var t;return b("drawing",{children:[e.placement===NS.Anchored||e.wrapping!==V.Inline?GF(bF({},e,{placement:NS.Anchored,wrapping:e.wrapping===V.Inline?V.None:e.wrapping})):(t=null!=(t=WF(void 0!==(e=e).preservedHost?kF(e.preservedHost,v,"inline"):void 0))?t:jF(),c(v,"wp","inline",{namespaceDeclarations:[{prefix:"wp",namespaceUri:v},{prefix:"a",namespaceUri:PF},{prefix:"pic",namespaceUri:SF},{prefix:"r",namespaceUri:xF}],attributes:[d("distT","0"),d("distB","0"),d("distL","0"),d("distR","0")],children:[c(v,"wp","extent",{attributes:OF(e.widthEmu,e.heightEmu)}),t,_F(e),MF(e.lockAspectRatio),UF(e)]}))]})}var XF="image/png",YF="image/jpeg";function ZF(e,t){var r;return((null!=e[t]?e[t]:0)<<24|(null!=(r=e[t+1])?r:0)<<16|(null!=(r=e[t+2])?r:0)<<8|(null!=(r=e[t+3])?r:0))>>>0}function KF(e){if(24<=e.length&&137===e[0]&&80===e[1]&&78===e[2]&&71===e[3])return{width:ZF(e,16),height:ZF(e,20)};if(4<=e.length&&255===e[0]&&216===e[1])for(var t=2;t+9<e.length&&255===e[t];){var r=e[t+1];if(void 0===r)break;if(217===r||218===r)break;var n,i=(null!=(i=e[t+2])?i:0)<<8|(null!=(i=e[t+3])?i:0);if(i<2)break;if(192<=r&&r<=207&&196!==r&&200!==r&&204!==r)return r=(null!=(r=e[t+5])?r:0)<<8|(null!=(r=e[t+6])?r:0),0<(n=(null!=(n=e[t+7])?n:0)<<8|(null!=(n=e[t+8])?n:0))&&0<r?{width:n,height:r}:void 0;t+=2+i}}function JF(e){return 8<=e.length&&137===e[0]&&80===e[1]&&78===e[2]&&71===e[3]?XF:3<=e.length&&255===e[0]&&216===e[1]&&255===e[2]?YF:void 0}var $F=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function QF(e,t){return e>>>t|e<<32-t}function e1(e){for(var t=8*e.length,r=e.length+1+8+63&-64,n=new Uint8Array(r),i=(n.set(e),n[e.length]=128,new DataView(n.buffer)),o=(i.setUint32(r-4,t>>>0,!1),1779033703),a=3144134277,l=1013904242,s=2773480762,u=1359893119,c=2600822924,d=528734635,h=1541459225,p=new Array(64),f=0;f<r;f+=64){for(var v=0;v<16;v++)p[v]=i.getUint32(f+4*v,!1);for(v=16;v<64;v++){var m=QF(p[v-15],7)^QF(p[v-15],18)^p[v-15]>>>3,y=QF(p[v-2],17)^QF(p[v-2],19)^p[v-2]>>>10;p[v]=p[v-16]+m+p[v-7]+y|0}for(var g=o,b=a,w=l,P=s,S=u,x=c,C=d,I=h,v=0;v<64;v++)var V=I+(y=QF(S,6)^QF(S,11)^QF(S,25))+(S&x^~S&C)+$F[v]+p[v]|0,T=g&b^g&w^b&w,I=C,C=x,x=S,S=P+V|0,P=w,w=b,b=g,g=V+((m=QF(g,2)^QF(g,13)^QF(g,22))+T|0)|0;o=o+g|0,a=a+b|0,l=l+w|0,s=s+P|0,u=u+S|0,c=c+x|0,d=d+C|0,h=h+I|0}for(var k=new Uint8Array(32),e=new DataView(k.buffer),F=(e.setUint32(0,o,!1),e.setUint32(4,a,!1),e.setUint32(8,l,!1),e.setUint32(12,s,!1),e.setUint32(16,u,!1),e.setUint32(20,c,!1),e.setUint32(24,d,!1),e.setUint32(28,h,!1),""),v=0;v<k.length;v++)F+=(k[v]<16?"0":"")+k[v].toString(16);return F}var t1=function(){return(t1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},r1=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},n1=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r1(arguments[t]));return e},i1=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},o1=Er("images"),a1="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Nk="http://purl.oclc.org/ooxml/officeDocument/relationships/image",l1=[a1,Nk],s1="image/png",u1="image/jpeg";function c1(e){return t1({relationshipId:e.relationshipId,width:e.width,height:e.height},void 0!==e.name?{name:e.name}:{},void 0!==e.title?{title:e.title}:{},void 0!==e.description?{description:e.description}:{},void 0!==e.lockAspectRatio?{lockAspectRatio:e.lockAspectRatio}:{},void 0!==e.rotation?{rotation:e.rotation}:{},void 0!==e.flipHorizontal?{flipHorizontal:e.flipHorizontal}:{},void 0!==e.flipVertical?{flipVertical:e.flipVertical}:{},void 0!==e.placement?{placement:e.placement}:{},void 0!==e.wrapping?{wrapping:e.wrapping}:{},void 0!==e.horizontalOrigin?{horizontalOrigin:e.horizontalOrigin}:{},void 0!==e.verticalOrigin?{verticalOrigin:e.verticalOrigin}:{},void 0!==e.horizontalPosition?{horizontalPosition:e.horizontalPosition}:{},void 0!==e.verticalPosition?{verticalPosition:e.verticalPosition}:{},void 0!==e.horizontalAlignment?{horizontalAlignment:e.horizontalAlignment}:{},void 0!==e.verticalAlignment?{verticalAlignment:e.verticalAlignment}:{},void 0!==e.docPrId?{docPrId:e.docPrId}:{},void 0!==e.preservedHost?{preservedHost:e.preservedHost}:{},void 0!==e.layoutDirty?{layoutDirty:e.layoutDirty}:{},void 0!==e.hyperlinkRelationshipId?{hyperlinkRelationshipId:e.hyperlinkRelationshipId}:{},void 0!==e.hyperlinkTarget?{hyperlinkTarget:e.hyperlinkTarget}:{})}h1.fromHostState=function(e){return new h1(c1({relationshipId:e.relationshipId,width:uo(e.widthEmu),height:uo(e.heightEmu),name:e.name,title:e.title,description:e.description,lockAspectRatio:e.lockAspectRatio,rotation:e.rotation,flipHorizontal:e.flipHorizontal,flipVertical:e.flipVertical,placement:e.placement,wrapping:e.wrapping,horizontalOrigin:e.horizontalOrigin,verticalOrigin:e.verticalOrigin,horizontalPosition:e.horizontalPosition,verticalPosition:e.verticalPosition,horizontalAlignment:e.horizontalAlignment,verticalAlignment:e.verticalAlignment,docPrId:e.docPrId,preservedHost:e.preservedHost,layoutDirty:!1,hyperlinkRelationshipId:e.hyperlinkRelationshipId}))},Object.defineProperty(h1.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"height",{get:function(){return this.heightValue},set:function(e){this.heightValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"hyperlinkRelationshipId",{get:function(){return this.hyperlinkRelationshipIdValue},set:function(e){this.hyperlinkRelationshipIdValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"hyperlinkTarget",{get:function(){return this.hyperlinkTargetValue},set:function(e){this.hyperlinkTargetValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"relationshipId",{get:function(){return this.relationshipIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"name",{get:function(){return this.nameValue},set:function(e){this.nameValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"title",{get:function(){return this.titleValue},set:function(e){this.titleValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"description",{get:function(){return this.descriptionValue},set:function(e){this.descriptionValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"lockAspectRatio",{get:function(){return this.lockAspectRatioValue},set:function(e){this.lockAspectRatioValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"rotation",{get:function(){return this.rotationValue},set:function(e){if(!Number.isFinite(e))throw new RangeError('Invalid rotation value "'+String(e)+'"; expected a finite number');this.rotationValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"flipHorizontal",{get:function(){return this.flipHorizontalValue},set:function(e){this.flipHorizontalValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"flipVertical",{get:function(){return this.flipVerticalValue},set:function(e){this.flipVerticalValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"placement",{get:function(){return this.placementValue},set:function(e){tx("placement",e,rx),(this.placementValue=e)===NS.Inline?this.wrappingValue=V.Inline:this.wrappingValue===V.Inline&&(this.wrappingValue=V.None),this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"textWrappingStyle",{get:function(){return this.wrappingValue},set:function(e){tx("textWrappingStyle",e,nx),(this.wrappingValue=e)===V.Inline?this.placementValue=NS.Inline:this.placementValue=NS.Anchored,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"wrapping",{get:function(){return this.textWrappingStyle},set:function(e){this.textWrappingStyle=e},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"horizontalOrigin",{get:function(){return this.horizontalOriginValue},set:function(e){void 0!==e&&tx("horizontalOrigin",e,ix),this.horizontalOriginValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"verticalOrigin",{get:function(){return this.verticalOriginValue},set:function(e){void 0!==e&&tx("verticalOrigin",e,ox),this.verticalOriginValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"horizontalPosition",{get:function(){return this.horizontalPositionValue},set:function(e){void 0!==(this.horizontalPositionValue=e)&&(this.horizontalAlignmentValue=void 0),this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"verticalPosition",{get:function(){return this.verticalPositionValue},set:function(e){void 0!==(this.verticalPositionValue=e)&&(this.verticalAlignmentValue=void 0),this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"horizontalAlignment",{get:function(){return this.horizontalAlignmentValue},set:function(e){void 0!==e&&(tx("horizontalAlignment",e,ax),this.horizontalPositionValue=void 0),this.horizontalAlignmentValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(h1.prototype,"verticalAlignment",{get:function(){return this.verticalAlignmentValue},set:function(e){void 0!==e&&(tx("verticalAlignment",e,sx),this.verticalPositionValue=void 0),this.verticalAlignmentValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),h1.prototype.isPendingRelationship=function(){return 0===this.relationshipIdValue.length},h1.prototype.resolveRelationshipId=function(e){this.relationshipIdValue=e},h1.prototype.applyAppendOptions=function(e){void 0!==e.name&&(this.name=e.name),void 0!==e.title&&(this.title=e.title),void 0!==e.description&&(this.description=e.description),void 0!==e.lockAspectRatio&&(this.lockAspectRatio=e.lockAspectRatio),void 0!==e.rotation&&(this.rotation=e.rotation),void 0!==e.flipHorizontal&&(this.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(this.flipVertical=e.flipVertical);var t=void 0!==e.textWrappingStyle?e.textWrappingStyle:e.wrapping;void 0!==t?this.textWrappingStyle=t:void 0!==e.placement&&(this.placement=e.placement),void 0!==e.horizontalOrigin&&(this.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(this.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalAlignment&&(this.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(this.verticalAlignment=e.verticalAlignment),void 0!==e.horizontalPosition&&(this.horizontalPosition=e.horizontalPosition),void 0!==e.verticalPosition&&(this.verticalPosition=e.verticalPosition)},h1.prototype.addCaption=function(e,t,r){return eF()(this,e,t,r)},h1.prototype.loadImage=function(e){var t=hF(this);if(void 0===t)throw new J("model/detached-object","Picture is not attached to a document; cannot load image bytes");var t=g1(t),r=JF(e),r=null!=r?r:s1;this.isPendingRelationship()?void 0!==t.pendingBytesFor(this)?t.updatePendingBytes(this,e):t.registerPendingImage(this,e,r):t.replaceBytes(this.relationshipId,e)},h1.prototype.toOpenXml=function(){if(0===this.relationshipIdValue.length)throw new J("model/detached-object","Inline image relationship id is not materialized; save the document first");return qF({placement:this.placementValue,wrapping:this.wrappingValue,widthEmu:ao(this.widthValue),heightEmu:ao(this.heightValue),relationshipId:this.relationshipIdValue,name:this.nameValue,title:this.titleValue,description:this.descriptionValue,lockAspectRatio:this.lockAspectRatioValue,rotation:this.rotationValue,flipHorizontal:this.flipHorizontalValue,flipVertical:this.flipVerticalValue,horizontalOrigin:null!=this.horizontalOriginValue?this.horizontalOriginValue:AS.Column,verticalOrigin:null!=this.verticalOriginValue?this.verticalOriginValue:ES.Paragraph,horizontalPosition:this.horizontalPositionValue,verticalPosition:this.verticalPositionValue,horizontalAlignment:this.horizontalAlignmentValue,verticalAlignment:this.verticalAlignmentValue,docPrId:this.docPrIdValue,preservedHost:this.preservedHostValue,layoutDirty:this.layoutDirtyValue,hyperlinkRelationshipId:this.hyperlinkRelationshipIdValue})};var d1=h1;function h1(e,t,r){this.type=M.EntityType.Picture,e instanceof Cd?(this.relationshipIdValue="",this.widthValue=100,this.heightValue=100,this.nameValue="Picture",this.titleValue=void 0,this.descriptionValue=void 0,this.lockAspectRatioValue=!0,this.rotationValue=0,this.flipHorizontalValue=!1,this.flipVerticalValue=!1,this.placementValue=NS.Inline,this.wrappingValue=V.Inline,this.horizontalOriginValue=void 0,this.verticalOriginValue=void 0,this.horizontalPositionValue=void 0,this.verticalPositionValue=void 0,this.horizontalAlignmentValue=void 0,this.verticalAlignmentValue=void 0,this.docPrIdValue=1,this.preservedHostValue=void 0,this.layoutDirtyValue=!0,this.hyperlinkRelationshipIdValue=void 0,this.hyperlinkTargetValue=void 0,dF(this,e)):(r=(t="string"==typeof e?{relationshipId:e,width:t,height:r}:e).placement,e=(e=null!=(e=t.wrapping)?e:V.Inline)!==V.Inline?{placement:NS.Anchored,wrapping:e}:r===NS.Anchored?{placement:NS.Anchored,wrapping:V.None}:{placement:NS.Inline,wrapping:V.Inline},this.relationshipIdValue=t.relationshipId,this.widthValue=t.width,this.heightValue=t.height,this.nameValue=null!=t.name?t.name:"Picture",this.titleValue=t.title,this.descriptionValue=t.description,this.lockAspectRatioValue=null==t.lockAspectRatio||t.lockAspectRatio,this.rotationValue=null!=t.rotation?t.rotation:0,this.flipHorizontalValue=null!=t.flipHorizontal&&t.flipHorizontal,this.flipVerticalValue=null!=t.flipVertical&&t.flipVertical,this.placementValue=e.placement,this.wrappingValue=e.wrapping,this.horizontalOriginValue=t.horizontalOrigin,this.verticalOriginValue=t.verticalOrigin,this.horizontalPositionValue=t.horizontalPosition,this.verticalPositionValue=t.verticalPosition,this.horizontalAlignmentValue=t.horizontalAlignment,this.verticalAlignmentValue=t.verticalAlignment,this.docPrIdValue=null!=t.docPrId?t.docPrId:1,this.preservedHostValue=t.preservedHost,this.layoutDirtyValue=null!=t.layoutDirty?t.layoutDirty:void 0===t.preservedHost,this.hyperlinkRelationshipIdValue=t.hyperlinkRelationshipId,this.hyperlinkTargetValue=t.hyperlinkTarget)}f1.prototype.removeEntry=function(e){var t=this.byRelationshipId.get(e);void 0!==t&&(this.entries.delete(t.partName),this.byRelationshipId.delete(e),this.pendingRemovals.push(t))},f1.prototype.isDirty=function(){var t,e;if(0<this.pendingRemovals.length||0<this.pendingImages.size)return!0;try{for(var r=i1(this.entries.values()),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.dirty||void 0!==i.pendingRelationship)return!0}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return!1},f1.prototype.applyToPackage=function(e,r){var t,n,i,o,a=e;try{for(var l=i1(this.entries.values()),s=l.next();!s.done;s=l.next())!function(t){if(!t.dirty&&void 0===t.pendingRelationship)return;var e=null!=t.pendingRelationship?t.pendingRelationship:kr(a,r).items.find(function(e){return e.id===t.relationshipId});a=un(a,r,t.partName,t.contentType,t.data,e),t.dirty=!1,t.pendingRelationship=void 0}(d=s.value)}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}try{for(var u=i1(this.pendingRemovals),c=u.next();!c.done;c=u.next())var d=c.value,a=function(e,t,r){return function(e,t,r){var n=kr(e,t),r=n.items.filter(r);return r.length!==n.items.length?Nr(e,t,hr(r,n.opaque)):e}(function(e,t){return t1({},e,{contentTypes:{records:e.contentTypes.records.filter(function(e){return!("override"===e.kind&&e.partName===t)})}})}(function(e,t){var r=$(t),t=e.parts.filter(function(e){return $(e.name)!==r});return t.length!==e.parts.length?t1({},e,{parts:t}):e}(e,r.partName),r.partName),t,function(e){return e.id!==r.relationshipId})}(a,r,d)}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return this.pendingRemovals.length=0,a},f1.prototype.bytesForRelationship=function(e){e=this.byRelationshipId.get(e);return null==e?void 0:e.data},f1.prototype.pendingBytesFor=function(e){e=this.pendingImages.get(e);return null==e?void 0:e.bytes},f1.prototype.registerPendingImage=function(e,t,r){this.pendingImages.set(e,{bytes:t,contentType:r})},f1.prototype.discardPendingImage=function(e){this.pendingImages.delete(e)},f1.prototype.updatePendingBytes=function(e,t){var r=this.pendingImages.get(e);if(void 0===r)throw new J("content/unknown-image","Pending inline image was not found");this.pendingImages.set(e,t1({},r,{bytes:t}))},f1.prototype.materializePending=function(u){var c,d=this;0!==this.pendingImages.size&&(c=new Map,Mn(u,function(e){var t,r;try{for(var n=i1(b1(e)),i=n.next();!i.done;i=n.next()){var o,a,l,s=i.value;s.isPendingRelationship()&&void 0!==(o=d.pendingImages.get(s))&&(a=e1(o.bytes),void 0===(l=c.get(a))&&(l=d.allocatePart(o.bytes,o.contentType,ln(u),function(e,t){var r,n,i,o,a=new Set;try{for(var l=i1(e.opcPackage().parts),s=l.next();!s.done;s=l.next()){var u=s.value;a.add($(u.name))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var c=i1(t.pendingPartNames()),d=c.next();!d.done;d=c.next()){var h=d.value;a.add($(h))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return a}(u,d)).relationshipId,c.set(a,l)),s.resolveRelationshipId(l),d.pendingImages.delete(s))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}))},f1.prototype.pendingRelationshipIds=function(){return n1(this.byRelationshipId.keys())},f1.prototype.pendingPartNames=function(){return n1(this.entries.keys())},f1.prototype.allocatePart=function(e,t,r,n){for(var n=function(e,t){var r=e===u1?"jpeg":"png",n=1;for(;t.has($(Lt("/word/media/image"+String(n)+"."+r)));)n+=1;return Lt("/word/media/image"+String(n)+"."+r)}(t,n),i=ir(r);this.byRelationshipId.has(i);)i=ir(new Set(n1(r,[i])));t={partName:n,relationshipId:i,relationshipType:a1,contentType:t,data:e,dirty:!0,pendingRelationship:{id:i,type:a1,target:n.slice("/word/".length),extraAttributes:[],children:[]}};return this.entries.set(n,t),this.byRelationshipId.set(i,t),{entry:t,relationshipId:i}},f1.prototype.replaceBytes=function(e,t){var r=this.byRelationshipId.get(e);if(void 0===r)throw new J("content/unknown-image","Image relationship "+e+" is not loaded");e=JF(r.data=t);void 0!==e&&(r.contentType=e),r.dirty=!0},f1.prototype.afterMainDocumentLoad=function(e){Mn(e,function(e){b1(e)})};var p1=f1;function f1(e){this.entries=e,this.byRelationshipId=new Map(n1(e.values()).map(function(e){return[e.relationshipId,e]})),this.pendingRemovals=[],this.pendingImages=new Map}function v1(e,t){var r,n,i,o,a=kr(e,t),l=new Map;try{for(var s=i1(a.items),u=s.next();!u.done;u=s.next()){var c,d,h=u.value;-1===l1.indexOf(h.type)||h.targetMode===tr.External||/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(h.target.trim())||void 0!==(c=Tr(e,Xt(h.target,t)))&&(o=void 0,d=(i=c).contentType===s1||i.contentType===u1||i.contentType.startsWith("image/")?i.contentType:(o=i.name.toLowerCase()).endsWith(".png")?s1:o.endsWith(".jpeg")||o.endsWith(".jpg")?u1:o.endsWith(".gif")?"image/gif":0<i.contentType.length?i.contentType:"application/octet-stream",l.set(c.name,{partName:c.name,relationshipId:h.id,relationshipType:h.type,contentType:d,data:c.data,dirty:!1,pendingRelationship:void 0}))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return new p1(l)}var m1=!1;function y1(){m1||(m1=!0,Rr({id:o1}),nn({featureId:o1,relationshipTypes:l1,loadParts:function(e,t){return v1(e,t.mainPartName)}}),_n({featureId:o1,materialize:function(e){var t=e.featurePart(o1);t instanceof p1&&t.materializePending(e)}}),gn({featureId:o1,wmlLocalName:"drawing",tryParse:function(e){e=RF(e);if(void 0!==e)return d1.fromHostState(e)}}))}function g1(e){e=e.featurePart(o1);if(void 0!==e&&e instanceof p1)return e;throw new J("feature/not-registered","Images catalog was not loaded; call registerImagesFeature() before WordDocument.open")}function b1(e){var t,r=[];return function e(t,r,n){var i,o;try{for(var a=i1(t),l=a.next();!l.done;l=a.next()){var s,u,c,d,h,p=l.value;p instanceof d1?(s=hF(p),void 0!==(d=void 0!==s?s:n())&&dF(p,d),r.push(p)):p instanceof cu&&I1(p)?(u=p.value,c=hF(u),void 0!==(d=void 0!==c?c:n())&&dF(u,d),r.push(u)):void 0!==(h=w1(p))&&e(h,r,n)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}(e.items.snapshot(),r,function(){return t=void 0===t?function(e){try{return e.owningDocument()}catch(e){}}(e):t}),r}function w1(e){return e instanceof F?P1(e.value):P1(e)}function P1(e){if(null!==e&&"object"==typeof e)if(e.entityType===M.EntityType.InlineContentControl){e=e.paragraphItems;if(void 0!==e)return"function"==typeof e.snapshot?e.snapshot():n1(e)}}function S1(e,t){var e=g1(e),r=e.pendingBytesFor(t);return void 0!==r?r:0!==t.relationshipId.length?e.bytesForRelationship(t.relationshipId):void 0}function x1(e,t,r){e=g1(e);t.isPendingRelationship()?e.updatePendingBytes(t,r):e.replaceBytes(t.relationshipId,r)}function C1(e,t,r){var n,i;try{for(var o=i1(t.items.snapshot()),a=o.next();!a.done;a=o.next()){var l=a.value;if(l instanceof d1&&l===r)return t.removeFeatureRunItem(r),void(r.isPendingRelationship()?g1(e).discardPendingImage(r):g1(e).removeEntry(r.relationshipId));if(l instanceof cu&&I1(l)&&l.value===r)return t.removeFeatureRunItem(r),void(r.isPendingRelationship()?g1(e).discardPendingImage(r):g1(e).removeEntry(r.relationshipId))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}throw new J("content/unknown-image","Inline picture is not in this paragraph")}function I1(e){return e instanceof d1||e instanceof cu&&e.featureId===o1&&e.value instanceof d1}D.prototype.appendImage=function(e,t){var t=null!=t?t:{},r=g1(this.owningDocument()),n=function(e,t){var r,n,t=null!=t?t:{},i=KF(e),o=void 0!==t.width,a=void 0!==t.height,o=(o&&a?(r=t.width,n=t.height):o&&!a?(r=t.width,n=void 0!==i&&0<i.width?po(r,i.height/i.width):100):!o&&a?(n=t.height,r=void 0!==i&&0<i.height?po(n,i.width/i.height):100):n=void 0!==i&&0<i.width&&0<i.height?(r=yo(i.width),yo(i.height)):r=100,JF(e));if(void 0===(a=null!=t.imageType?t.imageType:o))throw new J("content/invalid-image","Image contentType is required when bytes are not PNG or JPEG");return{width:r,height:n,contentType:a}}(e,t),i=void 0!==t.textWrappingStyle?t.textWrappingStyle:t.wrapping,i=new d1(c1({relationshipId:"",width:n.width,height:n.height,name:null!=t.name?t.name:"Picture",title:t.title,description:t.description,lockAspectRatio:null==t.lockAspectRatio||t.lockAspectRatio,rotation:null!=t.rotation?t.rotation:0,flipHorizontal:null!=t.flipHorizontal&&t.flipHorizontal,flipVertical:null!=t.flipVertical&&t.flipVertical,placement:t.placement,wrapping:i,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalAlignment:t.horizontalAlignment,verticalAlignment:t.verticalAlignment,layoutDirty:!0}));return r.registerPendingImage(i,e,n.contentType),dF(i,this.owningDocument()),this.appendFeatureRunItem(o1,i),i},ui(function(){y1()}),y1();var V1=function(){return(V1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},T1=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},k1=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(T1(arguments[t]));return e},F1=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},D1=Er("hyperlinks"),O1="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",N1="http://purl.oclc.org/ooxml/officeDocument/relationships/hyperlink",A1=[O1,N1],E1="http://schemas.openxmlformats.org/officeDocument/2006/relationships",L1=(R1.prototype.assertAttachedItem=function(e){if(!(e instanceof w)||this.runs.indexOf(e)<0)throw new N("This run is no longer in its hyperlink")},R1.prototype.appendRun=function(){var e=new w(this);return this.runs=k1(this.runs,[e]),e},R1.prototype.listRuns=function(){return this.runs},R1.prototype.detachRuns=function(){var t,e;try{for(var r=F1(this.runs),n=r.next();!n.done;n=r.next())n.value.detach()}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this.runs=[]},R1.prototype.hydrateRuns=function(e){var t,r;this.runs=e;try{for(var n=F1(e),i=n.next();!i.done;i=n.next())i.value.attach(this)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},R1);function R1(){this.runs=[]}function B1(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)});return null==e?void 0:e.value}Object.defineProperty(j1.prototype,"relationshipId",{get:function(){return this.relationshipIdValue},enumerable:!0,configurable:!0}),j1.prototype.resolveRelationshipId=function(e){this.relationshipIdValue=e},Object.defineProperty(j1.prototype,"runs",{get:function(){return this.runOwner.listRuns()},enumerable:!0,configurable:!0}),j1.prototype.releaseContent=function(){this.runOwner.detachRuns()},j1.prototype.toOpenXml=function(){var t,e,r=[],n=(void 0!==this.tgtFrame&&r.push(y("tgtFrame",this.tgtFrame)),void 0!==this.tooltip&&r.push(y("tooltip",this.tooltip)),void 0!==this.docLocation&&r.push(y("docLocation",this.docLocation)),void 0!==this.history&&r.push(y("history",this.history?"1":"0")),void 0!==this.anchor&&r.push(y("anchor",this.anchor)),void 0!==this.relationshipIdValue&&r.push({namespaceUri:E1,localName:"id",prefix:"r",value:this.relationshipIdValue}),[]);try{for(var i=F1(this.items),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"===a.type?n.push(Lu(a.run)):n.push(a.xml)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return b("hyperlink",{attributes:r,namespaceDeclarations:void 0!==this.relationshipIdValue?[{prefix:"r",namespaceUri:E1}]:[],children:n})};var _1=j1;function j1(e,t,r,n,i,o,a,l){this.runOwner=e,this.items=t,this.relationshipIdValue=r,this.anchor=n,this.tooltip=i,this.docLocation=o,this.tgtFrame=a,this.history=l}z1.prototype.removeEntry=function(e){this.byRelationshipId.has(e)&&(this.byRelationshipId.delete(e),this.pendingRemovals.push(e),this.dirty=!0)},z1.prototype.isDirty=function(){return this.dirty||0<this.pendingRemovals.length||0<this.pendingExternal.size||k1(this.byRelationshipId.values()).some(function(e){return void 0!==e.pendingRelationship})},z1.prototype.applyToPackage=function(e,o){var t,r,n,i,a=e,e=k1(this.byRelationshipId.values()).map(function(e){return e.pendingRelationship}).filter(function(e){return void 0!==e});if(0<e.length){e=function(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=k1(e.items);try{for(var a=F1(t),l=a.next();!l.done;l=a.next()){for(var s=l.value,u=s.id;i.has(u);)u=ir(i);i.add(u),o.push(V1({},s,{id:u}))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return hr(o,e.opaque)}(kr(a,o),e);try{for(var l=F1(this.byRelationshipId.values()),s=l.next();!s.done;s=l.next())s.value.pendingRelationship=void 0}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}a=Nr(a,o,e)}function u(t){var e,r,n,i;n=function(e){return e.id!==t},i=kr(e=a,r=o),n=i.items.filter(n),a=n.length!==i.items.length?Nr(e,r,hr(n,i.opaque)):e}try{for(var c=F1(this.pendingRemovals),d=c.next();!d.done;d=c.next())u(d.value)}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return this.pendingRemovals.length=0,this.dirty=!1,a},z1.prototype.relationshipIds=function(){return k1(this.byRelationshipId.keys())},z1.prototype.targetForRelationship=function(e){e=this.byRelationshipId.get(e);return null==e?void 0:e.target},z1.prototype.registerPendingExternal=function(e,t,r){this.pendingExternal.set(e,{target:t,relationshipType:r=void 0===r?O1:r}),this.dirty=!0},z1.prototype.pendingTargetFor=function(e){e=this.pendingExternal.get(e);return null==e?void 0:e.target},z1.prototype.materializePending=function(s){var u=this;0!==this.pendingExternal.size&&Mn(s,function(e){var t,r;try{for(var n=F1(q1(e)),i=n.next();!i.done;i=n.next()){var o,a,l=i.value;void 0===l.relationshipId&&void 0!==(o=u.pendingExternal.get(l))&&(a=u.allocateExternalTarget(o.target,function(e,t){var r,n,i,o,a=Lt("/word/document.xml"),l=new Set;try{for(var s=F1(kr(e.opcPackage(),a).items),u=s.next();!u.done;u=s.next()){var c=u.value;l.add(c.id)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}try{for(var d=F1(t.relationshipIds()),h=d.next();!h.done;h=d.next()){var p=h.value;l.add(p)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}return l}(s,u),o.relationshipType),l.resolveRelationshipId(a),u.pendingExternal.delete(l))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}})},z1.prototype.allocateExternalTarget=function(e,t,r){void 0===r&&(r=O1);for(var n=ir(t);this.byRelationshipId.has(n);)n=ir(new Set(k1(t,[n])));var i={id:n,type:r,target:e,targetMode:tr.External,extraAttributes:[],children:[]};return this.byRelationshipId.set(n,{relationshipId:n,target:e,relationshipType:r,pendingRelationship:i}),this.dirty=!0,n};var M1=z1;function z1(e,t){this.byRelationshipId=e,this.pendingRemovals=[],this.pendingExternal=new Map,this.dirty=t}function U1(e){if(te(e,"hyperlink")){var t,r,n=new L1,i=[],o=[];try{for(var a=F1(re(e)),l=a.next();!l.done;l=a.next()){var s,u=l.value;te(u,"r")?(s=w.fromXml(u,n),o.push(s),i.push({type:"textRange",run:s})):i.push({type:"opaque",xml:u})}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}if(n.hydrateRuns(o),!i.every(function(e){return"opaque"===e.type}))return new _1(n,i,null==(r=(r=e).attributes.find(function(e){return e.namespaceUri===E1&&"id"===e.localName}))?void 0:r.value,B1(e,"anchor"),B1(e,"tooltip"),B1(e,"docLocation"),B1(e,"tgtFrame"),void 0!==(t=B1(e,"history"))&&"0"!==t&&"false"!==t||void 0===t&&void 0)}}var H1=!1;function W1(){H1||(H1=!0,Rr({id:D1}),nn({featureId:D1,relationshipTypes:A1,loadParts:function(e,t){var r,n,t=t.mainPartName,e=kr(e,t),i=new Map;try{for(var o=F1(e.items),a=o.next();!a.done;a=o.next()){var l=a.value;-1!==A1.indexOf(l.type)&&i.set(l.id,{relationshipId:l.id,target:l.target,relationshipType:l.type,pendingRelationship:void 0})}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return new M1(i,!1)}}),_n({featureId:D1,materialize:function(e){var t=e.featurePart(D1);t instanceof M1&&t.materializePending(e)}}),Pn({featureId:D1,wmlLocalName:"hyperlink",tryParse:U1}))}function G1(e){var t=e.featurePart(D1);if(t instanceof M1)return t;if(void 0!==t)throw new J("feature/not-registered","Hyperlinks feature state was replaced with an unexpected part type");if(Br(D1))return t=new M1(new Map,!1),e.setFeaturePart(D1,t),t;throw new J("feature/not-registered","Hyperlinks feature is not registered; call registerHyperlinksFeature() before use")}function q1(e){var t,r,n=[];try{for(var i=F1(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;X1(a)&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function X1(e){return e instanceof F&&e.featureId===D1&&e.value instanceof _1}W1();Y1=function(e,t){return(Y1=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var Y1,Z1=function(e,t){function r(){this.constructor=e}Y1(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},K1=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},J1=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(K1(arguments[t]));return e},$1=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Q1=Er("fields"),eD={Page:"PAGE",NumPages:"NUMPAGES",If:"IF",MergeField:"MERGEFIELD",Hyperlink:"HYPERLINK"},tD=new Map([[eD.Page,eD.Page],[eD.NumPages,eD.NumPages],[eD.If,eD.If],[eD.MergeField,eD.MergeField],[eD.Hyperlink,eD.Hyperlink]]),rD={WebLink:"WebLink",EmailLink:"EmailLink",FileLink:"FileLink",Bookmark:"Bookmark"};function nD(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)});return null==e?void 0:e.value}oD.prototype.assertAttachedItem=function(e){if(!(e instanceof w)||this.runs.indexOf(e)<0)throw new N("This run is no longer in its field")},oD.prototype.appendRun=function(){var e=new w(this);return this.runs=J1(this.runs,[e]),e},oD.prototype.listRuns=function(){return this.runs},oD.prototype.detachRuns=function(){var t,e;try{for(var r=$1(this.runs),n=r.next();!n.done;n=r.next())n.value.detach()}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this.runs=[]},oD.prototype.hydrateRuns=function(e){var t,r;this.runs=e;try{for(var n=$1(e),i=n.next();!i.done;i=n.next())i.value.attach(this)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}};var iD=oD;function oD(){this.runs=[]}Object.defineProperty(lD.prototype,"instruction",{get:function(){return this.instructionValue},enumerable:!0,configurable:!0}),lD.prototype.setInstruction=function(e){this.instructionValue=e},Object.defineProperty(lD.prototype,"runs",{get:function(){return this.runOwner.listRuns()},enumerable:!0,configurable:!0}),lD.prototype.releaseContent=function(){this.runOwner.detachRuns()},lD.prototype.toOpenXml=function(){var t,e,r=[y("instr",this.instructionValue)],n=(void 0!==this.fldLock&&r.push(y("fldLock",this.fldLock?"1":"0")),void 0!==this.dirty&&r.push(y("dirty",this.dirty?"1":"0")),J1(this.extras));try{for(var i=$1(this.items),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"===a.type?n.push(Lu(a.run)):n.push(a.xml)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return b("fldSimple",{attributes:r,children:n})};var aD=lD;function lD(e,t,r,n,i,o){this.runOwner=e,this.extras=t,this.items=r,this.instructionValue=n,this.fldLock=i,this.dirty=o}uD.prototype.childElements=function(){return this.extras},uD.prototype.toOpenXml=function(){var e=[y("fldCharType",this.fldCharType)],t=(void 0!==this.fldLock&&e.push(y("fldLock",this.fldLock?"1":"0")),void 0!==this.dirty&&e.push(y("dirty",this.dirty?"1":"0")),J1(this.extras));return b("fldChar",{attributes:e,children:t})};var sD=uD;function uD(e,t,r,n){this.fldCharType=e,this.fldLock=t,this.dirty=r,this.extras=n}Object.defineProperty(dD.prototype,"text",{get:function(){return this.textValue},enumerable:!0,configurable:!0}),dD.prototype.setText=function(e){this.textValue=e},dD.prototype.toOpenXml=function(){return b("instrText",{attributes:this.xmlSpacePreserve?[fn()]:[],children:[{kind:"text",value:this.textValue}]})};var cD=dD;function dD(e,t){this.textValue=e,this.xmlSpacePreserve=t}Object.defineProperty(pD.prototype,"instruction",{get:function(){return this.instructionValue},enumerable:!0,configurable:!0}),pD.prototype.setInstruction=function(e){var t,r,e=(this.instructionValue=e).trim(),n=0===e.length?" ":" "+e+" ",i=!1;try{for(var o=$1(this.instructionTexts),a=o.next();!a.done;a=o.next()){var l=a.value;i?l.setText(""):(l.setText(n),i=!0)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},pD.prototype.allFeatureValues=function(){return this.markerValues};var hD=pD;function pD(e,t,r,n){void 0===n&&(n=[]),this.instructionValue=e,this.resultRuns=t,this.markerValues=r,this.instructionTexts=n}Object.defineProperty(vD.prototype,"type",{get:function(){return this.kindValue},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"name",{get:function(){return LD(this.data,"name")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"enabled",{get:function(){return RD(this.data,"enabled")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"tabIndex",{get:function(){return BD(this.data,"tabIndex")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"helpText",{get:function(){return LD(this.data,"helpText")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"statusText",{get:function(){return LD(this.data,"statusText")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"maxLength",{get:function(){return MD(this.data,"textInput","maxLength")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"format",{get:function(){return _D(this.data,"textInput","format")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"defaultText",{get:function(){return _D(this.data,"textInput","default")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"checked",{get:function(){return jD(this.data,"checkBox","checked")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"defaultChecked",{get:function(){return jD(this.data,"checkBox","default")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"entries",{get:function(){var t,e,r=ED(this.data,"ddList");if(void 0===r)return[];var n=[];try{for(var i=$1(re(r)),o=i.next();!o.done;o=i.next()){var a,l=o.value;te(l,"listEntry")&&void 0!==(a=z(l))&&n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"selected",{get:function(){return MD(this.data,"ddList","result")},enumerable:!0,configurable:!0}),Object.defineProperty(vD.prototype,"selectedEntry",{get:function(){var e=this.selected;if(void 0!==e)return this.entries[e]},enumerable:!0,configurable:!0});var fD=vD;function vD(e,t,r,n){this.data=t,this.kindValue=r}Object.defineProperty(yD.prototype,"fieldCode",{get:function(){return"simple"===this.kind&&void 0!==this.simple?this.simple.instruction:void 0!==this.complex?this.complex.instruction:""},set:function(e){if(0===e.trim().length)throw new J("content/invalid-field","Field instruction must not be empty");var t=TD(e);if(void 0===t||t!==this.lockedType)throw new J("content/invalid-field","Field instruction keyword must match fieldType "+this.lockedType);"simple"===this.kind&&void 0!==this.simple?this.simple.setInstruction(e):void 0!==this.complex&&this.complex.setInstruction(e)},enumerable:!0,configurable:!0}),Object.defineProperty(yD.prototype,"fieldType",{get:function(){return this.lockedType},enumerable:!0,configurable:!0}),Object.defineProperty(yD.prototype,"fieldValue",{get:function(){return this.readResultText()},enumerable:!0,configurable:!0}),Object.defineProperty(yD.prototype,"text",{get:function(){return this.readResultText()},set:function(e){this.writeResultText(e)},enumerable:!0,configurable:!0}),Object.defineProperty(yD.prototype,"characterFormat",{get:function(){var e=this.firstResultRun();if(void 0===e)throw new J("content/invalid-field","Field has no result run for characterFormat");return e.characterFormat},enumerable:!0,configurable:!0}),yD.prototype.readResultText=function(){return"simple"===this.kind&&void 0!==this.simple?VD(this.simple.runs):void 0!==this.complex?VD(this.complex.resultRuns):""},yD.prototype.writeResultText=function(e){var t=this.resultRuns();if(0===t.length)throw new J("content/invalid-field","Field has no result run");var r=t[0];if(void 0===r)throw new J("content/invalid-field","Field has no result run");r.text=e;for(var n=1;n<t.length;n+=1)t[n].text=""},yD.prototype.resultRuns=function(){return"simple"===this.kind&&void 0!==this.simple?this.simple.runs:void 0!==this.complex?this.complex.resultRuns:[]},yD.prototype.firstResultRun=function(){var e=this.resultRuns();return 0<e.length?e[0]:void 0};var mD=yD;function yD(e,t,r,n,i){this.kind=e,this.simple=t,this.complex=r,this.host=n,this.lockedType=i}Z1(wD,gD=mD);var gD,bD=wD;function wD(){return null!==gD&&gD.apply(this,arguments)||this}Z1(xD,PD=mD),Object.defineProperty(xD.prototype,"fieldName",{get:function(){return FD(this.fieldCode).fieldName},set:function(e){e=e.trim();if(0===e.length)throw new J("content/invalid-field","MergeField fieldName must not be empty");var t=FD(this.fieldCode);t.fieldName=e,this.fieldCode=OD(t)},enumerable:!0,configurable:!0}),Object.defineProperty(xD.prototype,"textBefore",{get:function(){return FD(this.fieldCode).textBefore},set:function(e){var t=FD(this.fieldCode);t.textBefore=e,this.fieldCode=OD(t)},enumerable:!0,configurable:!0}),Object.defineProperty(xD.prototype,"textAfter",{get:function(){return FD(this.fieldCode).textAfter},set:function(e){var t=FD(this.fieldCode);t.textAfter=e,this.fieldCode=OD(t)},enumerable:!0,configurable:!0}),Object.defineProperty(xD.prototype,"dateFormat",{get:function(){return FD(this.fieldCode).dateFormat},enumerable:!0,configurable:!0}),Object.defineProperty(xD.prototype,"numberFormat",{get:function(){return FD(this.fieldCode).numberFormat},enumerable:!0,configurable:!0}),Object.defineProperty(xD.prototype,"prefix",{get:function(){return this.textBefore},enumerable:!0,configurable:!0});var PD,SD=xD;function xD(){return null!==PD&&PD.apply(this,arguments)||this}Object.defineProperty(ID.prototype,"field",{get:function(){return this.fieldValue},enumerable:!0,configurable:!0}),Object.defineProperty(ID.prototype,"fieldType",{get:function(){if(void 0!==this.fieldValue)return this.fieldValue.fieldType},enumerable:!0,configurable:!0}),Object.defineProperty(ID.prototype,"bookmarkName",{get:function(){return void 0===this.fieldValue?this.pictureTypeValue===rD.Bookmark?this.pictureUriValue:"":ND(this.fieldValue.fieldCode).bookmarkName},set:function(e){var t;void 0===this.fieldValue?(this.pictureUriValue=e,this.pictureTypeValue=rD.Bookmark):(0<((t=ND(this.fieldValue.fieldCode)).bookmarkName=e).trim().length&&(t.type=rD.Bookmark),this.fieldValue.fieldCode=AD(t))},enumerable:!0,configurable:!0}),Object.defineProperty(ID.prototype,"filePath",{get:function(){var e;return void 0===this.fieldValue?this.pictureTypeValue===rD.FileLink?this.pictureUriValue:"":(e=ND(this.fieldValue.fieldCode)).type===rD.FileLink?e.target:""},set:function(e){var t;void 0===this.fieldValue?(this.pictureUriValue=e,this.pictureTypeValue=rD.FileLink):((t=ND(this.fieldValue.fieldCode)).target=e,t.type=rD.FileLink,this.fieldValue.fieldCode=AD(t))},enumerable:!0,configurable:!0}),Object.defineProperty(ID.prototype,"localReference",{get:function(){return this.bookmarkName},set:function(e){this.bookmarkName=e},enumerable:!0,configurable:!0}),Object.defineProperty(ID.prototype,"pictureToDisplay",{get:function(){return this.pictureValue},set:function(e){if(void 0===this.pictureValue)throw new J("content/invalid-field","pictureToDisplay is only supported on picture-backed hyperlinks");if(void 0===e)throw new J("content/invalid-field","pictureToDisplay cannot be cleared on a picture-backed hyperlink");if(e!==this.pictureValue)throw new J("content/invalid-field","pictureToDisplay cannot replace the linked picture in this phase")},enumerable:!0,configurable:!0}),Object.defineProperty(ID.prototype,"textToDisplay",{get:function(){return void 0===this.fieldValue?"":this.fieldValue.text},set:function(e){if(void 0===this.fieldValue)throw new J("content/invalid-field","textToDisplay is not supported on picture-backed hyperlinks");this.fieldValue.text=e},enumerable:!0,configurable:!0}),Object.defineProperty(ID.prototype,"type",{get:function(){return void 0===this.fieldValue?this.pictureTypeValue:ND(this.fieldValue.fieldCode).type},set:function(e){var t;void 0===this.fieldValue?this.pictureTypeValue=e:((t=ND(this.fieldValue.fieldCode)).type=e,this.fieldValue.fieldCode=AD(t))},enumerable:!0,configurable:!0}),Object.defineProperty(ID.prototype,"uri",{get:function(){var e;return void 0===this.fieldValue?this.pictureTypeValue===rD.Bookmark?"":this.pictureUriValue:(e=ND(this.fieldValue.fieldCode)).type===rD.Bookmark?"":e.target},set:function(e){var t;void 0===this.fieldValue?(this.pictureUriValue=e,/^mailto:/i.test(e.trim())?this.pictureTypeValue=rD.EmailLink:this.pictureTypeValue===rD.Bookmark&&(this.pictureTypeValue=rD.WebLink),void 0!==this.pictureValue&&(this.pictureValue.hyperlinkTarget=e)):((t=ND(this.fieldValue.fieldCode)).target=e,/^mailto:/i.test(e.trim())?t.type=rD.EmailLink:t.type===rD.Bookmark&&(t.type=rD.WebLink),this.fieldValue.fieldCode=AD(t))},enumerable:!0,configurable:!0});var CD=ID;function ID(e,t,r){e instanceof d1?(this.fieldValue=void 0,this.pictureValue=e,this.pictureUriValue=null!=t?t:"",this.pictureTypeValue=null!=r?r:rD.WebLink):(this.fieldValue=e,this.pictureValue=void 0,this.pictureUriValue="",this.pictureTypeValue=rD.WebLink)}function VD(e){var t,r,n="";try{for(var i=$1(e),o=i.next();!o.done;o=i.next())n+=o.value.text}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function TD(e){e=(null!=(e=YD(e)[0])?e:"").toUpperCase();if(0!==e.length)return tD.get(e)}function kD(e,t,r,n,i){i=TD(i);if(void 0!==i)return new(i===eD.If?bD:i===eD.MergeField?SD:mD)(e,t,r,n,i)}function FD(e){var t=YD(e),r={fieldName:"",textBefore:"",textAfter:"",dateFormat:"",numberFormat:"",otherSwitches:[]},n=1;for(1<t.length&&(void 0===(e=t[1])||e.startsWith("\\")||(r.fieldName=e,n=2));n<t.length;){var i,o,a,l=t[n];if(void 0===l)break;l.startsWith("\\")?(o=(i=void 0!==(o=t[n+1])&&!o.startsWith("\\"))?o:void 0,"\\b"===(a=l.toLowerCase())?r.textBefore=null!=o?o:"":"\\f"===a?r.textAfter=null!=o?o:"":"\\@"===a?r.dateFormat=null!=o?o:"":"\\#"===a?r.numberFormat=null!=o?o:"":r.otherSwitches.push({flag:l,value:o}),n+=i?2:1):n+=1}return r}function DD(e){return 0===e.length?'""':/[\s"]/.test(e)?'"'+e.replace(/"/g,"")+'"':e}function OD(e){var t=" MERGEFIELD "+e.fieldName;0<e.textBefore.length&&(t+=" \\b "+DD(e.textBefore)),0<e.textAfter.length&&(t+=" \\f "+DD(e.textAfter)),0<e.dateFormat.length&&(t+=" \\@ "+DD(e.dateFormat)),0<e.numberFormat.length&&(t+=" \\# "+DD(e.numberFormat));for(var r=0;r<e.otherSwitches.length;r+=1){var n=e.otherSwitches[r];t+=" "+n.flag,void 0!==n.value&&(t+=" "+DD(n.value))}return t+" "}function ND(e){var t,r=YD(e),n={type:rD.WebLink,target:"",bookmarkName:"",otherSwitches:[]},i=1;for(1<r.length&&(void 0===(e=r[1])||e.startsWith("\\")||(n.target=e,i=2));i<r.length;){var o,a,l=r[i];if(void 0===l)break;l.startsWith("\\")?(a=(o=void 0!==(a=r[i+1])&&!a.startsWith("\\"))?a:void 0,"\\l"===l.toLowerCase()?n.bookmarkName=null!=a?a:"":n.otherSwitches.push({flag:l,value:a}),i+=o?2:1):i+=1}return n.type=(e=n.target,0<(t=n.bookmarkName).trim().length&&0===e.trim().length?rD.Bookmark:(e=e.trim(),/^mailto:/i.test(e)?rD.EmailLink:/^[a-zA-Z]:[\\/]/.test(e)||0<=e.indexOf("\\")||/^file:/i.test(e)?rD.FileLink:0<t.trim().length?rD.Bookmark:rD.WebLink)),n}function AD(e){var t=" HYPERLINK";e.type,rD.Bookmark,0<e.target.trim().length&&(t+=" "+DD(e.target)),0<e.bookmarkName.trim().length&&(t+=" \\l "+DD(e.bookmarkName));for(var r=0;r<e.otherSwitches.length;r+=1){var n=e.otherSwitches[r];t+=" "+n.flag,void 0!==n.value&&(t+=" "+DD(n.value))}return t+" "}function ED(e,t){var r,n;try{for(var i=$1(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(te(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function LD(e,t){e=ED(e,t);return void 0===e?void 0:z(e)}function RD(e,t){e=ED(e,t);return void 0===e?void 0:Ki(e)}function BD(e,t){e=LD(e,t);return void 0!==e&&0!==e.length&&/^-?\d+$/.test(e.trim())&&(e=Number(e.trim()),Number.isSafeInteger(e))?e:void 0}function _D(e,t,r){e=ED(e,t);return void 0===e?void 0:LD(e,r)}function jD(e,t,r){e=ED(e,t);return void 0===e?void 0:RD(e,r)}function MD(e,t,r){e=ED(e,t);return void 0===e?void 0:BD(e,r)}function zD(e,t){if("begin"===e.fldCharType){var r=function(e){var t,r;try{for(var n=$1(e.childElements()),i=n.next();!i.done;i=n.next()){var o=i.value;if(te(o,"ffData"))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(e);if(void 0!==r){var n=function(e){var t,r;try{for(var n=$1(re(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(te(o,"textInput"))return"textInput";if(te(o,"checkBox"))return"checkBox";if(te(o,"ddList"))return"dropDown"}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}(r);if(void 0!==n)return new fD(e,r,n,t)}}}function UD(e){var t,r;if(te(e,"fldChar")){var n=function(e){if("begin"===e||"separate"===e||"end"===e)return e}(nD(e,"fldCharType"));if(void 0!==n){var i=[];try{for(var o=$1(re(e)),a=o.next();!a.done;a=o.next()){var l=a.value;i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return new sD(n,HD(nD(e,"fldLock")),HD(nD(e,"dirty")),i)}}}function HD(e){return void 0!==e&&"0"!==e&&"false"!==e||void 0===e&&void 0}function WD(e){var t,r,n=[];try{for(var i=$1(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof w?n.push({item:a}):a instanceof cu&&a.featureId===Q1&&(a.value instanceof sD||a.value instanceof cD)&&n.push({item:a})}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function GD(e,t){var r=e[t];if(void 0!==r&&r.item instanceof cu&&r.item.value instanceof sD&&"begin"===r.item.value.fldCharType){for(var n=[r.item.value],i=[],o=-1,a=1,l=t+1;l<e.length;l+=1){if(void 0===(s=e[l]))return;if((u=s.item)instanceof cu&&u.value instanceof sD){if("begin"===(c=u.value).fldCharType)a+=1;else if("end"===c.fldCharType){if(0===--a)return}else if("separate"===c.fldCharType&&1===a){o=l,n.push(c);break}n.push(c)}else 1===a&&u instanceof cu&&u.value instanceof cD?(i.push(u.value),n.push(u.value)):u instanceof cu&&u.value instanceof cD&&n.push(u.value)}if(!(o<0)){r=function(e,t,r){for(var n="",i=t;i<r;i+=1){var o=e[i];void 0!==o&&((o=o.item)instanceof cu&&o.value instanceof cD)&&(n+=o.value.text)}return n.trim()}(e,t+1,o);if(0!==r.length){for(var s,u,c,d=[],h=-1,a=1,l=o+1;l<e.length;l+=1){if(void 0===(s=e[l]))return;if((u=s.item)instanceof cu&&u.value instanceof sD){if("begin"===(c=u.value).fldCharType)a+=1;else if("end"===c.fldCharType&&0===--a){h=l,n.push(c);break}n.push(c)}else 1===a&&u instanceof w&&d.push(u)}if(!(h<0||0===d.length))return new hD(r,d,n,i)}}}}var qD=!1;function XD(){qD||(qD=!0,Rr({id:Q1}),Pn({featureId:Q1,wmlLocalName:"fldSimple",tryParse:function(e){var t,r;if(te(e,"fldSimple")){var n=nD(e,"instr");if(void 0!==n&&0!==n.length){var i=new iD,o=[],a=[],l=[];try{for(var s=$1(re(e)),u=s.next();!u.done;u=s.next()){var c,d=u.value;te(d,"fldData")?o.push(d):te(d,"r")?(c=w.fromXml(d,i),l.push(c),a.push({type:"textRange",run:c})):(o.push(d),a.push({type:"opaque",xml:d}))}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return i.hydrateRuns(l),new aD(i,o,a,n,HD(nD(e,"fldLock")),HD(nD(e,"dirty")))}}}}),gn({featureId:Q1,wmlLocalName:"fldChar",tryParse:UD}),gn({featureId:Q1,wmlLocalName:"instrText",tryParse:function(e){if(te(e,"instrText"))return new cD(pn(e),vn(e))}}))}function YD(e){for(var t=[],r=e.trim(),n=0;n<r.length;){for(;n<r.length;){if(void 0===(o=r[n])||!/\s/.test(o))break;n+=1}if(n>=r.length)break;if('"'===r[n]){n+=1;for(var i="";n<r.length&&(void 0!==(o=r[n])&&'"'!==o);)i+=o,n+=1;n<r.length&&'"'===r[n]&&(n+=1),t.push(i)}else{for(var o,a="";n<r.length;){if(void 0===(o=r[n])||/\s/.test(o)||'"'===o)break;a+=o,n+=1}0<a.length&&t.push(a)}}return t}function ZD(e){var t,r,n,i=[],o=WD(e),a=0;try{for(var l=$1(e.items),s=l.next();!s.done;s=l.next()){var u,c,d,h,p=s.value;p instanceof Mk?i.push(p):(n=p)instanceof F&&n.featureId===Q1&&n.value instanceof aD?void 0!==(h=kD("simple",p.value,void 0,e,p.value.instruction))&&i.push(h):(p instanceof w||p instanceof cu&&p.featureId===Q1&&(p.value instanceof sD||p.value instanceof cD))&&(u=a,a+=1,void 0!==(c=o[u]))&&c.item instanceof cu&&c.item.value instanceof sD&&"begin"===c.item.value.fldCharType&&void 0!==(d=GD(o,u))&&void 0!==(h=kD("complex",void 0,d,e,d.instruction))&&i.push(h)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return i}function KD(e,t,r){r=r.result;if(0===(t=t.trim()).length)throw new J("content/invalid-field","Field instruction must not be empty");var n=new sD("begin",void 0,void 0,[]),i=(e.appendFeatureRunItem(Q1,n),new cD(" "+t+" ",!1)),o=(e.appendFeatureRunItem(Q1,i),new sD("separate",void 0,void 0,[])),r=(e.appendFeatureRunItem(Q1,o),e.appendText(r)),a=new sD("end",void 0,void 0,[]),r=(e.appendFeatureRunItem(Q1,a),new hD(t,[r],[n,i,o,a],[i]));return void 0===(n=kD("complex",void 0,r,e,t))?new eO("complex",void 0,r,e):n}function JD(e){return function(e){for(var t=[],r=WD(e),n=0;n<r.length;n+=1){var i=r[n];void 0!==i&&i.item instanceof cu&&i.item.value instanceof sD&&"begin"===i.item.value.fldCharType&&void 0!==(i=GD(r,n))&&t.push(i)}return t}(e).map(function(e){return e.instruction})}function $D(e){return function(e){for(var t=YD(e),r=null!=t[0]?t[0]:"",n=new Map,i=1;i<t.length;){var o,a=t[i];if(void 0===a)break;a.startsWith("\\")?void 0===(o=t[i+1])||o.startsWith("\\")?(n.set(a,""),i+=1):(n.set(a,o),i+=2):i+=1}return{type:r,instruction:e,switches:n}}(e).type}Z1(tO,QD=mD);var QD,eO=tO;function tO(e,t,r,n){return QD.call(this,e,t,r,n,eD.Page)||this}D.prototype.appendField=function(e,t){var r,e=null==e?"":String(e).trim();if(0===e.length)throw new J("content/invalid-field","fieldName must not be empty");if(!tD.has(t))throw new J("content/invalid-field","Unsupported fieldType");this.assertMutable(),r=t===eD.If?new Hk(eD.If,void 0,void 0,[]):t===eD.MergeField?new Xk(eD.MergeField,void 0,void 0,[]):new Mk(t,void 0,void 0,[]),this.items.add(r);var n=new w,n=(this.items.add(n),n.text=function(e,t){switch(t){case eD.Page:return" PAGE ";case eD.NumPages:return" NUMPAGES ";case eD.If:return" IF ";case eD.MergeField:return" MERGEFIELD "+e+" ";case eD.Hyperlink:return" HYPERLINK ";default:return t}}(e,t),new Bk(Rk.Separator,void 0,void 0,[])),n=(this.items.add(n),new w),n=(this.items.add(n),n.text=function(e,t){switch(t){case eD.MergeField:return"«"+e+"»";case eD.Page:case eD.NumPages:return"1";case eD.If:case eD.Hyperlink:return"";default:return t}}(e,t),new Bk(Rk.End,void 0,void 0,[]));return this.items.add(n),r},D.prototype.appendHyperlink=function(e,t,r){var n,i,o,r=null!=r?r:rD.WebLink;return t instanceof d1?(o=e,r!==rD.EmailLink||/^mailto:/i.test(e)||(o="mailto:"+e),i=G1(this.owningDocument()),n=new Set(i.relationshipIds()),i=i.allocateExternalTarget(o,n),t.hyperlinkRelationshipId=i,t.hyperlinkTarget=o,new CD(t,o,r)):(n="string"==typeof t?t:"",i=" HYPERLINK ",i=r===rD.Bookmark?" HYPERLINK \\l "+DD(e)+" ":r===rD.EmailLink?" HYPERLINK "+DD(/^mailto:/i.test(e)?e:"mailto:"+e)+" ":" HYPERLINK "+DD(e)+" ",this.assertMutable(),o=new Mk(eD.Hyperlink,void 0,void 0,[]),this.items.add(o),t=new w,this.items.add(t),t.text=i,r=new Bk(Rk.Separator,void 0,void 0,[]),this.items.add(r),e=new w,this.items.add(e),e.text=n,t=new Bk(Rk.End,void 0,void 0,[]),this.items.add(t),new CD(o))},ui(function(){XD()}),XD();var rO=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},nO=Er("glossary"),iO="http://schemas.openxmlformats.org/officeDocument/2006/relationships/glossaryDocument",oO="http://purl.oclc.org/ooxml/officeDocument/relationships/glossaryDocument",aO="application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml",lO=Lt("/glossary/document.xml"),sO=new TextDecoder("utf-8"),uO={docParts:[]};function cO(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===he||""===e.namespaceUri)});return null==e?void 0:e.value}function dO(e){var t,r;try{for(var n=rO(re(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(te(o,"docPartPr")){b=g=y=m=v=f=h=d=c=u=s=l=a=p=void 0;var a,l,s,u,c,d,h,p=o;try{for(var f=rO(re(p)),v=f.next();!v.done;v=f.next()){var m=v.value;if(te(m,"name"))c=cO(m,"val");else if(te(m,"category"))try{for(var y=rO(re(m)),g=y.next();!g.done;g=y.next()){var b=g.value;te(b,"name")?d=cO(b,"val"):te(b,"gallery")&&(h=cO(b,"val"))}}catch(e){s={error:e}}finally{try{g&&!g.done&&(u=y.return)&&u.call(y)}finally{if(s)throw s.error}}}}catch(e){a={error:e}}finally{try{v&&!v.done&&(l=f.return)&&l.call(f)}finally{if(a)throw a.error}}return void 0!==c&&0!==c.length?{name:c,category:d,gallery:h}:void 0}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function hO(e){if(0!==e.byteLength)try{var t,r,n,i,o=Ce(sO.decode(e));if(te(o,"glossaryDocument")){var a=[];try{for(var l=rO(re(o)),s=l.next();!s.done;s=l.next()){var u=s.value;if(te(u,"docParts"))try{for(var c=rO(re(u)),d=c.next();!d.done;d=c.next()){var h,p=d.value;te(p,"docPart")&&void 0!==(h=dO(p))&&a.push(h)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return{docParts:a}}}catch(e){}}fO.prototype.present=function(){return void 0!==this.bytes},fO.prototype.docPartCount=function(){return this.metadata.docParts.length},fO.prototype.docPartNames=function(){return this.metadata.docParts.map(function(e){return e.name})},fO.prototype.docPartCategory=function(t){var e=this.metadata.docParts.find(function(e){return e.name===t});return null==e?void 0:e.category},fO.prototype.docPartGallery=function(t){var e=this.metadata.docParts.find(function(e){return e.name===t});return null==e?void 0:e.gallery},fO.prototype.isDirty=function(){return this.dirty},fO.prototype.serialize=function(){return void 0!==this.bytes?this.bytes:new Uint8Array(0)};var pO=fO;function fO(e,t,r){this.bytes=e,this.metadata=t,this.dirty=r}var vO=!1;function mO(){vO||(vO=!0,Rr({id:nO}),Yr({featureId:nO,relationshipTypes:[iO,oO],defaultRelativeTarget:"glossary/document.xml",partName:lO,contentType:aO,loadPart:function(e,t){return void 0===(e=e)?new pO(void 0,uO,!1):(r=null!=(r=hO(e.data))?r:uO,new pO(e.data,r,!1));var r}}))}mO();var yO=new Set(["decimal","upperRoman","lowerRoman","upperLetter","lowerLetter","ordinal","cardinalText","ordinalText","numberInDash","chicago"]);function gO(e){return yO.has(e)}function bO(e){if(void 0===e||!gO(e))return M.PageNumberStyle.Arabic;switch(e){case"decimal":return M.PageNumberStyle.Arabic;case"upperRoman":return M.PageNumberStyle.UpperRoman;case"lowerRoman":return M.PageNumberStyle.LowerRoman;case"upperLetter":return M.PageNumberStyle.UpperLetter;case"lowerLetter":return M.PageNumberStyle.LowerLetter;case"ordinal":return M.PageNumberStyle.Ordinal;case"cardinalText":return M.PageNumberStyle.CardinalText;case"ordinalText":return M.PageNumberStyle.OrdinalText;case"numberInDash":return M.PageNumberStyle.NumberInDash;case"chicago":return M.PageNumberStyle.Chicago;default:return M.PageNumberStyle.Arabic}}function wO(e){switch(e){case M.SectionBreakCode.NewPage:return"newPage";case M.SectionBreakCode.Continuous:return"continuous";case M.SectionBreakCode.NewColumn:return"nextColumn";case M.SectionBreakCode.EvenPage:return"evenPage";case M.SectionBreakCode.OddPage:return"oddPage";default:return"newPage"}}function PO(e){switch(e){case void 0:case"newPage":return M.SectionBreakCode.NewPage;case"continuous":return M.SectionBreakCode.Continuous;case"nextColumn":return M.SectionBreakCode.NewColumn;case"evenPage":return M.SectionBreakCode.EvenPage;case"oddPage":return M.SectionBreakCode.OddPage;default:return M.SectionBreakCode.NewPage}}(Z1=M.SectionBreakCode||(M.SectionBreakCode={})).NewPage="NewPage",Z1.Continuous="Continuous",Z1.NewColumn="NewColumn",Z1.EvenPage="EvenPage",Z1.OddPage="OddPage";var SO=31680,xO=45,CO=H(720);function IO(e){return new Error("sections: "+e)}function VO(e,t){var r=U(e);if(!Number.isFinite(r)||r<0||SO<r)throw IO(t+" must be in 0…"+String(SO)+" twips (0–22 in)");return e}function TO(e){switch(e){case M.PageOrientation.Portrait:case M.PageOrientation.Landscape:return e;default:throw IO("orientation must be PageOrientation.Portrait or PageOrientation.Landscape")}}function kO(e){switch(e){case M.SectionBreakCode.NewPage:case M.SectionBreakCode.Continuous:case M.SectionBreakCode.NewColumn:case M.SectionBreakCode.EvenPage:case M.SectionBreakCode.OddPage:return e;default:throw IO("breakCode must be a valid SectionBreakCode value")}}function FO(e){if(gO(e))return e;throw IO("pageNumberStyle is not a supported PageNumberStyle value")}function DO(e,t){if(!Number.isInteger(e)||e<1)throw IO(t+" must be an integer ≥ 1");return e}function OO(e,t){if(!Number.isInteger(e)||e<0)throw IO(t+" must be a non-negative integer");return e}function NO(e){if(!Number.isInteger(e)||e<1||xO<e)throw IO("columns.count must be an integer in 1…"+String(xO));return e}Object.defineProperty(EO.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=VO(e,"column.width")},enumerable:!0,configurable:!0}),Object.defineProperty(EO.prototype,"spacing",{get:function(){return this.spacingValue},set:function(e){this.spacingValue=VO(e,"column.spacing")},enumerable:!0,configurable:!0});var AO=EO;function EO(e,t){this.widthValue=VO(e,"column.width"),this.spacingValue=VO(t,"column.spacing")}var LO=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},RO=(Object.defineProperty(BO.prototype,"count",{get:function(){return this.equalWidthValue?this.equalWidthCount:0===this.items.length?1:this.items.length},enumerable:!0,configurable:!0}),BO.prototype.add=function(e,t){if(void 0===t&&(t=CO),VO(e,"Column.width"),VO(t,"Column.space"),this.items.length>=xO)throw IO("text columns cannot exceed "+String(xO));this.equalWidthValue&&(this.equalWidthValue=!1,0===this.items.length)&&1<this.equalWidthCount&&(this.equalWidthCount=1);e=new AO(e,t);return this.items.push(e),e},BO.prototype.item=function(e){if(Number.isInteger(e)&&!(e<0))return this.equalWidthValue,this.items[e]},BO.prototype[Symbol.iterator]=function(){var t=this.items.slice(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},Object.defineProperty(BO.prototype,"equalWidth",{get:function(){return this.equalWidthValue},enumerable:!0,configurable:!0}),BO.prototype.setEqualWidth=function(e){this.equalWidthValue=!0===e,this.equalWidthValue&&this.equalWidthCount<1&&(this.equalWidthCount=1)},Object.defineProperty(BO.prototype,"separator",{get:function(){return this.separatorValue},enumerable:!0,configurable:!0}),BO.prototype.setSeparator=function(e){this.separatorValue=!0===e},Object.defineProperty(BO.prototype,"spacing",{get:function(){return this.spacingValue},enumerable:!0,configurable:!0}),BO.prototype.setSpacing=function(e){VO(e,"ColumnCollection.spacing"),this.spacingValue=e},BO.prototype.setEqualWidthCount=function(e){NO(e),this.equalWidthCount=e,this.equalWidthValue=!0},BO.prototype.replaceFromParsed=function(e){this.equalWidthValue=e.equalWidth,this.separatorValue=e.separator,this.spacingValue=e.spacing,this.equalWidthCount=e.count;for(var t=this.items.length=0;t<e.columns.length;t++){var r=e.columns[t];void 0!==r&&this.items.push(new AO(r.width,r.space))}!this.equalWidthValue&&0<this.items.length&&(this.equalWidthCount=this.items.length)},BO.prototype.clearToDefault=function(){this.items.length=0,this.equalWidthValue=!0,this.separatorValue=!1,this.spacingValue=CO,this.equalWidthCount=1},BO.prototype.cloneDeep=function(){var e=new BO;return e.replaceFromParsed({equalWidth:this.equalWidthValue,separator:this.separatorValue,spacing:this.spacingValue,count:this.equalWidthCount,columns:this.items.map(function(e){return{width:e.width,space:e.spacing}})}),e},BO.prototype.isDefault=function(){return this.isDefaultTextColumns()},BO.prototype.isDefaultTextColumns=function(){return!!this.equalWidthValue&&!this.separatorValue&&1===this.equalWidthCount&&this.spacingValue===CO&&0===this.items.length},BO.prototype.toOpenXmlElement=function(){if(!this.isDefaultTextColumns())return zO(this)},BO);function BO(){this.items=[],this.equalWidthValue=!0,this.separatorValue=!1,this.spacingValue=CO,this.equalWidthCount=1}for(var _O=RO.prototype,jO=0;jO<xO;jO++)!function(e){var t=e;Object.defineProperty(_O,t,{configurable:!0,enumerable:!1,get:function(){return this.item(t)}})}(jO);function MO(e){var t,r,n=UO(e,"equalWidth"),i=!0;if(void 0!==n){if(void 0===(a=WO(n)))return;i=a}var n=UO(e,"sep"),o=!1;if(void 0!==n){if(void 0===(a=WO(n)))return;o=a}var n=CO,a=UO(e,"space");if(void 0!==a){a=HO(a);if(void 0===a)return;n=H(a)}var a=1,l=UO(e,"num");if(void 0!==l){if(!/^\d+$/.test(l))return;if((a=Number.parseInt(l,10))<1||xO<a)return}var s=[];try{for(var u=LO(re(e)),c=u.next();!c.done;c=u.next()){var d=c.value;if(!te(d,"col"))return;var h=UO(d,"w");if(void 0===h)return;var p=HO(h);if(void 0===p)return;var f=CO,v=UO(d,"space");if(void 0!==v){var m=HO(v);if(void 0===m)return;f=H(m)}if(s.push({width:H(p),space:f}),xO<s.length)return}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}!i&&0<s.length?a=s.length:i&&0===s.length&&void 0===l&&(a=1);e=new RO;return e.replaceFromParsed({equalWidth:i,separator:o,spacing:n,count:a,columns:s}),e}function zO(e){var t,r,n,i,o=[],a=e.equalWidth,l=e.count,s=e.spacing,u=e.separator,c=(a||o.push(y("equalWidth","0")),1!==l&&o.push(y("num",String(l))),s!==CO&&o.push(y("space",String(U(s)))),u&&o.push(y("sep","1")),[]);if(a)try{for(var d=LO(e),h=d.next();!h.done;h=d.next()){v=h.value,m=[y("w",String(U(v.width)))];v.spacing!==CO&&m.push(y("space",String(U(v.spacing)))),c.push(b("col",{attributes:m}))}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}else try{for(var p=LO(e),f=p.next();!f.done;f=p.next()){var v=f.value,m=[y("w",String(U(v.width)))];v.spacing!==CO&&m.push(y("space",String(U(v.spacing)))),c.push(b("col",{attributes:m}))}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}return b("cols",{attributes:o,children:0===c.length?void 0:c})}function UO(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)});return null==e?void 0:e.value}function HO(e){if(void 0!==e&&/^-?\d+$/.test(e)){e=Number.parseInt(e,10);if(!(e<0||31680<e))return e}}function WO(e){return void 0===e||0===e.length||"true"===(e=e.trim().toLowerCase())||"1"===e||"on"===e||"false"!==e&&"0"!==e&&"off"!==e&&void 0}Object.defineProperty(qO.prototype,"all",{get:function(){return this.leftValue===this.topValue&&this.topValue===this.rightValue&&(this.rightValue,this.bottomValue),this.leftValue},set:function(e){e=VO(e,"margins.all");this.leftValue=e,this.topValue=e,this.rightValue=e,this.bottomValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(qO.prototype,"left",{get:function(){return this.leftValue},set:function(e){this.leftValue=VO(e,"margins.left")},enumerable:!0,configurable:!0}),Object.defineProperty(qO.prototype,"top",{get:function(){return this.topValue},set:function(e){this.topValue=VO(e,"margins.top")},enumerable:!0,configurable:!0}),Object.defineProperty(qO.prototype,"right",{get:function(){return this.rightValue},set:function(e){this.rightValue=VO(e,"margins.right")},enumerable:!0,configurable:!0}),Object.defineProperty(qO.prototype,"bottom",{get:function(){return this.bottomValue},set:function(e){this.bottomValue=VO(e,"margins.bottom")},enumerable:!0,configurable:!0}),qO.prototype.snapshot=function(){return{left:this.leftValue,top:this.topValue,right:this.rightValue,bottom:this.bottomValue}},qO.prototype.replace=function(e,t,r,n){this.leftValue=VO(e,"margins.left"),this.topValue=VO(t,"margins.top"),this.rightValue=VO(r,"margins.right"),this.bottomValue=VO(n,"margins.bottom")};var GO=qO;function qO(e,t,r,n){this.leftValue=e,this.topValue=t,this.rightValue=r,this.bottomValue=n}function XO(e,t){return new fa(e,t)}ZO.A3=XO(842,1190),ZO.A4=XO(595,842),ZO.A5=XO(421,595),ZO.A6=XO(297,421),ZO.B4=XO(709,1002),ZO.B5=XO(501,709),ZO.B6=XO(501,354),ZO.Letter=XO(612,792),ZO.HalfLetter=XO(396,612),ZO.Letter11x17=XO(792,1224),ZO.EnvelopeDL=XO(312,624),ZO.Quarto=XO(610,780),ZO.Statement=XO(396,612),ZO.Ledger=XO(1224,792),ZO.Tabloid=XO(792,1224),ZO.Note=XO(540,720),ZO.Legal=XO(612,1008),ZO.Flsa=XO(612,936),ZO.Executive=XO(522,756);var YO=ZO;function ZO(){}var KO=new WeakMap;function JO(e,t){KO.set(e,t)}function $O(e){return KO.get(e)}var QO="http://schemas.openxmlformats.org/officeDocument/2006/relationships",eN="settings",tN=new Set([M.BorderStyle.Nil,M.BorderStyle.None,M.BorderStyle.Single,M.BorderStyle.Thick,M.BorderStyle.Double,M.BorderStyle.Dotted,M.BorderStyle.Dashed,M.BorderStyle.DotDash,M.BorderStyle.DotDotDash,M.BorderStyle.Triple,M.BorderStyle.ThinThickSmallGap,M.BorderStyle.ThickThinSmallGap,M.BorderStyle.ThinThickThinSmallGap,M.BorderStyle.ThinThickMediumGap,M.BorderStyle.ThickThinMediumGap,M.BorderStyle.ThinThickThinMediumGap,M.BorderStyle.ThinThickLargeGap,M.BorderStyle.ThickThinLargeGap,M.BorderStyle.ThinThickThinLargeGap,M.BorderStyle.Wave,M.BorderStyle.DoubleWave,M.BorderStyle.DashSmallGap,M.BorderStyle.DashDotStroked,M.BorderStyle.ThreeDEmboss,M.BorderStyle.ThreeDEngrave,M.BorderStyle.Outset,M.BorderStyle.Inset]),rN=(Object.defineProperty(nN.prototype,"space",{get:function(){return this.spaceValue},set:function(e){if(!Number.isInteger(e)||e<0||31<e)throw IO("borders.space must be an integer in 0…31");this.spaceValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(nN.prototype,"style",{get:function(){return this.styleValue},enumerable:!0,configurable:!0}),Object.defineProperty(nN.prototype,"colorWire",{get:function(){return this.colorWireValue},enumerable:!0,configurable:!0}),Object.defineProperty(nN.prototype,"widthPoints",{get:function(){return this.widthPointsValue},enumerable:!0,configurable:!0}),nN.prototype.applyCommon=function(e,t,r){this.styleValue=e,this.colorWireValue=t,this.widthPointsValue=r},nN.prototype.loadFromParsed=function(e){this.styleValue=vN(e.style),this.colorWireValue=e.color,this.widthPointsValue=e.widthPoints,this.spaceValue=Math.round(e.offsetPoints)},nN.prototype.toParsed=function(){var e;if((e=this.styleValue)!==M.BorderStyle.None&&e!==M.BorderStyle.Nil)return{style:this.styleValue,widthPoints:this.widthPointsValue,offsetPoints:this.spaceValue,color:this.colorWireValue}},nN.prototype.cloneInto=function(e){e.spaceValue=this.spaceValue,e.styleValue=this.styleValue,e.colorWireValue=this.colorWireValue,e.widthPointsValue=this.widthPointsValue},nN);function nN(){this.spaceValue=0,this.styleValue=M.BorderStyle.None,this.colorWireValue="auto",this.widthPointsValue=.5}Object.defineProperty(oN.prototype,"borderType",{get:function(){return this.borderTypeValue},set:function(e){this.borderTypeValue=function(e,t){if(tN.has(e))return e;throw IO(t+" must be a valid BorderStyle value")}(e,"borders.borderType"),this.stampCommonToEdges()},enumerable:!0,configurable:!0}),Object.defineProperty(oN.prototype,"color",{get:function(){return this.colorPublicValue},set:function(e){if("number"!=typeof e||void 0===M.Color[e])throw IO("borders.color must be a Color enum value");this.colorPublicValue=e,this.colorWireOverride=void 0,this.stampCommonToEdges()},enumerable:!0,configurable:!0}),Object.defineProperty(oN.prototype,"lineWidth",{get:function(){return this.lineWidthValue},set:function(e){this.lineWidthValue=function(e,t){if("number"!=typeof e||Number.isNaN(e)||e<.25||12<e)throw IO(t+" must be in 0.25–12 points");return e}(e,"borders.lineWidth"),this.stampCommonToEdges()},enumerable:!0,configurable:!0}),Object.defineProperty(oN.prototype,"top",{get:function(){return this.topEdge},enumerable:!0,configurable:!0}),Object.defineProperty(oN.prototype,"bottom",{get:function(){return this.bottomEdge},enumerable:!0,configurable:!0}),Object.defineProperty(oN.prototype,"left",{get:function(){return this.leftEdge},enumerable:!0,configurable:!0}),Object.defineProperty(oN.prototype,"right",{get:function(){return this.rightEdge},enumerable:!0,configurable:!0}),Object.defineProperty(oN.prototype,"applyTo",{get:function(){return this.applyToValue},enumerable:!0,configurable:!0}),oN.prototype.setApplyTo=function(e){this.applyToValue=e},Object.defineProperty(oN.prototype,"measureFrom",{get:function(){return this.measureFromValue},enumerable:!0,configurable:!0}),oN.prototype.setMeasureFrom=function(e){this.measureFromValue=e},Object.defineProperty(oN.prototype,"zOrder",{get:function(){return this.zOrderValue},enumerable:!0,configurable:!0}),oN.prototype.loadFromParsed=function(e){this.applyToValue=e.applyTo,this.measureFromValue=e.measureFrom,this.zOrderValue=e.zOrder,void 0!==e.top&&this.topEdge.loadFromParsed(e.top),void 0!==e.left&&this.leftEdge.loadFromParsed(e.left),void 0!==e.bottom&&this.bottomEdge.loadFromParsed(e.bottom),void 0!==e.right&&this.rightEdge.loadFromParsed(e.right);var t,e=void 0!==e.top?e.top:void 0!==e.left?e.left:void 0!==e.bottom?e.bottom:e.right;void 0!==e&&(this.borderTypeValue=vN(e.style),void 0!==(t=ko(e.color))?(this.colorPublicValue=t,this.colorWireOverride=void 0):(this.colorPublicValue=M.Color.Black,this.colorWireOverride=e.color),this.lineWidthValue=e.widthPoints)},oN.prototype.toParsed=function(){var e=this.topEdge.toParsed(),t=this.leftEdge.toParsed(),r=this.bottomEdge.toParsed(),n=this.rightEdge.toParsed(),i="allPages"!==this.applyToValue||"text"!==this.measureFromValue||"front"!==this.zOrderValue;if(void 0!==e||void 0!==t||void 0!==r||void 0!==n||i)return{applyTo:this.applyToValue,measureFrom:this.measureFromValue,zOrder:this.zOrderValue,top:e,left:t,bottom:r,right:n}},oN.prototype.copyFrom=function(e){this.borderTypeValue=e.borderTypeValue,this.colorPublicValue=e.colorPublicValue,this.colorWireOverride=e.colorWireOverride,this.lineWidthValue=e.lineWidthValue,this.applyToValue=e.applyToValue,this.measureFromValue=e.measureFromValue,this.zOrderValue=e.zOrderValue,e.topEdge.cloneInto(this.topEdge),e.bottomEdge.cloneInto(this.bottomEdge),e.leftEdge.cloneInto(this.leftEdge),e.rightEdge.cloneInto(this.rightEdge)},oN.prototype.stampCommonToEdges=function(){var e=this.resolveColorWire();this.topEdge.applyCommon(this.borderTypeValue,e,this.lineWidthValue),this.bottomEdge.applyCommon(this.borderTypeValue,e,this.lineWidthValue),this.leftEdge.applyCommon(this.borderTypeValue,e,this.lineWidthValue),this.rightEdge.applyCommon(this.borderTypeValue,e,this.lineWidthValue)},oN.prototype.resolveColorWire=function(){var e;return void 0!==this.colorWireOverride&&0<this.colorWireOverride.length?this.colorWireOverride:this.colorPublicValue!==M.Color.Transparent&&0<(e=Fo(this.colorPublicValue)).length?e:"auto"};var iN=oN;function oN(){this.borderTypeValue=M.BorderStyle.None,this.colorPublicValue=M.Color.Black,this.colorWireOverride=void 0,this.lineWidthValue=.5,this.topEdge=new rN,this.bottomEdge=new rN,this.leftEdge=new rN,this.rightEdge=new rN,this.applyToValue="allPages",this.measureFromValue="text",this.zOrderValue="front"}lN.createDefaultLetter=function(){return new lN},lN.createFromParsedValues=function(e){var t,r,n,i=new lN;return void 0!==e.attributes&&(i.attributes=e.attributes.slice()),void 0!==e.prefix&&(i.prefix=e.prefix.slice()),void 0!==e.suffix&&(i.suffix=e.suffix.slice()),void 0!==e.headerFooterReferences&&(i.headerFooterReferencesValue=e.headerFooterReferences.slice()),void 0!==e.breakCode&&(i.breakCodeValue=e.breakCode),VO(e.pageWidth,"pageSize.width"),VO(e.pageHeight,"pageSize.height"),i.pageSizeValue.replace(e.pageWidth,e.pageHeight,!1),void 0!==e.orientation?i.orientationValue=TO(e.orientation):i.orientationValue=e.pageHeight>=e.pageWidth?M.PageOrientation.Portrait:M.PageOrientation.Landscape,i.marginsValue.replace(e.marginLeft,e.marginTop,e.marginRight,e.marginBottom),void 0!==e.headerDistance&&(i.headerDistanceValue=VO(e.headerDistance,"headerDistance")),void 0!==e.footerDistance&&(i.footerDistanceValue=VO(e.footerDistance,"footerDistance")),void 0!==e.gutter&&(i.gutterValue=VO(e.gutter,"gutter")),void 0!==e.paperSource&&(t=e.paperSource,r=void 0===t.firstPageTray?void 0:OO(t.firstPageTray,"firstPageTray"),t=void 0===t.otherPagesTray?void 0:OO(t.otherPagesTray,"otherPagesTray"),i.firstPageTrayValue=(r={firstPageTray:r,otherPagesTray:t}).firstPageTray,i.otherPagesTrayValue=r.otherPagesTray,i.paperSourcePresent=void 0!==r.firstPageTray||void 0!==r.otherPagesTray),void 0!==e.pageBorders&&(t=function(e){var t=e.applyTo;if("allPages"!==t&&"firstPage"!==t&&"notFirstPage"!==t)throw IO("pageBorders.applyTo is invalid");var r=e.measureFrom;if("text"!==r&&"page"!==r)throw IO("pageBorders.measureFrom is invalid");var n=e.zOrder;if("front"===n||"back"===n)return{applyTo:t,measureFrom:r,zOrder:n,top:void 0===e.top?void 0:fN(e.top,"pageBorders.top"),left:void 0===e.left?void 0:fN(e.left,"pageBorders.left"),bottom:void 0===e.bottom?void 0:fN(e.bottom,"pageBorders.bottom"),right:void 0===e.right?void 0:fN(e.right,"pageBorders.right")};throw IO("pageBorders.zOrder is invalid")}(e.pageBorders),i.bordersValue.loadFromParsed(t)),void 0!==e.lineNumbering&&(r=function(e){if(!Number.isInteger(e.countBy)||e.countBy<1)throw IO("lineNumberingStep must be an integer ≥ 1");var t=e.restart;if(void 0!==t)switch(t){case"newPage":case"newSection":case"continuous":break;default:throw IO("lineNumbering.restart must be 'newPage', 'newSection', or 'continuous'")}if(void 0!==e.startAt&&(!Number.isInteger(e.startAt)||e.startAt<0))throw IO("lineNumbering wire startAt must be an integer ≥ 0");var r=void 0===e.distanceFromText?void 0:VO(e.distanceFromText,"lineNumberingDistanceFromText");return{countBy:e.countBy,restart:t,startAt:e.startAt,distanceFromText:r}}(e.lineNumbering),i.lineNumberingPresent=!0,i.lineNumberingStepValue=r.countBy,i.lineNumberingModeValue=void 0===r.restart||"newPage"===r.restart?M.LineNumberingMode.RestartPage:"newSection"===r.restart?M.LineNumberingMode.RestartSection:M.LineNumberingMode.Continuous,i.lineNumberingStartValueValue=void 0!==r.startAt?r.startAt+1:1,i.lineNumberingDistanceFromTextValue=void 0!==r.distanceFromText?r.distanceFromText:0),void 0!==e.pageStartingNumber&&(i.pageStartingNumberValue=DO(e.pageStartingNumber,"pageStartingNumber")),void 0!==e.restartPageNumbering&&(i.restartPageNumberingValue=!0===e.restartPageNumbering),void 0!==e.pageNumberStyle&&(i.pageNumberStyleValue=FO(e.pageNumberStyle)),void 0!==e.chapterNumbering&&(i.chapterNumberingValue=hN(e.chapterNumbering)),!0!==e.pageNumberingPresent&&void 0===e.pageStartingNumber&&!0!==e.restartPageNumbering&&void 0===e.pageNumberStyle&&void 0===e.chapterNumbering||(i.pageNumberingPresent=!0),void 0!==e.columns&&(n=e.columns,i.columnsValue.replaceFromParsed({equalWidth:n.equalWidth,separator:n.separator,spacing:n.spacing,count:n.count,columns:Array.from(n).map(function(e){return{width:e.width,space:e.spacing}})})),void 0!==e.verticalAlignment&&(i.verticalAlignmentValue=pN(e.verticalAlignment)),void 0!==e.bidi&&(i.bidiValue=!0===e.bidi),void 0!==e.differentFirstPage&&(i.differentFirstPageValue=!0===e.differentFirstPage),i},lN.prototype.cloneDeep=function(){var e=lN.createFromParsedValues({attributes:this.attributes,prefix:this.prefix,suffix:this.suffix,headerFooterReferences:this.headerFooterReferencesValue,breakCode:this.breakCodeValue,pageWidth:this.pageSizeValue.width,pageHeight:this.pageSizeValue.height,orientation:this.orientationValue,marginLeft:this.marginsValue.left,marginTop:this.marginsValue.top,marginRight:this.marginsValue.right,marginBottom:this.marginsValue.bottom,headerDistance:this.headerDistanceValue,footerDistance:this.footerDistanceValue,gutter:this.gutterValue,paperSource:this.snapshotPaperSource(),pageBorders:this.bordersValue.toParsed(),lineNumbering:this.snapshotLineNumbering(),pageStartingNumber:this.pageStartingNumberValue,restartPageNumbering:this.restartPageNumberingValue,pageNumberStyle:this.pageNumberStyleValue,chapterNumbering:this.chapterNumberingValue,bidi:this.bidiValue,pageNumberingPresent:this.pageNumberingPresent,columns:this.columnsValue.cloneDeep(),verticalAlignment:this.verticalAlignmentValue,differentFirstPage:this.differentFirstPageValue});return e.bordersValue.copyFrom(this.bordersValue),e},Object.defineProperty(lN.prototype,"orientation",{get:function(){return this.orientationValue},set:function(e){var t,r,e=TO(e);e!==this.orientationValue&&(t=this.pageSizeValue.width,r=this.pageSizeValue.height,e===M.PageOrientation.Landscape?t<r&&this.pageSizeValue.replace(r,t,!1):r<t&&this.pageSizeValue.replace(r,t,!1),this.orientationValue=e)},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"pageSize",{get:function(){return this.pageSizeValue},set:function(e){if(null==e||"number"!=typeof e.width||"number"!=typeof e.height)throw IO("pageSize must provide numeric width and height");var t=VO(e.width,"pageSize.width"),e=VO(e.height,"pageSize.height");this.pageSizeValue.replace(t,e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"margins",{get:function(){return this.marginsValue},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"headerDistance",{get:function(){return this.headerDistanceValue},set:function(e){this.headerDistanceValue=VO(e,"headerDistance")},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"footerDistance",{get:function(){return this.footerDistanceValue},set:function(e){this.footerDistanceValue=VO(e,"footerDistance")},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"borders",{get:function(){return this.bordersValue},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"firstPageTray",{get:function(){return void 0!==this.firstPageTrayValue?this.firstPageTrayValue:M.PrinterPaperTray.DefaultBin},set:function(e){this.firstPageTrayValue=OO(e,"firstPageTray"),this.paperSourcePresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"otherPagesTray",{get:function(){return void 0!==this.otherPagesTrayValue?this.otherPagesTrayValue:M.PrinterPaperTray.DefaultBin},set:function(e){this.otherPagesTrayValue=OO(e,"otherPagesTray"),this.paperSourcePresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"differentFirstPage",{get:function(){return this.differentFirstPageValue},set:function(e){this.differentFirstPageValue=!0===e},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"differentOddAndEvenPages",{get:function(){var e,t=$O(this);if(void 0===t||!Br(eN))return!1;try{var r=t.featurePart(Er(eN));return void 0===r?!1:!0===(null==(e=r.evenAndOddHeaders)?void 0:e())}catch(e){return!1}},set:function(e){if(!Br(eN))throw IO("differentOddAndEvenPages requires the settings feature (import @syncfusion/ej2-docx/settings)");var t=$O(this);if(void 0===t)throw IO("differentOddAndEvenPages requires page setup associated with a document (use section.pageSetup on a document section)");t=t.featurePart(Er(eN));if(void 0===t||"function"!=typeof t.setEvenAndOddHeaders)throw IO("settings part was not loaded; register settings before WordDocument.open or ensure settings is imported");t.setEvenAndOddHeaders(!!e||void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"pageStartingNumber",{get:function(){return this.pageStartingNumberValue},set:function(e){this.pageStartingNumberValue=DO(e,"pageStartingNumber"),this.pageNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"restartPageNumbering",{get:function(){return this.restartPageNumberingValue},set:function(e){this.restartPageNumberingValue=!0===e,this.pageNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"pageNumberStyle",{get:function(){return this.pageNumberStyleValue},set:function(e){this.pageNumberStyleValue=FO(e),this.pageNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"lineNumberingDistanceFromText",{get:function(){return this.lineNumberingDistanceFromTextValue},set:function(e){this.lineNumberingDistanceFromTextValue=VO(e,"lineNumberingDistanceFromText"),this.lineNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"lineNumberingMode",{get:function(){return this.lineNumberingModeValue},set:function(e){this.lineNumberingModeValue=function(e){switch(e){case M.LineNumberingMode.Continuous:case M.LineNumberingMode.RestartPage:case M.LineNumberingMode.RestartSection:return e;default:throw IO("lineNumberingMode is invalid")}}(e),this.lineNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"lineNumberingStartValue",{get:function(){return this.lineNumberingStartValueValue},set:function(e){this.lineNumberingStartValueValue=DO(e,"lineNumberingStartValue"),this.lineNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"lineNumberingStep",{get:function(){return this.lineNumberingStepValue},set:function(e){if(!Number.isInteger(e)||e<1)throw IO("lineNumberingStep must be an integer ≥ 1");this.lineNumberingStepValue=e,this.lineNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"breakCode",{get:function(){return this.breakCodeValue},set:function(e){this.breakCodeValue=kO(e)},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"columns",{get:function(){return this.columnsValue},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"headerFooterReferences",{get:function(){return this.headerFooterReferencesValue},enumerable:!0,configurable:!0}),lN.prototype.headerFooterReferenceId=function(e,t){var r=cN(e,t),e=this.headerFooterReferencesValue.find(function(e){return e.kind===r.kind&&e.refType===r.refType});return null==e?void 0:e.relationshipId},lN.prototype.setHeaderFooterReference=function(e,t,r){e=uN(e)?(n=e,"string"==typeof t?t:void 0):(n=cN(e,"default"===t||"first"===t||"even"===t?t:void 0),r);var n,t=this.headerFooterReferencesValue.filter(function(e){return!(e.kind===n.kind&&e.refType===n.refType)});void 0!==e&&t.push({kind:n.kind,refType:n.refType,relationshipId:e}),this.headerFooterReferencesValue=t},Object.defineProperty(lN.prototype,"gutter",{get:function(){return this.gutterValue},set:function(e){this.gutterValue=VO(e,"gutter")},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"verticalAlignment",{get:function(){return this.verticalAlignmentValue},set:function(e){this.verticalAlignmentValue=pN(e)},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"bidi",{get:function(){return this.bidiValue},set:function(e){this.bidiValue=!0===e},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"pageBorderOffsetFrom",{get:function(){return"page"===this.bordersValue.measureFrom?M.PageBorderOffsetFrom.PageEdge:M.PageBorderOffsetFrom.Text},set:function(e){if(e===M.PageBorderOffsetFrom.PageEdge)this.bordersValue.setMeasureFrom("page");else{if(e!==M.PageBorderOffsetFrom.Text)throw IO("pageBorderOffsetFrom is invalid");this.bordersValue.setMeasureFrom("text")}},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"pageBordersApplyType",{get:function(){var e=this.bordersValue.applyTo;return"firstPage"===e?M.PageBordersApplyType.FirstPage:"notFirstPage"===e?M.PageBordersApplyType.NotFirstPage:M.PageBordersApplyType.AllPages},set:function(e){if(e===M.PageBordersApplyType.FirstPage)this.bordersValue.setApplyTo("firstPage");else if(e===M.PageBordersApplyType.NotFirstPage)this.bordersValue.setApplyTo("notFirstPage");else{if(e!==M.PageBordersApplyType.AllPages)throw IO("pageBordersApplyType is invalid");this.bordersValue.setApplyTo("allPages")}},enumerable:!0,configurable:!0}),Object.defineProperty(lN.prototype,"chapterNumbering",{get:function(){return this.chapterNumberingValue},set:function(e){this.chapterNumberingValue=void 0===e?void 0:hN(e),void 0!==e&&(this.pageNumberingPresent=!0)},enumerable:!0,configurable:!0}),lN.prototype.snapshotPaperSource=function(){if(this.paperSourcePresent&&(void 0!==this.firstPageTrayValue||void 0!==this.otherPagesTrayValue))return{firstPageTray:this.firstPageTrayValue,otherPagesTray:this.otherPagesTrayValue}},lN.prototype.snapshotLineNumbering=function(){var e,t;if(this.lineNumberingPresent)return e=this.lineNumberingModeValue===M.LineNumberingMode.RestartPage?void 0:this.lineNumberingModeValue,t=this.lineNumberingStartValueValue-1,{countBy:this.lineNumberingStepValue,restart:e,startAt:0!=t?t:void 0,distanceFromText:0!==this.lineNumberingDistanceFromTextValue?this.lineNumberingDistanceFromTextValue:void 0}},lN.prototype.toOpenXml=function(){for(var e,t=[],r=0;r<this.headerFooterReferencesValue.length;r++)t.push(b("header"===(e=this.headerFooterReferencesValue[r]).kind?"headerReference":"footerReference",{attributes:[{namespaceUri:QO,localName:"id",prefix:"r",value:e.relationshipId},y("type",e.refType)]}));for(var n=0;n<this.prefix.length;n++)t.push(this.prefix[n]);var i,o,a=wO(this.breakCodeValue),a=("newPage"!==a&&t.push(b("type",{attributes:[y("val",a)]})),t.push(function(e,t,r){e=[y("w",String(U(e))),y("h",String(U(t)))];r===M.PageOrientation.Landscape&&e.push(y("orient","landscape"));return b("pgSz",{attributes:e})}(this.pageSizeValue.width,this.pageSizeValue.height,this.orientationValue)),t.push((a=this.marginsValue.top,i=this.marginsValue.right,l=this.marginsValue.bottom,o=this.marginsValue.left,s=this.headerDistanceValue,u=this.footerDistanceValue,d=this.gutterValue,b("pgMar",{attributes:[y("top",String(U(a))),y("right",String(U(i))),y("bottom",String(U(l))),y("left",String(U(o))),y("header",String(U(s))),y("footer",String(U(u))),y("gutter",String(U(d)))]}))),this.snapshotPaperSource()),l=(void 0!==a&&void 0!==(i=function(e){var t=[];void 0!==e.firstPageTray&&t.push(y("first",String(e.firstPageTray)));void 0!==e.otherPagesTray&&t.push(y("other",String(e.otherPagesTray)));if(0!==t.length)return b("paperSrc",{attributes:t})}(a))&&t.push(i),this.bordersValue.toParsed()),s=(void 0!==l&&void 0!==(o=function(e){var t=[],r=void 0===e.top?void 0:dN("top",e.top),n=void 0===e.left?void 0:dN("left",e.left),i=void 0===e.bottom?void 0:dN("bottom",e.bottom),o=void 0===e.right?void 0:dN("right",e.right);void 0!==r&&t.push(r);void 0!==n&&t.push(n);void 0!==i&&t.push(i);void 0!==o&&t.push(o);r=[];"front"!==e.zOrder&&r.push(y("zOrder",e.zOrder));"allPages"!==e.applyTo&&r.push(y("display",e.applyTo));"text"!==e.measureFrom&&r.push(y("offsetFrom",e.measureFrom));if(0!==t.length||0!==r.length)return b("pgBorders",{attributes:r,children:t})}(l))&&t.push(o),this.snapshotLineNumbering()),u=(void 0!==s&&t.push(function(e){var t=[y("countBy",String(e.countBy))];void 0!==e.restart&&"newPage"!==e.restart&&t.push(y("restart",e.restart));void 0!==e.startAt&&t.push(y("start",String(e.startAt)));void 0!==e.distanceFromText&&t.push(y("distance",String(U(e.distanceFromText))));return b("lnNumType",{attributes:t})}(s)),this.pageNumberingPresent&&t.push(function(e,t,r){e=[y("fmt",e)];void 0!==t&&e.push(y("start",String(t)));void 0!==r&&(e.push(y("chapStyle",String(r.headingLevel))),"hyphen"!==r.separator)&&e.push(y("chapSep",r.separator));return b("pgNumType",{attributes:e})}(this.pageNumberStyleValue,this.restartPageNumberingValue?this.pageStartingNumberValue:void 0,this.chapterNumberingValue)),this.columnsValue.toOpenXmlElement());void 0!==u&&t.push(u),this.verticalAlignmentValue!==M.PageVerticalAlignment.Top&&t.push(b("vAlign",{attributes:[y("val",this.verticalAlignmentValue)]})),this.bidiValue&&t.push(Ji("bidi",!0)),this.differentFirstPageValue&&t.push(Ji("titlePg",!0));for(var c=0;c<this.suffix.length;c++)t.push(this.suffix[c]);var d=0<this.headerFooterReferencesValue.length?[{prefix:"r",namespaceUri:QO}]:[];return b("sectPr",{attributes:this.attributes,namespaceDeclarations:d,children:t})};var aN=lN;function lN(){this.attributes=[],this.prefix=[],this.suffix=[],this.headerFooterReferencesValue=[],this.breakCodeValue=M.SectionBreakCode.NewPage,this.pageSizeValue=new fa(YO.Letter.width,YO.Letter.height),this.orientationValue=M.PageOrientation.Portrait,this.marginsValue=new GO(72,72,72,72),this.headerDistanceValue=36,this.footerDistanceValue=36,this.gutterValue=0,this.firstPageTrayValue=void 0,this.otherPagesTrayValue=void 0,this.paperSourcePresent=!1,this.bordersValue=new iN,this.lineNumberingPresent=!1,this.lineNumberingDistanceFromTextValue=0,this.lineNumberingModeValue=M.LineNumberingMode.RestartPage,this.lineNumberingStartValueValue=1,this.lineNumberingStepValue=1,this.pageStartingNumberValue=1,this.restartPageNumberingValue=!1,this.pageNumberStyleValue=M.PageNumberStyle.Arabic,this.chapterNumberingValue=void 0,this.pageNumberingPresent=!1,this.columnsValue=new RO,this.verticalAlignmentValue=M.PageVerticalAlignment.Top,this.bidiValue=!1,this.differentFirstPageValue=!1;var r=this;this.pageSizeValue.setChangeListener(function(e,t){VO(e,"pageSize.width"),VO(t,"pageSize.height"),r.orientationValue=e<=t?M.PageOrientation.Portrait:M.PageOrientation.Landscape})}function sN(){return aN.createDefaultLetter()}function uN(e){return"object"==typeof e&&null!==e&&!("header"!==e.kind&&"footer"!==e.kind||"default"!==e.refType&&"first"!==e.refType&&"even"!==e.refType)}function cN(e,t){if(uN(e))return e;if(void 0===t)throw IO("header/footer refType is required");return{kind:e,refType:t}}function dN(e,t){var r;if(void 0!==(r=t)&&"none"!==r.style&&"nil"!==r.style)return r=Math.round(8*t.widthPoints),r=[y("val",t.style),y("sz",String(r)),y("space",String(Math.round(t.offsetPoints)))],"auto"!==t.color&&r.push(y("color",t.color)),b(e,{attributes:r})}function hN(e){var t=e.headingLevel;if(!Number.isInteger(t)||t<1||9<t)throw IO("chapterNumbering.headingLevel must be an integer in 1…9");e=e.separator;switch(e){case"hyphen":case"period":case"colon":case"emDash":case"enDash":break;default:throw IO("chapterNumbering.separator is invalid")}return{headingLevel:t,separator:e}}function pN(e){switch(e){case M.PageVerticalAlignment.Top:case"top":return M.PageVerticalAlignment.Top;case M.PageVerticalAlignment.Center:case"center":return M.PageVerticalAlignment.Center;case M.PageVerticalAlignment.Both:case"both":return M.PageVerticalAlignment.Both;case M.PageVerticalAlignment.Bottom:case"bottom":return M.PageVerticalAlignment.Bottom;default:throw IO("verticalAlignment must be a valid VerticalAlignment value")}}function fN(e,t){if("number"!=typeof e.widthPoints||Number.isNaN(e.widthPoints)||e.widthPoints<.25||12<e.widthPoints)throw IO(t+".widthPoints must be in 0.25–12");if("number"!=typeof e.offsetPoints||Number.isNaN(e.offsetPoints)||e.offsetPoints<0||31<e.offsetPoints)throw IO(t+".offsetPoints must be in 0…31");if(!tN.has(e.style))throw IO(t+".style is not a supported border style");if("string"!=typeof e.color||0===e.color.length)throw IO(t+".color must be a non-empty string");return e}function vN(e){return tN.has(e)?e:M.BorderStyle.None}var mN=function(o,a,l,s){return new(l=l||Promise)(function(e,t){function r(e){try{i(s.next(e))}catch(e){t(e)}}function n(e){try{i(s.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new l(function(e){e(t.value)}).then(r,n)}i((s=s.apply(o,a||[])).next())})},yN=function(n,i){var o,a,l,s={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(r){return function(e){var t=[r,e];if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,a&&(l=2&t[0]?a.return:t[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,t[1])).done)return l;switch(a=0,(t=l?[2&t[0],l.value]:t)[0]){case 0:case 1:l=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(l=0<(l=s.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3]))s.label=t[1];else if(6===t[0]&&s.label<l[1])s.label=l[1],l=t;else{if(!(l&&s.label<l[2])){l[2]&&s.ops.pop(),s.trys.pop();continue}s.label=l[2],s.ops.push(t)}}t=i.call(n,s)}catch(e){t=[6,e],a=0}finally{o=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},gN=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},bN=Er("sections"),wN=YO.Letter.width,PN=YO.Letter.height,SN=72,xN=36,CN=0,IN=new Set(["nil","none","single","thick","double","dotted","dashed","dotDash","dotDotDash","triple","thinThickSmallGap","thickThinSmallGap","thinThickThinSmallGap","thinThickMediumGap","thickThinMediumGap","thinThickThinMediumGap","thinThickLargeGap","thickThinLargeGap","thinThickThinLargeGap","wave","doubleWave","dashSmallGap","dashDotStroked","threeDEmboss","threeDEngrave","outset","inset"]);function VN(e){return new Error("sections: "+e)}function TN(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===dn||""===e.namespaceUri)});return null==e?void 0:e.value}function kN(e){if(void 0!==e&&/^-?\d+$/.test(e)){e=Number.parseInt(e,10);if(!(e<0||SO<e))return e}}function FN(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function DN(e){return void 0===e||0===e.length||"true"===(e=e.trim().toLowerCase())||"1"===e||"on"===e||"false"!==e&&"0"!==e&&"off"!==e&&void 0}function ON(e){var t=TN(e,"fmt");if(void 0!==t&&!("decimal"===t||"upperRoman"===t||"lowerRoman"===t||"upperLetter"===t||"lowerLetter"===t||"ordinal"===t||"cardinalText"===t||"ordinalText"===t||"numberInDash"===t||"chicago"===t))return;var r,n,t=bO(t),i=TN(e,"start");if(void 0!==i){if(!/^\d+$/.test(i))return;i=Number.parseInt(i,10);if(i<1)return;r=i,n=!0}i=TN(e,"chapStyle"),e=TN(e,"chapSep");if(void 0!==i){if(!/^\d+$/.test(i))return;i=Number.parseInt(i,10);if(i<1||9<i)return;var o="hyphen";if(void 0!==e){var a=function(e){if("hyphen"===e||"period"===e||"colon"===e||"emDash"===e||"enDash"===e)return e}(e);if(void 0===a)return;o=a}a={headingLevel:i,separator:o}}else if(void 0!==e)return;return{pageStartingNumber:r,restartPageNumbering:n,pageNumberStyle:t,chapterNumbering:a,pageNumberingPresent:!0}}function NN(e){var t=null!=(t=z(e))?t:TN(e,"val");if(void 0!==t&&IN.has(t)){var r=TN(e,"sz"),n=.5;if(void 0!==r){if(!/^\d+$/.test(r))return;if((n=Number.parseInt(r,10)/8)<.25||12<n)return}var r=TN(e,"space"),i=0;if(void 0!==r){if(!/^\d+$/.test(r))return;if((i=Number.parseInt(r,10))<0||31<i)return}return{style:t,widthPoints:n,offsetPoints:i,color:null!=(r=TN(e,"color"))?r:"auto"}}}function AN(e){var t,r;if(void 0!==e&&te(e,"sectPr")){var n,i,o,a,l,s,u,c,d,h,p,f,v,m,y,g,R,B,b,w,P,S,x=[],C=[],_=[],I=!1,V=!1;try{for(var T=gN(re(e)),k=T.next();!k.done;k=T.next()){var F,D,O,N,A,E,L=k.value,j=function(e){var t=te(e,"headerReference")?"header":te(e,"footerReference")?"footer":void 0;if(void 0!==t){var r=null==(r=(r=e).attributes.find(function(e){return"id"===e.localName&&"http://schemas.openxmlformats.org/officeDocument/2006/relationships"===e.namespaceUri}))?void 0:r.value,e=TN(e,"type"),e="default"===e||"first"===e||"even"===e?e:void 0;if(void 0!==r&&void 0!==e)return{kind:t,refType:e,relationshipId:r}}}(L);void 0!==j?_.push(j):te(L,"type")&&void 0===n?void 0!==(A=function(e){if("newPage"===(e=z(e))||"continuous"===e||"nextColumn"===e||"evenPage"===e||"oddPage"===e)return e}(L))?(n=PO("newPage"===A?void 0:A),V=!0):(V?C:x).push(L):te(L,"pgSz")&&void 0===i?void 0!==(A=function(e){var t,r=kN(TN(e,"w")),n=kN(TN(e,"h"));if(void 0!==r&&void 0!==n)return"landscape"===(e=TN(e,"orient"))?t=M.PageOrientation.Landscape:"portrait"===e&&(t=M.PageOrientation.Portrait),{width:H(r),height:H(n),orientation:t}}(L))?(i=A.width,o=A.height,a=A.orientation,V=!0):(V?C:x).push(L):te(L,"pgMar")&&void 0===l?void 0!==(A=function(e){var t=kN(TN(e,"top")),r=kN(TN(e,"right")),n=kN(TN(e,"bottom")),i=kN(TN(e,"left")),o=kN(TN(e,"header")),a=kN(TN(e,"footer")),e=kN(TN(e,"gutter"));if(void 0!==t&&void 0!==r&&void 0!==n&&void 0!==i&&void 0!==o&&void 0!==a&&void 0!==e)return{top:H(t),right:H(r),bottom:H(n),left:H(i),header:H(o),footer:H(a),gutter:H(e)}}(L))?(l=A.left,s=A.top,u=A.right,c=A.bottom,d=A.header,h=A.footer,p=A.gutter,V=!0):(V?C:x).push(L):te(L,"paperSrc")&&void 0===f?void 0!==(A=function(e){var t,r,n=TN(e,"first"),e=TN(e,"other");if((void 0===n||void 0!==(t=FN(n)))&&!(void 0!==e&&void 0===(r=FN(e))||void 0===t&&void 0===r))return{firstPageTray:t,otherPagesTray:r}}(L))?(f=A,V=!0):(V?C:x).push(L):te(L,"pgBorders")&&void 0===v?void 0!==(A=function(e){var t,r,n=TN(e,"display"),i="allPages";if(void 0!==n){if("allPages"!==n&&"firstPage"!==n&&"notFirstPage"!==n)return;i=n}var n=TN(e,"offsetFrom"),o="text";if(void 0!==n){if("text"!==n&&"page"!==n)return;o=n}var a,l,s,u,n=TN(e,"zOrder"),c="front";if(void 0!==n){if("front"!==n&&"back"!==n)return;c=n}try{for(var d=gN(re(e)),h=d.next();!h.done;h=d.next()){var p=h.value;if(te(p,"top")){if(void 0===(a=NN(p)))return}else if(te(p,"left")){if(void 0===(l=NN(p)))return}else if(te(p,"bottom")){if(void 0===(s=NN(p)))return}else{if(!te(p,"right"))return;if(void 0===(u=NN(p)))return}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return{applyTo:i,measureFrom:o,zOrder:c,top:a,left:l,bottom:s,right:u}}(L))?(v=A,V=!0):(V?C:x).push(L):te(L,"lnNumType")&&void 0===m?void 0!==(A=function(e){var t=TN(e,"countBy");if(void 0!==t&&/^\d+$/.test(t)){t=Number.parseInt(t,10);if(!(t<1)){var r,n,i=TN(e,"restart");if(void 0!==i){if("newPage"!==i&&"newSection"!==i&&"continuous"!==i)return;r="newPage"===i?void 0:i}var o,i=TN(e,"start");if(void 0!==i){if(!/^\d+$/.test(i))return;n=Number.parseInt(i,10)}i=TN(e,"distance");if(void 0!==i){e=kN(i);if(void 0===e)return;o=H(e)}return{countBy:t,restart:r,startAt:n,distanceFromText:o}}}}(L))?(m=A,V=!0):(V?C:x).push(L):te(L,"pgNumType")&&void 0===b?void 0!==(A=ON(L))?(y=A.pageStartingNumber,g=A.restartPageNumbering,R=A.pageNumberStyle,B=A.chapterNumbering,V=b=!0):(V?C:x).push(L):te(L,"cols")&&void 0===w?void 0!==(A=MO(L))?(w=A,V=!0):(F=TN(L,"num"),D=TN(L,"space"),O=TN(L,"equalWidth"),N=TN(L,"sep"),void 0!==F&&"1"!==F||void 0!==D&&D!==String(U(CO))||void 0!==O&&!0!==DN(O)||void 0!==N&&!1!==DN(N)||0!==re(L).length?(V?C:x).push(L):V=!0):te(L,"vAlign")&&void 0===P?void 0!==(A=function(e){if("top"===(e=z(e))||"center"===e||"both"===e||"bottom"===e)return e}(L))?(P="top"===A?void 0:A,V=!0):(V?C:x).push(L):te(L,"bidi")&&void 0===S?!0===(E=Ki(L))||!1===E?(S=!0===E,V=!0):(V?C:x).push(L):te(L,"titlePg")?!0===(E=Ki(L))?V=I=!0:!1===E?V=!(I=!1):(V?C:x).push(L):(V?C:x).push(L)}}catch(e){t={error:e}}finally{try{k&&!k.done&&(r=T.return)&&r.call(T)}finally{if(t)throw t.error}}return aN.createFromParsedValues({attributes:e.attributes,prefix:x,suffix:C,headerFooterReferences:_,breakCode:n,pageWidth:void 0!==i?i:wN,pageHeight:void 0!==o?o:PN,orientation:a,marginLeft:void 0!==l?l:SN,marginTop:void 0!==s?s:SN,marginRight:void 0!==u?u:SN,marginBottom:void 0!==c?c:SN,headerDistance:void 0!==d?d:xN,footerDistance:void 0!==h?h:xN,gutter:void 0!==p?p:CN,paperSource:f,pageBorders:v,lineNumbering:m,pageStartingNumber:y,restartPageNumbering:g,pageNumberStyle:R,chapterNumbering:B,pageNumberingPresent:b,columns:w,verticalAlignment:P,bidi:S,differentFirstPage:I})}}var EN,LN=!1;function RN(e){var t=e.pageSetup;return t instanceof aN||(JO(t=sN(),e.owningDocument()),e.setPageSetup(t)),t}function BN(){var e;LN||(LN=!0,Rr({id:bN}),void 0===EN&&(EN=Cd.create.bind(Cd),Cd.create=function(){var e=EN(),t=sN();return JO(t,e),e.replaceFinalSectionPropertiesModel(t),e}),e=dd.prototype,Object.defineProperty(e,"breakCode",{configurable:!0,enumerable:!0,get:function(){return RN(this).breakCode},set:function(e){RN(this).breakCode=e}}),Object.defineProperty(e,"columns",{configurable:!0,enumerable:!0,get:function(){return RN(this).columns}}),Object.defineProperty(e,"addColumn",{configurable:!0,enumerable:!1,writable:!0,value:function(e,t){return RN(this).columns.add(e,t)}}),(void 0===(e=Object.getOwnPropertyDescriptor(D.prototype,"sectionBreak"))||void 0===e.get&&void 0===e.set)&&Object.defineProperty(D.prototype,"sectionBreak",{configurable:!0,enumerable:!0,get:function(){return UN(this)},set:function(e){HN(this,e)}}),Qc(AN),td(function(e,t){e instanceof aN&&JO(e,t)}),Hc(function(e){if(e instanceof aN)return e.cloneDeep();throw new TypeError("Expected PageSetup")}),Gc(sN))}function _N(e){return e instanceof aN}function jN(e){var t=e.finalSectionPropertiesModel();if(_N(t))return JO(t,e),t;t=e.bodySectPr();if(void 0!==t){t=AN(t);if(void 0!==t)return JO(t,e),e.replaceFinalSectionPropertiesModel(t),t}}function MN(e){return jN(e)}function zN(e,t){JO(t,e),e.replaceFinalSectionPropertiesModel(t)}function UN(e){var t=e.sectionBreakPropertiesModel();if(_N(t))return JO(t,e.owningDocument()),t;if(void 0!==(t=e.sectionBreakSectPr())){t=AN(t);if(void 0!==t)return JO(t,e.owningDocument()),e.replaceSectionBreakPropertiesModel(t),t}}function HN(e,t){var r=e.owningDocument();void 0!==t?(JO(t,r),e.replaceSectionBreakPropertiesModel(t)):(e.replaceSectionBreakPropertiesModel(void 0),e.replaceSectionBreakSectPr(void 0)),r.repartitionFromBodyBlocks()}function WN(e){var t=jN(e);return void 0!==t||(JO(t=sN(),e),e.replaceFinalSectionPropertiesModel(t)),t}ui(function(){BN()}),BN();var GN=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},qN=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(GN(arguments[t]));return e},XN=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Z1=Oc,YN=Oc,ZN=Er("headers-footers"),KN=Symbol.for("@syncfusion/ej2-docx.HeadersFootersCatalog"),JN="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",$N="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",QN="http://purl.oclc.org/ooxml/officeDocument/relationships/header",eA="http://purl.oclc.org/ooxml/officeDocument/relationships/footer",tA="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",rA="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",nA=[JN,QN],iA=[$N,eA],oA=qN(nA,iA),aA=new TextDecoder("utf-8"),lA=new TextEncoder;function sA(e){return"header"===e?"hdr":"ftr"}function uA(e,t){return[{type:"paragraph",paragraph:D.fromXml(b("p",{children:[b("r",{children:[b("t",{children:[{kind:"text",value:e}]})]})]}),t=void 0===t?cA:t)}]}var cA={assertAttachedParagraph:function(){},owningDocument:function(){throw new N("Header or footer content is not in a document")}},dA=(hA.prototype.assertAttachedParagraph=function(t){var e=VA(this.document).entryForRelationship(this.relationshipId);if(void 0===e)throw new N("Header or footer part is no longer loaded");if(!e.blocks.some(function(e){return"paragraph"===e.type&&e.paragraph===t}))throw new N("This paragraph is no longer in its header or footer")},hA.prototype.owningDocument=function(){return this.document},hA);function hA(e,t){this.document=e,this.relationshipId=t}function pA(e,t){return new dA(e,t)}function fA(e,t){"object"==typeof e&&null!==e&&"bindDocument"in e&&e.bindDocument.call(e,t)}function vA(e){var t;"object"==typeof e&&null!==e&&"releaseContent"in e&&"function"==typeof(t=e.releaseContent)&&t.call(e)}function mA(e,t){var r,n,i=pA(e,t.relationshipId);try{for(var o=XN(t.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;"paragraph"===l.type?l.paragraph.attach(i):"feature"===l.type&&fA(l.value,e)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}function yA(e){var t,r;try{for(var n=XN(e),i=n.next();!i.done;i=n.next()){var o=i.value;"paragraph"===o.type?o.paragraph.detach():"feature"===o.type&&vA(o.value)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}bA.prototype.bindDocument=function(e){var t,r;this.boundDocument=e;try{for(var n=XN(this.entries.values()),i=n.next();!i.done;i=n.next())mA(e,i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},bA.prototype.entryForRelationship=function(e){return this.byRelationshipId.get(e)},bA.prototype.requireBoundDocument=function(){if(void 0===this.boundDocument)throw new J("content/invalid-header-footer-reference","Headers/footers catalog is not bound to a document");return this.boundDocument},bA.prototype.requireEntry=function(e){var t=this.byRelationshipId.get(e);if(void 0===t)throw new J("content/invalid-header-footer-reference","Header/footer relationship "+e+" is not loaded in this document");return t},bA.prototype.isDirty=function(){var t,e;if(this.catalogDirty)return!0;try{for(var r=XN(this.entries.values()),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.dirty||void 0!==i.pendingRelationship)return!0}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return!1},bA.prototype.applyToPackage=function(e,n){function t(t){var e,r;!t.dirty&&void 0===t.pendingRelationship||(e=function(e){e=b(sA(e.kind),{attributes:e.rootExtra.attributes,namespaceDeclarations:e.rootExtra.namespaceDeclarations,children:Ku(e.blocks)});return lA.encode(Fe(e))}(t),r=null!=t.pendingRelationship?t.pendingRelationship:kr(o,n).items.find(function(e){return e.id===t.relationshipId}),o=un(o,n,t.partName,"header"===t.kind?tA:rA,e,r),t.dirty=!1,t.pendingRelationship=void 0)}var r,i,o=e;try{for(var a=XN(this.entries.values()),l=a.next();!l.done;l=a.next())t(l.value)}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return this.catalogDirty=!1,o},bA.prototype.ensureDefaultPart=function(e,t,r,n){return this.ensurePart(e,t,"default",r,n)},bA.prototype.ensurePart=function(e,t,r,n,i){t=t.headerFooterReferenceId(e,r);if(void 0!==t){r=this.byRelationshipId.get(t);if(void 0!==r)return{entry:r,relationshipId:t}}r=new Set(qN(this.entries.keys()).map($)),t=function(e,t){var r="header"===e?"header":"footer",n=1;for(;t.has($(Lt("/word/"+r+String(n)+".xml")));)n+=1;return Lt("/word/"+r+String(n)+".xml")}(e,new Set(qN(i,r))),i=ir(new Set(qN(n,this.byRelationshipId.keys()))),r="header"===e?JN:$N,n={partName:t,relationshipId:i,relationshipType:r,kind:e,rootExtra:{attributes:[],namespaceDeclarations:[{prefix:"w",namespaceUri:he}]},blocks:[],dirty:!0,pendingRelationship:{id:i,type:r,target:t.slice("/word/".length),extraAttributes:[],children:[]}};return this.entries.set(t,n),this.byRelationshipId.set(i,n),this.catalogDirty=!0,{entry:n,relationshipId:i}},bA.prototype.hasRelationship=function(e){return this.byRelationshipId.has(e)},bA.prototype.relationshipIds=function(e){var t,r,n=[];try{for(var i=XN(this.entries.values()),o=i.next();!o.done;o=i.next()){var a=o.value;a.kind===e&&n.push(a.relationshipId)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},bA.prototype.itemsForRelationship=function(e){var t,r,e=this.byRelationshipId.get(e);if(void 0===e)return[];void 0!==this.boundDocument&&mA(this.boundDocument,e);var n=[];try{for(var i=XN(e.blocks),o=i.next();!o.done;o=i.next()){var a=ec(o.value);void 0!==a&&n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},bA.prototype.paragraphsForRelationship=function(e){var t,r,n=this.byRelationshipId.get(e);if(void 0===n)return[];void 0!==this.boundDocument&&mA(this.boundDocument,n);var i=[];try{for(var o=XN(this.itemsForRelationship(e)),a=o.next();!a.done;a=o.next()){var l=a.value;Ju(l)&&i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},bA.prototype.setSimpleText=function(e,t){var r=wA.get(e.relationshipId);yA(e.blocks),void 0!==r?(e.blocks=uA(t,r),r.replaceItemsSilent(e.blocks.slice())):void 0!==this.boundDocument?(r=pA(this.boundDocument,e.relationshipId),e.blocks=uA(t,r)):e.blocks=uA(t),e.dirty=!0},bA.prototype.setSimpleTextForRelationship=function(e,t){e=this.requireEntry(e);this.setSimpleText(e,t)},bA.prototype.insertBodyItemAtForRelationship=function(e,t,r){var n=this,i=this.requireBoundDocument(),o=this.requireEntry(e);if(!rc(r))throw new TypeError("Unsupported body item type");var a=this.itemsForRelationship(e);if(t<0||t>a.length)throw new RangeError("Body item index "+String(t)+" is out of range");var l=tc(r),s=wA.get(e);if("paragraph"===l.type?l.paragraph.attach(void 0!==s?s:pA(i,e)):"feature"===l.type&&fA(l.value,i),t===a.length)u=o.blocks.length;else{var u,c=a[t];if((u=o.blocks.findIndex(function(e){e=ec(e);return void 0!==e&&n.publicBodyItemsEqual(e,c)}))<0)throw new N("Body item index is inconsistent")}e=o.blocks.slice();return e.splice(u,0,l),o.blocks=e,o.dirty=!0,void 0!==s&&s.replaceItemsSilent(o.blocks.slice()),r},bA.prototype.removeBodyItemAtForRelationship=function(e,t){var r=this,n=this.requireEntry(e),i=this.itemsForRelationship(e);if(t<0||t>=i.length)throw new RangeError("Body item index "+String(t)+" is out of range");var o=i[t];if(void 0===o)throw new RangeError("Body item index "+String(t)+" is out of range");i=n.blocks.findIndex(function(e){e=ec(e);return void 0!==e&&r.publicBodyItemsEqual(e,o)});if(i<0)throw new N("Body item index is inconsistent");var a=n.blocks[i];if(void 0===a)throw new RangeError("Body item index "+String(t)+" is out of range");t=n.blocks.slice(),t.splice(i,1),n.blocks=t,"paragraph"===a.type?a.paragraph.detach():"feature"===a.type&&vA(a.value),n.dirty=!0,i=wA.get(e);void 0!==i&&i.replaceItemsSilent(n.blocks.slice())},bA.prototype.removeBodyItemForRelationship=function(e,t){var r=this;if(-1===this.requireEntry(e).blocks.findIndex(function(e){e=ec(e);return void 0!==e&&r.publicBodyItemsEqual(e,t)}))throw new N("Body item is not in this header or footer");for(var n=this.itemsForRelationship(e),i=-1,o=0;o<n.length;o+=1)if(this.publicBodyItemsEqual(n[o],t)){i=o;break}if(-1===i)throw new N("Body item is not in this header or footer");this.removeBodyItemAtForRelationship(e,i)},bA.prototype.appendParagraphForRelationship=function(e,t){var r=this.requireBoundDocument(),n=(this.requireEntry(e),wA.get(e)),n=void 0!==n?n:pA(r,e),r=new D(n);return this.insertBodyItemAtForRelationship(e,this.itemsForRelationship(e).length,r),void 0!==(null==t?void 0:t.style)&&r.applyStyle(t.style),void 0!==(null==t?void 0:t.text)&&r.appendText(t.text),r},bA.prototype.insertParagraphForRelationship=function(e,t){var r=this.requireBoundDocument(),n=(this.requireEntry(e),this.paragraphsForRelationship(e));if(t<0||t>n.length)throw new RangeError("Paragraph index "+String(t)+" is out of range");var i=wA.get(e),i=void 0!==i?i:pA(r,e),r=new D(i);if(t===n.length)this.insertBodyItemAtForRelationship(e,this.itemsForRelationship(e).length,r);else{var o=n[t];if(void 0===o)throw new RangeError("Paragraph index "+String(t)+" is out of range");i=this.itemsForRelationship(e).findIndex(function(e){return Ju(e)&&e===o});if(i<0)throw new N("Paragraph index is inconsistent");this.insertBodyItemAtForRelationship(e,i,r)}return r},bA.prototype.removeParagraphForRelationship=function(e,t){this.removeBodyItemForRelationship(e,t)},bA.prototype.clearForRelationship=function(e){var t=this.requireEntry(e),t=(yA(t.blocks),t.blocks=[],t.dirty=!0,wA.get(e));void 0!==t&&t.replaceItemsSilent([])},bA.prototype.textForRelationship=function(e){if(void 0!==e){e=this.byRelationshipId.get(e);if(void 0!==e){var t,r,n,i,e=e.blocks;try{for(var o=XN(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("paragraph"===l.type){try{for(var s=XN(l.paragraph.items),u=s.next();!u.done;u=s.next()){var c=u.value;if(c instanceof w)return c.text}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return""}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}}},bA.prototype.publicBodyItemsEqual=function(e,t){return e===t},bA.prototype.storeBlocksEqual=function(e,t){return e.type===t.type&&("paragraph"===e.type&&"paragraph"===t.type?e.paragraph===t.paragraph:"feature"===e.type&&"feature"===t.type?e.featureId===t.featureId&&e.value===t.value:"opaque"===e.type&&"opaque"===t.type&&e.xml===t.xml)};var gA=bA;function bA(e){this.entries=e;var t,r,n=[];try{for(var i=XN(e.values()),o=i.next();!o.done;o=i.next()){var a=o.value;n.push([a.relationshipId,a])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}this.byRelationshipId=new Map(n),this.catalogDirty=!1,this.boundDocument=void 0,this[KN]=!0}var wA=new Map;function PA(e,t){""!==e&&wA.set(e,t)}function SA(e,t,r){var n,i;try{for(var o=XN(t.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;"paragraph"===l.type?l.paragraph.attach(r):"feature"===l.type&&fA(l.value,e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}r.replaceItemsSilent(t.blocks.slice())}function xA(e,t,r){""!==t&&void 0!==(e=VA(e).entryForRelationship(t))&&(e.blocks=r.rawBlocks().slice(),e.dirty=!0)}function CA(e,t,r,n,i){void 0===n&&(n="default");var o,a,l=wA.get(t);return void 0!==l?l:(o=void 0!==(l=VA(e).entryForRelationship(t))?l.blocks.slice():[],a=new Oc(i,r,n,o,e,t),void 0!==l&&SA(e,l,a),a.bindLifecycleHandlers(function(){},function(){xA(e,a.relationshipId,a)}),PA(t,a),a)}function IA(r,n,i){function o(){var e,t;""===l.relationshipId&&(e=r.pageSetup)instanceof aN&&void 0!==(e=e.headerFooterReferenceId(n,i))&&(t=VA(a)).hasRelationship(e)&&(l.bindRelationshipId(e),PA(e,l),void 0!==(t=t.entryForRelationship(e)))&&SA(a,t,l)}function e(){var e,t;o(),""===l.relationshipId&&(e=function(e){var t=e.owningDocument(),r=t.sections,n=r.indexOf(e);if(0<=n&&n===r.count-1)return n=WN(t),e.setPageSetup(n),n;r=e.pageSetup;if(r instanceof aN)return JO(r,t),r;for(var i=sN(),o=(JO(i,t),e.setPageSetup(i),e.body.listBlocks()),a=o.length-1;0<=a;--a){var l=o[a];if(void 0!==l&&"paragraph"===l.type){HN(l.paragraph,i);break}}return i}(r),t=VA(a).ensurePart(n,e,i,OA(a),NA(a)),e.setHeaderFooterReference(n,i,t.relationshipId),l.bindRelationshipId(t.relationshipId),PA(t.relationshipId,l),SA(a,t.entry,l))}var a=r.owningDocument(),l=new Oc(r,n,i,[],a,"");return l.bindLifecycleHandlers(function(){e()},function(){""!==l.relationshipId&&xA(a,l.relationshipId,l)}),o(),l}function VA(e){var t,r=e.featurePart(ZN);if((t=r)instanceof gA||null!==t&&"object"==typeof t&&(!0===t[KN]||"function"==typeof t.bindDocument&&"function"==typeof t.ensurePart&&"function"==typeof t.setSimpleText&&"function"==typeof t.textForRelationship&&"function"==typeof t.applyToPackage))return r.bindDocument(e),r;if(void 0!==r)throw new J("feature/not-registered","Headers/footers feature state was replaced with an unexpected part type");if(Br(ZN))return(t=new gA(new Map)).bindDocument(e),e.setFeaturePart(ZN,t),t;throw new J("feature/not-registered","Headers/footers feature is not registered; call registerHeadersFootersFeature() before use")}function TA(e,t,r){t=t.headerFooterReferenceId("header",r=void 0===r?"default":r);if(void 0!==t&&VA(e).hasRelationship(t))return CA(e,t,"header",r)}function kA(e,t,r){t=t.headerFooterReferenceId("footer",r=void 0===r?"default":r);if(void 0!==t&&VA(e).hasRelationship(t))return CA(e,t,"footer",r)}function FA(e){var t=MN(e);if(void 0!==t)return TA(e,t,"default")}function DA(e,t){var r,n,i,o=kr(e,t),a=new Map;try{for(var l=XN(o.items),s=l.next();!s.done;s=l.next()){var u,c,d=s.value,h=(i=d.type,-1!==nA.indexOf(i)?"header":-1!==iA.indexOf(i)?"footer":void 0);void 0!==h&&(void 0!==(u=Tr(e,Xt(d.target,t)))&&void 0!==(c=function(e,t,r){var n,i=Ce(aA.decode(e.data));if(te(i,sA(r)))return n=Zu(i.children,_r()),{partName:e.name,relationshipId:t.id,relationshipType:t.type,kind:r,rootExtra:{attributes:i.attributes,namespaceDeclarations:0<i.namespaceDeclarations.length?i.namespaceDeclarations:[{prefix:"w",namespaceUri:he}]},blocks:n,dirty:!1,pendingRelationship:void 0}}(u,d,h)))&&a.set(c.partName,c)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return new gA(a)}function OA(e){var t,r,n=Lt("/word/document.xml"),i=new Set;try{for(var o=XN(kr(e.opcPackage(),n).items),a=o.next();!a.done;a=o.next()){var l=a.value;i.add(l.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function NA(e){var t,r,n=new Set;try{for(var i=XN(e.opcPackage().parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add($(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function AA(e){var t=MN(e);return void 0!==t||zN(e,t=sN()),t}var EA=!1;function LA(){EA||(EA=!0,Rr({id:ZN}),nn({featureId:ZN,relationshipTypes:oA,loadParts:function(e,t){return DA(e,t.mainPartName)}}),Ac({createHeader:function(e,t){return IA(e,"header",t)},createFooter:function(e,t){return IA(e,"footer",t)}}),zc(function(e,t){var r=e.pageSetup;r instanceof aN&&(e=e.owningDocument(),t?(r.setHeaderFooterReference("header","default",void 0),r.setHeaderFooterReference("header","first",void 0),r.setHeaderFooterReference("header","even",void 0),r.setHeaderFooterReference("footer","default",void 0),r.setHeaderFooterReference("footer","first",void 0),r.setHeaderFooterReference("footer","even",void 0)):(UA(e,r,"default"),UA(e,r,"first"),UA(e,r,"even"),HA(e,r,"default"),HA(e,r,"first"),HA(e,r,"even")))},function(e){e=e.pageSetup;return!(e instanceof aN&&(void 0!==e.headerFooterReferenceId("header","default")||void 0!==e.headerFooterReferenceId("header","first")||void 0!==e.headerFooterReferenceId("header","even")||void 0!==e.headerFooterReferenceId("footer","default")||void 0!==e.headerFooterReferenceId("footer","first")||void 0!==e.headerFooterReferenceId("footer","even")))}))}function RA(e,t,r,n){void 0===n&&(n="default");var i=VA(e),e=i.ensurePart("header",t,n,OA(e),NA(e)),o=e.entry,e=e.relationshipId;i.setSimpleText(o,r),t.setHeaderFooterReference("header",n,e)}function BA(e,t,r,n){void 0===n&&(n="default");var i=VA(e),e=i.ensurePart("footer",t,n,OA(e),NA(e)),o=e.entry,e=e.relationshipId;i.setSimpleText(o,r),t.setHeaderFooterReference("footer",n,e)}function _A(e,t,r,n){if(void 0===n&&(n="default"),!VA(e).hasRelationship(r))throw new J("content/invalid-header-footer-reference","Header/footer relationship "+r+" is not loaded in this document");t.setHeaderFooterReference("header",n,r)}function jA(e,t,r,n){if(void 0===n&&(n="default"),!VA(e).hasRelationship(r))throw new J("content/invalid-header-footer-reference","Header/footer relationship "+r+" is not loaded in this document");t.setHeaderFooterReference("footer",n,r)}function MA(e){e=$O(e);if(void 0===e)throw new Error("sections: header/footer association requires section properties associated with a document (use section.pageSetup on a document section)");return e}function zA(e){return void 0===e?"default":e}function UA(e,t,r){var n=VA(e).ensurePart("header",t,r,OA(e),NA(e));return t.setHeaderFooterReference("header",r,n.relationshipId),CA(e,n.relationshipId,"header",r)}function HA(e,t,r){var n=VA(e).ensurePart("footer",t,r,OA(e),NA(e));return t.setHeaderFooterReference("footer",r,n.relationshipId),CA(e,n.relationshipId,"footer",r)}function WA(r,n){var i=r.endsWith("Header");Object.defineProperty(aN.prototype,r,{configurable:!0,enumerable:!1,get:function(){var e=MA(this);return(i?UA:HA)(e,this,n)},set:function(e){var t=MA(this);if(void 0===e)this.setHeaderFooterReference(i?"header":"footer",n,void 0);else{if(!(e instanceof Oc))throw new J("argument/invalid",r+" setter expects HeaderFooter | undefined");if(i){if("header"!==e.kind)throw new J("argument/invalid",r+" setter expects a header HeaderFooter");_A(t,this,e.relationshipId,n)}else{if("footer"!==e.kind)throw new J("argument/invalid",r+" setter expects a footer HeaderFooter");jA(t,this,e.relationshipId,n)}}}})}WA("oddHeader","default"),WA("oddFooter","default"),WA("firstPageHeader","first"),WA("firstPageFooter","first"),WA("evenHeader","even"),WA("evenFooter","even"),aN.prototype.header=function(e){return TA(MA(this),this,zA(e))},aN.prototype.footer=function(e){return kA(MA(this),this,zA(e))},aN.prototype.getOrCreateHeader=function(e){return UA(MA(this),this,zA(e))},aN.prototype.getOrCreateFooter=function(e){return HA(MA(this),this,zA(e))},aN.prototype.linkHeader=function(e,t){_A(MA(this),this,e.relationshipId,zA(t))},aN.prototype.linkFooter=function(e,t){jA(MA(this),this,e.relationshipId,zA(t))},aN.prototype.removeHeader=function(e){MA(this),this.setHeaderFooterReference("header",zA(e),void 0)},aN.prototype.removeFooter=function(e){MA(this),this.setHeaderFooterReference("footer",zA(e),void 0)},ui(function(){LA()}),LA();var GA=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},qA=Er("mail-merge"),XA=new TextDecoder("utf-8"),YA="http://schemas.openxmlformats.org/officeDocument/2006/relationships/recipientData",ZA="http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeRecipientData",KA="http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeSource",JA="http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeSource",$A="http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeHeaderSource",QA="http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeHeaderSource",eE=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","http://purl.oclc.org/ooxml/officeDocument/relationships/settings"],tE=[YA,ZA],rE=[KA,JA,$A,QA];function nE(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===he||""===e.namespaceUri)});return null==e?void 0:e.value}function iE(e,t){return e.find(function(e){return te(e,t)})}function oE(e){var t,r;return void 0===e||!te(e,"settings")||void 0===(e=iE(re(e),"mailMerge"))?{present:!1,mainDocumentType:void 0,dataType:void 0,destination:void 0}:(t=iE(e=re(e),"mainDocumentType"),r=iE(e,"dataType"),e=iE(e,"destination"),{present:!0,mainDocumentType:function(e){switch(e){case"catalog":case"envelopes":case"mailingLabels":case"formLetters":case"email":case"fax":return e;default:return}}(void 0===t?void 0:nE(t,"val")),dataType:void 0===r?void 0:nE(r,"val"),destination:function(e){switch(e){case"newDocument":case"printer":case"email":case"fax":return e;default:return}}(void 0===e?void 0:nE(e,"val"))})}function aE(e,t,r){var n,i;try{for(var o=GA(kr(e,t).items),a=o.next();!a.done;a=o.next()){var l=a.value;if(-1!==r.indexOf(l.type)&&l.targetMode!==tr.External){var s=Tr(e,Xt(l.target,t));if(void 0!==s)return{name:s.name,data:s.data}}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}sE.prototype.present=function(){return this.metadata.present},sE.prototype.mainDocumentType=function(){return this.metadata.mainDocumentType},sE.prototype.dataType=function(){return this.metadata.dataType},sE.prototype.destination=function(){return this.metadata.destination},sE.prototype.hasRecipientsPart=function(){return void 0!==this.recipientsBytes},sE.prototype.recipientRecordCount=function(){return this.recipientCount},sE.prototype.dataSourceTargets=function(){return this.sourceTargets},sE.prototype.isDirty=function(){return!1},sE.prototype.applyToPackage=function(e,t){return e};var lE=sE;function sE(e,t,r,n){this.metadata=e,this.recipientsBytes=t,this.recipientCount=r,this.sourceTargets=n}function uE(e,t){var r,n,t=aE(e,t,eE);return void 0===t?new lE({present:!1,mainDocumentType:void 0,dataType:void 0,destination:void 0},void 0,0,[]):(r=oE(Ce(XA.decode(t.data))),n=aE(e,t.name,tE),e=function(e,t,r){var n,i,o=[];try{for(var a=GA(kr(e,t).items),l=a.next();!l.done;l=a.next()){var s=l.value;-1!==r.indexOf(s.type)&&s.targetMode===tr.External&&o.push(s.target)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}(e,t.name,rE),new lE(r,null==n?void 0:n.data,function(e){var t,r;if(void 0===e)return 0;if("recipients"!==(e=Ce(XA.decode(e))).localName)return 0;var n=0;try{for(var i=GA(re(e)),o=i.next();!o.done;o=i.next())"recipientData"===o.value.localName&&(n+=1)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(null==n?void 0:n.data),e))}var cE=!1;function dE(){cE||(cE=!0,Rr({id:qA}),nn({featureId:qA,relationshipTypes:tE,loadParts:function(e,t){return uE(e,t.mainPartName)}}))}Object.defineProperty(Cd.prototype,"mailMerge",{get:function(){var e=this.featurePart(qA);if(void 0!==e&&e instanceof lE)return e;throw new J("feature/not-registered","Mail merge catalog was not loaded; call registerMailMergeFeature() before WordDocument.open")}}),dE();var hE=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},pE=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(hE(arguments[t]));return e},fE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},vE=Er("notes"),mE=he,yE=new TextDecoder("utf-8"),gE=new TextEncoder,bE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",wE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",PE="http://purl.oclc.org/ooxml/officeDocument/relationships/footnotes",SE="http://purl.oclc.org/ooxml/officeDocument/relationships/endnotes",xE="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml",CE="application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml",IE=[bE,PE],VE=[wE,SE],TE=pE(IE,VE);function kE(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)});return null==e?void 0:e.value}function FE(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function DE(e,t){return e<=0||"separator"===t||"continuationSeparator"===t||"continuationNotice"===t}function OE(e){return"footnote"===e?"footnotes":"endnotes"}function NE(e){return"footnote"===e?"footnote":"endnote"}function AE(e){return"footnote"===e?bE:wE}var EE={assertAttachedParagraph:function(){},owningDocument:function(){throw new N("Note content is not in a WordDocument")}},LE=(RE.prototype.assertAttachedParagraph=function(t){var e=iL(this.WordDocument).normalEntry(this.kind,this.noteId);if(void 0===e)throw new N("Note part is no longer loaded");if(!e.blocks.some(function(e){return"paragraph"===e.type&&e.paragraph===t}))throw new N("This paragraph is no longer in its note")},RE.prototype.owningDocument=function(){return this.WordDocument},RE);function RE(e,t,r){this.WordDocument=e,this.kind=t,this.noteId=r}function BE(e,t,r){return new LE(e,t,r)}function _E(e,t){"object"==typeof e&&null!==e&&"bindDocument"in e&&e.bindDocument.call(e,t)}function jE(e){var t;"object"==typeof e&&null!==e&&"releaseContent"in e&&"function"==typeof(t=e.releaseContent)&&t.call(e)}function ME(e,t,r){var n,i,o=BE(e,t,r.noteId);try{for(var a=fE(r.blocks),l=a.next();!l.done;l=a.next()){var s=l.value;"paragraph"===s.type?s.paragraph.attach(o):"feature"===s.type&&_E(s.value,e)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}function zE(e,t){return Zu([b("p",{children:[b("r",{children:[b("t",{children:[{kind:"text",value:e}]})]})]})],t=void 0===t?EE:t)}HE.prototype.toOpenXml=function(){return b("footnoteReference",{attributes:[y("id",String(this.noteId))]})};var UE=HE;function HE(e){this.noteId=e}GE.prototype.toOpenXml=function(){return b("endnoteReference",{attributes:[y("id",String(this.noteId))]})};var WE=GE;function GE(e){this.noteId=e}function qE(e,t,r){var n,i,o=Ce(yE.decode(e.data));if(te(o,OE(r))){var a=[],l=NE(r);try{for(var s=fE(re(o)),u=s.next();!u.done;u=s.next()){var c,d,h=u.value;te(h,l)&&void 0!==(c=FE(kE(h,"id")))&&(DE(c,d=function(e){if("normal"===e||"separator"===e||"continuationSeparator"===e||"continuationNotice"===e)return e}(kE(h,"type")))?a.push({noteId:c,noteType:d,blocks:[],preservedXml:h}):a.push({noteId:c,noteType:null!=d?d:"normal",blocks:Zu(h.children,EE),preservedXml:void 0}))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return{partName:e.name,relationshipId:t.id,relationshipType:t.type,kind:r,rootExtra:{attributes:o.attributes,namespaceDeclarations:0<o.namespaceDeclarations.length?o.namespaceDeclarations:[{prefix:"w",namespaceUri:mE}]},entries:a,dirty:!1,pendingRelationship:void 0}}}YE.prototype.bindDocument=function(e){var t,r,n,i;this.boundDocument=e;try{for(var o=fE(this.parts.values()),a=o.next();!a.done;a=o.next()){var l=a.value;try{for(var s=fE(l.entries),u=s.next();!u.done;u=s.next()){var c=u.value;void 0!==c.preservedXml||DE(c.noteId,c.noteType)||ME(e,l.kind,c)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},YE.prototype.requireBoundDocument=function(){if(void 0===this.boundDocument)throw new J("content/unknown-note","Notes catalog is not bound to a WordDocument");return this.boundDocument},YE.prototype.markPartDirty=function(e){e=this.parts.get(e);if(void 0===e)throw new J("content/unknown-note","Notes part is not loaded");e.dirty=!0},YE.prototype.isDirty=function(){var t,e;try{for(var r=fE(this.parts.values()),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.dirty||void 0!==i.pendingRelationship)return!0}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return!1},YE.prototype.applyToPackage=function(e,n){function t(t){var e,r;!t.dirty&&void 0===t.pendingRelationship||(e=function(e){var t,r=NE(e.kind),n=[];try{for(var i=fE(e.entries),o=i.next();!o.done;o=i.next()){var a,l=o.value;void 0!==l.preservedXml?n.push(l.preservedXml):(a=[y("id",String(l.noteId))],void 0!==l.noteType&&"normal"!==l.noteType&&a.push(y("type",l.noteType)),n.push(b(r,{attributes:a,children:Ku(l.blocks)})))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(s=i.return)&&s.call(i)}finally{if(t)throw t.error}}var s=b(OE(e.kind),{attributes:e.rootExtra.attributes,namespaceDeclarations:0<e.rootExtra.namespaceDeclarations.length?e.rootExtra.namespaceDeclarations:[{prefix:"w",namespaceUri:mE}],children:n});return gE.encode(Fe(s))}(t),r=null!=t.pendingRelationship?t.pendingRelationship:kr(o,n).items.find(function(e){return e.id===t.relationshipId}),o=un(o,n,t.partName,"footnote"===t.kind?xE:CE,e,r),t.dirty=!1,t.pendingRelationship=void 0)}var r,i,o=e;try{for(var a=fE(this.parts.values()),l=a.next();!l.done;l=a.next())t(l.value)}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o},YE.prototype.ensurePart=function(e,t,r){var n=this.parts.get(e);if(void 0!==n)return n;for(var n=function(e,t){var r=Lt("/word/"+("footnote"===e?"footnotes.xml":"endnotes.xml"));if(!t.has($(r)))return r;for(var n=2;t.has($(Lt("/word/"+e+String(n)+".xml")));)n+=1;return Lt("/word/"+e+String(n)+".xml")}(e,r),i=ir(t);pE(this.parts.values()).some(function(e){return e.relationshipId===i});)i=ir(new Set(pE(t,[i])));r={partName:n,relationshipId:i,relationshipType:AE(e),kind:e,rootExtra:{attributes:[],namespaceDeclarations:[{prefix:"w",namespaceUri:mE}]},entries:[{noteId:-1,noteType:"separator",blocks:[],preservedXml:b(r=NE(r=e),{attributes:[y("type","separator"),y("id","-1")],children:[b("p",{children:[b("r",{children:[b("separator")]})]})]})},{noteId:0,noteType:"continuationSeparator",blocks:[],preservedXml:b(r,{attributes:[y("type","continuationSeparator"),y("id","0")],children:[b("p",{children:[b("r",{children:[b("continuationSeparator")]})]})]})}],dirty:!0,pendingRelationship:{id:i,type:AE(e),target:n.slice("/word/".length),extraAttributes:[],children:[]}};return this.parts.set(e,r),r},YE.prototype.addNormalEntry=function(e,t){var r=this.parts.get(e);if(void 0===r)throw new J("content/unknown-note","Notes part is not loaded");var n=function(e){var t,r,n=0;try{for(var i=fE(e),o=i.next();!o.done;o=i.next()){var a=o.value;a.noteId>n&&!DE(a.noteId,a.noteType)&&(n=a.noteId)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n+1}(r.entries),e=void 0!==this.boundDocument?zE(t,BE(this.boundDocument,e,n)):zE(t);return r.entries=pE(r.entries,[{noteId:n,noteType:"normal",blocks:e,preservedXml:void 0}]),r.dirty=!0,n},YE.prototype.normalEntry=function(e,t){e=this.parts.get(e);if(void 0!==e){e=e.entries.find(function(e){return e.noteId===t});if(void 0!==e&&void 0===e.preservedXml&&!DE(e.noteId,e.noteType))return e}},YE.prototype.requireNormalEntry=function(e,t){e=this.normalEntry(e,t);if(void 0===e)throw new J("content/unknown-note","Note id "+String(t)+" is not a modeled normal note");return e},YE.prototype.textForNote=function(e,t){e=this.normalEntry(e,t);if(void 0!==e){var r,n,i,o,t=e.blocks;try{for(var a=fE(t),l=a.next();!l.done;l=a.next()){var s=l.value;if("paragraph"===s.type)try{for(var u=fE(s.paragraph.items),c=u.next();!c.done;c=u.next()){var d=c.value;if(d instanceof w)return d.text}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}},YE.prototype.itemsForNote=function(e,t){return this.blocksForNote(e,t)},YE.prototype.blocksForNote=function(e,t){var r=this.normalEntry(e,t);if(void 0===r)return[];void 0!==this.boundDocument&&ME(this.boundDocument,e,r);for(var n=[],i=0;i<r.blocks.length;i+=1){var o=ec(r.blocks[i]);void 0!==o&&n.push(o)}return n},YE.prototype.paragraphsForNote=function(e,t){var r,n,t=this.normalEntry(e,t);if(void 0===t)return[];void 0!==this.boundDocument&&ME(this.boundDocument,e,t);var i=[];try{for(var o=fE(t.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;"paragraph"===l.type&&i.push(l.paragraph)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},YE.prototype.setTextForNote=function(e,t,r){var n=this.parts.get(e);if(void 0===n)throw new J("content/unknown-note","Notes part is not loaded");var i,o,a=n.entries.find(function(e){return e.noteId===t});if(void 0===a||void 0!==a.preservedXml)throw new J("content/unknown-note","Note id "+String(t)+" is not a modeled normal note");if(DE(a.noteId,a.noteType))throw new J("content/unknown-note","Note id "+String(t)+" is a separator or special note and cannot be edited");var l=a.blocks;try{for(var s=fE(l),u=s.next();!u.done;u=s.next()){var c=u.value;"paragraph"===c.type?c.paragraph.detach():"feature"===c.type&&jE(c.value)}}catch(e){i={error:e}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}void 0!==this.boundDocument?a.blocks=zE(r,BE(this.boundDocument,e,t)):a.blocks=zE(r),n.dirty=!0},YE.prototype.insertBodyItemAtForNote=function(e,t,r,n){var i=this.requireBoundDocument(),o=this.requireNormalEntry(e,t);if(r<0||r>o.blocks.length)throw new RangeError("Body item index "+String(r)+" is out of range");var a=tc(n),t=("paragraph"===a.type?a.paragraph.attach(BE(i,e,t)):"feature"===a.type&&_E(a.value,i),o.blocks.slice());return t.splice(r,0,a),o.blocks=t,this.markPartDirty(e),n},YE.prototype.removeBodyItemAtForNote=function(e,t,r){t=this.requireNormalEntry(e,t);if(r<0||r>=t.blocks.length)throw new RangeError("Body item index "+String(r)+" is out of range");var n=t.blocks[r];if(void 0===n)throw new RangeError("Body item index "+String(r)+" is out of range");var i=pE(t.blocks);i.splice(r,1),t.blocks=i,"paragraph"===n.type?n.paragraph.detach():"feature"===n.type&&jE(n.value),this.markPartDirty(e)},YE.prototype.removeBodyItemForNote=function(e,t,r){for(var n=this.requireNormalEntry(e,t),i=-1,o=0;o<n.blocks.length;o+=1)if(ec(n.blocks[o])===r){i=o;break}if(-1===i)throw new N("Body item is not in this note");this.removeBodyItemAtForNote(e,t,i)},YE.prototype.appendParagraphToNote=function(e,t,r){var n=this.requireBoundDocument(),i=this.requireNormalEntry(e,t),n=BE(n,e,t),n=new D(n);return this.insertBodyItemAtForNote(e,t,i.blocks.length,n),void 0!==(null==r?void 0:r.style)&&n.applyStyle(r.style),void 0!==(null==r?void 0:r.text)&&n.appendText(r.text),n},YE.prototype.appendTableToNote=function(e,t,r,n){this.requireBoundDocument();var i=this.requireNormalEntry(e,t),r=SS(r,n);return this.insertBodyItemAtForNote(e,t,i.blocks.length,r),r},YE.prototype.appendBlockContentControlToNote=function(e,t,r){this.requireBoundDocument();var n=this.requireNormalEntry(e,t),r=Vp(r);return this.insertBodyItemAtForNote(e,t,n.blocks.length,r),r},YE.prototype.removeNormalEntry=function(e,t){e=this.parts.get(e);if(void 0===e)throw new J("content/unknown-note","Notes part is not loaded");var r=e.entries.filter(function(e){return e.noteId!==t});if(r.length===e.entries.length)throw new J("content/unknown-note","Note id "+String(t)+" is not in this WordDocument");e.entries=r,e.dirty=!0};var XE=YE;function YE(e){this.parts=e,this.boundDocument=void 0}Object.defineProperty(KE.prototype,"noteId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty(KE.prototype,"items",{get:function(){return iL(this.WordDocument).itemsForNote("footnote",this.id)},enumerable:!0,configurable:!0}),KE.prototype.insertBodyItemAt=function(e,t){return iL(this.WordDocument).insertBodyItemAtForNote("footnote",this.id,e,t)},KE.prototype.removeBodyItemAt=function(e){iL(this.WordDocument).removeBodyItemAtForNote("footnote",this.id,e)},KE.prototype.removeBodyItem=function(e){iL(this.WordDocument).removeBodyItemForNote("footnote",this.id,e)};var ZE=KE;function KE(e,t){this.WordDocument=e,this.id=t}Object.defineProperty($E.prototype,"noteId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty($E.prototype,"items",{get:function(){return iL(this.WordDocument).itemsForNote("endnote",this.id)},enumerable:!0,configurable:!0}),$E.prototype.insertBodyItemAt=function(e,t){return iL(this.WordDocument).insertBodyItemAtForNote("endnote",this.id,e,t)},$E.prototype.removeBodyItemAt=function(e){iL(this.WordDocument).removeBodyItemAtForNote("endnote",this.id,e)},$E.prototype.removeBodyItem=function(e){iL(this.WordDocument).removeBodyItemForNote("endnote",this.id,e)};var JE=$E;function $E(e,t){this.WordDocument=e,this.id=t}function QE(e,t){var r,n,i,o=new Map;try{for(var a=fE(kr(e,t).items),l=a.next();!l.done;l=a.next()){var s,u,c=l.value,d=(i=c.type,-1!==IE.indexOf(i)?"footnote":-1!==VE.indexOf(i)?"endnote":void 0);void 0!==d&&(void 0!==(s=Tr(e,Xt(c.target,t)))&&void 0!==(u=qE(s,c,d)))&&o.set(d,u)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return new XE(o)}function eL(e){var t,r,n=Lt("/word/WordDocument.xml"),i=new Set;try{for(var o=fE(kr(e.opcPackage(),n).items),a=o.next();!a.done;a=o.next()){var l=a.value;i.add(l.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function tL(e){var t,r,n=new Set;try{for(var i=fE(e.opcPackage().parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add($(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}var rL=!1;function nL(){rL||(rL=!0,Rr({id:vE}),nn({featureId:vE,relationshipTypes:TE,loadParts:function(e,t){return QE(e,t.mainPartName)}}),gn({featureId:vE,wmlLocalName:"footnoteReference",tryParse:function(e){if(te(e,"footnoteReference")){e=FE(kE(e,"id"));if(void 0!==e)return new UE(e)}}}),gn({featureId:vE,wmlLocalName:"endnoteReference",tryParse:function(e){if(te(e,"endnoteReference")){e=FE(kE(e,"id"));if(void 0!==e)return new WE(e)}}}))}function iL(e){var t=e.featurePart(vE);if(t instanceof XE)return t.bindDocument(e),t;if(void 0!==t)throw new J("feature/not-registered","Notes feature state was replaced with an unexpected part type");if(Br(vE))return(t=new XE(new Map)).bindDocument(e),e.setFeaturePart(vE,t),t;throw new J("feature/not-registered","Notes feature is not registered; call registerNotesFeature() before use")}var oL=new WeakMap,aL=new WeakMap;function lL(e,t){r=e,void 0===(n=oL.get(r))&&(n=new Map,oL.set(r,n));var r=n,n=r.get(t);return void 0!==n||(n=new ZE(e,t),r.set(t,n)),n}function sL(e,t){r=e,void 0===(n=aL.get(r))&&(n=new Map,aL.set(r,n));var r=n,n=r.get(t);return void 0!==n||(n=new JE(e,t),r.set(t,n)),n}function uL(a){var l=[],s=new Set;return Mn(a,function(e){var t,r;try{for(var n=fE(wL(e)),i=n.next();!i.done;i=n.next()){var o=i.value;s.has(o.noteId)||(s.add(o.noteId),l.push(lL(a,o.noteId)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),l}function cL(a){var l=[],s=new Set;return Mn(a,function(e){var t,r;try{for(var n=fE(PL(e)),i=n.next();!i.done;i=n.next()){var o=i.value;s.has(o.noteId)||(s.add(o.noteId),l.push(sL(a,o.noteId)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),l}Object.defineProperty(hL.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.cachedLength},enumerable:!0,configurable:!0}),hL.prototype.itemAt=function(e){return uL(this.document)[e]},hL.prototype[Symbol.iterator]=function(){var t=uL(this.document).slice(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},hL.prototype.rebuildIndexProperties=function(){for(var e=uL(this.document),t=e.length,r=this.cachedLength,n=t<r?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t};var dL=hL;function hL(e){this.cachedLength=0,this.document=e}Object.defineProperty(fL.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.cachedLength},enumerable:!0,configurable:!0}),fL.prototype.itemAt=function(e){return cL(this.document)[e]},fL.prototype[Symbol.iterator]=function(){var t=cL(this.document).slice(),r=0;return{next:function(){var e;return r>=t.length?{done:!0,value:void 0}:(e=t[r],r+=1,{done:!1,value:e})}}},fL.prototype.rebuildIndexProperties=function(){for(var e=cL(this.document),t=e.length,r=this.cachedLength,n=t<r?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t};var pL=fL;function fL(e){this.cachedLength=0,this.document=e}var vL=new WeakMap,mL=new WeakMap;function yL(e){nL();var t=vL.get(e);return void 0!==t?t.rebuildIndexProperties():((t=new dL(e)).rebuildIndexProperties(),vL.set(e,t)),t}function gL(e){nL();var t=mL.get(e);return void 0!==t?t.rebuildIndexProperties():((t=new pL(e)).rebuildIndexProperties(),mL.set(e,t)),t}function bL(e,t){var r,n,i=[];try{for(var o=fE(e.items),a=o.next();!a.done;a=o.next()){var l=a.value;t(l)&&i.push(l.value)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function wL(e){return bL(e,IL)}function PL(e){return bL(e,VL)}function SL(e,t,r){var n=iL(e),e=(n.ensurePart("footnote",eL(e),tL(e)),n.addNormalEntry("footnote",r)),n=new UE(e);return t.appendFeatureRunItem(vE,n).wireGroup.characterFormat.subSuperScript=M.SubSuperScript.SuperScript,n}function xL(e,t,r){var n=iL(e),e=(n.ensurePart("endnote",eL(e),tL(e)),n.addNormalEntry("endnote",r)),n=new WE(e);return t.appendFeatureRunItem(vE,n).wireGroup.characterFormat.subSuperScript=M.SubSuperScript.SuperScript,n}function CL(e,t){var r,n;try{for(var i=fE(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a instanceof cu&&a.featureId===vE&&a.value===t)return void e.removeFeatureRunItem(t)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}throw new J("content/unknown-note","Note reference is not in this paragraph")}function IL(e){return e instanceof cu&&e.featureId===vE&&e.value instanceof UE}function VL(e){return e instanceof cu&&e.featureId===vE&&e.value instanceof WE}Object.defineProperty(Cd.prototype,"footnotes",{configurable:!0,enumerable:!1,get:function(){return yL(this)}}),Object.defineProperty(Cd.prototype,"endnotes",{configurable:!0,enumerable:!1,get:function(){return gL(this)}}),D.prototype.appendFootnote=function(e){e=SL(this.owningDocument(),this,e);return lL(this.owningDocument(),e.noteId)},D.prototype.appendEndnote=function(e){e=xL(this.owningDocument(),this,e);return sL(this.owningDocument(),e.noteId)},nL();var TL="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject",kL="http://schemas.microsoft.com/office/2019/04/relationships/oleObjectLinkLongPath",FL=function(){return(FL=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},DL=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},OL=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(DL(arguments[t]));return e},NL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},AL="application/vnd.openxmlformats-officedocument.oleObject",EL="/word/embeddings/oleObject",LL="/word/media/image",RL=(BL.prototype.objects=function(){return OL(this.entries.values())},BL.prototype.bytesForRelationship=function(e){e=this.byRelationshipId.get(e);return null==e?void 0:e.data},BL.prototype.targetForRelationship=function(e){e=this.externalByRelationshipId.get(e);return null==e?void 0:e.target},BL.prototype.iconBytesForRelationship=function(e){e=this.iconByRelationshipId.get(e);return null==e?void 0:e.data},BL.prototype.pendingBytesFor=function(e){e=this.pendingEmbeds.get(e);return null==e?void 0:e.bytes},BL.prototype.pendingTargetFor=function(e){e=this.pendingLinks.get(e);return null==e?void 0:e.target},BL.prototype.pendingIconBytesFor=function(e){e=this.pendingIcons.get(e);return null==e?void 0:e.bytes},BL.prototype.pendingPartNames=function(){return OL(this.entries.keys(),this.iconEntries.keys())},BL.prototype.pendingRelationshipIds=function(){return OL(this.byRelationshipId.keys(),this.externalByRelationshipId.keys(),this.iconByRelationshipId.keys())},BL.prototype.registerPendingEmbed=function(e,t,r){this.pendingEmbeds.set(e,{bytes:t,contentType:r})},BL.prototype.registerPendingLink=function(e,t){this.pendingLinks.set(e,{target:t})},BL.prototype.registerPendingIcon=function(e,t,r){this.pendingIcons.set(e,{bytes:t,contentType:r})},BL.prototype.discardPendingEmbed=function(e){this.pendingEmbeds.delete(e)},BL.prototype.discardPendingLink=function(e){this.pendingLinks.delete(e)},BL.prototype.discardPendingIcon=function(e){this.pendingIcons.delete(e)},BL.prototype.updatePendingBytes=function(e,t){var r=this.pendingEmbeds.get(e);if(void 0===r)throw new Error("Pending OLE object was not found");this.pendingEmbeds.set(e,FL({},r,{bytes:t}))},BL.prototype.replaceBytes=function(e,t){var r=this.byRelationshipId.get(e);if(void 0===r)throw new Error("OLE object relationship "+e+" is not loaded");r.data=t,r.dirty=!0},BL.prototype.removeEntry=function(e){var t=this.byRelationshipId.get(e);void 0!==t?(this.entries.delete(t.partName),this.byRelationshipId.delete(e),this.pendingRemovals.push(t)):this.externalByRelationshipId.has(e)&&(this.externalByRelationshipId.delete(e),this.pendingExternalRemovals.push(e))},BL.prototype.removeIconEntry=function(e){var t,r=this.iconByRelationshipId.get(e);void 0!==r&&(this.iconEntries.delete(r.partName),this.iconByRelationshipId.delete(e),t=jL(r.data),this.iconHashToRelationshipId.get(t)===e&&this.iconHashToRelationshipId.delete(t),this.pendingIconRemovals.push(r))},BL.prototype.isDirty=function(){var t,e,r,n,i,o;if(0<this.pendingRemovals.length||0<this.pendingExternalRemovals.length||0<this.pendingIconRemovals.length||0<this.pendingEmbeds.size||0<this.pendingLinks.size||0<this.pendingIcons.size)return!0;try{for(var a=NL(this.entries.values()),l=a.next();!l.done;l=a.next())if((c=l.value).dirty||void 0!==c.pendingRelationship)return!0}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}try{for(var s=NL(this.externalByRelationshipId.values()),u=s.next();!u.done;u=s.next())if(void 0!==(c=u.value).pendingRelationship)return!0}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}try{for(var c,d=NL(this.iconEntries.values()),h=d.next();!h.done;h=d.next())if((c=h.value).dirty||void 0!==c.pendingRelationship)return!0}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}return!1},BL.prototype.allocatePart=function(e,t,r,n){for(var n=function(e){var t=1;for(;e.has($(EL+String(t)+".bin"));)t+=1;return Lt(EL+String(t)+".bin")}(n),i=ir(r);this.byRelationshipId.has(i)||this.externalByRelationshipId.has(i)||this.iconByRelationshipId.has(i);)i=ir(new Set(OL(r,[i])));t={partName:n,relationshipId:i,relationshipType:TL,contentType:t,data:e,dirty:!0,pendingRelationship:{id:i,type:TL,target:_L(n),extraAttributes:[],children:[]}};return this.entries.set(n,t),this.byRelationshipId.set(i,t),{entry:t,relationshipId:i}},BL.prototype.allocateExternalTarget=function(e,t){for(var r=ir(t);this.byRelationshipId.has(r)||this.externalByRelationshipId.has(r)||this.iconByRelationshipId.has(r);)r=ir(new Set(OL(t,[r])));var n={id:r,type:TL,target:e,targetMode:tr.External,extraAttributes:[],children:[]};return this.externalByRelationshipId.set(r,{relationshipId:r,target:e,relationshipType:TL,pendingRelationship:n}),r},BL.prototype.allocateIconPart=function(e,t,r,n){var i=jL(e),o=this.iconHashToRelationshipId.get(i);if(void 0!==o){var a=this.iconByRelationshipId.get(o);if(void 0!==a)return{entry:a,relationshipId:o}}for(var a=function(e,t){var r=e===YF?"jpeg":"png",n=1;for(;t.has($(LL+String(n)+"."+r));)n+=1;return Lt(LL+String(n)+"."+r)}(t,n),l=ir(r);this.byRelationshipId.has(l)||this.externalByRelationshipId.has(l)||this.iconByRelationshipId.has(l);)l=ir(new Set(OL(r,[l])));o={partName:a,relationshipId:l,relationshipType:a1,contentType:t,data:e,dirty:!0,pendingRelationship:{id:l,type:a1,target:_L(a),extraAttributes:[],children:[]}};return this.iconEntries.set(a,o),this.iconByRelationshipId.set(l,o),this.iconHashToRelationshipId.set(i,l),{entry:o,relationshipId:l}},BL.prototype.materializePending=function(e,t){var r,n,i,o;if(0!==this.pendingEmbeds.size||0!==this.pendingLinks.size||0!==this.pendingIcons.size){var a=ln(e);try{for(var l=NL(this.pendingRelationshipIds()),s=l.next();!s.done;s=l.next()){var u=s.value;a.add(u)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}var c=function(e,t){var r,n,i,o,a=new Set;try{for(var l=NL(e.opcPackage().parts),s=l.next();!s.done;s=l.next()){var u=s.value;a.add($(u.name))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var c=NL(t.pendingPartNames()),d=c.next();!d.done;d=c.next()){var h=d.value;a.add($(h))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return a}(e,this);try{for(var d=NL(t),h=d.next();!h.done;h=d.next()){var p,f,v,m,y,g=h.value;g.isPendingRelationship()&&(void 0!==(p=this.pendingEmbeds.get(g))?(y=this.allocatePart(p.bytes,p.contentType,a,c),a.add(y.relationshipId),c.add($(y.entry.partName)),g.resolveRelationshipId(y.relationshipId),this.pendingEmbeds.delete(g)):void 0!==(f=this.pendingLinks.get(g))&&(v=this.allocateExternalTarget(f.target,a),a.add(v),g.resolveRelationshipId(v),this.pendingLinks.delete(g))),g.isPendingIcon()&&void 0!==(m=this.pendingIcons.get(g))&&(y=this.allocateIconPart(m.bytes,m.contentType,a,c),a.add(y.relationshipId),c.add($(y.entry.partName)),g.resolveIconRelationshipId(y.relationshipId),this.pendingIcons.delete(g))}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}},BL.prototype.applyToPackage=function(e,r){var t,n,i,o,a,l,s,u,c,d,h,p=e;try{for(var f=NL(this.entries.values()),v=f.next();!v.done;v=f.next())!function(t){if(!t.dirty&&void 0===t.pendingRelationship)return;var e=null!=t.pendingRelationship?t.pendingRelationship:kr(p,r).items.find(function(e){return e.id===t.relationshipId});p=un(p,r,t.partName,t.contentType,t.data,e),t.dirty=!1,t.pendingRelationship=void 0}(x=v.value)}catch(e){t={error:e}}finally{try{v&&!v.done&&(g=f.return)&&g.call(f)}finally{if(t)throw t.error}}try{for(var m=NL(this.iconEntries.values()),y=m.next();!y.done;y=m.next())!function(t){if(!t.dirty&&void 0===t.pendingRelationship)return;var e=null!=t.pendingRelationship?t.pendingRelationship:kr(p,r).items.find(function(e){return e.id===t.relationshipId});p=un(p,r,t.partName,t.contentType,t.data,e),t.dirty=!1,t.pendingRelationship=void 0}(x=y.value)}catch(e){n={error:e}}finally{try{y&&!y.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}e=OL(this.externalByRelationshipId.values()).map(function(e){return e.pendingRelationship}).filter(function(e){return void 0!==e});if(0<e.length){var g=function(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=OL(e.items);try{for(var a=NL(t),l=a.next();!l.done;l=a.next()){for(var s=l.value,u=s.id;i.has(u);)u=ir(i);i.add(u),o.push(FL({},s,{id:u}))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return hr(o,e.opaque)}(kr(p,r),e);try{for(var b=NL(this.externalByRelationshipId.values()),w=b.next();!w.done;w=b.next())(x=w.value).pendingRelationship=void 0}catch(e){o={error:e}}finally{try{w&&!w.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}p=Nr(p,r,g)}try{for(var P=NL(this.pendingRemovals),S=P.next();!S.done;S=P.next())var x=S.value,p=function(e,t,r){return UL(zL(ML(e,r.partName),r.partName),t,function(e){return e.id!==r.relationshipId})}(p,r,x)}catch(e){l={error:e}}finally{try{S&&!S.done&&(s=P.return)&&s.call(P)}finally{if(l)throw l.error}}this.pendingRemovals.length=0;try{for(var C=NL(this.pendingIconRemovals),I=C.next();!I.done;I=C.next()){x=I.value;p=function(e,t,r){return UL(zL(ML(e,r.partName),r.partName),t,function(e){return e.id!==r.relationshipId})}(p,r,x)}}catch(e){u={error:e}}finally{try{I&&!I.done&&(c=C.return)&&c.call(C)}finally{if(u)throw u.error}}this.pendingIconRemovals.length=0;try{for(var V=NL(this.pendingExternalRemovals),T=V.next();!T.done;T=V.next())!function(t){p=UL(p,r,function(e){return e.id!==t})}(T.value)}catch(e){d={error:e}}finally{try{T&&!T.done&&(h=V.return)&&h.call(V)}finally{if(d)throw d.error}}return this.pendingExternalRemovals.length=0,p},BL);function BL(e,t,r){var n,i;void 0===t&&(t=new Map),void 0===r&&(r=new Map),this.entries=e,this.byRelationshipId=new Map(OL(e.values()).map(function(e){return[e.relationshipId,e]})),this.externalByRelationshipId=t,this.iconEntries=r,this.iconByRelationshipId=new Map(OL(r.values()).map(function(e){return[e.relationshipId,e]})),this.iconHashToRelationshipId=new Map;try{for(var o=NL(r.values()),a=o.next();!a.done;a=o.next()){var l=a.value;this.iconHashToRelationshipId.set(jL(l.data),l.relationshipId)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}this.pendingRemovals=[],this.pendingExternalRemovals=[],this.pendingIconRemovals=[],this.pendingEmbeds=new Map,this.pendingLinks=new Map,this.pendingIcons=new Map}function _L(e){return e.slice("/word/".length)}function jL(e){return e1(e)}function ML(e,t){var r=$(t),t=e.parts.filter(function(e){return $(e.name)!==r});return t.length===e.parts.length?e:FL({},e,{parts:t})}function zL(e,t){return FL({},e,{contentTypes:{records:e.contentTypes.records.filter(function(e){return!("override"===e.kind&&e.partName===t)})}})}function UL(e,t,r){var n=kr(e,t),r=n.items.filter(r);return r.length===n.items.length?e:Nr(e,t,hr(r,n.opaque))}function HL(e,t){var r,n,i,o=kr(e,t),a=new Map,l=new Map,s=new Map;try{for(var u=NL(o.items),c=u.next();!c.done;c=u.next()){var d,h,p,f=c.value;(i=f.type)===TL||i===kL?f.targetMode===tr.External?l.set(f.id,{relationshipId:f.id,target:f.target,relationshipType:f.type,pendingRelationship:void 0}):f.type!==kL&&void 0!==(d=Tr(e,WL(f.target,t)))&&a.set(d.name,{partName:d.name,relationshipId:f.id,relationshipType:f.type,contentType:d.contentType,data:d.data,dirty:!1,pendingRelationship:void 0}):f.type===a1&&f.targetMode!==tr.External&&void 0!==(h=Tr(e,WL(f.target,t)))&&void 0!==(p=function(e){if(e.contentType===XF||e.contentType===YF)return e.contentType}(h))&&s.set(h.name,{partName:h.name,relationshipId:f.id,relationshipType:f.type,contentType:p,data:h.data,dirty:!1,pendingRelationship:void 0})}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return new RL(a,l,s)}function WL(e,t){return e.startsWith("/")?Lt(e):Lt(""+t.slice(0,t.lastIndexOf("/")+1)+e)}var GL=function(){return(GL=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},qL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},XL=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},YL=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(XL(arguments[t]));return e},ZL="urn:schemas-microsoft-com:office:office",KL="http://schemas.openxmlformats.org/wordprocessingml/2006/main",JL={Embed:"embed",Link:"link"},$L={Content:"content",Icon:"icon"},QL={Always:"always",OnCall:"onCall"},eR="OLEObject",tR="objectEmbed",rR="objectLink",nR="Embed",iR="Link",oR={Content:"Content",Icon:"Icon"},aR={Always:"Always",OnCall:"OnCall"},lR={Content:"content",Icon:"icon"},sR={Always:"always",OnCall:"onCall"};function uR(e){return e.children.filter(function(e){return"element"===e.kind})}function cR(e,t,r){e=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r});return null==e?void 0:e.value}function dR(e){var t,r;try{for(var n=qL(uR(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.namespaceUri===ZL&&o.localName===eR)return{oleElement:o,wireForm:"office"};if(o.namespaceUri===KL&&(o.localName===tR||o.localName===rR))return{oleElement:o,wireForm:"wml"}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function hR(e,t,r){return{element:e,oleElement:t,wireForm:r}}function pR(e){return"wml"===e.wireForm?e.oleElement.localName===rR?JL.Link:JL.Embed:(e=cR(e.oleElement,"","Type"))===iR?JL.Link:e===nR?JL.Embed:void 0}function fR(e){return"wml"===e.wireForm?cR(e.oleElement,"","progId"):cR(e.oleElement,"","ProgID")}function vR(e){return"wml"===e.wireForm?cR(e.oleElement,"","shapeId"):cR(e.oleElement,"","ShapeID")}function mR(e){var t;return"wml"===e.wireForm?(t=cR(e.oleElement,"","drawAspect"))===lR.Content?$L.Content:t===lR.Icon?$L.Icon:void 0:(t=cR(e.oleElement,"","DrawAspect"))===oR.Content?$L.Content:t===oR.Icon?$L.Icon:void 0}function yR(e){return"wml"===e.wireForm?void 0:cR(e.oleElement,"","ObjectID")}function gR(e){var t;return"wml"===e.wireForm?e.oleElement.localName!==rR?void 0:(t=cR(e.oleElement,"","updateMode"))===sR.Always?QL.Always:t===sR.OnCall?QL.OnCall:void 0:(t=cR(e.oleElement,"","UpdateMode"))===aR.Always?QL.Always:t===aR.OnCall?QL.OnCall:void 0}function bR(e){e=e.trim().toLowerCase();return"t"===e||"true"===e||"on"===e||"f"!==e&&"false"!==e&&"off"!==e&&"0"!==e&&void 0}function wR(e){var t;return"wml"===e.wireForm?e.oleElement.localName!==rR||void 0===(t=cR(e.oleElement,"","lockedField"))?void 0:bR(t):void 0!==(t=uR(e.oleElement).find(function(e){return e.namespaceUri===ZL&&"LockedField"===e.localName}))?void 0===(e=t.children.find(function(e){return"text"===e.kind}))||bR(e.value):void 0}function PR(e){return"office"!==e.wireForm||null==(e=(null==(e=uR(e.oleElement).find(function(e){return e.namespaceUri===ZL&&"LinkType"===e.localName}))?void 0:e.children).find(function(e){return"text"===e.kind}))?void 0:e.value}function SR(e){return"wml"===e.wireForm?cR(e.oleElement,"","fieldCodes"):null==(e=(null==(e=uR(e.oleElement).find(function(e){return e.namespaceUri===ZL&&"FieldCodes"===e.localName}))?void 0:e.children).find(function(e){return"text"===e.kind}))?void 0:e.value}function xR(e){var t,e=e.trim();return e.endsWith("pt")?(t=Number(e.slice(0,-2)),Number.isFinite(t)?t:void 0):(t=Number(e),Number.isFinite(t)?H(t):void 0)}function CR(e){var t=null!=(t=cR(e.element,KL,"dxaOrig"))?t:cR(e.element,"","dxaOrig");return void 0===t?void 0:xR(t)}function IR(e){var t=null!=(t=cR(e.element,KL,"dyaOrig"))?t:cR(e.element,"","dyaOrig");return void 0===t?void 0:xR(t)}function VR(e,t,r,n,i){var o,a,l=e.attributes.findIndex(function(e){return e.namespaceUri===t&&e.localName===r});return void 0===n?l<0?e:GL({},e,{attributes:e.attributes.filter(function(e,t){return t!==l})}):(o=void 0!==(o=e.attributes[l])?o.prefix:i,a={namespaceUri:t,localName:r,prefix:o,value:n},GL({},e,0<=l?{attributes:e.attributes.map(function(e,t){return t===l?a:e})}:{attributes:YL(e.attributes,[a])}))}function TR(e,t,r,n){var i;if(-1===r.indexOf(t))throw i=n,new J("content/invalid-ole-object","Invalid OleObject "+e+' "'+String(t)+'"; expected one of: '+i.join(", "));return null!=(e=n[r.indexOf(t)])?e:t}var kR=[$L.Content,$L.Icon],FR=[QL.Always,QL.OnCall];function DR(e){e=U(e);if(e<=0||!Number.isFinite(e))throw new J("content/invalid-ole-object","OleObject original size must be a positive point value");return String(e)}function OR(e,t){var r=function t(e){return{kind:"element",namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,attributes:e.attributes.map(function(e){return GL({},e)}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return GL({},e)}),children:e.children.map(function(e){return"element"===e.kind?t(e):{kind:"text",value:e.value}})}}(e.element),n=dR(r);if(void 0===n)throw new J("content/invalid-ole-object","OLE object element lost its OLE child");var i,o,a,l,s=n.oleElement,u="office"===e.wireForm;return"originalWidth"in t&&(r=VR(r,KL,"dxaOrig",void 0===t.originalWidth?void 0:DR(t.originalWidth),"w")),"originalHeight"in t&&(r=VR(r,KL,"dyaOrig",void 0===t.originalHeight?void 0:DR(t.originalHeight),"w")),"type"in t&&u&&(s=void 0===(o=t.type)?VR(s,"","Type",void 0,""):o===JL.Link?VR(s,"","Type",iR,""):VR(s,"","Type",nR,"")),"progId"in t&&(s=VR(s,"",u?"ProgID":"progId",t.progId,"")),"shapeId"in t&&(s=VR(s,"",u?"ShapeID":"shapeId",t.shapeId,"")),"drawAspect"in t&&(o=t.drawAspect,s=VR(s,"",u?"DrawAspect":"drawAspect",void 0===o?void 0:(i=o,"wml"===e.wireForm?TR("drawAspect",i,kR,ua(lR)):TR("DrawAspect",i,kR,ua(oR))),"")),"objectId"in t&&u&&(s=VR(s,"","ObjectID",t.objectId,"")),"updateMode"in t&&(o=t.updateMode,!u&&e.oleElement.localName!==rR||(s=VR(s,"",u?"UpdateMode":"updateMode",void 0===o?void 0:(i=o,"wml"===e.wireForm?TR("updateMode",i,FR,ua(sR)):TR("UpdateMode",i,FR,ua(aR))),""))),u?(u=(u=function(e){return"linkTypeDescription"in t&&(e=NR(e,"LinkType",t.linkTypeDescription)),"lockedField"in t&&(e=NR(e,"LockedField",void 0===t.lockedField?void 0:t.lockedField?"t":"f")),e="fieldCodes"in t?NR(e,"FieldCodes",t.fieldCodes):e})(uR(a=s)),l=a.children.filter(function(e){return"text"===e.kind}),s=GL({},a,{children:YL(l,u)})):("lockedField"in t||"fieldCodes"in t)&&("lockedField"in t&&(o=t.lockedField,s=VR(s,"","lockedField",void 0===o?void 0:o?"true":"false","")),"fieldCodes"in t)&&(s=VR(s,"","fieldCodes",t.fieldCodes,"")),{element:r=GL({},r,{children:r.children.map(function(e){return"element"===e.kind&&e===n.oleElement?s:e})}),oleElement:s,wireForm:e.wireForm}}function NR(e,t,r){var n,i,o,e=e.filter(function(e){return!(e.namespaceUri===ZL&&e.localName===t)});return void 0===r?e:(r={kind:"element",namespaceUri:ZL,localName:t,prefix:"o",attributes:[],namespaceDeclarations:[],children:[{kind:"text",value:r}]},i=(n=["LinkType","LockedField","FieldCodes"]).indexOf(t),(o=e.findIndex(function(e){return e.namespaceUri===ZL&&0<=(e=n.indexOf(e.localName))&&i<e}))<0?YL(e,[r]):YL(e.slice(0,o),[r],e.slice(o)))}function AR(e,t,r){return cR(e,t,r)}var ER=function(){return(ER=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},LR=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},RR=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},BR=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(RR(arguments[t]));return e},_R=Er("ole-object"),jR=(Object.defineProperty(MR.prototype,"wireForm",{get:function(){return this.state.wireForm},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"linkType",{get:function(){return pR(this.state)},set:function(e){this.mutate({type:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"progId",{get:function(){return fR(this.state)},set:function(e){this.mutate({progId:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"shapeId",{get:function(){return vR(this.state)},set:function(e){this.mutate({shapeId:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"drawAspect",{get:function(){return mR(this.state)},set:function(e){this.mutate({drawAspect:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"objectId",{get:function(){return yR(this.state)},set:function(e){this.mutate({objectId:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"updateMode",{get:function(){return gR(this.state)},set:function(e){this.mutate({updateMode:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"lockedField",{get:function(){return wR(this.state)},set:function(e){this.mutate({lockedField:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"linkTypeDescription",{get:function(){return PR(this.state)},set:function(e){this.mutate({linkTypeDescription:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"fieldCodes",{get:function(){return SR(this.state)},set:function(e){this.mutate({fieldCodes:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"originalWidth",{get:function(){return CR(this.state)},set:function(e){this.mutate({originalWidth:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"originalHeight",{get:function(){return IR(this.state)},set:function(e){this.mutate({originalHeight:e})},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"linked",{get:function(){return pR(this.state)===JL.Link},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"linkTarget",{get:function(){if(pR(this.state)===JL.Link){var e=this.relationshipIdValue,t=this.lookUpCatalog();if(void 0!==e&&0<e.length&&void 0!==t){e=t.targetForRelationship(e);if(void 0!==e)return e}return this.pendingLink&&void 0!==t?t.pendingTargetFor(this):void 0}},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"relationshipId",{get:function(){return this.relationshipIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"imageRelationshipId",{get:function(){return this.imageRelationshipIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"previewImageBytes",{get:function(){var e=this.lookUpCatalog();if(this.pendingIcon&&void 0!==e){var t=e.pendingIconBytesFor(this);if(void 0!==t)return zR(t)}t=this.imageRelationshipIdValue;if(void 0!==t&&0<t.length&&void 0!==e){e=e.iconBytesForRelationship(t);if(void 0!==e)return zR(e)}},enumerable:!0,configurable:!0}),Object.defineProperty(MR.prototype,"payloadBytes",{get:function(){if(pR(this.state)!==JL.Link){var e=this.relationshipIdValue,t=this.lookUpCatalog();if(void 0!==e&&0<e.length&&void 0!==t){t=t.bytesForRelationship(e);if(void 0!==t)return zR(t)}return void 0!==this.pendingPayload?zR(this.pendingPayload.bytes):void 0}},set:function(e){if(void 0===e)throw new J("content/invalid-ole-object","OleObject payloadBytes cannot be cleared; remove the owning run instead");if(0===e.byteLength)throw new J("content/invalid-ole-object","OleObject payload bytes must not be empty");if(pR(this.state)===JL.Link)throw new J("content/invalid-ole-object","OleObject payloadBytes is only available on embedded objects");e=zR(e);if(void 0!==this.pendingPayload)this.pendingPayload=ER({},this.pendingPayload,{bytes:e}),void 0!==(t=this.lookUpCatalog())&&t.updatePendingBytes(this,e);else{var t=this.relationshipIdValue,r=this.lookUpCatalog();if(void 0===t||0===t.length||void 0===r)throw new J("content/invalid-ole-object","OleObject has no embedding part to replace (not yet saved and no pending payload)");r.replaceBytes(t,e)}},enumerable:!0,configurable:!0}),MR.prototype.toOpenXml=function(){return this.state.element},MR.prototype.isPendingRelationship=function(){return void 0!==this.pendingPayload||this.pendingLink},MR.prototype.resolveRelationshipId=function(e){this.relationshipIdValue=e,this.pendingPayload=void 0,this.pendingLink=!1,this.state=function(t,r){var e=t.element,n=e.children.findIndex(function(e){return"element"===e.kind&&(e===t.oleElement||e.namespaceUri===t.oleElement.namespaceUri&&e.localName===t.oleElement.localName)});if(n<0)return t;var i=e.children[n];if(void 0===i||"element"!==i.kind)return t;var o=i.attributes.map(function(e){return"http://schemas.openxmlformats.org/officeDocument/2006/relationships"===e.namespaceUri&&"id"===e.localName?ER({},e,{value:r}):e}),a=ER({},i,{attributes:o});return{element:ER({},e,{children:e.children.map(function(e,t){return t===n?a:e})}),oleElement:a,wireForm:t.wireForm}}(this.state,e)},MR.prototype.registerPendingPayload=function(e,t){this.pendingPayload={bytes:zR(e),contentType:t},this.pendingLink=!1},MR.prototype.registerPendingLinkTarget=function(){this.pendingLink=!0,this.pendingPayload=void 0},MR.prototype.isPendingIcon=function(){return this.pendingIcon},MR.prototype.resolveIconRelationshipId=function(e){this.imageRelationshipIdValue=e,this.pendingIcon=!1,this.state=function(e,t){for(var r,n,i,o=e.element,a=-1,l=0;l<o.children.length;l++)if(void 0!==(f=o.children[l])&&"element"===f.kind&&f.namespaceUri===UR&&"shape"===f.localName){a=l,i=f;break}if(void 0===i)return e;for(var s,u=-1,l=0;l<i.children.length;l++)if(void 0!==(f=i.children[l])&&"element"===f.kind&&f.namespaceUri===UR&&"imagedata"===f.localName){u=l,s=f;break}if(void 0===s)return e;var c=s.attributes.some(function(e){return e.namespaceUri===HR&&"id"===e.localName})?s.attributes.map(function(e){return e.namespaceUri===HR&&"id"===e.localName?ER({},e,{value:t}):e}):BR(s.attributes,[{namespaceUri:HR,prefix:"r",localName:"id",value:t}]),d=ER({},s,{attributes:c}),h=ER({},i,{children:i.children.map(function(e,t){return t===u?d:e})}),c=ER({},o,{children:o.children.map(function(e,t){return t===a?h:e})}),p=e.oleElement;if(e.oleElement===i)p=h;else try{for(var f,v=LR(c.children),m=v.next();!m.done;m=v.next())if("element"===(f=m.value).kind&&f.namespaceUri===e.oleElement.namespaceUri&&f.localName===e.oleElement.localName){p=f;break}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}return{element:c,oleElement:p,wireForm:e.wireForm}}(this.state,e)},MR.prototype.registerPendingIconMedia=function(){this.pendingIcon=!0},MR.prototype.pendingContentType=function(){return null==this.pendingPayload?void 0:this.pendingPayload.contentType},MR.prototype.lookUpCatalog=function(){var e=this.owningDocumentOf();return void 0!==e&&(e=e.featurePart(_R))instanceof RL?e:void 0},MR.prototype.owningDocumentOf=function(){return e=this,WR.get(e);var e},MR.prototype.mutate=function(e){this.state=OR(this.state,e),this.relationshipIdValue=null!=(e=AR(this.state.oleElement,"http://schemas.openxmlformats.org/officeDocument/2006/relationships","id"))?e:this.relationshipIdValue},MR);function MR(e,t){this.pendingLink=!1,this.pendingIcon=!1;var r,n=dR(e);void 0===n||n.oleElement!==t?(r=t.namespaceUri===ZL?"office":"wml",this.state=hR(e,t,r)):this.state=hR(e,n.oleElement,n.wireForm),this.relationshipIdValue=AR(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships","id"),this.imageRelationshipIdValue=function(e){var t,r,n,i;try{for(var o=LR(e.children),a=o.next();!a.done;a=o.next()){var l=a.value;if("element"===l.kind&&l.namespaceUri===UR&&"shape"===l.localName)try{for(var s=LR(l.children),u=s.next();!u.done;u=s.next()){var c=u.value;if("element"===c.kind&&c.namespaceUri===UR&&"imagedata"===c.localName){var d=AR(c,HR,"id");if(void 0!==d&&0<d.length)return d}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return}(e)}function zR(e){var t=new Uint8Array(e.byteLength);return t.set(e),t}var UR="urn:schemas-microsoft-com:vml",HR="http://schemas.openxmlformats.org/officeDocument/2006/relationships";var WR=new WeakMap;function GR(e,t){WR.set(e,t)}function qR(e){if(te(e,"object")){var t=dR(e);if(void 0!==t)return new jR(e,t.oleElement)}}var XR=!1;function YR(){XR||(XR=!0,Rr({id:_R}),nn({featureId:_R,relationshipTypes:[TL],loadParts:function(e,t){return HL(e,t.mainPartName)}}),_n({featureId:_R,materialize:function(e){var t=e.featurePart(_R);t instanceof RL&&t.materializePending(e,JR(e))}}),gn({featureId:_R,wmlLocalName:"object",tryParse:qR}))}function ZR(e){return e instanceof cu&&e.featureId===_R&&e.value instanceof jR}function KR(e){var t,r,e=e.items.toArray(),n=[];try{for(var i=LR(e),o=i.next();!o.done;o=i.next()){var a=o.value;ZR(a)&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function JR(e){var t,r,n,i,o=[];try{for(var a=LR(e.listBlocks()),l=a.next();!l.done;l=a.next()){var s=l.value;if("paragraph"===s.type)try{for(var u=LR(KR(s.paragraph)),c=u.next();!c.done;c=u.next()){var d=c.value;GR(d,e),o.push(d)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o}var $R=2147483647,QR=1026,eB=1608619363;function tB(e,t){var r=t;if("number"!=typeof r||!Number.isFinite(r))throw new J("content/invalid-ole-object","OleObject "+e+" must be a finite point value");if(r<0)throw new J("content/invalid-ole-object","OleObject "+e+" must be a positive point value");if(U(t)<=0)throw new J("content/invalid-ole-object","OleObject "+e+" must be a positive point value");return t}var rB=1850929220%$R;function nB(e){e=Math.round(100*e)/100;return Number.isInteger(e),String(e)}function iB(e,t,r,n,i,o){return void 0===i&&(i=[]),{kind:"element",namespaceUri:e,prefix:t,localName:r,attributes:n,namespaceDeclarations:BR(o=void 0===o?[]:o),children:i}}function oB(e){t="_x0000_i"+String(QR),QR+=1;var t,r="urn:schemas-microsoft-com:vml",n="http://schemas.microsoft.com/office/word/2010/wordml",i="http://schemas.openxmlformats.org/officeDocument/2006/relationships",o=[{namespaceUri:"",prefix:"",localName:"id",value:t},{namespaceUri:"",prefix:"",localName:"type",value:"#_x0000_t75"},{namespaceUri:"",prefix:"",localName:"style",value:(o=e.width,a=e.height,"width:"+nB(o)+"pt;height:"+nB(a)+"pt")},{namespaceUri:ZL,prefix:"o",localName:"ole",value:""}],a=(void 0!==e.name&&o.push({namespaceUri:"",prefix:"",localName:"alt",value:e.name}),void 0!==e.description&&o.push({namespaceUri:"",prefix:"",localName:"title",value:e.description}),[]),l=(void 0!==e.iconBytes&&void 0!==e.iconContentType&&(l=[{namespaceUri:i,prefix:"r",localName:"id",value:""}],void 0!==e.description&&l.push({namespaceUri:ZL,prefix:"o",localName:"title",value:e.description}),a.push(iB(r,"v","imagedata",l))),iB(r,"v","shape",o,a)),o=[{namespaceUri:"",prefix:"",localName:"Type",value:"link"===e.kind?"Link":"Embed"},{namespaceUri:"",prefix:"",localName:"ProgID",value:e.progId},{namespaceUri:"",prefix:"",localName:"ShapeID",value:t},{namespaceUri:"",prefix:"",localName:"DrawAspect",value:e.drawAspect===$L.Icon?"Icon":"Content"}],a=("link"===e.kind?o.push({namespaceUri:"",prefix:"",localName:"UpdateMode",value:e.updateMode===QL.OnCall?"OnCall":"Always"}):o.push({namespaceUri:"",prefix:"",localName:"ObjectID",value:(rB=(rB+1)%($R+1),"_"+String(rB))}),o.push({namespaceUri:i,prefix:"r",localName:"id",value:""}),[]),o=("link"===e.kind&&("string"==typeof e.linkTypeDescription&&a.push(iB(ZL,"o","LinkType",[],[{kind:"text",value:e.linkTypeDescription}])),void 0!==e.lockedField&&a.push(iB(ZL,"o","LockedField",[],[{kind:"text",value:e.lockedField?"t":"f"}])),"string"==typeof e.fieldCodes)&&a.push(iB(ZL,"o","FieldCodes",[],[{kind:"text",value:e.fieldCodes}])),iB(ZL,"o","OLEObject",o,a));return{element:iB(aB,"w","object",[{namespaceUri:aB,prefix:"w",localName:"dxaOrig",value:String(U(e.width))},{namespaceUri:aB,prefix:"w",localName:"dyaOrig",value:String(U(e.height))},{namespaceUri:n,prefix:"w14",localName:"anchorId",value:8<=(a=(eB=(eB+1)%4294967295).toString(16).toUpperCase()).length?a:new Array(8-a.length+1).join("0")+a}],[l,o],[{prefix:"w14",namespaceUri:n},{prefix:"v",namespaceUri:r},{prefix:"o",namespaceUri:ZL},{prefix:"r",namespaceUri:i}]),oleElement:o,shapeId:t}}var aB="http://schemas.openxmlformats.org/wordprocessingml/2006/main";function lB(e,t){var t=function(e){var t=e.progId;if("string"!=typeof t||0===t.length)throw new J("content/invalid-ole-object",'appendOleObject requires a non-empty progId (e.g. "Excel.Sheet.12")');var r=void 0!==e.bytes,n="string"==typeof e.linkTarget&&0<e.linkTarget.length,i=void 0!==e.updateMode||void 0!==e.lockedField||void 0!==e.fieldCodes||void 0!==e.linkTypeDescription,o=e.linkType===JL.Link||e.linkType!==JL.Embed&&n&&!r?"link":"embed";if("embed"===o&&i)throw new J("content/invalid-ole-object","updateMode, lockedField, fieldCodes, and linkTypeDescription apply only to linked OLE objects");if("embed"===o&&n)throw new J("content/invalid-ole-object","linkTarget applies only to linked OLE objects");if("link"===o&&r)throw new J("content/invalid-ole-object","payload bytes apply only to embedded OLE objects; linked objects store an external target string only");if(i=tB("width",null!=e.width?e.width:72),n=tB("height",null!=e.height?e.height:72),r=!0===e.displayAsIcon?$L.Icon:$L.Content,void 0!==e.iconBytes){var a=e.iconBytes;if(!(a instanceof Uint8Array)||0===a.byteLength)throw new J("content/invalid-ole-object","appendOleObject iconBytes must be a non-empty PNG or JPEG byte sequence");var l=JF(a);if(void 0===l)throw new J("content/invalid-ole-object","appendOleObject iconBytes must sniff as image/png or image/jpeg");a=zR(a),l=l}if(t={progId:t,width:i,height:n,drawAspect:r,name:e.name,description:e.description,iconBytes:a,iconContentType:l},"link"===o){i=e.linkTarget;if("string"!=typeof i||0===i.length)throw new J("content/invalid-ole-object","appendOleObject link path requires a non-empty linkTarget string");n=e.updateMode===QL.OnCall?QL.OnCall:QL.Always;return ER({kind:"link"},t,{linkTarget:i,updateMode:n,lockedField:e.lockedField,fieldCodes:e.fieldCodes,linkTypeDescription:e.linkTypeDescription})}if((r=e.bytes)instanceof Uint8Array&&0!==r.byteLength)return ER({kind:"embed"},t,{bytes:r,contentType:null!=e.contentType?e.contentType:AL});throw new J("content/invalid-ole-object","appendOleObject embed requires non-empty bytes for the embedded object")}(t),r=function(e){if(void 0!==(e=e.owningDocument().featurePart(_R))&&e instanceof RL)return e;throw new J("feature/not-registered","OLE object catalog was not loaded; call registerOleObjectFeature() before WordDocument.open")}(e),n=oB(t),n=new jR(n.element,n.oleElement);return GR(n,e.owningDocument()),"link"===t.kind?(n.registerPendingLinkTarget(),r.registerPendingLink(n,t.linkTarget)):(n.registerPendingPayload(t.bytes,t.contentType),r.registerPendingEmbed(n,t.bytes,t.contentType)),void 0!==t.iconBytes&&void 0!==t.iconContentType&&(n.registerPendingIconMedia(),r.registerPendingIcon(n,t.iconBytes,t.iconContentType)),e.appendFeatureRunItem(_R,n),n}function sB(e){e=e.featurePart(_R);return e instanceof RL?e:void 0}D.prototype.appendOleObject=function(e){return lB(this,e)},YR();var uB=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},cB=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},dB=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(cB(arguments[t]));return e},hB=Er("properties"),pB="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",fB="application/vnd.openxmlformats-package.core-properties+xml",vB=Lt("/docProps/core.xml"),mB=Lt("/docProps/app.xml"),yB=Lt("/docProps/custom.xml"),gB="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",bB="http://purl.org/dc/elements/1.1/",wB=new TextDecoder("utf-8"),PB=new TextEncoder;function SB(e){var t,r,n="";try{for(var i=uB(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function xB(e,t){return e.namespaceUri===gB&&e.localName===t}function CB(e,t){return e.namespaceUri===bB&&e.localName===t}function IB(e,t){return{kind:"element",namespaceUri:bB,localName:e,prefix:"dc",attributes:[],namespaceDeclarations:[],children:0<t.length?[{kind:"text",value:t}]:[]}}Object.defineProperty(TB.prototype,"title",{get:function(){return this.titleValue},set:function(e){this.titleValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(TB.prototype,"creator",{get:function(){return this.creatorValue},set:function(e){this.creatorValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(TB.prototype,"subject",{get:function(){return this.subjectValue},set:function(e){this.subjectValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(TB.prototype,"description",{get:function(){return this.descriptionValue},set:function(e){this.descriptionValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(TB.prototype,"keywords",{get:function(){return this.keywordsValue},set:function(e){this.keywordsValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),TB.prototype.isDirty=function(){return this.dirty},TB.prototype.markClean=function(){this.dirty=!1},TB.prototype.serialize=function(){var e,t=[],r=(void 0!==this.creatorValue&&t.push(IB("creator",this.creatorValue)),void 0!==this.titleValue&&t.push(IB("title",this.titleValue)),void 0!==this.subjectValue&&t.push(IB("subject",this.subjectValue)),void 0!==this.descriptionValue&&t.push(IB("description",this.descriptionValue)),void 0!==this.keywordsValue&&t.push((r="keywords",e=this.keywordsValue,{kind:"element",namespaceUri:gB,localName:r,prefix:"",attributes:[],namespaceDeclarations:[],children:0<e.length?[{kind:"text",value:e}]:[]})),t.push.apply(t,dB(this.opaque)),{kind:"element",namespaceUri:gB,localName:"coreProperties",prefix:"",attributes:this.rootAttributes,namespaceDeclarations:0<this.rootNamespaceDeclarations.length?this.rootNamespaceDeclarations:[{prefix:"",namespaceUri:gB},{prefix:"dc",namespaceUri:bB},{prefix:"dcterms",namespaceUri:"http://purl.org/dc/terms/"},{prefix:"xsi",namespaceUri:"http://www.w3.org/2001/XMLSchema-instance"}],children:t});return PB.encode(Fe(r))};var VB=TB;function TB(e,t,r,n,i,o,a,l,s){this.rootAttributes=e,this.rootNamespaceDeclarations=t,this.opaque=r,this.titleValue=n,this.creatorValue=i,this.subjectValue=o,this.descriptionValue=a,this.keywordsValue=l,this.dirty=s}Object.defineProperty(FB.prototype,"core",{get:function(){return this.coreValue},enumerable:!0,configurable:!0}),FB.prototype.isDirty=function(){return this.coreValue.isDirty()},FB.prototype.ensureCorePart=function(e){if(void 0===this.coreRelationshipId){for(var t=En(e),r=ir(t);t.has(r);)r=ir(new Set(dB(t,[r])));this.corePartName=vB,this.coreRelationshipId=r,this.corePendingRelationship={id:r,type:pB,target:"docProps/core.xml",extraAttributes:[],children:[]}}},FB.prototype.applyToPackage=function(e){var t,r=this;return this.coreValue.isDirty()||void 0!==this.corePendingRelationship?(t=An(e,this.corePartName,fB,this.coreValue.serialize(),null!=this.corePendingRelationship?this.corePendingRelationship:void 0===this.coreRelationshipId?void 0:e.packageRelationships.items.find(function(e){return e.id===r.coreRelationshipId})),this.coreValue.markClean(),this.corePendingRelationship=void 0,t):e};var kB=FB;function FB(e,t,r){this.coreValue=e,this.corePartName=t,this.coreRelationshipId=r,this.corePendingRelationship=void 0}function DB(e){var e=Nn(e,pB),t=function(e){var t,r;if(void 0===e)return new VB([],[],[],void 0,void 0,void 0,void 0,void 0,!1);if("coreProperties"!==(e=Ce(wB.decode(e))).localName||e.namespaceUri!==gB)return new VB([],[],[],void 0,void 0,void 0,void 0,void 0,!1);var n,i,o,a,l,s=[];try{for(var u=uB(e.children.filter(function(e){return"element"===e.kind})),c=u.next();!c.done;c=u.next()){var d=c.value;CB(d,"title")&&void 0===n?n=SB(d):CB(d,"creator")&&void 0===i?i=SB(d):CB(d,"subject")&&void 0===o?o=SB(d):CB(d,"description")&&void 0===a?a=SB(d):xB(d,"keywords")&&void 0===l?l=SB(d):CB(d,"title")||CB(d,"creator")||CB(d,"subject")||CB(d,"description")||xB(d,"keywords")||s.push(d)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return new VB(e.attributes,e.namespaceDeclarations,s,n,i,o,a,l,!1)}(void 0===e?void 0:e.part.data),r=void 0===e?vB:e.part.name,e=void 0===e?void 0:e.relationship.id;return new kB(t,r,e)}var OB=!1;function NB(){OB||(OB=!0,Rr({id:hB}),kn({featureId:hB,loadParts:DB}))}function AB(e){e=e.featurePart(hB);if(void 0!==e&&e instanceof kB)return e;throw new J("feature/not-registered","Properties parts were not loaded; call registerPropertiesFeature() before WordDocument.open")}function EB(e,t){var r=AB(e);t(r.core),r.ensureCorePart(e.opcPackage())}NB();var LB=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},RB=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(LB(arguments[t]));return e},BB=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},_B=Er("revisions"),jB=["ins","del","moveFrom","moveTo"];function MB(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)});return null==e?void 0:e.value}function zB(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}HB.prototype.assertAttachedItem=function(e){if(!(e instanceof w)||this.runs.indexOf(e)<0)throw new N("This run is no longer in its track-change wrapper")},HB.prototype.appendRun=function(){var e=new w(this);return this.runs=RB(this.runs,[e]),e},HB.prototype.listRuns=function(){return this.runs},HB.prototype.detachRuns=function(){var t,e;try{for(var r=BB(this.runs),n=r.next();!n.done;n=r.next())n.value.detach()}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this.runs=[]},HB.prototype.hydrateRuns=function(e){var t,r;this.runs=e;try{for(var n=BB(e),i=n.next();!i.done;i=n.next())i.value.attach(this)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}};var UB=HB;function HB(){this.runs=[]}Object.defineProperty(GB.prototype,"runs",{get:function(){return this.runOwner.listRuns()},enumerable:!0,configurable:!0}),Object.defineProperty(GB.prototype,"type",{get:function(){return YB(this.kind)},enumerable:!0,configurable:!0}),Object.defineProperty(GB.prototype,"text",{get:function(){return ZB(this)},enumerable:!0,configurable:!0}),GB.prototype.releaseContent=function(){this.runOwner.detachRuns()},GB.prototype.toOpenXml=function(){if(void 0!==this.preservedXml)return this.preservedXml;var e,t,r,n=[];try{for(var i=BB(this.items),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"===a.type?n.push(Lu(a.run)):n.push(a.xml)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return b(this.kind,{attributes:(e=this.changeId,t=this.author,r=this.date,e=[y("id",String(e)),y("author",t)],void 0!==r&&0<r.length&&e.push(y("date",r)),e),children:n})};var WB=GB;function GB(e,t,r,n,i,o,a){this.kind=e,this.changeId=t,this.author=r,this.date=n,this.runOwner=i,this.items=o,this.preservedXml=a}Object.defineProperty(XB.prototype,"trackChange",{get:function(){return this.change},enumerable:!0,configurable:!0}),Object.defineProperty(XB.prototype,"changeId",{get:function(){return this.change.changeId},enumerable:!0,configurable:!0}),Object.defineProperty(XB.prototype,"author",{get:function(){return this.change.author},enumerable:!0,configurable:!0}),Object.defineProperty(XB.prototype,"date",{get:function(){return this.change.date},enumerable:!0,configurable:!0}),Object.defineProperty(XB.prototype,"kind",{get:function(){return this.change.kind},enumerable:!0,configurable:!0}),Object.defineProperty(XB.prototype,"type",{get:function(){return this.change.type},enumerable:!0,configurable:!0}),Object.defineProperty(XB.prototype,"runs",{get:function(){return this.change.runs},enumerable:!0,configurable:!0}),Object.defineProperty(XB.prototype,"text",{get:function(){return this.change.text},enumerable:!0,configurable:!0});var qB=XB;function XB(e){this.change=e}function YB(e){switch(e){case"ins":return"insertion";case"del":return"deletion";case"moveFrom":return"moveFrom";case"moveTo":return"moveTo"}}function ZB(e){var t,r,n="";try{for(var i=BB(e.runs),o=i.next();!o.done;o=i.next())n+=o.value.text}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}JB.prototype.releaseContent=function(){},JB.prototype.toOpenXml=function(){return b("moveFrom"===this.moveKind?"moveFromRangeStart":"moveToRangeStart",{attributes:[y("id",String(this.markerId)),y("name",this.name),y("author",this.author),y("date",this.date)]})};var KB=JB;function JB(e,t,r,n,i){this.moveKind=e,this.markerId=t,this.name=r,this.author=n,this.date=i}QB.prototype.releaseContent=function(){},QB.prototype.toOpenXml=function(){return b("moveFrom"===this.moveKind?"moveFromRangeEnd":"moveToRangeEnd",{attributes:[y("id",String(this.markerId))]})};var $B=QB;function QB(e,t){this.moveKind=e,this.markerId=t}function e_(e,t){var r,n,i=zB(MB(e,"id")),o=MB(e,"author");return void 0===i||void 0===o||0===o.length?new WB(t,-1,"",void 0,new UB,[],e):(n=function(e,t){var r,n,i=[],o=[];try{for(var a=BB(re(e)),l=a.next();!l.done;l=a.next()){var s,u=l.value;te(u,"r")?(s=w.fromXml(u,t),o.push(s),i.push({type:"textRange",run:s})):i.push({type:"opaque",xml:u})}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t.hydrateRuns(o),i}(e,r=new UB),new WB(t,i,o,MB(e,"date"),r,n,void 0))}function t_(e,t){if(te(e,"moveFrom"===t?"moveFromRangeStart":"moveToRangeStart")){var r=zB(MB(e,"id")),n=MB(e,"name"),i=MB(e,"author"),e=MB(e,"date");if(void 0!==r&&void 0!==n&&0!==n.length&&void 0!==i&&0!==i.length&&void 0!==e&&0!==e.length)return new KB(t,r,n,i,e)}}function r_(e,t){if(te(e,"moveFrom"===t?"moveFromRangeEnd":"moveToRangeEnd")){e=zB(MB(e,"id"));if(void 0!==e)return new $B(t,e)}}var n_=!1;function i_(){var t,e;if(!n_){n_=!0,Rr({id:_B});try{for(var r=BB(jB),n=r.next();!n.done;n=r.next())!function(r){Pn({featureId:_B,wmlLocalName:r,tryParse:function(e){if(te(e,r))return e_(e,r)}}),Mr({featureId:_B,wmlLocalName:r,tryParse:function(e,t){if(te(e,r))return e_(e,r)}})}(n.value)}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}Pn({featureId:_B,wmlLocalName:"moveFromRangeStart",tryParse:function(e){return t_(e,"moveFrom")}}),Pn({featureId:_B,wmlLocalName:"moveFromRangeEnd",tryParse:function(e){return r_(e,"moveFrom")}}),Pn({featureId:_B,wmlLocalName:"moveToRangeStart",tryParse:function(e){return t_(e,"moveTo")}}),Pn({featureId:_B,wmlLocalName:"moveToRangeEnd",tryParse:function(e){return r_(e,"moveTo")}})}}function o_(e){var t,r,e=e.items.toArray(),n=[];try{for(var i=BB(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof F&&a.value instanceof WB&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function a_(e){function a(e){l.has(e)||(l.add(e),o.push(e))}var t,r,n,i,o=[],l=new Set;try{for(var s=BB(e.listBlocks()),u=s.next();!u.done;u=s.next()){var c=u.value;if("paragraph"===c.type)try{for(var d=BB(o_(c.paragraph)),h=d.next();!h.done;h=d.next()){var p=h.value;a(p)}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}else"feature"===c.type&&c.value instanceof WB&&a(c.value)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return Mn(e,function(e){var t,r;try{for(var n=BB(o_(e)),i=n.next();!i.done;i=n.next()){var o=i.value;a(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),o}ui(function(){i_()}),i_();var l_=function(){return(l_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s_=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},u_=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s_(arguments[t]));return e},c_="http://schemas.openxmlformats.org/officeDocument/2006/relationships";h_.fromElement=function(e){var t=null==(t=(t=e).attributes.find(function(e){return"id"===e.localName&&(e.namespaceUri===c_||"r"===e.prefix||""===e.namespaceUri)}))?void 0:t.value,r=e.attributes.filter(function(e){return"id"!==e.localName||!(e.namespaceUri===c_||"r"===e.prefix||""===e.namespaceUri)}),n=e.attributes.find(function(e){return"id"===e.localName&&(e.namespaceUri===c_||"r"===e.prefix||""===e.namespaceUri)}),r=u_(r);return void 0!==n&&r.unshift(n),new h_(t,r,u_(e.children),e.namespaceDeclarations)},h_.prototype.id=function(){return this.relationshipId},h_.prototype.serialize=function(){return b("attachedTemplate",l_({attributes:this.otherAttributes,children:this.elementChildren},0<this.namespaceDeclarations.length?{namespaceDeclarations:this.namespaceDeclarations}:{}))};var d_=h_;function h_(e,t,r,n){this.relationshipId=e,this.otherAttributes=t,this.elementChildren=r,this.namespaceDeclarations=n}var p_=function(){return(p_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},f_=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},v_=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f_(arguments[t]));return e},m_=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function y_(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===he||""===e.namespaceUri)});return null==e?void 0:e.value}var g_=new Set(["noColumnBalance"]),b_="http://schemas.microsoft.com/office/word",w_=((FM=M.CompatibilityMode||(M.CompatibilityMode={})).Word2007="12",FM.Word2010="14",FM.Word2013="15",P_.fromElement=function(e){return new P_(y_(e,"name"),y_(e,"uri"),y_(e,"val"),e.attributes,v_(e.children),e.namespaceDeclarations)},P_.create=function(e,t,r){return P_.fromElement(b("compatSetting",{attributes:[{namespaceUri:he,localName:"name",prefix:"w",value:e},{namespaceUri:he,localName:"uri",prefix:"w",value:t},{namespaceUri:he,localName:"val",prefix:"w",value:r}]}))},P_.prototype.name=function(){return this.settingName},P_.prototype.uri=function(){return this.settingUri},P_.prototype.val=function(){return this.settingVal},P_.prototype.serialize=function(){return b("compatSetting",p_({attributes:this.attributes,children:this.elementChildren},0<this.namespaceDeclarations.length?{namespaceDeclarations:this.namespaceDeclarations}:{}))},P_);function P_(e,t,r,n,i,o){this.settingName=e,this.settingUri=t,this.settingVal=r,this.attributes=n,this.elementChildren=i,this.namespaceDeclarations=o}x_.prototype.serialize=function(){return this.element};var S_=x_;function x_(e){this.element=e}I_.tryFromElement=function(e){if(g_.has(e.localName)&&te(e,e.localName)){var t=Ki(e);if(void 0!==t)return new I_(e.localName,t)}},I_.prototype.read=function(){return this.value},I_.prototype.write=function(e){this.value=e},I_.prototype.serialize=function(){return Ji(this.localName,this.value)};var C_=I_;function I_(e,t){this.localName=e,this.value=t}T_.fromElement=function(e){var t,r,n=[];try{for(var i=m_(re(e)),o=i.next();!o.done;o=i.next()){var a,l=o.value;te(l,"compatSetting")?n.push(w_.fromElement(l)):(a=C_.tryFromElement(l),n.push(void 0!==a?a:new S_(l)))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return new T_(n,e.attributes,e.namespaceDeclarations)},T_.createEmpty=function(e){return new T_([],[],[],e)},T_.prototype.bindDirty=function(e){this.onDirty=e},T_.prototype.markDirty=function(){void 0!==this.onDirty&&this.onDirty()},T_.prototype.findOnOff=function(e){var t,r;try{for(var n=m_(this.children),i=n.next();!i.done;i=n.next()){var o=i.value;if(o instanceof C_&&o.localName===e)return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},T_.prototype.setOnOff=function(t,e){var r=this.children.findIndex(function(e){return e instanceof C_&&e.localName===t});if(void 0===e)0<=r&&(this.children.splice(r,1),this.markDirty());else if(0<=r)(r=this.children[r])instanceof C_&&(r.write(e),this.markDirty());else{for(var n=this.children.length,i=0;i<this.children.length;i+=1)if(this.children[i]instanceof w_){n=i;break}this.children.splice(n,0,new C_(t,e)),this.markDirty()}},T_.prototype.settings=function(){var t,e,r=[];try{for(var n=m_(this.children),i=n.next();!i.done;i=n.next()){var o=i.value;o instanceof w_&&r.push(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},T_.prototype.settingNames=function(){var t,e,r=[];try{for(var n=m_(this.settings()),i=n.next();!i.done;i=n.next()){var o=i.value.name();void 0!==o&&0<o.length&&r.push(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},T_.prototype.settingCount=function(){return this.settings().length},T_.prototype.setting=function(e){var t,r;try{for(var n=m_(this.settings()),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name()===e)return o.val()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},T_.prototype.compatibilityMode=function(){return this.setting("compatibilityMode")},T_.prototype.setCompatibilityMode=function(e){var t=this.children.findIndex(function(e){return e instanceof w_&&"compatibilityMode"===e.name()}),e=w_.create("compatibilityMode",b_,e);0<=t?this.children[t]=e:this.children.push(e),this.markDirty()},T_.prototype.noColumnBalance=function(){var e=this.findOnOff("noColumnBalance");return void 0===e?void 0:e.read()},T_.prototype.setNoColumnBalance=function(e){this.setOnOff("noColumnBalance",e)},T_.createDefault=function(){return new T_([w_.create("compatibilityMode",b_,M.CompatibilityMode.Word2013),w_.create("overrideTableStyleFontSizeAndJustification",b_,"1"),w_.create("enableOpenTypeFeatures",b_,"1"),w_.create("doNotFlipMirrorIndents",b_,"1"),w_.create("differentiateMultirowTableHeaders",b_,"1")],[],[])},T_.prototype.serialize=function(){return b("compat",p_({attributes:this.attributes,children:this.children.map(function(e){return e.serialize()})},0<this.namespaceDeclarations.length?{namespaceDeclarations:this.namespaceDeclarations}:{}))};var V_=T_;function T_(e,t,r,n){this.children=e,this.attributes=t,this.namespaceDeclarations=r,this.onDirty=n}var k_=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function F_(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===he||""===e.namespaceUri)});return null==e?void 0:e.value}O_.prototype.present=function(){return this.metadata.present},O_.prototype.color=function(){return this.metadata.color},O_.prototype.themeColor=function(){return this.metadata.themeColor},O_.prototype.themeTint=function(){return this.metadata.themeTint},O_.prototype.themeShade=function(){return this.metadata.themeShade},O_.prototype.hasDrawing=function(){return this.metadata.hasDrawing},O_.prototype.displayBackgroundShape=function(){return this.displayBackgroundShapeValue};var D_=O_;function O_(e,t){this.metadata=function(e){var t,r;if(void 0===e||!te(e,"background"))return{present:!1,color:void 0,themeColor:void 0,themeTint:void 0,themeShade:void 0,hasDrawing:!1};var n=!1;try{for(var i=k_(re(e)),o=i.next();!o.done;o=i.next())if(te(o.value,"drawing")){n=!0;break}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return{present:!0,color:F_(e,"color"),themeColor:F_(e,"themeColor"),themeTint:F_(e,"themeTint"),themeShade:F_(e,"themeShade"),hasDrawing:n}}(e),this.displayBackgroundShapeValue=t}function N_(e,t){return new D_(e.preservedBackground(),t)}var A_=function(){return(A_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},E_=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},L_=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(E_(arguments[t]));return e},R_=new Set(["edit","formatting","enforcement"]);function B_(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===he||""===e.namespaceUri)});return null==e?void 0:e.value}function __(e){if(void 0!==e&&0!==e.length)return"true"===(e=e.trim().toLowerCase())||"1"===e||"on"===e||"false"!==e&&"0"!==e&&"off"!==e&&void 0}function j_(e,t){return y(e,t?"true":"false")}z_.fromElement=function(e){var t=e.attributes.filter(function(e){return!R_.has(e.localName)});return new z_(function(e){if(void 0!==e)switch(e){case"none":case"readOnly":case"comments":case"trackedChanges":case"forms":return e;default:return}}(B_(e,"edit")),__(B_(e,"formatting")),__(B_(e,"enforcement")),t,L_(e.children),e.namespaceDeclarations)},z_.fromFlags=function(e){return new z_(e.edit,e.formatting,e.enforcement,[],[],[])},z_.prototype.flags=function(){var e={};return void 0!==this.edit&&(e.edit=this.edit),void 0!==this.formatting&&(e.formatting=this.formatting),void 0!==this.enforcement&&(e.enforcement=this.enforcement),e},z_.prototype.applyFlags=function(e){this.edit=e.edit,this.formatting=e.formatting,this.enforcement=e.enforcement},z_.prototype.serialize=function(){var e=[];return void 0!==this.edit&&e.push(y("edit",this.edit)),void 0!==this.formatting&&e.push(j_("formatting",this.formatting)),void 0!==this.enforcement&&e.push(j_("enforcement",this.enforcement)),b("documentProtection",A_({attributes:L_(e,this.leftoverAttributes),children:this.elementChildren},0<this.namespaceDeclarations.length?{namespaceDeclarations:this.namespaceDeclarations}:{}))};var M_=z_;function z_(e,t,r,n,i,o){this.edit=e,this.formatting=t,this.enforcement=r,this.leftoverAttributes=n,this.elementChildren=i,this.namespaceDeclarations=o}var U_=new Set(["doNotCompress","compressPunctuation","compressPunctuationAndJapaneseKana"]);function H_(e){e=e.attributes.find(function(e){return"val"===e.localName&&(e.namespaceUri===he||""===e.namespaceUri)});return null==e?void 0:e.value}function W_(e){var e=H_(e);if(void 0!==e)return e=Number(e),Number.isNaN(e)?void 0:H(e)}function G_(e){return b("defaultTabStop",{attributes:[y("val",String(U(e)))]})}function q_(e){e=H_(e);if(void 0!==e&&U_.has(e))return e}function X_(e){return b("characterSpacingControl",{attributes:[y("val",e)]})}var Y_=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Z_=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Y_(arguments[t]));return e},K_=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},J_=new Set(["decimal","upperRoman","lowerRoman","upperLetter","lowerLetter","ordinal","cardinalText","ordinalText","hex","chicago","ideographDigital","japaneseCounting","aiueo","iroha","decimalFullWidth","decimalHalfWidth","japaneseLegal","japaneseDigitalTenThousand","decimalEnclosedCircle","decimalFullWidth2","aiueoFullWidth","irohaFullWidth","decimalZero","bullet","ganada","chosung","decimalEnclosedFullstop","decimalEnclosedParen","decimalEnclosedCircleChinese","ideographEnclosedCircle","ideographTraditional","ideographZodiac","ideographZodiacTraditional","taiwaneseCounting","ideographLegalTraditional","taiwaneseCountingThousand","taiwaneseDigital","chineseCounting","chineseLegalSimplified","chineseCountingThousand","koreanDigital","koreanCounting","koreanLegal","koreanDigital2","vietnameseCounting","russianLower","russianUpper","none","numberInDash","hebrew1","hebrew2","arabicAlpha","arabicAbjad","hindiVowels","hindiConsonants","hindiNumbers","hindiCounting","thaiLetters","thaiNumbers","thaiCounting","bahtText","dollarText","custom"]);function $_(e){return"pageBottom"===e||"beneathText"===e||"sectEnd"===e||"docEnd"===e}function Q_(e){return"sectEnd"===e||"docEnd"===e}function ej(e){return"continuous"===e||"eachSect"===e||"eachPage"===e}function tj(e){return J_.has(e)}function rj(e){if(!tj(e))throw new RangeError("numberFormat is not a supported NoteNumberFormat: "+e)}function nj(e){if(!ej(e))throw new RangeError("numberingRestart is not a supported NoteNumberingRestart: "+e)}function ij(e){return{numberFormat:void 0,numberingStart:void 0,numberingRestart:void 0,numFmtExtraAttributes:[],numFmtChildren:[],numFmtNamespaceDeclarations:[],residualChildren:[],leftoverAttributes:[],namespaceDeclarations:[],onDirty:e}}function oj(e,t,r){var n,i,o=ij(t),a=(o.leftoverAttributes=Z_(e.attributes),o.namespaceDeclarations=e.namespaceDeclarations,!1),l=!1,s=!1,u=!1;try{for(var c=K_(re(e)),d=c.next();!d.done;d=c.next()){var h,p,f=d.value;te(f,"pos")&&!a?(a=!0,r(z(f))||o.residualChildren.push(f)):te(f,"numFmt")&&!l?(l=!0,void 0!==(p=z(f))&&tj(p)?(o.numberFormat=p,o.numFmtExtraAttributes=f.attributes.filter(function(e){return!("val"===(e=e).localName&&(e.namespaceUri===he||""===e.namespaceUri))}),o.numFmtChildren=Z_(f.children),o.numFmtNamespaceDeclarations=f.namespaceDeclarations):o.residualChildren.push(f)):te(f,"numStart")&&!s?(s=!0,void 0!==(h=function(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}(z(f)))?o.numberingStart=h:o.residualChildren.push(f)):te(f,"numRestart")&&!u&&(u=!0,void 0!==(p=z(f)))&&ej(p)?o.numberingRestart=p:o.residualChildren.push(f)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return o}function aj(e,t,r){var n,i,o=[];void 0!==t&&o.push(b("pos",{attributes:[y("val",t)]})),void 0!==r.numberFormat&&o.push(b("numFmt",{attributes:Z_([y("val",r.numberFormat)],r.numFmtExtraAttributes),namespaceDeclarations:r.numFmtNamespaceDeclarations,children:r.numFmtChildren})),void 0!==r.numberingStart&&o.push(b("numStart",{attributes:[y("val",String(r.numberingStart))]})),void 0!==r.numberingRestart&&o.push(b("numRestart",{attributes:[y("val",r.numberingRestart)]}));try{for(var a=K_(r.residualChildren),l=a.next();!l.done;l=a.next()){var s=l.value;o.push(s)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return b(e,{attributes:r.leftoverAttributes,namespaceDeclarations:r.namespaceDeclarations,children:o})}sj.fromElement=function(e,t){var r,e=oj(e,t,function(e){return void 0!==e&&$_(e)&&(r=e,1)});return new sj(r,e)},sj.create=function(e){return new sj(void 0,ij(e))},sj.prototype.bindDirty=function(e){this.state.onDirty=e},sj.prototype.markDirty=function(){null!=this.state.onDirty&&this.state.onDirty()},Object.defineProperty(sj.prototype,"numberFormat",{get:function(){return this.state.numberFormat},set:function(e){void 0!==e&&rj(e),void 0===(this.state.numberFormat=e)&&(this.state.numFmtExtraAttributes=[],this.state.numFmtChildren=[],this.state.numFmtNamespaceDeclarations=[]),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(sj.prototype,"position",{get:function(){return this.positionValue},set:function(e){if(void 0!==e){var t=e;if(!$_(t))throw new RangeError("position is not a supported FootnotePosition: "+t)}this.positionValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(sj.prototype,"initialNoteNumber",{get:function(){return this.state.numberingStart},set:function(e){if(!(void 0===e||Number.isInteger(e)&&Number.isFinite(e)))throw new RangeError("initialNoteNumber must be a finite integer, got "+String(e));this.state.numberingStart=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(sj.prototype,"numberingRestart",{get:function(){return this.state.numberingRestart},set:function(e){void 0!==e&&nj(e),this.state.numberingRestart=e,this.markDirty()},enumerable:!0,configurable:!0}),sj.prototype.serialize=function(){return aj("footnotePr",this.positionValue,this.state)};var lj=sj;function sj(e,t){this.positionValue=e,this.state=t}cj.fromElement=function(e,t){var r,e=oj(e,t,function(e){return void 0!==e&&Q_(e)&&(r=e,1)});return new cj(r,e)},cj.create=function(e){return new cj(void 0,ij(e))},cj.prototype.bindDirty=function(e){this.state.onDirty=e},cj.prototype.markDirty=function(){null!=this.state.onDirty&&this.state.onDirty()},Object.defineProperty(cj.prototype,"numberFormat",{get:function(){return this.state.numberFormat},set:function(e){void 0!==e&&rj(e),void 0===(this.state.numberFormat=e)&&(this.state.numFmtExtraAttributes=[],this.state.numFmtChildren=[],this.state.numFmtNamespaceDeclarations=[]),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(cj.prototype,"position",{get:function(){return this.positionValue},set:function(e){if(void 0!==e){var t=e;if(!Q_(t))throw new RangeError("position is not a supported EndnotePosition: "+t)}this.positionValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(cj.prototype,"initialNoteNumber",{get:function(){return this.state.numberingStart},set:function(e){if(!(void 0===e||Number.isInteger(e)&&Number.isFinite(e)))throw new RangeError("initialNoteNumber must be a finite integer, got "+String(e));this.state.numberingStart=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(cj.prototype,"numberingRestart",{get:function(){return this.state.numberingRestart},set:function(e){void 0!==e&&nj(e),this.state.numberingRestart=e,this.markDirty()},enumerable:!0,configurable:!0}),cj.prototype.serialize=function(){return aj("endnotePr",this.positionValue,this.state)};var uj=cj;function cj(e,t){this.positionValue=e,this.state=t}var dj=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};(FM=M.ZoomType||(M.ZoomType={})).None="none",FM.FullPage="fullPage",FM.BestFit="bestFit",FM.TextFit="textFit";pj.fromElement=function(e){var t,r,n,i,o;try{for(var a=dj(e.attributes),l=a.next();!l.done;l=a.next()){var s,u,c=l.value;"val"!==c.localName||c.namespaceUri!==he&&""!==c.namespaceUri||(s=c.value,"none"!==(o=s)&&"fullPage"!==o&&"bestFit"!==o&&"textFit"!==o)||(n=s),"percent"!==c.localName||c.namespaceUri!==he&&""!==c.namespaceUri||(u=Number(c.value),Number.isNaN(u))||(i=u)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return new pj(n,i)},pj.create=function(e,t){return new pj(void 0===t?void 0:t,e)},pj.prototype.type=function(){return this.zoomType},pj.prototype.setType=function(e){this.zoomType=void 0===e?void 0:e},pj.prototype.percent=function(){return this.zoomPercent},pj.prototype.setPercent=function(e){this.zoomPercent=e},pj.prototype.serialize=function(){var e=[];return void 0!==this.zoomType&&e.push(y("val",this.zoomType)),void 0!==this.zoomPercent&&e.push(y("percent",String(this.zoomPercent))),b("zoom",{attributes:e})};var hj=pj;function pj(e,t){this.zoomType=e,this.zoomPercent=t}var fj=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};(FM=M.DocumentViewType||(M.DocumentViewType={})).None="none",FM.PrintLayout="print",FM.Outline="outline",FM.MasterPages="masterPages",FM.Normal="normal",FM.Web="web";var vj=["writeProtection","view","zoom","removePersonalInformation","removeDateAndTime","doNotDisplayPageBoundaries","displayBackgroundShape","printPostScriptOverText","printFractionalCharacterWidth","printFormsData","embedTrueTypeFonts","embedSystemFonts","saveSubsetFonts","saveFormsData","mirrorMargins","alignBordersAndEdges","bordersDoNotSurroundHeader","bordersDoNotSurroundFooter","gutterAtTop","hideSpellingErrors","hideGrammaticalErrors","activeWritingStyle","proofState","formsDesign","attachedTemplate","linkStyles","stylePaneFormatFilter","stylePaneSortMethod","documentType","mailMerge","revisionView","trackRevisions","doNotTrackMoves","doNotTrackFormatting","documentProtection","autoFormatOverride","styleLockTheme","styleLockQFSet","defaultTabStop","autoHyphenation","consecutiveHyphenLimit","hyphenationZone","doNotHyphenateCaps","showEnvelope","summaryLength","clickAndTypeStyle","defaultTableStyle","evenAndOddHeaders","bookFoldRevPrinting","bookFoldPrinting","bookFoldPrintingSheets","drawingGridHorizontalSpacing","drawingGridVerticalSpacing","displayHorizontalDrawingGridEvery","displayVerticalDrawingGridEvery","doNotUseMarginsForDrawingGridOrigin","drawingGridHorizontalOrigin","drawingGridVerticalOrigin","doNotShadeFormData","noPunctuationKerning","characterSpacingControl","printTwoOnOne","strictFirstAndLastChars","noLineBreaksAfter","noLineBreaksBefore","savePreviewPicture","doNotValidateAgainstSchema","saveInvalidXml","ignoreMixedContent","alwaysShowPlaceholderText","doNotDemarcateInvalidXml","saveXmlDataOnly","useXSLTWhenSaving","saveThroughXslt","showXMLTags","alwaysMergeEmptyNamespace","updateFields","hdrShapeDefaults","footnotePr","endnotePr","compat","docVars","rsids","mathPr","attachedSchema","themeFontLang","clrSchemeMapping","doNotIncludeSubdocsInStats","doNotAutoCompressPictures","forceUpgrade","captions","readModeInkLockDown","smartTagType","schemaLibrary","shapeDefaults","doNotEmbedSmartTags","decimalSymbol","listSeparator"],mj=new Set(["evenAndOddHeaders","trackRevisions","displayBackgroundShape"]),yj=(gj.tryFromElement=function(e){var t,r,n;if(te(e,"view")){try{for(var i=fj(e.attributes),o=i.next();!o.done;o=i.next()){var a=o.value;if("val"===a.localName&&(a.namespaceUri===he||""===a.namespaceUri)){n=a.value;break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(void 0!==n)return new gj(n)}},gj.prototype.read=function(){return this.value},gj.prototype.write=function(e){this.value=e},gj.prototype.asDocumentViewType=function(){var e;if("none"===(e=this.value)||"print"===e||"outline"===e||"masterPages"===e||"normal"===e||"web"===e)switch(this.value){case"none":return M.DocumentViewType.None;case"print":return M.DocumentViewType.PrintLayout;case"outline":return M.DocumentViewType.Outline;case"masterPages":return M.DocumentViewType.MasterPages;case"normal":return M.DocumentViewType.Normal;case"web":return M.DocumentViewType.Web;default:return}},gj.prototype.serialize=function(){return b("view",{attributes:[y("val",this.value)]})},gj);function gj(e){this.localName="view",this.value=e}wj.tryFromElement=function(e){if(te(e,"zoom"))return new wj(hj.fromElement(e))},wj.prototype.zoom=function(){return this.node},wj.prototype.setZoom=function(e){this.node=e},wj.prototype.serialize=function(){return this.node.serialize()};var bj=wj;function wj(e){this.localName="zoom",this.node=e}Sj.tryFromElement=function(e){if(te(e,"defaultTabStop")){e=W_(e);if(void 0!==e)return new Sj(e)}},Sj.prototype.read=function(){return this.value},Sj.prototype.write=function(e){this.value=e},Sj.prototype.serialize=function(){return G_(this.value)};var Pj=Sj;function Sj(e){this.localName="defaultTabStop",this.value=e}Cj.tryFromElement=function(e){if(te(e,"characterSpacingControl")){e=q_(e);if(void 0!==e)return new Cj(e)}},Cj.prototype.read=function(){return this.value},Cj.prototype.write=function(e){this.value=e},Cj.prototype.serialize=function(){return X_(this.value)};var xj=Cj;function Cj(e){this.localName="characterSpacingControl",this.value=e}Vj.prototype.serialize=function(){return this.element};var Ij=Vj;function Vj(e){this.localName=e.localName,this.element=e}kj.tryFromElement=function(e){if(mj.has(e.localName)&&te(e,e.localName)){var t=Ki(e);if(void 0!==t)return new kj(e.localName,t)}},kj.prototype.read=function(){return this.value},kj.prototype.write=function(e){this.value=e},kj.prototype.serialize=function(){return Ji(this.localName,this.value)};var Tj=kj;function kj(e,t){this.localName=e,this.value=t}Dj.prototype.protection=function(){return this.node},Dj.prototype.setProtection=function(e){this.node=e},Dj.prototype.serialize=function(){return this.node.serialize()};var Fj=Dj;function Dj(e){this.localName="documentProtection",this.node=e}Nj.prototype.template=function(){return this.node},Nj.prototype.serialize=function(){return this.node.serialize()};var Oj=Nj;function Nj(e){this.localName="attachedTemplate",this.node=e}Ej.prototype.compat=function(){return this.node},Ej.prototype.serialize=function(){return this.node.serialize()};var Aj=Ej;function Ej(e){this.localName="compat",this.node=e}Rj.prototype.props=function(){return this.node},Rj.prototype.serialize=function(){return this.node.serialize()};var Lj=Rj;function Rj(e){this.localName="footnotePr",this.node=e}_j.prototype.props=function(){return this.node},_j.prototype.serialize=function(){return this.node.serialize()};var Bj=_j;function _j(e){this.localName="endnotePr",this.node=e}function jj(e){var t;return te(e,"documentProtection")?new Fj(M_.fromElement(e)):te(e,"attachedTemplate")?new Oj(d_.fromElement(e)):te(e,"compat")?new Aj(V_.fromElement(e)):te(e,"footnotePr")?new Lj(lj.fromElement(e)):te(e,"endnotePr")?new Bj(uj.fromElement(e)):void 0!==(t=yj.tryFromElement(e))?t:void 0!==(t=bj.tryFromElement(e))?t:void 0!==(t=Pj.tryFromElement(e))?t:void 0!==(t=xj.tryFromElement(e))?t:void 0!==(t=Tj.tryFromElement(e))?t:new Ij(e)}function Mj(e,t){return e.findIndex(function(e){return e.localName===t})}function zj(e,t,r){var n=Mj(e,t);if(void 0===r)0<=n&&e.splice(n,1);else if(0<=n)e[n]=r;else{for(var i=vj.indexOf(t),o=e.length,a=0;a<e.length;a+=1){var l=e[a];if(void 0!==l){l=vj.indexOf(l.localName);if(0<=l&&(i<0||i<l)){o=a;break}}}e.splice(o,0,r)}}function Uj(e){return e.map(function(e){return e.serialize()})}var Hj,Wj,Gj,qj=M.DocumentViewType.PrintLayout;function Xj(e,t){if("number"!=typeof t||!Number.isFinite(t)||t<0)throw new ne(e+" must be a finite non-negative number")}function Yj(e){Hj=e.settingsFor,Wj=e.registerSettingsFeature,Gj=e.attachedTemplateTarget}function Zj(e){if(void 0===Hj)throw new ne("Document settings facades are not bound; load @syncfusion/ej2-docx settings feature first");return Hj(e)}Object.defineProperty(Jj.prototype,"documentViewType",{get:function(){var e=Zj(this.document).view();return void 0===e||void 0===(e=e.asDocumentViewType())?qj:e},set:function(e){Zj(this.document).setView(e)},enumerable:!0,configurable:!0}),Object.defineProperty(Jj.prototype,"zoomType",{get:function(){var e=Zj(this.document).zoom(),e=void 0===e?void 0:e.type();if(void 0===e)return M.ZoomType.None;switch(e){case"none":return M.ZoomType.None;case"fullPage":return M.ZoomType.FullPage;case"bestFit":return M.ZoomType.BestFit;case"textFit":return M.ZoomType.TextFit;default:return M.ZoomType.None}},set:function(e){var t=Zj(this.document),r=t.zoom();void 0===r?t.setZoom(hj.create(100,e)):(r.setType(e),t.setZoom(r))},enumerable:!0,configurable:!0}),Object.defineProperty(Jj.prototype,"zoomPercent",{get:function(){var e=Zj(this.document).zoom();return void 0===e||void 0===(e=e.percent())?100:e},set:function(e){Xj("zoomPercent",e);var t=Zj(this.document),r=t.zoom();void 0===r?t.setZoom(hj.create(e,M.ZoomType.None)):(r.setPercent(e),t.setZoom(r))},enumerable:!0,configurable:!0});var Kj=Jj;function Jj(e){this.document=e}Object.defineProperty(Qj.prototype,"compatibilityMode",{get:function(){return(e=Zj(this.document).compatibilityMode())===M.CompatibilityMode.Word2007?M.CompatibilityMode.Word2007:e===M.CompatibilityMode.Word2010?M.CompatibilityMode.Word2010:(M.CompatibilityMode.Word2013,M.CompatibilityMode.Word2013);var e},set:function(e){Zj(this.document).setCompatibilityMode(e)},enumerable:!0,configurable:!0}),Object.defineProperty(Qj.prototype,"displayBackgrounds",{get:function(){return!0===Zj(this.document).displayBackgroundShape()},set:function(e){Zj(this.document).setDisplayBackgroundShape(!!e||void 0)},enumerable:!0,configurable:!0});var $j=Qj;function Qj(e){this.document=e}var eM=new WeakMap,tM=new WeakMap;function rM(e){void 0!==Wj&&Wj();var t=eM.get(e);return void 0!==t||(t=new Kj(e),eM.set(e,t)),t}function nM(e){void 0!==Wj&&Wj();var t=tM.get(e);return void 0!==t||(t=new $j(e),tM.set(e,t)),t}var iM=!1;function oM(){iM||(iM=!0,void 0!==Wj&&Wj(),Object.defineProperty(Cd.prototype,"viewSetup",{configurable:!0,enumerable:!1,get:function(){return rM(this)}}),Object.defineProperty(Cd.prototype,"settings",{configurable:!0,enumerable:!1,get:function(){return nM(this)}}),Object.defineProperty(Cd.prototype,"trackRevisions",{configurable:!0,enumerable:!1,get:function(){return!0===Zj(this).trackRevisions()},set:function(e){Zj(this).setTrackRevisions(!!e||void 0)}}),Object.defineProperty(Cd.prototype,"defaultTabStop",{configurable:!0,enumerable:!1,get:function(){var e=Zj(this).defaultTabStop();return void 0===e?36:e},set:function(e){Xj("defaultTabStop",e),Zj(this).setDefaultTabStop(e)}}),Object.defineProperty(Cd.prototype,"attachedTemplate",{configurable:!0,enumerable:!1,get:function(){var e=Zj(this).attachedTemplate();if(void 0!==e)return void 0!==Gj&&Gj(this),e}}))}var aM=function(){return(aM=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},lM=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},sM=Er("web-settings"),uM="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",cM="http://purl.oclc.org/ooxml/officeDocument/relationships/webSettings",dM="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml",hM=Lt("/word/webSettings.xml"),pM=new TextDecoder("utf-8"),fM={encoding:void 0,hasFrameset:!1,divCount:0,optimizeForBrowserTarget:void 0};function vM(e,t){e=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===he||""===e.namespaceUri)});return null==e?void 0:e.value}function mM(e){var t,r,n,i,e=Ce(pM.decode(e));if(te(e,"webSettings")){var o,a,l=!1,s=0;try{for(var u=lM(re(e)),c=u.next();!c.done;c=u.next()){var d=c.value;if(te(d,"encoding"))o=vM(d,"val");else if(te(d,"frameset"))l=!0;else if(te(d,"divs"))try{for(var h=lM(re(d)),p=h.next();!p.done;p=h.next())te(p.value,"div")&&(s+=1)}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}else te(d,"optimizeForBrowser")&&(a=vM(d,"target"))}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return{encoding:o,hasFrameset:l,divCount:s,optimizeForBrowserTarget:a}}}gM.prototype.encoding=function(){return this.metadata.encoding},gM.prototype.hasFrameset=function(){return this.metadata.hasFrameset},gM.prototype.divCount=function(){return this.metadata.divCount},gM.prototype.optimizeForBrowserTarget=function(){return this.metadata.optimizeForBrowserTarget},gM.prototype.isDirty=function(){return this.dirty},gM.prototype.serialize=function(){return void 0!==this.bytes?this.bytes:new Uint8Array(0)};var yM=gM;function gM(e,t,r){this.bytes=e,this.metadata=t,this.dirty=r}var bM=!1;function wM(){bM=!1}function PM(){bM||(bM=!0,Rr({id:sM}),Yr({featureId:sM,relationshipTypes:[uM,cM],defaultRelativeTarget:"webSettings.xml",partName:hM,contentType:dM,loadPart:function(e,t){return void 0===(e=e)?new yM(void 0,aM({},fM),!1):(r=null!=(r=mM(e.data))?r:aM({},fM),new yM(e.data,r,!1));var r}}))}var SM=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},xM=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},CM=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(xM(arguments[t]));return e},IM=Er("settings"),VM="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",TM="http://purl.oclc.org/ooxml/officeDocument/relationships/settings",kM="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",FM="http://schemas.openxmlformats.org/officeDocument/2006/relationships/attachedTemplate",DM="http://purl.oclc.org/ooxml/officeDocument/relationships/attachedTemplate",OM=[FM,DM],NM=Lt("/word/settings.xml"),AM=new TextDecoder("utf-8"),EM=new TextEncoder;RM.prototype.findOnOff=function(e){var e=Mj(this.children,e);return!(e<0)&&(e=this.children[e])instanceof Tj?e:void 0},RM.prototype.setOnOff=function(e,t){zj(this.children,e,void 0===t?void 0:new Tj(e,t)),this.dirty=!0},RM.prototype.evenAndOddHeaders=function(){var e=this.findOnOff("evenAndOddHeaders");return void 0===e?void 0:e.read()},RM.prototype.setEvenAndOddHeaders=function(e){this.setOnOff("evenAndOddHeaders",e)},RM.prototype.trackRevisions=function(){var e=this.findOnOff("trackRevisions");return void 0===e?void 0:e.read()},RM.prototype.setTrackRevisions=function(e){this.setOnOff("trackRevisions",e)},RM.prototype.documentProtection=function(){var e=this.documentProtectionNode();return void 0===e?void 0:e.flags()},RM.prototype.documentProtectionNode=function(){var e=Mj(this.children,"documentProtection");return!(e<0)&&(e=this.children[e])instanceof Fj?e.protection():void 0},RM.prototype.setDocumentProtection=function(e){var t;void 0===e?zj(this.children,"documentProtection",void 0):void 0!==(t=this.documentProtectionNode())?t.applyFlags(e):zj(this.children,"documentProtection",new Fj(M_.fromFlags(e))),this.dirty=!0},RM.prototype.hasAttachedTemplate=function(){return void 0!==this.attachedTemplate()},RM.prototype.attachedTemplate=function(){var e=Mj(this.children,"attachedTemplate");return!(e<0)&&(e=this.children[e])instanceof Oj?e.template():void 0},RM.prototype.attachedTemplateRelationshipId=function(){var e=this.attachedTemplate();return void 0===e?void 0:e.id()},RM.prototype.compat=function(){var e=this,t=Mj(this.children,"compat");if(!(t<0)){var t=this.children[t];if(t instanceof Aj)return(t=t.compat()).bindDirty(function(){e.dirty=!0}),t}},RM.prototype.ensureCompat=function(){var e=this,t=this.compat();return void 0!==t||(t=V_.createEmpty(function(){e.dirty=!0}),zj(this.children,"compat",new Aj(t)),this.dirty=!0),t},RM.prototype.compatSettingNames=function(){var e=this.compat();return void 0===e?[]:e.settingNames()},RM.prototype.compatSettingCount=function(){var e=this.compat();return void 0===e?0:e.settingCount()},RM.prototype.displayBackgroundShape=function(){var e=this.findOnOff("displayBackgroundShape");return void 0===e?void 0:e.read()},RM.prototype.setDisplayBackgroundShape=function(e){this.setOnOff("displayBackgroundShape",e)},RM.prototype.view=function(){var e=Mj(this.children,"view");return!(e<0)&&(e=this.children[e])instanceof yj?e:void 0},RM.prototype.setView=function(e){void 0===e?zj(this.children,"view",void 0):e instanceof yj?zj(this.children,"view",e):zj(this.children,"view",new yj(e)),this.dirty=!0},RM.prototype.zoom=function(){var e=Mj(this.children,"zoom");return!(e<0)&&(e=this.children[e])instanceof bj?e.zoom():void 0},RM.prototype.setZoom=function(e){zj(this.children,"zoom",void 0===e?void 0:new bj(e)),this.dirty=!0},RM.prototype.footnoteProperties=function(){var e=this,t=Mj(this.children,"footnotePr");if(!(t<0)){var t=this.children[t];if(t instanceof Lj)return(t=t.props()).bindDirty(function(){e.dirty=!0}),t}},RM.prototype.ensureFootnoteProperties=function(){var e=this,t=this.footnoteProperties();return void 0!==t||((t=lj.create()).bindDirty(function(){e.dirty=!0}),zj(this.children,"footnotePr",new Lj(t)),this.dirty=!0),t},RM.prototype.setFootnoteProperties=function(e){var t=this;void 0===e?zj(this.children,"footnotePr",void 0):(e.bindDirty(function(){t.dirty=!0}),zj(this.children,"footnotePr",new Lj(e))),this.dirty=!0},RM.prototype.endnoteProperties=function(){var e=this,t=Mj(this.children,"endnotePr");if(!(t<0)){var t=this.children[t];if(t instanceof Bj)return(t=t.props()).bindDirty(function(){e.dirty=!0}),t}},RM.prototype.ensureEndnoteProperties=function(){var e=this,t=this.endnoteProperties();return void 0!==t||((t=uj.create()).bindDirty(function(){e.dirty=!0}),zj(this.children,"endnotePr",new Bj(t)),this.dirty=!0),t},RM.prototype.setEndnoteProperties=function(e){var t=this;void 0===e?zj(this.children,"endnotePr",void 0):(e.bindDirty(function(){t.dirty=!0}),zj(this.children,"endnotePr",new Bj(e))),this.dirty=!0},RM.prototype.defaultTabStop=function(){var e=Mj(this.children,"defaultTabStop");return!(e<0)&&(e=this.children[e])instanceof Pj?e.read():void 0},RM.prototype.setDefaultTabStop=function(e){zj(this.children,"defaultTabStop",void 0===e?void 0:new Pj(e)),this.dirty=!0},RM.prototype.characterSpacingControl=function(){var e=Mj(this.children,"characterSpacingControl");return!(e<0)&&(e=this.children[e])instanceof xj?e.read():void 0},RM.prototype.setCharacterSpacingControl=function(e){zj(this.children,"characterSpacingControl",void 0===e?void 0:new xj(e)),this.dirty=!0},RM.prototype.compatibilityMode=function(){var e=this.compat();return void 0===e?void 0:e.compatibilityMode()},RM.prototype.setCompatibilityMode=function(e){this.ensureCompat().setCompatibilityMode(e),this.dirty=!0},RM.prototype.noColumnBalance=function(){var e=this.compat();return void 0===e?void 0:e.noColumnBalance()},RM.prototype.setNoColumnBalance=function(e){var t;if(void 0===e)return void 0===(t=this.compat())?void 0:(t.setNoColumnBalance(void 0),void(this.dirty=!0));this.ensureCompat().setNoColumnBalance(e),this.dirty=!0},RM.prototype.isDirty=function(){return this.dirty},RM.prototype.serialize=function(){var e=b("settings",{attributes:this.rootAttributes,namespaceDeclarations:0<this.rootNamespaceDeclarations.length?this.rootNamespaceDeclarations:[{prefix:"w",namespaceUri:he}],children:Uj(this.children)});return EM.encode(Fe(e))};var LM=RM;function RM(e,t,r,n){this.rootAttributes=e,this.rootNamespaceDeclarations=t,this.children=r,this.dirty=n}function BM(){return new LM([],[],CM([new bj(hj.create(100,"none")),new Pj(36),new xj("doNotCompress"),new Aj(V_.createDefault())],re(Ce('<w:settings xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"><w:clrSchemeMapping/></w:settings>')).map(jj)),!0)}var _M=!1;function jM(){_M||(_M=!0,PM(),Rr({id:IM}),Yr({featureId:IM,relationshipTypes:[VM,TM],defaultRelativeTarget:"settings.xml",partName:NM,contentType:kM,loadPart:function(e,t){return void 0===(e=e)?BM():te(e=Ce(AM.decode(e.data)),"settings")?(r=re(e).map(jj),new LM(e.attributes,e.namespaceDeclarations,r,!1)):new LM([],[],[],!1);var r}}),_n({featureId:IM,materialize:function(e){e.featurePart(IM)instanceof LM||e.setFeaturePart(IM,BM())}}))}function MM(e){var t=e.featurePart(IM);if(t instanceof LM)return t;if(_M)return t=BM(),e.setFeaturePart(IM,t),t;throw new J("feature/not-registered","Settings part was not loaded; call registerSettingsFeature() before WordDocument.open or WordDocument.create")}function zM(e){var t=MM(e).attachedTemplateRelationshipId();if(void 0!==t){var r=function(e){var t,r,n=xr(e);try{for(var i=SM(kr(e,n).items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.type===VM||a.type===TM)return Xt(a.target,n)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}(e.opcPackage());if(void 0!==r){var n,i,e=e.opcPackage(),o=r,a=t;try{for(var l=SM(kr(e,o).items),s=l.next();!s.done;s=l.next()){var u=s.value;if(u.id===a)return-1===OM.indexOf(u.type)?void 0:u.targetMode===tr.External?u.target:Xt(u.target,o)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}}}jM(),Yj({settingsFor:MM,registerSettingsFeature:jM,attachedTemplateTarget:zM}),oM();var UM=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},HM="urn:schemas-microsoft-com:vml",WM="#_x0000_t136",GM="#_x0000_t75",qM="##_x0000_t75",XM="PowerPlusWaterMarkObject",YM="WordPictureWatermark";function ZM(e){var t,r,n=new Map;if(void 0!==e&&0!==e.length)try{for(var i=UM(e.split(";")),o=i.next();!o.done;o=i.next()){var a,l,s,u=o.value.trim();0===u.length||(a=u.indexOf(":"))<=0||(l=u.slice(0,a).trim().toLowerCase(),s=u.slice(a+1).trim(),0!==l.length&&n.set(l,s))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function KM(e,t){e=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||e.namespaceUri===HM)});return null==e?void 0:e.value}function JM(e,t){return e.namespaceUri===HM&&e.localName===t}function $M(e,t){var r,n;try{for(var i=UM(re(e)),o=i.next();!o.done;o=i.next())if(JM(o.value,t))return 1}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function QM(e,t){if("absolute"!==(null!=(r=e.get("position"))?r:"").toLowerCase())return!1;if("center"!==(null!=(r=e.get("mso-position-horizontal"))?r:"").toLowerCase())return!1;if("center"!==(null!=(r=e.get("mso-position-vertical"))?r:"").toLowerCase())return!1;if("margin"!==(null!=(r=e.get("mso-position-horizontal-relative"))?r:"").toLowerCase())return!1;if("margin"!==(null!=(r=e.get("mso-position-vertical-relative"))?r:"").toLowerCase())return!1;if(!0===(null==t?void 0:t.requireNegativeZIndexWhenPresent)){var r=e.get("z-index");if(void 0!==r){t=Number.parseFloat(r);if(!Number.isFinite(t)||0<=t)return!1}}return!0}function ez(e){return void 0!==e&&(e===GM||e===qM)}function tz(e){var t;return!!JM(e,"shape")&&!!$M(e,"textpath")&&KM(e,"type")===WM&&(!!(null!=(t=KM(e,"id"))?t:"").startsWith(XM)||QM(ZM(KM(e,"style"))))}function rz(e){var t;return!!JM(e,"shape")&&!!$M(e,"imagedata")&&!!ez(KM(e,"type"))&&(!!(null!=(t=KM(e,"id"))?t:"").startsWith(YM)||QM(ZM(KM(e,"style")),{requireNegativeZIndexWhenPresent:!0}))}var nz=new WeakMap;function iz(e){return nz.get(e)}function oz(e,t){void 0===t?nz.delete(e):nz.set(e,t)}function az(e){nz.delete(e)}lz=function(e,t){return(lz=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var lz,sz=function(e,t){function r(){this.constructor=e}lz(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},uz=function(){return(uz=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},cz=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},dz=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(cz(arguments[t]));return e},hz={TextWatermark:"TextWatermark",PictureWatermark:"PictureWatermark"},pz={Horizontal:"Horizontal",Diagonal:"Diagonal"},fz={Jpeg:"Jpeg",Png:"Png"};function vz(e,t){if("number"!=typeof t||!Number.isFinite(t))throw new RangeError(e+" must be a finite number")}function mz(e,t){if(void 0!==t){if(vz(e,t),t<=0)throw new RangeError(e+" must be greater than zero");return t}}var yz=new Set(ua(pz)),gz=new Set(ua(fz));function bz(e){if(yz.has(e))return e;throw new RangeError("layout must be Horizontal or Diagonal")}function wz(e){if(gz.has(e))return e;throw new RangeError("imageType must be Jpeg or Png")}function Pz(e){var t=new Uint8Array(e.byteLength);return t.set(e),t}function Sz(e){var t;if(void 0!==e)return t={},void 0!==e.shapeId&&(t.shapeId=e.shapeId),void 0!==e.shapeType&&(t.shapeType=e.shapeType),void 0!==e.styleAttribute&&(t.styleAttribute=e.styleAttribute),void 0!==e.fillcolor&&(t.fillcolor=e.fillcolor),void 0!==e.extraShapeAttributes&&(t.extraShapeAttributes=uz({},e.extraShapeAttributes)),void 0!==e.extraChildXml&&(t.extraChildXml=dz(e.extraChildXml)),void 0!==e.fillOpacity&&(t.fillOpacity=e.fillOpacity),void 0!==e.unresolvedImageNote&&(t.unresolvedImageNote=e.unresolvedImageNote),void 0!==e.extensions&&(t.extensions=uz({},e.extensions)),t}Object.defineProperty(Cz.prototype,"type",{get:function(){return this.typeValue},enumerable:!0,configurable:!0});var xz=Cz;function Cz(e){this.typeValue=e}sz(Tz,Iz=xz),Object.defineProperty(Tz.prototype,"text",{get:function(){return this.textValue},set:function(e){this.textValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Tz.prototype,"fontName",{get:function(){return this.fontNameValue},set:function(e){this.fontNameValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Tz.prototype,"size",{get:function(){return this.sizeValue},set:function(e){if(vz("size",e),e<=0)throw new RangeError("size must be greater than zero");this.sizeValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Tz.prototype,"color",{get:function(){return this.colorValue},set:function(e){this.colorValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Tz.prototype,"semitransparent",{get:function(){return"opaque"!==this.semitransparentState},set:function(e){this.semitransparentState=e?"transparent":"opaque"},enumerable:!0,configurable:!0}),Object.defineProperty(Tz.prototype,"layout",{get:function(){return void 0!==this.customRotationDegreesValue?pz.Diagonal:this.layoutValue},set:function(e){this.layoutValue=bz(e),this.customRotationDegreesValue=void 0},enumerable:!0,configurable:!0}),Object.defineProperty(Tz.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=mz("width",e)},enumerable:!0,configurable:!0}),Object.defineProperty(Tz.prototype,"height",{get:function(){return this.heightValue},set:function(e){this.heightValue=mz("height",e)},enumerable:!0,configurable:!0}),Tz.prototype.getSemitransparentState=function(){return this.semitransparentState},Tz.prototype.setSemitransparentState=function(e){this.semitransparentState=e},Tz.prototype.getCustomRotationDegrees=function(){return this.customRotationDegreesValue},Tz.prototype.setCustomRotationDegrees=function(e){void 0===e?this.customRotationDegreesValue=void 0:(vz("customRotationDegrees",e),this.customRotationDegreesValue=e)},Tz.prototype.getParseResidual=function(){return this.parseResidualValue},Tz.prototype.setParseResidual=function(e){this.parseResidualValue=e},Tz.prototype.clone=function(){var e={fontName:this.fontNameValue,size:this.sizeValue,color:this.colorValue,layout:this.layoutValue,semitransparent:"opaque"!==this.semitransparentState},e=(void 0!==this.widthValue&&(e.width=this.widthValue),void 0!==this.heightValue&&(e.height=this.heightValue),new Tz(this.textValue,e));return e.semitransparentState=this.semitransparentState,e.customRotationDegreesValue=this.customRotationDegreesValue,e.parseResidualValue=Sz(this.parseResidualValue),e};var Iz,Vz=Tz;function Tz(e,t){var r=Iz.call(this,hz.TextWatermark)||this;if(r.textValue="",r.fontNameValue="Times New Roman",r.sizeValue=36,r.colorValue="#808080",r.layoutValue=pz.Diagonal,r.semitransparentState="transparent",void 0!==e&&(r.textValue=e),void 0!==t){if(void 0!==t.fontName&&(r.fontNameValue=t.fontName),void 0!==t.size){if(vz("size",t.size),t.size<=0)throw new RangeError("size must be greater than zero");r.sizeValue=t.size}void 0!==t.color&&(r.colorValue=t.color),void 0!==t.semitransparent&&(r.semitransparentState=t.semitransparent?"transparent":"opaque"),void 0!==t.layout&&(r.layoutValue=bz(t.layout)),void 0!==t.width&&(r.widthValue=mz("width",t.width)),void 0!==t.height&&(r.heightValue=mz("height",t.height))}return r}sz(Dz,kz=xz),Object.defineProperty(Dz.prototype,"imageData",{get:function(){if(void 0!==this.imageDataValue)return Pz(this.imageDataValue)},set:function(e){this.imageDataValue=void 0===e?void 0:Pz(e)},enumerable:!0,configurable:!0}),Object.defineProperty(Dz.prototype,"imageType",{get:function(){return this.imageTypeValue},set:function(e){this.imageTypeValue=void 0===e?void 0:wz(e)},enumerable:!0,configurable:!0}),Object.defineProperty(Dz.prototype,"scaling",{get:function(){return this.scalingValue},set:function(e){if(vz("scaling",e),e<=0)throw new RangeError("scaling must be greater than zero");this.scalingValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Dz.prototype,"washout",{get:function(){return this.washoutValue},set:function(e){this.washoutValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(Dz.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=mz("width",e)},enumerable:!0,configurable:!0}),Object.defineProperty(Dz.prototype,"height",{get:function(){return this.heightValue},set:function(e){this.heightValue=mz("height",e)},enumerable:!0,configurable:!0}),Dz.prototype.loadPicture=function(e,t){this.imageDataValue=Pz(e),void 0!==t&&(this.imageTypeValue=wz(t))},Dz.prototype.getParseResidual=function(){return this.parseResidualValue},Dz.prototype.setParseResidual=function(e){this.parseResidualValue=e},Dz.prototype.clone=function(){var e={scaling:this.scalingValue,washout:this.washoutValue},e=(void 0!==this.imageTypeValue&&(e.imageType=this.imageTypeValue),void 0!==this.widthValue&&(e.width=this.widthValue),void 0!==this.heightValue&&(e.height=this.heightValue),void 0===this.imageDataValue?new Dz(void 0,e):new Dz(this.imageDataValue,e));return e.parseResidualValue=Sz(this.parseResidualValue),e};var kz,Fz=Dz;function Dz(e,t){var r=kz.call(this,hz.PictureWatermark)||this;if(r.scalingValue=100,r.washoutValue=!0,void 0!==e&&(r.imageDataValue=Pz(e)),void 0!==t){if(void 0!==t.imageType&&(r.imageTypeValue=wz(t.imageType)),void 0!==t.scaling){if(vz("scaling",t.scaling),t.scaling<=0)throw new RangeError("scaling must be greater than zero");r.scalingValue=t.scaling}void 0!==t.washout&&(r.washoutValue=t.washout),void 0!==t.width&&(r.widthValue=mz("width",t.width)),void 0!==t.height&&(r.heightValue=mz("height",t.height))}return r}var Oz=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Nz=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Az="urn:schemas-microsoft-com:office:office",Ez="http://schemas.openxmlformats.org/officeDocument/2006/relationships",Lz=new Set([a1,Nk]),Rz=new Set(["id","type","style","fillcolor","stroked","filled"]),Bz=new Set(["position","margin-left","margin-top","width","height","rotation","z-index","mso-position-horizontal","mso-position-horizontal-relative","mso-position-vertical","mso-position-vertical-relative"]),_z=new Set(["font-family","font-size"]),jz=new WeakMap,Mz=new WeakSet,zz=new WeakSet;function Uz(e){Mz.add(e),zz.add(e),jz.has(e)||jz.set(e,{physicalByPartKey:new Map,completed:!0})}function Hz(e){void 0!==e&&(jz.delete(e),Mz.delete(e),zz.delete(e))}function Wz(e,t,r){e=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r});return null==e?void 0:e.value}function Gz(e,t){var r,n;try{for(var i=Oz(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(JM(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function qz(e,t){var r,n,i={},o=!1;try{for(var a=Oz(e),l=a.next();!l.done;l=a.next()){var s=Nz(l.value,2),u=s[0],c=s[1];t.has(u)||(i[u]=c,o=!0)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o?i:void 0}function Xz(e){return""!==e.prefix?e.prefix+":"+e.localName:""!==e.namespaceUri&&e.namespaceUri!==HM?"{"+e.namespaceUri+"}"+e.localName:e.localName}function Yz(e){var t;if(void 0!==e)return null===(t=/^([+-]?(?:\d+(?:\.\d*)?|\.\d+))\s*pt$/i.exec(e.trim()))?(e=Number.parseFloat(e),Number.isFinite(e)?e:void 0):(e=Number.parseFloat(null!=t[1]?t[1]:""),Number.isFinite(e)?e:void 0)}function Zz(e,t,r,R,n,i,o){var a,l,s,u,c,d,h=[],p=!1,B=!1,_=!1;try{for(var f=Oz(re(e)),v=f.next();!v.done;v=f.next()){var m=v.value;JM(m,"textpath")&&!p?p=!0:JM(m,"fill")&&!B?B=!0:JM(m,"imagedata")&&!_?_=!0:h.push(Fe(m))}}catch(e){V={error:e}}finally{try{v&&!v.done&&(P=f.return)&&P.call(f)}finally{if(V)throw V.error}}var y={};try{for(var g=Oz(e.attributes),b=g.next();!b.done;b=g.next())(""===(F=b.value).namespaceUri||F.namespaceUri===HM)&&Rz.has(F.localName)||(y[Xz(F)]=F.value)}catch(e){E={error:e}}finally{try{b&&!b.done&&(A=g.return)&&A.call(g)}finally{if(E)throw E.error}}var w={},P=qz(t,Bz);if(void 0!==P)try{for(var S=Oz(ca(P)),x=S.next();!x.done;x=S.next()){var j=Nz(x.value,2),M=j[0],z=j[1];w["style."+M]=z}}catch(e){N={error:e}}finally{try{x&&!x.done&&(L=S.return)&&L.call(S)}finally{if(N)throw N.error}}if(void 0!==r){var U=new Set(["string","on","style"]);try{for(var C=Oz(r.attributes),I=C.next();!I.done;I=C.next())(""===(F=I.value).namespaceUri||F.namespaceUri===HM)&&U.has(F.localName)||(w["textpath."+Xz(F)]=F.value)}catch(e){a={error:e}}finally{try{I&&!I.done&&(l=C.return)&&l.call(C)}finally{if(a)throw a.error}}var V=qz(R,_z);if(void 0!==V)try{for(var T=Oz(ca(V)),k=T.next();!k.done;k=T.next()){var H=Nz(k.value,2),M=H[0],z=H[1];w["textpathStyle."+M]=z}}catch(e){s={error:e}}finally{try{k&&!k.done&&(u=T.return)&&u.call(T)}finally{if(s)throw s.error}}}if(void 0!==i){var W=new Set(["id","gain","blacklevel"]);try{for(var F,D=Oz(i.attributes),O=D.next();!O.done;O=D.next())(F=O.value).namespaceUri===Ez&&"id"===F.localName||((""===F.namespaceUri||F.namespaceUri===HM||F.namespaceUri===Az)&&W.has(F.localName)?"gain"!==F.localName&&"blacklevel"!==F.localName||(w["imagedata."+F.localName]=F.value):w["imagedata."+Xz(F)]=F.value)}catch(e){c={error:e}}finally{try{O&&!O.done&&(d=D.return)&&d.call(D)}finally{if(c)throw c.error}}}var N,A={},E=KM(e,"id"),t=(void 0!==E&&(A.shapeId=E),KM(e,"type")),P=(void 0!==t&&(A.shapeType=t),KM(e,"style")),L=(void 0!==P&&(A.styleAttribute=P),KM(e,"fillcolor"));return void 0!==L&&(A.fillcolor=L),0<Object.keys(y).length&&(A.extraShapeAttributes=y),0<h.length&&(A.extraChildXml=h),void 0!==n&&(A.fillOpacity=n),void 0!==i&&void 0!==(N=Wz(i,Ez,"id"))&&(A.imageRelationshipId=N),void 0!==o&&(A.unresolvedImageNote=o),0<Object.keys(w).length&&(A.extensions=w),A}function Kz(e,t,r){e.setParseResidual(t),void 0!==r&&e.setCustomRotationDegrees(r)}function Jz(e,t){e.setParseResidual(t)}function $z(e){var t=ZM(KM(e,"style")),r=Gz(e,"textpath"),n=ZM(void 0===r?void 0:KM(r,"style")),i=void 0!==r&&null!=(i=KM(r,"string"))?i:"",o=n.get("font-family"),o=void 0===o?void 0:o=(o=(o=o).trim()).startsWith('"')&&o.endsWith('"')||o.startsWith("'")&&o.endsWith("'")?o.slice(1,-1):o,a=Yz(n.get("font-size")),l=KM(e,"fillcolor"),s=Yz(t.get("width")),u=Yz(t.get("height")),c=function(e){var e=e.get("rotation");if(void 0!==e&&""!==e.trim())return e=Number.parseFloat(e),Number.isFinite(e)?e:void 0}(t),c=void 0===(c=c)||0===c?{layout:pz.Horizontal,customRotation:void 0}:315===c?{layout:pz.Diagonal,customRotation:void 0}:{layout:pz.Diagonal,customRotation:c},d=c.layout,c=c.customRotation,h=function(e){if(void 0===(e=Gz(e,"fill")))return{state:"unknown",fillOpacity:void 0};if(void 0===(e=KM(e,"opacity"))||""===e.trim())return{state:"unknown",fillOpacity:void 0};var t=e.trim().toLowerCase();if("1"===t||"1.0"===t||"100%"===t||"65536f"===t)return{state:"opaque",fillOpacity:e};if(t=Number.parseFloat(t),Number.isFinite(t)){if(t<1)return{state:"transparent",fillOpacity:e};if(1===t)return{state:"opaque",fillOpacity:e}}return{state:"unknown",fillOpacity:e}}(e),p=h.state,h=h.fillOpacity,d={layout:d},o=(void 0!==o&&0<o.length&&(d.fontName=o),void 0!==a&&0<a&&(d.size=a),void 0!==l&&(d.color=l),void 0!==s&&0<s&&(d.width=s),void 0!==u&&0<u&&(d.height=u),new Vz(i,d)),a=(o.setSemitransparentState(p),Zz(e,t,r,n,h,void 0,void 0));return Kz(o,a,c),o}function Qz(e,t,r){var n=Wz(r,Ez,"id");if(void 0===n||0===n.length)return{bytes:void 0,imageType:void 0,unresolvedNote:"missing-r-id",relationshipId:void 0};if(void 0===e)return{bytes:void 0,imageType:void 0,unresolvedNote:"no-package",relationshipId:n};try{o=kr(e,t)}catch(e){return{bytes:void 0,imageType:void 0,unresolvedNote:"no-header-rels",relationshipId:n}}var i,r=o.items.find(function(e){return e.id===n});if(void 0===r)return{bytes:void 0,imageType:void 0,unresolvedNote:"missing-rel:"+n,relationshipId:n};if(Lz.has(r.type),/^https?:/i.test(r.target)||/^mailto:/i.test(r.target))return{bytes:void 0,imageType:void 0,unresolvedNote:"external-target",relationshipId:n};try{i=Xt(r.target,t)}catch(e){return{bytes:void 0,imageType:void 0,unresolvedNote:"bad-target",relationshipId:n}}var o=Tr(e,i);return void 0===o?{bytes:void 0,imageType:void 0,unresolvedNote:"missing-part:"+i,relationshipId:n}:{bytes:o.data,imageType:function(e){if(void 0!==e)return(e=e.toLowerCase())===YF||"image/jpg"===e?fz.Jpeg:e===XF?fz.Png:void 0}(o.contentType),unresolvedNote:void 0,relationshipId:n}}function e2(e,t,r){var n=ZM(KM(e,"style")),i=Gz(e,"imagedata"),o=Yz(n.get("width")),a=Yz(n.get("height")),l=void 0!==i&&(s=null!=(s=null!=(s=KM(l=i,"gain"))?s:Wz(l,Az,"gain"))?s:Wz(l,"","gain"),u=null!=(u=null!=(u=KM(l,"blacklevel"))?u:Wz(l,Az,"blacklevel"))?u:Wz(l,"","blacklevel"),void 0!==s)&&void 0!==u,s=void 0===i?{bytes:void 0,imageType:void 0,unresolvedNote:"missing-imagedata",relationshipId:void 0}:Qz(t,r,i),u={washout:l},t=(void 0!==s.imageType&&(u.imageType=s.imageType),void 0!==o&&0<o&&(u.width=o),void 0!==a&&0<a&&(u.height=a),new Fz(s.bytes,u)),r=(void 0===s.bytes&&(t.imageData=void 0),Zz(e,n,void 0,new Map,void 0,i,s.unresolvedNote));return Jz(t,r),t}function t2(e,t){var r,n;if(te(e,"pict"))t(e);else try{for(var i=Oz(re(e)),o=i.next();!o.done;o=i.next())t2(o.value,t)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function r2(e,a,l){var s,t,r,n,i,o=function(e){var t,r;if(void 0===s)try{for(var n=Oz(function(e){var t,r,n=[];try{for(var i=Oz(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;JM(a,"shape")&&n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(tz(o))return void(s=$z(o));if(rz(o))return void(s=e2(o,a,l))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}};try{for(var u=Oz(e),c=u.next();!c.done;c=u.next()){var d=c.value;if("opaque"===d.type)t2(d.xml,o);else if("paragraph"===d.type)try{for(var h=Oz(d.paragraph.items),p=h.next();!p.done;p=h.next()){var f=p.value;(f instanceof gu||f instanceof pu)&&t2(f.xml,o)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return s}function n2(t){var r,e;if(!Mz.has(t)){Mz.add(t);var n,i,o=new Map;try{n=VA(t)}catch(e){return void jz.set(t,{physicalByPartKey:o,completed:!0})}try{i=t.opcPackage()}catch(e){i=void 0}var a=new Set;try{for(var l=Oz(n.relationshipIds("header")),s=l.next();!s.done;s=l.next()){var u,c,d=s.value,h=n.entryForRelationship(d);void 0===h||(u=$(h.partName),a.has(u))||(a.add(u),void 0!==(c=r2(h.blocks,i,h.partName))&&o.set(u,c))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(e=l.return)&&e.call(l)}finally{if(r)throw r.error}}jz.set(t,{physicalByPartKey:o,completed:!0})}}function i2(t,e,r){if(!zz.has(t))if(void 0!==e())zz.add(t);else{e=jz.get(t);if(void 0!==e){var n=FA(t);if(void 0!==n){try{i=VA(t)}catch(e){return void zz.add(t)}var i=i.entryForRelationship(n.relationshipId);void 0!==i&&void 0!==(n=e.physicalByPartKey.get($(i.partName)))&&r(n)}zz.add(t)}}}function o2(e,t,r){n2(e),i2(e,t,r)}var a2=function(){return(a2=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Q=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},l2=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},s2=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l2(arguments[t]));return e},u2=Er("watermark"),c2="urn:schemas-microsoft-com:office:office",d2="http://schemas.openxmlformats.org/officeDocument/2006/relationships",h2=[a1,Nk],p2="19661f",f2="22938f",v2=["default","even","first"],m2=new WeakSet,y2=(g2.prototype.isDirty=function(){return this.dirtyValue},g2.prototype.stageMedia=function(e){this.mediaParts.push(e),this.dirtyValue=!0},g2.prototype.stageHeaderRel=function(e,t){this.headerRels.push({headerPartName:e,relationship:t}),this.dirtyValue=!0},g2.prototype.stagedHeaderRelIds=function(e){var t,r,n=$(e),i=new Set;try{for(var o=Q(this.headerRels),a=o.next();!a.done;a=o.next()){var l=a.value;$(l.headerPartName)===n&&i.add(l.relationship.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},g2.prototype.stageHeaderImageRelFilter=function(e,t){this.headerImageRelFilters.push({headerPartName:e,referencedIds:t}),this.dirtyValue=!0},g2.prototype.stageMediaRemoval=function(e){var t=$(e);this.mediaRemovals.some(function(e){return $(e)===t})||(this.mediaRemovals.push(e),this.dirtyValue=!0)},g2.prototype.clear=function(){this.mediaParts=[],this.headerRels=[],this.headerImageRelFilters=[],this.mediaRemovals=[],this.dirtyValue=!1},g2.prototype.applyToPackage=function(e){var t,r,n,i,o,a,l,s,u,c,d,h;if(!this.dirtyValue)return e;var p=e;try{for(var f=Q(this.mediaParts),v=f.next();!v.done;v=f.next()){var m=v.value,y={name:m.partName,contentType:m.contentType,data:m.data};p=Or(p=Dr(p,y),m.partName,m.contentType)}}catch(e){t={error:e}}finally{try{v&&!v.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}var g=new Map;try{for(var b=Q(this.headerRels),w=b.next();!w.done;w=b.next()){var P=w.value,S=$(P.headerPartName);void 0===(I=g.get(S))&&(I={partName:P.headerPartName,rels:[]},g.set(S,I)),I.rels.push(P.relationship)}}catch(e){n={error:e}}finally{try{w&&!w.done&&(i=b.return)&&i.call(b)}finally{if(n)throw n.error}}try{for(var x=Q(g.values()),C=x.next();!C.done;C=x.next()){var I=C.value,V=kr(p,I.partName),T=new Set(V.items.map(function(e){return e.id})),k=s2(V.items);try{for(var F=Q(I.rels),D=F.next();!D.done;D=F.next())!function(t){if(k.some(function(e){return e.type===t.type&&e.target===t.target}))return;for(var e=t.id;T.has(e);)e=ir(T);T.add(e),k.push(a2({},t,{id:e}))}(D.value)}catch(e){l={error:e}}finally{try{D&&!D.done&&(s=F.return)&&s.call(F)}finally{if(l)throw l.error}}p=Nr(p,I.partName,hr(k,V.opaque))}}catch(e){o={error:e}}finally{try{C&&!C.done&&(a=x.return)&&a.call(x)}finally{if(o)throw o.error}}function R(t){var e,r,n,i;e=p,r=t.headerPartName,n=function(e){return!b2(e.type)||t.referencedIds.has(e.id)},i=kr(e,r),n=i.items.filter(n),p=n.length!==i.items.length?Nr(e,r,hr(n,i.opaque)):e}try{for(var O=Q(this.headerImageRelFilters),N=O.next();!N.done;N=O.next())R(N.value)}catch(e){u={error:e}}finally{try{N&&!N.done&&(c=O.return)&&c.call(O)}finally{if(u)throw u.error}}try{for(var A=Q(this.mediaRemovals),E=A.next();!E.done;E=A.next()){var L=E.value;!function(e,t){function r(e,t){if("External"!==e.targetMode)try{return $(Xt(e.target,t))===u}catch(e){return}}var n,i,o,a,l,s,u=$(t);try{for(var c=Q(e.packageRelationships.items),d=c.next();!d.done;d=c.next()){var h=d.value;if(r(h))return 1}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}try{for(var p=Q(e.partRelationships),f=p.next();!f.done;f=p.next()){var v=f.value;try{for(var m=Q(v.relationships.items),y=m.next();!y.done;y=m.next()){h=y.value;if(r(h,v.source))return 1}}catch(e){l={error:e}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(l)throw l.error}}}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}return}(p,L)&&(p=function(e,t){return a2({},e,{contentTypes:{records:e.contentTypes.records.filter(function(e){return!("override"===e.kind&&e.partName===t)})}})}(p=function(e,t){var r=$(t),t=e.parts.filter(function(e){return $(e.name)!==r});return t.length!==e.parts.length?a2({},e,{parts:t}):e}(p,L),L))}}catch(e){d={error:e}}finally{try{E&&!E.done&&(h=A.return)&&h.call(A)}finally{if(d)throw d.error}}return this.clear(),p},g2);function g2(){this.dirtyValue=!1,this.mediaParts=[],this.headerRels=[],this.headerImageRelFilters=[],this.mediaRemovals=[]}function b2(e){return-1!==h2.indexOf(e)}function w2(e){m2.add(e)}function P2(e){return m2.has(e)}function S2(e){m2.delete(e)}function x2(e){var t=e.featurePart(u2);return t instanceof y2||(t=new y2,e.setFeaturePart(u2,t)),t}function C2(e){var t,r,n=new Set;try{for(var i=Q(e.opcPackage().parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add($(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function I2(e){var t,r=[];try{for(var n=Q(e.listBlocks()),i=n.next();!i.done;i=n.next()){var o,a=i.value;"paragraph"===a.type&&void 0!==(o=UN(a.paragraph))&&r.push(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(l=n.return)&&l.call(n)}finally{if(t)throw t.error}}var l=MN(e);return void 0!==l&&r.push(l),r}function V2(e,t){var r,n,i,o,a=function(e){var t,r,n=Lt("/word/document.xml"),i=new Set;try{for(var o=Q(kr(e.opcPackage(),n).items),a=o.next();!a.done;a=o.next()){var l=a.value;i.add(l.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}(e),l=C2(e);try{for(var s=Q(I2(e)),u=s.next();!u.done;u=s.next()){var c=u.value;try{for(var d=Q(v2),h=d.next();!h.done;h=d.next()){var p=h.value,f=t.ensurePart("header",c,p,a,l).relationshipId;c.setHeaderFooterReference("header",p,f),a.add(f)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}function T2(e){var t,r;try{for(var n=Q(function(e){var t,r,n=[];try{for(var i=Q(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;JM(a,"shape")&&n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(tz(o)||rz(o))return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1}function k2(e){var t,r;if(te(e,"pict"))return T2(e);try{for(var n=Q(re(e)),i=n.next();!i.done;i=n.next())if(k2(i.value))return!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1}function F2(e){return e instanceof gu&&k2(e.xml)}function D2(e){e=e.items;return 0===e.length||e.every(F2)}function O2(e){function d(e){var t,r,n,i;try{for(var o=Q(e.attributes),a=o.next();!a.done;a=o.next()){var l=a.value;"id"!==l.localName||l.namespaceUri!==d2&&"r"!==l.prefix||h.add(l.value),l.namespaceUri!==d2||"embed"!==l.localName&&"link"!==l.localName||h.add(l.value)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}try{for(var s=Q(re(e)),u=s.next();!u.done;u=s.next()){var c=u.value;d(c)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}var t,r,n,i,h=new Set;try{for(var o=Q(e.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;if("opaque"===l.type)d(l.xml);else if("paragraph"===l.type){try{for(var s=Q(l.paragraph.items),u=s.next();!u.done;u=s.next()){var c=u.value;(c instanceof gu||c instanceof pu)&&d(c.xml)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}try{d(l.paragraph.toOpenXml())}catch(e){}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return h}function N2(e,t,r,n){var i,o,a,l,s=x2(e),u=O2(r);try{for(var c=Q(s.stagedHeaderRelIds(t)),d=c.next();!d.done;d=c.next()){var h=d.value;u.add(h)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}s.stageHeaderImageRelFilter(t,u);var p=e.opcPackage(),r=kr(p,t);try{for(var f=Q(r.items),v=f.next();!v.done;v=f.next()){var m=v.value;if(b2(m.type)&&!u.has(m.id))try{var y=Xt(m.target,t);n.has($(y))||void 0!==Tr(p,y)&&s.stageMediaRemoval(y)}catch(e){}}}catch(e){a={error:e}}finally{try{v&&!v.done&&(l=f.return)&&l.call(f)}finally{if(a)throw a.error}}}function A2(e,t){return{namespaceUri:"",localName:e,prefix:"",value:t}}function E2(e,t){return{kind:"element",namespaceUri:HM,localName:e,prefix:"v",attributes:null!=(e=null==t?void 0:t.attributes)?e:[],namespaceDeclarations:null!=(e=null==t?void 0:t.namespaceDeclarations)?e:[],children:null!=(e=null==t?void 0:t.children)?e:[]}}function L2(e){return Number.isInteger(e)?String(e):String(Math.round(1e3*e)/1e3)}function R2(e){var t={width:null!=(t=e).width?t.width:250,height:null!=t.height?t.height:100},r=t.width,t=t.height,n=void 0!==(n=(e=e).getCustomRotationDegrees())?n:e.layout===pz.Horizontal?0:315;return["position:absolute","margin-left:0","margin-top:0","width:"+L2(r)+"pt","height:"+L2(t)+"pt","rotation:"+L2(n),"z-index:-251658752","mso-position-horizontal:center","mso-position-horizontal-relative:margin","mso-position-vertical:center","mso-position-vertical-relative:margin"].join(";")}function B2(e,t,r){var n,i;if(void 0===(null==t?void 0:t.extraShapeAttributes))return e;var o=s2(e),a=new Set(e.map(function(e){return e.localName}));try{for(var l=Q(ca(t.extraShapeAttributes)),s=l.next();!s.done;s=l.next()){var u=l2(s.value,2),c=u[0],d=u[1];r.has(c)||a.has(c)||(o.push(A2(c,d)),a.add(c))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return o}function _2(e){var t,r;if(void 0===(null==e?void 0:e.extraChildXml)||0===e.extraChildXml.length)return[];var n=[];try{for(var i=Q(e.extraChildXml),o=i.next();!o.done;o=i.next()){var a=o.value;try{n.push(Ce(a))}catch(e){}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function j2(e,t){var r,n,i=e.getParseResidual(),o=new Set(["id","type","style","fillcolor","stroked","filled"]),t=B2([A2("id",t),A2("type",WM),A2("style",R2(e)),A2("fillcolor",e.color),A2("stroked","f")],i,o),a=[];e.semitransparent?a.push(E2("fill",{attributes:[A2("opacity",".5")]})):a.push(E2("fill",{attributes:[A2("opacity","1")]})),a.push(E2("textpath",{attributes:[A2("on","t"),A2("string",e.text),A2("style",'font-family:"'+(o=e).fontName.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'";font-size:'+L2(o.size)+"pt")]}));try{for(var l=Q(_2(i)),s=l.next();!s.done;s=l.next()){var u=s.value;"element"===u.kind&&JM(u,"fill")||"element"===u.kind&&JM(u,"textpath")||a.push(u)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return b("pict",{children:[E2("shape",{attributes:t,children:a,namespaceDeclarations:[{prefix:"v",namespaceUri:HM},{prefix:"o",namespaceUri:c2},{prefix:"r",namespaceUri:d2}]})]})}function M2(e){var t=function(e){if(void 0!==(e=e.imageData)){e=KF(e);if(void 0!==e)return{width:.75*e.width,height:.75*e.height}}return{width:100,height:100}}(e),r=e.width,n=e.height;return void 0!==r&&void 0!==n?{width:r,height:n}:void 0!==r?{width:r,height:r*(t.height/(0===t.width?1:t.width))}:void 0!==n?{width:n*(t.width/(0===t.height?1:t.height)),height:n}:(r=e.scaling/100,{width:t.width*r,height:t.height*r})}function z2(e){return e1(e)}function U2(e,t,r){var n,i,o=e.getParseResidual(),a=new Set(["id","type","style","filled","stroked","fillcolor"]),l=B2([A2("id",t),A2("type",GM),A2("style",(l=(t=M2(t=e)).width,t=t.height,["position:absolute","margin-left:0","margin-top:0","width:"+L2(l)+"pt","height:"+L2(t)+"pt","z-index:-1","mso-position-horizontal:center","mso-position-horizontal-relative:margin","mso-position-vertical:center","mso-position-vertical-relative:margin"].join(";"))),A2("filled","f"),A2("stroked","f")],o,a),t=[{namespaceUri:d2,localName:"id",prefix:"r",value:r},{namespaceUri:c2,localName:"title",prefix:"o",value:""}],s=(e.washout&&(t.push(A2("gain",p2)),t.push(A2("blacklevel",f2))),[E2("imagedata",{attributes:t})]);try{for(var u=Q(_2(o)),c=u.next();!c.done;c=u.next()){var d=c.value;"element"===d.kind&&JM(d,"imagedata")||s.push(d)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return b("pict",{children:[E2("shape",{attributes:l,children:s,namespaceDeclarations:[{prefix:"v",namespaceUri:HM},{prefix:"o",namespaceUri:c2},{prefix:"r",namespaceUri:d2}]})]})}function H2(h){function e(e){var t,r,n,i,e=h.entryForRelationship(e);if(void 0!==e)try{for(var o=Q(e.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;if("opaque"===l.type)d(l.xml);else if("paragraph"===l.type)try{for(var s=Q(l.paragraph.items),u=s.next();!u.done;u=s.next()){var c=u.value;(c instanceof gu||c instanceof pu)&&d(c.xml)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}function d(e){var t,r,n;JM(e,"shape")&&void 0!==(n=e.attributes.find(function(e){return"id"===e.localName}))&&p.add(n.value);try{for(var i=Q(re(e)),o=i.next();!o.done;o=i.next()){var a=o.value;d(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}}var t,r,p=new Set;try{for(var n=Q(h.relationshipIds("header")),i=n.next();!i.done;i=n.next())e(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return p}function W2(e,t){for(var r=1;t.has(""+e+String(r));)r+=1;var n=""+e+String(r);return t.add(n),n}function G2(e,t,r){e.appendParagraphForRelationship(t).appendParagraphItem(new gu(r))}function q2(e,t,r){var n,i,o,a,l,s,u=function(e){var t=e.imageData;if(void 0===t||0===t.byteLength)throw new J("content/invalid-image","Picture watermark has no image bytes to serialize");if(void 0!==(t=JF(t)))return t;if(e.imageType===fz.Jpeg)return YF;if(e.imageType===fz.Png)return XF;throw new J("content/invalid-image","Picture watermark image bytes are not a supported JPEG or PNG payload")}(t),c=t.imageData;if(void 0===c||0===c.byteLength)throw new J("content/invalid-image","Picture watermark has no image bytes to serialize");var d,h=e.opcPackage(),t=C2(e),p=z2(c);try{for(var f=Q(h.parts),v=f.next();!v.done;v=f.next()){var m=v.value;if(m.contentType===u&&(String(m.name).includes("/word/media/")&&m.data.byteLength===c.byteLength&&z2(m.data)===p)){d=m.name;break}}}catch(e){n={error:e}}finally{try{v&&!v.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}var y=x2(e),g=(void 0===d&&(d=function(e,t){for(var r=e===YF?"jpeg":"png",n=1;t.has($(Lt("/word/media/image"+String(n)+"."+r)));)n+=1;return Lt("/word/media/image"+String(n)+"."+r)}(u,t),t.add($(d)),y.stageMedia({partName:d,contentType:u,data:c})),new Map),b=d.slice("/word/".length);try{for(var w=Q(r),P=w.next();!P.done;P=w.next()){var S=P.value,x=$(S);if(!g.has(x)){var C=kr(h,S),I=C.items.find(function(e){return e.type===a1&&e.target===b}),V=void 0;if(void 0!==I)V=I.id;else{var T=new Set(C.items.map(function(e){return e.id}));try{for(var k=Q(g.values()),F=k.next();!F.done;F=k.next()){var D=F.value;T.add(D)}}catch(e){l={error:e}}finally{try{F&&!F.done&&(s=k.return)&&s.call(k)}finally{if(l)throw l.error}}var O={id:V=ir(T),type:a1,target:b,extraAttributes:[],children:[]};y.stageHeaderRel(S,O)}g.set(x,V)}}}catch(e){o={error:e}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(o)throw o.error}}return{relIdByHeaderPartKey:g,contentType:u,data:c,mediaPartName:d}}function X2(e){var t,R,r,B,n,_,i,j,o,M,a,z,U,l;if(P2(e)){try{l=VA(e)}catch(e){return}var s=iz(e),u=(void 0!==s&&V2(e,l),function(e,t){var r,n,i,o,a=new Set,l=[];try{for(var s=Q(I2(e)),u=s.next();!u.done;u=s.next()){var c=u.value;try{for(var d=Q(v2),h=d.next();!h.done;h=d.next()){var p,f,v=h.value,m=c.headerFooterReferenceId("header",v);void 0===m||void 0===(p=t.entryForRelationship(m))||(f=$(p.partName),a.has(f))||(a.add(f),l.push({relationshipId:m,partName:p.partName}))}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return l}(e,l)),H=H2(l),c=new Set;try{for(var d=Q(u),h=d.next();!h.done;h=d.next()){var p=h.value,f=l.entryForRelationship(p.relationshipId);if(void 0!==f){W=I=C=x=S=P=w=b=g=m=v=y=void 0;var v,m,y=f,g=[],b=!1;try{for(var w=Q(y.blocks),P=w.next();!P.done;P=w.next()){var S=P.value;if("opaque"===S.type)k2(S.xml)?b=!0:g.push(S);else if("paragraph"!==S.type)g.push(S);else{var x=S.paragraph,C=!1;if(x.items.some(F2)){if(C=!0,D2(x)){b=!0;continue}var I=x.snapshot(),W=I.items.filter(function(e){return!F2(e)});W.length!==I.items.length&&(x.hydrate(a2({},I,{items:W})),b=!0)}C&&D2(x)?b=!0:g.push(S)}}}catch(e){v={error:e}}finally{try{P&&!P.done&&(m=w.return)&&m.call(w)}finally{if(v)throw v.error}}b&&(y.blocks=g,y.dirty=!0)}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(R=d.return)&&R.call(d)}finally{if(t)throw t.error}}if(void 0===s)try{for(var V=Q(u),T=V.next();!T.done;T=V.next()){p=T.value;void 0!==(f=l.entryForRelationship(p.relationshipId))&&N2(e,p.partName,f,c)}}catch(e){r={error:e}}finally{try{T&&!T.done&&(B=V.return)&&B.call(V)}finally{if(r)throw r.error}}else if(s.type===hz.TextWatermark){var G=s;try{for(var k=Q(u),F=k.next();!F.done;F=k.next()){var p=F.value,q=j2(G,Z=W2(XM,H));G2(l,p.relationshipId,q)}}catch(e){n={error:e}}finally{try{F&&!F.done&&(_=k.return)&&_.call(k)}finally{if(n)throw n.error}}try{for(var D=Q(u),O=D.next();!O.done;O=D.next()){p=O.value;void 0!==(f=l.entryForRelationship(p.relationshipId))&&N2(e,p.partName,f,c)}}catch(e){i={error:e}}finally{try{O&&!O.done&&(j=D.return)&&j.call(D)}finally{if(i)throw i.error}}}else{var X=s,Y=q2(e,X,u.map(function(e){return e.partName}));c.add($(Y.mediaPartName));try{for(var N=Q(u),A=N.next();!A.done;A=N.next()){var p=A.value,Z=W2(YM,H),K=null!=(U=Y.relIdByHeaderPartKey.get($(p.partName)))?U:Y.relIdByHeaderPartKey.values().next().value;if(void 0===K)throw new J("content/invalid-image","Picture watermark failed to allocate a header image relationship");q=U2(X,Z,K);G2(l,p.relationshipId,q)}}catch(e){o={error:e}}finally{try{A&&!A.done&&(M=N.return)&&M.call(N)}finally{if(o)throw o.error}}try{for(var E=Q(u),L=E.next();!L.done;L=E.next()){p=L.value;void 0!==(f=l.entryForRelationship(p.relationshipId))&&N2(e,p.partName,f,c)}}catch(e){a={error:e}}finally{try{L&&!L.done&&(z=E.return)&&z.call(E)}finally{if(a)throw a.error}}}S2(e)}}function Y2(e){return new y2}var Z2=Er("watermark"),K2=!1;function J2(){K2||(K2=!0,Rr({id:Z2}),_n({featureId:Z2,materialize:function(e){X2(e)}}),kn({featureId:Z2,loadParts:function(e){return Y2()}}))}Object.defineProperty(Cd.prototype,"watermark",{configurable:!0,enumerable:!1,get:function(){var t=this;return o2(this,function(){return iz(t)},function(e){oz(t,e)}),iz(this)},set:function(e){Uz(this),void 0===e?az(this):oz(this,e),w2(this)}}),J2(),M.AFCHUNK_RELATIONSHIP_TYPE=Mi,M.ANCHOR_DEFAULT_SIDE_DIST_EMU=HI,M.ATTACHED_TEMPLATE_RELATIONSHIP_TYPE=FM,M.AUTO_SHAPE_TYPE_VALUES=xx,M.A_NS=P,M.AbstractNumbering=vw,M.AltChunkAnchor=Hi,M.ArrowheadSize={Small:"sm",Medium:"med",Large:"lg"},M.ArrowheadStyle=uC,M.AttachedTemplate=d_,M.AutoFitType=rS,M.AutoShapeType=Sx,M.BIBLIOGRAPHY_CONTENT_TYPE="application/xml",M.BIBLIOGRAPHY_CUSTOM_XML_RELATIONSHIP_TYPE=m,M.BIBLIOGRAPHY_NAMESPACE=Xn,M.BIBLIOGRAPHY_STRICT_NAMESPACE=Yn,M.Background=D_,M.BibliographyCatalog=ri,M.BlockContentControl=wp,M.BlockContentControlCollection=bc,M.Body=Vc,M.BodyItemCollection=oc,M.Bookmark=qd,M.BookmarkCollection=nh,M.BookmarkEnd=Wd,M.BookmarkStart=Ud,M.Border=sv,M.Borders=cv,M.Break=lu,M.BreakClearType=Gs,M.BreakType=Ws,M.BuiltInStyle={Normal:"Normal",Heading1:"Heading1",Heading2:"Heading2"},M.BuiltinTableStyle=n0,M.CAPTION_FORMAT_SWITCH=oF,M.CAPTION_NUMBERING_FORMATS=aF,M.CAPTION_POSITIONS=lF,M.CHART_GRAPHIC_DATA_URI=jI,M.CHART_GRAPHIC_DATA_URI_STRICT=MI,M.COMMENTS_CONTENT_TYPE=Up,M.COMMENTS_EXTENDED_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml",M.COMMENTS_EXTENDED_NAMESPACE=vh,M.COMMENTS_EXTENDED_RELATIONSHIP_TYPE=dh,M.COMMENTS_EXTENSIBLE_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtensible+xml",M.COMMENTS_EXTENSIBLE_NAMESPACE=yh,M.COMMENTS_EXTENSIBLE_RELATIONSHIP_TYPE=fh,M.COMMENTS_IDS_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.commentsIds+xml",M.COMMENTS_IDS_NAMESPACE=mh,M.COMMENTS_IDS_RELATIONSHIP_TYPE=ph,M.COMMENTS_RELATIONSHIP_TYPE=Mp,M.CONTENT_CONTROLS_FEATURE_ID=Dh,M.CONTENT_TYPES_NAMESPACE=It,M.CONTENT_TYPES_ZIP_ITEM=Ct,M.CORE_PROPERTIES_CONTENT_TYPE=fB,M.CORE_PROPERTIES_PART_NAME=vB,M.CORE_PROPERTIES_RELATIONSHIP_TYPE=pB,M.CUSTOM_PROPERTIES_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.custom-properties+xml",M.CUSTOM_PROPERTIES_PART_NAME=yB,M.CUSTOM_PROPERTIES_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",M.CUSTOM_XML_DATA_CONTENT_TYPE="application/xml",M.CUSTOM_XML_PROPS_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.customXmlProperties+xml",M.CUSTOM_XML_PROPS_NAMESPACE=Ef,M.CUSTOM_XML_PROPS_RELATIONSHIP_TYPE=Nf,M.CUSTOM_XML_RELATIONSHIP_TYPE=Df,M.CalendarType={Gregorian:"gregorian",Hijri:"hijri",Hebrew:"hebrew",Taiwan:"taiwan",Japan:"japan",Thai:"thai",Korea:"korea",Saka:"saka",GregorianArabic:"gregorianArabic",GregorianMiddleEastFrench:"gregorianMiddleEastFrench",GregorianTransliteratedEnglish:"gregorianTransliteratedEnglish",GregorianTransliteratedFrench:"gregorianTransliteratedFrench",GregorianUsLocale:"gregorianUsLocale"},M.CaptionNumberingFormat=nF,M.CaptionPosition=iF,M.CarriageReturn=tu,M.CellFormat=Em,M.CellMerge=wm,M.CharacterFormat=sa,M.CharacterStyle=sg,M.Cm=vo,M.Column=AO,M.ColumnCollection=RO,M.Comment=of,M.CommentAnchor=nf,M.CommentCollection=yf,M.CommentExtensionParts=Th,M.CommentRangeEnd=Qp,M.CommentRangeStart=Jp,M.CommentReference=tf,M.CommentsCollection=df,M.CompatSetting=w_,M.CompatSettings=V_,M.ConditionalFormattingStyle=Eg,M.ConditionalFormattingStyleCollection=_g,M.ConditionalFormattingType=yg,M.ContentControl=yp,M.ContentControlAppearance={BoundingBox:"boundingBox",Tags:"tags",Hidden:"hidden"},M.ContentControlCheckBoxState=Mh,M.ContentControlDateStorageFormat={DateStorageDate:"date",DateStorageDateTime:"dateTime",DateStorageText:"text"},M.ContentControlListItem=Uh,M.ContentControlListItemCollection=Wh,M.ContentControlProperties=qh,M.ContentControlType={RichText:"richText",Text:"plainText",Picture:"picture",ComboBox:"comboBox",DropDownList:"dropDownList",Date:"date",CheckBox:"checkbox"},M.CoreProperties=VB,M.CustomXmlDatastore=Gf,M.CustomXmlMarkup=zf,M.CustomXmlProperties=_f,M.CustomXmlStorageItem=Wf,M.DEFAULT_COLUMN_SPACE=CO,M.DEFAULT_OFFICE_THEME_XML=Um,M.DEFAULT_RESOURCE_LIMITS=se,M.DEFAULT_SHAPE_FILL_COLOR=TV,M.DEFAULT_SHAPE_FILL_ENABLED=!0,M.DEFAULT_SHAPE_FILL_TRANSPARENCY=0,M.DEFAULT_SHAPE_LINE_COLOR=NV,M.DEFAULT_SHAPE_LINE_DASH=EV,M.DEFAULT_SHAPE_LINE_ENABLED=!0,M.DEFAULT_SHAPE_LINE_WIDTH_EMU=AV,M.DIAGRAM_GRAPHIC_DATA_URI=BI,M.DIAGRAM_GRAPHIC_DATA_URI_STRICT=_I,M.DML_MAIN_NAMESPACE=qm,M.DRAWING=WI,M.DetachedObjectError=N,M.DocDefaults=x0,M.DocumentProtection=M_,M.DocumentSettings=$j,M.DocxError=J,M.DocxStyle=Uy,M.DrawingShape=RT,M.DrawingVariant={Shape:"shape",TextBox:"textBox",Group:"group",Canvas:"canvas",Unknown:"unknown"},M.EDITABLE_RANGES_FEATURE_ID=Ok,M.EMPTY_EXTENSION_METADATA=sc,M.EMPTY_MODELED_PARAGRAPH_PROPERTIES=_m,M.EMPTY_MODELED_RUN_PROPERTIES=fy,M.ENDNOTES_CONTENT_TYPE=CE,M.ENDNOTES_RELATIONSHIP_TYPE=wE,M.EXTENDED_PROPERTIES_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.extended-properties+xml",M.EXTENDED_PROPERTIES_PART_NAME=mB,M.EXTENDED_PROPERTIES_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",M.EditableRange=uk,M.EditableRangeEditorGroup=IT,M.EditableRangeEnd=lk,M.EditableRangeStart=ok,M.Emu=function(e){if(Number.isInteger(e))return uo(e);throw new RangeError("Emu must be an integer, got "+String(e))},M.Endnote=JE,M.EndnoteProperties=uj,M.EndnoteReference=WE,M.Endnotes=pL,M.FONT_TABLE_CONTENT_TYPE=_b,M.FONT_TABLE_PART_NAME=jb,M.FONT_TABLE_RELATIONSHIP_TYPE=Rb,M.FOOTER_CONTENT_TYPE=rA,M.FOOTER_RELATIONSHIP_TYPE=$N,M.FOOTNOTES_CONTENT_TYPE=xE,M.FOOTNOTES_RELATIONSHIP_TYPE=bE,M.FeatureInlineParagraphItem=F,M.FeatureRunParagraphItem=cu,M.Field=Mk,M.FieldMark=Bk,M.FieldMarkType=Rk,M.FieldType=eD,M.FillFormat=FV,M.FontEmbedSlot=mb,M.FontFamily=Zy,M.FontPitch=vb,M.FontSubstitutionTableImpl=ub,M.FontTableFont=Pb,M.FontTablePart=Hb,M.Footer=YN,M.Footnote=ZE,M.FootnoteProperties=lj,M.FootnoteReference=UE,M.Footnotes=dL,M.FormField=fD,M.GLOSSARY_DOCUMENT_CONTENT_TYPE=aO,M.GLOSSARY_DOCUMENT_PART_NAME=lO,M.GLOSSARY_DOCUMENT_RELATIONSHIP_TYPE=iO,M.GlossaryDocumentPart=pO,M.GroupShape=zT,M.HEADER_CONTENT_TYPE=tA,M.HEADER_RELATIONSHIP_TYPE=JN,M.HORIZONTAL_ALIGNMENT_SET=ax,M.HORIZONTAL_ALIGNMENT_VALUES=BS,M.HORIZONTAL_ALIGNMENT_WIRE_SET=lx,M.HORIZONTAL_ALIGNMENT_WIRE_VALUES=RS,M.HORIZONTAL_ORIGIN_SET=ix,M.HYPERLINK_RELATIONSHIP_TYPE=O1,M.Header=Z1,M.HeaderFooter=Oc,M.HeadersFooters=jc,M.HeadersFootersCatalog=gA,M.HorizontalAlignment=LS,M.HorizontalOrigin=AS,M.Hyperlink=CD,M.HyperlinkType=rD,M.HyperlinksCatalog=M1,M.IMAGE_RELATIONSHIP_TYPE=a1,M.IfField=Hk,M.ImageType=fz,M.ImagesCatalog=p1,M.Inches=fo,M.InlineContentControl=xp,M.InternalMargin=UV,M.InvalidArgumentError=ne,M.IoError=ae,M.JPEG_CONTENT_TYPE=YF,M.LINE_CAP_VALUES=Fx,M.LINE_DASHING_VALUES=kx,M.LINE_END_SIZE_VALUES=Bx,M.LINE_END_TYPE_VALUES=Rx,M.LatentStyles=U0,M.LegacyField=mD,M.LegacyIfField=bD,M.LegacyMergeField=SD,M.LengthUnits=Po,M.LineCap=Ex,M.LineDashing=Tx,M.LineEndType=Lx,M.LineFormat=_V,M.LineStyle=sC,M.ListLevel=wP,M.ListLevelCollection=SP,M.ListStyle=CP,M.LsdException=M0,M.MAIL_MERGE_HEADER_SOURCE_RELATIONSHIP_TYPE=$A,M.MAIL_MERGE_SOURCE_RELATIONSHIP_TYPE=KA,M.MAIN_DOCUMENT_CONTENT_TYPE=Vt,M.MARKUP_COMPATIBILITY_NAMESPACE=di,M.MC_NS=wC,M.MailMergeCatalog=lE,M.Margins=GO,M.MarkupCompatibilityError=W,M.MarkupConformance=Ti,M.MergeField=Xk,M.Mm=mo,M.MoveRangeEnd=$B,M.MoveRangeStart=KB,M.NUMBERING_CONTENT_TYPE=Qw,M.NUMBERING_PART_NAME=eP,M.NUMBERING_RELATIONSHIP_TYPE=Jw,M.NotesCatalog=XE,M.NumberingInstance=Lw,M.NumberingLevel=rw,M.NumberingLevelOverride=Aw,M.NumberingPart=rP,M.NumberingPictureBullet=Hw,M.OFFICE_DOCUMENT_RELATIONSHIP_TYPE=Qt,M.OFFICE_OLE_NAMESPACE=ZL,M.OLE_OBJECT=_R,M.OLE_OBJECT_DEFAULT_CONTENT_TYPE=AL,M.OLE_OBJECT_LINK_LONG_PATH_RELATIONSHIP_TYPE=kL,M.OLE_OBJECT_RELATIONSHIP_TYPE=TL,M.OleDrawAspect=$L,M.OleLinkType=JL,M.OleObject=jR,M.OleObjectCatalog=RL,M.OleUpdateMode=QL,M.OpaqueParagraphItem=gu,M.OpaqueRunItem=pu,M.OpaqueStyle=dg,M.PAGE_NUMBER_STYLE_WIRE=yO,M.PEOPLE_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.people+xml",M.PEOPLE_RELATIONSHIP_TYPE=hh,M.PICTURE_PLACEMENT_SET=rx,M.PICTURE_WATERMARK_ID_PREFIX=YM,M.PICTURE_WATERMARK_TYPE=GM,M.PICTURE_WATERMARK_TYPE_DOUBLE_HASH=qM,M.PNG_CONTENT_TYPE=XF,M.PackageError=x,M.Paddings=gv,M.PageBorder=rN,M.PageBorders=iN,M.PageSetup=aN,M.PageSize=YO,M.Paragraph=D,M.ParagraphAlignment=da,M.ParagraphCollection=pc,M.ParagraphItem=js,M.ParagraphItemCollection=_u,M.ParagraphStyle=og,M.Picture=d1,M.PicturePlacement=NS,M.PictureWatermark=Fz,M.Point=function(e){return oo("points",e),e},M.PropertiesParts=kB,M.Pt=function(e){return oo("Pt",e),e},M.Px=yo,M.RECIPIENT_DATA_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.mailMergeRecipientData+xml",M.RECIPIENT_DATA_RELATIONSHIP_TYPE=YA,M.RELATIONSHIPS_CONTENT_TYPE=Tt,M.RELATIONSHIPS_NAMESPACE=$t,M.ROTATION_UNITS_PER_DEGREE=SC,M.R_NS=fC,M.RevisionRange=qB,M.RowFormat=Nm,M.Run=o,M.RunTrackChange=WB,M.SETTINGS_CHILD_ORDER=vj,M.SETTINGS_CONTENT_TYPE=kM,M.SETTINGS_PART_NAME=NM,M.SETTINGS_RELATIONSHIP_TYPE=VM,M.STRICT_AFCHUNK_RELATIONSHIP_TYPE=zi,M.STRICT_ATTACHED_TEMPLATE_RELATIONSHIP_TYPE=DM,M.STRICT_BIBLIOGRAPHY_CUSTOM_XML_RELATIONSHIP_TYPE=Zn,M.STRICT_COMMENTS_RELATIONSHIP_TYPE=zp,M.STRICT_CUSTOM_XML_PROPS_RELATIONSHIP_TYPE=Af,M.STRICT_CUSTOM_XML_RELATIONSHIP_TYPE=Of,M.STRICT_ENDNOTES_RELATIONSHIP_TYPE=SE,M.STRICT_FONT_TABLE_RELATIONSHIP_TYPE=Bb,M.STRICT_FOOTER_RELATIONSHIP_TYPE=eA,M.STRICT_FOOTNOTES_RELATIONSHIP_TYPE=PE,M.STRICT_GLOSSARY_DOCUMENT_RELATIONSHIP_TYPE=oO,M.STRICT_HEADER_RELATIONSHIP_TYPE=QN,M.STRICT_HYPERLINK_RELATIONSHIP_TYPE=N1,M.STRICT_IMAGE_RELATIONSHIP_TYPE=Nk,M.STRICT_MAIL_MERGE_HEADER_SOURCE_RELATIONSHIP_TYPE=QA,M.STRICT_MAIL_MERGE_SOURCE_RELATIONSHIP_TYPE=JA,M.STRICT_NUMBERING_RELATIONSHIP_TYPE=$w,M.STRICT_OFFICE_DOCUMENT_RELATIONSHIP_TYPE=er,M.STRICT_RECIPIENT_DATA_RELATIONSHIP_TYPE=ZA,M.STRICT_SETTINGS_RELATIONSHIP_TYPE=TM,M.STRICT_STYLES_RELATIONSHIP_TYPE=RP,M.STRICT_THEME_RELATIONSHIP_TYPE=Ym,M.STRICT_WEB_SETTINGS_RELATIONSHIP_TYPE=cM,M.STYLES_CONTENT_TYPE=BP,M.STYLES_PART_NAME=_P,M.STYLES_RELATIONSHIP_TYPE=LP,M.STYLES_WITH_EFFECTS_CONTENT_TYPE=Yg,M.STYLES_WITH_EFFECTS_PART_NAME=Zg,M.STYLES_WITH_EFFECTS_RELATIONSHIP_TYPE=Xg,M.ST_SHAPE_TYPE_VALUES=bx,M.Section=dd,M.Sections=Jc,M.SecurityError=B,M.SettingsAttachedTemplateChild=Oj,M.SettingsCharacterSpacingControlChild=xj,M.SettingsCompatChild=Aj,M.SettingsDefaultTabStopChild=Pj,M.SettingsDocumentProtectionChild=Fj,M.SettingsEndnotePrChild=Bj,M.SettingsFootnotePrChild=Lj,M.SettingsOnOffChild=Tj,M.SettingsOpaqueChild=Ij,M.SettingsPart=LM,M.SettingsViewChild=yj,M.SettingsZoomChild=bj,M.Shape=_T,M.ShapeLineKind=_x,M.SizeF=fa,M.StShapeType=gx,M.Style=Ky,M.StyleCollection=Hg,M.StylesPart=zP,M.StylesWithEffectsPart=$g,M.Symbol=iu,M.TABLES_FEATURE_ID=l,M.TEXT_ANCHORING_VALUES=qI,M.TEXT_BODY_WRAP_VALUES=KI,M.TEXT_COLUMNS_MAX=xO,M.TEXT_HORZ_OVERFLOW_VALUES=YI,M.TEXT_VERTICAL_TYPE_VALUES=ZI,M.TEXT_VERT_OVERFLOW_VALUES=XI,M.TEXT_WATERMARK_ID_PREFIX=XM,M.TEXT_WATERMARK_TYPE=WM,M.TEXT_WRAPPING_STYLE_SET=nx,M.TEXT_WRAPPING_TYPE_SET=vx,M.TEXT_WRAPPING_TYPE_VALUES=dx,M.TEXT_WRAPPING_TYPE_WIRE_SET=mx,M.TEXT_WRAPPING_TYPE_WIRE_VALUES=hx,M.THEME_CONTENT_TYPE=Zm,M.THEME_PART_NAME=Km,M.THEME_RELATIONSHIP_TYPE=Xm,M.TWIPS_MAX=SO,M.Tab=$s,M.TabJustification=Rl,M.TabLeader=Bl,M.Table=pS,M.TableAlignment={Left:"left",Center:"center",Right:"right"},M.TableCell=yS,M.TableCellCollection=mv,M.TableCellVerticalAlignment={Top:"top",Center:"center",Bottom:"bottom"},M.TableCollection=mc,M.TableFormat=Dm,M.TableHorizontalOrigin=Pm,M.TablePositioning=km,M.TableRow=fS,M.TableRowCollection=fv,M.TableRowHeightRule=n,M.TableStyle=zg,M.TableStyleCellProperties=Ng,M.TableStyleRowProperties=Dg,M.TableStyleTableProperties=kg,M.TableStyleTablePropertiesBridge=Rg,M.TableVerticalOrigin=Sm,M.TargetMode=tr,M.TextBoxParagraphOwner=NT,M.TextDirection=IV,M.TextFrame=WV,M.TextRange=w,M.TextVerticalAlignment=VV,M.TextWatermark=Vz,M.TextWrappingStyle=V,M.TextWrappingType=cx,M.ThemePart=ay,M.Twips=H,M.TypedBodyItemCollection=cc,M.UnsupportedContentError=X,M.VERTICAL_ALIGNMENT_SET=sx,M.VERTICAL_ALIGNMENT_VALUES=MS,M.VERTICAL_ALIGNMENT_WIRE_SET=ux,M.VERTICAL_ALIGNMENT_WIRE_VALUES=jS,M.VERTICAL_ORIGIN_SET=ox,M.VML_NS=gC,M.VerticalAlignment=_S,M.VerticalOrigin=ES,M.ViewSetup=Kj,M.W10_NS=bC,M.WEB_SETTINGS_CONTENT_TYPE=dM,M.WEB_SETTINGS_PART_NAME=hM,M.WEB_SETTINGS_RELATIONSHIP_TYPE=uM,M.WML=dn,M.WML_STRICT_NAMESPACE=pe,M.WML_TRANSITIONAL_NAMESPACE=he,M.WORDML_2010_NAMESPACE=Lh,M.WORDML_2012_NAMESPACE=Rh,M.WORDPROCESSING_INK_URI=zI,M.WPC_NS=yC,M.WPG_NS=mC,M.WPS_NS=vC,M.WP_NS=f,M.Watermark=xz,M.WatermarkLayout=pz,M.WatermarkPackageParts=y2,M.WatermarkType=hz,M.WebSettingsPart=yM,M.WireRunGroup=qs,M.WordDocument=Cd,M.WrapFormat=MV,M.XMLNS_NAMESPACE=de,M.XML_NAMESPACE=ce,M.XmlError=E,M.ZoomSettings=hj,M.add=ho,M.addCaptionToImage=gF,M.addCaptionToPicture=gF,M.addListStyle=TP,M.addPoints=ho,M.alignmentFromJc=ha,M.allocateDocPrId=gT,M.allocatePendingEditableRangeId=Ik,M.allocateRelationshipId=ir,M.alphaToTransparency=eC,M.altChunks=function(e){return Yi(e.listBlocks())},M.altChunksInBlocks=Yi,M.appendComment=Cf,M.appendGroupToParagraph=qT,M.appendOleObjectToParagraph=lB,M.appendOpaqueComplexField=KD,M.appendShapeToParagraph=GT,M.applyFeatureMultiParts=sn,M.applyFeaturePackageParts=On,M.applyFeatureParts=Jr,M.applyLogicalWatermarkFromDefaultHeader=i2,M.applyNonFinalSectionBreak=sd,M.applyOleDomMutations=OR,M.assertAlternateContentShape=xi,M.assertEnumMember=tx,M.assertNever=function(e,t){throw new X("Unhandled "+t+": "+JSON.stringify(e))},M.assertPartNameSetIntegrity=Mt,M.assertSafeZipItemName=Je,M.assignRunStyle=function(e,t,r){e=m0(KP(e),r,"character"),t.characterFormat.characterStyle=e.styleId},M.associatePageSetupDocument=JO,M.associateSectionPropertiesDocument=function(e,t){JO(e,t)},M.attachPictureParseExtras=Jz,M.attachTextParseExtras=Kz,M.attachedTemplateTarget=zM,M.attributeValue=IC,M.backgroundFor=function(e){return N_(e,MM(e).displayBackgroundShape())},M.bibliographyFor=function(e){if(void 0!==(e=e.featurePart(Gn))&&e instanceof ri)return e;throw new J("feature/not-registered","Bibliography catalog was not loaded; call registerBibliographyFeature() before WordDocument.open")},M.bindAltChunkDocument=Zi,M.bindCaptionHostDocument=dF,M.bindDocumentSettingsFacades=Yj,M.blockListOwnsParagraph=ET,M.bodyItemToBlock=tc,M.bookmarkByName=eh,M.bookmarkCollectionFor=ah,M.bookmarksInDocument=Qd,M.bookmarksInParagraph=function(e){for(var t=e.owningDocument(),r=Qd(t),n=[],i=0;i<r.length;i+=1){var o=r[i],a=th(t,o.bookmarkStart);void 0!==a&&a.paragraph===e&&n.push(o)}return n},M.borderStyleFromWire=Jf,M.borderStyleToWire=Qf,M.breakCodeToWire=wO,M.buildBodyPrElement=CV,M.buildDefaultDocDefaults=F0,M.buildDefaultStylesArgs=A0,M.buildDrawingMlHost=VI,M.buildDrawingPositionH=XC,M.buildDrawingPositionV=YC,M.buildFillElement=oC,M.buildLineElement=lC,M.buildNestedWpsShape=jC,M.buildRPrChildrenFromSnapshot=aa,M.buildTxbxElement=EC,M.buildVmlFallbackStub=II,M.buildWpgGroup=_C,M.buildWrapElement=HC,M.canonicalBuiltinStyleId=d0,M.canonicalizeStyleReference=function(e){var t=d0(e);return null!=t?t:e},M.characterSnapshotFromRPr=Z0,M.characterSnapshotToModeledRunProperties=Y0,M.childLocalName=function(e){return e.localName},M.clearLogicalWatermark=az,M.clearWatermarkDirty=S2,M.cloneEditableRangeEnd=vk,M.cloneEditableRangeForInsert=function(e,t){return e=Ik(e),{start:fk(t.startMarker,{rangeId:e}),end:vk(t.endMarker,{rangeId:e})}},M.cloneEditableRangeMarkersFromParagraph=function(e,t){var r,n,i=new Map,o=new Set,a=(Pk(e,function(e){o.add(e)}),t.items.toArray());try{for(var l=ZT(a),s=l.next();!s.done;s=l.next())(u=s.value)instanceof F&&((u.value instanceof ok||u.value instanceof lk)&&!i.has(u.value.rangeId)&&i.set(u.value.rangeId,function(){for(var e=-1;o.has(e);)--e;return o.add(e),e}()))}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}for(var u,c,d=[],h=0;h<a.length;h+=1)void 0!==(u=a[h])&&u instanceof F&&void 0!==(c=i.get(u.value instanceof ok||u.value instanceof lk?u.value.rangeId:Number.NaN))&&(u.value instanceof ok?d.push({index:h,marker:fk(u.value,{rangeId:c})}):u.value instanceof lk&&d.push({index:h,marker:vk(u.value,{rangeId:c})}));return{markers:d}},M.cloneEditableRangeStart=fk,M.cmToPoint=vo,M.cnfStyleIsEmpty=rl,M.colorFromWire=ko,M.colorToHexWire=Fo,M.colorToHighlightWire=Do,M.commentBody=function(e,t){return Pf(e).textFor(t.commentId)},M.commentCollectionFor=wf,M.commentExtensionsFor=function(e){return Pf(e).extensions()},M.commentFor=function(e,t){return Pf(e).commentInstanceFor(e,t)},M.commentForAnchor=function(e,t){return Pf(e).commentInstanceFor(e,t.commentId)},M.commentParagraphs=function(e,t){return Pf(e).paragraphsFor(t.commentId)},M.commentsFor=Pf,M.commentsInDocument=function(e){return Pf(e).comments(e)},M.commentsInParagraph=function(e,t){for(var r=Pf(e),n=[],i=t.items.toArray(),o=0;o<i.length;o+=1){var a,l,s,u,c=i[o];void 0!==c&&c instanceof F&&c.value instanceof of?(a=c.value.commentId,u=r.entryFor(a),l=new tf(a),n.push(new nf(a,null!=(s=null==u?void 0:u.author)?s:"",null==u?void 0:u.date,ff(i,o,a),l))):void 0!==c&&c instanceof cu&&c.value instanceof tf&&(s=c.value,u=r.entryFor(s.commentId),n.push(new nf(s.commentId,null!=(a=null==u?void 0:u.author)?a:"",null==u?void 0:u.date,ff(i,o,s.commentId),s)))}return n},M.computeListString=bw,M.createBackground=N_,M.createBlockContentControl=Vp,M.createBlockContentControlCollection=Ic,M.createCellBordersHost=pv,M.createDefaultAbstractNumbering=gw,M.createDefaultBulletLevel=sw,M.createDefaultCnfStyle=function(){return{firstRow:!1,lastRow:!1,firstColumn:!1,lastColumn:!1,oddVBand:!1,evenVBand:!1,oddHBand:!1,evenHBand:!1,firstRowFirstColumn:!1,firstRowLastColumn:!1,lastRowFirstColumn:!1,lastRowLastColumn:!1}},M.createDefaultNumberedLevel=uw,M.createDefaultSettingsPart=BM,M.createDefaultThemePart=sy,M.createDrawingShape=HT,M.createDrawingShapeFromInit=function(e){if(void 0!==e.children)return new zT(e);if("vml"!==e.encoding){if(EI(e.residual))return new("grpSp"===e.residual.localName?zT:_T)(e);var t=null!=(t=FI(e.residual))?t:te(e.residual,"drawing")?e.residual:void 0;if(void 0!==t){t=tT(t);if("group"===t||"canvas"===t)return new zT(e)}}return new _T(e)},M.createEmptyParagraphCellFactory=function(e){return new e(void 0,[{type:"paragraph",paragraph:new D(void 0)}])},M.createFontTableFont=Ob,M.createInlineContentControl=Tp,M.createMinimalAbstractNumbering=function(e,t){return new vw({abstractNumId:e,multiLevelType:"singleLevel",levels:[ow(0,t)]})},M.createMinimalDocxStyle=Gy,M.createMinimalNumberingLevel=ow,M.createMinimalStyle=fg,M.createNumberingInstance=jw,M.createPageBreakAfterParagraphElement=Xu,M.createStandaloneBreakItem=Cu,M.createStandaloneSymbolItem=Iu,M.createStandaloneTabItem=function(){return new $s(new qs)},M.createStyleFromDocxStyle=pg,M.createTable=SS,M.createTableBordersHost=hv,M.createTableCollection=Cc,M.createTextAndTabItems=Vu,M.createTransitionalContentTypes=Nt,M.createTransitionalWordPackage=Sr,M.currentHeadersFootersSlotFactory=function(){return Dc},M.currentSectionPageSetupSeed=Xc,M.currentTypedCollectionHooks=xc,M.customXmlDatastore=function(e){if(void 0!==(e=e.featurePart(kf))&&e instanceof Gf)return e;throw new J("feature/not-registered","Custom XML datastore was not loaded; call registerCustomXmlFeature() before WordDocument.open")},M.customXmlMarkupInBlocks=function(e){var t,r,n=[];try{for(var i=If(e),o=i.next();!o.done;o=i.next()){var a=o.value;"feature"===a.type&&a.value instanceof zf&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},M.customXmlMarkupInParagraph=function(e){var t,r,e=e.items.toArray(),n=[];try{for(var i=If(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof F&&a.value instanceof zf&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},M.decodePictureHost=RF,M.decodeXmlBytes=xe,M.defaultAuthoredShapeFill=kV,M.defaultAuthoredShapeLine=LV,M.defaultFooter=function(e){var t=MN(e);if(void 0!==t)return kA(e,t,"default")},M.defaultFooterText=function(e){var t=VA(e),e=null==(e=MN(e))?void 0:e.headerFooterReferenceId("footer","default");return t.textForRelationship(e)},M.defaultHeader=FA,M.defaultHeaderText=function(e){var t=VA(e),e=null==(e=MN(e))?void 0:e.headerFooterReferenceId("header","default");return t.textForRelationship(e)},M.defaultLetterPageSetup=sN,M.documentBody=Li,M.documentCreator=function(e){return AB(e).core.creator},M.documentDescription=function(e){return AB(e).core.description},M.documentKeywords=function(e){return AB(e).core.keywords},M.documentSettingsFor=nM,M.documentSubject=function(e){return AB(e).core.subject},M.documentTitle=function(e){return AB(e).core.title},M.drawingIsOwnedByOtherFeature=hT,M.drawingShapeInit=oT,M.drawingShapesFromLeaves=mT,M.drawingsInDocument=ST,M.drawingsInParagraph=PT,M.editableRangeById=function(e,t){var r,n;try{for(var i=ZT(Ck(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.rangeId===t)return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},M.editableRangeMarkersInDocument=bk,M.editableRangeMarkersShareParagraph=dk,M.editableRangesInDocument=Ck,M.editableRangesStartingInParagraph=function(a){return Ck(a.owningDocument()).filter(function(e){var t,r;try{for(var n=ZT(a.items),i=n.next();!i.done;i=n.next()){var o=i.value;if(o instanceof F&&o.value===e.startMarker)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1})},M.effectiveBold=ky,M.effectiveDrawingPlacement=iI,M.effectiveDrawingWrapping=oI,M.effectiveItalic=Fy,M.elementChildren=re,M.elementTypeOf=function(e){return Ju(e)?"paragraph":TS(e)?"table":Dp(e)?"blockContentControl":"feature"},M.elevateCommentReferencesInDocument=function(e){Pf(e).elevateMainStoryReferences(e)},M.emptyModeledRunProperties=function(){return fy},M.emptyPropsToUndefined=Sa,M.emptyRelationships=dr,M.emuToPoint=uo,M.emus=bo,M.encodeAuthoredDrawingShape=TI,M.encodeAuthoredGroup=kI,M.encodeDrawingShapeInput=nT,M.encodeGroupInput=iT,M.encodePictureHost=qF,M.endnoteFor=function(e,t){return sL(e,t.noteId)},M.endnoteInstanceFor=sL,M.endnoteText=function(e,t){return iL(e).textForNote("endnote",t.noteId)},M.endnotesFor=gL,M.endnotesInDocument=cL,M.endnotesInParagraph=PL,M.ensureAlwaysOnBodyFeaturesRegistered=ci,M.ensureCoreBlockHandlers=qi,M.ensureFeature=function(e){var t=Lr.get(e);if(void 0===t)throw new J("feature/not-registered","Feature is not registered: "+e);return t},M.ensureFinalSectionProperties=WN,M.ensureParsedAndLogical=o2,M.ensureSectionTerminatorParagraph=ud,M.ensureWatermarksParsed=n2,M.equalWidthColumns=function(e,t){void 0===t&&(t=CO),NO(e),VO(t,"spacing");var r=new RO;return r.setSpacing(t),r.setEqualWidthCount(e),r.setSeparator(!1),r},M.evenFooter=function(e){var t=MN(e);if(void 0!==t)return kA(e,t,"even")},M.evenHeader=function(e){var t=MN(e);if(void 0!==t)return TA(e,t,"even")},M.everyLineNumbers=function(e){e.lineNumberingStep=1},M.featureId=Er,M.fieldInstructionKeyword=$D,M.fieldsInDocument=function(e){var t=[];return Mn(e,function(e){t.push.apply(t,J1(ZD(e)))}),t},M.fieldsInParagraph=ZD,M.finalSection=MN,M.findAbstractForListStyle=function(e,t,r){for(var n=0;n<e.abstractNumberings.length;n+=1){var i=e.abstractNumberings[n];if(i.styleLink===t||void 0!==r&&i.styleLink===r)return i.abstractNumId;if(i.name===t||void 0!==r&&i.name===r)return i.abstractNumId}},M.findBodyPrChild=dV,M.findBodyPrElement=yV,M.findChildIndex=Mj,M.findFirstElement=g,M.findOfficeDocumentRelationship=cr,M.findPackageRelatedPart=Nn,M.findResidualPositions=GC,M.findResidualSpPr=AC,M.findSpPrElement=Yx,M.findTxbxContentElement=bV,M.findTxbxElement=gV,M.firstFooter=function(e){var t=MN(e);if(void 0!==t)return kA(e,t,"first")},M.firstHeader=function(e){var t=MN(e);if(void 0!==t)return TA(e,t,"first")},M.flattenSectionsToBodyBlocks=cd,M.fontSubstitutionTableFor=Jb,M.fontTableFor=Zb,M.footerForSection=kA,M.footerTextForSection=function(e,t,r){return void 0===r&&(r="default"),e=VA(e),t=t.headerFooterReferenceId("footer",r),e.textForRelationship(t)},M.footersInDocument=function(t){return VA(t).relationshipIds("footer").map(function(e){return CA(t,e,"footer")})},M.footnoteFor=function(e,t){return lL(e,t.noteId)},M.footnoteInstanceFor=lL,M.footnoteText=function(e,t){return iL(e).textForNote("footnote",t.noteId)},M.footnotesFor=yL,M.footnotesInDocument=uL,M.footnotesInParagraph=wL,M.formFieldsInParagraph=function(e){for(var t=[],r=WD(e),n=0;n<r.length;n+=1){var i,o=r[n];void 0!==o&&o.item instanceof cu&&o.item.value instanceof sD&&"begin"===o.item.value.fldCharType&&(i=GD(r,n),void 0!==(o=zD(o.item.value,i)))&&t.push(o)}return t},M.formatSequenceValue=sF,M.getBuiltinStyleTemplate=u0,M.getBuiltinStyleTemplateByDisplayName=c0,M.getExternalRelationshipTargets=function(e){function t(e){var t,r;try{for(var n=mr(e.items),i=n.next();!i.done;i=n.next()){var o=i.value;o.targetMode===tr.External&&a.push(o.target)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}var r,n,a=[];t(e.packageRelationships);try{for(var i=mr(e.partRelationships),o=i.next();!o.done;o=i.next())t(o.value.relationships)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},M.glossaryFor=function(e){if(void 0!==(e=e.featurePart(nO))&&e instanceof pO)return e;throw new J("feature/not-registered","Glossary document part was not loaded; call registerGlossaryFeature() before WordDocument.open")},M.halfPoints=go,M.halfPointsToPoint=co,M.hasAnyCnfStyleFlag=Qa,M.hasModeledBodyPrFields=function(e){return void 0!==e.verticalAnchor||void 0!==e.anchorCenter||void 0!==e.textDirection||void 0!==e.textWrapInside||void 0!==e.verticalOverflow||void 0!==e.horizontalOverflow||void 0!==e.fromWordArt||void 0!==e.insets||void 0!==e.autoFit},M.hasWatermarkPositionPattern=QM,M.headerForSection=TA,M.headerTextForSection=function(e,t,r){return void 0===r&&(r="default"),e=VA(e),t=t.headerFooterReferenceId("header",r),e.textForRelationship(t)},M.headersFootersFor=VA,M.headersInDocument=function(t){return VA(t).relationshipIds("header").map(function(e){return CA(t,e,"header")})},M.highlightWireToColor=Oo,M.hostDocumentOf=hF,M.hyperlinkTarget=function(e,t){return void 0!==t.relationshipId?G1(e).targetForRelationship(t.relationshipId):G1(e).pendingTargetFor(t)},M.hyperlinksFor=G1,M.hyperlinksInParagraph=q1,M.imagesFor=g1,M.imagesInParagraph=b1,M.inScopeNamespaces=pi,M.inchesToPoint=fo,M.inheritsFromPrevious=function(e,t){return void 0===e.headerFooterReferenceId(t)},M.inlineImageBytes=S1,M.inlinePictureBytes=S1,M.insertComment=function(e,t,r,n,i){void 0===i&&(i="");var o=(n=xf(e,r,n,{defaultDateNow:!1})).commentId,a=new tf(o),l=[],i=(0<i.length&&(t.appendFeatureInline(Rp,new Jp(o)),i=t.appendText(i),l.push(i),t.appendFeatureInline(Rp,new Qp(o))),t.appendFeatureInline(Rp,n),Pf(e).entryFor(o));return new nf(o,null!=(t=null==i?void 0:i.author)?t:r,null==i?void 0:i.date,l,a)},M.insertEditableRangeAt=kk,M.insertEndnote=xL,M.insertFootnote=SL,M.inspectMarkupCompatibility=Fi,M.instantiateBuiltinStyle=p0,M.isAcceptedPictureWatermarkType=ez,M.isAltChunkBlock=Xi,M.isAlternateContent=Si,M.isAutoShapeType=function(e){return Cx.has(e)},M.isBlockContentControl=Dp,M.isBlockContentControlBodyItem=function(e){return e instanceof wp||e instanceof yp&&!0===e.isBlockLevel},M.isBookmarkEndInline=function(e){return e instanceof F&&e.featureId===Ad&&e.value instanceof Wd},M.isBookmarkStartInline=function(e){return e instanceof F&&e.featureId===Ad&&e.value instanceof Ud},M.isCommentInline=function(e){return e instanceof F&&e.featureId===Rp&&e.value instanceof of},M.isCommentRangeEndInline=function(e){return e instanceof F&&e.featureId===Rp&&e.value instanceof Qp},M.isCommentRangeStartInline=function(e){return e instanceof F&&e.featureId===Rp&&e.value instanceof Jp},M.isCommentReferenceLeaf=function(e){return e instanceof cu&&e.featureId===Rp&&e.value instanceof tf},M.isCustomXmlMarkupInline=function(e){return e instanceof F&&e.featureId===kf&&e.value instanceof zf},M.isDrawingAlternateContent=function(e){return e.namespaceUri===wC&&"AlternateContent"===e.localName},M.isDrawingShapeLeaf=function(e){return e instanceof RT||e instanceof cu&&e.featureId===WI&&e.value instanceof RT},M.isEditableRangeEndInline=function(e){return e instanceof F&&e.featureId===KT&&e.value instanceof lk},M.isEditableRangeStartInline=function(e){return e instanceof F&&e.featureId===KT&&e.value instanceof ok},M.isEndnoteReferenceLeaf=VL,M.isFeatureMultiPackagePart=Bi,M.isFeaturePackageLevelPart=Ri,M.isFeatureRegistered=Br,M.isFootnoteReferenceLeaf=IL,M.isGroupShape=function(e){return e instanceof zT},M.isHorizontalAlignment=JS,M.isHorizontalAlignmentWire=$S,M.isHorizontalOrigin=ZS,M.isHyperlinkInline=X1,M.isImageLeaf=I1,M.isInlinePictureDrawing=dT,M.isKnownBorderWire=ev,M.isLineCap=Hx,M.isLineDashing=Nx,M.isLineEndSize=Gx,M.isLineEndType=Wx,M.isMarkupCompatibilityElement=Pi,M.isMoveRangeMarkerInline=function(e){return e instanceof F&&e.featureId===_B&&(e.value instanceof KB||e.value instanceof $B)},M.isNestedDrawingResidual=EI,M.isOfficeDocumentRelationshipType=or,M.isOleObjectLeaf=ZR,M.isPackageRelationshipsPartName=Ht,M.isPageNumberStyleWire=gO,M.isParagraphBodyItem=Ju,M.isPartNameDerivableFrom=jt,M.isPictureLeaf=I1,M.isPicturePlacement=function(e){return zS.has(e)},M.isPictureWatermarkShape=rz,M.isPresetAutoShapeType=Ix,M.isRelationshipsPartName=Ut,M.isRunTrackChangeInline=function(e){return e instanceof F&&e.featureId===_B&&e.value instanceof WB},M.isShape=function(e){return e instanceof _T},M.isStShapeType=Px,M.isStructuredDocumentTagInline=function(e){return e instanceof F&&e.featureId===Eh&&e.value instanceof yp},M.isSupportedBodyItem=rc,M.isTableBlock=TS,M.isTableBodyItem=kS,M.isTextAnchoring=iV,M.isTextBodyWrap=sV,M.isTextHorzOverflow=aV,M.isTextVertOverflow=oV,M.isTextVerticalType=lV,M.isTextWatermarkShape=tz,M.isTextWrappingStyle=function(e){return US.has(e)},M.isTextWrappingType=function(e){return px.has(e)},M.isTextWrappingTypeWire=yx,M.isVerticalAlignment=QS,M.isVerticalAlignmentWire=ex,M.isVerticalOrigin=KS,M.isVml=JM,M.isWatermarkDirty=P2,M.isWml=te,M.isWmlElement=Ei,M.isWmlNamespace=hn,M.jcForNewAlignment=pa,M.lengthToEmus=ao,M.lengthToHalfPoints=wo,M.linkSectionFooter=jA,M.linkSectionHeader=_A,M.listBuiltinStyleTemplates=function(){return a0},M.listFeatureMultiPartHandlers=function(){return rn},M.listFeaturePackagePartHandlers=function(){return Tn},M.listFeaturePartHandlers=function(){return Xr},M.loadCommentExtensionMetadata=Vh,M.loadFeatureMultiParts=on,M.loadFeaturePackageParts=Fn,M.loadFeatureParts=Zr,M.loadOleObjectCatalog=HL,M.loadOpcPackage=Ir,M.loadWatermarkPackageParts=Y2,M.localeIdFromBcp47=Eo,M.localeIdToBcp47=Lo,M.logicalWatermarkOf=iz,M.lookupContentType=Ot,M.markWatermarkDirty=w2,M.markWatermarkParseCompleted=Uz,M.materializeFeatureSideEffects=Un,M.materializeSectionProperties=id,M.materializeWatermarks=X2,M.maxDocPrIdInDocument=yT,M.mergeModeledParagraphProperties=function(e,t){return{spacing:void 0!==t.spacing||void 0!==e.spacing?Rm({},null!=e.spacing?e.spacing:{},null!=t.spacing?t.spacing:{}):void 0,indentation:void 0!==t.indentation||void 0!==e.indentation?Rm({},null!=e.indentation?e.indentation:{},null!=t.indentation?t.indentation:{}):void 0,keepNext:Mm(e.keepNext,t.keepNext),keepLines:Mm(e.keepLines,t.keepLines),pageBreakBefore:Mm(e.pageBreakBefore,t.pageBreakBefore),widowControl:Mm(e.widowControl,t.widowControl),contextualSpacing:Mm(e.contextualSpacing,t.contextualSpacing),outlineLevel:(void 0!==t.outlineLevel?t:e).outlineLevel}},M.mergeModeledRunProperties=Vy,M.mmToPoint=mo,M.modeledFillForEncode=aT,M.modeledLineForEncode=lT,M.modeledParagraphPropertiesToParagraphSnapshot=function(e){return void 0===(e=zm(e))?Jl():Os(e)},M.modeledRunPropertiesToCharacterSnapshot=function(e){return ta(void 0===(e=Oy(e))?b("rPr"):e)},M.moveEditableRangeMarkerToParagraph=function(e,t,r,n){var i=hk(e,t);if(void 0===i)throw new J("content/unknown-editable-range","Editable-range marker is not in this document");if(r.owningDocument()!==e)throw new J("content/invalid-editable-range","Target paragraph is not in this document");if(pk(i,t),e=n,(e="inline"===i.kind&&i.paragraph===r&&n>i.index?n-1:e)<0||e>r.items.length)throw new RangeError("Feature inline index "+String(e)+" is out of range");r.insertFeatureInlineAt(e,KT,t)},M.moveRangeMarkersInParagraph=function(e){var t,r,e=e.items.toArray(),n=[];try{for(var i=BB(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof F&&(a.value instanceof KB||a.value instanceof $B)&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},M.needsXmlSpacePreserve=wu,M.nextEditableRangeId=function(e){var t=0;return Pk(e,function(e){0<=e&&t<=e&&(t=e+1)}),t},M.normalizeCnfStyle=Ja,M.normalizeColorHex=To,M.normalizeStyleName=Yy,M.normalizedCnfStyleHasTrue=$a,M.notesFor=iL;M.notifySectionPropertiesAttached=nd,M.numberingFor=lP,M.officeDocumentPartName=xr,M.oleAttributeValue=AR,M.oleElementChildren=uR,M.oleIsExplicitFalse=function(e){return"f"===(e=(e=e).trim().toLowerCase())||"false"===e||"off"===e||"0"===e},M.oleObjectCatalog=function(e){if(void 0===(e=sB(e)))throw new J("feature/not-registered","OLE object catalog was not loaded; call registerOleObjectFeature() before WordDocument.open");return e},M.oleObjectsInDocument=JR,M.oleObjectsInParagraph=KR,M.opaqueBlocksFromBody=function(e){return Ai(e).map(function(e){return{type:"opaque",xml:e}})},M.opaqueComplexFieldInstructionsInParagraph=JD,M.ownerDocumentOf=$O,M.packageRelationshipsPartName=Wt,M.pageNumberStyleFromWire=bO,M.paragraphClosesSection=ad,M.paragraphElementTypeOf=function(e){if(e instanceof w)return"textRange";if(e instanceof lu)return"break";if(e instanceof $s)return"tab";if(e instanceof tu)return"carriageReturn";if(e instanceof iu)return"symbol";if(e instanceof gu||e instanceof pu)return"opaque";for(var t=0;t<FS.length;t+=1){var r=FS[t](e);if(void 0!==r)return r}var n=function(e){if(e instanceof cu||e instanceof F)return e.featureId}(e);if(void 0!==n){n=String(n);if("images"===n)return"image";if("hyperlinks"===n)return"hyperlink";if("fields"===n)return"field";if("bookmarks"===n)return"bookmark";if("drawing"===n)return"shape";if("content-controls"===n)return"inlineContentControl";if("comments"===n)return"comment";if("editable-ranges"===n)return"editableRange";if("ole-object"===n||"ole"===n)return"ole";if("revisions"===n)return"revision";if("notes"===n||"footnotes"===n||"endnotes"===n)return"note"}return"unknown"},M.paragraphSectionBreak=UN,M.paragraphSectionBreakSource=od,M.paragraphSnapshotFromPPr=K0,M.paragraphSnapshotToModeledParagraphProperties=function(e){return 0===(e=Bs(e)).length?_m:jm(b("pPr",{children:e}))},M.parseAbstractNumbering=yw,M.parseAlternateContentDrawing=vT,M.parseBodyBlocks=Zu,M.parseBorderEdge=Va,M.parseCellMargins=Na,M.parseCharacterFormat=ta,M.parseCharacterSpacingControl=q_,M.parseCnfStyle=el,M.parseContentTypesXml=Ft,M.parseDecimalVal=ga,M.parseDefaultTabStop=W_,M.parseDirectRunFontProperties=Ty,M.parseDocDefaults=I0,M.parseDocDefaultsRunProperties=function(e){var t,r,n,i;if(void 0!==e&&te(e,"docDefaults"))try{for(var o=py(re(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(te(l,"rPrDefault"))try{for(var s=py(re(l)),u=s.next();!u.done;u=s.next()){var c=u.value;if(te(c,"rPr"))return xy(c)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return fy},M.parseDocxStyle=Wy,M.parseDrawingShape=pT,M.parseDrawingWrapping=zC,M.parseFontTableFont=Db,M.parseLatentStyles=X0,M.parseModeledParagraphProperties=jm,M.parseModeledRunProperties=xy,M.parseNumberingInstance=_w,M.parseNumberingLevel=iw,M.parseNumberingLevelOverride=Bw,M.parseNumberingPictureBullet=Gw,M.parseOleObjectDomState=hR,M.parseOnOff=Ki,M.parseParagraphSpacing=_s,M.parseRelationshipsXml=sr,M.parseSectionProperties=AN,M.parseSettingsChild=jj,M.parseShd=La,M.parseStyleRunDefinition=function(e){var t,r,n,i;try{for(var o=py(re(e)),a=o.next();!a.done;a=o.next()){var l=a.value;te(l,"basedOn")?n=z(l):te(l,"rPr")&&(i=l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{basedOn:n,runProperties:xy(i)}},M.parseTableAlignment=Ba,M.parseTblBorders=ka,M.parseTblLook=qa,M.parseTblWidth=Ca,M.parseTcBorders=Da,M.parseTextColumns=MO,M.parseTextRangeGroup=ku,M.parseThemeFontSlot=Qm,M.parseTxbxContentBlocks=RC,M.parseVmlPict=fT,M.parseVmlStyle=ZM,M.parseWatermarkFromHeaderBlocks=r2,M.parseWrapTextAttr=UC,M.parseXml=Ce,M.partByName=Tr,M.partName=Lt,M.partNameFromZipItem=Rt,M.partNameKey=$,M.partNamesEquivalent=_t,M.partRelationshipsPartName=Gt,M.partitionBodyIntoSections=ld,M.patchResidualCNvPr=RI,M.patchResidualDocPr=NI,M.patchResidualLayout=AI,M.physicalWatermarksOf=function(e){return null!=(e=null==(e=jz.get(e))?void 0:e.physicalByPartKey)?e:new Map},M.picturesInParagraph=b1,M.pointToCoordinateEmus=lo,M.pointToEmus=ao,M.pointToHalfPoints=so,M.pointToSignedHalfPoints=function(e){return oo("points",e),Math.round(e*no)},M.pointToTwips=U,M.preferredDrawingElement=FI,M.projectBlockToBodyItem=ec,M.propertiesFor=AB,M.provideImageCaptionAuthoring=function(e){Qk(e)},M.providePictureCaptionAuthoring=Qk,M.pxToPoint=yo,M.readBodyPropertiesState=wV,M.readCNvPrIdentity=LI,M.readCellBorders=qv,M.readCellCnfStyle=um,M.readCellFitText=lm,M.readCellHideMark=function(e){return void 0!==e&&void 0!==(e=Rv(e,"hideMark"))?Ki(e):void 0},M.readCellMargins=Kv,M.readCellNoWrap=om,M.readCellPreferredWidth=Wv,M.readCellShading=Yv,M.readCellTextDirection=tm,M.readCellVerticalAlignment=nm,M.readContentTypes=Dt,M.readDocPrIdentity=DI,M.readDrawAspect=mR,M.readDrawingLayout=dI,M.readDrawingPositionState=nI,M.readDrawingWrapState=rI,M.readFieldCodes=SR,M.readGridSpan=_v,M.readHorizontalMerge=Uv,M.readIsSamePaddingsAsTable=Jv,M.readLinkType=pR,M.readLinkTypeDescription=PR,M.readLockedField=wR,M.readMarkupCompatibilityAttributes=bi,M.readObjectId=yR,M.readOriginalHeight=IR,M.readOriginalWidth=CR,M.readProgId=fR,M.readRowAlignment=function(e){return void 0!==e&&void 0!==(e=Pv(e,"jc"))?Ba(e):void 0},M.readRowCantSplit=Vv,M.readRowCnfStyle=Nv,M.readRowHeight=Cv,M.readRowIsHeader=kv,M.readRowShading=Dv,M.readShapeId=vR,M.readShapePropertiesState=tC,M.readTableAlignment=al,M.readTableBorders=hl,M.readTableCaption=Sl,M.readTableCellMargins=fl,M.readTableCellSpacing=ml,M.readTableColumnBandSize=Nl,M.readTableDescription=Cl,M.readTableIndent=sl,M.readTableLayout=kl,M.readTableLook=wl,M.readTablePositioning=mm,M.readTablePreferredWidth=cl,M.readTableRowBandSize=Dl,M.readTableShading=gl,M.readTableStyle=Vl,M.readUpdateMode=gR,M.readVerticalMerge=jv,M.readZip=ct,M.registerAlwaysOnBodyFeatureBootstrap=ui,M.registerBibliographyFeature=ai,M.registerBodyItemAdapter=Qu,M.registerBookmarksFeature=sh,M.registerCommentsFeature=mf,M.registerContentControlsFeature=Fp,M.registerCustomXmlFeature=Zf,M.registerDocumentSettingsFacades=oM,M.registerDrawingFeature=wT,M.registerEditableRangesFeature=Tk,M.registerFeature=Rr,M.registerFeatureBlockHandler=Mr,M.registerFeatureBlockParagraphWalker=jn,M.registerFeatureInlineHandler=Pn,M.registerFeatureMaterializeHandler=_n,M.registerFeatureMultiPartHandler=nn,M.registerFeaturePackagePartHandler=kn,M.registerFeaturePartHandler=Yr,M.registerFeatureRunLeafHandler=gn,M.registerFieldsFeature=XD,M.registerFontTableFeature=Yb,M.registerGlossaryFeature=mO,M.registerHeadersFootersFeature=LA,M.registerHeadersFootersLinkToPreviousHandlers=zc,M.registerHeadersFootersSlotFactory=Ac,M.registerHyperlinksFeature=W1,M.registerImagesFeature=y1,M.registerMailMergeFeature=dE,M.registerNotesFeature=nL,M.registerNumberingFeature=aP,M.registerOleObjectFeature=YR,M.registerParagraphElementClassifier=function(e){FS.push(e)},M.registerPropertiesFeature=NB,M.registerRevisionsFeature=i_,M.registerSectionPageSetupClone=Hc,M.registerSectionPageSetupSeed=Gc,M.registerSectionPropertiesAttached=td,M.registerSectionPropertiesParse=Qc,M.registerSectionsFeature=BN,M.registerSettingsFeature=jM,M.registerStylesFeature=ZP,M.registerStylesWithEffectsFeature=nb,M.registerTablesFeature=VS,M.registerThemeFeature=dy,M.registerTypedCollectionHooks=Sc,M.registerWatermarkFeature=J2,M.registerWebSettingsFeature=PM,M.relationshipId=nr,M.relationshipsForPart=kr,M.relationshipsWith=hr,M.remapEditableRangeIdsInParagraphToPending=function(e){var t,r,n,i,o=e.owningDocument(),e=e.items.toArray(),a=new Map,l=new Set;Pk(o,function(e){l.add(e)});try{for(var s,u=ZT(e),c=u.next();!c.done;c=u.next())(d=c.value)instanceof F&&(d.value instanceof ok||d.value instanceof lk)&&(s=d.value.rangeId,a.has(s)||a.set(s,function(){for(var e=-1;l.has(e);)--e;return l.add(e),e}()))}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}try{for(var d,h,p=ZT(e),f=p.next();!f.done;f=p.next())(d=f.value)instanceof F&&(d.value instanceof ok||d.value instanceof lk)&&void 0!==(h=a.get(d.value.rangeId))&&d.value.setRangeId(h)}catch(e){n={error:e}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}},M.removeBookmark=rh,M.removeComment=function(e,t,r){var n,i,o,a,l=t,s=r.commentId,u=[];try{for(var c=Ap(l.items),d=c.next();!d.done;d=c.next()){var h=d.value;h instanceof F&&(h.value instanceof Jp||h.value instanceof Qp)&&h.value.commentId===s&&u.push(h.value)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}try{for(var p=Ap(u),f=p.next();!f.done;f=p.next()){var v=f.value;l.removeFeatureInline(v)}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}!function(e,t){var r,n;try{for(var i=Ap(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a instanceof F&&a.value instanceof of){if(a.value.commentId===t.commentId)return e.removeFeatureInline(a.value)}else if(a instanceof cu&&a.featureId===Rp&&a.value instanceof tf&&a.value.commentId===t.commentId)return e.removeFeatureRunItem(a.value)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}throw new J("content/unknown-comment","Comment reference is not in this paragraph")}(t,r.reference),Pf(e).removeEntry(r.commentId)},M.removeEditableRange=function(e,t){var r=hk(e,t.startMarker),n=hk(e,t.endMarker);if(void 0===r||void 0===n)throw new J("content/unknown-editable-range","Editable range markers are not in this document");var i=mk(r);if(mk(n)<i){pk(r,t.startMarker);i=hk(e,t.endMarker);if(void 0===i)throw new J("content/unknown-editable-range","Editable range end marker is not in this document");pk(i,t.endMarker)}else{pk(n,t.endMarker);r=hk(e,t.startMarker);if(void 0===r)throw new J("content/unknown-editable-range","Editable range start marker is not in this document");pk(r,t.startMarker)}Sk.delete(t.startMarker)},M.removeEndnote=function(e,t,r){CL(t,r),iL(e).removeNormalEntry("endnote",r.noteId)},M.removeFootnote=function(e,t,r){CL(t,r),iL(e).removeNormalEntry("footnote",r.noteId)},M.removeHyperlink=function(e,t,r){t.removeFeatureInline(r),void 0!==r.relationshipId&&G1(e).removeEntry(r.relationshipId)},M.removeInlineImage=function(e,t,r){C1(e,t,r)},M.removeInlinePicture=C1,M.removeOleObject=function(e,t,r){var n,i;try{for(var o=LR(t.items),a=o.next();!a.done;a=o.next()){var l,s,u=a.value;if(ZR(u)&&u.value===r)return t.removeFeatureRunItem(r),void(void 0!==(l=sB(e))&&(r.isPendingRelationship()?r.linked?l.discardPendingLink(r):l.discardPendingEmbed(r):void 0!==r.relationshipId&&0<r.relationshipId.length&&l.removeEntry(r.relationshipId),r.isPendingIcon()?l.discardPendingIcon(r):void 0!==(s=r.imageRelationshipId)&&0<s.length&&l.removeIconEntry(s)))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}throw new J("content/invalid-ole-object","OLE object is not in this paragraph")},M.replaceInlineImageBytes=function(e,t,r){x1(e,t,r)},M.replaceInlinePictureBytes=x1,M.replaceOrAddPackageLevelPart=An,M.replaceOrAddPackagePart=un,M.replaceOrInsertChild=zj,M.requireImageCaptionAuthoring=eF,M.requirePictureCaptionAuthoring=eF,M.resetAlwaysOnBodyFeatureBootstrapsForTests=function(){si.length=0},M.resetBibliographyFeatureForTests=function(){oi=!1},M.resetBodyItemAdaptersForTests=function(){$u.length=0},M.resetBookmarksFeatureForTests=function(){lh=!1},M.resetCommentsFeatureForTests=function(){vf=!1},M.resetContentControlsFeatureForTests=function(){kp=!1},M.resetCoreBlockHandlersForTests=function(){Gi=!1},M.resetCustomXmlFeatureForTests=function(){Yf=!1},M.resetDrawingFeatureForTests=function(){bT=!1},M.resetEditableRangesFeatureForTests=function(){Vk=!1},M.resetFeatureBlockHandlers=function(){jr.clear()},M.resetFeatureInlineHandlers=function(){wn.clear()},M.resetFeatureMaterializeHandlers=function(){Rn.length=0,Bn.clear()},M.resetFeatureMultiPartHandlers=function(){rn.length=0},M.resetFeaturePackagePartHandlers=function(){Tn.length=0},M.resetFeaturePartHandlers=function(){Xr.length=0},M.resetFeatureRegistry=function(){Lr.clear()},M.resetFeatureRunLeafHandlers=function(){yn.clear()},M.resetFieldsFeatureForTests=function(){qD=!1},M.resetFontTableFeatureForTests=Xb,M.resetGlossaryFeatureForTests=function(){vO=!1},M.resetHeadersFootersFeatureForTests=function(){EA=!1,wA.clear(),Ec(),Uc()},M.resetHeadersFootersLinkToPreviousHandlersForTests=Uc,M.resetHeadersFootersSlotFactoryForTests=Ec,M.resetHyperlinksFeatureForTests=function(){H1=!1},M.resetImagesFeatureForTests=function(){m1=!1},M.resetListFormatFactoryForTests=function(){Mu=void 0},M.resetMailMergeFeatureForTests=function(){cE=!1},M.resetNotesFeatureForTests=function(){rL=!1},M.resetNumberingFeatureForTests=function(){oP=!1},M.resetOleObjectFeatureForTests=function(){XR=!1},M.resetParagraphElementClassifiersForTests=function(){FS.length=0},M.resetPropertiesFeatureForTests=function(){OB=!1},M.resetRevisionsFeatureForTests=function(){n_=!1},M.resetSectionPageSetupCloneForTests=Wc,M.resetSectionPageSetupSeedForTests=qc,M.resetSectionPropertiesAttachedForTests=rd,M.resetSectionPropertiesParseForTests=ed,M.resetSectionsFeatureForTests=function(){LN=!1,void 0!==EN&&(Cd.create=EN,EN=void 0),Wc(),qc(),ed(),rd();try{delete D.prototype.sectionBreak}catch(e){}},M.resetSettingsFeatureForTests=function(){_M=!1,wM()},M.resetStylesFeatureForTests=function(){YP=!1,cy(),Xb(),rb()},M.resetStylesWithEffectsFeatureForTests=rb,M.resetTablesFeatureForTests=function(){IS=!1},M.resetThemeFeatureForTests=cy,M.resetTypedCollectionHooksForTests=function(){Pc={}},M.resetWatermarkFeatureForTests=function(){K2=!1,Hz()},M.resetWatermarkParseStateForTests=Hz,M.resetWatermarkSerializeStateForTests=function(){},M.resetWebSettingsFeatureForTests=wM,M.residualHasTxbx=BC,M.resolveDependencies=y0,M.resolveInternalTarget=Xt,M.resolveOleChild=dR,M.resolveReferencedStyle=b0,M.resolveResourceLimits=ue,M.resolveRunFormatting=function(e,t,r){var n=hy(e);return R0(KP(e),t,r,n.isDirty()?void 0:n)},M.resolveRunFormattingWithStyles=R0,M.resolveStyleForTarget=m0,M.revisionRangeFor=function(e){return new qB(e)},M.revisionText=ZB,M.revisionTypeForKind=YB,M.revisionsInDocument=function(e){return a_(e).map(function(e){return new qB(e)})},M.runTrackChangesInDocument=a_,M.runTrackChangesInParagraph=o_,M.saveOpcPackage=Vr,M.scale=po,M.scalePoint=po,M.sectionPropertiesToOpenXml=function(e){if(void 0!==e)return"function"==typeof e.toOpenXml?e.toOpenXml():e},M.sectionsError=IO,M.serializeBodyBlocks=Ku,M.serializeBorderEdge=Ta,M.serializeCellMargins=Ea,M.serializeCharacterSpacingControl=X_,M.serializeCnfStyle=tl,M.serializeContentTypes=At,M.serializeDefaultTabStop=G_,M.serializeFeatureBlock=Ur,M.serializeModeledParagraphProperties=zm,M.serializeModeledRunProperties=Oy,M.serializeOnOff=Ji,M.serializeParagraph=Gu,M.serializeParagraphItems=Eu,M.serializeRelationships=ur,M.serializeRun=Lu,M.serializeSettingsChildren=Uj,M.serializeShd=Ra,M.serializeTableAlignment=_a,M.serializeTblBorders=Fa,M.serializeTblLook=Ya,M.serializeTblWidth=Ia,M.serializeTcBorders=Oa,M.serializeTextColumns=zO,M.serializeTextRange=Nu,M.serializeTxbxContentBlocks=LC,M.serializeXml=Fe,M.setDefaultFooter=function(e,t){var r=AA(e);BA(e,r,t,"default"),zN(e,r)},M.setDefaultHeader=function(e,t){var r=AA(e);RA(e,r,t,"default"),zN(e,r)},M.setDocumentCreator=function(e,t){EB(e,function(e){e.creator=t})},M.setDocumentDescription=function(e,t){EB(e,function(e){e.description=t})},M.setDocumentKeywords=function(e,t){EB(e,function(e){e.keywords=t})},M.setDocumentSubject=function(e,t){EB(e,function(e){e.subject=t})},M.setDocumentTitle=function(e,t){EB(e,function(e){e.title=t})},M.setFinalSection=zN,M.setListFormatFactory=Uu,M.setLogicalWatermark=oz,M.setParagraphSectionBreak=HN,M.setParagraphSectionFooter=function(e,t,r,n){void 0===n&&(n="default");var i=UN(t);BA(e,i=void 0===i?sN():i,r,n),HN(t,i)},M.setParagraphSectionHeader=function(e,t,r,n){void 0===n&&(n="default");var i=UN(t);RA(e,i=void 0===i?sN():i,r,n),HN(t,i)},M.setSectionFooter=BA,M.setSectionHeader=RA,M.settingsFor=MM,M.shouldEmitPageBreakAfterParagraph=qu,M.sniffImageContentType=JF,M.sniffImagePixelDimensions=KF,M.solidFillAlpha=$x,M.solidFillSrgb=Jx,M.sourcePartNameFromRelationshipsPart=qt,M.structuredDocumentTagsInBlocks=function(e){var t,r,n=[];try{for(var i=Oh(e),o=i.next();!o.done;o=i.next()){var a,l=o.value;l instanceof yp?n.push(l):"object"==typeof l&&null!==l&&"type"in l&&"feature"===(a=l).type&&a.value instanceof yp&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},M.structuredDocumentTagsInParagraph=function(e){var t,r,e=e.items.toArray(),n=[];try{for(var i=Oh(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof xp?n.push(a):a instanceof F&&a.value instanceof yp&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},M.styleCollectionFor=GP,M.styleFromDocxShell=pg,M.stylesFor=KP,M.stylesWithEffectsFor=function(e){if(nb(),void 0!==(e=e.featurePart(qg))&&e instanceof $g)return e;throw new J("feature/not-registered","stylesWithEffects part was not loaded; call registerStylesFeature() before WordDocument.open")},M.subSuperScriptFromWire=Ro,M.subSuperScriptToWire=Bo,M.tableOwnsParagraph=LT,M.textContent=pn,M.themeFor=hy,M.toBreakLeafView=function(e){return{type:"break",breakType:e.breakType,clear:void 0!==e.clear?e.clear:Gs.None}},M.transitionalDocumentStubXml=Pr,M.transparencyToAlpha=Qx,M.tryParseFeatureBlock=zr,M.twipsToPoint=H,M.underlineStyleFromWire=_o,M.underlineStyleToWire=jo,M.unlinkFromPrevious=function(n,i){return mN(this,void 0,void 0,function(){var t,r;return yN(this,function(e){if(!Br("headers-footers"))throw VN("unlinkFromPrevious requires the headers-footers feature (import @syncfusion/ej2-docx/headers-footers)");if(void 0===(t=$O(n)))throw VN("unlinkFromPrevious requires section properties associated with a document");return r=require("../headers-footers/index"),"header"===i.kind?r.setSectionHeader(t,n,"",i.refType):r.setSectionFooter(t,n,"",i.refType),[2]})})},M.upsertPropChild=Pa,M.usedMainDocumentRelationshipIds=ln,M.usedModeledPositionMode=lI,M.usedPackagePartNameKeys=function(e){var t,r,n=new Set;try{for(var i=Cn(e.parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add($(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},M.usedPackageRelationshipIds=En,M.validateColumnCount=NO,M.validateNonNegativeInteger=OO,M.validatePageNumberStyle=FO,M.validatePageOrientation=TO,M.validatePositiveInteger=DO,M.validateSectionBreakCode=kO,M.validateSectionLength=VO,M.viewSetupFor=rM,M.visitBlocksInDocumentOrder=zn,M.visitParagraphsInDocumentOrder=Mn,M.vmlAttribute=KM,M.wValAttribute=z,M.webSettingsFor=function(e){if(PM(),void 0!==(e=e.featurePart(sM))&&e instanceof yM)return e;throw new J("feature/not-registered","Web settings part was not loaded; call registerSettingsFeature() before WordDocument.open")},M.wireToBreakCode=PO,M.withAddedPart=Dr,M.withContentTypeOverride=Or,M.withOpaqueBody=function(e,t){var r=Li(e),n=r.children.filter(function(e){return"element"!==e.kind}),i=Di({},r,{children:Ni(t.map(function(e){return e.xml}),n)});return Di({},e,{children:e.children.map(function(e){return"element"===e.kind&&Ei(e,"body")?i:e})})},M.withPackageRelationships=Ar,M.withPartRelationships=Nr,M.withReplacedPart=Fr,M.wmlAttr=y,M.wmlAttrVal=ba,M.wmlElement=b,M.wrappingRequiresAnchor=function(e){return e!==V.Inline},M.writeCellBorders=Xv,M.writeCellCnfStyle=cm,M.writeCellFitText=sm,M.writeCellHideMark=function(e,t){return Bv(e,"hideMark",void 0!==t?Ji("hideMark",t):void 0)},M.writeCellMargins=$v,M.writeCellNoWrap=am,M.writeCellPreferredWidth=Gv,M.writeCellShading=Zv,M.writeCellTextDirection=rm,M.writeCellVerticalAlignment=im,M.writeGridSpan=Mv,M.writeHorizontalMerge=Hv,M.writeIsSamePaddingsAsTable=Qv,M.writeRowAlignment=function(e,t){if(void 0!==t||void 0!==e)return Sv(e,"jc",void 0!==t?_a(t):void 0)},M.writeRowCantSplit=Tv,M.writeRowCnfStyle=Av,M.writeRowHeight=Iv,M.writeRowIsHeader=Fv,M.writeRowShading=Ov,M.writeTableAlignment=ll,M.writeTableBorders=pl,M.writeTableCaption=xl,M.writeTableCellMargins=vl,M.writeTableCellSpacing=yl,M.writeTableColumnBandSize=Al,M.writeTableDescription=Il,M.writeTableIndent=ul,M.writeTableLayout=Fl,M.writeTableLook=Pl,M.writeTablePositioning=gm,M.writeTablePreferredWidth=dl,M.writeTableRowBandSize=Ol,M.writeTableShading=bl,M.writeTableStyle=Tl,M.writeVerticalMerge=zv,M.writeZip=St,M.xmlSpaceIsPreserve=vn,M.xmlSpacePreserve=fn,M.zipItemFromPartName=Bt,Object.defineProperty(M,"__esModule",{value:!0})});
|
|
2
11
|
//# sourceMappingURL=ej2-docx.umd.min.js.map
|