/** * @licstart The following is the entire license notice for the * Javascript code in this page * * Copyright 2021 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * @licend The above is the entire license notice for the * Javascript code in this page */ !function webpackUniversalModuleDefinition(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("pdfjs-dist/image_decoders/pdf.image_decoders",[],r):"object"==typeof exports?exports["pdfjs-dist/image_decoders/pdf.image_decoders"]=r():t["pdfjs-dist/image_decoders/pdf.image_decoders"]=t.pdfjsImageDecoders=r()}(this,(function(){return(()=>{var t=[,(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.VerbosityLevel=r.Util=r.UnknownErrorException=r.UnexpectedResponseException=r.UNSUPPORTED_FEATURES=r.TextRenderingMode=r.StreamType=r.RenderingIntentFlag=r.PermissionFlag=r.PasswordResponses=r.PasswordException=r.PageActionEventType=r.OPS=r.MissingPDFException=r.IsLittleEndianCached=r.IsEvalSupportedCached=r.InvalidPDFException=r.ImageKind=r.IDENTITY_MATRIX=r.FormatError=r.FontType=r.FONT_IDENTITY_MATRIX=r.DocumentActionEventType=r.CMapCompressionType=r.BaseException=r.AnnotationType=r.AnnotationStateModelType=r.AnnotationReviewState=r.AnnotationReplyType=r.AnnotationMode=r.AnnotationMarkedState=r.AnnotationFlag=r.AnnotationFieldFlag=r.AnnotationBorderStyleType=r.AnnotationActionEventType=r.AbortException=void 0;r.arrayByteLength=arrayByteLength;r.arraysToBytes=function arraysToBytes(t){var r=t.length;if(1===r&&t[0]instanceof Uint8Array)return t[0];for(var i=0,o=0;o1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(URL.createObjectURL&&"undefined"!=typeof Blob&&!i)return URL.createObjectURL(new Blob([t],{type:r}));for(var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="data:".concat(r,";base64,"),c=0,u=t.length;c>2,m=(3&l)<<4|h>>4,y=c+1>6:64,v=c+21&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;try{if(i&&"string"==typeof t){if(i.addDefaultProtocol&&t.startsWith("www.")){var o=t.match(/\./g);o&&o.length>=2&&(t="http://".concat(t))}if(i.tryConvertEncoding)try{t=stringToUTF8String(t)}catch(t){}}var a=r?new URL(t,r):new URL(t);if(_isValidProtocol(a))return a}catch(t){}return null};r.escapeString=function escapeString(t){return t.replace(/([()\\\n\r])/g,(function(t){return"\n"===t?"\\n":"\r"===t?"\\r":"\\".concat(t)}))};r.getModificationDate=function getModificationDate(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=[t.getUTCFullYear().toString(),(t.getUTCMonth()+1).toString().padStart(2,"0"),t.getUTCDate().toString().padStart(2,"0"),t.getUTCHours().toString().padStart(2,"0"),t.getUTCMinutes().toString().padStart(2,"0"),t.getUTCSeconds().toString().padStart(2,"0")];return r.join("")};r.getVerbosityLevel=function getVerbosityLevel(){return a};r.info=function info(t){a>=o.INFOS&&console.log("Info: ".concat(t))};r.isArrayBuffer=function isArrayBuffer(t){return"object"===_typeof(t)&&null!==t&&void 0!==t.byteLength};r.isArrayEqual=function isArrayEqual(t,r){if(t.length!==r.length)return!1;for(var i=0,o=t.length;i=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,u=!0,l=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();u=t.done;return t},e:function e(t){l=!0;c=t},f:function f(){try{u||null==i.return||i.return()}finally{if(l)throw c}}}}(t);try{for(o.s();!(r=o.n()).done;){var a=(l=r.value,h=2,function _arrayWithHoles(t){if(Array.isArray(t))return t}(l)||function _iterableToArrayLimit(t,r){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==i)return;var o,a,c=[],u=!0,l=!1;try{for(i=i.call(t);!(u=(o=i.next()).done);u=!0){c.push(o.value);if(r&&c.length===r)break}}catch(t){l=!0;a=t}finally{try{u||null==i.return||i.return()}finally{if(l)throw a}}return c}(l,h)||_unsupportedIterableToArray(l,h)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],u=a[1];i[c]=u}}catch(t){o.e(t)}finally{o.f()}var l,h;return i};r.objectSize=function objectSize(t){return Object.keys(t).length};r.removeNullCharacters=function removeNullCharacters(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("string"!=typeof t){warn("The argument for removeNullCharacters must be a string.");return t}r&&(t=t.replace(g," "));return t.replace(v,"")};r.setVerbosityLevel=function setVerbosityLevel(t){Number.isInteger(t)&&(a=t)};r.shadow=shadow;r.string32=function string32(t){return String.fromCharCode(t>>24&255,t>>16&255,t>>8&255,255&t)};r.stringToBytes=stringToBytes;r.stringToPDFString=function stringToPDFString(t){var r=t.length,i=[];if("þ"===t[0]&&"ÿ"===t[1])for(var o=2;o>8&255),String.fromCharCode(255&a))}return r.join("")};r.stringToUTF8String=stringToUTF8String;r.unreachable=unreachable;r.utf8StringToString=function utf8StringToString(t){return unescape(encodeURIComponent(t))};r.warn=warn;i(2);function _defineProperties(t,r){for(var i=0;it.length)&&(r=t.length);for(var i=0,o=new Array(r);i=o.WARNINGS&&console.log("Warning: ".concat(t))}function unreachable(t){throw new Error(t)}function assert(t,r){t||unreachable(r)}function _isValidProtocol(t){if(!t)return!1;switch(t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function shadow(t,r,i){Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!1});return i}var c=function BaseExceptionClosure(){function BaseException(t,r){this.constructor===BaseException&&unreachable("Cannot initialize BaseException.");this.message=t;this.name=r}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();r.BaseException=c;var u=function(t){_inherits(PasswordException,t);var r=_createSuper(PasswordException);function PasswordException(t,i){var o;_classCallCheck(this,PasswordException);(o=r.call(this,t,"PasswordException")).code=i;return o}return PasswordException}(c);r.PasswordException=u;var l=function(t){_inherits(UnknownErrorException,t);var r=_createSuper(UnknownErrorException);function UnknownErrorException(t,i){var o;_classCallCheck(this,UnknownErrorException);(o=r.call(this,t,"UnknownErrorException")).details=i;return o}return UnknownErrorException}(c);r.UnknownErrorException=l;var h=function(t){_inherits(InvalidPDFException,t);var r=_createSuper(InvalidPDFException);function InvalidPDFException(t){_classCallCheck(this,InvalidPDFException);return r.call(this,t,"InvalidPDFException")}return InvalidPDFException}(c);r.InvalidPDFException=h;var p=function(t){_inherits(MissingPDFException,t);var r=_createSuper(MissingPDFException);function MissingPDFException(t){_classCallCheck(this,MissingPDFException);return r.call(this,t,"MissingPDFException")}return MissingPDFException}(c);r.MissingPDFException=p;var d=function(t){_inherits(UnexpectedResponseException,t);var r=_createSuper(UnexpectedResponseException);function UnexpectedResponseException(t,i){var o;_classCallCheck(this,UnexpectedResponseException);(o=r.call(this,t,"UnexpectedResponseException")).status=i;return o}return UnexpectedResponseException}(c);r.UnexpectedResponseException=d;var m=function(t){_inherits(FormatError,t);var r=_createSuper(FormatError);function FormatError(t){_classCallCheck(this,FormatError);return r.call(this,t,"FormatError")}return FormatError}(c);r.FormatError=m;var y=function(t){_inherits(AbortException,t);var r=_createSuper(AbortException);function AbortException(t){_classCallCheck(this,AbortException);return r.call(this,t,"AbortException")}return AbortException}(c);r.AbortException=y;var v=/\x00+/g,g=/[\x01-\x1F]/g;function stringToBytes(t){assert("string"==typeof t,"Invalid argument for stringToBytes");for(var r=t.length,i=new Uint8Array(r),o=0;ot[2]){r[0]=t[2];r[2]=t[0]}if(t[1]>t[3]){r[1]=t[3];r[3]=t[1]}return r}},{key:"intersect",value:function intersect(t,r){function compare(t,r){return t-r}var i=[t[0],t[2],r[0],r[2]].sort(compare),o=[t[1],t[3],r[1],r[3]].sort(compare),a=[];t=Util.normalizeRect(t);r=Util.normalizeRect(r);if(!(i[0]===t[0]&&i[1]===r[0]||i[0]===r[0]&&i[1]===t[0]))return null;a[0]=i[1];a[2]=i[2];if(!(o[0]===t[1]&&o[1]===r[1]||o[0]===r[1]&&o[1]===t[1]))return null;a[1]=o[1];a[3]=o[2];return a}},{key:"bezierBoundingBox",value:function bezierBoundingBox(t,r,i,o,a,c,u,l){for(var h,p,d,m,y,v,g,b,x=[],w=[[],[]],_=0;_<2;++_){if(0===_){p=6*t-12*i+6*a;h=-3*t+9*i-9*a+3*u;d=3*i-3*t}else{p=6*r-12*o+6*c;h=-3*r+9*o-9*c+3*l;d=3*o-3*r}if(Math.abs(h)<1e-12){if(Math.abs(p)<1e-12)continue;0<(m=-d/p)&&m<1&&x.push(m)}else{g=p*p-4*d*h;b=Math.sqrt(g);if(!(g<0)){0<(y=(-p+b)/(2*h))&&y<1&&x.push(y);0<(v=(-p-b)/(2*h))&&v<1&&x.push(v)}}}for(var C,S=x.length,k=S;S--;){C=1-(m=x[S]);w[0][S]=C*C*C*t+3*C*C*m*i+3*C*m*m*a+m*m*m*u;w[1][S]=C*C*C*r+3*C*C*m*o+3*C*m*m*c+m*m*m*l}w[0][k]=t;w[1][k]=r;w[0][k+1]=u;w[1][k+1]=l;w[0].length=w[1].length=k+2;return[Math.min.apply(Math,_toConsumableArray(w[0])),Math.min.apply(Math,_toConsumableArray(w[1])),Math.max.apply(Math,_toConsumableArray(w[0])),Math.max.apply(Math,_toConsumableArray(w[1]))]}}]);return Util}();r.Util=_;var 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,r,i)=>{"use strict";var o=i(3);if("undefined"==typeof globalThis||!globalThis._pdfjsCompatibilityChecked){"undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=i(4));globalThis._pdfjsCompatibilityChecked=!0;!function checkNodeBtoa(){!globalThis.btoa&&o.isNodeJS&&(globalThis.btoa=function(t){return Buffer.from(t,"binary").toString("base64")})}();!function checkNodeAtob(){!globalThis.atob&&o.isNodeJS&&(globalThis.atob=function(t){return Buffer.from(t,"base64").toString("binary")})}();!function checkDOMMatrix(){!globalThis.DOMMatrix&&o.isNodeJS&&(globalThis.DOMMatrix=i(66))}();!function checkObjectFromEntries(){Object.fromEntries||i(67)}()}},(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.isNodeJS=void 0;function _typeof(t){_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return _typeof(t)}var i=!("object"!==("undefined"==typeof process?"undefined":_typeof(process))||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);r.isNodeJS=i},(t,r,i)=>{i(5);t.exports=i(7)},(t,r,i)=>{i(6)({global:!0},{globalThis:i(7)})},(t,r,i)=>{var o=i(7),a=i(8).f,c=i(44),u=i(47),l=i(38),h=i(54),p=i(65);t.exports=function(t,r){var i,d,m,y,v,g=t.target,b=t.global,x=t.stat;if(i=b?o:x?o[g]||l(g,{}):(o[g]||{}).prototype)for(d in r){y=r[d];m=t.noTargetGet?(v=a(i,d))&&v.value:i[d];if(!p(b?d:g+(x?".":"#")+d,t.forced)&&void 0!==m){if(typeof y==typeof m)continue;h(y,m)}(t.sham||m&&m.sham)&&c(y,"sham",!0);u(i,d,y,t)}}},t=>{var check=function(t){return t&&t.Math==Math&&t};t.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||function(){return this}()||Function("return this")()},(t,r,i)=>{var o=i(9),a=i(11),c=i(12),u=i(13),l=i(14),h=i(19),p=i(39),d=i(42),m=Object.getOwnPropertyDescriptor;r.f=o?m:function getOwnPropertyDescriptor(t,r){t=l(t);r=h(r);if(d)try{return m(t,r)}catch(t){}if(p(t,r))return u(!a(c.f,t,r),t[r])}},(t,r,i)=>{var o=i(10);t.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},t=>{var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},(t,r)=>{"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!i.call({1:2},1);r.f=a?function propertyIsEnumerable(t){var r=o(this,t);return!!r&&r.enumerable}:i},t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},(t,r,i)=>{var o=i(15),a=i(18);t.exports=function(t){return o(a(t))}},(t,r,i)=>{var o=i(7),a=i(16),c=i(10),u=i(17),l=o.Object,h=a("".split);t.exports=c((function(){return!l("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?h(t,""):l(t)}:l},t=>{var r=Function.prototype,i=r.bind,o=r.call,a=i&&i.bind(o);t.exports=i?function(t){return t&&a(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},(t,r,i)=>{var o=i(16),a=o({}.toString),c=o("".slice);t.exports=function(t){return c(a(t),8,-1)}},(t,r,i)=>{var o=i(7).TypeError;t.exports=function(t){if(null==t)throw o("Can't call method on "+t);return t}},(t,r,i)=>{var o=i(20),a=i(23);t.exports=function(t){var r=o(t,"string");return a(r)?r:r+""}},(t,r,i)=>{var o=i(7),a=i(11),c=i(21),u=i(23),l=i(30),h=i(33),p=i(34),d=o.TypeError,m=p("toPrimitive");t.exports=function(t,r){if(!c(t)||u(t))return t;var i,o=l(t,m);if(o){void 0===r&&(r="default");i=a(o,t,r);if(!c(i)||u(i))return i;throw d("Can't convert object to primitive value")}void 0===r&&(r="number");return h(t,r)}},(t,r,i)=>{var o=i(22);t.exports=function(t){return"object"==typeof t?null!==t:o(t)}},t=>{t.exports=function(t){return"function"==typeof t}},(t,r,i)=>{var o=i(7),a=i(24),c=i(22),u=i(25),l=i(26),h=o.Object;t.exports=l?function(t){return"symbol"==typeof t}:function(t){var r=a("Symbol");return c(r)&&u(r.prototype,h(t))}},(t,r,i)=>{var o=i(7),a=i(22),aFunction=function(t){return a(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?aFunction(o[t]):o[t]&&o[t][r]}},(t,r,i)=>{var o=i(16);t.exports=o({}.isPrototypeOf)},(t,r,i)=>{var o=i(27);t.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(t,r,i)=>{var o=i(28),a=i(10);t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},(t,r,i)=>{var o,a,c=i(7),u=i(29),l=c.process,h=c.Deno,p=l&&l.versions||h&&h.version,d=p&&p.v8;d&&(a=(o=d.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1]));!a&&u&&(!(o=u.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=u.match(/Chrome\/(\d+)/))&&(a=+o[1]);t.exports=a},(t,r,i)=>{var o=i(24);t.exports=o("navigator","userAgent")||""},(t,r,i)=>{var o=i(31);t.exports=function(t,r){var i=t[r];return null==i?void 0:o(i)}},(t,r,i)=>{var o=i(7),a=i(22),c=i(32),u=o.TypeError;t.exports=function(t){if(a(t))return t;throw u(c(t)+" is not a function")}},(t,r,i)=>{var o=i(7).String;t.exports=function(t){try{return o(t)}catch(t){return"Object"}}},(t,r,i)=>{var o=i(7),a=i(11),c=i(22),u=i(21),l=o.TypeError;t.exports=function(t,r){var i,o;if("string"===r&&c(i=t.toString)&&!u(o=a(i,t)))return o;if(c(i=t.valueOf)&&!u(o=a(i,t)))return o;if("string"!==r&&c(i=t.toString)&&!u(o=a(i,t)))return o;throw l("Can't convert object to primitive value")}},(t,r,i)=>{var o=i(7),a=i(35),c=i(39),u=i(41),l=i(27),h=i(26),p=a("wks"),d=o.Symbol,m=d&&d.for,y=h?d:d&&d.withoutSetter||u;t.exports=function(t){if(!c(p,t)||!l&&"string"!=typeof p[t]){var r="Symbol."+t;l&&c(d,t)?p[t]=d[t]:p[t]=h&&m?m(r):y(r)}return p[t]}},(t,r,i)=>{var o=i(36),a=i(37);(t.exports=function(t,r){return a[t]||(a[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.19.3",mode:o?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},t=>{t.exports=!1},(t,r,i)=>{var o=i(7),a=i(38),c="__core-js_shared__",u=o[c]||a(c,{});t.exports=u},(t,r,i)=>{var o=i(7),a=Object.defineProperty;t.exports=function(t,r){try{a(o,t,{value:r,configurable:!0,writable:!0})}catch(i){o[t]=r}return r}},(t,r,i)=>{var o=i(16),a=i(40),c=o({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,r){return c(a(t),r)}},(t,r,i)=>{var o=i(7),a=i(18),c=o.Object;t.exports=function(t){return c(a(t))}},(t,r,i)=>{var o=i(16),a=0,c=Math.random(),u=o(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++a+c,36)}},(t,r,i)=>{var o=i(9),a=i(10),c=i(43);t.exports=!o&&!a((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a}))},(t,r,i)=>{var o=i(7),a=i(21),c=o.document,u=a(c)&&a(c.createElement);t.exports=function(t){return u?c.createElement(t):{}}},(t,r,i)=>{var o=i(9),a=i(45),c=i(13);t.exports=o?function(t,r,i){return a.f(t,r,c(1,i))}:function(t,r,i){t[r]=i;return t}},(t,r,i)=>{var o=i(7),a=i(9),c=i(42),u=i(46),l=i(19),h=o.TypeError,p=Object.defineProperty;r.f=a?p:function defineProperty(t,r,i){u(t);r=l(r);u(i);if(c)try{return p(t,r,i)}catch(t){}if("get"in i||"set"in i)throw h("Accessors not supported");"value"in i&&(t[r]=i.value);return t}},(t,r,i)=>{var o=i(7),a=i(21),c=o.String,u=o.TypeError;t.exports=function(t){if(a(t))return t;throw u(c(t)+" is not an object")}},(t,r,i)=>{var o=i(7),a=i(22),c=i(39),u=i(44),l=i(38),h=i(48),p=i(49),d=i(53).CONFIGURABLE,m=p.get,y=p.enforce,v=String(String).split("String");(t.exports=function(t,r,i,h){var p,m=!!h&&!!h.unsafe,g=!!h&&!!h.enumerable,b=!!h&&!!h.noTargetGet,x=h&&void 0!==h.name?h.name:r;if(a(i)){"Symbol("===String(x).slice(0,7)&&(x="["+String(x).replace(/^Symbol\(([^)]*)\)/,"$1")+"]");(!c(i,"name")||d&&i.name!==x)&&u(i,"name",x);(p=y(i)).source||(p.source=v.join("string"==typeof x?x:""))}if(t!==o){m?!b&&t[r]&&(g=!0):delete t[r];g?t[r]=i:u(t,r,i)}else g?t[r]=i:l(r,i)})(Function.prototype,"toString",(function toString(){return a(this)&&m(this).source||h(this)}))},(t,r,i)=>{var o=i(16),a=i(22),c=i(37),u=o(Function.toString);a(c.inspectSource)||(c.inspectSource=function(t){return u(t)});t.exports=c.inspectSource},(t,r,i)=>{var o,a,c,u=i(50),l=i(7),h=i(16),p=i(21),d=i(44),m=i(39),y=i(37),v=i(51),g=i(52),b="Object already initialized",x=l.TypeError,w=l.WeakMap;if(u||y.state){var _=y.state||(y.state=new w),C=h(_.get),S=h(_.has),k=h(_.set);o=function(t,r){if(S(_,t))throw new x(b);r.facade=t;k(_,t,r);return r};a=function(t){return C(_,t)||{}};c=function(t){return S(_,t)}}else{var P=v("state");g[P]=!0;o=function(t,r){if(m(t,P))throw new x(b);r.facade=t;d(t,P,r);return r};a=function(t){return m(t,P)?t[P]:{}};c=function(t){return m(t,P)}}t.exports={set:o,get:a,has:c,enforce:function(t){return c(t)?a(t):o(t,{})},getterFor:function(t){return function(r){var i;if(!p(r)||(i=a(r)).type!==t)throw x("Incompatible receiver, "+t+" required");return i}}}},(t,r,i)=>{var o=i(7),a=i(22),c=i(48),u=o.WeakMap;t.exports=a(u)&&/native code/.test(c(u))},(t,r,i)=>{var o=i(35),a=i(41),c=o("keys");t.exports=function(t){return c[t]||(c[t]=a(t))}},t=>{t.exports={}},(t,r,i)=>{var o=i(9),a=i(39),c=Function.prototype,u=o&&Object.getOwnPropertyDescriptor,l=a(c,"name"),h=l&&"something"===function something(){}.name,p=l&&(!o||o&&u(c,"name").configurable);t.exports={EXISTS:l,PROPER:h,CONFIGURABLE:p}},(t,r,i)=>{var o=i(39),a=i(55),c=i(8),u=i(45);t.exports=function(t,r){for(var i=a(r),l=u.f,h=c.f,p=0;p{var o=i(24),a=i(16),c=i(56),u=i(64),l=i(46),h=a([].concat);t.exports=o("Reflect","ownKeys")||function ownKeys(t){var r=c.f(l(t)),i=u.f;return i?h(r,i(t)):r}},(t,r,i)=>{var o=i(57),a=i(63).concat("length","prototype");r.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return o(t,a)}},(t,r,i)=>{var o=i(16),a=i(39),c=i(14),u=i(58).indexOf,l=i(52),h=o([].push);t.exports=function(t,r){var i,o=c(t),p=0,d=[];for(i in o)!a(l,i)&&a(o,i)&&h(d,i);for(;r.length>p;)a(o,i=r[p++])&&(~u(d,i)||h(d,i));return d}},(t,r,i)=>{var o=i(14),a=i(59),c=i(61),createMethod=function(t){return function(r,i,u){var l,h=o(r),p=c(h),d=a(u,p);if(t&&i!=i){for(;p>d;)if((l=h[d++])!=l)return!0}else for(;p>d;d++)if((t||d in h)&&h[d]===i)return t||d||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},(t,r,i)=>{var o=i(60),a=Math.max,c=Math.min;t.exports=function(t,r){var i=o(t);return i<0?a(i+r,0):c(i,r)}},t=>{var r=Math.ceil,i=Math.floor;t.exports=function(t){var o=+t;return o!=o||0===o?0:(o>0?i:r)(o)}},(t,r,i)=>{var o=i(62);t.exports=function(t){return o(t.length)}},(t,r,i)=>{var o=i(60),a=Math.min;t.exports=function(t){return t>0?a(o(t),9007199254740991):0}},t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(t,r)=>{r.f=Object.getOwnPropertySymbols},(t,r,i)=>{var o=i(10),a=i(22),c=/#|\.prototype\./,isForced=function(t,r){var i=l[u(t)];return i==p||i!=h&&(a(r)?o(r):!!r)},u=isForced.normalize=function(t){return String(t).replace(c,".").toLowerCase()},l=isForced.data={},h=isForced.NATIVE="N",p=isForced.POLYFILL="P";t.exports=isForced},(t,r,i)=>{"use strict";var o,a,c;function _typeof(t){_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return _typeof(t)}c=function(){function fromArray(r){var i=new t,o=Array.from(r);if(!o.every((function(t){return!Number.isNaN(t)})))throw TypeError('CSSMatrix: "'+r+'" must only have numbers.');if(16===o.length){var a=o[0],c=o[1],u=o[2],l=o[3],h=o[4],p=o[5],d=o[6],m=o[7],y=o[8],v=o[9],g=o[10],b=o[11],x=o[12],w=o[13],_=o[14],C=o[15];i.m11=a;i.a=a;i.m21=h;i.c=h;i.m31=y;i.m41=x;i.e=x;i.m12=c;i.b=c;i.m22=p;i.d=p;i.m32=v;i.m42=w;i.f=w;i.m13=u;i.m23=d;i.m33=g;i.m43=_;i.m14=l;i.m24=m;i.m34=b;i.m44=C}else{if(6!==o.length)throw new TypeError("CSSMatrix: expecting an Array of 6/16 values.");var S=o[0],k=o[1],P=o[2],T=o[3],I=o[4],E=o[5];i.m11=S;i.a=S;i.m12=k;i.b=k;i.m21=P;i.c=P;i.m22=T;i.d=T;i.m41=I;i.e=I;i.m42=E;i.f=E}return i}function fromMatrix(r){var i=Object.keys(new t);if("object"===_typeof(r)&&i.every((function(t){return t in r})))return fromArray([r.m11,r.m12,r.m13,r.m14,r.m21,r.m22,r.m23,r.m24,r.m31,r.m32,r.m33,r.m34,r.m41,r.m42,r.m43,r.m44]);throw TypeError('CSSMatrix: "'+r+'" is not a DOMMatrix / CSSMatrix / JSON compatible object.')}function fromString(r){if("string"!=typeof r)throw TypeError('CSSMatrix: "'+r+'" is not a string.');var i=String(r).replace(/\s/g,""),o=new t,a='CSSMatrix: invalid transform string "'+r+'"';i.split(")").filter((function(t){return t})).forEach((function(t){var r=t.split("("),i=r[0],c=r[1];if(!c)throw TypeError(a);var u=c.split(",").map((function(t){return t.includes("rad")?parseFloat(t)*(180/Math.PI):parseFloat(t)})),l=u[0],h=u[1],p=u[2],d=u[3],m=[l,h,p],y=[l,h,p,d];if("perspective"===i&&l&&[h,p].every((function(t){return void 0===t})))o.m34=-1/l;else if(i.includes("matrix")&&[6,16].includes(u.length)&&u.every((function(t){return!Number.isNaN(+t)}))){var v=u.map((function(t){return Math.abs(t)<1e-6?0:t}));o=o.multiply(fromArray(v))}else if("translate3d"===i&&m.every((function(t){return!Number.isNaN(+t)})))o=o.translate(l,h,p);else if("translate"===i&&l&&void 0===p)o=o.translate(l,h||0,0);else if("rotate3d"===i&&y.every((function(t){return!Number.isNaN(+t)}))&&d)o=o.rotateAxisAngle(l,h,p,d);else if("rotate"===i&&l&&[h,p].every((function(t){return void 0===t})))o=o.rotate(0,0,l);else if("scale3d"===i&&m.every((function(t){return!Number.isNaN(+t)}))&&m.some((function(t){return 1!==t})))o=o.scale(l,h,p);else if("scale"!==i||Number.isNaN(l)||1===l||void 0!==p)if("skew"===i&&l&&void 0===p){o=o.skewX(l);o=h?o.skewY(h):o}else{if(!(/[XYZ]/.test(i)&&l&&[h,p].every((function(t){return void 0===t}))&&["translate","rotate","scale","skew"].some((function(t){return i.includes(t)}))))throw TypeError(a);if(["skewX","skewY"].includes(i))o=o[i](l);else{var g=i.replace(/[XYZ]/,""),b=i.replace(g,""),x=["X","Y","Z"].indexOf(b),w=[0===x?l:0,1===x?l:0,2===x?l:0];o=o[g].apply(o,w)}}else{var _=Number.isNaN(+h)?l:h;o=o.scale(l,_,1)}}));return o}function Translate(r,i,o){var a=new t;a.m41=r;a.e=r;a.m42=i;a.f=i;a.m43=o;return a}function Rotate(r,i,o){var a=new t,c=Math.PI/180,u=r*c,l=i*c,h=o*c,p=Math.cos(u),d=-Math.sin(u),m=Math.cos(l),y=-Math.sin(l),v=Math.cos(h),g=-Math.sin(h),b=m*v,x=-m*g;a.m11=b;a.a=b;a.m12=x;a.b=x;a.m13=y;var w=d*y*v+p*g;a.m21=w;a.c=w;var _=p*v-d*y*g;a.m22=_;a.d=_;a.m23=-d*m;a.m31=d*g-p*y*v;a.m32=d*v+p*y*g;a.m33=p*m;return a}function RotateAxisAngle(r,i,o,a){var c=new t,u=a*(Math.PI/360),l=Math.sin(u),h=Math.cos(u),p=l*l,d=Math.sqrt(r*r+i*i+o*o),m=r,y=i,v=o;if(0===d){m=0;y=0;v=1}else{m/=d;y/=d;v/=d}var g=m*m,b=y*y,x=v*v,w=1-2*(b+x)*p;c.m11=w;c.a=w;var _=2*(m*y*p+v*l*h);c.m12=_;c.b=_;c.m13=2*(m*v*p-y*l*h);var C=2*(y*m*p-v*l*h);c.m21=C;c.c=C;var S=1-2*(x+g)*p;c.m22=S;c.d=S;c.m23=2*(y*v*p+m*l*h);c.m31=2*(v*m*p+y*l*h);c.m32=2*(v*y*p-m*l*h);c.m33=1-2*(g+b)*p;return c}function Scale(r,i,o){var a=new t;a.m11=r;a.a=r;a.m22=i;a.d=i;a.m33=o;return a}function SkewX(r){var i=new t,o=r*Math.PI/180,a=Math.tan(o);i.m21=a;i.c=a;return i}function SkewY(r){var i=new t,o=r*Math.PI/180,a=Math.tan(o);i.m12=a;i.b=a;return i}function Multiply(t,r){return fromArray([r.m11*t.m11+r.m12*t.m21+r.m13*t.m31+r.m14*t.m41,r.m11*t.m12+r.m12*t.m22+r.m13*t.m32+r.m14*t.m42,r.m11*t.m13+r.m12*t.m23+r.m13*t.m33+r.m14*t.m43,r.m11*t.m14+r.m12*t.m24+r.m13*t.m34+r.m14*t.m44,r.m21*t.m11+r.m22*t.m21+r.m23*t.m31+r.m24*t.m41,r.m21*t.m12+r.m22*t.m22+r.m23*t.m32+r.m24*t.m42,r.m21*t.m13+r.m22*t.m23+r.m23*t.m33+r.m24*t.m43,r.m21*t.m14+r.m22*t.m24+r.m23*t.m34+r.m24*t.m44,r.m31*t.m11+r.m32*t.m21+r.m33*t.m31+r.m34*t.m41,r.m31*t.m12+r.m32*t.m22+r.m33*t.m32+r.m34*t.m42,r.m31*t.m13+r.m32*t.m23+r.m33*t.m33+r.m34*t.m43,r.m31*t.m14+r.m32*t.m24+r.m33*t.m34+r.m34*t.m44,r.m41*t.m11+r.m42*t.m21+r.m43*t.m31+r.m44*t.m41,r.m41*t.m12+r.m42*t.m22+r.m43*t.m32+r.m44*t.m42,r.m41*t.m13+r.m42*t.m23+r.m43*t.m33+r.m44*t.m43,r.m41*t.m14+r.m42*t.m24+r.m43*t.m34+r.m44*t.m44])}var t=function CSSMatrix(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];var i=this;i.a=1;i.b=0;i.c=0;i.d=1;i.e=0;i.f=0;i.m11=1;i.m12=0;i.m13=0;i.m14=0;i.m21=0;i.m22=1;i.m23=0;i.m24=0;i.m31=0;i.m32=0;i.m33=1;i.m34=0;i.m41=0;i.m42=0;i.m43=0;i.m44=1;if(t&&t.length){var o=[16,6].some((function(r){return r===t.length}))?t:t[0];return i.setMatrixValue(o)}return i},r={isIdentity:{configurable:!0},is2D:{configurable:!0}};r.isIdentity.set=function(t){this.isIdentity=t};r.isIdentity.get=function(){var t=this;return 1===t.m11&&0===t.m12&&0===t.m13&&0===t.m14&&0===t.m21&&1===t.m22&&0===t.m23&&0===t.m24&&0===t.m31&&0===t.m32&&1===t.m33&&0===t.m34&&0===t.m41&&0===t.m42&&0===t.m43&&1===t.m44};r.is2D.get=function(){var t=this;return 0===t.m31&&0===t.m32&&1===t.m33&&0===t.m34&&0===t.m43&&1===t.m44};r.is2D.set=function(t){this.is2D=t};t.prototype.setMatrixValue=function setMatrixValue(t){return[Array,Float64Array,Float32Array].some((function(r){return t instanceof r}))?fromArray(t):"string"==typeof t&&t.length&&"none"!==t?fromString(t):"object"===_typeof(t)?fromMatrix(t):this};t.prototype.toArray=function toArray(){var t=this,r=Math.pow(10,6);return(t.is2D?[t.a,t.b,t.c,t.d,t.e,t.f]:[t.m11,t.m12,t.m13,t.m14,t.m21,t.m22,t.m23,t.m24,t.m31,t.m32,t.m33,t.m34,t.m41,t.m42,t.m43,t.m44]).map((function(t){return Math.abs(t)<1e-6?0:(t*r>>0)/r}))};t.prototype.toString=function toString(){var t=this.toArray();return(this.is2D?"matrix":"matrix3d")+"("+t+")"};t.prototype.toJSON=function toJSON(){var t=this,r=t.is2D,i=t.isIdentity;return Object.assign({},t,{is2D:r,isIdentity:i})};t.prototype.multiply=function multiply(t){return Multiply(this,t)};t.prototype.translate=function translate(t,r,i){var o=r,a=i;void 0===a&&(a=0);void 0===o&&(o=0);return Multiply(this,Translate(t,o,a))};t.prototype.scale=function scale(t,r,i){var o=r,a=i;void 0===o&&(o=t);void 0===a&&(a=1);return Multiply(this,Scale(t,o,a))};t.prototype.rotate=function rotate(t,r,i){var o=t,a=r,c=i;void 0===a&&(a=0);if(void 0===c){c=o;o=0}return Multiply(this,Rotate(o,a,c))};t.prototype.rotateAxisAngle=function rotateAxisAngle(t,r,i,o){if([t,r,i,o].some((function(t){return Number.isNaN(t)})))throw new TypeError("CSSMatrix: expecting 4 values");return Multiply(this,RotateAxisAngle(t,r,i,o))};t.prototype.skewX=function skewX(t){return Multiply(this,SkewX(t))};t.prototype.skewY=function skewY(t){return Multiply(this,SkewY(t))};t.prototype.transformPoint=function transformPoint(t){var r=Translate(t.x,t.y,t.z);r.m44=t.w||1;return{x:(r=this.multiply(r)).m41,y:r.m42,z:r.m43,w:r.m44}};t.prototype.transform=function transform(t){var r=this,i=r.m11*t.x+r.m12*t.y+r.m13*t.z+r.m14*t.w,o=r.m21*t.x+r.m22*t.y+r.m23*t.z+r.m24*t.w,a=r.m31*t.x+r.m32*t.y+r.m33*t.z+r.m34*t.w,c=r.m41*t.x+r.m42*t.y+r.m43*t.z+r.m44*t.w;return{x:i/c,y:o/c,z:a/c,w:c}};Object.defineProperties(t.prototype,r);Object.assign(t,{Translate:Translate,Rotate:Rotate,RotateAxisAngle:RotateAxisAngle,Scale:Scale,SkewX:SkewX,SkewY:SkewY,Multiply:Multiply,fromArray:fromArray,fromMatrix:fromMatrix,fromString:fromString});Object.assign(t,{Version:"0.0.24"});return t},"object"===_typeof(r)?t.exports=c():void 0!==(a="function"==typeof(o=c)?o.call(r,i,r,t):o)&&(t.exports=a)},(t,r,i)=>{i(68);i(83);var o=i(93);t.exports=o.Object.fromEntries},(t,r,i)=>{"use strict";var o=i(14),a=i(69),c=i(74),u=i(49),l=i(75),h="Array Iterator",p=u.set,d=u.getterFor(h);t.exports=l(Array,"Array",(function(t,r){p(this,{type:h,target:o(t),index:0,kind:r})}),(function(){var t=d(this),r=t.target,i=t.kind,o=t.index++;if(!r||o>=r.length){t.target=void 0;return{value:void 0,done:!0}}return"keys"==i?{value:o,done:!1}:"values"==i?{value:r[o],done:!1}:{value:[o,r[o]],done:!1}}),"values");c.Arguments=c.Array;a("keys");a("values");a("entries")},(t,r,i)=>{var o=i(34),a=i(70),c=i(45),u=o("unscopables"),l=Array.prototype;null==l[u]&&c.f(l,u,{configurable:!0,value:a(null)});t.exports=function(t){l[u][t]=!0}},(t,r,i)=>{var o,a=i(46),c=i(71),u=i(63),l=i(52),h=i(73),p=i(43),d=i(51),m=d("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"