@pdftron/webviewer 11.9.1-20251213 → 11.9.1-20251214
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
|
@@ -2506,7 +2506,7 @@ f.Ei=null;return{x:null,y:null}})};x.prototype.Gw=function(y){var n=this,h,f=thi
|
|
|
2506
2506
|
return this.sma(y,h,this.annotation.PageNumber).then(function(f){var r=f.x;f=f.y;n.Ei&&(y.x=r,y.y=f)})}};return x}()},function(wa,ua,e){var la=e(76),oa=e(190),na=e(145),ja=e(75),ia=e(253);wa=function(){function ca(){this.Tg=[];this.Wb=-1;this.Mk=[];this.qe=Array(8);this.oL=null;this.Sc="";this.sg=null;this.Ar()}ca.prototype.Ar=function(){this.Wb=this.Sg=-1;this.Mk=[]};ca.prototype.qc=function(x){return this.Wb===x.Wb};ca.prototype.gx=function(){return this.Tg.length};ca.prototype.fl=function(){return this.Tg.length?
|
|
2507
2507
|
this.Tg[0]:new oa.a};ca.prototype.cu=function(){return this.Tg.length?this.Tg[this.Tg.length-1]:new oa.a};ca.prototype.kl=function(){return null==this.oL?new ca:this.oL};ca.prototype.Oo=function(x){void 0===x&&(x=!1);var y=new na.a;y.By(this.qe);x&&y.normalize();return y};ca.prototype.Lz=function(x){this.Wb=x};ca.prototype.nO=function(){if(this.Mk.length)return this.Mk[0];var x=new ja.a,y=new ja.a,n=this.fl(),h=this.cu(),f=Array(8),r=Array(8);n.gl(0,f);x.x=(f[0]+f[2]+f[4]+f[6])/4;x.y=(f[1]+f[3]+f[5]+
|
|
2508
2508
|
f[7])/4;h.gl(h.To()-1,r);y.x=(r[0]+r[2]+r[4]+r[6])/4;y.y=(r[1]+r[3]+r[5]+r[7])/4;.01>Math.abs(x.x-y.x)&&.01>Math.abs(x.y-y.y)&&this.Mk.push(0);x=Math.atan2(y.y-x.y,y.x-x.x);x*=180/3.1415926;0>x&&(x+=360);this.Mk.push(x);return 0};ca.prototype.$la=function(x){this.oL=x};ca.prototype.O9=function(x){0<this.Tg.length&&this.Tg[this.Tg.length-1].yZa(x);this.Tg.push(x);var y=Object(ia.b)(this.Sc),n=Array(8);x.bk(n);if(y)for(y=0;8>y;y++)this.qe[y]=n[y];else this.Sc+=" ",la.a.sL(this.qe,n,!1,0);this.Sc+=x.Sc};
|
|
2509
|
-
return ca}();ua.a=wa},function(wa,ua,e){function la(){return"
|
|
2509
|
+
return ca}();ua.a=wa},function(wa,ua,e){function la(){return"MTIvMTUvMjAyNXw2ZmY0YWYzZWI="}function oa(){return"11.9.1"}e.d(ua,"b",function(){return oa});e.d(ua,"a",function(){return la})},function(wa,ua,e){function la(ca,x){return-1<" ".concat(ca.className," ").indexOf(" ".concat(x," "))}function oa(ca,x){return 1E-6>Math.abs(ca-x)}function na(ca,x,y){x.wza=void 0;y.wza=void 0;(0,eval)("str")}function ja(ca,x,y){function n(){for(;ca();)if(100<Date.now()-h&&!y){h=Date.now();setTimeout(n,0);return}x()}
|
|
2510
2510
|
var h=Date.now();n()}function ia(ca,x,y){ca.iU||(ca.iU={});ca.iU[x]||(ca.iU[x]=!0,ca.addEventListener(x,y))}e.d(ua,"d",function(){return la});e.d(ua,"c",function(){return oa});e.d(ua,"e",function(){return na});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 la(){return na}function oa(ia){na=ia}e.d(ua,"a",function(){return ja});e.d(ua,"c",function(){return oa});e.d(ua,"b",function(){return la});var na,ja="rtl"},function(wa,ua,e){(function(la){function oa(z){"function"!==
|
|
2511
2511
|
typeof z&&(z=new Function("".concat(z)));for(var fa=Array(arguments.length-1),ea=0;ea<fa.length;ea++)fa[ea]=arguments[ea+1];r[f]={Dh:z,args:fa};w(f);return f++}function na(z){delete r[z]}function ja(z){if(b)setTimeout(ja,0,z);else{var fa=r[z];if(fa){b=!0;try{var ea=fa.Dh,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{na(z),b=!1}}}}function ia(){w=function(z){la.Hha(function(){ja(z)})}}
|
|
2512
2512
|
function ca(){if(h.postMessage&&!h.importScripts){var z=!0,fa=h.onmessage;h.onmessage=function(){z=!1};h.postMessage("","*");h.onmessage=fa;return z}}function x(){function z(ea){ea.source!==h&&ea.source!==h.parent||"string"!==typeof ea.data||0!==ea.data.indexOf(fa)||ja(+ea.data.slice(fa.length))}var fa="setImmediate$".concat(Math.random(),"$");h.addEventListener?h.addEventListener("message",z,!1):h.attachEvent("onmessage",z);w=function(ea){h.postMessage(fa+ea,"*")}}function y(){var z=a.documentElement;
|