pdfjs-dist
Version:
Generic build of Mozilla's PDF.js library.
22 lines • 331 kB
JavaScript
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @licend The above is the entire license notice for the
* JavaScript code in this page
*/
!function webpackUniversalModuleDefinition(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf",[],e):"object"==typeof exports?exports["pdfjs-dist/build/pdf"]=e():t["pdfjs-dist/build/pdf"]=t.pdfjsLib=e()}(globalThis,(()=>(()=>{var __webpack_modules__=[,(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.VerbosityLevel=e.Util=e.UnknownErrorException=e.UnexpectedResponseException=e.TextRenderingMode=e.RenderingIntentFlag=e.PromiseCapability=e.PermissionFlag=e.PasswordResponses=e.PasswordException=e.PageActionEventType=e.OPS=e.MissingPDFException=e.MAX_IMAGE_SIZE_TO_CACHE=e.LINE_FACTOR=e.LINE_DESCENT_FACTOR=e.InvalidPDFException=e.ImageKind=e.IDENTITY_MATRIX=e.FormatError=e.FeatureTest=e.FONT_IDENTITY_MATRIX=e.DocumentActionEventType=e.CMapCompressionType=e.BaseException=e.BASELINE_FACTOR=e.AnnotationType=e.AnnotationStateModelType=e.AnnotationReviewState=e.AnnotationReplyType=e.AnnotationMode=e.AnnotationMarkedState=e.AnnotationFlag=e.AnnotationFieldFlag=e.AnnotationEditorType=e.AnnotationEditorPrefix=e.AnnotationEditorParamsType=e.AnnotationBorderStyleType=e.AnnotationActionEventType=e.AbortException=void 0;e.assert=function assert(t,e){t||unreachable(e)};e.bytesToString=function bytesToString(t){"object"==typeof t&&void 0!==(null==t?void 0:t.length)||unreachable("Invalid argument for bytesToString");const e=t.length,n=8192;if(e<n)return String.fromCharCode.apply(null,t);const r=[];for(let i=0;i<e;i+=n){const s=Math.min(i+n,e),a=t.subarray(i,s);r.push(String.fromCharCode.apply(null,a))}return r.join("")};e.createValidAbsoluteUrl=function createValidAbsoluteUrl(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;try{if(n&&"string"==typeof t){if(n.addDefaultProtocol&&t.startsWith("www.")){const e=t.match(/\./g);(null==e?void 0:e.length)>=2&&(t=`http://${t}`)}if(n.tryConvertEncoding)try{t=stringToUTF8String(t)}catch(t){}}const r=e?new URL(t,e):new URL(t);if(function _isValidProtocol(t){switch(null==t?void 0:t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(t){}return null};e.getModificationDate=function getModificationDate(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return[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")].join("")};e.getVerbosityLevel=function getVerbosityLevel(){return i};e.info=function info(t){i>=r.INFOS&&console.log(`Info: ${t}`)};e.isArrayBuffer=function isArrayBuffer(t){return"object"==typeof t&&void 0!==(null==t?void 0:t.byteLength)};e.isArrayEqual=function isArrayEqual(t,e){if(t.length!==e.length)return!1;for(let n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0};e.normalizeUnicode=function normalizeUnicode(t){if(!l){l=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu;c=new Map([["ſt","ſt"]])}return t.replaceAll(l,((t,e,n)=>e?e.normalize("NFKC"):c.get(n)))};e.objectFromMap=function objectFromMap(t){const e=Object.create(null);for(const[n,r]of t)e[n]=r;return e};e.objectSize=function objectSize(t){return Object.keys(t).length};e.setVerbosityLevel=function setVerbosityLevel(t){Number.isInteger(t)&&(i=t)};e.shadow=shadow;e.string32=function string32(t){return String.fromCharCode(t>>24&255,t>>16&255,t>>8&255,255&t)};e.stringToBytes=stringToBytes;e.stringToPDFString=function stringToPDFString(t){if(t[0]>="ï"){let e;"þ"===t[0]&&"ÿ"===t[1]?e="utf-16be":"ÿ"===t[0]&&"þ"===t[1]?e="utf-16le":"ï"===t[0]&&"»"===t[1]&&"¿"===t[2]&&(e="utf-8");if(e)try{const n=new TextDecoder(e,{fatal:!0}),r=stringToBytes(t);return n.decode(r)}catch(t){warn(`stringToPDFString: "${t}".`)}}const e=[];for(let n=0,r=t.length;n<r;n++){const r=o[t.charCodeAt(n)];e.push(r?String.fromCharCode(r):t.charAt(n))}return e.join("")};e.stringToUTF8String=stringToUTF8String;e.unreachable=unreachable;e.utf8StringToString=function utf8StringToString(t){return unescape(encodeURIComponent(t))};e.warn=warn;if(!globalThis._pdfjsCompatibilityChecked){globalThis._pdfjsCompatibilityChecked=!0;n(2)}e.IDENTITY_MATRIX=[1,0,0,1,0,0];e.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];e.MAX_IMAGE_SIZE_TO_CACHE=1e7;e.LINE_FACTOR=1.35;e.LINE_DESCENT_FACTOR=.35;e.BASELINE_FACTOR=.25925925925925924;e.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};e.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};e.AnnotationEditorPrefix="pdfjs_internal_editor_";e.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15};e.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13};e.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};e.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};e.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};e.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};e.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"};e.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"};e.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};e.AnnotationReplyType={GROUP:"Group",REPLY:"R"};e.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};e.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};e.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};e.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"};e.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};e.PageActionEventType={O:"PageOpen",C:"PageClose"};const r={ERRORS:0,WARNINGS:1,INFOS:5};e.VerbosityLevel=r;e.CMapCompressionType={NONE:0,BINARY:1};e.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,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};e.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let i=r.WARNINGS;function warn(t){i>=r.WARNINGS&&console.log(`Warning: ${t}`)}function unreachable(t){throw new Error(t)}function shadow(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Object.defineProperty(t,e,{value:n,enumerable:!r,configurable:!0,writable:!1});return n}const s=function BaseExceptionClosure(){function BaseException(t,e){this.constructor===BaseException&&unreachable("Cannot initialize BaseException.");this.message=t;this.name=e}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();e.BaseException=s;e.PasswordException=class PasswordException extends s{constructor(t,e){super(t,"PasswordException");this.code=e}};e.UnknownErrorException=class UnknownErrorException extends s{constructor(t,e){super(t,"UnknownErrorException");this.details=e}};e.InvalidPDFException=class InvalidPDFException extends s{constructor(t){super(t,"InvalidPDFException")}};e.MissingPDFException=class MissingPDFException extends s{constructor(t){super(t,"MissingPDFException")}};e.UnexpectedResponseException=class UnexpectedResponseException extends s{constructor(t,e){super(t,"UnexpectedResponseException");this.status=e}};e.FormatError=class FormatError extends s{constructor(t){super(t,"FormatError")}};e.AbortException=class AbortException extends s{constructor(t){super(t,"AbortException")}};function stringToBytes(t){"string"!=typeof t&&unreachable("Invalid argument for stringToBytes");const e=t.length,n=new Uint8Array(e);for(let r=0;r<e;++r)n[r]=255&t.charCodeAt(r);return n}e.FeatureTest=class FeatureTest{static get isLittleEndian(){return shadow(this,"isLittleEndian",function isLittleEndian(){const t=new Uint8Array(4);t[0]=1;return 1===new Uint32Array(t.buffer,0,1)[0]}())}static get isEvalSupported(){return shadow(this,"isEvalSupported",function isEvalSupported(){try{new Function("");return!0}catch(t){return!1}}())}static get isOffscreenCanvasSupported(){return shadow(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get platform(){return"undefined"==typeof navigator?shadow(this,"platform",{isWin:!1,isMac:!1}):shadow(this,"platform",{isWin:navigator.platform.includes("Win"),isMac:navigator.platform.includes("Mac")})}};const a=[...Array(256).keys()].map((t=>t.toString(16).padStart(2,"0")));class Util{static makeHexColor(t,e,n){return`#${a[t]}${a[e]}${a[n]}`}static scaleMinMax(t,e){let n;if(t[0]){if(t[0]<0){n=e[0];e[0]=e[1];e[1]=n}e[0]*=t[0];e[1]*=t[0];if(t[3]<0){n=e[2];e[2]=e[3];e[3]=n}e[2]*=t[3];e[3]*=t[3]}else{n=e[0];e[0]=e[2];e[2]=n;n=e[1];e[1]=e[3];e[3]=n;if(t[1]<0){n=e[2];e[2]=e[3];e[3]=n}e[2]*=t[1];e[3]*=t[1];if(t[2]<0){n=e[0];e[0]=e[1];e[1]=n}e[0]*=t[2];e[1]*=t[2]}e[0]+=t[4];e[1]+=t[4];e[2]+=t[5];e[3]+=t[5]}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static applyTransform(t,e){return[t[0]*e[0]+t[1]*e[2]+e[4],t[0]*e[1]+t[1]*e[3]+e[5]]}static applyInverseTransform(t,e){const n=e[0]*e[3]-e[1]*e[2];return[(t[0]*e[3]-t[1]*e[2]+e[2]*e[5]-e[4]*e[3])/n,(-t[0]*e[1]+t[1]*e[0]+e[4]*e[1]-e[5]*e[0])/n]}static getAxialAlignedBoundingBox(t,e){const n=Util.applyTransform(t,e),r=Util.applyTransform(t.slice(2,4),e),i=Util.applyTransform([t[0],t[3]],e),s=Util.applyTransform([t[2],t[1]],e);return[Math.min(n[0],r[0],i[0],s[0]),Math.min(n[1],r[1],i[1],s[1]),Math.max(n[0],r[0],i[0],s[0]),Math.max(n[1],r[1],i[1],s[1])]}static inverseTransform(t){const e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}static singularValueDecompose2dScale(t){const e=[t[0],t[2],t[1],t[3]],n=t[0]*e[0]+t[1]*e[2],r=t[0]*e[1]+t[1]*e[3],i=t[2]*e[0]+t[3]*e[2],s=t[2]*e[1]+t[3]*e[3],a=(n+s)/2,o=Math.sqrt((n+s)**2-4*(n*s-i*r))/2,l=a+o||1,c=a-o||1;return[Math.sqrt(l),Math.sqrt(c)]}static normalizeRect(t){const e=t.slice(0);if(t[0]>t[2]){e[0]=t[2];e[2]=t[0]}if(t[1]>t[3]){e[1]=t[3];e[3]=t[1]}return e}static intersect(t,e){const n=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),r=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(n>r)return null;const i=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),s=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return i>s?null:[n,i,r,s]}static bezierBoundingBox(t,e,n,r,i,s,a,o){const l=[],c=[[],[]];let d,h,u,p,f,g,m,v;for(let c=0;c<2;++c){if(0===c){h=6*t-12*n+6*i;d=-3*t+9*n-9*i+3*a;u=3*n-3*t}else{h=6*e-12*r+6*s;d=-3*e+9*r-9*s+3*o;u=3*r-3*e}if(Math.abs(d)<1e-12){if(Math.abs(h)<1e-12)continue;p=-u/h;0<p&&p<1&&l.push(p)}else{m=h*h-4*u*d;v=Math.sqrt(m);if(!(m<0)){f=(-h+v)/(2*d);0<f&&f<1&&l.push(f);g=(-h-v)/(2*d);0<g&&g<1&&l.push(g)}}}let b,y=l.length;const A=y;for(;y--;){p=l[y];b=1-p;c[0][y]=b*b*b*t+3*b*b*p*n+3*b*p*p*i+p*p*p*a;c[1][y]=b*b*b*e+3*b*b*p*r+3*b*p*p*s+p*p*p*o}c[0][A]=t;c[1][A]=e;c[0][A+1]=a;c[1][A+1]=o;c[0].length=c[1].length=A+2;return[Math.min(...c[0]),Math.min(...c[1]),Math.max(...c[0]),Math.max(...c[1])]}}e.Util=Util;const o=[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))}e.PromiseCapability=class PromiseCapability{#t=!1;constructor(){this.promise=new Promise(((t,e)=>{this.resolve=e=>{this.#t=!0;t(e)};this.reject=t=>{this.#t=!0;e(t)}}))}get settled(){return this.#t}};let l=null,c=null},(t,e,n)=>{"use strict";var r=n(3);!function checkDOMMatrix(){!globalThis.DOMMatrix&&r.isNodeJS&&(globalThis.DOMMatrix=require("canvas").DOMMatrix)}();!function checkPath2D(){if(globalThis.Path2D||!r.isNodeJS)return;const{CanvasRenderingContext2D:t}=require("canvas"),{polyfillPath2D:e}=require("path2d-polyfill");globalThis.CanvasRenderingContext2D=t;e(globalThis)}();!function checkArrayAt(){Array.prototype.at||n(4)}();!function checkTypedArrayAt(){Uint8Array.prototype.at||n(78)}();!function checkStructuredClone(){globalThis.structuredClone||n(90)}()},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.isNodeJS=void 0;const n=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);e.isNodeJS=n},(t,e,n)=>{n(5);var r=n(77);t.exports=r("Array","at")},(t,e,n)=>{"use strict";var r=n(6),i=n(43),s=n(67),a=n(65),o=n(72);r({target:"Array",proto:!0},{at:function at(t){var e=i(this),n=s(e),r=a(t),o=r>=0?r:n+r;return o<0||o>=n?void 0:e[o]}});o("at")},(t,e,n)=>{var r=n(7),i=n(8).f,s=n(47),a=n(51),o=n(41),l=n(59),c=n(71);t.exports=function(t,e){var n,d,h,u,p,f=t.target,g=t.global,m=t.stat;if(n=g?r:m?r[f]||o(f,{}):(r[f]||{}).prototype)for(d in e){u=e[d];h=t.dontCallGetSet?(p=i(n,d))&&p.value:n[d];if(!c(g?d:f+(m?".":"#")+d,t.forced)&&void 0!==h){if(typeof u==typeof h)continue;l(u,h)}(t.sham||h&&h.sham)&&s(u,"sham",!0);a(n,d,u,t)}}},function(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}()||this||Function("return this")()},(t,e,n)=>{var r=n(9),i=n(11),s=n(13),a=n(14),o=n(15),l=n(21),c=n(42),d=n(45),h=Object.getOwnPropertyDescriptor;e.f=r?h:function getOwnPropertyDescriptor(t,e){t=o(t);e=l(e);if(d)try{return h(t,e)}catch(t){}if(c(t,e))return a(!i(s.f,t,e),t[e])}},(t,e,n)=>{var r=n(10);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},(t,e,n)=>{var r=n(12),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},(t,e,n)=>{var r=n(10);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},(t,e)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function propertyIsEnumerable(t){var e=r(this,t);return!!e&&e.enumerable}:n},t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},(t,e,n)=>{var r=n(16),i=n(19);t.exports=function(t){return r(i(t))}},(t,e,n)=>{var r=n(17),i=n(10),s=n(18),a=Object,o=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==s(t)?o(t,""):a(t)}:a},(t,e,n)=>{var r=n(12),i=Function.prototype,s=i.call,a=r&&i.bind.bind(s,s);t.exports=r?a:function(t){return function(){return s.apply(t,arguments)}}},(t,e,n)=>{var r=n(17),i=r({}.toString),s=r("".slice);t.exports=function(t){return s(i(t),8,-1)}},(t,e,n)=>{var r=n(20),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},t=>{t.exports=function(t){return null==t}},(t,e,n)=>{var r=n(22),i=n(26);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},(t,e,n)=>{var r=n(11),i=n(23),s=n(26),a=n(33),o=n(36),l=n(37),c=TypeError,d=l("toPrimitive");t.exports=function(t,e){if(!i(t)||s(t))return t;var n,l=a(t,d);if(l){void 0===e&&(e="default");n=r(l,t,e);if(!i(n)||s(n))return n;throw c("Can't convert object to primitive value")}void 0===e&&(e="number");return o(t,e)}},(t,e,n)=>{var r=n(24),i=n(25),s=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===s}:function(t){return"object"==typeof t?null!==t:r(t)}},(t,e,n)=>{var r=n(25),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},t=>{var e="object"==typeof document&&document.all,n=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:n}},(t,e,n)=>{var r=n(27),i=n(24),s=n(28),a=n(29),o=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&s(e.prototype,o(t))}},(t,e,n)=>{var r=n(7),i=n(24);t.exports=function(t,e){return arguments.length<2?(n=r[t],i(n)?n:void 0):r[t]&&r[t][e];var n}},(t,e,n)=>{var r=n(17);t.exports=r({}.isPrototypeOf)},(t,e,n)=>{var r=n(30);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(t,e,n)=>{var r=n(31),i=n(10),s=n(7).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},(t,e,n)=>{var r,i,s=n(7),a=n(32),o=s.process,l=s.Deno,c=o&&o.versions||l&&l.version,d=c&&c.v8;d&&(i=(r=d.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1]));!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]);t.exports=i},t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},(t,e,n)=>{var r=n(34),i=n(20);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},(t,e,n)=>{var r=n(24),i=n(35),s=TypeError;t.exports=function(t){if(r(t))return t;throw s(i(t)+" is not a function")}},t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},(t,e,n)=>{var r=n(11),i=n(24),s=n(23),a=TypeError;t.exports=function(t,e){var n,o;if("string"===e&&i(n=t.toString)&&!s(o=r(n,t)))return o;if(i(n=t.valueOf)&&!s(o=r(n,t)))return o;if("string"!==e&&i(n=t.toString)&&!s(o=r(n,t)))return o;throw a("Can't convert object to primitive value")}},(t,e,n)=>{var r=n(7),i=n(38),s=n(42),a=n(44),o=n(30),l=n(29),c=r.Symbol,d=i("wks"),h=l?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){s(d,t)||(d[t]=o&&s(c,t)?c[t]:h("Symbol."+t));return d[t]}},(t,e,n)=>{var r=n(39),i=n(40);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},t=>{t.exports=!1},(t,e,n)=>{var r=n(7),i=n(41),s="__core-js_shared__",a=r[s]||i(s,{});t.exports=a},(t,e,n)=>{var r=n(7),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},(t,e,n)=>{var r=n(17),i=n(43),s=r({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,e){return s(i(t),e)}},(t,e,n)=>{var r=n(19),i=Object;t.exports=function(t){return i(r(t))}},(t,e,n)=>{var r=n(17),i=0,s=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+s,36)}},(t,e,n)=>{var r=n(9),i=n(10),s=n(46);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},(t,e,n)=>{var r=n(7),i=n(23),s=r.document,a=i(s)&&i(s.createElement);t.exports=function(t){return a?s.createElement(t):{}}},(t,e,n)=>{var r=n(9),i=n(48),s=n(14);t.exports=r?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){t[e]=n;return t}},(t,e,n)=>{var r=n(9),i=n(45),s=n(49),a=n(50),o=n(21),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,h="enumerable",u="configurable",p="writable";e.f=r?s?function defineProperty(t,e,n){a(t);e=o(e);a(n);if("function"==typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=d(t,e);if(r&&r[p]){t[e]=n.value;n={configurable:u in n?n[u]:r[u],enumerable:h in n?n[h]:r[h],writable:!1}}}return c(t,e,n)}:c:function defineProperty(t,e,n){a(t);e=o(e);a(n);if(i)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw l("Accessors not supported");"value"in n&&(t[e]=n.value);return t}},(t,e,n)=>{var r=n(9),i=n(10);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},(t,e,n)=>{var r=n(23),i=String,s=TypeError;t.exports=function(t){if(r(t))return t;throw s(i(t)+" is not an object")}},(t,e,n)=>{var r=n(24),i=n(48),s=n(52),a=n(41);t.exports=function(t,e,n,o){o||(o={});var l=o.enumerable,c=void 0!==o.name?o.name:e;r(n)&&s(n,c,o);if(o.global)l?t[e]=n:a(e,n);else{try{o.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},(t,e,n)=>{var r=n(17),i=n(10),s=n(24),a=n(42),o=n(9),l=n(53).CONFIGURABLE,c=n(54),d=n(55),h=d.enforce,u=d.get,p=String,f=Object.defineProperty,g=r("".slice),m=r("".replace),v=r([].join),b=o&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),A=t.exports=function(t,e,n){"Symbol("===g(p(e),0,7)&&(e="["+m(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]");n&&n.getter&&(e="get "+e);n&&n.setter&&(e="set "+e);(!a(t,"name")||l&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e);b&&n&&a(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=h(t);a(r,"source")||(r.source=v(y,"string"==typeof e?e:""));return t};Function.prototype.toString=A((function toString(){return s(this)&&u(this).source||c(this)}),"toString")},(t,e,n)=>{var r=n(9),i=n(42),s=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,o=i(s,"name"),l=o&&"something"===function something(){}.name,c=o&&(!r||r&&a(s,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},(t,e,n)=>{var r=n(17),i=n(24),s=n(40),a=r(Function.toString);i(s.inspectSource)||(s.inspectSource=function(t){return a(t)});t.exports=s.inspectSource},(t,e,n)=>{var r,i,s,a=n(56),o=n(7),l=n(23),c=n(47),d=n(42),h=n(40),u=n(57),p=n(58),f="Object already initialized",g=o.TypeError,m=o.WeakMap;if(a||h.state){var v=h.state||(h.state=new m);v.get=v.get;v.has=v.has;v.set=v.set;r=function(t,e){if(v.has(t))throw g(f);e.facade=t;v.set(t,e);return e};i=function(t){return v.get(t)||{}};s=function(t){return v.has(t)}}else{var b=u("state");p[b]=!0;r=function(t,e){if(d(t,b))throw g(f);e.facade=t;c(t,b,e);return e};i=function(t){return d(t,b)?t[b]:{}};s=function(t){return d(t,b)}}t.exports={set:r,get:i,has:s,enforce:function(t){return s(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}}}},(t,e,n)=>{var r=n(7),i=n(24),s=r.WeakMap;t.exports=i(s)&&/native code/.test(String(s))},(t,e,n)=>{var r=n(38),i=n(44),s=r("keys");t.exports=function(t){return s[t]||(s[t]=i(t))}},t=>{t.exports={}},(t,e,n)=>{var r=n(42),i=n(60),s=n(8),a=n(48);t.exports=function(t,e,n){for(var o=i(e),l=a.f,c=s.f,d=0;d<o.length;d++){var h=o[d];r(t,h)||n&&r(n,h)||l(t,h,c(e,h))}}},(t,e,n)=>{var r=n(27),i=n(17),s=n(61),a=n(70),o=n(50),l=i([].concat);t.exports=r("Reflect","ownKeys")||function ownKeys(t){var e=s.f(o(t)),n=a.f;return n?l(e,n(t)):e}},(t,e,n)=>{var r=n(62),i=n(69).concat("length","prototype");e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return r(t,i)}},(t,e,n)=>{var r=n(17),i=n(42),s=n(15),a=n(63).indexOf,o=n(58),l=r([].push);t.exports=function(t,e){var n,r=s(t),c=0,d=[];for(n in r)!i(o,n)&&i(r,n)&&l(d,n);for(;e.length>c;)i(r,n=e[c++])&&(~a(d,n)||l(d,n));return d}},(t,e,n)=>{var r=n(15),i=n(64),s=n(67),createMethod=function(t){return function(e,n,a){var o,l=r(e),c=s(l),d=i(a,c);if(t&&n!=n){for(;c>d;)if((o=l[d++])!=o)return!0}else for(;c>d;d++)if((t||d in l)&&l[d]===n)return t||d||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},(t,e,n)=>{var r=n(65),i=Math.max,s=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):s(n,e)}},(t,e,n)=>{var r=n(66);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},t=>{var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function trunc(t){var r=+t;return(r>0?n:e)(r)}},(t,e,n)=>{var r=n(68);t.exports=function(t){return r(t.length)}},(t,e,n)=>{var r=n(65),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(t,e)=>{e.f=Object.getOwnPropertySymbols},(t,e,n)=>{var r=n(10),i=n(24),s=/#|\.prototype\./,isForced=function(t,e){var n=o[a(t)];return n==c||n!=l&&(i(e)?r(e):!!e)},a=isForced.normalize=function(t){return String(t).replace(s,".").toLowerCase()},o=isForced.data={},l=isForced.NATIVE="N",c=isForced.POLYFILL="P";t.exports=isForced},(t,e,n)=>{var r=n(37),i=n(73),s=n(48).f,a=r("unscopables"),o=Array.prototype;null==o[a]&&s(o,a,{configurable:!0,value:i(null)});t.exports=function(t){o[a][t]=!0}},(t,e,n)=>{var r,i=n(50),s=n(74),a=n(69),o=n(58),l=n(76),c=n(46),d=n(57),h="prototype",u="script",p=d("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"<"+u+">"+t+"</"+u+">"},NullProtoObjectViaActiveX=function(t){t.write(scriptTag(""));t.close();var e=t.parentWindow.Object;t=null;return e},NullProtoObject=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}NullProtoObject="undefined"!=typeof document?document.domain&&r?NullProtoObjectViaActiveX(r):function(){var t,e=c("iframe"),n="java"+u+":";e.style.display="none";l.appendChild(e);e.src=String(n);(t=e.contentWindow.document).open();t.write(scriptTag("document.F=Object"));t.close();return t.F}():NullProtoObjectViaActiveX(r);for(var t=a.length;t--;)delete NullProtoObject[h][a[t]];return NullProtoObject()};o[p]=!0;t.exports=Object.create||function create(t,e){var n;if(null!==t){EmptyConstructor[h]=i(t);n=new EmptyConstructor;EmptyConstructor[h]=null;n[p]=t}else n=NullProtoObject();return void 0===e?n:s.f(n,e)}},(t,e,n)=>{var r=n(9),i=n(49),s=n(48),a=n(50),o=n(15),l=n(75);e.f=r&&!i?Object.defineProperties:function defineProperties(t,e){a(t);for(var n,r=o(e),i=l(e),c=i.length,d=0;c>d;)s.f(t,n=i[d++],r[n]);return t}},(t,e,n)=>{var r=n(62),i=n(69);t.exports=Object.keys||function keys(t){return r(t,i)}},(t,e,n)=>{var r=n(27);t.exports=r("document","documentElement")},(t,e,n)=>{var r=n(7),i=n(17);t.exports=function(t,e){return i(r[t].prototype[e])}},(t,e,n)=>{n(79)},(t,e,n)=>{"use strict";var r=n(80),i=n(67),s=n(65),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function at(t){var e=a(this),n=i(e),r=s(t),o=r>=0?r:n+r;return o<0||o>=n?void 0:e[o]}))},(t,e,n)=>{"use strict";var r,i,s,a=n(81),o=n(9),l=n(7),c=n(24),d=n(23),h=n(42),u=n(82),p=n(35),f=n(47),g=n(51),m=n(84),v=n(28),b=n(85),y=n(87),A=n(37),_=n(44),S=n(55),x=S.enforce,E=S.get,C=l.Int8Array,w=C&&C.prototype,P=l.Uint8ClampedArray,T=P&&P.prototype,k=C&&b(C),M=w&&b(w),R=Object.prototype,D=l.TypeError,I=A("toStringTag"),O=_("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",N=a&&!!y&&"Opera"!==u(l.opera),j=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(t){var e=b(t);if(d(e)){var n=E(e);return n&&h(n,L)?n[L]:getTypedArrayConstructor(e)}},isTypedArray=function(t){if(!d(t))return!1;var e=u(t);return h(B,e)||h(U,e)};for(r in B)(s=(i=l[r])&&i.prototype)?x(s)[L]=i:N=!1;for(r in U)(s=(i=l[r])&&i.prototype)&&(x(s)[L]=i);if(!N||!c(k)||k===Function.prototype){k=function TypedArray(){throw D("Incorrect invocation")};if(N)for(r in B)l[r]&&y(l[r],k)}if(!N||!M||M===R){M=k.prototype;if(N)for(r in B)l[r]&&y(l[r].prototype,M)}N&&b(T)!==M&&y(T,M);if(o&&!h(M,I)){j=!0;m(M,I,{configurable:!0,get:function(){return d(this)?this[O]:void 0}});for(r in B)l[r]&&f(l[r],O,r)}t.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:j&&O,aTypedArray:function(t){if(isTypedArray(t))return t;throw D("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!y||v(k,t)))return t;throw D(p(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n,r){if(o){if(n)for(var i in B){var s=l[i];if(s&&h(s.prototype,t))try{delete s.prototype[t]}catch(n){try{s.prototype[t]=e}catch(t){}}}M[t]&&!n||g(M,t,n?e:N&&w[t]||e,r)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(o){if(y){if(n)for(r in B)if((i=l[r])&&h(i,t))try{delete i[t]}catch(t){}if(k[t]&&!n)return;try{return g(k,t,n?e:N&&k[t]||e)}catch(t){}}for(r in B)!(i=l[r])||i[t]&&!n||g(i,t,e)}},getTypedArrayConstructor:getTypedArrayConstructor,isView:function isView(t){if(!d(t))return!1;var e=u(t);return"DataView"===e||h(B,e)||h(U,e)},isTypedArray:isTypedArray,TypedArray:k,TypedArrayPrototype:M}},t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},(t,e,n)=>{var r=n(83),i=n(24),s=n(18),a=n(37)("toStringTag"),o=Object,l="Arguments"==s(function(){return arguments}());t.exports=r?s:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=o(t),a))?n:l?s(e):"Object"==(r=s(e))&&i(e.callee)?"Arguments":r}},(t,e,n)=>{var r={};r[n(37)("toStringTag")]="z";t.exports="[object z]"===String(r)},(t,e,n)=>{var r=n(52),i=n(48);t.exports=function(t,e,n){n.get&&r(n.get,e,{getter:!0});n.set&&r(n.set,e,{setter:!0});return i.f(t,e,n)}},(t,e,n)=>{var r=n(42),i=n(24),s=n(43),a=n(57),o=n(86),l=a("IE_PROTO"),c=Object,d=c.prototype;t.exports=o?c.getPrototypeOf:function(t){var e=s(t);if(r(e,l))return e[l];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof c?d:null}},(t,e,n)=>{var r=n(10);t.exports=!r((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},(t,e,n)=>{var r=n(88),i=n(50),s=n(89);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]);e=n instanceof Array}catch(t){}return function setPrototypeOf(n,r){i(n);s(r);e?t(n,r):n.__proto__=r;return n}}():void 0)},(t,e,n)=>{var r=n(17),i=n(34);t.exports=function(t,e,n){try{return r(i(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},(t,e,n)=>{var r=n(24),i=String,s=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw s("Can't set "+i(t)+" as a prototype")}},(t,e,n)=>{n(91);n(98);n(100);n(123);n(125);var r=n(137);t.exports=r.structuredClone},(t,e,n)=>{"use strict";var r=n(15),i=n(72),s=n(92),a=n(55),o=n(48).f,l=n(93),c=n(97),d=n(39),h=n(9),u="Array Iterator",p=a.set,f=a.getterFor(u);t.exports=l(Array,"Array",(function(t,e){p(this,{type:u,target:r(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;if(!e||r>=e.length){t.target=void 0;return c(void 0,!0)}return c("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values");var g=s.Arguments=s.Array;i("keys");i("values");i("entries");if(!d&&h&&"values"!==g.name)try{o(g,"name",{value:"values"})}catch(t){}},t=>{t.exports={}},(t,e,n)=>{"use strict";var r=n(6),i=n(11),s=n(39),a=n(53),o=n(24),l=n(94),c=n(85),d=n(87),h=n(96),u=n(47),p=n(51),f=n(37),g=n(92),m=n(95),v=a.PROPER,b=a.CONFIGURABLE,y=m.IteratorPrototype,A=m.BUGGY_SAFARI_ITERATORS,_=f("iterator"),S="keys",x="values",E="entries",returnThis=function(){return this};t.exports=function(t,e,n,a,f,m,C){l(n,e,a);var w,P,T,getIterationMethod=function(t){if(t===f&&I)return I;if(!A&&t in R)return R[t];switch(t){case S:return function keys(){return new n(this,t)};case x:return function values(){return new n(this,t)};case E:return function entries(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",M=!1,R=t.prototype,D=R[_]||R["@@iterator"]||f&&R[f],I=!A&&D||getIterationMethod(f),O="Array"==e&&R.entries||D;if(O&&(w=c(O.call(new t)))!==Object.prototype&&w.next){s||c(w)===y||(d?d(w,y):o(w[_])||p(w,_,returnThis));h(w,k,!0,!0);s&&(g[k]=returnThis)}if(v&&f==x&&D&&D.name!==x)if(!s&&b)u(R,"name",x);else{M=!0;I=function values(){return i(D,this)}}if(f){P={values:getIterationMethod(x),keys:m?I:getIterationMethod(S),entries:getIterationMethod(E)};if(C)for(T in P)(A||M||!(T in R))&&p(R,T,P[T]);else r({target:e,proto:!0,forced:A||M},P)}s&&!C||R[_]===I||p(R,_,I,{name:f});g[e]=I;return P}},(t,e,n)=>{"use strict";var r=n(95).IteratorPrototype,i=n(73),s=n(14),a=n(96),o=n(92),returnThis=function(){return this};t.exports=function(t,e,n,l){var c=e+" Iterator";t.prototype=i(r,{next:s(+!l,n)});a(t,c,!1,!0);o[c]=returnThis;return t}},(t,e,n)=>{"use strict";var r,i,s,a=n(10),o=n(24),l=n(23),c=n(73),d=n(85),h=n(51),u=n(37),p=n(39),f=u("iterator"),g=!1;[].keys&&("next"in(s=[].keys())?(i=d(d(s)))!==Object.prototype&&(r=i):g=!0);!l(r)||a((function(){var t={};return r[f].call(t)!==t}))?r={}:p&&(r=c(r));o(r[f])||h(r,f,(function(){return this}));t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:g}},(t,e,n)=>{var r=n(48).f,i=n(42),s=n(37)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype);t&&!i(t,s)&&r(t,s,{configurable:!0,value:e})}},t=>{t.exports=function(t,e){return{value:t,done:e}}},(t,e,n)=>{var r=n(83),i=n(51),s=n(99);r||i(Object.prototype,"toString",s,{unsafe:!0})},(t,e,n)=>{"use strict";var r=n(83),i=n(82);t.exports=r?{}.toString:function toString(){return"[object "+i(this)+"]"}},(t,e,n)=>{n(101)},(t,e,n)=>{"use strict";n(102)("Map",(function(t){return function Map(){return t(this,arguments.length?arguments[0]:void 0)}}),n(120))},(t,e,n)=>{"use strict";var r=n(6),i=n(7),s=n(17),a=n(71),o=n(51),l=n(103),c=n(110),d=n(117),h=n(24),u=n(20),p=n(23),f=n(10),g=n(118),m=n(96),v=n(119);t.exports=function(t,e,n){var b=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),A=b?"set":"add",_=i[t],S=_&&_.prototype,x=_,E={},fixMethod=function(t){var e=s(S[t]);o(S,t,"add"==t?function add(t){e(this,0===t?0:t);return this}:"delete"==t?function(t){return!(y&&!p(t))&&e(this,0===t?0:t)}:"get"==t?function get(t){return y&&!p(t)?void 0:e(this,0===t?0:t)}:"has"==t?function has(t){return!(y&&!p(t))&&e(this,0===t?0:t)}:function set(t,n){e(this,0===t?0:t,n);return this})};if(a(t,!h(_)||!(y||S.forEach&&!f((function(){(new _).entries().next()}))))){x=n.getConstructor(e,t,b,A);l.enable()}else if(a(t,!0)){var C=new x,w=C[A](y?{}:-0,1)!=C,P=f((function(){C.has(1)})),T=g((function(t){new _(t)})),k=!y&&f((function(){for(var t=new _,e=5;e--;)t[A](e,e);return!t.has(-0)}));if(!T){(x=e((function(t,e){d(t,S);var n=v(new _,t,x);u(e)||c(e,n[A],{that:n,AS_ENTRIES:b});return n}))).prototype=S;S.constructor=x}if(P||k){fixMethod("delete");fixMethod("has");b&&fixMethod("get")}(k||w)&&fixMethod(A);y&&S.clear&&delete S.clear}E[t]=x;r({global:!0,constructor:!0,forced:x!=_},E);m(x,t);y||n.setStrong(x,t,b);return x}},(t,e,n)=>{var r=n(6),i=n(17),s=n(58),a=n(23),o=n(42),l=n(48).f,c=n(61),d=n(104),h=n(107),u=n(44),p=n(109),f=!1,g=u("meta"),m=0,setMetadata=function(t){l(t,g,{value:{objectID:"O"+m++,weakData:{}}})},v=t.exports={enable:function(){v.enable=function(){};f=!0;var t=c.f,e=i([].splice),n={};n[g]=1;if(t(n).length){c.f=function(n){for(var r=t(n),i=0,s=r.length;i<s;i++)if(r[i]===g){e(r,i,1);break}return r};r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f})}},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,g)){if(!h(t))return"F";if(!e)return"E";setMetadata(t)}return t[g].objectID},getWeakData:function(t,e){if(!o(t,g)){if(!h(t))return!0;if(!e)return!1;setMetadata(t)}return t[g].weakData},onFreeze:function(t){p&&f&&h(t)&&!o(t,g)&&setMetadata(t);return t}};s[g]=!0},(t,e,n)=>{var r=n(18),i=n(15),s=n(61).f,a=n(105),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function getOwnPropertyNames(t){return o&&"Window"==r(t)?function(t){try{return s(t)}catch(t){return a(o)}}(t):s(i(t))}},(t,e,n)=>{var r=n(64),i=n(67),s=n(106),a=Array,o=Math.max;t.exports=function(t,e,n){for(var l=i(t),c=r(e,l),d=r(void 0===n?l:n,l),h=a(o(d-c,0)),u=0;c<d;c++,u++)s(h,u,t[c]);h.length=u;return h}},(t,e,n)=>{"use strict";var r=n(21),i=n(48),s=n(14);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,s(0,n)):t[a]=n}},(t,e,n)=>{var r=n(10),i=n(23),s=n(18),a=n(108),o=Object.isExtensible,l=r((function(){o(1)}));t.exports=l||a?function isExtensible(t){return!!i(t)&&((!a||"ArrayBuffer"!=s(t))&&(!o||o(t)))}:o},(t,e,n)=>{var r=n(10);t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},(t,e,n)=>{var r=n(10);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},(t,e,n)=>{var r=n(111),i=n(11),s=n(50),a=n(35),o=n(113),l=n(67),c=n(28),d=n(114),h=n(115),u=n(116),p=TypeError,Result=function(t,e){this.stopped=t;this.result=e},f=Result.prototype;t.exports=function(t,e,n){var g,m,v,b,y,A,_,S=n&&n.that,x=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),P=r(e,S),stop=function(t){g&&u(g,"normal",t);return new Result(!0,t)},callFn=function(t){if(x){s(t);return w?P(t[0],t[1],stop):P(t[0],t[1])}return w?P(t,stop):P(t)};if(E)g=t.iterator;else if(C)g=t;else{if(!(m=h(t)))throw p(a(t)+" is not iterable");if(o(m)){for(v=0,b=l(t);b>v;v++)if((y=callFn(t[v]))&&c(f,y))return y;return new Result(!1)}g=d(t,m)}A=E?t.next:g.next;for(;!(_=i(A,g)).done;){try{y=callFn(_.value)}catch(t){u(g,"throw",t)}if("object"==typeof y&&y&&c(f,y))return y}return new Result(!1)}},(t,e,n)=>{var r=n(112),i=n(34),s=n(12),a=r(r.bind);t.exports=function(t,e){i(t);return void 0===e?t:s?a(t,e):function(){return t.apply(e,arguments)}}},(t,e,n)=>{var r=n(18),i=n(17);t.exports=function(t){if("Function"===r(t))return i(t)}},(t,e,n)=>{var r=n(37),i=n(92),s=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[s]===t)}},(t,e,n)=>{var r=n(11),i=n(34),s=n(50),a=n(35),o=n(115),l=TypeError;t.exports=function(t,e){var n=arguments.length<2?o(t):e;if(i(n))return s(r(n,t));throw l(a(t)+" is not iterable")}},(t,e,n)=>{var r=n(82),i=n(33),s=n(20),a=n(92),o=n(37)("iterator");t.exports=function(t){if(!s(t))return i(t,o)||i(t,"@@iterator")||a[r(t)]}},(t,e,n)=>{var r=n(11),i=n(50),s=n(33);t.exports=function(t,e,n){var a,o;i(t);try{if(!(a=s(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){o=!0;a=t}if("throw"===e)throw n;if(o)throw a;i(a);return n}},(t,e,n)=>{var r=n(28),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw i("Incorrect invocation")}},(t,e,n)=>{var r=n(37)("iterator"),i=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){i=!0}};a[r]=function(){return this};Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var s={};s[r]=function(){return{next:function(){return{done:n=!0}}}};t(s)}catch(t){}return n}},(t,e,n)=>{var r=n(24),i=n(23),s=n(87);t.exports=function(t,e,n){var a,o;s&&r(a=e.constructor)&&a!==n&&i(o=a.prototype)&&o!==n.prototype&&s(t,o);return t}},(t,e,n)=>{"use strict";var r=n(73),i=n(84),s=n(121),a=n(111),o=n(117),l=n(20),c=n(110),d=n(93),h=n(97),u=n(122),p=n(9),f=n(103).fastKey,g=n(55),m=g.set,v=g.getterFor;t.exports={getConstructor:function(t,e,n,d){var h=t((function(t,i){o(t,u);m(t,{type:e,index:r(null),first:void 0,last:void 0,size:0});p||(t.size=0);l(i)||c(i,t[d],{that:t,AS_ENTRIES:n})})),u=h.prototype,g=v(e),define=function(t,e,n){var r,i,s=g(t),a=getEntry(t,e);if(a)a.value=n;else{s.last=a={index:i=f(e,!0),key:e,value:n,previous:r=s.last,next:void 0,removed:!1};s.first||(s.first=a);r&&(r.next=a);p?s.size++:t.size++;"F"!==i&&(s.index[i]=a)}return t},getEntry=function(t,e){var n,r=g(t),i=f(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};s(u,{clear:function clear(){for(var t=g(this),e=t.index,n=t.first;n;){n.removed=!0;n.previous&&(n.previous=n.previous.next=void 0);delete e[n.index];n=n.next}t.first=t.last=void 0;p?t.size=0:this.size=0},delete:function(t){var e=this,n=g(e),r=getEntry(e,t);if(r){var i=r.next,s=r.previous;delete n.index[r.index];r.removed=!0;s&&(s.next=i);i&&(i.previous=s);n.first==r&&(n.first=i);n.last==r&&(n.last=s);p?n.size--:e.size--}return!!r},forEach:function forEach(t){for(var e,n=g(this),r=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;){r(e.value,e.key,this);for(;e&&e.removed;)e=e.previous}},has:function has(t){return!!getEntry(this,t)}});s(u,n?{get:function get(t){var e=getEntry(this,t);return e&&e.value},set:function set(t,e){return define(this,0===t?0:t,e)}}:{add:function add(t){return define(this,t=0===t?0:t,t)}});p&&i(u,"size",{configurable:!0,get:function(){return g(this).size}});return h},setStrong:function(t,e,n){var r=e+" Iterator",i=v(e),s=v(r);d(t,e,(function(t,e){m(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=s(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;if(!t.target||!(t.last=n=n?n.next:t.state.first)){t.target=void 0;return h(void 0,!0)}return h("keys"==e?n.key:"values"==e?n.value:[n.key,n.value],!1)}),n?"entries":"values",!n,!0);u(e)}}},(t,e,n)=>{var r=n(51);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},(t,e,n)=>{"use strict";var r=n(27),i=n(84),s=n(37),a=n(9),o=s("species");t.exports=function(t){var e=r(t);a&&e&&!e[o]&&i(e,o,{configurable:!0,get:function(){return this}})}},(t,e,n)=>{n(124)},(t,e,n)=>{"use strict";n(102)("Set",(function(t){return function Set(){return t(this,arguments.length?arguments[0]:void 0)}}),n(120))},(t,e,n)=>{var r,i=n(39),s=n(6),a=n(7),o=n(27),l=n(17),c=n(10),d=n(44),h=n(24),u=n(126),p=n(20),f=n(23),g=n(26),m=n(110),v=n(50),b=n(82),y=n(42),A=n(106),_=n(47),S=n(67),x=n(127),E=n(128),C=n(130),w=n(131),P=n(132),T=n(133),k=a.Object,M=a.Array,R=a.Date,D=a.Error,I=a.EvalError,O=a.RangeError,L=a.ReferenceError,N=a.SyntaxError,j=a.TypeError,B=a.URIError,U=a.PerformanceMark,W=a.WebAssembly,q=W&&W.CompileError||D,G=W&&W.LinkError||D,H=W&&W.RuntimeError||D,z=o("DOMException"),V=C.Map,X=C.has,$=C.get,Y=C.set,K=w.Set,J=w.add,Q=o("Object","keys"),Z=l([].push),tt=l((!0).valueOf),et=l(1..valueOf),nt=l("".valueOf),rt=l(R.prototype.getTime),it=d("structuredClone"),st="DataCloneError",ot="Transferring",checkBasicSemantic=function(t){return!c((function(){var e=new a.Set([7]),n=t(e),r=t(k(7));return n==e||!n.has(7)||"object"!=typeof r||7!=r}))&&t},checkErrorsCloning=function(t,e){return!c((function(){var n=new e,r=t({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof e&&r.a.stack===n.stack)}))},lt=a.structuredClone,ct=i||!checkErrorsCloning(lt,D)||!checkErrorsCloning(lt,z)||!(r=lt,!c((function(){var t=r(new a.AggregateError([1],it,{cause:3}));return"AggregateError"!=t.name||1!=t.errors[0]||t.message!=it||3!=t.cause}))),dt=!lt&&checkBasicSemantic((function(t){return new U(it,{detail:t}).detail})),ht=checkBasicSemantic(lt)||dt,throwUncloneable=function(t){throw new z("Uncloneable type: "+t,st)},throwUnpolyfillable=function(t,e){throw new z((e||"Cloning")+" of "+t+" cannot be properly polyfilled in this engine",st)},tryNativeRestrictedStructuredClone=function(t,e){ht||throwUnpolyfillable(e);return ht(t)},structuredCloneInternal=function(t,e){g(t)&&throwUncloneable("Symbol");if(!f(t))return t;if(e){if(X(e,t))return $(e,t)}else e=new V;var n,r,i,s,l,c,d,u,p,m,v,x=b(t),C=!1;switch(x){case"Array":i=M(S(t));C=!0;break;case"Object":i={};C=!0;break;case"Map":i=new V;C=!0;break;case"Set":i=new K;C=!0;break;case"RegExp":i=new RegExp(t.source,E(t));break;case"Error":switch(r=t.name){case"AggregateError":i=o("AggregateError")([]);break;case"EvalError":i=I();break;case"RangeError":i=O();break;case"ReferenceError":i=L();break;case"SyntaxError":i=N();break;case"TypeError":i=j();break;case"URIError":i=B();break;case"CompileError":i=q();break;case"LinkError":i=G();break;case"RuntimeError":i=H();break;default:i=D()}C=!0;break;case"DOMException":i=new z(t.message,t.name);C=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":n=a[x];f(n)||throwUnpolyfillable(x);i=new n(structuredCloneInternal(t.buffer,e),t.byteOffset,"DataView"===x?t.byteLength:t.length);break;case"DOMQuad":try{i=new DOMQuad(structuredCloneInternal(t.p1,e),structuredCloneInternal(t.p2,e),structuredCloneInternal(t.p3,e),structuredCloneInternal(t.p4,e))}catch(e){i=tryNativeRestrictedStructuredClone(t,x)}break;case"File":if(ht)try{i=ht(t);b(i)!==x&&(i=void 0)}catch(t){}if(!i)try{i=new File([t],t.name,t)}catch(t){}i||throwUnpolyfillable(x);break;case"FileList":if(s=function(){var t;try{t=new a.DataTransfer}catch(e){try{t=new a.ClipboardEvent("").clipboardData}catch(t){}}return t&&t.items&&t.files?t:null}()){for(l=0,c=S(t);l<c;l++)s.items.add(structuredCloneInternal(t[l],e));i=s.files}else i=tryNativeRestrictedStructuredClone(t,x);break;case"ImageData":try{i=new ImageData(structuredCloneInternal(t.data,e),t.width,t.height,{colorSpace:t.colorSpace})}catch(e){i=tryNativeRestrictedStructuredClone(t,x)}break;default:if(ht)i=ht(t);else switch(x){case"BigInt":i=k(t.valueOf());break;case"Boolean":i=k(tt(t));break;case"Number":i=k(et(t));break;case"String":i=k(nt(t));break;case"Date":i=new R(rt(t));break;case"ArrayBuffer":(n=a.DataView)||"function"==typeof t.slice||throwUnpolyfillable(x);try{if("function"!=typeof t.slice||t.resizable){c=t.byteLength;v="maxByteLength"in t?{maxByteLength:t.maxByteLength}:void 0;i=new ArrayBuffer(c,v);p=new n(t);m=new n(i);for(l=0;l<c;l++)m.setUint8(l,p.getUint8(l))}else i=t.slice(0)}catch(t){throw new z("ArrayBuffer is detached",st)}break;case"SharedArrayBuffer":i=t;break;case"Blob":try{i=t.slice(0,t.size,t.type)}catch(t){throwUnpolyfillable(x)}break;case"DOMPoint":case"DOMPointReadOnly":n=a[x];try{i=n.fromPoint?n.fromPoint(t):new n(t.x,t.y,t.z,t.w)}catch(t){throwUnpolyfillable(x)}break;case"DOMRect":case"DOMRectReadOnly":n=a[x];try{i=n.fromRect?n.fromRect(t):new n(t.x,t.y,t.width,t.height)}catch(t){throwUnpolyfillable(x)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=a[x];try{i=n.fromMatrix?n.fromMatrix(t):new n(t)}catch(t){throwUnpolyfillable(x)}break;case"AudioData":case"VideoFrame":h(t.clone)||throwUnpolyfillable(x);try{i=t.clone()}catch(t){throwUncloneable(x)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":throwUnpolyfillable(x);default:throwUncloneable(x)}}Y(e,t,i);if(C)switch(x){case"Array":case"Object":d=Q(t);for(l=0,c=S(d);l<c;l++){u=d[l];A(i,u,structuredCloneInternal(t[u],e))}break;case"Map":t.forEach((function(t,n){Y(i,structuredCloneInternal(n,e),structuredCloneInternal(t,e))}));break;case"Set":t.forEach((function(t){J(i,structuredCloneInternal(t,e))}));break;case"Error":_(i,"message",structuredCloneInternal(t.message,e));y(t,"cause")&&_(i,"cause",structuredCloneInternal(t.cause,e));"AggregateError"==r&&(i.errors=structuredCloneInternal(t.errors,e));case"DOMException":P&&_(i,"stack",structuredClon