mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-09 23:48:41 +00:00
23 lines
617 KiB
JavaScript
23 lines
617 KiB
JavaScript
|
/**
|
||
|
* @licstart The following is the entire license notice for the
|
||
|
* JavaScript code in this page
|
||
|
*
|
||
|
* Copyright 2023 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
|
||
|
*/
|
||
|
!function(A,I){"object"==typeof exports&&"object"==typeof module?module.exports=I():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf.sandbox",[],I):"object"==typeof exports?exports["pdfjs-dist/build/pdf.sandbox"]=I():A["pdfjs-dist/build/pdf.sandbox"]=A.pdfjsSandbox=I()}(globalThis,(()=>(()=>{"use strict";var A=[,(A,I)=>{Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g,Q=(g="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(A){var I,Q,C;A=A||{},I||(I=void 0!==A?A:{}),I.ready=new Promise((function(A,I){Q=A,C=I}));var B=Object.assign({},I),E="";"undefined"!=typeof document&&document.currentScript&&(E=document.currentScript.src),g&&(E=g),E=0!==E.indexOf("blob:")?E.substr(0,E.replace(/[?#].*/,"").lastIndexOf("/")+1):"";var D,i=I.print||console.log.bind(console),n=I.printErr||console.warn.bind(console);Object.assign(I,B),B=null,I.wasmBinary&&(D=I.wasmBinary),I.noExitRuntime,"object"!=typeof WebAssembly&&Y("no native wasm support detected");var o,w=!1;function s(A,g,Q,C){var B={string:function(A){var I=0;if(null!=A&&0!==A){var g=1+(A.length<<2);I=P(g),c(A,e,I,g)}return I},array:function(A){var I=P(A.length);return t.set(A,I),I}};A=I["_"+A];var E,D=[],i=0;if(C)for(var n=0;n<C.length;n++){var o=B[Q[n]];o?(0===i&&(i=q()),D[n]=o(C[n])):D[n]=C[n]}return Q=A.apply(null,D),E=Q,0!==i&&v(i),"string"===g?R(E):"boolean"===g?!!E:E}var a,t,e,h,M="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function F(A,I){for(var g=I+NaN,Q=I;A[Q]&&!(Q>=g);)++Q;if(16<Q-I&&A.buffer&&M)return M.decode(A.subarray(I,Q));for(g="";I<Q;){var C=A[I++];if(128&C){var B=63&A[I++];if(192==(224&C))g+=String.fromCharCode((31&C)<<6|B);else{var E=63&A[I++];65536>(C=224==(240&C)?(15&C)<<12|B<<6|E:(7&C)<<18|B<<12|E<<6|63&A[I++])?g+=String.fromCharCode(C):(C-=65536,g+=String.fromCharCode(55296|C>>10,56320|1023&C))}}else g+=String.fromCharCode(C)}return g}function R(A){return A?F(e,A):""}function c(A,I,g,Q){if(0<Q){Q=g+Q-1;for(var C=0;C<A.length;++C){var B=A.charCodeAt(C);if(55296<=B&&57343>=B&&(B=65536+((1023&B)<<10)|1023&A.charCodeAt(++C)),127>=B){if(g>=Q)break;I[g++]=B}else{if(2047>=B){if(g+1>=Q)break;I[g++]=192|B>>6}else{if(65535>=B){if(g+2>=Q)break;I[g++]=224|B>>12}else{if(g+3>=Q)break;I[g++]=240|B>>18,I[g++]=128|B>>12&63}I[g++]=128|B>>6&63}I[g++]=128|63&B}}I[g]=0}}function G(A){for(var I=0,g=0;g<A.length;++g){var Q=A.charCodeAt(g);55296<=Q&&57343>=Q&&(Q=65536+((1023&Q)<<10)|1023&A.charCodeAt(++g)),127>=Q?++I:I=2047>=Q?I+2:65535>=Q?I+3:I+4}return I}function y(A){var I=G(A)+1,g=W(I);return g&&c(A,t,g,I),g}function k(){var A=o.buffer;a=A,I.HEAP8=t=new Int8Array(A),I.HEAP16=new Int16Array(A),I.HEAP32=h=new Int32Array(A),I.HEAPU8=e=new Uint8Array(A),I.HEAPU16=new Uint16Array(A),I.HEAPU32=new Uint32Array(A),I.HEAPF32=new Float32Array(A),I.HEAPF64=new Float64Array(A)}var r,N=[],U=[],J=[];function S(){var A=I.preRun.shift();N.unshift(A)}var L,l=0,K=null,d=null;function Y(A){throw I.onAbort&&I.onAbort(A),n(A="Aborted("+A+")"),w=!0,A=new WebAssembly.RuntimeError(A+". Build with -sASSERTIONS for more info."),C(A),A}function H(A){return A.startsWith("data:application/octet-stream;base64,")}if(!H(L="data:application/octet-stream;base64,AGFzbQEAAAAByQZtYAR/fn9/AX5gA39/fwF/YAJ/fwF/YAJ/fwBgAX8Bf2AFf35/f38BfmADf39/AGABfwBgAXwBfGACf34BfmAEf39/fwF/YAJ/fgBgAn9/AX5gAn9+AX9gA39/fgF/YAN/fn8BfmABfgF/YAN/fn8AYAZ/fn9/f38BfmADf35/AX9gBX9/f39/AX9gBn9+fn9/fwF+YAN/fn4BfmAEf39/fwBgBH9/fn8Bf2ADf39/AX5gBH9/f38BfmAGf39/f39/AX9gBX9+fn5+AGABfwF+YAN/fn4Bf2ACfHwBfGABfgF+YAV/fn9+fwF/YAV/fn5/fwF+YAd/fn9+fn5/AX9gAABgBX9/f39/AGAEf35+fwBgBX9+fn5/AX9gB39/f39/f38Bf2AGf35/fn5/AX9gBH9+f34BfmACfn8Bf2AEf35+fwF/YAJ+fwBgCX9/f39/f39/fwF/YAR/fn5/AX5gBn9/f39/fwF+YAN/fn4AYAR/fn9/AX9gBX9+fn9/AGACfn4BfmAHf35/f39/fwF+YAF/AXxgA39/fgBgBH9+f38AYAR/fn9+AX9gBH9+fn4Bf2AEf39/fgF/YAh/f39/f39/fwF/YAd/f39/f39/AGACfH8BfGADfn9/AX9gA3x8fwF8YAR/f35/AGAEf35+fgF+YAABf2AGf3x/f39/AX9gAAF8YAV/fn9+fwF+YAF8AX5gAX4BfGAFf39+f38Bf2AGf39+fn5+AX9gBn9/f39/fwBgAn98AGAEf39+fwF+YAR/fn9+AGAFf39/f34BfmAHf35+fn9/fwF+YAR+fn5+AX9gCn9/f39/f39/f38Bf2AHf39/f39/fg
|