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.
21 lines • 1.08 MB
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,r,i,o,a={1483:(t,r,i)=>{i.d(r,{default:()=>d});i(9366),i(6678),i(895),i(2926),i(6180),i(1747),i(2374),i(4226),i(4668),i(1585),i(7121),i(2993),i(7262),i(6770),i(1378),i(7335),i(8649),i(9593),i(171),i(924),i(7942),i(5776),i(3352),i(5598),i(8806),i(5897),i(5057),i(7529),i(3757),i(3655),i(2555),i(2202),i(5666);function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function ownKeys(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),i.push.apply(i,o)}return i}function _objectSpread2(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(i),!0).forEach((function(r){_defineProperty(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}function _defineProperty(t,r,i){(r=function _toPropertyKey(t){var r=function _toPrimitive(t,r){if("object"!==_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,r||"default");if("object"!==_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"===_typeof(r)?r:String(r)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i;return t}function _objectWithoutProperties(t,r){if(null==t)return{};var i,o,a=function _objectWithoutPropertiesLoose(t,r){if(null==t)return{};var i,o,a={},u=Object.keys(t);for(o=0;o<u.length;o++){i=u[o];r.indexOf(i)>=0||(a[i]=t[i])}return a}(t,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(o=0;o<u.length;o++){i=u[o];r.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(a[i]=t[i])}}return a}function _slicedToArray(t,r){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,r){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o,a,u,c,l=[],h=!0,d=!1;try{if(u=(i=i.call(t)).next,0===r){if(Object(i)!==i)return;h=!1}else for(;!(h=(o=u.call(i)).done)&&(l.push(o.value),l.length!==r);h=!0);}catch(t){d=!0,a=t}finally{try{if(!h&&null!=i.return&&(c=i.return(),Object(c)!==c))return}finally{if(d)throw a}}return l}}(t,r)||_unsupportedIterableToArray(t,r)||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.")}()}function _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||_unsupportedIterableToArray(t)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);return"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var i=0,o=new Array(r);i<r;i++)o[i]=t[i];return o}function canvasTest(t){var r,i,o=t.sizes.shift(),a=Math.max(Math.ceil(o[0]),1),u=Math.max(Math.ceil(o[1]),1),c=[a-1,u-1,1,1],l=Date.now(),h="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope;if(h){r=new OffscreenCanvas(1,1);i=new OffscreenCanvas(a,u)}else{(r=document.createElement("canvas")).width=1;r.height=1;(i=document.createElement("canvas")).width=a;i.height=u}var d=r.getContext("2d"),p=i.getContext("2d");if(p){p.fillRect.apply(p,c);d.drawImage(i,a-1,u-1,1,1,0,0,1,1)}var v=d&&0!==d.getImageData(0,0,1,1).data[3],y=Date.now()-l;[r,i].forEach((function(t){t.height=0;t.width=0}));if(h){postMessage({width:a,height:u,benchmark:y,isTestPass:v});!v&&t.sizes.length&&canvasTest(t)}else if(v)t.onSuccess(a,u,y);else{t.onError(a,u,y);t.sizes.length&&canvasTest(t)}return v}var o=[16384,14188,11402,11180,10836,8192,4096,1],a=[8388607,65535,32767,16384,8192,4096,1],u=[4194303,65535,32767,16384,8192,4096,1],c=["onError","onSuccess"],l={max:null,min:1,sizes:[],step:1024,usePromise:!1,useWorker:!1,onError:Function.prototype,onSuccess:Function.prototype},h={};function createSizesArray(t){var r=t.width===t.height,i=1===t.height,o=1===t.width,a=[];if(t.width&&t.height)for(var u=t.min||l.min,c=t.step||l.step,h=Math.max(t.width,t.height);h>=u;){var d=r||i?h:1,p=r||o?h:1;a.push([d,p]);h-=c}else t.sizes.forEach((function(t){var u=r||i?t:1,c=r||o?t:1;a.push([u,c])}));return a}function handleMethod(t){var r=window&&"HTMLCanvasElement"in window,i=window&&"OffscreenCanvas"in window,o=Date.now(),a=t.onError,u=t.onSuccess,l=_objectWithoutProperties(t,c),d=null;if(!r)return!1;if(t.useWorker&&i){var p="\n var canvasTest = ".concat(canvasTest.toString(),";\n onmessage = function(e) {\n canvasTest(e.data);\n };\n "),v=new Blob([p],{type:"application/javascript"}),y=URL.createObjectURL(v);d=new Worker(y);URL.revokeObjectURL(y);d.onmessage=function(t){var r=t.data,i=r.width,a=r.height,u=r.benchmark;if(r.isTestPass){h[o].onSuccess(i,a,u);delete h[o]}else h[o].onError(i,a,u)}}if(t.usePromise)return new Promise((function(r,i){var c=_objectSpread2(_objectSpread2({},t),{},{onError:function onError(r,o,u){var c;if(0===t.sizes.length)c=!0;else{var l=_slicedToArray(t.sizes.slice(-1),1),h=_slicedToArray(l[0],2),d=h[0],p=h[1];c=r===d&&o===p}a(r,o,u);c&&i({width:r,height:o,benchmark:u})},onSuccess:function onSuccess(t,i,o){u(t,i,o);r({width:t,height:i,benchmark:o})}});if(d){var p=c.onError,v=c.onSuccess;h[o]={onError:p,onSuccess:v};d.postMessage(l)}else canvasTest(c)}));if(!d)return canvasTest(t);h[o]={onError:a,onSuccess:u};d.postMessage(l)}var d={maxArea:function maxArea(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=createSizesArray({width:t.max,height:t.max,min:t.min,step:t.step,sizes:_toConsumableArray(o)});return handleMethod(_objectSpread2(_objectSpread2(_objectSpread2({},l),t),{},{sizes:r}))},maxHeight:function maxHeight(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=createSizesArray({width:1,height:t.max,min:t.min,step:t.step,sizes:_toConsumableArray(a)});return handleMethod(_objectSpread2(_objectSpread2(_objectSpread2({},l),t),{},{sizes:r}))},maxWidth:function maxWidth(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=createSizesArray({width:t.max,height:1,min:t.min,step:t.step,sizes:_toConsumableArray(u)});return handleMethod(_objectSpread2(_objectSpread2(_objectSpread2({},l),t),{},{sizes:r}))},test:function test(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=_objectSpread2(_objectSpread2({},l),t);r.sizes=_toConsumableArray(r.sizes);r.width&&r.height&&(r.sizes=[[r.width,r.height]]);return handleMethod(r)}}},1782:(t,r,i)=>{var o=i(7316),a=i(9762),u=TypeError;t.exports=function(t){if(o(t))return t;throw new u(a(t)+" is not a function")}},7073:(t,r,i)=>{var o=i(1694),a=i(9762),u=TypeError;t.exports=function(t){if(o(t))return t;throw new u(a(t)+" is not a constructor")}},4958:(t,r,i)=>{var o=i(7316),a=String,u=TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw new u("Can't set "+a(t)+" as a prototype")}},5690:(t,r,i)=>{var o=i(23).has;t.exports=function(t){o(t);return t}},5463:(t,r,i)=>{var o=i(2292),a=i(6941),u=i(7744).f,c=o("unscopables"),l=Array.prototype;void 0===l[c]&&u(l,c,{configurable:!0,value:a(null)});t.exports=function(t){l[c][t]=!0}},9047:(t,r,i)=>{var o=i(6819).charAt;t.exports=function(t,r,i){return r+(i?o(t,r).length:1)}},5834:(t,r,i)=>{var o=i(2658),a=TypeError;t.exports=function(t,r){if(o(r,t))return t;throw new a("Incorrect invocation")}},4719:(t,r,i)=>{var o=i(7633),a=String,u=TypeError;t.exports=function(t){if(o(t))return t;throw new u(a(t)+" is not an object")}},5115:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7585:(t,r,i)=>{var o=i(1299),a=i(8374),u=TypeError;t.exports=o(ArrayBuffer.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==a(t))throw new u("ArrayBuffer expected");return t.byteLength}},582:(t,r,i)=>{var o=i(8403),a=i(7585),u=o(ArrayBuffer.prototype.slice);t.exports=function(t){if(0!==a(t))return!1;try{u(t,0,0);return!1}catch(t){return!0}}},6944:(t,r,i)=>{var o=i(8154);t.exports=o((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},4358:(t,r,i)=>{var o=i(9298),a=i(8403),u=i(1299),c=i(9548),l=i(582),h=i(7585),d=i(8126),p=i(4837),v=o.structuredClone,y=o.ArrayBuffer,g=o.DataView,m=o.TypeError,_=Math.min,b=y.prototype,w=g.prototype,P=a(b.slice),D=u(b,"resizable","get"),E=u(b,"maxByteLength","get"),x=a(w.getInt8),S=a(w.setInt8);t.exports=(p||d)&&function(t,r,i){var o,a=h(t),u=void 0===r?a:c(r),b=!D||!D(t);if(l(t))throw new m("ArrayBuffer is detached");if(p){t=v(t,{transfer:[t]});if(a===u&&(i||b))return t}if(a>=u&&(!i||b))o=P(t,0,u);else{var w=i&&!b&&E?{maxByteLength:E(t)}:void 0;o=new y(u,w);for(var A=new g(t),C=new g(o),k=_(u,a),I=0;I<k;I++)S(C,I,x(A,I))}p||d(t);return o}},5861:(t,r,i)=>{var o,a,u,c=i(5115),l=i(940),h=i(9298),d=i(7316),p=i(7633),v=i(936),y=i(8329),g=i(9762),m=i(9293),_=i(7041),b=i(9691),w=i(2658),P=i(2176),D=i(9763),E=i(2292),x=i(7561),S=i(1649),A=S.enforce,C=S.get,k=h.Int8Array,I=k&&k.prototype,T=h.Uint8ClampedArray,L=T&&T.prototype,O=k&&P(k),M=I&&P(I),B=Object.prototype,G=h.TypeError,R=E("toStringTag"),j=x("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",V=c&&!!D&&"Opera"!==y(h.opera),W=!1,z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(t){var r=P(t);if(p(r)){var i=C(r);return i&&v(i,N)?i[N]:getTypedArrayConstructor(r)}},isTypedArray=function(t){if(!p(t))return!1;var r=y(t);return v(z,r)||v(H,r)};for(o in z)(u=(a=h[o])&&a.prototype)?A(u)[N]=a:V=!1;for(o in H)(u=(a=h[o])&&a.prototype)&&(A(u)[N]=a);if(!V||!d(O)||O===Function.prototype){O=function TypedArray(){throw new G("Incorrect invocation")};if(V)for(o in z)h[o]&&D(h[o],O)}if(!V||!M||M===B){M=O.prototype;if(V)for(o in z)h[o]&&D(h[o].prototype,M)}V&&P(L)!==M&&D(L,M);if(l&&!v(M,R)){W=!0;b(M,R,{configurable:!0,get:function(){return p(this)?this[j]:void 0}});for(o in z)h[o]&&m(h[o],j,o)}t.exports={NATIVE_ARRAY_BUFFER_VIEWS:V,TYPED_ARRAY_TAG:W&&j,aTypedArray:function(t){if(isTypedArray(t))return t;throw new G("Target is not a typed array")},aTypedArrayConstructor:function(t){if(d(t)&&(!D||w(O,t)))return t;throw new G(g(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,r,i,o){if(l){if(i)for(var a in z){var u=h[a];if(u&&v(u.prototype,t))try{delete u.prototype[t]}catch(i){try{u.prototype[t]=r}catch(t){}}}M[t]&&!i||_(M,t,i?r:V&&I[t]||r,o)}},exportTypedArrayStaticMethod:function(t,r,i){var o,a;if(l){if(D){if(i)for(o in z)if((a=h[o])&&v(a,t))try{delete a[t]}catch(t){}if(O[t]&&!i)return;try{return _(O,t,i?r:V&&O[t]||r)}catch(t){}}for(o in z)!(a=h[o])||a[t]&&!i||_(a,t,r)}},getTypedArrayConstructor:getTypedArrayConstructor,isView:function isView(t){if(!p(t))return!1;var r=y(t);return"DataView"===r||v(z,r)||v(H,r)},isTypedArray:isTypedArray,TypedArray:O,TypedArrayPrototype:M}},5050:(t,r,i)=>{var o=i(9298),a=i(8403),u=i(940),c=i(5115),l=i(5145),h=i(9293),d=i(9691),p=i(6880),v=i(8154),y=i(5834),g=i(1003),m=i(8293),_=i(9548),b=i(796),w=i(3106),P=i(2176),D=i(9763),E=i(5455).f,x=i(8041),S=i(6071),A=i(7536),C=i(1649),k=l.PROPER,I=l.CONFIGURABLE,T="ArrayBuffer",L="DataView",O="prototype",M="Wrong index",B=C.getterFor(T),G=C.getterFor(L),R=C.set,j=o[T],N=j,V=N&&N[O],W=o[L],z=W&&W[O],H=Object.prototype,U=o.Array,K=o.RangeError,$=a(x),Y=a([].reverse),q=w.pack,X=w.unpack,packInt8=function(t){return[255&t]},packInt16=function(t){return[255&t,t>>8&255]},packInt32=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},unpackInt32=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},packFloat32=function(t){return q(b(t),23,4)},packFloat64=function(t){return q(t,52,8)},addGetter=function(t,r,i){d(t[O],r,{configurable:!0,get:function(){return i(this)[r]}})},get=function(t,r,i,o){var a=G(t),u=_(i),c=!!o;if(u+r>a.byteLength)throw new K(M);var l=a.bytes,h=u+a.byteOffset,d=S(l,h,h+r);return c?d:Y(d)},set=function(t,r,i,o,a,u){var c=G(t),l=_(i),h=o(+a),d=!!u;if(l+r>c.byteLength)throw new K(M);for(var p=c.bytes,v=l+c.byteOffset,y=0;y<r;y++)p[v+y]=h[d?y:r-y-1]};if(c){var Z=k&&j.name!==T;if(v((function(){j(1)}))&&v((function(){new j(-1)}))&&!v((function(){new j;new j(1.5);new j(NaN);return 1!==j.length||Z&&!I})))Z&&I&&h(j,"name",T);else{(N=function ArrayBuffer(t){y(this,V);return new j(_(t))})[O]=V;for(var Q,J=E(j),ee=0;J.length>ee;)(Q=J[ee++])in N||h(N,Q,j[Q]);V.constructor=N}D&&P(z)!==H&&D(z,H);var te=new W(new N(2)),re=a(z.setInt8);te.setInt8(0,2147483648);te.setInt8(1,2147483649);!te.getInt8(0)&&te.getInt8(1)||p(z,{setInt8:function setInt8(t,r){re(this,t,r<<24>>24)},setUint8:function setUint8(t,r){re(this,t,r<<24>>24)}},{unsafe:!0})}else{V=(N=function ArrayBuffer(t){y(this,V);var r=_(t);R(this,{type:T,bytes:$(U(r),0),byteLength:r});if(!u){this.byteLength=r;this.detached=!1}})[O];z=(W=function DataView(t,r,i){y(this,z);y(t,V);var o=B(t),a=o.byteLength,c=g(r);if(c<0||c>a)throw new K("Wrong offset");if(c+(i=void 0===i?a-c:m(i))>a)throw new K("Wrong length");R(this,{type:L,buffer:t,byteLength:i,byteOffset:c,bytes:o.bytes});if(!u){this.buffer=t;this.byteLength=i;this.byteOffset=c}})[O];if(u){addGetter(N,"byteLength",B);addGetter(W,"buffer",G);addGetter(W,"byteLength",G);addGetter(W,"byteOffset",G)}p(z,{getInt8:function getInt8(t){return get(this,1,t)[0]<<24>>24},getUint8:function getUint8(t){return get(this,1,t)[0]},getInt16:function getInt16(t){var r=get(this,2,t,arguments.length>1&&arguments[1]);return(r[1]<<8|r[0])<<16>>16},getUint16:function getUint16(t){var r=get(this,2,t,arguments.length>1&&arguments[1]);return r[1]<<8|r[0]},getInt32:function getInt32(t){return unpackInt32(get(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function getUint32(t){return unpackInt32(get(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function getFloat32(t){return X(get(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function getFloat64(t){return X(get(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function setInt8(t,r){set(this,1,t,packInt8,r)},setUint8:function setUint8(t,r){set(this,1,t,packInt8,r)},setInt16:function setInt16(t,r){set(this,2,t,packInt16,r,arguments.length>2&&arguments[2])},setUint16:function setUint16(t,r){set(this,2,t,packInt16,r,arguments.length>2&&arguments[2])},setInt32:function setInt32(t,r){set(this,4,t,packInt32,r,arguments.length>2&&arguments[2])},setUint32:function setUint32(t,r){set(this,4,t,packInt32,r,arguments.length>2&&arguments[2])},setFloat32:function setFloat32(t,r){set(this,4,t,packFloat32,r,arguments.length>2&&arguments[2])},setFloat64:function setFloat64(t,r){set(this,8,t,packFloat64,r,arguments.length>2&&arguments[2])}})}A(N,T);A(W,L);t.exports={ArrayBuffer:N,DataView:W}},1474:(t,r,i)=>{var o=i(2007),a=i(6985),u=i(451),c=i(2322),l=Math.min;t.exports=[].copyWithin||function copyWithin(t,r){var i=o(this),h=u(i),d=a(t,h),p=a(r,h),v=arguments.length>2?arguments[2]:void 0,y=l((void 0===v?h:a(v,h))-p,h-d),g=1;if(p<d&&d<p+y){g=-1;p+=y-1;d+=y-1}for(;y-- >0;){p in i?i[d]=i[p]:c(i,d);d+=g;p+=g}return i}},8041:(t,r,i)=>{var o=i(2007),a=i(6985),u=i(451);t.exports=function fill(t){for(var r=o(this),i=u(r),c=arguments.length,l=a(c>1?arguments[1]:void 0,i),h=c>2?arguments[2]:void 0,d=void 0===h?i:a(h,i);d>l;)r[l++]=t;return r}},8208:(t,r,i)=>{var o=i(2423).forEach,a=i(8321)("forEach");t.exports=a?[].forEach:function forEach(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}},7003:(t,r,i)=>{var o=i(451);t.exports=function(t,r,i){for(var a=0,u=arguments.length>2?i:o(r),c=new t(u);u>a;)c[a]=r[a++];return c}},7609:(t,r,i)=>{var o=i(7789),a=i(2026),u=i(2007),c=i(5723),l=i(5191),h=i(1694),d=i(451),p=i(8947),v=i(7612),y=i(273),g=Array;t.exports=function from(t){var r=u(t),i=h(this),m=arguments.length,_=m>1?arguments[1]:void 0,b=void 0!==_;b&&(_=o(_,m>2?arguments[2]:void 0));var w,P,D,E,x,S,A=y(r),C=0;if(!A||this===g&&l(A)){w=d(r);P=i?new this(w):g(w);for(;w>C;C++){S=b?_(r[C],C):r[C];p(P,C,S)}}else{x=(E=v(r,A)).next;P=i?new this:[];for(;!(D=a(x,E)).done;C++){S=b?c(E,_,[D.value,C],!0):D.value;p(P,C,S)}}P.length=C;return P}},9773:(t,r,i)=>{var o=i(4115),a=i(6985),u=i(451),createMethod=function(t){return function(r,i,c){var l,h=o(r),d=u(h),p=a(c,d);if(t&&i!=i){for(;d>p;)if((l=h[p++])!=l)return!0}else for(;d>p;p++)if((t||p in h)&&h[p]===i)return t||p||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4026:(t,r,i)=>{var o=i(7789),a=i(3622),u=i(2007),c=i(451),createMethod=function(t){var r=1===t;return function(i,l,h){for(var d,p=u(i),v=a(p),y=c(v),g=o(l,h);y-- >0;)if(g(d=v[y],y,p))switch(t){case 0:return d;case 1:return y}return r?-1:void 0}};t.exports={findLast:createMethod(0),findLastIndex:createMethod(1)}},2423:(t,r,i)=>{var o=i(7789),a=i(8403),u=i(3622),c=i(2007),l=i(451),h=i(8097),d=a([].push),createMethod=function(t){var r=1===t,i=2===t,a=3===t,p=4===t,v=6===t,y=7===t,g=5===t||v;return function(m,_,b,w){for(var P,D,E=c(m),x=u(E),S=l(x),A=o(_,b),C=0,k=w||h,I=r?k(m,S):i||y?k(m,0):void 0;S>C;C++)if(g||C in x){D=A(P=x[C],C,E);if(t)if(r)I[C]=D;else if(D)switch(t){case 3:return!0;case 5:return P;case 6:return C;case 2:d(I,P)}else switch(t){case 4:return!1;case 7:d(I,P)}}return v?-1:a||p?p:I}};t.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}},8671:(t,r,i)=>{var o=i(7294),a=i(4115),u=i(1003),c=i(451),l=i(8321),h=Math.min,d=[].lastIndexOf,p=!!d&&1/[1].lastIndexOf(1,-0)<0,v=l("lastIndexOf"),y=p||!v;t.exports=y?function lastIndexOf(t){if(p)return o(d,this,arguments)||0;var r=a(this),i=c(r),l=i-1;arguments.length>1&&(l=h(l,u(arguments[1])));l<0&&(l=i+l);for(;l>=0;l--)if(l in r&&r[l]===t)return l||0;return-1}:d},3577:(t,r,i)=>{var o=i(8154),a=i(2292),u=i(2171),c=a("species");t.exports=function(t){return u>=51||!o((function(){var r=[];(r.constructor={})[c]=function(){return{foo:1}};return 1!==r[t](Boolean).foo}))}},8321:(t,r,i)=>{var o=i(8154);t.exports=function(t,r){var i=[][t];return!!i&&o((function(){i.call(null,r||function(){return 1},1)}))}},2741:(t,r,i)=>{var o=i(1782),a=i(2007),u=i(3622),c=i(451),l=TypeError,createMethod=function(t){return function(r,i,h,d){var p=a(r),v=u(p),y=c(p);o(i);var g=t?y-1:0,m=t?-1:1;if(h<2)for(;;){if(g in v){d=v[g];g+=m;break}g+=m;if(t?g<0:y<=g)throw new l("Reduce of empty array with no initial value")}for(;t?g>=0:y>g;g+=m)g in v&&(d=i(d,v[g],g,p));return d}};t.exports={left:createMethod(!1),right:createMethod(!0)}},6661:(t,r,i)=>{var o=i(940),a=i(6998),u=TypeError,c=Object.getOwnPropertyDescriptor,l=o&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=l?function(t,r){if(a(t)&&!c(t,"length").writable)throw new u("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r}},6071:(t,r,i)=>{var o=i(6985),a=i(451),u=i(8947),c=Array,l=Math.max;t.exports=function(t,r,i){for(var h=a(t),d=o(r,h),p=o(void 0===i?h:i,h),v=c(l(p-d,0)),y=0;d<p;d++,y++)u(v,y,t[d]);v.length=y;return v}},2251:(t,r,i)=>{var o=i(8403);t.exports=o([].slice)},4689:(t,r,i)=>{var o=i(6071),a=Math.floor,mergeSort=function(t,r){var i=t.length,u=a(i/2);return i<8?insertionSort(t,r):merge(t,mergeSort(o(t,0,u),r),mergeSort(o(t,u),r),r)},insertionSort=function(t,r){for(var i,o,a=t.length,u=1;u<a;){o=u;i=t[u];for(;o&&r(t[o-1],i)>0;)t[o]=t[--o];o!==u++&&(t[o]=i)}return t},merge=function(t,r,i,o){for(var a=r.length,u=i.length,c=0,l=0;c<a||l<u;)t[c+l]=c<a&&l<u?o(r[c],i[l])<=0?r[c++]:i[l++]:c<a?r[c++]:i[l++];return t};t.exports=mergeSort},751:(t,r,i)=>{var o=i(6998),a=i(1694),u=i(7633),c=i(2292)("species"),l=Array;t.exports=function(t){var r;if(o(t)){r=t.constructor;(a(r)&&(r===l||o(r.prototype))||u(r)&&null===(r=r[c]))&&(r=void 0)}return void 0===r?l:r}},8097:(t,r,i)=>{var o=i(751);t.exports=function(t,r){return new(o(t))(0===r?0:r)}},2304:(t,r,i)=>{var o=i(451);t.exports=function(t,r){for(var i=o(t),a=new r(i),u=0;u<i;u++)a[u]=t[i-u-1];return a}},5886:(t,r,i)=>{var o=i(451),a=i(1003),u=RangeError;t.exports=function(t,r,i,c){var l=o(t),h=a(i),d=h<0?l+h:h;if(d>=l||d<0)throw new u("Incorrect index");for(var p=new r(l),v=0;v<l;v++)p[v]=v===d?c:t[v];return p}},5723:(t,r,i)=>{var o=i(4719),a=i(3316);t.exports=function(t,r,i,u){try{return u?r(o(i)[0],i[1]):r(i)}catch(r){a(t,"throw",r)}}},1374:(t,r,i)=>{var o=i(2292)("iterator"),a=!1;try{var u=0,c={next:function(){return{done:!!u++}},return:function(){a=!0}};c[o]=function(){return this};Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,r){try{if(!r&&!a)return!1}catch(t){return!1}var i=!1;try{var u={};u[o]=function(){return{next:function(){return{done:i=!0}}}};t(u)}catch(t){}return i}},8374:(t,r,i)=>{var o=i(8403),a=o({}.toString),u=o("".slice);t.exports=function(t){return u(a(t),8,-1)}},8329:(t,r,i)=>{var o=i(3077),a=i(7316),u=i(8374),c=i(2292)("toStringTag"),l=Object,h="Arguments"===u(function(){return arguments}());t.exports=o?u:function(t){var r,i,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,r){try{return t[r]}catch(t){}}(r=l(t),c))?i:h?u(r):"Object"===(o=u(r))&&a(r.callee)?"Arguments":o}},6122:(t,r,i)=>{var o=i(6941),a=i(9691),u=i(6880),c=i(7789),l=i(5834),h=i(3734),d=i(6837),p=i(7301),v=i(1111),y=i(5963),g=i(940),m=i(4694).fastKey,_=i(1649),b=_.set,w=_.getterFor;t.exports={getConstructor:function(t,r,i,p){var v=t((function(t,a){l(t,y);b(t,{type:r,index:o(null),first:void 0,last:void 0,size:0});g||(t.size=0);h(a)||d(a,t[p],{that:t,AS_ENTRIES:i})})),y=v.prototype,_=w(r),define=function(t,r,i){var o,a,u=_(t),c=getEntry(t,r);if(c)c.value=i;else{u.last=c={index:a=m(r,!0),key:r,value:i,previous:o=u.last,next:void 0,removed:!1};u.first||(u.first=c);o&&(o.next=c);g?u.size++:t.size++;"F"!==a&&(u.index[a]=c)}return t},getEntry=function(t,r){var i,o=_(t),a=m(r);if("F"!==a)return o.index[a];for(i=o.first;i;i=i.next)if(i.key===r)return i};u(y,{clear:function clear(){for(var t=_(this),r=t.index,i=t.first;i;){i.removed=!0;i.previous&&(i.previous=i.previous.next=void 0);delete r[i.index];i=i.next}t.first=t.last=void 0;g?t.size=0:this.size=0},delete:function(t){var r=this,i=_(r),o=getEntry(r,t);if(o){var a=o.next,u=o.previous;delete i.index[o.index];o.removed=!0;u&&(u.next=a);a&&(a.previous=u);i.first===o&&(i.first=a);i.last===o&&(i.last=u);g?i.size--:r.size--}return!!o},forEach:function forEach(t){for(var r,i=_(this),o=c(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:i.first;){o(r.value,r.key,this);for(;r&&r.removed;)r=r.previous}},has:function has(t){return!!getEntry(this,t)}});u(y,i?{get:function get(t){var r=getEntry(this,t);return r&&r.value},set:function set(t,r){return define(this,0===t?0:t,r)}}:{add:function add(t){return define(this,t=0===t?0:t,t)}});g&&a(y,"size",{configurable:!0,get:function(){return _(this).size}});return v},setStrong:function(t,r,i){var o=r+" Iterator",a=w(r),u=w(o);p(t,r,(function(t,r){b(this,{type:o,target:t,state:a(t),kind:r,last:void 0})}),(function(){for(var t=u(this),r=t.kind,i=t.last;i&&i.removed;)i=i.previous;if(!t.target||!(t.last=i=i?i.next:t.state.first)){t.target=void 0;return v(void 0,!0)}return v("keys"===r?i.key:"values"===r?i.value:[i.key,i.value],!1)}),i?"entries":"values",!i,!0);y(r)}}},9609:(t,r,i)=>{var o=i(8403),a=i(6880),u=i(4694).getWeakData,c=i(5834),l=i(4719),h=i(3734),d=i(7633),p=i(6837),v=i(2423),y=i(936),g=i(1649),m=g.set,_=g.getterFor,b=v.find,w=v.findIndex,P=o([].splice),D=0,uncaughtFrozenStore=function(t){return t.frozen||(t.frozen=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.entries=[]},findUncaughtFrozen=function(t,r){return b(t.entries,(function(t){return t[0]===r}))};UncaughtFrozenStore.prototype={get:function(t){var r=findUncaughtFrozen(this,t);if(r)return r[1]},has:function(t){return!!findUncaughtFrozen(this,t)},set:function(t,r){var i=findUncaughtFrozen(this,t);i?i[1]=r:this.entries.push([t,r])},delete:function(t){var r=w(this.entries,(function(r){return r[0]===t}));~r&&P(this.entries,r,1);return!!~r}};t.exports={getConstructor:function(t,r,i,o){var v=t((function(t,a){c(t,g);m(t,{type:r,id:D++,frozen:void 0});h(a)||p(a,t[o],{that:t,AS_ENTRIES:i})})),g=v.prototype,b=_(r),define=function(t,r,i){var o=b(t),a=u(l(r),!0);!0===a?uncaughtFrozenStore(o).set(r,i):a[o.id]=i;return t};a(g,{delete:function(t){var r=b(this);if(!d(t))return!1;var i=u(t);return!0===i?uncaughtFrozenStore(r).delete(t):i&&y(i,r.id)&&delete i[r.id]},has:function has(t){var r=b(this);if(!d(t))return!1;var i=u(t);return!0===i?uncaughtFrozenStore(r).has(t):i&&y(i,r.id)}});a(g,i?{get:function get(t){var r=b(this);if(d(t)){var i=u(t);return!0===i?uncaughtFrozenStore(r).get(t):i?i[r.id]:void 0}},set:function set(t,r){return define(this,t,r)}}:{add:function add(t){return define(this,t,!0)}});return v}}},4981:(t,r,i)=>{var o=i(4978),a=i(9298),u=i(8403),c=i(7007),l=i(7041),h=i(4694),d=i(6837),p=i(5834),v=i(7316),y=i(3734),g=i(7633),m=i(8154),_=i(1374),b=i(7536),w=i(7523);t.exports=function(t,r,i){var P=-1!==t.indexOf("Map"),D=-1!==t.indexOf("Weak"),E=P?"set":"add",x=a[t],S=x&&x.prototype,A=x,C={},fixMethod=function(t){var r=u(S[t]);l(S,t,"add"===t?function add(t){r(this,0===t?0:t);return this}:"delete"===t?function(t){return!(D&&!g(t))&&r(this,0===t?0:t)}:"get"===t?function get(t){return D&&!g(t)?void 0:r(this,0===t?0:t)}:"has"===t?function has(t){return!(D&&!g(t))&&r(this,0===t?0:t)}:function set(t,i){r(this,0===t?0:t,i);return this})};if(c(t,!v(x)||!(D||S.forEach&&!m((function(){(new x).entries().next()}))))){A=i.getConstructor(r,t,P,E);h.enable()}else if(c(t,!0)){var k=new A,I=k[E](D?{}:-0,1)!==k,T=m((function(){k.has(1)})),L=_((function(t){new x(t)})),O=!D&&m((function(){for(var t=new x,r=5;r--;)t[E](r,r);return!t.has(-0)}));if(!L){(A=r((function(t,r){p(t,S);var i=w(new x,t,A);y(r)||d(r,i[E],{that:i,AS_ENTRIES:P});return i}))).prototype=S;S.constructor=A}if(T||O){fixMethod("delete");fixMethod("has");P&&fixMethod("get")}(O||I)&&fixMethod(E);D&&S.clear&&delete S.clear}C[t]=A;o({global:!0,constructor:!0,forced:A!==x},C);b(A,t);D||i.setStrong(A,t,P);return A}},1425:(t,r,i)=>{var o=i(936),a=i(8953),u=i(5764),c=i(7744);t.exports=function(t,r,i){for(var l=a(r),h=c.f,d=u.f,p=0;p<l.length;p++){var v=l[p];o(t,v)||i&&o(i,v)||h(t,v,d(r,v))}}},2280:(t,r,i)=>{var o=i(2292)("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(i){try{r[o]=!1;return"/./"[t](r)}catch(t){}}return!1}},7888:(t,r,i)=>{var o=i(8154);t.exports=!o((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},1111:t=>{t.exports=function(t,r){return{value:t,done:r}}},9293:(t,r,i)=>{var o=i(940),a=i(7744),u=i(1198);t.exports=o?function(t,r,i){return a.f(t,r,u(1,i))}:function(t,r,i){t[r]=i;return t}},1198:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},8947:(t,r,i)=>{var o=i(4871),a=i(7744),u=i(1198);t.exports=function(t,r,i){var c=o(r);c in t?a.f(t,c,u(0,i)):t[c]=i}},3612:(t,r,i)=>{var o=i(4719),a=i(2923),u=TypeError;t.exports=function(t){o(this);if("string"===t||"default"===t)t="string";else if("number"!==t)throw new u("Incorrect hint");return a(this,t)}},9691:(t,r,i)=>{var o=i(9687),a=i(7744);t.exports=function(t,r,i){i.get&&o(i.get,r,{getter:!0});i.set&&o(i.set,r,{setter:!0});return a.f(t,r,i)}},7041:(t,r,i)=>{var o=i(7316),a=i(7744),u=i(9687),c=i(6e3);t.exports=function(t,r,i,l){l||(l={});var h=l.enumerable,d=void 0!==l.name?l.name:r;o(i)&&u(i,d,l);if(l.global)h?t[r]=i:c(r,i);else{try{l.unsafe?t[r]&&(h=!0):delete t[r]}catch(t){}h?t[r]=i:a.f(t,r,{value:i,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return t}},6880:(t,r,i)=>{var o=i(7041);t.exports=function(t,r,i){for(var a in r)o(t,a,r[a],i);return t}},6e3:(t,r,i)=>{var o=i(9298),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}},2322:(t,r,i)=>{var o=i(9762),a=TypeError;t.exports=function(t,r){if(!delete t[r])throw new a("Cannot delete property "+o(r)+" of "+o(t))}},940:(t,r,i)=>{var o=i(8154);t.exports=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8126:(t,r,i)=>{var o,a,u,c,l=i(9298),h=i(2276),d=i(4837),p=l.structuredClone,v=l.ArrayBuffer,y=l.MessageChannel,g=!1;if(d)g=function(t){p(t,{transfer:[t]})};else if(v)try{y||(o=h("worker_threads"))&&(y=o.MessageChannel);if(y){a=new y;u=new v(2);c=function(t){a.port1.postMessage(null,[t])};if(2===u.byteLength){c(u);0===u.byteLength&&(g=c)}}}catch(t){}t.exports=g},1558:t=>{var r="object"==typeof document&&document.all,i=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:i}},5584:(t,r,i)=>{var o=i(9298),a=i(7633),u=o.document,c=a(u)&&a(u.createElement);t.exports=function(t){return c?u.createElement(t):{}}},4287:t=>{var r=TypeError;t.exports=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}},2411: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}},3942:(t,r,i)=>{var o=i(5584)("span").classList,a=o&&o.constructor&&o.constructor.prototype;t.exports=a===Object.prototype?void 0:a},7614:(t,r,i)=>{var o=i(234).match(/firefox\/(\d+)/i);t.exports=!!o&&+o[1]},3413:(t,r,i)=>{var o=i(8471),a=i(4864);t.exports=!o&&!a&&"object"==typeof window&&"object"==typeof document},8471:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},7463:(t,r,i)=>{var o=i(234);t.exports=/MSIE|Trident/.test(o)},1458:(t,r,i)=>{var o=i(234);t.exports=/ipad|iphone|ipod/i.test(o)&&"undefined"!=typeof Pebble},2589:(t,r,i)=>{var o=i(234);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(o)},4864:(t,r,i)=>{var o=i(9298),a=i(8374);t.exports="process"===a(o.process)},8173:(t,r,i)=>{var o=i(234);t.exports=/web0s(?!.*chrome)/i.test(o)},234:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},2171:(t,r,i)=>{var o,a,u=i(9298),c=i(234),l=u.process,h=u.Deno,d=l&&l.versions||h&&h.version,p=d&&d.v8;p&&(a=(o=p.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1]));!a&&c&&(!(o=c.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=c.match(/Chrome\/(\d+)/))&&(a=+o[1]);t.exports=a},7906:(t,r,i)=>{var o=i(234).match(/AppleWebKit\/(\d+)\./);t.exports=!!o&&+o[1]},298:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},34:(t,r,i)=>{var o=i(8403),a=Error,u=o("".replace),c=String(new a("zxcasd").stack),l=/\n\s*at [^:]*:[^\n]*/,h=l.test(c);t.exports=function(t,r){if(h&&"string"==typeof t&&!a.prepareStackTrace)for(;r--;)t=u(t,l,"");return t}},1931:(t,r,i)=>{var o=i(9293),a=i(34),u=i(3437),c=Error.captureStackTrace;t.exports=function(t,r,i,l){u&&(c?c(t,r):o(t,"stack",a(i,l)))}},3437:(t,r,i)=>{var o=i(8154),a=i(1198);t.exports=!o((function(){var t=new Error("a");if(!("stack"in t))return!0;Object.defineProperty(t,"stack",a(1,7));return 7!==t.stack}))},4978:(t,r,i)=>{var o=i(9298),a=i(5764).f,u=i(9293),c=i(7041),l=i(6e3),h=i(1425),d=i(7007);t.exports=function(t,r){var i,p,v,y,g,m=t.target,_=t.global,b=t.stat;if(i=_?o:b?o[m]||l(m,{}):(o[m]||{}).prototype)for(p in r){y=r[p];v=t.dontCallGetSet?(g=a(i,p))&&g.value:i[p];if(!d(_?p:m+(b?".":"#")+p,t.forced)&&void 0!==v){if(typeof y==typeof v)continue;h(y,v)}(t.sham||v&&v.sham)&&u(y,"sham",!0);c(i,p,y,t)}}},8154:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},4629:(t,r,i)=>{i(7942);var o=i(6218),a=i(7041),u=i(2178),c=i(8154),l=i(2292),h=i(9293),d=l("species"),p=RegExp.prototype;t.exports=function(t,r,i,v){var y=l(t),g=!c((function(){var r={};r[y]=function(){return 7};return 7!==""[t](r)})),m=g&&!c((function(){var r=!1,i=/a/;if("split"===t){(i={}).constructor={};i.constructor[d]=function(){return i};i.flags="";i[y]=/./[y]}i.exec=function(){r=!0;return null};i[y]("");return!r}));if(!g||!m||i){var _=o(/./[y]),b=r(y,""[t],(function(t,r,i,a,c){var l=o(t),h=r.exec;return h===u||h===p.exec?g&&!c?{done:!0,value:_(r,i,a)}:{done:!0,value:l(i,r,a)}:{done:!1}}));a(String.prototype,t,b[0]);a(p,y,b[1])}v&&h(p[y],"sham",!0)}},7010:(t,r,i)=>{var o=i(8154);t.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},7294:(t,r,i)=>{var o=i(2486),a=Function.prototype,u=a.apply,c=a.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?c.bind(u):function(){return c.apply(u,arguments)})},7789:(t,r,i)=>{var o=i(6218),a=i(1782),u=i(2486),c=o(o.bind);t.exports=function(t,r){a(t);return void 0===r?t:u?c(t,r):function(){return t.apply(r,arguments)}}},2486:(t,r,i)=>{var o=i(8154);t.exports=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6520:(t,r,i)=>{var o=i(8403),a=i(1782),u=i(7633),c=i(936),l=i(2251),h=i(2486),d=Function,p=o([].concat),v=o([].join),y={};t.exports=h?d.bind:function bind(t){var r=a(this),i=r.prototype,o=l(arguments,1),h=function bound(){var i=p(o,l(arguments));return this instanceof h?function(t,r,i){if(!c(y,r)){for(var o=[],a=0;a<r;a++)o[a]="a["+a+"]";y[r]=d("C,a","return new C("+v(o,",")+")")}return y[r](t,i)}(r,i.length,i):r.apply(t,i)};u(i)&&(h.prototype=i);return h}},2026:(t,r,i)=>{var o=i(2486),a=Function.prototype.call;t.exports=o?a.bind(a):function(){return a.apply(a,arguments)}},5145:(t,r,i)=>{var o=i(940),a=i(936),u=Function.prototype,c=o&&Object.getOwnPropertyDescriptor,l=a(u,"name"),h=l&&"something"===function something(){}.name,d=l&&(!o||o&&c(u,"name").configurable);t.exports={EXISTS:l,PROPER:h,CONFIGURABLE:d}},1299:(t,r,i)=>{var o=i(8403),a=i(1782);t.exports=function(t,r,i){try{return o(a(Object.getOwnPropertyDescriptor(t,r)[i]))}catch(t){}}},6218:(t,r,i)=>{var o=i(8374),a=i(8403);t.exports=function(t){if("Function"===o(t))return a(t)}},8403:(t,r,i)=>{var o=i(2486),a=Function.prototype,u=a.call,c=o&&a.bind.bind(u,u);t.exports=o?c:function(t){return function(){return u.apply(t,arguments)}}},7187:(t,r,i)=>{var o=i(9298),a=i(7316);t.exports=function(t,r){return arguments.length<2?(i=o[t],a(i)?i:void 0):o[t]&&o[t][r];var i}},9235:t=>{t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},273:(t,r,i)=>{var o=i(8329),a=i(8486),u=i(3734),c=i(6596),l=i(2292)("iterator");t.exports=function(t){if(!u(t))return a(t,l)||a(t,"@@iterator")||c[o(t)]}},7612:(t,r,i)=>{var o=i(2026),a=i(1782),u=i(4719),c=i(9762),l=i(273),h=TypeError;t.exports=function(t,r){var i=arguments.length<2?l(t):r;if(a(i))return u(o(i,t));throw new h(c(t)+" is not iterable")}},1801:(t,r,i)=>{var o=i(8403),a=i(6998),u=i(7316),c=i(8374),l=i(5730),h=o([].push);t.exports=function(t){if(u(t))return t;if(a(t)){for(var r=t.length,i=[],o=0;o<r;o++){var d=t[o];"string"==typeof d?h(i,d):"number"!=typeof d&&"Number"!==c(d)&&"String"!==c(d)||h(i,l(d))}var p=i.length,v=!0;return function(t,r){if(v){v=!1;return r}if(a(this))return r;for(var o=0;o<p;o++)if(i[o]===t)return r}}}},8486:(t,r,i)=>{var o=i(1782),a=i(3734);t.exports=function(t,r){var i=t[r];return a(i)?void 0:o(i)}},1096:(t,r,i)=>{var o=i(1782),a=i(4719),u=i(2026),c=i(1003),l=i(9235),h="Invalid size",d=RangeError,p=TypeError,v=Math.max,SetRecord=function(t,r,i,o){this.set=t;this.size=r;this.has=i;this.keys=o};SetRecord.prototype={getIterator:function(){return l(a(u(this.keys,this.set)))},includes:function(t){return u(this.has,this.set,t)}};t.exports=function(t){a(t);var r=+t.size;if(r!=r)throw new p(h);var i=c(r);if(i<0)throw new d(h);return new SetRecord(t,v(i,0),o(t.has),o(t.keys))}},1634:(t,r,i)=>{var o=i(8403),a=i(2007),u=Math.floor,c=o("".charAt),l=o("".replace),h=o("".slice),d=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,p=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,r,i,o,v,y){var g=i+t.length,m=o.length,_=p;if(void 0!==v){v=a(v);_=d}return l(y,_,(function(a,l){var d;switch(c(l,0)){case"$":return"$";case"&":return t;case"`":return h(r,0,i);case"'":return h(r,g);case"<":d=v[h(l,1,-1)];break;default:var p=+l;if(0===p)return a;if(p>m){var y=u(p/10);return 0===y?a:y<=m?void 0===o[y-1]?c(l,1):o[y-1]+c(l,1):a}d=o[p-1]}return void 0===d?"":d}))}},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)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},936:(t,r,i)=>{var o=i(8403),a=i(2007),u=o({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,r){return u(a(t),r)}},6010:t=>{t.exports={}},5285:t=>{t.exports=function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}},519:(t,r,i)=>{var o=i(7187);t.exports=o("document","documentElement")},9394:(t,r,i)=>{var o=i(940),a=i(8154),u=i(5584);t.exports=!o&&!a((function(){return 7!==Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a}))},3106:t=>{var r=Array,i=Math.abs,o=Math.pow,a=Math.floor,u=Math.log,c=Math.LN2;t.exports={pack:function(t,l,h){var d,p,v,y=r(h),g=8*h-l-1,m=(1<<g)-1,_=m>>1,b=23===l?o(2,-24)-o(2,-77):0,w=t<0||0===t&&1/t<0?1:0,P=0;if((t=i(t))!=t||t===1/0){p=t!=t?1:0;d=m}else{d=a(u(t)/c);if(t*(v=o(2,-d))<1){d--;v*=2}if((t+=d+_>=1?b/v:b*o(2,1-_))*v>=2){d++;v/=2}if(d+_>=m){p=0;d=m}else if(d+_>=1){p=(t*v-1)*o(2,l);d+=_}else{p=t*o(2,_-1)*o(2,l);d=0}}for(;l>=8;){y[P++]=255&p;p/=256;l-=8}d=d<<l|p;g+=l;for(;g>0;){y[P++]=255&d;d/=256;g-=8}y[--P]|=128*w;return y},unpack:function(t,r){var i,a=t.length,u=8*a-r-1,c=(1<<u)-1,l=c>>1,h=u-7,d=a-1,p=t[d--],v=127&p;p>>=7;for(;h>0;){v=256*v+t[d--];h-=8}i=v&(1<<-h)-1;v>>=-h;h+=r;for(;h>0;){i=256*i+t[d--];h-=8}if(0===v)v=1-l;else{if(v===c)return i?NaN:p?-1/0:1/0;i+=o(2,r);v-=l}return(p?-1:1)*i*o(2,v-r)}}},3622:(t,r,i)=>{var o=i(8403),a=i(8154),u=i(8374),c=Object,l=o("".split);t.exports=a((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"===u(t)?l(t,""):c(t)}:c},7523:(t,r,i)=>{var o=i(7316),a=i(7633),u=i(9763);t.exports=function(t,r,i){var c,l;u&&o(c=r.constructor)&&c!==i&&a(l=c.prototype)&&l!==i.prototype&&u(t,l);return t}},4993:(t,r,i)=>{var o=i(8403),a=i(7316),u=i(7542),c=o(Function.toString);a(u.inspectSource)||(u.inspectSource=function(t){return c(t)});t.exports=u.inspectSource},8422:(t,r,i)=>{var o=i(7633),a=i(9293);t.exports=function(t,r){o(r)&&"cause"in r&&a(t,"cause",r.cause)}},4694:(t,r,i)=>{var o=i(4978),a=i(8403),u=i(6010),c=i(7633),l=i(936),h=i(7744).f,d=i(5455),p=i(2329),v=i(2191),y=i(7561),g=i(7010),m=!1,_=y("meta"),b=0,setMetadata=function(t){h(t,_,{value:{objectID:"O"+b++,weakData:{}}})},w=t.exports={enable:function(){w.enable=function(){};m=!0;var t=d.f,r=a([].splice),i={};i[_]=1;if(t(i).length){d.f=function(i){for(var o=t(i),a=0,u=o.length;a<u;a++)if(o[a]===_){r(o,a,1);break}return o};o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:p.f})}},fastKey:function(t,r){if(!c(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!l(t,_)){if(!v(t))return"F";if(!r)return"E";setMetadata(t)}return t[_].objectID},getWeakData:function(t,r){if(!l(t,_)){if(!v(t))return!0;if(!r)return!1;setMetadata(t)}return t[_].weakData},onFreeze:function(t){g&&m&&v(t)&&!l(t,_)&&setMetadata(t);return t}};u[_]=!0},1649:(t,r,i)=>{var o,a,u,c=i(8443),l=i(9298),h=i(7633),d=i(9293),p=i(936),v=i(7542),y=i(3727),g=i(6010),m="Object already initialized",_=l.TypeError,b=l.WeakMap;if(c||v.state){var w=v.state||(v.state=new b);w.get=w.get;w.has=w.has;w.set=w.set;o=function(t,r){if(w.has(t))throw new _(m);r.facade=t;w.set(t,r);return r};a=function(t){return w.get(t)||{}};u=function(t){return w.has(t)}}else{var P=y("state");g[P]=!0;o=function(t,r){if(p(t,P))throw new _(m);r.facade=t;d(t,P,r);return r};a=function(t){return p(t,P)?t[P]:{}};u=function(t){return p(t,P)}}t.exports={set:o,get:a,has:u,enforce:function(t){return u(t)?a(t):o(t,{})},getterFor:function(t){return function(r){var i;if(!h(r)||(i=a(r)).type!==t)throw new _("Incompatible receiver, "+t+" required");return i}}}},5191:(t,r,i)=>{var o=i(2292),a=i(6596),u=o("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(a.Array===t||c[u]===t)}},6998:(t,r,i)=>{var o=i(8374);t.exports=Array.isArray||function isArray(t){return"Array"===o(t)}},5986:(t,r,i)=>{var o=i(8329);t.exports=function(t){var r=o(t);return"BigInt64Array"===r||"BigUint64Array"===r}},7316:(t,r,i)=>{var o=i(1558),a=o.all;t.exports=o.IS_HTMLDDA?function(t){return"function"==typeof t||t===a}:function(t){return"function"==typeof t}},1694:(t,r,i)=>{var o=i(8403),a=i(8154),u=i(7316),c=i(8329),l=i(7187),h=i(4993),noop=function(){},d=[],p=l("Reflect","construct"),v=/^\s*(?:class|function)\b/,y=o(v.exec),g=!v.test(noop),m=function isConstructor(t){if(!u(t))return!1;try{p(noop,d,t);return!0}catch(t){return!1}},_=function isConstructor(t){if(!u(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!y(v,h(t))}catch(t){return!0}};_.sham=!0;t.exports=!p||a((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?_:m},3374:(t,r,i)=>{var o=i(936);t.exports=function(t){return void 0!==t&&(o(t,"value")||o(t,"writable"))}},7007:(t,r,i)=>{var o=i(8154),a=i(7316),u=/#|\.prototype\./,isForced=function(t,r){var i=l[c(t)];return i===d||i!==h&&(a(r)?o(r):!!r)},c=isForced.normalize=function(t){return String(t).replace(u,".").toLowerCase()},l=isForced.data={},h=isForced.NATIVE="N",d=isForced.POLYFILL="P";t.exports=isForced},987:(t,r,i)=>{var o=i(7633),a=Math.floor;t.exports=Number.isInteger||function isInteger(t){return!o(t)&&isFinite(t)&&a(t)===t}},3734:t=>{t.exports=function(t){return null==t}},7633:(t,r,i)=>{var o=i(7316),a=i(1558),u=a.all;t.exports=a.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:o(t)||t===u}:function(t){return"object"==typeof t?null!==t:o(t)}},2554:t=>{t.exports=!1},6660:(t,r,i)=>{var o=i(7633),a=i(8374),u=i(2292)("match");t.exports=function(t){var r;return o(t)&&(void 0!==(r=t[u])?!!r:"RegExp"===a(t))}},7814:(t,r,i)=>{var o=i(7187),a=i(7316),u=i(2658),c=i(7960),l=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var r=o("Symbol");return a(r)&&u(r.prototype,l(t))}},5504:(t,r,i)=>{var o=i(2026);t.exports=function(t,r,i){for(var a,u,c=i?t:t.iterator,l=t.next;!(a=o(l,c)).done;)if(void 0!==(u=r(a.value)))return u}},6837:(t,r,i)=>{var o=i(7789),a=i(2026),u=i(4719),c=i(9762),l=i(5191),h=i(451),d=i(2658),p=i(7612),v=i(273),y=i(3316),g=TypeError,Result=function(t,r){this.stopped=t;this.result=r},m=Result.prototype;t.exports=function(t,r,i){var _,b,w,P,D,E,x,S=i&&i.that,A=!(!i||!i.AS_ENTRIES),C=!(!i||!i.IS_RECORD),k=!(!i||!i.IS_ITERATOR),I=!(!i||!i.INTERRUPTED),T=o(r,S),stop=function(t){_&&y(_,"normal",t);return new Result(!0,t)},callFn=function(t){if(A){u(t);return I?T(t[0],t[1],stop):T(t[0],t[1])}return I?T(t,stop):T(t)};if(C)_=t.iterator;else if(k)_=t;else{if(!(b=v(t)))throw new g(c(t)+" is not iterable");if(l(b)){for(w=0,P=h(t);P>w;w++)if((D=callFn(t[w]))&&d(m,D))return D;return new Result(!1)}_=p(t,b)}E=C?t.next:_.next;for(;!(x=a(E,_)).done;){try{D=callFn(x.value)}catch(t){y(_,"throw",t)}if("object"==typeof D&&D&&d(m,D))return D}return new Result(!1)}},3316:(t,r,i)=>{var o=i(2026),a=i(4719),u=i(8486);t.exports=function(t,r,i){var c,l;a(t);try{if(!(c=u(t,"return"))){if("throw"===r)throw i;return i}c=o(c,t)}catch(t){l=!0;c=t}if("throw"===r)throw i;if(l)throw c;a(c);return i}},552:(t,r,i)=>{var o=i(5238).IteratorPrototype,a=i(6941),u=i(1198),c=i(7536),l=i(6596),returnThis=function(){return this};t.exports=function(t,r,i,h){var d=r+" Iterator";t.prototype=a(o,{next:u(+!h,i)});c(t,d,!1,!0);l[d]=returnThis;return t}},375:(t,r,i)=>{var o=i(2026),a=i(6941),u=i(9293),c=i(6880),l=i(2292),h=i(1649),d=i(8486),p=i(5238).IteratorPrototype,v=i(1111),y=i(3316),g=l("toStringTag"),m="IteratorHelper",_="WrapForValidIterator",b=h.set,createIteratorProxyPrototype=function(t){var r=h.getterFor(t?_:m);return c(a(p),{next:function next(){var i=r(this);if(t)return i.nextHandler();try{var o=i.done?void 0:i.nextHandler();return v(o,i.done)}catch(t){i.done=!0;throw t}},return:function(){var i=r(this),a=i.iterator;i.done=!0;if(t){var u=d(a,"return");return u?o(u,a):v(void 0,!0)}if(i.inner)try{y(i.inner.iterator,"normal")}catch(t){return y(a,"throw",t)}y(a,"normal");return v(void 0,!0)}})},w=createIteratorProxyPrototype(!0),P=createIteratorProxyPrototype(!1);u(P,g,"Iterator Helper");t.exports=function(t,r){var i=function Iterator(i,o){if(o){o.iterator=i.iterator;o.next=i.next}else o=i;o.type=r?_:m;o.nextHandler=t;o.counter=0;o.done=!1;b(this,o)};i.prototype=r?w:P;return i}},7301:(t,r,i)=>{var o=i(4978),a=i(2026),u=i(2554),c=i(5145),l=i(7316),h=i(552),d=i(2176),p=i(9763),v=i(7536),y=i(9293),g=i(7041),m=i(2292),_=i(6596),b=i(5238),w=c.PROPER,P=c.CONFIGURABLE,D=b.IteratorPrototype,E=b.BUGGY_SAFARI_ITERATORS,x=m("iterator"),S="keys",A="values",C="entries",returnThis=function(){return this};t.exports=function(t,r,i,c,m,b,k){h(i,r,c);var I,T,L,getIterationMethod=function(t){if(t===m&&R)return R;if(!E&&t&&t in B)return B[t];switch(t){case S:return function keys(){return new i(this,t)};case A:return function values(){return new i(this,t)};case C:return function entries(){return new i(this,t)}}return function(){return new i(this)}},O=r+" Iterator",M=!1,B=t.prototype,G=B[x]||B["@@iterator"]||m&&B[m],R=!E&&G||getIterationMethod(m),j="Array"===r&&B.entries||G;if(j&&(I=d(j.call(new t)))!==Object.prototype&&I.next){u||d(I)===D||(p?p(I,D):l(I[x])||g(I,x,returnThis));v(I,O,!0,!0);u&&(_[O]=returnThis)}if(w&&m===A&&G&&G.name!==A)if(!u&&P)y(B,"name",A);else{M=!0;R=function values(){return a(G,this)}}if(m){T={values:getIterationMethod(A),keys:b?R:getIterationMethod(S),entries:getIterationMethod(C)};if(k)for(L in T)(E||M||!(L in B))&&g(B,L,T[L]);else o({target:r,proto:!0,forced:E||M},T)}u&&!k||B[x]===R||g(B,x,R,{name:m});_[r]=R;return T}},8142:(t,r,i)=>{var o=i(2026),a=i(1782),u=i(4719),c=i(9235),l=i(375),h=i(5723),d=l((function(){var t=this.iterator,r=u(o(this.next,t));if(!(this.done=!!r.done))return h(t,this.mapper,[r.value,this.counter++],!0)}));t.exports=function map(t){u(this);a(t);return new d(c(this),{mapper:t})}},5238:(t,r,i)=>{var o,a,u,c=i(8154),l=i(7316),h=i(7633),d=i(6941),p=i(2176),v=i(7041),y=i(2292),g=i(2554),m=y("iterator"),_=!1;[].keys&&("next"in(u=[].keys())?(a=p(p(u)))!==Object.prototype&&(o=a):_=!0);!h(o)||c((function(){var t={};return o[m].call(t)!==t}))?o={}:g&&(o=d(o));l(o[m])||v(o,m,(function(){return this}));t.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:_}},6596:t=>{t.exports={}},451:(t,r,i)=>{var o=i(8293);t.exports=function(t){return o(t.length)}},9687:(t,r,i)=>{var o=i(8403),a=i(8154),u=i(7316),c=i(936),l=i(940),h=i(5145).CONFIGURABLE,d=i(4993),p=i(1649),v=p.enforce,y=p.get,g=String,m=Object.defineProperty,_=o("".slice),b=o("".replace),w=o([].join),P=l&&!a((function(){return 8!==m((function(){}),"length",{value:8}).length})),D=String(String).split("String"),E=t.exports=function(t,r,i){"Symbol("===_(g(r),0,7)&&(r="["+b(g(r),/^Symbol\(([^)]*)\)/,"$1")+"]");i&&i.getter&&(r="get "+r);i&&i.setter&&(r="set "+r);(!c(t,"name")||h&&t.name!==r)&&(l?m(t,"name",{value:r,configurable:!0}):t.name=r);P&&i&&c(i,"arity")&&t.length!==i.arity&&m(t,"length",{value:i.arity});try{i&&c(i,"constructor")&&i.constructor?l&&m(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var o=v(t);c(o,"source")||(o.source=w(D,"string"==typeof r?r:""));return t};Function.prototype.toString=E((function toString(){return u(this)&&y(this).source||d(this)}),"toString")},6336:(t,r,i)=>{var o=i(4875),a=Math.abs,u=2220446049250313e-31,c=1/u;t.exports=function(t,r,i,l){var h=+t,d=a(h),p=o(h);if(d<l)return p*function(t){return t+c-c}(d/l/r)*l*r;var v=(1+r/u)*d,y=v-(v-d);return y>i||y!=y?p*(1/0):p*y}},796:(t,r,i)=>{var o=i(6336);t.exports=Math.fround||function fround(t){return o(t,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54