alle new
This commit is contained in:
erik committed 2026-10-01 06:46:51 +02:00
1 parent da64472251
commit 5b20adee48
1605 files changed
+396517 -1674

No files matched your search

+1
View File
@@ -0,0 +1 @@
export * from "pdfjs-dist";
+28
View File
@@ -0,0 +1,28 @@
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @licend The above is the entire license notice for the
* JavaScript code in this page
*/
/**
* pdfjsVersion = 6.3.289
* pdfjsBuild = 1c8020a7d
*/var t={9306(t,e,i){var n=i(4901),r=i(6823),s=TypeError;t.exports=function(t){if(n(t))return t;throw new s(r(t)+" is not a function")}},3506(t,e,i){var n=i(3925),r=String,s=TypeError;t.exports=function(t){if(n(t))return t;throw new s("Can't set "+r(t)+" as a prototype")}},7080(t,e,i){var n=i(4402).has;t.exports=function(t){n(t);return t}},3463(t){var e=TypeError;t.exports=function(t){if("string"==typeof t)return t;throw new e("Argument is not a string")}},4328(t,e,i){var n=i(4995),r=new n.WeakMap,s=n.set,a=n.remove;t.exports=function(t){s(r,t,1);a(r,t);return t}},6557(t,e,i){var n=i(4995).has;t.exports=function(t){n(t);return t}},6469(t,e,i){var n=i(8227),r=i(2360),s=i(4913).f,a=n("unscopables"),o=Array.prototype;void 0===o[a]&&s(o,a,{configurable:!0,value:r(null)});t.exports=function(t){o[a][t]=!0}},679(t,e,i){var n=i(1625),r=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new r("Incorrect invocation")}},3972(t,e,i){var n=i(34),r=String,s=TypeError;t.exports=function(t){if(void 0===t||n(t))return t;throw new s(r(t)+" is not an object or undefined")}},8551(t,e,i){var n=i(34),r=String,s=TypeError;t.exports=function(t){if(n(t))return t;throw new s(r(t)+" is not an object")}},4154(t,e,i){var n=i(6955),r=TypeError;t.exports=function(t){if("Uint8Array"===n(t))return t;throw new r("Argument is not an Uint8Array")}},7811(t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7394(t,e,i){var n=i(4576),r=i(6706),s=i(2195),a=n.ArrayBuffer,o=n.TypeError;t.exports=a&&r(a.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==s(t))throw new o("ArrayBuffer expected");return t.byteLength}},3238(t,e,i){var n=i(4576),r=i(7811),s=i(7394),a=n.DataView;t.exports=function(t){if(!r||0!==s(t))return!1;try{new a(t);return!1}catch(t){return!0}}},5169(t,e,i){var n=i(3238),r=TypeError;t.exports=function(t){if(n(t))throw new r("ArrayBuffer is detached");return t}},4644(t,e,i){var n,r,s,a=i(7811),o=i(3724),l=i(4576),c=i(4901),h=i(34),d=i(9297),u=i(6955),p=i(6823),g=i(6699),m=i(6840),f=i(2106),b=i(1625),y=i(2787),v=i(2967),w=i(8227),A=i(3392),x=i(1181),E=x.enforce,C=x.get,S=l.Int8Array,T=S&&S.prototype,_=l.Uint8ClampedArray,k=_&&_.prototype,D=S&&y(S),P=T&&y(T),M=Object.prototype,I=l.TypeError,O=w("toStringTag"),R=A("TYPED_ARRAY_TAG"),B="TypedArrayConstructor",L=a&&!!v&&"Opera"!==u(l.opera),N=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(t){var e=y(t);if(h(e)){var i=C(e);return i&&d(i,B)?i[B]:getTypedArrayConstructor(e)}},isTypedArray=function(t){if(!h(t))return!1;var e=u(t);return d(U,e)||d(H,e)};for(n in U)(s=(r=l[n])&&r.prototype)?E(s)[B]=r:L=!1;for(n in H)(s=(r=l[n])&&r.prototype)&&(E(s)[B]=r);if(!L||!c(D)||D===Function.prototype){D=function TypedArray(){throw new I("Incorrect invocation")};if(L)for(n in U)l[n]&&v(l[n],D)}if(!L||!P||P===M){P=D.prototype;if(L)for(n in U)l[n]&&v(l[n].prototype,P)}L&&y(k)!==P&&v(k,P);if(o&&!d(P,O)){N=!0;f(P,O,{configurable:!0,get:function(){return h(this)?this[R]:void 0}});for(n in U)l[n]&&g(l[n].prototype,R,n)}t.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:N&&R,aTypedArray:function(t){if(isTypedArray(t))return t;throw new I("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!v||b(D,t)))return t;throw new I(p(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,i,n){if(o){if(i)for(var r in U){var s=l[r];if(s&&d(s.prototype,t))try{delete s.prototype[t]}catch(i){try{s.prototype[t]=e}catch(t){}}}P[t]&&!i||m(P,t,i?e:L&&T[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,i){var n,r;if(o){if(v){if(i)for(n in U)if((r=l[n])&&d(r,t))try{delete r[t]}catch(t){}if(D[t]&&!i)return;try{return m(D,t,i?e:L&&D[t]||e)}catch(t){}}for(n in U)!(r=l[n])||r[t]&&!i||m(r,t,e)}},getTypedArrayConstructor,isView:function isView(t){if(!h(t))return!1;var e=u(t);return"DataView"===e||d(U,e)||d(H,e)},isTypedArray,TypedArray:D,TypedArrayPrototype:P}},5370(t,e,i){var n=i(6198);t.exports=function(t,e,i){for(var r=0,s=arguments.length>2?i:n(e),a=new t(s);s>r;)a[r]=e[r++];return a}},9617(t,e,i){var n=i(5397),r=i(5610),s=i(6198),createMethod=function(t){return function(e,i,a){var o=n(e),l=s(o);if(0===l)return!t&&-1;var c,h=r(a,l);if(t&&i!=i){for(;l>h;)if((c=o[h++])!=c)return!0}else for(;l>h;h++)if((t||h in o)&&o[h]===i)return t||h||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4527(t,e,i){var n=i(3724),r=i(4376),s=TypeError,a=Object.getOwnPropertyDescriptor,o=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=o?function(t,e){if(r(t)&&!a(t,"length").writable)throw new s("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},7680(t,e,i){var n=i(9504);t.exports=n([].slice)},2804(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcLine truncated
/*webpackIgnore: true*/
/*@vite-ignore*/
this.workerSrc)).WorkerMessageHandler})())}}class WorkerTransport{downloadInfoCapability=Promise.withResolvers();#Xs=null;#Ks=new Map;#Ys=null;#Js=new Map;#Qs=new Map;#Zs=new Map;#ta=null;constructor(t,e,i,n,r,s){this.messageHandler=t;this.loadingTask=e;this.#Ys=i;this.commonObjs=new PDFObjects;this.fontLoader=new FontLoader({ownerDocument:n.ownerDocument,styleElement:n.styleElement});this.enableHWA=n.enableHWA;this.loadingParams=n.loadingParams;this._params=n;this.canvasFactory=r.canvasFactory;this.filterFactory=r.filterFactory;this.binaryDataFactory=r.binaryDataFactory;this.pagesMapper=s;this.destroyed=!1;this.destroyCapability=null;this.setupMessageHandler()}updatePage(t){const{_pageIndex:e}=t;this.#Js.set(e,t);this.#Qs.set(e,Promise.resolve(t))}#ea(t,e=null){return this.#Ks.getOrInsertComputed(t,()=>this.messageHandler.sendWithPromise(t,e))}#Pr({loaded:t,total:e}){this.loadingTask.onProgress?.({loaded:t,total:e,percent:e?MathClamp(Math.round(t/e*100),0,100):NaN})}get annotationStorage(){return shadow(this,"annotationStorage",new AnnotationStorage)}getRenderingIntent(t,e=m.ENABLE,i=null,n=!1,r=!1){let s=l,a=it;switch(t){case"any":s=o;break;case"display":break;case"print":s=c;break;default:warn(`getRenderingIntent - invalid intent: ${t}`)}const f=s&c&&i instanceof PrintAnnotationStorage?i:this.annotationStorage;switch(e){case m.DISABLE:s+=u;break;case m.ENABLE:break;case m.ENABLE_FORMS:s+=h;break;case m.ENABLE_STORAGE:s+=d;a=f.serializable;break;default:warn(`getRenderingIntent - invalid annotationMode: ${e}`)}n&&(s+=p);r&&(s+=g);const{ids:b,hash:y}=f.modifiedIds;return{renderingIntent:s,cacheKey:[s,a.hash,y].join("_"),annotationStorageSerializable:a,modifiedIds:b}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0;this.destroyCapability=Promise.withResolvers();this.#ta?.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const e of this.#Js.values())t.push(e._destroy());this.#Js.clear();this.#Qs.clear();this.#Zs.clear();Object.hasOwn(this,"annotationStorage")&&this.annotationStorage.resetModified();const e=this.messageHandler.sendWithPromise("Terminate",null);t.push(e);Promise.all(t).then(()=>{this.commonObjs.clear();this.fontLoader.clear();this.#Ks.clear();this.filterFactory.destroy();TextLayer.cleanup();this.#Ys?.cancelAllRequests(new AbortException("Worker was terminated."));this.messageHandler?.destroy();this.messageHandler=null;this.destroyCapability.resolve()},this.destroyCapability.reject);return this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:e}=this;t.on("GetReader",(t,e)=>{assert(this.#Ys,"GetReader - no `BasePDFStream` instance available.");this.#Xs=this.#Ys.getFullReader();this.#Xs.onProgress=t=>this.#Pr(t);e.onPull=()=>{this.#Xs.read().then(function({value:t,done:i}){if(i)e.close();else{assert(t instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer.");e.enqueue(new Uint8Array(t),1,[t])}}).catch(t=>{e.error(t)})};e.onCancel=t=>{this.#Xs.cancel(t);e.ready.catch(t=>{if(!this.destroyed)throw t})}});t.on("ReaderHeadersReady",async t=>{await this.#Xs.headersReady;const{isStreamingSupported:e,isRangeSupported:i,contentLength:n}=this.#Xs;e&&i&&(this.#Xs.onProgress=null);return{isStreamingSupported:e,isRangeSupported:i,contentLength:n}});t.on("GetRangeReader",(t,e)=>{assert(this.#Ys,"GetRangeReader - no `BasePDFStream` instance available.");const i=this.#Ys.getRangeReader(t.begin,t.end);if(i){e.onPull=()=>{i.read().then(function({value:t,done:i}){if(i)e.close();else{assert(t instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer.");e.enqueue(new Uint8Array(t),1,[t])}}).catch(t=>{e.error(t)})};e.onCancel=t=>{i.cancel(t);e.ready.catch(t=>{if(!this.destroyed)throw t})}}else e.close()});t.on("GetDoc",({pdfInfo:t})=>{this.pagesMapper.pagesNumber=t.numPages;this._numPages=t.numPages;this._htmlForXfa=t.htmlForXfa;delete t.htmlForXfa;e._capability.resolve(new PDFDocumentProxy(t,this))});t.on("DocException",t=>{e._capability.reject(wrapReason(t))});t.on("PasswordRequest",t=>{this.#ta=Promise.withResolvers();try{if(!e.onPassword)throw wrapReason(t);const updatePassword=t=>{t instanceof Error?this.#ta.reject(t):this.#ta.resolve({password:t})};e.onPassword(updatePassword,t.code)}catch(t){this.#ta.reject(t)}return this.#ta.promise});t.on("DataLoaded",t=>{this.#Pr({loaded:t.length,total:t.length});this.downloadInfoCapability.resolve(t)});t.on("StartRenderPage",t=>{if(this.destroyed)return;this.#Js.get(t.pageIndex)._startRenderPage(t.transparency,t.cacheKey)});t.on("commonobj",([e,i,n])=>{if(this.destroyed)return null;if(this.commonObjs.has(e))return null;switch(i){case"Font":if("error"in n){const t=n.error;warn(`Error during font loading: ${t}`);this.commonObjs.resolve(e,t);break}const r=new FontInfo(n),s=this._params.pdfBug&&globalThis.FontInspector?.enabled?(t,e)=>globalThis.FontInspector.fontAdded(t,e):null,a=new FontFaceObject(r,s,n.charProcOperatorList,n.extra);this.fontLoader.bindLine truncated
+34918
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"pdf.mjs","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAa;AACb,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;A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ACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChMa;AACb,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTa;AACb,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjCa;AACb,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,cAAc,mBAAO,CAAC,IAAuB;;AAE7C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AACJ;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;;;;;;;;AC1Ba;AACb,kBAAkB,mBAAO,CAAC,IAAoC;;AAE9D;;;;;;;;ACHa;AACb;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS,YAAY;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClBa;AACb,eAAe,mBAAO,CAAC,IAAwB;AAC/C,oBAAoB,mBAAO,CAAC,IAA6B;;AAEzD;AACA;AACA;AACA;AACA,I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ACxE,0DAA0D,cAAc;AACxE;AACA;;;;;;;;ACRa;AACb,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,2BAA2B,mBAAO,CAAC,IAAqC;AACxE,kBAAkB,mBAAO,CAAC,GAA4B;AACtD,2BAA2B,mBAAO,CAAC,IAAqC;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,MAAM,gBAAgB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;;;;;;;;AC3Ba;AACb,oBAAoB,mBAAO,CAAC,IAA8B;;AAE1D;AACA;AALine truncated
+28
View File
@@ -0,0 +1,28 @@
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @licend The above is the entire license notice for the
* JavaScript code in this page
*/
/**
* pdfjsVersion = 6.3.289
* pdfjsBuild = 1c8020a7d
*/var t={9306(t,e,r){var n=r(4901),i=r(6823),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},8551(t,e,r){var n=r(34),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},9617(t,e,r){var n=r(5397),i=r(5610),o=r(6198),createMethod=function(t){return function(e,r,s){var a=n(e),u=o(a);if(0===u)return!t&&-1;var l,c=i(s,u);if(t&&r!=r){for(;u>c;)if((l=a[c++])!=l)return!0}else for(;u>c;c++)if((t||c in a)&&a[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4527(t,e,r){var n=r(3724),i=r(4376),o=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!s(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},2195(t,e,r){var n=r(9504),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},6955(t,e,r){var n=r(2140),i=r(4901),o=r(2195),s=r(8227)("toStringTag"),a=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},7740(t,e,r){var n=r(9297),i=r(5031),o=r(7347),s=r(4913);t.exports=function(t,e,r){for(var a=i(e),u=s.f,l=o.f,c=0;c<a.length;c++){var h=a[c];n(t,h)||r&&n(r,h)||u(t,h,l(e,h))}}},6699(t,e,r){var n=r(3724),i=r(4913),o=r(6980);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){t[e]=r;return t}},6980(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6840(t,e,r){var n=r(4901),i=r(4913),o=r(283),s=r(9433);t.exports=function(t,e,r,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:e;n(r)&&o(r,l,a);if(a.global)u?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},9433(t,e,r){var n=r(4576),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},3724(t,e,r){var n=r(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(t,e,r){var n=r(4576),i=r(34),o=n.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},6837(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw new e("Maximum allowed index exceeded");return t}},8727(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839(t,e,r){var n=r(4576).navigator,i=n&&n.userAgent;t.exports=i?String(i):""},9519(t,e,r){var n,i,o=r(4576),s=r(2839),a=o.process,u=o.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1]));!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]);t.exports=i},6518(t,e,r){var n=r(4576),i=r(7347).f,o=r(6699),s=r(6840),a=r(9433),u=r(7740),l=r(2796);t.exports=function(t,e){var r,c,h,d,p,f=t.target,g=t.global,m=t.stat;if(r=g?n:m?n[f]||a(f,{}):n[f]&&n[f].prototype)for(c in e){d=e[c];h=t.dontCallGetSet?(p=i(r,c))&&p.value:r[c];if(!l(g?c:f+(m?".":"#")+c,t.forced)&&void 0!==h){if(typeof d==typeof h)continue;u(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0);s(r,c,d,t)}}},9039(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},616(t,e,r){var n=r(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565(t,e,r){var n=r(616),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},350(t,e,r){var n=r(3724),i=r(9297),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),u=a&&"something"===function something(){}.name,l=a&&(!n||n&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}},9504(t,e,r){var n=r(616),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);t.exports=n?s:function(t){return function(){return o.apply(t,arguments)}}},7751(t,e,r){var n=r(4576),i=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],i(r)?r:void 0):n[t]&&n[t][e];var r}},5966(t,e,r){var n=r(9306),i=r(4117);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},4576(t){var check=function(t){return t&&t.Math===Math&&t};t.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297(t,e,r){var n=r(9504),i=r(8981),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,e){return o(i(t),e)}},421(t){t.exports={}},397(t,e,r){var n=r(7751)Line truncated
/*webpackIgnore: true*/
/*@vite-ignore*/
`${t}quickjs-eval.js`),r=await e();return new Sandbox(window,r)}globalThis.pdfjsSandbox={QuickJSSandbox};export{QuickJSSandbox};
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"pdf.sandbox.mjs","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAa;AACb,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACVa;AACb,eAAe,mBAAO,CAAC,EAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACVa;AACb,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AAC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;AACb,YAAY,mBAAO,Line truncated
+28
View File
@@ -0,0 +1,28 @@
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @licend The above is the entire license notice for the
* JavaScript code in this page
*/
/**
* pdfjsVersion = 6.3.289
* pdfjsBuild = 1c8020a7d
*/var e={9306(e,t,n){var a=n(4901),r=n(6823),s=TypeError;e.exports=function(e){if(a(e))return e;throw new s(r(e)+" is not a function")}},3506(e,t,n){var a=n(3925),r=String,s=TypeError;e.exports=function(e){if(a(e))return e;throw new s("Can't set "+r(e)+" as a prototype")}},7080(e,t,n){var a=n(4402).has;e.exports=function(e){a(e);return e}},3463(e){var t=TypeError;e.exports=function(e){if("string"==typeof e)return e;throw new t("Argument is not a string")}},4328(e,t,n){var a=n(4995),r=new a.WeakMap,s=a.set,i=a.remove;e.exports=function(e){s(r,e,1);i(r,e);return e}},6557(e,t,n){var a=n(4995).has;e.exports=function(e){a(e);return e}},6469(e,t,n){var a=n(8227),r=n(2360),s=n(4913).f,i=a("unscopables"),o=Array.prototype;void 0===o[i]&&s(o,i,{configurable:!0,value:r(null)});e.exports=function(e){o[i][e]=!0}},679(e,t,n){var a=n(1625),r=TypeError;e.exports=function(e,t){if(a(t,e))return e;throw new r("Incorrect invocation")}},3972(e,t,n){var a=n(34),r=String,s=TypeError;e.exports=function(e){if(void 0===e||a(e))return e;throw new s(r(e)+" is not an object or undefined")}},8551(e,t,n){var a=n(34),r=String,s=TypeError;e.exports=function(e){if(a(e))return e;throw new s(r(e)+" is not an object")}},4154(e,t,n){var a=n(6955),r=TypeError;e.exports=function(e){if("Uint8Array"===a(e))return e;throw new r("Argument is not an Uint8Array")}},7811(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7394(e,t,n){var a=n(4576),r=n(6706),s=n(2195),i=a.ArrayBuffer,o=a.TypeError;e.exports=i&&r(i.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==s(e))throw new o("ArrayBuffer expected");return e.byteLength}},3238(e,t,n){var a=n(4576),r=n(7811),s=n(7394),i=a.DataView;e.exports=function(e){if(!r||0!==s(e))return!1;try{new i(e);return!1}catch(e){return!0}}},5169(e,t,n){var a=n(3238),r=TypeError;e.exports=function(e){if(a(e))throw new r("ArrayBuffer is detached");return e}},4644(e,t,n){var a,r,s,i=n(7811),o=n(3724),l=n(4576),f=n(4901),c=n(34),h=n(9297),u=n(6955),m=n(6823),p=n(6699),d=n(6840),g=n(2106),b=n(1625),w=n(2787),j=n(2967),k=n(8227),y=n(3392),q=n(1181),v=q.enforce,S=q.get,x=l.Int8Array,C=x&&x.prototype,T=l.Uint8ClampedArray,O=T&&T.prototype,R=x&&w(x),D=C&&w(C),H=Object.prototype,M=l.TypeError,N=k("toStringTag"),_=y("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",z=i&&!!j&&"Opera"!==u(l.opera),L=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(e){var t=w(e);if(c(t)){var n=S(t);return n&&h(n,E)?n[E]:getTypedArrayConstructor(t)}},isTypedArray=function(e){if(!c(e))return!1;var t=u(e);return h(U,t)||h(W,t)};for(a in U)(s=(r=l[a])&&r.prototype)?v(s)[E]=r:z=!1;for(a in W)(s=(r=l[a])&&r.prototype)&&(v(s)[E]=r);if(!z||!f(R)||R===Function.prototype){R=function TypedArray(){throw new M("Incorrect invocation")};if(z)for(a in U)l[a]&&j(l[a],R)}if(!z||!D||D===H){D=R.prototype;if(z)for(a in U)l[a]&&j(l[a].prototype,D)}z&&w(O)!==D&&j(O,D);if(o&&!h(D,N)){L=!0;g(D,N,{configurable:!0,get:function(){return c(this)?this[_]:void 0}});for(a in U)l[a]&&p(l[a].prototype,_,a)}e.exports={NATIVE_ARRAY_BUFFER_VIEWS:z,TYPED_ARRAY_TAG:L&&_,aTypedArray:function(e){if(isTypedArray(e))return e;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(e){if(f(e)&&(!j||b(R,e)))return e;throw new M(m(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,a){if(o){if(n)for(var r in U){var s=l[r];if(s&&h(s.prototype,e))try{delete s.prototype[e]}catch(n){try{s.prototype[e]=t}catch(e){}}}D[e]&&!n||d(D,e,n?t:z&&C[e]||t,a)}},exportTypedArrayStaticMethod:function(e,t,n){var a,r;if(o){if(j){if(n)for(a in U)if((r=l[a])&&h(r,e))try{delete r[e]}catch(e){}if(R[e]&&!n)return;try{return d(R,e,n?t:z&&R[e]||t)}catch(e){}}for(a in U)!(r=l[a])||r[e]&&!n||d(r,e,t)}},getTypedArrayConstructor,isView:function isView(e){if(!c(e))return!1;var t=u(e);return"DataView"===t||h(U,t)||h(W,t)},isTypedArray,TypedArray:R,TypedArrayPrototype:D}},5370(e,t,n){var a=n(6198);e.exports=function(e,t,n){for(var r=0,s=arguments.length>2?n:a(t),i=new e(s);s>r;)i[r]=t[r++];return i}},9617(e,t,n){var a=n(5397),r=n(5610),s=n(6198),createMethod=function(e){return function(t,n,i){var o=a(t),l=s(o);if(0===l)return!e&&-1;var f,c=r(i,l);if(e&&n!=n){for(;l>c;)if((f=o[c++])!=f)return!0}else for(;l>c;c++)if((e||c in o)&&o[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4527(e,t,n){var a=n(3724),r=n(4376),s=TypeError,i=Object.getOwnPropertyDescriptor,o=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=o?function(e,t){if(r(e)&&!i(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},7680(e,t,n){var a=n(9504);e.exports=a([].slice)},2804(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcLine truncated
/*webpackIgnore: true*/
/*@vite-ignore*/
`${WasmImage.#O}${this._noWasmFilename}`)).default()}catch(e){warn(`#getJsModule: ${e}`)}e(t)}async#Q(e,t,n){try{this.#$||(WasmImage.#V?this.#$=await fetchBinaryData(`${WasmImage.#O}${this._filename}`):this.#$=await WasmImage.#K.sendWithPromise("FetchBinaryData",{kind:"wasmUrl",filename:this._filename}));return n((await WebAssembly.instantiate(this.#$,t)).instance)}catch(t){warn(`#instantiateWasm: ${t}`);this.#J(e);return null}}_getModule(e){if(!this.#Y){const{promise:t,resolve:n}=Promise.withResolvers(),a=[t];WasmImage.#T?a.push(e({warn,instantiateWasm:this.#Q.bind(this,n)})):this.#J(n);this.#Y=Promise.race(a)}return this.#Y}async decode(e,t){unreachable("Abstract method `decode` called")}}class Jbig2Error extends ln{constructor(e){super(e,"Jbig2Error")}}class JBig2CCITTFaxImage extends WasmImage{_filename="jbig2.wasm";_noWasmFilename="jbig2_nowasm_fallback.js";static get instance(){return shadow(this,"instance",new JBig2CCITTFaxImage(!0))}async decode(e,t,n,a,r){const s=await this._getModule(sa);if(!s)throw new Jbig2Error("JBig2 failed to initialize");let i,o;try{const l=e.length;i=s._malloc(l);s.writeArrayToMemory(e,i);if(r)s._ccitt_decode(i,l,t,n,r.K,r.EndOfLine?1:0,r.EncodedByteAlign?1:0,r.BlackIs1?1:0,r.Columns,r.Rows);else{const e=a?a.length:0;if(e>0){o=s._malloc(e);s.writeArrayToMemory(a,o)}s._jbig2_decode(i,l,t,n,o,e)}if(!s.imageData)throw new Jbig2Error("Unknown error");const{imageData:f}=s;s.imageData=null;return f}finally{i&&s._free(i);o&&s._free(o)}}}class CCITTFaxStream extends DecodeStream{constructor(e,t,n){super(t);this.stream=e;this.maybeLength=t;this.dict=e.dict;n instanceof Dict||(n=Dict.empty);this.params={K:n.get("K")||0,EndOfLine:!!n.get("EndOfLine"),EncodedByteAlign:!!n.get("EncodedByteAlign"),Columns:n.get("Columns")||1728,Rows:n.get("Rows")||0,EndOfBlock:!!(n.get("EndOfBlock")??1),BlackIs1:!!n.get("BlackIs1")}}get bytes(){return shadow(this,"bytes",this.stream.getBytes(this.maybeLength))}get isImageStream(){return!0}get isAsyncDecoder(){return!0}async decodeImage(e,t,n){if(this.eof)return this.buffer;e??=this.stream.isAsync&&await this.stream.asyncGetBytes()||this.bytes;this.buffer=await JBig2CCITTFaxImage.instance.decode(e,this.dict.get("W","Width"),this.dict.get("H","Height"),null,this.params);this.bufferLength=this.buffer.length;this.eof=!0;return this.buffer}}const ia=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oa=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),la=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),fa=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,59004Line truncated
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"pdf.worker.mjs","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAa;AACb,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACVa;AACb,0BAA0B,mBAAO,CAAC,IAAoC;;AAEtE;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;ACTa;AACb,UAAU,+BAAuC;;AAEjD;AACA;AACA;AACA;AACA;;;;;;;;ACPa;AACb;;AAEA;AACA;AACA;AACA;;;;;;;;ACNa;AACb,qBAAqB,mBAAO,CAAC,IAA+B;;AAE5D;AACA;AACA;;AAEA;AACA;AACA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C,aAAa,mBAAO,CAAC,IAA+B;AACpD,cAAc,mBAAO,CAAC,IAAsB;AAC5C,kBAAkB,mBAAO,CAAC,IAA4B;AACtD,kCAAkC,mBAAO,CAAC,IAA6C;AACvF,oBAAoB,mBAAO,CAAC,IAA8B;AAC1D,4BAA4B,mBAAO,CAAC,IAAuC;AAC3E,oBAAoB,mBAAO,CAAC,IAAqC;AACjE,qBAAqB,mBAAO,CAAC,IAAsC;AACnE,qBAAqB,mBAAO,CAAC,IAAsC;AACnE,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,UAAU,mBAAO,CAAC,IAAkB;AACpC,0BAA0B,mBAAO,CAAC,IAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,QAAQ,iBAAiB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,gBAAgB;AACxB;AACA;AACA;AACA;AACA;AACA,QAAQ,gBAAgB;AACxB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA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