tansci-boot/tansci-boot-ui/public/gh-pages/scripts/chunk/5937.727b4843.js

1 line
84 KiB
JavaScript

"use strict";(self.webpackChunktansci_boot_ui_editor=self.webpackChunktansci_boot_ui_editor||[]).push([[5937],{25937:function(e,t,r){r.r(t),r.d(t,{Word:function(){return sa},default:function(){return ua}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o,i,c,l,s,u,d,f,h,p,v,w,g,m,y,b,k,x,S,C,L,T,P,M,B,D,N,E,A,X,H,R,O,F,I,z,q,W,V,G,j,U,_,Z,K,J,Y,Q,$,ee,te,re,ne,ae,oe,ie,ce,le,se,ue,de,fe,he,pe,ve,we,ge,me,ye,be,ke,xe,Se,Ce,Le,Te,Pe,Me,Be,De,Ne,Ee,Ae,Xe,He,Re,Oe,Fe,Ie,ze=function(){return ze=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ze.apply(this,arguments)};function qe(e,t,r,n){return new(r||(r=Promise))((function(a,o){function i(e){try{l(n.next(e))}catch(e){o(e)}}function c(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}l((n=n.apply(e,t||[])).next())}))}function We(e,t){var r,n,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(c){return function(l){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(i=0)),i;)try{if(r=1,n&&(a=2&c[0]?n.return:c[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;switch(n=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,n=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(6===c[0]&&i.label<a[1]){i.label=a[1],a=c;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(c);break}a[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],n=0}finally{r=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}}function Ve(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ge(e,t){return{id:e.getAttribute("Id")||"",type:e.getAttribute("Type")||"",target:e.getAttribute("Target")||"",targetMode:e.getAttribute("TargetMode")||"",part:t}}function je(e,t){var r,n,a={},o=e.getElementsByTagName("Relationship");try{for(var i=Ve(o),c=i.next();!c.done;c=i.next()){var l=Ge(c.value,t);a[l.id]=l}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function Ue(e){return e.getAttribute("w:val")||""}function _e(e){return parseInt(Ue(e),10)}function Ze(e,t){if(void 0===t&&(t=!1),"boolean"==typeof e)return e;if("string"==typeof e){switch(e){case"1":case"on":case"true":return!0;case"0":case"off":case"false":return!1}if("number"==typeof e)return 0!==e}return t}function Ke(e,t){return void 0===t&&(t=!0),Ze(Ue(e),t)}function Je(e,t,r){return void 0===r&&(r=!0),Ze(e.getAttribute(t),r)}!function(e){e.gregorian="gregorian",e.gregorianUs="gregorianUs",e.gregorianMeFrench="gregorianMeFrench",e.gregorianArabic="gregorianArabic",e.hijri="hijri",e.hebrew="hebrew",e.taiwan="taiwan",e.japan="japan",e.thai="thai",e.korea="korea",e.saka="saka",e.gregorianXlitEnglish="gregorianXlitEnglish",e.gregorianXlitFrench="gregorianXlitFrench",e.none="none"}(o||(o={})),function(e){e.baseline="baseline",e.superscript="superscript",e.subscript="subscript"}(i||(i={})),function(e){e.left="left",e.center="center",e.right="right",e.inside="inside",e.outside="outside"}(c||(c={})),function(e){e.inline="inline",e.top="top",e.center="center",e.bottom="bottom",e.inside="inside",e.outside="outside"}(l||(l={})),function(e){e.strict="strict",e.transitional="transitional"}(s||(s={})),function(e){e.black="black",e.blue="blue",e.cyan="cyan",e.green="green",e.magenta="magenta",e.red="red",e.yellow="yellow",e.white="white",e.darkBlue="darkBlue",e.darkCyan="darkCyan",e.darkGreen="darkGreen",e.darkMagenta="darkMagenta",e.darkRed="darkRed",e.darkYellow="darkYellow",e.darkGray="darkGray",e.lightGray="lightGray",e.none="none"}(u||(u={})),function(e){e.auto="auto"}(d||(d={})),function(e){e.single="single",e.words="words",e.double="double",e.thick="thick",e.dotted="dotted",e.dottedHeavy="dottedHeavy",e.dash="dash",e.dashedHeavy="dashedHeavy",e.dashLong="dashLong",e.dashLongHeavy="dashLongHeavy",e.dotDash="dotDash",e.dashDotHeavy="dashDotHeavy",e.dotDotDash="dotDotDash",e.dashDotDotHeavy="dashDotDotHeavy",e.wave="wave",e.wavyHeavy="wavyHeavy",e.wavyDouble="wavyDouble",e.none="none"}(f||(f={})),function(e){e.blinkBackground="blinkBackground",e.lights="lights",e.antsBlack="antsBlack",e.antsRed="antsRed",e.shimmer="shimmer",e.sparkle="sparkle",e.none="none"}(h||(h={})),function(e){e.nil="nil",e.none="none",e.single="single",e.thick="thick",e.double="double",e.dotted="dotted",e.dashed="dashed",e.dotDash="dotDash",e.dotDotDash="dotDotDash",e.triple="triple",e.thinThickSmallGap="thinThickSmallGap",e.thickThinSmallGap="thickThinSmallGap",e.thinThickThinSmallGap="thinThickThinSmallGap",e.thinThickMediumGap="thinThickMediumGap",e.thickThinMediumGap="thickThinMediumGap",e.thinThickThinMediumGap="thinThickThinMediumGap",e.thinThickLargeGap="thinThickLargeGap",e.thickThinLargeGap="thickThinLargeGap",e.thinThickThinLargeGap="thinThickThinLargeGap",e.wave="wave",e.doubleWave="doubleWave",e.dashSmallGap="dashSmallGap",e.dashDotStroked="dashDotStroked",e.threeDEmboss="threeDEmboss",e.threeDEngrave="threeDEngrave",e.outset="outset",e.inset="inset",e.apples="apples",e.archedScallops="archedScallops",e.babyPacifier="babyPacifier",e.babyRattle="babyRattle",e.balloons3Colors="balloons3Colors",e.balloonsHotAir="balloonsHotAir",e.basicBlackDashes="basicBlackDashes",e.basicBlackDots="basicBlackDots",e.basicBlackSquares="basicBlackSquares",e.basicThinLines="basicThinLines",e.basicWhiteDashes="basicWhiteDashes",e.basicWhiteDots="basicWhiteDots",e.basicWhiteSquares="basicWhiteSquares",e.basicWideInline="basicWideInline",e.basicWideMidline="basicWideMidline",e.basicWideOutline="basicWideOutline",e.bats="bats",e.birds="birds",e.birdsFlight="birdsFlight",e.cabins="cabins",e.cakeSlice="cakeSlice",e.candyCorn="candyCorn",e.celticKnotwork="celticKnotwork",e.certificateBanner="certificateBanner",e.chainLink="chainLink",e.champagneBottle="champagneBottle",e.checkedBarBlack="checkedBarBlack",e.checkedBarColor="checkedBarColor",e.checkered="checkered",e.christmasTree="christmasTree",e.circlesLines="circlesLines",e.circlesRectangles="circlesRectangles",e.classicalWave="classicalWave",e.clocks="clocks",e.compass="compass",e.confetti="confetti",e.confettiGrays="confettiGrays",e.confettiOutline="confettiOutline",e.confettiStreamers="confettiStreamers",e.confettiWhite="confettiWhite",e.cornerTriangles="cornerTriangles",e.couponCutoutDashes="couponCutoutDashes",e.couponCutoutDots="couponCutoutDots",e.crazyMaze="crazyMaze",e.creaturesButterfly="creaturesButterfly",e.creaturesFish="creaturesFish",e.creaturesInsects="creaturesInsects",e.creaturesLadyBug="creaturesLadyBug",e.crossStitch="crossStitch",e.cup="cup",e.decoArch="decoArch",e.decoArchColor="decoArchColor",e.decoBlocks="decoBlocks",e.diamondsGray="diamondsGray",e.doubleD="doubleD",e.doubleDiamonds="doubleDiamonds",e.earth1="earth1",e.earth2="earth2",e.earth3="earth3",e.eclipsingSquares1="eclipsingSquares1",e.eclipsingSquares2="eclipsingSquares2",e.eggsBlack="eggsBlack",e.fans="fans",e.film="film",e.firecrackers="firecrackers",e.flowersBlockPrint="flowersBlockPrint",e.flowersDaisies="flowersDaisies",e.flowersModern1="flowersModern1",e.flowersModern2="flowersModern2",e.flowersPansy="flowersPansy",e.flowersRedRose="flowersRedRose",e.flowersRoses="flowersRoses",e.flowersTeacup="flowersTeacup",e.flowersTiny="flowersTiny",e.gems="gems",e.gingerbreadMan="gingerbreadMan",e.gradient="gradient",e.handmade1="handmade1",e.handmade2="handmade2",e.heartBalloon="heartBalloon",e.heartGray="heartGray",e.hearts="hearts",e.heebieJeebies="heebieJeebies",e.holly="holly",e.houseFunky="houseFunky",e.hypnotic="hypnotic",e.iceCreamCones="iceCreamCones",e.lightBulb="lightBulb",e.lightning1="lightning1",e.lightning2="lightning2",e.mapPins="mapPins",e.mapleLeaf="mapleLeaf",e.mapleMuffins="mapleMuffins",e.marquee="marquee",e.marqueeToothed="marqueeToothed",e.moons="moons",e.mosaic="mosaic",e.musicNotes="musicNotes",e.northwest="northwest",e.ovals="ovals",e.packages="packages",e.palmsBlack="palmsBlack",e.palmsColor="palmsColor",e.paperClips="paperClips",e.papyrus="papyrus",e.partyFavor="partyFavor",e.partyGlass="partyGlass",e.pencils="pencils",e.people="people",e.peopleWaving="peopleWaving",e.peopleHats="peopleHats",e.poinsettias="poinsettias",e.postageStamp="postageStamp",e.pumpkin1="pumpkin1",e.pushPinNote2="pushPinNote2",e.pushPinNote1="pushPinNote1",e.pyramids="pyramids",e.pyramidsAbove="pyramidsAbove",e.quadrants="quadrants",e.rings="rings",e.safari="safari",e.sawtooth="sawtooth",e.sawtoothGray="sawtoothGray",e.scaredCat="scaredCat",e.seattle="seattle",e.shadowedSquares="shadowedSquares",e.sharksTeeth="sharksTeeth",e.shorebirdTracks="shorebirdTracks",e.skyrocket="skyrocket",e.snowflakeFancy="snowflakeFancy",e.snowflakes="snowflakes",e.sombrero="sombrero",e.southwest="southwest",e.stars="stars",e.starsTop="starsTop",e.stars3d="stars3d",e.starsBlack="starsBlack",e.starsShadowed="starsShadowed",e.sun="sun",e.swirligig="swirligig",e.tornPaper="tornPaper",e.tornPaperBlack="tornPaperBlack",e.trees="trees",e.triangleParty="triangleParty",e.triangles="triangles",e.triangle1="triangle1",e.triangle2="triangle2",e.triangleCircle1="triangleCircle1",e.triangleCircle2="triangleCircle2",e.shapes1="shapes1",e.shapes2="shapes2",e.twistedLines1="twistedLines1",e.twistedLines2="twistedLines2",e.vine="vine",e.waveline="waveline",e.weavingAngles="weavingAngles",e.weavingBraid="weavingBraid",e.weavingRibbon="weavingRibbon",e.weavingStrips="weavingStrips",e.whiteFlowers="whiteFlowers",e.woodwork="woodwork",e.xIllusions="xIllusions",e.zanyTriangles="zanyTriangles",e.zigZag="zigZag",e.zigZagStitch="zigZagStitch",e.custom="custom"}(p||(p={})),function(e){e.nil="nil",e.clear="clear",e.solid="solid",e.horzStripe="horzStripe",e.vertStripe="vertStripe",e.reverseDiagStripe="reverseDiagStripe",e.diagStripe="diagStripe",e.horzCross="horzCross",e.diagCross="diagCross",e.thinHorzStripe="thinHorzStripe",e.thinVertStripe="thinVertStripe",e.thinReverseDiagStripe="thinReverseDiagStripe",e.thinDiagStripe="thinDiagStripe",e.thinHorzCross="thinHorzCross",e.thinDiagCross="thinDiagCross",e.pct5="pct5",e.pct10="pct10",e.pct12="pct12",e.pct15="pct15",e.pct20="pct20",e.pct25="pct25",e.pct30="pct30",e.pct35="pct35",e.pct37="pct37",e.pct40="pct40",e.pct45="pct45",e.pct50="pct50",e.pct55="pct55",e.pct60="pct60",e.pct62="pct62",e.pct65="pct65",e.pct70="pct70",e.pct75="pct75",e.pct80="pct80",e.pct85="pct85",e.pct87="pct87",e.pct90="pct90",e.pct95="pct95"}(v||(v={})),function(e){e.none="none",e.dot="dot",e.comma="comma",e.circle="circle",e.underDot="underDot"}(w||(w={})),function(e){e.none="none",e.round="round",e.square="square",e.angle="angle",e.curly="curly"}(g||(g={})),function(e){e.auto="auto",e.exact="exact",e.atLeast="atLeast"}(m||(m={})),function(e){e.auto="auto",e.notBeside="notBeside",e.around="around",e.tight="tight",e.through="through",e.none="none"}(y||(y={})),function(e){e.text="text",e.margin="margin",e.page="page"}(b||(b={})),function(e){e.text="text",e.margin="margin",e.page="page"}(k||(k={})),function(e){e.none="none",e.drop="drop",e.margin="margin"}(x||(x={})),function(e){e.clear="clear",e.start="start",e.center="center",e.end="end",e.decimal="decimal",e.bar="bar",e.num="num"}(S||(S={})),function(e){e.none="none",e.dot="dot",e.hyphen="hyphen",e.underscore="underscore",e.heavy="heavy",e.middleDot="middleDot"}(C||(C={})),function(e){e.auto="auto",e.exact="exact",e.atLeast="atLeast"}(L||(L={})),function(e){e.start="start",e.center="center",e.end="end",e.both="both",e.mediumKashida="mediumKashida",e.distribute="distribute",e.numTab="numTab",e.highKashida="highKashida",e.lowKashida="lowKashida",e.thaiDistribute="thaiDistribute"}(T||(T={})),function(e){e.center="center",e.end="end",e.start="start"}(P||(P={})),function(e){e.none="none",e.print="print",e.outline="outline",e.masterPages="masterPages",e.normal="normal",e.web="web"}(M||(M={})),function(e){e.none="none",e.fullPage="fullPage",e.bestFit="bestFit",e.textFit="textFit"}(B||(B={})),function(e){e.clean="clean",e.dirty="dirty"}(D||(D={})),function(e){e.none="none",e.readOnly="readOnly",e.comments="comments",e.trackedChanges="trackedChanges",e.forms="forms"}(N||(N={})),function(e){e.catalog="catalog",e.envelopes="envelopes",e.mailingLabels="mailingLabels",e.formLetters="formLetters",e.email="email",e.fax="fax"}(E||(E={})),function(e){e.newDocument="newDocument",e.printer="printer",e.email="email",e.fax="fax"}(A||(A={})),function(e){e.null="null",e.dbColumn="dbColumn"}(X||(X={})),function(e){e.tb="tb",e.rl="rl",e.lr="lr",e.tbV="tbV",e.rlV="rlV",e.lrV="lrV"}(H||(H={})),function(e){e.top="top",e.center="center",e.baseline="baseline",e.bottom="bottom",e.auto="auto"}(R||(R={})),function(e){e.next="next",e.prev="prev"}(O||(O={})),function(e){e.cont="cont",e.rest="rest"}(F||(F={})),function(e){e.none="none",e.allLines="allLines",e.firstAndLastLine="firstAndLastLine",e.firstLineOnly="firstLineOnly",e.lastLineOnly="lastLineOnly"}(I||(I={})),function(e){e.content="content",e.icon="icon"}(z||(z={})),function(e){e.always="always",e.onCall="onCall"}(q||(q={})),function(e){e.begin="begin",e.separate="separate",e.end="end"}(W||(W={})),function(e){e.text="text",e.autoText="autoText"}(V||(V={})),function(e){e.regular="regular",e.number="number",e.date="date",e.currentTime="currentTime",e.currentDate="currentDate",e.calculated="calculated"}(G||(G={})),function(e){e.nextPage="nextPage",e.nextColumn="nextColumn",e.continuous="continuous",e.evenPage="evenPage",e.oddPage="oddPage"}(j||(j={})),function(e){e.decimal="decimal",e.upperRoman="upperRoman",e.lowerRoman="lowerRoman",e.upperLetter="upperLetter",e.lowerLetter="lowerLetter",e.ordinal="ordinal",e.cardinalText="cardinalText",e.ordinalText="ordinalText",e.hex="hex",e.chicago="chicago",e.ideographDigital="ideographDigital",e.japaneseCounting="japaneseCounting",e.aiueo="aiueo",e.iroha="iroha",e.decimalFullWidth="decimalFullWidth",e.decimalHalfWidth="decimalHalfWidth",e.japaneseLegal="japaneseLegal",e.japaneseDigitalTenThousand="japaneseDigitalTenThousand",e.decimalEnclosedCircle="decimalEnclosedCircle",e.decimalFullWidth2="decimalFullWidth2",e.aiueoFullWidth="aiueoFullWidth",e.irohaFullWidth="irohaFullWidth",e.decimalZero="decimalZero",e.bullet="bullet",e.ganada="ganada",e.chosung="chosung",e.decimalEnclosedFullstop="decimalEnclosedFullstop",e.decimalEnclosedParen="decimalEnclosedParen",e.decimalEnclosedCircleChinese="decimalEnclosedCircleChinese",e.ideographEnclosedCircle="ideographEnclosedCircle",e.ideographTraditional="ideographTraditional",e.ideographZodiac="ideographZodiac",e.ideographZodiacTraditional="ideographZodiacTraditional",e.taiwaneseCounting="taiwaneseCounting",e.ideographLegalTraditional="ideographLegalTraditional",e.taiwaneseCountingThousand="taiwaneseCountingThousand",e.taiwaneseDigital="taiwaneseDigital",e.chineseCounting="chineseCounting",e.chineseLegalSimplified="chineseLegalSimplified",e.chineseCountingThousand="chineseCountingThousand",e.koreanDigital="koreanDigital",e.koreanCounting="koreanCounting",e.koreanLegal="koreanLegal",e.koreanDigital2="koreanDigital2",e.vietnameseCounting="vietnameseCounting",e.russianLower="russianLower",e.russianUpper="russianUpper",e.none="none",e.numberInDash="numberInDash",e.hebrew1="hebrew1",e.hebrew2="hebrew2",e.arabicAlpha="arabicAlpha",e.arabicAbjad="arabicAbjad",e.hindiVowels="hindiVowels",e.hindiConsonants="hindiConsonants",e.hindiNumbers="hindiNumbers",e.hindiCounting="hindiCounting",e.thaiLetters="thaiLetters",e.thaiNumbers="thaiNumbers",e.thaiCounting="thaiCounting",e.bahtText="bahtText",e.dollarText="dollarText",e.custom="custom"}(U||(U={})),function(e){e.portrait="portrait",e.landscape="landscape"}(_||(_={})),function(e){e.front="front",e.back="back"}(Z||(Z={})),function(e){e.allPages="allPages",e.firstPage="firstPage",e.notFirstPage="notFirstPage"}(K||(K={})),function(e){e.page="page",e.text="text"}(J||(J={})),function(e){e.hyphen="hyphen",e.period="period",e.colon="colon",e.emDash="emDash",e.enDash="enDash"}(Y||(Y={})),function(e){e.newPage="newPage",e.newSection="newSection",e.continuous="continuous"}(Q||(Q={})),function(e){e.top="top",e.center="center",e.both="both",e.bottom="bottom"}($||($={})),function(e){e.default="default",e.lines="lines",e.linesAndChars="linesAndChars",e.snapToChars="snapToChars"}(ee||(ee={})),function(e){e.even="even",e.default="default",e.first="first"}(te||(te={})),function(e){e.normal="normal",e.separator="separator",e.continuationSeparator="continuationSeparator",e.continuationNotice="continuationNotice"}(re||(re={})),function(e){e.page="page",e.column="column",e.textWrapping="textWrapping"}(ne||(ne={})),function(e){e.none="none",e.left="left",e.right="right",e.all="all"}(ae||(ae={})),function(e){e.left="left",e.center="center",e.right="right"}(oe||(oe={})),function(e){e.margin="margin",e.indent="indent"}(ie||(ie={})),function(e){e.none="none",e.dot="dot",e.hyphen="hyphen",e.underscore="underscore",e.middleDot="middleDot"}(ce||(ce={})),function(e){e.spellStart="spellStart",e.spellEnd="spellEnd",e.gramStart="gramStart",e.gramEnd="gramEnd"}(le||(le={})),function(e){e.none="none",e.everyone="everyone",e.administrators="administrators",e.contributors="contributors",e.editors="editors",e.owners="owners",e.current="current"}(se||(se={})),function(e){e.default="default",e.eastAsia="eastAsia"}(ue||(ue={})),function(e){e.majorEastAsia="majorEastAsia",e.majorBidi="majorBidi",e.majorAscii="majorAscii",e.majorHAnsi="majorHAnsi",e.minorEastAsia="minorEastAsia",e.minorBidi="minorBidi",e.minorAscii="minorAscii",e.minorHAnsi="minorHAnsi"}(de||(de={})),function(e){e.center="center",e.distributeLetter="distributeLetter",e.distributeSpace="distributeSpace",e.left="left",e.right="right",e.rightVertical="rightVertical"}(fe||(fe={})),function(e){e.sdtLocked="sdtLocked",e.contentLocked="contentLocked",e.unlocked="unlocked",e.sdtContentLocked="sdtContentLocked"}(he||(he={})),function(e){e.text="text",e.date="date",e.dateTime="dateTime"}(pe||(pe={})),function(e){e.ltr="ltr",e.rtl="rtl"}(ve||(ve={})),function(e){e.nil="nil",e.pct="pct",e.dxa="dxa",e.auto="auto"}(we||(we={})),function(e){e.continue="continue",e.restart="restart"}(ge||(ge={})),function(e){e.fixed="fixed",e.autofit="autofit"}(me||(me={})),function(e){e.never="never",e.overlap="overlap"}(ye||(ye={})),function(e){e.pageBottom="pageBottom",e.beneathText="beneathText",e.sectEnd="sectEnd",e.docEnd="docEnd"}(be||(be={})),function(e){e.sectEnd="sectEnd",e.docEnd="docEnd"}(ke||(ke={})),function(e){e.continuous="continuous",e.eachSect="eachSect",e.eachPage="eachPage"}(xe||(xe={})),function(e){e.database="database",e.addressBook="addressBook",e.document1="document1",e.document2="document2",e.text="text",e.email="email",e.native="native",e.legacy="legacy",e.master="master"}(Se||(Se={})),function(e){e.doNotCompress="doNotCompress",e.compressPunctuation="compressPunctuation",e.compressPunctuationAndJapaneseKana="compressPunctuationAndJapaneseKana"}(Ce||(Ce={})),function(e){e.dark1="dark1",e.light1="light1",e.dark2="dark2",e.light2="light2",e.accent1="accent1",e.accent2="accent2",e.accent3="accent3",e.accent4="accent4",e.accent5="accent5",e.accent6="accent6",e.hyperlink="hyperlink",e.followedHyperlink="followedHyperlink"}(Le||(Le={})),function(e){e.name="name",e.priority="priority",e.default="default",e.font="font",e.basedOn="basedOn",e.type="type"}(Te||(Te={})),function(e){e.on="on",e.off="off",e.auto="auto"}(Pe||(Pe={})),function(e){e.rows="rows",e.cols="cols",e.none="none"}(Me||(Me={})),function(e){e.tab="tab",e.space="space",e.nothing="nothing"}(Be||(Be={})),function(e){e.singleLevel="singleLevel",e.multilevel="multilevel",e.hybridMultilevel="hybridMultilevel"}(De||(De={})),function(e){e.wholeTable="wholeTable",e.firstRow="firstRow",e.lastRow="lastRow",e.firstCol="firstCol",e.lastCol="lastCol",e.band1Vert="band1Vert",e.band2Vert="band2Vert",e.band1Horz="band1Horz",e.band2Horz="band2Horz",e.neCell="neCell",e.nwCell="nwCell",e.seCell="seCell",e.swCell="swCell"}(Ne||(Ne={})),function(e){e.paragraph="paragraph",e.character="character",e.table="table",e.numbering="numbering"}(Ee||(Ee={})),function(e){e.decorative="decorative",e.modern="modern",e.roman="roman",e.script="script",e.swiss="swiss",e.auto="auto"}(Ae||(Ae={})),function(e){e.fixed="fixed",e.variable="variable",e.default="default"}(Xe||(Xe={})),function(e){e.dark1="dark1",e.light1="light1",e.dark2="dark2",e.light2="light2",e.accent1="accent1",e.accent2="accent2",e.accent3="accent3",e.accent4="accent4",e.accent5="accent5",e.accent6="accent6",e.hyperlink="hyperlink",e.followedHyperlink="followedHyperlink",e.none="none",e.background1="background1",e.text1="text1",e.background2="background2",e.text2="text2"}(He||(He={})),function(e){e.content="content",e.p="p",e.pg="pg"}(Re||(Re={})),function(e){e.none="none",e.normal="normal",e.autoExp="autoExp",e.toolbar="toolbar",e.speller="speller",e.formFld="formFld",e.bbPlcHdr="bbPlcHdr"}(Oe||(Oe={})),function(e){e.placeholder="placeholder",e.any="any",e.default="default",e.docParts="docParts",e.coverPg="coverPg",e.eq="eq",e.ftrs="ftrs",e.hdrs="hdrs",e.pgNum="pgNum",e.tbls="tbls",e.watermarks="watermarks",e.autoTxt="autoTxt",e.txtBox="txtBox",e.pgNumT="pgNumT",e.pgNumB="pgNumB",e.pgNumMargins="pgNumMargins",e.tblOfContents="tblOfContents",e.bib="bib",e.custQuickParts="custQuickParts",e.custCoverPg="custCoverPg",e.custEq="custEq",e.custFtrs="custFtrs",e.custHdrs="custHdrs",e.custPgNum="custPgNum",e.custTbls="custTbls",e.custWatermarks="custWatermarks",e.custAutoTxt="custAutoTxt",e.custTxtBox="custTxtBox",e.custPgNumT="custPgNumT",e.custPgNumB="custPgNumB",e.custPgNumMargins="custPgNumMargins",e.custTblOfContents="custTblOfContents",e.custBib="custBib",e.custom1="custom1",e.custom2="custom2",e.custom3="custom3",e.custom4="custom4",e.custom5="custom5"}(Fe||(Fe={})),function(e){e.above="above",e.below="below",e.left="left",e.right="right"}(Ie||(Ie={}));var Ye={Dxa:{mul:.066665,unit:"px"},Emu:{mul:1.3333/12700,unit:"px"},FontSize:{mul:.66665,unit:"px"},Border:{mul:.1666625,unit:"px"},Point:{mul:1.3333,unit:"px"},Percent:{mul:.02,unit:"%"},LineHeight:{mul:1/240,unit:""},VmlEmu:{mul:1/12700,unit:""}};function Qe(e,t,r){void 0===r&&(r=Ye.Dxa);var n=e.getAttribute(t);return n?function(e,t){return void 0===t&&(t=Ye.Dxa),null==e||/.+(p[xt]|[%])$/.test(e)?e:"".concat((parseInt(e)*t.mul).toFixed(2)).concat(t.unit)}(String(n),r):""}var $e=["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"];function et(e,t,r,n){void 0===r&&(r="w:color"),void 0===n&&(n="black");var a=t.getAttribute(r);if(a)return"auto"==a?n:"string"==typeof a&&$e.includes(a)?a:"#".concat(a);var o=t.getAttribute("w:themeColor");return o?e.getThemeColor(o):""}function tt(e,t){var r=t.getAttribute("w:fill")||"",n=Ue(t);if("auto"===r&&(r="inherit"),6===r.length)switch(n){case v.clear:return"#".concat(r);case v.pct10:return rt(r,.1);case v.pct12:return rt(r,.125);case v.pct15:return rt(r,.15);case v.pct20:return rt(r,.2);case v.pct25:return rt(r,.25);case v.pct30:return rt(r,.3);case v.pct35:return rt(r,.35);case v.pct37:return rt(r,.375);case v.pct40:return rt(r,.4);case v.pct45:return rt(r,.45);case v.pct5:return rt(r,.05);case v.pct50:return rt(r,.5);case v.pct55:return rt(r,.55);case v.pct60:return rt(r,.6);case v.pct65:return rt(r,.65);case v.pct70:return rt(r,.7);case v.pct75:return rt(r,.75);case v.pct80:return rt(r,.8);case v.pct85:return rt(r,.85);case v.pct87:return rt(r,.87);case v.pct90:return rt(r,.9);case v.pct95:return rt(r,.95);default:return console.warn("unsupport shd val",n),"#".concat(r)}return""}function rt(e,t){var r=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16);return"rgba(".concat(r,", ").concat(n,", ").concat(a,", ").concat(t,")")}function nt(e,t){return et(e,t,"w:val")}var at="black";function ot(e,t){var r=Ue(t);if(r===p.nil||r===p.none)return"none";switch(r){case p.dashed:case p.dashDotStroked:case p.dashSmallGap:case p.dotDash:case p.dotDotDash:case p.dotted:case p.double:case p.doubleWave:case p.inset:case p.outset:}var n=et(e,t),a=Qe(t,"w:sz",Ye.Border);return"".concat(a," solid ").concat("auto"==n?at:n)}function it(e,t,r){var n,a;try{for(var o=Ve(t.children),i=o.next();!i.done;i=o.next()){var c=i.value;switch(c.tagName){case"w:start":case"w:left":r["border-left"]=ot(e,c);break;case"w:end":case"w:right":r["border-right"]=ot(e,c);break;case"w:top":r["border-top"]=ot(e,c);break;case"w:bottom":r["border-bottom"]=ot(e,c)}}}catch(e){n={error:e}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}}function ct(e,t){var r=Qe(e,"w:firstLine"),n=Qe(e,"w:hanging"),a=Qe(e,"w:left"),o=Qe(e,"w:start"),i=Qe(e,"w:right"),c=Qe(e,"w:end");r&&(t["text-indent"]=r),n&&(t["text-indent"]="-".concat(n)),(a||o)&&(t["margin-left"]=a||o),(i||c)&&(t["margin-right"]=i||c)}function lt(e,t,r){var n=Qe(t,"w:before"),a=Qe(t,"w:after"),o=t.getAttribute("w:lineRule");n&&(r["margin-top"]=n),a&&(r["margin-bottom"]=a);var i=t.getAttribute("w:line");if(i){if(e.renderOptions.forceLineHeight)return void(r["line-height"]=e.renderOptions.forceLineHeight);var c=parseInt(i,10),l=e.renderOptions.minLineHeight||1;switch(o){case"auto":var s=Math.max(l,c/240);r["line-height"]="".concat(s.toFixed(2));break;case"atLeast":break;default:var u=Math.max(l,c/20);r["line-height"]=r["min-height"]="".concat(u,"pt")}}}function st(e,t,r){var n,a,o=[],i=e.renderOptions.fontMapping;try{for(var c=Ve(t.attributes),l=c.next();!l.done;l=c.next()){var s=l.value,u=s.name,d=s.value;switch(u){case"w:ascii":case"w:cs":case"w:eastAsia":i&&d in i&&(d=i[d]),-1===d.indexOf(" ")?o.push(d):o.push('"'+d+'"');break;case"w:asciiTheme":case"w:csTheme":case"w:eastAsiaTheme":o.push("var(--docx-theme-font-".concat(d,")"))}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}o.length&&(r["font-family"]=Array.from(new Set(o)).join(", "))}function ut(e,t){var r=Qe(e,"w:val"),n=e.getAttribute("w:hRule");"exact"===n?t.height=r:"atLeast"===n&&(t.height=r,t["min-height"]=r)}function dt(e){switch(e){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":return"justify"}return e}function ft(e,t){switch(e.getAttribute("w:val")){case H.lr:case H.lrV:case"btLr":case"lrTb":case"lrTbV":case"tbLrV":t.direction="ltr";break;case H.rl:case H.rlV:case"tbRl":case"tbRlV":t.direction="rtl"}}function ht(e,t,r){var n=Ue(t);if(null!=n){switch(n){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":r["text-decoration-style"]="dashed";break;case"dotted":case"dottedHeavy":r["text-decoration-style"]="dotted";break;case"double":r["text-decoration-style"]="double";break;case"single":case"thick":case"words":r["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":r["text-decoration-style"]="wavy";break;case"none":r["text-decoration"]="none"}var a=et(e,t);a&&(r["text-decoration-color"]=a)}}function pt(e,t){var r,n;try{for(var a=Ve(e.attributes),o=a.next();!o.done;o=a.next()){var i=o.value,c=i.name,l=i.value;switch(c){case"w:dropCap":"drop"===l&&(t.float="left");break;case"w:h":"object"!=typeof l||Array.isArray(l)||(t.height=Qe(l,"w:h"));break;case"w:w":"object"!=typeof l||Array.isArray(l)||(t.width=Qe(l,"w:w"));break;default:console.warn("parseFrame: unknown attribute "+c,i)}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}var vt="transparent";function wt(e,t,r){var n,a,o={};try{for(var c=Ve(t.children),l=c.next();!l.done;l=c.next()){var s=l.value,u=s.tagName;switch(u){case"w:sz":case"w:szCs":o["font-size"]=Qe(s,"w:val",Ye.FontSize);break;case"w:jc":o["text-align"]=dt(Ue(s));break;case"w:framePr":pt(s,o);break;case"w:pBdr":it(e,s,o);break;case"w:ind":ct(s,o);break;case"w:color":o.color=nt(e,s);break;case"w:shd":"background-color"in o||(o["background-color"]=tt(0,s));break;case"w:spacing":lt(e,s,o);break;case"w:highlight":o["background-color"]=et(e,s,"w:fill",vt);break;case"w:vertAlign":var d=Ue(s);d===i.superscript?o["vertical-align"]="super":d===i.subscript&&(o["vertical-align"]="sub");break;case"w:position":o["vertical-align"]=Qe(s,"w:val",Ye.FontSize);break;case"w:trHeight":ut(s,o);break;case"w:strike":case"w:dstrike":o["text-decoration"]=Ke(s)?"line-through":"none";break;case"w:b":o["font-weight"]=Ke(s)?"bold":"normal";break;case"w:adjustRightInd":case"w:bCs":case"w:iCs":case"w:kern":case"w:pStyle":case"w:lang":case"w:noProof":case"w:keepLines":case"w:keepNext":case"w:widowControl":case"w:pageBreakBefore":case"w:outlineLvl":case"w:contextualSpacing":case"w:numPr":case"w:rPr":case"w:rStyle":case"w:tabs":case"w:snapToGrid":case"w:cnfStyle":case"w:autoSpaceDE":case"w:autoSpaceDN":case"w:kinsoku":case"w:overflowPunct":break;case"w:i":o["font-style"]=Ke(s)?"italic":"normal";break;case"w:caps":o["text-transform"]=Ke(s)?"uppercase":"normal";break;case"w:smallCaps":o["text-transform"]=Ke(s)?"lowercase":"normal";break;case"w:u":ht(e,s,o);break;case"w:rFonts":st(e,s,o);break;case"w:tblCellSpacing":o["border-spacing"]=Qe(s,"w:w"),o["border-collapse"]="separate";break;case"w:bdr":o.border=ot(e,s);break;case"w:vanish":Ke(s)&&(o.display="none");break;case"w:webHidden":o.display="none";break;case"w:wordWrap":Ke(s)&&(o["word-break"]="break-all");break;case"w:textAlignment":var f=Ue(s);f===R.center?o["vertical-align"]="middle":f!==R.auto&&(o["vertical-align"]=f);break;case"w:textDirection":ft(s,o);break;case"w:bidi":Ke(s,!0)&&console.warn("w:bidi is not supported.");break;default:console.warn("parsePr Unknown tagName",u,s)}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return o}var gt,mt=function(){function e(e){this.name=e}return e.fromXML=function(t,r){var n=r.getAttribute("w:name");return n?new e(n):(console.warn("Bookmark without name"),new e("unknown"))},e}(),yt=function(){function e(){this.type=ne.textWrapping}return e.fromXML=function(t,r){return new e},e}(),bt=function(){function e(){}return e.fromXML=function(t,r){var n=new e,a=r.getAttribute("r:embed")||"",o=t.getRelationship(a);return o&&(n.embled=o),n},e}(),kt=function(){function e(){}return e.fromXML=function(t,r){var n=new e,a=null==r?void 0:r.querySelector("blip");return a&&(n.blip=bt.fromXML(t,a)),n},e}(),xt=function(){function e(){}return e.fromXML=function(t,r){var n=new e,a=r.querySelector("off");a&&(n.off={x:Qe(a,"x",Ye.Emu),y:Qe(a,"y",Ye.Emu)});var o=r.querySelector("ext");return o&&(n.ext={cx:Qe(o,"cx",Ye.Emu),cy:Qe(o,"cy",Ye.Emu)}),n},e}(),St=function(){function e(){}return e.fromXML=function(t,r){var n=new e,a=null==r?void 0:r.querySelector("xfrm");return a&&(n.xfrm=xt.fromXML(t,a)),n},e}(),Ct=function(){function e(){}return e.fromXML=function(t,r){var n=new e;return n.blipFill=kt.fromXML(t,null==r?void 0:r.querySelector("blipFill")),n.spPr=St.fromXML(t,null==r?void 0:r.querySelector("spPr")),n},e}(),Lt=function(){function e(){}return e.fromXML=function(t,r){var n=new e,a=r.querySelector("pic");return n.pic=Ct.fromXML(t,a),n},e}(),Tt=function(e){this.text=e},Pt=function(){function e(){}return e.fromXML=function(t,r){var n=new e,a=r.querySelector("imagedata");if(a){var o=a.getAttribute("r:id")||"",i=t.getRelationship(o);i&&(n.imagedata=i)}return n},e}(),Mt=function(){function e(){}return e.fromXML=function(t,r){var n,a,o=new e;o.children=[];try{for(var i=Ve(r.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;if("w:r"===s){var u=At.fromXML(t,l);u&&o.children.push(u)}else console.warn("parse Ruby: Unknown key",s,l)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o},e}();a((function(){return null!==gt&&gt.apply(this,arguments)||this}),gt=Mt);var Bt=function(){function e(){}return e.fromXML=function(t,r){var n,a,o=new e;try{for(var i=Ve(r.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;switch(s){case"w:rubyPr":break;case"w:rt":o.rt=Mt.fromXML(t,l);break;case"w:rubyBase":o.rubyBase=Mt.fromXML(t,l);break;default:console.warn("parse Ruby: Unknown key",s,l)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o},e}(),Dt=function(){function e(){}return e.parseXML=function(t){var r=new e;return r.font=t.getAttribute("w:font")||"",r.char=t.getAttribute("w:char")||"",r},e}(),Nt=function(){function e(){}return e.fromXML=function(t,r){var n=new e;return n.pos=Qe(r,"w:pos"),n.type=Ue(r),n.leader=r.getAttribute("w:leader"),n},e}(),Et=function(e){this.preserveSpace=!1,this.text=String(e)},At=function(){function e(){this.properties={},this.children=[]}return e.prototype.addChild=function(e){e&&this.children.push(e)},e.parseRunPr=function(e,t){var r,n=wt(e,t),a=t.getElementsByTagName("w:rStyle").item(0);return a&&(r=Ue(a)),{cssStyle:n,rStyle:r}},e.fromXML=function(t,r){var n,a,o=new e;try{for(var i=Ve(r.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;switch(s){case"w:t":var u=l.textContent||"",d=new Et(u);o.addChild(d);break;case"w:rPr":o.properties=e.parseRunPr(t,l);break;case"w:br":o.addChild(yt.fromXML(t,l));break;case"w:drawing":o.addChild(Lt.fromXML(t,l));break;case"w:tab":o.addChild(Nt.fromXML(t,l));break;case"w:fldChar":case"w:lastRenderedPageBreak":break;case"w:instrText":o.addChild(new Tt(l.textContent||""));break;case"w:pict":o.addChild(Pt.fromXML(t,l));break;case"w:ruby":o.addChild(Bt.fromXML(t,l));break;case"w:sym":o.addChild(Dt.parseXML(l));break;default:console.warn("parse Run: Unknown key",s,l)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o},e}(),Xt=function(){function e(){this.children=[]}return e.prototype.addChild=function(e){this.children.push(e)},e.fromXML=function(t,r){var n,a,o=new e,i=r.getAttribute("r:id");if(i){var c=t.getRelationship(i);c&&(o.relation=c)}var l=r.getAttribute("anchor");l&&(o.anchor=l);try{for(var s=Ve(r.children),u=s.next();!u.done;u=s.next()){var d=u.value,f=d.tagName;"w:r"===f?o.addChild(At.fromXML(t,d)):console.warn("parse Hyperlink: Unknown key",f,d)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return o},e}(),Ht=function(){function e(){}return e.fromXML=function(t,r){var n=new e,a=r.querySelector("ilvl");a&&(n.ilvl=Ue(a));var o=r.querySelector("numId");return o&&(n.numId=Ue(o)),n},e}(),Rt=function(){function e(){this.children=[]}return e.prototype.addChild=function(e){this.children.push(e)},e.fromXML=function(t,r){var n,a,o=new e;try{for(var i=Ve(r.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;switch(s){case"w:r":o.addChild(At.fromXML(t,l));break;case"w:hyperlink":o.addChild(Xt.fromXML(t,l));break;case"w:bookmarkStart":o.addChild(mt.fromXML(t,l));case"w:bookmarkEnd":case"w:proofErr":case"w:noProof":case"w:smartTagPr":case"w:del":break;default:console.warn("parse Inline: Unknown key",s,l)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o},e}(),Ot=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.fromXML=function(e,t){return Rt.fromXML(e,t)},t}(Rt),Ft=function(){function e(){}return e.fromXML=function(t,r){var n=new e;return n.inlineText=Rt.fromXML(t,r),n.instr=r.getAttribute("w:instr")||"",n},e}(),It=function(){function e(){this.properties={},this.children=[],this.fldSimples=[]}return e.prototype.addChild=function(e){this.children.push(e)},e.parseParagraphPr=function(e,t){var r,n,a,o,i=wt(e,t),c=t.querySelector("pStyle");c&&(a=Ue(c));var l=t.querySelector("numPr");l&&(o=Ht.fromXML(e,l));var s=[],u=t.getElementsByTagName("w:tab");try{for(var d=Ve(u),f=d.next();!f.done;f=d.next()){var h=f.value;s.push(Nt.fromXML(e,h))}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}var p=function(e){var t=e.getElementsByTagName("w:autoSpaceDE").item(0),r=e.getElementsByTagName("w:autoSpaceDN").item(0);return!!t||!!r}(t);return{cssStyle:i,pStyle:a,numPr:o,tabs:s,autoSpace:p}},e.fromXML=function(t,r){var n,a,o=new e;o.fldSimples=[],o.paraId=r.getAttribute("w14:paraId")||"";try{for(var i=Ve(r.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;switch(s){case"w:pPr":o.properties=e.parseParagraphPr(t,l);break;case"w:r":o.addChild(At.fromXML(t,l));break;case"w:hyperlink":o.addChild(Xt.fromXML(t,l));break;case"w:bookmarkStart":o.addChild(mt.fromXML(t,l));case"w:bookmarkEnd":case"w:proofErr":case"w:noProof":case"w:del":case"w:moveTo":case"w:moveFrom":break;case"w:smartTag":case"w:customXml":o.addChild(Ot.fromXML(t,l));break;case"w:fldSimple":o.fldSimples.push(Ft.fromXML(t,l));break;default:console.warn("parse Paragraph: Unknown key",s,l)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o},e}();function zt(e,t){var r,n;try{for(var a=Ve(e.children),o=a.next();!o.done;o=a.next()){var i=o.value;switch(i.tagName){case"w:left":case"w:start":t["padding-left"]=Qe(i,"w:w");break;case"w:right":case"w:end":t["padding-right"]=Qe(i,"w:w");break;case"w:top":t["padding-top"]=Qe(i,"w:w");break;case"w:bottom":t["padding-bottom"]=Qe(i,"w:w")}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function qt(e,t){switch(Ue(e)){case $.bottom:t["vertical-align"]="bottom";break;case $.center:t["vertical-align"]="middle";break;case $.top:t["vertical-align"]="top"}}function Wt(e,t){var r=Gt(e);r&&(t["cell-spacing"]=r)}function Vt(e,t){var r,n,a=t.querySelector("insideH");a&&(r=ot(e,a));var o=t.querySelector("insideV");return o&&(n=ot(e,o)),{H:r,V:n}}function Gt(e){var t=e.getAttribute("w:type");return t&&t!==we.dxa?t===we.pct?Qe(e,"w:w",Ye.Percent):t===we.auto?"auto":(console.warn("parseTblWidth: ignore type",t,e),""):Qe(e,"w:w")}function jt(e,t){var r=Gt(e);r&&(t.width=r)}var Ut=function(){function e(){this.properties={},this.children=[]}return e.prototype.add=function(e){e&&this.children.push(e)},e.parseTcPr=function(e,t){var r,n,a={},o={};a.cssStyle=o;try{for(var i=Ve(t.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;switch(s){case"w:tcMar":zt(l,o);break;case"w:shd":o["background-color"]=tt(0,l);break;case"w:tcW":jt(l,o);break;case"w:noWrap":Ke(l)&&(o["white-space"]="nowrap");break;case"w:vAlign":qt(l,o);break;case"w:tcBorders":it(e,l,o),a.insideBorder=Vt(e,l);break;case"w:gridSpan":a.gridSpan=_e(l);break;case"w:vMerge":a.vMerge=Ue(l)||ge.continue;break;case"w:textDirection":ft(l,o);break;case"w:cnfStyle":break;default:console.warn("parseTcPr: ignore",s,l)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},e.fromXML=function(t,r,n,a){var o,i,c=new e;try{for(var l=Ve(r.children),s=l.next();!s.done;s=l.next()){var u=s.value;switch(u.tagName){case"w:tcPr":c.properties=e.parseTcPr(t,u);break;case"w:p":c.add(It.fromXML(t,u));break;case"w:tbl":c.add(tr.fromXML(t,u))}}}catch(e){o={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var d=a[n.index];if(c.properties.vMerge){if(c.properties.vMerge===ge.restart)c.properties.rowSpan=1,a[n.index]=c;else if(d){if(d.properties&&d.properties.rowSpan){d.properties.rowSpan=d.properties.rowSpan+1;var f=c.properties.gridSpan||1;return n.index+=f,null}console.warn("Tc.fromXML: continue but not found lastCol",n.index,c,a)}}else delete a[n.index];var h=c.properties.gridSpan||1;return n.index+=h,c},e}(),_t=function(){function e(){this.properties={},this.tcs=[]}return e.parseTrPr=function(e,t){var r,n,a={},o={};try{for(var i=Ve(t.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;switch(s){case"w:hidden":Ke(l)&&(a.display="none");break;case"w:trHeight":ut(l,a);break;case"w:jc":a["text-align"]=dt(Ue(l));break;case"w:cantSplit":case"w:cnfStyle":break;case"w:tblPrEx":var u=tr.parseTablePr(e,l);Object.assign(a,u.cssStyle);break;case"w:tblCellSpacing":Wt(l,o);break;default:console.warn("Tr: Unknown tag ",s,l)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return{cssStyle:a}},e.fromXML=function(t,r,n){var a,o,i=new e,c={index:0};try{for(var l=Ve(r.children),s=l.next();!s.done;s=l.next()){var u=s.value,d=u.tagName;switch(d){case"w:tc":var f=Ut.fromXML(t,u,c,n);f&&i.tcs.push(f);break;case"w:trPr":i.properties=e.parseTrPr(t,u);break;case"w:tblPrEx":var h=tr.parseTablePr(t,u);Object.assign(i.properties.cssStyle||{},h.cssStyle);break;default:console.warn("Tr: Unknown tag ",d,u)}}}catch(e){a={error:e}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(a)throw a.error}}return i},e}();function Zt(e,t){switch(Ue(e)){case"left":case"start":break;case"right":case"end":t.float="right"}}function Kt(e,t){var r=Gt(e);r&&(t["margin-left"]=r)}function Jt(e,t){var r=Gt(e);r&&(t.width=r)}function Yt(e,t){e.getAttribute("w:type")===me.fixed&&(t["table-layout"]="fixed")}function Qt(e){var t,r,n=[],a=e.getElementsByTagName("w:gridCol");try{for(var o=Ve(a),i=o.next();!i.done;i=o.next()){var c=Qe(i.value,"w:w");n.push({w:c})}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n}function $t(e){var t={},r=parseInt(Ue(e)||"0",16);return(Je(e,"firstRow",!1)||32&r)&&(t.firstRow=!0),(Je(e,"lastRow",!1)||64&r)&&(t.lastRow=!0),(Je(e,"firstColumn",!1)||128&r)&&(t.firstColumn=!0),(Je(e,"lastColumn",!1)||256&r)&&(t.lastColumn=!0),Je(e,"noHBand",!1)||512&r?t.noHBand=!0:t.noHBand=!1,Je(e,"noVBand",!1)||1024&r?t.noVBand=!0:t.noVBand=!1,t}function er(e,t,r){if(void 0===e.renderOptions.padding){var n=Qe(t,"w:tblpX"),a=Qe(t,"w:tblpY");r.position="absolute",r.top=a,r.left=n}}var tr=function(){function e(){this.properties={},this.tblGrid=[],this.trs=[]}return e.parseTablePr=function(e,t){var r,n,a={},o={},i={};a.tblLook={},a.cssStyle=o,a.tcCSSStyle=i;try{for(var c=Ve(t.children),l=c.next();!l.done;l=c.next()){var s=l.value,u=s.tagName;switch(u){case"w:tblBorders":it(e,s,o),a.insideBorder=Vt(e,s);break;case"w:tcBorders":it(e,s,o);break;case"w:tblInd":Kt(s,o);break;case"w:jc":Zt(s,o);break;case"w:tblCellMar":case"w:tcMar":zt(s,i);break;case"w:tblStyle":a.pStyle=Ue(s);break;case"w:tblW":Jt(s,o);break;case"w:shd":o["background-color"]=tt(0,s);break;case"w:tblCaption":a.tblCaption=Ue(s);break;case"w:tblCellSpacing":Wt(s,o);break;case"w:tblLayout":Yt(s,o);break;case"w:tblLook":a.tblLook=$t(s);break;case"w:tblStyleRowBandSize":a.rowBandSize=_e(s);break;case"w:tblStyleColBandSize":a.colBandSize=_e(s);break;case"w:tblpPr":er(e,s,o);break;default:console.warn("parseTableProperties unknown tag",u,s)}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return a},e.fromXML=function(t,r){var n,a,o=new e,i={};try{for(var c=Ve(r.children),l=c.next();!l.done;l=c.next()){var s=l.value,u=s.tagName;switch(u){case"w:tblPr":o.properties=e.parseTablePr(t,s);break;case"w:tr":o.trs.push(_t.fromXML(t,s,i));break;case"w:tblGrid":o.tblGrid=Qt(s);break;default:console.warn("Table.fromXML unknown tag",u,s)}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return o},e}();function rr(e,t){var r,n,a={};try{for(var o=Ve(t.children),i=o.next();!i.done;i=o.next()){var c=i.value;switch(c.tagName){case"w:rPr":a.rPr=At.parseRunPr(e,c);break;case"w:pPr":a.pPr=It.parseParagraphPr(e,c);break;case"w:tblPr":a.tblPr=tr.parseTablePr(e,c);break;case"w:tcPr":a.tcPr=Ut.parseTcPr(e,c);break;case"w:trPr":a.trPr=_t.parseTrPr(e,c)}}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function nr(e,t){var r,n,a={};a.id=t.getAttribute("w:styleId")||"",a.type=t.getAttribute("w:type"),a.tblStylePr={},Object.assign(a,rr(e,t));try{for(var o=Ve(t.children),i=o.next();!i.done;i=o.next()){var c=i.value,l=c.tagName;switch(l){case"w:name":a.name=Ue(c);break;case"w:basedOn":a.basedOn=Ue(c);break;case"w:rPr":case"w:pPr":case"w:tblPr":case"w:tcPr":case"w:trPr":case"w:next":case"w:link":case"w:unhideWhenUsed":case"w:qFormat":case"w:rsid":case"w:uiPriority":case"w:semiHidden":case"w:autoRedefine":break;case"w:tblStylePr":var s=c.getAttribute("w:type");a.tblStylePr[s]=rr(e,c);break;default:console.warn("parseStyle Unknown tag",l,c)}}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function ar(e,t){var r,n,a={styleMap:{}},o=Array.from(t.getElementsByTagName("w:style"));try{for(var i=Ve(o),c=i.next();!c.done;c=i.next()){var l=nr(e,c.value);l.id&&(a.styleMap[l.id]=l)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a.defaultStyle=function(e,t){var r={};if(!t)return r;var n=t.querySelector("rPrDefault");if(n){var a=n.querySelector("rPr");a&&(r.rPr=At.parseRunPr(e,a))}var o=t.querySelector("pPrDefault");if(o){var i=o.querySelector("pPr");i&&(r.pPr=It.parseParagraphPr(e,i))}return r}(e,t.querySelector("docDefaults")),a}var or=function(){this.colors={}};function ir(e){var t,r,n={};return n.themeElements=(t=e.querySelector("themeElements"),r={},t&&(r.clrScheme=function(e){var t,r,n=new or;if(!e)return n;n.name=e.getAttribute("name")||"";try{for(var a=Ve(e.children),o=a.next();!o.done;o=a.next()){var i=o.value,c=i.tagName.replace("a:",""),l=i.firstElementChild;if(l){var s=l.nodeName.replace("a:","");n.colors[c]="sysClr"===s?l.getAttribute("lastClr")||"":l.getAttribute("val")||""}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}(t.querySelector("clrScheme")),r.fontScheme=(t.querySelector("fontScheme"),{}),r.fmtScheme=(t.querySelector("fmtScheme"),{})),r),n}function cr(e){void 0===e&&(e={});var t="";for(var r in e){var n=e[r];null!=n&&""!==n&&(t+="".concat(r,": ").concat(n,";\n"))}return t}function lr(e,t){for(var r in t){var n=t[r];null!=n&&""!==n&&e.style.setProperty(r,t[r])}}function sr(e){return document.createElement(e)}function ur(e,t){e&&t&&e.appendChild(t)}function dr(e,t){e&&t&&e.classList.add(t)}function fr(e,t){var r;e&&t&&(r=e.classList).add.apply(r,function(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}(t),!1))}function hr(e,t){var r,n,a,o=t.pic;if(o){var i=null===(r=o.blipFill)||void 0===r?void 0:r.blip;if(i&&i.embled){var c=document.createElement("img");c.style.position="relative",null===(n=e.loadImage(i.embled))||void 0===n||n.then((function(e){e&&(c.src=e)}));var l=null===(a=o.spPr)||void 0===a?void 0:a.xfrm;if(l){var s=l.off;s&&(c.style.left=s.x,c.style.top=s.y);var u=l.ext;u&&(c.style.width=u.cx,c.style.height=u.cy)}return c}}return null}function pr(e,t,r){r&&(r.cssStyle&&lr(t,r.cssStyle),r.pStyle&&fr(t,e.getStyleClassName(r.pStyle)),r.rStyle&&fr(t,e.getStyleClassName(r.rStyle)))}function vr(e,t){var r=sr("span");return r.style.display="inline-block",r.style.width=t.pos,r.innerHTML="&nbsp;",t.leader===C.dot&&(r.style.borderBottom="1px dotted"),r}function wr(e,t){var r;if(t.imagedata){var n=document.createElement("img");return n.style.position="relative",null===(r=e.loadImage(t.imagedata))||void 0===r||r.then((function(e){e&&(n.src=e)})),n}return null}function gr(e,t){var r,n,a,o,i=sr("ruby");if(t.rubyBase){try{for(var c=Ve(t.rubyBase.children),l=c.next();!l.done;l=c.next()){var s=l.value;i.appendChild(Br(e,s))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(t.rt){var u=sr("rp");u.innerText="(",i.appendChild(u);var d=sr("rt");try{for(var f=Ve(t.rt.children),h=f.next();!h.done;h=f.next())s=h.value,d.appendChild(Br(e,s))}catch(e){a={error:e}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(a)throw a.error}}i.appendChild(d);var p=sr("rp");p.innerText=")",i.appendChild(p)}}return i}function mr(e,t,r){var n,a,o=sr("a");if(t.relation){var i=t.relation;i&&"External"===i.targetMode&&(o.href=i.target,o.target="_blank")}t.anchor&&(o.href="#"+t.anchor);try{for(var c=Ve(t.children),l=c.next();!l.done;l=c.next()){var s=l.value;s instanceof At&&ur(o,Br(e,s,r))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return o}function yr(e,t){var r=t.name;if(r){var n=sr("a");return n.name=r,n.id=r,n}return null}function br(e,t,r){var n,a;try{for(var o=Ve(t.children),i=o.next();!i.done;i=o.next()){var c=i.value;c instanceof At?ur(r,Br(e,c)):c instanceof mt?ur(r,yr(0,c)):c instanceof Xt&&ur(r,mr(e,c))}}catch(e){n={error:e}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}}function kr(e,t){var r,n,a,o=t.text,i=sr("span"),c=null===(a=e.currentParagraph)||void 0===a?void 0:a.fldSimples;if(c)try{for(var l=Ve(c),s=l.next();!s.done;s=l.next()){var u=s.value;if(u.instr===o.trim()||o.startsWith(u.instr+" ")){br(e,u.inlineText,i);break}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return i}function xr(e,t){var r=sr("span");return r.style.fontFamily=t.font,r.innerHTML="&#x".concat(t.char,";"),r}var Sr=/\p{Punctuation}/u,Cr=/\p{Separator}/u,Lr=/\p{Script=Han}|\p{Script=Katakana}|\p{Script=Hiragana}|\p{Script=Hangul}/u,Tr=function(e){var t,r,n=e.filter((function(e){return void 0!==e&&""!==e}));return r=function(e,t){return function(e,t){return Lr.test(e)?!(Sr.test(t)||Cr.test(t)||Lr.test(t)):Lr.test(t)&&!Sr.test(e)&&!Cr.test(e)}(e,t)?" ":""},(t=n).reduce((function(e,n,a){return e+(0!==a?r(n,t[a-1]):"")+n}),"")},Pr="variable";function Mr(e,t,r,n){var a;-1===r.indexOf("{{")?(null===(a=null==n?void 0:n.properties)||void 0===a?void 0:a.autoSpace)?e.textContent=Tr(r.split("")):e.textContent=r:(e.dataset.originText=r,e.classList.add(Pr),e.textContent=t.replaceText(r))}function Br(e,t,r){var n,a,o=sr("span");if(e.addClass(o,"r"),pr(e,o,t.properties),1===t.children.length&&t.children[0]instanceof Et)Mr(o,e,t.children[0].text,r);else try{for(var i=Ve(t.children),c=i.next();!c.done;c=i.next()){var l=c.value;if(l instanceof Et){var s=sr("span");Mr(o,e,l.text,r),ur(o,s)}else l instanceof yt?ur(o,sr("br")):l instanceof Lt?ur(o,hr(e,l)):l instanceof Nt?ur(o,vr(0,l)):l instanceof Pt?ur(o,wr(e,l)):l instanceof Bt?ur(o,gr(e,l)):l instanceof Tt?ur(o,kr(e,l)):l instanceof Dt?ur(o,xr(0,l)):console.warn("unknown child",l)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o}function Dr(e){var t={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1},r="";for(var n in t)for(;e>=t[n];)r+=n,e-=t[n];return r}function Nr(e,t){switch(e){case U.decimal:return t.toString();case U.lowerLetter:return String.fromCharCode(96+t);case U.upperLetter:return String.fromCharCode(64+t);case U.lowerRoman:return Dr(t).toLowerCase();case U.upperRoman:return Dr(t).toUpperCase();case U.bullet:return"&bull;";default:return t.toString()}}function Er(e,t,r){var n,a,o,i;void 0===r&&(r=!0),e.currentParagraph=t;var c=sr("p");e.addClass(c,"p");var l=t.properties;if(pr(e,c,l),l.numPr&&ur(c,function(e,t,r){var n=t.numbering,a=r.numId;if(!a)return console.warn("renderNumbering: numId is empty"),null;if(!n)return console.warn("renderNumbering: numbering is empty"),null;var o=n.nums[a];if(!o)return console.warn("renderNumbering: num is empty"),null;var i=n.abstractNums[o.abstractNumId].lvls;o.lvlOverride&&(i=ze(ze({},i),o.lvlOverride.lvls));var c=i[r.ilvl];if(!c)return console.warn("renderNumbering: lvl is empty"),null;var l=r.ilvl,s=n.numData[a];if(s[l])for(var u in s[l]+=1,s)parseInt(u)>parseInt(l)&&(s[u]=0);else s[l]=c.start;for(var d=sr("span"),f=c.lvlText,h=parseInt(l),p=[],v=0;v<=h;v++){var w=s[v];if(w){var g=Nr(i[v].numFmt,w);c.isLgl&&(g=String(w)),p.push(g)}}for(v=0;v<p.length;v++){var m=p[v];f=f.replace("%".concat(v+1),m)}if(pr(t,e,c.pPr),pr(t,d,c.rPr),c.numFmt!==U.bullet||t.renderOptions.bulletUseFont)d.innerText=f;else{var y="&bull;",b=f.charCodeAt(0).toString(16).padStart(4,"0");"f06e"===b?y="&#9632;":"f075"===b?y="&#9670;":"f0d8"===b&&(y="&#9658;"),d.innerHTML=y}return"space"===c.suff?d.innerHTML+=" ":"tab"===c.suff&&(d.innerHTML+="&emsp;"),d}(c,e,l.numPr)),l.tabs)try{for(var s=Ve(l.tabs),u=s.next();!u.done;u=s.next())ur(c,vr(0,u.value))}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}try{for(var d=Ve(t.children),f=d.next();!f.done;f=d.next()){var h=f.value;h instanceof At?ur(c,Br(e,h,t)):h instanceof mt?ur(c,yr(0,h)):h instanceof Xt?ur(c,mr(e,h,t)):h instanceof Ot&&br(e,h,c)}}catch(e){o={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}return""===c.innerHTML&&r&&(c.innerHTML="&nbsp;"),c}function Ar(e,t){var r=sr("section");r.style.position="relative";var n=t.properties,a=n.pageSize;if(a&&(e.renderOptions.ignoreWidth||(r.style.width=a.width),e.renderOptions.ignoreHeight||(r.style.height=a.height)),e.renderOptions.padding)r.style.padding=e.renderOptions.padding;else{var o=n.pageMargin;o&&(r.style.paddingLeft=o.left||"0",r.style.paddingRight=o.right||"0",r.style.paddingTop=o.top||"0",r.style.paddingBottom=o.bottom||"0")}return r}function Xr(e,t,r){var n="",a=r.tblPr,o=r.tcPr;if(a){var i=cr(a.cssStyle),c=cr(a.tcCSSStyle);if(n+="\n .".concat(e," .").concat(t," {\n border-collapse: collapse;\n ").concat(i,"\n }\n\n .").concat(e," .").concat(t," > tbody > tr > td {\n ").concat(c,"\n }\n "),a.insideBorder){var l=a.insideBorder;l.H&&(n+="\n .".concat(e," .").concat(t," > tbody > tr > td {\n border-top: ").concat(l.H,";\n }")),l.V&&(n+="\n .".concat(e," .").concat(t," > tbody > tr > td {\n border-left: ").concat(l.V,";\n }"))}}if(o){var s=cr(o.cssStyle);n+="\n .".concat(e," .").concat(t," > tbody > tr > td {\n ").concat(s,"\n }\n ")}return n}function Hr(e,t,r){var n,a,o,i,c,l,s="",u=cr(null===(n=r.trPr)||void 0===n?void 0:n.cssStyle),d="";switch(t){case Ne.firstCol:d="enable-firstColumn";break;case Ne.lastCol:d="enable-lastColumn";break;case Ne.firstRow:d="enable-firstRow";break;case Ne.lastRow:d="enable-lastRow";break;case Ne.band1Horz:case Ne.band2Horz:d="enable-hBand";break;case Ne.band1Vert:case Ne.band2Vert:d="enable-vBand"}u&&(s+="\n ".concat(e,".").concat(d," > tbody > tr.").concat(t,"{\n ").concat(u,"\n }\n "));var f=cr(null===(a=r.tcPr)||void 0===a?void 0:a.cssStyle);if(f&&(s+="\n ".concat(e,".").concat(d," > tbody > tr > td.").concat(t," {\n ").concat(f,"\n }\n "),null===(o=r.tcPr)||void 0===o?void 0:o.insideBorder)){var h=null===(i=r.tcPr)||void 0===i?void 0:i.insideBorder;h.H&&(s+="\n ".concat(e,".").concat(d," > tbody > tr > td.").concat(t," {\n border-top: ").concat(h.H,";\n }")),h.V&&("none"===h.V?s+="\n ".concat(e,".").concat(d," > tbody > tr > td.").concat(t," {\n border-left: none;\n border-right: none;\n }"):s+="\n ".concat(e,".").concat(d," > tbody > tr > td.").concat(t," {\n border-left: ").concat(h.V,";\n }"))}var p=cr(null===(c=r.pPr)||void 0===c?void 0:c.cssStyle);p&&(s+="\n ".concat(e,".").concat(d," > tbody > tr > td.").concat(t," > .p {\n ").concat(p,"\n }\n "));var v=cr(null===(l=r.rPr)||void 0===l?void 0:l.cssStyle);return v&&(s+="\n ".concat(e,".").concat(d," > tbody > tr > td.").concat(t," > .p > .r {\n ").concat(v,"\n }\n ")),s}var Rr=new Set([Ne.wholeTable,Ne.band1Horz,Ne.band2Horz,Ne.band1Vert,Ne.band2Vert,Ne.firstCol,Ne.firstRow,Ne.lastCol,Ne.lastRow,Ne.neCell,Ne.nwCell,Ne.seCell,Ne.swCell]);function Or(e,t,r){var n,a;if(!r)return"";var o="",i=".".concat(e," .").concat(t);try{for(var c=Ve(Rr),l=c.next();!l.done;l=c.next()){var s=l.value;s in r&&(o+=Hr(i,s,r[s]))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return o}function Fr(e,t,r,n,a,o,i){0===e&&0===t&&a.classList.add(Ne.nwCell),0===e&&t===n-1&&a.classList.add(Ne.neCell),e===r-1&&0===t&&a.classList.add(Ne.swCell),e===r-1&&t===n-1&&a.classList.add(Ne.seCell),0===e&&a.classList.add(Ne.firstRow),e===r-1&&a.classList.add(Ne.lastRow),0===t&&a.classList.add(Ne.firstCol),t===n-1&&a.classList.add(Ne.lastCol),Ir(e+1)&&a.classList.add(Ne.band1Horz),Ir(e+1)||a.classList.add(Ne.band2Horz),Ir(t+1)&&a.classList.add(Ne.band1Vert),Ir(t+1)||a.classList.add(Ne.band2Vert)}function Ir(e,t){return!(e%2)}function zr(e,t){var r,n,a,o,i,c,l=document.createElement("table"),s=t.properties;if(s.tblCaption){var u=document.createElement("caption");u.textContent=s.tblCaption,l.appendChild(u)}if(s.tblLook)for(var d in s.tblLook)"noHBand"===d?s.tblLook[d]||dr(l,"enable-hBand"):"noVBand"===d?s.tblLook[d]||dr(l,"enable-vBand"):s.tblLook[d]&&dr(l,"enable-"+d);pr(e,l,s);var f=e.genClassName();l.classList.add(f),e.appendStyle(Xr(e.getClassPrefix(),f,{tblPr:s}));var h=document.createElement("tbody");l.appendChild(h);var p=0;try{for(var v=Ve(t.trs),w=v.next();!w.done;w=v.next()){var g=w.value,m=document.createElement("tr");h.appendChild(m);var y=0;try{for(var b=(a=void 0,Ve(g.tcs)),k=b.next();!k.done;k=b.next()){var x=k.value,S=document.createElement("td");m.appendChild(S),Fr(p,y,t.trs.length,g.tcs.length,S,s.rowBandSize,s.colBandSize),g.properties.tcStyle&&lr(S,g.properties.tcStyle);var C=x.properties;pr(e,S,C),C.gridSpan&&(S.colSpan=C.gridSpan),C.rowSpan&&(S.rowSpan=C.rowSpan);var L=!1;try{for(var T=(i=void 0,Ve(x.children)),P=T.next();!P.done;P=T.next()){var M=P.value;M instanceof It?ur(S,Er(e,M,!L)):M instanceof tr?(L=!0,ur(S,zr(e,M))):console.warn("unknown child type: "+M)}}catch(e){i={error:e}}finally{try{P&&!P.done&&(c=T.return)&&c.call(T)}finally{if(i)throw i.error}}C.rowSpan?y+=C.rowSpan:y++}}catch(e){a={error:e}}finally{try{k&&!k.done&&(o=b.return)&&o.call(b)}finally{if(a)throw a.error}}p++}}catch(e){r={error:e}}finally{try{w&&!w.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}return l}var qr=function(){function e(){this.start=1,this.lvlText="%1.",this.isLgl=!1,this.lvlJc=T.start,this.suff=Be.space}return e.fromXML=function(t,r){var n,a,o=new e;o.ilvl=r.getAttribute("w:ilvl");try{for(var i=Ve(r.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;switch(s){case"w:start":o.start=_e(l);break;case"w:numFmt":o.numFmt=Ue(l);break;case"w:lvlText":o.lvlText=Ue(l);break;case"w:lvlJc":o.lvlJc=Ue(l);break;case"w:pPr":o.pPr=It.parseParagraphPr(t,l);break;case"w:rPr":o.rPr=At.parseRunPr(t,l);break;case"w:isLgl":o.isLgl=Ke(l);break;default:console.warn("Lvl: Unknown tag ",s,l)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o},e}(),Wr=function(){function e(){this.lvls={}}return e.fromXML=function(t,r){var n,a,o=new e;o.abstractNumId=r.getAttribute("w:abstractNumId")||"",o.multiLevelType=r.getAttribute("w:multiLevelType");var i=r.getElementsByTagName("w:lvl");try{for(var c=Ve(i),l=c.next();!l.done;l=c.next()){var s=l.value,u=s.getAttribute("w:ilvl")||"";o.lvls[u]=qr.fromXML(t,s)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}var d=r.querySelector("multiLevelType");return d&&(o.multiLevelType=Ue(d)),o},e}(),Vr=function(){function e(){this.lvlOverride={lvls:{}}}return e.fromXML=function(t,r){var n,a,o=new e;o.numId=r.getAttribute("w:numId")||"";var i=r.querySelector("abstractNumId");i&&(o.abstractNumId=Ue(i));var c=r.querySelector("lvlOverride");if(c)try{for(var l=Ve(c.children),s=l.next();!s.done;s=l.next()){var u=s.value,d=u.tagName;if("w:lvl"===d){var f=u.getAttribute("w:lvlId")||"";o.lvlOverride.lvls[f]=qr.fromXML(t,u)}else console.warn("Num: Unknown tag ",d,u)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}return o},e}(),Gr=function(){function e(){this.abstractNums={},this.nums={},this.numData={}}return e.fromXML=function(t,r){var n,a,o,i,c=new e;try{for(var l=Ve(r.getElementsByTagName("w:abstractNum")),s=l.next();!s.done;s=l.next()){var u=s.value,d=Wr.fromXML(t,u);c.abstractNums[d.abstractNumId]=d}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}try{for(var f=Ve(r.getElementsByTagName("w:num")),h=f.next();!h.done;h=f.next()){var p=h.value,v=Vr.fromXML(t,p);c.nums[v.numId]=v,c.numData[v.numId]={}}}catch(e){o={error:e}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}return c},e}();function jr(e,t,r){var n=t?wt(e,t):{},a=r?wt(e,r):{};return JSON.stringify(n)===JSON.stringify(a)}function Ur(e,t){var r=e.getElementsByTagName("w:t")[0],n=t.getElementsByTagName("w:t")[0];if(r&&n){var a=n.textContent||"";r.textContent+=a||""}}function _r(e){var t,r,n=e.tagName,a=e.children,o=!1,i=!1;try{for(var c=Ve(a),l=c.next();!l.done;l=c.next()){var s=l.value;if("w:t"===s.tagName){o=!0,i="preserve"===s.getAttribute("xml:space");break}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return"w:r"===n&&o&&!i}function Zr(e,t){var r,n,a,o,i=[],c=null;try{for(var l=Ve(t.children),s=l.next();!s.done;s=l.next()){var u=s.value,d=u.tagName;_r(u)?c&&jr(e,c.getElementsByTagName("w:rPr")[0],u.getElementsByTagName("w:rPr")[0])?Ur(c,u):(c=u,i.push(u)):"w:proofErr"!==d&&(c=null,i.push(u))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}t.innerHTML="";try{for(var f=Ve(i),h=f.next();!h.done;h=f.next()){var p=h.value;t.appendChild(p)}}catch(e){a={error:e}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(a)throw a.error}}}function Kr(e,t){var r,n,a=t.getElementsByTagName("w:p");try{for(var o=Ve(a),i=o.next();!i.done;i=o.next())Zr(e,i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}var Jr=function(){function e(){this.properties={},this.children=[]}return e.prototype.addChild=function(e){this.children.push(e)},e.parsePr=function(e){var t,r,n={};try{for(var a=Ve(e.children),o=a.next();!o.done;o=a.next()){var i=o.value;switch(i.tagName){case"w:pgSz":n.pageSize={width:Qe(i,"w:w"),height:Qe(i,"w:h")};break;case"w:pgMar":n.pageMargin={left:Qe(i,"w:left"),right:Qe(i,"w:right"),top:Qe(i,"w:top"),bottom:Qe(i,"w:bottom"),header:Qe(i,"w:header"),footer:Qe(i,"w:footer"),gutter:Qe(i,"w:gutter")}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},e}(),Yr=function(){function e(){this.sections=[],this.currentSection=new Jr,this.sections.push(this.currentSection)}return e.prototype.addChild=function(e){this.currentSection.addChild(e)},e.prototype.addSection=function(e){this.currentSection.properties=e,this.currentSection=new Jr,this.sections.push(this.currentSection)},e.fromXML=function(t,r){var n,a,o=new e;try{for(var i=Ve(r.children),c=i.next();!c.done;c=i.next()){var l=c.value,s=l.tagName;switch(s){case"w:p":var u=It.fromXML(t,l);o.addChild(u);break;case"w:sectPr":o.addSection(Jr.parsePr(l));break;case"w:tbl":var d=tr.fromXML(t,l);o.addChild(d);break;case"w:bookmarkEnd":break;default:console.warn("Body.fromXML Unknown key",s,l)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o},e}(),Qr=function(){function e(){}return e.fromXML=function(t,r){var n,a,o=new e,i=r.querySelector("body");i&&(o.body=Yr.fromXML(t,i));var c=r.querySelector("background");if(c){var l={};try{for(var s=Ve(c.attributes),u=s.next();!u.done;u=s.next())switch(u.value.name){case"w:color":l.color=et(t,c,"w:color");break;case"w:themeColor":l.themeColor=et(t,c,"w:themeColor");break;case"w:themeShade":l.themeShade=et(t,c,"w:themeShade");break;case"w:themeTint":l.themeTint=et(t,c,"w:themeTint")}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}}return o},e}(),$r=Uint8Array,en=Uint16Array,tn=Uint32Array,rn=new $r([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,0,0,0]),nn=new $r([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,0,0]),an=new $r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),on=function(e,t){for(var r=new en(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var a=new tn(r[30]);for(n=1;n<30;++n)for(var o=r[n];o<r[n+1];++o)a[o]=o-r[n]<<5|n;return[r,a]},cn=on(rn,2),ln=cn[0],sn=cn[1];ln[28]=258,sn[258]=28;for(var un=on(nn,0),dn=un[0],fn=un[1],hn=new en(32768),pn=0;pn<32768;++pn){var vn=(43690&pn)>>>1|(21845&pn)<<1;vn=(61680&(vn=(52428&vn)>>>2|(13107&vn)<<2))>>>4|(3855&vn)<<4,hn[pn]=((65280&vn)>>>8|(255&vn)<<8)>>>1}var wn=function(e,t,r){for(var n=e.length,a=0,o=new en(t);a<n;++a)e[a]&&++o[e[a]-1];var i,c=new en(t);for(a=0;a<t;++a)c[a]=c[a-1]+o[a-1]<<1;if(r){i=new en(1<<t);var l=15-t;for(a=0;a<n;++a)if(e[a])for(var s=a<<4|e[a],u=t-e[a],d=c[e[a]-1]++<<u,f=d|(1<<u)-1;d<=f;++d)i[hn[d]>>>l]=s}else for(i=new en(n),a=0;a<n;++a)e[a]&&(i[a]=hn[c[e[a]-1]++]>>>15-e[a]);return i},gn=new $r(288);for(pn=0;pn<144;++pn)gn[pn]=8;for(pn=144;pn<256;++pn)gn[pn]=9;for(pn=256;pn<280;++pn)gn[pn]=7;for(pn=280;pn<288;++pn)gn[pn]=8;var mn=new $r(32);for(pn=0;pn<32;++pn)mn[pn]=5;var yn=wn(gn,9,0),bn=wn(gn,9,1),kn=wn(mn,5,0),xn=wn(mn,5,1),Sn=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},Cn=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},Ln=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},Tn=function(e){return(e+7)/8|0},Pn=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var n=new(2==e.BYTES_PER_ELEMENT?en:4==e.BYTES_PER_ELEMENT?tn:$r)(r-t);return n.set(e.subarray(t,r)),n},Mn=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Bn=function(e,t,r){var n=new Error(t||Mn[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,Bn),!r)throw n;return n},Dn=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>>8},Nn=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},En=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var a=r.length,o=r.slice();if(!a)return[In,0];if(1==a){var i=new $r(r[0].s+1);return i[r[0].s]=1,[i,1]}r.sort((function(e,t){return e.f-t.f})),r.push({s:-1,f:25001});var c=r[0],l=r[1],s=0,u=1,d=2;for(r[0]={s:-1,f:c.f+l.f,l:c,r:l};u!=a-1;)c=r[r[s].f<r[d].f?s++:d++],l=r[s!=u&&r[s].f<r[d].f?s++:d++],r[u++]={s:-1,f:c.f+l.f,l:c,r:l};var f=o[0].s;for(n=1;n<a;++n)o[n].s>f&&(f=o[n].s);var h=new en(f+1),p=An(r[u-1],h,0);if(p>t){n=0;var v=0,w=p-t,g=1<<w;for(o.sort((function(e,t){return h[t.s]-h[e.s]||e.f-t.f}));n<a;++n){var m=o[n].s;if(!(h[m]>t))break;v+=g-(1<<p-h[m]),h[m]=t}for(v>>>=w;v>0;){var y=o[n].s;h[y]<t?v-=1<<t-h[y]++-1:++n}for(;n>=0&&v;--n){var b=o[n].s;h[b]==t&&(--h[b],++v)}p=t}return[new $r(h),p]},An=function(e,t,r){return-1==e.s?Math.max(An(e.l,t,r+1),An(e.r,t,r+1)):t[e.s]=r},Xn=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new en(++t),n=0,a=e[0],o=1,i=function(e){r[n++]=e},c=1;c<=t;++c)if(e[c]==a&&c!=t)++o;else{if(!a&&o>2){for(;o>138;o-=138)i(32754);o>2&&(i(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(i(a),--o;o>6;o-=6)i(8304);o>2&&(i(o-3<<5|8208),o=0)}for(;o--;)i(a);o=1,a=e[c]}return[r.subarray(0,n),t]},Hn=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},Rn=function(e,t,r){var n=r.length,a=Tn(t+2);e[a]=255&n,e[a+1]=n>>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var o=0;o<n;++o)e[a+o+4]=r[o];return 8*(a+4+n)},On=function(e,t,r,n,a,o,i,c,l,s,u){Dn(t,u++,r),++a[256];for(var d=En(a,15),f=d[0],h=d[1],p=En(o,15),v=p[0],w=p[1],g=Xn(f),m=g[0],y=g[1],b=Xn(v),k=b[0],x=b[1],S=new en(19),C=0;C<m.length;++C)S[31&m[C]]++;for(C=0;C<k.length;++C)S[31&k[C]]++;for(var L=En(S,7),T=L[0],P=L[1],M=19;M>4&&!T[an[M-1]];--M);var B,D,N,E,A=s+5<<3,X=Hn(a,gn)+Hn(o,mn)+i,H=Hn(a,f)+Hn(o,v)+i+14+3*M+Hn(S,T)+(2*S[16]+3*S[17]+7*S[18]);if(A<=X&&A<=H)return Rn(t,u,e.subarray(l,l+s));if(Dn(t,u,1+(H<X)),u+=2,H<X){B=wn(f,h,0),D=f,N=wn(v,w,0),E=v;var R=wn(T,P,0);for(Dn(t,u,y-257),Dn(t,u+5,x-1),Dn(t,u+10,M-4),u+=14,C=0;C<M;++C)Dn(t,u+3*C,T[an[C]]);u+=3*M;for(var O=[m,k],F=0;F<2;++F){var I=O[F];for(C=0;C<I.length;++C){var z=31&I[C];Dn(t,u,R[z]),u+=T[z],z>15&&(Dn(t,u,I[C]>>>5&127),u+=I[C]>>>12)}}}else B=yn,D=gn,N=kn,E=mn;for(C=0;C<c;++C)if(n[C]>255){z=n[C]>>>18&31,Nn(t,u,B[z+257]),u+=D[z+257],z>7&&(Dn(t,u,n[C]>>>23&31),u+=rn[z]);var q=31&n[C];Nn(t,u,N[q]),u+=E[q],q>3&&(Nn(t,u,n[C]>>>5&8191),u+=nn[q])}else Nn(t,u,B[n[C]]),u+=D[n[C]];return Nn(t,u,B[256]),u+D[256]},Fn=new tn([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),In=new $r(0),zn=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&-306674912)^r>>>1;e[t]=r}return e}(),qn=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n<t.length;++n)r=zn[255&r^t[n]]^r>>>8;e=r},d:function(){return~e}}},Wn=function(e,t,r,n,a){return function(e,t,r,n,a,o){var i=e.length,c=new $r(n+i+5*(1+Math.ceil(i/7e3))+a),l=c.subarray(n,c.length-a),s=0;if(!t||i<8)for(var u=0;u<=i;u+=65535){var d=u+65535;d>=i&&(l[s>>3]=o),s=Rn(l,s+1,e.subarray(u,d))}else{for(var f=Fn[t-1],h=f>>>13,p=8191&f,v=(1<<r)-1,w=new en(32768),g=new en(v+1),m=Math.ceil(r/3),y=2*m,b=function(t){return(e[t]^e[t+1]<<m^e[t+2]<<y)&v},k=new tn(25e3),x=new en(288),S=new en(32),C=0,L=0,T=(u=0,0),P=0,M=0;u<i;++u){var B=b(u),D=32767&u,N=g[B];if(w[D]=N,g[B]=D,P<=u){var E=i-u;if((C>7e3||T>24576)&&E>423){s=On(e,l,0,k,x,S,L,T,M,u-M,s),T=C=L=0,M=u;for(var A=0;A<286;++A)x[A]=0;for(A=0;A<30;++A)S[A]=0}var X=2,H=0,R=p,O=D-N&32767;if(E>2&&B==b(u-O))for(var F=Math.min(h,E)-1,I=Math.min(32767,u),z=Math.min(258,E);O<=I&&--R&&D!=N;){if(e[u+X]==e[u+X-O]){for(var q=0;q<z&&e[u+q]==e[u+q-O];++q);if(q>X){if(X=q,H=O,q>F)break;var W=Math.min(O,q-2),V=0;for(A=0;A<W;++A){var G=u-O+A+32768&32767,j=G-w[G]+32768&32767;j>V&&(V=j,N=G)}}}O+=(D=N)-(N=w[D])+32768&32767}if(H){k[T++]=268435456|sn[X]<<18|fn[H];var U=31&sn[X],_=31&fn[H];L+=rn[U]+nn[_],++x[257+U],++S[_],P=u+X,++C}else k[T++]=e[u],++x[e[u]]}}s=On(e,l,o,k,x,S,L,T,M,u-M,s),!o&&7&s&&(s=Rn(l,s+1,In))}return Pn(c,0,n+Tn(s)+a)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!a)},Vn=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},Gn=function(e,t){return e[t]|e[t+1]<<8},jn=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0},Un=function(e,t){return jn(e,t)+4294967296*jn(e,t+4)},_n=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8};function Zn(e,t){return Wn(e,t||{},0,0)}function Kn(e,t){return function(e,t,r){var n=e.length;if(!n||r&&r.f&&!r.l)return t||new $r(0);var a=!t||r,o=!r||r.i;r||(r={}),t||(t=new $r(3*n));var i=function(e){var r=t.length;if(e>r){var n=new $r(Math.max(2*r,e));n.set(t),t=n}},c=r.f||0,l=r.p||0,s=r.b||0,u=r.l,d=r.d,f=r.m,h=r.n,p=8*n;do{if(!u){c=Cn(e,l,1);var v=Cn(e,l+1,3);if(l+=3,!v){var w=e[(P=Tn(l)+4)-4]|e[P-3]<<8,g=P+w;if(g>n){o&&Bn(0);break}a&&i(s+w),t.set(e.subarray(P,g),s),r.b=s+=w,r.p=l=8*g,r.f=c;continue}if(1==v)u=bn,d=xn,f=9,h=5;else if(2==v){var m=Cn(e,l,31)+257,y=Cn(e,l+10,15)+4,b=m+Cn(e,l+5,31)+1;l+=14;for(var k=new $r(b),x=new $r(19),S=0;S<y;++S)x[an[S]]=Cn(e,l+3*S,7);l+=3*y;var C=Sn(x),L=(1<<C)-1,T=wn(x,C,1);for(S=0;S<b;){var P,M=T[Cn(e,l,L)];if(l+=15&M,(P=M>>>4)<16)k[S++]=P;else{var B=0,D=0;for(16==P?(D=3+Cn(e,l,3),l+=2,B=k[S-1]):17==P?(D=3+Cn(e,l,7),l+=3):18==P&&(D=11+Cn(e,l,127),l+=7);D--;)k[S++]=B}}var N=k.subarray(0,m),E=k.subarray(m);f=Sn(N),h=Sn(E),u=wn(N,f,1),d=wn(E,h,1)}else Bn(1);if(l>p){o&&Bn(0);break}}a&&i(s+131072);for(var A=(1<<f)-1,X=(1<<h)-1,H=l;;H=l){var R=(B=u[Ln(e,l)&A])>>>4;if((l+=15&B)>p){o&&Bn(0);break}if(B||Bn(2),R<256)t[s++]=R;else{if(256==R){H=l,u=null;break}var O=R-254;if(R>264){var F=rn[S=R-257];O=Cn(e,l,(1<<F)-1)+ln[S],l+=F}var I=d[Ln(e,l)&X],z=I>>>4;if(I||Bn(3),l+=15&I,E=dn[z],z>3&&(F=nn[z],E+=Ln(e,l)&(1<<F)-1,l+=F),l>p){o&&Bn(0);break}a&&i(s+131072);for(var q=s+O;s<q;s+=4)t[s]=t[s-E],t[s+1]=t[s+1-E],t[s+2]=t[s+2-E],t[s+3]=t[s+3-E];s=q}}r.l=u,r.p=H,r.b=s,r.f=c,u&&(c=1,r.m=f,r.d=d,r.n=h)}while(!c);return s==t.length?t:Pn(t,0,s)}(e,t)}var Jn=function(e,t,r,n){for(var a in e){var o=e[a],i=t+a,c=n;Array.isArray(o)&&(c=Vn(n,o[1]),o=o[0]),o instanceof $r?r[i]=[o,c]:(r[i+="/"]=[new $r(0),c],Jn(o,i,r,n))}},Yn="undefined"!=typeof TextEncoder&&new TextEncoder,Qn="undefined"!=typeof TextDecoder&&new TextDecoder;try{Qn.decode(In,{stream:!0})}catch(e){}function $n(e,t){if(t){for(var r=new $r(e.length),n=0;n<e.length;++n)r[n]=e.charCodeAt(n);return r}if(Yn)return Yn.encode(e);var a=e.length,o=new $r(e.length+(e.length>>1)),i=0,c=function(e){o[i++]=e};for(n=0;n<a;++n){if(i+5>o.length){var l=new $r(i+8+(a-n<<1));l.set(o),o=l}var s=e.charCodeAt(n);s<128||t?c(s):s<2048?(c(192|s>>6),c(128|63&s)):s>55295&&s<57344?(c(240|(s=65536+(1047552&s)|1023&e.charCodeAt(++n))>>18),c(128|s>>12&63),c(128|s>>6&63),c(128|63&s)):(c(224|s>>12),c(128|s>>6&63),c(128|63&s))}return Pn(o,0,i)}function ea(e,t){if(t){for(var r="",n=0;n<e.length;n+=16384)r+=String.fromCharCode.apply(null,e.subarray(n,n+16384));return r}if(Qn)return Qn.decode(e);var a=function(e){for(var t="",r=0;;){var n=e[r++],a=(n>127)+(n>223)+(n>239);if(r+a>e.length)return[t,Pn(e,r-1)];a?3==a?(n=((15&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536,t+=String.fromCharCode(55296|n>>10,56320|1023&n)):t+=1&a?String.fromCharCode((31&n)<<6|63&e[r++]):String.fromCharCode((15&n)<<12|(63&e[r++])<<6|63&e[r++]):t+=String.fromCharCode(n)}}(e),o=a[0];return a[1].length&&Bn(8),o}var ta=function(e,t){return t+30+Gn(e,t+26)+Gn(e,t+28)},ra=function(e,t,r){var n=Gn(e,t+28),a=ea(e.subarray(t+46,t+46+n),!(2048&Gn(e,t+8))),o=t+46+n,i=jn(e,t+20),c=r&&4294967295==i?na(e,o):[i,jn(e,t+24),jn(e,t+42)],l=c[0],s=c[1],u=c[2];return[Gn(e,t+10),l,s,a,o+Gn(e,t+30)+Gn(e,t+32),u]},na=function(e,t){for(;1!=Gn(e,t);t+=4+Gn(e,t+2));return[Un(e,t+12),Un(e,t+4),Un(e,t+20)]},aa=function(e){var t=0;if(e)for(var r in e){var n=e[r].length;n>65535&&Bn(9),t+=n+4}return t},oa=function(e,t,r,n,a,o,i,c){var l=n.length,s=r.extra,u=c&&c.length,d=aa(s);_n(e,t,null!=i?33639248:67324752),t+=4,null!=i&&(e[t++]=20,e[t++]=r.os),e[t]=20,t+=2,e[t++]=r.flag<<1|(o<0&&8),e[t++]=a&&8,e[t++]=255&r.compression,e[t++]=r.compression>>8;var f=new Date(null==r.mtime?Date.now():r.mtime),h=f.getFullYear()-1980;if((h<0||h>119)&&Bn(10),_n(e,t,h<<25|f.getMonth()+1<<21|f.getDate()<<16|f.getHours()<<11|f.getMinutes()<<5|f.getSeconds()>>>1),t+=4,-1!=o&&(_n(e,t,r.crc),_n(e,t+4,o<0?-o-2:o),_n(e,t+8,r.size)),_n(e,t+12,l),_n(e,t+14,d),t+=16,null!=i&&(_n(e,t,u),_n(e,t+6,r.attrs),_n(e,t+10,i),t+=14),e.set(n,t),t+=l,d)for(var p in s){var v=s[p],w=v.length;_n(e,t,+p),_n(e,t+2,w),e.set(v,t+4),t+=4+w}return u&&(e.set(c,t),t+=u),t};function ia(e,t){t||(t={});var r={},n=[];Jn(e,"",r,t);var a=0,o=0;for(var i in r){var c=r[i],l=c[0],s=c[1],u=0==s.level?0:8,d=(S=$n(i)).length,f=s.comment,h=f&&$n(f),p=h&&h.length,v=aa(s.extra);d>65535&&Bn(11);var w=u?Zn(l,s):l,g=w.length,m=qn();m.p(l),n.push(Vn(s,{size:l.length,crc:m.d(),c:w,f:S,m:h,u:d!=i.length||h&&f.length!=p,o:a,compression:u})),a+=30+d+v+g,o+=76+2*(d+v)+(p||0)+g}for(var y=new $r(o+22),b=a,k=o-a,x=0;x<n.length;++x){var S=n[x];oa(y,S.o,S,S.f,S.u,S.c.length);var C=30+S.f.length+aa(S.extra);y.set(S.c,S.o+C),oa(y,a,S,S.f,S.u,S.c.length,S.o,S.m),a+=16+C+(S.m?S.m.length:0)}return function(e,t,r,n,a){_n(e,t,101010256),_n(e,t+8,r),_n(e,t+10,r),_n(e,t+12,n),_n(e,t+16,a)}(y,a,n.length,k,b),y}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;var ca=function(){function e(){}return e.prototype.load=function(e){this.zip=function(e,t){for(var r={},n=e.length-22;101010256!=jn(e,n);--n)(!n||e.length-n>65558)&&Bn(13);var a=Gn(e,n+8);if(!a)return{};var o=jn(e,n+16),i=4294967295==o||65535==a;if(i){var c=jn(e,n-12);(i=101075792==jn(e,c))&&(a=jn(e,c+32),o=jn(e,c+48))}for(var l=t&&t.filter,s=0;s<a;++s){var u=ra(e,o,i),d=u[0],f=u[1],h=u[2],p=u[3],v=u[4],w=u[5],g=ta(e,w);o=v,l&&!l({name:p,size:f,originalSize:h,compression:d})||(d?8==d?r[p]=Kn(e.subarray(g,g+f),new $r(h)):Bn(14,"unknown compression type "+d):r[p]=Pn(e,g,g+f))}return r}(new Uint8Array(e),{filter:function(e){return e.originalSize<=1e7}})},e.prototype.getXML=function(e){var t=this.getFileByType(e,"string"),r=(new DOMParser).parseFromString(t,"application/xml"),n=r.querySelector("parsererror");if(n)throw new Error(n.textContent||"can't parse xml");return r},e.prototype.getFileByType=function(e,t){e=e.startsWith("/")?e.slice(1):e;var r=this.zip[e];if(r){if("string"===t)return ea(r);if("blob"===t)return new Blob([r])}throw new Error("file not found")},e.prototype.fileExists=function(e){return(e=e.startsWith("/")?e.slice(1):e)in this.zip},e.prototype.generateZip=function(e){return this.zip["word/document.xml"]=$n(e),new Blob([ia(this.zip)])},e}(),la={imageDataURL:!1,classPrefix:"docx-viewer",inWrap:!0,bulletUseFont:!0,ignoreHeight:!0,ignoreWidth:!0,minLineHeight:1,enableVar:!1,debug:!1},sa=function(){function e(t,r,n){void 0===n&&(n=new ca),this.themes=[],this.styleIdMap={},this.styleIdNum=0,this.wrapClassName="docx-viewer-wrapper",this.inited=!1,n.load(t),this.id=e.globalId++,this.parser=n,this.renderOptions=ze(ze({},la),r)}return e.prototype.init=function(){this.inited||(this.initContentType(),this.initTheme(),this.initStyle(),this.initRelation(),this.initNumbering(),this.inited=!0)},e.prototype.initTheme=function(){var e,t;try{for(var r=Ve(this.conentTypes.overrides),n=r.next();!n.done;n=r.next()){var a=n.value;if(a.partName.startsWith("/word/theme")){var o=this.parser.getXML(a.partName);this.themes.push(ir(o))}}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.initStyle=function(){var e,t;try{for(var r=Ve(this.conentTypes.overrides),n=r.next();!n.done;n=r.next())n.value.partName.startsWith("/word/styles.xml")&&(this.styles=ar(this,this.parser.getXML("/word/styles.xml")))}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.initRelation=function(){var e={};this.parser.fileExists("/_rels/.rels")&&(e=je(this.parser.getXML("/_rels/.rels"),"root"));var t={};this.parser.fileExists("/word/_rels/document.xml.rels")&&(t=je(this.parser.getXML("/word/_rels/document.xml.rels"),"word")),this.relationships=ze(ze({},e),t)},e.prototype.initContentType=function(){var e,t=this.parser.getXML("[Content_Types].xml");this.conentTypes=(e={overrides:[]},t.querySelectorAll("Override").forEach((function(t){e.overrides.push({partName:t.getAttribute("PartName"),contentType:t.getAttribute("ContentType")})})),e)},e.prototype.initNumbering=function(){var e,t;try{for(var r=Ve(this.conentTypes.overrides),n=r.next();!n.done;n=r.next()){var a=n.value;if(a.partName.startsWith("/word/numbering")){var o=this.parser.getXML(a.partName);this.numbering=Gr.fromXML(this,o)}}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.getRelationship=function(e){return e?this.relationships[e]:null},e.prototype.replaceText=function(e){return!1!==this.renderOptions.enableVar&&this.renderOptions.replaceText?this.renderOptions.replaceText(e):e},e.prototype.loadImage=function(e){var t=e.target;"word"===e.part&&(t="word/"+t);var r,n=this.parser.getFileByType(t,"blob");return n?this.renderOptions.imageDataURL?(r=n,new Promise((function(e,t){var n=new FileReader;n.onload=function(t){return e(n.result)},n.onerror=function(e){return t(n.error)},n.onabort=function(e){return t(new Error("Read aborted"))},n.readAsDataURL(r)}))):new Promise((function(e,t){e(URL.createObjectURL(n))})):null},e.prototype.getXML=function(e){return this.parser.getXML(e)},e.prototype.getStyleIdDisplayName=function(e){return e.match(/^[a-zA-Z]+[a-zA-Z0-9\-\_]*$/)?this.getClassPrefix()+"-"+e:(e in this.styleIdMap||(this.styleIdMap[e]=this.genClassName()),this.styleIdMap[e])},e.prototype.genClassName=function(){return"docx-classname-"+this.styleIdNum++},e.prototype.appendStyle=function(e){var t=document.createElement("style");t.innerHTML=e,this.rootElement.appendChild(t)},e.prototype.getStyleClassName=function(e){var t=this.styles.styleMap[e];if(!t)return[];var r=[this.getStyleIdDisplayName(e)];return t.basedOn&&r.unshift(this.getStyleIdDisplayName(t.basedOn)),r},e.prototype.getClassPrefix=function(){return"".concat(this.renderOptions.classPrefix,"-").concat(this.id)},e.prototype.getThemeColor=function(e){return"var(--docx-".concat(this.id,"-theme-").concat(e,"-color)")},e.prototype.addClass=function(e,t){e.classList.add("".concat(this.getClassPrefix(),"-").concat(t))},e.prototype.updateVariable=function(){this.rootElement&&!1!==this.renderOptions.enableVar&&this.renderOptions.replaceText&&function(e){for(var t=e.rootElement.querySelectorAll(".".concat(Pr)),r=0;r<t.length;r++){var n=t[r],a=n.dataset.originText||"";n.textContent=e.replaceText(a)}}(this)},e.prototype.download=function(e){void 0===e&&(e="document.docx");var t,r=this.getXML("word/document.xml");if(this.renderOptions.enableVar&&this.renderOptions.replaceText){Kr(this,r);for(var n=r.getElementsByTagName("w:t"),a=0;a<n.length;a++)n[a].textContent=this.replaceText(n[a].textContent||"")}!function(e,t){void 0===t&&(t="file.txt");var r=URL.createObjectURL(e),n=document.createElement("a");n.href=r,n.download=t,document.body.appendChild(n),n.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})),document.body.removeChild(n)}(this.parser.generateZip((t=r,(new XMLSerializer).serializeToString(t))),e)},e.prototype.print=function(){var e,t;return qe(this,void 0,void 0,(function(){var r;return We(this,(function(n){switch(n.label){case 0:return(r=document.createElement("iframe")).style.position="absolute",r.style.top="-10000px",document.body.appendChild(r),null===(e=r.contentDocument)||void 0===e||e.write('<div id="print"></div>'),[4,this.render(null===(t=r.contentDocument)||void 0===t?void 0:t.getElementById("print"))];case 1:return n.sent(),setTimeout((function(){var e,t;r.focus(),null===(e=r.contentWindow)||void 0===e||e.print(),null===(t=r.parentNode)||void 0===t||t.removeChild(r)}),100),window.focus(),[2]}}))}))},e.prototype.render=function(e){return qe(this,void 0,void 0,(function(){var t,r,n,a,o;return We(this,(function(i){return this.init(),t=this.renderOptions,(r=t.debug)&&console.log("init",this),this.rootElement=e,e.innerHTML="",n=this.getXML("word/document.xml"),r&&console.log("documentData",n),t.enableVar&&t.replaceText&&Kr(this,n),a=Qr.fromXML(this,n),r&&console.log("document",a),o=function(e,t){var r=sr("article");return function(e,t,r){var n,a,o,i;try{for(var c=Ve(r.sections),l=c.next();!l.done;l=c.next()){var s=l.value,u=Ar(e,s);ur(t,u);try{for(var d=(o=void 0,Ve(s.children)),f=d.next();!f.done;f=d.next()){var h=f.value;h instanceof It?ur(u,Er(e,h)):h instanceof tr&&ur(u,zr(e,h))}}catch(e){o={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}ur(t,u)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}(e,r,t.body),r}(this,a),e.classList.add(this.getClassPrefix()),t.inWrap&&e.classList.add(this.wrapClassName),ur(e,(c=this,l=sr("style"),s=function(e){var t=e.styles.defaultStyle,r="";(null==t?void 0:t.pPr)&&(r=cr(t.pPr.cssStyle));var n="";(null==t?void 0:t.rPr)&&(n=cr(t.rPr.cssStyle));var a=e.getClassPrefix();return"\n .".concat(e.wrapClassName," {\n\n }\n\n .").concat(e.wrapClassName," > article > section {\n background: white;\n }\n\n /** docDefaults **/\n\n .").concat(a," p {\n margin: 0;\n padding: 0;\n }\n\n .").concat(a," table {\n border-spacing: 0;\n }\n\n .").concat(a," .").concat(a,"-p {\n ").concat(r,"\n }\n\n .").concat(a," .").concat(a,"-r {\n white-space: pre-wrap;\n overflow-wrap: break-word;\n ").concat(n,"\n }\n ")}(c),u=function(e){var t=e.styles.styleMap,r=e.getClassPrefix(),n="";for(var a in t){var o=e.getStyleIdDisplayName(a),i=t[a],c=i.pPr,l="";if(c){var s=cr(c.cssStyle);l="\n .".concat(r," .").concat(o," {\n ").concat(s,"\n }\n ")}var u="";if(i.rPr){var d=cr(i.rPr.cssStyle);u="\n .".concat(r," .").concat(o," > .r {\n ").concat(d,"\n }\n ")}var f=Xr(r,o,i),h=Or(r,o,i.tblStylePr);n+="\n ".concat(l,"\n ").concat(u,"\n ").concat(f,"\n ").concat(h,"\n ")}return n}(c),l.innerHTML="\n ".concat(s,"\n\n ").concat(u,"\n "),l)),ur(e,o),[2];var c,l,s,u}))}))},e.globalId=0,e}(),ua={Word:sa}}}]);