the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+27
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* @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.5.438
|
||||
* pdfjsBuild = 0a4153349
|
||||
*/var e={463(e){var t=TypeError;e.exports=function(e){if("string"==typeof e)return e;throw new t("Argument is not a string")}},804(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t+"+/",a=t+"-_",inverse=function(e){for(var t={},n=0;n<64;n++)t[e.charAt(n)]=n;return t};e.exports={i2c:n,c2i:inverse(n),i2cUrl:a,c2iUrl:inverse(a)}},529(e){e.exports=function(e,t){return{value:e,done:t}}},837(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw new t("Maximum allowed index exceeded");return e}},944(e){var t=TypeError;e.exports=function(e){var n=e&&e.alphabet;if(void 0===n||"base64"===n||"base64url"===n)return n||"base64";throw new t("Incorrect `alphabet` option")}},767(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},117(e){e.exports=function(e){return null==e}},859(e){e.exports=function(e){e.iterator=e.next=e.nextHandler=e.mapper=e.predicate=e.inner=e.iterables=e.iters=e.openIters=e.padding=e.finishResults=e.buffer=null}},684(e){e.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}},269(e){e.exports=Object.create?Object.create(null):{}},741(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function trunc(e){var a=+e;return(a>0?n:t)(a)}},717(e,t){t.f=Object.getOwnPropertySymbols},103(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},750(e,t,n){var a=n(117),r=TypeError;e.exports=function(e){if(a(e))throw new r("Can't call method on "+e);return e}},835(e){e.exports=function(e){try{var t=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){t.clear();t.add(4);return function(){return{done:!0}}}})}},a=t[e](n);return 1===a.size&&4===a.values().next().value}catch(e){return!1}}},291(e,t,n){var a=n(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:a(t)}},14(e,t,n){var a=n(291),r=Math.min;e.exports=function(e){var t=a(e);return t>0?r(t,9007199254740991):0}},981(e,t,n){var a=n(750),r=Object;e.exports=function(e){return r(a(e))}},812(e){var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}}};const t={};function __webpack_require__(n){const a=t[n];if(void 0!==a)return a.exports;const r=t[n]={exports:{}};e[n](r,r.exports,__webpack_require__);return r.exports}__webpack_require__.cw=e=>{var t;return()=>{if(e){var n=e;e=0;t={exports:{}};n.call(t.exports,t,t.exports)}return t.exports}};__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})};__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n=__webpack_require__.cw(e=>{var t=de(),n=kt(),a=TypeError;e.exports=function(e){if(t(e))return e;throw new a(n(e)+" is not a function")}}),a=__webpack_require__.cw(e=>{var t=we(),n=String,a=TypeError;e.exports=function(e){if(t(e))return e;throw new a("Can't set "+n(e)+" as a prototype")}}),r=__webpack_require__.cw(e=>{var t=Je().has;e.exports=function(e){t(e);return e}}),a_string_namespaceFn=()=>__webpack_require__(463),s=__webpack_require__.cw(e=>{var t=It(),n=new t.WeakMap,a=t.set,r=t.remove;e.exports=function(e){a(n,e,1);r(n,e);return e}}),i=__webpack_require__.cw(e=>{var t=It().has;e.exports=function(e){t(e);return e}}),o=__webpack_require__.cw(e=>{var t=Ft(),n=De(),a=Be().f,r=t("unscopables"),s=Array.prototype;void 0===s[r]&&a(s,r,{configurable:!0,value:n(null)});e.exports=function(e){s[r][e]=!0}}),l=__webpack_require__.cw(e=>{var t=Ee(),n=TypeError;e.exports=function(e,a){if(t(a,e))return e;throw new n("Incorrect invocation")}}),f=__webpack_require__.cw(e=>{var t=be(),n=String,a=TypeError;e.exports=function(e){if(void 0===e||t(e))return e;throw new a(n(e)+" is not an object or undefined")}}),c=__webpack_require__.cw(e=>{var t=be(),n=String,a=TypeError;e.exports=function(e){if(t(e))return e;throw new a(n(e)+" is not an object")}}),h=__webpack_require__.cw(e=>{var t=S(),n=TypeError;e.exports=function(e){if("Uint8Array"===t(e))return e;throw new n("Argument is not an Uint8Array")}}),u=__webpack_require__.cw(e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView}),m=__webpack_require__.cw(e=>{var t=re(),n=$(),a=v(),r=t.ArrayBuffer,s=t.TypeError;e.exports=r&&n(r.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==a(e))throw new s("ArrayBuffer expected");return e.byteLength}}),d=__webpack_require__.cw(e=>{var t=re(),n=u(),a=m(),r=t.DataView;e.exports=function(e){if(!n||0!==a(e))return!1;try{new r(e);return!1}catch(e){return!0}}}),g=__webpack_require__.cw(e=>{var t=d(),n=TypeError;e.exports=function(e){if(t(e))throw new n("ArrayBuffer is detached");return e}}),b=__webpack_require__.cw(e=>{var t,n,a,r=u(),s=H(),i=re(),o=de(),l=be(),f=se(),c=S(),h=kt(),m=C(),d=O(),g=R(),b=Ee(),w=Ne(),j=We(),k=Ft(),y=yt(),q=he(),v=q.enforce,A=q.get,x=i.Int8Array,T=x&&x.prototype,_=i.Uint8ClampedArray,D=_&&_.prototype,Line truncated
|
||||
/*webpackIgnore: true*/
|
||||
/*@vite-ignore*/
|
||||
`${WasmImage.#_}${this._noWasmFilename}`));return{exports:t(e)}}async#re(e){this.#te||(WasmImage.#ee?this.#te=await fetchBinaryData(`${WasmImage.#_}${this._filename}`):this.#te=await WasmImage.#Q().sendWithPromise("FetchBinaryData",{kind:"wasmUrl",filename:this._filename}));return(await WebAssembly.instantiate(this.#te,e)).instance}async#se(e,t,n){if(WasmImage.#T)try{return n(await this.#re(t))}catch(e){warn(`#getWasmInstance: ${e}`)}try{return n(await this.#ae(t))}catch(e){warn(`#getJsInstance: ${e}`)}e(null);return null}_getModule(e){if(!this.#ne){const{promise:t,resolve:n}=Promise.withResolvers();this.#ne=Promise.race([t,e({warn,instantiateWasm:this.#se.bind(this,n)})])}return this.#ne}async decode(e,t){unreachable("Abstract method `decode` called")}}class Jbig2Error extends cs{constructor(e){super(e,"Jbig2Error")}}class JBig2CCITTFaxImage extends WasmImage{_filename="jbig2.wasm";_noWasmFilename="jbig2_nowasm_fallback.js";static get instance(){return util_shadow(this,"instance",new JBig2CCITTFaxImage(!0))}async decode(e,t,n,a,r){const s=await this._getModule(ei);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")??!0),BlackIs1:!!n.get("BlackIs1")}}get bytes(){return util_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 ti=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ni=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]),ai=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]),ri=[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,Line truncated
|
||||
Reference in new issue
Block a user