UNPKG

@pdftron/webviewer

Version:

[WebViewer](https://www.apryse.com/webviewer) is a powerful JavaScript Document SDK and UI Component Library that is a part of the [Apryse PDF SDK](https://www.apryse.com). It provides a slick, out-of-the-box responsive UI that interacts with the core lib

5 lines (4 loc) 1.22 kB
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/ (function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[14],{693:function(wa,ua,e){e.r(ua);var ka=e(0),pa=e(401);wa=e(683);var na=e(146);e=e(605);var ia={},ca=function(ba){function x(y,r){var b=ba.call(this,y,r)||this;b.url=y;b.range=r;b.status=pa.a.NOT_STARTED;return b}Object(ka.d)(x,ba);x.prototype.start=function(y){var r=this;"undefined"===typeof ia[this.range.start]&&(ia[this.range.start]={k5:function(b){var h=atob(b),n,f=h.length;b=new Uint8Array(f);for(n=0;n<f;++n)b[n]=h.charCodeAt(n); h=b.length;n="";for(var a=0;a<h;)f=b.subarray(a,a+1024),a+=1024,n+=String.fromCharCode.apply(null,f);r.k5(n,y)},l9a:function(){r.status=pa.a.ERROR;y({code:r.status})}},window.external.notify(this.url),this.status=pa.a.STARTED);r.kP()};return x}(wa.ByteRangeRequest);wa=function(ba){function x(y,r,b,h){y=ba.call(this,y,b,h)||this;y.lJ=ca;return y}Object(ka.d)(x,ba);x.prototype.$F=function(y,r){return"".concat(y,"?").concat(r.start,"&").concat(r.stop?r.stop:"")};return x}(na.a);Object(e.a)(wa);Object(e.b)(wa); ua["default"]=wa}}]);}).call(this || window)