@pdftron/webviewer 11.9.0-20251019 → 11.9.0-20251020

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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "11.9.0-20251019",
2
+ "version": "11.9.0-20251020",
3
3
  "name": "@pdftron/webviewer",
4
4
  "main": "webviewer.min.js",
5
5
  "author": "Apryse",
@@ -2492,7 +2492,7 @@ Object(na.isArray)(x)?x.reduce(function(h,r){return h|r},0):x;this.ba.hMa().then
2492
2492
  f,h=this.ba.XA(x),r=h.pageNumber,b=this.ba.Rb(r);"pageContainer"===(null===(f=x.target.parentElement)||void 0===f?void 0:f.className)||"pageContainer"===x.target.className?this.zla(h,b,r).then(function(){n.ba.ga.Hc({pageNumber:r})}):(this.zi=null,this.ba.ga.Hc({pageNumber:r}))};y.prototype.jM=function(x){this.zi=null;this.ba.ga.Hc({pageNumber:x})};y.prototype.Fp=function(x){var n=this;if(this.annotation){var f=this.ba.Rb(this.annotation.PageNumber);return this.zla(x,f,this.annotation.PageNumber).then(function(h){var r=
2493
2493
  h.x;h=h.y;n.zi&&(x.x=r,x.y=h)})}};return y}()},function(wa,ua,e){var ma=e(76),na=e(188),oa=e(143),ja=e(75),ia=e(250);wa=function(){function ca(){this.Qg=[];this.kd=-1;this.Gk=[];this.le=Array(8);this.TK=null;this.Vc="";this.qg=null;this.rr()}ca.prototype.rr=function(){this.kd=this.Pg=-1;this.Gk=[]};ca.prototype.me=function(y){return this.kd===y.kd};ca.prototype.Rw=function(){return this.Qg.length};ca.prototype.$k=function(){return this.Qg.length?this.Qg[0]:new na.a};ca.prototype.LA=function(){return this.Qg.length?
2494
2494
  this.Qg[this.Qg.length-1]:new na.a};ca.prototype.dl=function(){return null==this.TK?new ca:this.TK};ca.prototype.Mo=function(y){void 0===y&&(y=!1);var x=new oa.a;x.my(this.le);y&&x.normalize();return x};ca.prototype.vz=function(y){this.kd=y};ca.prototype.PN=function(){if(this.Gk.length)return this.Gk[0];var y=new ja.a,x=new ja.a,n=this.$k(),f=this.LA(),h=Array(8),r=Array(8);n.Ym(0,h);y.x=(h[0]+h[2]+h[4]+h[6])/4;y.y=(h[1]+h[3]+h[5]+h[7])/4;f.Ym(f.fr()-1,r);x.x=(r[0]+r[2]+r[4]+r[6])/4;x.y=(r[1]+r[3]+
2495
- r[5]+r[7])/4;.01>Math.abs(y.x-x.x)&&.01>Math.abs(y.y-x.y)&&this.Gk.push(0);y=Math.atan2(x.y-y.y,x.x-y.x);y*=180/3.1415926;0>y&&(y+=360);this.Gk.push(y);return 0};ca.prototype.gla=function(y){this.TK=y};ca.prototype.f9=function(y){0<this.Qg.length&&this.Qg[this.Qg.length-1].gYa(y);this.Qg.push(y);var x=Object(ia.b)(this.Vc),n=Array(8);y.Zj(n);if(x)for(x=0;8>x;x++)this.le[x]=n[x];else this.Vc+=" ",ma.a.XK(this.le,n,!1,0);this.Vc+=y.Vc};return ca}();ua.a=wa},function(wa,ua,e){function ma(){return"MTAvMTkvMjAyNXw0MmRkNzM2NzFk"}
2495
+ r[5]+r[7])/4;.01>Math.abs(y.x-x.x)&&.01>Math.abs(y.y-x.y)&&this.Gk.push(0);y=Math.atan2(x.y-y.y,x.x-y.x);y*=180/3.1415926;0>y&&(y+=360);this.Gk.push(y);return 0};ca.prototype.gla=function(y){this.TK=y};ca.prototype.f9=function(y){0<this.Qg.length&&this.Qg[this.Qg.length-1].gYa(y);this.Qg.push(y);var x=Object(ia.b)(this.Vc),n=Array(8);y.Zj(n);if(x)for(x=0;8>x;x++)this.le[x]=n[x];else this.Vc+=" ",ma.a.XK(this.le,n,!1,0);this.Vc+=y.Vc};return ca}();ua.a=wa},function(wa,ua,e){function ma(){return"MTAvMjAvMjAyNXw0MmRkNzM2NzFk"}
2496
2496
  function na(){return"11.9.0"}e.d(ua,"b",function(){return na});e.d(ua,"a",function(){return ma})},function(wa,ua,e){function ma(ca,y){return-1<" ".concat(ca.className," ").indexOf(" ".concat(y," "))}function na(ca,y){return 1E-6>Math.abs(ca-y)}function oa(ca,y,x){y.yya=void 0;x.yya=void 0;(0,eval)("str")}function ja(ca,y,x){function n(){for(;ca();)if(100<Date.now()-f&&!x){f=Date.now();setTimeout(n,0);return}y()}var f=Date.now();n()}function ia(ca,y,x){ca.BT||(ca.BT={});ca.BT[y]||(ca.BT[y]=!0,ca.addEventListener(y,
2497
2497
  x))}e.d(ua,"d",function(){return ma});e.d(ua,"c",function(){return na});e.d(ua,"e",function(){return oa});e.d(ua,"b",function(){return ja});e.d(ua,"a",function(){return ia});wa=e(1);e.n(wa);e(2)},function(wa,ua,e){function ma(){return oa}function na(ia){oa=ia}e.d(ua,"a",function(){return ja});e.d(ua,"c",function(){return na});e.d(ua,"b",function(){return ma});var oa,ja="rtl"},function(wa,ua,e){(function(ma){function na(aa){"function"!==typeof aa&&(aa=new Function("".concat(aa)));for(var fa=Array(arguments.length-
2498
2498
  1),ea=0;ea<fa.length;ea++)fa[ea]=arguments[ea+1];r[h]={Bh:aa,args:fa};w(h);return h++}function oa(aa){delete r[aa]}function ja(aa){if(b)setTimeout(ja,0,aa);else{var fa=r[aa];if(fa){b=!0;try{var ea=fa.Bh,ha=fa.args;switch(ha.length){case 0:ea();break;case 1:ea(ha[0]);break;case 2:ea(ha[0],ha[1]);break;case 3:ea(ha[0],ha[1],ha[2]);break;default:ea.apply(void 0,ha)}}finally{oa(aa),b=!1}}}}function ia(){w=function(aa){ma.Vga(function(){ja(aa)})}}function ca(){if(f.postMessage&&!f.importScripts){var aa=