@vue-pdf-viewer/viewer 4.0.0-beta.2 → 4.0.0-beta.3

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.
@@ -1,4 +1,4 @@
1
- "use strict";const kt=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-CZEIhxSz.cjs");function En(e,t){for(var a=0;a<t.length;a++){const r=t[a];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const n=Object.getOwnPropertyDescriptor(r,i);n&&Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var a=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(a,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),a}var ee={options:{usePureJavaScript:!1}},Ei={},Hr={};Hr.byteLength=An;Hr.toByteArray=_n;Hr.fromByteArray=Rn;var xt=[],ot=[],In=typeof Uint8Array<"u"?Uint8Array:Array,ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Jt=0,Bn=ta.length;Jt<Bn;++Jt)xt[Jt]=ta[Jt],ot[ta.charCodeAt(Jt)]=Jt;ot[45]=62;ot[95]=63;function xi(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=e.indexOf("=");a===-1&&(a=t);var r=a===t?0:4-a%4;return[a,r]}function An(e){var t=xi(e),a=t[0],r=t[1];return(a+r)*3/4-r}function bn(e,t,a){return(t+a)*3/4-a}function _n(e){var t,a=xi(e),r=a[0],i=a[1],n=new In(bn(e,r,i)),s=0,o=i>0?r-4:r,l;for(l=0;l<o;l+=4)t=ot[e.charCodeAt(l)]<<18|ot[e.charCodeAt(l+1)]<<12|ot[e.charCodeAt(l+2)]<<6|ot[e.charCodeAt(l+3)],n[s++]=t>>16&255,n[s++]=t>>8&255,n[s++]=t&255;return i===2&&(t=ot[e.charCodeAt(l)]<<2|ot[e.charCodeAt(l+1)]>>4,n[s++]=t&255),i===1&&(t=ot[e.charCodeAt(l)]<<10|ot[e.charCodeAt(l+1)]<<4|ot[e.charCodeAt(l+2)]>>2,n[s++]=t>>8&255,n[s++]=t&255),n}function wn(e){return xt[e>>18&63]+xt[e>>12&63]+xt[e>>6&63]+xt[e&63]}function Nn(e,t,a){for(var r,i=[],n=t;n<a;n+=3)r=(e[n]<<16&16711680)+(e[n+1]<<8&65280)+(e[n+2]&255),i.push(wn(r));return i.join("")}function Rn(e){for(var t,a=e.length,r=a%3,i=[],n=16383,s=0,o=a-r;s<o;s+=n)i.push(Nn(e,s,s+n>o?o:s+n));return r===1?(t=e[a-1],i.push(xt[t>>2]+xt[t<<4&63]+"==")):r===2&&(t=(e[a-2]<<8)+e[a-1],i.push(xt[t>>10]+xt[t>>4&63]+xt[t<<2&63]+"=")),i.join("")}var Aa={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Aa.read=function(e,t,a,r,i){var n,s,o=i*8-r-1,l=(1<<o)-1,f=l>>1,u=-7,p=a?i-1:0,m=a?-1:1,S=e[t+p];for(p+=m,n=S&(1<<-u)-1,S>>=-u,u+=o;u>0;n=n*256+e[t+p],p+=m,u-=8);for(s=n&(1<<-u)-1,n>>=-u,u+=r;u>0;s=s*256+e[t+p],p+=m,u-=8);if(n===0)n=1-f;else{if(n===l)return s?NaN:(S?-1:1)*(1/0);s=s+Math.pow(2,r),n=n-f}return(S?-1:1)*s*Math.pow(2,n-r)};Aa.write=function(e,t,a,r,i,n){var s,o,l,f=n*8-i-1,u=(1<<f)-1,p=u>>1,m=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=r?0:n-1,C=r?1:-1,A=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+p>=1?t+=m/l:t+=m*Math.pow(2,1-p),t*l>=2&&(s++,l/=2),s+p>=u?(o=0,s=u):s+p>=1?(o=(t*l-1)*Math.pow(2,i),s=s+p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[a+S]=o&255,S+=C,o/=256,i-=8);for(s=s<<i|o,f+=i;f>0;e[a+S]=s&255,S+=C,s/=256,f-=8);e[a+S-C]|=A*128};/*!
1
+ "use strict";const kt=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-Zf436-uP.cjs");function En(e,t){for(var a=0;a<t.length;a++){const r=t[a];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const n=Object.getOwnPropertyDescriptor(r,i);n&&Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var a=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(a,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),a}var ee={options:{usePureJavaScript:!1}},Ei={},Hr={};Hr.byteLength=An;Hr.toByteArray=_n;Hr.fromByteArray=Rn;var xt=[],ot=[],In=typeof Uint8Array<"u"?Uint8Array:Array,ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Jt=0,Bn=ta.length;Jt<Bn;++Jt)xt[Jt]=ta[Jt],ot[ta.charCodeAt(Jt)]=Jt;ot[45]=62;ot[95]=63;function xi(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=e.indexOf("=");a===-1&&(a=t);var r=a===t?0:4-a%4;return[a,r]}function An(e){var t=xi(e),a=t[0],r=t[1];return(a+r)*3/4-r}function bn(e,t,a){return(t+a)*3/4-a}function _n(e){var t,a=xi(e),r=a[0],i=a[1],n=new In(bn(e,r,i)),s=0,o=i>0?r-4:r,l;for(l=0;l<o;l+=4)t=ot[e.charCodeAt(l)]<<18|ot[e.charCodeAt(l+1)]<<12|ot[e.charCodeAt(l+2)]<<6|ot[e.charCodeAt(l+3)],n[s++]=t>>16&255,n[s++]=t>>8&255,n[s++]=t&255;return i===2&&(t=ot[e.charCodeAt(l)]<<2|ot[e.charCodeAt(l+1)]>>4,n[s++]=t&255),i===1&&(t=ot[e.charCodeAt(l)]<<10|ot[e.charCodeAt(l+1)]<<4|ot[e.charCodeAt(l+2)]>>2,n[s++]=t>>8&255,n[s++]=t&255),n}function wn(e){return xt[e>>18&63]+xt[e>>12&63]+xt[e>>6&63]+xt[e&63]}function Nn(e,t,a){for(var r,i=[],n=t;n<a;n+=3)r=(e[n]<<16&16711680)+(e[n+1]<<8&65280)+(e[n+2]&255),i.push(wn(r));return i.join("")}function Rn(e){for(var t,a=e.length,r=a%3,i=[],n=16383,s=0,o=a-r;s<o;s+=n)i.push(Nn(e,s,s+n>o?o:s+n));return r===1?(t=e[a-1],i.push(xt[t>>2]+xt[t<<4&63]+"==")):r===2&&(t=(e[a-2]<<8)+e[a-1],i.push(xt[t>>10]+xt[t>>4&63]+xt[t<<2&63]+"=")),i.join("")}var Aa={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Aa.read=function(e,t,a,r,i){var n,s,o=i*8-r-1,l=(1<<o)-1,f=l>>1,u=-7,p=a?i-1:0,m=a?-1:1,S=e[t+p];for(p+=m,n=S&(1<<-u)-1,S>>=-u,u+=o;u>0;n=n*256+e[t+p],p+=m,u-=8);for(s=n&(1<<-u)-1,n>>=-u,u+=r;u>0;s=s*256+e[t+p],p+=m,u-=8);if(n===0)n=1-f;else{if(n===l)return s?NaN:(S?-1:1)*(1/0);s=s+Math.pow(2,r),n=n-f}return(S?-1:1)*s*Math.pow(2,n-r)};Aa.write=function(e,t,a,r,i,n){var s,o,l,f=n*8-i-1,u=(1<<f)-1,p=u>>1,m=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=r?0:n-1,C=r?1:-1,A=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+p>=1?t+=m/l:t+=m*Math.pow(2,1-p),t*l>=2&&(s++,l/=2),s+p>=u?(o=0,s=u):s+p>=1?(o=(t*l-1)*Math.pow(2,i),s=s+p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[a+S]=o&255,S+=C,o/=256,i-=8);for(s=s<<i|o,f+=i;f>0;e[a+S]=s&255,S+=C,s/=256,f-=8);e[a+S-C]|=A*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -1,4 +1,4 @@
1
- import { p as kt } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js";
1
+ import { p as kt } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-CFVJThIE.js";
2
2
  function En(e, t) {
3
3
  for (var a = 0; a < t.length; a++) {
4
4
  const r = t[a];