UNPKG

@cocalc/cdn

Version:

Files that CoCalc uses that would be natural in various contexts to get from a CDN

22 lines 415 kB
/** * @licstart The following is the entire license notice for the * Javascript code in this page * * Copyright 2022 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",[],r):"object"==typeof exports?exports["pdfjs-dist/build/pdf"]=r():t["pdfjs-dist/build/pdf"]=t.pdfjsLib=r()}(this,(function(){return(()=>{var __webpack_modules__=[,(t,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.VerbosityLevel=r.Util=r.UnknownErrorException=r.UnexpectedResponseException=r.UNSUPPORTED_FEATURES=r.TextRenderingMode=r.StreamType=r.RenderingIntentFlag=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.CMapCompressionType=r.BaseException=r.AnnotationType=r.AnnotationStateModelType=r.AnnotationReviewState=r.AnnotationReplyType=r.AnnotationMode=r.AnnotationMarkedState=r.AnnotationFlag=r.AnnotationFieldFlag=r.AnnotationBorderStyleType=r.AnnotationActionEventType=r.AbortException=void 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;i<r;i++)a+=arrayByteLength(t[i]);for(var o=0,l=new Uint8Array(a),c=0;c<r;c++){var u=t[c];u instanceof Uint8Array||(u="string"==typeof u?stringToBytes(u):new Uint8Array(u));var d=u.byteLength;l.set(u,o);o+=d}return l};r.assert=function assert(t,r){t||unreachable(r)};r.bytesToString=function bytesToString(t){"object"===_typeof(t)&&null!==t&&void 0!==t.length||unreachable("Invalid argument for bytesToString");var r=t.length,a=8192;if(r<a)return String.fromCharCode.apply(null,t);for(var i=[],o=0;o<r;o+=a){var l=Math.min(o+a,r),c=t.subarray(o,l);i.push(String.fromCharCode.apply(null,c))}return i.join("")};r.createPromiseCapability=function createPromiseCapability(){var t=Object.create(null),r=!1;Object.defineProperty(t,"settled",{get:function get(){return r}});t.promise=new Promise((function(a,i){t.resolve=function(t){r=!0;a(t)};t.reject=function(t){r=!0;i(t)}}));return t};r.createValidAbsoluteUrl=function createValidAbsoluteUrl(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;try{if(a&&"string"==typeof t){if(a.addDefaultProtocol&&t.startsWith("www.")){var i=t.match(/\./g);i&&i.length>=2&&(t="http://".concat(t))}if(a.tryConvertEncoding)try{t=stringToUTF8String(t)}catch(t){}}var o=r?new URL(t,r):new URL(t);if(_isValidProtocol(o))return o}catch(t){}return null};r.escapeString=function escapeString(t){return t.replace(/([()\\\n\r])/g,(function(t){return"\n"===t?"\\n":"\r"===t?"\\r":"\\".concat(t)}))};r.getModificationDate=function getModificationDate(){var t=arguments.length>0&&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;for(var a=0,i=t.length;a<i;a++)if(t[a]!==r[a])return!1;return!0};r.isAscii=function isAscii(t){return/^[\x00-\x7F]*$/.test(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.objectFromMap=function objectFromMap(t){var r,a=Object.create(null),i=function _createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=_unsupportedIterableToArray(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var i=0,o=function F(){};return{s:o,n:function n(){return i>=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=a.call(t)},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}}}}(t);try{for(i.s();!(r=i.n()).done;){var o=(u=r.value,d=2,function _arrayWithHoles(t){if(Array.isArray(t))return t}(u)||function _iterableToArrayLimit(t,r){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==a)return;var i,o,l=[],c=!0,u=!1;try{for(a=a.call(t);!(c=(i=a.next()).done);c=!0){l.push(i.value);if(r&&l.length===r)break}}catch(t){u=!0;o=t}finally{try{c||null==a.return||a.return()}finally{if(u)throw o}}return l}(u,d)||_unsupportedIterableToArray(u,d)||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.")}()),l=o[0],c=o[1];a[l]=c}}catch(t){i.e(t)}finally{i.f()}var u,d;return a};r.objectSize=function objectSize(t){return Object.keys(t).length};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){if(t[0]>="ï"){var r;"þ"===t[0]&&"ÿ"===t[1]?r="utf-16be":"ÿ"===t[0]&&"þ"===t[1]?r="utf-16le":"ï"===t[0]&&"»"===t[1]&&"¿"===t[2]&&(r="utf-8");if(r)try{var a=new TextDecoder(r,{fatal:!0}),i=stringToBytes(t);return a.decode(i)}catch(t){warn('stringToPDFString: "'.concat(t,'".'))}}for(var o=[],l=0,c=t.length;l<c;l++){var u=A[t.charCodeAt(l)];o.push(u?String.fromCharCode(u):t.charAt(l))}return o.join("")};r.stringToUTF16BEString=function stringToUTF16BEString(t){for(var r=["þÿ"],a=0,i=t.length;a<i;a++){var o=t.charCodeAt(a);r.push(String.fromCharCode(o>>8&255),String.fromCharCode(255&o))}return r.join("")};r.stringToUTF8String=stringToUTF8String;r.unreachable=unreachable;r.utf8StringToString=function utf8StringToString(t){return unescape(encodeURIComponent(t))};r.warn=warn;a(2);function _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||_unsupportedIterableToArray(t)||function _nonIterableSpread(){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 _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<r;a++)i[a]=t[a];return i}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _defineProperties(t,r){for(var a=0;a<r.length;a++){var i=r[a];i.enumerable=i.enumerable||!1;i.configurable=!0;"value"in i&&(i.writable=!0);Object.defineProperty(t,i.key,i)}}function _createClass(t,r,a){r&&_defineProperties(t.prototype,r);a&&_defineProperties(t,a);Object.defineProperty(t,"prototype",{writable:!1});return t}function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function _inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}});Object.defineProperty(t,"prototype",{writable:!1});r&&_setPrototypeOf(t,r)}function _setPrototypeOf(t,r){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,r){t.__proto__=r;return t};return _setPrototypeOf(t,r)}function _createSuper(t){var r=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=_getPrototypeOf(t);if(r){var o=_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,o)}else a=i.apply(this,arguments);return _possibleConstructorReturn(this,a)}}function _possibleConstructorReturn(t,r){if(r&&("object"===_typeof(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function _getPrototypeOf(t){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)};return _getPrototypeOf(t)}r.IDENTITY_MATRIX=[1,0,0,1,0,0];r.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];r.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};r.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};r.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};r.TextRenderingMode={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};r.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};r.AnnotationType={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};r.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"};r.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"};r.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};r.AnnotationReplyType={GROUP:"Group",REPLY:"R"};r.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};r.AnnotationFieldFlag={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};r.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};r.AnnotationActionEventType={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"};r.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};r.PageActionEventType={O:"PageOpen",C:"PageClose"};r.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};r.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var i={ERRORS:0,WARNINGS:1,INFOS:5};r.VerbosityLevel=i;r.CMapCompressionType={NONE:0,BINARY:1,STREAM:2};r.OPS={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};r.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",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",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};r.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var o=i.WARNINGS;function warn(t){o>=i.WARNINGS&&console.log("Warning: ".concat(t))}function unreachable(t){throw new Error(t)}function _isValidProtocol(t){if(!t)return!1;switch(t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}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,r){this.constructor===BaseException&&unreachable("Cannot initialize BaseException.");this.message=t;this.name=r}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,"PasswordException")).code=a;return i}return _createClass(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,"UnknownErrorException")).details=a;return i}return _createClass(UnknownErrorException)}(l);r.UnknownErrorException=u;var d=function(t){_inherits(InvalidPDFException,t);var r=_createSuper(InvalidPDFException);function InvalidPDFException(t){_classCallCheck(this,InvalidPDFException);return r.call(this,t,"InvalidPDFException")}return _createClass(InvalidPDFException)}(l);r.InvalidPDFException=d;var h=function(t){_inherits(MissingPDFException,t);var r=_createSuper(MissingPDFException);function MissingPDFException(t){_classCallCheck(this,MissingPDFException);return r.call(this,t,"MissingPDFException")}return _createClass(MissingPDFException)}(l);r.MissingPDFException=h;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,"UnexpectedResponseException")).status=a;return i}return _createClass(UnexpectedResponseException)}(l);r.UnexpectedResponseException=p;var v=function(t){_inherits(FormatError,t);var r=_createSuper(FormatError);function FormatError(t){_classCallCheck(this,FormatError);return r.call(this,t,"FormatError")}return _createClass(FormatError)}(l);r.FormatError=v;var y=function(t){_inherits(AbortException,t);var r=_createSuper(AbortException);function AbortException(t){_classCallCheck(this,AbortException);return r.call(this,t,"AbortException")}return _createClass(AbortException)}(l);r.AbortException=y;function stringToBytes(t){"string"!=typeof t&&unreachable("Invalid argument for stringToBytes");for(var r=t.length,a=new Uint8Array(r),i=0;i<r;++i)a[i]=255&t.charCodeAt(i);return a}function arrayByteLength(t){if(void 0!==t.length)return t.length;if(void 0!==t.byteLength)return t.byteLength;unreachable("Invalid argument for arrayByteLength")}var g={get value(){return shadow(this,"value",function isLittleEndian(){var t=new Uint8Array(4);t[0]=1;return 1===new Uint32Array(t.buffer,0,1)[0]}())}};r.IsLittleEndianCached=g;var m={get value(){return shadow(this,"value",function isEvalSupported(){try{new Function("");return!0}catch(t){return!1}}())}};r.IsEvalSupportedCached=m;var _=_toConsumableArray(Array(256).keys()).map((function(t){return t.toString(16).padStart(2,"0")})),b=function(){function Util(){_classCallCheck(this,Util)}_createClass(Util,null,[{key:"makeHexColor",value:function makeHexColor(t,r,a){return"#".concat(_[t]).concat(_[r]).concat(_[a])}},{key:"transform",value:function transform(t,r){return[t[0]*r[0]+t[2]*r[1],t[1]*r[0]+t[3]*r[1],t[0]*r[2]+t[2]*r[3],t[1]*r[2]+t[3]*r[3],t[0]*r[4]+t[2]*r[5]+t[4],t[1]*r[4]+t[3]*r[5]+t[5]]}},{key:"applyTransform",value:function applyTransform(t,r){return[t[0]*r[0]+t[1]*r[2]+r[4],t[0]*r[1]+t[1]*r[3]+r[5]]}},{key:"applyInverseTransform",value:function applyInverseTransform(t,r){var a=r[0]*r[3]-r[1]*r[2];return[(t[0]*r[3]-t[1]*r[2]+r[2]*r[5]-r[4]*r[3])/a,(-t[0]*r[1]+t[1]*r[0]+r[4]*r[1]-r[5]*r[0])/a]}},{key:"getAxialAlignedBoundingBox",value:function getAxialAlignedBoundingBox(t,r){var a=Util.applyTransform(t,r),i=Util.applyTransform(t.slice(2,4),r),o=Util.applyTransform([t[0],t[3]],r),l=Util.applyTransform([t[2],t[1]],r);return[Math.min(a[0],i[0],o[0],l[0]),Math.min(a[1],i[1],o[1],l[1]),Math.max(a[0],i[0],o[0],l[0]),Math.max(a[1],i[1],o[1],l[1])]}},{key:"inverseTransform",value:function inverseTransform(t){var r=t[0]*t[3]-t[1]*t[2];return[t[3]/r,-t[1]/r,-t[2]/r,t[0]/r,(t[2]*t[5]-t[4]*t[3])/r,(t[4]*t[1]-t[5]*t[0])/r]}},{key:"apply3dTransform",value:function apply3dTransform(t,r){return[t[0]*r[0]+t[1]*r[1]+t[2]*r[2],t[3]*r[0]+t[4]*r[1]+t[5]*r[2],t[6]*r[0]+t[7]*r[1]+t[8]*r[2]]}},{key:"singularValueDecompose2dScale",value:function singularValueDecompose2dScale(t){var r=[t[0],t[2],t[1],t[3]],a=t[0]*r[0]+t[1]*r[2],i=t[0]*r[1]+t[1]*r[3],o=t[2]*r[0]+t[3]*r[2],l=t[2]*r[1]+t[3]*r[3],c=(a+l)/2,u=Math.sqrt(Math.pow(a+l,2)-4*(a*l-o*i))/2,d=c+u||1,h=c-u||1;return[Math.sqrt(d),Math.sqrt(h)]}},{key:"normalizeRect",value:function normalizeRect(t){var r=t.slice(0);if(t[0]>t[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}},{key:"bezierBoundingBox",value:function bezierBoundingBox(t,r,a,i,o,l,c,u){for(var d,h,p,v,y,g,m,_,b=[],A=[[],[]],S=0;S<2;++S){if(0===S){h=6*t-12*a+6*o;d=-3*t+9*a-9*o+3*c;p=3*a-3*t}else{h=6*r-12*i+6*l;d=-3*r+9*i-9*l+3*u;p=3*i-3*r}if(Math.abs(d)<1e-12){if(Math.abs(h)<1e-12)continue;0<(v=-p/h)&&v<1&&b.push(v)}else{m=h*h-4*p*d;_=Math.sqrt(m);if(!(m<0)){0<(y=(-h+_)/(2*d))&&y<1&&b.push(y);0<(g=(-h-_)/(2*d))&&g<1&&b.push(g)}}}for(var k,x=b.length,C=x;x--;){k=1-(v=b[x]);A[0][x]=k*k*k*t+3*k*k*v*a+3*k*v*v*o+v*v*v*c;A[1][x]=k*k*k*r+3*k*k*v*i+3*k*v*v*l+v*v*v*u}A[0][C]=t;A[1][C]=r;A[0][C+1]=c;A[1][C+1]=u;A[0].length=A[1].length=C+2;return[Math.min.apply(Math,_toConsumableArray(A[0])),Math.min.apply(Math,_toConsumableArray(A[1])),Math.max.apply(Math,_toConsumableArray(A[0])),Math.max.apply(Math,_toConsumableArray(A[1]))]}}]);return Util}();r.Util=b;var A=[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 stringToUTF8String(t){return decodeURIComponent(escape(t))}},(t,r,a)=>{"use strict";var i=a(3);if(!globalThis._pdfjsCompatibilityChecked){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 checkDOMMatrix(){!globalThis.DOMMatrix&&i.isNodeJS&&(globalThis.DOMMatrix=a(4))}();!function checkPromise(){globalThis.Promise.allSettled||(globalThis.Promise=a(5))}();!function checkReadableStream(){!globalThis.ReadableStream&&i.isNodeJS&&(globalThis.ReadableStream=require("web-streams-polyfill/dist/ponyfill.js").ReadableStream)}();!function checkStructuredClone(){globalThis.structuredClone||a(129)}()}},(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(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(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)=>{"use strict";var i,o,l;function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}l=function(){function fromArray(r){var a=new t,i=Array.from(r);if(!i.every((function(t){return!Number.isNaN(t)})))throw TypeError('CSSMatrix: "'+r+'" must only have numbers.');if(16===i.length){var o=i[0],l=i[1],c=i[2],u=i[3],d=i[4],h=i[5],p=i[6],v=i[7],y=i[8],g=i[9],m=i[10],_=i[11],b=i[12],A=i[13],S=i[14],k=i[15];a.m11=o;a.a=o;a.m21=d;a.c=d;a.m31=y;a.m41=b;a.e=b;a.m12=l;a.b=l;a.m22=h;a.d=h;a.m32=g;a.m42=A;a.f=A;a.m13=c;a.m23=p;a.m33=m;a.m43=S;a.m14=u;a.m24=v;a.m34=_;a.m44=k}else{if(6!==i.length)throw new TypeError("CSSMatrix: expecting an Array of 6/16 values.");var x=i[0],C=i[1],P=i[2],w=i[3],T=i[4],R=i[5];a.m11=x;a.a=x;a.m12=C;a.b=C;a.m21=P;a.c=P;a.m22=w;a.d=w;a.m41=T;a.e=T;a.m42=R;a.f=R}return a}function fromMatrix(r){var a=Object.keys(new t);if("object"===_typeof(r)&&a.every((function(t){return t in r})))return fromArray([r.m11,r.m12,r.m13,r.m14,r.m21,r.m22,r.m23,r.m24,r.m31,r.m32,r.m33,r.m34,r.m41,r.m42,r.m43,r.m44]);throw TypeError('CSSMatrix: "'+r+'" is not a DOMMatrix / CSSMatrix / JSON compatible object.')}function fromString(r){if("string"!=typeof r)throw TypeError('CSSMatrix: "'+r+'" is not a string.');var a=String(r).replace(/\s/g,""),i=new t,o='CSSMatrix: invalid transform string "'+r+'"';a.split(")").filter((function(t){return t})).forEach((function(t){var r=t.split("("),a=r[0],l=r[1];if(!l)throw TypeError(o);var c=l.split(",").map((function(t){return t.includes("rad")?parseFloat(t)*(180/Math.PI):parseFloat(t)})),u=c[0],d=c[1],h=c[2],p=c[3],v=[u,d,h],y=[u,d,h,p];if("perspective"===a&&u&&[d,h].every((function(t){return void 0===t})))i.m34=-1/u;else if(a.includes("matrix")&&[6,16].includes(c.length)&&c.every((function(t){return!Number.isNaN(+t)}))){var g=c.map((function(t){return Math.abs(t)<1e-6?0:t}));i=i.multiply(fromArray(g))}else if("translate3d"===a&&v.every((function(t){return!Number.isNaN(+t)})))i=i.translate(u,d,h);else if("translate"===a&&u&&void 0===h)i=i.translate(u,d||0,0);else if("rotate3d"===a&&y.every((function(t){return!Number.isNaN(+t)}))&&p)i=i.rotateAxisAngle(u,d,h,p);else if("rotate"===a&&u&&[d,h].every((function(t){return void 0===t})))i=i.rotate(0,0,u);else if("scale3d"===a&&v.every((function(t){return!Number.isNaN(+t)}))&&v.some((function(t){return 1!==t})))i=i.scale(u,d,h);else if("scale"!==a||Number.isNaN(u)||1===u||void 0!==h)if("skew"===a&&u&&void 0===h){i=i.skewX(u);i=d?i.skewY(d):i}else{if(!(/[XYZ]/.test(a)&&u&&[d,h].every((function(t){return void 0===t}))&&["translate","rotate","scale","skew"].some((function(t){return a.includes(t)}))))throw TypeError(o);if(["skewX","skewY"].includes(a))i=i[a](u);else{var m=a.replace(/[XYZ]/,""),_=a.replace(m,""),b=["X","Y","Z"].indexOf(_),A=[0===b?u:0,1===b?u:0,2===b?u:0];i=i[m].apply(i,A)}}else{var S=Number.isNaN(+d)?u:d;i=i.scale(u,S,1)}}));return i}function Translate(r,a,i){var o=new t;o.m41=r;o.e=r;o.m42=a;o.f=a;o.m43=i;return o}function Rotate(r,a,i){var o=new t,l=Math.PI/180,c=r*l,u=a*l,d=i*l,h=Math.cos(c),p=-Math.sin(c),v=Math.cos(u),y=-Math.sin(u),g=Math.cos(d),m=-Math.sin(d),_=v*g,b=-v*m;o.m11=_;o.a=_;o.m12=b;o.b=b;o.m13=y;var A=p*y*g+h*m;o.m21=A;o.c=A;var S=h*g-p*y*m;o.m22=S;o.d=S;o.m23=-p*v;o.m31=p*m-h*y*g;o.m32=p*g+h*y*m;o.m33=h*v;return o}function RotateAxisAngle(r,a,i,o){var l=new t,c=o*(Math.PI/360),u=Math.sin(c),d=Math.cos(c),h=u*u,p=Math.sqrt(r*r+a*a+i*i),v=r,y=a,g=i;if(0===p){v=0;y=0;g=1}else{v/=p;y/=p;g/=p}var m=v*v,_=y*y,b=g*g,A=1-2*(_+b)*h;l.m11=A;l.a=A;var S=2*(v*y*h+g*u*d);l.m12=S;l.b=S;l.m13=2*(v*g*h-y*u*d);var k=2*(y*v*h-g*u*d);l.m21=k;l.c=k;var x=1-2*(b+m)*h;l.m22=x;l.d=x;l.m23=2*(y*g*h+v*u*d);l.m31=2*(g*v*h+y*u*d);l.m32=2*(g*y*h-v*u*d);l.m33=1-2*(m+_)*h;return l}function Scale(r,a,i){var o=new t;o.m11=r;o.a=r;o.m22=a;o.d=a;o.m33=i;return o}function SkewX(r){var a=new t,i=r*Math.PI/180,o=Math.tan(i);a.m21=o;a.c=o;return a}function SkewY(r){var a=new t,i=r*Math.PI/180,o=Math.tan(i);a.m12=o;a.b=o;return a}function Multiply(t,r){return fromArray([r.m11*t.m11+r.m12*t.m21+r.m13*t.m31+r.m14*t.m41,r.m11*t.m12+r.m12*t.m22+r.m13*t.m32+r.m14*t.m42,r.m11*t.m13+r.m12*t.m23+r.m13*t.m33+r.m14*t.m43,r.m11*t.m14+r.m12*t.m24+r.m13*t.m34+r.m14*t.m44,r.m21*t.m11+r.m22*t.m21+r.m23*t.m31+r.m24*t.m41,r.m21*t.m12+r.m22*t.m22+r.m23*t.m32+r.m24*t.m42,r.m21*t.m13+r.m22*t.m23+r.m23*t.m33+r.m24*t.m43,r.m21*t.m14+r.m22*t.m24+r.m23*t.m34+r.m24*t.m44,r.m31*t.m11+r.m32*t.m21+r.m33*t.m31+r.m34*t.m41,r.m31*t.m12+r.m32*t.m22+r.m33*t.m32+r.m34*t.m42,r.m31*t.m13+r.m32*t.m23+r.m33*t.m33+r.m34*t.m43,r.m31*t.m14+r.m32*t.m24+r.m33*t.m34+r.m34*t.m44,r.m41*t.m11+r.m42*t.m21+r.m43*t.m31+r.m44*t.m41,r.m41*t.m12+r.m42*t.m22+r.m43*t.m32+r.m44*t.m42,r.m41*t.m13+r.m42*t.m23+r.m43*t.m33+r.m44*t.m43,r.m41*t.m14+r.m42*t.m24+r.m43*t.m34+r.m44*t.m44])}var t=function CSSMatrix(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];var a=this;a.a=1;a.b=0;a.c=0;a.d=1;a.e=0;a.f=0;a.m11=1;a.m12=0;a.m13=0;a.m14=0;a.m21=0;a.m22=1;a.m23=0;a.m24=0;a.m31=0;a.m32=0;a.m33=1;a.m34=0;a.m41=0;a.m42=0;a.m43=0;a.m44=1;if(t&&t.length){var i=[16,6].some((function(r){return r===t.length}))?t:t[0];return a.setMatrixValue(i)}return a},r={isIdentity:{configurable:!0},is2D:{configurable:!0}};r.isIdentity.set=function(t){this.isIdentity=t};r.isIdentity.get=function(){var t=this;return 1===t.m11&&0===t.m12&&0===t.m13&&0===t.m14&&0===t.m21&&1===t.m22&&0===t.m23&&0===t.m24&&0===t.m31&&0===t.m32&&1===t.m33&&0===t.m34&&0===t.m41&&0===t.m42&&0===t.m43&&1===t.m44};r.is2D.get=function(){var t=this;return 0===t.m31&&0===t.m32&&1===t.m33&&0===t.m34&&0===t.m43&&1===t.m44};r.is2D.set=function(t){this.is2D=t};t.prototype.setMatrixValue=function setMatrixValue(t){return[Array,Float64Array,Float32Array].some((function(r){return t instanceof r}))?fromArray(t):"string"==typeof t&&t.length&&"none"!==t?fromString(t):"object"===_typeof(t)?fromMatrix(t):this};t.prototype.toArray=function toArray(){var t=this,r=Math.pow(10,6);return(t.is2D?[t.a,t.b,t.c,t.d,t.e,t.f]:[t.m11,t.m12,t.m13,t.m14,t.m21,t.m22,t.m23,t.m24,t.m31,t.m32,t.m33,t.m34,t.m41,t.m42,t.m43,t.m44]).map((function(t){return Math.abs(t)<1e-6?0:(t*r>>0)/r}))};t.prototype.toString=function toString(){var t=this.toArray();return(this.is2D?"matrix":"matrix3d")+"("+t+")"};t.prototype.toJSON=function toJSON(){var t=this,r=t.is2D,a=t.isIdentity;return Object.assign({},t,{is2D:r,isIdentity:a})};t.prototype.multiply=function multiply(t){return Multiply(this,t)};t.prototype.translate=function translate(t,r,a){var i=r,o=a;void 0===o&&(o=0);void 0===i&&(i=0);return Multiply(this,Translate(t,i,o))};t.prototype.scale=function scale(t,r,a){var i=r,o=a;void 0===i&&(i=t);void 0===o&&(o=1);return Multiply(this,Scale(t,i,o))};t.prototype.rotate=function rotate(t,r,a){var i=t,o=r,l=a;void 0===o&&(o=0);if(void 0===l){l=i;i=0}return Multiply(this,Rotate(i,o,l))};t.prototype.rotateAxisAngle=function rotateAxisAngle(t,r,a,i){if([t,r,a,i].some((function(t){return Number.isNaN(t)})))throw new TypeError("CSSMatrix: expecting 4 values");return Multiply(this,RotateAxisAngle(t,r,a,i))};t.prototype.skewX=function skewX(t){return Multiply(this,SkewX(t))};t.prototype.skewY=function skewY(t){return Multiply(this,SkewY(t))};t.prototype.transformPoint=function transformPoint(t){var r=Translate(t.x,t.y,t.z);r.m44=t.w||1;return{x:(r=this.multiply(r)).m41,y:r.m42,z:r.m43,w:r.m44}};t.prototype.transform=function transform(t){var r=this,a=r.m11*t.x+r.m12*t.y+r.m13*t.z+r.m14*t.w,i=r.m21*t.x+r.m22*t.y+r.m23*t.z+r.m24*t.w,o=r.m31*t.x+r.m32*t.y+r.m33*t.z+r.m34*t.w,l=r.m41*t.x+r.m42*t.y+r.m43*t.z+r.m44*t.w;return{x:a/l,y:i/l,z:o/l,w:l}};Object.defineProperties(t.prototype,r);Object.assign(t,{Translate:Translate,Rotate:Rotate,RotateAxisAngle:RotateAxisAngle,Scale:Scale,SkewX:SkewX,SkewY:SkewY,Multiply:Multiply,fromArray:fromArray,fromMatrix:fromMatrix,fromString:fromString});Object.assign(t,{Version:"0.0.24"});return t},"object"===_typeof(r)?t.exports=l():void 0!==(o="function"==typeof(i=l)?i.call(r,a,r,t):i)&&(t.exports=o)},(t,r,a)=>{a(6);a(91);a(97);a(99);a(123);a(124);a(125);a(126);var i=a(128);t.exports=i.Promise},(t,r,a)=>{"use strict";var i=a(7),o=a(8),l=a(27),c=a(69),u=a(71),d=a(57),h=a(73),p=a(46),v=a(15),y=a(77),g=a(78),m=a(79),_=a(88),b=a(36),A=a(90),S=b("toStringTag"),k=o.Error,x=[].push,C=function AggregateError(t,r){var a,i=arguments.length>2?arguments[2]:void 0,o=l(P,this);if(u)a=u(new k,o?c(this):P);else{a=o?this:h(P);p(a,S,"Error")}void 0!==r&&p(a,"message",_(r));A&&p(a,"stack",y(a.stack,1));g(a,i);var d=[];m(t,x,{that:d});p(a,"errors",d);return a};u?u(C,k):d(C,k,{name:!0});var P=C.prototype=h(k.prototype,{constructor:v(1,C),message:v(1,""),name:v(1,"AggregateError")});i({global:!0},{AggregateError:C})},(t,r,a)=>{var i=a(8),o=a(9).f,l=a(46),c=a(50),u=a(40),d=a(57),h=a(68);t.exports=function(t,r){var a,p,v,y,g,m=t.target,_=t.global,b=t.stat;if(a=_?i:b?i[m]||u(m,{}):(i[m]||{}).prototype)for(p in r){y=r[p];v=t.noTargetGet?(g=o(a,p))&&g.value:a[p];if(!h(_?p:m+(b?".":"#")+p,t.forced)&&void 0!==v){if(typeof y==typeof v)continue;d(y,v)}(t.sham||v&&v.sham)&&l(y,"sham",!0);c(a,p,y,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(10),o=a(12),l=a(14),c=a(15),u=a(16),d=a(21),h=a(41),p=a(44),v=Object.getOwnPropertyDescriptor;r.f=i?v:function getOwnPropertyDescriptor(t,r){t=u(t);r=d(r);if(p)try{return v(t,r)}catch(t){}if(h(t,r))return c(!o(l.f,t,r),t[r])}},(t,r,a)=>{var i=a(11);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,a)=>{var i=a(13),o=Function.prototype.call;t.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},(t,r,a)=>{var i=a(11);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},(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(20);t.exports=function(t){return i(o(t))}},(t,r,a)=>{var i=a(8),o=a(18),l=a(11),c=a(19),u=i.Object,d=o("".split);t.exports=l((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==c(t)?d(t,""):u(t)}:u},(t,r,a)=>{var i=a(13),o=Function.prototype,l=o.bind,c=o.call,u=i&&l.bind(c,c);t.exports=i?function(t){return t&&u(t)}:function(t){return t&&function(){return c.apply(t,arguments)}}},(t,r,a)=>{var i=a(18),o=i({}.toString),l=i("".slice);t.exports=function(t){return l(o(t),8,-1)}},(t,r,a)=>{var i=a(8).TypeError;t.exports=function(t){if(null==t)throw i("Can't call method on "+t);return t}},(t,r,a)=>{var i=a(22),o=a(25);t.exports=function(t){var r=i(t,"string");return o(r)?r:r+""}},(t,r,a)=>{var i=a(8),o=a(12),l=a(23),c=a(25),u=a(32),d=a(35),h=a(36),p=i.TypeError,v=h("toPrimitive");t.exports=function(t,r){if(!l(t)||c(t))return t;var a,i=u(t,v);if(i){void 0===r&&(r="default");a=o(i,t,r);if(!l(a)||c(a))return a;throw p("Can't convert object to primitive value")}void 0===r&&(r="number");return d(t,r)}},(t,r,a)=>{var i=a(24);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},t=>{t.exports=function(t){return"function"==typeof t}},(t,r,a)=>{var i=a(8),o=a(26),l=a(24),c=a(27),u=a(28),d=i.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var r=o("Symbol");return l(r)&&c(r.prototype,d(t))}},(t,r,a)=>{var i=a(8),o=a(24),aFunction=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?aFunction(i[t]):i[t]&&i[t][r]}},(t,r,a)=>{var i=a(18);t.exports=i({}.isPrototypeOf)},(t,r,a)=>{var i=a(29);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(t,r,a)=>{var i=a(30),o=a(11);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},(t,r,a)=>{var i,o,l=a(8),c=a(31),u=l.process,d=l.Deno,h=u&&u.versions||d&&d.version,p=h&&h.v8;p&&(o=(i=p.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1]));!o&&c&&(!(i=c.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=c.match(/Chrome\/(\d+)/))&&(o=+i[1]);t.exports=o},(t,r,a)=>{var i=a(26);t.exports=i("navigator","userAgent")||""},(t,r,a)=>{var i=a(33);t.exports=function(t,r){var a=t[r];return null==a?void 0:i(a)}},(t,r,a)=>{var i=a(8),o=a(24),l=a(34),c=i.TypeError;t.exports=function(t){if(o(t))return t;throw c(l(t)+" is not a function")}},(t,r,a)=>{var i=a(8).String;t.exports=function(t){try{return i(t)}catch(t){return"Object"}}},(t,r,a)=>{var i=a(8),o=a(12),l=a(24),c=a(23),u=i.TypeError;t.exports=function(t,r){var a,i;if("string"===r&&l(a=t.toString)&&!c(i=o(a,t)))return i;if(l(a=t.valueOf)&&!c(i=o(a,t)))return i;if("string"!==r&&l(a=t.toString)&&!c(i=o(a,t)))return i;throw u("Can't convert object to primitive value")}},(t,r,a)=>{var i=a(8),o=a(37),l=a(41),c=a(43),u=a(29),d=a(28),h=o("wks"),p=i.Symbol,v=p&&p.for,y=d?p:p&&p.withoutSetter||c;t.exports=function(t){if(!l(h,t)||!u&&"string"!=typeof h[t]){var r="Symbol."+t;u&&l(p,t)?h[t]=p[t]:h[t]=d&&v?v(r):y(r)}return h[t]}},(t,r,a)=>{var i=a(38),o=a(39);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.21.1",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},t=>{t.exports=!1},(t,r,a)=>{var i=a(8),o=a(40),l="__core-js_shared__",c=i[l]||o(l,{});t.exports=c},(t,r,a)=>{var i=a(8),o=Object.defineProperty;t.exports=function(t,r){try{o(i,t,{value:r,configurable:!0,writable:!0})}catch(a){i[t]=r}return r}},(t,r,a)=>{var i=a(18),o=a(42),l=i({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,r){return l(o(t),r)}},(t,r,a)=>{var i=a(8),o=a(20),l=i.Object;t.exports=function(t){return l(o(t))}},(t,r,a)=>{var i=a(18),o=0,l=Math.random(),c=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+l,36)}},(t,r,a)=>{var i=a(10),o=a(11),l=a(45);t.exports=!i&&!o((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a}))},(t,r,a)=>{var i=a(8),o=a(23),l=i.document,c=o(l)&&o(l.createElement);t.exports=function(t){return c?l.createElement(t):{}}},(t,r,a)=>{var i=a(10),o=a(47),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(8),o=a(10),l=a(44),c=a(48),u=a(49),d=a(21),h=i.TypeError,p=Object.defineProperty,v=Object.getOwnPropertyDescriptor,y="enumerable",g="configurable",m="writable";r.f=o?c?function defineProperty(t,r,a){u(t);r=d(r);u(a);if("function"==typeof t&&"prototype"===r&&"value"in a&&m in a&&!a.writable){var i=v(t,r);if(i&&i.writable){t[r]=a.value;a={configurable:g in a?a.configurable:i.configurable,enumerable:y in a?a.enumerable:i.enumerable,writable:!1}}}return p(t,r,a)}:p:function defineProperty(t,r,a){u(t);r=d(r);u(a);if(l)try{return p(t,r,a)}catch(t){}if("get"in a||"set"in a)throw h("Accessors not supported");"value"in a&&(t[r]=a.value);return t}},(t,r,a)=>{var i=a(10),o=a(11);t.exports=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},(t,r,a)=>{var i=a(8),o=a(23),l=i.String,c=i.TypeError;t.exports=function(t){if(o(t))return t;throw c(l(t)+" is not an object")}},(t,r,a)=>{var i=a(8),o=a(24),l=a(41),c=a(46),u=a(40),d=a(51),h=a(52),p=a(56).CONFIGURABLE,v=h.get,y=h.enforce,g=String(String).split("String");(t.exports=function(t,r,a,d){var h,v=!!d&&!!d.unsafe,m=!!d&&!!d.enumerable,_=!!d&&!!d.noTargetGet,b=d&&void 0!==d.name?d.name:r;if(o(a)){"Symbol("===String(b).slice(0,7)&&(b="["+String(b).replace(/^Symbol\(([^)]*)\)/,"$1")+"]");(!l(a,"name")||p&&a.name!==b)&&c(a,"name",b);(h=y(a)).source||(h.source=g.join("string"==typeof b?b:""))}if(t!==i){v?!_&&t[r]&&(m=!0):delete t[r];m?t[r]=a:c(t,r,a)}else m?t[r]=a:u(r,a)})(Function.prototype,"toString",(function toString(){return o(this)&&v(this).source||d(this)}))},(t,r,a)=>{var i=a(18),o=a(24),l=a(39),c=i(Function.toString);o(l.inspectSource)||(l.inspectSource=function(t){return c(t)});t.exports=l.inspectSource},(t,r,a)=>{var i,o,l,c=a(53),u=a(8),d=a(18),h=a(23),p=a(46),v=a(41),y=a(39),g=a(54),m=a(55),_="Object already initialized",b=u.TypeError,A=u.WeakMap;if(c||y.state){var S=y.state||(y.state=new A),k=d(S.get),x=d(S.has),C=d(S.set);i=function(t,r){if(x(S,t))throw new b(_);r.facade=t;C(S,t,r);return r};o=function(t){return k(S,t)||{}};l=function(t){return x(S,t)}}else{var P=g("state");m[P]=!0;i=function(t,r){if(v(t,P))throw new b(_);r.facade=t;p(t,P,r);return r};o=function(t){return v(t,P)?t[P]:{}};l=function(t){return v(t,P)}}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 b("Incompatible receiver, "+t+" required");return a}}}},(t,r,a)=>{var i=a(8),o=a(24),l=a(51),c=i.WeakMap;t.exports=o(c)&&/native code/.test(l(c))},(t,r,a)=>{var i=a(37),o=a(43),l=i("keys");t.exports=function(t){return l[t]||(l[t]=o(t))}},t=>{t.exports={}},(t,r,a)=>{var i=a(10),o=a(41),l=Function.prototype,c=i&&Object.getOwnPropertyDescriptor,u=o(l,"name"),d=u&&"something"===function something(){}.name,h=u&&(!i||i&&c(l,"name").configurable);t.exports={EXISTS:u,PROPER:d,CONFIGURABLE:h}},(t,r,a)=>{var i=a(41),o=a(58),l=a(9),c=a(47);t.exports=function(t,r,a){for(var u=o(r),d=c.f,h=l.f,p=0;p<u.length;p++){var v=u[p];i(t,v)||a&&i(a,v)||d(t,v,h(r,v))}}},(t,r,a)=>{var i=a(26),o=a(18),l=a(59),c=a(67),u=a(49),d=o([].concat);t.exports=i("Reflect","ownKeys")||function ownKeys(t){var r=l.f(u(t)),a=c.f;return a?d(r,a(t)):r}},(t,r,a)=>{var i=a(60),o=a(66).concat("length","prototype");r.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return i(t,o)}},(t,r,a)=>{var i=a(18),o=a(41),l=a(16),c=a(61).indexOf,u=a(55),d=i([].push);t.exports=function(t,r){var a,i=l(t),h=0,p=[];for(a in i)!o(u,a)&&o(i,a)&&d(p,a);for(;r.length>h;)o(i,a=r[h++])&&(~c(p,a)||d(p,a));return p}},(t,r,a)=>{var i=a(16),o=a(62),l=a(64),createMethod=function(t){return function(r,a,c){var u,d=i(r),h=l(d),p=o(c,h);if(t&&a!=a){for(;h>p;)if((u=d[p++])!=u)return!0}else for(;h>p;p++)if((t||p in d)&&d[p]===a)return t||p||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},(t,r,a)=>{var i=a(63),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=>{var r=Math.ceil,a=Math.floor;t.exports=function(t){var i=+t;return i!=i||0===i?0:(i>0?a:r)(i)}},(t,r,a)=>{var i=a(65);t.exports=function(t){return i(t.length)}},(t,r,a)=>{var i=a(63),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(t,r)=>{r.f=Object.getOwnPropertySymbols},(t,r,a)=>{var i=a(11),o=a(24),l=/#|\.prototype\./,isForced=function(t,r){var a=u[c(t)];return a==h||a!=d&&(o(r)?i(r):!!r)},c=isForced.normalize=function(t){return String(t).replace(l,".").toLowerCase()},u=isForced.data={},d=isForced.NATIVE="N",h=isForced.POLYFILL="P";t.exports=isForced},(t,r,a)=>{var i=a(8),o=a(41),l=a(24),c=a(42),u=a(54),d=a(70),h=u("IE_PROTO"),p=i.Object,v=p.prototype;t.exports=d?p.getPrototypeOf:function(t){var r=c(t);if(o(r,h))return r[h];var a=r.constructor;return l(a)&&r instanceof a?a.prototype:r instanceof p?v:null}},(t,r,a)=>{var i=a(11);t.exports=!i((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},(t,r,a)=>{var i=a(18),o=a(49),l=a(72);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,a={};try{(t=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(a,[]);r=a instanceof Array}catch(t){}return function setPrototypeOf(a,i){o(a);l(i);r?t(a,i):a.__proto__=i;return a}}():void 0)},(t,r,a)=>{var i=a(8),o=a(24),l=i.String,c=i.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw c("Can't set "+l(t)+" as a prototype")}},(t,r,a)=>{var i,o=a(49),l=a(74),c=a(66),u=a(55),d=a(76),h=a(45),p=a(54),v=p("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"<script>"+t+"</"+"script>"},NullProtoObjectViaActiveX=function(t){t.write(scriptTag(""));t.close();var r=t.parentWindow.Object;t=null;return r},NullProtoObject=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}NullProtoObject="undefined"!=typeof document?document.domain&&i?NullProtoObjectViaActiveX(i):function(){var t,r=h("iframe");r.style.display="none";d.appendChild(r);r.src=String("javascript:");(t=r.contentWindow.document).open();t.write(scriptTag("document.F=Object"));t.close();return t.F}():NullProtoObjectViaActiveX(i);for(var t=c.length;t--;)delete NullProtoObject.prototype[c[t]];return NullProtoObject()};u[v]=!0;t.exports=Object.create||function create(t,r){var a;if(null!==t){EmptyConstructor.prototype=o(t);a=new EmptyConstructor;EmptyConstructor.prototype=null;a[v]=t}else a=NullProtoObject();return void 0===r?a:l.f(a,r)}},(t,r,a)=>{var i=a(10),o=a(48),l=a(47),c=a(49),u=a(16),d=a(75);r.f=i&&!o?Object.defineProperties:function defineProperties(t,r){c(t);for(var a,i=u(r),o=d(r),h=o.length,p=0;h>p;)l.f(t,a=o[p++],i[a]);return t}},(t,r,a)=>{var i=a(60),o=a(66);t.exports=Object.keys||function keys(t){return i(t,o)}},(t,r,a)=>{var i=a(26);t.exports=i("document","documentElement")},(t,r,a)=>{var i=a(18)("".replace),o=String(Error("zxcasd").stack),l=/\n\s*at [^:]*:[^\n]*/,c=l.test(o);t.exports=function(t,r){if(c&&"string"==typeof t)for(;r--;)t=i(t,l,"");return t}},(t,r,a)=>{var i=a(23),o=a(46);t.exports=function(t,r){i(r)&&"cause"in r&&o(t,"cause",r.cause)}},(t,r,a)=>{var i=a(8),o=a(80),l=a(12),c=a(49),u=a(34),d=a(81),h=a(64),p=a(27),v=a(83),y=a(84),g=a(87),m=i.TypeError,Result=function(t,r){this.stopped=t;this.result=r},_=Result.prototype;t.exports=function(t,r,a){var i,b,A,S,k,x,C,P=a&&a.that,w=!(!a||!a.AS_ENTRIES),T=!(!a||!a.IS_ITERATOR),R=!(!a||!a.INTERRUPTED),E=o(r,P),stop=function(t){i&&g(i,"normal",t);return new Result(!0,t)},callFn=function(t){if(w){c(t);return R?E(t[0],t[1],stop):E(t[0],t[1])}return R?E(t,stop):E(t)};if(T)i=t;else{if(!(b=y(t)))throw m(u(t)+" is not iterable");if(d(b)){for(A=0,S=h(t);S>A;A++)if((k=callFn(t[A]))&&p(_,k))return k;return new Result(!1)}i=v(t,b)}x=i.next;for(;!(C=l(x,i)).done;){try{k=callFn(C.value)}catch(t){g(i,"throw",t)}if("object"==typeof k&&k&&p(_,k))return k}return new Result(!1)}},(t,r,a)=>{var i=a(18),o=a(33),l=a(13),c=i(i.bind);t.exports=function(t,r){o(t);return void 0===r?t:l?c(t,r):function(){return t.apply(r,arguments)}}},(t,r,a)=>{var i=a(36),o=a(82),l=i("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[l]===t)}},t=>{t.exports={}},(t,r,a)=>{var i=a(8),o=a(12),l=a(33),c=a(49),u=a(34),d=a(84),h=i.TypeError;t.exports=function(t,r){var a=arguments.length<2?d(t):r;if(l(a))return c(o(a,t));throw h(u(t)+" is not iterable")}},(t,r,a)=>{var i=a(85),o=a(32),l=a(82),c=a(36)("iterator");t.exports=function(t){if(null!=t)return o(t,c)||o(t,"@@iterator")||l[i(t)]}},(t,r,a)=>{var i=a(8),o=a(86),l=a(24),c=a(19),u=a(36)("toStringTag"),d=i.Object,h="Arguments"==c(function(){return arguments}());t.exports=o?c:function(t){var r,a,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,r){try{return t[r]}catch(t){}}(r=d(t),u))?a:h?c(r):"Object"==(i=c(r))&&l(r.callee)?"Arguments":i}},(t,r,a)=>{var i={};i[a(36)("toStringTag")]="z";t.exports="[object z]"===String(i)},(t,r,a)=>{var i=a(12),o=a(49),l=a(32);t.exports=function(t,r,a){var c,u;o(t);try{if(!(c=l(t,"return"))){if("throw"===r)throw a;return a}c=i(c,t)}catch(t){u=!0;c=t}if("throw"===r)throw a;if(u)throw c;o(c);return a}},(t,r,a)=>{var i=a(89);t.exports=function(t,r){return void 0===t?arguments.length<2?"":r:i(t)}},(t,r,a)=>{var i=a(8),o=a(85),l=i.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return l(t)}},(t,r,a)=>{var i=a(11),o=a(15);t.exports=!i((function(){var t=Error("a");if(!("stack"in t))return!0;Object.defineProperty(t,"stack",o(1,7));return 7!==t.stack}))},(t,r,a)=>{"use strict";var i=a(16),o=a(92),l=a(82),c=a(52),u=a(47).f,d=a(93),h=a(38),p=a(10),v="Array Iterator",y=c.set,g=c.getterFor(v);t.exports=d(Array,"Array",(function(t,r){y(this,{type:v,target:i(t),index:0,kind:r})}),(function(){var t=g(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");var m=l.Arguments=l.Array;o("keys");o("values");o("entries");if(!h&&p&&"values"!==m.name)try{u(m,"name",{value:"values"})}catch(t){}},(t,r,a)=>{var i=a(36),o=a(73),l=a(47),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)=>{"use strict";var i=a(7),o=a(12),l=a(38),c=a(56),u=a(24),d=a(94),h=a(69),p=a(71),v=a(96),y=a(46),g=a(50),m=a(36),_=a(82),b=a(95),A=c.PROPER,S=c.CONFIGURABLE,k=b.IteratorPrototype,x=b.BUGGY_SAFARI_ITERATORS,C=m("iterator"),P="keys",w="values",T="entries",returnThis=function(){return this};t.exports=function(t,r,a,c,m,b,R){d(a,r,c);var E,O,M,getIterationMethod=function(t){if(t===m&&N)return N;if(!x&&t in L)return L[t];switch(t){case P:return function keys(){return new a(this,t)};case w:return function values(){return new a(this,t)};case T:return function entries(){return new a(this,t)}}return function(){return new a(this)}},I=r+" Iterator",D=!1,L=t.prototype,j=L[C]||L["@@iterator"]||m&&L[m],N=!x&&j||getIterationMethod(m),B="Array"==r&&L.entries||j;if(B&&(E=h(B.call(new t)))!==Object.prototype&&E.next){l||h(E)===k||(p?p(E,k):u(E[C])||g(E,C,returnThis)