@pdftron/webviewer 11.6.0-20250604 → 11.6.0-20250606
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/package.json
CHANGED
|
@@ -418,7 +418,7 @@ function(Na){if(0!==this.KE().length||this.oa.MDa(Na-1)){var va=this.zz(Na);null
|
|
|
418
418
|
[null,""]);var va=Na.Ub();Na.MT();(Na.Rk()instanceof ra.bb||Na.Rk()instanceof ra.H)&&Na.Rk().Np(va)})};ib.prototype.RBa=function(Na,va,Ea){var Ra=[],Va=this.oa.Lk(Na-1);if((Va=this.Gb.Wf(Va))&&Va.ei)for(va=this.yW({x:va,y:Ea},Na),Na=Va.Fd?this.yW({x:Va.Fd.x1,y:Va.Fd.y1},Na):{x:0,y:0},Ea=Object(qa.k)(),va.x*=Ea,va.y*=Ea,Na.x*=Ea,Na.y*=Ea,Na=Math.round(va.y-Na.y)*Va.ei.width+Math.round(va.x-Na.x),Va=Va.ei.data,va=0;va<Va.length;++va)if(Ea=Va[va],"Alpha"!==Ea.name){var fb=new Uint8Array(Ea.data);Na<
|
|
419
419
|
fb.length&&0<=Na&&Ra.push({name:Ea.name,value:Math.round(fb[Na]/255*100)})}return Ra};ib.prototype.yW=function(Na,va){var Ea=this.Qb(va),Ra=this.tc(va);Na=Object(ka.a)(Ea,Ra,{width:this.$d(va),height:this.Pd(va)},null,!1).Aa(Na);return{x:Na.x,y:Na.y}};ib.prototype.uEa=function(Na,va){var Ea=this.Qb(va),Ra=this.jf(va);Na=Object(ka.a)(Ea,Ra,this.ca.Za(va),0,!1).Aa(Na);return{x:Na.x,y:Na.y}};ib.prototype.Wo=function(Na){if(Na&&this.Ob!==Na){Na instanceof ra.c||Na instanceof ra.bb||Na instanceof ra.H||
|
|
420
420
|
Na instanceof ra.J||this.Np();if(this.Ob){this.Ob.switchOut&&this.Ob.switchOut(Na);var va=this.Ob}Na.switchIn&&Na.switchIn(this.Ob);this.Ob=Na;this.trigger(ib.Events.TOOL_MODE_UPDATED,[Na,va])}};ib.prototype.Eaa=function(Na){var va=this.mb(),Ea=Object(wa.c)(va);va=this.za.rl({x:Object(wa.d)(va)+Ea.left,y:(va.scrollTop||0)+Ea.top},Na);return{Da:Na,nWa:va,gQa:Ea}};ib.prototype.tia=function(Na){var va=Na.gQa;Na=this.za.Pg(Na.nWa,Na.Da);this.scrollTo(Na.x-va.left,Na.y-va.top)};ib.prototype.wEa=function(){var Na=
|
|
421
|
-
this.mb(),va=parseFloat(Na.scrollTop)/Na.scrollHeight;return{PWa:parseFloat(Object(wa.d)(Na)+Na.clientWidth/2)/Na.scrollWidth,RWa:va}};ib.prototype.QSa=function(Na){var va=this.mb();this.scrollTo(Na.PWa*va.scrollWidth-va.clientWidth/2,Na.RWa*va.scrollHeight)};ib.prototype.o0=function(Na){null===this.ca?(this.Dk=Na,this.trigger(ib.Events.FIT_MODE_UPDATED,this.Dk)):(Na=this.RJ(Na),this.Mj()&&Na>Sa.
|
|
421
|
+
this.mb(),va=parseFloat(Na.scrollTop)/Na.scrollHeight;return{PWa:parseFloat(Object(wa.d)(Na)+Na.clientWidth/2)/Na.scrollWidth,RWa:va}};ib.prototype.QSa=function(Na){var va=this.mb();this.scrollTo(Na.PWa*va.scrollWidth-va.clientWidth/2,Na.RWa*va.scrollHeight)};ib.prototype.o0=function(Na){null===this.ca?(this.Dk=Na,this.trigger(ib.Events.FIT_MODE_UPDATED,this.Dk)):(Na=this.RJ(Na),this.Mj()&&Na>Sa.e&&(console.warn("Office Editor only support zoom level up to ".concat(100*Sa.e,"%")),Na=Sa.e),this.za.nd().mode===
|
|
422
422
|
b.a.np?this.oa.Tt(Na):Na!==this.oa.vq&&(this.Dx.dh(Na,void 0,void 0,!1,!0),this.AT()))};ib.prototype.RJ=function(Na){this.Dk=Na;Na=this.Dk();this.trigger(ib.Events.FIT_MODE_UPDATED,this.Dk);return Na};ib.prototype.rotate=function(Na){this.Dx.dh(this.Dk(),void 0,void 0,!0);Object(zb.a)(this);this.trigger(ib.Events.ROTATION_UPDATED,[this.jf(Na),Na])};ib.prototype.Rz=function(Na,va){return va?(Na+1)%4:(Na-1+4)%4};ib.prototype.TPa=function(Na){if(this.ca){var va=this;Object(na.isUndefined)(Na)?(this.oa.q0(this.Rz(this.jf(),
|
|
423
423
|
!0)),this.oa.Q9(function(Ea){Ea.rotation=va.Rz(Ea.rotation,!0)})):this.oa.dH(Na-1,this.Rz(this.jf(Na),!0));this.rotate(Na)}};ib.prototype.UPa=function(Na){if(this.ca){var va=this;Object(na.isUndefined)(Na)?(this.oa.q0(this.Rz(this.jf(),!1)),this.oa.Q9(function(Ea){Ea.rotation=va.Rz(Ea.rotation,!1)})):this.oa.dH(Na-1,this.Rz(this.jf(Na),!1));this.rotate(Na)}};ib.prototype.Jia=function(){this.Dx=kb.a.create(this)};ib.prototype.dh=function(Na,va,Ea){this.RJ(this.gn.Zoom);this.Dx.dh(Na,va,Ea)};ib.prototype.Nka=
|
|
424
424
|
function(Na,va,Ea,Ra){if(this.ca){Ra&&(this.Uc={x:Ra.pageX,y:Ra.pageY});this.RJ(this.gn.Zoom);this.oa.Tt(Na);Na=this.mb();va=this.Uc.x-va;Ea=this.Uc.y-Ea;Ra=(parseFloat(Na.scrollTop)+Ea)/Na.scrollHeight;var Va=(parseFloat(Object(wa.d)(Na))+va)/Na.scrollWidth;this.Mm(!1,!1,!0);this.Lc().wt()&&this.ia().Dba(this.Lc().Be());this.za.cj();this.za.Yg();this.scrollTo(Va*Na.scrollWidth-va,Ra*Na.scrollHeight-Ea);this.qf();this.trigger(ib.Events.ZOOM_UPDATED,this.oa.vq)}};ib.prototype.FDa=function(Na){Na=this.Sz(Na);
|
|
@@ -464,13 +464,13 @@ qa);sa.reject('The expected Worker response for "'.concat(ka.cmd,'" timed out af
|
|
|
464
464
|
case 1:return ta=La.aa(),wa=ca.ia(),za=!0,[4,qa.yh(ta,sa,oa,za)];case 2:return La.aa(),[4,qa.nf([oa+1],za)];case 3:return La.aa(),Ga=(Da=n.a).U7,[4,qa.VD([oa])];case 4:return Aa=Ga.apply(Da,[La.aa().xfdfString]),Ca=wa.lb().filter(function(Ja){return Object(e.a)(Ja,oa)}),wa.mg(Ca,{force:!0,source:"contentEditTool"}),[4,wa.cF(Aa)];case 5:return La.aa(),ra||(ca.getDocument().JG(),ca.HG(oa),ca.qf()),[2]}})})}h.d(ua,"j",function(){return a});h.d(ua,"l",function(){return f});h.d(ua,"b",function(){return r});
|
|
465
465
|
h.d(ua,"o",function(){return b});h.d(ua,"c",function(){return w});h.d(ua,"m",function(){return z});h.d(ua,"h",function(){return aa});h.d(ua,"k",function(){return ea});h.d(ua,"a",function(){return ba});h.d(ua,"f",function(){return la});h.d(ua,"d",function(){return ma});h.d(ua,"n",function(){return na});h.d(ua,"i",function(){return ja});h.d(ua,"e",function(){return ia});h.d(ua,"g",function(){return fa});var y=h(0),x=h(38),n=h(8);h(21);var e=h(146),a;(function(ca){ca.insertParagraph="insertParagraph";
|
|
466
466
|
ca.insertLineBreak="insertLineBreak";ca.insertText="insertText";ca.insertFromPaste="insertFromPaste";ca.deleteContentBackward="deleteContentBackward";ca.deleteByCut="deleteByCut";ca.deleteContentForward="deleteContentForward";ca.formatBold="formatBold";ca.formatItalic="formatItalic";ca.formatUnderline="formatUnderline";ca.compositionend="compositionend"})(a||(a={}));var f="results",r="commands",b=".xml",w="commands.xml",z="results.xml",aa="imageFile.png",ea="outputFile.pdf",ba=4,ha=0},function(ya,
|
|
467
|
-
ua,h){h.d(ua,"
|
|
468
|
-
h.d(ua,"
|
|
469
|
-
0]="BULLET";
|
|
470
|
-
"trackedChange";
|
|
471
|
-
"Radio";la.PUSH_BUTTON="PushButton";la.COMBO="Combo";la.EDIT="Edit";la.DO_NOT_SCROLL="DoNotScroll";la.RADIOS_IN_UNISON="RadiosInUnison";la.FILE_SELECT="FileSelect";la.DO_NOT_SPELL_CHECK="DoNotSpellCheck";la.RICH_TEXT="RichText";la.SORT="Sort";la.MULTI_SELECT="MultiSelect";la.COMMIT_ON_SEL_CHANGE="CommitOnSelChange";ya={};la.prototype={qI:(ya[la.READ_ONLY]=1,ya[la.REQUIRED]=2,ya[la.NO_EXPORT]=4,ya[la.MULTILINE]=4096,ya[la.PASSWORD]=8192,ya[la.NO_TOGGLE_TO_OFF]=
|
|
472
|
-
65536,ya[la.COMBO]=131072,ya[la.EDIT]=262144,ya[la.DO_NOT_SCROLL]=8388608,ya[la.RADIOS_IN_UNISON]=33554432,ya),clear:function(){this.zp={};this.IJ&&this.IJ()},TD:function(ja){Object(ma.isNull)(this.ly)&&(this.ly={});for(var ia=ja.length,fa=0;fa<ia;++fa){var y=ja[fa];this.ly[y]=this.qI[y]||0}},rwa:function(ja){var ia=[],fa=this.ly||this.qI;Object.keys(fa).forEach(function(y){0!==(ja&fa[y])&&(ja&=~fa[y],ia.push(y))});return{result:ia,unsupported:ja}},get:function(ja){return!!this.zp[ja]},
|
|
473
|
-
this,ia=0;Object.keys(this.zp).forEach(function(fa){ja.zp.hasOwnProperty(fa)&&!0===ja.zp[fa]&&(ia|=ja.qI[fa])});return ia|this.TC},toArray:function(){var ja=this;return Object.keys(this.zp).filter(function(ia){return ja.zp[ia]})},deserialize:function(ja){ja=na.a.getAttribute(ja,"Ff");this.set(parseInt(ja,10))},serialize:function(ja){ja.setAttribute("Ff",String(this.bVa()))},set:function(ja,ia){if(Object(ma.isArray)(ja)){ia=ja.length;for(var fa=0;fa<ia;++fa)this.set(ja[fa])}else Object(ma.isNumber)(ja)?
|
|
467
|
+
ua,h){h.d(ua,"g",function(){return la});h.d(ua,"h",function(){return ma});h.d(ua,"j",function(){return na});h.d(ua,"c",function(){return ja});h.d(ua,"m",function(){return ia});h.d(ua,"k",function(){return fa});h.d(ua,"b",function(){return y});h.d(ua,"o",function(){return x});h.d(ua,"n",function(){return n});h.d(ua,"q",function(){return e});h.d(ua,"p",function(){return a});h.d(ua,"e",function(){return f});h.d(ua,"d",function(){return r});h.d(ua,"f",function(){return b});h.d(ua,"a",function(){return w});
|
|
468
|
+
h.d(ua,"i",function(){return z});h.d(ua,"l",function(){return aa});var la="officeEditorImageUID",ma="officeEditorTrackedChangeUID",na;(function(ea){ea.EDITING="editing";ea.REVIEWING="reviewing";ea.VIEW_ONLY="viewOnly";ea.PREVIEW="preview"})(na||(na={}));var ja;(function(ea){ea.TEXT_HTML="text/html";ea.TEXT_PLAIN="text/plain";ea.URI_LIST="text/uri-list";ea.IMAGE_PNG="image/png";ea.WV_DATA="web application/wvdata"})(ja||(ja={}));var ia;(function(ea){ea.BOLD="bold";ea.ITALIC="italic";ea.UNDERLINE="underline"})(ia||
|
|
469
|
+
(ia={}));var fa;(function(ea){ea[ea.BULLET=0]="BULLET";ea[ea.BULLET_SQUARE=1]="BULLET_SQUARE";ea[ea.SQUARE_BULLET=2]="SQUARE_BULLET";ea[ea.DIAMOND=3]="DIAMOND";ea[ea.CHECK=4]="CHECK";ea[ea.ARROW=5]="ARROW";ea[ea.NUMBER_LATIN_ROMAN_1=6]="NUMBER_LATIN_ROMAN_1";ea[ea.NUMBER_DECIMAL=7]="NUMBER_DECIMAL";ea[ea.NUMBER_LATIN_ROMAN_2=8]="NUMBER_LATIN_ROMAN_2";ea[ea.LATIN_ROMAN=10]="LATIN_ROMAN";ea[ea.ROMAN_LATIN_NUMBER=11]="ROMAN_LATIN_NUMBER"})(fa||(fa={}));var y=2.54,x=96,n=x/y,e=72,a=e/y,f=2,r=-1,b=-2,
|
|
470
|
+
w=0,z;(function(ea){ea.TRACKED_CHANGE="trackedChange";ea.HEADER_FOOTER="headerFooter"})(z||(z={}));var aa;(function(ea){ea.CM="cm";ea.INCH="inch"})(aa||(aa={}))},function(ya,ua,h){function la(ja){this.zp={};this.ly=null;this.TC=0;Object(ma.isObject)(ja)&&(Object(ma.isArray)(ja.mask)&&this.TD(ja.mask),ja.onUpdate&&(this.IJ=ja.onUpdate))}var ma=h(1);h.n(ma);var na=h(8);la.READ_ONLY="ReadOnly";la.REQUIRED="Required";la.NO_EXPORT="NoExport";la.MULTILINE="Multiline";la.PASSWORD="Password";la.COMB="Comb";
|
|
471
|
+
la.NO_TOGGLE_TO_OFF="NoToggleToOff";la.RADIO="Radio";la.PUSH_BUTTON="PushButton";la.COMBO="Combo";la.EDIT="Edit";la.DO_NOT_SCROLL="DoNotScroll";la.RADIOS_IN_UNISON="RadiosInUnison";la.FILE_SELECT="FileSelect";la.DO_NOT_SPELL_CHECK="DoNotSpellCheck";la.RICH_TEXT="RichText";la.SORT="Sort";la.MULTI_SELECT="MultiSelect";la.COMMIT_ON_SEL_CHANGE="CommitOnSelChange";ya={};la.prototype={qI:(ya[la.READ_ONLY]=1,ya[la.REQUIRED]=2,ya[la.NO_EXPORT]=4,ya[la.MULTILINE]=4096,ya[la.PASSWORD]=8192,ya[la.NO_TOGGLE_TO_OFF]=
|
|
472
|
+
16384,ya[la.RADIO]=32768,ya[la.PUSH_BUTTON]=65536,ya[la.COMBO]=131072,ya[la.EDIT]=262144,ya[la.DO_NOT_SCROLL]=8388608,ya[la.RADIOS_IN_UNISON]=33554432,ya),clear:function(){this.zp={};this.IJ&&this.IJ()},TD:function(ja){Object(ma.isNull)(this.ly)&&(this.ly={});for(var ia=ja.length,fa=0;fa<ia;++fa){var y=ja[fa];this.ly[y]=this.qI[y]||0}},rwa:function(ja){var ia=[],fa=this.ly||this.qI;Object.keys(fa).forEach(function(y){0!==(ja&fa[y])&&(ja&=~fa[y],ia.push(y))});return{result:ia,unsupported:ja}},get:function(ja){return!!this.zp[ja]},
|
|
473
|
+
bVa:function(){var ja=this,ia=0;Object.keys(this.zp).forEach(function(fa){ja.zp.hasOwnProperty(fa)&&!0===ja.zp[fa]&&(ia|=ja.qI[fa])});return ia|this.TC},toArray:function(){var ja=this;return Object.keys(this.zp).filter(function(ia){return ja.zp[ia]})},deserialize:function(ja){ja=na.a.getAttribute(ja,"Ff");this.set(parseInt(ja,10))},serialize:function(ja){ja.setAttribute("Ff",String(this.bVa()))},set:function(ja,ia){if(Object(ma.isArray)(ja)){ia=ja.length;for(var fa=0;fa<ia;++fa)this.set(ja[fa])}else Object(ma.isNumber)(ja)?
|
|
474
474
|
(ja=this.rwa(ja),this.TC|=ja.unsupported,this.set(ja.result)):Object(ma.isString)(ja)&&(fa=!0,Object(ma.isUndefined)(ia)||(fa=!!ia),this.ly?Object(ma.isUndefined)(this.ly[ja])?this.TC|=this.qI[ja]||0:this.zp[ja]=fa:this.zp[ja]=fa,this.IJ&&this.IJ())}};ua.a=la},function(ya,ua,h){h.d(ua,"g",function(){return la});h.d(ua,"f",function(){return ja});h.d(ua,"e",function(){return ia});h.d(ua,"c",function(){return y});h.d(ua,"a",function(){return x});h.d(ua,"b",function(){return n});h.d(ua,"d",function(){return e});
|
|
475
475
|
var la;(function(a){a[a.FULL_MARKUP=1]="FULL_MARKUP";a[a.BEFORE_CHANGES=2]="BEFORE_CHANGES";a[a.AFTER_CHANGES=3]="AFTER_CHANGES"})(la||(la={}));var ma;(function(a){a[a.single=0]="single";a[a["double"]=1]="double";a[a.triple=2]="triple";a[a.hair=3]="hair";a[a.dashed=4]="dashed";a[a.dotted=5]="dotted";a[a.dashDot=6]="dashDot";a[a.dashDotDot=7]="dashDotDot";a[a.slantDashDot=8]="slantDashDot";a[a.dashSmallGap=9]="dashSmallGap";a[a.thinThickSmallGap=10]="thinThickSmallGap";a[a.thickThinSmallGap=11]="thickThinSmallGap";
|
|
476
476
|
a[a.thinThickThinSmallGap=12]="thinThickThinSmallGap";a[a.thinThickMediumGap=13]="thinThickMediumGap";a[a.thickThinMediumGap=14]="thickThinMediumGap";a[a.thinThickThinMediumGap=15]="thinThickThinMediumGap"})(ma||(ma={}));var na;(function(a){a[a.leftDir=0]="leftDir";a[a.upDir=1]="upDir";a[a.rightDir=2]="rightDir";a[a.downDir=3]="downDir"})(na||(na={}));var ja=function(){function a(){}a.bc=function(f){var r=new a,b;for(b in f)r[b]=f[b];return r};return a}(),ia=function(){function a(){}a.bc=function(f){var r=
|
|
@@ -2242,9 +2242,9 @@ this.transport=aa;this.sa=new y.a;this.dZ=[];this.indices=[];this.Wq=[];this.GH=
|
|
|
2242
2242
|
new r.a(this.ja,this.sa)}w.prototype.$T=function(){var z=document.createElement("canvas");this.hr.PO&&(this.dZ[this.iU]=z.getContext("2d"));z.setAttribute("office-editor-canvas","");return z};w.prototype.eM=function(){return this.transport.eM()};w.prototype.Za=function(z){return this.Wq[z]};w.prototype.iia=function(z,aa,ea){this.Wk&&(!this.Wq[z]||this.Wq[z].width!==aa&&this.Wq[z].height!==ea)&&(this.jZ(z,this.hr.Tw(aa),this.hr.Tw(ea)),this.Wq[z]={width:aa,height:ea})};w.prototype.gW=function(z){z=
|
|
2243
2243
|
this.Za(z);return{width:this.hr.Tw(z.width)*this.Je,height:this.hr.Tw(z.height)*this.Je}};w.prototype.Wt=function(z){return this.transport.Wt(z)};w.prototype.uSa=function(z){this.iZ=z};w.prototype.vSa=function(z){this.jZ=z};w.prototype.tSa=function(z){this.FA=z};w.prototype.sSa=function(z){this.hZ=z};w.prototype.wSa=function(z){this.kZ=z};w.prototype.rSa=function(z){this.gZ=z};w.prototype.pua=function(){this.jZ=function(){};this.iZ=function(){};this.FA=function(){};this.hZ=function(){};this.gZ=function(){};
|
|
2244
2244
|
this.kZ=function(){}};w.prototype.Kb=function(){return this.ja};w.prototype.pe=function(){return this.FGa};w.prototype.Bj=function(){return this.sGa};w.prototype.uq=function(z){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.transport.uq(z)]})})};w.prototype.uM=function(){return this.transport.uM()};w.prototype.Xaa=function(){return this.ja.Lc().Be().map(function(z){return z-1})};w.prototype.DP=function(z,aa){return Object(la.b)(this,void 0,Promise,
|
|
2245
|
-
function(){return Object(la.d)(this,function(){return[2,this.Le("setSectionMargins",z,aa,this.Xaa(),na.
|
|
2246
|
-
this.transport.Lg(z,aa,ea)]})})};w.prototype.x_=function(z,aa,ea,ba){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Le("replaceHeaderFooter",z,aa,ea,ba,this.Xaa(),na.
|
|
2247
|
-
function(){return[2,this.x_(z,aa,ea,na.
|
|
2245
|
+
function(){return Object(la.d)(this,function(){return[2,this.Le("setSectionMargins",z,aa,this.Xaa(),na.i.HEADER_FOOTER)]})})};w.prototype.oaa=function(z){return Object(la.b)(this,void 0,Promise,function(){var aa,ea,ba;return Object(la.d)(this,function(ha){switch(ha.label){case 0:return[4,this.uq(z)];case 1:aa=ha.aa();ea={};for(ba in aa)ea[ba]=this.hr.Tw(aa[ba])*this.Je;return[2,ea]}})})};w.prototype.Lg=function(z,aa,ea){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,
|
|
2246
|
+
this.transport.Lg(z,aa,ea)]})})};w.prototype.x_=function(z,aa,ea,ba){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Le("replaceHeaderFooter",z,aa,ea,ba,this.Xaa(),na.i.HEADER_FOOTER)]})})};w.prototype.$G=function(z,aa,ea,ba){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.x_(z,aa,ea,ba)]})})};w.prototype.rv=function(z,aa,ea){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,
|
|
2247
|
+
function(){return[2,this.x_(z,aa,ea,na.f)]})})};w.prototype.v_=function(z,aa,ea){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.x_(z,aa,ea,na.d)]})})};w.prototype.fW=function(z){var aa;if(this.GH[z])return this.GH[z];var ea=null===(aa=this.ja)||void 0===aa?void 0:aa.va().querySelector("#pageContainer".concat(z+1));if(ea)return(aa=ea.querySelector(".canvas".concat(z+1)))||Object(ma.b)("EditableDoc: dom page canvas not found: ".concat(z)),aa};w.prototype.IDa=
|
|
2248
2248
|
function(z,aa,ea){return Object(la.b)(this,arguments,Promise,function(ba,ha,ca,pa,oa,ka){var ra,qa;void 0===pa&&(pa=!0);void 0===oa&&(oa="");void 0===ka&&(ka=!1);return Object(la.d)(this,function(sa){switch(sa.label){case 0:return ra=ha*ca,qa=document.createElement("canvas"),qa.setAttribute("office-editor-render-id",oa),qa.style.width="inherit",qa.style.height="inherit",this.GH[ba]=qa,ka||(e.a.Ln=ca,this.Je=ra),[4,this.transport.MG(ba,ra,pa,oa)];case 1:return sa.aa(),this.GH[ba].getAttribute("office-editor-render-id")===
|
|
2249
2249
|
oa&&delete this.GH[ba],[2,qa]}})})};w.prototype.gWa=function(){var z=this;if(this.hY)return this.rka;this.hY=!0;return this.rka=new Promise(function(aa){return Object(la.b)(z,void 0,void 0,function(){var ea,ba,ha,ca;return Object(la.d)(this,function(pa){switch(pa.label){case 0:ea=this.sa.Qa;ba=this.zb();for(ha=0;ha<ba;ha++)(ca=ea[ha])&&0!==ca.length||this.transport.MG(ha,this.Je,!0);pa.label=1;case 1:return this.Nfa?[3,3]:[4,this.transport.MG(this.zb()-1,this.Je,!0)];case 2:return pa.aa(),[3,1];case 3:return[4,
|
|
2250
2250
|
this.Ri()];case 4:return pa.aa(),this.hY=!1,aa(),[2]}})})})};w.prototype.Ri=function(){function z(ha){ea.push(new Promise(function(ca){aa.ja.getDocument().Ri(ha+1,function(){ca(null)})}))}for(var aa=this,ea=[],ba=0;ba<this.zb();ba++)z(ba);return Promise.all(ea)};w.prototype.Uy=function(){return Object(la.b)(this,arguments,Promise,function(z,aa){var ea;void 0===z&&(z=!1);void 0===aa&&(aa=!1);return Object(la.d)(this,function(ba){switch(ba.label){case 0:return[4,ia.a.create(this.transport,this.sa,z,
|
|
@@ -2255,14 +2255,14 @@ aa.drawImage(ba,0,0));delete this.dZ[z];this.trigger(w.Events.PAGE_DISPLAYED,z)}
|
|
|
2255
2255
|
z[ea];0!==Object.keys(ba).length&&aa.push(this.jw(ba))}return Promise.all(aa)}return 0===Object.keys(z).length?Promise.resolve([]):Promise.reject({message:"Invalid message format",data:z})};w.prototype.a1=function(z,aa){for(var ea=0,ba=0;ba<z;++ba)ea+=65536<=this.Nl.codePointAt(ea)?2:1;z=ea;for(ba=0;ba<aa;++ba)z+=65536<=this.Nl.codePointAt(z)?2:1;return{first:ea,last:z}};w.prototype.Wz=function(z){switch(z.cmd){case "changePage":this.iU=z.args[0];this.Wk=z.args[3];this.iia(z.args[0],z.args[1],z.args[2]);
|
|
2256
2256
|
this.FA(z.args[0]);break;case "invalidatePage":this.vo(z.args[0],z.args[1],z.args[2]);this.FA(z.args[0]);break;case "displayPage":this.Vxa(z.args[0],z.args[1]);break;case "resetPageCount":this.GPa(z.args[0]);break;case "removeCursor":delete this.indices[z.id];break;case "invalidateCursor":this.Cz(z.id).Uba();break;case "resolveCursor":var aa=z.id,ea=this.Cz(aa);ea&&(ea.OM(z),this.trigger(w.Events.CURSOR_MOVED,{style:ea.eFa(),id:aa}));break;case "trackedChangeDelta":aa=z.args[1];switch(z.args[0]){case b.a.ADDED:this.hZ(b.c.bm(this,
|
|
2257
2257
|
aa));break;case b.a.REMOVED:this.kZ(aa.id);break;case b.a.MODIFIED:this.gZ(b.c.bm(this,aa))}this.ja.getDocument().trigger(n.a.Events.TRACKED_CHANGES_UPDATED);break;case "undoRedoState":z=z.args[0];this.ja.getDocument().trigger(n.a.Events.OFFICE_EDITOR_UNDO_REDO_STATE_CHANGED,z.canUndo,z.canRedo);break;case "limitY":this.s1=!0;break;case "outlineUpdate":this.fLa?(this.fLa.fGa(z,this),this.trigger(w.Events.OUTLINE_UPDATED)):console.error("Outline info not initialized")}};w.prototype.Le=function(z){for(var aa=
|
|
2258
|
-
[],ea=1;ea<arguments.length;ea++)aa[ea-1]=arguments[ea];return Object(la.b)(this,void 0,Promise,function(){var ba,ha,ca;return Object(la.d)(this,function(pa){switch(pa.label){case 0:return ba=aa[aa.length-1],ha=Object.values(na.
|
|
2258
|
+
[],ea=1;ea<arguments.length;ea++)aa[ea-1]=arguments[ea];return Object(la.b)(this,void 0,Promise,function(){var ba,ha,ca;return Object(la.d)(this,function(pa){switch(pa.label){case 0:return ba=aa[aa.length-1],ha=Object.values(na.i).includes(ba)?{source:aa.pop()}:{},[4,(ca=this.transport)[z].apply(ca,aa)];case 1:return pa.aa(),this.ja.getDocument().trigger(n.a.Events.OFFICE_DOCUMENT_EDITED,ha),[2]}})})};w.prototype.Im=function(z,aa){return this.transport.Im(z,aa)};w.prototype.WA=function(z,aa,ea,ba){void 0===
|
|
2259
2259
|
ea&&(ea=!0);void 0===ba&&(ba=null);return this.Le("replaceContent",z,aa,this.iba,ea,ba)};w.prototype.EM=function(z){if(0===z.length)throw Error("No cells selected");var aa=z[0].location();z=z[z.length-1].location();if(aa.Vd!==z.Vd)throw Error("Cannot operate across different tables");return{uid:aa.Vd,colNdx:[aa.Zd(),z.Zd()],rowNdx:[aa.Bd(),z.Bd()]}};w.prototype.PK=function(z){var aa=this.EM(z),ea=z[0].ze();return z.length===ea.Yv()*ea.Gd.length?this.OO(ea.getRange().start):this.Le("clearTableRange",
|
|
2260
2260
|
aa)};w.prototype.sKa=function(z,aa){var ea=z[0].ze();if(z.length===ea.Yv()*ea.Gd.length)throw Error("moveTableRange: Cannot move entire table");z=this.EM(z);return this.Le("moveTableRange",z,aa)};w.prototype.Eda=function(z,aa){return this.Le("moveContent",z,aa)};w.prototype.nHa=function(z,aa,ea,ba,ha){void 0===ha&&(ha="auto");return this.Le("insertTable",z,aa,ea,ba,ha)};w.prototype.fba=function(z){return this.sa.Ae(z)};w.prototype.vX=function(z,aa,ea){return this.Le("insertRows",z,aa,ea)};w.prototype.dHa=
|
|
2261
2261
|
function(z,aa,ea){return this.Le("insertCols",z,aa,ea)};w.prototype.TA=function(z,aa){z=this.sa.Ae(z);aa=this.sa.Ae(aa);return z&&aa&&z.Vd===aa.Vd?this.Le("removeRows",z,aa):Promise.reject(Error("Invalid range"))};w.prototype.ROa=function(z,aa){z=this.sa.Ae(z);aa=this.sa.Ae(aa);return z&&aa&&z.Vd===aa.Vd?this.Le("removeCols",z,aa):Promise.reject(Error("Invalid range"))};w.prototype.OO=function(z){var aa=this.sa.Ae(z);if(!aa)return Promise.reject(Error("Provided location is not in a table"));var ea=
|
|
2262
2262
|
this.sa.ze(aa.Pa(),aa.stream,aa.Vd);z=new ja.a(aa.Pa(),aa.stream,0,0,aa.Vd);aa=new ja.a(aa.Pa(),aa.stream,ea.Yv()-1,0,aa.Vd);return this.TA(z,aa)};w.prototype.uX=function(z,aa,ea,ba){return Object(la.b)(this,void 0,Promise,function(){var ha;return Object(la.d)(this,function(ca){switch(ca.label){case 0:return[4,this.transport.Jra(z)];case 1:return ha=ca.aa(),[2,this.Le("insertImage",ha,aa,ea,ba)]}})})};w.prototype.rU=function(z,aa,ea){void 0===aa&&(aa=!0);void 0===ea&&(ea=null);return this.WA(z,new x.a,
|
|
2263
2263
|
aa,ea)};w.prototype.fF=function(z,aa){return this.WA(new fa.a(z,z),aa)};w.prototype.Iga=function(z,aa,ea){void 0===ea&&(ea={});if(z.valid()){var ba=new x.a;ba.append(new x.k(aa,ea));return this.WA(z,ba)}return Promise.reject(Error("Invalid range"))};w.prototype.insertText=function(z,aa){return Object(la.b)(this,void 0,Promise,function(){var ea,ba,ha,ca,pa;return Object(la.d)(this,function(oa){switch(oa.label){case 0:return ea=new x.a,ha=(ba=ea).append,ca=x.k.bind,pa=[void 0,aa],[4,z.Qk()];case 1:return ha.apply(ba,
|
|
2264
2264
|
[new (ca.apply(x.k,pa.concat([oa.aa()])))]),[2,this.fF(z,ea)]}})})};w.prototype.oK=function(z,aa){return this.Le("applyTextStyle",z,aa)};w.prototype.Pl=function(z,aa,ea){z=this.EM(z);return this.Le("applyStyleOnTableRange",z,aa,ea)};w.prototype.A$=function(z){z=this.EM(z);return this.transport.YBa(z)};w.prototype.sU=function(z){return this.Le("deleteImage",z)};w.prototype.A_=function(z,aa,ea){return this.Le("resizeImage",z,aa,ea)};w.prototype.YS=function(z,aa){return this.Le("applyListStyle",z,aa)};
|
|
2265
|
-
w.prototype.$u=function(z,aa){return this.Le("applyParagraphStyle",z,aa)};w.prototype.MGa=function(z,aa){return this.Le("increaseGroupIndent",z,aa)};w.prototype.Gk=function(z){return this.transport.Gk(z)};w.prototype.MW=function(z){return this.transport.MW(this,z)};w.prototype.GS=function(z){return this.Le("acceptTrackedChange",z,na.
|
|
2265
|
+
w.prototype.$u=function(z,aa){return this.Le("applyParagraphStyle",z,aa)};w.prototype.MGa=function(z,aa){return this.Le("increaseGroupIndent",z,aa)};w.prototype.Gk=function(z){return this.transport.Gk(z)};w.prototype.MW=function(z){return this.transport.MW(this,z)};w.prototype.GS=function(z){return this.Le("acceptTrackedChange",z,na.i.TRACKED_CHANGE)};w.prototype.p_=function(z){return this.Le("rejectTrackedChange",z,na.i.TRACKED_CHANGE)};w.prototype.kT=function(z){return this.transport.kT(z)};w.prototype.QD=
|
|
2266
2266
|
function(){return this.transport.QD()};w.prototype.undo=function(z,aa){void 0===z&&(z=[]);void 0===aa&&(aa=[]);return this.Le("undo",z,aa)};w.prototype.redo=function(z,aa){void 0===z&&(z=[]);void 0===aa&&(aa=[]);return this.Le("redo",z,aa)};w.prototype.wM=function(z){return this.sa.bd(z)};w.prototype.nN=function(z){return this.sa.nN(z)};w.prototype.Yn=function(z){return this.sa.Yn(z)};w.prototype.PF=function(z,aa){return Object(la.b)(this,void 0,Promise,function(){var ea,ba;return Object(la.d)(this,
|
|
2267
2267
|
function(ha){switch(ha.label){case 0:return ea=this.O_(aa),(ba=this.Yn(ea))?[4,z.We(ba)]:[3,2];case 1:return ha.aa(),[3,3];case 2:console.warn("moveToScreenPoint: No valid closest location found"),ha.label=3;case 3:return[2]}})})};w.prototype.iCa=function(z){return Math.ceil(Math.abs(z.y1-z.Vc))};w.prototype.va=function(){return this.Kb().va()};w.prototype.MV=function(z){return Object(la.b)(this,arguments,Promise,function(aa,ea){var ba,ha,ca,pa,oa,ka,ra,qa,sa,ta;void 0===ea&&(ea=0);return Object(la.d)(this,
|
|
2268
2268
|
function(wa){switch(wa.label){case 0:return ka=this.wM,[4,aa.Pb()];case 1:return ba=ka.apply(this,[wa.aa()]),ha=ba.hd,ca=ba.x1,pa=ba.Vc,oa=ba.y1,[4,aa.qa()];case 2:return ra=wa.aa(),qa=this.Kb().Lc().nd(),sa=qa.Pg({x:(ha-ea)/this.Je,y:(pa-ea)/this.Je},ra),ta=qa.Pg({x:(ca+ea)/this.Je,y:(oa+ea)/this.Je},ra),[2,{QZ:sa,FMa:ta}]}})})};w.prototype.Uaa=function(z){return Object(la.b)(this,void 0,Promise,function(){var aa,ea,ba,ha,ca,pa,oa,ka;return Object(la.d)(this,function(ra){switch(ra.label){case 0:return aa=
|
|
@@ -2446,7 +2446,7 @@ message:ja.message};fa&&Object.keys(fa).forEach(function(y){fa.hasOwnProperty(y)
|
|
|
2446
2446
|
this.postMessage({action:"actionCancel",data:{callbackId:ja}})}else Object(la.c)("Cannot cancel callback ".concat(ja))};na.prototype.postMessage=function(ja){"officeeditor"!==this.name&&Object(ma.a)("enableWorkerLogs")&&Object(la.g)("PDFWorker","".concat(performance.now()," Sent ").concat(JSON.stringify(ja)));if(this.Mo){var ia=this.mFa(ja);this.Op.postMessage(ja,ia)}else this.Op.postMessage(ja)};na.prototype.jaa=function(ja,ia){var fa=this;null!==ja&&"object"===typeof ja&&(ja instanceof Uint8Array?
|
|
2447
2447
|
ia.push(ja.buffer):ja instanceof ArrayBuffer?ia.push(ja):Object.keys(ja).forEach(function(y){ja.hasOwnProperty(y)&&fa.jaa(ja[y],ia)}))};na.prototype.mFa=function(ja){var ia=[];this.jaa(ja,ia);return 0===ia.length?void 0:ia};na.prototype.jw=function(ja){var ia=this,fa=ja.data;"officeeditor"!==this.name&&Object(ma.a)("enableWorkerLogs")&&Object(la.g)("PDFWorker","".concat(performance.now()," Received ").concat(JSON.stringify(fa)));var y=this.Cp,x=this.tra;ja=this.zk;var n=this.pdfnetActiveCommands;
|
|
2448
2448
|
if(fa.isReply)y=fa.callbackId,y in ja?(x=ja[y],delete ja[y],n.has(y)&&n.delete(y),"error"in fa?x.reject(fa.error):x.resolve(fa.data)):Object(la.b)("Cannot resolve callback ".concat(y));else if(fa.action in y){var e=y[fa.action];fa.callbackId?Promise.resolve().then(function(){return e[0].call(e[1],fa.data)}).then(function(a){ia.postMessage({isReply:!0,callbackId:fa.callbackId,data:a})},function(a){ia.iP(a,fa.callbackId)}):e[0].call(e[1],fa.data)}else fa.action in x?(e=x[fa.action],fa.callbackId?e[0].call(e[1],
|
|
2449
|
-
fa).then(function(a){ia.postMessage({isReply:!0,callbackId:fa.callbackId,data:a});ia.UN()},function(a){ia.iP(a,fa.callbackId);ia.UN()}):e[0].call(e[1],fa).then(function(){ia.UN()},function(){ia.UN()})):Object(la.f)("Unknown action from worker: ".concat(fa.action))};return na}();ua.a=ya},function(ya,ua,h){function la(){return"
|
|
2449
|
+
fa).then(function(a){ia.postMessage({isReply:!0,callbackId:fa.callbackId,data:a});ia.UN()},function(a){ia.iP(a,fa.callbackId);ia.UN()}):e[0].call(e[1],fa).then(function(){ia.UN()},function(){ia.UN()})):Object(la.f)("Unknown action from worker: ".concat(fa.action))};return na}();ua.a=ya},function(ya,ua,h){function la(){return"Ni82LzIwMjV8M2Y0ZjMxNjA2"}function ma(){return"11.6.0"}h.d(ua,"b",function(){return ma});h.d(ua,"a",function(){return la})},function(ya,ua){ua.a=function(){return function(h,
|
|
2450
2450
|
la,ma,na,ja,ia){this.DR=h;this.lJ=la;this.kJ=ma;this.lR=na;this.PJ=ja;this.OJ=ia;this.DR=h;this.lJ=la||0;this.kJ=ma||0;this.lR=na;this.PJ=ja||0;this.OJ=ia||0}}()},function(ya,ua,h){h.d(ua,"a",function(){return la});var la=RegExp("[-[\\]{}()*+?.,\\\\^$|#\\s]","g");ua.b=function(){return function(ma,na){this.Aca=na&&("r"===na||"w"===na);this.text=(na&&"w"===na?ma.replace(/(\*+|.|\n)/g,function(ja){if("*"===ja.charAt(0)){if(1===ja.length)return".*?";var ia=ja.length/2|0;return 1===((ja.length|0)&1)?
|
|
2451
2451
|
"".concat("*".repeat(ia).replace(la,"\\$&"),".*?"):"*".repeat(ia).replace(la,"\\$&")}return ja.replace(la,"\\$&")}):ma).replaceAll("\n"," ")}}()},function(ya,ua,h){var la=h(0),ma=h(16),na=h(42),ja=h(319);ya=h(53);h=function(){function ia(fa,y,x,n,e){void 0===x&&(x=!1);this.id=fa;this.aqa=y;this.bqa=x;this.transport=n;this.Is=e;this.isValid=!1;this.listeners=[];this.MB=window.createPromiseCapability()}ia.create=function(fa,y){return Object(la.b)(this,arguments,Promise,function(x,n,e,a){var f,r;void 0===
|
|
2452
2452
|
e&&(e=!1);void 0===a&&(a=!1);return Object(la.d)(this,function(b){switch(b.label){case 0:return[4,x.Uy()];case 1:f=b.aa();if("id"in f)return r=new ia(f.id,e,a,x,n),r.OM(f),[2,r];throw Error("Cursor ID not found");}})})};ia.prototype.OM=function(fa){if("cmd"in fa)switch(fa.cmd){case "invalidateCursor":this.Uba();break;case "resolveCursor":if("page"in fa&&"stream"in fa&&"paragraph"in fa&&"offset"in fa&&"style"in fa&&"listType"in fa){var y=fa.stream;y=new na.b(y===ma.b.BODY?fa.page:this.Is.DF,y,fa.paragraph,
|
|
@@ -3845,28 +3845,28 @@ fa.prototype.Wz=function(y){this.KFa(y)};fa.prototype.CJa=function(y){y=new Uint
|
|
|
3845
3845
|
[];y.b0a=[];y.SD=new ma.a(fa);y.Fa=fa;return y}Object(la.c)(ia,ja);ia.prototype.dU=function(fa){return new na.a(this.Fa,fa)};ia.prototype.clone=function(){var fa=new ia(this.Fa);fa.data=this.data;fa.index=0;return fa};ia.prototype.Xj=function(fa,y){var x=this.data.functions[this.index];this.index++;-1===this.df.indexOf(fa)&&this.df.push(fa);return x?(this.SD.aB(x,fa,y),!1):!0};return ia}(ya.a);ua.a=h},function(ya,ua,h){var la=h(321),ma=h(205);ya=function(){function na(){this.index=0;this.data={functions:[],
|
|
3846
3846
|
tj:[],done:!1};this.df=[]}na.prototype.clone=function(){var ja=new na;ja.data=this.data;ja.index=0;return ja};na.prototype.cancel=function(){for(var ja=0;ja<this.df.length;ja++){for(var ia=0;ia<this.df[ja].bx;ia++)this.df[ja].restore();this.df[ja].bx=0}this.df=[];this.PL&&this.PL.cancel()};na.prototype.dU=function(ja){return new la.a(ja)};na.prototype.generate=function(ja,ia){function fa(){y.PL.generate(function(x){x?(y.data.functions=y.data.functions.concat(x),ma.a.setImmediate(fa)):(y.data.done=
|
|
3847
3847
|
!0,y.PL=null,ia());x=y.data.tj.length;if(0<x){for(var n=0;n<x;++n)y.data.tj[n]();y.data.tj=[]}})}this.data.done=!1;var y=this;this.PL=this.dU(ja);y.data.functions=[];fa();this.index=0};na.prototype.GA=function(){var ja=this;return new Promise(function(ia){ja.data.done||ja.index<ja.data.functions.length?ia():ja.data.tj.push(ia)})};na.prototype.Xj=function(ja,ia,fa){-1===this.df.indexOf(ja)&&this.df.push(ja);if(this.index<this.data.functions.length){fa=Date.now()+fa;var y=this.data.functions[this.index];
|
|
3848
|
-
do++this.index,y(ja,ia),y=this.data.functions[this.index];while(y&&fa>Date.now());return!1}return!0};return na}();ua.a=ya},function(ya,ua,h){var la=h(0),ma=h(9),na=h(42),ja=h(14),ia=h(7);ya=function(){function fa(y,x){var n=this;this.ba=y;this.sa=x;this.cea=function(e,a){"modify"===a&&e.filter(function(f){return f.xh(ja.
|
|
3849
|
-
10),b=this.nM(r,f.Pa()).mX,[4,this.A_(b,this.DO(f.pa()),this.DO(f.na()))];case 1:return w.aa(),[2]}})})})()})};this.$F=function(e,a){"deselected"===a&&e.forEach(function(f){f.xh(ja.
|
|
3850
|
-
n.bG)},{once:!0})}fa.prototype.Ka=function(){return this.ba.getDocument().$f().Ka()};fa.prototype.ia=function(){return this.ba.ia()};fa.prototype.i8=function(y,x){var n=this.Ka().Je;x=new window.Core.Annotations.RectangleAnnotation({PageNumber:x+1,X:y.x/n,Y:y.y/n,Width:y.width/n,Height:y.height/n,Opacity:0});x.NQ="".concat(ja.
|
|
3848
|
+
do++this.index,y(ja,ia),y=this.data.functions[this.index];while(y&&fa>Date.now());return!1}return!0};return na}();ua.a=ya},function(ya,ua,h){var la=h(0),ma=h(9),na=h(42),ja=h(14),ia=h(7);ya=function(){function fa(y,x){var n=this;this.ba=y;this.sa=x;this.cea=function(e,a){"modify"===a&&e.filter(function(f){return f.xh(ja.g)}).forEach(function(f){(function(){return Object(la.b)(n,void 0,void 0,function(){var r,b;return Object(la.d)(this,function(w){switch(w.label){case 0:return r=parseInt(f.Ua(ja.g),
|
|
3849
|
+
10),b=this.nM(r,f.Pa()).mX,[4,this.A_(b,this.DO(f.pa()),this.DO(f.na()))];case 1:return w.aa(),[2]}})})})()})};this.$F=function(e,a){"deselected"===a&&e.forEach(function(f){f.xh(ja.g)&&n.ia().ec(f)})};this.bG=function(){if(n.Ah()){var e=n.cw();n.WVa(e)}};this.ia().addEventListener(ia.d.ANNOTATION_CHANGED,this.cea);this.ia().addEventListener(ia.d.ANNOTATION_SELECTED,this.$F);this.ba.addEventListener(ia.i.DOCUMENT_LOADED,function(){n.ba.getDocument().addEventListener(ma.a.Events.OFFICE_DOCUMENT_EDITED,
|
|
3850
|
+
n.bG)},{once:!0})}fa.prototype.Ka=function(){return this.ba.getDocument().$f().Ka()};fa.prototype.ia=function(){return this.ba.ia()};fa.prototype.i8=function(y,x){var n=this.Ka().Je;x=new window.Core.Annotations.RectangleAnnotation({PageNumber:x+1,X:y.x/n,Y:y.y/n,Width:y.width/n,Height:y.height/n,Opacity:0});x.NQ="".concat(ja.g,"-").concat(y.uid.toString());x.vb(ja.g,y.uid.toString());x.Ms();return x};fa.prototype.$V=function(){return this.ia().lb().filter(function(y){return y.xh(ja.g)})};fa.prototype.sU=
|
|
3851
3851
|
function(y){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Ka().sU(y)]})})};fa.prototype.HL=function(y,x){var n=this.sa.images;if(x in n){var e=this.sa.Sv(x);if((n=n[x][e])&&y in n)return n=n[y],{mX:new na.d(x,e,y),gba:new na.b(x,e,n.mc,n.offset),info:n}}};fa.prototype.CAa=function(y){var x=this,n=this.HL(y,this.sa.DF);if(!n){var e=this.sa.images;e.forEach(function(a,f){if(!n){var r=x.sa.Sv(f);0!==r&&console.warn("Page not provided for image search, when active stream is not body - results may be incorrect",
|
|
3852
3852
|
y,e);r in a&&y in a[r]&&(a=a[r][y],n={mX:new na.d(f,r,y),gba:new na.b(f,r,a.mc,a.offset),info:a})}})}return n};fa.prototype.nM=function(y,x){return void 0!==x?this.HL(y,x):this.CAa(y)};fa.prototype.WVa=function(y){var x=this.ia().Zb()[0];y=this.i8(y,x.PageNumber-1);x.Ma().DL(y.Ma())||(this.ia().ec(x),this.ia().ee(y),this.ia().Jf(y))};fa.prototype.DO=function(y){return 72*y/96};fa.prototype.A_=function(y,x,n){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,
|
|
3853
3853
|
this.Ka().A_(y,x,n)]})})};fa.prototype.VCa=function(y,x){return Object(la.b)(this,void 0,Promise,function(){var n,e,a,f,r,b,w,z;return Object(la.d)(this,function(aa){switch(aa.label){case 0:return[4,new Promise(function(ea,ba){var ha=new Image;ha.onload=function(){ea({width:ha.width,height:ha.height})};ha.onerror=function(){ba(Error("Failed to load image"))};ha.src=y})];case 1:return n=aa.aa(),e=n.width,a=n.height,f=this.Ka().Za(x),r=f.width,b=f.height,w=r,e>w&&(a*=w/e,e=w),z=b,a>z&&(e*=z/a,a=z),
|
|
3854
|
-
e=.815*this.DO(e),a=.815*this.DO(a),[2,{width:e,height:a}]}})})};fa.prototype.cw=function(){var y,x=this.ia().Zb();if(null!==x&&void 0!==x&&x.length&&x[0].xh(ja.
|
|
3855
|
-
fa.prototype.tU=function(){var y=this,x=this.$V();x.forEach(function(n){var e=parseInt(n.Ua(ja.
|
|
3854
|
+
e=.815*this.DO(e),a=.815*this.DO(a),[2,{width:e,height:a}]}})})};fa.prototype.cw=function(){var y,x=this.ia().Zb();if(null!==x&&void 0!==x&&x.length&&x[0].xh(ja.g)){var n=parseInt(x[0].Ua(ja.g),10);return null===(y=this.nM(n,x[0].Pa()))||void 0===y?void 0:y.info}};fa.prototype.Ah=function(){return!!this.cw()};fa.prototype.dP=function(y,x){this.ia().Ld();this.Ny();y=this.i8(y,x);this.ia().ee(y);this.ia().Jf(y)};fa.prototype.xGa=function(){var y=this.$V();this.ia().$M(y)};fa.prototype.Ny=function(){this.ia().mg(this.$V())};
|
|
3855
|
+
fa.prototype.tU=function(){var y=this,x=this.$V();x.forEach(function(n){var e=parseInt(n.Ua(ja.g),10);n=y.nM(e,n.Pa()).mX;y.sU(n)});this.ia().mg(x)};fa.prototype.uX=function(y,x){return Object(la.b)(this,void 0,Promise,function(){var n,e,a,f;return Object(la.d)(this,function(r){switch(r.label){case 0:return[4,x.start().Pa()];case 1:return n=r.aa(),[4,this.VCa(y,n)];case 2:return e=r.aa(),a=e.width,f=e.height,[2,this.Ka().uX(y,x,a,f)]}})})};fa.prototype.X$=function(y,x){var n=this.Ka().O_(y),e=n.pageNumber,
|
|
3856
3856
|
a=this.sa.HL(e-1,function(b,w,z){return n.x>=z.x&&n.x<=z.x+z.width&&n.y>=z.y&&n.y<=z.y+z.height?!0:!1});if(!a&&x){var f=this.ia().Zb()[0];if(f.qa()===e){var r=new f.selectionModel(f,this.ia().fe(f),!0,this.ba);y=this.Ka().P_(y);r.zB(f,this.ba.Qb(f.qa()),y.x,y.y)&&(a=x)}}return{image:a,Mb:e-1}};fa.prototype.kM=function(y,x){return this.nM(y.uid,x).gba};fa.prototype.gDa=function(){for(var y,x=this.sa.images,n=0,e=Object.keys(x);n<e.length;n++)for(var a=e[n],f=0,r=Object.keys(x[a]);f<r.length;f++)for(var b=
|
|
3857
3857
|
r[f],w=0,z=Object.keys(x[a][b]);w<z.length;w++){var aa=x[a][b][z[w]];aa&&(!y||aa.uid>y.uid)&&(y=aa)}return y};fa.prototype.gr=function(){this.ia().removeEventListener(ia.d.ANNOTATION_CHANGED,this.cea);this.ia().removeEventListener(ia.d.ANNOTATION_SELECTED,this.$F);this.ba.getDocument().removeEventListener(ma.a.Events.OFFICE_DOCUMENT_EDITED,this.bG)};return fa}();ua.a=ya},function(ya,ua,h){var la=h(0),ma=h(16),na=h(9),ja=h(14);ya=function(){function ia(fa,y){this.ba=fa;this.sa=y;this.Ea=this.ba.bg("OfficeEditorContentSelect")}
|
|
3858
3858
|
ia.prototype.Ka=function(){return this.ba.getDocument().$f().Ka()};ia.prototype.Ya=function(){return this.ba.getDocument().$f().Ya()};ia.prototype.Ji=function(){return this.Ea.Ji()};ia.prototype.Lg=function(fa,y,x){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Ka().Lg(fa,y,x)]})})};ia.prototype.$G=function(fa,y,x,n){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Ka().$G(fa,y,x,n)]})})};ia.prototype.rv=
|
|
3859
3859
|
function(fa,y,x){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Ka().rv(fa,y,x)]})})};ia.prototype.v_=function(fa,y,x){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Ka().v_(fa,y,x)]})})};ia.prototype.yE=function(fa,y){return Object(la.b)(this,void 0,Promise,function(){var x,n;return Object(la.d)(this,function(e){switch(e.label){case 0:return x=y===ma.d.HEADER?ma.b.HEADER:ma.b.FOOTER,[4,this.sa.Naa(fa,
|
|
3860
3860
|
x)];case 1:return n=e.aa(),[2,this.sa.Oaa(n)]}})})};ia.prototype.U$=function(fa,y){fa=this.sa.REa(fa,y===ma.d.HEADER?ma.b.HEADER:ma.b.FOOTER);return-1===fa?null:this.sa.Oaa(fa)};ia.prototype.mM=function(fa,y){return this.sa.mDa(fa,y===ma.d.HEADER?ma.b.HEADER:ma.b.FOOTER)};ia.prototype.V$=function(fa,y){return Object(la.b)(this,void 0,Promise,function(){var x,n;return Object(la.d)(this,function(e){switch(e.label){case 0:return[4,this.yE(fa-1,y)];case 1:return x=e.aa(),[2,null!==(n=null===x||void 0===
|
|
3861
3861
|
x?void 0:x.Jo)&&void 0!==n?n:ma.a.Invalid]}})})};ia.prototype.h8=function(fa){return Object(la.b)(this,void 0,Promise,function(){var y,x,n;return Object(la.d)(this,function(e){switch(e.label){case 0:y=this.Ya().ua();x=this.Ya().pd;if(this.Ji().vt())return[3,2];this.Ji().pz();x.disable();return[4,y.AA()];case 1:e.aa(),e.label=2;case 2:return[4,y.Ej()];case 3:return n=e.aa(),[4,this.rv(n,fa,ma.a.All)];case 4:return e.aa(),x.enable(),[2]}})})};ia.prototype.SCa=function(fa){return Object(la.b)(this,arguments,
|
|
3862
|
-
Promise,function(y,x){var n,e,a,f,r;void 0===x&&(x=ja.
|
|
3863
|
-
this.Ya().Ej(x-1)];case 1:return a=z.aa(),[4,this.Ka().uq(a)];case 2:return f=z.aa(),r=e===ja.
|
|
3862
|
+
Promise,function(y,x){var n,e,a,f,r;void 0===x&&(x=ja.l.INCH);return Object(la.d)(this,function(b){switch(b.label){case 0:return[4,this.Ya().Ej(y-1)];case 1:return n=b.aa(),[4,this.Ka().uq(n)];case 2:return e=b.aa(),a=x===ja.l.INCH?ja.q:ja.p,f=e.header/a,r=e.footer/a,[2,{headerDistanceToTop:f,footerDistanceToBottom:r}]}})})};ia.prototype.FRa=function(fa,y){return Object(la.b)(this,arguments,Promise,function(x,n,e){var a,f,r,b,w;void 0===e&&(e=ja.l.INCH);return Object(la.d)(this,function(z){switch(z.label){case 0:return[4,
|
|
3863
|
+
this.Ya().Ej(x-1)];case 1:return a=z.aa(),[4,this.Ka().uq(a)];case 2:return f=z.aa(),r=e===ja.l.INCH?ja.q:ja.p,b=n.headerDistanceToTop*r,w=n.footerDistanceToBottom*r,[4,this.Ka().DP(a,Object(la.a)(Object(la.a)({},f),{header:b,footer:w}))];case 3:return z.aa(),[2]}})})};ia.prototype.rDa=function(fa,y){return Object(la.b)(this,void 0,Promise,function(){var x,n,e;return Object(la.d)(this,function(){x=this.ba.Pd(fa);n=y===ja.l.INCH?ja.o:ja.n;e=x/n/3;return[2,e]})})};ia.prototype.tga=function(fa,y){return Object(la.b)(this,
|
|
3864
3864
|
void 0,Promise,function(){var x,n,e,a;return Object(la.d)(this,function(f){switch(f.label){case 0:return x=y-1,[4,this.yE(x,fa)];case 1:return(n=f.aa())?[4,this.Ya().Ej(x)]:[2];case 2:return e=f.aa(),a=this.Ya().ua(),[4,a.AA()];case 3:return f.aa(),[4,this.rv(e,fa,n.Jo)];case 4:return f.aa(),this.Ji().pz(),[2]}})})};ia.prototype.H$=function(fa){return Object(la.b)(this,void 0,Promise,function(){var y,x;return Object(la.d)(this,function(n){switch(n.label){case 0:return[4,this.Ya().Ej(fa)];case 1:return y=
|
|
3865
|
-
n.aa(),[4,this.Lg(y,ma.d.HEADER,ma.c.FirstPageOnly)];case 2:return x=n.aa(),[2,x!==ja.
|
|
3865
|
+
n.aa(),[4,this.Lg(y,ma.d.HEADER,ma.c.FirstPageOnly)];case 2:return x=n.aa(),[2,x!==ja.d]}})})};ia.prototype.mfa=function(fa,y,x,n){return Object(la.b)(this,void 0,Promise,function(){var e,a;return Object(la.d)(this,function(f){switch(f.label){case 0:return[4,this.yE(fa,y)];case 1:return(e=f.aa())?[4,this.Ya().Ej(fa)]:[2];case 2:return a=f.aa(),[4,n.call(this,a,y,x)];case 3:return f.aa(),[2]}})})};ia.prototype.tRa=function(fa,y){return Object(la.b)(this,void 0,Promise,function(){var x;return Object(la.d)(this,
|
|
3866
3866
|
function(n){switch(n.label){case 0:return[4,this.H$(fa)];case 1:if(n.aa()===y)return[2];x=y?this.rv:this.v_;return[4,this.mfa(fa,ma.d.HEADER,ma.c.FirstPageOnly,x)];case 2:return n.aa(),[4,this.mfa(fa,ma.d.FOOTER,ma.c.FirstPageOnly,x)];case 3:return n.aa(),[4,this.Ji().zA()];case 4:return n.aa(),[2]}})})};ia.prototype.kaa=function(){return Object(la.b)(this,void 0,Promise,function(){var fa,y,x;return Object(la.d)(this,function(n){switch(n.label){case 0:return fa=0,[4,this.Lg(fa,ma.d.HEADER,ma.c.OddPages)];
|
|
3867
|
-
case 1:return y=n.aa(),[4,this.Lg(fa,ma.d.HEADER,ma.c.EvenPages)];case 2:return x=n.aa(),[2,y!==x]}})})};ia.prototype.JUa=function(fa,y){return Object(la.b)(this,void 0,Promise,function(){var x;return Object(la.d)(this,function(n){switch(n.label){case 0:return[4,this.Lg(y,fa,ma.c.OddPages)];case 1:return x=n.aa(),x===ja.
|
|
3868
|
-
ea,ba;return Object(la.d)(this,function(ha){switch(ha.label){case 0:return[4,this.kaa()];case 1:if(ha.aa()===fa)return[2];ha.label=2;case 2:return ha.gd.push([2,,18,19]),this.ba.getDocument().trigger(na.a.Events.EDIT_OPERATION_STARTED),y=(aa={},aa[ma.d.HEADER]=ja.
|
|
3869
|
-
ha.label=5;case 5:if(!(f<r.length))return[3,15];b=r[f];return fa?[4,this.Lg(a,b,ma.c.OddPages)]:[3,12];case 6:return w=ha.aa(),x[b]===ja.
|
|
3867
|
+
case 1:return y=n.aa(),[4,this.Lg(fa,ma.d.HEADER,ma.c.EvenPages)];case 2:return x=n.aa(),[2,y!==x]}})})};ia.prototype.JUa=function(fa,y){return Object(la.b)(this,void 0,Promise,function(){var x;return Object(la.d)(this,function(n){switch(n.label){case 0:return[4,this.Lg(y,fa,ma.c.OddPages)];case 1:return x=n.aa(),x===ja.d?[2]:[4,this.$G(y,fa,ma.c.EvenPages,x)];case 2:return n.aa(),[2]}})})};ia.prototype.mSa=function(fa){return Object(la.b)(this,void 0,Promise,function(){var y,x,n,e,a,f,r,b,w,z,aa,
|
|
3868
|
+
ea,ba;return Object(la.d)(this,function(ha){switch(ha.label){case 0:return[4,this.kaa()];case 1:if(ha.aa()===fa)return[2];ha.label=2;case 2:return ha.gd.push([2,,18,19]),this.ba.getDocument().trigger(na.a.Events.EDIT_OPERATION_STARTED),y=(aa={},aa[ma.d.HEADER]=ja.d,aa[ma.d.FOOTER]=ja.d,aa),x=(ea={},ea[ma.d.HEADER]=ja.d,ea[ma.d.FOOTER]=ja.d,ea),n=(ba={},ba[ma.d.HEADER]=ja.d,ba[ma.d.FOOTER]=ja.d,ba),[4,this.Ka().uM()];case 3:e=ha.aa(),a=0,ha.label=4;case 4:if(!(a<e))return[3,16];f=0;r=Object.values(ma.d);
|
|
3869
|
+
ha.label=5;case 5:if(!(f<r.length))return[3,15];b=r[f];return fa?[4,this.Lg(a,b,ma.c.OddPages)]:[3,12];case 6:return w=ha.aa(),x[b]===ja.d||w!==y[b]&&w!==ja.d?[3,9]:[4,this.$G(a,b,ma.c.OddPages,x[b])];case 7:return ha.aa(),[4,this.$G(a,b,ma.c.EvenPages,n[b])];case 8:return ha.aa(),[3,11];case 9:return y[b]=w,[4,this.nSa(a,b)];case 10:z=ha.aa(),x[b]=z.DKa,n[b]=z.CKa,ha.label=11;case 11:return[3,14];case 12:return[4,this.JUa(b,a)];case 13:ha.aa(),ha.label=14;case 14:return f++,[3,5];case 15:return a++,
|
|
3870
3870
|
[3,4];case 16:return[4,this.Ji().zA()];case 17:return ha.aa(),[3,19];case 18:return this.ba.getDocument().trigger(na.a.Events.EDIT_OPERATION_ENDED),[7];case 19:return[2]}})})};ia.prototype.nSa=function(fa,y){return Object(la.b)(this,void 0,Promise,function(){var x,n;return Object(la.d)(this,function(e){switch(e.label){case 0:return[4,this.rv(fa,y,ma.c.OddPages)];case 1:return e.aa(),[4,this.rv(fa,y,ma.c.EvenPages)];case 2:return e.aa(),[4,this.Lg(fa,y,ma.c.OddPages)];case 3:return x=e.aa(),[4,this.Lg(fa,
|
|
3871
3871
|
y,ma.c.EvenPages)];case 4:return n=e.aa(),[2,{DKa:x,CKa:n}]}})})};return ia}();ua.a=ya},function(ya,ua,h){h.d(ua,"a",function(){return ma});var la=function(){return function(na,ja){this.CZ=na.pid;this.text=na.text;this.level=na.level;this.cursor=ja}}(),ma=function(){function na(ja,ia){this.items=[];for(var fa=0;fa<ja.length;fa++){var y=ja[fa];this.items.push(new la(y,ia.Cz(y.cid)))}}na.prototype.fDa=function(ja){var ia=this.items.find(function(fa){return fa.CZ===ja});if(!ia)throw Error("OutlineItem with id ".concat(ja,
|
|
3872
3872
|
" not found"));return ia};na.prototype.WCa=function(ja){var ia=this.items.findIndex(function(fa){return fa.CZ===ja});if(-1===ia)throw Error("OutlineItem with id ".concat(ja," not found"));return ia};na.prototype.fGa=function(ja,ia){try{if("update"===ja.type){var fa=ja.args,y=this.fDa(fa.m0a);y.text=fa.text;y.level=fa.level}else if("add"===ja.type){fa=ja.args;var x=ja.insertAfter,n=-1!==x?this.WCa(x):-1;this.items.splice(n+1,0,new la(fa,ia.Cz(fa.cid)))}else if("remove"===ja.type){var e=ja.args;this.items=
|
|
@@ -4042,7 +4042,7 @@ add_formulaBarTextChangedEvent:la.a.FORMULA_BAR_TEXT_CHANGED,add_formulaBarSearc
|
|
|
4042
4042
|
function(ya,ua,h){var la=h(163);ya=function(){function ma(na,ja){this.JY=na;this.name=ja.name;this.size=ja.size;this.color=ja.color;this.isBold=ja.VP.includes(la.a.BOLD);this.isItalic=ja.VP.includes(la.a.ITALIC);this.isUnderline=ja.VP.includes(la.a.UNDERLINE);this.isStrikeout=ja.VP.includes(la.a.STRIKEOUT)}ma.prototype.Ei=function(na){return this.JY.equals(na.JY)};return ma}();ua.a=ya},function(ya,ua){var h={verticalAlignment:!0,horizontalAlignment:!0,wrapText:!0,backgroundColor:!0,font:!0,formatString:!0,
|
|
4043
4043
|
merge:!0,border:!0};ua.a=function(la){if("object"!==typeof la||null===la)throw Error("styleObject must be a non-null object");for(var ma in la)if(!h[ma])throw Error("Invalid style property: ".concat(ma));}},function(ya,ua,h){h.d(ua,"a",function(){return ia});var la=h(274),ma=h(521),na=h(522),ja=h(38),ia=function(){function fa(){}fa.create=function(y){if(null===y||void 0===y||!y.getDocument())return new la.a(y);switch(y.getDocument().getType()){case ja.a.SPREADSHEET_EDITOR:return new ma.a(y);case ja.a.OFFICE_EDITOR:return new na.a(y);
|
|
4044
4044
|
default:return new la.a(y)}};return fa}()},function(ya,ua,h){var la=h(7);ya=function(){function ma(na){this.sy=na}ma.prototype.dh=function(na){this.sy.Mm(!1,!1,!0);this.sy.za.cj();this.sy.za.Yg();this.sy.getDocument().EW().getEditor().zoomRatio=na;this.sy.trigger(la.i.ZOOM_UPDATED,na)};ma.prototype.Hb=function(){var na=this.sy.getDocument().EW().getEditor();return na?na.zoomRatio:1};return ma}();ua.a=ya},function(ya,ua,h){var la=h(0),ma=h(14);ya=function(na){function ja(ia){return na.call(this,ia)||
|
|
4045
|
-
this}Object(la.c)(ja,na);ja.prototype.dh=function(ia,fa,y,x,n){if(ia>ma.
|
|
4045
|
+
this}Object(la.c)(ja,na);ja.prototype.dh=function(ia,fa,y,x,n){if(ia>ma.e)return console.warn("Office Editor only support zoom level up to ".concat(100*ma.e,"%")),na.prototype.dh.call(this,ma.e,fa,y,x,n);na.prototype.dh.call(this,ia,fa,y,x,n)};return ja}(h(274).a);ua.a=ya},function(ya,ua,h){function la(ba){ba=null==ba?ea:ba;this.output="";null!=ba.output?(this.output=ba.output,this.write=this.writeToStream):this.output="";this.generator=null!=ba.generator?ba.generator:aa;this.expressionsPrecedence=
|
|
4046
4046
|
null!=ba.expressionsPrecedence?ba.expressionsPrecedence:e;this.indent=null!=ba.indent?ba.indent:" ";this.lineEnd=null!=ba.lineEnd?ba.lineEnd:"\n";this.indentLevel=null!=ba.startingIndentLevel?ba.startingIndentLevel:0;this.writeComments=ba.comments?ba.comments:!1;null!=ba.sourceMap&&(this.write=null==ba.output?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=ba.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split("\n").length-1,this.mapping={original:null,generated:this,
|
|
4047
4047
|
name:void 0,source:ba.sourceMap.file||ba.sourceMap._file})}function ma(ba,ha){var ca=ba.generator;ba.write("(");if(null!=ha&&0<ha.length){ca[ha[0].type](ha[0],ba);for(var pa=ha.length,oa=1;oa<pa;oa++){var ka=ha[oa];ba.write(", ");ca[ka.type](ka,ba)}}ba.write(")")}function na(ba,ha,ca,pa){var oa=ba.expressionsPrecedence[ha.type];if(17===oa)return!0;ba=ba.expressionsPrecedence[ca.type];return oa!==ba?!pa&&15===oa&&14===ba&&"**"===ca.operator||oa<ba:13!==oa&&14!==oa?!1:"**"===ha.operator&&"**"===ca.operator?
|
|
4048
4048
|
!pa:13!==oa||13!==ba||"??"!==ha.operator&&"??"!==ca.operator?pa?n[ha.operator]<=n[ca.operator]:n[ha.operator]<n[ca.operator]:!0}function ja(ba,ha,ca,pa){var oa=ba.generator;if(na(ba,ha,ca,pa))ba.write("("),oa[ha.type](ha,ba),ba.write(")");else oa[ha.type](ha,ba)}function ia(ba,ha,ca,pa){for(var oa=ha.length,ka=0;ka<oa;ka++){var ra=ha[ka];ba.write(ca);"L"===ra.type[0]?ba.write("// "+ra.value.trim()+"\n",ra):ba.write(""+pa)}}function fa(ba,ha){var ca=ba.generator,pa=ha.declarations;ba.write(ha.kind+
|
|
@@ -4095,16 +4095,16 @@ function(La){switch(La.label){case 0:return this.src=Ca,this.Sf=wa.customHeaders
|
|
|
4095
4095
|
Aa=Object(z.c)(),Aa.addEventListener("message",function(Ja){Ga.ja.trigger(aa.j.vla,"====>sendReply(".concat(JSON.stringify(Ja.data.data),")"))}),this.ha.tSa(this.FA.bind(this)),this.ha.uSa(function(Ja){0<Ja&&(Ga.ea.splice(Ja),Ga.oe({type:e.a.Events.PAGES_UPDATED,data:Ga.ea}))}),Da=!1,this.ha.vSa(function(Ja,Ha,Qa){Ha=new na.a(Ha,Qa);Ha.matrix=new ma.a;Ha.matrix.Ib(1,0,0,-1,0,Qa);Ha.rotation=0;Ha.pageNum=Ja+1;Da?(Ga.ea[Ja]=Ha,Ga.oe({type:e.a.Events.PAGES_UPDATED,data:Ga.ea})):0===Ja&&(Ga.ea[Ja]=Ha,
|
|
4096
4096
|
Ga.oe({type:e.a.Events.PAGES_UPDATED,data:Ga.ea}),Da=!0,ta())}),[4,this.ha.Zk(this.EU,wa)];case 2:return La.aa(),[2]}})})};oa.prototype.cancelLoadCanvas=function(ka){this.qG[ka]=!1};oa.prototype.loadCanvasAsync=function(ka){var ra=this,qa=ka.drawComplete,sa=ka.drawProgressive,ta=ka.pageNumber,wa=ka.getZoom,za=ka.isInternalRender,Aa=ka.multiplier;ka=ka.print;this.LG+=1;this.qG[this.LG.toString()]=!0;this.ha.IDa(ta-1,wa(),Aa||Object(fa.k)(),!!za,this.LG.toString(),ka).then(function(Da){if(za){var Ga=
|
|
4097
4097
|
Da.getAttribute("office-editor-render-id");ra.qG[Ga]&&(sa(Da),qa(Da,ta),ra.qG[Ga]=!1)}else sa(Da),qa(Da,ta)});return this.LG.toString()};oa.prototype.unloadResources=function(){var ka,ra,qa,sa;URL.revokeObjectURL(this.EU);null===(ka=this.ha)||void 0===ka?void 0:ka.pua();null===(ra=this.ha)||void 0===ra?void 0:ra.fr();null===(qa=this.Sa)||void 0===qa?void 0:qa.gr();null===(sa=this.Sa)||void 0===sa?void 0:sa.NT();this.ja.Wo(this.ja.bg(ja.o.EDIT))};oa.prototype.setMainCursorStyle=function(ka){return Object(la.b)(this,
|
|
4098
|
-
void 0,Promise,function(){var ra;return Object(la.d)(this,function(qa){switch(qa.label){case 0:return ra=Object(la.a)({},ka),!0===ka.underline&&(ra.underlineStyle="single"),!1===ka.underline&&(ra.underlineStyle="none"),[4,this.Sa.yP(ra)];case 1:return qa.aa(),[2]}})})};oa.prototype.toggleSelectedTextStyle=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){switch(ka){case ea.
|
|
4098
|
+
void 0,Promise,function(){var ra;return Object(la.d)(this,function(qa){switch(qa.label){case 0:return ra=Object(la.a)({},ka),!0===ka.underline&&(ra.underlineStyle="single"),!1===ka.underline&&(ra.underlineStyle="none"),[4,this.Sa.yP(ra)];case 1:return qa.aa(),[2]}})})};oa.prototype.toggleSelectedTextStyle=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){switch(ka){case ea.m.BOLD:return[2,this.Sa.b1()];case ea.m.ITALIC:return[2,this.Sa.e1()];case ea.m.UNDERLINE:return[2,
|
|
4099
4099
|
this.Sa.h1()]}return[2]})})};oa.prototype.toggleMainCursorStyle=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.MH(ka)]})})};oa.prototype.updateSelectionStyle=function(ka){return Object(la.b)(this,void 0,Promise,function(){var ra,qa,sa,ta,wa,za;return Object(la.d)(this,function(Aa){switch(Aa.label){case 0:return(ra=null!=ka.bold)?[4,this.Sa.nta(ka.bold)]:[3,2];case 1:ra=Aa.aa(),Aa.label=2;case 2:return ra,(qa=null!=ka.italic)?[4,
|
|
4100
4100
|
this.Sa.$Ia(ka.italic)]:[3,4];case 3:qa=Aa.aa(),Aa.label=4;case 4:return qa,(sa=null!=ka.underline)?[4,this.Sa.wVa(ka.underline)]:[3,6];case 5:sa=Aa.aa(),Aa.label=6;case 6:return sa,(ta=null!=ka.fontFace)?[4,this.Sa.Xta(ka.fontFace)]:[3,8];case 7:ta=Aa.aa(),Aa.label=8;case 8:return ta,(wa=null!=ka.pointSize)?[4,this.Sa.dua(ka.pointSize)]:[3,10];case 9:wa=Aa.aa(),Aa.label=10;case 10:return wa,(za=null!=ka.color)?[4,this.Sa.Wta(ka.color)]:[3,12];case 11:za=Aa.aa(),Aa.label=12;case 12:return za,[2]}})})};
|
|
4101
|
-
oa.prototype.updateSelectionAndCursorStyle=function(ka){return Object(la.b)(this,void 0,Promise,function(){var ra,qa,sa,ta,wa,za;return Object(la.d)(this,function(Aa){switch(Aa.label){case 0:ra=0,qa=Object.values(ea.
|
|
4101
|
+
oa.prototype.updateSelectionAndCursorStyle=function(ka){return Object(la.b)(this,void 0,Promise,function(){var ra,qa,sa,ta,wa,za;return Object(la.d)(this,function(Aa){switch(Aa.label){case 0:ra=0,qa=Object.values(ea.m),Aa.label=1;case 1:if(!(ra<qa.length))return[3,6];sa=qa[ra];return!0!==ka[sa]?[3,5]:this.isTextSelected()?[4,this.toggleSelectedTextStyle(sa)]:[3,3];case 2:Aa.aa(),Aa.label=3;case 3:return[4,this.toggleMainCursorStyle(sa)];case 4:Aa.aa(),Aa.label=5;case 5:return ra++,[3,1];case 6:ta=
|
|
4102
4102
|
["fontFace","pointSize","color"],wa=0,za=ta,Aa.label=7;case 7:if(!(wa<za.length))return[3,12];sa=za[wa];return null==ka[sa]?[3,11]:this.isTextSelected()?[4,this.updateSelectionStyle(ka)]:[3,9];case 8:Aa.aa(),Aa.label=9;case 9:return[4,this.setMainCursorStyle(ka)];case 10:Aa.aa(),Aa.label=11;case 11:return wa++,[3,7];case 12:return[2]}})})};oa.prototype.insertPageBreak=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.Qba()]})})};oa.prototype.insertSectionBreakNextPage=
|
|
4103
4103
|
function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.mHa()]})})};oa.prototype.insertSectionBreakContinuous=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.iHa()]})})};oa.prototype.insertSectionBreakNextOdd=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.lHa()]})})};oa.prototype.insertSectionBreakNextEven=
|
|
4104
4104
|
function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.kHa()]})})};oa.prototype.insertSectionBreakNextColumn=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.jHa()]})})};oa.prototype.toggleListSelection=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.f1(ka)]})})};oa.prototype.pM=function(ka){var ra=new w.g;
|
|
4105
|
-
switch(ka){case ea.
|
|
4106
|
-
"{0}.");ra.Sc(w.f.upperLetter,"{1}.");ra.Sc(w.f.decimal,"{2}.");break;case ea.
|
|
4107
|
-
w.c.circle);ra.Sc(w.f.unordered,w.c.emptyCircle);break;case ea.
|
|
4105
|
+
switch(ka){case ea.k.NUMBER_LATIN_ROMAN_1:ra.Sc(w.f.decimal,"{0}.");ra.Sc(w.f.lowerLetter,"{1}.");ra.Sc(w.f.lowerRoman,"{2}.");break;case ea.k.NUMBER_DECIMAL:ra.Sc(w.f.decimal,"{0}.");ra.Sc(w.f.decimal,"{0}.{1}.");ra.Sc(w.f.decimal,"{0}.{1}.{2}.");break;case ea.k.NUMBER_LATIN_ROMAN_2:ra.Sc(w.f.decimal,"{0})");ra.Sc(w.f.lowerLetter,"{1})");ra.Sc(w.f.lowerRoman,"{2})");break;case ea.k.LATIN_ROMAN:ra.Sc(w.f.upperLetter,"{0}.");ra.Sc(w.f.lowerLetter,"{1}.");ra.Sc(w.f.lowerRoman,"{2}.");break;case ea.k.ROMAN_LATIN_NUMBER:ra.Sc(w.f.upperRoman,
|
|
4106
|
+
"{0}.");ra.Sc(w.f.upperLetter,"{1}.");ra.Sc(w.f.decimal,"{2}.");break;case ea.k.BULLET:ra.Sc(w.f.unordered,w.c.circle);ra.Sc(w.f.unordered,w.c.emptyCircle);ra.Sc(w.f.unordered,w.c.square);break;case ea.k.BULLET_SQUARE:ra.Sc(w.f.unordered,w.c.circle);ra.Sc(w.f.unordered,w.c.circle);ra.Sc(w.f.unordered,w.c.square);break;case ea.k.SQUARE_BULLET:ra.Sc(w.f.unordered,w.c.square);ra.Sc(w.f.unordered,w.c.circle);ra.Sc(w.f.unordered,w.c.circle);break;case ea.k.DIAMOND:ra.Sc(w.f.unordered,w.c.diamond);ra.Sc(w.f.unordered,
|
|
4107
|
+
w.c.circle);ra.Sc(w.f.unordered,w.c.emptyCircle);break;case ea.k.CHECK:ra.Sc(w.f.unordered,w.c.check);ra.Sc(w.f.unordered,w.c.circle);ra.Sc(w.f.unordered,w.c.emptyCircle);break;case ea.k.ARROW:ra.Sc(w.f.unordered,w.c.arrow),ra.Sc(w.f.unordered,w.c.circle),ra.Sc(w.f.unordered,w.c.emptyCircle)}return ra};oa.prototype.setListPreset=function(ka){return Object(la.b)(this,void 0,Promise,function(){var ra,qa,sa,ta,wa,za,Aa,Da,Ga;return Object(la.d)(this,function(Ca){switch(Ca.label){case 0:if(this.Uv().ae())return[2];
|
|
4108
4108
|
if(!this.isTextSelected())return[3,4];ra=this.Sa.ff();return[4,this.ha.YS(ra,this.pM(ka))];case 1:return Ca.aa(),ta=(sa=this.ha).Gm,[4,ra.start().Pb()];case 2:return qa=ta.apply(sa,[Ca.aa()]),Aa=(za=this.ha).Gm,[4,ra.end().Pb()];case 3:return wa=Aa.apply(za,[Ca.aa()]),[2,this.Uv().pha(qa,wa)];case 4:return Da=this.Sa.ua(),Ga=new ba.a(Da,Da),[2,this.ha.YS(Ga,this.pM(ka))]}})})};oa.prototype.getContentListType=function(ka){return this.Sa.mE(ka)};oa.prototype.copySelectedText=function(){return this.Sa.ov.ZT()};
|
|
4109
4109
|
oa.prototype.cutSelectedText=function(){return this.Sa.ov.B8()};oa.prototype.pasteText=function(ka){void 0===ka&&(ka=!0);this.Sa.ov.ifa(ka)};oa.prototype.removeSelection=function(){return this.Sa.NO()};oa.prototype.updateSearchData=function(){return this.ha.gWa()};oa.prototype.getSelectedDocContent=function(){return this.Sa.ct()};oa.prototype.updateParagraphStyle=function(ka){return Object(la.b)(this,void 0,Promise,function(){var ra,qa,sa;return Object(la.d)(this,function(ta){switch(ta.label){case 0:return(ra=
|
|
4110
4110
|
null!=ka.justification)?[4,this.Sa.cua(ka.justification)]:[3,2];case 1:ra=ta.aa(),ta.label=2;case 2:return ra,(qa=null!=ka.lineHeightMultiplier)?[4,this.Sa.$ta(ka.lineHeightMultiplier)]:[3,4];case 3:qa=ta.aa(),ta.label=4;case 4:return qa,(sa=null!=ka.textStyle)?[4,this.Sa.ZVa(ka.textStyle)]:[3,6];case 5:sa=ta.aa(),ta.label=6;case 6:return sa,[2]}})})};oa.prototype.updateParagraphStylePresets=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ra){switch(ra.label){case 0:return[4,
|
|
@@ -4112,18 +4112,18 @@ this.Sa.$Va(ka)];case 1:return ra.aa(),[2]}})})};oa.prototype.getCursorPosition=
|
|
|
4112
4112
|
oa.prototype.insertTableAtCursor=function(ka,ra,qa,sa){void 0===sa&&(sa="auto");return this.Sa.oHa(ka,ra,qa,sa)};oa.prototype.isImageSelected=function(){return this.Uv().Ah()};oa.prototype.isTextSelected=function(){return this.Uv().Ub()};oa.prototype.freezeMainCursor=function(){this.Sa.pd.freeze()};oa.prototype.showMainCursor=function(){this.Sa.pd.show()};oa.prototype.isMainCursorHidden=function(){return this.Sa.pd.$Ha()};oa.prototype.isMainCursorBlinking=function(){return this.Sa.pd.EHa()};oa.prototype.insertRows=
|
|
4113
4113
|
function(ka,ra){return this.Sa.vX(ka,ra)};oa.prototype.insertColumns=function(ka,ra){return this.Sa.eHa(ka,ra)};oa.prototype.removeRows=function(){return this.Sa.TA()};oa.prototype.removeColumns=function(){return this.Sa.r_()};oa.prototype.removeTable=function(){return this.Sa.OO()};oa.prototype.onRightClick=function(ka){return this.Uv().$Ka(ka)};oa.prototype.acceptTrackedChange=function(ka){return this.getTrackChangeManager().GS(ka)};oa.prototype.rejectTrackedChange=function(ka){return this.getTrackChangeManager().p_(ka)};
|
|
4114
4114
|
oa.prototype.moveCursorToTrackedChange=function(ka){return this.getTrackChangeManager().nKa(ka)};oa.prototype.setEditMode=function(ka){return this.Sa.m0(ka)};oa.prototype.areCursorsReady=function(){return this.Sa.Rsa()};oa.prototype.getTrackChangeManager=function(){return this.Sa.RE()};oa.prototype.getTrackedChanges=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ka){switch(ka.label){case 0:return this.W8?[3,2]:[4,this.Ci];case 1:ka.aa(),ka.label=2;
|
|
4115
|
-
case 2:return[2,this.getTrackChangeManager().GEa()]}})})};oa.prototype.getHeaderFooterManager=function(){return this.Sa.Bj()};oa.prototype.removeHeaders=function(ka){return this.getHeaderFooterManager().tga(b.d.HEADER,ka)};oa.prototype.removeFooters=function(ka){return this.getHeaderFooterManager().tga(b.d.FOOTER,ka)};oa.prototype.exitHeaderFooterModeAndMoveToPage=function(ka){return this.Uv().Ji().gAa(ka)};oa.prototype.getHeaderFooterMargins=function(ka,ra){void 0===ra&&(ra=ea.
|
|
4116
|
-
ra)};oa.prototype.setHeaderFooterMargins=function(ka,ra,qa){void 0===qa&&(qa=ea.
|
|
4115
|
+
case 2:return[2,this.getTrackChangeManager().GEa()]}})})};oa.prototype.getHeaderFooterManager=function(){return this.Sa.Bj()};oa.prototype.removeHeaders=function(ka){return this.getHeaderFooterManager().tga(b.d.HEADER,ka)};oa.prototype.removeFooters=function(ka){return this.getHeaderFooterManager().tga(b.d.FOOTER,ka)};oa.prototype.exitHeaderFooterModeAndMoveToPage=function(ka){return this.Uv().Ji().gAa(ka)};oa.prototype.getHeaderFooterMargins=function(ka,ra){void 0===ra&&(ra=ea.l.INCH);return this.getHeaderFooterManager().SCa(ka,
|
|
4116
|
+
ra)};oa.prototype.setHeaderFooterMargins=function(ka,ra,qa){void 0===qa&&(qa=ea.l.INCH);return this.getHeaderFooterManager().FRa(ka,ra,qa)};oa.prototype.getDifferentFirstPage=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.getHeaderFooterManager().H$(ka-1)]})})};oa.prototype.setDifferentFirstPage=function(ka,ra){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.getHeaderFooterManager().tRa(ka-
|
|
4117
4117
|
1,ra)]})})};oa.prototype.getOddEven=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.getHeaderFooterManager().kaa()]})})};oa.prototype.setOddEven=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.getHeaderFooterManager().mSa(ka)]})})};oa.prototype.getHeaderPageType=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,
|
|
4118
|
-
this.getHeaderFooterManager().V$(ka,b.d.HEADER)]})})};oa.prototype.getFooterPageType=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.getHeaderFooterManager().V$(ka,b.d.FOOTER)]})})};oa.prototype.Ka=function(){return this.ha};oa.prototype.Ya=function(){return this.Sa};oa.prototype.cIa=function(ka){return!!ka.Ua(ea.
|
|
4118
|
+
this.getHeaderFooterManager().V$(ka,b.d.HEADER)]})})};oa.prototype.getFooterPageType=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.getHeaderFooterManager().V$(ka,b.d.FOOTER)]})})};oa.prototype.Ka=function(){return this.ha};oa.prototype.Ya=function(){return this.Sa};oa.prototype.cIa=function(ka){return!!ka.Ua(ea.g)};oa.prototype.undo=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,
|
|
4119
4119
|
this.Sa.undo()]})})};oa.prototype.redo=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.Sa.redo()]})})};oa.prototype.getFooterPosition=function(ka){return this.getHeaderFooterManager().mM(ka-1,b.d.FOOTER)/ca.a.Ln};oa.prototype.getHeaderPosition=function(ka){return this.getHeaderFooterManager().mM(ka-1,b.d.HEADER)/ca.a.Ln};oa.prototype.getSectionNumber=function(ka){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,
|
|
4120
|
-
function(ra){switch(ra.label){case 0:return[4,this.Sa.Ej(ka-1)];case 1:return[2,ra.aa()+1]}})})};oa.prototype.getSectionMargins=function(){return Object(la.b)(this,arguments,Promise,function(ka){void 0===ka&&(ka=ea.
|
|
4121
|
-
function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ka){switch(ka.label){case 0:return[4,this.Sa.ua().Pa()];case 1:return[2,ka.aa()+1]}})})};oa.prototype.focusContent=function(){this.Sa.Ov()};oa.prototype.getMaxHeaderFooterDistance=function(ka,ra){void 0===ra&&(ra=ea.
|
|
4122
|
-
h(529),e=h(9),a=h(30),f=h(268),r=h(530),b=h(531),w=h(14),z=h(7),aa=h(215);ya=function(){function ea(ba,ha){var ca=this;this.ha=ba;this.ba=ha;this.mU=!1;this.Zp=w.
|
|
4120
|
+
function(ra){switch(ra.label){case 0:return[4,this.Sa.Ej(ka-1)];case 1:return[2,ra.aa()+1]}})})};oa.prototype.getSectionMargins=function(){return Object(la.b)(this,arguments,Promise,function(ka){void 0===ka&&(ka=ea.l.INCH);return Object(la.d)(this,function(){return[2,this.Sa.uq(ka)]})})};oa.prototype.setSectionMargins=function(ka){return Object(la.b)(this,arguments,Promise,function(ra,qa){void 0===qa&&(qa=ea.l.INCH);return Object(la.d)(this,function(){return[2,this.Sa.DP(ra,qa)]})})};oa.prototype.getEditingPageNumber=
|
|
4121
|
+
function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ka){switch(ka.label){case 0:return[4,this.Sa.ua().Pa()];case 1:return[2,ka.aa()+1]}})})};oa.prototype.focusContent=function(){this.Sa.Ov()};oa.prototype.getMaxHeaderFooterDistance=function(ka,ra){void 0===ra&&(ra=ea.l.INCH);return this.getHeaderFooterManager().rDa(ka,ra)};return oa}(ya.a);ua.a=h},function(ya,ua,h){var la=h(0),ma=h(1);h.n(ma);var na=h(16),ja=h(72),ia=h(528),fa=h(25),y=h(181),x=h(216),n=
|
|
4122
|
+
h(529),e=h(9),a=h(30),f=h(268),r=h(530),b=h(531),w=h(14),z=h(7),aa=h(215);ya=function(){function ea(ba,ha){var ca=this;this.ha=ba;this.ba=ha;this.mU=!1;this.Zp=w.j.EDITING;this.foa=500;this.nY=0;this.zL=!1;this.pY=null;this.Fda=function(pa,oa){return Object(la.b)(ca,void 0,Promise,function(){var ka,ra;return Object(la.d)(this,function(qa){switch(qa.label){case 0:return void 0===oa&&(ka=this.ba.Lc().Be(),1===ka.length&&(oa=ka[0]-1)),ra=this.pe().kM(pa,oa),[4,Promise.all([this.yb.start().We(ra),this.yb.end().We(ra)])];
|
|
4123
4123
|
case 1:return qa.aa(),[4,this.yb.end().OF()];case 2:return qa.aa(),[2]}})})};this.RKa=function(){ca.ba.getDocument().addEventListener(e.a.Events.OFFICE_DOCUMENT_EDITED,ca.bG);ca.ba.getDocument().addEventListener(e.a.Events.CURSORS_READY,ca.QKa,{once:!0});ca.jwa=new Promise(function(pa){ca.ba.getDocument().addEventListener(e.a.Events.CURSORS_READY,pa,{once:!0})});ca.Bg.addEventListener("focus",ca.pea);ca.Bg.addEventListener("blur",ca.oea);ca.ha.eM().then(function(pa){ca.RE().RRa(pa.containsTrackedChanges);
|
|
4124
4124
|
ca.RE().Eha(pa.trackChangesAuthors)})};this.jea=function(pa){null===pa||void 0===pa?void 0:pa.removed.forEach(function(oa){ca.Ea.KG(oa)});null===pa||void 0===pa?void 0:pa.added.forEach(function(){var oa=ca.ua().qa();ca.ba.zb()===oa&&ca.aP()})};this.QKa=function(){return Object(la.b)(ca,void 0,void 0,function(){return Object(la.d)(this,function(pa){switch(pa.label){case 0:return this.pd.show(),this.zo()?this.pd.disable():this.Ov(),this.ba.addEventListener(z.i.PAGES_UPDATED,this.jea),[4,this.RE().ija()];
|
|
4125
4125
|
case 1:return pa.aa(),[2]}})})};this.hea=function(pa){return Object(la.b)(ca,void 0,void 0,function(){return Object(la.d)(this,function(oa){switch(oa.label){case 0:return 1!==pa||this.mU?[3,2]:[4,this.Bva()];case 1:oa.aa(),oa.label=2;case 2:return[2]}})})};this.oea=function(){ca.Ea.vm()||ca.pd.freeze()};this.pea=function(){ca.Ea.vm()||ca.pd.show()};this.qea=function(){ca.pd.hide()};this.tea=function(){ca.Ov()};this.rea=function(pa){"Escape"===pa.key&&setTimeout(function(){ca.Ov()},0)};this.E8=Object(ma.debounce)(function(pa){if(!ca.zo())switch(pa.key){case "ArrowLeft":case "ArrowRight":case "ArrowUp":case "ArrowDown":case "Home":case "End":case "Enter":case "Backspace":case "Delete":ca.aP()}},
|
|
4126
|
-
300,{leading:!0,trailing:!1});this.bG=function(pa){pa=pa.source;ca.Ea.Ub()?ca.Ea.Qt():ca.iD();ca.Ov();Object.values(w.
|
|
4126
|
+
300,{leading:!0,trailing:!1});this.bG=function(pa){pa=pa.source;ca.Ea.Ub()?ca.Ea.Qt():ca.iD();ca.Ov();Object.values(w.i).includes(pa)||ca.aP()};this.eea=function(){ca.Ea.I7();ca.pd.hide()};this.lea=function(){ca.f7()};this.kea=function(){ca.pe().Ah()||ca.pd.show();ca.f7()};this.mea=function(pa){pa&&0<pa.length&&ca.pd.hide()};this.PKa=function(pa){return Object(la.b)(ca,[pa],void 0,function(oa){var ka,ra=oa.id;return Object(la.d)(this,function(){(null===(ka=this.ua())||void 0===ka?void 0:ka.La())===
|
|
4127
4127
|
ra&&(this.Ea.OHa()||!this.TIa()?this.pd.freeze():this.Ea.vm()||this.pd.show(),this.iD());return[2]})})};this.gea=function(pa){return Object(la.b)(ca,void 0,void 0,function(){var oa,ka,ra,qa,sa,ta,wa,za,Aa,Da,Ga,Ca,La,Ja,Ha,Qa,Sa,Oa,Wa,db;return Object(la.d)(this,function(Ma){switch(Ma.label){case 0:oa=pa.ctrlKey||pa.metaKey;if(this.zo()&&(!oa||"c"!==pa.key))return[2];ka=pa.key;switch(ka){case " ":return[3,1];case "ArrowLeft":return[3,2];case "ArrowRight":return[3,4];case "ArrowUp":return[3,6];case "ArrowDown":return[3,
|
|
4128
4128
|
8];case "Home":return[3,10];case "End":return[3,12];case "PageUp":return[3,14];case "PageDown":return[3,16];case "Enter":return[3,18];case "Tab":return[3,20];case "Backspace":return[3,22];case "Delete":return[3,24];case "Escape":return[3,26]}return[3,28];case 1:return this.Bg.contains(pa.target)&&pa.preventDefault(),[3,29];case 2:return[4,this.mba(pa,!0)];case 3:return Ma.aa(),[3,29];case 4:return[4,this.mba(pa,!1)];case 5:return Ma.aa(),[3,29];case 6:return[4,this.rba(pa,!0)];case 7:return Ma.aa(),
|
|
4129
4129
|
[3,29];case 8:return[4,this.rba(pa,!1)];case 9:return Ma.aa(),[3,29];case 10:return pa.preventDefault(),[4,this.ua().Jda()];case 11:return Ma.aa(),[3,29];case 12:return pa.preventDefault(),[4,this.ua().Kda()];case 13:return Ma.aa(),[3,29];case 14:return[4,this.ha.yKa(this.ua())];case 15:return Ma.aa(),[3,29];case 16:return[4,this.ha.oKa(this.ua())];case 17:return Ma.aa(),[3,29];case 18:return pa.preventDefault(),[4,this.OFa(oa)];case 19:return Ma.aa(),[3,29];case 20:return[4,this.dGa(!pa.shiftKey)];
|
|
@@ -4172,8 +4172,8 @@ e.a.OfficeEditorListStylePresets.NUMBER_LATIN_ROMAN_1;break;case "unordered":sa=
|
|
|
4172
4172
|
ea.prototype.eHa=function(ba,ha){return Object(la.b)(this,void 0,Promise,function(){var ca,pa,oa;return Object(la.d)(this,function(ka){switch(ka.label){case 0:return oa=(pa=this.ha).fba,[4,this.ua().Pb()];case 1:return(ca=oa.apply(pa,[ka.aa()]))?[2,this.ha.dHa(ca,ba,ha?ca.Zd()+1:ca.Zd())]:[2,Promise.reject(Error("Provided location is not in a table"))]}})})};ea.prototype.TA=function(){return Object(la.b)(this,void 0,Promise,function(){var ba,ha,ca;return Object(la.d)(this,function(pa){switch(pa.label){case 0:return ha=
|
|
4173
4173
|
(ba=this.ha).TA,[4,this.ua().Pb()];case 1:return ca=[pa.aa()],[4,this.ua().Pb()];case 2:return[2,ha.apply(ba,ca.concat([pa.aa()]))]}})})};ea.prototype.r_=function(){return Object(la.b)(this,void 0,Promise,function(){var ba,ha,ca;return Object(la.d)(this,function(pa){switch(pa.label){case 0:return ha=(ba=this.ha).ROa,[4,this.ua().Pb()];case 1:return ca=[pa.aa()],[4,this.ua().Pb()];case 2:return[2,ha.apply(ba,ca.concat([pa.aa()]))]}})})};ea.prototype.OO=function(){return Object(la.b)(this,void 0,Promise,
|
|
4174
4174
|
function(){var ba,ha;return Object(la.d)(this,function(ca){switch(ca.label){case 0:return ha=(ba=this.ha).OO,[4,this.ua().Pb()];case 1:return[2,ha.apply(ba,[ca.aa()])]}})})};ea.prototype.PK=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){if(!this.ae())throw Error("clearTableRange: No table range selected");return[2,this.ha.PK(this.Ea.om())]})})};ea.prototype.Pl=function(ba,ha){if(!this.ae())throw Error("applyStyleOnTableRange: No table range selected");
|
|
4175
|
-
return this.ha.Pl(this.Ea.om(),ba,ha)};ea.prototype.ae=function(){return this.Ea.ae()};ea.prototype.zo=function(){return this.Zp===w.
|
|
4176
|
-
1];case w.
|
|
4175
|
+
return this.ha.Pl(this.Ea.om(),ba,ha)};ea.prototype.ae=function(){return this.Ea.ae()};ea.prototype.zo=function(){return this.Zp===w.j.VIEW_ONLY||this.Zp===w.j.PREVIEW};ea.prototype.m0=function(ba){return Object(la.b)(this,void 0,Promise,function(){var ha,ca=this;return Object(la.d)(this,function(pa){switch(pa.label){case 0:setTimeout(function(){ca.Ov()});if(this.Zp===ba)return[2];this.Zp=ba;this.ba.getDocument().trigger(e.a.Events.EDIT_MODE_UPDATED,ba);this.Bk();ha=ba;switch(ha){case w.j.EDITING:return[3,
|
|
4176
|
+
1];case w.j.REVIEWING:return[3,4];case w.j.VIEW_ONLY:return[3,7];case w.j.PREVIEW:return[3,10]}return[3,13];case 1:return[4,this.ha.QD()];case 2:return pa.aa(),[4,this.ha.Wt({trackChangesViewMode:na.g.FULL_MARKUP})];case 3:return pa.aa(),this.pd.enable(),[3,14];case 4:return[4,this.ha.kT(this.ga.og())];case 5:return pa.aa(),[4,this.ha.Wt({trackChangesViewMode:na.g.FULL_MARKUP})];case 6:return pa.aa(),this.pd.enable(),[3,14];case 7:return[4,this.ha.QD()];case 8:return pa.aa(),[4,this.ha.Wt({trackChangesViewMode:na.g.BEFORE_CHANGES})];
|
|
4177
4177
|
case 9:return pa.aa(),this.pd.disable(),[3,14];case 10:return[4,this.ha.QD()];case 11:return pa.aa(),[4,this.ha.Wt({trackChangesViewMode:na.g.AFTER_CHANGES})];case 12:return pa.aa(),this.pd.disable(),[3,14];case 13:throw Error("Unknown Office Editor edit mode");case 14:return[2]}})})};ea.prototype.mba=function(ba,ha){return Object(la.b)(this,void 0,Promise,function(){var ca,pa,oa,ka,ra,qa;return Object(la.d)(this,function(sa){switch(sa.label){case 0:return ca=ba.metaKey,pa=ba.ctrlKey||ba.altKey,ba.preventDefault(),
|
|
4178
4178
|
ca?ba.shiftKey?[3,5]:ha?[4,this.ua().Jda()]:[3,2]:[3,6];case 1:return oa=sa.aa(),[3,4];case 2:return[4,this.ua().Kda()];case 3:oa=sa.aa(),sa.label=4;case 4:oa,sa.label=5;case 5:return[2];case 6:return ba.shiftKey?this.Ea.Ub()?[3,8]:[4,this.ha.Im(this.yb,this.ua())]:[3,13];case 7:sa.aa(),sa.label=8;case 8:return ha?[4,this.yb.end().Hda(pa)]:[3,10];case 9:return ka=sa.aa(),[3,12];case 10:return[4,this.yb.end().SY(pa)];case 11:ka=sa.aa(),sa.label=12;case 12:return ka,[2,this.Ea.Qt()];case 13:return this.Ea.Ub()?
|
|
4179
4179
|
[4,this.ua().RN(this.yb.end())]:[3,15];case 14:return sa.aa(),[2,this.Bk()];case 15:if(!this.pe().Ah())return[3,18];this.Bk();return(ra=!ha)?[4,this.ua().SY(pa)]:[3,17];case 16:ra=sa.aa(),sa.label=17;case 17:return ra,[2];case 18:return ha?[4,this.ua().Hda(pa)]:[3,20];case 19:return qa=sa.aa(),[3,22];case 20:return[4,this.ua().SY(pa)];case 21:qa=sa.aa(),sa.label=22;case 22:return qa,[2]}})})};ea.prototype.rba=function(ba,ha){return Object(la.b)(this,void 0,Promise,function(){var ca,pa,oa;return Object(la.d)(this,
|
|
@@ -4191,8 +4191,8 @@ case 4:return[2]}})})};ea.prototype.$Ta=function(){return Object(la.b)(this,void
|
|
|
4191
4191
|
this.AVa=setTimeout(function(){ba.ha.mx(!1)},this.foa)};ea.prototype.jT=function(ba){0<this.nY&&this.ha.mx(!0);this.nY++;this.pY&&ba!==this.pY&&this.ha.mx(!1);this.pY=ba};ea.prototype.OS=function(){this.nY--;this.YNa()};ea.prototype.undo=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:return[4,this.ha.undo([this.yb.start()],[this.yb.end()])];case 1:return ba.aa(),[4,this.uja()];case 2:return ba.aa(),[2]}})})};ea.prototype.redo=
|
|
4192
4192
|
function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:return[4,this.ha.redo([this.yb.start()],[this.yb.end()])];case 1:return ba.aa(),[4,this.uja()];case 2:return ba.aa(),[2]}})})};ea.prototype.uja=function(){return Object(la.b)(this,void 0,Promise,function(){var ba,ha;return Object(la.d)(this,function(ca){switch(ca.label){case 0:return[4,this.Ea.Qt()];case 1:return ca.aa(),[4,this.ua().Pb()];case 2:return ba=ca.aa(),ha=this.ha.Gm(ba),
|
|
4193
4193
|
[4,this.Ea.Ji().w9(ha)];case 3:return ca.aa(),[2]}})})};ea.prototype.NT=function(){this.pd.BL();this.Ea.NT()};ea.prototype.KDa=function(ba){return Object(la.b)(this,void 0,Promise,function(){var ha,ca;return Object(la.d)(this,function(pa){switch(pa.label){case 0:if(this.oO[ba])return[2,this.oO[ba]];ha=this.oO;ca=ba;return[4,this.ha.Uy(!1)];case 1:return ha[ca]=pa.aa(),[2,this.oO[ba]]}})})};ea.prototype.Ej=function(ba){return Object(la.b)(this,void 0,Promise,function(){var ha,ca;return Object(la.d)(this,
|
|
4194
|
-
function(pa){switch(pa.label){case 0:return[4,this.jwa];case 1:return pa.aa(),[4,this.KDa(ba)];case 2:return ha=pa.aa(),[4,ha.Pa()];case 3:return ca=pa.aa(),ba===ca?[3,5]:[4,ha.zA(ba)];case 4:pa.aa(),pa.label=5;case 5:return[2,ha.Ej()]}})})};ea.prototype.uq=function(){return Object(la.b)(this,arguments,Promise,function(ba){var ha,ca,pa,oa;void 0===ba&&(ba=w.
|
|
4195
|
-
ka.aa(),pa=ba===w.
|
|
4194
|
+
function(pa){switch(pa.label){case 0:return[4,this.jwa];case 1:return pa.aa(),[4,this.KDa(ba)];case 2:return ha=pa.aa(),[4,ha.Pa()];case 3:return ca=pa.aa(),ba===ca?[3,5]:[4,ha.zA(ba)];case 4:pa.aa(),pa.label=5;case 5:return[2,ha.Ej()]}})})};ea.prototype.uq=function(){return Object(la.b)(this,arguments,Promise,function(ba){var ha,ca,pa,oa;void 0===ba&&(ba=w.l.INCH);return Object(la.d)(this,function(ka){switch(ka.label){case 0:return[4,this.D$()];case 1:return ha=ka.aa(),[4,this.ha.uq(ha)];case 2:return ca=
|
|
4195
|
+
ka.aa(),pa=ba===w.l.INCH?w.q:w.p,oa={left:ca.left/pa,right:ca.right/pa,top:ca.top/pa,bottom:ca.bottom/pa},[2,oa]}})})};ea.prototype.DP=function(ba){return Object(la.b)(this,arguments,Promise,function(ha,ca){var pa,oa,ka,ra;void 0===ca&&(ca=w.l.INCH);return Object(la.d)(this,function(qa){switch(qa.label){case 0:return[4,this.D$()];case 1:return pa=qa.aa(),[4,this.ha.uq(pa)];case 2:return oa=qa.aa(),ka=ca===w.l.INCH?w.q:w.p,ra={left:ha.left*ka,right:ha.right*ka,top:ha.top*ka,bottom:ha.bottom*ka},[4,
|
|
4196
4196
|
this.ha.DP(pa,Object(la.a)(Object(la.a)({},oa),ra))];case 3:return qa.aa(),[2]}})})};ea.prototype.D$=function(){return Object(la.b)(this,void 0,Promise,function(){var ba,ha,ca,pa;return Object(la.d)(this,function(oa){switch(oa.label){case 0:ba=this.Ea.Ji().vt();if(!ba)return[3,2];ca=this.ua();return[4,ca.Ej()];case 1:return ha=oa.aa(),[3,5];case 2:return[4,this.ua().Pa()];case 3:return pa=oa.aa(),[4,this.Ej(pa)];case 4:ha=oa.aa(),oa.label=5;case 5:return[2,ha]}})})};return ea}();ua.a=ya},function(ya,
|
|
4197
4197
|
ua,h){var la=h(0),ma=h(149);ya=function(){function na(ja){this.ha=ja;this.Ey=this.context=this.cursor=null;this.sY=new Date(0)}na.prototype.jRa=function(ja){this.cursor=ja};na.prototype.Vv=function(){return this.cursor};na.prototype.Gca=function(){return this.context&&0<this.context.canvas.offsetWidth&&0<this.context.canvas.offsetHeight&&"hidden"!==window.getComputedStyle(this.context.canvas).visibility};na.prototype.disable=function(){this.BL();this.context||this.aU();this.context.canvas.style.display=
|
|
4198
4198
|
"none"};na.prototype.enable=function(){this.context||this.aU();this.context.canvas.style.display="block"};na.prototype.$Ha=function(){return null===this.Ey?!this.Gca():!1};na.prototype.EHa=function(){return null!==this.Ey};na.prototype.pUa=function(){var ja=this;clearInterval(this.Ey);this.Ey=window.setInterval(function(){ja.blink()},500)};na.prototype.BL=function(){clearInterval(this.Ey);this.Ey=null};na.prototype.blink=function(){var ja=new Date;500<=ja.getTime()-this.sY.getTime()&&(this.hy()||
|
|
@@ -4212,27 +4212,27 @@ Sa.sB;Sa=Sa.location;f!==Oa.line?(f=Oa.line,ba(),e=e.concat(a),a=[],w=!0):w=!1;i
|
|
|
4212
4212
|
Wa){Ma=Ha.ha.sa.Ij(sa);Wa=Ha.ha.sa.Ij(Sa);if(Ma.La()!==Wa.La()){if(Pa=Aa&&Ga===Ma.La())e=[],a=[],Pa=Ha.Ty(Ma,sa,wa),ea(Pa);if(Pa=La&&Ja.La()===Ma.La())e=[],a=[],Pa=Ha.Ty(Ma,sa,wa),ea(Pa);Ma=Ha.Ty(Wa,Sa,Oa.line);ea(Ma);z=!0;ta=Wa.La();sa=Sa;wa=Oa.line;return}sa=Sa;wa=Oa.line;if(z)return}}(0>fa.compare(y,Ha.ha.sa)?y:fa).isEqual(Sa)||(Ma=Sa.offset,db=Oa.first(),Wa=Oa.bd(Ma),!w&&Ma===db&&(Ma=a[a.length-1])&&(db=Ha.ha.Je,Ma.tb.mu=Wa.hd/db,Ma.tb.bn=Wa.y1/db,Ma.tb.x2=Wa.hd/db,Ma.tb.y2=Wa.Vc/db),Wa=Ha.wva({qUa:Wa,
|
|
4213
4213
|
location:Sa,line:Oa.line}),aa(Wa),sa=Sa,wa=Oa.line)}),ba(),e=e.concat(a),[2,{Kg:e,uH:fa,PD:y}]}})})};ia.prototype.eP=function(fa,y,x){return Object(la.b)(this,void 0,Promise,function(){var n,e,a,f,r,b,w,z=this;return Object(la.d)(this,function(aa){switch(aa.label){case 0:return n=function(ea){z.Jy[w].push(ea)},e=function(ea){ea.forEach(function(ba){n(ba)})},[4,this.xva(y,x)];case 1:return a=aa.aa(),f=a.Kg,r=a.uH,b=a.PD,w=fa-1,this.Jy[w]=[],e(f),this.ja.RA(fa,this.Jy[w].map(function(ea){return ea.tb.sq()}),
|
|
4214
4214
|
""),[2,{ZD:r,EF:b}]}})})};ia.prototype.select=function(fa,y){return Object(la.b)(this,void 0,void 0,function(){var x,n,e,a,f,r,b,w,z,aa,ea,ba,ha,ca,pa,oa,ka,ra,qa=this;return Object(la.d)(this,function(sa){switch(sa.label){case 0:Object.keys(this.Jy).forEach(function(ta){qa.ja.RA(parseInt(ta,10)+1,[],"")});x=fa.pageNumber;n=y.pageNumber;this.Jy={};if(x===n)return[2,this.eP(x,fa,y)];e=this.ja.ca.Za(x);a=this.ha.RH({x:e.width,y:e.height,pageNumber:x});return[4,this.eP(x,fa,a)];case 1:f=sa.aa(),r=f.ZD,
|
|
4215
|
-
w=b=f.EF,z=r,aa=x+1,sa.label=2;case 2:if(!(aa<n))return[3,5];e=this.ja.ca.Za(x);ea={x:0,y:0,pageNumber:aa};a=this.ha.RH({x:e.width,y:e.height,pageNumber:aa});return[4,this.eP(aa,ea,a)];case 3:ba=sa.aa(),ha=ba.ZD,ca=ba.EF,z||(z=ha),ca&&(w=ca),sa.label=4;case 4:return aa++,[3,2];case 5:return pa={x:0,y:0,pageNumber:n},[4,this.eP(n,pa,y)];case 6:return oa=sa.aa(),ka=oa.ZD,ra=oa.EF,[2,{ZD:z||ka,EF:ra||w}]}})})};ia.prototype.xua=function(){this.Pm=[]};return ia}()},function(ya,ua,h){function la(b,w){return"".concat(f.
|
|
4215
|
+
w=b=f.EF,z=r,aa=x+1,sa.label=2;case 2:if(!(aa<n))return[3,5];e=this.ja.ca.Za(x);ea={x:0,y:0,pageNumber:aa};a=this.ha.RH({x:e.width,y:e.height,pageNumber:aa});return[4,this.eP(aa,ea,a)];case 3:ba=sa.aa(),ha=ba.ZD,ca=ba.EF,z||(z=ha),ca&&(w=ca),sa.label=4;case 4:return aa++,[3,2];case 5:return pa={x:0,y:0,pageNumber:n},[4,this.eP(n,pa,y)];case 6:return oa=sa.aa(),ka=oa.ZD,ra=oa.EF,[2,{ZD:z||ka,EF:ra||w}]}})})};ia.prototype.xua=function(){this.Pm=[]};return ia}()},function(ya,ua,h){function la(b,w){return"".concat(f.h,
|
|
4216
4216
|
"-").concat(b,"-").concat(w)}var ma=h(0),na=h(181),ja=h(20),ia=h(62),fa=h(44),y=h(151);h(72);var x=h(350),n=h(11),e=h(4);ya=h(1);var a=h.n(ya),f=h(14),r="#0078d4";h=function(){function b(w,z,aa,ea){var ba=this;this.ha=w;this.ga=z;this.pd=aa;this.Th=ea;this.fu=new Map;this.Kt=new Set;this.al=void 0;this.ha.wSa(function(ha){ba.fu.delete(ha);ba.Kt.delete(ha);ha=ba.LW(ha);ba.ga.mg(ha,{source:"pagesUpdated",force:!0})});this.ha.sSa(function(ha){var ca;ba.enabled||(ba.enabled=!0,ba.ija());(null===(ca=ba.Ql)||
|
|
4217
|
-
void 0===ca?0:ca[ha.bv])||ba.ha.eM().then(function(pa){ba.Eha(pa.trackChangesAuthors)});ba.lZ(ha)});this.ha.rSa(function(ha){ba.lZ(ha)});this.pwa=a.a.memoize(function(ha){return a.a.debounce(function(){ba.SNa(ha)},300)});this.qwa=a.a.debounce(this.bWa,300,{leading:!0,trailing:!0});this.iea=function(ha){ba.pwa(ha)()};this.$F=function(ha,ca){ha=ha[0].Ua(f.
|
|
4217
|
+
void 0===ca?0:ca[ha.bv])||ba.ha.eM().then(function(pa){ba.Eha(pa.trackChangesAuthors)});ba.lZ(ha)});this.ha.rSa(function(ha){ba.lZ(ha)});this.pwa=a.a.memoize(function(ha){return a.a.debounce(function(){ba.SNa(ha)},300)});this.qwa=a.a.debounce(this.bWa,300,{leading:!0,trailing:!0});this.iea=function(ha){ba.pwa(ha)()};this.$F=function(ha,ca){ha=ha[0].Ua(f.h);ba.NH(ha,"selected"===ca)};Object(fa.k)(ia.a,{drawSelectionOutline:function(ha,ca,pa,oa,ka){ca.TrackedChangeType||ka.originalDrawSelectionOutline(ha,
|
|
4218
4218
|
ca,pa,oa)}})}b.prototype.ija=function(){return Object(ma.b)(this,void 0,void 0,function(){return Object(ma.d)(this,function(w){switch(w.label){case 0:return this.enabled?[4,this.wJa()]:[3,2];case 1:w.aa(),this.ha.addEventListener(na.a.Events.PAGE_DISPLAYED,this.iea),this.ga.addEventListener(ja.a.Events.ANNOTATION_SELECTED,this.$F),w.label=2;case 2:return[2]}})})};b.prototype.GEa=function(){return Array.from(this.fu.values()).map(function(w){switch(w.type){case y.b.INSERTED:var z="inserted";break;
|
|
4219
|
-
case y.b.DELETED:z="deleted"}return{id:w.id,author:w.bv,date:w.date,plaintext:w.nfa,type:z}})};b.prototype.SNa=function(w){Object(ma.b)(this,void 0,Promise,function(){var z,aa,ea,ba=this;return Object(ma.d)(this,function(){z=this.ga.lb();aa=z.filter(function(ha){return ha.Pa()===w&&ha.xh(f.
|
|
4219
|
+
case y.b.DELETED:z="deleted"}return{id:w.id,author:w.bv,date:w.date,plaintext:w.nfa,type:z}})};b.prototype.SNa=function(w){Object(ma.b)(this,void 0,Promise,function(){var z,aa,ea,ba=this;return Object(ma.d)(this,function(){z=this.ga.lb();aa=z.filter(function(ha){return ha.Pa()===w&&ha.xh(f.h)});ea=aa.map(function(ha){return Number(ha.Ua(f.h))});0<this.Kt.size&&this.Kt.forEach(function(ha){if(!ea.includes(ha)){var ca=ba.fu.get(ha),pa=ca.range.start().Cj(!1);ca=ca.range.end().Cj(!1);(null===pa||void 0===
|
|
4220
4220
|
pa?void 0:pa.Pa())!==w&&(null===ca||void 0===ca?void 0:ca.Pa())!==w||ea.push(ha)}});this.dQ(ea);return[2]})})};b.prototype.wJa=function(){return Object(ma.b)(this,void 0,Promise,function(){var w,z,aa,ea,ba=this;return Object(ma.d)(this,function(ha){switch(ha.label){case 0:return[4,this.ha.MW()];case 1:return w=ha.aa(),[4,Promise.all(w.map(function(ca){return ba.lZ(ca)}))];case 2:return ha.aa(),z=Infinity,aa=-Infinity,w.forEach(function(ca){return Object(ma.b)(ba,void 0,void 0,function(){var pa,oa;
|
|
4221
|
-
return Object(ma.d)(this,function(ka){switch(ka.label){case 0:return[4,ca.range.start().qa()];case 1:return pa=ka.aa(),[4,ca.range.end().qa()];case 2:return oa=ka.aa(),z=Math.min(pa,z),aa=Math.max(oa,aa),[2]}})})}),ea=z<=aa?a.a.range(z,aa+1):[],[4,Promise.all(ea.map(function(ca){return ba.ga.Ac(ca)}))];case 3:return ha.aa(),[2]}})})};b.prototype.LW=function(w){return this.ga.lb().filter(function(z){return z.Ua(f.
|
|
4221
|
+
return Object(ma.d)(this,function(ka){switch(ka.label){case 0:return[4,ca.range.start().qa()];case 1:return pa=ka.aa(),[4,ca.range.end().qa()];case 2:return oa=ka.aa(),z=Math.min(pa,z),aa=Math.max(oa,aa),[2]}})})}),ea=z<=aa?a.a.range(z,aa+1):[],[4,Promise.all(ea.map(function(ca){return ba.ga.Ac(ca)}))];case 3:return ha.aa(),[2]}})})};b.prototype.LW=function(w){return this.ga.lb().filter(function(z){return z.Ua(f.h)===w.toString()})};b.prototype.lZ=function(w){this.fu.set(w.id,w);this.Kt.add(w.id);
|
|
4222
4222
|
this.qwa()};b.prototype.bWa=function(){return Object(ma.b)(this,void 0,void 0,function(){var w;return Object(ma.d)(this,function(){w=Array.from(this.Kt);this.Kt.clear();this.dQ(w);return[2]})})};b.prototype.dQ=function(w){Object(ma.b)(this,void 0,void 0,function(){var z,aa,ea,ba,ha,ca,pa,oa,ka,ra,qa=this;return Object(ma.d)(this,function(sa){switch(sa.label){case 0:z=[];aa=[];ea=[];ba=[];ha=0;for(ca=w;ha<ca.length;ha++)pa=ca[ha],(oa=this.fu.get(pa))&&ba.push(this.Zva(oa).then(function(ta){z.push.apply(z,
|
|
4223
4223
|
ta);0<ta.length&&ea.push(ta)}));return[4,Promise.all(ba)];case 1:sa.aa();ka=0;for(ra=w;ka<ra.length;ka++)pa=ra[ka],aa.push.apply(aa,this.LW(pa));this.ga.mg(aa,{source:"pagesUpdated",force:!0});this.ga.tk(z,{source:"pagesUpdated",autoFocus:!1});this.al&&this.NH(this.al,!0);ea.forEach(function(ta){qa.ga.Vz(ta[0],ta)});return[2]}})})};b.prototype.Zva=function(w){return Object(ma.b)(this,void 0,Promise,function(){var z,aa,ea,ba,ha,ca,pa,oa,ka,ra,qa,sa,ta;return Object(ma.d)(this,function(wa){switch(wa.label){case 0:return[4,
|
|
4224
4224
|
w.range.start().qa()];case 1:return z=wa.aa(),[4,w.range.end().qa()];case 2:return aa=wa.aa(),[4,w.range.start().Pb()];case 3:return ea=wa.aa(),[4,w.range.end().Pb()];case 4:ba=wa.aa(),ha=[],this.Kt.delete(w.id),ca=z,wa.label=5;case 5:if(!(ca<=aa))return[3,9];pa=this.ha.sa.TDa(ca-1,ea.stream);oa=pa.uH;ka=pa.PD;ra=ca===z?ea:oa;qa=ca===aa?ba:ka;if(!ra||!qa)return[3,7];ta=(sa=ha).push;return[4,this.Yva(w,ca,ra,qa)];case 6:return ta.apply(sa,[wa.aa()]),[3,8];case 7:this.Kt.add(w.id),wa.label=8;case 8:return ca++,
|
|
4225
|
-
[3,5];case 9:return[2,ha]}})})};b.prototype.Yva=function(w,z,aa,ea){return Object(ma.b)(this,void 0,Promise,function(){var ba,ha,ca,pa,oa,ka,ra;return Object(ma.d)(this,function(qa){switch(qa.label){case 0:return ba=w.id.toString(),ha=new x.a,ha.Id=la(w.id,z),ha.vb(f.
|
|
4225
|
+
[3,5];case 9:return[2,ha]}})})};b.prototype.Yva=function(w,z,aa,ea){return Object(ma.b)(this,void 0,Promise,function(){var ba,ha,ca,pa,oa,ka,ra;return Object(ma.d)(this,function(qa){switch(qa.label){case 0:return ba=w.id.toString(),ha=new x.a,ha.Id=la(w.id,z),ha.vb(f.h,ba),ha.TrackedChangeType=w.type,ha.Author=w.bv,ha.DateCreated=w.date,ha.PageNumber=z,ha.Locked=!0,ha.setContents(w.nfa),ha.Opacity=ba===this.al?.3:0,ha.FillColor=new n.a(w.type===y.b.INSERTED?"#006D41":"#CF0101"),ca=(null===(ra=null===
|
|
4226
4226
|
(ka=this.Ql)||void 0===ka?void 0:ka[ha.Author])||void 0===ra?void 0:ra.color)||r,ha.StrokeColor=new n.a(ca),[4,this.Th.Z7(aa,ea)];case 1:return pa=qa.aa().Kg,oa=pa.map(function(sa){return sa.tb}).filter(function(sa){return sa.x1&&sa.x2&&sa.mu&&sa.Cx&&sa.y1&&sa.y2&&sa.bn&&sa.nu}).map(function(sa){return new e.c(sa.x1,sa.y1,sa.x2,sa.y2,sa.mu,sa.bn,sa.Cx,sa.nu)}),0<oa.length&&ha.eH(oa),[2,ha]}})})};b.prototype.GS=function(w){return Object(ma.b)(this,void 0,Promise,function(){var z;return Object(ma.d)(this,
|
|
4227
4227
|
function(aa){switch(aa.label){case 0:return(z=this.fu.get(Number(w)))?[4,this.ha.GS(z)]:[3,2];case 1:aa.aa(),aa.label=2;case 2:return[2]}})})};b.prototype.p_=function(w){return Object(ma.b)(this,void 0,Promise,function(){var z;return Object(ma.d)(this,function(aa){switch(aa.label){case 0:return(z=this.fu.get(Number(w)))?[4,this.ha.p_(z)]:[3,2];case 1:aa.aa(),aa.label=2;case 2:return[2]}})})};b.prototype.nKa=function(w){return Object(ma.b)(this,void 0,Promise,function(){var z,aa;return Object(ma.d)(this,
|
|
4228
4228
|
function(ea){switch(ea.label){case 0:return z=this.fu.get(Number(w)),[4,z.range.start().Pb()];case 1:return aa=ea.aa(),z?[4,this.pd.Vv().We(aa)]:[3,3];case 2:ea.aa(),ea.label=3;case 3:return[2]}})})};b.prototype.RRa=function(w){this.enabled=w};b.prototype.Eha=function(w){this.Ql=w;this.Ql[""].color&&(r=this.Ql[""].color)};b.prototype.NH=function(w,z){w=this.LW(Number(w));w.forEach(function(aa){aa.Opacity=z?.3:0});this.ga.Uf(w)};b.prototype.VFa=function(w){var z,aa,ea=this.ga.Fk(w);w=null===(aa=null===
|
|
4229
|
-
(z=this.ga.Zb())||void 0===z?void 0:z[0])||void 0===aa?void 0:aa.Ua(f.
|
|
4230
|
-
x){var n=this;this.ha=y;this.ba=x;this.Ea=this.ba.bg("OfficeEditorContentSelect");this.onPaste=function(e){return Object(la.b)(n,void 0,void 0,function(){var a,f,r,b,w,z,aa,ea;return Object(la.d)(this,function(ba){switch(ba.label){case 0:if(this.Ya().zo())return[2];a=(null===(aa=document.activeElement.shadowRoot)||void 0===aa?void 0:aa.activeElement)||document.activeElement;if(null===(ea=this.ba)||void 0===ea||!ea.va().contains(a))return[2];f=e.clipboardData.getData(ma.
|
|
4231
|
-
b=e.clipboardData.getData(ma.
|
|
4232
|
-
case 1:return y=b.aa(),[3,4];case 2:return[4,this.ha.Gk(this.Ya().ff())];case 3:y=b.aa(),b.label=4;case 4:x=JSON.stringify(y.input),n=function(w){w.clipboardData.setData(ma.
|
|
4233
|
-
r[ma.
|
|
4229
|
+
(z=this.ga.Zb())||void 0===z?void 0:z[0])||void 0===aa?void 0:aa.Ua(f.h);if(ea&&(z=ea.Ua(f.h))){z!==this.al&&(this.al!==w&&this.NH(this.al,!1),this.al=z,this.NH(this.al,!0));return}this.al&&this.al!==w&&this.NH(this.al,!1);this.al=void 0};b.prototype.gr=function(){this.ha.removeEventListener(na.a.Events.PAGE_DISPLAYED,this.iea);this.ga.removeEventListener(ja.a.Events.ANNOTATION_SELECTED,this.$F)};return b}();ua.a=h},function(ya,ua,h){var la=h(0),ma=h(14),na=h(25),ja=h(9),ia=h(72);ya=function(){function fa(y,
|
|
4230
|
+
x){var n=this;this.ha=y;this.ba=x;this.Ea=this.ba.bg("OfficeEditorContentSelect");this.onPaste=function(e){return Object(la.b)(n,void 0,void 0,function(){var a,f,r,b,w,z,aa,ea;return Object(la.d)(this,function(ba){switch(ba.label){case 0:if(this.Ya().zo())return[2];a=(null===(aa=document.activeElement.shadowRoot)||void 0===aa?void 0:aa.activeElement)||document.activeElement;if(null===(ea=this.ba)||void 0===ea||!ea.va().contains(a))return[2];f=e.clipboardData.getData(ma.c.TEXT_PLAIN);r=e.clipboardData.getData(ma.c.TEXT_HTML);
|
|
4231
|
+
b=e.clipboardData.getData(ma.c.WV_DATA);return[4,this.Xga()];case 1:return w=ba.aa(),z=b&&!w.S1,!w||z?[2,this.XW(f,r,b)]:[2,this.XW(w.PZ,w.htmlText,w.S1)]}})})};window.addEventListener("paste",this.onPaste)}fa.prototype.Ya=function(){return this.ba.getDocument().$f().Ya()};fa.prototype.ZT=function(){return Object(la.b)(this,void 0,Promise,function(){var y,x,n,e,a,f,r;return Object(la.d)(this,function(b){switch(b.label){case 0:return this.Ea.Ub()?this.Ea.ae()?[4,this.ha.A$(this.Ea.om())]:[3,2]:[2];
|
|
4232
|
+
case 1:return y=b.aa(),[3,4];case 2:return[4,this.ha.Gk(this.Ya().ff())];case 3:y=b.aa(),b.label=4;case 4:x=JSON.stringify(y.input),n=function(w){w.clipboardData.setData(ma.c.WV_DATA,x);w.clipboardData.setData(ma.c.TEXT_HTML,y.getRichText());w.clipboardData.setData(ma.c.TEXT_PLAIN,y.getPlainText());w.preventDefault()},document.addEventListener("copy",n,{once:!0}),e=!1,b.label=5;case 5:return b.gd.push([5,7,,8]),a=new window.ClipboardItem((r={},r[ma.c.TEXT_PLAIN]=new Blob([y.getPlainText()],{type:ma.c.TEXT_PLAIN}),
|
|
4233
|
+
r[ma.c.TEXT_HTML]=new Blob([y.getRichText()],{type:ma.c.TEXT_HTML}),r[ma.c.WV_DATA]=new Blob([x],{type:ma.c.WV_DATA}),r)),[4,navigator.clipboard.write([a])];case 6:return b.aa(),e=!0,[3,8];case 7:return f=b.aa(),console.warn("Failed to copy using Clipboard API. Consider using https.",f),(e=document.execCommand("copy"))||console.warn('document.execCommand("copy") also failed'),[3,8];case 8:return e&&this.ba.getDocument().trigger(ja.a.Events.COPY),[2]}})})};fa.prototype.B8=function(){return Object(la.b)(this,
|
|
4234
4234
|
void 0,Promise,function(){return Object(la.d)(this,function(y){switch(y.label){case 0:return[4,this.ZT()];case 1:return y.aa(),[4,this.Ya().NO()];case 2:return y.aa(),[2]}})})};fa.prototype.Xga=function(){return Object(la.b)(this,arguments,Promise,function(y){var x,n,e,a,f,r,b,w,z,aa,ea=this;void 0===y&&(y=!0);return Object(la.d)(this,function(ba){switch(ba.label){case 0:return ba.gd.push([0,6,,7]),[4,navigator.clipboard.read()];case 1:x=ba.aa();if(0===x.length)return[2,null];n=function(ha){return Object(la.b)(ea,
|
|
4235
|
-
void 0,Promise,function(){var ca,pa;return Object(la.d)(this,function(oa){switch(oa.label){case 0:return[4,x[0].getType(ha)];case 1:return ca=oa.aa(),[4,null===ca||void 0===ca?void 0:ca.text()];case 2:return pa=oa.aa()||"",[2,pa]}})})};f=a=e=void 0;r=0;b=x[0].types;ba.label=2;case 2:if(!(r<b.length))return[3,5];w=b[r];return[4,n(w)];case 3:z=ba.aa();switch(w){case ma.
|
|
4235
|
+
void 0,Promise,function(){var ca,pa;return Object(la.d)(this,function(oa){switch(oa.label){case 0:return[4,x[0].getType(ha)];case 1:return ca=oa.aa(),[4,null===ca||void 0===ca?void 0:ca.text()];case 2:return pa=oa.aa()||"",[2,pa]}})})};f=a=e=void 0;r=0;b=x[0].types;ba.label=2;case 2:if(!(r<b.length))return[3,5];w=b[r];return[4,n(w)];case 3:z=ba.aa();switch(w){case ma.c.TEXT_PLAIN:e=z;break;case ma.c.TEXT_HTML:y&&(f=z);break;case ma.c.WV_DATA:y&&(a=z)}ba.label=4;case 4:return r++,[3,2];case 5:return[2,
|
|
4236
4236
|
{PZ:e,htmlText:f,S1:a}];case 6:return aa=ba.aa(),console.warn("Failed to read from clipboard",aa),[2,null];case 7:return[2]}})})};fa.prototype.XW=function(y,x,n){return Object(la.b)(this,void 0,Promise,function(){var e;return Object(la.d)(this,function(){return n?(e=na.a.bc(JSON.parse(n)),[2,this.MZ(e)]):x?[2,this.xMa(x)]:[2,this.MZ(y)]})})};fa.prototype.ifa=function(){return Object(la.b)(this,arguments,Promise,function(y){var x,n,e,a;void 0===y&&(y=!0);return Object(la.d)(this,function(f){switch(f.label){case 0:return[4,
|
|
4237
4237
|
this.Xga(y)];case 1:x=f.aa();if(!x)return[2];n=x.PZ;e=x.htmlText;a=x.S1;return[2,this.XW(n,e,a)]}})})};fa.prototype.xMa=function(y){return Object(la.b)(this,void 0,Promise,function(){var x,n,e,a;return Object(la.d)(this,function(f){switch(f.label){case 0:return[4,this.hCa()];case 1:return x=f.aa(),x||(e=(n=y.includes("</ol>"))?na.f.decimal:na.f.unordered,x={listStyles:Object(la.f)([],this.ba.getDocument().$f().pM(e).levels,!0)}),a=na.a.$Aa(y,x),[2,this.MZ(a)]}})})};fa.prototype.MZ=function(y){return Object(la.b)(this,
|
|
4238
4238
|
void 0,Promise,function(){return Object(la.d)(this,function(x){switch(x.label){case 0:return this.Ea.vm()?y instanceof na.a?[4,this.ha.WA(this.Ya().ff(),y)]:[3,2]:[3,5];case 1:return x.aa(),[3,4];case 2:return[4,this.ha.Iga(this.Ya().ff(),y)];case 3:x.aa(),x.label=4;case 4:return this.Ea.My(),[3,6];case 5:return y instanceof na.a?[2,this.ha.fF(this.Ya().ua(),y)]:[2,this.ha.insertText(this.Ya().ua(),y)];case 6:return[2]}})})};fa.prototype.hCa=function(){return Object(la.b)(this,void 0,void 0,function(){var y,
|
|
@@ -4299,30 +4299,30 @@ ha.a.prototype.yh;Ba.Core.Document.prototype.getPDFDoc=ha.a.prototype.hf;Ba.Core
|
|
|
4299
4299
|
Ba.Core.Document.prototype.rotatePages=ha.a.prototype.Vi;Ba.Core.Document.prototype.extractPages=ha.a.prototype.Fi;Ba.Core.Document.prototype.mergeDocument=ha.a.prototype.PN;Ba.Core.Document.prototype.cropPages=ha.a.prototype.Uh;Ba.Core.Document.prototype.formatDocumentForPrint=ha.a.prototype.sV;Ba.Core.Document.prototype.print=ha.a.prototype.print;Ba.Core.Document.prototype.getDocumentCompletePromise=ha.a.prototype.J$;Ba.Core.Document.prototype.setWatermark=ha.a.prototype.ur;Ba.Core.Document.prototype.enableWatermarkApplied=
|
|
4300
4300
|
ha.a.prototype.Oza;Ba.Core.Document.prototype.disableWatermarkApplied=ha.a.prototype.Jxa;Ba.Core.Document.prototype.requirePage=ha.a.prototype.Qo;Ba.Core.Document.prototype.getOfficeResources=ha.a.prototype.o_a;Ba.Core.Document.prototype.enableColorSeparations=ha.a.prototype.$p;Ba.Core.Document.prototype.disableColorSeparations=ha.a.prototype.kxa;Ba.Core.Document.prototype.getColorSeparations=ha.a.prototype.bM;Ba.Core.Document.prototype.enableSeparation=ha.a.prototype.AL;Ba.Core.Document.prototype.isLinearized=
|
|
4301
4301
|
ha.a.prototype.jIa;Ba.Core.Document.prototype.getPages=ha.a.prototype.Bc;Ba.Core.Document.prototype.getDocumentId=ha.a.prototype.Ez;Ba.Core.Document.prototype.getClientId=ha.a.prototype.aM;Ba.Core.Document.prototype.getAuthId=ha.a.prototype.UL;Ba.Core.Document.prototype.setTextExtractorProcessingFlags=ha.a.prototype.GP;Ba.Core.Document.prototype.arePagesAltered=ha.a.prototype.vk;Ba.Core.Document.prototype.updateCustomHeaders=ha.a.prototype.KB;Ba.Core.Document.prototype.getOfficeEditor=ha.a.prototype.$f;
|
|
4302
|
-
Ba.Core.Document.OfficeEditorToggleableStyles=ca.
|
|
4303
|
-
sb.c;Ba.Core.SupportedFileFormats=sb.l;Ba.Core.SupportedFileFormats.CLIENT=sb.l.j2;Ba.Core.SupportedFileFormats.SERVER=sb.l.f3;Ba.Core.OverprintPreviewMode=za.d;Ba.Core.OverprintPreviewMode.OFF=za.d.Gma;Ba.Core.OverprintPreviewMode.ON=za.d.Kma;Ba.Core.OverprintPreviewMode.PDFX_ON=za.d.V2;Ba.Core.ColorPostProcessMode=za.a;Ba.Core.ColorPostProcessMode.NONE=za.a.NONE;Ba.Core.ColorPostProcessMode.INVERT=
|
|
4304
|
-
za.a.xma;Ba.Core.SaveOptions=za.f;Ba.Core.SaveOptions.INCREMENTAL=za.f.$la;Ba.Core.SaveOptions.REMOVE_UNUSED=za.f.nna;Ba.Core.SaveOptions.HEX_STRINGS=za.f.Zla;Ba.Core.SaveOptions.OMIT_XREF=za.f.Jma;Ba.Core.SaveOptions.LINEARIZED=za.f.pma;Ba.Core.SaveOptions.COMPATIBILITY=za.f.nla;Ba.Core.EncryptionAlgorithmType=za.c;Ba.Core.EncryptionAlgorithmType.RC4_40=za.c.kna;Ba.Core.EncryptionAlgorithmType.RC4_128=
|
|
4305
|
-
za.c.
|
|
4306
|
-
za.b;Ba.Core.DocumentViewer=ra.b;ma(Ba.Core.DocumentViewer);Ba.Core.DocumentViewer.prototype.loadDocument=ra.b.prototype.Zk;Ba.Core.DocumentViewer.prototype.dispose=ra.b.prototype.Tf;Ba.Core.DocumentViewer.prototype.FitMode=function(){};Ba.Core.DocumentViewer.prototype.FitMode.FitWidth=ra.b.prototype.gn.w2;Ba.Core.DocumentViewer.prototype.FitMode.FitPage=ra.b.prototype.gn.JQ;Ba.Core.DocumentViewer.prototype.FitMode.Zoom=
|
|
4307
|
-
Ba.Core.DocumentViewer.prototype.
|
|
4308
|
-
ra.b.prototype.
|
|
4309
|
-
ra.b.prototype.
|
|
4310
|
-
Ba.Core.DocumentViewer.prototype.
|
|
4311
|
-
|
|
4312
|
-
Sa.f.
|
|
4313
|
-
Ba.Core.DocumentViewer.prototype.
|
|
4314
|
-
ra.b.prototype.
|
|
4315
|
-
Ba.Core.DocumentViewer.prototype.
|
|
4316
|
-
ra.b.prototype.
|
|
4317
|
-
ra.b.prototype.
|
|
4318
|
-
ra.b.prototype.
|
|
4319
|
-
ra.b.prototype
|
|
4320
|
-
Ba.Core.DocumentViewer.prototype.openURI=ra.b.prototype.nZ;Ba.Core.DocumentViewer.prototype.setOpenURIHandler=ra.b.prototype.xSa;Ba.Core.DocumentViewer.prototype.downloadRemainingAnnotations=ra.b.prototype.c9;Ba.Core.RenderingPipeline={};Ba.Core.RenderingPipeline.PipelineManager=gb.a;Ba.Core.RenderingPipeline.PipelineManager.prototype.registerHandlers=gb.a.prototype.pga;Ba.Core.RenderingPipeline.PipelineManager.prototype.pushChange=
|
|
4321
|
-
gb.a.prototype.mGa;Ba.Core.SetCachingLevel=Ba.da.XXa;Ba.Core.SetPreRenderLevel=Ba.da.YXa;Ba.Core.setCachingLevel=Ba.da.lP;Ba.Core.setPreRenderLevel=Ba.da.nia;Ba.Core.DocumentViewer.prototype.getMargin=ra.b.prototype.qM;Ba.Core.DocumentViewer.prototype.setMargin=ra.b.prototype.$Ra;Ba.Core.DocumentViewer.prototype.updateView=ra.b.prototype.qf;Ba.Core.DocumentViewer.prototype.updateVisiblePages=ra.b.prototype.OB;Ba.Core.DocumentViewer.prototype.stopPageRender=
|
|
4322
|
-
ra.b.prototype.PU;Ba.Core.DocumentViewer.prototype.clearSelection=ra.b.prototype.Np;Ba.Core.DocumentViewer.prototype.removeContent=ra.b.prototype.Mm;Ba.Core.DocumentViewer.prototype.select=ra.b.prototype.select;Ba.Core.DocumentViewer.prototype.getPageHeight=ra.b.prototype.Pd;Ba.Core.DocumentViewer.prototype.getPageWidth=ra.b.prototype.$d;Ba.Core.DocumentViewer.prototype.setPageZoom=ra.b.prototype.CP;Ba.Core.DocumentViewer.prototype.getPageZoom=
|
|
4323
|
-
ra.b.prototype.jf;Ba.Core.DocumentViewer.prototype.setRotation=ra.b.prototype.gH;Ba.Core.DocumentViewer.prototype.getCompleteRotation=ra.b.prototype.tc;Ba.Core.DocumentViewer.prototype.getPageRotations=ra.b.prototype.PDa;Ba.Core.DocumentViewer.prototype.setPageRotations=ra.b.prototype.ASa;Ba.Core.DocumentViewer.prototype.getAnnotationManager=ra.b.prototype.ia;Ba.Core.DocumentViewer.prototype.getAccessibleReadingOrderManager=ra.b.prototype.c$;
|
|
4324
|
-
ra.b.prototype.Wc;Ba.Core.DocumentViewer.prototype.getMeasurementManager=ra.b.prototype.rM;Ba.Core.DocumentViewer.prototype.getAnnotationHistoryManager=ra.b.prototype.tBa;Ba.Core.DocumentViewer.prototype.setAnnotationImportOptions=ra.b.prototype.NQa;Ba.Core.DocumentViewer.prototype.setInternalAnnotationsTransform=ra.b.prototype.PRa;Ba.Core.DocumentViewer.prototype.setPagesUpdatedInternalAnnotationsTransform=ra.b.prototype.FSa;Ba.Core.DocumentViewer.prototype.setDocumentXFDFRetriever=
|
|
4325
|
-
Ba.Core.DocumentViewer.prototype.enableLoadingAnnotationsFromVisiblePages=ra.b.prototype.Dza;Ba.Core.DocumentViewer.prototype.disableLoadingAnnotationsFromVisiblePages=ra.b.prototype.vxa;Ba.Core.DocumentViewer.prototype.setPageVisibilityCallback=ra.b.prototype.ESa;Ba.Core.DocumentViewer.prototype.getDisplayModeManager=ra.b.prototype.Lc;Ba.Core.DocumentViewer.prototype.snapToNearest=ra.b.prototype.sH;Ba.Core.DocumentViewer.prototype.enableViewportRenderMode=ra.b.prototype.Mza;Ba.Core.DocumentViewer.prototype.disableViewportRenderMode=
|
|
4302
|
+
Ba.Core.Document.OfficeEditorToggleableStyles=ca.m;Ba.Core.Document.OfficeEditorListStylePresets=ca.k;Ba.Core.Document.OfficeEditorEditMode=ca.j;Ba.Core.Document.OfficeEditor={};Ba.Core.Document.OfficeEditor.ToggleableStyles=ca.m;Ba.Core.Document.OfficeEditor.ListStylePresets=ca.k;Ba.Core.Document.OfficeEditor.EditMode=ca.j;Ba.Core.Document.OfficeEditor.EditingStreamType=pa.b;Ba.Core.Document.OfficeEditor.MarginUnits=ca.l;Ba.Core.Document.OfficeEditor.MaxZoomLevel=ca.e;Ba.Core.Document.OfficeEditor.CM_PER_INCH=
|
|
4303
|
+
ca.b;Ba.Core.Document.OfficeEditor.PIXELS_PER_INCH=ca.o;Ba.Core.PageRotation=sb.f;Ba.Core.FontStyles=sb.c;Ba.Core.SupportedFileFormats=sb.l;Ba.Core.SupportedFileFormats.CLIENT=sb.l.j2;Ba.Core.SupportedFileFormats.SERVER=sb.l.f3;Ba.Core.OverprintPreviewMode=za.d;Ba.Core.OverprintPreviewMode.OFF=za.d.Gma;Ba.Core.OverprintPreviewMode.ON=za.d.Kma;Ba.Core.OverprintPreviewMode.PDFX_ON=za.d.V2;Ba.Core.ColorPostProcessMode=za.a;Ba.Core.ColorPostProcessMode.NONE=za.a.NONE;Ba.Core.ColorPostProcessMode.INVERT=
|
|
4304
|
+
za.a.INVERT;Ba.Core.ColorPostProcessMode.GRADIENT_MAP=za.a.Sla;Ba.Core.ColorPostProcessMode.NIGHT_MODE=za.a.xma;Ba.Core.SaveOptions=za.f;Ba.Core.SaveOptions.INCREMENTAL=za.f.$la;Ba.Core.SaveOptions.REMOVE_UNUSED=za.f.nna;Ba.Core.SaveOptions.HEX_STRINGS=za.f.Zla;Ba.Core.SaveOptions.OMIT_XREF=za.f.Jma;Ba.Core.SaveOptions.LINEARIZED=za.f.pma;Ba.Core.SaveOptions.COMPATIBILITY=za.f.nla;Ba.Core.EncryptionAlgorithmType=za.c;Ba.Core.EncryptionAlgorithmType.RC4_40=za.c.kna;Ba.Core.EncryptionAlgorithmType.RC4_128=
|
|
4305
|
+
za.c.jna;Ba.Core.EncryptionAlgorithmType.AES_128=za.c.Uka;Ba.Core.EncryptionAlgorithmType.AES_256=za.c.V1;Ba.Core.TextExtractorProcessingFlags=za.g;Ba.Core.TextExtractorProcessingFlags.NO_LIGATURE_EXP=za.g.Ema;Ba.Core.TextExtractorProcessingFlags.NO_DUP_REMOVE=za.g.Cma;Ba.Core.TextExtractorProcessingFlags.PUNCT_BREAK=za.g.ena;Ba.Core.TextExtractorProcessingFlags.REMOVE_HIDDEN_TEXT=za.g.mna;Ba.Core.TextExtractorProcessingFlags.NO_INVISIBLE_TEXT=za.g.Dma;Ba.Core.TextExtractorProcessingFlags.NO_WATERMARKS=
|
|
4306
|
+
za.g.Fma;Ba.Core.TextExtractorProcessingFlags.EXTRACT_USING_ZORDER=za.g.s2;Ba.Core.EMPTY_XFDF=za.b;Ba.Core.DocumentViewer=ra.b;ma(Ba.Core.DocumentViewer);Ba.Core.DocumentViewer.prototype.loadDocument=ra.b.prototype.Zk;Ba.Core.DocumentViewer.prototype.dispose=ra.b.prototype.Tf;Ba.Core.DocumentViewer.prototype.FitMode=function(){};Ba.Core.DocumentViewer.prototype.FitMode.FitWidth=ra.b.prototype.gn.w2;Ba.Core.DocumentViewer.prototype.FitMode.FitPage=ra.b.prototype.gn.JQ;Ba.Core.DocumentViewer.prototype.FitMode.Zoom=
|
|
4307
|
+
ra.b.prototype.gn.Zoom;Ba.Core.DocumentViewer.prototype.displayLastPage=ra.b.prototype.Uxa;Ba.Core.DocumentViewer.prototype.displayFirstPage=ra.b.prototype.Txa;Ba.Core.DocumentViewer.prototype.setCurrentPage=ra.b.prototype.Wg;Ba.Core.DocumentViewer.prototype.getCurrentPage=ra.b.prototype.md;Ba.Core.DocumentViewer.prototype.enableRightToLeftPageRendering=ra.b.prototype.Hza;Ba.Core.DocumentViewer.prototype.disableRightToLeftPageRendering=ra.b.prototype.Axa;Ba.Core.DocumentViewer.prototype.enableArrowKeyNavigation=
|
|
4308
|
+
ra.b.prototype.oza;Ba.Core.DocumentViewer.prototype.disableArrowKeyNavigation=ra.b.prototype.exa;Ba.Core.DocumentViewer.prototype.isArrowKeyNavigationEnabled=ra.b.prototype.BHa;Ba.Core.DocumentViewer.prototype.isRightToLeftPageRenderingEnabled=ra.b.prototype.uN;Ba.Core.DocumentViewer.prototype.getZoomLevel=ra.b.prototype.Hb;Ba.Core.DocumentViewer.prototype.getPageCount=ra.b.prototype.zb;Ba.Core.DocumentViewer.prototype.setFitMode=ra.b.prototype.o0;Ba.Core.DocumentViewer.prototype.getFitMode=ra.b.prototype.GCa;
|
|
4309
|
+
Ba.Core.DocumentViewer.prototype.zoomTo=ra.b.prototype.dh;Ba.Core.DocumentViewer.prototype.zoomToMouse=ra.b.prototype.Nka;Ba.Core.DocumentViewer.prototype.getPDFCoordinatesFromMouseEvent=ra.b.prototype.FDa;Ba.Core.DocumentViewer.prototype.getViewerCoordinatesFromMouseEvent=ra.b.prototype.Sz;Ba.Core.DocumentViewer.prototype.setToolMode=ra.b.prototype.Wo;Ba.Core.DocumentViewer.prototype.getToolMode=ra.b.prototype.Rk;Ba.Core.DocumentViewer.prototype.getToolModeMap=ra.b.prototype.PE;Ba.Core.DocumentViewer.prototype.getTool=
|
|
4310
|
+
ra.b.prototype.bg;Ba.Core.DocumentViewer.prototype.enableStylusMode=ra.b.prototype.s9;Ba.Core.DocumentViewer.prototype.disableStylusMode=ra.b.prototype.Exa;Ba.Core.DocumentViewer.prototype.isStylusModeEnabled=ra.b.prototype.Kca;Ba.Core.DocumentViewer.prototype.rotateClockwise=ra.b.prototype.TPa;Ba.Core.DocumentViewer.prototype.rotateCounterClockwise=ra.b.prototype.UPa;Ba.Core.DocumentViewer.prototype.textSearchInit=ra.b.prototype.IH;Ba.Core.DocumentViewer.prototype.getCurrentSearchMode=ra.b.prototype.KV;
|
|
4311
|
+
Ba.Core.DocumentViewer.prototype.isInViewportRenderMode=ra.b.prototype.KX;Ba.Core.DocumentViewer.prototype.SearchMode=function(){};Ba.Core.DocumentViewer.prototype.SearchMode.e_case_sensitive=Sa.f.ru;Ba.Core.DocumentViewer.prototype.SearchMode.e_whole_word=Sa.f.Rx;Ba.Core.DocumentViewer.prototype.SearchMode.e_search_up=Sa.f.Px;Ba.Core.DocumentViewer.prototype.SearchMode.e_page_stop=Sa.f.DI;Ba.Core.DocumentViewer.prototype.SearchMode.e_highlight=Sa.f.uI;Ba.Core.DocumentViewer.prototype.SearchMode.e_ambient_string=
|
|
4312
|
+
Sa.f.eI;Ba.Core.DocumentViewer.prototype.SearchMode.e_wild_card=Sa.f.Au;Ba.Core.DocumentViewer.prototype.SearchMode.e_regex=Sa.f.Nx;Ba.Core.DocumentViewer.prototype.displayBookmark=ra.b.prototype.Sxa;Ba.Core.DocumentViewer.prototype.displayPageLocation=ra.b.prototype.yv;Ba.Core.DocumentViewer.prototype.getDocument=ra.b.prototype.getDocument;Ba.Core.DocumentViewer.prototype.getSelectedText=ra.b.prototype.KE;Ba.Core.DocumentViewer.prototype.getSelectedTextQuads=ra.b.prototype.LE;Ba.Core.DocumentViewer.prototype.setTextHighlightColor=
|
|
4313
|
+
ra.b.prototype.lTa;Ba.Core.DocumentViewer.prototype.setSearchHighlightColors=ra.b.prototype.SSa;Ba.Core.DocumentViewer.prototype.displaySearchResult=ra.b.prototype.CU;Ba.Core.DocumentViewer.prototype.displayAdditionalSearchResult=ra.b.prototype.Qxa;Ba.Core.DocumentViewer.prototype.displayAdditionalSearchResults=ra.b.prototype.Rxa;Ba.Core.DocumentViewer.prototype.setActiveSearchResult=ra.b.prototype.GQa;Ba.Core.DocumentViewer.prototype.getActiveSearchResult=ra.b.prototype.d$;Ba.Core.DocumentViewer.prototype.clearSearchResults=
|
|
4314
|
+
ra.b.prototype.H7;Ba.Core.DocumentViewer.prototype.getPageSearchResults=ra.b.prototype.io;Ba.Core.DocumentViewer.prototype.setSearchPageBatchSize=ra.b.prototype.TSa;Ba.Core.DocumentViewer.prototype.getColorSeparationsAtPoint=ra.b.prototype.RBa;Ba.Core.DocumentViewer.prototype.scrollViewUpdated=ra.b.prototype.kha;Ba.Core.DocumentViewer.prototype.closeDocument=ra.b.prototype.Es;Ba.Core.DocumentViewer.prototype.enableAnnotations=ra.b.prototype.nza;Ba.Core.DocumentViewer.prototype.disableAnnotations=
|
|
4315
|
+
ra.b.prototype.dxa;Ba.Core.DocumentViewer.prototype.recalculateLayout=ra.b.prototype.Xfa;Ba.Core.DocumentViewer.prototype.refreshAll=ra.b.prototype.dr;Ba.Core.DocumentViewer.prototype.refreshPage=ra.b.prototype.HG;Ba.Core.DocumentViewer.prototype.getAnnotationsLoadedPromise=ra.b.prototype.xz;Ba.Core.DocumentViewer.prototype.loadBlankOfficeEditorDocument=ra.b.prototype.sJa;Ba.Core.DocumentViewer.prototype.getRenderingPipeline=ra.b.prototype.yaa;Ba.Core.DocumentViewer.prototype.setWatermark=ra.b.prototype.ur;
|
|
4316
|
+
Ba.Core.DocumentViewer.prototype.getWatermark=ra.b.prototype.RW;Ba.Core.DocumentViewer.prototype.getViewerElement=ra.b.prototype.va;Ba.Core.DocumentViewer.prototype.setViewerElement=ra.b.prototype.Fia;Ba.Core.DocumentViewer.prototype.getScrollViewElement=ra.b.prototype.mb;Ba.Core.DocumentViewer.prototype.setScrollViewElement=ra.b.prototype.uia;Ba.Core.DocumentViewer.prototype.isAutomaticLinkingEnabled=ra.b.prototype.bca;Ba.Core.DocumentViewer.prototype.enableAutomaticLinking=ra.b.prototype.tza;Ba.Core.DocumentViewer.prototype.disableAutomaticLinking=
|
|
4317
|
+
ra.b.prototype.jxa;Ba.Core.DocumentViewer.prototype.enableReadOnlyMode=ra.b.prototype.TU;Ba.Core.DocumentViewer.prototype.disableReadOnlyMode=ra.b.prototype.BU;Ba.Core.DocumentViewer.prototype.enableGrayscaleMode=ra.b.prototype.Aza;Ba.Core.DocumentViewer.prototype.disableGrayscaleMode=ra.b.prototype.rxa;Ba.Core.DocumentViewer.prototype.isGrayscaleModeEnabled=ra.b.prototype.ZHa;Ba.Core.DocumentViewer.prototype.enableGrayscaleAnnotationsMode=ra.b.prototype.zza;Ba.Core.DocumentViewer.prototype.disableGrayscaleAnnotationsMode=
|
|
4318
|
+
ra.b.prototype.qxa;Ba.Core.DocumentViewer.prototype.isGrayscaleAnnotationsModeEnabled=ra.b.prototype.YHa;Ba.Core.DocumentViewer.prototype.enableAlwaysPrintAnnotationsInColor=ra.b.prototype.jza;Ba.Core.DocumentViewer.prototype.disableAlwaysPrintAnnotationsInColor=ra.b.prototype.Zwa;Ba.Core.DocumentViewer.prototype.isAlwaysPrintAnnotationsInColorEnabled=ra.b.prototype.xHa;Ba.Core.DocumentViewer.prototype.getUserBookmarks=ra.b.prototype.tFa;Ba.Core.DocumentViewer.prototype.setUserBookmarks=ra.b.prototype.HP;
|
|
4319
|
+
Ba.Core.DocumentViewer.prototype.addUserBookmark=ra.b.prototype.$ra;Ba.Core.DocumentViewer.prototype.removeUserBookmark=ra.b.prototype.hPa;Ba.Core.DocumentViewer.prototype.setBookmarkIconShortcutVisibility=ra.b.prototype.TQa;Ba.Core.DocumentViewer.prototype.setBookmarkShortcutToggleOnFunction=ra.b.prototype.VQa;Ba.Core.DocumentViewer.prototype.setBookmarkShortcutToggleOffFunction=ra.b.prototype.UQa;Ba.Core.DocumentViewer.prototype.startSemanticDiff=ra.b.prototype.sUa;Ba.Core.DocumentViewer.prototype.stopSemanticDiff=
|
|
4320
|
+
ra.b.prototype.wUa;Ba.Core.DocumentViewer.prototype.setCustomLoadDocumentHandler=ra.b.prototype.nRa;Ba.Core.DocumentViewer.prototype.openURI=ra.b.prototype.nZ;Ba.Core.DocumentViewer.prototype.setOpenURIHandler=ra.b.prototype.xSa;Ba.Core.DocumentViewer.prototype.downloadRemainingAnnotations=ra.b.prototype.c9;Ba.Core.RenderingPipeline={};Ba.Core.RenderingPipeline.PipelineManager=gb.a;Ba.Core.RenderingPipeline.PipelineManager.prototype.registerHandlers=gb.a.prototype.pga;Ba.Core.RenderingPipeline.PipelineManager.prototype.pushChange=
|
|
4321
|
+
gb.a.prototype.br;Ba.Core.RenderingPipeline.PipelineManager.prototype.hasPipeline=gb.a.prototype.mGa;Ba.Core.SetCachingLevel=Ba.da.XXa;Ba.Core.SetPreRenderLevel=Ba.da.YXa;Ba.Core.setCachingLevel=Ba.da.lP;Ba.Core.setPreRenderLevel=Ba.da.nia;Ba.Core.DocumentViewer.prototype.getMargin=ra.b.prototype.qM;Ba.Core.DocumentViewer.prototype.setMargin=ra.b.prototype.$Ra;Ba.Core.DocumentViewer.prototype.updateView=ra.b.prototype.qf;Ba.Core.DocumentViewer.prototype.updateVisiblePages=ra.b.prototype.OB;Ba.Core.DocumentViewer.prototype.stopPageRender=
|
|
4322
|
+
ra.b.prototype.xB;Ba.Core.DocumentViewer.prototype.drawSelection=ra.b.prototype.PU;Ba.Core.DocumentViewer.prototype.clearSelection=ra.b.prototype.Np;Ba.Core.DocumentViewer.prototype.removeContent=ra.b.prototype.Mm;Ba.Core.DocumentViewer.prototype.select=ra.b.prototype.select;Ba.Core.DocumentViewer.prototype.getPageHeight=ra.b.prototype.Pd;Ba.Core.DocumentViewer.prototype.getPageWidth=ra.b.prototype.$d;Ba.Core.DocumentViewer.prototype.setPageZoom=ra.b.prototype.CP;Ba.Core.DocumentViewer.prototype.getPageZoom=
|
|
4323
|
+
ra.b.prototype.Qb;Ba.Core.DocumentViewer.prototype.getRotation=ra.b.prototype.jf;Ba.Core.DocumentViewer.prototype.setRotation=ra.b.prototype.gH;Ba.Core.DocumentViewer.prototype.getCompleteRotation=ra.b.prototype.tc;Ba.Core.DocumentViewer.prototype.getPageRotations=ra.b.prototype.PDa;Ba.Core.DocumentViewer.prototype.setPageRotations=ra.b.prototype.ASa;Ba.Core.DocumentViewer.prototype.getAnnotationManager=ra.b.prototype.ia;Ba.Core.DocumentViewer.prototype.getAccessibleReadingOrderManager=ra.b.prototype.c$;
|
|
4324
|
+
Ba.Core.DocumentViewer.prototype.getContentEditManager=ra.b.prototype.Wc;Ba.Core.DocumentViewer.prototype.getMeasurementManager=ra.b.prototype.rM;Ba.Core.DocumentViewer.prototype.getAnnotationHistoryManager=ra.b.prototype.tBa;Ba.Core.DocumentViewer.prototype.setAnnotationImportOptions=ra.b.prototype.NQa;Ba.Core.DocumentViewer.prototype.setInternalAnnotationsTransform=ra.b.prototype.PRa;Ba.Core.DocumentViewer.prototype.setPagesUpdatedInternalAnnotationsTransform=ra.b.prototype.FSa;Ba.Core.DocumentViewer.prototype.setDocumentXFDFRetriever=
|
|
4325
|
+
ra.b.prototype.j0;Ba.Core.DocumentViewer.prototype.enableLoadingAnnotationsFromVisiblePages=ra.b.prototype.Dza;Ba.Core.DocumentViewer.prototype.disableLoadingAnnotationsFromVisiblePages=ra.b.prototype.vxa;Ba.Core.DocumentViewer.prototype.setPageVisibilityCallback=ra.b.prototype.ESa;Ba.Core.DocumentViewer.prototype.getDisplayModeManager=ra.b.prototype.Lc;Ba.Core.DocumentViewer.prototype.snapToNearest=ra.b.prototype.sH;Ba.Core.DocumentViewer.prototype.enableViewportRenderMode=ra.b.prototype.Mza;Ba.Core.DocumentViewer.prototype.disableViewportRenderMode=
|
|
4326
4326
|
ra.b.prototype.Hxa;Ba.Core.DocumentViewer.prototype.getViewportRegionRect=ra.b.prototype.vFa;Ba.Core.DocumentViewer.prototype.getExactViewportRegionRect=ra.b.prototype.zCa;Ba.Core.DocumentViewer.prototype.setRenderBatchSize=ra.b.prototype.pia;Ba.Core.DocumentViewer.prototype.setDefaultPageColor=ra.b.prototype.qRa;Ba.Core.DocumentViewer.prototype.unmount=ra.b.prototype.HVa;Ba.Core.DocumentViewer.prototype.getContentEditHistoryManager=ra.b.prototype.Yf;Ba.Core.DocumentViewer.prototype.getSpreadsheetEditorManager=
|
|
4327
4327
|
ra.b.prototype.Laa;Ba.Core.DocumentViewer.prototype.loadBlankSpreadsheet=ra.b.prototype.tJa;Ba.Core.ContentEditHistoryManager=xb.b;Ba.Core.ContentEditHistoryManager.prototype.canUndo=xb.b.prototype.BK;Ba.Core.ContentEditHistoryManager.prototype.canRedo=xb.b.prototype.AK;Ba.Core.ContentEditHistoryManager.prototype.undo=xb.b.prototype.undo;Ba.Core.ContentEditHistoryManager.prototype.redo=xb.b.prototype.redo;Ba.Core.ContentEditHistoryManager.prototype.createCommandObject=xb.b.prototype.bU;Ba.Core.DisplayMode=
|
|
4328
4328
|
b.a;Ba.Core.DisplayMode.prototype.setParameters=b.a.prototype.setParameters;Ba.Core.DisplayMode.prototype.isContinuous=b.a.prototype.kF;Ba.Core.DisplayMode.prototype.IsScrollable=b.a.prototype.wu;Ba.Core.DisplayMode.prototype.windowToPage=b.a.prototype.rl;Ba.Core.DisplayMode.prototype.windowToPageNoRotate=b.a.prototype.JWa;Ba.Core.DisplayMode.prototype.pageToWindow=b.a.prototype.Pg;Ba.Core.DisplayMode.prototype.pageToWindowNoRotate=b.a.prototype.rO;Ba.Core.DisplayMode.prototype.getSelectedPages=b.a.prototype.dt;
|