@pdftron/webviewer 11.7.0-20250804 → 11.7.0-20250805
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
|
@@ -2444,7 +2444,7 @@ Object(pa.isArray)(z)?z.reduce(function(b,f){return b|f},0):z;this.ba.MIa().then
|
|
|
2444
2444
|
this,e,b=this.ba.mA(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.vja(b,r,f).then(function(){n.ba.ha.yc({pageNumber:f})}):(this.pi=null,this.ba.ha.yc({pageNumber:f}))};w.prototype.hL=function(z){this.pi=null;this.ba.ha.yc({pageNumber:z})};w.prototype.jp=function(z){var n=this;if(this.annotation){var e=this.ba.Pb(this.annotation.PageNumber);return this.vja(z,e,this.annotation.PageNumber).then(function(b){var f=
|
|
2445
2445
|
b.x;b=b.y;n.pi&&(z.x=f,z.y=b)})}};return w}()},function(ya,va,h){var ma=h(80),pa=h(184),oa=h(134),ja=h(71),ia=h(246);ya=function(){function ba(){this.Qh=[];this.rd=-1;this.sk=[];this.we=Array(8);this.SJ=null;this.Jd="";this.mg=null;this.Tq()}ba.prototype.Tq=function(){this.rd=this.Kg=-1;this.sk=[]};ba.prototype.ge=function(w){return this.rd===w.rd};ba.prototype.qw=function(){return this.Qh.length};ba.prototype.Mk=function(){return this.Qh.length?this.Qh[0]:new pa.a};ba.prototype.cA=function(){return this.Qh.length?
|
|
2446
2446
|
this.Qh[this.Qh.length-1]:new pa.a};ba.prototype.Pk=function(){return null==this.SJ?new ba:this.SJ};ba.prototype.jo=function(w){void 0===w&&(w=!1);var z=new oa.a;z.Hx(this.we);w&&z.normalize();return z};ba.prototype.pD=function(w){this.rd=w};ba.prototype.yM=function(){if(this.sk.length)return this.sk[0];var w=new ja.a,z=new ja.a,n=this.Mk(),e=this.cA(),b=Array(8),f=Array(8);n.Fj(0,b);w.x=(b[0]+b[2]+b[4]+b[6])/4;w.y=(b[1]+b[3]+b[5]+b[7])/4;e.Fj(e.Fq()-1,f);z.x=(f[0]+f[2]+f[4]+f[6])/4;z.y=(f[1]+f[3]+
|
|
2447
|
-
f[5]+f[7])/4;.01>Math.abs(w.x-z.x)&&.01>Math.abs(w.y-z.y)&&this.sk.push(0);w=Math.atan2(z.y-w.y,z.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.sk.push(w);return 0};ba.prototype.dja=function(w){this.SJ=w};ba.prototype.r7=function(w){0<this.Qh.length&&this.Qh[this.Qh.length-1].lUa(w);this.Qh.push(w);var z=Object(ia.b)(this.Jd),n=Array(8);w.Uk(n);if(z)for(z=0;8>z;z++)this.we[z]=n[z];else this.Jd+=" ",ma.a.WJ(this.we,n,!1,0);this.Jd+=w.Jd};return ba}();va.a=ya},function(ya,va,h){function ma(){return"
|
|
2447
|
+
f[5]+f[7])/4;.01>Math.abs(w.x-z.x)&&.01>Math.abs(w.y-z.y)&&this.sk.push(0);w=Math.atan2(z.y-w.y,z.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.sk.push(w);return 0};ba.prototype.dja=function(w){this.SJ=w};ba.prototype.r7=function(w){0<this.Qh.length&&this.Qh[this.Qh.length-1].lUa(w);this.Qh.push(w);var z=Object(ia.b)(this.Jd),n=Array(8);w.Uk(n);if(z)for(z=0;8>z;z++)this.we[z]=n[z];else this.Jd+=" ",ma.a.WJ(this.we,n,!1,0);this.Jd+=w.Jd};return ba}();va.a=ya},function(ya,va,h){function ma(){return"OC81LzIwMjV8ZjhkMzY4OWMx"}
|
|
2448
2448
|
function pa(){return"11.7.0"}h.d(va,"b",function(){return pa});h.d(va,"a",function(){return ma})},function(ya,va,h){function ma(ba,w){return-1<" ".concat(ba.className," ").indexOf(" ".concat(w," "))}function pa(ba,w){return 1E-6>Math.abs(ba-w)}function oa(ba,w,z){w.Ova=void 0;z.Ova=void 0;(0,eval)("str")}function ja(ba,w,z){function n(){for(;ba();)if(100<Date.now()-e&&!z){e=Date.now();setTimeout(n,0);return}w()}var e=Date.now();n()}function ia(ba,w,z){ba.eS||(ba.eS={});ba.eS[w]||(ba.eS[w]=!0,ba.addEventListener(w,
|
|
2449
2449
|
z))}h.d(va,"d",function(){return ma});h.d(va,"c",function(){return pa});h.d(va,"e",function(){return oa});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 oa}function pa(ia){oa=ia}h.d(va,"a",function(){return ja});h.d(va,"c",function(){return pa});h.d(va,"b",function(){return ma});var oa,ja="rtl"},function(ya,va,h){(function(ma){function pa(ea){"function"!==typeof ea&&(ea=new Function("".concat(ea)));for(var ha=Array(arguments.length-
|
|
2450
2450
|
1),x=0;x<ha.length;x++)ha[x]=arguments[x+1];f[b]={ph:ea,args:ha};y(b);return b++}function oa(ea){delete f[ea]}function ja(ea){if(r)setTimeout(ja,0,ea);else{var ha=f[ea];if(ha){r=!0;try{var x=ha.ph,ca=ha.args;switch(ca.length){case 0:x();break;case 1:x(ca[0]);break;case 2:x(ca[0],ca[1]);break;case 3:x(ca[0],ca[1],ca[2]);break;default:x.apply(void 0,ca)}}finally{oa(ea),r=!1}}}}function ia(){y=function(ea){ma.Tea(function(){ja(ea)})}}function ba(){if(e.postMessage&&!e.importScripts){var ea=!0,ha=e.onmessage;
|