/** * @licstart The following is the entire license notice for the * Javascript code in this page * * Copyright 2020 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 webpackUniversalModuleDefinition(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf.worker",[],r):"object"==typeof exports?exports["pdfjs-dist/build/pdf.worker"]=r():t["pdfjs-dist/build/pdf.worker"]=t.pdfjsWorker=r()}(this,(function(){return(()=>{var t=[(t,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});Object.defineProperty(r,"WorkerMessageHandler",{enumerable:!0,get:function get(){return i.WorkerMessageHandler}});var i=a(1)},(t,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.WorkerTask=r.WorkerMessageHandler=void 0;var i=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(a(2)),o=a(4),l=a(135),c=a(136),u=a(176),h=a(6),d=a(178),p=a(179),g=a(138);function _toArray(t){return _arrayWithHoles(t)||function _iterableToArray(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||_unsupportedIterableToArray(t)||_nonIterableRest()}function _slicedToArray(t,r){return _arrayWithHoles(t)||function _iterableToArrayLimit(t,r){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var a=[],i=!0,o=!1,l=void 0;try{for(var c,u=t[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){a.push(c.value);if(r&&a.length===r)break}}catch(t){o=!0;l=t}finally{try{i||null==u.return||u.return()}finally{if(o)throw l}}return a}(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);return"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,i=new Array(r);a=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,u=!1;return{s:function s(){a=t[Symbol.iterator]()},n:function n(){var t=a.next();c=t.done;return t},e:function e(t){u=!0;l=t},f:function f(){try{c||null==a.return||a.return()}finally{if(u)throw l}}}}(a.slice(4));try{for(m.s();!(r=m.n()).done;){g=r.value.filter((function(t){return null!==t})).reduce((function(t,r){return t.concat(r)}),g)}}catch(t){m.e(t)}finally{m.f()}if(0===g.length)return i.bytes;var y=h instanceof l.Dict&&h.get("XFA")||[],b=null;if(Array.isArray(y))for(var v=0,S=y.length;v=o.VerbosityLevel.INFOS?Date.now():0;a.getOperatorList({handler:T,sink:r,task:l,intent:t.intent,renderInteractiveForms:t.renderInteractiveForms,annotationStorage:t.annotationStorage}).then((function(t){finishWorkerTask(l);c&&(0,o.info)("page=".concat(i+1," - getOperatorList: time=")+"".concat(Date.now()-c,"ms, len=").concat(t.length));r.close()}),(function(t){finishWorkerTask(l);if(!l.terminated){T.send("UnsupportedFeature",{featureId:o.UNSUPPORTED_FEATURES.errorOperatorList});r.error(t)}}))}))}));T.on("GetTextContent",(function wphExtractText(t,r){var i=t.pageIndex;r.onPull=function(t){};r.onCancel=function(t){};a.getPage(i).then((function(a){var l=new m("GetTextContent: page "+i);startWorkerTask(l);var c=v>=o.VerbosityLevel.INFOS?Date.now():0;a.extractTextContent({handler:T,task:l,sink:r,normalizeWhitespace:t.normalizeWhitespace,combineTextItems:t.combineTextItems}).then((function(){finishWorkerTask(l);c&&(0,o.info)("page=".concat(i+1," - getTextContent: time=")+"".concat(Date.now()-c,"ms"));r.close()}),(function(t){finishWorkerTask(l);l.terminated||r.error(t)}))}))}));T.on("FontFallback",(function(t){return a.fontFallback(t.id,T)}));T.on("Cleanup",(function wphCleanup(t){return a.cleanup(!0)}));T.on("Terminate",(function wphTerminate(t){h=!0;var r=[];if(a){a.terminate(new o.AbortException("Worker was terminated."));var i=a.cleanup();r.push(i);a=null}else(0,l.clearPrimitiveCaches)();y&&y(new o.AbortException("Worker was terminated."));b.forEach((function(t){r.push(t.finished);t.terminate()}));return Promise.all(r).then((function(){T.destroy();T=null}))}));T.on("Ready",(function wphReady(r){!function setupDoc(t){function onSuccess(t){ensureNotTerminated();T.send("GetDoc",{pdfInfo:t})}function onFailure(t){ensureNotTerminated();if(t instanceof o.PasswordException){var r=new m("PasswordException: response ".concat(t.code));startWorkerTask(r);T.sendWithPromise("PasswordRequest",t).then((function(t){var i=t.password;finishWorkerTask(r);a.updatePassword(i);pdfManagerReady()})).catch((function(){finishWorkerTask(r);T.send("DocException",t)}))}else t instanceof o.InvalidPDFException||t instanceof o.MissingPDFException||t instanceof o.UnexpectedResponseException||t instanceof o.UnknownErrorException?T.send("DocException",t):T.send("DocException",new o.UnknownErrorException(t.message,t.toString()))}function pdfManagerReady(){ensureNotTerminated();loadDocument(!1).then(onSuccess,(function(t){ensureNotTerminated();if(t instanceof g.XRefParseException){a.requestLoadedStream();a.onLoadedStream().then((function(){ensureNotTerminated();loadDocument(!0).then(onSuccess,onFailure)}))}else onFailure(t)}))}ensureNotTerminated();getPdfManager(t,{maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported,fontExtraProperties:t.fontExtraProperties}).then((function(t){if(h){t.terminate(new o.AbortException("Worker was terminated."));throw new Error("Worker was terminated")}(a=t).onLoadedStream().then((function(t){T.send("DataLoaded",{length:t.bytes.byteLength})}))})).then(pdfManagerReady,onFailure)}(t);t=null}));return A}},{key:"initializeFromPort",value:function initializeFromPort(t){var r=new d.MessageHandler("worker","main",t);WorkerMessageHandler.setup(r,t);r.send("ready",null)}}]);return WorkerMessageHandler}();r.WorkerMessageHandler=y;"undefined"==typeof window&&!h.isNodeJS&&"undefined"!=typeof self&&function isMessagePort(t){return"function"==typeof t.postMessage&&"onmessage"in t}(self)&&y.initializeFromPort(self)},(t,r,a)=>{"use strict";t.exports=a(3)},(t,r,a)=>{"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=function(t){var r,a=Object.prototype,i=a.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function define(t,r,a){Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0});return t[r]}try{define({},"")}catch(t){define=function define(t,r,a){return t[r]=a}}function wrap(t,r,a,i){var o=r&&r.prototype instanceof Generator?r:Generator,l=Object.create(o.prototype),c=new Context(i||[]);l._invoke=function makeInvokeMethod(t,r,a){var i=h;return function invoke(o,l){if(i===p)throw new Error("Generator is already running");if(i===g){if("throw"===o)throw l;return doneResult()}a.method=o;a.arg=l;for(;;){var c=a.delegate;if(c){var u=maybeInvokeDelegate(c,a);if(u){if(u===m)continue;return u}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===h){i=g;throw a.arg}a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=p;var y=tryCatch(t,r,a);if("normal"===y.type){i=a.done?g:d;if(y.arg===m)continue;return{value:y.arg,done:a.done}}if("throw"===y.type){i=g;a.method="throw";a.arg=y.arg}}}}(t,a,c);return l}t.wrap=wrap;function tryCatch(t,r,a){try{return{type:"normal",arg:t.call(r,a)}}catch(t){return{type:"throw",arg:t}}}var h="suspendedStart",d="suspendedYield",p="executing",g="completed",m={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var y={};y[l]=function(){return this};var b=Object.getPrototypeOf,v=b&&b(b(values([])));v&&v!==a&&i.call(v,l)&&(y=v);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(y);GeneratorFunction.prototype=S.constructor=GeneratorFunctionPrototype;GeneratorFunctionPrototype.constructor=GeneratorFunction;GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction");function defineIteratorMethods(t){["next","throw","return"].forEach((function(r){define(t,r,(function(t){return this._invoke(r,t)}))}))}t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name))};t.mark=function(t){if(Object.setPrototypeOf)Object.setPrototypeOf(t,GeneratorFunctionPrototype);else{t.__proto__=GeneratorFunctionPrototype;define(t,u,"GeneratorFunction")}t.prototype=Object.create(S);return t};t.awrap=function(t){return{__await:t}};function AsyncIterator(t,r){function invoke(a,o,l,c){var u=tryCatch(t[a],t,o);if("throw"!==u.type){var h=u.arg,d=h.value;return d&&"object"===_typeof(d)&&i.call(d,"__await")?r.resolve(d.__await).then((function(t){invoke("next",t,l,c)}),(function(t){invoke("throw",t,l,c)})):r.resolve(d).then((function(t){h.value=t;l(h)}),(function(t){return invoke("throw",t,l,c)}))}c(u.arg)}var a;this._invoke=function enqueue(t,i){function callInvokeWithMethodAndArg(){return new r((function(r,a){invoke(t,i,r,a)}))}return a=a?a.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}defineIteratorMethods(AsyncIterator.prototype);AsyncIterator.prototype[c]=function(){return this};t.AsyncIterator=AsyncIterator;t.async=function(r,a,i,o,l){void 0===l&&(l=Promise);var c=new AsyncIterator(wrap(r,a,i,o),l);return t.isGeneratorFunction(a)?c:c.next().then((function(t){return t.done?t.value:c.next()}))};function maybeInvokeDelegate(t,a){var i=t.iterator[a.method];if(i===r){a.delegate=null;if("throw"===a.method){if(t.iterator.return){a.method="return";a.arg=r;maybeInvokeDelegate(t,a);if("throw"===a.method)return m}a.method="throw";a.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=tryCatch(i,t.iterator,a.arg);if("throw"===o.type){a.method="throw";a.arg=o.arg;a.delegate=null;return m}var l=o.arg;if(!l){a.method="throw";a.arg=new TypeError("iterator result is not an object");a.delegate=null;return m}if(!l.done)return l;a[t.resultName]=l.value;a.next=t.nextLoc;if("return"!==a.method){a.method="next";a.arg=r}a.delegate=null;return m}defineIteratorMethods(S);define(S,u,"Generator");S[l]=function(){return this};S.toString=function(){return"[object Generator]"};function pushTryEntry(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]);if(2 in t){r.finallyLoc=t[2];r.afterLoc=t[3]}this.tryEntries.push(r)}function resetTryEntry(t){var r=t.completion||{};r.type="normal";delete r.arg;t.completion=r}function Context(t){this.tryEntries=[{tryLoc:"root"}];t.forEach(pushTryEntry,this);this.reset(!0)}t.keys=function(t){var r=[];for(var a in t)r.push(a);r.reverse();return function next(){for(;r.length;){var a=r.pop();if(a in t){next.value=a;next.done=!1;return next}}next.done=!0;return next}};function values(t){if(t){var a=t[l];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,c=function next(){for(;++o=0;--o){var l=this.tryEntries[o],c=l.completion;if("root"===l.tryLoc)return handle("end");if(l.tryLoc<=this.prev){var u=i.call(l,"catchLoc"),h=i.call(l,"finallyLoc");if(u&&h){if(this.prev=0;--a){var o=this.tryEntries[a];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--r){var a=this.tryEntries[r];if(a.finallyLoc===t){this.complete(a.completion,a.afterLoc);resetTryEntry(a);return m}}},catch:function _catch(t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc===t){var i=a.completion;if("throw"===i.type){var o=i.arg;resetTryEntry(a)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(t,a,i){this.delegate={iterator:values(t),resultName:a,nextLoc:i};"next"===this.method&&(this.arg=r);return m}};return t}("object"===_typeof(t=a.nmd(t))?t.exports:{});try{regeneratorRuntime=i}catch(t){Function("r","regeneratorRuntime = r")(i)}},(t,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.arrayByteLength=arrayByteLength;r.arraysToBytes=function arraysToBytes(t){var r=t.length;if(1===r&&t[0]instanceof Uint8Array)return t[0];for(var a=0,i=0;i55295&&(l<57344||l>65533)&&i++;a=i+1}}if(0===r.length)return t;a0&&void 0!==arguments[0]?arguments[0]:new Date,r=[t.getUTCFullYear().toString(),(t.getUTCMonth()+1).toString().padStart(2,"0"),t.getUTCDate().toString().padStart(2,"0"),t.getUTCHours().toString().padStart(2,"0"),t.getUTCMinutes().toString().padStart(2,"0"),t.getUTCSeconds().toString().padStart(2,"0")];return r.join("")};r.getVerbosityLevel=function getVerbosityLevel(){return o};r.info=function info(t){o>=i.INFOS&&console.log("Info: ".concat(t))};r.isArrayBuffer=function isArrayBuffer(t){return"object"===_typeof(t)&&null!==t&&void 0!==t.byteLength};r.isArrayEqual=function isArrayEqual(t,r){if(t.length!==r.length)return!1;return t.every((function(t,a){return t===r[a]}))};r.isAscii=function isAscii(t){return/^[\x00-\x7F]*$/.test(t)};r.isBool=function isBool(t){return"boolean"==typeof t};r.isNum=function isNum(t){return"number"==typeof t};r.isSameOrigin=function isSameOrigin(t,r){var a;try{if(!(a=new URL(t)).origin||"null"===a.origin)return!1}catch(t){return!1}var i=new URL(r,a);return a.origin===i.origin};r.isString=function isString(t){return"string"==typeof t};r.objectFromEntries=function objectFromEntries(t){return Object.assign(Object.create(null),Object.fromEntries(t))};r.objectSize=function objectSize(t){return Object.keys(t).length};r.removeNullCharacters=function removeNullCharacters(t){if("string"!=typeof t){warn("The argument for removeNullCharacters must be a string.");return t}return t.replace(y,"")};r.setVerbosityLevel=function setVerbosityLevel(t){Number.isInteger(t)&&(o=t)};r.shadow=shadow;r.string32=function string32(t){return String.fromCharCode(t>>24&255,t>>16&255,t>>8&255,255&t)};r.stringToBytes=stringToBytes;r.stringToPDFString=function stringToPDFString(t){var r=t.length,a=[];if("þ"===t[0]&&"ÿ"===t[1])for(var i=2;i>8&255));r.push(String.fromCharCode(255&o))}return r.join("")};r.stringToUTF8String=function stringToUTF8String(t){return decodeURIComponent(escape(t))};r.unreachable=unreachable;r.utf8StringToString=function utf8StringToString(t){return unescape(encodeURIComponent(t))};r.warn=warn;r.VerbosityLevel=r.Util=r.UNSUPPORTED_FEATURES=r.UnknownErrorException=r.UnexpectedResponseException=r.TextRenderingMode=r.StreamType=r.PermissionFlag=r.PasswordResponses=r.PasswordException=r.PageActionEventType=r.OPS=r.MissingPDFException=r.IsLittleEndianCached=r.IsEvalSupportedCached=r.InvalidPDFException=r.ImageKind=r.IDENTITY_MATRIX=r.FormatError=r.FontType=r.FONT_IDENTITY_MATRIX=r.DocumentActionEventType=r.createObjectURL=r.CMapCompressionType=r.BaseException=r.AnnotationType=r.AnnotationStateModelType=r.AnnotationReviewState=r.AnnotationReplyType=r.AnnotationMarkedState=r.AnnotationFlag=r.AnnotationFieldFlag=r.AnnotationBorderStyleType=r.AnnotationActionEventType=r.AbortException=void 0;a(5);function _defineProperties(t,r){for(var a=0;at.length)&&(r=t.length);for(var a=0,i=new Array(r);a=i.WARNINGS&&console.log("Warning: ".concat(t))}function unreachable(t){throw new Error(t)}function assert(t,r){t||unreachable(r)}function shadow(t,r,a){Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!1});return a}var l=function BaseExceptionClosure(){function BaseException(t){this.constructor===BaseException&&unreachable("Cannot initialize BaseException.");this.message=t;this.name=this.constructor.name}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();r.BaseException=l;var c=function(t){_inherits(PasswordException,t);var r=_createSuper(PasswordException);function PasswordException(t,a){var i;_classCallCheck(this,PasswordException);(i=r.call(this,t)).code=a;return i}return PasswordException}(l);r.PasswordException=c;var u=function(t){_inherits(UnknownErrorException,t);var r=_createSuper(UnknownErrorException);function UnknownErrorException(t,a){var i;_classCallCheck(this,UnknownErrorException);(i=r.call(this,t)).details=a;return i}return UnknownErrorException}(l);r.UnknownErrorException=u;var h=function(t){_inherits(InvalidPDFException,t);var r=_createSuper(InvalidPDFException);function InvalidPDFException(){_classCallCheck(this,InvalidPDFException);return r.apply(this,arguments)}return InvalidPDFException}(l);r.InvalidPDFException=h;var d=function(t){_inherits(MissingPDFException,t);var r=_createSuper(MissingPDFException);function MissingPDFException(){_classCallCheck(this,MissingPDFException);return r.apply(this,arguments)}return MissingPDFException}(l);r.MissingPDFException=d;var p=function(t){_inherits(UnexpectedResponseException,t);var r=_createSuper(UnexpectedResponseException);function UnexpectedResponseException(t,a){var i;_classCallCheck(this,UnexpectedResponseException);(i=r.call(this,t)).status=a;return i}return UnexpectedResponseException}(l);r.UnexpectedResponseException=p;var g=function(t){_inherits(FormatError,t);var r=_createSuper(FormatError);function FormatError(){_classCallCheck(this,FormatError);return r.apply(this,arguments)}return FormatError}(l);r.FormatError=g;var m=function(t){_inherits(AbortException,t);var r=_createSuper(AbortException);function AbortException(){_classCallCheck(this,AbortException);return r.apply(this,arguments)}return AbortException}(l);r.AbortException=m;var y=/\x00/g;function stringToBytes(t){assert("string"==typeof t,"Invalid argument for stringToBytes");for(var r=t.length,a=new Uint8Array(r),i=0;it[2]){r[0]=t[2];r[2]=t[0]}if(t[1]>t[3]){r[1]=t[3];r[3]=t[1]}return r}},{key:"intersect",value:function intersect(t,r){function compare(t,r){return t-r}var a=[t[0],t[2],r[0],r[2]].sort(compare),i=[t[1],t[3],r[1],r[3]].sort(compare),o=[];t=Util.normalizeRect(t);r=Util.normalizeRect(r);if(!(a[0]===t[0]&&a[1]===r[0]||a[0]===r[0]&&a[1]===t[0]))return null;o[0]=a[1];o[2]=a[2];if(!(i[0]===t[1]&&i[1]===r[1]||i[0]===r[1]&&i[1]===t[1]))return null;o[1]=i[1];o[3]=i[2];return o}}]);return Util}();r.Util=k;var w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];var C=function createObjectURLClosure(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function createObjectURL(r,a){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!i&&URL.createObjectURL){var o=new Blob([r],{type:a});return URL.createObjectURL(o)}for(var l="data:".concat(a,";base64,"),c=0,u=r.length;c>2,m=(3&h)<<4|d>>4,y=c+1>6:64,b=c+2{"use strict";var i=a(6);if("undefined"==typeof globalThis||!globalThis._pdfjsCompatibilityChecked){"undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=a(7));globalThis._pdfjsCompatibilityChecked=!0;!function checkNodeBtoa(){!globalThis.btoa&&i.isNodeJS&&(globalThis.btoa=function(t){return Buffer.from(t,"binary").toString("base64")})}();!function checkNodeAtob(){!globalThis.atob&&i.isNodeJS&&(globalThis.atob=function(t){return Buffer.from(t,"base64").toString("binary")})}();!function checkObjectFromEntries(){Object.fromEntries||a(52)}();!function checkPromise(){globalThis.Promise.allSettled||(globalThis.Promise=a(82))}();!function checkURL(){globalThis.URL=a(111)}();!function checkReadableStream(){var t=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function start(t){t.close()}});t=!0}catch(t){}t||(globalThis.ReadableStream=a(121).ReadableStream)}();!function checkStringPadStart(){String.prototype.padStart||a(122)}();!function checkStringPadEnd(){String.prototype.padEnd||a(128)}();!function checkObjectValues(){Object.values||(Object.values=a(130))}();!function checkObjectEntries(){Object.entries||(Object.entries=a(133))}()}},(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.isNodeJS=void 0;function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=!("object"!==("undefined"==typeof process?"undefined":_typeof(process))||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);r.isNodeJS=a},(t,r,a)=>{a(8);t.exports=a(10)},(t,r,a)=>{a(9)({global:!0},{globalThis:a(10)})},(t,r,a)=>{var i=a(10),o=a(11).f,l=a(25),c=a(28),u=a(29),h=a(39),d=a(51);t.exports=function(t,r){var a,p,g,m,y,b=t.target,v=t.global,S=t.stat;if(a=v?i:S?i[b]||u(b,{}):(i[b]||{}).prototype)for(p in r){m=r[p];g=t.noTargetGet?(y=o(a,p))&&y.value:a[p];if(!d(v?p:b+(S?".":"#")+p,t.forced)&&void 0!==g){if(typeof m==typeof g)continue;h(m,g)}(t.sham||g&&g.sham)&&l(m,"sham",!0);c(a,p,m,t)}}},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)||function(){return this}()||Function("return this")()},(t,r,a)=>{var i=a(12),o=a(14),l=a(15),c=a(16),u=a(20),h=a(22),d=a(23),p=Object.getOwnPropertyDescriptor;r.f=i?p:function getOwnPropertyDescriptor(t,r){t=c(t);r=u(r,!0);if(d)try{return p(t,r)}catch(t){}if(h(t,r))return l(!o.f.call(t,r),t[r])}},(t,r,a)=>{var i=a(13);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},(t,r)=>{"use strict";var a={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!a.call({1:2},1);r.f=o?function propertyIsEnumerable(t){var r=i(this,t);return!!r&&r.enumerable}:a},t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},(t,r,a)=>{var i=a(17),o=a(19);t.exports=function(t){return i(o(t))}},(t,r,a)=>{var i=a(13),o=a(18),l="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?l.call(t,""):Object(t)}:Object},t=>{var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},(t,r,a)=>{var i=a(21);t.exports=function(t,r){if(!i(t))return t;var a,o;if(r&&"function"==typeof(a=t.toString)&&!i(o=a.call(t)))return o;if("function"==typeof(a=t.valueOf)&&!i(o=a.call(t)))return o;if(!r&&"function"==typeof(a=t.toString)&&!i(o=a.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},t=>{var r={}.hasOwnProperty;t.exports=function(t,a){return r.call(t,a)}},(t,r,a)=>{var i=a(12),o=a(13),l=a(24);t.exports=!i&&!o((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a}))},(t,r,a)=>{var i=a(10),o=a(21),l=i.document,c=o(l)&&o(l.createElement);t.exports=function(t){return c?l.createElement(t):{}}},(t,r,a)=>{var i=a(12),o=a(26),l=a(15);t.exports=i?function(t,r,a){return o.f(t,r,l(1,a))}:function(t,r,a){t[r]=a;return t}},(t,r,a)=>{var i=a(12),o=a(23),l=a(27),c=a(20),u=Object.defineProperty;r.f=i?u:function defineProperty(t,r,a){l(t);r=c(r,!0);l(a);if(o)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw TypeError("Accessors not supported");"value"in a&&(t[r]=a.value);return t}},(t,r,a)=>{var i=a(21);t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},(t,r,a)=>{var i=a(10),o=a(25),l=a(22),c=a(29),u=a(30),h=a(32),d=h.get,p=h.enforce,g=String(String).split("String");(t.exports=function(t,r,a,u){var h,d=!!u&&!!u.unsafe,m=!!u&&!!u.enumerable,y=!!u&&!!u.noTargetGet;if("function"==typeof a){"string"!=typeof r||l(a,"name")||o(a,"name",r);(h=p(a)).source||(h.source=g.join("string"==typeof r?r:""))}if(t!==i){d?!y&&t[r]&&(m=!0):delete t[r];m?t[r]=a:o(t,r,a)}else m?t[r]=a:c(r,a)})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&d(this).source||u(this)}))},(t,r,a)=>{var i=a(10),o=a(25);t.exports=function(t,r){try{o(i,t,r)}catch(a){i[t]=r}return r}},(t,r,a)=>{var i=a(31),o=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return o.call(t)});t.exports=i.inspectSource},(t,r,a)=>{var i=a(10),o=a(29),l="__core-js_shared__",c=i[l]||o(l,{});t.exports=c},(t,r,a)=>{var i,o,l,c=a(33),u=a(10),h=a(21),d=a(25),p=a(22),g=a(31),m=a(34),y=a(38),b=u.WeakMap;if(c){var v=g.state||(g.state=new b),S=v.get,k=v.has,w=v.set;i=function(t,r){r.facade=t;w.call(v,t,r);return r};o=function(t){return S.call(v,t)||{}};l=function(t){return k.call(v,t)}}else{var C=m("state");y[C]=!0;i=function(t,r){r.facade=t;d(t,C,r);return r};o=function(t){return p(t,C)?t[C]:{}};l=function(t){return p(t,C)}}t.exports={set:i,get:o,has:l,enforce:function(t){return l(t)?o(t):i(t,{})},getterFor:function(t){return function(r){var a;if(!h(r)||(a=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return a}}}},(t,r,a)=>{var i=a(10),o=a(30),l=i.WeakMap;t.exports="function"==typeof l&&/native code/.test(o(l))},(t,r,a)=>{var i=a(35),o=a(37),l=i("keys");t.exports=function(t){return l[t]||(l[t]=o(t))}},(t,r,a)=>{var i=a(36),o=a(31);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.8.3",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},t=>{t.exports=!1},t=>{var r=0,a=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+a).toString(36)}},t=>{t.exports={}},(t,r,a)=>{var i=a(22),o=a(40),l=a(11),c=a(26);t.exports=function(t,r){for(var a=o(r),u=c.f,h=l.f,d=0;d{var i=a(41),o=a(43),l=a(50),c=a(27);t.exports=i("Reflect","ownKeys")||function ownKeys(t){var r=o.f(c(t)),a=l.f;return a?r.concat(a(t)):r}},(t,r,a)=>{var i=a(42),o=a(10),aFunction=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?aFunction(i[t])||aFunction(o[t]):i[t]&&i[t][r]||o[t]&&o[t][r]}},(t,r,a)=>{var i=a(10);t.exports=i},(t,r,a)=>{var i=a(44),o=a(49).concat("length","prototype");r.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return i(t,o)}},(t,r,a)=>{var i=a(22),o=a(16),l=a(45).indexOf,c=a(38);t.exports=function(t,r){var a,u=o(t),h=0,d=[];for(a in u)!i(c,a)&&i(u,a)&&d.push(a);for(;r.length>h;)i(u,a=r[h++])&&(~l(d,a)||d.push(a));return d}},(t,r,a)=>{var i=a(16),o=a(46),l=a(48),createMethod=function(t){return function(r,a,c){var u,h=i(r),d=o(h.length),p=l(c,d);if(t&&a!=a){for(;d>p;)if((u=h[p++])!=u)return!0}else for(;d>p;p++)if((t||p in h)&&h[p]===a)return t||p||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},(t,r,a)=>{var i=a(47),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},t=>{var r=Math.ceil,a=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?a:r)(t)}},(t,r,a)=>{var i=a(47),o=Math.max,l=Math.min;t.exports=function(t,r){var a=i(t);return a<0?o(a+r,0):l(a,r)}},t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(t,r)=>{r.f=Object.getOwnPropertySymbols},(t,r,a)=>{var i=a(13),o=/#|\.prototype\./,isForced=function(t,r){var a=c[l(t)];return a==h||a!=u&&("function"==typeof r?i(r):!!r)},l=isForced.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=isForced.data={},u=isForced.NATIVE="N",h=isForced.POLYFILL="P";t.exports=isForced},(t,r,a)=>{a(53);a(72);var i=a(42);t.exports=i.Object.fromEntries},(t,r,a)=>{"use strict";var i=a(16),o=a(54),l=a(62),c=a(32),u=a(63),h="Array Iterator",d=c.set,p=c.getterFor(h);t.exports=u(Array,"Array",(function(t,r){d(this,{type:h,target:i(t),index:0,kind:r})}),(function(){var t=p(this),r=t.target,a=t.kind,i=t.index++;if(!r||i>=r.length){t.target=void 0;return{value:void 0,done:!0}}return"keys"==a?{value:i,done:!1}:"values"==a?{value:r[i],done:!1}:{value:[i,r[i]],done:!1}}),"values");l.Arguments=l.Array;o("keys");o("values");o("entries")},(t,r,a)=>{var i=a(55),o=a(58),l=a(26),c=i("unscopables"),u=Array.prototype;null==u[c]&&l.f(u,c,{configurable:!0,value:o(null)});t.exports=function(t){u[c][t]=!0}},(t,r,a)=>{var i=a(10),o=a(35),l=a(22),c=a(37),u=a(56),h=a(57),d=o("wks"),p=i.Symbol,g=h?p:p&&p.withoutSetter||c;t.exports=function(t){l(d,t)||(u&&l(p,t)?d[t]=p[t]:d[t]=g("Symbol."+t));return d[t]}},(t,r,a)=>{var i=a(13);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},(t,r,a)=>{var i=a(56);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(t,r,a)=>{var i,o=a(27),l=a(59),c=a(49),u=a(38),h=a(61),d=a(24),p=a(34),g=p("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"