mk-form-design
Version:
基于vue、ant-design-vue的表单设计器,可视化开发表单
23 lines • 913 kB
JavaScript
(function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="069e")})({"069e":function(e,t,r){(function(t,r,a){
/**
* @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(t,r){e.exports=r()})(0,(function(){return(()=>{var e=[(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WorkerMessageHandler",{enumerable:!0,get:function(){return a.WorkerMessageHandler}});var a=r(1)},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkerTask=t.WorkerMessageHandler=void 0;var a=f(r(2)),n=r(4),i=r(135),o=r(136),s=r(176),c=r(6),l=r(178),u=r(179),h=r(138);function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=b(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}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 i,o=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r["return"]||r["return"]()}finally{if(s)throw i}}}}function p(e){return k(e)||g(e)||b(e)||v()}function g(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function m(e,t){return k(e)||w(e,t)||b(e,t)||v()}function v(){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 b(e,t){if(e){if("string"===typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function w(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],a=!0,n=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done);a=!0)if(r.push(o.value),t&&r.length===t)break}catch(c){n=!0,i=c}finally{try{a||null==s["return"]||s["return"]()}finally{if(n)throw i}}return r}}function k(e){if(Array.isArray(e))return e}function S(e,t,r,a,n,i,o){try{var s=e[i](o),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(a,n)}function C(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function o(e){S(i,a,n,o,s,"next",e)}function s(e){S(i,a,n,o,s,"throw",e)}o(void 0)}))}}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function E(e,t,r){return t&&A(e.prototype,t),r&&A(e,r),e}var O=function(){function e(t){x(this,e),this.name=t,this.terminated=!1,this._capability=(0,n.createPromiseCapability)()}return E(e,[{key:"finish",value:function(){this._capability.resolve()}},{key:"terminate",value:function(){this.terminated=!0}},{key:"ensureNotTerminated",value:function(){if(this.terminated)throw new Error("Worker task was terminated")}},{key:"finished",get:function(){return this._capability.promise}}]),e}();t.WorkerTask=O;var T=function(){function e(){x(this,e)}return E(e,null,[{key:"setup",value:function(t,r){var a=!1;t.on("test",(function(e){if(!a)if(a=!0,e instanceof Uint8Array){var r=255===e[0];t.postMessageTransfers=r,t.send("test",{supportTransfers:r})}else t.send("test",null)})),t.on("configure",(function(e){(0,n.setVerbosityLevel)(e.verbosity)})),t.on("GetDocRequest",(function(t){return e.createDocumentHandler(t,r)}))}},{key:"createDocumentHandler",value:function(e,t){var r,c=!1,f=null,g=[],v=(0,n.getVerbosityLevel)(),b=e.apiVersion,y="2.7.570";if(b!==y)throw new Error('The API version "'.concat(b,'" does not match ')+'the Worker version "'.concat(y,'".'));var w=[];for(var k in[])w.push(k);if(w.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+w.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");var S=e.docId,x=e.docBaseUrl,A=e.docId+"_worker",E=new l.MessageHandler(A,S,t);function T(){if(c)throw new Error("Worker was terminated")}function P(e){g.push(e)}function _(e){e.finish();var t=g.indexOf(e);g.splice(t,1)}function I(e){return F.apply(this,arguments)}function F(){return F=C(a["default"].mark((function e(t){var n,i,o,s;return a["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r.ensureDoc("checkHeader");case 2:return e.next=4,r.ensureDoc("parseStartXRef");case 4:return e.next=6,r.ensureDoc("parse",[t]);case 6:if(t){e.next=9;break}return e.next=9,r.ensureDoc("checkFirstPage");case 9:return e.next=11,Promise.all([r.ensureDoc("numPages"),r.ensureDoc("fingerprint")]);case 11:return n=e.sent,i=m(n,2),o=i[0],s=i[1],e.abrupt("return",{numPages:o,fingerprint:s});case 16:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}function R(e,t){var r,a=(0,n.createPromiseCapability)(),i=e.source;if(i.data){try{r=new o.LocalPdfManager(S,i.data,i.password,t,x),a.resolve(r)}catch(g){a.reject(g)}return a.promise}var s,c=[];try{s=new u.PDFWorkerStream(E)}catch(g){return a.reject(g),a.promise}var l=s.getFullReader();l.headersReady.then((function(){if(l.isRangeSupported){var e=i.disableAutoFetch||l.isStreamingSupported;r=new o.NetworkPdfManager(S,s,{msgHandler:E,password:i.password,length:l.contentLength,disableAutoFetch:e,rangeChunkSize:i.rangeChunkSize},t,x);for(var n=0;n<c.length;n++)r.sendProgressiveData(c[n]);c=[],a.resolve(r),f=null}}))["catch"]((function(e){a.reject(e),f=null}));var h=0,d=function(){var e=(0,n.arraysToBytes)(c);i.length&&e.length!==i.length&&(0,n.warn)("reported HTTP length is different from actual");try{r=new o.LocalPdfManager(S,e,i.password,t,x),a.resolve(r)}catch(g){a.reject(g)}c=[]},p=new Promise((function(e,t){var a=function e(a){var i=a.value,o=a.done;try{if(T(),o)return r||d(),void(f=null);h+=(0,n.arrayByteLength)(i),l.isStreamingSupported||E.send("DocProgress",{loaded:h,total:Math.max(h,l.contentLength||0)}),r?r.sendProgressiveData(i):c.push(i),l.read().then(e,t)}catch(s){t(s)}};l.read().then(a,t)}));return p["catch"]((function(e){a.reject(e),f=null})),f=function(e){s.cancelAllRequests(e)},a.promise}function B(e){function t(e){T(),E.send("GetDoc",{pdfInfo:e})}function a(e){if(T(),e instanceof n.PasswordException){var t=new O("PasswordException: response ".concat(e.code));P(t),E.sendWithPromise("PasswordRequest",e).then((function(e){var a=e.password;_(t),r.updatePassword(a),i()}))["catch"]((function(){_(t),E.send("DocException",e)}))}else e instanceof n.InvalidPDFException||e instanceof n.MissingPDFException||e instanceof n.UnexpectedResponseException||e instanceof n.UnknownErrorException?E.send("DocException",e):E.send("DocException",new n.UnknownErrorException(e.message,e.toString()))}function i(){T(),I(!1).then(t,(function(e){T(),e instanceof h.XRefParseException?(r.requestLoadedStream(),r.onLoadedStream().then((function(){T(),I(!0).then(t,a)}))):a(e)}))}T();var o={maxImageSize:e.maxImageSize,disableFontFace:e.disableFontFace,ignoreErrors:e.ignoreErrors,isEvalSupported:e.isEvalSupported,fontExtraProperties:e.fontExtraProperties};R(e,o).then((function(e){if(c)throw e.terminate(new n.AbortException("Worker was terminated.")),new Error("Worker was terminated");r=e,r.onLoadedStream().then((function(e){E.send("DataLoaded",{length:e.bytes.byteLength})}))})).then(i,a)}return E.postMessageTransfers=e.postMessageTransfers,E.on("GetPage",(function(e){return r.getPage(e.pageIndex).then((function(e){return Promise.all([r.ensure(e,"rotate"),r.ensure(e,"ref"),r.ensure(e,"userUnit"),r.ensure(e,"view")]).then((function(e){var t=m(e,4),r=t[0],a=t[1],n=t[2],i=t[3];return{rotate:r,ref:a,userUnit:n,view:i}}))}))})),E.on("GetPageIndex",(function(e){var t=e.ref,a=i.Ref.get(t.num,t.gen);return r.ensureCatalog("getPageIndex",[a])})),E.on("GetDestinations",(function(e){return r.ensureCatalog("destinations")})),E.on("GetDestination",(function(e){return r.ensureCatalog("getDestination",[e.id])})),E.on("GetPageLabels",(function(e){return r.ensureCatalog("pageLabels")})),E.on("GetPageLayout",(function(e){return r.ensureCatalog("pageLayout")})),E.on("GetPageMode",(function(e){return r.ensureCatalog("pageMode")})),E.on("GetViewerPreferences",(function(e){return r.ensureCatalog("viewerPreferences")})),E.on("GetOpenAction",(function(e){return r.ensureCatalog("openAction")})),E.on("GetAttachments",(function(e){return r.ensureCatalog("attachments")})),E.on("GetJavaScript",(function(e){return r.ensureCatalog("javaScript")})),E.on("GetDocJSActions",(function(e){return r.ensureCatalog("jsActions")})),E.on("GetPageJSActions",(function(e){var t=e.pageIndex;return r.getPage(t).then((function(e){return e.jsActions}))})),E.on("GetOutline",(function(e){return r.ensureCatalog("documentOutline")})),E.on("GetOptionalContentConfig",(function(e){return r.ensureCatalog("optionalContentConfig")})),E.on("GetPermissions",(function(e){return r.ensureCatalog("permissions")})),E.on("GetMetadata",(function(e){return Promise.all([r.ensureDoc("documentInfo"),r.ensureCatalog("metadata")])})),E.on("GetMarkInfo",(function(e){return r.ensureCatalog("markInfo")})),E.on("GetData",(function(e){return r.requestLoadedStream(),r.onLoadedStream().then((function(e){return e.bytes}))})),E.on("GetStats",(function(e){return r.ensureXRef("stats")})),E.on("GetAnnotations",(function(e){var t=e.pageIndex,a=e.intent;return r.getPage(t).then((function(e){return e.getAnnotationsData(a)}))})),E.on("GetFieldObjects",(function(e){return r.ensureDoc("fieldObjects")})),E.on("HasJSActions",(function(e){return r.ensureDoc("hasJSActions")})),E.on("GetCalculationOrderIds",(function(e){return r.ensureDoc("calculationOrderIds")})),E.on("SaveDocument",(function(e){var t=e.numPages,a=e.annotationStorage,o=e.filename;r.requestLoadedStream();for(var c=[r.onLoadedStream(),r.ensureCatalog("acroForm"),r.ensureDoc("xref"),r.ensureDoc("startXRef")],l=function(e){c.push(r.getPage(e).then((function(t){var r=new O("Save: page ".concat(e));return P(r),t.save(E,r,a)["finally"]((function(){_(r)}))})))},u=0;u<t;u++)l(u);return Promise.all(c).then((function(e){var t,r=p(e),a=r[0],c=r[1],l=r[2],u=r[3],h=r.slice(4),f=[],g=d(h);try{for(g.s();!(t=g.n()).done;){var m=t.value;f=m.filter((function(e){return null!==e})).reduce((function(e,t){return e.concat(t)}),f)}}catch(x){g.e(x)}finally{g.f()}if(0===f.length)return a.bytes;var v=c instanceof i.Dict&&c.get("XFA")||[],b=null;if(Array.isArray(v))for(var y=0,w=v.length;y<w;y+=2)"datasets"===v[y]&&(b=v[y+1]);else(0,n.warn)("Unsupported XFA type.");var k=Object.create(null);if(l.trailer){var S=Object.create(null),C=l.trailer.get("Info")||null;C instanceof i.Dict&&C.forEach((function(e,t){(0,n.isString)(e)&&(0,n.isString)(t)&&(S[e]=(0,n.stringToPDFString)(t))})),k={rootRef:l.trailer.getRaw("Root")||null,encrypt:l.trailer.getRaw("Encrypt")||null,newRef:l.getNewRef(),infoRef:l.trailer.getRaw("Info")||null,info:S,fileIds:l.trailer.getRaw("ID")||null,startXRef:u,filename:o}}return l.resetNewRef(),(0,s.incrementalUpdate)({originalData:a.bytes,xrefInfo:k,newRefs:f,xref:l,datasetsRef:b})}))})),E.on("GetOperatorList",(function(e,t){var a=e.pageIndex;r.getPage(a).then((function(r){var i=new O("GetOperatorList: page ".concat(a));P(i);var o=v>=n.VerbosityLevel.INFOS?Date.now():0;r.getOperatorList({handler:E,sink:t,task:i,intent:e.intent,renderInteractiveForms:e.renderInteractiveForms,annotationStorage:e.annotationStorage}).then((function(e){_(i),o&&(0,n.info)("page=".concat(a+1," - getOperatorList: time=")+"".concat(Date.now()-o,"ms, len=").concat(e.length)),t.close()}),(function(e){_(i),i.terminated||(E.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorOperatorList}),t.error(e))}))}))})),E.on("GetTextContent",(function(e,t){var a=e.pageIndex;t.onPull=function(e){},t.onCancel=function(e){},r.getPage(a).then((function(r){var i=new O("GetTextContent: page "+a);P(i);var o=v>=n.VerbosityLevel.INFOS?Date.now():0;r.extractTextContent({handler:E,task:i,sink:t,normalizeWhitespace:e.normalizeWhitespace,combineTextItems:e.combineTextItems}).then((function(){_(i),o&&(0,n.info)("page=".concat(a+1," - getTextContent: time=")+"".concat(Date.now()-o,"ms")),t.close()}),(function(e){_(i),i.terminated||t.error(e)}))}))})),E.on("FontFallback",(function(e){return r.fontFallback(e.id,E)})),E.on("Cleanup",(function(e){return r.cleanup(!0)})),E.on("Terminate",(function(e){c=!0;var t=[];if(r){r.terminate(new n.AbortException("Worker was terminated."));var a=r.cleanup();t.push(a),r=null}else(0,i.clearPrimitiveCaches)();return f&&f(new n.AbortException("Worker was terminated.")),g.forEach((function(e){t.push(e.finished),e.terminate()})),Promise.all(t).then((function(){E.destroy(),E=null}))})),E.on("Ready",(function(t){B(e),e=null})),A}},{key:"initializeFromPort",value:function(t){var r=new l.MessageHandler("worker","main",t);e.setup(r,t),r.send("ready",null)}}]),e}();function P(e){return"function"===typeof e.postMessage&&"onmessage"in e}t.WorkerMessageHandler=T,"undefined"===typeof window&&!c.isNodeJS&&"undefined"!==typeof self&&P(self)&&T.initializeFromPort(self)},(e,t,r)=>{"use strict";e.exports=r(3)},(e,t,r)=>{"use strict";function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}e=r.nmd(e);var n=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(R){l=function(e,t,r){return e[t]=r}}function u(e,t,r,a){var n=t&&t.prototype instanceof v?t:v,i=Object.create(n.prototype),o=new _(a||[]);return i._invoke=E(e,r,o),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",g="completed",m={};function v(){}function b(){}function y(){}var w={};w[o]=function(){return this};var k=Object.getPrototypeOf,S=k&&k(k(I([])));S&&S!==r&&n.call(S,o)&&(w=S);var C=y.prototype=v.prototype=Object.create(w);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(i,o,s,c){var l=h(e[i],e,o);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"===a(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,c)}))}c(l.arg)}var i;function o(e,a){function n(){return new t((function(t,n){r(e,a,t,n)}))}return i=i?i.then(n,n):n()}this._invoke=o}function E(e,t,r){var a=f;return function(n,i){if(a===p)throw new Error("Generator is already running");if(a===g){if("throw"===n)throw i;return F()}r.method=n,r.arg=i;while(1){var o=r.delegate;if(o){var s=O(o,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===f)throw a=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=p;var c=h(e,t,r);if("normal"===c.type){if(a=r.done?g:d,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=g,r.method="throw",r.arg=c.arg)}}}function O(e,r){var a=e.iterator[r.method];if(a===t){if(r.delegate=null,"throw"===r.method){if(e.iterator["return"]&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=h(a,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;var i=n.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function I(e){if(e){var r=e[o];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function r(){while(++a<e.length)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:F}}function F(){return{value:t,done:!0}}return b.prototype=C.constructor=y,y.constructor=b,b.displayName=l(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},x(A.prototype),A.prototype[s]=function(){return this},e.AsyncIterator=A,e.async=function(t,r,a,n,i){void 0===i&&(i=Promise);var o=new A(u(t,r,a,n),i);return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},x(C),l(C,c,"Generator"),C[o]=function(){return this},C.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},e.values=I,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(a,n){return s.type="throw",s.arg=e,r.next=a,n&&(r.method="next",r.arg=t),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;P(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:I(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),m}},e}("object"===a(e)?e.exports:{});try{regeneratorRuntime=n}catch(i){Function("r","regeneratorRuntime = r")(n)}},(e,t,r)=>{"use strict";function a(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function n(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}function i(e){return l(e)||c(e)||s(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function c(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function h(e){return h="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function g(e){var t=b();return function(){var r,a=y(e);if(t){var n=y(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==h(t)&&"function"!==typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=fe,t.arraysToBytes=de,t.assert=K,t.bytesToString=ue,t.createPromiseCapability=De,t.createValidAbsoluteUrl=Q,t.encodeToXmlString=Ue,t.escapeString=Ae,t.getModificationDate=Me,t.getVerbosityLevel=W,t.info=X,t.isArrayBuffer=Re,t.isArrayEqual=Be,t.isAscii=Ee,t.isBool=_e,t.isNum=Ie,t.isSameOrigin=J,t.isString=Fe,t.objectFromEntries=me,t.objectSize=ge,t.removeNullCharacters=le,t.setVerbosityLevel=H,t.shadow=$,t.string32=pe,t.stringToBytes=he,t.stringToPDFString=xe,t.stringToUTF16BEString=Oe,t.stringToUTF8String=Te,t.unreachable=Y,t.utf8StringToString=Pe,t.warn=V,t.VerbosityLevel=t.Util=t.UNSUPPORTED_FEATURES=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.IsLittleEndianCached=t.IsEvalSupportedCached=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.createObjectURL=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,r(5);var w=[1,0,0,1,0,0];t.IDENTITY_MATRIX=w;var k=[.001,0,0,.001,0,0];t.FONT_IDENTITY_MATRIX=k;var S={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};t.PermissionFlag=S;var C={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};t.TextRenderingMode=C;var x={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};t.ImageKind=x;var A={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};t.AnnotationType=A;var E={MARKED:"Marked",REVIEW:"Review"};t.AnnotationStateModelType=E;var O={MARKED:"Marked",UNMARKED:"Unmarked"};t.AnnotationMarkedState=O;var T={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};t.AnnotationReviewState=T;var P={GROUP:"Group",REPLY:"R"};t.AnnotationReplyType=P;var _={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};t.AnnotationFlag=_;var I={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};t.AnnotationFieldFlag=I;var F={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};t.AnnotationBorderStyleType=F;var R={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};t.AnnotationActionEventType=R;var B={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};t.DocumentActionEventType=B;var M={O:"PageOpen",C:"PageClose"};t.PageActionEventType=M;var D={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};t.StreamType=D;var L={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};t.FontType=L;var N={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=N;var U={NONE:0,BINARY:1,STREAM:2};t.CMapCompressionType=U;var j={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};t.OPS=j;var q={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent"};t.UNSUPPORTED_FEATURES=q;var z={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};t.PasswordResponses=z;var G=N.WARNINGS;function H(e){Number.isInteger(e)&&(G=e)}function W(){return G}function X(e){G>=N.INFOS&&console.log("Info: ".concat(e))}function V(e){G>=N.WARNINGS&&console.log("Warning: ".concat(e))}function Y(e){throw new Error(e)}function K(e,t){e||Y(t)}function J(e,t){var r;try{if(r=new URL(e),!r.origin||"null"===r.origin)return!1}catch(n){return!1}var a=new URL(t,r);return r.origin===a.origin}function Z(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function Q(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(Z(r))return r}catch(a){}return null}function $(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r}var ee=function(){function e(t){this.constructor===e&&Y("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=ee;var te=function(e){d(r,e);var t=g(r);function r(e,a){var n;return f(this,r),n=t.call(this,e),n.code=a,n}return r}(ee);t.PasswordException=te;var re=function(e){d(r,e);var t=g(r);function r(e,a){var n;return f(this,r),n=t.call(this,e),n.details=a,n}return r}(ee);t.UnknownErrorException=re;var ae=function(e){d(r,e);var t=g(r);function r(){return f(this,r),t.apply(this,arguments)}return r}(ee);t.InvalidPDFException=ae;var ne=function(e){d(r,e);var t=g(r);function r(){return f(this,r),t.apply(this,arguments)}return r}(ee);t.MissingPDFException=ne;var ie=function(e){d(r,e);var t=g(r);function r(e,a){var n;return f(this,r),n=t.call(this,e),n.status=a,n}return r}(ee);t.UnexpectedResponseException=ie;var oe=function(e){d(r,e);var t=g(r);function r(){return f(this,r),t.apply(this,arguments)}return r}(ee);t.FormatError=oe;var se=function(e){d(r,e);var t=g(r);function r(){return f(this,r),t.apply(this,arguments)}return r}(ee);t.AbortException=se;var ce=/\x00/g;function le(e){return"string"!==typeof e?(V("The argument for removeNullCharacters must be a string."),e):e.replace(ce,"")}function ue(e){K(null!==e&&"object"===h(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var a=[],n=0;n<t;n+=r){var i=Math.min(n+r,t),o=e.subarray(n,i);a.push(String.fromCharCode.apply(null,o))}return a.join("")}function he(e){K("string"===typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),a=0;a<t;++a)r[a]=255&e.charCodeAt(a);return r}function fe(e){return void 0!==e.length?e.length:(K(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}function de(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var r=0,a=0;a<t;a++)r+=fe(e[a]);for(var n=0,i=new Uint8Array(r),o=0;o<t;o++){var s=e[o];s instanceof Uint8Array||(s="string"===typeof s?he(s):new Uint8Array(s));var c=s.byteLength;i.set(s,n),n+=c}return i}function pe(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function ge(e){return Object.keys(e).length}function me(e){return Object.assign(Object.create(null),Object.fromEntries(e))}function ve(){var e=new Uint8Array(4);e[0]=1;var t=new Uint32Array(e.buffer,0,1);return 1===t[0]}var be={get value(){return $(this,"value",ve())}};function ye(){try{return new Function(""),!0}catch(e){return!1}}t.IsLittleEndianCached=be;var we={get value(){return $(this,"value",ye())}};t.IsEvalSupportedCached=we;var ke=i(Array(256).keys()).map((function(e){return e.toString(16).padStart(2,"0")})),Se=function(){function e(){f(this,e)}return n(e,null,[{key:"makeHexColor",value:function(e,t,r){return"#".concat(ke[e]).concat(ke[t]).concat(ke[r])}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){var r=e[0]*t[0]+e[1]*t[2]+t[4],a=e[0]*t[1]+e[1]*t[3]+t[5];return[r,a]}},{key:"applyInverseTransform",value:function(e,t){var r=t[0]*t[3]-t[1]*t[2],a=(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,n=(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r;return[a,n]}},{key:"getAxialAlignedBoundingBox",value:function(t,r){var a=e.applyTransform(t,r),n=e.applyTransform(t.slice(2,4),r),i=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(a[0],n[0],i[0],o[0]),Math.min(a[1],n[1],i[1],o[1]),Math.max(a[0],n[0],i[0],o[0]),Math.max(a[1],n[1],i[1],o[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],a=e[0]*t[1]+e[1]*t[3],n=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],o=(r+i)/2,s=Math.sqrt((r+i)*(r+i)-4*(r*i-n*a))/2,c=o+s||1,l=o-s||1;return[Math.sqrt(c),Math.sqrt(l)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(t,r){function a(e,t){return e-t}var n=[t[0],t[2],r[0],r[2]].sort(a),i=[t[1],t[3],r[1],r[3]].sort(a),o=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),n[0]===t[0]&&n[1]===r[0]||n[0]===r[0]&&n[1]===t[0]?(o[0]=n[1],o[2]=n[2],i[0]===t[1]&&i[1]===r[1]||i[0]===r[1]&&i[1]===t[1]?(o[1]=i[1],o[3]=i[2],o):null):null}}]),e}();t.Util=Se;var Ce=[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];function xe(e){var t=e.length,r=[];if("þ"===e[0]&&"ÿ"===e[1])for(var a=2;a<t;a+=2)r.push(String.fromCharCode(e.charCodeAt(a)<<8|e.charCodeAt(a+1)));else if("ÿ"===e[0]&&"þ"===e[1])for(var n=2;n<t;n+=2)r.push(String.fromCharCode(e.charCodeAt(n+1)<<8|e.charCodeAt(n)));else for(var i=0;i<t;++i){var o=Ce[e.charCodeAt(i)];r.push(o?String.fromCharCode(o):e.charAt(i))}return r.join("")}function Ae(e){return e.replace(/([()\\\n\r])/g,(function(e){return"\n"===e?"\\n":"\r"===e?"\\r":"\\".concat(e)}))}function Ee(e){return/^[\x00-\x7F]*$/.test(e)}function Oe(e){for(var t=["þÿ"],r=0,a=e.length;r<a;r++){var n=e.charCodeAt(r);t.push(String.fromCharCode(n>>8&255)),t.push(String.fromCharCode(255&n))}return t.join("")}function Te(e){return decodeURIComponent(escape(e))}function Pe(e){return unescape(encodeURIComponent(e))}function _e(e){return"boolean"===typeof e}function Ie(e){return"number"===typeof e}function Fe(e){return"string"===typeof e}function Re(e){return"object"===h(e)&&null!==e&&void 0!==e.byteLength}function Be(e,t){return e.length===t.length&&e.every((function(e,r){return e===t[r]}))}function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")];return t.join("")}function De(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(r,a){e.resolve=function(e){t=!0,r(e)},e.reject=function(e){t=!0,a(e)}})),e}var Le=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!a&&URL.createObjectURL){var n=new Blob([t],{type:r});return URL.createObjectURL(n)}for(var i="data:".concat(r,";base64,"),o=0,s=t.length;o<s;o+=3){var c=255&t[o],l=255&t[o+1],u=255&t[o+2],h=c>>2,f=(3&c)<<4|l>>4,d=o+1<s?(15&l)<<2|u>>6:64,p=o+2<s?63&u:64;i+=e[h]+e[f]+e[d]+e[p]}return i}}();t.createObjectURL=Le;var Ne={60:"<",62:">",38:"&",34:""",39:"'"};function Ue(e){for(var t=[],r=0,a=0,n=e.length;a<n;a++){var i=e.codePointAt(a);if(32<=i&&i<=126){var o=Ne[i];o&&(r<a&&t.push(e.substring(r,a)),t.push(o),r=a+1)}else r<a&&t.push(e.substring(r,a)),t.push("&#x".concat(i.toString(16).toUpperCase(),";")),i>55295&&(i<57344||i>65533)&&a++,r=a+1}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))}},(e,r,a)=>{"use strict";var n=a(6);"undefined"!==typeof globalThis&&globalThis._pdfjsCompatibilityChecked||("undefined"!==typeof globalThis&&globalThis.Math===Math||(globalThis=a(7)),globalThis._pdfjsCompatibilityChecked=!0,function(){!globalThis.btoa&&n.isNodeJS&&(globalThis.btoa=function(e){return t.from(e,"binary").toString("base64")})}(),function(){!globalThis.atob&&n.isNodeJS&&(globalThis.atob=function(e){return t.from(e,"base64").toString("binary")})}(),function(){Object.fromEntries||a(52)}(),function(){globalThis.Promise.allSettled||(globalThis.Promise=a(82))}(),function(){globalThis.URL=a(111)}(),function(){var e=!1;if("undefined"!==typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),e=!0}catch(t){}e||(globalThis.ReadableStream=a(121).ReadableStream)}(),function(){String.prototype.padStart||a(122)}(),function(){String.prototype.padEnd||a(128)}(),function(){Object.values||(Object.values=a(130))}(),function(){Object.entries||(Object.entries=a(133))}())},(e,t)=>{"use strict";function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var n="object"===("undefined"===typeof r?"undefined":a(r))&&r+""==="[object process]"&&!r.versions.nw&&!(r.versions.electron&&r.type&&"browser"!==r.type);t.isNodeJS=n},(e,t,r)=>{r(8),e.exports=r(10)},(e,t,r)=>{var a=r(9),n=r(10);a({global:!0},{globalThis:n})},(e,t,r)=>{var a=r(10),n=r(11).f,i=r(25),o=r(28),s=r(29),c=r(39),l=r(51);e.exports=function(e,t){var r,u,h,f,d,p,g=e.target,m=e.global,v=e.stat;if(u=m?a:v?a[g]||s(g,{}):(a[g]||{}).prototype,u)for(h in t){if(d=t[h],e.noTargetGet?(p=n(u,h),f=p&&p.value):f=u[h],r=l(m?h:g+(v?".":"#")+h,e.forced),!r&&void 0!==f){if(typeof d===typeof f)continue;c(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),o(u,h,d,e)}}},e=>{var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof a&&a)||function(){return this}()||Function("return this")()},(e,t,r)=>{var a=r(12),n=r(14),i=r(15),o=r(16),s=r(20),c=r(22),l=r(23),u=Object.getOwnPropertyDescriptor;t.f=a?u:function(e,t){if(e=o(e),t=s(t,!0),l)try{return u(e,t)}catch(r){}if(c(e,t))return i(!n.f.call(e,t),e[t])}},(e,t,r)=>{var a=r(13);e.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},(e,t)=>{"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!r.call({1:2},1);t.f=n?function(e){var t=a(this,e);return!!t&&t.enumerable}:r},e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},(e,t,r)=>{var a=r(17),n=r(19);e.exports=function(e){return a(n(e))}},(e,t,r)=>{var a=r(13),n=r(18),i="".split;e.exports=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==n(e)?i.call(e,""):Object(e)}:Object},e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},e=>{e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},(e,t,r)=>{var a=r(21);e.exports=function(e,t){if(!a(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!a(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},e=>{e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},e=>{var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},(e,t,r)=>{var a=r(12),n=r(13),i=r(24);e.exports=!a&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},(e,t,r)=>{var a=r(10),n=r(21),i=a.document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},(e,t,r)=>{var a=r(12),n=r(26),i=r(15);e.exports=a?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},(e,t,r)=>{var a=r(12),n=r(23),i=r(27),o=r(20),s=Object.defineProperty;t.f=a?s:function(e,t,r){if(i(e),t=o(t,!0),i(r),n)try{return s(e,t,r)}catch(a){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},(e,t,r)=>{var a=r(21);e.exports=function(e){if(!a(e))throw TypeError(String(e)+" is not an object");return e}},(e,t,r)=>{var a=r(10),n=r(25),i=r(22),o=r(29),s=r(30),c=r(32),l=c.get,u=c.enforce,h=String(String).split("String");(e.exports=function(e,t,r,s){var c,l=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||n(r,"name",t),c=u(r),c.source||(c.source=h.join("string"==typeof t?t:""))),e!==a?(l?!d&&e[t]&&(f=!0):delete e[t],f?e[t]=r:n(e,t,r)):f?e[t]=r:o(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},(e,t,r)=>{var a=r(10),n=r(25);e.exports=function(e,t){try{n(a,e,t)}catch(r){a[e]=t}return t}},(e,t,r)=>{var a=r(31),n=Function.toString;"function"!=typeof a.inspectSource&&(a.inspectSource=function(e){return n.call(e)}),e.exports=a.inspectSource},(e,t,r)=>{var a=r(10),n=r(29),i="__core-js_shared__",o=a[i]||n(i,{});e.exports=o},(e,t,r)=>{var a,n,i,o=r(33),s=r(10),c=r(21),l=r(25),u=r(22),h=r(31),f=r(34),d=r(38),p=s.WeakMap,g=function(e){return i(e)?n(e):a(e,{})},m=function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(o){var v=h.state||(h.state=new p),b=v.get,y=v.has,w=v.set;a=function(e,t){return t.facade=e,w.call(v,e,t),t},n=function(e){return b.call(v,e)||{}},i=function(e){return y.call(v,e)}}else{var k=f("state");d[k]=!0,a=function(e,t){return t.facade=e,l(e,k,t),t},n=function(e){return u(e,k)?e[k]:{}},i=function(e){return u(e,k)}}e.exports={set:a,get:n,has:i,enforce:g,getterFor:m}},(e,t,r)=>{var a=r(10),n=r(30),i=a.WeakMap;e.exports="function"===typeof i&&/native code/.test(n(i))},(e,t,r)=>{var a=r(35),n=r(37),i=a("keys");e.exports=function(e){return i[e]||(i[e]=n(e))}},(e,t,r)=>{var a=r(36),n=r(31);(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.3",mode:a?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},e=>{e.exports=!1},e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},e=>{e.exports={}},(e,t,r)=>{var a=r(22),n=r(40),i=r(11),o=r(26);e.exports=function(e,t){for(var r=n(t),s=o.f,c=i.f,l=0;l<r.length;l++){var u=r[l];a(e,u)||s(e,u,c(t,u))}}},(e,t,r)=>{var a=r(41),n=r(43),i=r(50),o=r(27);e.exports=a("Reflect","ownKeys")||function(e){var t=n.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},(e,t,r)=>{var a=r(42),n=r(10),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(a[e])||i(n[e]):a[e]&&a[e][t]||n[e]&&n[e][t]}},(e,t,r)=>{var a=r(10);e.exports=a},(e,t,r)=>{var a=r(44),n=r(49),i=n.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,i)}},(e,t,r)=>{var a=r(22),n=r(16),i=r(45).indexOf,o=r(38);e.exports=function(e,t){var r,s=n(e),c=0,l=[];for(r in s)!a(o,r)&&a(s,r)&&l.push(r);while(t.length>c)a(s,r=t[c++])&&(~i(l,r)||l.push(r));return l}},(e,t,r)=>{var a=r(16),n=r(46),i=r(48),o=function(e){return function(t,r,o){var s,c=a(t),l=n(c.length),u=i(o,l);if(e&&r!=r){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},(e,t,r)=>{var a=r(47),n=Math.min;e.exports=function(e){return e>0?n(a(e),9007199254740991):0}},e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},(e,t,r)=>{var a=r(47),n=Math.max,i=Math.min;e.exports=function(e,t){var r=a(e);return r<0?n(r+t,0):i(r,t)}},e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(e,t)=>{t.f=Object.getOwnPropertySymbols},(e,t,r)=>{var a=r(13),n=/#|\.prototype\./,i=function(e,t){var r=s[o(e)];return r==l||r!=c&&("function"==typeof t?a(t):!!t)},o=i.normalize=function(e){return String(e).replace(n,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},(e,t,r)=>{r(53),r(72);var a=r(42);e.exports=a.Object.fromEntries},(e,t,r)=>{"use strict";var a=r(16),n=r(54),i=r(62),o=r(32),s=r(63),c="Array Iterator",l=o.set,u=o.getterFor(c);e.exports=s(Array,"Array",(function(e,t){l(this,{type:c,target:a(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,r=e.kind,a=e.index++;return!t||a>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:a,done:!1}:"values"==r?{value:t[a],done:!1}:{value:[a,t[a]],done:!1}}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},(e,t,r)=>{var a=r(55),n=r(58),i=r(26),o=a("unscopables"),s=Array.prototype;void 0==s[o]&&i.f(s,o,{configurable:!0,value:n(null)}),e.exports=function(e){s[o][e]=!0}},(e,t,r)=>{var a=r(10),n=r(35),i=r(22),o=r(37),s=r(56),c=r(57),l=n("wks"),u=a.Symbol,h=c?u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(s&&i(u,e)?l[e]=u[e]:l[e]=h("Symbol."+e)),l[e]}},(e,t,r)=>{var a=r(13);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())}))},(e,t,r)=>{var a=r(56);e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(e,t,r)=>{var a,n=r(27),i=r(59),o=r(49),s=r(38),c=r(61),l=r(24),u=r(34),h=">",f="<",d="prototype",p="script",g=u("IE_PROTO"),m=function(){},v=function(e){return f+p+h+e+f+"/"+p+h},b=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=l("iframe"),r="java"+p+":";return t.style.display="none",c.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(v("document.F=Object")),e.close(),e.F},w=function(){try{a=document.domain&&new ActiveXObject("htmlfile")}catch(t){}w=a?b(a):y();var e=o.length;while(e--)delete w[d][o[e]];return w()};s[g]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=n(e),r=new m,m[d]=null,r[g]=e):r=w(),void 0===t?r:i(r,t)}},(e,t,r)=>{var a=r(12),n=r(26),i=r(27),o=r(60);e.exports=a?Object.defineProperties:function(e,t){i(e);var r,a=o(t),s=a.length,c=0;while(s>c)n.f(e,r=a[c++],t[r]);return e}},(e,t,r)=>{var a=r(44),n=r(49);e.exports=Object.keys||function(e){return a(e,n)}},(e,t,r)=>{var a=r(41);e.exports=a("document","documentElement")},e=>{e.exports={}},(e,t,r)=>{"use strict";var a=r(9),n=r(64),i=r(66),o=r(70),s=r(69),c=r(25),l=r(28),u=r(55),h=r(36),f=r(62),d=r(65),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,m=u("iterator"),v="keys",b="values",y="entries",w=function(){return this};e.exports=function(e,t,r,u,d,k,S){n(r,t,u);var C,x,A,E=function(e){if(e===d&&I)return I;if(!g&&e in P)return P[e];switch(e){case v:return function(){return new r(this,e)};case b:return function(){return new r(this,e)}