webex
Version:
SDK for Cisco Webex
2 lines • 1.65 MB
JavaScript
/*! Webex JS SDK v3.12.0 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Webex=t():e.Webex=t()}(self,()=>(()=>{var __webpack_modules__={34:(e,t,r)=>{"use strict";var n=r(96375),i=r(3366),o=r(53824);n(n.P+n.F*r(94944)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=i(this),r=o(t);return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},134:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(3328),i=r(87361);function o(e,t,r){return(t=(0,i.A)(t))in e?n(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},251:(e,t)=>{t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,c=(1<<a)-1,u=c>>1,l=-7,h=r?i-1:0,f=r?-1:1,p=e[t+h];for(h+=f,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+e[t+h],h+=f,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+h],h+=f,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=u}return(p?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,c,u=8*o-i-1,l=(1<<u)-1,h=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+h>=1?f/c:f*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=l?(a=0,s=l):s+h>=1?(a=(t*c-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[r+p]=255&s,p+=d,s/=256,u-=8);e[r+p-d]|=128*g}},270:(e,t,r)=>{"use strict";const n=r(53908),i=r(78311);e.exports=(e,t,r)=>{let o=null,s=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(o&&1!==s.compare(e)||(o=e,s=new n(o,r)))}),o}},282:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(23509),i=r(96150),o=r.n(i),s=r(5601),a=r.n(s),c=r(80662),u=r.n(c),l=r(37526),h=r.n(l),f=r(54001),p=r.n(f),d=r(25639),g=a(),m=u(),v=new((0,d.A)(g,m,m));function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(3===t.length)return h()(u,null,t);var i=t[0]||{},s=i.cacheFailures,a=i.cacheSuccesses,c=i.keyFactory;return u;function u(e,t,r){var i=t;return r.value=o()(r.value,function(t){for(var r=this,n=i,o=arguments.length,u=new Array(o>1?o-1:0),l=1;l<o;l++)u[l-1]=arguments[l];c&&(n="".concat(n,"_").concat(c.apply(void 0,u)));var f=v.get(this,e,n);return f||(f=h()(t,this,u),!s&&f&&f.catch&&(f=f.catch(function(t){return v.delete(r,e,n),p().reject(t)})),!a&&f&&f.then&&(f=f.then(function(t){return v.delete(r,e,n),t})),v.set(this,e,n,f),f)}),"object"!==(0,n.A)(e)||e.prototype||(e[t]=r.value),r}}},284:(e,t,r)=>{var n=r(16594),i=r(12814)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},406:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(54001),i=r.n(n);function o(e){return function(t){return new(i())(function(r){r(e(t))}).then(function(){return t}).catch(function(){return t})}}},410:(e,t,r)=>{var n=r(2153);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=n(e))throw TypeError(t);return+e}},421:(e,t,r)=>{e.exports=r(75253)},495:(e,t,r)=>{var n=r(3366),i=r(82663);r(37699)("keys",function(){return function(e){return i(n(e))}})},524:(e,t,r)=>{"use strict";r.d(t,{A:()=>O});var n=r(42096),i=r.n(n),o=r(75062),s=r.n(o),a=r(16091),c=r.n(a),u=r(68632),l=r.n(u),h=r(23509),f=r(25182),p=r(44383),d=r.n(p),g=r(56449),m=r.n(g),v=r(84684),y=r.n(v),b=r(36443),w=r.n(b),E=r(54001),S=r.n(E),A=r(69736),C=r.n(A),_=r(54585),k=r.n(_),I=r(55373),x=r.n(I),R=r(63794),B=r(58489);function T(e,t){var r=void 0!==s()&&e[c()]||e["@@iterator"];if(!r){if(l()(e)||(r=function(e,t){if(e){if("string"==typeof e)return N(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?i()(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,h=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){h=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(h)throw a}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function O(e){return new(S())(function(n){var i=d()(e,"method","uri","withCredentials","headers","timeout","responseType");i.response=!0,function(e){e.xhr=new XMLHttpRequest}(i),function(e,t){e.method&&["PATCH","POST","PUT"].includes(e.method.toUpperCase())&&(e.xhr||(e.xhr=new XMLHttpRequest),e.xhr.upload.onprogress=t.upload.emit.bind(t.upload,"progress"))}(i,e),function(e,t){if(t.auth)if(t.auth.bearer)e.headers.authorization="Bearer ".concat(t.auth.bearer);else{var r=t.auth.user||t.auth.username,n=t.auth.pass||t.auth.password,i=btoa("".concat(r,":").concat(n));e.headers.Authorization="Basic ".concat(i)}}(i,e),function(e,t){t.jar&&(e.withCredentials=!0)}(i,e),function(e,t){var r={cors:!0,withCredentials:!1,timeout:0};y()(e,d()(t,C()(r)),r)}(i,e),function(e,t){"buffer"===t.responseType&&(e.responseType="arraybuffer")}(i,e),function(e,r){t.apply(this,arguments)}(i,e),function(e,t){"json"in t&&!0!==t.json||!t.body?t.form?(e.headers["Content-Type"]="application/x-www-form-urlencoded",e.body=x().stringify(t.form),k()(e,"json")):t.formData?e.body=C()(t.formData).reduce(function(e,n){return r(e,n,t.formData[n]),e},new FormData):(e.body=t.body,k()(e,"json")):e.json=t.body}(i,e),function(e,t){t.qs&&(e.uri+="?".concat(x().stringify(t.qs)))}(i,e),e.logger.debug("start http ".concat(e.method?e.method:"request"," to ").concat(e.uri));var o=(0,R.A)(i,function(t,r){t&&e.logger.warn("XHR error for ".concat(e.method||"request"," to ").concat(e.uri," :"),t),r?(r.statusCode>=400?e.logger.warn("http ".concat(e.method?e.method:"request"," to ").concat(e.uri," result: ").concat(r.statusCode)):e.logger.debug("http ".concat(e.method?e.method:"request"," to ").concat(e.uri," result: ").concat(r.statusCode)),r.options=e,function(e,t){if(!t.json&&"object"!==(0,h.A)(e.body))try{e.body=JSON.parse(e.body)}catch(e){}}(r,i),n(r)):n({statusCode:0,options:e,headers:e.headers,method:e.method,url:e.uri,body:t})});o.onprogress=e.download.emit.bind(e.download,"progress")}).catch(function(t){return e.logger.warn(t),{statusCode:0,options:e,headers:e.headers,method:e.method,url:e.uri,body:t}});function t(){return(t=(0,f.A)(w().mark(function e(t,r){var n;return w().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r.body instanceof Blob||r.body instanceof ArrayBuffer)){e.next=3;break}if(r.json=t.json=!1,n=t.headers["content-type"]){e.next=2;break}return e.next=1,(0,B.A)(r.body);case 1:n=e.sent;case 2:t.headers["content-type"]=n;case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function r(e,t,n){if(m()(n)){var i,o=T(n);try{for(o.s();!(i=o.n()).done;){r(e,t,i.value)}}catch(e){o.e(e)}finally{o.f()}}else(n=function(e){if(e instanceof ArrayBuffer){var t=e.type?new Blob([e],{type:e.type}):new Blob([e]);return t.filename=e.filename||e.name||"untitled",t}return e}(n)).name?(n.filename=n.name,e.append(t,n,n.name)):e.append(t,n)}}},659:(e,t,r)=>{var n=r(51873),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var i=s.call(e);return n&&(t?e[a]=r:delete e[a]),i}},803:(e,t,r)=>{var n=r(67e3),i=r(43892);function o(t){return e.exports=o="function"==typeof n&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof n&&e.constructor===n&&e!==n.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},898:(e,t,r)=>{"use strict";var n=r(53651),i=r(84335);function o(){this.H=[],this.M=null}o.prototype.init=function(e){var t,r,i;if(null==this.M)for(this.M=[],t=0;t<32;++t)for(this.M[t]=[],r=0;r<16;++r)for(this.M[t][r]=[],i=0;i<4;++i)this.M[t][r][i]=0;else if(n.arrayEqual(this.H,e))return;for(this.H=e.slice(),n.asInts(e,this.M[1][8]),r=4;r>=1;r>>=1)n.multiplyP(this.M[1][r+r],this.M[1][r]);for(n.multiplyP(this.M[1][1],this.M[0][8]),r=4;r>=1;r>>=1)n.multiplyP(this.M[0][r+r],this.M[0][r]);for(t=0;;){for(r=2;r<16;r+=r)for(i=1;i<r;++i)n.xor(this.M[t][r],this.M[t][i],this.M[t][r+i]);if(32===++t)return;if(t>1)for(r=8;r>0;r>>=1)n.multiplyP8(this.M[t-2][r],this.M[t][r])}},o.prototype.multiplyH=function(e){for(var t=[],r=15;r>=0;--r){var n=this.M[r+r][15&e[r]];t[0]^=n[0],t[1]^=n[1],t[2]^=n[2],t[3]^=n[3],n=this.M[r+r+1][(240&e[r])>>>4],t[0]^=n[0],t[1]^=n[1],t[2]^=n[2],t[3]^=n[3]}i.intToBigEndian(t,e,0)},e.exports={"8k":o}},920:(e,t,r)=>{"use strict";var n=r(69675),i=r(58859),o=r(14803),s=r(80507),a=r(72271)||s||o;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+i(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=a()),e.set(t,r)}};return t}},957:(e,t,r)=>{"use strict";var n=r(84335);e.exports={encrypt:function(e,t,r,i,o){var s=new Array(4),a=new Array(4);n.bigEndianToInt(t,r,s),e.encrypt(s,a),n.intToBigEndian(a,i,o)}}},969:(e,t,r)=>{e.exports=r(64952)},993:(e,t,r)=>{var n=Date.prototype,i="Invalid Date",o="toString",s=n[o],a=n.getTime;new Date(NaN)+""!=i&&r(1043)(n,o,function(){var e=a.call(this);return e==e?s.call(this):i})},1005:(e,t,r)=>{"use strict";var n=r(32629),i=r(7645),o=r(95324);function s(e,t){var r=t?["n","e"]:["n","e","d","p","q","dp","dq","qi"];return r=r.map(function(t){return new i.jsbn.BigInteger(e[t].toString("hex"),16)}),(t?i.pki.rsa.setPublicKey:i.pki.rsa.setPrivateKey).apply(i.pki.rsa,r)}e.exports={convertToForge:s,convertToJWK:function(e,t){var r=n(e);return(t?["n","e"]:["n","e","d","p","q","dp","dq","qi"]).forEach(function(e){r[e]=o.base64url.encode(r[e])}),delete r.key_ops,delete r.use,delete r.alg,t&&(delete r.d,delete r.p,delete r.q,delete r.dp,delete r.dq,delete r.qi),r},convertToPem:function(e,t){var r,n=t?"__cachedPublicPem":"__cachedPrivatePem";return e[n]?e[n]:(r=t?i.pki.publicKeyToPem(s(e,t)):i.pki.privateKeyToPem(s(e,t)),Object.defineProperty(e,n,{value:r}),r)}}},1043:(e,t,r)=>{var n=r(91790),i=r(94005),o=r(99701),s=r(11415)("src"),a=r(68189),c="toString",u=(""+a).split(c);r(3750).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,r,a){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(o(r,s)||i(r,s,e[t]?""+e[t]:u.join(String(t)))),e===n?e[t]=r:a?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,c,function(){return"function"==typeof this&&this[s]||a.call(this)})},1148:(e,t,r)=>{r(57532),e.exports=r(63246).Date.now},1212:(e,t,r)=>{var n=r(91790),i=r(96375),o=r(79354),s=[].slice,a=/MSIE .\./.test(o),c=function(e){return function(t,r){var n=arguments.length>2,i=!!n&&s.call(arguments,2);return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,r)}};i(i.G+i.B+i.F*a,{setTimeout:c(n.setTimeout),setInterval:c(n.setInterval)})},1221:(e,t,r)=>{r(81114),r(35279),r(61090),r(5786),r(35993),r(98794),r(78775),e.exports=r(63246).Map},1307:(e,t,r)=>{var n=r(4772),i=r(95161),o=r(3366),s=r(54117),a=r(93900);e.exports=function(e,t){var r=1==e,c=2==e,u=3==e,l=4==e,h=6==e,f=5==e||h,p=t||a;return function(t,a,d){for(var g,m,v=o(t),y=i(v),b=n(a,d,3),w=s(y.length),E=0,S=r?p(t,w):c?p(t,0):void 0;w>E;E++)if((f||E in y)&&(m=b(g=y[E],E,v),e))if(r)S[E]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return E;case 2:S.push(g)}else if(l)return!1;return h?-1:u||l?l:S}}},1469:(e,t,r)=>{"use strict";var n=r(24727).f,i=r(73607),o=r(6601),s=r(4772),a=r(65968),c=r(16318),u=r(70471),l=r(14690),h=r(59834),f=r(36875),p=r(40324).fastKey,d=r(77200),g=f?"_s":"size",m=function(e,t){var r,n=p(t);if("F"!==n)return e._i[n];for(r=e._f;r;r=r.n)if(r.k==t)return r};e.exports={getConstructor:function(e,t,r,u){var l=e(function(e,n){a(e,l,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[g]=0,null!=n&&c(n,r,e[u],e)});return o(l.prototype,{clear:function(){for(var e=d(this,t),r=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete r[n.i];e._f=e._l=void 0,e[g]=0},delete:function(e){var r=d(this,t),n=m(r,e);if(n){var i=n.n,o=n.p;delete r._i[n.i],n.r=!0,o&&(o.n=i),i&&(i.p=o),r._f==n&&(r._f=i),r._l==n&&(r._l=o),r[g]--}return!!n},forEach:function(e){d(this,t);for(var r,n=s(e,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(n(r.v,r.k,this);r&&r.r;)r=r.p},has:function(e){return!!m(d(this,t),e)}}),f&&n(l.prototype,"size",{get:function(){return d(this,t)[g]}}),l},def:function(e,t,r){var n,i,o=m(e,t);return o?o.v=r:(e._l=o={i:i=p(t,!0),k:t,v:r,p:n=e._l,n:void 0,r:!1},e._f||(e._f=o),n&&(n.n=o),e[g]++,"F"!==i&&(e._i[i]=o)),e},getEntry:m,setStrong:function(e,t,r){u(e,t,function(e,r){this._t=d(e,t),this._k=r,this._l=void 0},function(){for(var e=this,t=e._k,r=e._l;r&&r.r;)r=r.p;return e._t&&(e._l=r=r?r.n:e._t._f)?l(0,"keys"==t?r.k:"values"==t?r.v:[r.k,r.v]):(e._t=void 0,l(1))},r?"entries":"values",!r,!0),h(t)}}},1556:(e,t)=>{t.f=Object.getOwnPropertySymbols},1590:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,s,a){return o=o||"&",s=s||"=",null===e&&(e=void 0),"object"==typeof e?n(i(e),function(i){var a=encodeURIComponent(t(i))+s;return r(e[i])?n(e[i],function(e){return a+encodeURIComponent(t(e))}).join(o):a+encodeURIComponent(t(e[i]))}).join(o):a?encodeURIComponent(t(a))+s+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},1613:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(89488);n.A.getWebSocketConstructor=function(){var e;return"undefined"!=typeof WebSocket?e=WebSocket:"undefined"!=typeof MozWebSocket?e=MozWebSocket:void 0!==r.g?e=r.g.WebSocket||r.g.MozWebSocket:"undefined"!=typeof window?e=window.WebSocket||window.MozWebSocket:"undefined"!=typeof self&&(e=self.WebSocket||self.MozWebSocket),e};const i=n.A},1733:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},1833:(e,t,r)=>{"use strict";var n=r(96375),i=r(45120)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(s||!r(43484)(o)),"Array",{indexOf:function(e){return s?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},1882:(e,t,r)=>{var n=r(72552),i=r(23805);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1908:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={feature:{}}},1977:(e,t,r)=>{var n=r(65606);const i=r(99589);e.exports=i.satisfies(n.version,">=15.7.0")},2074:(e,t,r)=>{"use strict";var n=r(61635);function i(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new i(e)}},2085:(e,t,r)=>{"use strict";var n=r(91790),i=r(99701),o=r(2153),s=r(72232),a=r(53824),c=r(94944),u=r(23663).f,l=r(45481).f,h=r(24727).f,f=r(40941).trim,p="Number",d=n[p],g=d,m=d.prototype,v=o(r(73607)(m))==p,y="trim"in String.prototype,b=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){var r,n,i,o=(t=y?t.trim():f(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(r=t.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+t}for(var s,c=t.slice(2),u=0,l=c.length;u<l;u++)if((s=c.charCodeAt(u))<48||s>i)return NaN;return parseInt(c,n)}}return+t};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof d&&(v?c(function(){m.valueOf.call(r)}):o(r)!=p)?s(new g(b(t)),r,d):b(t)};for(var w,E=r(36875)?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;E.length>S;S++)i(g,w=E[S])&&!i(d,w)&&h(d,w,l(g,w));d.prototype=m,m.constructor=d,r(1043)(n,p,d)}},2140:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c});var n=r(421),i=r(92861),o=r(33573);function s(e){return n.decode(e).toString()}function a(e){var t=e;return(0,o.A)(t)||(t=i.Buffer.from(t)),n.encode(t)}const c={fromBase64url:s,toBase64Url:a,encode:function(e){return a(e)},decode:function(e){return s(e)},validate:function(e){return n.validate(e)}}},2153:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},2225:(e,t,r)=>{"use strict";var n=r(96375),i=r(75367);n(n.P+n.F*!r(43484)([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},2274:(e,t,r)=>{r(46760),e.exports=r(63246).Reflect.deleteProperty},2282:(e,t,r)=>{"use strict";r(62973),r(49647),e.exports=r(3750).Promise.finally},2385:(e,t,r)=>{var n=r(50276);r(7619);var i=e.exports=n.pem=n.pem||{};function o(e){for(var t=e.name+": ",r=[],n=function(e,t){return" "+t},i=0;i<e.values.length;++i)r.push(e.values[i].replace(/^(\S+\r\n)/,n));t+=r.join(",")+"\r\n";var o=0,s=-1;for(i=0;i<t.length;++i,++o)if(o>65&&-1!==s){var a=t[s];","===a?(++s,t=t.substr(0,s)+"\r\n "+t.substr(s)):t=t.substr(0,s)+"\r\n"+a+t.substr(s+1),o=i-s-1,s=-1,++i}else" "!==t[i]&&"\t"!==t[i]&&","!==t[i]||(s=i);return t}function s(e){return e.replace(/^\s+/,"")}i.encode=function(e,t){t=t||{};var r,i="-----BEGIN "+e.type+"-----\r\n";if(e.procType&&(i+=o(r={name:"Proc-Type",values:[String(e.procType.version),e.procType.type]})),e.contentDomain&&(i+=o(r={name:"Content-Domain",values:[e.contentDomain]})),e.dekInfo&&(r={name:"DEK-Info",values:[e.dekInfo.algorithm]},e.dekInfo.parameters&&r.values.push(e.dekInfo.parameters),i+=o(r)),e.headers)for(var s=0;s<e.headers.length;++s)i+=o(e.headers[s]);return e.procType&&(i+="\r\n"),i+=n.util.encode64(e.body,t.maxline||64)+"\r\n",i+="-----END "+e.type+"-----\r\n"},i.decode=function(e){for(var t,r=[],i=/\s*-----BEGIN ([A-Z0-9- ]+)-----\r?\n?([\x21-\x7e\s]+?(?:\r?\n\r?\n))?([:A-Za-z0-9+\/=\s]+?)-----END \1-----/g,o=/([\x21-\x7e]+):\s*([\x21-\x7e\s^:]+)/,a=/\r?\n/;t=i.exec(e);){var c=t[1];"NEW CERTIFICATE REQUEST"===c&&(c="CERTIFICATE REQUEST");var u={type:c,procType:null,contentDomain:null,dekInfo:null,headers:[],body:n.util.decode64(t[3])};if(r.push(u),t[2]){for(var l=t[2].split(a),h=0;t&&h<l.length;){for(var f=l[h].replace(/\s+$/,""),p=h+1;p<l.length;++p){var d=l[p];if(!/\s/.test(d[0]))break;f+=d,h=p}if(t=f.match(o)){for(var g={name:t[1],values:[]},m=t[2].split(","),v=0;v<m.length;++v)g.values.push(s(m[v]));if(u.procType)if(u.contentDomain||"Content-Domain"!==g.name)if(u.dekInfo||"DEK-Info"!==g.name)u.headers.push(g);else{if(0===g.values.length)throw new Error('Invalid PEM formatted message. The "DEK-Info" header must have at least one subfield.');u.dekInfo={algorithm:m[0],parameters:m[1]||null}}else u.contentDomain=m[0]||"";else{if("Proc-Type"!==g.name)throw new Error('Invalid PEM formatted message. The first encapsulated header must be "Proc-Type".');if(2!==g.values.length)throw new Error('Invalid PEM formatted message. The "Proc-Type" header must have two subfields.');u.procType={version:m[0],type:m[1]}}}++h}if("ENCRYPTED"===u.procType&&!u.dekInfo)throw new Error('Invalid PEM formatted message. The "DEK-Info" header must be present if "Proc-Type" is "ENCRYPTED".')}}if(0===r.length)throw new Error("Invalid PEM formatted message.");return r}},2404:(e,t,r)=>{var n=r(60270);e.exports=function(e,t){return n(e,t)}},2523:e=>{e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},2725:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(88435),i=r.n(n),o=r(78716),s=r(81570),a=r(77193),c=r(48148),u=r(31060);function l(){try{var e=!Boolean.prototype.valueOf.call(i()(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}var h=function(e){function t(){return(0,o.A)(this,t),e=this,r=t,n=arguments,r=(0,c.A)(r),(0,a.A)(e,l()?i()(r,n||[],(0,c.A)(e).constructor):r.apply(e,n));var e,r,n}return(0,u.A)(t,e),(0,s.A)(t,[{key:"submitOperationalEvent",value:function(e){var t=e.name,r=e.payload,n=this.createTaggedEventObject({type:["operational"],name:t,payload:r});this.submitEvent({kind:"operational-events -> ",name:t,event:n})}}])}(r(39916).A)},2793:(e,t,r)=>{r(18158),e.exports=r(3750).Array.flatMap},2809:(e,t,r)=>{var n=r(99701),i=r(36173),o=r(45120)(!1),s=r(93590)("IE_PROTO");e.exports=function(e,t){var r,a=i(e),c=0,u=[];for(r in a)r!=s&&n(a,r)&&u.push(r);for(;t.length>c;)n(a,r=t[c++])&&(~o(u,r)||u.push(r));return u}},2873:(e,t,r)=>{"use strict";r(38373);Object.defineProperty},3209:(e,t,r)=>{var n=r(91596),i=r(53320),o=r(36306),s="__lodash_placeholder__",a=128,c=Math.min;e.exports=function(e,t){var r=e[1],u=t[1],l=r|u,h=l<131,f=u==a&&8==r||u==a&&256==r&&e[7].length<=t[8]||384==u&&t[7].length<=t[8]&&8==r;if(!h&&!f)return e;1&u&&(e[2]=t[2],l|=1&r?0:4);var p=t[3];if(p){var d=e[3];e[3]=d?n(d,p,t[4]):p,e[4]=d?o(e[3],s):t[4]}return(p=t[5])&&(d=e[5],e[5]=d?i(d,p,t[6]):p,e[6]=d?o(e[5],s):t[6]),(p=t[7])&&(e[7]=p),u&a&&(e[8]=null==e[8]?t[8]:c(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=l,e}},3214:(e,t,r)=>{var n=r(13068),i=r(61635),o=r(12814)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||null==(r=n(s)[o])?t:i(r)}},3254:(e,t,r)=>{var n=r(50276);r(71696),r(8106),r(7619);var i,o=n.pkcs5=n.pkcs5||{};n.util.isNodejs&&!n.options.usePureJavaScript&&(i=r(50310)),e.exports=n.pbkdf2=o.pbkdf2=function(e,t,r,o,s,a){if("function"==typeof s&&(a=s,s=null),n.util.isNodejs&&!n.options.usePureJavaScript&&i.pbkdf2&&(null===s||"object"!=typeof s)&&(i.pbkdf2Sync.length>4||!s||"sha1"===s))return"string"!=typeof s&&(s="sha1"),e=Buffer.from(e,"binary"),t=Buffer.from(t,"binary"),a?4===i.pbkdf2Sync.length?i.pbkdf2(e,t,r,o,function(e,t){if(e)return a(e);a(null,t.toString("binary"))}):i.pbkdf2(e,t,r,o,s,function(e,t){if(e)return a(e);a(null,t.toString("binary"))}):4===i.pbkdf2Sync.length?i.pbkdf2Sync(e,t,r,o).toString("binary"):i.pbkdf2Sync(e,t,r,o,s).toString("binary");if(null==s&&(s="sha1"),"string"==typeof s){if(!(s in n.md.algorithms))throw new Error("Unknown hash algorithm: "+s);s=n.md[s].create()}var c=s.digestLength;if(o>4294967295*c){var u=new Error("Derived key is too long.");if(a)return a(u);throw u}var l=Math.ceil(o/c),h=o-(l-1)*c,f=n.hmac.create();f.start(s,e);var p,d,g,m="";if(!a){for(var v=1;v<=l;++v){f.start(null,null),f.update(t),f.update(n.util.int32ToBytes(v)),p=g=f.digest().getBytes();for(var y=2;y<=r;++y)f.start(null,null),f.update(g),d=f.digest().getBytes(),p=n.util.xorBytes(p,d,c),g=d;m+=v<l?p:p.substr(0,h)}return m}v=1;function b(){if(v>l)return a(null,m);f.start(null,null),f.update(t),f.update(n.util.int32ToBytes(v)),p=g=f.digest().getBytes(),y=2,w()}function w(){if(y<=r)return f.start(null,null),f.update(g),d=f.digest().getBytes(),p=n.util.xorBytes(p,d,c),g=d,++y,n.util.setImmediate(w);m+=v<l?p:p.substr(0,h),++v,b()}b()}},3328:(e,t,r)=>{r(29536);var n=r(63246).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},3366:(e,t,r)=>{var n=r(93496);e.exports=function(e){return Object(n(e))}},3448:(e,t,r)=>{r(77208),e.exports=r(63246).Object.getPrototypeOf},3527:e=>{"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var r={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=r[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}},3536:(e,t,r)=>{"use strict";var n=r(96375),i=r(1307)(5),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),n(n.P+n.F*s,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r(66864)(o)},3635:(e,t,r)=>{r(81114),r(35279),r(61090),r(26176),r(82367),r(74256),r(50721),e.exports=r(63246).Set},3642:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(88435),i=r.n(n),o=r(78716),s=r(81570),a=r(77193),c=r(48148),u=r(31060),l=r(69736),h=r.n(l);function f(){try{var e=!Boolean.prototype.valueOf.call(i()(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}var p=function(e){function t(){return(0,o.A)(this,t),e=this,r=t,n=arguments,r=(0,c.A)(r),(0,a.A)(e,f()?i()(r,n||[],(0,c.A)(e).constructor):r.apply(e,n));var e,r,n}return(0,u.A)(t,e),(0,s.A)(t,[{key:"onRequest",value:function(e){var t=this.webex.config.defaultRequestOptions;return t?(h()(t).forEach(function(r){h()(e).includes(r)||(e[r]=t[r])}),e):e}}],[{key:"create",value:function(){return new t({webex:this})}}])}(r(62600).c$)},3650:(e,t,r)=>{var n=r(74335)(Object.keys,Object);e.exports=n},3656:(e,t,r)=>{e=r.nmd(e);var n=r(9325),i=r(89935),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},3668:(e,t,r)=>{var n=r(96375),i=r(56213),o=String.fromCharCode,s=String.fromCodePoint;n(n.S+n.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,s=0;n>s;){if(t=+arguments[s++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},3681:(e,t,r)=>{"use strict";e.exports=i;var n=r(59083);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(56698)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},3750:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},3821:(e,t,r)=>{var n=r(57487),i=r(18380);e.exports=r(59059)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},3846:(e,t,r)=>{var n=r(23663),i=r(24268),o=r(13068),s=r(91790).Reflect;e.exports=s&&s.ownKeys||function(e){var t=n.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},3884:e=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},3935:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},4164:(e,t,r)=>{var n=r(22790);e.exports=function(e,t){return new(n(e))(t)}},4173:(e,t,r)=>{"use strict";r(38373),"function"==typeof Symbol&&Symbol.iterator,Object.defineProperty,Object.getPrototypeOf},4233:e=>{"use strict";const t=function*(){}.constructor;e.exports=()=>t},4509:(e,t,r)=>{var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},4664:(e,t,r)=>{var n=r(79770),i=r(63345),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),function(t){return o.call(e,t)}))}:i;e.exports=a},4758:(e,t,r)=>{r(44694),e.exports=r(63246).Object.assign},4772:(e,t,r)=>{var n=r(61635);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},4819:e=>{var t=function(e){if(!e.match(/^([0-9]{1,3}\.){3}[0-9]{1,3}$/))return!1;var t=e.split(".");for(let e of t){if(Number(e)>255)return!1}return!0},r=function(e,t=8){if("::"===(e=e.toLowerCase()))return!0;if(!e.match(/^([0-9a-f]{0,4}:?){2,8}$/))return!1;if(":"===e[e.length-1]&&":"!==e[e.length-2])return!1;if(e.split("::").length>2)return!1;if(1===e.split("::").length&&e.split(":").length!==t)return!1;if(2===e.split("::").length){var r=e.split("::")[1];r=r.split(":");for(let e=0;e<r.length-1;e++)if(""===r[e])return!1}return!0},n=function(e){var[n,i]=h(e);return r(n,6)&&t(i)},i=function(e,t,r="0"){for(;e.length<t;)e+=r;return e},o=function(e,t,r="0"){for(;e.length<t;)e=r+e;return e},s=function(e,t){for(var r=[];e.length>0;){var n=e.substring(0,t);r.push(n),e=e.substring(t)}return r},a=function(e){return Number(e).toString(2)},c=function(e){return parseInt(e,2)},u=function(e){return e.split(".").map(e=>o(a(e),8)).join("")},l=function(e){return e.toString(16)},h=function(e){var t=e.lastIndexOf(":"),r=e.substring(0,t),n=e.substring(t+1);return":"===r[r.length-1]&&(r+=":"),[r,n]},f=function(e){var[t,r]=h(e),[n,i]=t.split("::");for(n=n.split(":"),i=void 0!==i?i.split(":"):[];n.length+i.length<6;)n.push("0");var s=n.concat(i);for(let e=0;e<s.length;e++)0===s[e].length&&(s[e]="0");return s.map(e=>parseInt(e,16)).map(e=>o(a(e),16)).join("")+u(r)},p=function(e){return s(e,8).map(c).join(".")},d=function(e){var t=function(e){var t=e.split(":"),r=0,n=null,i=!1,o=0,s=null;for(let e=0;e<t.length;e++)i?"0"===t[e]?o++:(o>r&&(r=o,n=s),i=!1,o=0,s=null):"0"===t[e]&&(i=!0,o=1,s=e);return null!==s&&o>r&&(r=o,n=s),r<2?e:t.slice(0,n).join(":")+"::"+t.slice(n+r).join(":")}(s(e,16).map(c).map(l).join(":"));return t},g=function(e,t){var r=function(e){var[t,r]=e.split("::");for(t=t.split(":"),r=void 0!==r?r.split(":"):[];t.length+r.length<8;)t.push("0");var n=t.concat(r);for(let e=0;e<n.length;e++)0===n[e].length&&(n[e]="0");return n.map(e=>parseInt(e,16)).map(e=>o(a(e),16)).join("")}(e),n=r.substring(0,t),s=i(n,128);return d(s)},m=function(e,t){var r,n,o,s,a,c,u=f(e).substring(0,t),l=i(u,128);return n=(r=l).substring(0,96),o=r.substring(96),s=d(n),a=p(o),":"!==(c=s)[c.length-1]&&(c+=":"),c+a};e.exports=function(e,o=24,s=24){if("string"!=typeof e)return null;var a=function(e){return t(e)?"IPv4":r(e)?"IPv6":n(e)?"IPv6_4":"None"}(e=e.trim().toLowerCase());return"IPv4"===a?function(e,t){var r=u(e).substring(0,t),n=i(r,32);return p(n)}(e,o):"IPv6"===a?g(e,s):"IPv6_4"===a?function(e){return n(e)&&(!f(e).substring(0,96).includes("1")||!f(e).substring(0,80).includes("1")&&!f(e).substring(80,96).includes("0"))}(e)?m(e,o+96):m(e,s):null}},4869:(e,t,r)=>{for(var n,i=r(91790),o=r(94005),s=r(11415),a=s("typed_array"),c=s("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,h=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<9;)(n=i[f[h++]])?(o(n.prototype,a,!0),o(n.prototype,c,!0)):l=!1;e.exports={ABV:u,CONSTR:l,TYPED:a,VIEW:c}},4901:(e,t,r)=>{var n=r(72552),i=r(30294),o=r(40346),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[n(e)]}},4918:(e,t,r)=>{var n=r(65041),i=r(40324).onFreeze;r(37699)("seal",function(e){return function(t){return e&&n(t)?e(i(t)):t}})},5128:(e,t,r)=>{var n=r(80909),i=r(64894);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,function(e,n,i){o[++r]=t(e,n,i)}),o}},5162:(e,t,r)=>{"use strict";r(59004)("small",function(e){return function(){return e(this,"small","","")}})},5267:(e,t,r)=>{"use strict";var n;var i=r(12463).F,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function c(e){e()}function u(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var l,h=function(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var f=t.map(function(e,i){var o=i<t.length-1;return function(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var a=!1;e.on("close",function(){a=!0}),void 0===n&&(n=r(14257)),n(e,{readable:t,writable:i},function(e){if(e)return o(e);a=!0,o()});var c=!1;return function(t){if(!a&&!c)return c=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new s("pipe"))}}(e,o,i>0,function(e){l||(l=e),e&&f.forEach(c),o||(f.forEach(c),h(l))})});return t.reduce(u)}},5287:(e,t,r)=>{var n=r(34932),i=r(27185),o=r(69302),s=r(80741),a=o(function(e){var t=n(e,s);return t.length&&t[0]===e[0]?i(t):[]});e.exports=a},5307:(e,t,r)=>{var n=r(24727),i=r(45481),o=r(39595),s=r(99701),a=r(96375),c=r(59700),u=r(13068),l=r(65041);a(a.S,"Reflect",{set:function e(t,r,a){var h,f,p=arguments.length<4?t:arguments[3],d=i.f(u(t),r);if(!d){if(l(f=o(t)))return e(f,r,a,p);d=c(0)}if(s(d,"value")){if(!1===d.writable||!l(p))return!1;if(h=i.f(p,r)){if(h.get||h.set||!1===h.writable)return!1;h.value=a,n.f(p,r,h)}else n.f(p,r,c(0,a));return!0}return void 0!==d.set&&(d.set.call(p,a),!0)}})},5342:(e,t,r)=>{"use strict";const n=r(97075);e.exports=(e,t,r)=>n(e,t,"<",r)},5463:e=>{"use strict";const t=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);e.exports.assign=function(e){const r=Array.prototype.slice.call(arguments,1);for(;r.length;){const n=r.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(const r in n)t(n,r)&&(e[r]=n[r])}}return e},e.exports.flattenChunks=e=>{let t=0;for(let r=0,n=e.length;r<n;r++)t+=e[r].length;const r=new Uint8Array(t);for(let t=0,n=0,i=e.length;t<i;t++){let i=e[t];r.set(i,n),n+=i.length}return r}},5545:(e,t,r)=>{"use strict";var n=r(96375),i=r(54117),o=r(89270),s="startsWith",a=""[s];n(n.P+n.F*r(70267)(s),"String",{startsWith:function(e){var t=o(this,e,s),r=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return a?a.call(t,n,r):t.slice(r,r+n.length)===n}})},5601:(e,t,r)=>{e.exports=r(50080)},5707:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const Token=__webpack_require__(44266),strtok3=__webpack_require__(96452),{stringToBytes,tarHeaderChecksumMatches,uint32SyncSafeToken}=__webpack_require__(86760),supported=__webpack_require__(71664),minimumBytes=4100;async function fromStream(e){const t=await strtok3.fromStream(e);try{return await fromTokenizer(t)}finally{await t.close()}}async function fromBuffer(e){if(!(e instanceof Uint8Array||e instanceof ArrayBuffer||Buffer.isBuffer(e)))throw new TypeError(`Expected the \`input\` argument to be of type \`Uint8Array\` or \`Buffer\` or \`ArrayBuffer\`, got \`${typeof e}\``);const t=e instanceof Buffer?e:Buffer.from(e);if(!(t&&t.length>1))return;return fromTokenizer(strtok3.fromBuffer(t))}function _check(e,t,r){r={offset:0,...r};for(const[n,i]of t.entries())if(r.mask){if(i!==(r.mask[n]&e[n+r.offset]))return!1}else if(i!==e[n+r.offset])return!1;return!0}async function fromTokenizer(e){try{return _fromTokenizer(e)}catch(e){if(!(e instanceof strtok3.EndOfStreamError))throw e}}async function _fromTokenizer(e){let t=Buffer.alloc(minimumBytes);const r=(e,r)=>_check(t,e,r),n=(e,t)=>r(stringToBytes(e),t);if(e.fileInfo.size||(e.fileInfo.size=Number.MAX_SAFE_INTEGER),await e.peekBuffer(t,{length:12,mayBeLess:!0}),r([66,77]))return{ext:"bmp",mime:"image/bmp"};if(r([11,119]))return{ext:"ac3",mime:"audio/vnd.dolby.dd-raw"};if(r([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(r([77,90]))return{ext:"exe",mime:"application/x-msdownload"};if(r([37,33]))return await e.peekBuffer(t,{length:24,mayBeLess:!0}),n("PS-Adobe-",{offset:2})&&n(" EPSF-",{offset:14})?{ext:"eps",mime:"application/eps"}:{ext:"ps",mime:"application/postscript"};if(r([31,160])||r([31,157]))return{ext:"Z",mime:"application/x-compress"};if(r([255,216,255]))return{ext:"jpg",mime:"image/jpeg"};if(r([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(r([31,139,8]))return{ext:"gz",mime:"application/gzip"};if(r([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(n("ID3")){await e.ignore(6);const i=await e.readToken(uint32SyncSafeToken);return e.position+i>e.fileInfo.size?{ext:"mp3",mime:"audio/mpeg"}:(await e.ignore(i),fromTokenizer(e))}if(n("MP+"))return{ext:"mpc",mime:"audio/x-musepack"};if((67===t[0]||70===t[0])&&r([87,83],{offset:1}))return{ext:"swf",mime:"application/x-shockwave-flash"};if(r([71,73,70]))return{ext:"gif",mime:"image/gif"};if(n("FLIF"))return{ext:"flif",mime:"image/flif"};if(n("8BPS"))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(n("WEBP",{offset:8}))return{ext:"webp",mime:"image/webp"};if(n("MPCK"))return{ext:"mpc",mime:"audio/x-musepack"};if(n("FORM"))return{ext:"aif",mime:"audio/aiff"};if(n("icns",{offset:0}))return{ext:"icns",mime:"image/icns"};if(r([80,75,3,4])){try{for(;e.position+30<e.fileInfo.size;){await e.readBuffer(t,{length:30});const o={compressedSize:t.readUInt32LE(18),uncompressedSize:t.readUInt32LE(22),filenameLength:t.readUInt16LE(26),extraFieldLength:t.readUInt16LE(28)};if(o.filename=await e.readToken(new Token.StringType(o.filenameLength,"utf-8")),await e.ignore(o.extraFieldLength),"META-INF/mozilla.rsa"===o.filename)return{ext:"xpi",mime:"application/x-xpinstall"};if(o.filename.endsWith(".rels")||o.filename.endsWith(".xml")){switch(o.filename.split("/")[0]){case"_rels":default:break;case"word":return{ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};case"ppt":return{ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"};case"xl":return{ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}}}if(o.filename.startsWith("xl/"))return{ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"};if(o.filename.startsWith("3D/")&&o.filename.endsWith(".model"))return{ext:"3mf",mime:"model/3mf"};if("mimetype"===o.filename&&o.compressedSize===o.uncompressedSize){switch(await e.readToken(new Token.StringType(o.compressedSize,"utf-8"))){case"application/epub+zip":return{ext:"epub",mime:"application/epub+zip"};case"application/vnd.oasis.opendocument.text":return{ext:"odt",mime:"application/vnd.oasis.opendocument.text"};case"application/vnd.oasis.opendocument.spreadsheet":return{ext:"ods",mime:"application/vnd.oasis.opendocument.spreadsheet"};case"application/vnd.oasis.opendocument.presentation":return{ext:"odp",mime:"application/vnd.oasis.opendocument.presentation"}}}if(0===o.compressedSize){let s=-1;for(;s<0&&e.position<e.fileInfo.size;)await e.peekBuffer(t,{mayBeLess:!0}),s=t.indexOf("504B0304",0,"hex"),await e.ignore(s>=0?s:t.length)}else await e.ignore(o.compressedSize)}}catch(a){if(!(a instanceof strtok3.EndOfStreamError))throw a}return{ext:"zip",mime:"application/zip"}}if(n("OggS")){await e.ignore(28);const c=Buffer.alloc(8);return await e.readBuffer(c),_check(c,[79,112,117,115,72,101,97,100])?{ext:"opus",mime:"audio/opus"}:_check(c,[128,116,104,101,111,114,97])?{ext:"ogv",mime:"video/ogg"}:_check(c,[1,118,105,100,101,111,0])?{ext:"ogm",mime:"video/ogg"}:_check(c,[127,70,76,65,67])?{ext:"oga",mime:"audio/ogg"}:_check(c,[83,112,101,101,120,32,32])?{ext:"spx",mime:"audio/ogg"}:_check(c,[1,118,111,114,98,105,115])?{ext:"ogg",mime:"audio/ogg"}:{ext:"ogx",mime:"application/ogg"}}if(r([80,75])&&(3===t[2]||5===t[2]||7===t[2])&&(4===t[3]||6===t[3]||8===t[3]))return{ext:"zip",mime:"application/zip"};if(n("ftyp",{offset:4})&&96&t[8]){const u=t.toString("binary",8,12).replace("\0"," ").trim();switch(u){case"avif":return{ext:"avif",mime:"image/avif"};case"mif1":return{ext:"heic",mime:"image/heif"};case"msf1":return{ext:"heic",mime:"image/heif-sequence"};case"heic":case"heix":return{ext:"heic",mime:"image/heic"};case"hevc":case"hevx":return{ext:"heic",mime:"image/heic-sequence"};case"qt":return{ext:"mov",mime:"video/quicktime"};case"M4V":case"M4VH":case"M4VP":return{ext:"m4v",mime:"video/x-m4v"};case"M4P":return{ext:"m4p",mime:"video/mp4"};case"M4B":return{ext:"m4b",mime:"audio/mp4"};case"M4A":return{ext:"m4a",mime:"audio/x-m4a"};case"F4V":return{ext:"f4v",mime:"video/mp4"};case"F4P":return{ext:"f4p",mime:"video/mp4"};case"F4A":return{ext:"f4a",mime:"audio/mp4"};case"F4B":return{ext:"f4b",mime:"audio/mp4"};case"crx":return{ext:"cr3",mime:"image/x-canon-cr3"};default:return u.startsWith("3g")?u.startsWith("3g2")?{ext:"3g2",mime:"video/3gpp2"}:{ext:"3gp",mime:"video/3gpp"}:{ext:"mp4",mime:"video/mp4"}}}if(n("MThd"))return{ext:"mid",mime:"audio/midi"};if(n("wOFF")&&(r([0,1,0,0],{offset:4})||n("OTTO",{offset:4})))return{ext:"woff",mime:"font/woff"};if(n("wOF2")&&(r([0,1,0,0],{offset:4})||n("OTTO",{offset:4})))return{ext:"woff2",mime:"font/woff2"};if(r([212,195,178,161])||r([161,178,195,212]))return{ext:"pcap",mime:"application/vnd.tcpdump.pcap"};if(n("DSD "))return{ext:"dsf",mime:"audio/x-dsf"};if(n("LZIP"))return{ext:"lz",mime:"application/x-lzip"};if(n("fLaC"))return{ext:"flac",mime:"audio/x-flac"};if(r([66,80,71,251]))return{ext:"bpg",mime:"image/bpg"};if(n("wvpk"))return{ext:"wv",mime:"audio/wavpack"};if(n("%PDF")){await e.ignore(1350);const l=10485760,h=Buffer.alloc(Math.min(l,e.fileInfo.size));return await e.readBuffer(h,{mayBeLess:!0}),h.includes(Buffer.from("AIPrivateData"))?{ext:"ai",mime:"application/postscript"}:{ext:"pdf",mime:"application/pdf"}}if(r([0,97,115,109]))return{ext:"wasm",mime:"application/wasm"};if(r([73,73,42,0]))return n("CR",{offset:8})?{ext:"cr2",mime:"image/x-canon-cr2"}:r([28,0,254,0],{offset:8})||r([31,0,11,0],{offset:8})?{ext:"nef",mime:"image/x-nikon-nef"}:r([8,0,0,0],{offset:4})&&(r([45,0,254,0],{offset:8})||r([39,0,254,0],{offset:8}))?{ext:"dng",mime:"image/x-adobe-dng"}:(t=Buffer.alloc(24),await e.peekBuffer(t),(r([16,251,134,1],{offset:4})||r([8,0,0,0],{offset:4}))&&r([0,254,0,4,0,1,0,0,0,1,0,0,0,3,1],{offset:9})?{ext:"arw",mime:"image/x-sony-arw"}:{ext:"tif",mime:"image/tiff"});if(r([77,77,0,42]))return{ext:"tif",mime:"image/tiff"};if(n("MAC "))return{ext:"ape",mime:"audio/ape"};if(r([26,69,223,163])){async function f(){const t=await e.peekNumber(Token.UINT8);let r=128,n=0;for(;0===(t&r)&&0!==r;)++n,r>>=1;const i=Buffer.alloc(n+1);return await e.readBuffer(i),i}async function p(){const e=await f(),t=await f();t[0]^=128>>t.length-1;const r=Math.min(6,t.length);return{id:e.readUIntBE(0,e.length),len:t.readUIntBE(t.length-r,r)}}async function d(t,r){for(;r>0;){const t=await p();if(17026===t.id)return e.readToken(new Token.StringType(t.len,"utf-8"));await e.ignore(t.len),--r}}const g=await p();switch(await d(0,g.len)){case"webm":return{ext:"webm",mime:"video/webm"};case"matroska":return{ext:"mkv",mime:"video/x-matroska"};default:return}}if(r([82,73,70,70])){if(r([65,86,73],{offset:8}))return{ext:"avi",mime:"video/vnd.avi"};if(r([87,65,86,69],{offset:8}))return{ext:"wav",mime:"audio/vnd.wave"};if(r([81,76,67,77],{offset:8}))return{ext:"qcp",mime:"audio/qcelp"}}if(n("SQLi"))return{ext:"sqlite",mime:"application/x-sqlite3"};if(r([78,69,83,26]))return{ext:"nes",mime:"application/x-nintendo-nes-rom"};if(n("Cr24"))return{ext:"crx",mime:"application/x-google-chrome-extension"};if(n("MSCF")||n("ISc("))return{ext:"cab",mime:"application/vnd.ms-cab-compressed"};if(r([237,171,238,219]))return{ext:"rpm",mime:"application/x-rpm"};if(r([197,208,211,198]))return{ext:"eps",mime:"application/eps"};if(r([40,181,47,253]))return{ext:"zst",mime:"application/zstd"};if(r([79,84,84,79,0]))return{ext:"otf",mime:"font/otf"};if(n("#!AMR"))return{ext:"amr",mime:"audio/amr"};if(n("{\\rtf"))return{ext:"rtf",mime:"application/rtf"};if(r([70,76,86,1]))return{ext:"flv",mime:"video/x-flv"};if(n("IMPM"))return{ext:"it",mime:"audio/x-it"};if(n("-lh0-",{offset:2})||n("-lh1-",{offset:2})||n("-lh2-",{offset:2})||n("-lh3-",{offset:2})||n("-lh4-",{offset:2})||n("-lh5-",{offset:2})||n("-lh6-",{offset:2})||n("-lh7-",{offset:2})||n("-lzs-",{offset:2})||n("-lz4-",{offset:2})||n("-lz5-",{offset:2})||n("-lhd-",{offset:2}))return{ext:"lzh",mime:"application/x-lzh-compressed"};if(r([0,0,1,186])){if(r([33],{offset:4,mask:[241]}))return{ext:"mpg",mime:"video/MP1S"};if(r([68],{offset:4,mask:[196]}))return{ext:"mpg",mime:"video/MP2P"}}if(n("ITSF"))return{ext:"chm",mime:"application/vnd.ms-htmlhelp"};if(r([253,55,122,88,90,0]))return{ext:"xz",mime:"application/x-xz"};if(n("<?xml "))return{ext:"xml",mime:"application/xml"};if(r([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(r([82,97,114,33,26,7])&&(0===t[6]||1===t[6]))return{ext:"rar",mime:"application/x-rar-compressed"};if(n("solid "))return{ext:"stl",mime:"model/stl"};if(n("BLENDER"))return{ext:"blend",mime:"application/x-blender"};if(n("!<arch>")){await e.ignore(8);return"debian-binary"===await e.readToken(new Token.StringType(13,"ascii"))?{ext:"deb",mime:"application/x-deb"}:{ext:"ar",mime:"application/x-unix-archive"}}if(r([137,80,78,71,13,10,26,10])){async function m(){return{length:await e.readToken(Token.INT32_BE),type:await e.readToken(new Token.StringType(4,"binary"))}}await e.ignore(8);do{const v=await m();if(v.length<0)return;switch(v.type){case"IDAT":return{ext:"png",mime:"image/png"};case"acTL":return{ext:"apng",mime:"image/apng"};default:await e.ignore(v.length+4)}}while(e.position+8<e.fileInfo.size);return{ext:"png",mime:"image/png"}}if(r([65,82,82,79,87,49,0,0]))return{ext:"arrow",mime:"application/x-apache-arrow"};if(r([103,108,84,70,2,0,0,0]))return{ext:"glb",mime:"model/gltf-binary"};if(r([102,114,101,101],{offset:4})||r([109,100,97,116],{offset:4})||r([109,111,111,118],{offset:4})||r([119,105,100,101],{offset:4}))return{ext:"mov",mime:"video/quicktime"};if(r([73,73,82,79,8,0,0,0,24]))return{ext:"orf",mime:"image/x-olympus-orf"};if(n("gimp xcf "))return{ext:"xcf",mime:"image/x-xcf"};if(r([73,73,85,0,24,0,0,0,136,231,116,216]))return{ext:"rw2",mime:"image/x-panasonic-rw2"};if(r([48,38,178,117,142,102,207,17,166,217])){async function y(){const t=Buffer.alloc(16);return await e.readBuffer(t),{id:t,size:Number(await e.readToken(Token.UINT64_LE))}}for(await e.ignore(30);e.position+24<e.fileInfo.size;){const b=await y();let w=b.size-24;if(_check(b.id,[145,7,220,183,183,169,207,17,142,230,0,192,12,32,83,101])){const E=Buffer.alloc(16);if(w-=await e.readBuffer(E),_check(E,[64,158,105,248,77,91,207,17,168,253,0,128,95,92,68,43]))return{ext:"asf",mime:"audio/x-ms-asf"};if(_check(E,[192,239,25,188,77,91,207,17,168,253,0,128,95,92,68,43]))return{ext:"asf",mime:"video/x-ms-asf"};break}await e.ignore(w)}return{ext:"asf",mime:"application/vnd.ms-asf"}}if(r([171,75,84,88,32,49,49,187,13,10,26,10]))return{ext:"ktx",mime:"image/ktx"};if((r([126,16,4])||r([126,24,4]))&&r([48,77,73,69],{offset:4}))return{ext:"mie",mime:"application/x-mie"};if(r([39,10,0,0,0,0,0,0,0,0,0,0],{offset:2}))return{ext:"shp",mime:"application/x-esri-shape"};if(r([0,0,0,12,106,80,32,32,13,10,135,10])){await e.ignore(20);switch(await e.readToken(new Token.StringType(4,"ascii"))){case"jp2 ":return{ext:"jp2",mime:"image/jp2"};case"jpx ":return{ext:"jpx",mime:"image/jpx"};case"jpm ":return{ext:"jpm",mime:"image/jpm"};case"mjp2":return{ext:"mj2",mime:"image/mj2"};default:return}}if(r([255,10])||r([0,0,0,12,74,88,76,32,13,10,135,10]))return{ext:"jxl",mime:"image/jxl"};if(r([0,0,1,186])||r([0,0,1,179]))return{ext:"mpg",mime:"video/mpeg"};if(r([0,1,0,0,0]))return{ext:"ttf",mime:"font/ttf"};if(r([0,0,1,0]))return{ext:"ico",mime:"image/x-icon"};if(r([0,0,2,0]))return{ext:"cur",mime:"image/x-icon"};if(r([208,207,17,224,161,177,26,225]))return{ext:"cfb",mime:"application/x-cfb"};if(await e.peekBuffer(t,{length:Math.min(256,e.fileInfo.size),mayBeLess:!0}),n("BEGIN:")){if(n("VCARD",{offset:6}))return{ext:"vcf",mime:"text/vcard"};if(n("VCALENDAR",{offset:6}))return{ext:"ics",mime:"text/calendar"}}if(n("FUJIFILMCCD-RAW"))return{ext:"raf",mime:"image/x-fujifilm-raf"};if(n("Extended Module:"))return{ext:"xm",mime:"audio/x-xm"};if(n("Creative Voice File"))return{ext:"voc",mime:"audio/x-voc"};if(r([4,0,0,0])&&t.length>=16){const S=t.readUInt32LE(12);if(S>12&&t.length>=S+16)try{const A=t.slice(16,S+16).toString();if(JSON.parse(A).files)return{ext:"asar",mime:"application/x-asar"}}catch(C){}}if(r([6,14,43,52,2,5,1,1,13,1,2,1,1,2]))return{ext:"mxf",mime:"application/mxf"};if(n("SCRM",{offset:44}))return{ext:"s3m",mime:"audio/x-s3m"};if(r([71],{offset:4})&&(r([71],{offset:192})||r([71],{offset:196})))return{ext:"mts",mime:"video/mp2t"};if(r([66,79,79,75,77,79,66,73],{offset:60}))return{ext:"mobi",mime:"application/x-mobipocket-ebook"};if(r([68,73,67,77],{offset:128}))return{ext:"dcm",mime:"application/dicom"};if(r([76,0,0,0,1,20,2,0,0,0,0,0,192,0,0,0,0,0,0,70]))return{ext:"lnk",mime:"application/x.ms.shortcut"};if(r([98,111,111,107,0,0,0,0,109,97,114,107,0,0,0,0]))return{ext:"alias",mime:"application/x.apple.alias"};if(r([76,80],{offset:34})&&(r([0,0,1],{offset:8})||r([1,0,2],{offset:8})||r([2,0,2],{offset:8})))return{ext:"eot",mime:"application/vnd.ms-fontobject"};if(r([6,6,237,245,216,29,70,229,189,49,239,231,254,116,183,29]))return{ext:"indd",mime:"application/x-indesign"};if(await e.peekBuffer(t,{length:Math.min(512,e.fileInfo.size),mayBeLess:!0}),tarHeaderChecksumMatches(t))return{ext:"tar",mime:"application/x-tar"};if(r([255,254,255,14,83,0,107,0,101,0,116,0,99,0,104,0,85,0,112,0,32,0,77,0,111,0,100,0,101,0,108,0]))return{ext:"skp",mime:"application/vnd.sketchup.skp"};if(n("-----BEGIN PGP MESSAGE-----"))return{ext:"pgp",mime:"application/pgp-encrypted"};if(t.length>=2&&r([255,224],{offset:0,mask:[255,224]})){if(r([16],{offset:1,mask:[22]}))return r([8],{offset:1,mask:[8]}),{ext:"aac",mime:"audio/aac"};if(r([2],{offset:1,mask:[6]}))return{ext:"mp3",mime:"audio/mpeg"};if(r([4],{offset:1,mask:[6]}))return{ext:"mp2",mime:"audio/mpeg"};if(r([6],{offset:1,mask:[6]}))return{ext:"mp1",mime:"audio/mpeg"}}}const stream=readableStream=>new Promise((resolve,reject)=>{const stream=eval("require")("stream");readableStream.on("error",reject),readableStream.once("readable",async()=>{const e=new stream.PassThrough;let t;t=stream.pipeline?stream.pipeline(readableStream,