@pdftron/webviewer 11.7.0-20250726 → 11.7.0-20250727

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.7.0-20250726",
2
+ "version": "11.7.0-20250727",
3
3
  "name": "@pdftron/webviewer",
4
4
  "main": "webviewer.min.js",
5
5
  "author": "Apryse",
@@ -2438,7 +2438,7 @@ e),2)+Math.pow(Math.abs(n-b),2)<Math.pow(this.ba.ha.dX().radiusThreshold/f,2)};y
2438
2438
  this,e,b=this.ba.jA(z),f=b.pageNumber,r=this.ba.Pb(f);"pageContainer"===(null===(e=z.target.parentElement)||void 0===e?void 0:e.className)||"pageContainer"===z.target.className?this.pja(b,r,f).then(function(){n.ba.ha.yc({pageNumber:f})}):(this.oi=null,this.ba.ha.yc({pageNumber:f}))};y.prototype.cL=function(z){this.oi=null;this.ba.ha.yc({pageNumber:z})};y.prototype.jp=function(z){var n=this;if(this.annotation){var e=this.ba.Pb(this.annotation.PageNumber);return this.pja(z,e,this.annotation.PageNumber).then(function(b){var f=
2439
2439
  b.x;b=b.y;n.oi&&(z.x=f,z.y=b)})}};return y}()},function(ya,va,h){var ma=h(80),oa=h(183),na=h(134),ja=h(71),ia=h(243);ya=function(){function ca(){this.Ph=[];this.rd=-1;this.sk=[];this.we=Array(8);this.LJ=null;this.Jd="";this.kg=null;this.Tq()}ca.prototype.Tq=function(){this.rd=this.Ig=-1;this.sk=[]};ca.prototype.ge=function(y){return this.rd===y.rd};ca.prototype.nw=function(){return this.Ph.length};ca.prototype.Mk=function(){return this.Ph.length?this.Ph[0]:new oa.a};ca.prototype.$z=function(){return this.Ph.length?
2440
2440
  this.Ph[this.Ph.length-1]:new oa.a};ca.prototype.Pk=function(){return null==this.LJ?new ca:this.LJ};ca.prototype.jo=function(y){void 0===y&&(y=!1);var z=new na.a;z.Gx(this.we);y&&z.normalize();return z};ca.prototype.iD=function(y){this.rd=y};ca.prototype.tM=function(){if(this.sk.length)return this.sk[0];var y=new ja.a,z=new ja.a,n=this.Mk(),e=this.$z(),b=Array(8),f=Array(8);n.Gj(0,b);y.x=(b[0]+b[2]+b[4]+b[6])/4;y.y=(b[1]+b[3]+b[5]+b[7])/4;e.Gj(e.Fq()-1,f);z.x=(f[0]+f[2]+f[4]+f[6])/4;z.y=(f[1]+f[3]+
2441
- f[5]+f[7])/4;.01>Math.abs(y.x-z.x)&&.01>Math.abs(y.y-z.y)&&this.sk.push(0);y=Math.atan2(z.y-y.y,z.x-y.x);y*=180/3.1415926;0>y&&(y+=360);this.sk.push(y);return 0};ca.prototype.Yia=function(y){this.LJ=y};ca.prototype.m7=function(y){0<this.Ph.length&&this.Ph[this.Ph.length-1].cUa(y);this.Ph.push(y);var z=Object(ia.b)(this.Jd),n=Array(8);y.Uk(n);if(z)for(z=0;8>z;z++)this.we[z]=n[z];else this.Jd+=" ",ma.a.PJ(this.we,n,!1,0);this.Jd+=y.Jd};return ca}();va.a=ya},function(ya,va,h){function ma(){return"Ny8yNi8yMDI1fDg1NTdkOTdlZg=="}
2441
+ f[5]+f[7])/4;.01>Math.abs(y.x-z.x)&&.01>Math.abs(y.y-z.y)&&this.sk.push(0);y=Math.atan2(z.y-y.y,z.x-y.x);y*=180/3.1415926;0>y&&(y+=360);this.sk.push(y);return 0};ca.prototype.Yia=function(y){this.LJ=y};ca.prototype.m7=function(y){0<this.Ph.length&&this.Ph[this.Ph.length-1].cUa(y);this.Ph.push(y);var z=Object(ia.b)(this.Jd),n=Array(8);y.Uk(n);if(z)for(z=0;8>z;z++)this.we[z]=n[z];else this.Jd+=" ",ma.a.PJ(this.we,n,!1,0);this.Jd+=y.Jd};return ca}();va.a=ya},function(ya,va,h){function ma(){return"Ny8yNy8yMDI1fDg1NTdkOTdlZg=="}
2442
2442
  function oa(){return"11.7.0"}h.d(va,"b",function(){return oa});h.d(va,"a",function(){return ma})},function(ya,va,h){function ma(ca,y){return-1<" ".concat(ca.className," ").indexOf(" ".concat(y," "))}function oa(ca,y){return 1E-6>Math.abs(ca-y)}function na(ca,y,z){y.Iva=void 0;z.Iva=void 0;(0,eval)("str")}function ja(ca,y,z){function n(){for(;ca();)if(100<Date.now()-e&&!z){e=Date.now();setTimeout(n,0);return}y()}var e=Date.now();n()}function ia(ca,y,z){ca.ZR||(ca.ZR={});ca.ZR[y]||(ca.ZR[y]=!0,ca.addEventListener(y,
2443
2443
  z))}h.d(va,"d",function(){return ma});h.d(va,"c",function(){return oa});h.d(va,"e",function(){return na});h.d(va,"b",function(){return ja});h.d(va,"a",function(){return ia});ya=h(1);h.n(ya);h(2)},function(ya,va,h){function ma(){return na}function oa(ia){na=ia}h.d(va,"a",function(){return ja});h.d(va,"c",function(){return oa});h.d(va,"b",function(){return ma});var na,ja="rtl"},function(ya,va,h){(function(ma){function oa(fa){"function"!==typeof fa&&(fa=new Function("".concat(fa)));for(var ha=Array(arguments.length-
2444
2444
  1),x=0;x<ha.length;x++)ha[x]=arguments[x+1];f[b]={ph:fa,args:ha};w(b);return b++}function na(fa){delete f[fa]}function ja(fa){if(r)setTimeout(ja,0,fa);else{var ha=f[fa];if(ha){r=!0;try{var x=ha.ph,ba=ha.args;switch(ba.length){case 0:x();break;case 1:x(ba[0]);break;case 2:x(ba[0],ba[1]);break;case 3:x(ba[0],ba[1],ba[2]);break;default:x.apply(void 0,ba)}}finally{na(fa),r=!1}}}}function ia(){w=function(fa){ma.Mea(function(){ja(fa)})}}function ca(){if(e.postMessage&&!e.importScripts){var fa=!0,ha=e.onmessage;