pdfjs-dist
Version:
Generic build of Mozilla's PDF.js library.
21 lines • 339 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
*/var t,e,i,n,s={1782:(t,e,i)=>{var n=i(7316),s=i(9762),r=TypeError;t.exports=function(t){if(n(t))return t;throw new r(s(t)+" is not a function")}},4958:(t,e,i)=>{var n=i(7316),s=String,r=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw new r("Can't set "+s(t)+" as a prototype")}},5690:(t,e,i)=>{var n=i(23).has;t.exports=function(t){n(t);return t}},5834:(t,e,i)=>{var n=i(2658),s=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new s("Incorrect invocation")}},4719:(t,e,i)=>{var n=i(7633),s=String,r=TypeError;t.exports=function(t){if(n(t))return t;throw new r(s(t)+" is not an object")}},5115:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7585:(t,e,i)=>{var n=i(1299),s=i(8374),r=TypeError;t.exports=n(ArrayBuffer.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==s(t))throw new r("ArrayBuffer expected");return t.byteLength}},582:(t,e,i)=>{var n=i(8403),s=i(7585),r=n(ArrayBuffer.prototype.slice);t.exports=function(t){if(0!==s(t))return!1;try{r(t,0,0);return!1}catch(t){return!0}}},4358:(t,e,i)=>{var n=i(9298),s=i(8403),r=i(1299),a=i(9548),o=i(582),l=i(7585),h=i(8126),c=i(4837),d=n.structuredClone,u=n.ArrayBuffer,p=n.DataView,f=n.TypeError,g=Math.min,m=u.prototype,v=p.prototype,b=s(m.slice),A=r(m,"resizable","get"),y=r(m,"maxByteLength","get"),E=s(v.getInt8),x=s(v.setInt8);t.exports=(c||h)&&function(t,e,i){var n,s=l(t),r=void 0===e?s:a(e),m=!A||!A(t);if(o(t))throw new f("ArrayBuffer is detached");if(c){t=d(t,{transfer:[t]});if(s===r&&(i||m))return t}if(s>=r&&(!i||m))n=b(t,0,r);else{var v=i&&!m&&y?{maxByteLength:y(t)}:void 0;n=new u(r,v);for(var _=new p(t),w=new p(n),S=g(r,s),C=0;C<S;C++)x(w,C,E(_,C))}c||h(t);return n}},5861:(t,e,i)=>{var n,s,r,a=i(5115),o=i(940),l=i(9298),h=i(7316),c=i(7633),d=i(936),u=i(8329),p=i(9762),f=i(9293),g=i(7041),m=i(9691),v=i(2658),b=i(2176),A=i(9763),y=i(2292),E=i(7561),x=i(1649),_=x.enforce,w=x.get,S=l.Int8Array,C=S&&S.prototype,T=l.Uint8ClampedArray,R=T&&T.prototype,M=S&&b(S),P=C&&b(C),k=Object.prototype,D=l.TypeError,I=y("toStringTag"),L=E("TYPED_ARRAY_TAG"),O="TypedArrayConstructor",B=a&&!!A&&"Opera"!==u(l.opera),N=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(t){var e=b(t);if(c(e)){var i=w(e);return i&&d(i,O)?i[O]:getTypedArrayConstructor(e)}},isTypedArray=function(t){if(!c(t))return!1;var e=u(t);return d(U,e)||d(z,e)};for(n in U)(r=(s=l[n])&&s.prototype)?_(r)[O]=s:B=!1;for(n in z)(r=(s=l[n])&&s.prototype)&&(_(r)[O]=s);if(!B||!h(M)||M===Function.prototype){M=function TypedArray(){throw new D("Incorrect invocation")};if(B)for(n in U)l[n]&&A(l[n],M)}if(!B||!P||P===k){P=M.prototype;if(B)for(n in U)l[n]&&A(l[n].prototype,P)}B&&b(R)!==P&&A(R,P);if(o&&!d(P,I)){N=!0;m(P,I,{configurable:!0,get:function(){return c(this)?this[L]:void 0}});for(n in U)l[n]&&f(l[n],L,n)}t.exports={NATIVE_ARRAY_BUFFER_VIEWS:B,TYPED_ARRAY_TAG:N&&L,aTypedArray:function(t){if(isTypedArray(t))return t;throw new D("Target is not a typed array")},aTypedArrayConstructor:function(t){if(h(t)&&(!A||v(M,t)))return t;throw new D(p(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,i,n){if(o){if(i)for(var s in U){var r=l[s];if(r&&d(r.prototype,t))try{delete r.prototype[t]}catch(i){try{r.prototype[t]=e}catch(t){}}}P[t]&&!i||g(P,t,i?e:B&&C[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,i){var n,s;if(o){if(A){if(i)for(n in U)if((s=l[n])&&d(s,t))try{delete s[t]}catch(t){}if(M[t]&&!i)return;try{return g(M,t,i?e:B&&M[t]||e)}catch(t){}}for(n in U)!(s=l[n])||s[t]&&!i||g(s,t,e)}},getTypedArrayConstructor:getTypedArrayConstructor,isView:function isView(t){if(!c(t))return!1;var e=u(t);return"DataView"===e||d(U,e)||d(z,e)},isTypedArray:isTypedArray,TypedArray:M,TypedArrayPrototype:P}},7003:(t,e,i)=>{var n=i(451);t.exports=function(t,e){for(var i=0,s=n(e),r=new t(s);s>i;)r[i]=e[i++];return r}},9773:(t,e,i)=>{var n=i(4115),s=i(6985),r=i(451),createMethod=function(t){return function(e,i,a){var o,l=n(e),h=r(l),c=s(a,h);if(t&&i!=i){for(;h>c;)if((o=l[c++])!=o)return!0}else for(;h>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4026:(t,e,i)=>{var n=i(7789),s=i(3622),r=i(2007),a=i(451),createMethod=function(t){var e=1===t;return function(i,o,l){for(var h,c=r(i),d=s(c),u=n(o,l),p=a(d);p-- >0;)if(u(h=d[p],p,c))switch(t){case 0:return h;case 1:return p}return e?-1:void 0}};t.exports={findLast:createMethod(0),findLastIndex:createMethod(1)}},6661:(t,e,i)=>{var n=i(940),s=i(6998),r=TypeError,a=Object.getOwnPropertyDescriptor,o=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=o?function(t,e){if(s(t)&&!a(t,"length").writable)throw new r("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},2304:(t,e,i)=>{var n=i(451);t.exports=function(t,e){for(var i=n(t),s=new e(i),r=0;r<i;r++)s[r]=t[i-r-1];return s}},5886:(t,e,i)=>{var n=i(451),s=i(1003),r=RangeError;t.exports=function(t,e,i,a){var o=n(t),l=s(i),h=l<0?o+l:l;if(h>=o||h<0)throw new r("Incorrect index");for(var c=new e(o),d=0;d<o;d++)c[d]=d===h?a:t[d];return c}},5723:(t,e,i)=>{var n=i(4719),s=i(3316);t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){s(t,"throw",e)}}},8374:(t,e,i)=>{var n=i(8403),s=n({}.toString),r=n("".slice);t.exports=function(t){return r(s(t),8,-1)}},8329:(t,e,i)=>{var n=i(3077),s=i(7316),r=i(8374),a=i(2292)("toStringTag"),o=Object,l="Arguments"===r(function(){return arguments}());t.exports=n?r:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=o(t),a))?i:l?r(e):"Object"===(n=r(e))&&s(e.callee)?"Arguments":n}},1425:(t,e,i)=>{var n=i(936),s=i(8953),r=i(5764),a=i(7744);t.exports=function(t,e,i){for(var o=s(e),l=a.f,h=r.f,c=0;c<o.length;c++){var d=o[c];n(t,d)||i&&n(i,d)||l(t,d,h(e,d))}}},7888:(t,e,i)=>{var n=i(8154);t.exports=!n((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},1111:t=>{t.exports=function(t,e){return{value:t,done:e}}},9293:(t,e,i)=>{var n=i(940),s=i(7744),r=i(1198);t.exports=n?function(t,e,i){return s.f(t,e,r(1,i))}:function(t,e,i){t[e]=i;return t}},1198:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8947:(t,e,i)=>{var n=i(4871),s=i(7744),r=i(1198);t.exports=function(t,e,i){var a=n(e);a in t?s.f(t,a,r(0,i)):t[a]=i}},9691:(t,e,i)=>{var n=i(9687),s=i(7744);t.exports=function(t,e,i){i.get&&n(i.get,e,{getter:!0});i.set&&n(i.set,e,{setter:!0});return s.f(t,e,i)}},7041:(t,e,i)=>{var n=i(7316),s=i(7744),r=i(9687),a=i(6e3);t.exports=function(t,e,i,o){o||(o={});var l=o.enumerable,h=void 0!==o.name?o.name:e;n(i)&&r(i,h,o);if(o.global)l?t[e]=i:a(e,i);else{try{o.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=i:s.f(t,e,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},6880:(t,e,i)=>{var n=i(7041);t.exports=function(t,e,i){for(var s in e)n(t,s,e[s],i);return t}},6e3:(t,e,i)=>{var n=i(9298),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(i){n[t]=e}return e}},940:(t,e,i)=>{var n=i(8154);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8126:(t,e,i)=>{var n,s,r,a,o=i(9298),l=i(2276),h=i(4837),c=o.structuredClone,d=o.ArrayBuffer,u=o.MessageChannel,p=!1;if(h)p=function(t){c(t,{transfer:[t]})};else if(d)try{u||(n=l("worker_threads"))&&(u=n.MessageChannel);if(u){s=new u;r=new d(2);a=function(t){s.port1.postMessage(null,[t])};if(2===r.byteLength){a(r);0===r.byteLength&&(p=a)}}}catch(t){}t.exports=p},1558:t=>{var e="object"==typeof document&&document.all,i=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:i}},5584:(t,e,i)=>{var n=i(9298),s=i(7633),r=n.document,a=s(r)&&s(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},4287:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},5050:t=>{t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},3413:(t,e,i)=>{var n=i(8471),s=i(4864);t.exports=!n&&!s&&"object"==typeof window&&"object"==typeof document},8471:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},4864:(t,e,i)=>{var n=i(9298),s=i(8374);t.exports="process"===s(n.process)},234:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},2171:(t,e,i)=>{var n,s,r=i(9298),a=i(234),o=r.process,l=r.Deno,h=o&&o.versions||l&&l.version,c=h&&h.v8;c&&(s=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1]));!s&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(s=+n[1]);t.exports=s},298:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},34:(t,e,i)=>{var n=i(8403),s=Error,r=n("".replace),a=String(new s("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,l=o.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!s.prepareStackTrace)for(;e--;)t=r(t,o,"");return t}},1931:(t,e,i)=>{var n=i(9293),s=i(34),r=i(3437),a=Error.captureStackTrace;t.exports=function(t,e,i,o){r&&(a?a(t,e):n(t,"stack",s(i,o)))}},3437:(t,e,i)=>{var n=i(8154),s=i(1198);t.exports=!n((function(){var t=new Error("a");if(!("stack"in t))return!0;Object.defineProperty(t,"stack",s(1,7));return 7!==t.stack}))},4978:(t,e,i)=>{var n=i(9298),s=i(5764).f,r=i(9293),a=i(7041),o=i(6e3),l=i(1425),h=i(7007);t.exports=function(t,e){var i,c,d,u,p,f=t.target,g=t.global,m=t.stat;if(i=g?n:m?n[f]||o(f,{}):(n[f]||{}).prototype)for(c in e){u=e[c];d=t.dontCallGetSet?(p=s(i,c))&&p.value:i[c];if(!h(g?c:f+(m?".":"#")+c,t.forced)&&void 0!==d){if(typeof u==typeof d)continue;l(u,d)}(t.sham||d&&d.sham)&&r(u,"sham",!0);a(i,c,u,t)}}},8154:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7294:(t,e,i)=>{var n=i(2486),s=Function.prototype,r=s.apply,a=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(r):function(){return a.apply(r,arguments)})},7789:(t,e,i)=>{var n=i(6218),s=i(1782),r=i(2486),a=n(n.bind);t.exports=function(t,e){s(t);return void 0===e?t:r?a(t,e):function(){return t.apply(e,arguments)}}},2486:(t,e,i)=>{var n=i(8154);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2026:(t,e,i)=>{var n=i(2486),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},5145:(t,e,i)=>{var n=i(940),s=i(936),r=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=s(r,"name"),l=o&&"something"===function something(){}.name,h=o&&(!n||n&&a(r,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:h}},1299:(t,e,i)=>{var n=i(8403),s=i(1782);t.exports=function(t,e,i){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[i]))}catch(t){}}},6218:(t,e,i)=>{var n=i(8374),s=i(8403);t.exports=function(t){if("Function"===n(t))return s(t)}},8403:(t,e,i)=>{var n=i(2486),s=Function.prototype,r=s.call,a=n&&s.bind.bind(r,r);t.exports=n?a:function(t){return function(){return r.apply(t,arguments)}}},7187:(t,e,i)=>{var n=i(9298),s=i(7316);t.exports=function(t,e){return arguments.length<2?(i=n[t],s(i)?i:void 0):n[t]&&n[t][e];var i}},9235:t=>{t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},9115:(t,e,i)=>{var n=i(2026),s=i(4719),r=i(9235),a=i(273);t.exports=function(t,e){e&&"string"==typeof t||s(t);var i=a(t);return r(s(void 0!==i?n(i,t):t))}},273:(t,e,i)=>{var n=i(8329),s=i(8486),r=i(3734),a=i(6596),o=i(2292)("iterator");t.exports=function(t){if(!r(t))return s(t,o)||s(t,"@@iterator")||a[n(t)]}},7612:(t,e,i)=>{var n=i(2026),s=i(1782),r=i(4719),a=i(9762),o=i(273),l=TypeError;t.exports=function(t,e){var i=arguments.length<2?o(t):e;if(s(i))return r(n(i,t));throw new l(a(t)+" is not iterable")}},8486:(t,e,i)=>{var n=i(1782),s=i(3734);t.exports=function(t,e){var i=t[e];return s(i)?void 0:n(i)}},1096:(t,e,i)=>{var n=i(1782),s=i(4719),r=i(2026),a=i(1003),o=i(9235),l="Invalid size",h=RangeError,c=TypeError,d=Math.max,SetRecord=function(t,e,i,n){this.set=t;this.size=e;this.has=i;this.keys=n};SetRecord.prototype={getIterator:function(){return o(s(r(this.keys,this.set)))},includes:function(t){return r(this.has,this.set,t)}};t.exports=function(t){s(t);var e=+t.size;if(e!=e)throw new c(l);var i=a(e);if(i<0)throw new h(l);return new SetRecord(t,d(i,0),n(t.has),n(t.keys))}},9298: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")()},936:(t,e,i)=>{var n=i(8403),s=i(2007),r=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,e){return r(s(t),e)}},6010:t=>{t.exports={}},519:(t,e,i)=>{var n=i(7187);t.exports=n("document","documentElement")},9394:(t,e,i)=>{var n=i(940),s=i(8154),r=i(5584);t.exports=!n&&!s((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},3622:(t,e,i)=>{var n=i(8403),s=i(8154),r=i(8374),a=Object,o=n("".split);t.exports=s((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?o(t,""):a(t)}:a},7523:(t,e,i)=>{var n=i(7316),s=i(7633),r=i(9763);t.exports=function(t,e,i){var a,o;r&&n(a=e.constructor)&&a!==i&&s(o=a.prototype)&&o!==i.prototype&&r(t,o);return t}},4993:(t,e,i)=>{var n=i(8403),s=i(7316),r=i(7542),a=n(Function.toString);s(r.inspectSource)||(r.inspectSource=function(t){return a(t)});t.exports=r.inspectSource},8422:(t,e,i)=>{var n=i(7633),s=i(9293);t.exports=function(t,e){n(e)&&"cause"in e&&s(t,"cause",e.cause)}},1649:(t,e,i)=>{var n,s,r,a=i(8443),o=i(9298),l=i(7633),h=i(9293),c=i(936),d=i(7542),u=i(3727),p=i(6010),f="Object already initialized",g=o.TypeError,m=o.WeakMap;if(a||d.state){var v=d.state||(d.state=new m);v.get=v.get;v.has=v.has;v.set=v.set;n=function(t,e){if(v.has(t))throw new g(f);e.facade=t;v.set(t,e);return e};s=function(t){return v.get(t)||{}};r=function(t){return v.has(t)}}else{var b=u("state");p[b]=!0;n=function(t,e){if(c(t,b))throw new g(f);e.facade=t;h(t,b,e);return e};s=function(t){return c(t,b)?t[b]:{}};r=function(t){return c(t,b)}}t.exports={set:n,get:s,has:r,enforce:function(t){return r(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=s(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return i}}}},5191:(t,e,i)=>{var n=i(2292),s=i(6596),r=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||a[r]===t)}},6998:(t,e,i)=>{var n=i(8374);t.exports=Array.isArray||function isArray(t){return"Array"===n(t)}},5986:(t,e,i)=>{var n=i(8329);t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},7316:(t,e,i)=>{var n=i(1558),s=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===s}:function(t){return"function"==typeof t}},7007:(t,e,i)=>{var n=i(8154),s=i(7316),r=/#|\.prototype\./,isForced=function(t,e){var i=o[a(t)];return i===h||i!==l&&(s(e)?n(e):!!e)},a=isForced.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=isForced.data={},l=isForced.NATIVE="N",h=isForced.POLYFILL="P";t.exports=isForced},3734:t=>{t.exports=function(t){return null==t}},7633:(t,e,i)=>{var n=i(7316),s=i(1558),r=s.all;t.exports=s.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===r}:function(t){return"object"==typeof t?null!==t:n(t)}},2554:t=>{t.exports=!1},7814:(t,e,i)=>{var n=i(7187),s=i(7316),r=i(2658),a=i(7960),o=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&r(e.prototype,o(t))}},5504:(t,e,i)=>{var n=i(2026);t.exports=function(t,e,i){for(var s,r,a=i?t:t.iterator,o=t.next;!(s=n(o,a)).done;)if(void 0!==(r=e(s.value)))return r}},6837:(t,e,i)=>{var n=i(7789),s=i(2026),r=i(4719),a=i(9762),o=i(5191),l=i(451),h=i(2658),c=i(7612),d=i(273),u=i(3316),p=TypeError,Result=function(t,e){this.stopped=t;this.result=e},f=Result.prototype;t.exports=function(t,e,i){var g,m,v,b,A,y,E,x=i&&i.that,_=!(!i||!i.AS_ENTRIES),w=!(!i||!i.IS_RECORD),S=!(!i||!i.IS_ITERATOR),C=!(!i||!i.INTERRUPTED),T=n(e,x),stop=function(t){g&&u(g,"normal",t);return new Result(!0,t)},callFn=function(t){if(_){r(t);return C?T(t[0],t[1],stop):T(t[0],t[1])}return C?T(t,stop):T(t)};if(w)g=t.iterator;else if(S)g=t;else{if(!(m=d(t)))throw new p(a(t)+" is not iterable");if(o(m)){for(v=0,b=l(t);b>v;v++)if((A=callFn(t[v]))&&h(f,A))return A;return new Result(!1)}g=c(t,m)}y=w?t.next:g.next;for(;!(E=s(y,g)).done;){try{A=callFn(E.value)}catch(t){u(g,"throw",t)}if("object"==typeof A&&A&&h(f,A))return A}return new Result(!1)}},3316:(t,e,i)=>{var n=i(2026),s=i(4719),r=i(8486);t.exports=function(t,e,i){var a,o;s(t);try{if(!(a=r(t,"return"))){if("throw"===e)throw i;return i}a=n(a,t)}catch(t){o=!0;a=t}if("throw"===e)throw i;if(o)throw a;s(a);return i}},375:(t,e,i)=>{var n=i(2026),s=i(6941),r=i(9293),a=i(6880),o=i(2292),l=i(1649),h=i(8486),c=i(5238).IteratorPrototype,d=i(1111),u=i(3316),p=o("toStringTag"),f="IteratorHelper",g="WrapForValidIterator",m=l.set,createIteratorProxyPrototype=function(t){var e=l.getterFor(t?g:f);return a(s(c),{next:function next(){var i=e(this);if(t)return i.nextHandler();try{var n=i.done?void 0:i.nextHandler();return d(n,i.done)}catch(t){i.done=!0;throw t}},return:function(){var i=e(this),s=i.iterator;i.done=!0;if(t){var r=h(s,"return");return r?n(r,s):d(void 0,!0)}if(i.inner)try{u(i.inner.iterator,"normal")}catch(t){return u(s,"throw",t)}u(s,"normal");return d(void 0,!0)}})},v=createIteratorProxyPrototype(!0),b=createIteratorProxyPrototype(!1);r(b,p,"Iterator Helper");t.exports=function(t,e){var i=function Iterator(i,n){if(n){n.iterator=i.iterator;n.next=i.next}else n=i;n.type=e?g:f;n.nextHandler=t;n.counter=0;n.done=!1;m(this,n)};i.prototype=e?v:b;return i}},8142:(t,e,i)=>{var n=i(2026),s=i(1782),r=i(4719),a=i(9235),o=i(375),l=i(5723),h=o((function(){var t=this.iterator,e=r(n(this.next,t));if(!(this.done=!!e.done))return l(t,this.mapper,[e.value,this.counter++],!0)}));t.exports=function map(t){r(this);s(t);return new h(a(this),{mapper:t})}},5238:(t,e,i)=>{var n,s,r,a=i(8154),o=i(7316),l=i(7633),h=i(6941),c=i(2176),d=i(7041),u=i(2292),p=i(2554),f=u("iterator"),g=!1;[].keys&&("next"in(r=[].keys())?(s=c(c(r)))!==Object.prototype&&(n=s):g=!0);!l(n)||a((function(){var t={};return n[f].call(t)!==t}))?n={}:p&&(n=h(n));o(n[f])||d(n,f,(function(){return this}));t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},6596:t=>{t.exports={}},451:(t,e,i)=>{var n=i(8293);t.exports=function(t){return n(t.length)}},9687:(t,e,i)=>{var n=i(8403),s=i(8154),r=i(7316),a=i(936),o=i(940),l=i(5145).CONFIGURABLE,h=i(4993),c=i(1649),d=c.enforce,u=c.get,p=String,f=Object.defineProperty,g=n("".slice),m=n("".replace),v=n([].join),b=o&&!s((function(){return 8!==f((function(){}),"length",{value:8}).length})),A=String(String).split("String"),y=t.exports=function(t,e,i){"Symbol("===g(p(e),0,7)&&(e="["+m(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]");i&&i.getter&&(e="get "+e);i&&i.setter&&(e="set "+e);(!a(t,"name")||l&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e);b&&i&&a(i,"arity")&&t.length!==i.arity&&f(t,"length",{value:i.arity});try{i&&a(i,"constructor")&&i.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=d(t);a(n,"source")||(n.source=v(A,"string"==typeof e?e:""));return t};Function.prototype.toString=y((function toString(){return r(this)&&u(this).source||h(this)}),"toString")},8537:t=>{var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function trunc(t){var n=+t;return(n>0?i:e)(n)}},1264:(t,e,i)=>{var n=i(5730);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},6941:(t,e,i)=>{var n,s=i(4719),r=i(6617),a=i(298),o=i(6010),l=i(519),h=i(5584),c=i(3727),d="prototype",u="script",p=c("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{n=new ActiveXObject("htmlfile")}catch(t){}NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):function(){var t,e=h("iframe"),i="java"+u+":";e.style.display="none";l.appendChild(e);e.src=String(i);(t=e.contentWindow.document).open();t.write(scriptTag("document.F=Object"));t.close();return t.F}():NullProtoObjectViaActiveX(n);for(var t=a.length;t--;)delete NullProtoObject[d][a[t]];return NullProtoObject()};o[p]=!0;t.exports=Object.create||function create(t,e){var i;if(null!==t){EmptyConstructor[d]=s(t);i=new EmptyConstructor;EmptyConstructor[d]=null;i[p]=t}else i=NullProtoObject();return void 0===e?i:r.f(i,e)}},6617:(t,e,i)=>{var n=i(940),s=i(9610),r=i(7744),a=i(4719),o=i(4115),l=i(1706);e.f=n&&!s?Object.defineProperties:function defineProperties(t,e){a(t);for(var i,n=o(e),s=l(e),h=s.length,c=0;h>c;)r.f(t,i=s[c++],n[i]);return t}},7744:(t,e,i)=>{var n=i(940),s=i(9394),r=i(9610),a=i(4719),o=i(4871),l=TypeError,h=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",u="configurable",p="writable";e.f=n?r?function defineProperty(t,e,i){a(t);e=o(e);a(i);if("function"==typeof t&&"prototype"===e&&"value"in i&&p in i&&!i[p]){var n=c(t,e);if(n&&n[p]){t[e]=i.value;i={configurable:u in i?i[u]:n[u],enumerable:d in i?i[d]:n[d],writable:!1}}}return h(t,e,i)}:h:function defineProperty(t,e,i){a(t);e=o(e);a(i);if(s)try{return h(t,e,i)}catch(t){}if("get"in i||"set"in i)throw new l("Accessors not supported");"value"in i&&(t[e]=i.value);return t}},5764:(t,e,i)=>{var n=i(940),s=i(2026),r=i(1879),a=i(1198),o=i(4115),l=i(4871),h=i(936),c=i(9394),d=Object.getOwnPropertyDescriptor;e.f=n?d:function getOwnPropertyDescriptor(t,e){t=o(t);e=l(e);if(c)try{return d(t,e)}catch(t){}if(h(t,e))return a(!s(r.f,t,e),t[e])}},5455:(t,e,i)=>{var n=i(9138),s=i(298).concat("length","prototype");e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return n(t,s)}},1963:(t,e)=>{e.f=Object.getOwnPropertySymbols},2176:(t,e,i)=>{var n=i(936),s=i(7316),r=i(2007),a=i(3727),o=i(7888),l=a("IE_PROTO"),h=Object,c=h.prototype;t.exports=o?h.getPrototypeOf:function(t){var e=r(t);if(n(e,l))return e[l];var i=e.constructor;return s(i)&&e instanceof i?i.prototype:e instanceof h?c:null}},2658:(t,e,i)=>{var n=i(8403);t.exports=n({}.isPrototypeOf)},9138:(t,e,i)=>{var n=i(8403),s=i(936),r=i(4115),a=i(9773).indexOf,o=i(6010),l=n([].push);t.exports=function(t,e){var i,n=r(t),h=0,c=[];for(i in n)!s(o,i)&&s(n,i)&&l(c,i);for(;e.length>h;)s(n,i=e[h++])&&(~a(c,i)||l(c,i));return c}},1706:(t,e,i)=>{var n=i(9138),s=i(298);t.exports=Object.keys||function keys(t){return n(t,s)}},1879:(t,e)=>{var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!i.call({1:2},1);e.f=s?function propertyIsEnumerable(t){var e=n(this,t);return!!e&&e.enumerable}:i},9763:(t,e,i)=>{var n=i(1299),s=i(4719),r=i(4958);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=n(Object.prototype,"__proto__","set"))(i,[]);e=i instanceof Array}catch(t){}return function setPrototypeOf(i,n){s(i);r(n);e?t(i,n):i.__proto__=n;return i}}():void 0)},2923:(t,e,i)=>{var n=i(2026),s=i(7316),r=i(7633),a=TypeError;t.exports=function(t,e){var i,o;if("string"===e&&s(i=t.toString)&&!r(o=n(i,t)))return o;if(s(i=t.valueOf)&&!r(o=n(i,t)))return o;if("string"!==e&&s(i=t.toString)&&!r(o=n(i,t)))return o;throw new a("Can't convert object to primitive value")}},8953:(t,e,i)=>{var n=i(7187),s=i(8403),r=i(5455),a=i(1963),o=i(4719),l=s([].concat);t.exports=n("Reflect","ownKeys")||function ownKeys(t){var e=r.f(o(t)),i=a.f;return i?l(e,i(t)):e}},3713:(t,e,i)=>{var n=i(8403),s=i(936),r=SyntaxError,a=parseInt,o=String.fromCharCode,l=n("".charAt),h=n("".slice),c=n(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},u=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;t.exports=function(t,e){for(var i=!0,n="";e<t.length;){var f=l(t,e);if("\\"===f){var g=h(t,e,e+2);if(s(d,g)){n+=d[g];e+=2}else{if("\\u"!==g)throw new r('Unknown escape sequence: "'+g+'"');var m=h(t,e+=2,e+4);if(!c(u,m))throw new r("Bad Unicode escape at: "+e);n+=o(a(m,16));e+=4}}else{if('"'===f){i=!1;e++;break}if(c(p,f))throw new r("Bad control character in string literal at: "+e);n+=f;e++}}if(i)throw new r("Unterminated string at: "+e);return{value:n,end:e}}},6085:(t,e,i)=>{var n=i(7744).f;t.exports=function(t,e,i){i in t||n(t,i,{configurable:!0,get:function(){return e[i]},set:function(t){e[i]=t}})}},5645:(t,e,i)=>{var n=i(3734),s=TypeError;t.exports=function(t){if(n(t))throw new s("Can't call method on "+t);return t}},4057:(t,e,i)=>{var n=i(23),s=i(8848),r=n.Set,a=n.add;t.exports=function(t){var e=new r;s(t,(function(t){a(e,t)}));return e}},5656:(t,e,i)=>{var n=i(5690),s=i(23),r=i(4057),a=i(6098),o=i(1096),l=i(8848),h=i(5504),c=s.has,d=s.remove;t.exports=function difference(t){var e=n(this),i=o(t),s=r(e);a(e)<=i.size?l(e,(function(t){i.includes(t)&&d(s,t)})):h(i.getIterator(),(function(t){c(e,t)&&d(s,t)}));return s}},23:(t,e,i)=>{var n=i(8403),s=Set.prototype;t.exports={Set:Set,add:n(s.add),has:n(s.has),remove:n(s.delete),proto:s}},8461:(t,e,i)=>{var n=i(5690),s=i(23),r=i(6098),a=i(1096),o=i(8848),l=i(5504),h=s.Set,c=s.add,d=s.has;t.exports=function intersection(t){var e=n(this),i=a(t),s=new h;r(e)>i.size?l(i.getIterator(),(function(t){d(e,t)&&c(s,t)})):o(e,(function(t){i.includes(t)&&c(s,t)}));return s}},8550:(t,e,i)=>{var n=i(5690),s=i(23).has,r=i(6098),a=i(1096),o=i(8848),l=i(5504),h=i(3316);t.exports=function isDisjointFrom(t){var e=n(this),i=a(t);if(r(e)<=i.size)return!1!==o(e,(function(t){if(i.includes(t))return!1}),!0);var c=i.getIterator();return!1!==l(c,(function(t){if(s(e,t))return h(c,"normal",!1)}))}},990:(t,e,i)=>{var n=i(5690),s=i(6098),r=i(8848),a=i(1096);t.exports=function isSubsetOf(t){var e=n(this),i=a(t);return!(s(e)>i.size)&&!1!==r(e,(function(t){if(!i.includes(t))return!1}),!0)}},194:(t,e,i)=>{var n=i(5690),s=i(23).has,r=i(6098),a=i(1096),o=i(5504),l=i(3316);t.exports=function isSupersetOf(t){var e=n(this),i=a(t);if(r(e)<i.size)return!1;var h=i.getIterator();return!1!==o(h,(function(t){if(!s(e,t))return l(h,"normal",!1)}))}},8848:(t,e,i)=>{var n=i(8403),s=i(5504),r=i(23),a=r.Set,o=r.proto,l=n(o.forEach),h=n(o.keys),c=h(new a).next;t.exports=function(t,e,i){return i?s({iterator:h(t),next:c},e):l(t,e)}},507:(t,e,i)=>{var n=i(7187),createSetLike=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};t.exports=function(t){var e=n("Set");try{(new e)[t](createSetLike(0));try{(new e)[t](createSetLike(-1));return!1}catch(t){return!0}}catch(t){return!1}}},6098:(t,e,i)=>{var n=i(1299),s=i(23);t.exports=n(s.proto,"size","get")||function(t){return t.size}},3194:(t,e,i)=>{var n=i(5690),s=i(23),r=i(4057),a=i(1096),o=i(5504),l=s.add,h=s.has,c=s.remove;t.exports=function symmetricDifference(t){var e=n(this),i=a(t).getIterator(),s=r(e);o(i,(function(t){h(e,t)?c(s,t):l(s,t)}));return s}},5703:(t,e,i)=>{var n=i(5690),s=i(23).add,r=i(4057),a=i(1096),o=i(5504);t.exports=function union(t){var e=n(this),i=a(t).getIterator(),l=r(e);o(i,(function(t){s(l,t)}));return l}},3727:(t,e,i)=>{var n=i(6807),s=i(7561),r=n("keys");t.exports=function(t){return r[t]||(r[t]=s(t))}},7542:(t,e,i)=>{var n=i(9298),s=i(6e3),r="__core-js_shared__",a=n[r]||s(r,{});t.exports=a},6807:(t,e,i)=>{var n=i(2554),s=i(7542);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"})},4837:(t,e,i)=>{var n=i(9298),s=i(8154),r=i(2171),a=i(3413),o=i(8471),l=i(4864),h=n.structuredClone;t.exports=!!h&&!s((function(){if(o&&r>92||l&&r>94||a&&r>97)return!1;var t=new ArrayBuffer(8),e=h(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength}))},3663:(t,e,i)=>{var n=i(2171),s=i(8154),r=i(9298).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol("symbol detection");return!r(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},6985:(t,e,i)=>{var n=i(1003),s=Math.max,r=Math.min;t.exports=function(t,e){var i=n(t);return i<0?s(i+e,0):r(i,e)}},212:(t,e,i)=>{var n=i(4151),s=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw new s("Can't convert number to bigint");return BigInt(e)}},9548:(t,e,i)=>{var n=i(1003),s=i(8293),r=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),i=s(e);if(e!==i)throw new r("Wrong length or index");return i}},4115:(t,e,i)=>{var n=i(3622),s=i(5645);t.exports=function(t){return n(s(t))}},1003:(t,e,i)=>{var n=i(8537);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8293:(t,e,i)=>{var n=i(1003),s=Math.min;t.exports=function(t){return t>0?s(n(t),9007199254740991):0}},2007:(t,e,i)=>{var n=i(5645),s=Object;t.exports=function(t){return s(n(t))}},9892:(t,e,i)=>{var n=i(9817),s=RangeError;t.exports=function(t,e){var i=n(t);if(i%e)throw new s("Wrong offset");return i}},9817:(t,e,i)=>{var n=i(1003),s=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new s("The argument can't be less than 0");return e}},4151:(t,e,i)=>{var n=i(2026),s=i(7633),r=i(7814),a=i(8486),o=i(2923),l=i(2292),h=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!s(t)||r(t))return t;var i,l=a(t,c);if(l){void 0===e&&(e="default");i=n(l,t,e);if(!s(i)||r(i))return i;throw new h("Can't convert object to primitive value")}void 0===e&&(e="number");return o(t,e)}},4871:(t,e,i)=>{var n=i(4151),s=i(7814);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},3077:(t,e,i)=>{var n={};n[i(2292)("toStringTag")]="z";t.exports="[object z]"===String(n)},5730:(t,e,i)=>{var n=i(8329),s=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return s(t)}},2276:(t,e,i)=>{var n=i(4864);t.exports=function(t){try{if(n)return Function('return require("'+t+'")')()}catch(t){}}},9762:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},7561:(t,e,i)=>{var n=i(8403),s=0,r=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++s+r,36)}},7960:(t,e,i)=>{var n=i(3663);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9610:(t,e,i)=>{var n=i(940),s=i(8154);t.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2743:t=>{var e=TypeError;t.exports=function(t,i){if(t<i)throw new e("Not enough arguments");return t}},8443:(t,e,i)=>{var n=i(9298),s=i(7316),r=n.WeakMap;t.exports=s(r)&&/native code/.test(String(r))},2292:(t,e,i)=>{var n=i(9298),s=i(6807),r=i(936),a=i(7561),o=i(3663),l=i(7960),h=n.Symbol,c=s("wks"),d=l?h.for||h:h&&h.withoutSetter||a;t.exports=function(t){r(c,t)||(c[t]=o&&r(h,t)?h[t]:d("Symbol."+t));return c[t]}},7342:(t,e,i)=>{var n=i(7187),s=i(936),r=i(9293),a=i(2658),o=i(9763),l=i(1425),h=i(6085),c=i(7523),d=i(1264),u=i(8422),p=i(1931),f=i(940),g=i(2554);t.exports=function(t,e,i,m){var v="stackTraceLimit",b=m?2:1,A=t.split("."),y=A[A.length-1],E=n.apply(null,A);if(E){var x=E.prototype;!g&&s(x,"cause")&&delete x.cause;if(!i)return E;var _=n("Error"),w=e((function(t,e){var i=d(m?e:t,void 0),n=m?new E(t):new E;void 0!==i&&r(n,"message",i);p(n,w,n.stack,2);this&&a(x,this)&&c(n,this,w);arguments.length>b&&u(n,arguments[b]);return n}));w.prototype=x;if("Error"!==y)o?o(w,_):l(w,_,{name:!0});else if(f&&v in E){h(w,E,v);h(w,E,"prepareStackTrace")}l(w,E);if(!g)try{x.name!==y&&r(x,"name",y);x.constructor=w}catch(t){}return w}}},4226:(t,e,i)=>{var n=i(4978),s=i(2007),r=i(451),a=i(6661),o=i(4287);n({target:"Array",proto:!0,arity:1,forced:i(8154)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function push(t){var e=s(this),i=r(e),n=arguments.length;o(i+n);for(var l=0;l<n;l++){e[i]=arguments[l];i++}a(e,i);return i}})},3352:(t,e,i)=>{var n=i(4978),s=i(9298),r=i(7294),a=i(7342),o="WebAssembly",l=s[o],h=7!==new Error("e",{cause:7}).cause,exportGlobalErrorCauseWrapper=function(t,e){var i={};i[t]=a(t,e,h);n({global:!0,constructor:!0,arity:1,forced:h},i)},exportWebAssemblyErrorCauseWrapper=function(t,e){if(l&&l[t]){var i={};i[t]=a(o+"."+t,e,h);n({target:o,stat:!0,constructor:!0,arity:1,forced:h},i)}};exportGlobalErrorCauseWrapper("Error",(function(t){return function Error(e){return r(t,this,arguments)}}));exportGlobalErrorCauseWrapper("EvalError",(function(t){return function EvalError(e){return r(t,this,arguments)}}));exportGlobalErrorCauseWrapper("RangeError",(function(t){return function RangeError(e){return r(t,this,arguments)}}));exportGlobalErrorCauseWrapper("ReferenceError",(function(t){return function ReferenceError(e){return r(t,this,arguments)}}));exportGlobalErrorCauseWrapper("SyntaxError",(function(t){return function SyntaxError(e){return r(t,this,arguments)}}));exportGlobalErrorCauseWrapper("TypeError",(function(t){return function TypeError(e){return r(t,this,arguments)}}));exportGlobalErrorCauseWrapper("URIError",(function(t){return function URIError(e){return r(t,this,arguments)}}));exportWebAssemblyErrorCauseWrapper("CompileError",(function(t){return function CompileError(e){return r(t,this,arguments)}}));exportWebAssemblyErrorCauseWrapper("LinkError",(function(t){return function LinkError(e){return r(t,this,arguments)}}));exportWebAssemblyErrorCauseWrapper("RuntimeError",(function(t){return function RuntimeError(e){return r(t,this,arguments)}}))},9803:(t,e,i)=>{var n=i(5861),s=i(4026).findLastIndex,r=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function findLastIndex(t){return s(r(this),t,arguments.length>1?arguments[1]:void 0)}))},8837:(t,e,i)=>{var n=i(5861),s=i(4026).findLast,r=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function findLast(t){return s(r(this),t,arguments.length>1?arguments[1]:void 0)}))},8347:(t,e,i)=>{var n=i(9298),s=i(2026),r=i(5861),a=i(451),o=i(9892),l=i(2007),h=i(8154),c=n.RangeError,d=n.Int8Array,u=d&&d.prototype,p=u&&u.set,f=r.aTypedArray,g=r.exportTypedArrayMethod,m=!h((function(){var t=new Uint8ClampedArray(2);s(p,t,{length:1,0:3},1);return 3!==t[1]})),v=m&&r.NATIVE_ARRAY_BUFFER_VIEWS&&h((function(){var t=new d(2);t.set(1);t.set("2",1);return 0!==t[0]||2!==t[1]}));g("set",(function set(t){f(this);var e=o(arguments.length>1?arguments[1]:void 0,1),i=l(t);if(m)return s(p,this,i,e);var n=this.length,r=a(i),h=0;if(r+e>n)throw new c("Wrong length");for(;h<r;)this[e+h]=i[h++]}),!m||v)},7995:(t,e,i)=>{var n=i(2304),s=i(5861),r=s.aTypedArray,a=s.exportTypedArrayMethod,o=s.getTypedArrayConstructor;a("toReversed",(function toReversed(){return n(r(this),o(this))}))},62:(t,e,i)=>{var n=i(5861),s=i(8403),r=i(1782),a=i(7003),o=n.aTypedArray,l=n.getTypedArrayConstructor,h=n.exportTypedArrayMethod,c=s(n.TypedArrayPrototype.sort);h("toSorted",(function toSorted(t){void 0!==t&&r(t);var e=o(this),i=a(l(e),e);return c(i,t)}))},4602:(t,e,i)=>{var n=i(5886),s=i(5861),r=i(5986),a=i(1003),o=i(212),l=s.aTypedArray,h=s.getTypedArrayConstructor,c=s.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();c("with",{with:function(t,e){var i=l(this),s=a(t),c=r(i)?o(e):+e;return n(i,h(i),s,c)}}.with,!d)},344:(t,e,i)=>{var n=i(940),s=i(9691),r=i(582),a=ArrayBuffer.prototype;n&&!("detached"in a)&&s(a,"detached",{configurable:!0,get:function detached(){return r(this)}})},7583:(t,e,i)=>{var n=i(4978),s=i(4358);s&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function transferToFixedLength(){return s(this,arguments.length?arguments[0]:void 0,!1)}})},4305:(t,e,i)=>{var n=i(4978),s=i(4358);s&&n({target:"ArrayBuffer",proto:!0},{transfer:function transfer(){return s(this,arguments.length?arguments[0]:void 0,!0)}})},7121:(t,e,i)=>{var n=i(4978),s=i(9298),r=i(5834),a=i(7316),o=i(2176),l=i(9293),h=i(8154),c=i(936),d=i(2292),u=i(5238).IteratorPrototype,p=i(2554),f=d("toStringTag"),g=TypeError,m=s.Iterator,v=p||!a(m)||m.prototype!==u||!h((function(){m({})})),b=function Iterator(){r(this,u);if(o(this)===u)throw new g("Abstract class Iterator not directly constructable")};c(u,f)||l(u,f,"Iterator");!v&&c(u,"constructor")&&u.constructor!==Object||l(u,"constructor",b);b.prototype=u;n({global:!0,constructor:!0,forced:v},{Iterator:b})},385:(t,e,i)=>{var n=i(4978),s=i(6837),r=i(1782),a=i(4719),o=i(9235);n({target:"Iterator",proto:!0,real:!0},{every:function every(t){a(this);r(t);var e=o(this),i=0;return!s(e,(function(e,n){if(!t(e,i++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},2993:(t,e,i)=>{var n=i(4978),s=i(2026),r=i(1782),a=i(4719),o=i(9235),l=i(375),h=i(5723),c=i(2554),d=l((function(){for(var t,e,i=this.iterator,n=this.predicate,r=this.next;;){t=a(s(r,i));if(this.done=!!t.done)return;e=t.value;if(h(i,n,[e,this.counter++],!0))return e}}));n({target:"Iterator",proto:!0,real:!0,forced:c},{filter:function filter(t){a(this);r(t);return new d(o(this),{predicate:t})}})},8497:(t,e,i)=>{var n=i(4978),s=i(2026),r=i(1782),a=i(4719),o=i(9235),l=i(9115),h=i(375),c=i(3316),d=i(2554),u=h((function(){for(var t,e,i=this.iterator,n=this.mapper;;){if(e=this.inner)try{if(!(t=a(s(e.next,e.iterator))).done)return t.value;this.inner=null}catch(t){c(i,"throw",t)}t=a(s(this.next,i));if(this.done=!!t.done)return;try{this.inner=l(n(t.value,this.counter++),!1)}catch(t){c(i,"throw",t)}}}));n({target:"Iterator",proto:!0,real:!0,forced:d},{flatMap:function flatMap(t){a(this);r(t);return new u(o(this),{mapper:t,inner:null})}})},7944:(t,e,i)=>{var n=i(4978),s=i(8142);n({target:"Iterator",proto:!0,real:!0,forced:i(2554)},{map:s})},8518:(t,e,i)=>{var n=i(4978),s=i(6837),r=i(1782),a=i(4719),o=i(9235);n({target:"Iterator",proto:!0,real:!0},{some:function some(t){a(this);r(t);var e=o(this),i=0;return s(e,(function(e,n){if(t(e,i++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},2808:(t,e,i)=>{var n=i(4978),s=i(940),r=i(9298),a=i(7187),o=i(8403),l=i(2026),h=i(7316),c=i(7633),d=i(6998),u=i(936),p=i(5730),f=i(451),g=i(8947),m=i(8154),v=i(3713),b=i(3663),A=r.JSON,y=r.Number,E=r.SyntaxError,x=A&&A.parse,_=a("Object","keys"),w=Object.getOwnPropertyDescriptor,S=o("".charAt),C=o("".slice),T=o(/./.exec),R=o([].push),M=/^\d$/,P=/^[1-9]$/,k=/^(?:-|\d)$/,D=/^[\t\n\r ]$/,internalize=function(t,e,i,n){var s,r,a,o,h,p=t[e],g=n&&p===n.value,m=g&&"string"==typeof n.source?{source:n.source}:{};if(c(p)){var v=d(p),b=g?n.nodes:v?[]:{};if(v){s=b.length;a=f(p);for(o=0;o<a;o++)internalizeProperty(p,o,internalize(p,""+o,i,o<s?b[o]:void 0))}else{r=_(p);a=f(r);for(o=0;o<a;o++){h=r[o];internalizeProperty(p,h,internalize(p,h,i,u(b,h)?b[h]:void 0))}}}return l(i,t,e,p,m)},internalizeProperty=function(t,e,i){if(s){var n=w(t,e);if(n&&!n.configurable)return}void 0===i?delete t[e]:g(t,e,i)},Node=function(t,e,i,n){this.value=t;this.end=e;this.source=i;this.nodes=n},Context=function(t,e){this.source=t;this.index=e};Context.prototype={fork:function(t){return new Context(this.source,t)},parse:function(){var t=this.source,e=this.skip(D,this.index),i=this.fork(e),n=S(t,e);if(T(k,n))return i.number();switch(n){case"{":return i.object();case"[":return i.array();case'"':return i.string();case"t":return i.keyword(!0);case"f":return i.keyword(!1);case"n":return i.keyword(null)}throw new E('Unexpected character: "'+n+'" at: '+e)},node:function(t,e,i,n,s){return new Node(e,n,t?null:C(this.source,i,n),s)},object:function(){for(var t=this.source,e=this.index+1,i=!1,n={},s={};e<t.length;){e=this.until(['"',"}"],e);if("}"===S(t,e)&&!i){e++;break}var r=this.fork(e).string(),a=r.value;e=r.end;e=this.until([":"],e)+1;e=this.skip(D,e);r=this.fork(e).parse();g(s,a,r);g(n,a,r.value);e=this.until([",","}"],r.end);var o=S(t,e);if(","===o){i=!0;e++}else if("}"===o){e++;break}}return this.node(1,n,this.index,e,s)},array:function(){for(var t=this.source,e=this.index+1,i=!1,n=[],s=[];e<t.length;){e=this.skip(D,e);if("]"===S(t,e)&&!i){e++;break}var r=this.fork(e).parse();R(s,r);R(n,r.value);e=this.until([",","]"],r.end);if(","===S(t,e)){i=!0;e++}else if("]"===S(t,e)){e++;break}}return this.node(1,n,this.index,e,s)},string:function(){var t=this.index,e=v(this.source,this.index+1);return this.node(0,e.value,t,e.end)},number:function(){var t=this.source,e=this.index,i=e;"-"===S(t,i)&&i++;if("0"===S(t,i))i++;else{if(!T(P,S(t,i)))throw new E("Failed to parse number at: "+i);i=this.skip(M,++i)}"."===S(t,i)&&(i=this.skip(M,++i));if("e"===S(t,i)||"E"===S(t,i)){i++;"+"!==S(t,i)&&"-"!==S(t,i)||i++;if(i===(i=this.skip(M,i)))throw new E("Failed to parse number's exponent value at: "+i)}return this.node(0,y(C(t,e,i)),e,i)},keyword:function(t){var e=""+t,i=this.index,n=i+e.length;if(C(this.source,i,n)!==e)throw new E("Failed to parse value at: "+i);return this.node(0,t,i,n)},skip:function(t,e){for(var i=this.source;e<i.length&&T(t,S(i,e));e++);return e},until:function(t,e){e=this.skip(D,e);for(var i=S(this.source,e),n=0;n<t.length;n++)if(t[n]===i)return e;throw new E('Unexpected character: "'+i+'" at: '+e)}};var I=m((function(){var t,e="9007199254740993";x(e,(function(e,i,n){t=n.source}));return t!==e})),L=b&&!m((function(){return 1/x("-0 \t")!=-1/0}));n({target:"JSON",stat:!0,forced:I},{parse:function parse(t,e){return L&&!h(e)?x(t):function(t,e){t=p(t);var i=new Context(t,0,""),n=i.parse(),s=n.value,r=i.skip(D,n.end);if(r<t.length)throw new E('Unexpected extra character: "'+S(t,r)+'" after the parsed data at: '+r);return h(e)?internalize({"":s},"",e,n):s}(t,e)}})},5561:(t,e,i)=>{var n=i(4978),s=i(5656);n({target:"Set",proto:!0,real:!0,forced:!i(507)("difference")},{difference:s})},8587:(t,e,i)=>{var n=i(4978),s=i(8154),r=i(8461);n({target:"Set",proto:!0,real:!0,forced:!i(507)("intersection")||s((function(){return"3,2"!==Array.from(new Set([1,2,3]).intersection(new Set([3,2])))}))},{intersection:r})},3247:(t,e,i)=>{var n=i(4978),s=i(8550);n({target:"Set",proto:!0,real:!0,forced:!i(507)("isDisjointFrom")},{isDisjointFrom:s})},3302:(t,e,i)=>{var n=i(4978),s=i(990);n({target:"Set",proto:!0,real:!0,forced:!i(507)("isSubsetOf")},{isSubsetOf:s})},9490:(t,e,i)=>{var n=i(4978),s=i(194);n({target:"Set",proto:!0,real:!0,forced:!i(507)("isSupersetOf")},{isSupersetOf:s})},5438:(t,e,i)=>{var n=i(4978),s=i(3194);n({target:"Set",proto:!0,real:!0,forced:!i(507)("symmetricDifference")},{symmetricDifference:s})},7914:(t,e,i)=>{var n=i(4978),s=i(5703);n({target:"Set",proto:!0,real:!0,forced:!i(507)("union")},{union:s})},9709:(t,e,i)=>{var n=i(4978),s=i(9298),r=i(7187),a=i(1198),o=i(7744).f,l=i(936),h=i(5834),c=i(7523),d=i(1264),u=i(5050),p=i(34),f=i(940),g=i(2554),m="DOMException",v=r("Error"),b=r(m),A=function DOMException(){h(this,y);var t=arguments.length,e=d(t<1?void 0:arguments[0]),i=d(t<2?void 0:arguments[1],"Error"),n=new b(e,i),s=new v(e);s.name=m;o(n,"stack",a(1,p(s.stack,1)));c(n,this,A);return n},y=A.prototype=b.prototype,E="stack"in new v(m),x="stack"in new b(1,2),_=b&&f&&Object.getOwnPropertyDescriptor(s,m),w=!(!_||_.writable&&_.configurable),S=E&&!w&&!x;n({global:!0,constructor:!0,forced:g||S},{DOMException:S?A:b});var C=r(m),T=C.prototype;if(T.constructor!==C){g||o(T,"constructor",a(1,C));for(var R in u)if(l(u,R)){var M=u[R],P=M.s;l(C,P)||o(C,P,a(6,M.c))}}},3655:(t,e,i)=>{var n=i(7041),s=i(8403),r=i(5730),a=i(2743),o=URLSearchParams,l=o.prototype,h=s(l.append),c=s(l.delete),d=s(l.forEach),u=s([].push),p=new o("a=1&a=2&b=3");p.delete("a",1);p.delete("b",void 0);p+""!="a=2"&&n(l,"delete",(function(t){var e=arguments.length,i=e<2?void 0:arguments[1];if(e&&void 0===i)return c(this,t);var n=[];d(this,(function(t,e){u(n,{key:e,value:t})}));a(e,1);for(var s,o=r(t),l=r(i),p=0,f=0,g=!1,m=n.length;p<m;){s=n[p++];if(g||s.key===o){g=!0;c(this,s.key)}else f++}for(;f<m;)(s=n[f++]).key===o&&s.value===l||h(this,s.key,s.value)}),{enumerable:!0,unsafe:!0})},2555:(t,e,i)=>{var n=i(7041),s=i(8403),r=i(5730),a=i(2743),o=URLSearchParams,l=o.prototype,h=s(l.getAll),c=s(l.has),d=new o("a=1");!d.has("a",2)&&d.has("a",void 0)||n(l,"has",(function has(t){var e=arguments.length,i=e<2?void 0:arguments[1];if(e&&void 0===i)return c(this,t);var n=h(this,t);a(e,1);for(var s=r(i),o=0;o<n.length;)if(n[o++]===s)return!0;return!1}),{enumerable:!0,unsafe:!0})},2202:(t,e,i)=>{var n=i(940),s=i(8403),r=i(9691),a=URLSearchParams.prototype,o=s(a.forEach);n&&!("size"in a)&&r(a,"size",{get:function size(){var t=0;o(this,(function(){t++}));return t},configurable:!0,enumerable:!0})},7640:(t,e,i)=>{i.d(e,{AnnotationLayer:()=>AnnotationLayer,FreeTextAnnotationElement:()=>FreeTextAnnotationElement,InkAnnotationElement:()=>InkAnnotationElement,StampAnnotationElement:()=>StampAnnotationElement});i(4226),i(5561),i(8587),i(3247),i(3302),i(9490),i(5438),i(7914),i(7944),i(7121),i(8497);var n=i(3266),s=i(473),r=i(4780);function makeColorComp(t){return Math.floor(255*Math.max(0,Math.min(1,t))).toString(16).padStart(2,"0")}function scaleAndClamp(t){return Math.max(0,Math.min(255,255*t))}class ColorConverters{static CMYK_G(t){let[e,i,n,s]=t;return["G",1-Math.min(1,.3*e+.59*n+.11*i+s)]}static G_CMYK(t){let[e]=t;return["CMYK",0,0,0,1-e]}static G_RGB(t){let[e]=t;return["RGB",e,e,e]}static G_rgb(t){let[e]=t;e=scaleAndClamp(e);return[e,e,e]}static G_HTML(t){let[e]=t;const i=makeColorComp(e);return`#${i}${i}${i}`}static RGB_G(t){let[e,i,n]=t;return["G",.3*e+.59*i+.11*n]}static RGB_rgb(t){return t.map(scaleAndClamp)}static RGB_HTML(t){return`#${t.map(makeColorComp).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB(t){let[e,i,n,s]=t;return["RGB",1-Math.min(1,e+s),1-Math.min(1,n+s),1-Math.min(1,i+s)]}static CMYK_rgb(t){let[e,i,n,s]=t;return[scaleAndClamp(1-Math.min(1,e+s)),scaleAndClamp(1-Math.min(1,n+s)),scaleAndClamp(1-Math.min(1,i+s))]}static CMYK_HTML(t){const e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}static RGB_CMYK(t){let[e,i,n]=t;const s=1-e,r=1-i,a=1-n;return["CMYK",s,r,a,Math.min(s,r,a)]}}var a=i(8266);const o=1e3,l=new WeakSet;function getRectDims(t){return{width:t[2]-t[0],height:t[3]-t[1]}}class AnnotationElementFactory{static create(t){switch(t.data.annotationType){case n.AnnotationType.LINK:return new LinkAnnotationElement(t);case n.AnnotationType.TEXT:return new TextAnnotationElement(t);case n.AnnotationType.WIDGET:switch(t.data.fieldType){case"Tx":return new TextWidgetAnnotationElement(t);case"Btn":return t.data.radioButton?new RadioButtonWidgetAnnotationElement(t):t.data.checkBox?new CheckboxWidgetAnnotationElement(t):new PushButtonWidgetAnnotationElement(t);case"Ch":return new ChoiceWidgetAnnotationElement(t);case"Sig":return new SignatureWidgetAnnotationElement(t)}return new WidgetAnnotationElement(t);case n.AnnotationType.POPUP:return new PopupAnnotationElement(t);case n.AnnotationType.FREETEXT:return new FreeTextAnnotationElement(t);case n.AnnotationType.LINE:return new LineAnnotationElement(t);case n.AnnotationType.SQUARE:return new SquareAnnotationElement(t);case n.AnnotationType.CIRCLE:return new CircleAnnotationElement(t);case n.AnnotationType.POLYLINE:return new PolylineAnnotationElement(t);case n.AnnotationType.CARET:return new CaretAnnotationElement(t);case n.AnnotationType.INK:return new InkAnnotationElement(t);case n.AnnotationType.POLYGON:return new PolygonAnnotationElement(t);case n.AnnotationType.HIGHLIGHT:return new HighlightAnnotationElement(t);case n.AnnotationType.UNDERLINE:return new UnderlineAnnotationElement(t);case n.AnnotationType.SQUIGGLY:return new SquigglyAnnotationElement(t);case n.AnnotationType.STRIKEOUT:return new StrikeOutAnnotationElement(t);case n.AnnotationType.STAMP:return new StampAnnotationElement(t);case n.AnnotationType.FILEA