UNPKG

ngx-extended-pdf-viewer

Version:

Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.

23 lines 346 kB
window.ngxZone.runOutsideAngular(() => { /** * @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,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()}(this,(function(){return(()=>{var __webpack_modules__=[,(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.VerbosityLevel=e.Util=e.UnknownErrorException=e.UnexpectedResponseException=e.UNSUPPORTED_FEATURES=e.TextRenderingMode=e.StreamType=e.RenderingIntentFlag=e.PermissionFlag=e.PasswordResponses=e.PasswordException=e.PageActionEventType=e.OPS=e.MissingPDFException=e.IsLittleEndianCached=e.IsEvalSupportedCached=e.InvalidPDFException=e.ImageKind=e.IDENTITY_MATRIX=e.FormatError=e.FontType=e.FONT_IDENTITY_MATRIX=e.DocumentActionEventType=e.CMapCompressionType=e.BaseException=e.AnnotationType=e.AnnotationStateModelType=e.AnnotationReviewState=e.AnnotationReplyType=e.AnnotationMode=e.AnnotationMarkedState=e.AnnotationFlag=e.AnnotationFieldFlag=e.AnnotationBorderStyleType=e.AnnotationActionEventType=e.AbortException=void 0;e.arrayByteLength=arrayByteLength;e.arraysToBytes=function arraysToBytes(t){const e=t.length;if(1===e&&t[0]instanceof Uint8Array)return t[0];let r=0;for(let n=0;n<e;n++)r+=arrayByteLength(t[n]);let n=0;const a=new Uint8Array(r);for(let r=0;r<e;r++){let e=t[r];e instanceof Uint8Array||(e="string"==typeof e?stringToBytes(e):new Uint8Array(e));const s=e.byteLength;a.set(e,n);n+=s}return a};e.assert=function assert(t,e){t||unreachable(e)};e.bytesToString=function bytesToString(t){"object"==typeof t&&null!==t&&void 0!==t.length||unreachable("Invalid argument for bytesToString");const e=t.length,r=8192;if(e<r)return String.fromCharCode.apply(null,t);const n=[];for(let a=0;a<e;a+=r){const s=Math.min(a+r,e),i=t.subarray(a,s);n.push(String.fromCharCode.apply(null,i))}return n.join("")};e.createPromiseCapability=function createPromiseCapability(){const t=Object.create(null);let e=!1;Object.defineProperty(t,"settled",{get:()=>e});t.promise=new Promise((function(r,n){t.resolve=function(t){e=!0;r(t)};t.reject=function(t){e=!0;n(t)}}));return t};e.createValidAbsoluteUrl=function createValidAbsoluteUrl(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;try{if(r&&"string"==typeof t){if(r.addDefaultProtocol&&t.startsWith("www.")){const e=t.match(/\./g);e&&e.length>=2&&(t="http://".concat(t))}if(r.tryConvertEncoding)try{t=stringToUTF8String(t)}catch(t){}}const n=e?new URL(t,e):new URL(t);if(_isValidProtocol(n))return n}catch(t){}return null};e.escapeString=function escapeString(t){return t.replace(/([()\\\n\r])/g,(t=>"\n"===t?"\\n":"\r"===t?"\\r":"\\".concat(t)))};e.getModificationDate=function getModificationDate(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;const e=[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 e.join("")};e.getVerbosityLevel=function getVerbosityLevel(){return a};e.info=function info(t){a>=n.INFOS&&("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?console.log("Info: ".concat(t)):Window&&Window.ngxConsole?Window.ngxConsole.log("Info: ".concat(t)):console.log("Info: ".concat(t)))};e.isArrayBuffer=function isArrayBuffer(t){return"object"==typeof t&&null!==t&&void 0!==t.byteLength};e.isArrayEqual=function isArrayEqual(t,e){if(t.length!==e.length)return!1;for(let r=0,n=t.length;r<n;r++)if(t[r]!==e[r])return!1;return!0};e.isAscii=function isAscii(t){return/^[\x00-\x7F]*$/.test(t)};e.isBool=function isBool(t){return"boolean"==typeof t};e.isNum=function isNum(t){return"number"==typeof t};e.isSameOrigin=function isSameOrigin(t,e){let r;try{r=new URL(t);if(!r.origin||"null"===r.origin)return!1}catch(t){return!1}const n=new URL(e,r);return r.origin===n.origin};e.isString=function isString(t){return"string"==typeof t};e.objectFromMap=function objectFromMap(t){const e=Object.create(null);for(const[r,n]of t)e[r]=n;return e};e.objectSize=function objectSize(t){return Object.keys(t).length};e.setVerbosityLevel=function setVerbosityLevel(t){Number.isInteger(t)&&(a=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 r=new TextDecoder(e,{fatal:!0}),n=stringToBytes(t);return r.decode(n)}catch(t){warn('stringToPDFString: "'.concat(t,'".'))}}const e=[];for(let r=0,n=t.length;r<n;r++){const n=c[t.charCodeAt(r)];e.push(n?String.fromCharCode(n):t.charAt(r))}return e.join("")};e.stringToUTF16BEString=function stringToUTF16BEString(t){const e=["þÿ"];for(let r=0,n=t.length;r<n;r++){const n=t.charCodeAt(r);e.push(String.fromCharCode(n>>8&255),String.fromCharCode(255&n))}return e.join("")};e.stringToUTF8String=stringToUTF8String;e.unreachable=unreachable;e.utf8StringToString=function utf8StringToString(t){return unescape(encodeURIComponent(t))};e.warn=warn;r(2);r(82);r(103);r(106);r(112);r(133);r(134);r(138);r(139);r(145);r(162);e.IDENTITY_MATRIX=[1,0,0,1,0,0];e.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];e.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};e.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};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"};e.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};e.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"};const n={ERRORS:0,WARNINGS:1,INFOS:5};e.VerbosityLevel=n;e.CMapCompressionType={NONE:0,BINARY:1,STREAM:2};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,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};e.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"};e.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let a=n.WARNINGS;function warn(t){a>=n.WARNINGS&&("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?console.log("Warning: ".concat(t)):Window&&Window.ngxConsole?Window.ngxConsole.log("Warning: ".concat(t)):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:":case"capacitor":return!0;default:return!1}}function shadow(t,e,r){Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!1});return r}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,r=new Uint8Array(e);for(let n=0;n<e;++n)r[n]=255&t.charCodeAt(n);return r}function arrayByteLength(t){if(void 0!==t.length)return t.length;if(void 0!==t.byteLength)return t.byteLength;unreachable("Invalid argument for arrayByteLength")}const i={get value(){return shadow(this,"value",function isLittleEndian(){const t=new Uint8Array(4);t[0]=1;return 1===new Uint32Array(t.buffer,0,1)[0]}())}};e.IsLittleEndianCached=i;const o={get value(){return shadow(this,"value",function isEvalSupported(){try{new Function("");return!0}catch(t){return!1}}())}};e.IsEvalSupportedCached=o;const l=[...Array(256).keys()].map((t=>t.toString(16).padStart(2,"0")));class Util{static makeHexColor(t,e,r){return"#".concat(l[t]).concat(l[e]).concat(l[r])}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 r=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])/r,(-t[0]*e[1]+t[1]*e[0]+e[4]*e[1]-e[5]*e[0])/r]}static getAxialAlignedBoundingBox(t,e){const r=Util.applyTransform(t,e),n=Util.applyTransform(t.slice(2,4),e),a=Util.applyTransform([t[0],t[3]],e),s=Util.applyTransform([t[2],t[1]],e);return[Math.min(r[0],n[0],a[0],s[0]),Math.min(r[1],n[1],a[1],s[1]),Math.max(r[0],n[0],a[0],s[0]),Math.max(r[1],n[1],a[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 apply3dTransform(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[3]*e[0]+t[4]*e[1]+t[5]*e[2],t[6]*e[0]+t[7]*e[1]+t[8]*e[2]]}static singularValueDecompose2dScale(t){const e=[t[0],t[2],t[1],t[3]],r=t[0]*e[0]+t[1]*e[2],n=t[0]*e[1]+t[1]*e[3],a=t[2]*e[0]+t[3]*e[2],s=t[2]*e[1]+t[3]*e[3],i=(r+s)/2,o=Math.sqrt((r+s)**2-4*(r*s-a*n))/2,l=i+o||1,c=i-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){function compare(t,e){return t-e}const r=[t[0],t[2],e[0],e[2]].sort(compare),n=[t[1],t[3],e[1],e[3]].sort(compare),a=[];t=Util.normalizeRect(t);e=Util.normalizeRect(e);if(!(r[0]===t[0]&&r[1]===e[0]||r[0]===e[0]&&r[1]===t[0]))return null;a[0]=r[1];a[2]=r[2];if(!(n[0]===t[1]&&n[1]===e[1]||n[0]===e[1]&&n[1]===t[1]))return null;a[1]=n[1];a[3]=n[2];return a}static bezierBoundingBox(t,e,r,n,a,s,i,o){const l=[],c=[[],[]];let u,h,d,p,f,g,m,v;for(let c=0;c<2;++c){if(0===c){h=6*t-12*r+6*a;u=-3*t+9*r-9*a+3*i;d=3*r-3*t}else{h=6*e-12*n+6*s;u=-3*e+9*n-9*s+3*o;d=3*n-3*e}if(Math.abs(u)<1e-12){if(Math.abs(h)<1e-12)continue;p=-d/h;0<p&&p<1&&l.push(p)}else{m=h*h-4*d*u;v=Math.sqrt(m);if(!(m<0)){f=(-h+v)/(2*u);0<f&&f<1&&l.push(f);g=(-h-v)/(2*u);0<g&&g<1&&l.push(g)}}}let y,b=l.length;const _=b;for(;b--;){p=l[b];y=1-p;c[0][b]=y*y*y*t+3*y*y*p*r+3*y*p*p*a+p*p*p*i;c[1][b]=y*y*y*e+3*y*y*p*n+3*y*p*p*s+p*p*p*o}c[0][_]=t;c[1][_]=e;c[0][_+1]=i;c[1][_+1]=o;c[0].length=c[1].length=_+2;return[Math.min(...c[0]),Math.min(...c[1]),Math.max(...c[0]),Math.max(...c[1])]}}e.Util=Util;const c=[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,e,r)=>{var n=r(3),a=r(4),s=r(5),i=r(9),o=r(62),l=r(18),c=l("iterator"),u=l("toStringTag"),h=i.values,handlePrototype=function(t,e){if(t){if(t[c]!==h)try{o(t,c,h)}catch(e){t[c]=h}t[u]||o(t,u,e);if(a[e])for(var r in i)if(t[r]!==i[r])try{o(t,r,i[r])}catch(e){t[r]=i[r]}}};for(var d in a)handlePrototype(n[d]&&n[d].prototype,d);handlePrototype(s,"DOMTokenList")},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=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},(t,e,r)=>{var n=r(6)("span").classList,a=n&&n.constructor&&n.constructor.prototype;t.exports=a===Object.prototype?void 0:a},(t,e,r)=>{var n=r(3),a=r(7),s=n.document,i=a(s)&&a(s.createElement);t.exports=function(t){return i?s.createElement(t):{}}},(t,e,r)=>{var n=r(8);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},t=>{t.exports=function(t){return"function"==typeof t}},(t,e,r)=>{"use strict";var n=r(10),a=r(17),s=r(58),i=r(59),o=r(36).f,l=r(64),c=r(20),u=r(34),h="Array Iterator",d=i.set,p=i.getterFor(h);t.exports=l(Array,"Array",(function(t,e){d(this,{type:h,target:n(t),index:0,kind:e})}),(function(){var t=p(this),e=t.target,r=t.kind,n=t.index++;if(!e||n>=e.length){t.target=void 0;return{value:void 0,done:!0}}return"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");var f=s.Arguments=s.Array;a("keys");a("values");a("entries");if(!c&&u&&"values"!==f.name)try{o(f,"name",{value:"values"})}catch(t){}},(t,e,r)=>{var n=r(11),a=r(16);t.exports=function(t){return n(a(t))}},(t,e,r)=>{var n=r(3),a=r(12),s=r(14),i=r(15),o=n.Object,l=a("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?l(t,""):o(t)}:o},(t,e,r)=>{var n=r(13),a=Function.prototype,s=a.bind,i=a.call,o=n&&s.bind(i,i);t.exports=n?function(t){return t&&o(t)}:function(t){return t&&function(){return i.apply(t,arguments)}}},(t,e,r)=>{var n=r(14);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},(t,e,r)=>{var n=r(12),a=n({}.toString),s=n("".slice);t.exports=function(t){return s(a(t),8,-1)}},(t,e,r)=>{var n=r(3).TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},(t,e,r)=>{var n=r(18),a=r(31),s=r(36),i=n("unscopables"),o=Array.prototype;null==o[i]&&s.f(o,i,{configurable:!0,value:a(null)});t.exports=function(t){o[i][t]=!0}},(t,e,r)=>{var n=r(3),a=r(19),s=r(23),i=r(25),o=r(26),l=r(30),c=a("wks"),u=n.Symbol,h=u&&u.for,d=l?u:u&&u.withoutSetter||i;t.exports=function(t){if(!s(c,t)||!o&&"string"!=typeof c[t]){var e="Symbol."+t;o&&s(u,t)?c[t]=u[t]:c[t]=l&&h?h(e):d(e)}return c[t]}},(t,e,r)=>{var n=r(20),a=r(21);(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.0",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"})},t=>{t.exports=!1},(t,e,r)=>{var n=r(3),a=r(22),s="__core-js_shared__",i=n[s]||a(s,{});t.exports=i},(t,e,r)=>{var n=r(3),a=Object.defineProperty;t.exports=function(t,e){try{a(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},(t,e,r)=>{var n=r(12),a=r(24),s=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,e){return s(a(t),e)}},(t,e,r)=>{var n=r(3),a=r(16),s=n.Object;t.exports=function(t){return s(a(t))}},(t,e,r)=>{var n=r(12),a=0,s=Math.random(),i=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++a+s,36)}},(t,e,r)=>{var n=r(27),a=r(14);t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},(t,e,r)=>{var n,a,s=r(3),i=r(28),o=s.process,l=s.Deno,c=o&&o.versions||l&&l.version,u=c&&c.v8;u&&(a=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1]));!a&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(a=+n[1]);t.exports=a},(t,e,r)=>{var n=r(29);t.exports=n("navigator","userAgent")||""},(t,e,r)=>{var n=r(3),a=r(8),aFunction=function(t){return a(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?aFunction(n[t]):n[t]&&n[t][e]}},(t,e,r)=>{var n=r(26);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(t,e,r)=>{var n,a=r(32),s=r(33),i=r(55),o=r(54),l=r(56),c=r(6),u=r(57),h=u("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"<script>"+t+"</"+"script>"},NullProtoObjectViaActiveX=function(t){t.write(scriptTag(""));t.close();var e=t.parentWindow.Object;t=null;return e},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):function(){var t,e=c("iframe");e.style.display="none";l.appendChild(e);e.src=String("javascript:");(t=e.contentWindow.document).open();t.write(scriptTag("document.F=Object"));t.close();return t.F}():NullProtoObjectViaActiveX(n);for(var t=i.length;t--;)delete NullProtoObject.prototype[i[t]];return NullProtoObject()};o[h]=!0;t.exports=Object.create||function create(t,e){var r;if(null!==t){EmptyConstructor.prototype=a(t);r=new EmptyConstructor;EmptyConstructor.prototype=null;r[h]=t}else r=NullProtoObject();return void 0===e?r:s.f(r,e)}},(t,e,r)=>{var n=r(3),a=r(7),s=n.String,i=n.TypeError;t.exports=function(t){if(a(t))return t;throw i(s(t)+" is not an object")}},(t,e,r)=>{var n=r(34),a=r(35),s=r(36),i=r(32),o=r(10),l=r(47);e.f=n&&!a?Object.defineProperties:function defineProperties(t,e){i(t);for(var r,n=o(e),a=l(e),c=a.length,u=0;c>u;)s.f(t,r=a[u++],n[r]);return t}},(t,e,r)=>{var n=r(14);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},(t,e,r)=>{var n=r(34),a=r(14);t.exports=n&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},(t,e,r)=>{var n=r(3),a=r(34),s=r(37),i=r(35),o=r(32),l=r(38),c=n.TypeError,u=Object.defineProperty,h=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";e.f=a?i?function defineProperty(t,e,r){o(t);e=l(e);o(r);if("function"==typeof t&&"prototype"===e&&"value"in r&&f in r&&!r.writable){var n=h(t,e);if(n&&n.writable){t[e]=r.value;r={configurable:p in r?r.configurable:n.configurable,enumerable:d in r?r.enumerable:n.enumerable,writable:!1}}}return u(t,e,r)}:u:function defineProperty(t,e,r){o(t);e=l(e);o(r);if(s)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");"value"in r&&(t[e]=r.value);return t}},(t,e,r)=>{var n=r(34),a=r(14),s=r(6);t.exports=!n&&!a((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},(t,e,r)=>{var n=r(39),a=r(41);t.exports=function(t){var e=n(t,"string");return a(e)?e:e+""}},(t,e,r)=>{var n=r(3),a=r(40),s=r(7),i=r(41),o=r(43),l=r(46),c=r(18),u=n.TypeError,h=c("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,n=o(t,h);if(n){void 0===e&&(e="default");r=a(n,t,e);if(!s(r)||i(r))return r;throw u("Can't convert object to primitive value")}void 0===e&&(e="number");return l(t,e)}},(t,e,r)=>{var n=r(13),a=Function.prototype.call;t.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},(t,e,r)=>{var n=r(3),a=r(29),s=r(8),i=r(42),o=r(30),l=n.Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return s(e)&&i(e.prototype,l(t))}},(t,e,r)=>{var n=r(12);t.exports=n({}.isPrototypeOf)},(t,e,r)=>{var n=r(44);t.exports=function(t,e){var r=t[e];return null==r?void 0:n(r)}},(t,e,r)=>{var n=r(3),a=r(8),s=r(45),i=n.TypeError;t.exports=function(t){if(a(t))return t;throw i(s(t)+" is not a function")}},(t,e,r)=>{var n=r(3).String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},(t,e,r)=>{var n=r(3),a=r(40),s=r(8),i=r(7),o=n.TypeError;t.exports=function(t,e){var r,n;if("string"===e&&s(r=t.toString)&&!i(n=a(r,t)))return n;if(s(r=t.valueOf)&&!i(n=a(r,t)))return n;if("string"!==e&&s(r=t.toString)&&!i(n=a(r,t)))return n;throw o("Can't convert object to primitive value")}},(t,e,r)=>{var n=r(48),a=r(55);t.exports=Object.keys||function keys(t){return n(t,a)}},(t,e,r)=>{var n=r(12),a=r(23),s=r(10),i=r(49).indexOf,o=r(54),l=n([].push);t.exports=function(t,e){var r,n=s(t),c=0,u=[];for(r in n)!a(o,r)&&a(n,r)&&l(u,r);for(;e.length>c;)a(n,r=e[c++])&&(~i(u,r)||l(u,r));return u}},(t,e,r)=>{var n=r(10),a=r(50),s=r(52),createMethod=function(t){return function(e,r,i){var o,l=n(e),c=s(l),u=a(i,c);if(t&&r!=r){for(;c>u;)if((o=l[u++])!=o)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===r)return t||u||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},(t,e,r)=>{var n=r(51),a=Math.max,s=Math.min;t.exports=function(t,e){var r=n(t);return r<0?a(r+e,0):s(r,e)}},t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?r:e)(n)}},(t,e,r)=>{var n=r(53);t.exports=function(t){return n(t.length)}},(t,e,r)=>{var n=r(51),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},t=>{t.exports={}},t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(t,e,r)=>{var n=r(29);t.exports=n("document","documentElement")},(t,e,r)=>{var n=r(19),a=r(25),s=n("keys");t.exports=function(t){return s[t]||(s[t]=a(t))}},t=>{t.exports={}},(t,e,r)=>{var n,a,s,i=r(60),o=r(3),l=r(12),c=r(7),u=r(62),h=r(23),d=r(21),p=r(57),f=r(54),g="Object already initialized",m=o.TypeError,v=o.WeakMap;if(i||d.state){var y=d.state||(d.state=new v),b=l(y.get),_=l(y.has),A=l(y.set);n=function(t,e){if(_(y,t))throw new m(g);e.facade=t;A(y,t,e);return e};a=function(t){return b(y,t)||{}};s=function(t){return _(y,t)}}else{var x=p("state");f[x]=!0;n=function(t,e){if(h(t,x))throw new m(g);e.facade=t;u(t,x,e);return e};a=function(t){return h(t,x)?t[x]:{}};s=function(t){return h(t,x)}}t.exports={set:n,get:a,has:s,enforce:function(t){return s(t)?a(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=a(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return r}}}},(t,e,r)=>{var n=r(3),a=r(8),s=r(61),i=n.WeakMap;t.exports=a(i)&&/native code/.test(s(i))},(t,e,r)=>{var n=r(12),a=r(8),s=r(21),i=n(Function.toString);a(s.inspectSource)||(s.inspectSource=function(t){return i(t)});t.exports=s.inspectSource},(t,e,r)=>{var n=r(34),a=r(36),s=r(63);t.exports=n?function(t,e,r){return a.f(t,e,s(1,r))}:function(t,e,r){t[e]=r;return t}},t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},(t,e,r)=>{"use strict";var n=r(65),a=r(40),s=r(20),i=r(69),o=r(8),l=r(75),c=r(77),u=r(80),h=r(79),d=r(62),p=r(68),f=r(18),g=r(58),m=r(76),v=i.PROPER,y=i.CONFIGURABLE,b=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,A=f("iterator"),x="keys",S="values",w="entries",returnThis=function(){return this};t.exports=function(t,e,r,i,f,m,C){l(r,e,i);var P,k,T,getIterationMethod=function(t){if(t===f&&D)return D;if(!_&&t in M)return M[t];switch(t){case x:return function keys(){return new r(this,t)};case S:return function values(){return new r(this,t)};case w:return function entries(){return new r(this,t)}}return function(){return new r(this)}},R=e+" Iterator",E=!1,M=t.prototype,O=M[A]||M["@@iterator"]||f&&M[f],D=!_&&O||getIterationMethod(f),I="Array"==e&&M.entries||O;if(I&&(P=c(I.call(new t)))!==Object.prototype&&P.next){s||c(P)===b||(u?u(P,b):o(P[A])||p(P,A,returnThis));h(P,R,!0,!0);s&&(g[R]=returnThis)}if(v&&f==S&&O&&O.name!==S)if(!s&&y)d(M,"name",S);else{E=!0;D=function values(){return a(O,this)}}if(f){k={values:getIterationMethod(S),keys:m?D:getIterationMethod(x),entries:getIterationMethod(w)};if(C)for(T in k)(_||E||!(T in M))&&p(M,T,k[T]);else n({target:e,proto:!0,forced:_||E},k)}s&&!C||M[A]===D||p(M,A,D,{name:f});g[e]=D;return k}},(t,e,r)=>{var n=r(3),a=r(66).f,s=r(62),i=r(68),o=r(22),l=r(70),c=r(74);t.exports=function(t,e){var r,u,h,d,p,f=t.target,g=t.global,m=t.stat;if(r=g?n:m?n[f]||o(f,{}):(n[f]||{}).prototype)for(u in e){d=e[u];h=t.noTargetGet?(p=a(r,u))&&p.value:r[u];if(!c(g?u:f+(m?".":"#")+u,t.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(t.sham||h&&h.sham)&&s(d,"sham",!0);i(r,u,d,t)}}},(t,e,r)=>{var n=r(34),a=r(40),s=r(67),i=r(63),o=r(10),l=r(38),c=r(23),u=r(37),h=Object.getOwnPropertyDescriptor;e.f=n?h:function getOwnPropertyDescriptor(t,e){t=o(t);e=l(e);if(u)try{return h(t,e)}catch(t){}if(c(t,e))return i(!a(s.f,t,e),t[e])}},(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!r.call({1:2},1);e.f=a?function propertyIsEnumerable(t){var e=n(this,t);return!!e&&e.enumerable}:r},(t,e,r)=>{var n=r(3),a=r(8),s=r(23),i=r(62),o=r(22),l=r(61),c=r(59),u=r(69).CONFIGURABLE,h=c.get,d=c.enforce,p=String(String).split("String");(t.exports=function(t,e,r,l){var c,h=!!l&&!!l.unsafe,f=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,m=l&&void 0!==l.name?l.name:e;if(a(r)){"Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]");(!s(r,"name")||u&&r.name!==m)&&i(r,"name",m);(c=d(r)).source||(c.source=p.join("string"==typeof m?m:""))}if(t!==n){h?!g&&t[e]&&(f=!0):delete t[e];f?t[e]=r:i(t,e,r)}else f?t[e]=r:o(e,r)})(Function.prototype,"toString",(function toString(){return a(this)&&h(this).source||l(this)}))},(t,e,r)=>{var n=r(34),a=r(23),s=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,o=a(s,"name"),l=o&&"something"===function something(){}.name,c=o&&(!n||n&&i(s,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},(t,e,r)=>{var n=r(23),a=r(71),s=r(66),i=r(36);t.exports=function(t,e,r){for(var o=a(e),l=i.f,c=s.f,u=0;u<o.length;u++){var h=o[u];n(t,h)||r&&n(r,h)||l(t,h,c(e,h))}}},(t,e,r)=>{var n=r(29),a=r(12),s=r(72),i=r(73),o=r(32),l=a([].concat);t.exports=n("Reflect","ownKeys")||function ownKeys(t){var e=s.f(o(t)),r=i.f;return r?l(e,r(t)):e}},(t,e,r)=>{var n=r(48),a=r(55).concat("length","prototype");e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return n(t,a)}},(t,e)=>{e.f=Object.getOwnPropertySymbols},(t,e,r)=>{var n=r(14),a=r(8),s=/#|\.prototype\./,isForced=function(t,e){var r=o[i(t)];return r==c||r!=l&&(a(e)?n(e):!!e)},i=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,r)=>{"use strict";var n=r(76).IteratorPrototype,a=r(31),s=r(63),i=r(79),o=r(58),returnThis=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";t.prototype=a(n,{next:s(+!l,r)});i(t,c,!1,!0);o[c]=returnThis;return t}},(t,e,r)=>{"use strict";var n,a,s,i=r(14),o=r(8),l=r(31),c=r(77),u=r(68),h=r(18),d=r(20),p=h("iterator"),f=!1;[].keys&&("next"in(s=[].keys())?(a=c(c(s)))!==Object.prototype&&(n=a):f=!0);null==n||i((function(){var t={};return n[p].call(t)!==t}))?n={}:d&&(n=l(n));o(n[p])||u(n,p,(function(){return this}));t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},(t,e,r)=>{var n=r(3),a=r(23),s=r(8),i=r(24),o=r(57),l=r(78),c=o("IE_PROTO"),u=n.Object,h=u.prototype;t.exports=l?u.getPrototypeOf:function(t){var e=i(t);if(a(e,c))return e[c];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof u?h:null}},(t,e,r)=>{var n=r(14);t.exports=!n((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},(t,e,r)=>{var n=r(36).f,a=r(23),s=r(18)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype);t&&!a(t,s)&&n(t,s,{configurable:!0,value:e})}},(t,e,r)=>{var n=r(12),a=r(32),s=r(81);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]);e=r instanceof Array}catch(t){}return function setPrototypeOf(r,n){a(r);s(n);e?t(r,n):r.__proto__=n;return r}}():void 0)},(t,e,r)=>{var n=r(3),a=r(8),s=n.String,i=n.TypeError;t.exports=function(t){if("object"==typeof t||a(t))return t;throw i("Can't set "+s(t)+" as a prototype")}},(t,e,r)=>{"use strict";r(83);var n,a=r(65),s=r(34),i=r(88),o=r(3),l=r(89),c=r(12),u=r(33).f,h=r(68),d=r(90),p=r(23),f=r(91),g=r(92),m=r(100),v=r(84).codeAt,y=r(101),b=r(85),_=r(79),A=r(102),x=r(103),S=r(59),w=S.set,C=S.getterFor("URL"),P=x.URLSearchParams,k=x.getState,T=o.URL,R=o.TypeError,E=o.parseInt,M=Math.floor,O=Math.pow,D=c("".charAt),I=c(/./.exec),L=c([].join),N=c(1..toString),j=c([].pop),U=c([].push),B=c("".replace),W=c([].shift),q=c("".split),G=c("".slice),V=c("".toLowerCase),H=c([].unshift),z="Invalid scheme",X="Invalid host",Y="Invalid port",K=/[a-z]/i,J=/[\d+-.a-z]/i,Q=/\d/,$=/^0x/i,Z=/^[0-7]+$/,tt=/^\d+$/,et=/^[\da-f]+$/i,rt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,nt=/[\0\t\n\r #/:<>?@[\\\]^|]/,at=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,st=/[\t\n\r]/g,serializeHost=function(t){var e,r,n,a;if("number"==typeof t){e=[];for(r=0;r<4;r++){H(e,t%256);t=M(t/256)}return L(e,".")}if("object"==typeof t){e="";n=function(t){for(var e=null,r=1,n=null,a=0,s=0;s<8;s++)if(0!==t[s]){if(a>r){e=n;r=a}n=null;a=0}else{null===n&&(n=s);++a}if(a>r){e=n;r=a}return e}(t);for(r=0;r<8;r++)if(!a||0!==t[r]){a&&(a=!1);if(n===r){e+=r?":":"::";a=!0}else{e+=N(t[r],16);r<7&&(e+=":")}}return"["+e+"]"}return t},it={},ot=f({},it,{" ":1,'"':1,"<":1,">":1,"`":1}),lt=f({},ot,{"#":1,"?":1,"{":1,"}":1}),ct=f({},lt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(t,e){var r=v(t,0);return r>32&&r<127&&!p(e,t)?t:encodeURIComponent(t)},ut={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isWindowsDriveLetter=function(t,e){var r;return 2==t.length&&I(K,D(t,0))&&(":"==(r=D(t,1))||!e&&"|"==r)},startsWithWindowsDriveLetter=function(t){var e;return t.length>1&&isWindowsDriveLetter(G(t,0,2))&&(2==t.length||"/"===(e=D(t,2))||"\\"===e||"?"===e||"#"===e)},isSingleDot=function(t){return"."===t||"%2e"===V(t)},ht={},dt={},pt={},ft={},gt={},mt={},vt={},yt={},bt={},_t={},At={},xt={},St={},wt={},Ct={},Pt={},kt={},Tt={},Rt={},Ft={},Et={},URLState=function(t,e,r){var n,a,s,i=b(t);if(e){if(a=this.parse(i))throw R(a);this.searchParams=null}else{void 0!==r&&(n=new URLState(r,!0));if(a=this.parse(i,null,n))throw R(a);(s=k(new P)).bindURL(this);this.searchParams=s}};URLState.prototype={type:"URL",parse:function(t,e,r){var a,s,i,o,l,c=this,u=e||ht,h=0,d="",f=!1,v=!1,y=!1;t=b(t);if(!e){c.scheme="";c.username="";c.password="";c.host=null;c.port=null;c.path=[];c.query=null;c.fragment=null;c.cannotBeABaseURL=!1;t=B(t,at,"")}t=B(t,st,"");a=g(t);for(;h<=a.length;){s=a[h];switch(u){case ht:if(!s||!I(K,s)){if(e)return z;u=pt;continue}d+=V(s);u=dt;break;case dt:if(s&&(I(J,s)||"+"==s||"-"==s||"."==s))d+=V(s);else{if(":"!=s){if(e)return z;d="";u=pt;h=0;continue}if(e&&(c.isSpecial()!=p(ut,d)||"file"==d&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;c.scheme=d;if(e){c.isSpecial()&&ut[c.scheme]==c.port&&(c.port=null);return}d="";if("file"==c.scheme)u=wt;else if(c.isSpecial()&&r&&r.scheme==c.scheme)u=ft;else if(c.isSpecial())u=yt;else if("/"==a[h+1]){u=gt;h++}else{c.cannotBeABaseURL=!0;U(c.path,"");u=Rt}}break;case pt:if(!r||r.cannotBeABaseURL&&"#"!=s)return z;if(r.cannotBeABaseURL&&"#"==s){c.scheme=r.scheme;c.path=m(r.path);c.query=r.query;c.fragment="";c.cannotBeABaseURL=!0;u=Et;break}u="file"==r.scheme?wt:mt;continue;case ft:if("/"!=s||"/"!=a[h+1]){u=mt;continue}u=bt;h++;break;case gt:if("/"==s){u=_t;break}u=Tt;continue;case mt:c.scheme=r.scheme;if(s==n){c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;c.path=m(r.path);c.query=r.query}else if("/"==s||"\\"==s&&c.isSpecial())u=vt;else if("?"==s){c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;c.path=m(r.path);c.query="";u=Ft}else{if("#"!=s){c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;c.path=m(r.path);c.path.length--;u=Tt;continue}c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;c.path=m(r.path);c.query=r.query;c.fragment="";u=Et}break;case vt:if(!c.isSpecial()||"/"!=s&&"\\"!=s){if("/"!=s){c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;u=Tt;continue}u=_t}else u=bt;break;case yt:u=bt;if("/"!=s||"/"!=D(d,h+1))continue;h++;break;case bt:if("/"!=s&&"\\"!=s){u=_t;continue}break;case _t:if("@"==s){f&&(d="%40"+d);f=!0;i=g(d);for(var _=0;_<i.length;_++){var A=i[_];if(":"!=A||y){var x=percentEncode(A,ct);y?c.password+=x:c.username+=x}else y=!0}d=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(f&&""==d)return"Invalid authority";h-=g(d).length+1;d="";u=At}else d+=s;break;case At:case xt:if(e&&"file"==c.scheme){u=Pt;continue}if(":"!=s||v){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(c.isSpecial()&&""==d)return X;if(e&&""==d&&(c.includesCredentials()||null!==c.port))return;if(o=c.parseHost(d))return o;d="";u=kt;if(e)return;continue}"["==s?v=!0:"]"==s&&(v=!1);d+=s}else{if(""==d)return X;if(o=c.parseHost(d))return o;d="";u=St;if(e==xt)return}break;case St:if(!I(Q,s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()||e){if(""!=d){var S=E(d,10);if(S>65535)return Y;c.port=c.isSpecial()&&S===ut[c.scheme]?null:S;d=""}if(e)return;u=kt;continue}return Y}d+=s;break;case wt:c.scheme="file";if("/"==s||"\\"==s)u=Ct;else{if(!r||"file"!=r.scheme){u=Tt;continue}if(s==n){c.host=r.host;c.path=m(r.path);c.query=r.query}else if("?"==s){c.host=r.host;c.path=m(r.path);c.query="";u=Ft}else{if("#"!=s){if(!startsWithWindowsDriveLetter(L(m(a,h),""))){c.host=r.host;c.path=m(r.path);c.shortenPath()}u=Tt;continue}c.host=r.host;c.path=m(r.path);c.query=r.query;c.fragment="";u=Et}}break;case Ct:if("/"==s||"\\"==s){u=Pt;break}r&&"file"==r.scheme&&!startsWithWindowsDriveLetter(L(m(a,h),""))&&(isWindowsDriveLetter(r.path[0],!0)?U(c.path,r.path[0]):c.host=r.host);u=Tt;continue;case Pt:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!e&&isWindowsDriveLetter(d))u=Tt;else if(""==d){c.host="";if(e)return;u=kt}else{if(o=c.parseHost(d))return o;"localhost"==c.host&&(c.host="");if(e)return;d="";u=kt}continue}d+=s;break;case kt:if(c.isSpecial()){u=Tt;if("/"!=s&&"\\"!=s)continue}else if(e||"?"!=s)if(e||"#"!=s){if(s!=n){u=Tt;if("/"!=s)continue}}else{c.fragment="";u=Et}else{c.query="";u=Ft}break;case Tt:if(s==n||"/"==s||"\\"==s&&c.isSpecial()||!e&&("?"==s||"#"==s)){if(".."===(l=V(l=d))||"%2e."===l||".%2e"===l||"%2e%2e"===l){c.shortenPath();"/"==s||"\\"==s&&c.isSpecial()||U(c.path,"")}else if(isSingleDot(d))"/"==s||"\\"==s&&c.isSpecial()||U(c.path,"");else{if("file"==c.scheme&&!c.path.length&&isWindowsDriveLetter(d)){c.host&&(c.host="");d=D(d,0)+":"}U(c.path,d)}d="";if("file"==c.scheme&&(s==n||"?"==s||"#"==s))for(;c.path.length>1&&""===c.path[0];)W(c.path);if("?"==s){c.query="";u=Ft}else if("#"==s){c.fragment="";u=Et}}else d+=percentEncode(s,lt);break;case Rt:if("?"==s){c.query="";u=Ft}else if("#"==s){c.fragment="";u=Et}else s!=n&&(c.path[0]+=percentEncode(s,it));break;case Ft:if(e||"#"!=s)s!=n&&("'"==s&&c.isSpecial()?c.query+="%27":c.query+="#"==s?"%23":percentEncode(s,it));else{c.fragment="";u=Et}break;case Et:s!=n&&(c.fragment+=percentEncode(s,ot))}h++}},parseHost:function(t){var e,r,n;if("["==D(t,0)){if("]"!=D(t,t.length-1))return X;e=function(t){var e,r,n,a,s,i,o,l=[0,0,0,0,0,0,0,0],c=0,u=null,h=0,chr=function(){return D(t,h)};if(":"==chr()){if(":"!=D(t,1))return;h+=2;u=++c}for(;chr();){if(8==c)return;if(":"!=chr()){e=r=0;for(;r<4&&I(et,chr());){e=16*e+E(chr(),16);h++;r++}if("."==chr()){if(0==r)return;h-=r;if(c>6)return;n=0;for(;chr();){a=null;if(n>0){if(!("."==chr()&&n<4))return;h++}if(!I(Q,chr()))return;for(;I(Q,chr());){s=E(chr(),10);if(null===a)a=s;else{if(0==a)return;a=10*a+s}if(a>255)return;h++}l[c]=256*l[c]+a;2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==chr()){h++;if(!chr())return}else if(chr())return;l[c++]=e}else{if(null!==u)return;h++;u=++c}}if(null!==u){i=c-u;c=7;for(;0!=c&&i>0;){o=l[c];l[c--]=l[u+i-1];l[u+--i]=o}}else if(8!=c)return;return l}(G(t,1,-1));if(!e)return X;this.host=e}else if(this.isSpecial()){t=y(t);if(I(rt,t))return X;e=function(t){var e,r,n,a,s,i,o,l=q(t,".");l.length&&""==l[l.length-1]&&l.length--;if((e=l.length)>4)return t;r=[];for(n=0;n<e;n++){if(""==(a=l[n]))return t;s=10;if(a.length>1&&"0"==D(a,0)){s=I($,a)?16:8;a=G(a,8==s?1:2)}if(""===a)i=0;else{if(!I(10==s?tt:8==s?Z:et,a))return t;i=E(a,s)}U(r,i)}for(n=0;n<e;n++){i=r[n];if(n==e-1){if(i>=O(256,5-e))return null}else if(i>255)return null}o=j(r);for(n=0;n<r.length;n++)o+=r[n]*O(256,3-n);return o}(t);if(null===e)return X;this.host=e}else{if(I(nt,t))return X;e="";r=g(t);for(n=0;n<r.length;n++)e+=percentEncode(r[n],it);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(ut,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&isWindowsDriveLetter(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,a=t.host,s=t.port,i=t.path,o=t.query,l=t.fragment,c=e+":";if(null!==a){c+="//";t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@");c+=serializeHost(a);null!==s&&(c+=":"+s)}else"file"==e&&(c+="//");c+=t.cannotBeABaseURL?i[0]:i.length?"/"+L(i,"/"):"";null!==o&&(c+="?"+o);null!==l&&(c+="#"+l);return c},setHref:function(t){var e=this.parse(t);if(e)throw R(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new Mt(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+serializeHost(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(b(t)+":",ht)},getUsername:function(){return this.username},setUsername:function(t){var e=g(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=percentEncode(e[r],ct)}},getPassword:function(){return this.password},setPassword:function(t){var e=g(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=percentEncode(e[r],ct)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?serializeHost(t):serializeHost(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,At)},getHostname:function(){var t=this.host;return null===t?"":serializeHost(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,xt)},getPort:function(){var t=this.port;return null===t?"":b(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=b(t))?this.port=null:this.parse(t,St))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+L(t,"/"):""},setPathname:function(t){if(!this.cannotBeABaseURL){this.path=[];this.parse(t,kt)}},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){if(""==(t=b(t)))this.query=null;else{"?"==D(t,0)&&(t=G(t,1));this.query="";this.parse(t,Ft)}this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){if(""!=(t=b(t))){"#"==D(t,0)&&(t=G(t,1));this.fragment="";this.parse(t,Et)}else this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Mt=function URL(t){var e=d(this,Ot),r=A(arguments.length,1)>1?arguments[1]:void 0,n=w(e,new URLState(t,!1,r));if(!s){e.href=n.serialize();e.origin=n.getOrigin();e.protocol=n.getProtocol();e.username=n.getUsername();e.password=n.getPassword();e.host=n.getHost();e.hostname=n.getHostname();e.port=n.getPort();e.pathname=n.getPathname();e.search=n.getSearch();e.searchParams=n.getSearchParams();e.hash=n.getHash()}},Ot=Mt.prototype,accessorDescriptor=function(t,e){return{get:function(){return C(this)[t]()},set:e&&function(t){return C(this)[e](t)},configurable:!0,enumerable:!0}};s&&u(Ot,{href:accessorDescriptor("serialize","setHref"),origin:accessorDescriptor("getOrigin"),protocol:accessorDescriptor("getProtocol","setProtocol"),username:accessorDescriptor("getUsername","setUsername"),password:accessorDescriptor("getPassword","setPassword"),host:accessorDescriptor("getHost","setHost"),hostname:accessorDescriptor("getHostname","setHostname"),port:accessorDescriptor("getPort","setPort"),pathname:accessorDescriptor("getPathname","setPathname"),search:accessorDescriptor("getSearch","setSearch"),searchParams:accessorDescriptor("getSearchParams"),hash:accessorDescriptor("getHash","setHash")});h(Ot,"toJSON",(function toJSON(){return C(this).serialize()}),{enumerable:!0});h(Ot,"toString",(function toString(){return C(this).serialize()}),{enumerable:!0});if(T){var Dt=T.createObjectURL,It=T.revokeObjectURL;Dt&&h(Mt,"createObjectURL",l(Dt,T));It&&h(Mt,"revokeObjectURL",l(It,T))}_(Mt,"URL");a({global:!0,forced:!i,sham:!s},{URL:Mt})},(t,e,r)=>{"use strict";var n=r(84).charAt,a=r(85),s=r(59),i=r(64),o="String Iterator",l=s.set,c=s.getterFor(o);i(String,"String",(function(t){l(this,{type:o,string:a(t),index:0})}),(function next(){var t,e=c(this),r=e.string,a=e.index;if(a>=r.length)return{value:void 0,done:!0};t=n(r,a);e.index+=t.length;return{value:t,done:!1}}))},(t,e,r)=>{var n=r(12),a=r(51),s=r(85),i=r(16),o=n("".charAt),l=n("".charCodeAt),c=n("".slice),createMethod=function(t){return function(e,r){var n,u,h=s(i(e)),d=a(r),p=h.length;return d<0||d>=p?t?"":void 0:(n=l(h,d))<55296||n>56319||d+1===p||(u=l(h,d+1))<56320||u>57343?t?o(h,d):n:t?c(h,d,d+2):u-56320+(n-55296<<10)+65536}};t.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},(t,e,r)=>{var n=r(3),a=r(86),s=n.String;t.exports=function(t){if("Symbol"===a(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},(t,e,r)=>{var n=r(3),a=r(87),s=r(8),i=r(15),o=r(18)("toStringTag"),l=n.Object,c="Arguments"==i(function(){return arguments}());t.exports=a?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=l(t),o))?r:c?i(e):"Object"==(n=i(e))&&s(e.callee)?"Arguments":n}},(t,e,r)=>{var n={};n[r(18)("toStringTag")]="z";t.exports="[object z]"===String(n)},(t,e,r)=>{var n=r(14),a=r(18),s=r(20),i=a("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";t.pathname="c%20d";e.forEach((function(t,n){e.delete("b");r+=n+t}));return s&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},(t,e,r)=>{var n=r(12),a=r(44),s=r(13),i=n(n.bind);t.exports=function(t,e){a(t);return void 0===e?t:s?i(t,e):function(){return t.apply(e,arguments)}}},(t,e,r)=>{var n=r(3),a=r(42),s=n.TypeError;t.exports=function(t,e){if(a(e,t))return t;throw s("Incorrect invocation")}},(t,e,r)=>{"use strict";var n=r(34),a=r(12),s=r(40),i=r(14),o=r(47),l=r(73),c=r(67),u=r(24),h=r(11),d=Object.assign,p=Object.defineProperty,f=a([].concat);t.exports=!d||i((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),a="abcdefghijklmnopqrst";t[r]=7;a.split("").forEach((function(t){e[t]=t}));return 7!=d({},t)[r]||o(d({},e)).join("")!=a}))?function assign(t,e){for(var r=u(t),a=arguments.length,i=1,d=l.f,p=c.f;a>i;)for(var g,m=h(arguments[i++]),v=d?f(o(m),d(m)):o(m),y=v.length,b=0;y>b;){g=v[b++];n&&!s(p,m,g)||(r[g]=m[g])}return r}:d},(t,e,r)=>{"use strict";var n=r(3),a=r(89),s=r(40),i=r(24),o=r(93),l=r(95),c=r(96),u=r(52),h=r(97),d=r(98),p=r(99),f=n.Array;t.exports=function from(t){var e=i(t),r=c(this),n=arguments.length,g=n>1?arguments[1]:void 0,m=void 0!==g;m&&(g=a(g,n>2?arguments[2]:void 0));var v,y,b,_,A,x,S=p(e),w=0;if(!S||this==f&&l(S)){v=u(e);y=r?new this(v):f(v);for(;v>w;w++){x=m?g(e[w],w):e[w];h(y,w,x)}}else{A=(_=d(e,S)).next;y=r?new this:[];for(;!(b=s(A,_)).done;w++){x=m?o(_,g,[b.value,w],!0):b.value;h(y,w,x)}}y.length=w;return y}},(t,e,r)=>{var n=r(32),a=r(94);t.exports=function(t,e,r,s){try{return s?e(n(r)[0],r[1]):e(r)}catch(e){a(t,"throw",e)}}},(t,e,r)=>{var n=r(40),a=r(32),s=r(43);t.exports=function(t,e,r){var i,o;a(t);try{if(!(i=s(t,"return"))){if("throw"===e)throw r;return r}i=n(i,t)}catch(t){o=!0;i=t}if("throw"===e)throw r;if(o)throw i;a(i);return r}},(t,e,r)=>{var n=r(18),a=r(58),s=n("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(a.Array===t||i[s]===t)}},(t,e,r)=>