genesys-cloud-streaming-client 17.2.3-develop.106 → 17.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/client.d.ts +1 -0
- package/dist/cjs/client.js +16 -6
- package/dist/deploy-info.json +2 -2
- package/dist/es/client.d.ts +1 -0
- package/dist/es/client.js +16 -6
- package/dist/es/index.bundle.js +16 -6
- package/dist/npm/CHANGELOG.md +4 -1
- package/dist/npm/client.d.ts +1 -0
- package/dist/npm/client.js +16 -6
- package/dist/streaming-client.browser.ie.js +1 -1
- package/dist/streaming-client.browser.js +1 -1
- package/dist/v17/streaming-client.browser.ie.js +1 -1
- package/dist/v17/streaming-client.browser.js +1 -1
- package/dist/v17.2.3/streaming-client.browser.ie.js +1 -1
- package/dist/v17.2.3/streaming-client.browser.js +1 -1
- package/package.json +117 -119
|
@@ -19,7 +19,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
19
19
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
20
20
|
and limitations under the License.
|
|
21
21
|
***************************************************************************** */
|
|
22
|
-
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function c(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(o,a)}c((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function p(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function g(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),s=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){s.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(c,u):l(s[0][2],n)}catch(e){l(s[0][3],e)}var n}function c(e){a("next",e)}function u(e){a("throw",e)}function l(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function v(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function T(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(32),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var s=Object.create(n(27)),o=n(87),a=n(89);s.inherits(d,o);for(var c=i(a.prototype),u=0;u<c.length;u++){var l=c[u];d.prototype[l]||(d.prototype[l]=a.prototype[l])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t,n){"use strict";n.r(t);var r=n(39),i=n(17);let s,o,a=0,c=0;var u=function(e,t,n){let u=t&&n||0;const l=t||new Array(16);let d=(e=e||{}).node||s,p=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==p){const t=e.random||(e.rng||r.a)();null==d&&(d=s=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=o=16383&(t[6]<<8|t[7]))}let h=void 0!==e.msecs?e.msecs:Date.now(),f=void 0!==e.nsecs?e.nsecs:c+1;const m=h-a+(f-c)/1e4;if(m<0&&void 0===e.clockseq&&(p=p+1&16383),(m<0||h>a)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=h,c=f,o=p,h+=122192928e5;const g=(1e4*(268435455&h)+f)%4294967296;l[u++]=g>>>24&255,l[u++]=g>>>16&255,l[u++]=g>>>8&255,l[u++]=255&g;const y=h/4294967296*1e4&268435455;l[u++]=y>>>8&255,l[u++]=255&y,l[u++]=y>>>24&15|16,l[u++]=y>>>16&255,l[u++]=p>>>8|128,l[u++]=255&p;for(let e=0;e<6;++e)l[u+e]=d[e];return t||Object(i.b)(l)},l=(n(6),n(18));var d=function(e){if(!Object(l.a)(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function p(e,t,n){function r(e,r,s,o){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=d(r)),16!==(null===(a=r)||void 0===a?void 0:a.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let c=new Uint8Array(16+e.length);if(c.set(r),c.set(e,r.length),c=n(c),c[6]=15&c[6]|t,c[8]=63&c[8]|128,s){o=o||0;for(let e=0;e<16;++e)s[o+e]=c[e];return s}return Object(i.b)(c)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function h(e){return 14+(e+64>>>9<<4)+1}function f(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function m(e,t,n,r,i,s){return f((o=f(f(t,e),f(r,s)))<<(a=i)|o>>>32-a,n);var o,a}function g(e,t,n,r,i,s,o){return m(t&n|~t&r,e,t,i,s,o)}function y(e,t,n,r,i,s,o){return m(t&r|n&~r,e,t,i,s,o)}function b(e,t,n,r,i,s,o){return m(t^n^r,e,t,i,s,o)}function v(e,t,n,r,i,s,o){return m(n^(t|~r),e,t,i,s,o)}var _=p("v3",48,(function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length;for(let r=0;r<n;r+=8){const n=e[r>>5]>>>r%32&255,i=parseInt("0123456789abcdef".charAt(n>>>4&15)+"0123456789abcdef".charAt(15&n),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[h(t)-1]=t;let n=1732584193,r=-271733879,i=-1732584194,s=271733878;for(let t=0;t<e.length;t+=16){const o=n,a=r,c=i,u=s;n=g(n,r,i,s,e[t],7,-680876936),s=g(s,n,r,i,e[t+1],12,-389564586),i=g(i,s,n,r,e[t+2],17,606105819),r=g(r,i,s,n,e[t+3],22,-1044525330),n=g(n,r,i,s,e[t+4],7,-176418897),s=g(s,n,r,i,e[t+5],12,1200080426),i=g(i,s,n,r,e[t+6],17,-1473231341),r=g(r,i,s,n,e[t+7],22,-45705983),n=g(n,r,i,s,e[t+8],7,1770035416),s=g(s,n,r,i,e[t+9],12,-1958414417),i=g(i,s,n,r,e[t+10],17,-42063),r=g(r,i,s,n,e[t+11],22,-1990404162),n=g(n,r,i,s,e[t+12],7,1804603682),s=g(s,n,r,i,e[t+13],12,-40341101),i=g(i,s,n,r,e[t+14],17,-1502002290),r=g(r,i,s,n,e[t+15],22,1236535329),n=y(n,r,i,s,e[t+1],5,-165796510),s=y(s,n,r,i,e[t+6],9,-1069501632),i=y(i,s,n,r,e[t+11],14,643717713),r=y(r,i,s,n,e[t],20,-373897302),n=y(n,r,i,s,e[t+5],5,-701558691),s=y(s,n,r,i,e[t+10],9,38016083),i=y(i,s,n,r,e[t+15],14,-660478335),r=y(r,i,s,n,e[t+4],20,-405537848),n=y(n,r,i,s,e[t+9],5,568446438),s=y(s,n,r,i,e[t+14],9,-1019803690),i=y(i,s,n,r,e[t+3],14,-187363961),r=y(r,i,s,n,e[t+8],20,1163531501),n=y(n,r,i,s,e[t+13],5,-1444681467),s=y(s,n,r,i,e[t+2],9,-51403784),i=y(i,s,n,r,e[t+7],14,1735328473),r=y(r,i,s,n,e[t+12],20,-1926607734),n=b(n,r,i,s,e[t+5],4,-378558),s=b(s,n,r,i,e[t+8],11,-2022574463),i=b(i,s,n,r,e[t+11],16,1839030562),r=b(r,i,s,n,e[t+14],23,-35309556),n=b(n,r,i,s,e[t+1],4,-1530992060),s=b(s,n,r,i,e[t+4],11,1272893353),i=b(i,s,n,r,e[t+7],16,-155497632),r=b(r,i,s,n,e[t+10],23,-1094730640),n=b(n,r,i,s,e[t+13],4,681279174),s=b(s,n,r,i,e[t],11,-358537222),i=b(i,s,n,r,e[t+3],16,-722521979),r=b(r,i,s,n,e[t+6],23,76029189),n=b(n,r,i,s,e[t+9],4,-640364487),s=b(s,n,r,i,e[t+12],11,-421815835),i=b(i,s,n,r,e[t+15],16,530742520),r=b(r,i,s,n,e[t+2],23,-995338651),n=v(n,r,i,s,e[t],6,-198630844),s=v(s,n,r,i,e[t+7],10,1126891415),i=v(i,s,n,r,e[t+14],15,-1416354905),r=v(r,i,s,n,e[t+5],21,-57434055),n=v(n,r,i,s,e[t+12],6,1700485571),s=v(s,n,r,i,e[t+3],10,-1894986606),i=v(i,s,n,r,e[t+10],15,-1051523),r=v(r,i,s,n,e[t+1],21,-2054922799),n=v(n,r,i,s,e[t+8],6,1873313359),s=v(s,n,r,i,e[t+15],10,-30611744),i=v(i,s,n,r,e[t+6],15,-1560198380),r=v(r,i,s,n,e[t+13],21,1309151649),n=v(n,r,i,s,e[t+4],6,-145523070),s=v(s,n,r,i,e[t+11],10,-1120210379),i=v(i,s,n,r,e[t+2],15,718787259),r=v(r,i,s,n,e[t+9],21,-343485551),n=f(n,o),r=f(r,a),i=f(i,c),s=f(s,u)}return[n,r,i,s]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(h(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),S=n(202);function w(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function T(e,t){return e<<t|e>>>32-t}var I=p("v5",80,(function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const r=e.length/4+2,i=Math.ceil(r/16),s=new Array(i);for(let t=0;t<i;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];s[t]=n}s[i-1][14]=8*(e.length-1)/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<i;++e){const r=new Uint32Array(80);for(let t=0;t<16;++t)r[t]=s[e][t];for(let e=16;e<80;++e)r[e]=T(r[e-3]^r[e-8]^r[e-14]^r[e-16],1);let i=n[0],o=n[1],a=n[2],c=n[3],u=n[4];for(let e=0;e<80;++e){const n=Math.floor(e/20),s=T(i,5)+w(n,o,a,c)+u+t[n]+r[e]>>>0;u=c,c=a,a=T(o,30)>>>0,o=i,i=s}n[0]=n[0]+i>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+a>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+u>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));var A=function(e){if(!Object(l.a)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)};n.d(t,"v1",(function(){return u})),n.d(t,"v3",(function(){return _})),n.d(t,"v4",(function(){return S.a})),n.d(t,"v5",(function(){return I})),n.d(t,"NIL",(function(){return"00000000-0000-0000-0000-000000000000"})),n.d(t,"version",(function(){return A})),n.d(t,"validate",(function(){return l.a})),n.d(t,"stringify",(function(){return i.a})),n.d(t,"parse",(function(){return d}))},function(e,t,n){var r=n(13);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(24),i=n(42),s=n(72);e.exports=r?function(e,t,n){return i.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(11),i=n(50);class s extends i.Transform{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"be";super(),this._block=r.Buffer.alloc(e),this._finalSize=t,this._blockSize=e,this._bigEndian="be"===n,this._len=0}_transform(e,t,n){let r=null;try{this.update(e,t)}catch(e){r=e}n(r)}_flush(e){let t=null;try{this.push(this.digest())}catch(e){t=e}e(t)}update(e,t){"string"==typeof e&&(t=t||"utf8",e=r.Buffer.from(e,t));const n=this._block,i=this._blockSize,s=e.length;let o=this._len;for(let t=0;t<s;){const r=o%i,a=Math.min(s-t,i-r);for(let i=0;i<a;i++)n[r+i]=e[t+i];o+=a,t+=a,o%i==0&&this._update(n)}return this._len+=s,this}digest(e){const t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));const n=8*this._len;if(n<=4294967295)this._bigEndian?(this._block.writeUInt32BE(0,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)):(this._block.writeUInt32LE(n,this._blockSize-8),this._block.writeUInt32LE(0,this._blockSize-4));else{const e=(4294967295&n)>>>0,t=(n-e)/4294967296;this._bigEndian?(this._block.writeUInt32BE(t,this._blockSize-8),this._block.writeUInt32BE(e,this._blockSize-4)):(this._block.writeUInt32LE(e,this._blockSize-8),this._block.writeUInt32LE(t,this._blockSize-4))}this._update(this._block);const r=this._hash();return e?r.toString(e):r}_update(e){throw new Error("_update must be implemented by subclass")}_hash(){throw new Error("_update must be implemented by subclass")}}t.default=s},function(e,t,n){"use strict";t.inherits=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionTypes=void 0,function(e){e.softphone="softphone",e.collaborateVideo="collaborateVideo",e.acdScreenShare="screenShare",e.screenRecording="screenRecording",e.unknown="unknown"}(t.SessionTypes||(t.SessionTypes={}))},function(e,t){const n=e.exports={};function r(){}n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=r,n.addListener=r,n.once=r,n.off=r,n.removeListener=r,n.removeAllListeners=r,n.emit=r,n.prependListener=r,n.prependOnceListener=r,n.nextTick=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return window.queueMicrotask(()=>e(...n))},n.listeners=e=>[],n.cwd=()=>"/",n.umask=()=>0,n.binding=e=>{throw new Error("process.binding is not supported")},n.chdir=e=>{throw new Error("process.chdir is not supported")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(31);class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.name=e,this.attributes=t,this.children=[],this.optionalNamespaces={};for(const e of n)if("string"!=typeof e){const t=new i(e.name,e.attributes,e.children);t.parent=this,this.children.push(t)}else this.children.push(e)}getName(){return this.name.indexOf(":")>=0?this.name.substr(this.name.indexOf(":")+1):this.name}getNamespace(){if(this.name.indexOf(":")>=0){const e=this.name.substr(0,this.name.indexOf(":"));return this.findNamespaceForPrefix(e)}return this.findNamespaceForPrefix()}getNamespaceContext(){let e={};this.parent&&(e=this.parent.getNamespaceContext());for(const[t,n]of Object.entries(this.attributes))if(t.startsWith("xmlns:")){const r=t.substr(6);e[n]=r}return e}getDefaultNamespace(){return this.attributes.xmlns?this.attributes.xmlns:this.parent?this.parent.getDefaultNamespace():""}getNamespaceRoot(e){if(this.parent){const t=this.parent.getNamespaceRoot(e);if(t)return t}for(const[t,n]of Object.entries(this.attributes))if(t.startsWith("xmlns:")&&n===e)return this;if(this.optionalNamespaces[e])return this}getAttribute(e,t){if(!t)return this.attributes[e];const n=this.getNamespaceContext();return n[t]?this.attributes[[n[t],e].join(":")]:void 0}getChild(e,t){return this.getChildren(e,t)[0]}getChildren(e,t){const n=[];for(const r of this.children)"string"==typeof r||r.getName()!==e||t&&r.getNamespace()!==t||n.push(r);return n}getText(){let e="";for(const t of this.children)"string"==typeof t&&(e+=t);return e}appendChild(e){return this.children.push(e),"string"!=typeof e&&(e.parent=this),e}setAttribute(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.attributes[e]=t||void 0,""===t&&n&&(this.attributes[e]=t)}addOptionalNamespace(e,t){this.optionalNamespaces[t]=e}useNamespace(e,t){return this.optionalNamespaces[t]&&(e=this.optionalNamespaces[t]),this.setAttribute("xmlns:"+e,t),e}toJSON(){const e=this.children.map(e=>"string"==typeof e?e:e?e.toJSON():void 0).filter(e=>!!e),t={};for(const[e,n]of Object.entries(this.attributes))null!=n&&(t[e]=n);return{attributes:t,children:e,name:this.name}}toString(){let e=this.openTag(!0);if(this.children.length){for(const t of this.children)"string"==typeof t?e+=(0,r.escapeXMLText)(t):t&&(e+=t.toString());e+=this.closeTag()}return e}openTag(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="";t+="<"+this.name;for(const[e,n]of Object.entries(this.attributes))void 0!==n&&(t+=` ${e}="${(0,r.escapeXML)(n.toString())}"`);return e&&0===this.children.length?t+="/>":t+=">",t}closeTag(){return`</${this.name}>`}findNamespaceForPrefix(e){if(e){const t="xmlns:"+e;if(this.attributes[t])return this.attributes[t];if(this.parent)return this.parent.findNamespaceForPrefix(e)}else{if(this.attributes.xmlns)return this.attributes.xmlns;if(this.parent)return this.parent.findNamespaceForPrefix()}return""}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.basicLanguageResolver=t.escapeXMLText=t.unescapeXML=t.escapeXML=void 0;const r=(0,n(3).__importDefault)(n(48)),i={'"':""","&":"&","'":"'","<":"<",">":">"},s={"&":"&","'":"'",">":">","<":"<",""":'"'},o=/&([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);/g,a=/&|<|>|"|'/g,c=/&|<|>/g;function u(e){return i[e]}t.escapeXML=function(e){return e.replace(a,u)},t.unescapeXML=function(e){return e.replace(o,e=>function(e){if(s[e])return s[e];const t=e.startsWith("&#x"),n=parseInt(e.substring(t?3:2,e.length-1),t?16:10);if(9===n||10===n||13===n||32<=n&&n<=55295||57344<=n&&n<=65533||65536<=n&&n<=1114111)return String.fromCodePoint(n);throw r.default.restrictedXML("Prohibited entity: "+e)}(e))},t.escapeXMLText=function(e){return e.replace(c,u)},t.basicLanguageResolver=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const r=new Set(e.map(e=>e.toLowerCase()));for(let e of t.map(e=>e.toLowerCase()))if("*"!==e)for(;e.length>0;){if(r.has(e))return e;e=e.substring(0,e.lastIndexOf("-")).toLowerCase(),e.lastIndexOf("-")===e.length-2&&(e=e.substring(0,e.lastIndexOf("-")))}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextTick=void 0,t.nextTick=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];queueMicrotask(()=>e(...n))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportToSDP=t.importFromSDP=void 0;const r=(0,n(3).__importStar)(n(93));t.importFromSDP=function(e){const t=r.getMediaSections(e),n=r.getDescription(e),i={groups:[],media:[]};r.matchPrefix(n,"a=ice-lite").length>0&&(i.iceLite=!0);for(const e of r.matchPrefix(n,"a=group:")){const t=e.split(" "),n=t.shift().substr(8);i.groups.push({mids:t,semantics:n})}for(const e of t){const t=r.getKind(e),s=r.isRejected(e),o=r.parseMLine(e),a={direction:r.getDirection(e,n),kind:t,mid:r.getMid(e),protocol:o.protocol};if(s||(a.iceParameters=r.getIceParameters(e,n),a.dtlsParameters=r.getDtlsParameters(e,n),a.setup=r.matchPrefix(e,"a=setup:")[0].substr(8),i.iceLite&&(a.iceParameters.iceLite=!0)),"audio"===t||"video"===t){a.rtpParameters=r.parseRtpParameters(e),a.rtpEncodingParameters=r.parseRtpEncodingParameters(e),a.rtcpParameters=r.parseRtcpParameters(e);const t=r.parseMsid(e);a.streams=t?[t]:[]}else"application"===t&&(a.sctp=r.parseSctpDescription(e));a.candidates=r.matchPrefix(e,"a=candidate:").map(r.parseCandidate),i.media.push(a)}return i},t.exportToSDP=function(e){const t=[];t.push(r.writeSessionBoilerplate(e.sessionId,e.sessionVersion),"a=msid-semantic:WMS *\r\n"),(e.iceLite||e.media.filter(e=>e.iceParameters&&e.iceParameters.iceLite).length>0)&&t.push("a=ice-lite\r\n");for(const n of e.groups||[])t.push(`a=group:${n.semantics} ${n.mids.join(" ")}\r\n`);for(const n of e.media||[]){const e=!(n.iceParameters&&n.dtlsParameters);if("application"===n.kind&&n.sctp)t.push(r.writeSctpDescription(n,n.sctp));else if(n.rtpParameters){let i=r.writeRtpDescription(n.kind,n.rtpParameters);e&&(i=i.replace(`m=${n.kind} 9 `,`m=${n.kind} 0 `)),t.push(i),t.push(`a=${n.direction||"sendrecv"}\r\n`);for(const e of n.streams||[])t.push(`a=msid:${e.stream} ${e.track}\r\n`);if(n.rtcpParameters&&(t.push(r.writeRtcpParameters(n.rtcpParameters)),n.rtcpParameters.cname&&n.rtpEncodingParameters&&n.rtpEncodingParameters[0].rtx)){const e=n.rtpEncodingParameters[0];t.push(`a=ssrc-group:FID ${e.ssrc} ${e.rtx.ssrc}\r\n`),t.push(`a=ssrc:${e.rtx.ssrc} cname:${n.rtcpParameters.cname}\r\n`)}}if(void 0!==n.mid&&t.push(`a=mid:${n.mid}\r\n`),n.iceParameters&&t.push(r.writeIceParameters({usernameFragment:n.iceParameters.usernameFragment,password:n.iceParameters.password})),n.dtlsParameters&&n.setup&&t.push(r.writeDtlsParameters(n.dtlsParameters,n.setup)),n.candidates&&n.candidates.length)for(const e of n.candidates)t.push(`a=${r.writeCandidate(e)}\r\n`)}return t.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=void 0;const r=n(21).__importStar(n(97)),i=n(16);class s{constructor(){this._httpRetryingRequests=new Map}requestApiWithRetry(e,t,n){const r=i.retryPromise(this.requestApi.bind(this,e,t),e=>{var n,r,i;let o=!1;if(null==e?void 0:e.response){o=s.retryStatusCodes.has(e.response.status||0);const a=(null===(n=e.response.headers)||void 0===n?void 0:n["retry-after"])||(null===(i=(r=e.response).getResponseHeader)||void 0===i?void 0:i.call(r,"retry-after"));a&&((t.logger||console).debug("retry-after header found on response. setting retry delay",{retryAfter:a}),o=1e3*parseInt(a,10))}return o},n,t.logger);return this._httpRetryingRequests.set(r._id,r),r.promise.then(()=>this.cancelRetryRequest(r._id),()=>this.cancelRetryRequest(r._id)),r}requestApi(e,t){const n=t.logger||console,i=(new Date).getTime(),s=this._buildUri(t.host,e,t.version),o={"content-type":t.contentType||"application/json",...t.customHeaders||{}},a={method:t.method,url:s,data:t.data,responseType:t.responseType,timeout:t.requestTimeout||3e4,headers:o};t.noAuthHeader||(a.headers.Authorization="Bearer "+t.authToken);const c=this.handleResponse.bind(this,n,i,a);return r.default(a).then(c,c)}handleResponse(e,t,n,i){var s,o,a;let c=(new Date).getTime(),u=c-t+"ms";if(i instanceof r.AxiosError){if((null===(o=null===(s=i.config)||void 0===s?void 0:s.headers)||void 0===o?void 0:o.Authorization)&&(i.config.headers.Authorization="redacted"),"ECONNABORTED"===i.code)return e.debug("request error: "+n.url,{message:i.message,now:c,elapsed:u},{skipServer:!0}),Promise.reject(i);const t=i.response||{};let r=t.status,l=t.headers&&t.headers["inin-correlation-id"],d=t.data,p={...i,text:null===(a=t.request)||void 0===a?void 0:a.response};return e.debug("request error: "+n.url,{message:i.message,now:c,elapsed:u,status:r,correlationId:l,body:d},{skipServer:!0}),Promise.reject(p)}let l=i.status,d=i.headers["inin-correlation-id"],p=JSON.stringify(i.data);return e.debug(`response: ${n.method.toUpperCase()} ${n.url}`,{now:c,status:l,elapsed:u,correlationId:d,body:p},{skipServer:!0}),Promise.resolve(i)}stopAllRetries(){Array.from(this._httpRetryingRequests.keys()).forEach(e=>this.cancelRetryRequest(e))}cancelRetryRequest(e){const t=this._httpRetryingRequests.get(e);return t&&(t.cancel(new Error("Retry request cancelled")),this._httpRetryingRequests.delete(e)),!0}formatRequestError(e){if(this.isSuperagentNetworkError(e))return{status:e.status,method:e.method,url:e.url,crossDomain:e.crossDomain,message:e.message,name:e.name,stack:e.stack};if(this.isSuperagentResponseError(e)){const t=e.response;return{status:e.status,correlationId:t.headers["inin-correlation-id"],message:"Error making HTTP request",method:t.req.method,name:t.error.name,stack:t.error.stack}}return e}isSuperagentNetworkError(e){return e&&e.hasOwnProperty("status")&&e.hasOwnProperty("method")&&e.hasOwnProperty("url")}isSuperagentResponseError(e){return!!(e&&e.response&&e.response.body&&e.response.req)}_buildUri(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"v2";return t=t.replace(/^\/+|\/+$/g,""),0===e.indexOf("http")?`${e}/api/${n}/${t}`:`https://api.${e}/api/${n}/${t}`}}t.HttpClient=s,s.retryStatusCodes=new Set([408,413,429,500,502,503,504])},function(e,t){var n=Object.prototype.hasOwnProperty;function r(e){return"[Throws: "+(e?e.message:"?")+"]"}function i(e){var t=[];return function e(i){if(null===i||"object"!=typeof i)return i;if(-1!==t.indexOf(i))return"[Circular]";if(t.push(i),"function"==typeof i.toJSON)try{var s=e(i.toJSON());return t.pop(),s}catch(e){return r(e)}if(Array.isArray(i)){var o=i.map(e);return t.pop(),o}var a=Object.keys(i).reduce((function(t,s){return t[s]=e(function(e,t){if(n.call(e,t))try{return e[t]}catch(e){return r(e)}return e[t]}(i,s)),t}),{});return t.pop(),a}(e)}e.exports=function(e,t,n){return JSON.stringify(i(e),t,n)},e.exports.ensureProperties=i},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.a=null},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n(6);let r;const i=new Uint8Array(16);function s(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}},function(e,t,n){var r=n(8),i=n(67),s=n(15),o=n(44),a=n(73),c=n(211),u=i("wks"),l=r.Symbol,d=c?l:l&&l.withoutSetter||o;e.exports=function(e){return s(u,e)||(a&&s(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},function(e,t,n){var r=n(8),i=n(25);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(24),i=n(69),s=n(43),o=n(71),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(s(e),t=o(t,!0),s(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(s){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var a,c=2147483647,u=/^xn--/,l=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function m(e){throw new RangeError(p[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(d,".")).split("."),t).join(".")}function b(e){for(var t,n,r=[],i=0,s=e.length;i<s;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<s?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function v(e){return g(e,(function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,n){var r=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;r+=36)e=h(e/35);return h(r+36*e/(e+38))}function w(e){var t,n,r,i,s,o,a,u,l,d,p,f=[],g=e.length,y=0,b=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),f.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(s=y,o=1,a=36;i>=g&&m("invalid-input"),((u=(p=e.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||u>h((c-y)/o))&&m("overflow"),y+=u*o,!(u<(l=a<=_?1:a>=_+26?26:a-_));a+=36)o>h(c/(d=36-l))&&m("overflow"),o*=d;_=S(y-s,t=f.length+1,0==s),h(y/t)>c-b&&m("overflow"),b+=h(y/t),y%=t,f.splice(y++,0,b)}return v(f)}function T(e){var t,n,r,i,s,o,a,u,l,d,p,g,y,v,w,T=[];for(g=(e=b(e)).length,t=128,n=0,s=72,o=0;o<g;++o)(p=e[o])<128&&T.push(f(p));for(r=i=T.length,i&&T.push("-");r<g;){for(a=c,o=0;o<g;++o)(p=e[o])>=t&&p<a&&(a=p);for(a-t>h((c-n)/(y=r+1))&&m("overflow"),n+=(a-t)*y,t=a,o=0;o<g;++o)if((p=e[o])<t&&++n>c&&m("overflow"),p==t){for(u=n,l=36;!(u<(d=l<=s?1:l>=s+26?26:l-s));l+=36)w=u-d,v=36-d,T.push(f(_(d+w%v,0))),u=h(w/v);T.push(f(_(u,0))),s=S(n,y,r==i),n=0,++r}++n,++t}return T.join("")}a={version:"1.4.1",ucs2:{decode:b,encode:v},decode:w,encode:T,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+T(e):e}))},toUnicode:function(e){return y(e,(function(e){return u.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return a}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(239)(e),n(14))},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.JXTErrorCondition=void 0,function(e){e.NotWellFormed="not-well-formed",e.RestrictedXML="restricted-xml",e.AlreadyClosed="already-closed",e.UnknownRoot="unknown-stream-root"}(r=t.JXTErrorCondition||(t.JXTErrorCondition={}));class i extends Error{constructor(e){super(e.text),this.isJXTError=!0,this.condition=e.condition,this.text=e.text}static notWellFormed(e){return new i({condition:r.NotWellFormed,text:e})}static restrictedXML(e){return new i({condition:r.RestrictedXML,text:e})}static alreadyClosed(e){return new i({condition:r.AlreadyClosed,text:e})}static unknownRoot(e){return new i({condition:r.UnknownRoot,text:e})}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.childAlternateLanguageRawElement=t.childLanguageRawElement=t.childRawElement=t.staticValue=t.splicePath=t.multipleChildEnum=t.multipleChildAlternateLanguageText=t.childAlternateLanguageText=t.multipleChildIntegerAttribute=t.multipleChildAttribute=t.multipleChildText=t.childDoubleEnum=t.childEnum=t.deepMultipleChildText=t.deepChildBoolean=t.deepChildInteger=t.deepChildText=t.childBoolean=t.childTimezoneOffset=t.childJSON=t.childFloat=t.childInteger=t.childDate=t.childTextBuffer=t.childText=t.childLanguageAttribute=t.languageAttribute=t.textBuffer=t.textJSON=t.text=t.childDateAttribute=t.childFloatAttribute=t.childIntegerAttribute=t.childBooleanAttribute=t.childAttribute=t.namespacedDateAttribute=t.namespacedFloatAttribute=t.namespacedIntegerAttribute=t.namespacedBooleanAttribute=t.namespacedAttribute=t.dateAttribute=t.floatAttribute=t.integerAttribute=t.booleanAttribute=t.attribute=t.findOrCreate=t.findAll=t.getTargetLang=t.getLang=t.createElement=void 0,t.parameterMap=void 0;const r=n(3),i=n(9),s=(0,r.__importDefault)(n(30)),o=n(51);function a(e,t,n,r){if(r){e=e||r.getNamespace();const n=r.getNamespaceRoot(e);if(n){t=`${n.useNamespace("",e)}:${t}`}}const i=new s.default(t);return t.indexOf(":")<0&&(!n||e!==n)&&i.setAttribute("xmlns",e),i}function c(e,t){return(e.getAttribute("xml:lang")||t||"").toLowerCase()}function u(e,t){const n=[];for(const r of e)n.push(c(r,t.lang));let r;return r=t.resolveLanguage?t.resolveLanguage(n,t.acceptLanguages||[],t.lang):t.lang,r||""}function l(e,t,n,r){const i=e.getChildren(n,t),s=c(e);return i.length?r?i.filter(e=>{if(c(e,s)===r)return!0}):i:[]}function d(e,t,n,r){t=t||e.getNamespace();const i=l(e,t,n,r);if(i.length)return i[0];const s=a(t,n,e.getDefaultNamespace(),e),o=c(e,r);return r&&o!==r&&s.setAttribute("xml:lang",r),e.appendChild(s),s}function p(e){return{importer(t){const n=t.getAttribute(e.name,e.namespace);return n?e.parseValue(n):e.dynamicDefault?e.dynamicDefault(n):e.staticDefault},exporter(t,n){if(void 0===n||n===e.staticDefault)return;const r=e.writeValue(n);if(r||e.emitEmpty)if(e.namespace&&e.prefix){let n;const i=t.getNamespaceRoot(e.namespace);if(i)n=i.useNamespace(e.prefix,e.namespace);else{const r=t.getNamespaceContext();r[e.namespace]||(n=t.useNamespace(e.prefix,e.namespace),r[e.namespace]=n)}t.setAttribute(`${n}:${e.name}`,r,e.emitEmpty)}else t.setAttribute(e.name,r,e.emitEmpty)}}}function h(e,t){return function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i={staticDefault:r,...i},p({name:n,...e,...t?t(i):i})}}function f(e,t){return function(n,r,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return o={staticDefault:s,...o},p({name:i,namespace:r,prefix:n,...e,...t?t(o):o})}}function m(e){const t=e.converter||p({...e,namespace:e.attributeNamespace});return{importer(n,r){const i=n.getChild(e.element,e.namespace||n.getNamespace());return i?t.importer(i,r):e.dynamicDefault?e.dynamicDefault():e.staticDefault},exporter(n,r,i){if(void 0!==r&&r!==e.staticDefault){const s=d(n,e.namespace||n.getNamespace(),e.element);t.exporter(s,r,i)}}}}function g(e,t){return function(n,r,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return o={staticDefault:s,...o},m({element:r,name:i,namespace:n,...e,...t?t(o):o})}}function y(e){return{importer(t){const n=t.getText();return n?e.parseValue(n):e.dynamicDefault?e.dynamicDefault(n):e.staticDefault},exporter(t,n){if(!n&&e.emitEmpty)return void t.children.push("");if(void 0===n||n===e.staticDefault)return;const r=e.writeValue(n);r&&t.children.push(r)}}}function b(e){const t=y(e);return{importer(n,r){const i=l(n,e.namespace||n.getNamespace(),e.element),s=u(i,r);if(!i.length)return e.dynamicDefault?e.dynamicDefault():e.staticDefault;if(e.matchLanguage)for(const e of i)if(c(e,r.lang)===s)return t.importer(e,r);return t.importer(i[0],r)},exporter(n,r,i){if(r||!e.emitEmpty){if(void 0!==r&&r!==e.staticDefault){const s=d(n,e.namespace||n.getNamespace(),e.element,e.matchLanguage?i.lang:void 0);t.exporter(s,r,i)}}else d(n,e.namespace||n.getNamespace(),e.element,e.matchLanguage?i.lang:void 0)}}}t.createElement=a,t.getLang=c,t.getTargetLang=u,t.findAll=l,t.findOrCreate=d;const v={parseValue:e=>e,writeValue:e=>e},_={parseValue:e=>parseInt(e,10),writeValue:e=>e.toString()},S={parseValue:e=>parseFloat(e),writeValue:e=>e.toString()},w={parseValue:e=>"true"===e||"1"===e||"false"!==e&&"0"!==e&&void 0,writeValue:e=>e?"1":"0"},T={parseValue:e=>new Date(e),writeValue:e=>"string"==typeof e?e:e.toISOString()},I={parseValue:e=>JSON.parse(e),writeValue:e=>JSON.stringify(e)},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"utf8";return{parseValue:t=>("base64"===e&&"="===t&&(t=""),i.Buffer.from(t.trim(),e)),writeValue:t=>{let n;return n="string"==typeof t?i.Buffer.from(t).toString(e):t?t.toString(e):"","base64"===e&&(n=n||"="),n}}},N={parseValue:e=>{let t=-1;"-"===e.charAt(0)&&(t=1,e=e.slice(1));const n=e.split(":");return(60*parseInt(n[0],10)+parseInt(n[1],10))*t},writeValue:e=>{if("string"==typeof e)return e;{let t="-";e<0&&(e=-e,t="+");const n=e/60,r=e%60;return t+=(n<10?"0":"")+n+":"+(r<10?"0":"")+r,t}}};t.attribute=h(v,e=>({dynamicDefault:e.emitEmpty?t=>""===t?"":e.staticDefault:void 0,...e})),t.booleanAttribute=h(w),t.integerAttribute=h(_),t.floatAttribute=h(S),t.dateAttribute=h(T),t.namespacedAttribute=f(v),t.namespacedBooleanAttribute=f(w),t.namespacedIntegerAttribute=f(_),t.namespacedFloatAttribute=f(S),t.namespacedDateAttribute=f(T),t.childAttribute=g(v),t.childBooleanAttribute=g(w),t.childIntegerAttribute=g(_),t.childFloatAttribute=g(S),t.childDateAttribute=g(T);t.text=e=>y({staticDefault:e,...v});t.textJSON=()=>y({...I});function E(){return{importer:(e,t)=>c(e,t.lang),exporter(e,t,n){t&&t.toLowerCase()!==n.lang?e.setAttribute("xml:lang",t):e.setAttribute("xml:lang",void 0)}}}t.textBuffer=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"utf8";return y({...A(e)})},t.languageAttribute=E;t.childLanguageAttribute=(e,t)=>m({converter:E(),element:t,name:"xml:lang",namespace:e,...v});t.childText=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return b({element:t,emitEmpty:r,matchLanguage:!0,namespace:e,staticDefault:n,...v})};t.childTextBuffer=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";return b({element:t,matchLanguage:!0,namespace:e,...A(n)})};t.childDate=(e,t)=>b({element:t,namespace:e,...T});t.childInteger=(e,t,n)=>b({element:t,namespace:e,staticDefault:n,..._});t.childFloat=(e,t,n)=>b({element:t,namespace:e,staticDefault:n,...S});t.childJSON=(e,t)=>b({element:t,namespace:e,...I}),t.childTimezoneOffset=function(e,t){return b({element:t,namespace:e,staticDefault:0,...N})},t.childBoolean=function(e,t){return{importer(n){if(n.getChild(t,e||n.getNamespace()))return!0},exporter(n,r){r&&d(n,e||n.getNamespace(),t)}}};const x=(e,t,n)=>{if(!n)return;let r=t;for(const t of e)r=d(r,t.namespace||r.getNamespace(),t.element);r.children.push(n.toString())};t.deepChildText=function(e,t){return{importer(n){let r=n;for(const n of e)if(r=r.getChild(n.element,n.namespace||r.getNamespace()),!r)return t;return r.getText()||t},exporter(t,n){x(e,t,n)}}},t.deepChildInteger=function(e,t){return{importer(n){let r=n;for(const t of e)if(r=r.getChild(t.element,t.namespace||r.getNamespace()),!r)return;const i=r.getText();return i?parseInt(i,10):t||void 0},exporter(t,n){x(e,t,n)}}},t.deepChildBoolean=function(e){return{importer(t){let n=t;for(const t of e)if(n=n.getChild(t.element,t.namespace||n.getNamespace()),!n)return!1;return!0},exporter(t,n){if(!n)return;let r=t;for(const t of e)r=d(r,t.namespace||r.getNamespace(),t.element)}}},t.deepMultipleChildText=function(e){const t=e.pop();return{importer(n,r){let i=n;for(const t of e)if(i=i.getChild(t.element,t.namespace||i.getNamespace()),!i)return[];const s=[],o=l(i,t.namespace||i.getNamespace(),t.element),a=u(o,r);for(const e of o)c(e,r.lang)===a&&s.push(e.getText());return s},exporter(n,r,i){if(!r.length)return;let s=n;for(const t of e)s=d(s,t.namespace||s.getNamespace(),t.element);const{namespace:o,element:c}=t;for(const e of r){const t=a(o||s.getNamespace(),c,i.namespace,s);t.children.push(e),s.appendChild(t)}}}},t.childEnum=function(e,t,n){const r=new Map,i=new Map;for(const e of t)"string"==typeof e?(r.set(e,e),i.set(e,e)):(r.set(e[1],e[0]),i.set(e[0],e[1]));return{importer(t){for(const n of t.children)if("string"!=typeof n&&n.getNamespace()===(e||t.getNamespace())&&r.has(n.getName()))return r.get(n.getName());return n},exporter(t,n){i.has(n)&&d(t,e,i.get(n))}}},t.childDoubleEnum=function(e,t,n,r){const i=new Set(t),s=new Set(n);return{importer(t){for(const n of t.children)if("string"!=typeof n&&n.getNamespace()===(e||t.getNamespace())&&i.has(n.getName())){for(const r of n.children)if("string"!=typeof r&&r.getNamespace()===(e||t.getNamespace())&&s.has(r.getName()))return[n.getName(),r.getName()];return[n.getName()]}return r},exporter(t,n){const r=d(t,e,n[0]);n[1]&&d(r,e,n[1])}}},t.multipleChildText=function(e,t){return{importer(n,r){const i=[],s=l(n,e||n.getNamespace(),t),o=u(s,r);for(const e of s)c(e,r.lang)===o&&i.push(e.getText());return i},exporter(n,r,i){for(const s of r){const r=a(e||n.getNamespace(),t,i.namespace,n);r.children.push(s),n.appendChild(r)}}}},t.multipleChildAttribute=function(e,t,n){return{importer(r){const i=[],s=r.getChildren(t,e||r.getNamespace());for(const e of s){const t=e.getAttribute(n);void 0!==t&&i.push(t)}return i},exporter(r,i,s){for(const o of i){const i=a(e||r.getNamespace(),t,s.namespace,r);i.setAttribute(n,o),r.appendChild(i)}}}},t.multipleChildIntegerAttribute=function(e,t,n){return{importer(r){const i=[],s=r.getChildren(t,e||r.getNamespace());for(const e of s){const t=e.getAttribute(n);void 0!==t&&i.push(parseInt(t,10))}return i},exporter(r,i,s){for(const o of i){const i=a(e||r.getNamespace(),t,s.namespace,r);i.setAttribute(n,o.toString()),r.appendChild(i)}}}},t.childAlternateLanguageText=function(e,t){return{importer(n,r){const i=[],s=l(n,e||n.getNamespace(),t),o=new Set;for(const e of s){const t=e.getText();if(t){const n=c(e,r.lang);if(o.has(n))continue;i.push({lang:n,value:t}),o.add(n)}}return o.size>0?i:void 0},exporter(n,r,i){for(const s of r){const r=s.value;if(r){const o=a(e||n.getNamespace(),t,i.namespace,n);s.lang!==i.lang&&o.setAttribute("xml:lang",s.lang),o.children.push(r),n.appendChild(o)}}}}},t.multipleChildAlternateLanguageText=function(e,t){return{importer(n,r){const i=[],s=new Map;let o=!1;const a=l(n,e||n.getNamespace(),t);for(const e of a){const t=e.getText();if(t){const n=c(e,r.lang);let a=s.get(n);a||(a=[],s.set(n,a),i.push({lang:n,value:a})),a.push(t),o=!0}}return o?i:void 0},exporter(n,r,i){for(const s of r)for(const r of s.value){const o=a(e||n.getNamespace(),t,i.namespace,n);s.lang!==i.lang&&o.setAttribute("xml:lang",s.lang),o.children.push(r),n.appendChild(o)}}}},t.multipleChildEnum=function(e,t){const n=new Map,r=new Map;for(const e of t)"string"==typeof e?(n.set(e,e),r.set(e,e)):(n.set(e[1],e[0]),r.set(e[0],e[1]));return{importer(t){const r=[];for(const i of t.children)"string"!=typeof i&&i.getNamespace()===(e||t.getNamespace())&&n.has(i.getName())&&r.push(n.get(i.getName()));return r},exporter(t,n){for(const i of n)d(t,e,r.get(i))}}},t.splicePath=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{importer(i,s){const o=i.getChild(t,e||i.getNamespace());if(!o)return;const a=[];for(const e of o.children)if("string"!=typeof e&&s.registry.getImportKey(e)===n){const t=s.registry.import(e);t&&a.push(t)}return r?a:a[0]},exporter(r,i,s){let o=[];o=Array.isArray(i)?i:[i];const a=[];for(const t of o){const i=s.registry.export(n,t,{...s,namespace:e||r.getNamespace()||void 0});i&&a.push(i)}if(a.length){const n=d(r,e||r.getNamespace(),t);for(const e of a)n.appendChild(e)}}}},t.staticValue=function(e){return{exporter:()=>{},importer:()=>e}},t.childRawElement=function(e,t,n){return{importer(r,i){if(n&&(!i.sanitizers||!i.sanitizers[n]))return;const s=r.getChild(t,e||r.getNamespace());return s?n?i.sanitizers[n](s.toJSON()):s.toJSON():void 0},exporter(r,i,a){if("string"==typeof i){i=(0,o.parse)(`<${t} xmlns="${e||r.getNamespace()}">${i}</${t}>`).toJSON()}if(n){if(!a.sanitizers||!a.sanitizers[n])return;i=a.sanitizers[n](i)}i&&r.appendChild(new s.default(i.name,i.attributes,i.children))}}},t.childLanguageRawElement=function(e,t,n){return{importer(r,i){if(n&&(!i.sanitizers||!i.sanitizers[n]))return;const s=l(r,e||r.getNamespace(),t),o=u(s,i);for(const e of s)if(c(e,i.lang)===o)return n?i.sanitizers[n](e.toJSON()):e.toJSON();return s[0]?n?i.sanitizers[n](s[0].toJSON()):s[0].toJSON():void 0},exporter(r,i,a){if("string"==typeof i){i=(0,o.parse)(`<${t} xmlns="${e||r.getNamespace()}">${i}</${t}>`).toJSON()}if(i&&n){if(!a.sanitizers||!a.sanitizers[n])return;i=a.sanitizers[n](i)}if(!i)return;const c=d(r,e||r.getNamespace(),t,a.lang);for(const e of i.children)"string"==typeof e?c.appendChild(e):e&&c.appendChild(new s.default(e.name,e.attributes,e.children))}}},t.childAlternateLanguageRawElement=function(e,t,n){return{importer(r,i){if(n&&(!i.sanitizers||!i.sanitizers[n]))return;const s=[],o=new Set,a=l(r,e||r.getNamespace(),t);for(const e of a){let t=e.toJSON();if(n&&(t=i.sanitizers[n](t)),t){const n=c(e,i.lang);if(o.has(n))continue;s.push({lang:n,value:t}),o.add(n)}}return o.size>0?s:void 0},exporter(r,i,c){for(const u of i){let i=u.value;if("string"==typeof i){i=(0,o.parse)(`<${t} xmlns="${e||r.getNamespace()}">${i}</${t}>`).toJSON()}if(i&&n){if(!c.sanitizers||!c.sanitizers[n])continue;i=c.sanitizers[n](i)}if(i){const n=a(e||r.getNamespace(),t,c.namespace,r);r.appendChild(n),u.lang!==c.lang&&n.setAttribute("xml:lang",u.lang);for(const e of i.children)"string"==typeof e?n.appendChild(e):n.appendChild(new s.default(e.name,e.attributes,e.children))}}}}},t.parameterMap=function(e,n,r,i){return{importer(s,o){const a={},c=l(s,e,n),u=(0,t.attribute)(r).importer,d=(0,t.attribute)(i).importer;for(const e of c)a[u(e,o)]=d(e,o);return a},exporter(s,o,c){const u=(0,t.attribute)(r).exporter,l=(0,t.attribute)(i).exporter,d=e||s.getNamespace();for(const[e,t]of Object.entries(o)){const r=a(d,n,c.namespace,s);u(r,e,c),o[e]&&l(r,t,c),s.appendChild(r)}}}}},function(e,t,n){"use strict";t.Readable=n(87),t.Writable=n(89),t.Duplex=n(22),t.Transform=n(91),t.PassThrough=n(252)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;const r=n(3),i=n(7),s=n(31),o=(0,r.__importDefault)(n(30)),a=(0,r.__importDefault)(n(48));function c(e){return 97<=e&&e<=122||65<=e&&e<=90||58===e||95===e}function u(e){return 192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=767||880<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||65008<=e&&e<=65533||65536<=e&&e<=983039}function l(e){return c(e)||u(e)}function d(e){return c(e)||45===e||46===e||48<=e&&e<=57||183===e||768<=e&&e<=879||8255<=e&&e<=8256||u(e)}function p(e){return 32===e||10===e||13===e||9===e}class h extends i.EventEmitter{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.allowComments=!0,this.attributes={},this.state=34,this.tagName="",this.haveDeclaration=!1,this.recordBuffer=[],void 0!==e.allowComments&&(this.allowComments=e.allowComments)}write(e){for(const t of e){const e=t.codePointAt(0);switch(this.state){case 34:if(60===e){let e;try{e=(0,s.unescapeXML)(this.endRecord())}catch(e){return void this.emit("error",e)}e&&this.emit("text",e),this.transition(31);continue}this.record(t);continue;case 31:if(47===e){this.transition(7);continue}if(33===e){this.transition(24);continue}if(63===e){if(this.haveDeclaration)return this.restrictedXML();this.transition(25);continue}if(l(e)){this.transition(30),this.startRecord(t);continue}return this.notWellFormed();case 30:if(d(e)){this.record(t);continue}if(p(e)){this.startTag(),this.transition(32);continue}if(47===e){this.startTag(),this.transition(29);continue}if(62===e){this.startTag(),this.transition(34),this.emit("startElement",this.tagName,this.attributes);continue}return this.notWellFormed();case 29:if(62===e){this.emit("startElement",this.tagName,this.attributes),this.emit("endElement",this.tagName),this.transition(34);continue}return this.notWellFormed();case 33:if(p(e)){this.transition(32);continue}if(47===e){this.transition(29);continue}if(62===e){this.emit("startElement",this.tagName,this.attributes),this.transition(34);continue}return this.notWellFormed();case 32:if(p(e))continue;if(l(e)){this.startRecord(t),this.transition(0);continue}if(47===e){this.transition(29);continue}if(62===e){this.emit("startElement",this.tagName,this.attributes),this.transition(34);continue}return this.notWellFormed();case 7:if(l(e)){this.startRecord(t),this.transition(6);continue}return this.notWellFormed();case 6:if(d(e)){this.record(t);continue}if(p(e)){this.transition(8);continue}if(62===e){const e=this.endRecord();this.emit("endElement",e,this.attributes),this.transition(34);continue}return this.notWellFormed();case 8:if(p(e))continue;if(62===e){const e=this.endRecord();this.emit("endElement",e,this.attributes),this.transition(34);continue}return this.notWellFormed();case 0:if(d(e)){this.record(t);continue}if(61===e){this.addAttribute(),this.transition(4);continue}if(p(e)){this.addAttribute(),this.transition(3);continue}return this.notWellFormed();case 3:if(61===e){this.transition(4);continue}if(p(e))continue;return this.notWellFormed();case 4:if(34===e){this.startRecord(),this.transition(1);continue}if(39===e){this.startRecord(),this.transition(2);continue}if(p(e))continue;return this.notWellFormed();case 1:case 2:if(34===e&&1===this.state||39===e&&2===this.state){const e=this.endRecord();this.attributes[this.attributeName]=(0,s.unescapeXML)(e),this.transition(33);continue}if(60===e)return this.notWellFormed();this.record(t);continue;case 24:if(45===e){if(!this.allowComments)return this.restrictedXML();this.transition(23);continue}if(91===e){this.transition(21);continue}return this.notWellFormed();case 23:if(45===e){this.transition(14);continue}return this.notWellFormed();case 14:45===e&&this.transition(12);continue;case 12:45===e?this.transition(11):this.transition(14);continue;case 11:62===e?this.transition(34):this.transition(14);continue;case 25:if(88===e||120===e){this.transition(28);continue}return this.notWellFormed();case 28:if(77===e||109===e){this.transition(27);continue}return this.notWellFormed();case 27:if(76===e||108===e){this.transition(26);continue}return this.notWellFormed();case 26:if(p(e)){this.haveDeclaration=!0,this.transition(15);continue}return this.notWellFormed();case 13:if(62===e){this.transition(34);continue}return this.notWellFormed();case 15:63===e&&this.transition(13);continue;case 21:this.wait(e,67,20);continue;case 20:this.wait(e,68,19);continue;case 19:this.wait(e,65,18);continue;case 18:this.wait(e,84,17);continue;case 17:this.wait(e,65,16);continue;case 16:this.wait(e,91,5);continue;case 5:if(93===e){this.transition(10);continue}this.record(t);continue;case 10:93===e?this.transition(9):(this.record(String.fromCodePoint(93)),this.record(t),this.transition(5));continue;case 9:if(62===e){const e=this.endRecord();e&&this.emit("text",e),this.transition(34)}else this.record(String.fromCodePoint(93)),this.record(String.fromCodePoint(93)),this.record(t),this.transition(5);continue}}}end(e){e&&this.write(e),this.write=()=>{}}record(e){this.recordBuffer.push(e)}startRecord(e){this.recordBuffer=[],e&&this.recordBuffer.push(e)}endRecord(){const e=this.recordBuffer;return this.recordBuffer=[],e.join("")}startTag(){this.tagName=this.endRecord(),this.attributes={}}addAttribute(){const e=this.endRecord();if(void 0!==this.attributes[e])return this.notWellFormed();this.attributeName=e,this.attributes[e]=""}wait(e,t,n){if(e!==t)return this.notWellFormed();this.transition(n)}transition(e){this.state=e,34===e&&this.startRecord()}notWellFormed(e){this.emit("error",a.default.notWellFormed(e))}restrictedXML(e){this.emit("error",a.default.restrictedXML(e))}}t.parse=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new h(t);let r,i,s=null;if(n.on("text",e=>{i&&i.children.push(e)}),n.on("startElement",(e,t)=>{const n=new o.default(e,t);r||(r=n),i=i?i.appendChild(n):n}),n.on("endElement",e=>{i?e===i.name?i.parent&&(i=i.parent):n.emit("error",a.default.notWellFormed("b")):n.emit("error",a.default.notWellFormed("a"))}),n.on("error",e=>{s=e}),n.write(e),n.end(),s)throw s;return r},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StanzaMediaSession=void 0;const r=n(21),i=r.__importDefault(n(7)),s=n(53),o=n(5),a=r.__importDefault(n(96)),c=n(28),u={"Discovered new ICE candidate":{skipMessage:!0}};class l extends s.MediaSession{constructor(e){super(e.options),this.iceCandidatesDiscovered=0,this.iceCandidatesReceivedFromPeer=0,this.reinvite=!1,this.logger=e.logger,this.conversationId=e.conversationId,this.peerConnection=this.pc,this.fromUserId=e.fromUserId,this.meetingId=e.meetingId,this.id=this.sid,this.originalRoomJid=e.originalRoomJid,this.sessionType=c.SessionTypes[e.sessionType],this.ignoreHostCandidatesFromRemote=!!e.ignoreHostCandidatesFromRemote,this.allowIPv6=!!e.allowIPv6,this.allowTCP=!!e.allowTCP;const t=new i.default;Object.keys(t.__proto__).forEach(e=>{this[e]=t[e]}),e.optOutOfWebrtcStatsTelemetry||this.setupStatsGatherer(),this.pc.addEventListener("connectionstatechange",this.onConnectionStateChange.bind(this)),this.pc.addEventListener("icecandidateerror",this.onIceCandidateError.bind(this))}getLogDetails(){return{conversationId:this.conversationId,sessionId:this.id,sessionType:this.sessionType}}async onTransportInfo(e,t){var n,r;const i=null===(n=e.contents)||void 0===n?void 0:n[0].transport,s=null==i?void 0:i.candidates;if(this.ignoreHostCandidatesFromRemote){const e=null==s?void 0:s.filter(e=>"host"!==e.type);(null==e?void 0:e.length)!==(null===(r=null==i?void 0:i.candidates)||void 0===r?void 0:r.length)&&(this._log("info","Ignoring remote host ice candidates"),i.candidates=e)}if(s)for(const e of s)this._log("info","Received candidate from peer",{candidateType:e.type}),this.iceCandidatesReceivedFromPeer++;return super.onTransportInfo(e,t)}_log(e,t){const n=u[t];if(null==n?void 0:n.skipMessage)return;let r;for(var i=arguments.length,s=new Array(i>2?i-2:0),o=2;o<i;o++)s[o-2]=arguments[o];if(s.length){const e=s[0];"object"!=typeof e||Array.isArray(e)||null===e?r={...this.getLogDetails(),data:e}:(Object.assign(s[0],this.getLogDetails()),r=s)}else r=[...s,this.getLogDetails()];this.logger[e](t,r)}async end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.state="ended",this.processingQueue.kill(),"string"==typeof e&&(e={condition:e}),t||this.send("session-terminate",{reason:e}),setTimeout(()=>{"connected"!==this.pc.connectionState&&"connecting"!==this.pc.connectionState||this.pc.close()},2e3),this.parent.emit("terminated",this,e),this.parent.forgetSession(this)}setupStatsGatherer(){this.statsGatherer=new a.default(this.pc),this.statsGatherer.on("stats",this.emit.bind(this,"stats"))}onIceStateChange(){const e=this.pc.iceConnectionState,t=this.id,n=this.conversationId,r=this.sessionType;this._log("info","ICE state changed: ",{iceState:e,sessionId:t,conversationId:n}),"disconnected"===e?"stable"===this.pc.signalingState&&(this.interruptionStart=new Date,this._log("info","Connection state is interrupted",{sessionId:t,conversationId:n,sessionType:r})):"connected"===e?(this._log("info","sending session-info: active"),this.send(o.JingleAction.SessionInfo,{info:{infoType:o.JINGLE_INFO_ACTIVE}}),this._setupDataChannel()):"failed"===e&&this._log("info","ICE connection failed",{candidatesDiscovered:this.iceCandidatesDiscovered,candidatesReceivedFromPeer:this.iceCandidatesReceivedFromPeer}),super.onIceStateChange()}onConnectionStateChange(){const e=this.pc.connectionState,t=this.id,n=this.conversationId,r=this.sessionType;if(this._log("info","Connection state changed: ",{connectionState:e,sessionId:t,conversationId:n,sessionType:r}),this.interruptionStart)if("connected"===e){const e=(new Date).getTime()-this.interruptionStart.getTime();this._log("info","Connection was interrupted but was successfully recovered/connected",{sessionId:t,conversationId:n,sessionType:r,timeToRecover:e}),this.interruptionStart=void 0}else"failed"===e&&this._log("info","Connection was interrupted and failed to recover",{sessionId:t,conversationId:n,sessionType:r})}onIceCandidateError(e){const t=e;this._log("error","IceCandidateError",{errorCode:t.errorCode,errorText:t.errorText,url:t.url}),console.error("IceCandidateError",t)}onIceCandidate(e){if(e.candidate){if(!this.allowTCP&&"tcp"===e.candidate.protocol)return;if(!this.allowIPv6){const t=/.+udp [^ ]+ ([^ ]+).*typ host/.exec(e.candidate.candidate),n=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/;if(t&&!t[1].match(n))return void this._log("debug","Filtering out IPv6 candidate",e.candidate.candidate)}this._log("debug","Processing ice candidate",e.candidate.candidate),this._log("info","Discovered ice candidate to send to peer",{type:e.candidate.type}),this.iceCandidatesDiscovered++}return super.onIceCandidate(e)}onIceEndOfCandidates(){super.onIceEndOfCandidates(),this.emit("endOfCandidates")}addTrack(e,t){return"audio"===e.kind&&(this.includesAudio=!0),"video"===e.kind&&(this.includesVideo=!0),this.processLocal("addtrack",async()=>{const n=this.pc.getTransceivers().find(t=>{var n;return!t.sender.track&&(null===(n=t.receiver.track)||void 0===n?void 0:n.kind)===e.kind});if(n)return n.sender.replaceTrack(e);this.pc.addTrack(e,t)})}_setupDataChannel(){var e;this.dataChannel||(null===(e=this.pc.localDescription)||void 0===e?void 0:e.sdp.includes("webrtc-datachannel"))&&(this._log("info","creating data channel"),this.dataChannel=this.pc.createDataChannel("videoConferenceControl"),this.dataChannel.addEventListener("open",()=>{this._log("info","data channel opened")}),this.dataChannel.addEventListener("message",this._handleDataChannelMessage.bind(this)),this.dataChannel.addEventListener("close",()=>{this._log("info","closing data channel")}),this.dataChannel.addEventListener("error",e=>{this._log("error","Error occurred with the data channel",e)}))}_handleDataChannelMessage(e){try{const t=JSON.parse(e.data);this.emit("dataChannelMessage",t)}catch(e){this._log("error","Failed to parse data channel message",{error:e})}}}t.StanzaMediaSession=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionManager=t.FileSession=t.MediaSession=t.ICESession=t.Session=t.exportToSDP=t.importFromSDP=void 0;const r=n(3),i=(0,r.__importDefault)(n(92));t.FileSession=i.default;const s=(0,r.__importDefault)(n(54));t.ICESession=s.default;const o=(0,r.__importDefault)(n(95));t.MediaSession=o.default;const a=(0,r.__importDefault)(n(56));t.Session=a.default;const c=(0,r.__importDefault)(n(281));t.SessionManager=c.default;var u=n(33);Object.defineProperty(t,"importFromSDP",{enumerable:!0,get:function(){return u.importFromSDP}}),Object.defineProperty(t,"exportToSDP",{enumerable:!0,get:function(){return u.exportToSDP}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=(0,r.__importStar)(n(93)),s=n(5),o=n(1),a=n(33),c=n(55),u=(0,r.__importDefault)(n(56));class l extends u.default{constructor(e){super(e),this.bitrateLimit=0,this.candidateBuffer=[],this.transportType=o.NS_JINGLE_ICE_UDP_1,this.restartingIce=!1,this.usingRelay=!1,this.maxRelayBandwidth=e.maxRelayBandwidth,this.pc=this.parent.createPeerConnection(this,{...e.config,iceServers:e.iceServers}),this.pc.oniceconnectionstatechange=()=>{this.onIceStateChange()},this.pc.onicecandidate=e=>{e.candidate?this.onIceCandidate(e):this.onIceEndOfCandidates()},this.restrictRelayBandwidth()}end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.pc.close(),super.end(e,t)}async restartIce(){if(this.isInitiator){void 0!==this._maybeRestartingIce&&clearTimeout(this._maybeRestartingIce),this.restartingIce=!0;try{await this.processLocal("restart-ice",async()=>{const e=await this.pc.createOffer({iceRestart:!0}),t=(0,a.importFromSDP)(e.sdp);this.send(s.JingleAction.TransportInfo,{contents:t.media.map(e=>({creator:s.JingleSessionRole.Initiator,name:e.mid,transport:(0,c.convertIntermediateToTransport)(e,this.transportType)})),sid:this.sid}),await this.pc.setLocalDescription(e)})}catch(e){this._log("error","Could not create WebRTC offer",e),this.end(s.JingleReasonCondition.FailedTransport,!0)}}}async setMaximumBitrate(e){this.maximumBitrate&&(e=Math.min(e,this.maximumBitrate)),this.currentBitrate=e;const t=this.pc.getSenders().find(e=>!!e.track&&"video"===e.track.kind);if(t&&t.getParameters)try{await this.processLocal("set-bitrate",async()=>{const n=t.getParameters();n.encodings&&n.encodings.length||(n.encodings=[{}]),0===e?delete n.encodings[0].maxBitrate:n.encodings[0].maxBitrate=e,await t.setParameters(n)})}catch(e){this._log("error","Set maximumBitrate failed",e)}}async onTransportInfo(e,t){if(e.contents&&e.contents[0]&&e.contents[0].transport.gatheringComplete){const n={sdpMid:e.contents[0].name,candidate:""};try{"stable"===this.pc.signalingState?await this.pc.addIceCandidate(n):this.candidateBuffer.push(n)}catch(e){this._log("debug","Could not add null end-of-candidate")}finally{t()}return}if(this.pc.remoteDescription){const n=this.pc.remoteDescription,r=(0,a.importFromSDP)(n.sdp),i=r.media.find(t=>t.mid===e.contents[0].name).iceParameters.usernameFragment,o=e.contents[0].transport.usernameFragment;if(o&&i!==o){for(const[t,n]of e.contents.entries()){const e=n.transport;r.media[t].iceParameters={password:e.password,usernameFragment:e.usernameFragment},r.media[t].candidates=[]}try{if(await this.pc.setRemoteDescription({type:n.type,sdp:(0,a.exportToSDP)(r)}),await this.processBufferedCandidates(),"offer"===n.type){const e=await this.pc.createAnswer();await this.pc.setLocalDescription(e);const t=(0,a.importFromSDP)(e.sdp);this.send(s.JingleAction.TransportInfo,{contents:t.media.map(e=>({creator:s.JingleSessionRole.Initiator,name:e.mid,transport:(0,c.convertIntermediateToTransport)(e,this.transportType)})),sid:this.sid})}else this.restartingIce=!1}catch(e){return this._log("error","Could not do remote ICE restart",e),t(e),void this.end(s.JingleReasonCondition.FailedTransport)}}}const n=(e.contents||[]).map(e=>{const t=e.name,n=(e.transport.candidates||[]).map(async e=>{const n=i.writeCandidate((0,c.convertCandidateToIntermediate)(e));if(this.pc.remoteDescription&&"stable"===this.pc.signalingState)try{await this.pc.addIceCandidate({sdpMid:t,candidate:n})}catch(e){this._log("error","Could not add ICE candidate",e)}else this.candidateBuffer.push({sdpMid:t,candidate:n})});return Promise.all(n)});try{await Promise.all(n),t()}catch(e){this._log("error","Could not process transport-info: "+e),t(e)}}async onSessionAccept(e,t){this.state="active";const n=(0,c.convertRequestToIntermediate)(e,this.peerRole),r=(0,a.exportToSDP)(n);try{await this.pc.setRemoteDescription({type:"answer",sdp:r}),await this.processBufferedCandidates(),this.parent.emit("accepted",this,void 0),t()}catch(e){this._log("error","Could not process WebRTC answer: "+e),t({condition:"general-error"})}}onSessionTerminate(e,t){this._log("info","Terminating session"),this.pc.close(),super.end(e.reason,!0),t()}onIceCandidate(e){if(!e.candidate||!e.candidate.candidate)return;const t=i.parseCandidate(e.candidate.candidate),n={contents:[{creator:s.JingleSessionRole.Initiator,name:e.candidate.sdpMid,transport:{candidates:[(0,c.convertIntermediateToCandidate)(t)],transportType:this.transportType,usernameFragment:t.usernameFragment}}]};this._log("info","Discovered new ICE candidate",n),this.send(s.JingleAction.TransportInfo,n)}onIceEndOfCandidates(){this._log("info","ICE end of candidates");const e=(0,a.importFromSDP)(this.pc.localDescription.sdp).media[0];this.send(s.JingleAction.TransportInfo,{contents:[{creator:s.JingleSessionRole.Initiator,name:e.mid,transport:{gatheringComplete:!0,transportType:this.transportType,usernameFragment:e.iceParameters.usernameFragment}}]})}onIceStateChange(){switch(this.pc.iceConnectionState){case"checking":this.connectionState="connecting";break;case"completed":case"connected":this.connectionState="connected";break;case"disconnected":if("stable"===this.pc.signalingState?this.connectionState="interrupted":this.connectionState="disconnected",this.restartingIce)return void this.end(s.JingleReasonCondition.FailedTransport);this.maybeRestartIce();break;case"failed":if("failed"===this.connectionState||this.restartingIce)return void this.end(s.JingleReasonCondition.FailedTransport);this.connectionState="failed",this.restartIce();break;case"closed":this.connectionState="disconnected",this.restartingIce?this.end(s.JingleReasonCondition.FailedTransport):this.end()}}async processBufferedCandidates(){for(const e of this.candidateBuffer)try{await this.pc.addIceCandidate(e)}catch(e){this._log("error","Could not add ICE candidate",e)}this.candidateBuffer=[]}restrictRelayBandwidth(){this.pc.addEventListener("iceconnectionstatechange",async()=>{if("completed"!==this.pc.iceConnectionState&&"connected"!==this.pc.iceConnectionState)return;const e=await this.pc.getStats();let t;if(e.forEach(n=>{"transport"===n.type&&(t=e.get(n.selectedCandidatePairId))}),t||e.forEach(e=>{"candidate-pair"===e.type&&e.selected&&(t=e)}),!t)return;let n=!1,r="",i="";if(t.remoteCandidateId){const n=e.get(t.remoteCandidateId);n&&(i=n.candidateType)}if(t.localCandidateId){const n=e.get(t.localCandidateId);n&&(r=n.candidateType)}"relay"!==r&&"relay"!==i||(n=!0),this.usingRelay=n,this.parent.emit("iceConnectionType",this,{localCandidateType:r,relayed:n,remoteCandidateType:i}),n&&void 0!==this.maxRelayBandwidth&&(this.maximumBitrate=this.maxRelayBandwidth,this.currentBitrate?this.setMaximumBitrate(Math.min(this.currentBitrate,this.maximumBitrate)):this.setMaximumBitrate(this.maximumBitrate))})}maybeRestartIce(){this.isInitiator&&(void 0!==this._maybeRestartingIce&&clearTimeout(this._maybeRestartingIce),this._maybeRestartingIce=setTimeout(()=>{this._maybeRestartingIce=void 0,"disconnected"===this.pc.iceConnectionState&&this.restartIce()},2e3))}}t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertRequestToIntermediate=t.convertContentToIntermediate=t.convertIntermediateToRequest=t.convertIntermediateToTransport=t.convertCandidateToIntermediate=t.convertIntermediateToCandidate=t.convertIntermediateToApplication=void 0;const r=n(5),i=n(1);function s(e,t){const n=e.rtpParameters,s=e.rtcpParameters||{},o=e.rtpEncodingParameters||[];let a=!1;o&&o.length&&(a=!!o[0].ssrc);const c={applicationType:i.NS_JINGLE_RTP_1,codecs:[],headerExtensions:[],media:e.kind,rtcpMux:s.mux,rtcpReducedSize:s.reducedSize,sourceGroups:[],sources:[],ssrc:a?o[0].ssrc.toString():void 0,streams:[]};for(const e of n.headerExtensions||[]){const n={id:e.id,uri:e.uri};e.direction&&"sendrecv"!==e.direction&&(n.senders=(0,r.directionToSenders)(t,e.direction)),c.headerExtensions.push(n)}s.ssrc&&s.cname&&(c.sources=[{parameters:{cname:s.cname},ssrc:s.ssrc.toString()}]),a&&o[0]&&o[0].rtx&&(c.sourceGroups=[{semantics:"FID",sources:[o[0].ssrc.toString(),o[0].rtx.ssrc.toString()]}]);for(const t of e.streams||[])c.streams.push({id:t.stream,track:t.track});for(const e of n.codecs||[]){const t={channels:e.channels,clockRate:e.clockRate,id:e.payloadType.toString(),name:e.name,parameters:e.parameters,rtcpFeedback:e.rtcpFeedback};e.maxptime&&(t.maxptime=e.maxptime),e.parameters&&e.parameters.ptime&&(t.ptime=parseInt(e.parameters.ptime,10)),c.codecs.push(t)}return c}function o(e){let t;return t="rtp"===e.component?1:"rtcp"===e.component?2:e.component,{component:t,foundation:e.foundation,generation:void 0,id:void 0,ip:e.ip,network:void 0,port:e.port,priority:e.priority,protocol:e.protocol,relatedAddress:e.relatedAddress,relatedPort:e.relatedPort,tcpType:e.tcpType,type:e.type}}function a(e){return{address:e.ip,component:1===e.component?"rtp":2===e.component?"rtcp":e.component,foundation:e.foundation,ip:e.ip,port:e.port,priority:e.priority,protocol:e.protocol,relatedAddress:e.relatedAddress,relatedPort:e.relatedPort,tcpType:e.tcpType,type:e.type}}function c(e,t){const n=e.iceParameters,r=e.dtlsParameters,i={candidates:[],transportType:t};n&&(i.usernameFragment=n.usernameFragment,i.password=n.password,n.iceLite&&(i.iceLite=!0)),r&&(i.fingerprints=r.fingerprints.map(t=>({algorithm:t.algorithm,setup:e.setup,value:t.value}))),e.sctp&&(i.sctp=e.sctp);for(const t of e.candidates||[])i.candidates.push(o(t));return i}function u(e,t){const n=e.application||{},s=e.transport,o=n&&n.applicationType===i.NS_JINGLE_RTP_1,c={direction:(0,r.sendersToDirection)(t,e.senders),kind:n.media||"application",mid:e.name,protocol:o?"UDP/TLS/RTP/SAVPF":"UDP/DTLS/SCTP"};if(o){if(c.rtcpParameters={compound:!n.rtcpReducedSize,mux:n.rtcpMux,reducedSize:n.rtcpReducedSize},n.sources&&n.sources.length){const e=n.sources[0];c.rtcpParameters.ssrc=parseInt(e.ssrc,10),e.parameters&&(c.rtcpParameters.cname=e.parameters.cname)}if(c.rtpParameters={codecs:[],fecMechanisms:[],headerExtensions:[],rtcp:[]},n.streams){c.streams=[];for(const e of n.streams)c.streams.push({stream:e.id,track:e.track})}if(n.ssrc&&(c.rtpEncodingParameters=[{ssrc:parseInt(n.ssrc,10)}],n.sourceGroups&&n.sourceGroups.length)){const e=n.sourceGroups[0];c.rtpEncodingParameters[0].rtx={ssrc:parseInt(e.sources[1],10)}}let e=!1,i=!1;for(const t of n.codecs||[]){const n=t.parameters||{},r=[];for(const e of t.rtcpFeedback||[])r.push({parameter:e.parameter,type:e.type});if("red"===t.name||"ulpfec"===t.name){e=e||"red"===t.name,i=i||"ulpfec"===t.name;const n=t.name.toUpperCase();c.rtpParameters.fecMechanisms.includes(n)||c.rtpParameters.fecMechanisms.push(n)}c.rtpParameters.codecs.push({channels:t.channels,clockRate:t.clockRate,name:t.name,numChannels:t.channels,parameters:n,payloadType:parseInt(t.id,10),rtcpFeedback:r})}for(const e of n.headerExtensions||[])c.rtpParameters.headerExtensions.push({direction:(0,r.sendersToDirection)(t,e.senders||"both"),id:e.id,uri:e.uri,attributes:void 0})}if(s){if(s.usernameFragment&&s.password&&(c.iceParameters={password:s.password,usernameFragment:s.usernameFragment},s.iceLite&&(c.iceParameters.iceLite=!0)),s.fingerprints&&s.fingerprints.length){c.dtlsParameters={fingerprints:[],role:"auto"};for(const e of s.fingerprints)c.dtlsParameters.fingerprints.push({algorithm:e.algorithm,value:e.value});s.sctp&&(c.sctp=s.sctp),c.setup=s.fingerprints[0].setup}c.candidates=(s.candidates||[]).map(a)}return c}t.convertIntermediateToApplication=s,t.convertIntermediateToCandidate=o,t.convertCandidateToIntermediate=a,t.convertIntermediateToTransport=c,t.convertIntermediateToRequest=function(e,t,n){return{contents:e.media.map(e=>({application:"audio"===e.kind||"video"===e.kind?s(e,t):{applicationType:"datachannel",protocol:e.protocol},creator:r.JingleSessionRole.Initiator,name:e.mid,senders:(0,r.directionToSenders)(t,e.direction),transport:c(e,n)})),groups:e.groups?e.groups.map(e=>({contents:e.mids,semantics:e.semantics})):[]}},t.convertContentToIntermediate=u,t.convertRequestToIntermediate=function(e,t){const n={groups:[],media:[]};for(const t of e.groups||[])n.groups.push({mids:t.contents,semantics:t.semantics});for(const r of e.contents||[])n.media.push(u(r,t));return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(57),i=n(5),s=n(12),o={condition:i.StanzaErrorCondition.BadRequest},a={condition:i.StanzaErrorCondition.FeatureNotImplemented,jingleError:i.JingleErrorCondition.UnsupportedInfo,type:"modify"};t.default=class{constructor(e){this.parent=e.parent,this.sid=e.sid||(0,s.uuid)(),this.peerID=e.peerID,this.role=e.initiator?i.JingleSessionRole.Initiator:i.JingleSessionRole.Responder,this._sessionState="starting",this._connectionState="starting",this.pendingApplicationTypes=e.applicationTypes||[],this.pendingAction=void 0,this.processingQueue=(0,r.priorityQueue)(async(e,t)=>{if("ended"===this.state)return"local"===e.type&&e.reject&&e.reject(new Error("Session ended")),void(t&&t());if("local"===e.type){this._log("debug","Processing local action:",e.name);try{const t=await e.handler();e.resolve(t)}catch(t){e.reject(t)}return void(t&&t())}const{action:n,changes:r,cb:s}=e;return this._log("debug","Processing remote action:",n),new Promise(e=>{const o=(n,r)=>{s(n,r),t&&t(),e()};switch(n){case i.JingleAction.ContentAccept:return this.onContentAccept(r,o);case i.JingleAction.ContentAdd:return this.onContentAdd(r,o);case i.JingleAction.ContentModify:return this.onContentModify(r,o);case i.JingleAction.ContentReject:return this.onContentReject(r,o);case i.JingleAction.ContentRemove:return this.onContentRemove(r,o);case i.JingleAction.DescriptionInfo:return this.onDescriptionInfo(r,o);case i.JingleAction.SecurityInfo:return this.onSecurityInfo(r,o);case i.JingleAction.SessionAccept:return this.onSessionAccept(r,o);case i.JingleAction.SessionInfo:return this.onSessionInfo(r,o);case i.JingleAction.SessionInitiate:return this.onSessionInitiate(r,o);case i.JingleAction.SessionTerminate:return this.onSessionTerminate(r,o);case i.JingleAction.TransportAccept:return this.onTransportAccept(r,o);case i.JingleAction.TransportInfo:return this.onTransportInfo(r,o);case i.JingleAction.TransportReject:return this.onTransportReject(r,o);case i.JingleAction.TransportReplace:return this.onTransportReplace(r,o);default:this._log("error","Invalid or unsupported action: "+n),o({condition:i.StanzaErrorCondition.BadRequest})}})},1)}get isInitiator(){return this.role===i.JingleSessionRole.Initiator}get peerRole(){return this.isInitiator?i.JingleSessionRole.Responder:i.JingleSessionRole.Initiator}get state(){return this._sessionState}set state(e){e!==this._sessionState&&(this._log("info","Changing session state to: "+e),this._sessionState=e,this.parent&&this.parent.emit("sessionState",this,e))}get connectionState(){return this._connectionState}set connectionState(e){e!==this._connectionState&&(this._log("info","Changing connection state to: "+e),this._connectionState=e,this.parent&&this.parent.emit("connectionState",this,e))}send(e,t){(t=t||{}).sid=this.sid,t.action=e;new Set([i.JingleAction.ContentAccept,i.JingleAction.ContentAdd,i.JingleAction.ContentModify,i.JingleAction.ContentReject,i.JingleAction.ContentRemove,i.JingleAction.SessionAccept,i.JingleAction.SessionInitiate,i.JingleAction.TransportAccept,i.JingleAction.TransportReject,i.JingleAction.TransportReplace]).has(e)?this.pendingAction=e:this.pendingAction=void 0,this.parent.signal(this,{id:(0,s.uuid)(),jingle:t,to:this.peerID,type:"set"})}processLocal(e,t){return new Promise((n,r)=>{this.processingQueue.push({handler:t,name:e,reject:r,resolve:n,type:"local"},1)})}process(e,t,n){this.processingQueue.push({action:e,cb:n,changes:t,type:"remote"},2)}start(e,t){this._log("error","Can not start base sessions"),this.end("unsupported-applications",!0)}accept(e,t){this._log("error","Can not accept base sessions"),this.end("unsupported-applications")}cancel(){this.end("cancel")}decline(){this.end("decline")}end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.state="ended",this.processingQueue.kill(),"string"==typeof e&&(e={condition:e}),t||this.send("session-terminate",{reason:e}),this.parent.emit("terminated",this,e),this.parent.forgetSession(this)}_log(e,t){if(this.parent){t=this.sid+": "+t;for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];this.parent.emit("log",e,t,...r),this.parent.emit("log:"+e,t,...r)}}onSessionInitiate(e,t){t()}onSessionAccept(e,t){t()}onSessionTerminate(e,t){this.end(e.reason,!0),t()}onSessionInfo(e,t){e.info?t(a):t()}onSecurityInfo(e,t){t(a)}onDescriptionInfo(e,t){t(a)}onTransportInfo(e,t){t(a)}onContentAdd(e,t){t(),this.send(i.JingleAction.ContentReject,{reason:{condition:i.JingleReasonCondition.FailedApplication,text:"content-add is not supported"}})}onContentAccept(e,t){t(o)}onContentReject(e,t){t(o)}onContentModify(e,t){t(o)}onContentRemove(e,t){t(o)}onTransportReplace(e,t){t(),this.send(i.JingleAction.TransportReject,{reason:{condition:i.JingleReasonCondition.FailedTransport,text:"transport-replace is not supported"}})}onTransportAccept(e,t){t(o)}onTransportReject(e,t){t(o)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"all",(function(){return me})),n.d(t,"allLimit",(function(){return ge})),n.d(t,"allSeries",(function(){return ye})),n.d(t,"any",(function(){return tt})),n.d(t,"anyLimit",(function(){return nt})),n.d(t,"anySeries",(function(){return rt})),n.d(t,"apply",(function(){return r})),n.d(t,"applyEach",(function(){return O})),n.d(t,"applyEachSeries",(function(){return j})),n.d(t,"asyncify",(function(){return d})),n.d(t,"auto",(function(){return D})),n.d(t,"autoInject",(function(){return J})),n.d(t,"cargo",(function(){return V})),n.d(t,"cargoQueue",(function(){return W})),n.d(t,"compose",(function(){return K})),n.d(t,"concat",(function(){return Z})),n.d(t,"concatLimit",(function(){return X})),n.d(t,"concatSeries",(function(){return ee})),n.d(t,"constant",(function(){return te})),n.d(t,"default",(function(){return mt})),n.d(t,"detect",(function(){return re})),n.d(t,"detectLimit",(function(){return ie})),n.d(t,"detectSeries",(function(){return se})),n.d(t,"dir",(function(){return ae})),n.d(t,"doDuring",(function(){return ce})),n.d(t,"doUntil",(function(){return ue})),n.d(t,"doWhilst",(function(){return ce})),n.d(t,"during",(function(){return pt})),n.d(t,"each",(function(){return de})),n.d(t,"eachLimit",(function(){return pe})),n.d(t,"eachOf",(function(){return C})),n.d(t,"eachOfLimit",(function(){return N})),n.d(t,"eachOfSeries",(function(){return P})),n.d(t,"eachSeries",(function(){return he})),n.d(t,"ensureAsync",(function(){return fe})),n.d(t,"every",(function(){return me})),n.d(t,"everyLimit",(function(){return ge})),n.d(t,"everySeries",(function(){return ye})),n.d(t,"filter",(function(){return Se})),n.d(t,"filterLimit",(function(){return we})),n.d(t,"filterSeries",(function(){return Te})),n.d(t,"find",(function(){return re})),n.d(t,"findLimit",(function(){return ie})),n.d(t,"findSeries",(function(){return se})),n.d(t,"flatMap",(function(){return Z})),n.d(t,"flatMapLimit",(function(){return X})),n.d(t,"flatMapSeries",(function(){return ee})),n.d(t,"foldl",(function(){return $})),n.d(t,"foldr",(function(){return ze})),n.d(t,"forEach",(function(){return de})),n.d(t,"forEachLimit",(function(){return pe})),n.d(t,"forEachOf",(function(){return C})),n.d(t,"forEachOfLimit",(function(){return N})),n.d(t,"forEachOfSeries",(function(){return P})),n.d(t,"forEachSeries",(function(){return he})),n.d(t,"forever",(function(){return Ie})),n.d(t,"groupBy",(function(){return Ne})),n.d(t,"groupByLimit",(function(){return Ae})),n.d(t,"groupBySeries",(function(){return Ee})),n.d(t,"inject",(function(){return $})),n.d(t,"log",(function(){return xe})),n.d(t,"map",(function(){return R})),n.d(t,"mapLimit",(function(){return Y})),n.d(t,"mapSeries",(function(){return k})),n.d(t,"mapValues",(function(){return Re})),n.d(t,"mapValuesLimit",(function(){return Ce})),n.d(t,"mapValuesSeries",(function(){return Oe})),n.d(t,"memoize",(function(){return Pe})),n.d(t,"nextTick",(function(){return ke})),n.d(t,"parallel",(function(){return Le})),n.d(t,"parallelLimit",(function(){return Me})),n.d(t,"priorityQueue",(function(){return Ue})),n.d(t,"queue",(function(){return De})),n.d(t,"race",(function(){return Je})),n.d(t,"reduce",(function(){return $})),n.d(t,"reduceRight",(function(){return ze})),n.d(t,"reflect",(function(){return Ge})),n.d(t,"reflectAll",(function(){return He})),n.d(t,"reject",(function(){return We})),n.d(t,"rejectLimit",(function(){return $e})),n.d(t,"rejectSeries",(function(){return Qe})),n.d(t,"retry",(function(){return Ye})),n.d(t,"retryable",(function(){return Ze})),n.d(t,"select",(function(){return Se})),n.d(t,"selectLimit",(function(){return we})),n.d(t,"selectSeries",(function(){return Te})),n.d(t,"seq",(function(){return Q})),n.d(t,"series",(function(){return et})),n.d(t,"setImmediate",(function(){return l})),n.d(t,"some",(function(){return tt})),n.d(t,"someLimit",(function(){return nt})),n.d(t,"someSeries",(function(){return rt})),n.d(t,"sortBy",(function(){return it})),n.d(t,"timeout",(function(){return st})),n.d(t,"times",(function(){return at})),n.d(t,"timesLimit",(function(){return ot})),n.d(t,"timesSeries",(function(){return ct})),n.d(t,"transform",(function(){return ut})),n.d(t,"tryEach",(function(){return lt})),n.d(t,"unmemoize",(function(){return dt})),n.d(t,"until",(function(){return ht})),n.d(t,"waterfall",(function(){return ft})),n.d(t,"whilst",(function(){return pt})),n.d(t,"wrapSync",(function(){return d}));n(261);function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return e(...n,...r)}}function i(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.pop();return e.call(this,n,i)}}var s="function"==typeof queueMicrotask&&queueMicrotask,o="function"==typeof setImmediate&&setImmediate,a="object"==typeof process&&"function"==typeof process.nextTick;function c(e){setTimeout(e,0)}function u(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e(()=>t(...r))}}var l=u(s?queueMicrotask:o?setImmediate:a?process.nextTick:c);function d(e){return f(e)?function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i=n.pop(),s=e.apply(this,n);return p(s,i)}:i((function(t,n){var r;try{r=e.apply(this,t)}catch(e){return n(e)}if(r&&"function"==typeof r.then)return p(r,n);n(null,r)}))}function p(e,t){return e.then(e=>{h(t,null,e)},e=>{h(t,e&&(e instanceof Error||e.message)?e:new Error(e))})}function h(e,t,n){try{e(t,n)}catch(e){l(e=>{throw e},e)}}function f(e){return"AsyncFunction"===e[Symbol.toStringTag]}function m(e){if("function"!=typeof e)throw new Error("expected a function");return f(e)?d(e):e}function g(e,t){if(t||(t=e.length),!t)throw new Error("arity is undefined");return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return"function"==typeof r[t-1]?e.apply(this,r):new Promise((n,i)=>{r[t-1]=function(e){if(e)return i(e);for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];n(r.length>1?r:r[0])},e.apply(this,r)})}}function y(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];const s=g((function(n){var i=this;return e(t,(e,t)=>{m(e).apply(i,r.concat(t))},n)}));return s}}function b(e,t,n,r){t=t||[];var i=[],s=0,o=m(n);return e(t,(e,t,n)=>{var r=s++;o(e,(e,t)=>{i[r]=t,n(e)})},e=>{r(e,i)})}function v(e){return e&&"number"==typeof e.length&&e.length>=0&&e.length%1==0}var _={};function S(e){function t(){if(null!==e){var t=e;e=null;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}return Object.assign(t,e),t}function w(e){if(v(e))return function(e){var t=-1,n=e.length;return function(){return++t<n?{value:e[t],key:t}:null}}(e);var t,n,r,i,s=function(e){return e[Symbol.iterator]&&e[Symbol.iterator]()}(e);return s?function(e){var t=-1;return function(){var n=e.next();return n.done?null:(t++,{value:n.value,key:t})}}(s):(n=(t=e)?Object.keys(t):[],r=-1,i=n.length,function e(){var s=n[++r];return"__proto__"===s?e():r<i?{value:t[s],key:s}:null})}function T(e){return function(){if(null===e)throw new Error("Callback was already called.");var t=e;e=null;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}function I(e,t,n,r){let i=!1,s=!1,o=!1,a=0,c=0;function u(){a>=t||o||i||(o=!0,e.next().then(e=>{let{value:t,done:d}=e;if(!s&&!i){if(o=!1,d)return i=!0,void(a<=0&&r(null));a++,n(t,c,l),c++,u()}}).catch(d))}function l(e,t){if(a-=1,!s)return e?d(e):!1===e?(i=!0,void(s=!0)):t===_||i&&a<=0?(i=!0,r(null)):void u()}function d(e){s||(o=!1,i=!0,r(e))}u()}var A=e=>(t,n,r)=>{if(r=S(r),e<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!t)return r(null);if("AsyncGenerator"===t[Symbol.toStringTag])return I(t,e,n,r);if(function(e){return"function"==typeof e[Symbol.asyncIterator]}(t))return I(t[Symbol.asyncIterator](),e,n,r);var i=w(t),s=!1,o=!1,a=0,c=!1;function u(e,t){if(!o)if(a-=1,e)s=!0,r(e);else if(!1===e)s=!0,o=!0;else{if(t===_||s&&a<=0)return s=!0,r(null);c||l()}}function l(){for(c=!0;a<e&&!s;){var t=i();if(null===t)return s=!0,void(a<=0&&r(null));a+=1,n(t.value,t.key,T(u))}c=!1}l()};var N=g((function(e,t,n,r){return A(t)(e,m(n),r)}),4);function E(e,t,n){n=S(n);var r=0,i=0,{length:s}=e,o=!1;function a(e,t){!1===e&&(o=!0),!0!==o&&(e?n(e):++i!==s&&t!==_||n(null))}for(0===s&&n(null);r<s;r++)t(e[r],r,T(a))}function x(e,t,n){return N(e,1/0,t,n)}var C=g((function(e,t,n){return(v(e)?E:x)(e,m(t),n)}),3);var R=g((function(e,t,n){return b(C,e,t,n)}),3),O=y(R);var P=g((function(e,t,n){return N(e,1,t,n)}),3);var k=g((function(e,t,n){return b(P,e,t,n)}),3),j=y(k);const L=Symbol("promiseCallback");function M(){let e,t;function n(n){if(n)return t(n);for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];e(i.length>1?i:i[0])}return n[L]=new Promise((n,r)=>{e=n,t=r}),n}function D(e,t,n){"number"!=typeof t&&(n=t,t=null),n=S(n||M());var r=Object.keys(e).length;if(!r)return n(null);t||(t=r);var i={},s=0,o=!1,a=!1,c=Object.create(null),u=[],l=[],d={};function p(e,t){u.push(()=>function(e,t){if(a)return;var r=T((function(t){for(var r=arguments.length,u=new Array(r>1?r-1:0),l=1;l<r;l++)u[l-1]=arguments[l];if(s--,!1!==t)if(u.length<2&&([u]=u),t){var d={};if(Object.keys(i).forEach(e=>{d[e]=i[e]}),d[e]=u,a=!0,c=Object.create(null),o)return;n(t,d)}else i[e]=u,f(e);else o=!0}));s++;var u=m(t[t.length-1]);t.length>1?u(i,r):u(r)}(e,t))}function h(){if(!o){if(0===u.length&&0===s)return n(null,i);for(;u.length&&s<t;){u.shift()()}}}function f(e){(c[e]||[]).forEach(e=>e()),h()}function g(t){var n=[];return Object.keys(e).forEach(r=>{const i=e[r];Array.isArray(i)&&i.indexOf(t)>=0&&n.push(r)}),n}return Object.keys(e).forEach(t=>{var n=e[t];if(!Array.isArray(n))return p(t,[n]),void l.push(t);var r=n.slice(0,n.length-1),i=r.length;if(0===i)return p(t,n),void l.push(t);d[t]=i,r.forEach(s=>{if(!e[s])throw new Error("async.auto task `"+t+"` has a non-existent dependency `"+s+"` in "+r.join(", "));!function(e,t){var n=c[e];n||(n=c[e]=[]);n.push(t)}(s,()=>{0===--i&&p(t,n)})})}),function(){var e,t=0;for(;l.length;)e=l.pop(),t++,g(e).forEach(e=>{0==--d[e]&&l.push(e)});if(t!==r)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),h(),n[L]}var B=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,F=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,q=/,/,U=/(=.+)?(\s*)$/;function J(e,t){var n={};return Object.keys(e).forEach(t=>{var r,i=e[t],s=f(i),o=!s&&1===i.length||s&&0===i.length;if(Array.isArray(i))r=[...i],i=r.pop(),n[t]=r.concat(r.length>0?a:i);else if(o)n[t]=i;else{if(r=function(e){const t=function(e){let t="",n=0,r=e.indexOf("*/");for(;n<e.length;)if("/"===e[n]&&"/"===e[n+1]){let t=e.indexOf("\n",n);n=-1===t?e.length:t}else if(-1!==r&&"/"===e[n]&&"*"===e[n+1]){let i=e.indexOf("*/",n);-1!==i?(n=i+2,r=e.indexOf("*/",n)):(t+=e[n],n++)}else t+=e[n],n++;return t}(e.toString());let n=t.match(B);if(n||(n=t.match(F)),!n)throw new Error("could not parse args in autoInject\nSource:\n"+t);let[,r]=n;return r.replace(/\s/g,"").split(q).map(e=>e.replace(U,"").trim())}(i),0===i.length&&!s&&0===r.length)throw new Error("autoInject task functions require explicit parameters.");s||r.pop(),n[t]=r.concat(a)}function a(e,t){var n=r.map(t=>e[t]);n.push(t),m(i)(...n)}}),D(n,t)}class z{constructor(){this.head=this.tail=null,this.length=0}removeLink(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e}empty(){for(;this.head;)this.shift();return this}insertAfter(e,t){t.prev=e,t.next=e.next,e.next?e.next.prev=t:this.tail=t,e.next=t,this.length+=1}insertBefore(e,t){t.prev=e.prev,t.next=e,e.prev?e.prev.next=t:this.head=t,e.prev=t,this.length+=1}unshift(e){this.head?this.insertBefore(this.head,e):G(this,e)}push(e){this.tail?this.insertAfter(this.tail,e):G(this,e)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var e=this.head;e;)yield e.data,e=e.next}remove(e){for(var t=this.head;t;){var{next:n}=t;e(t)&&this.removeLink(t),t=n}return this}}function G(e,t){e.length=1,e.head=e.tail=t}function H(e,t,n){if(null==t)t=1;else if(0===t)throw new RangeError("Concurrency must not be zero");var r=m(e),i=0,s=[];const o={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function a(e,t){return e?t?void(o[e]=o[e].filter(e=>e!==t)):o[e]=[]:Object.keys(o).forEach(e=>o[e]=[])}function c(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o[e].forEach(e=>e(...n))}var u=!1;function d(e,t,n,r){if(null!=r&&"function"!=typeof r)throw new Error("task callback must be a function");var i,s;function o(e){if(e)return n?s(e):i();for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(r.length<=1)return i(r[0]);i(r)}y.started=!0;var a=y._createTaskItem(e,n?o:r||o);if(t?y._tasks.unshift(a):y._tasks.push(a),u||(u=!0,l(()=>{u=!1,y.process()})),n||!r)return new Promise((e,t)=>{i=e,s=t})}function p(e){return function(t){i-=1;for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var a=0,u=e.length;a<u;a++){var l=e[a],d=s.indexOf(l);0===d?s.shift():d>0&&s.splice(d,1),l.callback(t,...r),null!=t&&c("error",t,l.data)}i<=y.concurrency-y.buffer&&c("unsaturated"),y.idle()&&c("drain"),y.process()}}function h(e){return!(0!==e.length||!y.idle())&&(l(()=>c("drain")),!0)}const f=e=>t=>{if(!t)return new Promise((t,n)=>{!function(e,t){const n=function(){a(e,n),t(...arguments)};o[e].push(n)}(e,(e,r)=>{if(e)return n(e);t(r)})});a(e),function(e,t){o[e].push(t)}(e,t)};var g=!1,y={_tasks:new z,_createTaskItem:(e,t)=>({data:e,callback:t}),*[Symbol.iterator](){yield*y._tasks[Symbol.iterator]()},concurrency:t,payload:n,buffer:t/4,started:!1,paused:!1,push(e,t){if(Array.isArray(e)){if(h(e))return;return e.map(e=>d(e,!1,!1,t))}return d(e,!1,!1,t)},pushAsync(e,t){if(Array.isArray(e)){if(h(e))return;return e.map(e=>d(e,!1,!0,t))}return d(e,!1,!0,t)},kill(){a(),y._tasks.empty()},unshift(e,t){if(Array.isArray(e)){if(h(e))return;return e.map(e=>d(e,!0,!1,t))}return d(e,!0,!1,t)},unshiftAsync(e,t){if(Array.isArray(e)){if(h(e))return;return e.map(e=>d(e,!0,!0,t))}return d(e,!0,!0,t)},remove(e){y._tasks.remove(e)},process(){if(!g){for(g=!0;!y.paused&&i<y.concurrency&&y._tasks.length;){var e=[],t=[],n=y._tasks.length;y.payload&&(n=Math.min(n,y.payload));for(var o=0;o<n;o++){var a=y._tasks.shift();e.push(a),s.push(a),t.push(a.data)}i+=1,0===y._tasks.length&&c("empty"),i===y.concurrency&&c("saturated");var u=T(p(e));r(t,u)}g=!1}},length:()=>y._tasks.length,running:()=>i,workersList:()=>s,idle:()=>y._tasks.length+i===0,pause(){y.paused=!0},resume(){!1!==y.paused&&(y.paused=!1,l(y.process))}};return Object.defineProperties(y,{saturated:{writable:!1,value:f("saturated")},unsaturated:{writable:!1,value:f("unsaturated")},empty:{writable:!1,value:f("empty")},drain:{writable:!1,value:f("drain")},error:{writable:!1,value:f("error")}}),y}function V(e,t){return H(e,1,t)}function W(e,t,n){return H(e,t,n)}var $=g((function(e,t,n,r){r=S(r);var i=m(n);return P(e,(e,n,r)=>{i(t,e,(e,n)=>{t=n,r(e)})},e=>r(e,t))}),4);function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(m);return function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var s=n[n.length-1];return"function"==typeof s?n.pop():s=M(),$(r,n,(t,n,r)=>{n.apply(e,t.concat((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r(e,n)})))},(e,t)=>s(e,...t)),s[L]}}function K(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Q(...t.reverse())}var Y=g((function(e,t,n,r){return b(A(t),e,n,r)}),4);var X=g((function(e,t,n,r){var i=m(n);return Y(e,t,(e,t)=>{i(e,(function(e){if(e)return t(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t(e,r)}))},(e,t)=>{for(var n=[],i=0;i<t.length;i++)t[i]&&(n=n.concat(...t[i]));return r(e,n)})}),4);var Z=g((function(e,t,n){return X(e,1/0,t,n)}),3);var ee=g((function(e,t,n){return X(e,1,t,n)}),3);function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n.pop();return i(null,...t)}}function ne(e,t){return(n,r,i,s)=>{var o,a=!1;const c=m(i);n(r,(n,r,i)=>{c(n,(r,s)=>r||!1===r?i(r):e(s)&&!o?(a=!0,o=t(!0,n),i(null,_)):void i())},e=>{if(e)return s(e);s(null,a?o:t(!1))})}}var re=g((function(e,t,n){return ne(e=>e,(e,t)=>t)(C,e,t,n)}),3);var ie=g((function(e,t,n,r){return ne(e=>e,(e,t)=>t)(A(t),e,n,r)}),4);var se=g((function(e,t,n){return ne(e=>e,(e,t)=>t)(A(1),e,t,n)}),3);function oe(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return m(t)(...r,(function(t){if("object"==typeof console)if(t)console.error&&console.error(t);else if(console[e]){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];r.forEach(t=>console[e](t))}}))}}var ae=oe("dir");var ce=g((function(e,t,n){n=T(n);var r,i=m(e),s=m(t);function o(e){if(e)return n(e);if(!1!==e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];r=i,s(...i,a)}}function a(e,t){return e?n(e):!1!==e?t?void i(o):n(null,...r):void 0}return a(null,!0)}),3);function ue(e,t,n){const r=m(t);return ce(e,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const i=t.pop();r(...t,(e,t)=>i(e,!t))}),n)}function le(e){return(t,n,r)=>e(t,r)}var de=g((function(e,t,n){return C(e,le(m(t)),n)}),3);var pe=g((function(e,t,n,r){return A(t)(e,le(m(n)),r)}),4);var he=g((function(e,t,n){return pe(e,1,t,n)}),3);function fe(e){return f(e)?e:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.pop(),s=!0;n.push((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];s?l(()=>i(...t)):i(...t)})),e.apply(this,n),s=!1}}var me=g((function(e,t,n){return ne(e=>!e,e=>!e)(C,e,t,n)}),3);var ge=g((function(e,t,n,r){return ne(e=>!e,e=>!e)(A(t),e,n,r)}),4);var ye=g((function(e,t,n){return ne(e=>!e,e=>!e)(P,e,t,n)}),3);function be(e,t,n,r){var i=new Array(t.length);e(t,(e,t,r)=>{n(e,(e,n)=>{i[t]=!!n,r(e)})},e=>{if(e)return r(e);for(var n=[],s=0;s<t.length;s++)i[s]&&n.push(t[s]);r(null,n)})}function ve(e,t,n,r){var i=[];e(t,(e,t,r)=>{n(e,(n,s)=>{if(n)return r(n);s&&i.push({index:t,value:e}),r(n)})},e=>{if(e)return r(e);r(null,i.sort((e,t)=>e.index-t.index).map(e=>e.value))})}function _e(e,t,n,r){return(v(t)?be:ve)(e,t,m(n),r)}var Se=g((function(e,t,n){return _e(C,e,t,n)}),3);var we=g((function(e,t,n,r){return _e(A(t),e,n,r)}),4);var Te=g((function(e,t,n){return _e(P,e,t,n)}),3);var Ie=g((function(e,t){var n=T(t),r=m(fe(e));return function e(t){if(t)return n(t);!1!==t&&r(e)}()}),2);var Ae=g((function(e,t,n,r){var i=m(n);return Y(e,t,(e,t)=>{i(e,(n,r)=>n?t(n):t(n,{key:r,val:e}))},(e,t)=>{for(var n={},{hasOwnProperty:i}=Object.prototype,s=0;s<t.length;s++)if(t[s]){var{key:o}=t[s],{val:a}=t[s];i.call(n,o)?n[o].push(a):n[o]=[a]}return r(e,n)})}),4);function Ne(e,t,n){return Ae(e,1/0,t,n)}function Ee(e,t,n){return Ae(e,1,t,n)}var xe=oe("log");var Ce=g((function(e,t,n,r){r=S(r);var i={},s=m(n);return A(t)(e,(e,t,n)=>{s(e,t,(e,r)=>{if(e)return n(e);i[t]=r,n(e)})},e=>r(e,i))}),4);function Re(e,t,n){return Ce(e,1/0,t,n)}function Oe(e,t,n){return Ce(e,1,t,n)}function Pe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;var n=Object.create(null),r=Object.create(null),s=m(e),o=i((e,i)=>{var o=t(...e);o in n?l(()=>i(null,...n[o])):o in r?r[o].push(i):(r[o]=[i],s(...e,(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];e||(n[o]=i);var a=r[o];delete r[o];for(var c=0,u=a.length;c<u;c++)a[c](e,...i)})))});return o.memo=n,o.unmemoized=e,o}var ke=u(a?process.nextTick:o?setImmediate:c),je=g((e,t,n)=>{var r=v(t)?[]:{};e(t,(e,t,n)=>{m(e)((function(e){for(var i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];s.length<2&&([s]=s),r[t]=s,n(e)}))},e=>n(e,r))},3);function Le(e,t){return je(C,e,t)}function Me(e,t,n){return je(A(t),e,n)}function De(e,t){var n=m(e);return H((e,t)=>{n(e[0],t)},t,1)}class Be{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(e){let t;for(;e>0&&qe(this.heap[e],this.heap[t=Fe(e)]);){let n=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=n,e=t}}percDown(e){let t;for(;(t=1+(e<<1))<this.heap.length&&(t+1<this.heap.length&&qe(this.heap[t+1],this.heap[t])&&(t+=1),!qe(this.heap[e],this.heap[t]));){let n=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=n,e=t}}push(e){e.pushCount=++this.pushCount,this.heap.push(e),this.percUp(this.heap.length-1)}unshift(e){return this.heap.push(e)}shift(){let[e]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),e}toArray(){return[...this]}*[Symbol.iterator](){for(let e=0;e<this.heap.length;e++)yield this.heap[e].data}remove(e){let t=0;for(let n=0;n<this.heap.length;n++)e(this.heap[n])||(this.heap[t]=this.heap[n],t++);this.heap.splice(t);for(let e=Fe(this.heap.length-1);e>=0;e--)this.percDown(e);return this}}function Fe(e){return(e+1>>1)-1}function qe(e,t){return e.priority!==t.priority?e.priority<t.priority:e.pushCount<t.pushCount}function Ue(e,t){var n=De(e,t),{push:r,pushAsync:i}=n;function s(e,t){return Array.isArray(e)?e.map(e=>({data:e,priority:t})):{data:e,priority:t}}return n._tasks=new Be,n._createTaskItem=(e,t)=>{let{data:n,priority:r}=e;return{data:n,priority:r,callback:t}},n.push=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return r(s(e,t),n)},n.pushAsync=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return i(s(e,t),n)},delete n.unshift,delete n.unshiftAsync,n}var Je=g((function(e,t){if(t=S(t),!Array.isArray(e))return t(new TypeError("First argument to race must be an array of functions"));if(!e.length)return t();for(var n=0,r=e.length;n<r;n++)m(e[n])(t)}),2);function ze(e,t,n,r){var i=[...e].reverse();return $(i,t,n,r)}function Ge(e){var t=m(e);return i((function(e,n){return e.push((function(e){let t={};e&&(t.error=e);for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];if(i.length>0){var o=i;i.length<=1&&([o]=i),t.value=o}n(null,t)})),t.apply(this,e)}))}function He(e){var t;return Array.isArray(e)?t=e.map(Ge):(t={},Object.keys(e).forEach(n=>{t[n]=Ge.call(this,e[n])})),t}function Ve(e,t,n,r){const i=m(n);return _e(e,t,(e,t)=>{i(e,(e,n)=>{t(e,!n)})},r)}var We=g((function(e,t,n){return Ve(C,e,t,n)}),3);var $e=g((function(e,t,n,r){return Ve(A(t),e,n,r)}),4);var Qe=g((function(e,t,n){return Ve(P,e,t,n)}),3);function Ke(e){return function(){return e}}function Ye(e,t,n){var r={times:5,intervalFunc:Ke(0)};if(arguments.length<3&&"function"==typeof e?(n=t||M(),t=e):(Xe(r,e),n=n||M()),"function"!=typeof t)throw new Error("Invalid arguments for async.retry");var i=m(t),s=1;function o(){i((function(e){if(!1!==e)if(e&&s++<r.times&&("function"!=typeof r.errorFilter||r.errorFilter(e)))setTimeout(o,r.intervalFunc(s-1));else{for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];n(e,...i)}}))}return o(),n[L]}function Xe(e,t){if("object"==typeof t)e.times=+t.times||5,e.intervalFunc="function"==typeof t.interval?t.interval:Ke(+t.interval||0),e.errorFilter=t.errorFilter;else{if("number"!=typeof t&&"string"!=typeof t)throw new Error("Invalid arguments for async.retry");e.times=+t||5}}function Ze(e,t){t||(t=e,e=null);let n=e&&e.arity||t.length;f(t)&&(n+=1);var r=m(t);return i((t,i)=>{function s(e){r(...t,e)}return(t.length<n-1||null==i)&&(t.push(i),i=M()),e?Ye(e,s,i):Ye(s,i),i[L]})}function et(e,t){return je(P,e,t)}var tt=g((function(e,t,n){return ne(Boolean,e=>e)(C,e,t,n)}),3);var nt=g((function(e,t,n,r){return ne(Boolean,e=>e)(A(t),e,n,r)}),4);var rt=g((function(e,t,n){return ne(Boolean,e=>e)(P,e,t,n)}),3);var it=g((function(e,t,n){var r=m(t);return R(e,(e,t)=>{r(e,(n,r)=>{if(n)return t(n);t(n,{value:e,criteria:r})})},(e,t)=>{if(e)return n(e);n(null,t.sort(i).map(e=>e.value))});function i(e,t){var n=e.criteria,r=t.criteria;return n<r?-1:n>r?1:0}}),3);function st(e,t,n){var r=m(e);return i((i,s)=>{var o,a=!1;i.push((function(){a||(s(...arguments),clearTimeout(o))})),o=setTimeout((function(){var t=e.name||"anonymous",r=new Error('Callback function "'+t+'" timed out.');r.code="ETIMEDOUT",n&&(r.info=n),a=!0,s(r)}),t),r(...i)})}function ot(e,t,n,r){var i=m(n);return Y(function(e){for(var t=Array(e);e--;)t[e]=e;return t}(e),t,i,r)}function at(e,t,n){return ot(e,1/0,t,n)}function ct(e,t,n){return ot(e,1,t,n)}function ut(e,t,n,r){arguments.length<=3&&"function"==typeof t&&(r=n,n=t,t=Array.isArray(e)?[]:{}),r=S(r||M());var i=m(n);return C(e,(e,n,r)=>{i(t,e,n,r)},e=>r(e,t)),r[L]}var lt=g((function(e,t){var n,r=null;return he(e,(e,t)=>{m(e)((function(e){if(!1===e)return t(e);for(var i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];s.length<2?[n]=s:n=s,r=e,t(e?null:{})}))},()=>t(r,n))}));function dt(e){return function(){return(e.unmemoized||e)(...arguments)}}var pt=g((function(e,t,n){n=T(n);var r=m(t),i=m(e),s=[];function o(e){if(e)return n(e);for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];s=r,!1!==e&&i(a)}function a(e,t){return e?n(e):!1!==e?t?void r(o):n(null,...s):void 0}return i(a)}),3);function ht(e,t,n){const r=m(e);return pt(e=>r((t,n)=>e(t,!n)),t,n)}var ft=g((function(e,t){if(t=S(t),!Array.isArray(e))return t(new Error("First argument to waterfall must be an array of functions"));if(!e.length)return t();var n=0;function r(t){m(e[n++])(...t,T(i))}function i(i){if(!1!==i){for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];if(i||n===e.length)return t(i,...o);r(o)}}r([])})),mt={apply:r,applyEach:O,applyEachSeries:j,asyncify:d,auto:D,autoInject:J,cargo:V,cargoQueue:W,compose:K,concat:Z,concatLimit:X,concatSeries:ee,constant:te,detect:re,detectLimit:ie,detectSeries:se,dir:ae,doUntil:ue,doWhilst:ce,each:de,eachLimit:pe,eachOf:C,eachOfLimit:N,eachOfSeries:P,eachSeries:he,ensureAsync:fe,every:me,everyLimit:ge,everySeries:ye,filter:Se,filterLimit:we,filterSeries:Te,forever:Ie,groupBy:Ne,groupByLimit:Ae,groupBySeries:Ee,log:xe,map:R,mapLimit:Y,mapSeries:k,mapValues:Re,mapValuesLimit:Ce,mapValuesSeries:Oe,memoize:Pe,nextTick:ke,parallel:Le,parallelLimit:Me,priorityQueue:Ue,queue:De,race:Je,reduce:$,reduceRight:ze,reflect:Ge,reflectAll:He,reject:We,rejectLimit:$e,rejectSeries:Qe,retry:Ye,retryable:Ze,seq:Q,series:et,setImmediate:l,some:tt,someLimit:nt,someSeries:rt,sortBy:it,timeout:st,times:at,timesLimit:ot,timesSeries:ct,transform:ut,tryEach:lt,unmemoize:dt,until:ht,waterfall:ft,whilst:pt,all:me,allLimit:ge,allSeries:ye,any:tt,anyLimit:nt,anySeries:rt,find:re,findLimit:ie,findSeries:se,flatMap:Z,flatMapLimit:X,flatMapSeries:ee,forEach:de,forEachSeries:he,forEachLimit:pe,forEachOf:C,forEachOfSeries:P,forEachOfLimit:N,inject:$,foldl:$,foldr:ze,select:Se,selectLimit:we,selectSeries:Te,wrapSync:d,during:pt,doDuring:ce}},function(e,t,n){var r=n(264),i=n(79);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(267),i=n(8),s=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?s(r[e])||s(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenesysCloudMediaSession=void 0;const r=n(21).__importDefault(n(96)),i=n(7),s=n(23),o=n(16),a=n(28);t.GenesysCloudMediaSession=class{constructor(e,t){this.webrtcExtension=e,this.iceCandidatesDiscovered=0,this.iceCandidatesReceivedFromPeer=0,this.state="pending",this.connectionState="starting",this.id=t.id,this.fromJid=t.fromJid,this.peerID=t.peerID,this.logger=t.logger,this.conversationId=t.conversationId,this.fromUserId=t.fromUserId,this.pc=this.peerConnection=new RTCPeerConnection({iceServers:t.iceServers,iceTransportPolicy:t.iceTransportPolicy}),this.originalRoomJid=t.originalRoomJid,this.sessionType=a.SessionTypes[t.sessionType],this.ignoreHostCandidatesFromRemote=!!t.ignoreHostCandidatesFromRemote,this.allowIPv6=!!t.allowIPv6,this.allowTCP=!!t.allowTCP,this.reinvite=!!t.reinvite;const n=new i.EventEmitter;Object.keys(n.__proto__).forEach(e=>{this[e]=n[e]}),t.optOutOfWebrtcStatsTelemetry||this.setupStatsGatherer(),this.peerConnection.addEventListener("icecandidate",this.onIceCandidate.bind(this)),this.peerConnection.addEventListener("iceconnectionstatechange",this.onIceStateChange.bind(this)),this.peerConnection.addEventListener("connectionstatechange",this.onConnectionStateChange.bind(this)),this.peerConnection.addEventListener("icecandidateerror",this.onIceCandidateError.bind(this))}async setRemoteDescription(e){return this.peerConnection.setRemoteDescription({sdp:e,type:"offer"})}getLogDetails(){return{conversationId:this.conversationId,sessionId:this.id,sessionType:this.sessionType}}log(e,t,n,r){n||(n={});const i={...n,...this.getLogDetails()};this.logger[e](t,i,r)}async sendGenesysWebrtc(e){e.id=e.id||s.v4(),e.jsonrpc=e.jsonrpc||"2.0";const t={type:"set",genesysWebrtc:e,from:this.webrtcExtension.jid,to:this.peerID};return this.webrtcExtension.sendIq(t)}async end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.state="ended";const n={sessionId:this.id,reason:e.condition||e};t||await o.timeoutPromise((e,t)=>this.sendGenesysWebrtc({jsonrpc:"2.0",method:"terminate",params:n}).then(e,t),2e3,"Timeout waiting for response to termination request",{sessionId:this.id,conversationId:this.conversationId,sessionType:this.sessionType}).catch(e=>this.logger.error(e)),this.onSessionTerminate(n.reason)}setupStatsGatherer(){this.statsGatherer=new r.default(this.peerConnection),this.statsGatherer.on("stats",this.emit.bind(this,"stats"))}async onIceStateChange(){const e=this.peerConnection.iceConnectionState,t=this.id,n=this.conversationId,r=this.sessionType;if(this.log("info","ICE state changed: ",{iceState:e,sessionId:t,conversationId:n}),"disconnected"===e)"stable"===this.peerConnection.signalingState&&(this.interruptionStart=new Date,this.log("info","Connection state is interrupted",{sessionId:t,conversationId:n,sessionType:r}));else if("connected"===e){this.log("info","sending session-info: active");const e={sessionId:this.id,status:"active"};await this.sendGenesysWebrtc({jsonrpc:"2.0",params:e,method:"info"}),this._setupDataChannel()}else"failed"===e&&this.log("info","ICE connection failed",{candidatesDiscovered:this.iceCandidatesDiscovered,candidatesReceivedFromPeer:this.iceCandidatesReceivedFromPeer})}onConnectionStateChange(){const e=this.connectionState=this.peerConnection.connectionState,t=this.id,n=this.conversationId,r=this.sessionType;if(this.log("info","Connection state changed: ",{connectionState:e,sessionId:t,conversationId:n,sessionType:r}),this.interruptionStart)if("connected"===e){const e=(new Date).getTime()-this.interruptionStart.getTime();this.log("info","Connection was interrupted but was successfully recovered/connected",{sessionId:t,conversationId:n,sessionType:r,timeToRecover:e}),this.interruptionStart=void 0}else"failed"===e&&this.log("info","Connection was interrupted and failed to recover",{sessionId:t,conversationId:n,sessionType:r})}onIceCandidateError(e){const t=e;this.log("error","IceCandidateError",{errorCode:t.errorCode,errorText:t.errorText,url:t.url})}createIceCandidate(e,t){return new RTCIceCandidate({sdpMid:e,candidate:t})}async addRemoteIceCandidate(e){const t=e.match(/m=([^\s]+)/)[1],n=e.match(/a=([^\\\r]+)/)[1],r=this.createIceCandidate(t,n);await this.peerConnection.addIceCandidate(r)}onIceCandidate(e){var t,n;let r,i=null===(t=e.candidate)||void 0===t?void 0:t.candidate,s=null===(n=e.candidate)||void 0===n?void 0:n.sdpMid;if(e.candidate){if(!this.allowTCP&&"tcp"===e.candidate.protocol)return;if(!this.allowIPv6){const t=/.+udp [^ ]+ ([^ ]+).*typ host/.exec(e.candidate.candidate),n=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/;if(t&&!t[1].match(n))return void this.log("debug","Filtering out IPv6 candidate",e.candidate.candidate)}this.log("debug","Processing ice candidate",e.candidate),this.log("info","Discovered ice candidate to send to peer",{type:e.candidate.type}),this.iceCandidatesDiscovered++,r=`m=${s} 9 RTP/AVP 0\r\na=${i}`}else r="a=end-of-candidates",this.emit("endOfCandidates");return this.sendGenesysWebrtc({jsonrpc:"2.0",method:"iceCandidate",params:{sessionId:this.id,sdp:r}})}onSessionTerminate(e){this.peerConnection&&this.peerConnection.close(),this.emit("terminated",{condition:e||"success"})}async addTrack(e,t){const n=this.peerConnection.getTransceivers().find(t=>{var n;return!t.sender.track&&(null===(n=t.receiver.track)||void 0===n?void 0:n.kind)===e.kind});if(n)return n.sender.replaceTrack(e);this.peerConnection.addTrack(e,t)}_setupDataChannel(){var e;this.dataChannel||(null===(e=this.peerConnection.remoteDescription)||void 0===e?void 0:e.sdp.includes("webrtc-datachannel"))&&(this.log("info","creating data channel"),this.dataChannel=this.peerConnection.createDataChannel("videoConferenceControl"),this.dataChannel.addEventListener("open",()=>{this.log("info","data channel opened")}),this.dataChannel.addEventListener("message",this._handleDataChannelMessage.bind(this)),this.dataChannel.addEventListener("close",()=>{this.log("info","closing data channel")}),this.dataChannel.addEventListener("error",e=>{this.log("error","Error occurred with the data channel",e)}))}_handleDataChannelMessage(e){try{const t=JSON.parse(e.data);this.emit("dataChannelMessage",t)}catch(e){this.log("error","Failed to parse data channel message",{error:e})}}async accept(){this.state="active";const e=await this.peerConnection.createAnswer();await this.peerConnection.setLocalDescription(e);const t={sdp:e.sdp,sessionId:this.id};return this.sendGenesysWebrtc({jsonrpc:"2.0",method:"answer",params:t})}async mute(e,t){const n={sessionId:this.id,type:t};return this.sendGenesysWebrtc({jsonrpc:"2.0",method:"mute",params:n})}async unmute(e,t){const n={sessionId:this.id,type:t};return this.sendGenesysWebrtc({jsonrpc:"2.0",method:"unmute",params:n})}async removeTrack(){throw new Error("Not Implemented")}async hold(){throw new Error("Not Implemented")}async resume(){throw new Error("Not Implemented")}toString(){return{connectionState:this.connectionState,state:this.state,sessionType:this.sessionType,fromJid:this.fromJid,conversationId:this.conversationId,id:this.id,peerConnection:this.peerConnection}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.core=void 0;const r=n(3);(0,r.__exportStar)(n(100),t),(0,r.__exportStar)(n(101),t),(0,r.__exportStar)(n(102),t),(0,r.__exportStar)(n(103),t),(0,r.__exportStar)(n(104),t),(0,r.__exportStar)(n(105),t),(0,r.__exportStar)(n(106),t),(0,r.__exportStar)(n(107),t),(0,r.__exportStar)(n(108),t),(0,r.__exportStar)(n(109),t),(0,r.__exportStar)(n(110),t),(0,r.__exportStar)(n(112),t),(0,r.__exportStar)(n(113),t),(0,r.__exportStar)(n(114),t),(0,r.__exportStar)(n(115),t),(0,r.__exportStar)(n(116),t),(0,r.__exportStar)(n(117),t),(0,r.__exportStar)(n(118),t);const i=(0,r.__importDefault)(n(100)),s=(0,r.__importDefault)(n(101)),o=(0,r.__importDefault)(n(102)),a=(0,r.__importDefault)(n(103)),c=(0,r.__importDefault)(n(104)),u=(0,r.__importDefault)(n(105)),l=(0,r.__importDefault)(n(106)),d=(0,r.__importDefault)(n(107)),p=(0,r.__importDefault)(n(108)),h=(0,r.__importDefault)(n(109)),f=(0,r.__importDefault)(n(110)),m=(0,r.__importDefault)(n(112)),g=(0,r.__importDefault)(n(113)),y=(0,r.__importDefault)(n(114)),b=(0,r.__importDefault)(n(115)),v=(0,r.__importDefault)(n(116)),_=(0,r.__importDefault)(n(117)),S=(0,r.__importDefault)(n(118));t.core=function(e){e.use(d.default),e.use(u.default),e.use(o.default),e.use(c.default),e.use(p.default),e.use(_.default)},t.default=function(e){e.use(i.default),e.use(m.default),e.use(s.default),e.use(a.default),e.use(l.default),e.use(h.default),e.use(f.default),e.use(g.default),e.use(y.default),e.use(b.default),e.use(v.default),e.use(S.default)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"XRD",fields:{subject:(0,r.childText)(null,"Subject")},namespace:i.NS_XRD,path:"xrd"},{aliases:[{path:"xrd.links",multiple:!0}],element:"Link",fields:{href:(0,r.attribute)("href"),rel:(0,r.attribute)("rel"),type:(0,r.attribute)("type")},namespace:i.NS_XRD}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessengerExtension=void 0;const r=n(296),i=n(10),s=n(23);class o extends r.Emitter{constructor(e,t){super(),this.client=e,this.stanzaInstance=t}get bareJid(){return i.toBare(this.stanzaInstance.jid)}handleStanzaInstanceChange(e){this.stanzaInstance=e}isMediaMessage(e){return!!e.mediaMessage}handleMessage(e){if(!this.isMediaMessage(e))return;const t=e.from===this.stanzaInstance.jid,n=i.toBare(e.from)===this.bareJid;this.emit("mediaMessage",{...e,fromMyClient:t,fromMyUser:n})}async broadcastMessage(e){const t=s.v4();return e.id=t,e.from=this.stanzaInstance.jid,e.to||(e.to=this.bareJid),await this.stanzaInstance.send("message",e),t}get expose(){return{broadcastMessage:this.broadcastMessage.bind(this),on:this.on.bind(this),once:this.once.bind(this),off:this.off.bind(this),removeListener:this.removeListener.bind(this),addListener:this.addListener.bind(this)}}}t.MessengerExtension=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Client=void 0;const r=n(21),i=n(221),s=n(297);n(235);const o=n(236),a=n(238),c=n(283),u=n(284),l=n(16),d=n(34),p=r.__importDefault(n(7)),h=n(285),f=n(65),m=r.__importDefault(n(295)),g=r.__importDefault(n(200)),y=n(83),b=n(63);let v={notifications:o.Notifications,webrtcSessions:a.WebrtcExtension,messenger:b.MessengerExtension};class _ extends p.default{constructor(e){super(),this.connected=!1,this.connecting=!1,this.hardReconnectRequired=!0,this.isGuest=!1,this.backgroundAssistantMode=!1,this.autoReconnect=!0,this.extensions=[],this.channelReuses=0,this.hasMadeInitialAttempt=!1,this.http=new d.HttpClient,this.reconnectOnNoLongerSubscribed=!1!==e.reconnectOnNoLongerSubscribed,this.useServerSidePings=!1!==e.useServerSidePings,this.config={host:e.host,apiHost:e.apiHost||e.host.replace("wss://streaming.",""),authToken:e.authToken,jwt:e.jwt,jid:e.jid,jidResource:e.jidResource,channelId:null,appName:e.appName,appVersion:e.appVersion,appId:e.appId,customHeaders:e.customHeaders},this.backgroundAssistantMode=this.checkIsBackgroundAssistant(),this.isGuest=!this.backgroundAssistantMode&&!e.authToken;let t=e.authToken||"",n=`https://api.${this.config.apiHost}/api/v2/diagnostics/trace`;this.backgroundAssistantMode&&(t=e.jwt,n+="/backgroundassistant"),this.logger=new s.Logger({accessToken:t,url:n,uploadDebounceTime:1e3,initializeServerLogging:!this.isGuest&&!e.optOutOfWebrtcStatsTelemetry,appVersion:_.version,appName:"streaming-client",logLevel:this.config.logLevel||"info",logger:e.logger||console,formatters:e.logFormatters,originAppName:e.appName,originAppVersion:e.appVersion,originAppId:e.appId,customHeaders:e.customHeaders}),this.connectionManager=new h.ConnectionManager(this.logger,this.config),Object.keys(v).forEach(t=>{const n=new v[t](this,e);this.extensions.push(n),n.tokenBucket||(n.tokenBucket=new i.TokenBucket(20,25,1e3),n.tokenBucket.content=25),"function"==typeof n.on&&n.on("send",this.handleSendEventFromExtension.bind(this,n)),this[t]=n.expose,this["_"+t]=n})}handleSendEventFromExtension(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.tokenBucket.removeTokens(1,()=>{const e=this.activeStanzaInstance;return e?!0===n?e.sendMessage(t):e.sendIQ(t):this.logger.warn("cannot send message, no active stanza client",{data:t,message:n},{skipServer:!0})})}checkIsBackgroundAssistant(){if(this.config.jwt){const e=l.parseJwt(this.config.jwt);return e&&"urn:purecloud:screenrecording"===e.iss}return!1}addInateEventHandlers(e){this.removeStanzaBoundEventHandlers(),this.boundStanzaDisconnect=this.handleStanzaDisconnectedEvent.bind(this,e),this.boundStanzaNoLongerSubscribed=this.handleNoLongerSubscribed.bind(this,e),this.boundStanzaDuplicateId=this.handleDuplicateId.bind(this,e),this.on("stanzaDisconnected",this.boundStanzaDisconnect),this.on("notify:no_longer_subscribed",this.boundStanzaNoLongerSubscribed),this.on("notify:duplicate_id",this.boundStanzaDuplicateId),this.extensions.forEach(t=>{"function"==typeof t.handleIq&&e.on("iq",t.handleIq.bind(t)),"function"==typeof t.handleMessage&&e.on("message",t.handleMessage.bind(t))})}removeStanzaBoundEventHandlers(){this.boundStanzaDisconnect&&(this.off("stanzaDisconnected",this.boundStanzaDisconnect),this.boundStanzaDisconnect=void 0),this.boundStanzaNoLongerSubscribed&&(this.off("notify:no_longer_subscribed",this.boundStanzaNoLongerSubscribed),this.boundStanzaNoLongerSubscribed=void 0),this.boundStanzaDuplicateId&&(this.off("notify:duplicate_id",this.boundStanzaDuplicateId),this.boundStanzaDuplicateId=void 0)}proxyStanzaEvents(e){var t=this;e.originalEmitter=e.emit,e.emit=function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];const o=e.originalEmitter(n,...i);return"connected"===n?o:("disconnected"===n&&(n="stanzaDisconnected"),t.emit(n,...i))}}async handleStanzaDisconnectedEvent(e){var t,n;if(this.logger.info("stanzaDisconnected event received",{stanzaInstanceId:e.id,channelId:e.channelId}),this.connected=!1,this.connecting=!1,null===(t=e.pinger)||void 0===t||t.stop(),null===(n=e.serverMonitor)||void 0===n||n.stop(),this.removeAllListeners("stanzaDisconnected"),this.removeAllListeners("notify:no_longer_subscribed"),e.originalEmitter&&(e.emit=e.originalEmitter),this.activeStanzaInstance=void 0,this.emit("disconnected",{reconnecting:this.autoReconnect}),this.autoReconnect)return this.connect({keepTryingOnFailure:!0})}handleNoLongerSubscribed(e){var t,n;this.logger.warn("noLongerSubscribed event received",{stanzaInstanceId:e.id,channelId:e.channelId}),null===(t=e.pinger)||void 0===t||t.stop(),null===(n=e.serverMonitor)||void 0===n||n.stop(),this.hardReconnectRequired=!0,this.reconnectOnNoLongerSubscribed||(this.autoReconnect=!1)}handleDuplicateId(e){var t,n;this.logger.warn("duplicate_id event received, forcing hard reconnect",{stanzaInstanceId:e.id,channelId:e.channelId}),null===(t=e.pinger)||void 0===t||t.stop(),null===(n=e.serverMonitor)||void 0===n||n.stop(),this.hardReconnectRequired=!0}async disconnect(){if(this.logger.info("streamingClient.disconnect was called"),this.activeStanzaInstance)return l.timeoutPromise(e=>(this.autoReconnect=!1,this.http.stopAllRetries(),this.activeStanzaInstance.disconnect().then(e)),5e3,"disconnecting streaming service")}getConnectionData(){const e=sessionStorage.getItem("sc_connectionData"),t={currentDelayMs:0};if(e)try{return JSON.parse(e)}catch(e){return this.logger.warn("failed to parse streaming client connection data"),t}return t}setConnectionData(e){sessionStorage.setItem("sc_connectionData",JSON.stringify(e))}increaseBackoff(){const e=this.getConnectionData(),t=Math.max(2*e.currentDelayMs,2e3);this.setConnectionData({currentDelayMs:t,delayMsAfterNextReduction:t/2,nextDelayReductionTime:(new Date).getTime()+5*t,timeOfTotalReset:(new Date).getTime()+36e5})}decreaseBackoff(e){const t=this.getConnectionData(),n=5*e,r={currentDelayMs:e,delayMsAfterNextReduction:e/2,nextDelayReductionTime:(new Date).getTime()+n,timeOfTotalReset:t.timeOfTotalReset};if(t.timeOfTotalReset&&t.timeOfTotalReset<(new Date).getTime()||e<2e3)return this.logger.debug("decreaseBackoff() called, but timeOfTotalReset has elasped or next delay is below 2s. Resetting backoff"),this.setConnectionData({currentDelayMs:0});this.setConnectionData(r),clearTimeout(this.backoffReductionTimer),this.logger.debug("Setting timer for next backoff reduction since we haven't reached total reset",{msUntilReduction:n,delayMsAfterNextReduction:r.delayMsAfterNextReduction}),this.backoffReductionTimer=setTimeout(()=>this.decreaseBackoff(r.delayMsAfterNextReduction),n)}getStartingDelay(e,t){const n=Math.max(e.currentDelayMs,2e3);return e.timeOfTotalReset&&e.timeOfTotalReset<(new Date).getTime()?2e3:Math.min(n,t)}async connect(e){var t;if(this.connecting){const e=new Error("Already trying to connect streaming client");return this.logger.warn(e)}this.connecting=!0;const n=(null==e?void 0:e.maxDelayBetweenConnectionAttempts)||9e4;let r=(null==e?void 0:e.maxConnectionAttempts)||1;(null==e?void 0:e.keepTryingOnFailure)&&(r=1/0),clearTimeout(this.backoffReductionTimer);const i=this.getConnectionData(),s=this.getStartingDelay(i,n),o=this.hasMadeInitialAttempt;this.hasMadeInitialAttempt=!0;try{await f.backOff(async()=>{const e=this.getConnectionData();if(await this.makeConnectionAttempt(),e.nextDelayReductionTime){const t=e.nextDelayReductionTime-(new Date).getTime();this.logger.debug("Setting timer for next backoff reduction",{msUntilReduction:t,delayMsAfterNextReduction:e.delayMsAfterNextReduction}),this.backoffReductionTimer=setTimeout(()=>this.decreaseBackoff(e.delayMsAfterNextReduction||0),t)}},{jitter:"none",maxDelay:n,numOfAttempts:r,startingDelay:s,delayFirstAttempt:o,retry:this.backoffConnectRetryHandler.bind(this,{maxConnectionAttempts:r})})}catch(e){let n=e;if(e){if("AxiosError"===e.name){const r=e,i=r.config||{url:void 0,method:void 0};n={config:{url:i.url,method:i.method},status:null===(t=r.response)||void 0===t?void 0:t.status,code:r.code,name:r.name,message:r.message}}}else n=new Error("Streaming client connection attempted received and undefined error");if(this.logger.error("Failed to connect streaming client",{error:n}),!e)throw n;throw e}}async backoffConnectRetryHandler(e,t,n){var r,i,s,o,a;if(n>=e.maxConnectionAttempts)return!1;const c={connectionAttempt:n,error:t};if(t){if("AxiosError"===t.name){const e=t,n=e.config||{url:void 0,method:void 0};let s={config:{url:n.url,method:n.method},status:null===(r=e.response)||void 0===r?void 0:r.status,code:e.code,name:e.name,message:e.message};if(c.error=s,[401,403].includes((null===(i=t.response)||void 0===i?void 0:i.status)||0))return this.logger.error("Streaming client received an error that it can't recover from and will not attempt to reconnect",c),!1}}else c.error=new Error("streaming client backoff handler received undefined error");if(t instanceof g.default&&(this.logger.info("hardReconnectRequired set to true due to sasl error"),this.hardReconnectRequired=!0,Object.assign(c,{channelId:t.channelId,stanzaInstanceId:t.stanzaInstanceId})),t instanceof y.TimeoutError){c.error=t.message;const e=t.details;e&&(c.details=e)}if(null==t?void 0:t.response){const e=(null===(s=t.response.headers)||void 0===s?void 0:s["retry-after"])||(null===(a=(o=t.response).getResponseHeader)||void 0===a?void 0:a.call(o,"retry-after"));if(e){let n=1e3*parseInt(e,10);return c.retryDelay=n,this.logger.error("Failed streaming client connection attempt, respecting retry-after header and will retry afterwards.",c,{skipServer:t instanceof m.default}),await l.delay(n),this.logger.debug("finished waiting for retry-after"),!0}}return this.logger.error("Failed streaming client connection attempt, retrying",c,{skipServer:t instanceof m.default}),this.increaseBackoff(),!0}async makeConnectionAttempt(){var e,t;if(!navigator.onLine)throw new m.default("Browser is offline, skipping connection attempt");let n,r=this.connecting;try{await this.prepareForConnect(),n=await this.connectionManager.getNewStanzaConnection(),this.connected=!0,this.connecting=!1,this.addInateEventHandlers(n),this.proxyStanzaEvents(n);for(const e of this.extensions)e.configureNewStanzaInstance&&await e.configureNewStanzaInstance(n);for(const e of this.extensions)e.handleStanzaInstanceChange(n);this.activeStanzaInstance=n,await this.setupConnectionMonitoring(n),this.emit("connected")}catch(i){throw n&&(this.logger.error("Error occurred in connection attempt, but after websocket connected. Cleaning up connection so backoff is respected",{stanzaInstanceId:n.id,channelId:n.channelId}),this.removeStanzaBoundEventHandlers(),null===(e=n.pinger)||void 0===e||e.stop(),null===(t=n.serverMonitor)||void 0===t||t.stop(),await n.disconnect(),this.connected=!1,this.connecting=r),i}}async setupConnectionMonitoring(e){const t=t=>{const n=t+", falling back to client-side pinging";this.logger.warn(n,{stanzaInstanceId:e.id,channelId:e.channelId}),e.pinger=new c.Ping(this,e)};if(this.useServerSidePings)try{await e.subscribeToNode(this._notifications.pubsubHost,"enable.server.side.pings"),e.serverMonitor=new u.ServerMonitor(this,e)}catch(e){t("failed to establish server-side pinging")}else t("client configured to not use server-side pinging")}async prepareForConnect(){if(this.config.jwt)return this.hardReconnectRequired=!1,this.connectionManager.setConfig(this.config);if(this.hardReconnectRequired||(this.channelReuses++,this.channelReuses>=10&&(this.logger.warn("Forcing a hard reconnect due to max channel reuses",{channelId:this.config.channelId,channelReuses:this.channelReuses}),this.channelReuses=0,this.hardReconnectRequired=!0)),this.hardReconnectRequired){let e;if(this.config.jid)e=Promise.resolve(this.config.jid);else{const t={method:"get",host:this.config.apiHost,authToken:this.config.authToken,logger:this.logger,customHeaders:this.config.customHeaders};e=this.http.requestApi("users/me",t).then(e=>e.data.chat.jabberId)}const t={method:"post",host:this.config.apiHost,authToken:this.config.authToken,logger:this.logger,customHeaders:this.config.customHeaders},n=this.http.requestApi("notifications/channels?connectionType=streaming",t).then(e=>e.data.id),[r,i]=await Promise.all([e,n]);this.config.jid=r,this.config.channelId=i,this.autoReconnect=!0,this.logger.info("attempting to connect streaming client on channel",{channelId:i}),this.connectionManager.setConfig(this.config),this.hardReconnectRequired=!1}}stopServerLogging(){this.logger.sendAllLogsInstantly(),this._webrtcSessions.flushStats(),this.logger.stopServerLogging()}startServerLogging(){this.logger.startServerLogging()}setAccessToken(e){this.config.authToken=e,this.logger.setAccessToken(e)}static extend(e,t){if(v[e])throw new Error("Cannot register already existing namespace "+e);v[e]=t}get version(){return _.version}static get version(){return"17.2.3"}}t.Client=_},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(224),o=n(225);t.backOff=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return n=s.getSanitizedOptions(t),[4,new a(e,n).execute()];case 1:return[2,r.sent()]}}))}))};var a=function(){function e(e,t){this.request=e,this.options=t,this.attemptNumber=0}return e.prototype.execute=function(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:if(this.attemptLimitReached)return[3,7];t.label=1;case 1:return t.trys.push([1,4,,6]),[4,this.applyDelay()];case 2:return t.sent(),[4,this.request()];case 3:return[2,t.sent()];case 4:return e=t.sent(),this.attemptNumber++,[4,this.options.retry(e,this.attemptNumber)];case 5:if(!t.sent()||this.attemptLimitReached)throw e;return[3,6];case 6:return[3,0];case 7:throw new Error("Something went wrong.")}}))}))},Object.defineProperty(e.prototype,"attemptLimitReached",{get:function(){return this.attemptNumber>=this.options.numOfAttempts},enumerable:!0,configurable:!0}),e.prototype.applyDelay=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,o.DelayFactory(this.options,this.attemptNumber).apply()];case 1:return e.sent(),[2]}}))}))},e}()},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"hasBrowserEnv",(function(){return y})),n.d(r,"hasStandardBrowserWebWorkerEnv",(function(){return _})),n.d(r,"hasStandardBrowserEnv",(function(){return b}));var i=n(0),s=n(37),o=n(19);function a(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function c(e,t){this._pairs=[],e&&Object(o.a)(e,this,t)}const u=c.prototype;u.append=function(e,t){this._pairs.push([e,t])},u.toString=function(e){const t=e?function(t){return e.call(this,t,a)}:a;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var l=c;function d(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function p(e,t,n){if(!t)return e;const r=n&&n.encode||d,s=n&&n.serialize;let o;if(o=s?s(t,n):i.a.isURLSearchParams(t)?t.toString():new l(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var h=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){i.a.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},f=n(4),m={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},g={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:l,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const y="undefined"!=typeof window&&"undefined"!=typeof document,b=(v="undefined"!=typeof navigator&&navigator.product,y&&["ReactNative","NativeScript","NS"].indexOf(v)<0);var v;const _="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var S={...r,...g};var w=function(e){function t(e,n,r,s){let o=e[s++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),c=s>=e.length;if(o=!o&&i.a.isArray(r)?r.length:o,c)return i.a.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&i.a.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],s)&&i.a.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}(r[o])),!a}if(i.a.isFormData(e)&&i.a.isFunction(e.entries)){const n={};return i.a.forEachEntry(e,(e,r)=>{t(function(e){return i.a.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null};const T={transitional:m,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,s=i.a.isObject(e);s&&i.a.isHTMLForm(e)&&(e=new FormData(e));if(i.a.isFormData(e))return r&&r?JSON.stringify(w(e)):e;if(i.a.isArrayBuffer(e)||i.a.isBuffer(e)||i.a.isStream(e)||i.a.isFile(e)||i.a.isBlob(e))return e;if(i.a.isArrayBufferView(e))return e.buffer;if(i.a.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Object(o.a)(e,new S.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return S.isNode&&i.a.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=i.a.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Object(o.a)(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||r?(t.setContentType("application/json",!1),function(e,t,n){if(i.a.isString(e))try{return(t||JSON.parse)(e),i.a.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||T.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&i.a.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw f.a.from(e,f.a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:S.classes.FormData,Blob:S.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};i.a.forEach(["delete","get","head","post","put","patch"],e=>{T.headers[e]={}});var I=T;const A=i.a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const N=Symbol("internals");function E(e){return e&&String(e).trim().toLowerCase()}function x(e){return!1===e||null==e?e:i.a.isArray(e)?e.map(x):String(e)}function C(e,t,n,r,s){return i.a.isFunction(r)?r.call(this,t,n):(s&&(t=n),i.a.isString(t)?i.a.isString(r)?-1!==t.indexOf(r):i.a.isRegExp(r)?r.test(t):void 0:void 0)}class R{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function s(e,t,n){const s=E(t);if(!s)throw new Error("header name must be a non-empty string");const o=i.a.findKey(r,s);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=x(e))}const o=(e,t)=>i.a.forEach(e,(e,n)=>s(e,n,t));return i.a.isPlainObject(e)||e instanceof this.constructor?o(e,t):i.a.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&A[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&s(t,e,n),this}get(e,t){if(e=E(e)){const n=i.a.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(i.a.isFunction(t))return t.call(this,e,n);if(i.a.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=E(e)){const n=i.a.findKey(this,e);return!(!n||void 0===this[n]||t&&!C(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function s(e){if(e=E(e)){const s=i.a.findKey(n,e);!s||t&&!C(0,n[s],s,t)||(delete n[s],r=!0)}}return i.a.isArray(e)?e.forEach(s):s(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!C(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return i.a.forEach(this,(r,s)=>{const o=i.a.findKey(n,s);if(o)return t[o]=x(r),void delete t[s];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(s):String(s).trim();a!==s&&delete t[s],t[a]=x(r),n[a]=!0}),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return i.a.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&i.a.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(e=>{let[t,n]=e;return t+": "+n}).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.forEach(e=>t.set(e)),t}static accessor(e){const t=(this[N]=this[N]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=E(e);t[r]||(!function(e,t){const n=i.a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return i.a.isArray(e)?e.forEach(r):r(e),this}}R.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),i.a.reduceDescriptors(R.prototype,(e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}}),i.a.freezeMethods(R);var O=R;function P(e,t){const n=this||I,r=t||n,s=O.from(r.headers);let o=r.data;return i.a.forEach(e,(function(e){o=e.call(n,o,s.normalize(),t?t.status:void 0)})),s.normalize(),o}function k(e){return!(!e||!e.__CANCEL__)}function j(e,t,n){f.a.call(this,null==e?"canceled":e,f.a.ERR_CANCELED,t,n),this.name="CanceledError"}i.a.inherits(j,f.a,{__CANCEL__:!0});var L=j,M=n(38);var D=S.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const a=[e+"="+encodeURIComponent(t)];i.a.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.a.isString(r)&&a.push("path="+r),i.a.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function B(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var F=S.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=i.a.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};var q=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,s=0,o=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=r[o];i||(i=c),n[s]=a,r[s]=c;let l=o,d=0;for(;l!==s;)d+=n[l++],l%=e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const p=u&&c-u;return p?Math.round(1e3*d/p):void 0}};function U(e,t){let n=0;const r=q(50,250);return i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-n,c=r(a);n=s;const u={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:c||void 0,estimated:c&&o&&s<=o?(o-s)/c:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}var J="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const s=O.from(e.headers).normalize();let o,a,{responseType:c,withXSRFToken:u}=e;function l(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}if(i.a.isFormData(r))if(S.hasStandardBrowserEnv||S.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if(!1!==(a=s.getContentType())){const[e,...t]=a?a.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}let d=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(t+":"+n))}const h=B(e.baseURL,e.url);function g(){if(!d)return;const r=O.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new f.a("Request failed with status code "+n.status,[f.a.ERR_BAD_REQUEST,f.a.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:c&&"text"!==c&&"json"!==c?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d}),d=null}if(d.open(e.method.toUpperCase(),p(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,"onloadend"in d?d.onloadend=g:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(g)},d.onabort=function(){d&&(n(new f.a("Request aborted",f.a.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new f.a("Network Error",f.a.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||m;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new f.a(t,r.clarifyTimeoutError?f.a.ETIMEDOUT:f.a.ECONNABORTED,e,d)),d=null},S.hasStandardBrowserEnv&&(u&&i.a.isFunction(u)&&(u=u(e)),u||!1!==u&&F(h))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&D.read(e.xsrfCookieName);t&&s.set(e.xsrfHeaderName,t)}void 0===r&&s.setContentType(null),"setRequestHeader"in d&&i.a.forEach(s.toJSON(),(function(e,t){d.setRequestHeader(t,e)})),i.a.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),c&&"json"!==c&&(d.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",U(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",U(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=t=>{d&&(n(!t||t.type?new L(null,e,d):t),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(h);y&&-1===S.protocols.indexOf(y)?n(new f.a("Unsupported protocol "+y+":",f.a.ERR_BAD_REQUEST,e)):d.send(r||null)}))};const z={http:M.a,xhr:J};i.a.forEach(z,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const G=e=>"- "+e,H=e=>i.a.isFunction(e)||null===e||!1===e;var V=e=>{e=i.a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!H(n)&&(r=z[(t=String(n)).toLowerCase()],void 0===r))throw new f.a(`Unknown adapter '${t}'`);if(r)break;s[t||"#"+i]=r}if(!r){const e=Object.entries(s).map(e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")});let n=t?e.length>1?"since :\n"+e.map(G).join("\n"):" "+G(e[0]):"as no adapter specified";throw new f.a("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function W(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new L(null,e)}function $(e){W(e),e.headers=O.from(e.headers),e.data=P.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return V(e.adapter||I.adapter)(e).then((function(t){return W(e),t.data=P.call(e,e.transformResponse,t),t.headers=O.from(t.headers),t}),(function(t){return k(t)||(W(e),t&&t.response&&(t.response.data=P.call(e,e.transformResponse,t.response),t.response.headers=O.from(t.response.headers))),Promise.reject(t)}))}const Q=e=>e instanceof O?e.toJSON():e;function K(e,t){t=t||{};const n={};function r(e,t,n){return i.a.isPlainObject(e)&&i.a.isPlainObject(t)?i.a.merge.call({caseless:n},e,t):i.a.isPlainObject(t)?i.a.merge({},t):i.a.isArray(t)?t.slice():t}function s(e,t,n){return i.a.isUndefined(t)?i.a.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!i.a.isUndefined(t))return r(void 0,t)}function a(e,t){return i.a.isUndefined(t)?i.a.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function c(n,i,s){return s in t?r(n,i):s in e?r(void 0,n):void 0}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c,headers:(e,t)=>s(Q(e),Q(t),!0)};return i.a.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=u[r]||s,a=o(e[r],t[r],r);i.a.isUndefined(a)&&o!==c||(n[r]=a)})),n}const Y={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Y[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const X={};Y.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.5] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,s)=>{if(!1===e)throw new f.a(r(i," has been removed"+(t?" in "+t:"")),f.a.ERR_DEPRECATED);return t&&!X[i]&&(X[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,s)}};var Z={assertOptions:function(e,t,n){if("object"!=typeof e)throw new f.a("options must be an object",f.a.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const t=e[s],n=void 0===t||o(t,s,e);if(!0!==n)throw new f.a("option "+s+" must be "+n,f.a.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new f.a("Unknown option "+s,f.a.ERR_BAD_OPTION)}},validators:Y};const ee=Z.validators;class te{constructor(e){this.defaults=e,this.interceptors={request:new h,response:new h}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=K(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:s}=t;void 0!==n&&Z.assertOptions(n,{silentJSONParsing:ee.transitional(ee.boolean),forcedJSONParsing:ee.transitional(ee.boolean),clarifyTimeoutError:ee.transitional(ee.boolean)},!1),null!=r&&(i.a.isFunction(r)?t.paramsSerializer={serialize:r}:Z.assertOptions(r,{encode:ee.function,serialize:ee.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&i.a.merge(s.common,s[t.method]);s&&i.a.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=O.concat(o,s);const a=[];let c=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(c=c&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let l;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let d,p=0;if(!c){const e=[$.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),d=e.length,l=Promise.resolve(t);p<d;)l=l.then(e[p++],e[p++]);return l}d=a.length;let h=t;for(p=0;p<d;){const e=a[p++],t=a[p++];try{h=e(h)}catch(e){t.call(this,e);break}}try{l=$.call(this,h)}catch(e){return Promise.reject(e)}for(p=0,d=u.length;p<d;)l=l.then(u[p++],u[p++]);return l}getUri(e){return p(B((e=K(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}i.a.forEach(["delete","get","head","options"],(function(e){te.prototype[e]=function(t,n){return this.request(K(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.a.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(K(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}te.prototype[e]=t(),te.prototype[e+"Form"]=t(!0)}));var ne=te;class re{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new L(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new re((function(t){e=t})),cancel:e}}}var ie=re;const se={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(se).forEach(e=>{let[t,n]=e;se[n]=t});var oe=se;const ae=function e(t){const n=new ne(t),r=Object(s.a)(ne.prototype.request,n);return i.a.extend(r,ne.prototype,n,{allOwnKeys:!0}),i.a.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(K(t,n))},r}(I);ae.Axios=ne,ae.CanceledError=L,ae.CancelToken=ie,ae.isCancel=k,ae.VERSION="1.6.5",ae.toFormData=o.a,ae.AxiosError=f.a,ae.Cancel=ae.CanceledError,ae.all=function(e){return Promise.all(e)},ae.spread=function(e){return function(t){return e.apply(null,t)}},ae.isAxiosError=function(e){return i.a.isObject(e)&&!0===e.isAxiosError},ae.mergeConfig=K,ae.AxiosHeaders=O,ae.formToJSON=e=>w(i.a.isHTMLForm(e)?new FormData(e):e),ae.getAdapter=V,ae.HttpStatusCode=oe,ae.default=ae;t.a=ae},function(e,t,n){var r=n(210),i=n(68);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(8),i=n(41),s=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=s},function(e,t,n){var r=n(24),i=n(13),s=n(70);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(8),i=n(20),s=r.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(13);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(8),i=n(25),s=n(15),o=n(41),a=n(75),c=n(212),u=c.get,l=c.enforce,d=String(String).split("String");(e.exports=function(e,t,n,a){var c=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||s(n,"name")||i(n,"name",t),l(n).source=d.join("string"==typeof t?t:"")),e!==r?(c?!p&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},function(e,t,n){var r=n(68),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(67),i=n(44),s=r("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(79);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(46),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){(function(t){var n=function(e,t,n,r){if(this.bucketSize=e,this.tokensPerInterval=t,"string"==typeof n)switch(n){case"sec":case"second":this.interval=1e3;break;case"min":case"minute":this.interval=6e4;break;case"hr":case"hour":this.interval=36e5;break;case"day":this.interval=864e5;break;default:throw new Error("Invaid interval "+n)}else this.interval=n;this.parentBucket=r,this.content=0,this.lastDrip=+new Date};n.prototype={bucketSize:1,tokensPerInterval:1,interval:1e3,parentBucket:null,content:0,lastDrip:0,removeTokens:function(e,n){var r=this;return this.bucketSize?e>this.bucketSize?(t.nextTick(n.bind(null,"Requested tokens "+e+" exceeds bucket size "+this.bucketSize,null)),!1):(this.drip(),e>this.content?i():this.parentBucket?this.parentBucket.removeTokens(e,(function(t,s){return t?n(t,null):e>r.content?i():(r.content-=e,void n(null,Math.min(s,r.content)))})):(this.content-=e,t.nextTick(n.bind(null,null,this.content)),!0)):(t.nextTick(n.bind(null,null,e,Number.POSITIVE_INFINITY)),!0);function i(){var t=Math.ceil((e-r.content)*(r.interval/r.tokensPerInterval));return setTimeout((function(){r.removeTokens(e,n)}),t),!1}},tryRemoveTokens:function(e){return!this.bucketSize||!(e>this.bucketSize)&&(this.drip(),!(e>this.content)&&(!(this.parentBucket&&!this.parentBucket.tryRemoveTokens(e))&&(this.content-=e,!0)))},drip:function(){if(this.tokensPerInterval){var e=+new Date,t=Math.max(e-this.lastDrip,0);this.lastDrip=e;var n=t*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+n,this.bucketSize)}else this.content=this.bucketSize}},e.exports=n}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(227),i=function(){function e(e){this.options=e,this.attempt=0}return e.prototype.apply=function(){var e=this;return new Promise((function(t){return setTimeout(t,e.jitteredDelay)}))},e.prototype.setAttemptNumber=function(e){this.attempt=e},Object.defineProperty(e.prototype,"jitteredDelay",{get:function(){return r.JitterFactory(this.options)(this.delay)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delay",{get:function(){var e=this.options.startingDelay,t=this.options.timeMultiple,n=this.numOfDelayedAttempts,r=e*Math.pow(t,n);return Math.min(r,this.options.maxDelay)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numOfDelayedAttempts",{get:function(){return this.attempt},enumerable:!0,configurable:!0}),e}();t.Delay=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeoutError=void 0;class r extends Error{constructor(e){super(e)}}t.TimeoutError=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saslprep=t.resourceprep=t.nodeprep=t.NodePrepProhibited=t.nameprep=t.prepare=t.D2=t.D1=t.C9=t.C8=t.C7=t.C6=t.C5=t.C4=t.C3=t.C22=t.C21=t.C12=t.C11=t.B3=t.B2=t.B1=t.A1=t.Table=void 0;const r=(0,n(3).__importDefault)(n(47)),i=n(240);class s{constructor(e,t){this.singles=new Set,this.ranges=[],this.mappings=new Map;const n=i.TABLE_DATA[e];this.name=e,n?(n.s&&(this.singles=new Set(n.s.split("|").map(e=>parseInt(e,32)))),n.r&&(this.ranges=n.r.split("|").map(e=>{const[t,n]=e.split(":");return[parseInt(t,32),parseInt(n,32)]})),n.m&&(this.mappings=new Map(n.m.split("|").map(e=>{const[t,n]=e.split(":"),r=n.split(";").map(e=>parseInt(e,32));return[parseInt(t,32),r]})))):t&&(this.singles=new Set(t))}contains(e){if(this.singles.has(e))return!0;let t=0,n=this.ranges.length-1;for(;t<=n;){const r=Math.floor((t+n)/2),i=this.ranges[r];if(e<i[0])n=r-1;else{if(!(e>i[1]))return!0;t=r+1}}return!1}hasMapping(e){return this.mappings.has(e)||this.contains(e)}map(e){return this.contains(e)&&!this.mappings.has(e)?String.fromCodePoint(e).toLowerCase().codePointAt(0):this.mappings.get(e)||null}}function o(e,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const s=r.default.ucs2.decode(i);let o=[];for(const t of s){if(!n&&e.unassigned.contains(t))throw new Error("Unassigned code point: x"+t.toString(16));let r=!1;for(const n of e.mappings){if(!n.hasMapping(t))continue;r=!0;const e=n.map(t);e&&(Array.isArray(e)?o=o.concat(e):o.push(e))}r||o.push(t)}let a=o;if(e.normalize){const e=r.default.ucs2.encode(o).normalize("NFKC");a=r.default.ucs2.decode(e)}let c=!1,u=!1;for(const r of a){for(const t of e.prohibited)if(t.contains(r))throw new Error("Prohibited code point: x"+r.toString(16));if(!n&&e.unassigned.contains(r))throw new Error("Prohibited code point: x"+r.toString(16));e.bidirectional&&(c=c||t.D1.contains(r),u=u||t.D2.contains(r))}if(e.bidirectional){if(c&&u)throw new Error("String contained both LCat and RandALCat code points");if(c&&(!t.D1.contains(a[0])||!t.D1.contains(a[a.length-1])))throw new Error("String containing RandALCat code points must start and end with RandALCat code points")}return r.default.ucs2.encode(a)}t.Table=s,t.A1=new s("A.1"),t.B1=new s("B.1"),t.B2=new s("B.2"),t.B3=new s("B.3"),t.C11=new s("C.1.1"),t.C12=new s("C.1.2"),t.C21=new s("C.2.1"),t.C22=new s("C.2.2"),t.C3=new s("C.3"),t.C4=new s("C.4"),t.C5=new s("C.5"),t.C6=new s("C.6"),t.C7=new s("C.7"),t.C8=new s("C.8"),t.C9=new s("C.9"),t.D1=new s("D.1"),t.D2=new s("D.2"),t.B1.map=()=>null,t.C11.contains=e=>32===e,t.C12.map=e=>t.C12.contains(e)?32:null,t.prepare=o;const a={bidirectional:!0,mappings:[t.B1,t.B2],normalize:!0,prohibited:[t.C12,t.C22,t.C3,t.C4,t.C5,t.C6,t.C7,t.C8,t.C9],unassigned:t.A1};t.nameprep=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o(a,t,e)},t.NodePrepProhibited=new s("NodePrepProhibited",[34,38,39,47,58,60,62,64]);const c={bidirectional:!0,mappings:[t.B1,t.B2],normalize:!0,prohibited:[t.C11,t.C12,t.C21,t.C22,t.C3,t.C4,t.C5,t.C6,t.C7,t.C8,t.C9,t.NodePrepProhibited],unassigned:t.A1};t.nodeprep=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o(c,t,e)};const u={bidirectional:!0,mappings:[t.B1],normalize:!0,prohibited:[t.C12,t.C21,t.C22,t.C3,t.C4,t.C5,t.C6,t.C7,t.C8,t.C9],unassigned:t.A1};t.resourceprep=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o(u,t,e)};const l={bidirectional:!0,mappings:[t.C12,t.B1],normalize:!0,prohibited:[t.C12,t.C21,t.C22,t.C3,t.C4,t.C5,t.C6,t.C7,t.C8,t.C9],unassigned:t.A1};t.saslprep=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return o(l,t,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(49);t.default=class{constructor(){this.parents=new Set,this.placeholder=!1,this.typeField="",this.versionField="",this.defaultType="",this.defaultVersion="",this.languageField="lang",this.typeValues=new Map,this.typeOrders=new Map,this.importers=new Map,this.exporters=new Map,this.children=new Map,this.childrenIndex=new Map,this.implicitChildren=new Set,this.contexts=new Map}addChild(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;const s={multiple:n||!1,name:e,selector:r,translator:t},o=this.children.get(e);if(!o){s.translator.parents.add(this),this.children.set(e,s);for(const[n]of t.importers)this.implicitChildren.has(n)||this.childrenIndex.set(n,e);return void(i&&this.implicitChildren.add(i))}const a=o.translator;o.multiple=n,r&&o.selector&&r!==o.selector&&(o.selector=void 0);for(const[n,r]of t.importers){const[i,s]=(a.typeValues.get(n)||"").split("__v__");a.updateDefinition({contexts:t.contexts,element:r.element,exporterOrdering:new Map,exporters:new Map,importerOrdering:r.fieldOrders,importers:r.fields,namespace:r.namespace,optionalNamespaces:new Map,type:i,version:s}),this.implicitChildren.has(n)||this.childrenIndex.set(n,e)}for(const[e,n]of t.exporters){const[r,i]=e.split("__v__");a.updateDefinition({contexts:t.contexts,element:n.element,exporterOrdering:n.fieldOrders,exporters:n.fields,importerOrdering:new Map,importers:new Map,namespace:n.namespace,optionalNamespaces:n.optionalNamespaces,type:r,version:i})}}addContext(e,t,n,r,i,s){t&&(e=`${e}[${t}]`);let o=this.contexts.get(e);o||(o={typeField:"",versionField:"",typeValues:new Map}),s&&(o.impliedType=i),o.typeField=n||"",o.typeValues.set(r,i),this.contexts.set(e,o)}getChild(e){const t=this.children.get(e);if(t)return t.translator}getImportKey(e){return this.childrenIndex.get(`{${e.getNamespace()}}${e.getName()}`)}updateDefinition(e){const t=`{${e.namespace}}${e.element}`,n=e.type||this.defaultType,r=e.version||this.defaultVersion,i=r?`${n}__v__${r}`:n,s=this.importers.get(t)||{element:e.element,fieldOrders:new Map,fields:new Map,namespace:e.namespace};for(const[t,n]of e.importers)s.fields.set(t,n);for(const[t,n]of e.importerOrdering)s.fieldOrders.set(t,n);this.importers.set(t,s);const o=this.exporters.get(i)||{element:e.element,fieldOrders:new Map,fields:new Map,namespace:e.namespace,optionalNamespaces:e.optionalNamespaces};for(const[t,n]of e.exporters)o.fields.set(t,n);for(const[t,n]of e.exporterOrdering)o.fieldOrders.set(t,n);for(const[t,n]of e.optionalNamespaces)o.optionalNamespaces.set(t,n);this.exporters.set(i,o);for(const[t,n]of e.contexts){const e=this.contexts.get(t)||{impliedType:void 0,typeField:n.typeField,versionField:n.versionField,typeValues:new Map};e.typeField||(e.typeField=n.typeField),e.versionField||(e.versionField=n.versionField),e.impliedType||(e.impliedType=n.impliedType);for(const[t,r]of n.typeValues)e.typeValues.set(t,r);this.contexts.set(t,e)}if(e.type)this.typeValues.set(t,i),e.typeOrder&&e.type&&this.typeOrders.set(e.type,e.typeOrder);else if(this.typeField&&!e.type){for(const[,t]of this.importers){for(const[n,r]of e.importers)t.fields.set(n,r);for(const[n,r]of e.importerOrdering)t.fieldOrders.set(n,r)}for(const[,t]of this.exporters){for(const[n,r]of e.exporters)t.fields.set(n,r);for(const[n,r]of e.exporterOrdering)t.fieldOrders.set(n,r)}}}replaceWith(e){for(const[t,n]of this.children)e.children.set(t,n);for(const[t,n]of this.childrenIndex)e.childrenIndex.set(t,n);for(const[t,n]of this.contexts)e.contexts.set(t,n);for(const t of this.implicitChildren)e.implicitChildren.add(t);for(const t of this.parents)for(const n of t.children.values())n.translator===this&&(n.translator=e);this.parents=new Set}import(e,t){const n=`{${e.getNamespace()}}${e.getName()}`,r={},i=this.importers.get(n);if(!i)return;const s=this.typeValues.get(n)||"",[o,a]=s.split("__v__"),c=t.path||"";let u;if(t.pathSelector&&(u=this.contexts.get(`${c}[${t.pathSelector}]`)),u||(u=this.contexts.get(c)),u){if(!u.impliedType){const e=u.typeValues.get(n)||"";e&&(r[u.typeField]=e)}}else this.typeField&&o&&o!==this.defaultType&&(r[this.typeField]=o);this.versionField&&a&&a!==this.defaultVersion&&(r[this.versionField]=a);const l={...t,data:r,importer:i,lang:(e.getAttribute("xml:lang")||t.lang||"").toLowerCase(),pathSelector:o,translator:this},d=[...i.fieldOrders.entries()].sort((e,t)=>e[1]>t[1]?-1:e[1]<t[1]?1:0),p=d.filter(e=>e[1]>=0),h=d.filter(e=>e[1]<0);for(const[n]of p){const s=i.fields.get(n);l.path=`${t.path}.${n}`;const o=s(e,l);null!=o&&(r[n]=o)}for(const n of e.children){if("string"==typeof n)continue;const e=`{${n.getNamespace()}}${n.getName()}`,i=this.childrenIndex.get(e);if(!i)continue;l.path=`${t.path}.${i}`;const{translator:s,multiple:a,selector:c}=this.children.get(i);if(!c||c===o){const e=s.import(n,l);void 0!==e&&(a?(r[i]||(r[i]=[]),r[i].push(e)):r[i]?r[i]=s.resolveCollision(r[i],e):r[i]=e)}}for(const[n]of h){const s=i.fields.get(n);l.path=`${t.path}.${n}`;const o=s(e,l);null!=o&&(r[n]=o)}return r}export(e,t){if(!e)return;let n=this.defaultType,i=this.defaultVersion;const s=t.path||"";let o;t.pathSelector&&(o=this.contexts.get(`${s}[${t.pathSelector}]`)),o||(o=this.contexts.get(s)),o?n=o.impliedType||e[o.typeField]||this.defaultType:this.typeField&&(n=e[this.typeField]||this.defaultType),this.versionField&&(i=e[this.versionField]||this.defaultVersion);const a=i?`${n}__v__${i}`:n,c=this.exporters.get(a);if(!c)return;const u=(0,r.createElement)(c.namespace,c.element,t.namespace,t.element);t.element&&(u.parent=t.element);for(const[e,t]of c.optionalNamespaces)u.addOptionalNamespace(e,t);const l={...t,data:e,element:u,exporter:c,lang:(e[this.languageField]||t.lang||"").toLowerCase(),namespace:u.getDefaultNamespace(),pathSelector:n,translator:this},d=c.fields.get(this.languageField);d&&d(u,e[this.languageField],t);const p=Object.keys(e);p.sort((e,t)=>(c.fieldOrders.get(e)||1e5)-(c.fieldOrders.get(t)||1e5));for(const r of p){if(r===this.languageField)continue;const i=e[r],s=c.fields.get(r);if(s){s(u,i,l);continue}const o=this.children.get(r);if(!o)continue;l.path=`${t.path?t.path+".":""}${r}`;const{translator:a,multiple:d,selector:p}=o;if(!p||p===n){let e;e=d?null!=i?i:[]:[i];for(const t of e){const e=a.export(t,l);e&&u.appendChild(e)}}}return u}resolveCollision(e,t){return(this.typeOrders.get(e[this.typeField]||this.defaultType)||0)<=(this.typeOrders.get(t[this.typeField]||this.defaultType)||0)?e:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=void 0;const r=n(3),i=(0,r.__importDefault)(n(26));t.Hash=i.default;const s=(0,r.__importDefault)(n(253)),o=(0,r.__importDefault)(n(254)),a=(0,r.__importDefault)(n(255)),c=(0,r.__importDefault)(n(256)),u=new Map([["md5",s.default],["sha-1",o.default],["sha-256",a.default],["sha-512",c.default],["sha1",o.default],["sha256",a.default],["sha512",c.default]]);t.default=function(e){e=e.toLowerCase();const t=u.get(e);if(t)return new t;throw new Error("Unsupported hash algorithm: "+e)}},function(e,t,n){"use strict";(function(t,r){n(6);var i,s=n(32);e.exports=g,g.ReadableState=m;n(7).EventEmitter;var o=function(e,t){return e.listeners(t).length},a=n(7).EventEmitter,c=n(11).Buffer,u=t.Uint8Array||function(){};var l,d=Object.create(n(27)),p=n(251).BufferList,h=n(88);d.inherits(g,a);var f=["error","close","destroy","pause","resume"];function m(e,t){e=e||{};var r=t instanceof(i=i||n(22));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var s=e.highWaterMark,o=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:r&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=n(90).StringDecoder),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function g(e){if(i=i||n(22),!(this instanceof g))return new g(e);this._readableState=new m(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function y(e,t,n,r,i){var s,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,_(e)}(e,o)):(i||(s=function(e,t){var n;r=t,c.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(o,t)),s?e.emit("error",s):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?b(e,o,t,!1):w(e,o)):b(e,o,t,!1))):r||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function b(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&_(e)),w(e,t)}Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),g.prototype.destroy=h.destroy,g.prototype._undestroy=h.undestroy,g.prototype._destroy=function(e,t){this.push(null),t(e)},g.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=c.from(e,t),t=""),n=!0),y(this,e,t,!1,n)},g.prototype.unshift=function(e){return y(this,e,null,!0,!1)},g.prototype.isPaused=function(){return!1===this._readableState.flowing},g.prototype.setEncoding=function(e){return l||(l=n(90).StringDecoder),this._readableState.decoder=new l(e),this._readableState.encoding=e,this};function v(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.flowing,t.emittedReadable=!0,t.sync?s.nextTick(S,e):S(e))}function S(e){e.emit("readable"),N(e)}function w(e,t){t.readingMore||(t.readingMore=!0,s.nextTick(T,e,t))}function T(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function I(e){e.read(0)}function A(e,t){t.reading||e.read(0),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(t.flowing;t.flowing&&null!==e.read(););}function E(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var s=n.data,o=e>s.length?s.length:e;if(o===s.length?i+=s:i+=s.slice(0,e),0===(e-=o)){o===s.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=s.slice(o));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(n,n.length-e,0,o),0===(e-=o)){o===s.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(o));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function x(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,s.nextTick(C,t,e))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}g.prototype.read=function(e){e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return t.length,t.ended,0===t.length&&t.ended?x(this):_(this),null;if(0===(e=v(e,t))&&t.ended)return 0===t.length&&x(this),null;var r,i=t.needReadable;return(0===t.length||t.length-e<t.highWaterMark)&&(i=!0),t.ended||t.reading?i=!1:i&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=v(n,t))),null===(r=e>0?E(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&x(this)),null!==r&&this.emit("data",r),r},g.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},g.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,i.pipesCount;var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:y;function c(t,r){t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",y),n.removeListener("data",h),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function u(){e.end()}i.endEmitted?s.nextTick(a):n.once("end",a),e.on("unpipe",c);var l=function(e){return function(){var t=e._readableState;t.awaitDrain,t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,N(e))}}(n);e.on("drain",l);var d=!1;var p=!1;function h(t){p=!1,!1!==e.write(t)||p||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==R(i.pipes,e))&&!d&&(n._readableState.awaitDrain,n._readableState.awaitDrain++,p=!0),n.pause())}function f(t){y(),e.removeListener("error",f),0===o(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",g),y()}function g(){e.removeListener("close",m),y()}function y(){n.unpipe(e)}return n.on("data",h),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",m),e.once("finish",g),e.emit("pipe",n),i.flowing||n.resume(),e},g.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)r[s].emit("unpipe",this,n);return this}var o=R(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},g.prototype.on=function(e,t){var n=a.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&_(this):s.nextTick(I,this))}return n},g.prototype.addListener=g.prototype.on,g.prototype.resume=function(){var e=this._readableState;return e.flowing||(e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,s.nextTick(A,e,t))}(this,e)),this},g.prototype.pause=function(){return this._readableState.flowing,!1!==this._readableState.flowing&&(this._readableState.flowing=!1,this.emit("pause")),this},g.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var s=0;s<f.length;s++)e.on(f[s],this.emit.bind(this,f[s]));return this._read=function(t){r&&(r=!1,e.resume())},this},Object.defineProperty(g.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),g._fromList=E}).call(this,n(14),n(29))},function(e,t,n){"use strict";var r=n(32);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,s=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return s||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){"use strict";(function(t){n(6);var r=n(32);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=m;var s,o=r.nextTick;m.WritableState=f;var a=Object.create(n(27)),c=n(7).EventEmitter,u=n(11).Buffer,l=t.Uint8Array||function(){};var d,p=n(88);function h(){}function f(e,t){s=s||n(22),e=e||{};var a=t instanceof s;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:a&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,s=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,s){--t.pendingcb,n?(r.nextTick(s,i),r.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(s(i),e._writableState.errorEmitted=!0,e.emit("error",i),S(e,t))}(e,n,i,t,s);else{var a=v(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||b(e,n),i?o(y,e,n,a,s):y(e,n,a,s)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function m(e){if(s=s||n(22),!(d.call(m,this)||this instanceof s))return new m(e);this._writableState=new f(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function g(e,t,n,r,i,s,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function y(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function b(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,s=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0,c=!0;n;)s[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;s.allBuffers=c,g(e,t,!0,t.length,s,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,l=n.encoding,d=n.callback;if(g(e,t,!1,t.objectMode?1:u.length,u,l,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function v(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=v(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,r.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}a.inherits(m,c),f.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(f.prototype,"buffer",{get:function(){return this.getBuffer()}})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||this===m&&(e&&e._writableState instanceof f)}})):d=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,n){var i,s=this._writableState,o=!1,a=!s.objectMode&&(i=e,u.isBuffer(i)||i instanceof l);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof n&&(n=h),s.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),r.nextTick(t,n)}(this,n):(a||function(e,t,n,i){var s=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),r.nextTick(i,o),s=!1),s}(this,s,e,n))&&(s.pendingcb++,o=function(e,t,n,r,i,s){if(!n){var o=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n));return t}(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:s,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,a,r,i,s);return c}(this,s,a,e,t,n)),o},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||b(this,e))},m.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=p.destroy,m.prototype._undestroy=p.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(14))},function(e,t,n){"use strict";var r=n(11).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=p,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=o(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=o(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";e.exports=s;var r=n(22);function i(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);r.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",o)}function o(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){a(e,t,n)})):a(this,null,null)}function a(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}Object.create(n(27)).inherits(s,r),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},s.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},s.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},function(e,t,n){"use strict";n(6),Object.defineProperty(t,"__esModule",{value:!0}),t.Receiver=t.Sender=void 0;const r=n(3),i=n(7),s=(0,r.__importStar)(n(9)),o=n(5),a=n(1),c=(0,r.__importDefault)(n(54)),u=n(33),l=n(55);class d extends i.EventEmitter{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.config={chunkSize:16384,hash:"sha-1",...e},this.file=void 0,this.channel=void 0,this.hash=s.createHash(this.config.hash)}send(e,t){if(this.file&&this.channel)return;this.file=e,this.channel=t,this.channel.binaryType="arraybuffer";const n=new FileReader;let r=0,i=!1;const s=()=>{if(i||r>=e.size)return;i=!0;const t=e.slice(r,r+this.config.chunkSize);n.readAsArrayBuffer(t)};t.bufferedAmountLowThreshold=8*this.config.chunkSize,t.onbufferedamountlow=()=>{s()},n.addEventListener("load",t=>{const n=t.target.result;i=!1,r+=n.byteLength,this.channel.send(n),this.hash.update(new Uint8Array(n)),this.emit("progress",r,e.size,n),r<e.size?this.channel.bufferedAmount<=this.channel.bufferedAmountLowThreshold&&s():(this.emit("progress",e.size,e.size,null),this.emit("sentFile",{algorithm:this.config.hash,name:e.name,size:e.size,value:this.hash.digest()}))}),s()}}t.Sender=d;class p extends i.EventEmitter{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.config={hash:"sha-1",...e},this.receiveBuffer=[],this.received=0,this.channel=void 0,this.hash=s.createHash(this.config.hash)}receive(e,t){this.metadata=e,this.channel=t,this.channel.binaryType="arraybuffer",this.channel.onmessage=e=>{const t=e.data.byteLength;this.received+=t,this.receiveBuffer.push(e.data),e.data&&this.hash.update(new Uint8Array(e.data)),this.emit("progress",this.received,this.metadata.size,e.data),this.received===this.metadata.size?(this.metadata.actualhash=this.hash.digest("hex"),this.emit("receivedFile",new Blob(this.receiveBuffer),this.metadata),this.receiveBuffer=[]):this.received>this.metadata.size&&(console.error("received more than expected, discarding..."),this.receiveBuffer=[])}}}t.Receiver=p;class h extends c.default{constructor(e){super(e),this.sender=void 0,this.receiver=void 0,this.file=void 0}async start(e,t){if(t=t||(()=>{}),!e||"function"==typeof e)throw new Error("File object required");this.state="pending",this.role="initiator",this.file=e,this.sender=new d,this.sender.on("progress",(e,t)=>{this._log("info","Send progress "+e+"/"+t)}),this.sender.on("sentFile",e=>{this._log("info","Sent file",e.name),this.send(o.JingleAction.SessionInfo,{info:{creator:o.JingleSessionRole.Initiator,file:{hashes:[{algorithm:e.algorithm,value:e.value}]},infoType:o.JINGLE_INFO_CHECKSUM_5,name:this.contentName}}),this.parent.emit("sentFile",this,e)}),this.channel=this.pc.createDataChannel("filetransfer",{ordered:!0}),this.channel.onopen=()=>{this.sender.send(this.file,this.channel)};try{await this.processLocal(o.JingleAction.SessionInitiate,async()=>{const t=await this.pc.createOffer({offerToReceiveAudio:!1,offerToReceiveVideo:!1}),n=(0,u.importFromSDP)(t.sdp),r=(0,l.convertIntermediateToRequest)(n,this.role,this.transportType);this.contentName=r.contents[0].name,r.sid=this.sid,r.action=o.JingleAction.SessionInitiate,r.contents[0].application={applicationType:a.NS_JINGLE_FILE_TRANSFER_5,file:{date:e.lastModified?new Date(e.lastModified):void 0,hashesUsed:[{algorithm:"sha-1"}],name:e.name,size:e.size}},this.send("session-initiate",r),await this.pc.setLocalDescription(t)}),t()}catch(e){return this._log("error","Could not create WebRTC offer",e),this.end("failed-application",!0)}}async accept(e){this._log("info","Accepted incoming session"),this.role="responder",this.state="active",e=e||(()=>{});try{await this.processLocal(o.JingleAction.SessionAccept,async()=>{const e=await this.pc.createAnswer(),t=(0,u.importFromSDP)(e.sdp),n=(0,l.convertIntermediateToRequest)(t,this.role,this.transportType);n.sid=this.sid,n.action="session-accept";for(const e of n.contents)e.creator="initiator";this.contentName=n.contents[0].name,this.send("session-accept",n),await this.pc.setLocalDescription(e),await this.processBufferedCandidates()}),e()}catch(e){this._log("error","Could not create WebRTC answer",e),this.end("failed-application")}}async onSessionInitiate(e,t){this._log("info","Initiating incoming session"),this.role="responder",this.state="pending",this.transportType=e.contents[0].transport.transportType;const n=(0,l.convertRequestToIntermediate)(e,this.peerRole),r=(0,u.exportToSDP)(n),i=e.contents[0].application,s=i.file.hashesUsed?i.file.hashesUsed:i.file.hashes||[];this.receiver=new p({hash:s[0]&&s[0].algorithm}),this.receiver.on("progress",(e,t)=>{this._log("info","Receive progress "+e+"/"+t)}),this.receiver.on("receivedFile",e=>{this.receivedFile=e,this._maybeReceivedFile()}),this.receiver.metadata=i.file,this.pc.addEventListener("datachannel",e=>{this.channel=e.channel,this.receiver.receive(this.receiver.metadata,e.channel)});try{await this.pc.setRemoteDescription({type:"offer",sdp:r}),await this.processBufferedCandidates(),t()}catch(e){this._log("error","Could not create WebRTC answer",e),t({condition:"general-error"})}}onSessionInfo(e,t){const n=e.info;n&&n.file&&n.file.hashes&&(this.receiver.metadata.hashes=n.file.hashes,this.receiver.metadata.actualhash&&this._maybeReceivedFile(),t())}_maybeReceivedFile(){if(this.receiver.metadata.hashes&&this.receiver.metadata.hashes.length){for(const e of this.receiver.metadata.hashes||[])if(e.value&&e.value.toString("hex")===this.receiver.metadata.actualhash)return this._log("info","File hash matches"),this.parent.emit("receivedFile",this,this.receivedFile,this.receiver.metadata),void this.end("success");this._log("error","File hash does not match"),this.end("media-error")}}}t.default=h},function(e,t,n){"use strict";const r={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};r.localCName=r.generateIdentifier(),r.splitLines=function(e){return e.trim().split("\n").map(e=>e.trim())},r.splitSections=function(e){return e.split("\nm=").map((e,t)=>(t>0?"m="+e:e).trim()+"\r\n")},r.getDescription=function(e){const t=r.splitSections(e);return t&&t[0]},r.getMediaSections=function(e){const t=r.splitSections(e);return t.shift(),t},r.matchPrefix=function(e,t){return r.splitLines(e).filter(e=>0===e.indexOf(t))},r.parseCandidate=function(e){let t;t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" ");const n={foundation:t[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]};for(let e=8;e<t.length;e+=2)switch(t[e]){case"raddr":n.relatedAddress=t[e+1];break;case"rport":n.relatedPort=parseInt(t[e+1],10);break;case"tcptype":n.tcpType=t[e+1];break;case"ufrag":n.ufrag=t[e+1],n.usernameFragment=t[e+1];break;default:void 0===n[t[e]]&&(n[t[e]]=t[e+1])}return n},r.writeCandidate=function(e){const t=[];t.push(e.foundation);const n=e.component;"rtp"===n?t.push(1):"rtcp"===n?t.push(2):t.push(n),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.address||e.ip),t.push(e.port);const r=e.type;return t.push("typ"),t.push(r),"host"!==r&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),(e.usernameFragment||e.ufrag)&&(t.push("ufrag"),t.push(e.usernameFragment||e.ufrag)),"candidate:"+t.join(" ")},r.parseIceOptions=function(e){return e.substring(14).split(" ")},r.parseRtpMap=function(e){let t=e.substring(9).split(" ");const n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.channels=3===t.length?parseInt(t[2],10):1,n.numChannels=n.channels,n},r.writeRtpMap=function(e){let t=e.payloadType;void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType);const n=e.channels||e.numChannels||1;return"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==n?"/"+n:"")+"\r\n"},r.parseExtmap=function(e){const t=e.substring(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},r.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+(e.attributes?" "+e.attributes:"")+"\r\n"},r.parseFmtp=function(e){const t={};let n;const r=e.substring(e.indexOf(" ")+1).split(";");for(let e=0;e<r.length;e++)n=r[e].trim().split("="),t[n[0].trim()]=n[1];return t},r.writeFmtp=function(e){let t="",n=e.payloadType;if(void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.parameters&&Object.keys(e.parameters).length){const r=[];Object.keys(e.parameters).forEach(t=>{void 0!==e.parameters[t]?r.push(t+"="+e.parameters[t]):r.push(t)}),t+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return t},r.parseRtcpFb=function(e){const t=e.substring(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},r.writeRtcpFb=function(e){let t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(e=>{t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},r.parseSsrcMedia=function(e){const t=e.indexOf(" "),n={ssrc:parseInt(e.substring(7,t),10)},r=e.indexOf(":",t);return r>-1?(n.attribute=e.substring(t+1,r),n.value=e.substring(r+1)):n.attribute=e.substring(t+1),n},r.parseSsrcGroup=function(e){const t=e.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(e=>parseInt(e,10))}},r.getMid=function(e){const t=r.matchPrefix(e,"a=mid:")[0];if(t)return t.substring(6)},r.parseFingerprint=function(e){const t=e.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},r.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:r.matchPrefix(e+t,"a=fingerprint:").map(r.parseFingerprint)}},r.writeDtlsParameters=function(e,t){let n="a=setup:"+t+"\r\n";return e.fingerprints.forEach(e=>{n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),n},r.parseCryptoLine=function(e){const t=e.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},r.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?r.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},r.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;const t=e.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},r.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},r.getCryptoParameters=function(e,t){return r.matchPrefix(e+t,"a=crypto:").map(r.parseCryptoLine)},r.getIceParameters=function(e,t){const n=r.matchPrefix(e+t,"a=ice-ufrag:")[0],i=r.matchPrefix(e+t,"a=ice-pwd:")[0];return n&&i?{usernameFragment:n.substring(12),password:i.substring(10)}:null},r.writeIceParameters=function(e){let t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},r.parseRtpParameters=function(e){const t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=r.splitLines(e)[0].split(" ");t.profile=n[2];for(let i=3;i<n.length;i++){const s=n[i],o=r.matchPrefix(e,"a=rtpmap:"+s+" ")[0];if(o){const n=r.parseRtpMap(o),i=r.matchPrefix(e,"a=fmtp:"+s+" ");switch(n.parameters=i.length?r.parseFmtp(i[0]):{},n.rtcpFeedback=r.matchPrefix(e,"a=rtcp-fb:"+s+" ").map(r.parseRtcpFb),t.codecs.push(n),n.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(n.name.toUpperCase())}}}r.matchPrefix(e,"a=extmap:").forEach(e=>{t.headerExtensions.push(r.parseExtmap(e))});const i=r.matchPrefix(e,"a=rtcp-fb:* ").map(r.parseRtcpFb);return t.codecs.forEach(e=>{i.forEach(t=>{e.rtcpFeedback.find(e=>e.type===t.type&&e.parameter===t.parameter)||e.rtcpFeedback.push(t)})}),t},r.writeRtpDescription=function(e,t){let n="";n+="m="+e+" ",n+=t.codecs.length>0?"9":"0",n+=" "+(t.profile||"UDP/TLS/RTP/SAVPF")+" ",n+=t.codecs.map(e=>void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach(e=>{n+=r.writeRtpMap(e),n+=r.writeFmtp(e),n+=r.writeRtcpFb(e)});let i=0;return t.codecs.forEach(e=>{e.maxptime>i&&(i=e.maxptime)}),i>0&&(n+="a=maxptime:"+i+"\r\n"),t.headerExtensions&&t.headerExtensions.forEach(e=>{n+=r.writeExtmap(e)}),n},r.parseRtpEncodingParameters=function(e){const t=[],n=r.parseRtpParameters(e),i=-1!==n.fecMechanisms.indexOf("RED"),s=-1!==n.fecMechanisms.indexOf("ULPFEC"),o=r.matchPrefix(e,"a=ssrc:").map(e=>r.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute),a=o.length>0&&o[0].ssrc;let c;const u=r.matchPrefix(e,"a=ssrc-group:FID").map(e=>e.substring(17).split(" ").map(e=>parseInt(e,10)));u.length>0&&u[0].length>1&&u[0][0]===a&&(c=u[0][1]),n.codecs.forEach(e=>{if("RTX"===e.name.toUpperCase()&&e.parameters.apt){let n={ssrc:a,codecPayloadType:parseInt(e.parameters.apt,10)};a&&c&&(n.rtx={ssrc:c}),t.push(n),i&&(n=JSON.parse(JSON.stringify(n)),n.fec={ssrc:a,mechanism:s?"red+ulpfec":"red"},t.push(n))}}),0===t.length&&a&&t.push({ssrc:a});let l=r.matchPrefix(e,"b=");return l.length&&(l=0===l[0].indexOf("b=TIAS:")?parseInt(l[0].substring(7),10):0===l[0].indexOf("b=AS:")?1e3*parseInt(l[0].substring(5),10)*.95-16e3:void 0,t.forEach(e=>{e.maxBitrate=l})),t},r.parseRtcpParameters=function(e){const t={},n=r.matchPrefix(e,"a=ssrc:").map(e=>r.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute)[0];n&&(t.cname=n.value,t.ssrc=n.ssrc);const i=r.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=i.length>0,t.compound=0===i.length;const s=r.matchPrefix(e,"a=rtcp-mux");return t.mux=s.length>0,t},r.writeRtcpParameters=function(e){let t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},r.parseMsid=function(e){let t;const n=r.matchPrefix(e,"a=msid:");if(1===n.length)return t=n[0].substring(7).split(" "),{stream:t[0],track:t[1]};const i=r.matchPrefix(e,"a=ssrc:").map(e=>r.parseSsrcMedia(e)).filter(e=>"msid"===e.attribute);return i.length>0?(t=i[0].value.split(" "),{stream:t[0],track:t[1]}):void 0},r.parseSctpDescription=function(e){const t=r.parseMLine(e),n=r.matchPrefix(e,"a=max-message-size:");let i;n.length>0&&(i=parseInt(n[0].substring(19),10)),isNaN(i)&&(i=65536);const s=r.matchPrefix(e,"a=sctp-port:");if(s.length>0)return{port:parseInt(s[0].substring(12),10),protocol:t.fmt,maxMessageSize:i};const o=r.matchPrefix(e,"a=sctpmap:");if(o.length>0){const e=o[0].substring(10).split(" ");return{port:parseInt(e[0],10),protocol:e[1],maxMessageSize:i}}},r.writeSctpDescription=function(e,t){let n=[];return n="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&n.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),n.join("")},r.generateSessionId=function(){return Math.random().toString().substr(2,22)},r.writeSessionBoilerplate=function(e,t,n){let i;const s=void 0!==t?t:2;i=e||r.generateSessionId();return"v=0\r\no="+(n||"thisisadapterortc")+" "+i+" "+s+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},r.getDirection=function(e,t){const n=r.splitLines(e);for(let e=0;e<n.length;e++)switch(n[e]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return n[e].substring(2)}return t?r.getDirection(t):"sendrecv"},r.getKind=function(e){return r.splitLines(e)[0].split(" ")[0].substring(2)},r.isRejected=function(e){return"0"===e.split(" ",2)[1]},r.parseMLine=function(e){const t=r.splitLines(e)[0].substring(2).split(" ");return{kind:t[0],port:parseInt(t[1],10),protocol:t[2],fmt:t.slice(3).join(" ")}},r.parseOLine=function(e){const t=r.matchPrefix(e,"o=")[0].substring(2).split(" ");return{username:t[0],sessionId:t[1],sessionVersion:parseInt(t[2],10),netType:t[3],addressType:t[4],address:t[5]}},r.isValidSDP=function(e){if("string"!=typeof e||0===e.length)return!1;const t=r.splitLines(e);for(let e=0;e<t.length;e++)if(t[e].length<2||"="!==t[e].charAt(1))return!1;return!0},e.exports=r},function(e,t,n){var r=n(24),i=n(263),s=n(72),o=n(58),a=n(71),c=n(15),u=n(69),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return s(!i.f.call(e,t),e[t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(5),s=(0,r.__importDefault)(n(54)),o=n(33),a=n(55);function c(e){const t=e.application;if(t.streams&&t.streams.length&&t.sources&&t.sources.length){const e=t.streams[0];t.sources[0].parameters.msid=`${e.id} ${e.track}`,t.sourceGroups&&t.sourceGroups.length>0&&t.sources.push({parameters:{cname:t.sources[0].parameters.cname,msid:`${e.id} ${e.track}`},ssrc:t.sourceGroups[0].sources[1]})}}class u extends s.default{constructor(e){if(super(e),this.includesAudio=!1,this.includesVideo=!1,this._ringing=!1,this.pc.addEventListener("track",e=>{this.onAddTrack(e.track,e.streams[0])}),e.stream)for(const t of e.stream.getTracks())this.addTrack(t,e.stream)}get ringing(){return this._ringing}set ringing(e){e!==this._ringing&&(this._ringing=e)}get streams(){return"closed"!==this.pc.signalingState?this.pc.getRemoteStreams():[]}async start(e,t){this.state="pending",1===arguments.length&&"function"==typeof e&&(t=e,e={}),t=t||(()=>{}),e=e||{},this.role="initiator",this.offerOptions=e;try{await this.processLocal(i.JingleAction.SessionInitiate,async()=>{const t=await this.pc.createOffer(e),n=(0,o.importFromSDP)(t.sdp),r=(0,a.convertIntermediateToRequest)(n,this.role,this.transportType);r.sid=this.sid,r.action=i.JingleAction.SessionInitiate;for(const e of r.contents||[])e.creator="initiator",c(e);await this.pc.setLocalDescription(t),this.send("session-initiate",r)}),t()}catch(e){this._log("error","Could not create WebRTC offer",e),this.end("failed-application",!0)}}async accept(e,t){1===arguments.length&&"function"==typeof e&&(t=e,e={}),t=t||(()=>{}),e=e||{},this._log("info","Accepted incoming session"),this.state="active",this.role="responder";try{await this.processLocal(i.JingleAction.SessionAccept,async()=>{const t=await this.pc.createAnswer(e),n=(0,o.importFromSDP)(t.sdp),r=(0,a.convertIntermediateToRequest)(n,this.role,this.transportType);r.sid=this.sid,r.action=i.JingleAction.SessionAccept;for(const e of r.contents||[])e.creator="initiator";await this.pc.setLocalDescription(t),await this.processBufferedCandidates(),this.send("session-accept",r)}),t()}catch(e){this._log("error","Could not create WebRTC answer",e),this.end("failed-application")}}end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];for(const e of this.pc.getReceivers())this.onRemoveTrack(e.track);super.end(e,t)}ring(){return this.processLocal("ring",async()=>{this._log("info","Ringing on incoming session"),this.ringing=!0,this.send(i.JingleAction.SessionInfo,{info:{infoType:i.JINGLE_INFO_RINGING}})})}mute(e,t){return this.processLocal("mute",async()=>{this._log("info","Muting",t),this.send(i.JingleAction.SessionInfo,{info:{creator:e,infoType:i.JINGLE_INFO_MUTE,name:t}})})}unmute(e,t){return this.processLocal("unmute",async()=>{this._log("info","Unmuting",t),this.send(i.JingleAction.SessionInfo,{info:{creator:e,infoType:i.JINGLE_INFO_UNMUTE,name:t}})})}hold(){return this.processLocal("hold",async()=>{this._log("info","Placing on hold"),this.send("session-info",{info:{infoType:i.JINGLE_INFO_HOLD}})})}resume(){return this.processLocal("resume",async()=>{this._log("info","Resuming from hold"),this.send("session-info",{info:{infoType:i.JINGLE_INFO_ACTIVE}})})}addTrack(e,t,n){return"audio"===e.kind&&(this.includesAudio=!0),"video"===e.kind&&(this.includesVideo=!0),this.processLocal("addtrack",async()=>{this.pc.addTrack?this.pc.addTrack(e,t):this.pc.addStream(t),n&&n()})}async removeTrack(e,t){return this.processLocal("removetrack",async()=>{if(this.pc.removeTrack(e),t)return t()})}onAddTrack(e,t){this._log("info","Track added"),this.parent.emit("peerTrackAdded",this,e,t)}onRemoveTrack(e){this._log("info","Track removed"),this.parent.emit("peerTrackRemoved",this,e)}async onSessionInitiate(e,t){this._log("info","Initiating incoming session"),this.state="pending",this.role="responder",this.transportType=e.contents[0].transport.transportType;const n=(0,a.convertRequestToIntermediate)(e,this.peerRole);for(const e of n.media)"audio"===e.kind&&(this.includesAudio=!0),"video"===e.kind&&(this.includesVideo=!0),e.streams||(e.streams=[{stream:"legacy",track:e.kind}]);const r=(0,o.exportToSDP)(n);try{return await this.pc.setRemoteDescription({type:"offer",sdp:r}),await this.processBufferedCandidates(),t()}catch(e){return this._log("error","Could not create WebRTC answer",e),t({condition:"general-error"})}}onSessionTerminate(e,t){for(const e of this.pc.getReceivers())this.onRemoveTrack(e.track);super.onSessionTerminate(e,t)}onSessionInfo(e,t){const n=e.info||{infoType:""};switch(n.infoType){case i.JINGLE_INFO_RINGING:return this._log("info","Outgoing session is ringing"),this.ringing=!0,this.parent.emit("ringing",this),t();case i.JINGLE_INFO_HOLD:return this._log("info","On hold"),this.parent.emit("hold",this),t();case i.JINGLE_INFO_UNHOLD:case i.JINGLE_INFO_ACTIVE:return this._log("info","Resuming from hold"),this.parent.emit("resumed",this),t();case i.JINGLE_INFO_MUTE:return this._log("info","Muting",n),this.parent.emit("mute",this,n),t();case i.JINGLE_INFO_UNMUTE:return this._log("info","Unmuting",n),this.parent.emit("unmute",this,n),t()}return t()}}t.default=u},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||s(t,e,n)},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))},c=this&&this.__generator||function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};Object.defineProperty(t,"__esModule",{value:!0});var u,l=n(7);o(n(282),t);var d=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.peerConnection=t,r.haveConnectionMetrics=!1,r.statsArr=[],u="undefined"!=typeof window,r.session=n.session,r.initiator=n.initiator,r.conference=n.conference,r.statsInterval=1e3*(n.interval||5),r.logger=n.logger||console,["new","checking"].includes(t.iceConnectionState)&&("checking"===t.iceConnectionState&&(r.logger.warn("iceConnectionState is already in checking state so ice connect time may not be accurate"),r.handleIceStateChange()),t.addEventListener("iceconnectionstatechange",r.handleIceStateChange.bind(r))),t.addEventListener("connectionstatechange",r.handleConnectionStateChange.bind(r)),"connected"===t.connectionState&&r.pollForStats(),r}return i(t,e),t.prototype.handleIceStateChange=function(){var e=this,t=this.peerConnection.iceConnectionState;if("checking"===t&&u&&(this.iceStartTime=window.performance.now()),"connected"===t){if(this.haveConnectionMetrics)return;this.haveConnectionMetrics=!0;var n=void 0,r=void 0,i=void 0;u&&(this.iceConnectionTime=window.performance.now()-this.iceStartTime,n=window.navigator.userAgent,r=window.navigator.platform,i=window.navigator.hardwareConcurrency);var s={name:"connect",userAgent:n,platform:r,cores:i,session:this.session,conference:this.conference,connectTime:this.iceConnectionTime};return this.waitForSelectedCandidatePair().then((function(t){e.gatherSelectedCandidateInfo(t,s),e.emit("stats",s)}))}if("failed"===t)return u&&(this.iceFailedTime=window.performance.now()-this.iceStartTime),this.gatherStats().then((function(t){var n={name:"failure",session:e.session,initiator:e.initiator,conference:e.conference,failTime:e.iceFailedTime,iceRW:0,numLocalHostCandidates:0,numLocalSrflxCandidates:0,numLocalRelayCandidates:0,numRemoteHostCandidates:0,numRemoteSrflxCandidates:0,numRemoteRelayCandidates:0},r=e.peerConnection.localDescription.sdp.split("\r\n").filter((function(e){return e.indexOf("a=candidate:")>-1})),i=e.peerConnection.remoteDescription.sdp.split("\r\n").filter((function(e){return e.indexOf("a=candidate:")>-1}));["Host","Srflx","Relay"].forEach((function(e){n["numLocal"+e+"Candidates"]=r.filter((function(t){return t.split(" ")[7]===e.toLowerCase()})).length,n["numRemote"+e+"Candidates"]=i.filter((function(t){return t.split(" ")[7]===e.toLowerCase()})).length})),e.emit("stats",n)}))},t.prototype.waitForSelectedCandidatePair=function(e,t){var n=this;return void 0===e&&(e=300),void 0===t&&(t=1),this.gatherStats().then((function(r){return n.getSelectedCandidatePair(r)?r:t>3?Promise.reject(new Error("Max wait attempts for connected candidate info reached")):new Promise((function(r,i){setTimeout((function(){return n.waitForSelectedCandidatePair(e,t+1).then(r,i)}),e)}))}))},t.prototype.getSelectedCandidatePair=function(e){var t=null;return e.forEach((function(e){var n=e.value;"candidate-pair"===n.type&&n.nominated&&"succeeded"===n.state&&(t=n)})),t},t.prototype.gatherSelectedCandidateInfo=function(e,t){var n=this.getSelectedCandidatePair(e);if(n){var r,i,s=n.localCandidateId,o=n.remoteCandidateId;if(e.forEach((function(e){e.key;var n=e.value;s&&"local-candidate"===n.type&&n.id===s&&(r=n,t.localCandidateType=n.candidateType),o&&"remote-candidate"===n.type&&n.id===o&&(i=n,t.remoteCandidateType=n.candidateType)})),r&&i&&(t.candidatePair=r.candidateType+";"+i.candidateType,t.candidatePairDetails={local:r,remote:i,pair:n}),r){if(t.transport=r.transport||r.protocol,r.priority){var a=parseInt(r.priority,10);t.turnType={2:"udp",1:"tcp",0:"tls"}[a>>24],t.networkType=r.networkType}t.usingIPv6=r.ipAddress&&0===r.ipAddress.indexOf("[")}}},t.prototype.handleConnectionStateChange=function(){return a(this,void 0,void 0,(function(){var e,t=this;return c(this,(function(n){if("connected"===(e=this.peerConnection.connectionState))this.pollForStats();else{if("disconnected"===e)return"stable"!==this.peerConnection.signalingState?[2]:[2,this.gatherStats().then((function(e){var n=t.createStatsReport(e);n.type="disconnected",t.emit("stats",n)}))];"closed"===e&&this.pollingInterval&&(u&&window.clearInterval(this.pollingInterval),this.pollingInterval=null)}return[2]}))}))},t.prototype.pollForStats=function(){var e=this;if(!this.pollingInterval){var t=function(){return e.gatherStats().then((function(t){var n=e.createStatsReport(t,!0);(n.tracks.length>0||n.remoteTracks.length>0)&&e.checkBitrate(n)&&e.emit("stats",n)}))};u&&(window.setTimeout(t,0),this.pollingInterval=window.setInterval(t,this.statsInterval))}},t.prototype.checkBitrate=function(e){var t;return e.remoteTracks.length&&0!==(null===(t=e.remoteTracks[0])||void 0===t?void 0:t.bitrate)?(this.statsArr=[],!0):!(this.statsArr.length>=5)&&(this.statsArr.push(e),!0)},t.prototype.polyFillStats=function(e){if(!e)return[];if(Array.isArray(e))return e;var t=[];if(this.isNativeStatsReport(e))e.forEach((function(e,n){t.push({key:n,value:e})}));else{if(!(Object.keys(e).length>0))return this.logger.warn("Unknown stats results format, returning unmodified",e),[];Object.keys(e).forEach((function(n){t.push({key:n,value:e[n]})}))}return t},t.prototype.isNativeStatsReport=function(e){return void 0!==window.RTCStatsReport&&e instanceof window.RTCStatsReport},t.prototype.gatherStats=function(){return a(this,void 0,void 0,(function(){var e;return c(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.peerConnection.getStats(null).then(this.polyFillStats.bind(this))];case 1:return[2,t.sent()];case 2:return e=t.sent(),this.logger.error("Failed to gather stats. Are you using RTCPeerConnection as your connection? {expect peerconnection.getStats}",{peerConnection:this.peerConnection,err:e}),[2,Promise.reject(e)];case 3:return[2]}}))}))},t.prototype.createStatsReport=function(e,t){var n=this;void 0===t&&(t=!0);var r={name:"getStats",session:this.session,initiator:this.initiator,conference:this.conference,tracks:[],remoteTracks:[]};e.filter((function(e){return["inbound-rtp","outbound-rtp"].indexOf(e.value.type)>-1})).forEach((function(t){n.processSource({source:t.value,event:r,results:e})}));var i=e.find((function(e){return"candidate-pair"===e.value.type&&"succeeded"===e.value.state&&!0===e.value.nominated}));return i&&this.processSelectedCandidatePair({report:i.value,event:r,results:e}),t&&(this.lastResult=e),r},t.prototype.processSource=function(e){var t,n,r,i,s,o,a,c=e.source,u=e.results,l=e.event,d=new Date(c.timestamp),h=this.lastResult&&this.lastResult.find((function(e){return e.key===c.id}));(h=h&&h.value)&&(t=(t=this.lastResult&&this.lastResult.find((function(e){return e.value.localId===h.id})))&&t.value),u.forEach((function(e){e.value.localId===c.id?n=e.value:e.key===c.transportId?r=e.value:e.key===c.trackId?s=e.value:e.key===c.mediaSourceId?o=e.value:e.key===c.codecId&&(a=e.value)})),r&&(i=(i=u.find((function(e){return e.key===r.selectedCandidatePairId})))&&i.value),i&&(l.candidatePairHadActiveSource=!0);var f=c.kind||c.mediaType,m="outbound-rtp"===c.type,g={track:s&&s.trackIdentifier,kind:f,jitter:p("jitter",c,n),roundTripTime:p("roundTripTime",c,n),packetsLost:p("packetsLost",c,n)||0,packetLoss:0,bytes:parseInt(m?c.bytesSent:c.bytesReceived,10)||0};if(a&&(g.codec=a.payloadType+" "+a.mimeType+" "+a.clockRate),h){var y=parseInt(m?h.bytesSent:h.bytesReceived,10)||0,b=d.getTime()-new Date(h.timestamp).getTime();g.bitrate=Math.floor(8*(g.bytes-y)/b)}var v=p("packetsLost",h,t);m?(g.packetsSent=c.packetsSent,g.packetLoss=g.packetsLost/(g.packetsSent||1)*100,h&&(g.intervalPacketsSent=g.packetsSent-(h.packetsSent||0),g.intervalPacketsLost=g.packetsLost-(v||0),g.intervalPacketLoss=g.intervalPacketsLost/(g.intervalPacketsSent||1)*100),g.retransmittedBytesSent=c.retransmittedBytesSent,g.retransmittedPacketsSent=c.retransmittedPacketsSent):(g.packetsReceived=c.packetsReceived,g.packetLoss=g.packetsLost/(g.packetsReceived||1)*100,h&&(g.intervalPacketsReceived=g.packetsReceived-h.packetsReceived,g.intervalPacketsLost=g.packetsLost-v,g.intervalPacketLoss=g.intervalPacketsLost/(g.intervalPacketsReceived||1)*100)),s&&"audio"===f&&(s.remoteSource?(g.audioLevel=s.audioLevel,g.totalAudioEnergy=s.totalAudioEnergy):(g.echoReturnLoss=s.echoReturnLoss,g.echoReturnLossEnhancement=s.echoReturnLossEnhancement)),"audio"!==f||!o||s&&s.remoteSource||(g.audioLevel=o.audioLevel,g.totalAudioEnergy=o.totalAudioEnergy),Object.keys(g).forEach((function(e){return void 0===g[e]&&delete g[e]})),m?l.tracks.push(g):l.remoteTracks.push(g)},t.prototype.processSelectedCandidatePair=function(e){var t=this,n=e.report,r=e.event,i=e.results,s=n.localCandidateId,o=n.remoteCandidateId;r.localCandidateChanged=!!this.lastActiveLocalCandidate&&s!==this.lastActiveLocalCandidate.id,r.remoteCandidateChanged=!!this.lastActiveRemoteCandidate&&o!==this.lastActiveRemoteCandidate.id,(!this.lastActiveLocalCandidate||r.localCandidateChanged||r.remoteCandidateChanged)&&i.forEach((function(e){t.checkLastActiveCandidate({localId:s,remoteId:o,key:e.key,report:e.value})})),this.lastActiveLocalCandidate&&(r.networkType=this.lastActiveLocalCandidate.networkType,this.lastActiveRemoteCandidate&&(r.candidatePair=this.lastActiveLocalCandidate.candidateType+";"+this.lastActiveRemoteCandidate.candidateType)),r.bytesSent=n.bytesSent,r.bytesReceived=n.bytesReceived,r.requestsReceived=n.requestsReceived,r.requestsSent=n.requestsSent,r.responsesReceived=n.responsesReceived,r.responsesSent=n.responsesSent,r.consentRequestsSent=n.consentRequestsSent,r.totalRoundTripTime=n.totalRoundTripTime},t.prototype.checkLastActiveCandidate=function(e){var t=e.localId,n=e.remoteId,r=(e.key,e.report);t&&"local-candidate"===r.type&&r.id===t&&(this.lastActiveLocalCandidate=r),n&&"remote-candidate"===r.type&&r.id===n&&(this.lastActiveRemoteCandidate=r)},t}(l.EventEmitter);function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t.find((function(t){return t&&(t[e]||0===t[e])}));return r&&r[e]}t.default=d},function(e,t,n){"use strict";n.r(t),n.d(t,"Axios",(function(){return i})),n.d(t,"AxiosError",(function(){return s})),n.d(t,"CanceledError",(function(){return o})),n.d(t,"isCancel",(function(){return a})),n.d(t,"CancelToken",(function(){return c})),n.d(t,"VERSION",(function(){return u})),n.d(t,"all",(function(){return l})),n.d(t,"Cancel",(function(){return d})),n.d(t,"isAxiosError",(function(){return p})),n.d(t,"spread",(function(){return h})),n.d(t,"toFormData",(function(){return f})),n.d(t,"AxiosHeaders",(function(){return m})),n.d(t,"HttpStatusCode",(function(){return g})),n.d(t,"formToJSON",(function(){return y})),n.d(t,"getAdapter",(function(){return b})),n.d(t,"mergeConfig",(function(){return v}));var r=n(66);n.d(t,"default",(function(){return r.a}));const{Axios:i,AxiosError:s,CanceledError:o,isCancel:a,CancelToken:c,VERSION:u,all:l,Cancel:d,isAxiosError:p,spread:h,toFormData:f,AxiosHeaders:m,HttpStatusCode:g,formToJSON:y,getAdapter:b,mergeConfig:v}=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7),i=Math.pow(2,32),s=(e,t)=>(e%t+t)%t;class o extends r.EventEmitter{constructor(){super(),this.allowResume=!0,this.lastAck=0,this.handled=0,this.unacked=[],this.inboundStarted=!1,this.outboundStarted=!1,this.id=void 0,this.jid=void 0,this.allowResume=!0,this.started=!1,this.cacheHandler=()=>{},this._reset()}get started(){return this.outboundStarted&&this.inboundStarted}set started(e){e||(this.outboundStarted=!1,this.inboundStarted=!1)}get resumable(){return this.started&&this.allowResume}load(e){var t;this.id=e.id,this.allowResume=null===(t=e.allowResume)||void 0===t||t,this.handled=e.handled,this.lastAck=e.lastAck,this.unacked=e.unacked,this.emit("prebound",e.jid)}cache(e){this.cacheHandler=e}async bind(e){this.jid=e,await this._cache()}async enable(){this.emit("send",{allowResumption:this.allowResume,type:"enable"})}async resume(){this.emit("send",{handled:this.handled,previousSession:this.id,type:"resume"})}async enabled(e){this.id=e.id,this.allowResume=e.resume||!1,this.handled=0,this.inboundStarted=!0,await this._cache()}async resumed(e){this.id=e.previousSession,this.inboundStarted=!0,await this.process(e,!0),await this._cache()}async failed(e){await this.process(e);for(const[e,t]of this.unacked)this.emit("failed",{kind:e,stanza:t});this._reset(),await this._cache()}ack(){this.emit("send",{handled:this.handled,type:"ack"})}request(){this.emit("send",{type:"request"})}async process(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(void 0===e.handled)return;const n=s(e.handled-this.lastAck,i);for(let e=0;e<n&&this.unacked.length>0;e++){const[e,t]=this.unacked.shift();this.emit("acked",{kind:e,stanza:t})}if(this.lastAck=e.handled,t){const e=this.unacked;if(this.unacked=[],e.length){this.emit("begin-resend");for(const[t,n]of e)this.emit("resend",{kind:t,stanza:n});this.emit("end-resend")}}await this._cache()}async track(e,t){const n="enable"===t.type;return"sm"!==e||!n&&"resume"!==t.type?!!this.outboundStarted&&(("message"===e||"presence"===e||"iq"===e)&&(this.unacked.push([e,t]),await this._cache(),!0)):(n&&(this.handled=0),this.outboundStarted=!0,await this._cache(),!1)}async handle(){this.inboundStarted&&(this.handled=s(this.handled+1,i),await this._cache())}async hibernate(){if(!this.resumable)return this.shutdown();for(const[e,t]of this.unacked)this.emit("hibernated",{kind:e,stanza:t})}async shutdown(){return this.failed({type:"failed"})}async _cache(){try{await this.cacheHandler({allowResume:this.allowResume,handled:this.handled,id:this.id,jid:this.jid,lastAck:this.lastAck,unacked:this.unacked})}catch(e){console.error("Failed to cache stream state",e)}}_reset(){this.id="",this.inboundStarted=!1,this.outboundStarted=!1,this.lastAck=0,this.handled=0,this.unacked=[]}}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCRAM=t.DIGEST=t.OAUTH=t.PLAIN=t.EXTERNAL=t.ANONYMOUS=t.Hi=t.HMAC=t.H=t.XOR=t.createClientNonce=t.Factory=t.SimpleMech=void 0;const r=n(9),i=n(84);class s{constructor(e){this.authenticated=!1,this.mutuallyAuthenticated=!1,this.name=e}getCacheableCredentials(){return null}processChallenge(e){}processSuccess(e){this.authenticated=!0}finalize(){const e={authenticated:this.authenticated,mutuallyAuthenticated:this.mutuallyAuthenticated};return this.errorData&&(e.errorData=this.errorData),e}}t.SimpleMech=s;function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;return(0,r.randomBytes)(e).toString("hex")}function a(e,t){const n=[];for(let r=0;r<e.length;r++)n.push(e[r]^t[r]);return r.Buffer.from(n)}function c(e,t){return(0,r.createHash)(t).update(e).digest()}function u(e,t,n){return(0,r.createHmac)(n,e).update(t).digest()}function l(e,t,n,i){let s=u(e,r.Buffer.concat([t,r.Buffer.from("00000001","hex")]),i),o=s;for(let t=0;t<n-1;t++)s=u(e,s,i),o=a(o,s);return o}function d(e){const t={},n=e.toString().split(/,(?=(?:[^"]|"[^"]*")*$)/);for(let e=0,r=n.length;e<r;e++){const r=/(\w+)=["]?([^"]+)["]?$/.exec(n[e]);r&&(t[r[1]]=r[2])}return t}function p(e){const t=[];for(const n of e)","===n?t.push("=2C"):"="===n?t.push("=3D"):t.push(n);return t.join("")}t.Factory=class{constructor(){this.mechanisms=[]}register(e,t,n){this.mechanisms.push({constructor:t,name:e.toUpperCase(),priority:n}),this.mechanisms.sort((e,t)=>t.priority-e.priority)}disable(e){const t=e.toUpperCase();this.mechanisms=this.mechanisms.filter(e=>e.name!==t)}createMechanism(e){const t=e.map(e=>e.toUpperCase());for(const e of this.mechanisms)for(const n of t)if(n===e.name)return new e.constructor(e.name);return null}},t.createClientNonce=o,t.XOR=a,t.H=c,t.HMAC=u,t.Hi=l;t.ANONYMOUS=class extends s{getExpectedCredentials(){return{optional:["trace"],required:[]}}createResponse(e){return r.Buffer.from(e.trace||"")}};t.EXTERNAL=class extends s{getExpectedCredentials(){return{optional:["authzid"],required:[]}}createResponse(e){return r.Buffer.from(e.authzid||"")}};t.PLAIN=class extends s{getExpectedCredentials(){return{optional:["authzid"],required:["username","password"]}}createResponse(e){return r.Buffer.from((e.authzid||"")+"\0"+e.username+"\0"+(e.password||e.token))}};t.OAUTH=class extends s{constructor(e){super(e),this.failed=!1,this.name=e}getExpectedCredentials(){return{optional:["authzid"],required:["token"]}}createResponse(e){if(this.failed)return r.Buffer.from("");const t=`n,${p((0,i.saslprep)(e.authzid))},`,n=`auth=Bearer ${e.token}`;return r.Buffer.from(t+""+n+"","utf8")}processChallenge(e){this.failed=!0,this.errorData=JSON.parse(e.toString("utf8"))}};t.DIGEST=class extends s{constructor(e){super(e),this.providesMutualAuthentication=!1,this.state="INITIAL",this.name=e}processChallenge(e){this.state="CHALLENGE";const t=d(e);this.authenticated=!!t.rspauth,this.realm=t.realm,this.nonce=t.nonce,this.charset=t.charset}getExpectedCredentials(){return{optional:["authzid","clientNonce","realm"],required:["host","password","serviceName","serviceType","username"]}}createResponse(e){if("INITIAL"===this.state||this.authenticated)return null;let t=e.serviceType+"/"+e.host;e.serviceName&&e.host!==e.serviceName&&(t+="/"+e.serviceName);const n=e.realm||this.realm||"",i=e.clientNonce||o(16),s="00000001";let a="";a+='username="'+e.username+'"',n&&(a+=',realm="'+n+'"'),a+=',nonce="'+this.nonce+'"',a+=',cnonce="'+i+'"',a+=",nc="+s,a+=",qop=auth",a+=',digest-uri="'+t+'"';const c=(0,r.createHash)("md5").update(e.username).update(":").update(n).update(":").update(e.password).digest(),u=(0,r.createHash)("md5").update(c).update(":").update(this.nonce).update(":").update(i);e.authzid&&u.update(":").update(e.authzid);const l=u.digest("hex"),d=(0,r.createHash)("md5").update("AUTHENTICATE:").update(t).digest("hex");return a+=",response="+(0,r.createHash)("md5").update(l).update(":").update(this.nonce).update(":").update(s).update(":").update(i).update(":").update("auth").update(":").update(d).digest("hex"),"utf-8"===this.charset&&(a+=",charset=utf-8"),e.authzid&&(a+=',authzid="'+e.authzid+'"'),r.Buffer.from(a)}};t.SCRAM=class{constructor(e){this.providesMutualAuthentication=!0,this.name=e,this.state="INITIAL",this.useChannelBinding=this.name.toLowerCase().endsWith("-plus"),this.algorithm=this.name.toLowerCase().split("scram-")[1].split("-plus")[0]}getExpectedCredentials(){const e=["username","password"];return this.useChannelBinding&&e.push("tlsUnique"),{optional:["authzid","clientNonce"],required:e}}getCacheableCredentials(){return this.cache}createResponse(e){return"INITIAL"===this.state?this.initialResponse(e):this.challengeResponse(e)}processChallenge(e){const t=d(e);this.salt=r.Buffer.from(t.s||"","base64"),this.iterationCount=parseInt(t.i,10),this.nonce=t.r,this.verifier=t.v,this.error=t.e,this.challenge=e}processSuccess(e){this.processChallenge(e)}finalize(){return this.verifier?this.serverSignature.toString("base64")!==this.verifier?{authenticated:!1,error:"Mutual authentication failed",mutuallyAuthenticated:!1}:{authenticated:!0,mutuallyAuthenticated:!0}:{authenticated:!1,error:this.error,mutuallyAuthenticated:!1}}initialResponse(e){const t=p((0,i.saslprep)(e.authzid)),n=p((0,i.saslprep)(e.username));this.clientNonce=e.clientNonce||o();let s="n";e.tlsUnique&&(s=this.useChannelBinding?"p=tls-unique":"y"),this.gs2Header=r.Buffer.from(t?`${s},a=${t},`:s+",,"),this.clientFirstMessageBare=r.Buffer.from(`n=${n},r=${this.clientNonce}`);const a=r.Buffer.concat([this.gs2Header,this.clientFirstMessageBare]);return this.state="CHALLENGE",a}challengeResponse(e){const t=r.Buffer.from("Client Key"),n=r.Buffer.from("Server Key"),s=r.Buffer.concat([this.gs2Header,e.tlsUnique||r.Buffer.from("")]).toString("base64"),o=r.Buffer.from(`c=${s},r=${this.nonce}`);let d,p,h;const f=e.salt&&0===r.Buffer.compare(e.salt,this.salt);f&&e.clientKey&&e.serverKey?(p=r.Buffer.from(e.clientKey),h=r.Buffer.from(e.serverKey)):f&&e.saltedPassword?(d=r.Buffer.from(e.saltedPassword),p=u(d,t,this.algorithm),h=u(d,n,this.algorithm)):(d=l(r.Buffer.from((0,i.saslprep)(e.password)),this.salt,this.iterationCount,this.algorithm),p=u(d,t,this.algorithm),h=u(d,n,this.algorithm));const m=c(p,this.algorithm),g=r.Buffer.from(","),y=r.Buffer.concat([this.clientFirstMessageBare,g,this.challenge,g,o]),b=a(p,u(m,y,this.algorithm)).toString("base64");this.serverSignature=u(h,y,this.algorithm);const v=r.Buffer.concat([o,r.Buffer.from(",p="+b)]);return this.state="FINAL",this.cache={clientKey:p,salt:this.salt,saltedPassword:d,serverKey:h},v}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.getAccountInfo=async t=>(await e.sendIQ({account:{},to:t,type:"get"})).account,e.updateAccount=(t,n)=>e.sendIQ({account:n,to:t,type:"set"}),e.deleteAccount=t=>e.sendIQ({account:{remove:!0},to:t,type:"set"}),e.getPrivateData=async t=>(await e.sendIQ({privateStorage:{[t]:{}},type:"get"})).privateStorage[t],e.setPrivateData=async(t,n)=>e.sendIQ({privateStorage:{[t]:n},type:"set"}),e.getVCard=async t=>(await e.sendIQ({to:t,type:"get",vcard:{format:r.NS_VCARD_TEMP}})).vcard,e.publishVCard=async t=>{await e.sendIQ({type:"set",vcard:t})},e.enableNotifications=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e.sendIQ({push:{action:"enable",form:{fields:[{name:"FORM_TYPE",type:"hidden",value:"http://jabber.org/protocol/pubsub#publish-options"},...r],type:"submit"},jid:t,node:n},type:"set"})},e.disableNotifications=(t,n)=>e.sendIQ({push:{action:"disable",jid:t,node:n},type:"set"})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_AVATAR_METADATA)),e.on("pubsub:published",t=>{if(t.pubsub.items.node!==r.NS_AVATAR_METADATA)return;const n=t.pubsub.items.published[0].content;e.emit("avatar",{avatars:n.versions||[],jid:t.from,source:"pubsub"})}),e.on("presence",t=>{t.vcardAvatar&&"string"==typeof t.vcardAvatar&&e.emit("avatar",{avatars:[{id:t.vcardAvatar}],jid:t.from,source:"vcard"})}),e.publishAvatar=(t,n)=>e.publish("",r.NS_AVATAR_DATA,{data:n,itemType:r.NS_AVATAR_DATA},t),e.useAvatars=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.publish("",r.NS_AVATAR_METADATA,{itemType:r.NS_AVATAR_METADATA,pointers:n,versions:t},"current")},e.getAvatar=(t,n)=>e.getItem(t,r.NS_AVATAR_DATA,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.registerFeature("bind",300,async(t,n)=>{try{const r=await e.sendIQ({bind:{resource:e.config.resource},type:"set"});e.features.negotiated.bind=!0,e.emit("session:prebind",r.bind.jid);const i=!t.legacySession||t.legacySession&&t.legacySession.optional;return!e.sessionStarted&&i&&e.emit("session:started",e.jid),n()}catch(e){return console.error(e),n("disconnect","JID binding failed")}}),e.registerFeature("legacySession",1e3,async(t,n)=>{if(e.sessionStarted||t.legacySession&&t.legacySession.optional)return e.features.negotiated.session=!0,n();try{return await e.sendIQ({legacySession:!0,type:"set"}),e.features.negotiated.session=!0,e.sessionStarted||(e.sessionStarted=!0,e.emit("session:started",e.jid)),n()}catch(e){return n("disconnect","Session requeset failed")}}),e.on("session:started",()=>{e.sessionStarted=!0}),e.on("session:prebind",t=>{e.jid=t,e.emit("session:bound",e.jid)}),e.on("--reset-stream-features",()=>{e.sessionStarted=!1,e.features.negotiated.bind=!1,e.features.negotiated.session=!1})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.disco.addFeature(r.NS_ADHOC_COMMANDS),e.disco.addItem({name:"Ad-Hoc Commands",node:r.NS_ADHOC_COMMANDS}),e.getCommands=t=>e.getDiscoItems(t,r.NS_ADHOC_COMMANDS)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1),i=n(12);async function s(e){if(e.sm.started)return new Promise(t=>{e.once("stream:management:ack",()=>t()),e.sm.request()});try{await e.ping()}catch(e){if(e.error&&"timeout"!==e.error.condition)return;throw e}}function o(e,t){e.features.negotiated.clientStateIndication&&e.send("csi",{type:t})}t.default=function(e){e.disco.addFeature(r.NS_PING),e.on("iq:get:ping",t=>{e.sendIQResult(t)}),e.on("--reset-stream-features",()=>{e._stopKeepAliveInterval(),e.features.negotiated.streamManagement=!1,e.features.negotiated.clientStateIndication=!1}),e.markActive=()=>o(e,"active"),e.markInactive=()=>o(e,"inactive"),e.ping=async t=>{await e.sendIQ({ping:!0,to:t,type:"get"})},e.enableKeepAlive=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e._keepAliveOptions=t;const n=t.interval||300,r=t.timeout||e.config.timeout||15;async function o(){if(e.sessionStarted)try{await(0,i.timeoutPromise)(s(e),1e3*r)}catch(t){e.emit("stream:error",{condition:"connection-timeout",text:"Server did not respond in "+r+" seconds"}),e.transport&&(e.transport.hasStream=!1,e.transport.disconnect(!1))}}clearInterval(e._keepAliveInterval),e._keepAliveInterval=setInterval(o,1e3*n)},e._stopKeepAliveInterval=()=>{e._keepAliveInterval&&(clearInterval(e._keepAliveInterval),delete e._keepAliveInterval)},e.disableKeepAlive=()=>{delete e._keepAliveOptions,e._stopKeepAliveInterval()},e.on("stream:management:resumed",()=>{e._keepAliveOptions&&e.enableKeepAlive(e._keepAliveOptions)}),e.on("stream:start",()=>{e._keepAliveOptions&&e.enableKeepAlive(e._keepAliveOptions)});const t=async(t,n)=>{if(!e.config.useStreamManagement)return n();const r=async t=>{switch(t.type){case"enabled":return await e.sm.enabled(t),e.features.negotiated.streamManagement=!0,e.off("sm",r),n();case"resumed":return await e.sm.resumed(t),e.features.negotiated.streamManagement=!0,e.features.negotiated.bind=!0,e.sessionStarted=!0,e.sessionStarting=!1,e.off("sm",r),e.emit("stream:management:resumed",t),n("break");case"failed":await e.sm.failed(t),e.off("sm",r),e.emit("session:end"),n()}};e.on("sm",r),e.sm.id?e.sm.id&&e.sm.allowResume?await e.sm.resume():(e.off("sm",r),n()):e.features.negotiated.bind?await e.sm.enable():(e.off("sm",r),n())};e.registerFeature("streamManagement",200,t),e.registerFeature("streamManagement",500,t),e.registerFeature("clientStateIndication",400,(t,n)=>{e.features.negotiated.clientStateIndication=!0,n()})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=(0,r.__importDefault)(n(288)),s=(0,r.__importStar)(n(10)),o=n(1);t.default=function(e){e.disco=new i.default,e.disco.addFeature(o.NS_DISCO_INFO),e.disco.addFeature(o.NS_DISCO_ITEMS),e.disco.addIdentity({category:"client",type:"web"}),e.registerFeature("caps",100,(t,n)=>{const r=s.getDomain(e.jid)||e.config.server;e.emit("disco:caps",{caps:t.legacyCapabilities||[],jid:r}),e.features.negotiated.caps=!0,n()}),e.getDiscoInfo=async(t,n)=>({extensions:[],features:[],identities:[],...(await e.sendIQ({disco:{node:n,type:"info"},to:t,type:"get"})).disco}),e.getDiscoItems=async(t,n)=>({items:[],...(await e.sendIQ({disco:{node:n,type:"items"},to:t,type:"get"})).disco}),e.updateCaps=()=>{const t=e.config.capsNode||"https://stanzajs.org";return e.disco.updateCaps(t)},e.getCurrentCaps=()=>{const t=e.disco.getCaps();if(!t)return;const n=`${t[0].node}#${t[0].value}`;return{info:e.disco.getNodeInfo(n),legacyCapabilities:t}},e.on("presence",t=>{t.legacyCapabilities&&e.emit("disco:caps",{caps:t.legacyCapabilities,jid:t.from})}),e.on("iq:get:disco",t=>{const{type:n,node:r}=t.disco;"info"===n&&e.sendIQResult(t,{disco:{...e.disco.getNodeInfo(r||""),node:r,type:"info"}}),"items"===n&&e.sendIQResult(t,{disco:{items:e.disco.items.get(r||"")||[],type:"items"}})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(5),s=n(1),o=(0,r.__importStar)(n(9));t.default=function(e){e.disco.addFeature("jid\\20escaping"),e.disco.addFeature(s.NS_DELAY),e.disco.addFeature(s.NS_EME_0),e.disco.addFeature(s.NS_FORWARD_0),e.disco.addFeature(s.NS_HASHES_2),e.disco.addFeature(s.NS_HASHES_1),e.disco.addFeature(s.NS_IDLE_1),e.disco.addFeature(s.NS_JSON_0),e.disco.addFeature(s.NS_OOB),e.disco.addFeature(s.NS_PSA),e.disco.addFeature(s.NS_REFERENCE_0),e.disco.addFeature(s.NS_SHIM),e.disco.addFeature(s.NS_DATAFORM),e.disco.addFeature(s.NS_DATAFORM_MEDIA),e.disco.addFeature(s.NS_DATAFORM_VALIDATION),e.disco.addFeature(s.NS_DATAFORM_LAYOUT);const t=o.getHashes();for(const n of t)e.disco.addFeature((0,s.NS_HASH_NAME)(n));e.disco.addFeature(s.NS_TIME),e.disco.addFeature(s.NS_VERSION),e.on("iq:get:softwareVersion",t=>e.sendIQResult(t,{softwareVersion:e.config.softwareVersion||{name:"stanzajs.org",version:i.VERSION}})),e.on("iq:get:time",t=>{const n=new Date;e.sendIQResult(t,{time:{tzo:n.getTimezoneOffset(),utc:n}})}),e.getSoftwareVersion=async t=>(await e.sendIQ({softwareVersion:{},to:t,type:"get"})).softwareVersion,e.getTime=async t=>(await e.sendIQ({time:{},to:t,type:"get"})).time,e.getLastActivity=async t=>(await e.sendIQ({lastActivity:{},to:t,type:"get"})).lastActivity}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.features={handlers:Object.create(null),negotiated:Object.create(null),order:[]},e.registerFeature=function(t,n,r){this.features.order.push({name:t,priority:n}),this.features.order.sort((e,t)=>e.priority-t.priority),this.features.handlers[t]=r.bind(e)},e.on("features",async t=>{const n=e.features.negotiated,r=e.features.handlers,i=[];for(const{name:s}of e.features.order)t[s]&&r[s]&&!n[s]&&i.push(s);function s(e){return new Promise(n=>{r[e](t,(e,t)=>{n(e?{command:e,message:t}:null)})})}for(const t of i){if(n[t])continue;let r="",i="";try{const e=await s(t);e&&(r=e.command,i=e.message||"")}catch(e){r="disconnect",i=e.message,console.error(e)}if(r)return"restart"===r&&e.transport&&e.transport.restart(),void("disconnect"===r&&(e.emit("stream:error",{condition:"policy-violation",text:"Failed to negotiate stream features: "+i}),e.disconnect()))}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.discoverBindings=async t=>{const n=new Set,i=new Set,s=e.resolver.getHostMeta(t).then(e=>{var t;for(const s of null!==(t=e.links)&&void 0!==t?t:[])s.href&&s.rel===r.NS_ALT_CONNECTIONS_WEBSOCKET&&i.add(s.href),s.href&&s.rel===r.NS_ALT_CONNECTIONS_XBOSH&&n.add(s.href)}).catch(e=>console.error(e)),o=e.config.allowAlternateDNSDiscovery?e.resolver.resolveTXT("_xmppconnect."+t).then(e=>{for(const t of e)for(const e of t){if(e.startsWith("_xmpp-client-websocket=")){const t=e.substring(e.indexOf("=")+1);t&&i.add(t)}if(e.startsWith("_xmpp-client-xbosh=")){const t=e.substring(e.indexOf("=")+1);t&&n.add(t)}}}).catch(e=>console.error(e)):Promise.resolve();return await Promise.all([s,o]).catch(e=>console.error(e)),{bosh:[...n].filter(e=>e.startsWith("https://")),websocket:[...i].filter(e=>e.startsWith("wss://"))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(9),s=(0,r.__importStar)(n(53)),o=n(1);t.default=function(e){const t=!!i.RTCPeerConnection,n={...{advertiseAudio:t,advertiseFileTransfer:t,advertiseVideo:t,bundlePolicy:"balanced",hasRTCPeerConnection:t,iceServers:[{urls:"stun:stun.l.google.com:19302"}],iceTransportPolicy:"all",rtcpMuxPolicy:"require",trickleIce:!0},...e.config.jingle},r=e.jingle=new s.SessionManager(n),a=[o.NS_JINGLE_1];n.hasRTCPeerConnection&&(a.push(o.NS_JINGLE_ICE_0,o.NS_JINGLE_ICE_UDP_1,o.NS_JINGLE_DTLS_SCTP_1,o.NS_JINGLE_DTLS_0,"urn:ietf:rfc:5888"),!1===n.trickleIce&&a.push("urn:ietf:rfc:3264"),(n.advertiseAudio||n.advertiseVideo)&&a.push(o.NS_JINGLE_RTP_1,o.NS_JINGLE_RTP_RTCP_FB_0,o.NS_JINGLE_RTP_HDREXT_0,"urn:ietf:rfc:5576"),n.advertiseAudio&&a.push(o.NS_JINGLE_RTP_AUDIO),n.advertiseVideo&&a.push(o.NS_JINGLE_RTP_VIDEO),n.advertiseFileTransfer&&a.push(o.NS_JINGLE_FILE_TRANSFER_4,o.NS_JINGLE_FILE_TRANSFER_5));for(const t of a)e.disco.addFeature(t);const c=["outgoing","incoming","accepted","terminated","ringing","mute","unmute","hold","resumed"];for(const t of c)r.on(t,(n,r)=>{e.emit("jingle:"+t,n,r)});r.on("createdSession",t=>{e.emit("jingle:created",t)}),r.on("send",async t=>{try{if("set"===t.type){const n=await e.sendIQ(t);n.jingle||(n.jingle={}),n.jingle.sid=t.jingle.sid,r.process(n)}"result"===t.type&&e.sendIQResult({type:"set",id:t.id,from:t.to},t),"error"===t.type&&e.sendIQError({type:"set",id:t.id,from:t.to},t)}catch(e){e.jingle||(e.jingle=t.jingle),e.jingle.sid=t.jingle.sid,r.process(e)}}),e.on("session:bound",e=>{r.selfID=e}),e.on("iq:set:jingle",e=>{r.process(e)}),e.on("unavailable",e=>{r.endPeerSessions(e.from,void 0,!0)}),e.getServices=async(t,n,r)=>{const i=(await e.sendIQ({externalServices:{type:n,version:r},to:t,type:"get"})).externalServices;return i.services=i.services||[],i},e.getServiceCredentials=async(t,n,r,i,s)=>(await e.sendIQ({externalServiceCredentials:{host:n,port:i,type:r,version:s},to:t,type:"get"})).externalServiceCredentials,e.discoverICEServers=async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{const n=(await e.getServices(e.config.server,void 0,t.version)).services||[],r=[];for(const t of n)e.jingle.addICEServer(t);return r}catch(e){return[]}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(111),s=(0,r.__importStar)(n(10)),o=n(1);t.default=function(e){e.getHistorySearchForm=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await e.sendIQ({archive:{type:"query",version:n.version},to:t,type:"get"});return r.archive.form},e.searchHistory=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.nextId();let a="";"string"==typeof t?a=t:(a=t.to||"",n=t),n.queryId=r;const c=n.form||{};c.type="submit";const u=c.fields||[],l=[{name:"FORM_TYPE",type:"hidden",value:o.NS_MAM_2}];n.with&&l.push({name:"with",type:"text-single",value:n.with}),n.start&&l.push({name:"start",type:"text-single",value:n.start.toISOString()}),n.end&&l.push({name:"end",type:"text-single",value:n.end.toISOString()}),c.fields=(0,i.mergeFields)(l,u),n.form=c;const d=s.allowedResponders(e.jid,a),p=[],h=e=>{d.has(e.from)&&e.archive&&e.archive.queryId===r&&p.push(e.archive)};e.on("mam:item",h);try{return{...(await e.sendIQ({archive:n,id:r,to:a,type:"set"})).archive,results:p}}finally{e.off("mam:item",h)}},e.getHistoryPreferences=async()=>(await e.sendIQ({archive:{type:"preferences"},type:"get"})).archive,e.setHistoryPreferences=t=>e.sendIQ({archive:{type:"preferences",...t},type:"set"}),e.on("message",t=>{t.archive&&e.emit("mam:item",t)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeFields=void 0,t.mergeFields=function(e,t){const n=[],r=new Map;for(const e of t)e.name&&r.set(e.name,e);const i=new Set;for(const t of e)t.name&&r.has(t.name)?(n.push({...t,...r.get(t.name)}),i.add(t.name)):n.push({...t});for(const e of t)(!e.name||e.name&&!i.has(e.name))&&n.push({...e});return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(3).__importStar)(n(10)),i=n(1),s=new Set(["chat","groupchat","headline","normal"]),o=new Set(["chat","groupchat","normal"]),a=new Map([["markable",0],["received",1],["displayed",2],["acknowledged",3]]),c=(e,t)=>{var n;return e.marker&&(a.get(e.marker.type)<a.get(t)||"markable"===(null===(n=e.marker)||void 0===n?void 0:n.type))};async function u(e,t){await e.sendIQ({carbons:{action:t},type:"set"})}t.default=function(e){e.disco.addFeature(i.NS_ATTENTION_0),e.disco.addFeature(i.NS_CHAT_MARKERS_0),e.disco.addFeature(i.NS_CHAT_STATES),e.disco.addFeature(i.NS_CORRECTION_0),e.disco.addFeature(i.NS_RECEIPTS),e.disco.addFeature(i.NS_RTT_0),e.enableCarbons=()=>u(e,"enable"),e.disableCarbons=()=>u(e,"disable"),e.markReceived=t=>e.sendMarker(t,"received"),e.markDisplayed=t=>e.sendMarker(t,"displayed"),e.markAcknowledged=t=>e.sendMarker(t,"acknowledged"),e.getAttention=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.sendMessage({...n,requestingAttention:!0,to:t,type:"headline"})},e.sendMarker=(t,n,i)=>{if(!c(t,n)&&!i)return;const s=!1!==e.config.groupchatMarkersUseStanzaID;let o=t.id;if("groupchat"===t.type&&t.stanzaIds&&s){const e=t.stanzaIds.find(e=>r.equalBare(e.by,t.from));e&&(o=e.id)}e.sendMessage({marker:{id:o,type:n},to:"groupchat"===t.type?r.toBare(t.from):t.from,type:t.type})},e.on("message",t=>{if(t.carbon&&r.equalBare(t.from,e.jid)){const n=t.carbon.forward.message;n.delay||(n.delay=t.carbon.forward.delay||{timestamp:new Date(Date.now())}),(e=>!!e.carbon&&"received"===e.carbon.type)(t)&&(e.emit("carbon:received",t),e.emit("message",n)),(e=>!!e.carbon&&"sent"===e.carbon.type)(t)&&(e.emit("carbon:sent",t),e.emit("message:sent",n,!0))}(e=>!!e.forms&&e.forms.length>0)(t)&&e.emit("dataform",t),t.requestingAttention&&e.emit("attention",t),(e=>!!e.rtt)(t)&&e.emit("rtt",t),(e=>!!e.replace)(t)&&e.emit("replace",t),(e=>!!e.chatState)(t)&&o.has(t.type||"normal")&&e.emit("chat:state",t);const n=!1!==e.config.sendReceipts,i=!1!==e.config.sendMUCReceipts,a=!1!==e.config.chatMarkers,u=!1!==e.config.groupchatMarkersUseStanzaID,l=(e=>{var t;return!!e.receipt&&"request"===e.receipt.type&&s.has(null!==(t=e.type)&&void 0!==t?t:"normal")})(t),d=c(t,"received"),p=l&&n&&("groupchat"!==t.type||i);if(p||a&&d){const n="groupchat"===t.type?r.toBare(t.from):t.from;let i=t.id;if("groupchat"===t.type&&t.stanzaIds&&u){const e=t.stanzaIds.find(e=>r.equalBare(e.by,t.from));e&&(i=e.id)}e.sendMessage({receipt:p?{id:t.id,type:"received"}:void 0,marker:a&&d?{id:i,type:"received"}:void 0,to:n,type:t.type})}t.receipt&&"received"===t.receipt.type&&e.emit("receipt",t),t.marker&&"markable"!==t.marker.type&&e.emit("marker:"+t.marker.type,t)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(5),s=(0,r.__importStar)(n(10)),o=n(1),a=n(12);t.default=function(e){e.disco.addFeature(o.NS_MUC),e.disco.addFeature(o.NS_MUC_DIRECT_INVITE),e.disco.addFeature(o.NS_HATS_0),e.joinedRooms=new Map,e.joiningRooms=new Map,e.leavingRooms=new Map,e.on("session:started",(function(){const t=e.joiningRooms;e.joiningRooms=new Map;for(const[n,r]of t)e.joinRoom(n,r);const n=e.joinedRooms;e.joinedRooms=new Map;for(const[t,r]of n)e.joinRoom(t,r)})),e.on("message",t=>{if("groupchat"!==t.type||!t.hasSubject||t.body){if(t.muc)if("direct-invite"===t.muc.type||!t.muc.invite&&t.legacyMUC){const n="direct-invite"===t.muc.type?t.muc:t.legacyMUC;e.emit("muc:invite",{from:t.from,password:n.password,reason:n.reason,room:n.jid,thread:n.thread,type:"direct"})}else t.muc.invite?e.emit("muc:invite",{from:t.muc.invite[0].from,password:t.muc.password,reason:t.muc.invite[0].reason,room:t.from,thread:t.muc.invite[0].thread,type:"mediated"}):t.muc.decline?e.emit("muc:declined",{from:t.muc.decline.from,reason:t.muc.decline.reason,room:t.from}):e.emit("muc:other",t)}else e.emit("muc:topic",{from:t.from,room:s.toBare(t.from),topic:t.subject||""})}),e.on("presence",t=>{const n=s.toBare(t.from);if(e.joiningRooms.has(n)&&"error"===t.type)return e.joiningRooms.delete(n),e.emit("muc:failed",t),void e.emit("muc:error",t);if(!function(e){return!!e.muc}(t))return;const r=t.muc.statusCodes&&t.muc.statusCodes.indexOf(i.MUCStatusCode.SelfPresence)>=0,o=t.muc.statusCodes&&t.muc.statusCodes.indexOf(i.MUCStatusCode.NickChanged)>=0;if("error"===t.type)return void e.emit("muc:error",t);if("unavailable"===t.type)return e.emit("muc:unavailable",t),r&&(o?e.joinedRooms.set(n,t.muc.nick):(e.emit("muc:leave",t),e.joinedRooms.delete(n),e.leavingRooms.delete(n))),void(t.muc.destroy&&e.emit("muc:destroyed",{newRoom:t.muc.destroy.jid,password:t.muc.destroy.password,reason:t.muc.destroy.reason,room:n}));e.emit("muc:available",t);const a=e.joiningRooms.has(n)||!e.joinedRooms.has(n);r&&(e.joinedRooms.set(n,s.getResource(t.from)),a&&(e.joiningRooms.delete(n),e.emit("muc:join",t)))}),e.joinRoom=async function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t=s.toBare(t),e.joiningRooms.set(t,n||""),!n)try{n=await e.getReservedNick(t),e.joiningRooms.set(t,n)}catch(e){throw new Error("Room nick required")}return new Promise((i,o)=>{function a(n){s.equalBare(n.from,t)&&(e.off("muc:join",a),e.off("muc:failed",c),i(n))}function c(n){s.equalBare(n.from,t)&&(e.off("muc:join",a),e.off("muc:failed",c),o(n))}e.on("muc:join",a),e.on("muc:failed",c),e.sendPresence({...r,muc:{...r.muc,type:"join"},to:s.createFull(t,n)})})},e.leaveRoom=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=s.toBare(t),n=n||e.joinedRooms.get(t),e.leavingRooms.set(t,n),new Promise((i,o)=>{const c=r.id||(0,a.uuid)(),u=s.allowedResponders(t);function l(n){s.equalBare(n.from,t)&&(e.off("muc:leave",l),e.off("presence:error",d),i(n))}function d(n){n.id===c&&u.has(n.from)&&(e.joinedRooms.has(t)||e.leavingRooms.delete(t),e.off("muc:leave",l),e.off("presence:error",d),o(n))}e.on("muc:leave",l),e.on("presence:error",d),e.sendPresence({...r,id:c,to:s.createFull(t,n),type:"unavailable"})})},e.ban=(t,n,r)=>e.setRoomAffiliation(t,n,"outcast",r),e.kick=(t,n,r)=>e.setRoomRole(t,n,"none",r),e.invite=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Array.isArray(n)||(n=[n]),e.sendMessage({muc:{invite:n,type:"info"},to:t})},e.directInvite=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.sendMessage({muc:{...r,jid:t,type:"direct-invite"},to:n})},e.declineInvite=(t,n,r)=>{e.sendMessage({muc:{decline:{reason:r,to:n},type:"info"},to:t})},e.changeNick=(t,n)=>{const r=(0,a.uuid)(),o=s.createFull(t,n),c=s.allowedResponders(t);return new Promise((t,n)=>{function a(n){c.has(s.toBare(n.from))&&n.muc.statusCodes&&n.muc.statusCodes.includes(i.MUCStatusCode.SelfPresence)&&(e.off("muc:available",a),e.off("presence:id:"+r,u),t(n))}function u(i){c.has(s.toBare(i.from))&&i.id===r&&(e.off("muc:available",a),e.off("presence:id:"+r,u),"error"===i.type?n(i):t(i))}e.on("muc:available",a),e.on("presence:id:"+r,u),e.sendPresence({id:r,to:o})})},e.setSubject=(t,n)=>{e.sendMessage({subject:n,to:t,type:"groupchat"})},e.getReservedNick=async t=>{try{const n=(await e.getDiscoInfo(t,"x-roomuser-item")).identities[0];if(n.name)return n.name;throw new Error("No nickname reserved")}catch(e){throw new Error("No nickname reserved")}},e.requestRoomVoice=t=>{e.sendMessage({forms:[{fields:[{name:"FORM_TYPE",type:"hidden",value:"http://jabber.org/protocol/muc#request"},{name:"muc#role",type:"text-single",value:"participant"}],type:"submit"}],to:t})},e.setRoomAffiliation=(t,n,r,i)=>e.sendIQ({muc:{type:"user-list",users:[{affiliation:r,jid:n,reason:i}]},to:t,type:"set"}),e.setRoomRole=(t,n,r,i)=>e.sendIQ({muc:{type:"user-list",users:[{nick:n,reason:i,role:r}]},to:t,type:"set"}),e.getRoomMembers=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{affiliation:"member"};return e.sendIQ({muc:{type:"user-list",users:[n]},to:t,type:"get"})},e.getRoomConfig=async t=>{const n=await e.sendIQ({muc:{type:"configure"},to:t,type:"get"});if(!n.muc.form)throw new Error("No configuration form returned");return n.muc.form},e.configureRoom=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.sendIQ({muc:{form:{...n,type:"submit"},type:"configure"},to:t,type:"set"})},e.destroyRoom=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.sendIQ({muc:{destroy:n,type:"configure"},to:t,type:"set"})},e.getUniqueRoomName=async function(e){const t=await this.sendIQ({muc:{type:"unique"},to:e,type:"get"});if(!t.muc.name)throw new Error("No unique name returned");return t.muc.name},e.getBookmarks=async()=>{const t=await e.getPrivateData("bookmarks");return t&&t.rooms?t.rooms:[]},e.setBookmarks=t=>e.setPrivateData("bookmarks",{rooms:t}),e.addBookmark=async t=>{const n=await e.getBookmarks(),r=[];let i=!1;for(const e of n)s.equalBare(e.jid,t.jid)?(r.push({...e,...t}),i=!0):r.push(e);return i||r.push(t),e.setBookmarks(r)},e.removeBookmark=async t=>{const n=(await e.getBookmarks()).filter(e=>!s.equalBare(e.jid,t));return e.setBookmarks(n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.disco.addFeature(r.NS_ACTIVITY),e.disco.addFeature(r.NS_GEOLOC),e.disco.addFeature(r.NS_MOOD),e.disco.addFeature(r.NS_NICK),e.disco.addFeature(r.NS_TUNE),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_ACTIVITY)),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_GEOLOC)),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_MOOD)),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_NICK)),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_TUNE)),e.publishActivity=t=>e.publish("",r.NS_ACTIVITY,{itemType:r.NS_ACTIVITY,...t}),e.publishGeoLoc=t=>e.publish("",r.NS_GEOLOC,{itemType:r.NS_GEOLOC,...t}),e.publishMood=t=>e.publish("",r.NS_MOOD,{itemType:r.NS_MOOD,...t}),e.publishNick=t=>e.publish("",r.NS_NICK,{itemType:r.NS_NICK,nick:t}),e.publishTune=t=>e.publish("",r.NS_TUNE,{itemType:r.NS_TUNE,...t}),e.on("pubsub:published",t=>{const n=t.pubsub.items.published[0].content;switch(t.pubsub.items.node){case r.NS_ACTIVITY:return e.emit("activity",{activity:n,jid:t.from});case r.NS_GEOLOC:return e.emit("geoloc",{geoloc:n,jid:t.from});case r.NS_MOOD:return e.emit("mood",{jid:t.from,mood:n});case r.NS_NICK:return e.emit("nick",{jid:t.from,nick:n.nick});case r.NS_TUNE:return e.emit("tune",{jid:t.from,tune:t.pubsub.items.published[0].content})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(3).__importStar)(n(10)),i=n(1);t.default=function(e){e.disco.addFeature(i.NS_SHIM+"#SubID",i.NS_SHIM),e.on("message",t=>{!function(e){return!!e.pubsub&&!(e.pubsub.context&&"user"!==e.pubsub.context||!e.pubsub.affiliations)}(t)?function(e){return!!e.pubsub}(t)&&(e.emit("pubsub:event",t),!function(e){return!!e.pubsub.items&&!!e.pubsub.items.published}(t)?!function(e){return!!e.pubsub.items&&!!e.pubsub.items.retracted}(t)?!function(e){return"purge"===e.pubsub.eventType}(t)?!function(e){return"delete"===e.pubsub.eventType}(t)?!function(e){return"subscription"===e.pubsub.eventType}(t)?function(e){return"configuration"===e.pubsub.eventType}(t)&&e.emit("pubsub:config",t):e.emit("pubsub:subscription",t):e.emit("pubsub:deleted",t):e.emit("pubsub:purged",t):e.emit("pubsub:retracted",t):e.emit("pubsub:published",t)):e.emit("pubsub:affiliations",t)}),e.subscribeToNode=async(t,n)=>{const i={};let s;"string"==typeof n?(i.node=n,i.jid=r.toBare(e.jid)):(i.node=n.node,i.jid=n.jid||(n.useBareJID?r.toBare(e.jid):e.jid),s=n.options);const o=await e.sendIQ({pubsub:{context:"user",subscribe:i,subscriptionOptions:s?{form:s}:void 0},to:t,type:"set"}),a=o.pubsub.subscription||{};return o.pubsub.subscriptionOptions&&(a.options=o.pubsub.subscriptionOptions.form),a},e.unsubscribeFromNode=async(t,n)=>{const i={};"string"==typeof n?(i.node=n,i.jid=r.toBare(e.jid)):(i.node=n.node,i.subid=n.subid,i.jid=n.jid||(n.useBareJID?r.toBare(e.jid):e.jid));const s=await e.sendIQ({pubsub:{context:"user",unsubscribe:i},to:t,type:"set"});return s.pubsub&&s.pubsub.subscription?s.pubsub.subscription:{...i,state:"none"}},e.publish=(t,n,r,i)=>e.sendIQ({pubsub:{context:"user",publish:{item:{content:r,id:i},node:n}},to:t,type:"set"}),e.getItem=async(t,n,r)=>(await e.sendIQ({pubsub:{context:"user",fetch:{items:[{id:r}],node:n}},to:t,type:"get"})).pubsub.fetch.items[0],e.getItems=async function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=await e.sendIQ({pubsub:{context:"user",fetch:{max:r.max,node:n},paging:r},to:t,type:"get"}),s=i.pubsub.fetch;return s.paging=i.pubsub.paging,s},e.retract=(t,n,r,i)=>e.sendIQ({pubsub:{context:"user",retract:{id:r,node:n,notify:i}},to:t,type:"set"}),e.purgeNode=(t,n)=>e.sendIQ({pubsub:{context:"owner",purge:n},to:t,type:"set"}),e.deleteNode=(t,n,r)=>e.sendIQ({pubsub:{context:"owner",destroy:{node:n,redirect:r}},to:t,type:"set"}),e.createNode=async(t,n,r)=>{const i=await e.sendIQ({pubsub:{configure:r?{form:r}:void 0,context:"user",create:{node:n}},to:t,type:"set"});return i.pubsub&&i.pubsub.create?i.pubsub.create:{node:n}},e.getSubscriptions=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await e.sendIQ({pubsub:{context:"user",subscriptions:n},to:t,type:"get"});return r.pubsub.subscriptions},e.getAffiliations=(t,n)=>e.sendIQ({pubsub:{affiliations:{node:n}},to:t,type:"get"}),e.getNodeSubscribers=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"string"==typeof n?r.node=n:r={...r,...n},e.sendIQ({pubsub:{context:"owner",subscriptions:r},to:t,type:"get"})},e.updateNodeSubscriptions=(t,n,r)=>e.sendIQ({pubsub:{context:"owner",subscriptions:{items:r,node:n}},to:t,type:"set"}),e.getNodeAffiliations=async(t,n)=>(await e.sendIQ({pubsub:{affiliations:{node:n},context:"owner"},to:t,type:"get"})).pubsub.affiliations,e.updateNodeAffiliations=(t,n,r)=>e.sendIQ({pubsub:{affiliations:{items:r,node:n},context:"owner"},to:t,type:"set"}),e.getNodeConfig=async(t,n)=>(await e.sendIQ({pubsub:{configure:{node:n},context:"owner"},to:t,type:"get"})).pubsub.configure.form||{},e.getDefaultNodeConfig=async t=>(await e.sendIQ({pubsub:{context:"owner",defaultConfiguration:{}},to:t,type:"get"})).pubsub.defaultConfiguration.form||{},e.configureNode=async(t,n,r)=>e.sendIQ({pubsub:{configure:{form:r,node:n},context:"owner"},to:t,type:"set"}),e.getDefaultSubscriptionOptions=async t=>(await e.sendIQ({pubsub:{defaultSubscriptionOptions:{}},to:t,type:"get"})).pubsub.defaultSubscriptionOptions.form||{}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(3).__importStar)(n(10));t.default=function(e){async function t(t,n){await e.sendIQ({blockList:{action:t,jids:[n]},type:"set"})}e.on("iq:set:roster",t=>{if(!r.allowedResponders(e.jid).has(t.from))return e.sendIQError(t,{error:{condition:"service-unavailable",type:"cancel"}});e.emit("roster:update",t),e.sendIQResult(t)}),e.on("iq:set:blockList",t=>{if(!r.allowedResponders(e.jid).has(t.from))return e.sendIQError(t,{error:{condition:"service-unavailable",type:"cancel"}});const n=t.blockList;e.emit(n.action,{jids:n.jids||[]}),e.sendIQResult(t)}),e.getRoster=async()=>{const t=await e.sendIQ({roster:{version:e.config.rosterVer},type:"get"});if(t.roster){const n=t.roster.version;return n&&(e.config.rosterVer=n,e.emit("roster:ver",n)),t.roster.items=t.roster.items||[],t.roster}return{items:[]}},e.updateRosterItem=async t=>{await e.sendIQ({roster:{items:[t]},type:"set"})},e.removeRosterItem=t=>e.updateRosterItem({jid:t,subscription:"remove"}),e.subscribe=t=>{e.sendPresence({type:"subscribe",to:t})},e.unsubscribe=t=>{e.sendPresence({type:"unsubscribe",to:t})},e.acceptSubscription=t=>{e.sendPresence({type:"subscribed",to:t})},e.denySubscription=t=>{e.sendPresence({type:"unsubscribed",to:t})},e.getBlocked=async()=>({jids:[],...(await e.sendIQ({blockList:{action:"list"},type:"get"})).blockList}),e.block=async e=>t("block",e),e.unblock=async e=>t("unblock",e),e.goInvisible=async function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];await e.sendIQ({type:"set",visiblity:{probe:t,type:"invisible"}})},e.goVisible=async()=>{await e.sendIQ({type:"set",visiblity:{type:"visible"}})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.registerFeature("sasl",100,async(t,n)=>{const r=e.sasl.createMechanism(t.sasl.mechanisms),i=async t=>{if(r)switch(t.type){case"success":return e.features.negotiated.sasl=!0,e.off("sasl",i),e.emit("auth:success",e.config.credentials),e.transport&&(e.transport.authenticated=!0),void n("restart");case"challenge":r.processChallenge(t.value);try{const t=await e.getCredentials(),n=r.createResponse(t);n||""===n?e.send("sasl",{type:"response",value:n}):e.send("sasl",{type:"response"});const i=r.getCacheableCredentials();i&&(e.config.credentials||(e.config.credentials={}),e.config.credentials={...e.config.credentials,...i},e.emit("credentials:update",e.config.credentials))}catch(t){console.error(t),e.send("sasl",{type:"abort"})}return;case"failure":case"abort":return e.off("sasl",i),e.emit("auth:failed"),void n("disconnect","authentication failed")}};if(!r)return e.off("sasl",i),e.emit("auth:failed"),n("disconnect","authentication failed");e.on("sasl",i),e.once("--reset-stream-features",()=>{e.features.negotiated.sasl=!1,e.off("sasl",i)});try{const t=await e.getCredentials();e.send("sasl",{mechanism:r.name,type:"auth",value:r.createResponse(t)})}catch(t){console.error(t),e.send("sasl",{type:"abort"})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(3).__importStar)(n(10)),i=n(1);t.default=function(e){async function t(t){const n=await e.getDiscoInfo(t);if(!n.features||!n.features.includes(i.NS_HTTP_UPLOAD_0))return;let r;for(const e of n.extensions||[]){const n=e.fields||[];if(n.some(e=>"FORM_TYPE"===e.name&&e.value===i.NS_HTTP_UPLOAD_0)){const e=n.find(e=>"max-file-size"===e.name);return e&&(r=parseInt(e.value,10)),{jid:t,maxSize:r}}}}e.disco.addFeature(i.NS_BOB),e.getBits=async(t,n)=>(await e.sendIQ({bits:{cid:n},to:t,type:"get"})).bits,e.getUploadService=async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.getDomain(e.jid);const i=await t(n);if(i)return i;const s=await e.getDiscoItems(n);for(const e of s.items||[]){if(!e.jid)continue;const n=await t(e.jid);if(n)return n}throw new Error("No upload service discovered on: "+n)},e.getUploadSlot=async(t,n)=>(await e.sendIQ({httpUpload:{type:"request",...n},to:t,type:"get"})).httpUpload}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3);(0,r.__exportStar)(n(120),t),(0,r.__exportStar)(n(121),t),(0,r.__exportStar)(n(122),t),(0,r.__exportStar)(n(123),t),(0,r.__exportStar)(n(124),t),(0,r.__exportStar)(n(125),t),(0,r.__exportStar)(n(126),t),(0,r.__exportStar)(n(127),t),(0,r.__exportStar)(n(128),t),(0,r.__exportStar)(n(129),t),(0,r.__exportStar)(n(130),t),(0,r.__exportStar)(n(131),t),(0,r.__exportStar)(n(132),t),(0,r.__exportStar)(n(133),t),(0,r.__exportStar)(n(134),t),(0,r.__exportStar)(n(135),t),(0,r.__exportStar)(n(136),t),(0,r.__exportStar)(n(137),t),(0,r.__exportStar)(n(138),t),(0,r.__exportStar)(n(139),t),(0,r.__exportStar)(n(140),t),(0,r.__exportStar)(n(141),t),(0,r.__exportStar)(n(142),t),(0,r.__exportStar)(n(143),t),(0,r.__exportStar)(n(144),t),(0,r.__exportStar)(n(145),t),(0,r.__exportStar)(n(146),t),(0,r.__exportStar)(n(147),t),(0,r.__exportStar)(n(148),t),(0,r.__exportStar)(n(149),t),(0,r.__exportStar)(n(150),t),(0,r.__exportStar)(n(151),t),(0,r.__exportStar)(n(152),t),(0,r.__exportStar)(n(153),t),(0,r.__exportStar)(n(154),t),(0,r.__exportStar)(n(155),t),(0,r.__exportStar)(n(156),t),(0,r.__exportStar)(n(157),t),(0,r.__exportStar)(n(158),t),(0,r.__exportStar)(n(159),t),(0,r.__exportStar)(n(160),t),(0,r.__exportStar)(n(161),t),(0,r.__exportStar)(n(162),t),(0,r.__exportStar)(n(163),t),(0,r.__exportStar)(n(164),t),(0,r.__exportStar)(n(165),t),(0,r.__exportStar)(n(166),t),(0,r.__exportStar)(n(167),t),(0,r.__exportStar)(n(168),t),(0,r.__exportStar)(n(169),t),(0,r.__exportStar)(n(170),t),(0,r.__exportStar)(n(171),t),(0,r.__exportStar)(n(172),t),(0,r.__exportStar)(n(173),t),(0,r.__exportStar)(n(174),t),(0,r.__exportStar)(n(175),t),(0,r.__exportStar)(n(176),t),(0,r.__exportStar)(n(177),t),(0,r.__exportStar)(n(178),t),(0,r.__exportStar)(n(179),t),(0,r.__exportStar)(n(180),t),(0,r.__exportStar)(n(181),t),(0,r.__exportStar)(n(182),t),(0,r.__exportStar)(n(183),t),(0,r.__exportStar)(n(184),t),(0,r.__exportStar)(n(185),t),(0,r.__exportStar)(n(186),t),(0,r.__exportStar)(n(187),t),(0,r.__exportStar)(n(188),t),(0,r.__exportStar)(n(189),t),(0,r.__exportStar)(n(190),t),(0,r.__exportStar)(n(191),t),(0,r.__exportStar)(n(192),t),(0,r.__exportStar)(n(193),t),(0,r.__exportStar)(n(194),t),(0,r.__exportStar)(n(195),t),(0,r.__exportStar)(n(196),t),(0,r.__exportStar)(n(197),t),(0,r.__exportStar)(n(198),t),(0,r.__exportStar)(n(199),t),(0,r.__exportStar)(n(62),t);const i=(0,r.__importDefault)(n(120)),s=(0,r.__importDefault)(n(121)),o=(0,r.__importDefault)(n(122)),a=(0,r.__importDefault)(n(123)),c=(0,r.__importDefault)(n(124)),u=(0,r.__importDefault)(n(125)),l=(0,r.__importDefault)(n(126)),d=(0,r.__importDefault)(n(127)),p=(0,r.__importDefault)(n(128)),h=(0,r.__importDefault)(n(129)),f=(0,r.__importDefault)(n(130)),m=(0,r.__importDefault)(n(131)),g=(0,r.__importDefault)(n(132)),y=(0,r.__importDefault)(n(133)),b=(0,r.__importDefault)(n(134)),v=(0,r.__importDefault)(n(135)),_=(0,r.__importDefault)(n(136)),S=(0,r.__importDefault)(n(137)),w=(0,r.__importDefault)(n(138)),T=(0,r.__importDefault)(n(139)),I=(0,r.__importDefault)(n(140)),A=(0,r.__importDefault)(n(141)),N=(0,r.__importDefault)(n(142)),E=(0,r.__importDefault)(n(143)),x=(0,r.__importDefault)(n(144)),C=(0,r.__importDefault)(n(145)),R=(0,r.__importDefault)(n(146)),O=(0,r.__importDefault)(n(147)),P=(0,r.__importDefault)(n(148)),k=(0,r.__importDefault)(n(149)),j=(0,r.__importDefault)(n(150)),L=(0,r.__importDefault)(n(151)),M=(0,r.__importDefault)(n(153)),D=(0,r.__importDefault)(n(154)),B=(0,r.__importDefault)(n(155)),F=(0,r.__importDefault)(n(152)),q=(0,r.__importDefault)(n(156)),U=(0,r.__importDefault)(n(157)),J=(0,r.__importDefault)(n(158)),z=(0,r.__importDefault)(n(159)),G=(0,r.__importDefault)(n(160)),H=(0,r.__importDefault)(n(161)),V=(0,r.__importDefault)(n(162)),W=(0,r.__importDefault)(n(163)),$=(0,r.__importDefault)(n(164)),Q=(0,r.__importDefault)(n(165)),K=(0,r.__importDefault)(n(166)),Y=(0,r.__importDefault)(n(167)),X=(0,r.__importDefault)(n(168)),Z=(0,r.__importDefault)(n(169)),ee=(0,r.__importDefault)(n(170)),te=(0,r.__importDefault)(n(171)),ne=(0,r.__importDefault)(n(172)),re=(0,r.__importDefault)(n(173)),ie=(0,r.__importDefault)(n(174)),se=(0,r.__importDefault)(n(175)),oe=(0,r.__importDefault)(n(176)),ae=(0,r.__importDefault)(n(177)),ce=(0,r.__importDefault)(n(178)),ue=(0,r.__importDefault)(n(179)),le=(0,r.__importDefault)(n(180)),de=(0,r.__importDefault)(n(181)),pe=(0,r.__importDefault)(n(182)),he=(0,r.__importDefault)(n(183)),fe=(0,r.__importDefault)(n(184)),me=(0,r.__importDefault)(n(185)),ge=(0,r.__importDefault)(n(186)),ye=(0,r.__importDefault)(n(187)),be=(0,r.__importDefault)(n(188)),ve=(0,r.__importDefault)(n(189)),_e=(0,r.__importDefault)(n(190)),Se=(0,r.__importDefault)(n(191)),we=(0,r.__importDefault)(n(192)),Te=(0,r.__importDefault)(n(193)),Ie=(0,r.__importDefault)(n(194)),Ae=(0,r.__importDefault)(n(195)),Ne=(0,r.__importDefault)(n(196)),Ee=(0,r.__importDefault)(n(197)),xe=(0,r.__importDefault)(n(198)),Ce=(0,r.__importDefault)(n(199)),Re=(0,r.__importDefault)(n(62)),Oe=[i.default,s.default,o.default,a.default,c.default,u.default,l.default,d.default,p.default,h.default,f.default,m.default,g.default,y.default,b.default,v.default,_.default,S.default,w.default,T.default,I.default,A.default,N.default,E.default,x.default,C.default,R.default,O.default,P.default,k.default,j.default,L.default,M.default,D.default,B.default,F.default,q.default,U.default,J.default,z.default,G.default,H.default,V.default,W.default,$.default,Q.default,K.default,Y.default,X.default,Z.default,ee.default,te.default,ne.default,re.default,ie.default,se.default,oe.default,ae.default,ce.default,ue.default,le.default,de.default,pe.default,he.default,fe.default,me.default,ge.default,ye.default,be.default,ve.default,_e.default,Se.default,we.default,Te.default,Ie.default,Ae.default,Ne.default,Ee.default,xe.default,Ce.default,Re.default];t.default=Oe},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:["features.legacySession","iq.legacySession"],element:"session",fields:{optional:(0,r.childBoolean)(null,"optional")},namespace:i.NS_SESSION};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["atomentry",...(0,r.pubsubItemContentAliases)()],element:"entry",fields:{id:(0,r.childText)(null,"id"),published:(0,r.childDate)(null,"published"),updated:(0,r.childDate)(null,"updated")},namespace:i.NS_ATOM,type:i.NS_ATOM,typeField:"itemType"},{element:"summary",fields:{text:(0,r.text)(),type:(0,r.attribute)("type","text")},namespace:i.NS_ATOM,path:"atomentry.summary"},{element:"title",fields:{text:(0,r.text)(),type:(0,r.attribute)("type","text")},namespace:i.NS_ATOM,path:"atomentry.title"},{aliases:[{path:"atomentry.links",multiple:!0}],element:"link",fields:{href:(0,r.attribute)("href"),mediaType:(0,r.attribute)("type"),rel:(0,r.attribute)("rel")},namespace:i.NS_ATOM},{aliases:[{path:"atomentry.authors",multiple:!0}],element:"author",fields:{name:(0,r.childText)(null,"name"),uri:(0,r.childText)(null,"uri"),email:(0,r.childText)(null,"email")},namespace:i.NS_ATOM},{aliases:[{path:"atomentry.contributors",multiple:!0}],element:"contributor",fields:{name:(0,r.childText)(null,"name"),uri:(0,r.childText)(null,"uri"),email:(0,r.childText)(null,"email")},namespace:i.NS_ATOM},{aliases:[{path:"atomentry.categories",multiple:!0}],element:"category",fields:{term:(0,r.attribute)("term"),scheme:(0,r.attribute)("scheme"),label:(0,r.attribute)("label")},namespace:i.NS_ATOM},{element:"content",fields:{text:(0,r.text)(),type:(0,r.attribute)("type","text")},namespace:i.NS_ATOM,path:"atomentry.content"},{element:"rights",fields:{text:(0,r.text)(),type:(0,r.attribute)("type","text")},namespace:i.NS_ATOM,path:"atomentry.rights"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o={defaultType:"stream",element:"stream",fields:{from:(0,i.attribute)("from"),id:(0,i.attribute)("id"),lang:(0,i.languageAttribute)(),to:(0,i.attribute)("to"),version:(0,i.attribute)("version")},namespace:s.NS_STREAM,path:"stream",type:"stream",typeField:"action"},a={element:"features",namespace:s.NS_STREAM,path:"features"},c={element:"error",fields:{alternateLanguageText:(0,i.childAlternateLanguageText)(s.NS_STREAMS,"text"),condition:(0,i.childEnum)(s.NS_STREAMS,Object.values(r.StreamErrorCondition),r.StreamErrorCondition.UndefinedCondition),seeOtherHost:(0,i.childText)(s.NS_STREAMS,r.StreamErrorCondition.SeeOtherHost),text:(0,i.childText)(s.NS_STREAMS,"text")},namespace:s.NS_STREAM,path:"streamError"},u=Object.values(r.StreamType).map(e=>({aliases:["stanzaError","message.error","presence.error","iq.error"],defaultType:s.NS_CLIENT,element:"error",fields:{alternateLanguageText:(0,i.childAlternateLanguageText)(s.NS_STANZAS,"text"),by:(0,i.JIDAttribute)("by"),condition:(0,i.childEnum)(s.NS_STANZAS,Object.values(r.StanzaErrorCondition),r.StanzaErrorCondition.UndefinedCondition),gone:(0,i.childText)(s.NS_STANZAS,r.StanzaErrorCondition.Gone),redirect:(0,i.childText)(s.NS_STANZAS,r.StanzaErrorCondition.Redirect),text:(0,i.childText)(s.NS_STANZAS,"text"),type:(0,i.attribute)("type")},namespace:e,type:e,typeField:"streamType"})),l=new Set(["from","id","lang","to","type","payloadType","error","streamType"]),d=Object.values(r.StreamType).map(e=>({childrenExportOrder:{error:2e5},defaultType:s.NS_CLIENT,element:"iq",fields:{from:(0,i.JIDAttribute)("from"),id:(0,i.attribute)("id"),lang:(0,i.languageAttribute)(),payloadType:{order:-1e4,importer(e,t){if("get"!==t.data.type&&"set"!==t.data.type)return;if(1!==e.children.filter(e=>"string"!=typeof e).length)return"invalid-payload-count";const n=Object.keys(t.data).filter(e=>!l.has(e));return 1!==n.length?"unknown-payload":n[0]}},to:(0,i.JIDAttribute)("to"),type:(0,i.attribute)("type")},namespace:e,path:"iq",type:e,typeField:"streamType"})),p=Object.values(r.StreamType).map(e=>({childrenExportOrder:{error:2e5},defaultType:s.NS_CLIENT,element:"message",fields:{from:(0,i.JIDAttribute)("from"),id:(0,i.attribute)("id"),lang:(0,i.languageAttribute)(),to:(0,i.JIDAttribute)("to")},namespace:e,path:"message",type:e,typeField:"streamType"})),h=Object.values(r.StreamType).map(e=>({childrenExportOrder:{error:2e5},defaultType:s.NS_CLIENT,element:"presence",fields:{from:(0,i.JIDAttribute)("from"),id:(0,i.attribute)("id"),lang:(0,i.languageAttribute)(),to:(0,i.JIDAttribute)("to")},namespace:e,path:"presence",type:e,typeField:"streamType"})),f=[o,a,c,...u,...[{element:"mechanisms",fields:{mechanisms:(0,i.multipleChildText)(null,"mechanism")},namespace:s.NS_SASL,path:"features.sasl"},{element:"abort",namespace:s.NS_SASL,path:"sasl",type:"abort",typeField:"type"},{element:"auth",fields:{mechanism:(0,i.attribute)("mechanism"),value:(0,i.textBuffer)("base64")},namespace:s.NS_SASL,path:"sasl",type:"auth",typeField:"type"},{element:"challenge",fields:{value:(0,i.textBuffer)("base64")},namespace:s.NS_SASL,path:"sasl",type:"challenge",typeField:"type"},{element:"response",fields:{value:(0,i.textBuffer)("base64")},namespace:s.NS_SASL,path:"sasl",type:"response",typeField:"type"},{element:"success",fields:{value:(0,i.textBuffer)("base64")},namespace:s.NS_SASL,path:"sasl",type:"success",typeField:"type"},{element:"failure",fields:{alternateLanguageText:(0,i.childAlternateLanguageText)(s.NS_SASL,"text"),condition:(0,i.childEnum)(s.NS_SASL,Object.values(r.SASLFailureCondition)),text:(0,i.childText)(s.NS_SASL,"text")},namespace:s.NS_SASL,path:"sasl",type:"failure",typeField:"type"}],...[{aliases:["features.tls"],defaultType:"start",element:"starttls",fields:{required:(0,i.childBoolean)(null,"required")},namespace:s.NS_STARTTLS,path:"tls",type:"start",typeField:"type"},{element:"proceed",namespace:s.NS_STARTTLS,path:"tls",type:"proceed",typeField:"type"},{element:"failure",namespace:s.NS_STARTTLS,path:"tls",type:"failure",typeField:"type"}],...d,...p,...h,{aliases:["features.bind","iq.bind"],element:"bind",fields:{jid:(0,i.childText)(null,"jid"),resource:(0,i.childText)(null,"resource")},namespace:s.NS_BIND}];t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStreamFeatures)({rosterPreApproval:(0,r.childBoolean)(i.NS_SUBSCRIPTION_PREAPPROVAL,"sub"),rosterVersioning:(0,r.childBoolean)(i.NS_ROSTER_VERSIONING,"ver")}),(0,r.extendMessage)({alternateLanguageBodies:(0,r.childAlternateLanguageText)(null,"body"),alternateLanguageSubjects:(0,r.childAlternateLanguageText)(null,"subject"),body:(0,r.childText)(null,"body"),hasSubject:(0,r.childBoolean)(null,"subject"),parentThread:(0,r.childAttribute)(null,"thread","parent"),subject:(0,r.childText)(null,"subject"),thread:(0,r.childText)(null,"thread"),type:(0,r.attribute)("type")}),(0,r.extendPresence)({alternateLanguageStatuses:(0,r.childAlternateLanguageText)(null,"status"),priority:(0,r.childInteger)(null,"priority",0),show:(0,r.childText)(null,"show"),status:(0,r.childText)(null,"status"),type:(0,r.attribute)("type")}),{element:"query",fields:{version:(0,r.attribute)("ver",void 0,{emitEmpty:!0})},namespace:i.NS_ROSTER,path:"iq.roster"},{aliases:[{path:"iq.roster.items",multiple:!0}],element:"item",fields:{groups:(0,r.multipleChildText)(null,"group"),jid:(0,r.JIDAttribute)("jid"),name:(0,r.attribute)("name"),pending:(0,r.attribute)("ask"),preApproved:(0,r.booleanAttribute)("approved"),subscription:(0,r.attribute)("subscription")},namespace:i.NS_ROSTER}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"open",fields:{from:(0,r.attribute)("from"),id:(0,r.attribute)("id"),lang:(0,r.languageAttribute)(),to:(0,r.attribute)("to"),version:(0,r.attribute)("version")},namespace:i.NS_FRAMING,path:"stream",type:"open"},{element:"close",fields:{seeOtherURI:(0,r.attribute)("see-other-uri")},namespace:i.NS_FRAMING,path:"stream",type:"close"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o=[{aliases:[{path:"message.forms",multiple:!0}],element:"x",fields:{instructions:{...(0,i.multipleChildText)(null,"instructions"),exportOrder:2},reported:{...(0,i.splicePath)(null,"reported","dataformField",!0),exportOrder:3},title:{...(0,i.childText)(null,"title"),exportOrder:1},type:(0,i.attribute)("type")},namespace:s.NS_DATAFORM,optionalNamespaces:{xdv:s.NS_DATAFORM_VALIDATION},path:"dataform"},{aliases:[{path:"dataform.fields",multiple:!0},{path:"dataform.items.fields",multiple:!0}],element:"field",fields:{description:(0,i.childText)(null,"desc"),label:(0,i.attribute)("label"),name:(0,i.attribute)("var"),rawValues:{...(0,i.multipleChildText)(null,"value"),exporter:()=>null},required:(0,i.childBoolean)(null,"required"),type:(0,i.attribute)("type"),value:{importer(e,t){const n=e.getAttribute("type"),o=(0,i.multipleChildText)(s.NS_DATAFORM,"value").importer(e,t),a=o[0];switch(n){case r.DataFormFieldType.TextMultiple:case r.DataFormFieldType.ListMultiple:case r.DataFormFieldType.JIDMultiple:return o;case r.DataFormFieldType.Hidden:case r.DataFormFieldType.Fixed:return 1===o.length?a:o;case r.DataFormFieldType.Boolean:if(a)return"1"===a||"true"===a;break;default:return a}},exporter(e,t,n){const r=(0,i.multipleChildText)(null,"value");let o=[];const a=n.data&&n.data.rawValues?n.data.rawValues[0]:void 0;if("boolean"==typeof t)o="true"===a||"false"===a?[a]:[t?"1":"0"];else if(Array.isArray(t))for(const e of t)o.push(e.toString());else o=[t.toString()];r.exporter(e,o,Object.assign({},n,{namespace:s.NS_DATAFORM}))}}},namespace:s.NS_DATAFORM,path:"dataformField"},{aliases:[{path:"dataform.fields.options",multiple:!0}],element:"option",fields:{label:(0,i.attribute)("label"),value:(0,i.childText)(null,"value")},namespace:s.NS_DATAFORM},{aliases:[{path:"dataform.items",multiple:!0}],element:"item",namespace:s.NS_DATAFORM},{element:"validate",fields:{listMax:(0,i.childIntegerAttribute)(null,"list-range","max"),listMin:(0,i.childIntegerAttribute)(null,"list-range","min"),method:(0,i.childEnum)(null,["basic","open","range","regex"],"basic"),rangeMax:(0,i.childAttribute)(null,"range","max"),rangeMin:(0,i.childAttribute)(null,"range","min"),regex:(0,i.childText)(null,"regex"),type:(0,i.attribute)("datatype","xs:string")},namespace:s.NS_DATAFORM_VALIDATION,path:"dataform.fields.validation"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["presence.legacyLastActivity","iq.lastActivity"],element:"query",fields:{seconds:(0,r.integerAttribute)("seconds"),status:(0,r.text)()},namespace:i.NS_LAST_ACTIVITY}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"query",fields:{activeList:(0,r.childAttribute)(null,"active","name"),defaultList:(0,r.childAttribute)(null,"default","name")},namespace:i.NS_PRIVACY,path:"iq.privacy"},{aliases:[{path:"iq.privacy.lists",multiple:!0}],element:"list",fields:{name:(0,r.attribute)("name")},namespace:i.NS_PRIVACY},{aliases:[{path:"iq.privacy.lists.items",multiple:!0}],element:"item",fields:{action:(0,r.attribute)("action"),incomingPresence:(0,r.childBoolean)(null,"presence-in"),iq:(0,r.childBoolean)(null,"iq"),messages:(0,r.childBoolean)(null,"message"),order:(0,r.integerAttribute)("order"),outgoingPresence:(0,r.childBoolean)(null,"presence-out"),type:(0,r.attribute)("type"),value:(0,r.attribute)("value")},namespace:i.NS_PRIVACY}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["iq.disco","message.disco","features.disco"],childrenExportOrder:{identities:1,features:2,extensions:3},element:"query",fields:{features:(0,r.multipleChildAttribute)(null,"feature","var"),node:(0,r.attribute)("node")},namespace:i.NS_DISCO_INFO,path:"disco",type:"info",typeField:"type"},{aliases:[{path:"disco.identities",selector:"info",multiple:!0}],element:"identity",fields:{category:(0,r.attribute)("category"),lang:(0,r.languageAttribute)(),name:(0,r.attribute)("name"),type:(0,r.attribute)("type")},namespace:i.NS_DISCO_INFO},{aliases:[{path:"disco.items",multiple:!0,selector:"items"}],element:"item",fields:{jid:(0,r.JIDAttribute)("jid"),name:(0,r.attribute)("name"),node:(0,r.attribute)("node")},namespace:i.NS_DISCO_ITEMS},{aliases:[{path:"disco.items",multiple:!0,selector:"info"}],element:"item",fields:{category:(0,r.JIDAttribute)("category"),lang:(0,r.languageAttribute)(),name:(0,r.attribute)("name"),type:(0,r.attribute)("type")},namespace:i.NS_DISCO_INFO},(0,r.addAlias)(i.NS_DATAFORM,"x",[{path:"disco.extensions",multiple:!0,selector:"info"}]),(0,r.addAlias)(i.NS_RSM,"set",[{path:"disco.paging",selector:"items"}]),{aliases:["iq.disco","message.disco","features.disco"],element:"query",fields:{node:(0,r.attribute)("node")},namespace:i.NS_DISCO_ITEMS,path:"disco",type:"items",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({addresses:(0,r.splicePath)(i.NS_ADDRESS,"addresses","extendedAddress",!0)}),(0,r.extendPresence)({addresses:(0,r.splicePath)(i.NS_ADDRESS,"addresses","extendedAddress",!0)}),{element:"address",fields:{alternateLanguageDescriptions:(0,r.childAlternateLanguageText)(null,"desc"),delivered:(0,r.booleanAttribute)("delivered"),description:(0,r.attribute)("desc"),jid:(0,r.JIDAttribute)("jid"),node:(0,r.attribute)("node"),type:(0,r.attribute)("type"),uri:(0,r.attribute)("uri")},namespace:i.NS_ADDRESS,path:"extendedAddress"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_DATAFORM,"x",[{path:"iq.muc.form",selector:"configure"}]),{defaultType:"info",element:"x",fields:{password:(0,r.childText)(null,"password")},namespace:i.NS_MUC,path:"presence.muc",type:"join",typeField:"type"},{aliases:[{path:"presence.muc.history",selector:"join"}],element:"history",fields:{maxCharacters:(0,r.integerAttribute)("maxchars"),maxStanzas:(0,r.integerAttribute)("maxstanzas"),seconds:(0,r.integerAttribute)("seconds"),since:(0,r.dateAttribute)("since")},namespace:i.NS_MUC},{aliases:["presence.muc","message.muc"],defaultType:"info",element:"x",fields:{action:(0,r.childEnum)(null,["invite","decline","destroy"]),actor:(0,r.splicePath)(null,"item","mucactor"),affiliation:(0,r.childAttribute)(null,"item","affiliation"),jid:(0,r.childJIDAttribute)(null,"item","jid"),nick:(0,r.childAttribute)(null,"item","nick"),password:(0,r.childText)(null,"password"),reason:(0,r.deepChildText)([{namespace:null,element:"item"},{namespace:null,element:"reason"}]),role:(0,r.childAttribute)(null,"item","role"),statusCodes:(0,r.multipleChildAttribute)(null,"status","code")},namespace:i.NS_MUC_USER,type:"info",typeField:"type",typeOrder:1},{element:"actor",fields:{jid:(0,r.JIDAttribute)("jid"),nick:(0,r.attribute)("nick")},namespace:i.NS_MUC_USER,path:"mucactor"},{element:"destroy",fields:{jid:(0,r.JIDAttribute)("jid"),password:(0,r.childText)(null,"password"),reason:(0,r.childText)(null,"reason")},namespace:i.NS_MUC_USER,path:"presence.muc.destroy"},{aliases:[{path:"message.muc.invite",multiple:!0}],element:"invite",fields:{continue:(0,r.childBoolean)(null,"continue"),from:(0,r.JIDAttribute)("from"),reason:(0,r.childText)(null,"reason"),thread:(0,r.childAttribute)(null,"continue","thread"),to:(0,r.JIDAttribute)("to")},namespace:i.NS_MUC_USER},{element:"decline",fields:{from:(0,r.JIDAttribute)("from"),reason:(0,r.childText)(null,"reason"),to:(0,r.JIDAttribute)("to")},namespace:i.NS_MUC_USER,path:"message.muc",type:"decline"},{element:"query",namespace:i.NS_MUC_ADMIN,path:"iq.muc",type:"user-list",typeField:"type"},{aliases:[{path:"iq.muc.users",multiple:!0,selector:"user-list"}],element:"item",fields:{affiliation:(0,r.attribute)("affiliation"),jid:(0,r.JIDAttribute)("jid"),nick:(0,r.attribute)("nick"),reason:(0,r.childText)(null,"reason"),role:(0,r.attribute)("role")},namespace:i.NS_MUC_ADMIN},{aliases:["iq.muc.users.actor"],element:"actor",fields:{jid:(0,r.JIDAttribute)("jid"),nick:(0,r.attribute)("nick")},namespace:i.NS_MUC_ADMIN},{element:"query",namespace:i.NS_MUC_OWNER,path:"iq.muc",type:"configure",typeField:"type"},{aliases:[{path:"iq.muc.destroy",selector:"configure"}],element:"destroy",fields:{jid:(0,r.JIDAttribute)("jid"),password:(0,r.childText)(null,"password"),reason:(0,r.childText)(null,"reason")},namespace:i.NS_MUC_OWNER},{element:"x",fields:{action:(0,r.staticValue)("invite"),continue:(0,r.booleanAttribute)("continue"),jid:(0,r.JIDAttribute)("jid"),legacyReason:(0,r.text)(),password:(0,r.attribute)("password"),reason:(0,r.attribute)("reason"),thread:(0,r.attribute)("thread")},namespace:i.NS_MUC_DIRECT_INVITE,path:"message.muc",type:"direct-invite",typeOrder:2},{element:"unique",fields:{name:(0,r.text)()},namespace:i.NS_MUC_UNIQUE,path:"iq.muc",type:"unique"},(0,r.extendMessage)({legacyMUC:{exporter(e,t,n){const r=n.registry?n.registry.export("message.muc",{...t,type:"direct-invite"}):void 0;r&&e.appendChild(r)},exportOrder:100001,importer(e,t){if(!(0,r.findAll)(e,i.NS_MUC_USER,"x")[0])return;const n=(0,r.findAll)(e,i.NS_MUC_DIRECT_INVITE,"x")[0];return n&&t.registry?t.registry.import(n,{...t,path:"message"}):void 0},importOrder:-1}})];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["iq.ibb","message.ibb"],element:"open",fields:{ack:{importer:(e,t)=>"message"!==(0,r.attribute)("stanza","iq").importer(e,t),exporter(e,t,n){(0,r.attribute)("stanza").exporter(e,t?"iq":"message",n)}},blockSize:(0,r.integerAttribute)("block-size"),sid:(0,r.attribute)("sid")},namespace:i.NS_IBB,type:"open",typeField:"action"},{aliases:["iq.ibb","message.ibb"],element:"close",fields:{sid:(0,r.attribute)("sid")},namespace:i.NS_IBB,type:"close",typeField:"action"},{aliases:["iq.ibb","message.ibb"],element:"data",fields:{data:(0,r.textBuffer)("base64"),seq:(0,r.integerAttribute)("seq"),sid:(0,r.attribute)("sid")},namespace:i.NS_IBB,type:"data",typeField:"action"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:[{path:"bookmarkStorage",impliedType:!0},{path:"iq.privateStorage.bookmarks",impliedType:!0},...(0,r.pubsubItemContentAliases)()],element:"storage",namespace:i.NS_BOOKMARKS,type:i.NS_BOOKMARKS,typeField:"itemType"},{aliases:[{path:"bookmarkStorage.rooms",multiple:!0}],element:"conference",fields:{autoJoin:(0,r.booleanAttribute)("autojoin"),jid:(0,r.JIDAttribute)("jid"),name:(0,r.attribute)("name"),nick:(0,r.childText)(null,"nick"),password:(0,r.childText)(null,"password")},namespace:i.NS_BOOKMARKS}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={element:"query",namespace:n(1).NS_PRIVATE,path:"iq.privateStorage"};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.command.form"]),(0,r.extendStanzaError)({commandError:(0,r.childEnum)(i.NS_ADHOC_COMMANDS,["bad-action","bad-locale","bad-payload","bad-sessionid","malformed-action","session-expired"])}),{element:"command",fields:{action:(0,r.attribute)("action"),node:(0,r.attribute)("node"),sid:(0,r.attribute)("sessionid"),status:(0,r.attribute)("status")},namespace:i.NS_ADHOC_COMMANDS,path:"iq.command"},{element:"actions",fields:{complete:(0,r.childBoolean)(null,"complete"),execute:(0,r.attribute)("execute"),next:(0,r.childBoolean)(null,"next"),prev:(0,r.childBoolean)(null,"prev")},namespace:i.NS_ADHOC_COMMANDS,path:"iq.command.availableActions"},{aliases:[{path:"iq.command.notes",multiple:!0}],element:"note",fields:{type:(0,r.attribute)("type"),value:(0,r.text)()},namespace:i.NS_ADHOC_COMMANDS}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s="vcardTemp.records";function o(e,t){return{aliases:[{multiple:!0,path:s}],element:e,fields:{value:(0,r.text)()},namespace:i.NS_VCARD_TEMP,type:t,typeField:"type"}}const a=[{aliases:[{path:"iq.vcard"}],defaultType:i.NS_VCARD_TEMP,element:"vCard",fields:{fullName:(0,r.childText)(null,"FN")},namespace:i.NS_VCARD_TEMP,path:"vcardTemp",type:i.NS_VCARD_TEMP,typeField:"format"},{element:"N",fields:{additional:{...(0,r.childText)(null,"MIDDLE"),order:3},family:{...(0,r.childText)(null,"FAMILY"),order:1},given:{...(0,r.childText)(null,"GIVEN"),order:2},prefix:{...(0,r.childText)(null,"PREFIX"),order:4},suffix:{...(0,r.childText)(null,"SUFFIX"),order:5}},namespace:i.NS_VCARD_TEMP,path:"vcardTemp.name"},o("NICKNAME","nickname"),o("BDAY","birthday"),o("JABBERID","jid"),o("TZ","timezone"),o("TITLE","title"),o("ROLE","role"),o("URL","url"),o("NOTE","note"),o("SORT-STRING","sort"),o("UID","uid"),o("REV","revision"),o("PRODID","productId"),o("DESC","description"),{aliases:[{multiple:!0,path:s}],element:"EMAIL",fields:{preferred:(0,r.childBoolean)(null,"PREF"),types:(0,r.multipleChildEnum)(null,[["home","HOME"],["work","WORK"],["internet","INTERNET"]]),value:(0,r.childText)(null,"USERID")},namespace:i.NS_VCARD_TEMP,type:"email"},{aliases:[{path:s,multiple:!0}],element:"ORG",fields:{units:{...(0,r.multipleChildText)(null,"ORGUNIT"),order:2},value:{...(0,r.childText)(null,"ORGNAME"),order:1}},namespace:i.NS_VCARD_TEMP,type:"organization",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"ADR",fields:{city:(0,r.childText)(null,"LOCALITY"),code:(0,r.childText)(null,"PCODE"),country:(0,r.childText)(null,"CTRY"),pobox:(0,r.childText)(null,"POBOX"),preferred:(0,r.childBoolean)(null,"PREF"),region:(0,r.childText)(null,"REGION"),street:(0,r.childText)(null,"STREET"),street2:(0,r.childText)(null,"EXTADD"),types:(0,r.multipleChildEnum)(null,[["home","HOME"],["work","WORK"],["domestic","DOM"],["international","INTL"],["postal","POSTAL"],["parcel","PARCEL"]])},namespace:i.NS_VCARD_TEMP,type:"address",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"LABEL",fields:{lines:(0,r.multipleChildText)(null,"LINE"),preferred:(0,r.childBoolean)(null,"PREF"),types:(0,r.multipleChildEnum)(null,[["home","HOME"],["work","WORK"]])},namespace:i.NS_VCARD_TEMP,type:"addressLabel",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"TEL",fields:{preferred:(0,r.childBoolean)(null,"PREF"),types:(0,r.multipleChildEnum)(null,[["home","HOME"],["work","WORK"],["cell","CELL"],["fax","FAX"],["voice","VOICE"],["msg","MSG"]]),value:(0,r.childText)(null,"NUMBER","",!0)},namespace:i.NS_VCARD_TEMP,type:"tel",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"PHOTO",fields:{data:(0,r.childText)(null,"BINVAL"),mediaType:(0,r.childText)(null,"TYPE"),url:(0,r.childText)(null,"EXTVAL")},namespace:i.NS_VCARD_TEMP,type:"photo",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"LOGO",fields:{data:(0,r.childText)(null,"BINVAL"),mediaType:(0,r.childText)(null,"TYPE"),url:(0,r.childText)(null,"EXTVAL")},namespace:i.NS_VCARD_TEMP,type:"logo",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"CATEGORIES",fields:{value:(0,r.multipleChildText)(null,"KEYWORD")},namespace:i.NS_VCARD_TEMP,type:"categories",typeField:"type"}];t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.search.form"]),(0,r.addAlias)(i.NS_RSM,"set",["iq.search.paging"]),{element:"query",fields:{email:(0,r.childText)(null,"email"),familyName:(0,r.childText)(null,"last"),givenName:(0,r.childText)(null,"first"),instructions:(0,r.childText)(null,"instructions"),nick:(0,r.childText)(null,"nick")},namespace:i.NS_SEARCH,path:"iq.search"},{aliases:[{path:"iq.search.items",multiple:!0}],element:"item",fields:{email:(0,r.childText)(null,"email"),familyName:(0,r.childText)(null,"last"),givenName:(0,r.childText)(null,"first"),jid:(0,r.JIDAttribute)("jid"),nick:(0,r.childText)(null,"nick")},namespace:i.NS_SEARCH}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:["iq.pubsub.paging"],element:"set",fields:{after:(0,r.childText)(null,"after"),before:(0,r.childText)(null,"before"),count:(0,r.childInteger)(null,"count"),first:(0,r.childText)(null,"first"),firstIndex:(0,r.childIntegerAttribute)(null,"first","index"),index:(0,r.childInteger)(null,"index"),last:(0,r.childText)(null,"last"),max:(0,r.childInteger)(null,"max")},namespace:i.NS_RSM,path:"paging"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o={configurable:(0,i.childBoolean)(null,"subscribe-options"),configurationRequired:(0,i.deepChildBoolean)([{namespace:null,element:"subscribe-options"},{namespace:null,element:"required"}]),jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node"),state:(0,i.attribute)("subscription"),subid:(0,i.attribute)("subid")},a={node:(0,i.attribute)("node")},c=[{aliases:["pubsub","iq.pubsub","message.pubsub"],childrenExportOrder:{configure:0,create:100,publish:100,subscribe:100,subscriptionOptions:0},defaultType:"user",element:"pubsub",fields:{publishOptions:(0,i.splicePath)(null,"publish-options","dataform")},namespace:s.NS_PUBSUB,type:"user",typeField:"context"},{aliases:["pubsub","iq.pubsub","message.pubsub"],defaultType:"user",element:"pubsub",fields:{purge:(0,i.childAttribute)(null,"purge","node")},namespace:s.NS_PUBSUB_OWNER,type:"owner",typeField:"context"},(0,i.addAlias)(s.NS_DATAFORM,"x",["iq.pubsub.configure.form","iq.pubsub.defaultConfiguration.form","iq.pubsub.defaultSubscriptionOptions.form","iq.pubsub.subscriptionOptions.form","message.pubsub.configuration.form"]),(0,i.addAlias)(s.NS_RSM,"set",["iq.pubsub.fetch.paging"]),(0,i.extendStanzaError)({pubsubError:(0,i.childEnum)(s.NS_PUBSUB_ERRORS,Object.values(r.PubsubErrorCondition)),pubsubUnsupportedFeature:(0,i.childAttribute)(s.NS_PUBSUB_ERRORS,"unsupported","feature")}),{element:"subscribe",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,path:"iq.pubsub.subscribe"},{element:"unsubscribe",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node"),subid:(0,i.attribute)("subid")},namespace:s.NS_PUBSUB,path:"iq.pubsub.unsubscribe"},{element:"options",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node"),subid:(0,i.attribute)("subid")},namespace:s.NS_PUBSUB,path:"iq.pubsub.subscriptionOptions"},{aliases:[{path:"iq.pubsub.subscriptions",selector:"user",impliedType:!0}],element:"subscriptions",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,type:"user"},{aliases:[{path:"iq.pubsub.subscriptions",selector:"owner",impliedType:!0}],element:"subscriptions",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB_OWNER,type:"owner"},{aliases:[{path:"iq.pubsub.subscription",selector:"owner"},{impliedType:!0,multiple:!0,path:"iq.pubsub.subscriptions.items",selector:"owner"}],element:"subscription",fields:o,namespace:s.NS_PUBSUB},{aliases:[{path:"iq.pubsub.subscription",selector:"user"},{impliedType:!0,multiple:!0,path:"iq.pubsub.subscriptions.items",selector:"user"}],element:"subscription",fields:o,namespace:s.NS_PUBSUB,type:"user"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.pubsub.subscriptions.items",selector:"owner"}],element:"subscription",fields:o,namespace:s.NS_PUBSUB_OWNER,type:"owner"},{aliases:[{path:"iq.pubsub.affiliations",selector:"user",impliedType:!0},{path:"message.pubsub.affiliations",selector:"user",impliedType:!0}],element:"affiliations",fields:a,namespace:s.NS_PUBSUB,type:"user"},{aliases:[{path:"iq.pubsub.affiliations",selector:"owner",impliedType:!0}],element:"affiliations",fields:a,namespace:s.NS_PUBSUB_OWNER,type:"owner"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.pubsub.affiliations.items",selector:"user"},{impliedType:!0,multiple:!0,path:"message.pubsub.affiliations.items",selector:"user"}],element:"affiliation",fields:{affiliation:(0,i.attribute)("affiliation"),jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,type:"user"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.pubsub.affiliations.items",selector:"owner"}],element:"affiliation",fields:{affiliation:(0,i.attribute)("affiliation"),jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB_OWNER,type:"owner"},{element:"create",fields:a,namespace:s.NS_PUBSUB,path:"iq.pubsub.create"},{aliases:[{path:"iq.pubsub.destroy",selector:"owner"}],element:"delete",fields:{node:(0,i.attribute)("node"),redirect:(0,i.childAttribute)(null,"redirect","uri")},namespace:s.NS_PUBSUB_OWNER},{aliases:[{path:"iq.pubsub.configure",selector:"owner",impliedType:!0}],element:"configure",fields:a,namespace:s.NS_PUBSUB_OWNER,type:"owner"},{aliases:[{path:"iq.pubsub.configure",selector:"user",impliedType:!0}],element:"configure",fields:a,namespace:s.NS_PUBSUB,type:"user"},{element:"default",fields:{node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,path:"iq.pubsub.defaultSubscriptionOptions"},{element:"default",fields:{},namespace:s.NS_PUBSUB_OWNER,path:"iq.pubsub.defaultConfiguration"},{element:"publish",fields:a,namespace:s.NS_PUBSUB,path:"iq.pubsub.publish"},{element:"retract",fields:{id:(0,i.childAttribute)(null,"item","id"),node:(0,i.attribute)("node"),notify:(0,i.booleanAttribute)("notify")},namespace:s.NS_PUBSUB,path:"iq.pubsub.retract"},{element:"items",fields:{max:(0,i.integerAttribute)("max_items"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,path:"iq.pubsub.fetch"},{aliases:["pubsubitem","iq.pubsub.publish.item",{multiple:!0,path:"iq.pubsub.fetch.items"}],element:"item",fields:{id:(0,i.attribute)("id"),publisher:(0,i.JIDAttribute)("publisher")},namespace:s.NS_PUBSUB},{element:"event",fields:{eventType:(0,i.childEnum)(null,["purge","delete","subscription","configuration","items"])},namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub",type:"event",typeField:"context"},{aliases:[{path:"message.pubsub.items.published",multiple:!0}],element:"item",fields:{id:(0,i.attribute)("id"),publisher:(0,i.JIDAttribute)("publisher")},namespace:s.NS_PUBSUB_EVENT,path:"pubsubeventitem"},{element:"purge",fields:a,namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub.purge"},{element:"delete",fields:{node:(0,i.attribute)("node"),redirect:(0,i.childAttribute)(null,"redirect","uri")},namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub.delete"},{aliases:[{path:"message.pubsub.subscription",selector:"event",impliedType:!0}],element:"subscription",fields:{expires:(u="expiry",{importer(e){const t=e.getAttribute(u);return"presence"===t?t:t?new Date(t):void 0},exporter(e,t){let n;n="string"==typeof t?t:t.toISOString(),e.setAttribute(u,n)}}),jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node"),subid:(0,i.attribute)("subid"),type:(0,i.attribute)("subscription")},namespace:s.NS_PUBSUB_EVENT,type:"event"},{element:"configuration",fields:a,namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub.configuration"},{element:"items",fields:{node:(0,i.attribute)("node"),retracted:(0,i.multipleChildAttribute)(null,"retract","id")},namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub.items"}];var u;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"query",fields:{activate:(0,r.childText)(null,"activate"),address:(0,r.attribute)("dstaddr"),candidateUsed:(0,r.childJIDAttribute)(null,"streamhost-used","jid"),mode:(0,r.attribute)("mode","tcp"),sid:(0,r.attribute)("sid"),udpSuccess:(0,r.childAttribute)(null,"udpsuccess","dstaddr")},namespace:i.NS_SOCKS5,path:"iq.socks5"},{aliases:[{multiple:!0,path:"iq.socks5.candidates"}],element:"streamhost",fields:{host:(0,r.attribute)("host"),jid:(0,r.JIDAttribute)("jid"),port:(0,r.integerAttribute)("port"),uri:(0,r.attribute)("uri")},namespace:i.NS_SOCKS5}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:[{multiple:!0,path:"message.links"}],element:"x",fields:{description:(0,r.childText)(null,"desc"),url:(0,r.childText)(null,"url")},namespace:i.NS_OOB},{element:"query",fields:{description:(0,r.childText)(null,"desc"),url:(0,r.childText)(null,"url")},namespace:i.NS_OOB_TRANSFER,path:"iq.transferLink"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"html",fields:{alternateLanguageBodies:(0,r.childAlternateLanguageRawElement)(i.NS_XHTML,"body","xhtmlim"),body:(0,r.childLanguageRawElement)(i.NS_XHTML,"body","xhtmlim")},namespace:i.NS_XHTML_IM,path:"message.html"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStreamFeatures)({inbandRegistration:(0,r.childBoolean)(i.NS_INBAND_REGISTRATION,"register")}),(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.account.form"]),(0,r.addAlias)(i.NS_OOB,"x",["iq.account.registrationLink"]),{element:"query",fields:{address:(0,r.childText)(null,"address"),date:(0,r.childDate)(null,"date"),email:(0,r.childText)(null,"email"),familyName:(0,r.childText)(null,"last"),fullName:(0,r.childText)(null,"name"),givenName:(0,r.childText)(null,"first"),instructions:(0,r.childText)(null,"instructions"),key:(0,r.childText)(null,"key"),locality:(0,r.childText)(null,"city"),misc:(0,r.childText)(null,"misc"),nick:(0,r.childText)(null,"nick"),password:(0,r.childText)(null,"password"),phone:(0,r.childText)(null,"phone"),postalCode:(0,r.childText)(null,"zip"),region:(0,r.childText)(null,"state"),registered:(0,r.childBoolean)(null,"registered"),remove:(0,r.childBoolean)(null,"remove"),text:(0,r.childText)(null,"text"),uri:(0,r.childText)(null,"uri"),username:(0,r.childText)(null,"username")},namespace:i.NS_REGISTER,path:"iq.account"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{path:"message.geoloc",impliedType:!0},{path:"dataform.fields.geoloc",impliedType:!0},...(0,r.pubsubItemContentAliases)()],element:"geoloc",fields:{accuracy:(0,r.childFloat)(null,"accuracy"),altitude:(0,r.childFloat)(null,"alt"),altitudeAccuracy:(0,r.childFloat)(null,"altaccuracy"),area:(0,r.childText)(null,"area"),building:(0,r.childText)(null,"building"),country:(0,r.childText)(null,"country"),countryCode:(0,r.childText)(null,"countrycode"),datum:(0,r.childText)(null,"datum"),description:(0,r.childText)(null,"description"),error:(0,r.childFloat)(null,"error"),floor:(0,r.childText)(null,"floor"),heading:(0,r.childFloat)(null,"bearing"),lang:(0,r.languageAttribute)(),latitude:(0,r.childFloat)(null,"lat"),locality:(0,r.childText)(null,"locality"),longitude:(0,r.childFloat)(null,"lon"),postalCode:(0,r.childText)(null,"postalcode"),region:(0,r.childText)(null,"region"),room:(0,r.childText)(null,"room"),speed:(0,r.childFloat)(null,"speed"),street:(0,r.childText)(null,"street"),text:(0,r.childText)(null,"text"),timestamp:(0,r.childDate)(null,"timestamp"),tzo:(0,r.childTimezoneOffset)(null,"tzo"),uri:(0,r.childText)(null,"uri")},namespace:i.NS_GEOLOC,type:i.NS_GEOLOC};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:(0,r.pubsubItemContentAliases)(),element:"data",fields:{data:(0,r.textBuffer)("base64")},namespace:i.NS_AVATAR_DATA,path:"avatar",type:i.NS_AVATAR_DATA,typeField:"itemType"},{aliases:[{path:"avatar",impliedType:!0},...(0,r.pubsubItemContentAliases)()],element:"metadata",namespace:i.NS_AVATAR_METADATA,type:i.NS_AVATAR_METADATA,typeField:"itemType",childrenExportOrder:{versions:1,pointers:2}},{aliases:[{multiple:!0,path:"avatar.versions",selector:i.NS_AVATAR_METADATA}],element:"info",fields:{bytes:(0,r.integerAttribute)("bytes"),height:(0,r.integerAttribute)("height"),id:(0,r.attribute)("id"),mediaType:(0,r.attribute)("type"),uri:(0,r.attribute)("url"),width:(0,r.integerAttribute)("width")},namespace:i.NS_AVATAR_METADATA},{aliases:[{multiple:!0,path:"avatar.pointers",selector:i.NS_AVATAR_METADATA}],element:"pointer",fields:{bytes:(0,r.integerAttribute)("bytes"),height:(0,r.integerAttribute)("height"),id:(0,r.attribute)("id"),mediaType:(0,r.attribute)("type"),width:(0,r.integerAttribute)("width")},namespace:i.NS_AVATAR_METADATA}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1);t.default=(0,i.extendMessage)({chatState:(0,i.childEnum)(s.NS_CHAT_STATES,Object.values(r.ChatState))})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"query",fields:{name:(0,r.childText)(null,"name"),os:(0,r.childText)(null,"os"),version:(0,r.childText)(null,"version")},namespace:i.NS_VERSION,path:"iq.softwareVersion"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o={aliases:[{path:"message.mood",impliedType:!0},...(0,i.pubsubItemContentAliases)()],element:"mood",fields:{alternateLanguageText:(0,i.childAlternateLanguageText)(null,"text"),text:(0,i.childText)(null,"text"),value:(0,i.childEnum)(null,r.USER_MOODS)},namespace:s.NS_MOOD,type:s.NS_MOOD};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o={aliases:[{path:"activity",impliedType:!0},...(0,i.pubsubItemContentAliases)()],element:"activity",fields:{activity:(0,i.childDoubleEnum)(null,r.USER_ACTIVITY_GENERAL,r.USER_ACTIVITY_SPECIFIC),alternateLanguageText:(0,i.childAlternateLanguageText)(null,"text"),text:(0,i.childText)(null,"text")},namespace:s.NS_ACTIVITY,type:s.NS_ACTIVITY};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"handshake",fields:{value:(0,r.textBuffer)("hex")},namespace:i.NS_COMPONENT,path:"handshake"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{path:"presence.legacyCapabilities",multiple:!0},{path:"features.legacyCapabilities",multiple:!0}],element:"c",fields:{algorithm:(0,r.attribute)("hash"),legacy:(0,r.staticValue)(!0),node:(0,r.attribute)("node"),value:(0,r.attribute)("ver")},namespace:i.NS_DISCO_LEGACY_CAPS};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{impliedType:!0,path:"tune"},...(0,r.pubsubItemContentAliases)()],element:"tune",fields:{artist:(0,r.childText)(null,"artist"),length:(0,r.childInteger)(null,"length"),rating:(0,r.childInteger)(null,"rating"),source:(0,r.childText)(null,"source"),title:(0,r.childText)(null,"title"),track:(0,r.childText)(null,"track"),uri:(0,r.childText)(null,"uri")},namespace:i.NS_TUNE,type:i.NS_TUNE};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=["dataformLayout",{multiple:!0,path:"dataformLayout.contents"},{multiple:!0,path:"dataform.layout.contents"}],o=[{aliases:[{multiple:!0,path:"dataform.layout"}],element:"page",fields:{label:(0,r.attribute)("label")},namespace:i.NS_DATAFORM_LAYOUT},{aliases:s,element:"section",fields:{label:(0,r.attribute)("label")},namespace:i.NS_DATAFORM_LAYOUT,type:"section",typeField:"type"},{aliases:s,element:"text",fields:{value:(0,r.text)()},namespace:i.NS_DATAFORM_LAYOUT,type:"text",typeField:"type"},{aliases:s,element:"fieldref",fields:{field:(0,r.attribute)("var")},namespace:i.NS_DATAFORM_LAYOUT,type:"fieldref",typeField:"type"},{aliases:s,element:"reportedref",namespace:i.NS_DATAFORM_LAYOUT,type:"reportedref",typeField:"type"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"body",fields:{acceptMediaTypes:(0,r.attribute)("accept"),ack:(0,r.integerAttribute)("ack"),authId:(0,r.attribute)("authid"),characterSets:(0,r.attribute)("charsets"),condition:(0,r.attribute)("condition"),from:(0,r.JIDAttribute)("from"),key:(0,r.attribute)("key"),lang:(0,r.languageAttribute)(),maxClientRequests:(0,r.integerAttribute)("requests"),maxHoldOpen:(0,r.integerAttribute)("hold"),maxInactivityTime:(0,r.integerAttribute)("inactivity"),maxSessionPause:(0,r.integerAttribute)("maxpause"),maxWaitTime:(0,r.integerAttribute)("wait"),mediaType:(0,r.attribute)("content"),minPollingInterval:(0,r.integerAttribute)("polling"),newKey:(0,r.attribute)("newkey"),pauseSession:(0,r.integerAttribute)("pause"),report:(0,r.integerAttribute)("report"),rid:(0,r.integerAttribute)("rid"),route:(0,r.attribute)("string"),seeOtherURI:(0,r.childText)(null,"uri"),sid:(0,r.attribute)("sid"),stream:(0,r.attribute)("stream"),time:(0,r.integerAttribute)("time"),to:(0,r.JIDAttribute)("to"),type:(0,r.attribute)("type"),version:(0,r.attribute)("ver"),xmppRestart:(0,r.namespacedBooleanAttribute)("xmpp",i.NS_BOSH_XMPP,"restart",void 0,{writeValue:e=>e?"true":"false"}),xmppRestartLogic:(0,r.namespacedBooleanAttribute)("xmpp",i.NS_BOSH_XMPP,"restartlogic",void 0,{writeValue:e=>e?"true":"false"}),xmppVersion:(0,r.namespacedAttribute)("xmpp",i.NS_BOSH_XMPP,"version")},namespace:i.NS_BOSH,path:"bosh"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({headers:(0,r.splicePath)(i.NS_SHIM,"headers","header",!0)}),(0,r.extendPresence)({headers:(0,r.splicePath)(i.NS_SHIM,"headers","header",!0)}),{element:"header",fields:{name:(0,r.attribute)("name"),value:(0,r.text)()},namespace:i.NS_SHIM,path:"header"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"compression",fields:{methods:(0,r.multipleChildText)(null,"method")},namespace:i.NS_COMPRESSION_FEATURE,path:"features.compression"},{element:"compress",fields:{method:(0,r.childText)(null,"method")},namespace:i.NS_COMPRESSION,path:"compression",type:"start",typeField:"type"},{aliases:["error.compressionError"],element:"failure",fields:{condition:(0,r.childEnum)(null,["unsupported-method","setup-failed","processing-failed"])},namespace:i.NS_COMPRESSION,path:"compression",type:"failure",typeField:"type"},{element:"compressed",namespace:i.NS_COMPRESSION,path:"compression",type:"success",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({rosterExchange:(0,r.splicePath)(i.NS_ROSTER_EXCHANGE,"x","rosterExchange",!0)}),(0,r.extendIQ)({rosterExchange:(0,r.splicePath)(i.NS_ROSTER_EXCHANGE,"x","rosterExchange",!0)}),{element:"item",fields:{action:(0,r.attribute)("action"),groups:(0,r.multipleChildText)(null,"group"),jid:(0,r.JIDAttribute)("jid"),name:(0,r.attribute)("name")},namespace:i.NS_ROSTER_EXCHANGE,path:"rosterExchange"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendPresence)({vcardAvatar:{importer(e){const t=(0,r.findAll)(e,i.NS_VCARD_TEMP_UPDATE,"x");if(!t.length)return;const n=(0,r.findAll)(t[0],i.NS_VCARD_TEMP_UPDATE,"photo");return!n.length||n[0].getText()},exporter(e,t){const n=(0,r.findOrCreate)(e,i.NS_VCARD_TEMP_UPDATE,"x");if(""===t)(0,r.findOrCreate)(n,i.NS_VCARD_TEMP_UPDATE,"photo");else{if(!0===t)return;if(t){(0,r.findOrCreate)(n,i.NS_VCARD_TEMP_UPDATE,"photo").children.push(t)}}}}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({captcha:(0,r.splicePath)(i.NS_CAPTCHA,"captcha","dataform")}),(0,r.extendIQ)({captcha:(0,r.splicePath)(i.NS_CAPTCHA,"captcha","dataform")})];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o=[(0,i.extendStanzaError)({jingleError:(0,i.childEnum)(s.NS_JINGLE_ERRORS_1,Object.values(r.JingleErrorCondition))}),{element:"jingle",fields:{action:(0,i.attribute)("action"),initiator:(0,i.JIDAttribute)("initiator"),responder:(0,i.JIDAttribute)("responder"),sid:(0,i.attribute)("sid")},namespace:s.NS_JINGLE_1,path:"iq.jingle"},{aliases:[{multiple:!0,path:"iq.jingle.contents"}],element:"content",fields:{creator:(0,i.attribute)("creator"),disposition:(0,i.attribute)("disposition","session"),name:(0,i.attribute)("name"),senders:(0,i.attribute)("senders","both")},namespace:s.NS_JINGLE_1},{element:"reason",fields:{alternativeSession:(0,i.childText)(null,"alternative-session"),condition:(0,i.childEnum)(null,Object.values(r.JingleReasonCondition)),text:(0,i.childText)(null,"text")},namespace:s.NS_JINGLE_1,path:"iq.jingle.reason"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1);function o(){return{importer(e,t){let n=(0,i.findAll)(e,s.NS_JINGLE_RTP_RTCP_FB_0,"rtcp-fb");const r=(0,i.attribute)("type").importer,o=(0,i.attribute)("subtype").importer,a=(0,i.attribute)("value").importer,c=[];for(const e of n){const n=r(e,t),i=o(e,t);c.push(i?{type:n,parameter:i}:{type:n})}n=(0,i.findAll)(e,s.NS_JINGLE_RTP_RTCP_FB_0,"rtcp-fb-trr-int");for(const e of n){const n=a(e,t);c.push(n?{type:"trr-int",parameter:n}:{type:"trr-int"})}return c},exporter(e,t,n){const r=(0,i.attribute)("type").exporter,o=(0,i.attribute)("subtype").exporter,a=(0,i.attribute)("value").exporter;for(const c of t){let t;"trr-int"===c.type?(t=(0,i.createElement)(s.NS_JINGLE_RTP_RTCP_FB_0,"rtcp-fb-trr-int",n.namespace,e),c.parameter&&a(t,c.parameter,n)):(t=(0,i.createElement)(s.NS_JINGLE_RTP_RTCP_FB_0,"rtcp-fb",n.namespace,e),r(t,c.type,n),c.parameter&&o(t,c.parameter,n)),e.appendChild(t)}}}}const a="iq.jingle.info",c=[{aliases:["iq.jingle.contents.application"],childrenExportOrder:{codecs:4,encryption:5,headerExtensions:6,sourceGroups:8,sources:7,streams:9},element:"description",fields:{media:(0,i.attribute)("media"),rtcpFeedback:{...o(),exportOrder:3},rtcpMux:{...(0,i.childBoolean)(null,"rtcp-mux"),exportOrder:1},rtcpReducedSize:{...(0,i.childBoolean)(null,"rtcp-reduced-size"),exportOrder:2},ssrc:(0,i.attribute)("ssrc")},namespace:s.NS_JINGLE_RTP_1,optionalNamespaces:{rtcpf:s.NS_JINGLE_RTP_RTCP_FB_0,rtph:s.NS_JINGLE_RTP_HDREXT_0},type:s.NS_JINGLE_RTP_1},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.headerExtensions",selector:s.NS_JINGLE_RTP_1}],element:"rtp-hdrext",fields:{id:(0,i.integerAttribute)("id"),senders:(0,i.attribute)("senders"),uri:(0,i.attribute)("uri")},namespace:s.NS_JINGLE_RTP_HDREXT_0},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.codecs",selector:s.NS_JINGLE_RTP_1},"rtpcodec"],element:"payload-type",fields:{channels:(0,i.integerAttribute)("channels"),clockRate:(0,i.integerAttribute)("clockrate"),id:(0,i.attribute)("id"),maxptime:(0,i.integerAttribute)("maxptime"),name:(0,i.attribute)("name"),parameters:(0,i.parameterMap)(s.NS_JINGLE_RTP_1,"parameter","name","value"),ptime:(0,i.integerAttribute)("ptime"),rtcpFeedback:o()},namespace:s.NS_JINGLE_RTP_1},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.sources",selector:s.NS_JINGLE_RTP_1}],element:"source",fields:{parameters:(0,i.parameterMap)(s.NS_JINGLE_RTP_SSMA_0,"parameter","name","value"),ssrc:(0,i.attribute)("ssrc")},namespace:s.NS_JINGLE_RTP_SSMA_0},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.sourceGroups",selector:s.NS_JINGLE_RTP_1}],element:"ssrc-group",fields:{semantics:(0,i.attribute)("semantics"),sources:(0,i.multipleChildAttribute)(null,"source","ssrc")},namespace:s.NS_JINGLE_RTP_SSMA_0},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.streams",selector:s.NS_JINGLE_RTP_1}],element:"stream",fields:{id:(0,i.attribute)("id"),track:(0,i.attribute)("track")},namespace:s.NS_JINGLE_RTP_MSID_0},{aliases:[{path:"iq.jingle.contents.application.encryption",selector:s.NS_JINGLE_RTP_1}],element:"encryption",fields:{required:(0,i.booleanAttribute)("required")},namespace:s.NS_JINGLE_RTP_1},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.encryption.sdes",selector:s.NS_JINGLE_RTP_1}],element:"crypto",fields:{cryptoSuite:(0,i.attribute)("crypto-suite"),keyParameters:(0,i.attribute)("key-params"),sessionParameters:(0,i.attribute)("session-params"),tag:(0,i.integerAttribute)("tag")},namespace:s.NS_JINGLE_RTP_1},{aliases:[{path:"iq.jingle.contents.application.encryption.zrtp",selector:s.NS_JINGLE_RTP_1}],element:"zrtp-hash",fields:{value:(0,i.textBuffer)("hex"),version:(0,i.attribute)("version")},namespace:s.NS_JINGLE_RTP_1},{element:"mute",fields:{creator:(0,i.attribute)("creator"),name:(0,i.attribute)("name")},namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_MUTE},{element:"unmute",fields:{creator:(0,i.attribute)("creator"),name:(0,i.attribute)("name")},namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_UNMUTE},{element:"hold",namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_HOLD},{element:"unhold",namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_UNHOLD},{element:"active",namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_ACTIVE},{element:"ringing",namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_RINGING}];t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({nick:(0,r.childText)(i.NS_NICK,"nick")}),(0,r.extendPresence)({nick:(0,r.childText)(i.NS_NICK,"nick")}),{aliases:(0,r.pubsubItemContentAliases)(),element:"nick",fields:{nick:(0,r.text)()},namespace:i.NS_NICK,type:i.NS_NICK}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=e=>[{element:"transport",fields:{gatheringComplete:(0,r.childBoolean)(null,"gathering-complete"),password:(0,r.attribute)("pwd"),usernameFragment:(0,r.attribute)("ufrag")},namespace:e,path:"iq.jingle.contents.transport",type:e,typeField:"transportType"},{aliases:[{impliedType:!0,path:"iq.jingle.contents.transport.remoteCandidate",selector:e}],element:"remote-candidate",fields:{component:(0,r.integerAttribute)("component"),ip:(0,r.attribute)("ip"),port:(0,r.integerAttribute)("port")},namespace:e,type:e,typeField:"transportType"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.jingle.contents.transport.candidates",selector:e}],element:"candidate",fields:{component:(0,r.integerAttribute)("component"),foundation:(0,r.attribute)("foundation"),generation:(0,r.integerAttribute)("generation"),id:(0,r.attribute)("id"),ip:(0,r.attribute)("ip"),network:(0,r.integerAttribute)("network"),port:(0,r.integerAttribute)("port"),priority:(0,r.integerAttribute)("priority"),protocol:(0,r.attribute)("protocol"),relatedAddress:(0,r.attribute)("rel-addr"),relatedPort:(0,r.attribute)("rel-port"),tcpType:(0,r.attribute)("tcptype"),type:(0,r.attribute)("type")},namespace:e,type:e,typeField:"transportType"}],o=[...s(i.NS_JINGLE_ICE_0),...s(i.NS_JINGLE_ICE_UDP_1)];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"transport",fields:{gatheringComplete:(0,r.childBoolean)(null,"gathering-complete"),password:(0,r.attribute)("pwd"),usernameFragment:(0,r.attribute)("ufrag")},namespace:i.NS_JINGLE_RAW_UDP_1,path:"iq.jingle.contents.transport",type:i.NS_JINGLE_RAW_UDP_1,typeField:"transportType"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.jingle.contents.transport.candidates",selector:i.NS_JINGLE_RAW_UDP_1}],element:"candidate",fields:{component:(0,r.integerAttribute)("component"),foundation:(0,r.attribute)("foundation"),generation:(0,r.integerAttribute)("generation"),id:(0,r.attribute)("id"),ip:(0,r.attribute)("ip"),port:(0,r.integerAttribute)("port"),type:(0,r.attribute)("type")},namespace:i.NS_JINGLE_RAW_UDP_1,type:i.NS_JINGLE_RAW_UDP_1,typeField:"transportType"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"request",namespace:i.NS_RECEIPTS,path:"message.receipt",type:"request",typeField:"type"},{element:"received",fields:{id:(0,r.attribute)("id")},namespace:i.NS_RECEIPTS,path:"message.receipt",type:"received",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"invisible",fields:{probe:(0,r.booleanAttribute)("probe")},namespace:i.NS_INVISIBLE_0,path:"iq.visibility",type:"invisible",typeField:"type"},{element:"visible",namespace:i.NS_INVISIBLE_0,path:"iq.visibility",type:"visible"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStanzaError)({blocked:(0,r.childBoolean)(i.NS_BLOCKING_ERRORS,"blocked")}),{element:"blocklist",fields:{jids:(0,r.multipleChildAttribute)(null,"item","jid")},namespace:i.NS_BLOCKING,path:"iq.blockList",type:"list",typeField:"action"},{element:"block",fields:{jids:(0,r.multipleChildAttribute)(null,"item","jid")},namespace:i.NS_BLOCKING,path:"iq.blockList",type:"block",typeField:"action"},{element:"unblock",fields:{jids:(0,r.multipleChildAttribute)(null,"item","jid")},namespace:i.NS_BLOCKING,path:"iq.blockList",type:"unblock",typeField:"action"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStreamFeatures)({streamManagement:(0,r.childBoolean)(i.NS_SMACKS_3,"sm")}),{element:"a",fields:{handled:(0,r.integerAttribute)("h")},namespace:i.NS_SMACKS_3,path:"sm",type:"ack",typeField:"type"},{element:"r",namespace:i.NS_SMACKS_3,path:"sm",type:"request",typeField:"type"},{element:"enable",fields:{allowResumption:(0,r.booleanAttribute)("resume")},namespace:i.NS_SMACKS_3,path:"sm",type:"enable",typeField:"type"},{element:"enabled",fields:{id:(0,r.attribute)("id"),resume:(0,r.booleanAttribute)("resume")},namespace:i.NS_SMACKS_3,path:"sm",type:"enabled",typeField:"type"},{element:"resume",fields:{handled:(0,r.integerAttribute)("h"),previousSession:(0,r.attribute)("previd")},namespace:i.NS_SMACKS_3,path:"sm",type:"resume",typeField:"type"},{element:"resumed",fields:{handled:(0,r.integerAttribute)("h"),previousSession:(0,r.attribute)("previd")},namespace:i.NS_SMACKS_3,path:"sm",type:"resumed",typeField:"type"},{element:"failed",fields:{handled:(0,r.integerAttribute)("h")},namespace:i.NS_SMACKS_3,path:"sm",type:"failed",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendIQ)({ping:(0,r.childBoolean)(i.NS_PING,"ping")})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"time",fields:{tzo:(0,r.childTimezoneOffset)(null,"tzo"),utc:(0,r.childDate)(null,"utc")},namespace:i.NS_TIME,path:"iq.time"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:["message.delay","presence.delay"],element:"delay",fields:{from:(0,r.JIDAttribute)("from"),reason:(0,r.text)(),timestamp:(0,r.dateAttribute)("stamp")},namespace:i.NS_DELAY};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={2:i.NS_DISCO_EXTERNAL_2,1:i.NS_DISCO_EXTERNAL_1},o=[];for(const[e,t]of Object.entries(s))o.push({aliases:["iq.externalServiceCredentials"],defaultType:"2",element:"credentials",fields:{expires:(0,r.childDateAttribute)(null,"service","expires"),host:(0,r.childAttribute)(null,"service","host"),name:(0,r.childAttribute)(null,"service","name"),password:(0,r.childAttribute)(null,"service","password"),port:(0,r.childIntegerAttribute)(null,"service","port"),restricted:(0,r.childBooleanAttribute)(null,"service","restricted"),transport:(0,r.childAttribute)(null,"service","transport"),type:(0,r.childAttribute)(null,"service","type"),username:(0,r.childAttribute)(null,"service","username")},namespace:t,type:e,typeField:"version"},{aliases:["iq.externalServices"],defaultType:"2",element:"services",fields:{type:(0,r.attribute)("type")},namespace:t,type:e,typeField:"version"},{aliases:[{path:"iq.externalServices.services",multiple:!0}],defaultType:"2",element:"service",fields:{expires:(0,r.dateAttribute)("expires"),host:(0,r.attribute)("host"),name:(0,r.attribute)("name"),password:(0,r.attribute)("password"),port:(0,r.integerAttribute)("port"),restricted:(0,r.booleanAttribute)("restricted"),transport:(0,r.attribute)("transport"),type:(0,r.attribute)("type"),username:(0,r.attribute)("username")},namespace:t,type:e,typeField:"version"});t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"media",fields:{height:(0,r.integerAttribute)("height"),width:(0,r.integerAttribute)("width")},namespace:i.NS_DATAFORM_MEDIA,path:"dataform.fields.media"},{aliases:[{multiple:!0,path:"dataform.fields.media.sources"}],element:"uri",fields:{mediaType:(0,r.attribute)("type"),uri:(0,r.text)()},namespace:i.NS_DATAFORM_MEDIA}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendMessage)({requestingAttention:(0,r.childBoolean)(i.NS_ATTENTION_0,"attention")})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:["iq.bits",{path:"message.bits",multiple:!0},{path:"presence.bits",multiple:!0},{path:"iq.jingle.bits",multiple:!0}],element:"data",fields:{cid:(0,r.attribute)("cid"),data:(0,r.textBuffer)("base64"),maxAge:(0,r.integerAttribute)("max-age"),mediaType:(0,r.attribute)("type")},namespace:i.NS_BOB};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);let s=[(0,r.addAlias)(i.NS_HASHES_2,"hash",[{path:"file.hashes",multiple:!0},{path:"file.range.hashes",multiple:!0}]),(0,r.addAlias)(i.NS_HASHES_1,"hash",[{path:"file.hashes",multiple:!0},{path:"file.range.hashes",multiple:!0}]),(0,r.addAlias)(i.NS_HASHES_2,"hash-used",[{path:"file.hashesUsed",multiple:!0}]),(0,r.addAlias)(i.NS_THUMBS_1,"thumbnail",[{path:"file.thumbnails",multiple:!0}])];for(const e of[i.NS_JINGLE_FILE_TRANSFER_4,i.NS_JINGLE_FILE_TRANSFER_5])s=s.concat([{aliases:["file",{impliedType:!0,path:"iq.jingle.contents.application.file",selector:e},{impliedType:!0,path:"iq.jingle.info.file",selector:`{${e}}checksum`}],defaultType:i.NS_JINGLE_FILE_TRANSFER_5,element:"file",fields:{date:(0,r.childDate)(null,"date"),description:(0,r.childText)(null,"desc"),mediaType:(0,r.childText)(null,"media-type"),name:(0,r.childText)(null,"name"),size:(0,r.childInteger)(null,"size")},namespace:e,type:e,typeField:"version"},{aliases:[{impliedType:!0,path:"file.range",selector:e}],defaultType:i.NS_JINGLE_FILE_TRANSFER_5,element:"range",fields:{length:(0,r.integerAttribute)("length"),offset:(0,r.integerAttribute)("offset",0)},namespace:e,type:e,typeField:"version"},{element:"description",namespace:e,path:"iq.jingle.contents.application",type:e,typeField:"applicationType"},{element:"received",fields:{creator:(0,r.attribute)("creator"),name:(0,r.attribute)("name")},namespace:e,path:"iq.jingle.info",type:`{${e}}received`,typeField:"infoType"},{element:"checksum",fields:{creator:(0,r.attribute)("creator"),name:(0,r.attribute)("name")},namespace:e,path:"iq.jingle.info",type:`{${e}}checksum`,typeField:"infoType"}]);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1),i={element:"description",namespace:r.NS_JINGLE_XML_0,path:"iq.jingle.contents.application",type:r.NS_JINGLE_XML_0,typeField:"applicationType"};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"transport",fields:{activated:(0,r.childAttribute)(null,"activated","cid"),address:(0,r.attribute)("dstaddr"),candidateError:(0,r.childBoolean)(null,"candidate-error"),candidateUsed:(0,r.childAttribute)(null,"candidate-used","cid"),mode:(0,r.attribute)("mode","tcp"),proxyError:(0,r.childBoolean)(null,"proxy-error"),sid:(0,r.attribute)("sid")},namespace:i.NS_JINGLE_SOCKS5_1,path:"iq.jingle.contents.transport",type:i.NS_JINGLE_SOCKS5_1,typeField:"transportType"},{aliases:[{multiple:!0,path:"iq.jingle.contents.transport.candidates",selector:i.NS_JINGLE_SOCKS5_1}],element:"candidate",fields:{cid:(0,r.attribute)("cid"),host:(0,r.attribute)("host"),jid:(0,r.JIDAttribute)("jid"),port:(0,r.integerAttribute)("port"),priority:(0,r.integerAttribute)("priority"),type:(0,r.attribute)("type"),uri:(0,r.attribute)("uri")},namespace:i.NS_JINGLE_SOCKS5_1}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"transport",fields:{ack:{importer:(e,t)=>"message"!==(0,r.attribute)("stanza","iq").importer(e,t),exporter(e,t,n){!1===t&&(0,r.attribute)("stanza").exporter(e,"message",n)}},blockSize:(0,r.integerAttribute)("block-size"),sid:(0,r.attribute)("sid")},namespace:i.NS_JINGLE_IBB_1,path:"iq.jingle.contents.transport",type:i.NS_JINGLE_IBB_1,typeField:"transportType"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_BOB,"data",[{path:"iq.jingle.bits",multiple:!0}]),{element:"thumbnail",fields:{height:(0,r.integerAttribute)("height"),mediaType:(0,r.attribute)("media-type"),uri:(0,r.attribute)("uri"),width:(0,r.integerAttribute)("width")},namespace:i.NS_THUMBS_1,path:"thumbnail"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_FORWARD_0,"forwarded",["message.carbon.forward"]),{element:"enable",namespace:i.NS_CARBONS_2,path:"iq.carbons",type:"enable",typeField:"action"},{element:"disable",namespace:i.NS_CARBONS_2,path:"iq.carbons",type:"disable",typeField:"action"},{element:"sent",namespace:i.NS_CARBONS_2,path:"message.carbon",type:"sent",typeField:"type"},{element:"received",namespace:i.NS_CARBONS_2,path:"message.carbon",type:"received",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(5),s=n(1),o=[...Object.values(i.StreamType).map(e=>(0,r.addAlias)(e,"message",["forward.message"])),...Object.values(i.StreamType).map(e=>(0,r.addAlias)(e,"presence",["forward.presence"])),...Object.values(i.StreamType).map(e=>(0,r.addAlias)(e,"iq",["forward.iq"])),(0,r.addAlias)(s.NS_DELAY,"delay",["forward.delay"]),{aliases:["message.forward"],element:"forwarded",namespace:s.NS_FORWARD_0,path:"forward"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{defaultType:"2",element:"hash",fields:{algorithm:(0,r.attribute)("algo"),value:(0,r.textBuffer)("base64"),version:(0,r.staticValue)("2")},namespace:i.NS_HASHES_2,path:"hash",type:"2",typeField:"version"},{element:"hash-used",fields:{algorithm:(0,r.attribute)("algo"),version:(0,r.staticValue)("2")},namespace:i.NS_HASHES_2,path:"hashUsed"},{element:"hash",fields:{algorithm:(0,r.attribute)("algo"),value:(0,r.textBuffer)("hex"),version:(0,r.staticValue)("1")},namespace:i.NS_HASHES_1,path:"hash",type:"1",typeField:"version"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"rtt",fields:{event:(0,r.attribute)("event","edit"),id:(0,r.attribute)("id"),seq:(0,r.integerAttribute)("seq")},namespace:i.NS_RTT_0,path:"message.rtt"},{aliases:[{path:"message.rtt.actions",multiple:!0}],element:"t",fields:{position:(0,r.integerAttribute)("p"),text:(0,r.text)()},namespace:i.NS_RTT_0,type:"insert",typeField:"type"},{aliases:[{path:"message.rtt.actions",multiple:!0}],element:"e",fields:{length:(0,r.integerAttribute)("n",1),position:(0,r.integerAttribute)("p")},namespace:i.NS_RTT_0,type:"erase",typeField:"type"},{aliases:[{multiple:!0,path:"message.rtt.actions"}],element:"w",fields:{duration:(0,r.integerAttribute)("n",0)},namespace:i.NS_RTT_0,type:"wait",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendMessage)({replace:(0,r.childAttribute)(i.NS_CORRECTION_0,"replace","id")})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={2:i.NS_MAM_2,1:i.NS_MAM_1},o=[(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.archive.form"]),(0,r.addAlias)(i.NS_FORWARD_0,"forwarded",["message.archive.item"]),(0,r.addAlias)(i.NS_RSM,"set",["iq.archive.paging"])];for(const[e,t]of Object.entries(s))o.push({defaultType:"query",defaultVersion:"2",element:"query",fields:{node:(0,r.attribute)("node"),queryId:(0,r.attribute)("queryid")},namespace:t,path:"iq.archive",type:"query",typeField:"type",version:e,versionField:"version"},{element:"fin",fields:{complete:(0,r.booleanAttribute)("complete"),stable:(0,r.booleanAttribute)("stable")},namespace:t,path:"iq.archive",type:"result",version:e},{element:"prefs",fields:{default:(0,r.attribute)("default"),always:(0,r.deepMultipleChildText)([{namespace:null,element:"always"},{namespace:null,element:"jid"}]),never:(0,r.deepMultipleChildText)([{namespace:null,element:"never"},{namespace:null,element:"jid"}])},namespace:t,path:"iq.archive",type:"preferences",version:e},{element:"result",defaultType:"2",fields:{id:(0,r.attribute)("id"),queryId:(0,r.attribute)("queryid")},namespace:t,path:"message.archive",type:e,typeField:"version"});t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendPresence)({hats:(0,r.splicePath)(i.NS_HATS_0,"hats","hat",!0)}),{element:"hat",fields:{id:(0,r.attribute)("name"),name:(0,r.attribute)("displayName")},namespace:i.NS_HATS_0,path:"hat"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendPresence)({idleSince:(0,r.childDate)(i.NS_IDLE_1,"since")})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{multiple:!0,path:"iq.jingle.contents.transport.fingerprints",selector:i.NS_JINGLE_ICE_UDP_1},{multiple:!0,path:"iq.jingle.contents.transport.fingerprints",selector:i.NS_JINGLE_ICE_0},{multiple:!0,path:"iq.jingle.contents.application.encryption.dtls",selector:i.NS_JINGLE_RTP_1}],element:"fingerprint",fields:{algorithm:(0,r.attribute)("hash"),setup:(0,r.attribute)("setup"),value:(0,r.text)()},namespace:i.NS_JINGLE_DTLS_0};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s="message.marker",o=[{element:"markable",namespace:i.NS_CHAT_MARKERS_0,path:s,type:"markable",typeField:"type"},{element:"received",fields:{id:(0,r.attribute)("id")},namespace:i.NS_CHAT_MARKERS_0,path:s,type:"received"},{element:"displayed",fields:{id:(0,r.attribute)("id")},namespace:i.NS_CHAT_MARKERS_0,path:s,type:"displayed"},{element:"acknowledged",fields:{id:(0,r.attribute)("id")},namespace:i.NS_CHAT_MARKERS_0,path:s,type:"acknowledged"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendMessage)({processingHints:{importer(e){const t={};let n=!1;for(const r of e.children)if("string"!=typeof r&&r.getNamespace()===i.NS_HINTS)switch(r.getName()){case"no-copy":t.noCopy=!0,n=!0;break;case"no-permanent-store":t.noPermanentStore=!0,n=!0;break;case"no-store":t.noStore=!0,n=!0;break;case"store":t.store=!0,n=!0}return n?t:void 0},exporter(e,t,n){t.noCopy&&e.appendChild((0,r.createElement)(i.NS_HINTS,"no-copy",n.namespace,e)),t.noPermanentStore&&e.appendChild((0,r.createElement)(i.NS_HINTS,"no-permanent-store",n.namespace,e)),t.noStore&&e.appendChild((0,r.createElement)(i.NS_HINTS,"no-store",n.namespace,e)),t.store&&e.appendChild((0,r.createElement)(i.NS_HINTS,"store",n.namespace,e))}}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({json:(0,r.childJSON)(i.NS_JSON_0,"json")}),{aliases:(0,r.pubsubItemContentAliases)(),element:"json",fields:{json:(0,r.textJSON)()},namespace:i.NS_JSON_0,type:i.NS_JSON_0},{aliases:[{path:"message.jsonPayloads",multiple:!0}],element:"payload",fields:{type:(0,r.attribute)("datatype"),data:(0,r.childJSON)(i.NS_JSON_0,"json")},namespace:i.NS_JSON_MESSAGE_0}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:[{path:"iq.jingle.groups",multiple:!0}],element:"group",fields:{contents:(0,r.multipleChildAttribute)(null,"content","name"),semantics:(0,r.attribute)("semantics")},namespace:i.NS_JINGLE_GROUPING_0}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{path:"iq.jingle.contents.transport.sctp",selector:i.NS_JINGLE_ICE_UDP_1},{path:"iq.jingle.contents.transport.sctp",selector:i.NS_JINGLE_ICE_0}],element:"sctpmap",fields:{port:(0,r.integerAttribute)("number"),protocol:(0,r.attribute)("protocol"),streams:(0,r.attribute)("streams")},namespace:i.NS_JINGLE_DTLS_SCTP_1};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1),i=[{element:"active",namespace:r.NS_CSI_0,path:"csi",type:"active",typeField:"state"},{element:"inactive",namespace:r.NS_CSI_0,path:"csi",type:"inactive",typeField:"state"}];t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.push.form","pushNotification.form"]),{element:"enable",fields:{jid:(0,r.JIDAttribute)("jid"),node:(0,r.attribute)("node")},namespace:i.NS_PUSH_0,path:"iq.push",type:"enable",typeField:"action"},{element:"disable",fields:{jid:(0,r.JIDAttribute)("jid"),node:(0,r.attribute)("node")},namespace:i.NS_PUSH_0,path:"iq.push",type:"disable",typeField:"action"},{aliases:(0,r.pubsubItemContentAliases)(),element:"notification",namespace:i.NS_PUSH_0,path:"pushNotification",type:i.NS_PUSH_0,typeField:"itemType"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({originId:(0,r.childAttribute)(i.NS_SID_0,"origin-id","id")}),{aliases:[{path:"message.stanzaIds",multiple:!0}],element:"stanza-id",fields:{by:(0,r.JIDAttribute)("by"),id:(0,r.attribute)("id")},namespace:i.NS_SID_0}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStanzaError)({httpUploadError:(0,r.childEnum)(i.NS_HTTP_UPLOAD_0,["file-too-large","retry"]),httpUploadMaxFileSize:(0,r.deepChildInteger)([{namespace:i.NS_HTTP_UPLOAD_0,element:"file-too-large"},{namespace:i.NS_HTTP_UPLOAD_0,element:"max-file-size"}]),httpUploadRetry:(0,r.childDateAttribute)(i.NS_HTTP_UPLOAD_0,"retry","stamp")}),{element:"request",fields:{mediaType:(0,r.attribute)("content-type"),name:(0,r.attribute)("filename"),size:(0,r.integerAttribute)("size")},namespace:i.NS_HTTP_UPLOAD_0,path:"iq.httpUpload",type:"request",typeField:"type"},{element:"slot",fields:{download:(0,r.childAttribute)(null,"get","url")},namespace:i.NS_HTTP_UPLOAD_0,path:"iq.httpUpload",type:"slot"},{aliases:[{path:"iq.httpUpload.upload",selector:"slot"}],element:"put",fields:{url:(0,r.attribute)("url")},namespace:i.NS_HTTP_UPLOAD_0},{aliases:[{path:"iq.httpUpload.upload.headers",multiple:!0}],element:"header",fields:{name:(0,r.attribute)("name"),value:(0,r.text)()},namespace:i.NS_HTTP_UPLOAD_0}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"encryption",fields:{id:(0,r.attribute)("namespace"),name:(0,r.attribute)("name")},namespace:i.NS_EME_0,path:"message.encryptionMethod"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["message.omemo"],element:"encrypted",fields:{payload:(0,r.childTextBuffer)(null,"payload","base64")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemo"},{element:"header",fields:{iv:(0,r.childTextBuffer)(null,"iv","base64"),sid:(0,r.integerAttribute)("sid")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemo.header"},{aliases:[{path:"omemo.header.keys",multiple:!0}],element:"key",fields:{preKey:(0,r.booleanAttribute)("prekey"),rid:(0,r.integerAttribute)("rid"),value:(0,r.textBuffer)("base64")},namespace:i.NS_OMEMO_AXOLOTL},{aliases:(0,r.pubsubItemContentAliases)(),element:"list",fields:{devices:(0,r.multipleChildIntegerAttribute)(null,"device","id")},namespace:i.NS_OMEMO_AXOLOTL,type:i.NS_OMEMO_AXOLOTL_DEVICELIST,typeField:"itemType"},{element:"preKeyPublic",fields:{id:(0,r.integerAttribute)("preKeyId"),value:(0,r.textBuffer)("base64")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemoPreKey"},{element:"signedPreKeyPublic",fields:{id:(0,r.integerAttribute)("signedPreKeyId"),value:(0,r.textBuffer)("base64")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemoDevice.signedPreKeyPublic"},{aliases:(0,r.pubsubItemContentAliases)(),element:"bundle",fields:{identityKey:(0,r.childTextBuffer)(null,"identityKey","base64"),preKeys:(0,r.splicePath)(null,"prekeys","omemoPreKey",!0),signedPreKeySignature:(0,r.childTextBuffer)(null,"signedPreKeySignature","base64")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemoDevice",type:i.NS_OMEMO_AXOLOTL_BUNDLES,typeField:"itemType"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e,t,n){super(),this.condition=e,this.channelId=t,this.stanzaInstanceId=n,this.name="SaslError"}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},i=n(39),s=n(17);t.a=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const o=(e=e||{}).random||(e.rng||i.a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return Object(s.b)(o)}},function(e,t,n){n(204),n(205),e.exports=n(220)},function(e,t,n){!function(t){"use strict";for(var n=[null,0,{}],r=function(e,t){this.codepoint=e,this.feature=t},i={},s=[],o=0;o<=255;++o)s[o]=0;var a=[function(e,t,i){return t<60||13311<t&&t<42607?new r(t,n):e(t,i)},function(e,t,n){var r=i[t];return r||(r=e(t,n)).feature&&++s[t>>8&255]>10&&(i[t]=r),r},function(e,t,n){return n?e(t,n):new r(t,null)},function(e,t,n){var i;if(t<4352||4371<=t&&t<44032||55204<t)return e(t,n);if(4352<=t&&t<4371){var s={},o=21*(t-4352);for(i=0;i<21;++i)s[4449+i]=44032+28*(i+o);return new r(t,[,,s])}var a=t-44032,c=a%28,u=[];if(0!==c)u[0]=[44032+a-c,4519+c];else for(u[0]=[4352+Math.floor(a/588),4449+Math.floor(a%588/28)],u[2]={},i=1;i<28;++i)u[2][4519+i]=t+i;return new r(t,u)},function(e,t,i){var s=(r.udata[65280&t]||{})[t];return new r(t,s||n)}];r.fromCharCode=a.reduceRight((function(e,t){return function(n,r){return t(e,n,r)}}),null),r.isHighSurrogate=function(e){return e>=55296&&e<=56319},r.isLowSurrogate=function(e){return e>=56320&&e<=57343},r.prototype.prepFeature=function(){this.feature||(this.feature=r.fromCharCode(this.codepoint,!0).feature)},r.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},r.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},r.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},r.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},r.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},r.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?r.fromCharCode(t):null};var c=function(e){this.str=e,this.cursor=0};c.prototype.next=function(){if(this.str&&this.cursor<this.str.length){var e,t=this.str.charCodeAt(this.cursor++);return r.isHighSurrogate(t)&&this.cursor<this.str.length&&r.isLowSurrogate(e=this.str.charCodeAt(this.cursor))&&(t=1024*(t-55296)+(e-56320)+65536,++this.cursor),r.fromCharCode(t)}return this.str=null,null};var u=function(e,t){this.it=e,this.canonical=t,this.resBuf=[]};u.prototype.next=function(){if(0===this.resBuf.length){var e=this.it.next();if(!e)return null;this.resBuf=function e(t,n){var i=n.getDecomp();if(!i||t&&n.isCompatibility())return[n];for(var s=[],o=0;o<i.length;++o){var a=e(t,r.fromCharCode(i[o]));s=s.concat(a)}return s}(this.canonical,e)}return this.resBuf.shift()};var l=function(e){this.it=e,this.resBuf=[]};l.prototype.next=function(){var e;if(0===this.resBuf.length)do{var t=this.it.next();if(!t)break;e=t.getCanonicalClass();var n=this.resBuf.length;if(0!==e)for(;n>0;--n){if(this.resBuf[n-1].getCanonicalClass()<=e)break}this.resBuf.splice(n,0,t)}while(0!==e);return this.resBuf.shift()};var d=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};d.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),n=e.getCanonicalClass();t&&(this.lastClass<n||0===this.lastClass)?this.procBuf[0]=t:(0===n&&(this.resBuf=this.procBuf,this.procBuf=[]),this.lastClass=n,this.procBuf.push(e))}}return this.resBuf.shift()};var p=function(e,t){for(var n,r=function(e,t){switch(e){case"NFD":return new l(new u(new c(t),!0));case"NFKD":return new l(new u(new c(t),!1));case"NFC":return new d(new l(new u(new c(t),!0)));case"NFKC":return new d(new l(new u(new c(t),!1)))}throw e+" is invalid"}(e,t),i="";n=r.next();)i+=n.toString();return i};r.udata={0:{60:[,,{824:8814}],61:[,,{824:8800}],62:[,,{824:8815}],65:[,,{768:192,769:193,770:194,771:195,772:256,774:258,775:550,776:196,777:7842,778:197,780:461,783:512,785:514,803:7840,805:7680,808:260}],66:[,,{775:7682,803:7684,817:7686}],67:[,,{769:262,770:264,775:266,780:268,807:199}],68:[,,{775:7690,780:270,803:7692,807:7696,813:7698,817:7694}],69:[,,{768:200,769:201,770:202,771:7868,772:274,774:276,775:278,776:203,777:7866,780:282,783:516,785:518,803:7864,807:552,808:280,813:7704,816:7706}],70:[,,{775:7710}],71:[,,{769:500,770:284,772:7712,774:286,775:288,780:486,807:290}],72:[,,{770:292,775:7714,776:7718,780:542,803:7716,807:7720,814:7722}],73:[,,{768:204,769:205,770:206,771:296,772:298,774:300,775:304,776:207,777:7880,780:463,783:520,785:522,803:7882,808:302,816:7724}],74:[,,{770:308}],75:[,,{769:7728,780:488,803:7730,807:310,817:7732}],76:[,,{769:313,780:317,803:7734,807:315,813:7740,817:7738}],77:[,,{769:7742,775:7744,803:7746}],78:[,,{768:504,769:323,771:209,775:7748,780:327,803:7750,807:325,813:7754,817:7752}],79:[,,{768:210,769:211,770:212,771:213,772:332,774:334,775:558,776:214,777:7886,779:336,780:465,783:524,785:526,795:416,803:7884,808:490}],80:[,,{769:7764,775:7766}],82:[,,{769:340,775:7768,780:344,783:528,785:530,803:7770,807:342,817:7774}],83:[,,{769:346,770:348,775:7776,780:352,803:7778,806:536,807:350}],84:[,,{775:7786,780:356,803:7788,806:538,807:354,813:7792,817:7790}],85:[,,{768:217,769:218,770:219,771:360,772:362,774:364,776:220,777:7910,778:366,779:368,780:467,783:532,785:534,795:431,803:7908,804:7794,808:370,813:7798,816:7796}],86:[,,{771:7804,803:7806}],87:[,,{768:7808,769:7810,770:372,775:7814,776:7812,803:7816}],88:[,,{775:7818,776:7820}],89:[,,{768:7922,769:221,770:374,771:7928,772:562,775:7822,776:376,777:7926,803:7924}],90:[,,{769:377,770:7824,775:379,780:381,803:7826,817:7828}],97:[,,{768:224,769:225,770:226,771:227,772:257,774:259,775:551,776:228,777:7843,778:229,780:462,783:513,785:515,803:7841,805:7681,808:261}],98:[,,{775:7683,803:7685,817:7687}],99:[,,{769:263,770:265,775:267,780:269,807:231}],100:[,,{775:7691,780:271,803:7693,807:7697,813:7699,817:7695}],101:[,,{768:232,769:233,770:234,771:7869,772:275,774:277,775:279,776:235,777:7867,780:283,783:517,785:519,803:7865,807:553,808:281,813:7705,816:7707}],102:[,,{775:7711}],103:[,,{769:501,770:285,772:7713,774:287,775:289,780:487,807:291}],104:[,,{770:293,775:7715,776:7719,780:543,803:7717,807:7721,814:7723,817:7830}],105:[,,{768:236,769:237,770:238,771:297,772:299,774:301,776:239,777:7881,780:464,783:521,785:523,803:7883,808:303,816:7725}],106:[,,{770:309,780:496}],107:[,,{769:7729,780:489,803:7731,807:311,817:7733}],108:[,,{769:314,780:318,803:7735,807:316,813:7741,817:7739}],109:[,,{769:7743,775:7745,803:7747}],110:[,,{768:505,769:324,771:241,775:7749,780:328,803:7751,807:326,813:7755,817:7753}],111:[,,{768:242,769:243,770:244,771:245,772:333,774:335,775:559,776:246,777:7887,779:337,780:466,783:525,785:527,795:417,803:7885,808:491}],112:[,,{769:7765,775:7767}],114:[,,{769:341,775:7769,780:345,783:529,785:531,803:7771,807:343,817:7775}],115:[,,{769:347,770:349,775:7777,780:353,803:7779,806:537,807:351}],116:[,,{775:7787,776:7831,780:357,803:7789,806:539,807:355,813:7793,817:7791}],117:[,,{768:249,769:250,770:251,771:361,772:363,774:365,776:252,777:7911,778:367,779:369,780:468,783:533,785:535,795:432,803:7909,804:7795,808:371,813:7799,816:7797}],118:[,,{771:7805,803:7807}],119:[,,{768:7809,769:7811,770:373,775:7815,776:7813,778:7832,803:7817}],120:[,,{775:7819,776:7821}],121:[,,{768:7923,769:253,770:375,771:7929,772:563,775:7823,776:255,777:7927,778:7833,803:7925}],122:[,,{769:378,770:7825,775:380,780:382,803:7827,817:7829}],160:[[32],256],168:[[32,776],256,{768:8173,769:901,834:8129}],170:[[97],256],175:[[32,772],256],178:[[50],256],179:[[51],256],180:[[32,769],256],181:[[956],256],184:[[32,807],256],185:[[49],256],186:[[111],256],188:[[49,8260,52],256],189:[[49,8260,50],256],190:[[51,8260,52],256],192:[[65,768]],193:[[65,769]],194:[[65,770],,{768:7846,769:7844,771:7850,777:7848}],195:[[65,771]],196:[[65,776],,{772:478}],197:[[65,778],,{769:506}],198:[,,{769:508,772:482}],199:[[67,807],,{769:7688}],200:[[69,768]],201:[[69,769]],202:[[69,770],,{768:7872,769:7870,771:7876,777:7874}],203:[[69,776]],204:[[73,768]],205:[[73,769]],206:[[73,770]],207:[[73,776],,{769:7726}],209:[[78,771]],210:[[79,768]],211:[[79,769]],212:[[79,770],,{768:7890,769:7888,771:7894,777:7892}],213:[[79,771],,{769:7756,772:556,776:7758}],214:[[79,776],,{772:554}],216:[,,{769:510}],217:[[85,768]],218:[[85,769]],219:[[85,770]],220:[[85,776],,{768:475,769:471,772:469,780:473}],221:[[89,769]],224:[[97,768]],225:[[97,769]],226:[[97,770],,{768:7847,769:7845,771:7851,777:7849}],227:[[97,771]],228:[[97,776],,{772:479}],229:[[97,778],,{769:507}],230:[,,{769:509,772:483}],231:[[99,807],,{769:7689}],232:[[101,768]],233:[[101,769]],234:[[101,770],,{768:7873,769:7871,771:7877,777:7875}],235:[[101,776]],236:[[105,768]],237:[[105,769]],238:[[105,770]],239:[[105,776],,{769:7727}],241:[[110,771]],242:[[111,768]],243:[[111,769]],244:[[111,770],,{768:7891,769:7889,771:7895,777:7893}],245:[[111,771],,{769:7757,772:557,776:7759}],246:[[111,776],,{772:555}],248:[,,{769:511}],249:[[117,768]],250:[[117,769]],251:[[117,770]],252:[[117,776],,{768:476,769:472,772:470,780:474}],253:[[121,769]],255:[[121,776]]},256:{256:[[65,772]],257:[[97,772]],258:[[65,774],,{768:7856,769:7854,771:7860,777:7858}],259:[[97,774],,{768:7857,769:7855,771:7861,777:7859}],260:[[65,808]],261:[[97,808]],262:[[67,769]],263:[[99,769]],264:[[67,770]],265:[[99,770]],266:[[67,775]],267:[[99,775]],268:[[67,780]],269:[[99,780]],270:[[68,780]],271:[[100,780]],274:[[69,772],,{768:7700,769:7702}],275:[[101,772],,{768:7701,769:7703}],276:[[69,774]],277:[[101,774]],278:[[69,775]],279:[[101,775]],280:[[69,808]],281:[[101,808]],282:[[69,780]],283:[[101,780]],284:[[71,770]],285:[[103,770]],286:[[71,774]],287:[[103,774]],288:[[71,775]],289:[[103,775]],290:[[71,807]],291:[[103,807]],292:[[72,770]],293:[[104,770]],296:[[73,771]],297:[[105,771]],298:[[73,772]],299:[[105,772]],300:[[73,774]],301:[[105,774]],302:[[73,808]],303:[[105,808]],304:[[73,775]],306:[[73,74],256],307:[[105,106],256],308:[[74,770]],309:[[106,770]],310:[[75,807]],311:[[107,807]],313:[[76,769]],314:[[108,769]],315:[[76,807]],316:[[108,807]],317:[[76,780]],318:[[108,780]],319:[[76,183],256],320:[[108,183],256],323:[[78,769]],324:[[110,769]],325:[[78,807]],326:[[110,807]],327:[[78,780]],328:[[110,780]],329:[[700,110],256],332:[[79,772],,{768:7760,769:7762}],333:[[111,772],,{768:7761,769:7763}],334:[[79,774]],335:[[111,774]],336:[[79,779]],337:[[111,779]],340:[[82,769]],341:[[114,769]],342:[[82,807]],343:[[114,807]],344:[[82,780]],345:[[114,780]],346:[[83,769],,{775:7780}],347:[[115,769],,{775:7781}],348:[[83,770]],349:[[115,770]],350:[[83,807]],351:[[115,807]],352:[[83,780],,{775:7782}],353:[[115,780],,{775:7783}],354:[[84,807]],355:[[116,807]],356:[[84,780]],357:[[116,780]],360:[[85,771],,{769:7800}],361:[[117,771],,{769:7801}],362:[[85,772],,{776:7802}],363:[[117,772],,{776:7803}],364:[[85,774]],365:[[117,774]],366:[[85,778]],367:[[117,778]],368:[[85,779]],369:[[117,779]],370:[[85,808]],371:[[117,808]],372:[[87,770]],373:[[119,770]],374:[[89,770]],375:[[121,770]],376:[[89,776]],377:[[90,769]],378:[[122,769]],379:[[90,775]],380:[[122,775]],381:[[90,780]],382:[[122,780]],383:[[115],256,{775:7835}],416:[[79,795],,{768:7900,769:7898,771:7904,777:7902,803:7906}],417:[[111,795],,{768:7901,769:7899,771:7905,777:7903,803:7907}],431:[[85,795],,{768:7914,769:7912,771:7918,777:7916,803:7920}],432:[[117,795],,{768:7915,769:7913,771:7919,777:7917,803:7921}],439:[,,{780:494}],452:[[68,381],256],453:[[68,382],256],454:[[100,382],256],455:[[76,74],256],456:[[76,106],256],457:[[108,106],256],458:[[78,74],256],459:[[78,106],256],460:[[110,106],256],461:[[65,780]],462:[[97,780]],463:[[73,780]],464:[[105,780]],465:[[79,780]],466:[[111,780]],467:[[85,780]],468:[[117,780]],469:[[220,772]],470:[[252,772]],471:[[220,769]],472:[[252,769]],473:[[220,780]],474:[[252,780]],475:[[220,768]],476:[[252,768]],478:[[196,772]],479:[[228,772]],480:[[550,772]],481:[[551,772]],482:[[198,772]],483:[[230,772]],486:[[71,780]],487:[[103,780]],488:[[75,780]],489:[[107,780]],490:[[79,808],,{772:492}],491:[[111,808],,{772:493}],492:[[490,772]],493:[[491,772]],494:[[439,780]],495:[[658,780]],496:[[106,780]],497:[[68,90],256],498:[[68,122],256],499:[[100,122],256],500:[[71,769]],501:[[103,769]],504:[[78,768]],505:[[110,768]],506:[[197,769]],507:[[229,769]],508:[[198,769]],509:[[230,769]],510:[[216,769]],511:[[248,769]],66045:[,220]},512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256],66272:[,220]},768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8e3,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256],66422:[,230],66423:[,230],66424:[,230],66425:[,230],66426:[,230]},1024:{1024:[[1045,768]],1025:[[1045,776]],1027:[[1043,769]],1030:[,,{776:1031}],1031:[[1030,776]],1036:[[1050,769]],1037:[[1048,768]],1038:[[1059,774]],1040:[,,{774:1232,776:1234}],1043:[,,{769:1027}],1045:[,,{768:1024,774:1238,776:1025}],1046:[,,{774:1217,776:1244}],1047:[,,{776:1246}],1048:[,,{768:1037,772:1250,774:1049,776:1252}],1049:[[1048,774]],1050:[,,{769:1036}],1054:[,,{776:1254}],1059:[,,{772:1262,774:1038,776:1264,779:1266}],1063:[,,{776:1268}],1067:[,,{776:1272}],1069:[,,{776:1260}],1072:[,,{774:1233,776:1235}],1075:[,,{769:1107}],1077:[,,{768:1104,774:1239,776:1105}],1078:[,,{774:1218,776:1245}],1079:[,,{776:1247}],1080:[,,{768:1117,772:1251,774:1081,776:1253}],1081:[[1080,774]],1082:[,,{769:1116}],1086:[,,{776:1255}],1091:[,,{772:1263,774:1118,776:1265,779:1267}],1095:[,,{776:1269}],1099:[,,{776:1273}],1101:[,,{776:1261}],1104:[[1077,768]],1105:[[1077,776]],1107:[[1075,769]],1110:[,,{776:1111}],1111:[[1110,776]],1116:[[1082,769]],1117:[[1080,768]],1118:[[1091,774]],1140:[,,{783:1142}],1141:[,,{783:1143}],1142:[[1140,783]],1143:[[1141,783]],1155:[,230],1156:[,230],1157:[,230],1158:[,230],1159:[,230],1217:[[1046,774]],1218:[[1078,774]],1232:[[1040,774]],1233:[[1072,774]],1234:[[1040,776]],1235:[[1072,776]],1238:[[1045,774]],1239:[[1077,774]],1240:[,,{776:1242}],1241:[,,{776:1243}],1242:[[1240,776]],1243:[[1241,776]],1244:[[1046,776]],1245:[[1078,776]],1246:[[1047,776]],1247:[[1079,776]],1250:[[1048,772]],1251:[[1080,772]],1252:[[1048,776]],1253:[[1080,776]],1254:[[1054,776]],1255:[[1086,776]],1256:[,,{776:1258}],1257:[,,{776:1259}],1258:[[1256,776]],1259:[[1257,776]],1260:[[1069,776]],1261:[[1101,776]],1262:[[1059,772]],1263:[[1091,772]],1264:[[1059,776]],1265:[[1091,776]],1266:[[1059,779]],1267:[[1091,779]],1268:[[1063,776]],1269:[[1095,776]],1272:[[1067,776]],1273:[[1099,776]]},1280:{1415:[[1381,1410],256],1425:[,220],1426:[,230],1427:[,230],1428:[,230],1429:[,230],1430:[,220],1431:[,230],1432:[,230],1433:[,230],1434:[,222],1435:[,220],1436:[,230],1437:[,230],1438:[,230],1439:[,230],1440:[,230],1441:[,230],1442:[,220],1443:[,220],1444:[,220],1445:[,220],1446:[,220],1447:[,220],1448:[,230],1449:[,230],1450:[,220],1451:[,230],1452:[,230],1453:[,222],1454:[,228],1455:[,230],1456:[,10],1457:[,11],1458:[,12],1459:[,13],1460:[,14],1461:[,15],1462:[,16],1463:[,17],1464:[,18],1465:[,19],1466:[,19],1467:[,20],1468:[,21],1469:[,22],1471:[,23],1473:[,24],1474:[,25],1476:[,230],1477:[,220],1479:[,18]},1536:{1552:[,230],1553:[,230],1554:[,230],1555:[,230],1556:[,230],1557:[,230],1558:[,230],1559:[,230],1560:[,30],1561:[,31],1562:[,32],1570:[[1575,1619]],1571:[[1575,1620]],1572:[[1608,1620]],1573:[[1575,1621]],1574:[[1610,1620]],1575:[,,{1619:1570,1620:1571,1621:1573}],1608:[,,{1620:1572}],1610:[,,{1620:1574}],1611:[,27],1612:[,28],1613:[,29],1614:[,30],1615:[,31],1616:[,32],1617:[,33],1618:[,34],1619:[,230],1620:[,230],1621:[,220],1622:[,220],1623:[,230],1624:[,230],1625:[,230],1626:[,230],1627:[,230],1628:[,220],1629:[,230],1630:[,230],1631:[,220],1648:[,35],1653:[[1575,1652],256],1654:[[1608,1652],256],1655:[[1735,1652],256],1656:[[1610,1652],256],1728:[[1749,1620]],1729:[,,{1620:1730}],1730:[[1729,1620]],1746:[,,{1620:1747}],1747:[[1746,1620]],1749:[,,{1620:1728}],1750:[,230],1751:[,230],1752:[,230],1753:[,230],1754:[,230],1755:[,230],1756:[,230],1759:[,230],1760:[,230],1761:[,230],1762:[,230],1763:[,220],1764:[,230],1767:[,230],1768:[,230],1770:[,220],1771:[,230],1772:[,230],1773:[,220]},1792:{1809:[,36],1840:[,230],1841:[,220],1842:[,230],1843:[,230],1844:[,220],1845:[,230],1846:[,230],1847:[,220],1848:[,220],1849:[,220],1850:[,230],1851:[,220],1852:[,220],1853:[,230],1854:[,220],1855:[,230],1856:[,230],1857:[,230],1858:[,220],1859:[,230],1860:[,220],1861:[,230],1862:[,220],1863:[,230],1864:[,220],1865:[,230],1866:[,230],2027:[,230],2028:[,230],2029:[,230],2030:[,230],2031:[,230],2032:[,230],2033:[,230],2034:[,220],2035:[,230]},2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230],2303:[,230]},2304:{2344:[,,{2364:2345}],2345:[[2344,2364]],2352:[,,{2364:2353}],2353:[[2352,2364]],2355:[,,{2364:2356}],2356:[[2355,2364]],2364:[,7],2381:[,9],2385:[,230],2386:[,220],2387:[,230],2388:[,230],2392:[[2325,2364],512],2393:[[2326,2364],512],2394:[[2327,2364],512],2395:[[2332,2364],512],2396:[[2337,2364],512],2397:[[2338,2364],512],2398:[[2347,2364],512],2399:[[2351,2364],512],2492:[,7],2503:[,,{2494:2507,2519:2508}],2507:[[2503,2494]],2508:[[2503,2519]],2509:[,9],2524:[[2465,2492],512],2525:[[2466,2492],512],2527:[[2479,2492],512]},2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9],68325:[,230],68326:[,220]},2816:{2876:[,7],2887:[,,{2878:2891,2902:2888,2903:2892}],2888:[[2887,2902]],2891:[[2887,2878]],2892:[[2887,2903]],2893:[,9],2908:[[2849,2876],512],2909:[[2850,2876],512],2962:[,,{3031:2964}],2964:[[2962,3031]],3014:[,,{3006:3018,3031:3020}],3015:[,,{3006:3019}],3018:[[3014,3006]],3019:[[3015,3006]],3020:[[3014,3031]],3021:[,9]},3072:{3142:[,,{3158:3144}],3144:[[3142,3158]],3149:[,9],3157:[,84],3158:[,91],3260:[,7],3263:[,,{3285:3264}],3264:[[3263,3285]],3270:[,,{3266:3274,3285:3271,3286:3272}],3271:[[3270,3285]],3272:[[3270,3286]],3274:[[3270,3266],,{3285:3275}],3275:[[3274,3285]],3277:[,9]},3328:{3398:[,,{3390:3402,3415:3404}],3399:[,,{3390:3403}],3402:[[3398,3390]],3403:[[3399,3390]],3404:[[3398,3415]],3405:[,9],3530:[,9],3545:[,,{3530:3546,3535:3548,3551:3550}],3546:[[3545,3530]],3548:[[3545,3535],,{3530:3549}],3549:[[3548,3530]],3550:[[3545,3551]]},3584:{3635:[[3661,3634],256],3640:[,103],3641:[,103],3642:[,9],3656:[,107],3657:[,107],3658:[,107],3659:[,107],3763:[[3789,3762],256],3768:[,118],3769:[,118],3784:[,122],3785:[,122],3786:[,122],3787:[,122],3804:[[3755,3737],256],3805:[[3755,3745],256]},3840:{3852:[[3851],256],3864:[,220],3865:[,220],3893:[,220],3895:[,220],3897:[,216],3907:[[3906,4023],512],3917:[[3916,4023],512],3922:[[3921,4023],512],3927:[[3926,4023],512],3932:[[3931,4023],512],3945:[[3904,4021],512],3953:[,129],3954:[,130],3955:[[3953,3954],512],3956:[,132],3957:[[3953,3956],512],3958:[[4018,3968],512],3959:[[4018,3969],256],3960:[[4019,3968],512],3961:[[4019,3969],256],3962:[,130],3963:[,130],3964:[,130],3965:[,130],3968:[,130],3969:[[3953,3968],512],3970:[,230],3971:[,230],3972:[,9],3974:[,230],3975:[,230],3987:[[3986,4023],512],3997:[[3996,4023],512],4002:[[4001,4023],512],4007:[[4006,4023],512],4012:[[4011,4023],512],4025:[[3984,4021],512],4038:[,220]},4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69759:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]},4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70003:[,7],70080:[,9]},4608:{70197:[,9],70198:[,7],70377:[,7],70378:[,9]},4864:{4957:[,230],4958:[,230],4959:[,230],70460:[,7],70471:[,,{70462:70475,70487:70476}],70475:[[70471,70462]],70476:[[70471,70487]],70477:[,9],70502:[,230],70503:[,230],70504:[,230],70505:[,230],70506:[,230],70507:[,230],70508:[,230],70512:[,230],70513:[,230],70514:[,230],70515:[,230],70516:[,230]},5120:{70841:[,,{70832:70844,70842:70843,70845:70846}],70843:[[70841,70842]],70844:[[70841,70832]],70846:[[70841,70845]],70850:[,9],70851:[,7]},5376:{71096:[,,{71087:71098}],71097:[,,{71087:71099}],71098:[[71096,71087]],71099:[[71097,71087]],71103:[,9],71104:[,7]},5632:{71231:[,9],71350:[,9],71351:[,7]},5888:{5908:[,9],5940:[,9],6098:[,9],6109:[,230]},6144:{6313:[,228]},6400:{6457:[,222],6458:[,230],6459:[,220]},6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220],6832:[,230],6833:[,230],6834:[,230],6835:[,230],6836:[,230],6837:[,220],6838:[,220],6839:[,220],6840:[,220],6841:[,220],6842:[,220],6843:[,230],6844:[,230],6845:[,220]},6912:{6917:[,,{6965:6918}],6918:[[6917,6965]],6919:[,,{6965:6920}],6920:[[6919,6965]],6921:[,,{6965:6922}],6922:[[6921,6965]],6923:[,,{6965:6924}],6924:[[6923,6965]],6925:[,,{6965:6926}],6926:[[6925,6965]],6929:[,,{6965:6930}],6930:[[6929,6965]],6964:[,7],6970:[,,{6965:6971}],6971:[[6970,6965]],6972:[,,{6965:6973}],6973:[[6972,6965]],6974:[,,{6965:6976}],6975:[,,{6965:6977}],6976:[[6974,6965]],6977:[[6975,6965]],6978:[,,{6965:6979}],6979:[[6978,6965]],6980:[,9],7019:[,230],7020:[,220],7021:[,230],7022:[,230],7023:[,230],7024:[,230],7025:[,230],7026:[,230],7027:[,230],7082:[,9],7083:[,9],7142:[,7],7154:[,9],7155:[,9]},7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230],7416:[,230],7417:[,230]},7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7655:[,230],7656:[,230],7657:[,230],7658:[,230],7659:[,230],7660:[,230],7661:[,230],7662:[,230],7663:[,230],7664:[,230],7665:[,230],7666:[,230],7667:[,230],7668:[,230],7669:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]},7680:{7680:[[65,805]],7681:[[97,805]],7682:[[66,775]],7683:[[98,775]],7684:[[66,803]],7685:[[98,803]],7686:[[66,817]],7687:[[98,817]],7688:[[199,769]],7689:[[231,769]],7690:[[68,775]],7691:[[100,775]],7692:[[68,803]],7693:[[100,803]],7694:[[68,817]],7695:[[100,817]],7696:[[68,807]],7697:[[100,807]],7698:[[68,813]],7699:[[100,813]],7700:[[274,768]],7701:[[275,768]],7702:[[274,769]],7703:[[275,769]],7704:[[69,813]],7705:[[101,813]],7706:[[69,816]],7707:[[101,816]],7708:[[552,774]],7709:[[553,774]],7710:[[70,775]],7711:[[102,775]],7712:[[71,772]],7713:[[103,772]],7714:[[72,775]],7715:[[104,775]],7716:[[72,803]],7717:[[104,803]],7718:[[72,776]],7719:[[104,776]],7720:[[72,807]],7721:[[104,807]],7722:[[72,814]],7723:[[104,814]],7724:[[73,816]],7725:[[105,816]],7726:[[207,769]],7727:[[239,769]],7728:[[75,769]],7729:[[107,769]],7730:[[75,803]],7731:[[107,803]],7732:[[75,817]],7733:[[107,817]],7734:[[76,803],,{772:7736}],7735:[[108,803],,{772:7737}],7736:[[7734,772]],7737:[[7735,772]],7738:[[76,817]],7739:[[108,817]],7740:[[76,813]],7741:[[108,813]],7742:[[77,769]],7743:[[109,769]],7744:[[77,775]],7745:[[109,775]],7746:[[77,803]],7747:[[109,803]],7748:[[78,775]],7749:[[110,775]],7750:[[78,803]],7751:[[110,803]],7752:[[78,817]],7753:[[110,817]],7754:[[78,813]],7755:[[110,813]],7756:[[213,769]],7757:[[245,769]],7758:[[213,776]],7759:[[245,776]],7760:[[332,768]],7761:[[333,768]],7762:[[332,769]],7763:[[333,769]],7764:[[80,769]],7765:[[112,769]],7766:[[80,775]],7767:[[112,775]],7768:[[82,775]],7769:[[114,775]],7770:[[82,803],,{772:7772}],7771:[[114,803],,{772:7773}],7772:[[7770,772]],7773:[[7771,772]],7774:[[82,817]],7775:[[114,817]],7776:[[83,775]],7777:[[115,775]],7778:[[83,803],,{775:7784}],7779:[[115,803],,{775:7785}],7780:[[346,775]],7781:[[347,775]],7782:[[352,775]],7783:[[353,775]],7784:[[7778,775]],7785:[[7779,775]],7786:[[84,775]],7787:[[116,775]],7788:[[84,803]],7789:[[116,803]],7790:[[84,817]],7791:[[116,817]],7792:[[84,813]],7793:[[116,813]],7794:[[85,804]],7795:[[117,804]],7796:[[85,816]],7797:[[117,816]],7798:[[85,813]],7799:[[117,813]],7800:[[360,769]],7801:[[361,769]],7802:[[362,776]],7803:[[363,776]],7804:[[86,771]],7805:[[118,771]],7806:[[86,803]],7807:[[118,803]],7808:[[87,768]],7809:[[119,768]],7810:[[87,769]],7811:[[119,769]],7812:[[87,776]],7813:[[119,776]],7814:[[87,775]],7815:[[119,775]],7816:[[87,803]],7817:[[119,803]],7818:[[88,775]],7819:[[120,775]],7820:[[88,776]],7821:[[120,776]],7822:[[89,775]],7823:[[121,775]],7824:[[90,770]],7825:[[122,770]],7826:[[90,803]],7827:[[122,803]],7828:[[90,817]],7829:[[122,817]],7830:[[104,817]],7831:[[116,776]],7832:[[119,778]],7833:[[121,778]],7834:[[97,702],256],7835:[[383,775]],7840:[[65,803],,{770:7852,774:7862}],7841:[[97,803],,{770:7853,774:7863}],7842:[[65,777]],7843:[[97,777]],7844:[[194,769]],7845:[[226,769]],7846:[[194,768]],7847:[[226,768]],7848:[[194,777]],7849:[[226,777]],7850:[[194,771]],7851:[[226,771]],7852:[[7840,770]],7853:[[7841,770]],7854:[[258,769]],7855:[[259,769]],7856:[[258,768]],7857:[[259,768]],7858:[[258,777]],7859:[[259,777]],7860:[[258,771]],7861:[[259,771]],7862:[[7840,774]],7863:[[7841,774]],7864:[[69,803],,{770:7878}],7865:[[101,803],,{770:7879}],7866:[[69,777]],7867:[[101,777]],7868:[[69,771]],7869:[[101,771]],7870:[[202,769]],7871:[[234,769]],7872:[[202,768]],7873:[[234,768]],7874:[[202,777]],7875:[[234,777]],7876:[[202,771]],7877:[[234,771]],7878:[[7864,770]],7879:[[7865,770]],7880:[[73,777]],7881:[[105,777]],7882:[[73,803]],7883:[[105,803]],7884:[[79,803],,{770:7896}],7885:[[111,803],,{770:7897}],7886:[[79,777]],7887:[[111,777]],7888:[[212,769]],7889:[[244,769]],7890:[[212,768]],7891:[[244,768]],7892:[[212,777]],7893:[[244,777]],7894:[[212,771]],7895:[[244,771]],7896:[[7884,770]],7897:[[7885,770]],7898:[[416,769]],7899:[[417,769]],7900:[[416,768]],7901:[[417,768]],7902:[[416,777]],7903:[[417,777]],7904:[[416,771]],7905:[[417,771]],7906:[[416,803]],7907:[[417,803]],7908:[[85,803]],7909:[[117,803]],7910:[[85,777]],7911:[[117,777]],7912:[[431,769]],7913:[[432,769]],7914:[[431,768]],7915:[[432,768]],7916:[[431,777]],7917:[[432,777]],7918:[[431,771]],7919:[[432,771]],7920:[[431,803]],7921:[[432,803]],7922:[[89,768]],7923:[[121,768]],7924:[[89,803]],7925:[[121,803]],7926:[[89,777]],7927:[[121,777]],7928:[[89,771]],7929:[[121,771]]},7936:{7936:[[945,787],,{768:7938,769:7940,834:7942,837:8064}],7937:[[945,788],,{768:7939,769:7941,834:7943,837:8065}],7938:[[7936,768],,{837:8066}],7939:[[7937,768],,{837:8067}],7940:[[7936,769],,{837:8068}],7941:[[7937,769],,{837:8069}],7942:[[7936,834],,{837:8070}],7943:[[7937,834],,{837:8071}],7944:[[913,787],,{768:7946,769:7948,834:7950,837:8072}],7945:[[913,788],,{768:7947,769:7949,834:7951,837:8073}],7946:[[7944,768],,{837:8074}],7947:[[7945,768],,{837:8075}],7948:[[7944,769],,{837:8076}],7949:[[7945,769],,{837:8077}],7950:[[7944,834],,{837:8078}],7951:[[7945,834],,{837:8079}],7952:[[949,787],,{768:7954,769:7956}],7953:[[949,788],,{768:7955,769:7957}],7954:[[7952,768]],7955:[[7953,768]],7956:[[7952,769]],7957:[[7953,769]],7960:[[917,787],,{768:7962,769:7964}],7961:[[917,788],,{768:7963,769:7965}],7962:[[7960,768]],7963:[[7961,768]],7964:[[7960,769]],7965:[[7961,769]],7968:[[951,787],,{768:7970,769:7972,834:7974,837:8080}],7969:[[951,788],,{768:7971,769:7973,834:7975,837:8081}],7970:[[7968,768],,{837:8082}],7971:[[7969,768],,{837:8083}],7972:[[7968,769],,{837:8084}],7973:[[7969,769],,{837:8085}],7974:[[7968,834],,{837:8086}],7975:[[7969,834],,{837:8087}],7976:[[919,787],,{768:7978,769:7980,834:7982,837:8088}],7977:[[919,788],,{768:7979,769:7981,834:7983,837:8089}],7978:[[7976,768],,{837:8090}],7979:[[7977,768],,{837:8091}],7980:[[7976,769],,{837:8092}],7981:[[7977,769],,{837:8093}],7982:[[7976,834],,{837:8094}],7983:[[7977,834],,{837:8095}],7984:[[953,787],,{768:7986,769:7988,834:7990}],7985:[[953,788],,{768:7987,769:7989,834:7991}],7986:[[7984,768]],7987:[[7985,768]],7988:[[7984,769]],7989:[[7985,769]],7990:[[7984,834]],7991:[[7985,834]],7992:[[921,787],,{768:7994,769:7996,834:7998}],7993:[[921,788],,{768:7995,769:7997,834:7999}],7994:[[7992,768]],7995:[[7993,768]],7996:[[7992,769]],7997:[[7993,769]],7998:[[7992,834]],7999:[[7993,834]],8e3:[[959,787],,{768:8002,769:8004}],8001:[[959,788],,{768:8003,769:8005}],8002:[[8e3,768]],8003:[[8001,768]],8004:[[8e3,769]],8005:[[8001,769]],8008:[[927,787],,{768:8010,769:8012}],8009:[[927,788],,{768:8011,769:8013}],8010:[[8008,768]],8011:[[8009,768]],8012:[[8008,769]],8013:[[8009,769]],8016:[[965,787],,{768:8018,769:8020,834:8022}],8017:[[965,788],,{768:8019,769:8021,834:8023}],8018:[[8016,768]],8019:[[8017,768]],8020:[[8016,769]],8021:[[8017,769]],8022:[[8016,834]],8023:[[8017,834]],8025:[[933,788],,{768:8027,769:8029,834:8031}],8027:[[8025,768]],8029:[[8025,769]],8031:[[8025,834]],8032:[[969,787],,{768:8034,769:8036,834:8038,837:8096}],8033:[[969,788],,{768:8035,769:8037,834:8039,837:8097}],8034:[[8032,768],,{837:8098}],8035:[[8033,768],,{837:8099}],8036:[[8032,769],,{837:8100}],8037:[[8033,769],,{837:8101}],8038:[[8032,834],,{837:8102}],8039:[[8033,834],,{837:8103}],8040:[[937,787],,{768:8042,769:8044,834:8046,837:8104}],8041:[[937,788],,{768:8043,769:8045,834:8047,837:8105}],8042:[[8040,768],,{837:8106}],8043:[[8041,768],,{837:8107}],8044:[[8040,769],,{837:8108}],8045:[[8041,769],,{837:8109}],8046:[[8040,834],,{837:8110}],8047:[[8041,834],,{837:8111}],8048:[[945,768],,{837:8114}],8049:[[940]],8050:[[949,768]],8051:[[941]],8052:[[951,768],,{837:8130}],8053:[[942]],8054:[[953,768]],8055:[[943]],8056:[[959,768]],8057:[[972]],8058:[[965,768]],8059:[[973]],8060:[[969,768],,{837:8178}],8061:[[974]],8064:[[7936,837]],8065:[[7937,837]],8066:[[7938,837]],8067:[[7939,837]],8068:[[7940,837]],8069:[[7941,837]],8070:[[7942,837]],8071:[[7943,837]],8072:[[7944,837]],8073:[[7945,837]],8074:[[7946,837]],8075:[[7947,837]],8076:[[7948,837]],8077:[[7949,837]],8078:[[7950,837]],8079:[[7951,837]],8080:[[7968,837]],8081:[[7969,837]],8082:[[7970,837]],8083:[[7971,837]],8084:[[7972,837]],8085:[[7973,837]],8086:[[7974,837]],8087:[[7975,837]],8088:[[7976,837]],8089:[[7977,837]],8090:[[7978,837]],8091:[[7979,837]],8092:[[7980,837]],8093:[[7981,837]],8094:[[7982,837]],8095:[[7983,837]],8096:[[8032,837]],8097:[[8033,837]],8098:[[8034,837]],8099:[[8035,837]],8100:[[8036,837]],8101:[[8037,837]],8102:[[8038,837]],8103:[[8039,837]],8104:[[8040,837]],8105:[[8041,837]],8106:[[8042,837]],8107:[[8043,837]],8108:[[8044,837]],8109:[[8045,837]],8110:[[8046,837]],8111:[[8047,837]],8112:[[945,774]],8113:[[945,772]],8114:[[8048,837]],8115:[[945,837]],8116:[[940,837]],8118:[[945,834],,{837:8119}],8119:[[8118,837]],8120:[[913,774]],8121:[[913,772]],8122:[[913,768]],8123:[[902]],8124:[[913,837]],8125:[[32,787],256],8126:[[953]],8127:[[32,787],256,{768:8141,769:8142,834:8143}],8128:[[32,834],256],8129:[[168,834]],8130:[[8052,837]],8131:[[951,837]],8132:[[942,837]],8134:[[951,834],,{837:8135}],8135:[[8134,837]],8136:[[917,768]],8137:[[904]],8138:[[919,768]],8139:[[905]],8140:[[919,837]],8141:[[8127,768]],8142:[[8127,769]],8143:[[8127,834]],8144:[[953,774]],8145:[[953,772]],8146:[[970,768]],8147:[[912]],8150:[[953,834]],8151:[[970,834]],8152:[[921,774]],8153:[[921,772]],8154:[[921,768]],8155:[[906]],8157:[[8190,768]],8158:[[8190,769]],8159:[[8190,834]],8160:[[965,774]],8161:[[965,772]],8162:[[971,768]],8163:[[944]],8164:[[961,787]],8165:[[961,788]],8166:[[965,834]],8167:[[971,834]],8168:[[933,774]],8169:[[933,772]],8170:[[933,768]],8171:[[910]],8172:[[929,788]],8173:[[168,768]],8174:[[901]],8175:[[96]],8178:[[8060,837]],8179:[[969,837]],8180:[[974,837]],8182:[[969,834],,{837:8183}],8183:[[8182,837]],8184:[[927,768]],8185:[[908]],8186:[[937,768]],8187:[[911]],8188:[[937,837]],8189:[[180]],8190:[[32,788],256,{768:8157,769:8158,834:8159}]},8192:{8192:[[8194]],8193:[[8195]],8194:[[32],256],8195:[[32],256],8196:[[32],256],8197:[[32],256],8198:[[32],256],8199:[[32],256],8200:[[32],256],8201:[[32],256],8202:[[32],256],8209:[[8208],256],8215:[[32,819],256],8228:[[46],256],8229:[[46,46],256],8230:[[46,46,46],256],8239:[[32],256],8243:[[8242,8242],256],8244:[[8242,8242,8242],256],8246:[[8245,8245],256],8247:[[8245,8245,8245],256],8252:[[33,33],256],8254:[[32,773],256],8263:[[63,63],256],8264:[[63,33],256],8265:[[33,63],256],8279:[[8242,8242,8242,8242],256],8287:[[32],256],8304:[[48],256],8305:[[105],256],8308:[[52],256],8309:[[53],256],8310:[[54],256],8311:[[55],256],8312:[[56],256],8313:[[57],256],8314:[[43],256],8315:[[8722],256],8316:[[61],256],8317:[[40],256],8318:[[41],256],8319:[[110],256],8320:[[48],256],8321:[[49],256],8322:[[50],256],8323:[[51],256],8324:[[52],256],8325:[[53],256],8326:[[54],256],8327:[[55],256],8328:[[56],256],8329:[[57],256],8330:[[43],256],8331:[[8722],256],8332:[[61],256],8333:[[40],256],8334:[[41],256],8336:[[97],256],8337:[[101],256],8338:[[111],256],8339:[[120],256],8340:[[601],256],8341:[[104],256],8342:[[107],256],8343:[[108],256],8344:[[109],256],8345:[[110],256],8346:[[112],256],8347:[[115],256],8348:[[116],256],8360:[[82,115],256],8400:[,230],8401:[,230],8402:[,1],8403:[,1],8404:[,230],8405:[,230],8406:[,230],8407:[,230],8408:[,1],8409:[,1],8410:[,1],8411:[,230],8412:[,230],8417:[,230],8421:[,1],8422:[,1],8423:[,230],8424:[,220],8425:[,230],8426:[,1],8427:[,1],8428:[,220],8429:[,220],8430:[,220],8431:[,220],8432:[,230]},8448:{8448:[[97,47,99],256],8449:[[97,47,115],256],8450:[[67],256],8451:[[176,67],256],8453:[[99,47,111],256],8454:[[99,47,117],256],8455:[[400],256],8457:[[176,70],256],8458:[[103],256],8459:[[72],256],8460:[[72],256],8461:[[72],256],8462:[[104],256],8463:[[295],256],8464:[[73],256],8465:[[73],256],8466:[[76],256],8467:[[108],256],8469:[[78],256],8470:[[78,111],256],8473:[[80],256],8474:[[81],256],8475:[[82],256],8476:[[82],256],8477:[[82],256],8480:[[83,77],256],8481:[[84,69,76],256],8482:[[84,77],256],8484:[[90],256],8486:[[937]],8488:[[90],256],8490:[[75]],8491:[[197]],8492:[[66],256],8493:[[67],256],8495:[[101],256],8496:[[69],256],8497:[[70],256],8499:[[77],256],8500:[[111],256],8501:[[1488],256],8502:[[1489],256],8503:[[1490],256],8504:[[1491],256],8505:[[105],256],8507:[[70,65,88],256],8508:[[960],256],8509:[[947],256],8510:[[915],256],8511:[[928],256],8512:[[8721],256],8517:[[68],256],8518:[[100],256],8519:[[101],256],8520:[[105],256],8521:[[106],256],8528:[[49,8260,55],256],8529:[[49,8260,57],256],8530:[[49,8260,49,48],256],8531:[[49,8260,51],256],8532:[[50,8260,51],256],8533:[[49,8260,53],256],8534:[[50,8260,53],256],8535:[[51,8260,53],256],8536:[[52,8260,53],256],8537:[[49,8260,54],256],8538:[[53,8260,54],256],8539:[[49,8260,56],256],8540:[[51,8260,56],256],8541:[[53,8260,56],256],8542:[[55,8260,56],256],8543:[[49,8260],256],8544:[[73],256],8545:[[73,73],256],8546:[[73,73,73],256],8547:[[73,86],256],8548:[[86],256],8549:[[86,73],256],8550:[[86,73,73],256],8551:[[86,73,73,73],256],8552:[[73,88],256],8553:[[88],256],8554:[[88,73],256],8555:[[88,73,73],256],8556:[[76],256],8557:[[67],256],8558:[[68],256],8559:[[77],256],8560:[[105],256],8561:[[105,105],256],8562:[[105,105,105],256],8563:[[105,118],256],8564:[[118],256],8565:[[118,105],256],8566:[[118,105,105],256],8567:[[118,105,105,105],256],8568:[[105,120],256],8569:[[120],256],8570:[[120,105],256],8571:[[120,105,105],256],8572:[[108],256],8573:[[99],256],8574:[[100],256],8575:[[109],256],8585:[[48,8260,51],256],8592:[,,{824:8602}],8594:[,,{824:8603}],8596:[,,{824:8622}],8602:[[8592,824]],8603:[[8594,824]],8622:[[8596,824]],8653:[[8656,824]],8654:[[8660,824]],8655:[[8658,824]],8656:[,,{824:8653}],8658:[,,{824:8655}],8660:[,,{824:8654}]},8704:{8707:[,,{824:8708}],8708:[[8707,824]],8712:[,,{824:8713}],8713:[[8712,824]],8715:[,,{824:8716}],8716:[[8715,824]],8739:[,,{824:8740}],8740:[[8739,824]],8741:[,,{824:8742}],8742:[[8741,824]],8748:[[8747,8747],256],8749:[[8747,8747,8747],256],8751:[[8750,8750],256],8752:[[8750,8750,8750],256],8764:[,,{824:8769}],8769:[[8764,824]],8771:[,,{824:8772}],8772:[[8771,824]],8773:[,,{824:8775}],8775:[[8773,824]],8776:[,,{824:8777}],8777:[[8776,824]],8781:[,,{824:8813}],8800:[[61,824]],8801:[,,{824:8802}],8802:[[8801,824]],8804:[,,{824:8816}],8805:[,,{824:8817}],8813:[[8781,824]],8814:[[60,824]],8815:[[62,824]],8816:[[8804,824]],8817:[[8805,824]],8818:[,,{824:8820}],8819:[,,{824:8821}],8820:[[8818,824]],8821:[[8819,824]],8822:[,,{824:8824}],8823:[,,{824:8825}],8824:[[8822,824]],8825:[[8823,824]],8826:[,,{824:8832}],8827:[,,{824:8833}],8828:[,,{824:8928}],8829:[,,{824:8929}],8832:[[8826,824]],8833:[[8827,824]],8834:[,,{824:8836}],8835:[,,{824:8837}],8836:[[8834,824]],8837:[[8835,824]],8838:[,,{824:8840}],8839:[,,{824:8841}],8840:[[8838,824]],8841:[[8839,824]],8849:[,,{824:8930}],8850:[,,{824:8931}],8866:[,,{824:8876}],8872:[,,{824:8877}],8873:[,,{824:8878}],8875:[,,{824:8879}],8876:[[8866,824]],8877:[[8872,824]],8878:[[8873,824]],8879:[[8875,824]],8882:[,,{824:8938}],8883:[,,{824:8939}],8884:[,,{824:8940}],8885:[,,{824:8941}],8928:[[8828,824]],8929:[[8829,824]],8930:[[8849,824]],8931:[[8850,824]],8938:[[8882,824]],8939:[[8883,824]],8940:[[8884,824]],8941:[[8885,824]]},8960:{9001:[[12296]],9002:[[12297]]},9216:{9312:[[49],256],9313:[[50],256],9314:[[51],256],9315:[[52],256],9316:[[53],256],9317:[[54],256],9318:[[55],256],9319:[[56],256],9320:[[57],256],9321:[[49,48],256],9322:[[49,49],256],9323:[[49,50],256],9324:[[49,51],256],9325:[[49,52],256],9326:[[49,53],256],9327:[[49,54],256],9328:[[49,55],256],9329:[[49,56],256],9330:[[49,57],256],9331:[[50,48],256],9332:[[40,49,41],256],9333:[[40,50,41],256],9334:[[40,51,41],256],9335:[[40,52,41],256],9336:[[40,53,41],256],9337:[[40,54,41],256],9338:[[40,55,41],256],9339:[[40,56,41],256],9340:[[40,57,41],256],9341:[[40,49,48,41],256],9342:[[40,49,49,41],256],9343:[[40,49,50,41],256],9344:[[40,49,51,41],256],9345:[[40,49,52,41],256],9346:[[40,49,53,41],256],9347:[[40,49,54,41],256],9348:[[40,49,55,41],256],9349:[[40,49,56,41],256],9350:[[40,49,57,41],256],9351:[[40,50,48,41],256],9352:[[49,46],256],9353:[[50,46],256],9354:[[51,46],256],9355:[[52,46],256],9356:[[53,46],256],9357:[[54,46],256],9358:[[55,46],256],9359:[[56,46],256],9360:[[57,46],256],9361:[[49,48,46],256],9362:[[49,49,46],256],9363:[[49,50,46],256],9364:[[49,51,46],256],9365:[[49,52,46],256],9366:[[49,53,46],256],9367:[[49,54,46],256],9368:[[49,55,46],256],9369:[[49,56,46],256],9370:[[49,57,46],256],9371:[[50,48,46],256],9372:[[40,97,41],256],9373:[[40,98,41],256],9374:[[40,99,41],256],9375:[[40,100,41],256],9376:[[40,101,41],256],9377:[[40,102,41],256],9378:[[40,103,41],256],9379:[[40,104,41],256],9380:[[40,105,41],256],9381:[[40,106,41],256],9382:[[40,107,41],256],9383:[[40,108,41],256],9384:[[40,109,41],256],9385:[[40,110,41],256],9386:[[40,111,41],256],9387:[[40,112,41],256],9388:[[40,113,41],256],9389:[[40,114,41],256],9390:[[40,115,41],256],9391:[[40,116,41],256],9392:[[40,117,41],256],9393:[[40,118,41],256],9394:[[40,119,41],256],9395:[[40,120,41],256],9396:[[40,121,41],256],9397:[[40,122,41],256],9398:[[65],256],9399:[[66],256],9400:[[67],256],9401:[[68],256],9402:[[69],256],9403:[[70],256],9404:[[71],256],9405:[[72],256],9406:[[73],256],9407:[[74],256],9408:[[75],256],9409:[[76],256],9410:[[77],256],9411:[[78],256],9412:[[79],256],9413:[[80],256],9414:[[81],256],9415:[[82],256],9416:[[83],256],9417:[[84],256],9418:[[85],256],9419:[[86],256],9420:[[87],256],9421:[[88],256],9422:[[89],256],9423:[[90],256],9424:[[97],256],9425:[[98],256],9426:[[99],256],9427:[[100],256],9428:[[101],256],9429:[[102],256],9430:[[103],256],9431:[[104],256],9432:[[105],256],9433:[[106],256],9434:[[107],256],9435:[[108],256],9436:[[109],256],9437:[[110],256],9438:[[111],256],9439:[[112],256],9440:[[113],256],9441:[[114],256],9442:[[115],256],9443:[[116],256],9444:[[117],256],9445:[[118],256],9446:[[119],256],9447:[[120],256],9448:[[121],256],9449:[[122],256],9450:[[48],256]},10752:{10764:[[8747,8747,8747,8747],256],10868:[[58,58,61],256],10869:[[61,61],256],10870:[[61,61,61],256],10972:[[10973,824],512]},11264:{11388:[[106],256],11389:[[86],256],11503:[,230],11504:[,230],11505:[,230]},11520:{11631:[[11617],256],11647:[,9],11744:[,230],11745:[,230],11746:[,230],11747:[,230],11748:[,230],11749:[,230],11750:[,230],11751:[,230],11752:[,230],11753:[,230],11754:[,230],11755:[,230],11756:[,230],11757:[,230],11758:[,230],11759:[,230],11760:[,230],11761:[,230],11762:[,230],11763:[,230],11764:[,230],11765:[,230],11766:[,230],11767:[,230],11768:[,230],11769:[,230],11770:[,230],11771:[,230],11772:[,230],11773:[,230],11774:[,230],11775:[,230]},11776:{11935:[[27597],256],12019:[[40863],256]},12032:{12032:[[19968],256],12033:[[20008],256],12034:[[20022],256],12035:[[20031],256],12036:[[20057],256],12037:[[20101],256],12038:[[20108],256],12039:[[20128],256],12040:[[20154],256],12041:[[20799],256],12042:[[20837],256],12043:[[20843],256],12044:[[20866],256],12045:[[20886],256],12046:[[20907],256],12047:[[20960],256],12048:[[20981],256],12049:[[20992],256],12050:[[21147],256],12051:[[21241],256],12052:[[21269],256],12053:[[21274],256],12054:[[21304],256],12055:[[21313],256],12056:[[21340],256],12057:[[21353],256],12058:[[21378],256],12059:[[21430],256],12060:[[21448],256],12061:[[21475],256],12062:[[22231],256],12063:[[22303],256],12064:[[22763],256],12065:[[22786],256],12066:[[22794],256],12067:[[22805],256],12068:[[22823],256],12069:[[22899],256],12070:[[23376],256],12071:[[23424],256],12072:[[23544],256],12073:[[23567],256],12074:[[23586],256],12075:[[23608],256],12076:[[23662],256],12077:[[23665],256],12078:[[24027],256],12079:[[24037],256],12080:[[24049],256],12081:[[24062],256],12082:[[24178],256],12083:[[24186],256],12084:[[24191],256],12085:[[24308],256],12086:[[24318],256],12087:[[24331],256],12088:[[24339],256],12089:[[24400],256],12090:[[24417],256],12091:[[24435],256],12092:[[24515],256],12093:[[25096],256],12094:[[25142],256],12095:[[25163],256],12096:[[25903],256],12097:[[25908],256],12098:[[25991],256],12099:[[26007],256],12100:[[26020],256],12101:[[26041],256],12102:[[26080],256],12103:[[26085],256],12104:[[26352],256],12105:[[26376],256],12106:[[26408],256],12107:[[27424],256],12108:[[27490],256],12109:[[27513],256],12110:[[27571],256],12111:[[27595],256],12112:[[27604],256],12113:[[27611],256],12114:[[27663],256],12115:[[27668],256],12116:[[27700],256],12117:[[28779],256],12118:[[29226],256],12119:[[29238],256],12120:[[29243],256],12121:[[29247],256],12122:[[29255],256],12123:[[29273],256],12124:[[29275],256],12125:[[29356],256],12126:[[29572],256],12127:[[29577],256],12128:[[29916],256],12129:[[29926],256],12130:[[29976],256],12131:[[29983],256],12132:[[29992],256],12133:[[3e4],256],12134:[[30091],256],12135:[[30098],256],12136:[[30326],256],12137:[[30333],256],12138:[[30382],256],12139:[[30399],256],12140:[[30446],256],12141:[[30683],256],12142:[[30690],256],12143:[[30707],256],12144:[[31034],256],12145:[[31160],256],12146:[[31166],256],12147:[[31348],256],12148:[[31435],256],12149:[[31481],256],12150:[[31859],256],12151:[[31992],256],12152:[[32566],256],12153:[[32593],256],12154:[[32650],256],12155:[[32701],256],12156:[[32769],256],12157:[[32780],256],12158:[[32786],256],12159:[[32819],256],12160:[[32895],256],12161:[[32905],256],12162:[[33251],256],12163:[[33258],256],12164:[[33267],256],12165:[[33276],256],12166:[[33292],256],12167:[[33307],256],12168:[[33311],256],12169:[[33390],256],12170:[[33394],256],12171:[[33400],256],12172:[[34381],256],12173:[[34411],256],12174:[[34880],256],12175:[[34892],256],12176:[[34915],256],12177:[[35198],256],12178:[[35211],256],12179:[[35282],256],12180:[[35328],256],12181:[[35895],256],12182:[[35910],256],12183:[[35925],256],12184:[[35960],256],12185:[[35997],256],12186:[[36196],256],12187:[[36208],256],12188:[[36275],256],12189:[[36523],256],12190:[[36554],256],12191:[[36763],256],12192:[[36784],256],12193:[[36789],256],12194:[[37009],256],12195:[[37193],256],12196:[[37318],256],12197:[[37324],256],12198:[[37329],256],12199:[[38263],256],12200:[[38272],256],12201:[[38428],256],12202:[[38582],256],12203:[[38585],256],12204:[[38632],256],12205:[[38737],256],12206:[[38750],256],12207:[[38754],256],12208:[[38761],256],12209:[[38859],256],12210:[[38893],256],12211:[[38899],256],12212:[[38913],256],12213:[[39080],256],12214:[[39131],256],12215:[[39135],256],12216:[[39318],256],12217:[[39321],256],12218:[[39340],256],12219:[[39592],256],12220:[[39640],256],12221:[[39647],256],12222:[[39717],256],12223:[[39727],256],12224:[[39730],256],12225:[[39740],256],12226:[[39770],256],12227:[[40165],256],12228:[[40565],256],12229:[[40575],256],12230:[[40613],256],12231:[[40635],256],12232:[[40643],256],12233:[[40653],256],12234:[[40657],256],12235:[[40697],256],12236:[[40701],256],12237:[[40718],256],12238:[[40723],256],12239:[[40736],256],12240:[[40763],256],12241:[[40778],256],12242:[[40786],256],12243:[[40845],256],12244:[[40860],256],12245:[[40864],256]},12288:{12288:[[32],256],12330:[,218],12331:[,228],12332:[,232],12333:[,222],12334:[,224],12335:[,224],12342:[[12306],256],12344:[[21313],256],12345:[[21316],256],12346:[[21317],256],12358:[,,{12441:12436}],12363:[,,{12441:12364}],12364:[[12363,12441]],12365:[,,{12441:12366}],12366:[[12365,12441]],12367:[,,{12441:12368}],12368:[[12367,12441]],12369:[,,{12441:12370}],12370:[[12369,12441]],12371:[,,{12441:12372}],12372:[[12371,12441]],12373:[,,{12441:12374}],12374:[[12373,12441]],12375:[,,{12441:12376}],12376:[[12375,12441]],12377:[,,{12441:12378}],12378:[[12377,12441]],12379:[,,{12441:12380}],12380:[[12379,12441]],12381:[,,{12441:12382}],12382:[[12381,12441]],12383:[,,{12441:12384}],12384:[[12383,12441]],12385:[,,{12441:12386}],12386:[[12385,12441]],12388:[,,{12441:12389}],12389:[[12388,12441]],12390:[,,{12441:12391}],12391:[[12390,12441]],12392:[,,{12441:12393}],12393:[[12392,12441]],12399:[,,{12441:12400,12442:12401}],12400:[[12399,12441]],12401:[[12399,12442]],12402:[,,{12441:12403,12442:12404}],12403:[[12402,12441]],12404:[[12402,12442]],12405:[,,{12441:12406,12442:12407}],12406:[[12405,12441]],12407:[[12405,12442]],12408:[,,{12441:12409,12442:12410}],12409:[[12408,12441]],12410:[[12408,12442]],12411:[,,{12441:12412,12442:12413}],12412:[[12411,12441]],12413:[[12411,12442]],12436:[[12358,12441]],12441:[,8],12442:[,8],12443:[[32,12441],256],12444:[[32,12442],256],12445:[,,{12441:12446}],12446:[[12445,12441]],12447:[[12424,12426],256],12454:[,,{12441:12532}],12459:[,,{12441:12460}],12460:[[12459,12441]],12461:[,,{12441:12462}],12462:[[12461,12441]],12463:[,,{12441:12464}],12464:[[12463,12441]],12465:[,,{12441:12466}],12466:[[12465,12441]],12467:[,,{12441:12468}],12468:[[12467,12441]],12469:[,,{12441:12470}],12470:[[12469,12441]],12471:[,,{12441:12472}],12472:[[12471,12441]],12473:[,,{12441:12474}],12474:[[12473,12441]],12475:[,,{12441:12476}],12476:[[12475,12441]],12477:[,,{12441:12478}],12478:[[12477,12441]],12479:[,,{12441:12480}],12480:[[12479,12441]],12481:[,,{12441:12482}],12482:[[12481,12441]],12484:[,,{12441:12485}],12485:[[12484,12441]],12486:[,,{12441:12487}],12487:[[12486,12441]],12488:[,,{12441:12489}],12489:[[12488,12441]],12495:[,,{12441:12496,12442:12497}],12496:[[12495,12441]],12497:[[12495,12442]],12498:[,,{12441:12499,12442:12500}],12499:[[12498,12441]],12500:[[12498,12442]],12501:[,,{12441:12502,12442:12503}],12502:[[12501,12441]],12503:[[12501,12442]],12504:[,,{12441:12505,12442:12506}],12505:[[12504,12441]],12506:[[12504,12442]],12507:[,,{12441:12508,12442:12509}],12508:[[12507,12441]],12509:[[12507,12442]],12527:[,,{12441:12535}],12528:[,,{12441:12536}],12529:[,,{12441:12537}],12530:[,,{12441:12538}],12532:[[12454,12441]],12535:[[12527,12441]],12536:[[12528,12441]],12537:[[12529,12441]],12538:[[12530,12441]],12541:[,,{12441:12542}],12542:[[12541,12441]],12543:[[12467,12488],256]},12544:{12593:[[4352],256],12594:[[4353],256],12595:[[4522],256],12596:[[4354],256],12597:[[4524],256],12598:[[4525],256],12599:[[4355],256],12600:[[4356],256],12601:[[4357],256],12602:[[4528],256],12603:[[4529],256],12604:[[4530],256],12605:[[4531],256],12606:[[4532],256],12607:[[4533],256],12608:[[4378],256],12609:[[4358],256],12610:[[4359],256],12611:[[4360],256],12612:[[4385],256],12613:[[4361],256],12614:[[4362],256],12615:[[4363],256],12616:[[4364],256],12617:[[4365],256],12618:[[4366],256],12619:[[4367],256],12620:[[4368],256],12621:[[4369],256],12622:[[4370],256],12623:[[4449],256],12624:[[4450],256],12625:[[4451],256],12626:[[4452],256],12627:[[4453],256],12628:[[4454],256],12629:[[4455],256],12630:[[4456],256],12631:[[4457],256],12632:[[4458],256],12633:[[4459],256],12634:[[4460],256],12635:[[4461],256],12636:[[4462],256],12637:[[4463],256],12638:[[4464],256],12639:[[4465],256],12640:[[4466],256],12641:[[4467],256],12642:[[4468],256],12643:[[4469],256],12644:[[4448],256],12645:[[4372],256],12646:[[4373],256],12647:[[4551],256],12648:[[4552],256],12649:[[4556],256],12650:[[4558],256],12651:[[4563],256],12652:[[4567],256],12653:[[4569],256],12654:[[4380],256],12655:[[4573],256],12656:[[4575],256],12657:[[4381],256],12658:[[4382],256],12659:[[4384],256],12660:[[4386],256],12661:[[4387],256],12662:[[4391],256],12663:[[4393],256],12664:[[4395],256],12665:[[4396],256],12666:[[4397],256],12667:[[4398],256],12668:[[4399],256],12669:[[4402],256],12670:[[4406],256],12671:[[4416],256],12672:[[4423],256],12673:[[4428],256],12674:[[4593],256],12675:[[4594],256],12676:[[4439],256],12677:[[4440],256],12678:[[4441],256],12679:[[4484],256],12680:[[4485],256],12681:[[4488],256],12682:[[4497],256],12683:[[4498],256],12684:[[4500],256],12685:[[4510],256],12686:[[4513],256],12690:[[19968],256],12691:[[20108],256],12692:[[19977],256],12693:[[22235],256],12694:[[19978],256],12695:[[20013],256],12696:[[19979],256],12697:[[30002],256],12698:[[20057],256],12699:[[19993],256],12700:[[19969],256],12701:[[22825],256],12702:[[22320],256],12703:[[20154],256]},12800:{12800:[[40,4352,41],256],12801:[[40,4354,41],256],12802:[[40,4355,41],256],12803:[[40,4357,41],256],12804:[[40,4358,41],256],12805:[[40,4359,41],256],12806:[[40,4361,41],256],12807:[[40,4363,41],256],12808:[[40,4364,41],256],12809:[[40,4366,41],256],12810:[[40,4367,41],256],12811:[[40,4368,41],256],12812:[[40,4369,41],256],12813:[[40,4370,41],256],12814:[[40,4352,4449,41],256],12815:[[40,4354,4449,41],256],12816:[[40,4355,4449,41],256],12817:[[40,4357,4449,41],256],12818:[[40,4358,4449,41],256],12819:[[40,4359,4449,41],256],12820:[[40,4361,4449,41],256],12821:[[40,4363,4449,41],256],12822:[[40,4364,4449,41],256],12823:[[40,4366,4449,41],256],12824:[[40,4367,4449,41],256],12825:[[40,4368,4449,41],256],12826:[[40,4369,4449,41],256],12827:[[40,4370,4449,41],256],12828:[[40,4364,4462,41],256],12829:[[40,4363,4457,4364,4453,4523,41],256],12830:[[40,4363,4457,4370,4462,41],256],12832:[[40,19968,41],256],12833:[[40,20108,41],256],12834:[[40,19977,41],256],12835:[[40,22235,41],256],12836:[[40,20116,41],256],12837:[[40,20845,41],256],12838:[[40,19971,41],256],12839:[[40,20843,41],256],12840:[[40,20061,41],256],12841:[[40,21313,41],256],12842:[[40,26376,41],256],12843:[[40,28779,41],256],12844:[[40,27700,41],256],12845:[[40,26408,41],256],12846:[[40,37329,41],256],12847:[[40,22303,41],256],12848:[[40,26085,41],256],12849:[[40,26666,41],256],12850:[[40,26377,41],256],12851:[[40,31038,41],256],12852:[[40,21517,41],256],12853:[[40,29305,41],256],12854:[[40,36001,41],256],12855:[[40,31069,41],256],12856:[[40,21172,41],256],12857:[[40,20195,41],256],12858:[[40,21628,41],256],12859:[[40,23398,41],256],12860:[[40,30435,41],256],12861:[[40,20225,41],256],12862:[[40,36039,41],256],12863:[[40,21332,41],256],12864:[[40,31085,41],256],12865:[[40,20241,41],256],12866:[[40,33258,41],256],12867:[[40,33267,41],256],12868:[[21839],256],12869:[[24188],256],12870:[[25991],256],12871:[[31631],256],12880:[[80,84,69],256],12881:[[50,49],256],12882:[[50,50],256],12883:[[50,51],256],12884:[[50,52],256],12885:[[50,53],256],12886:[[50,54],256],12887:[[50,55],256],12888:[[50,56],256],12889:[[50,57],256],12890:[[51,48],256],12891:[[51,49],256],12892:[[51,50],256],12893:[[51,51],256],12894:[[51,52],256],12895:[[51,53],256],12896:[[4352],256],12897:[[4354],256],12898:[[4355],256],12899:[[4357],256],12900:[[4358],256],12901:[[4359],256],12902:[[4361],256],12903:[[4363],256],12904:[[4364],256],12905:[[4366],256],12906:[[4367],256],12907:[[4368],256],12908:[[4369],256],12909:[[4370],256],12910:[[4352,4449],256],12911:[[4354,4449],256],12912:[[4355,4449],256],12913:[[4357,4449],256],12914:[[4358,4449],256],12915:[[4359,4449],256],12916:[[4361,4449],256],12917:[[4363,4449],256],12918:[[4364,4449],256],12919:[[4366,4449],256],12920:[[4367,4449],256],12921:[[4368,4449],256],12922:[[4369,4449],256],12923:[[4370,4449],256],12924:[[4366,4449,4535,4352,4457],256],12925:[[4364,4462,4363,4468],256],12926:[[4363,4462],256],12928:[[19968],256],12929:[[20108],256],12930:[[19977],256],12931:[[22235],256],12932:[[20116],256],12933:[[20845],256],12934:[[19971],256],12935:[[20843],256],12936:[[20061],256],12937:[[21313],256],12938:[[26376],256],12939:[[28779],256],12940:[[27700],256],12941:[[26408],256],12942:[[37329],256],12943:[[22303],256],12944:[[26085],256],12945:[[26666],256],12946:[[26377],256],12947:[[31038],256],12948:[[21517],256],12949:[[29305],256],12950:[[36001],256],12951:[[31069],256],12952:[[21172],256],12953:[[31192],256],12954:[[30007],256],12955:[[22899],256],12956:[[36969],256],12957:[[20778],256],12958:[[21360],256],12959:[[27880],256],12960:[[38917],256],12961:[[20241],256],12962:[[20889],256],12963:[[27491],256],12964:[[19978],256],12965:[[20013],256],12966:[[19979],256],12967:[[24038],256],12968:[[21491],256],12969:[[21307],256],12970:[[23447],256],12971:[[23398],256],12972:[[30435],256],12973:[[20225],256],12974:[[36039],256],12975:[[21332],256],12976:[[22812],256],12977:[[51,54],256],12978:[[51,55],256],12979:[[51,56],256],12980:[[51,57],256],12981:[[52,48],256],12982:[[52,49],256],12983:[[52,50],256],12984:[[52,51],256],12985:[[52,52],256],12986:[[52,53],256],12987:[[52,54],256],12988:[[52,55],256],12989:[[52,56],256],12990:[[52,57],256],12991:[[53,48],256],12992:[[49,26376],256],12993:[[50,26376],256],12994:[[51,26376],256],12995:[[52,26376],256],12996:[[53,26376],256],12997:[[54,26376],256],12998:[[55,26376],256],12999:[[56,26376],256],13e3:[[57,26376],256],13001:[[49,48,26376],256],13002:[[49,49,26376],256],13003:[[49,50,26376],256],13004:[[72,103],256],13005:[[101,114,103],256],13006:[[101,86],256],13007:[[76,84,68],256],13008:[[12450],256],13009:[[12452],256],13010:[[12454],256],13011:[[12456],256],13012:[[12458],256],13013:[[12459],256],13014:[[12461],256],13015:[[12463],256],13016:[[12465],256],13017:[[12467],256],13018:[[12469],256],13019:[[12471],256],13020:[[12473],256],13021:[[12475],256],13022:[[12477],256],13023:[[12479],256],13024:[[12481],256],13025:[[12484],256],13026:[[12486],256],13027:[[12488],256],13028:[[12490],256],13029:[[12491],256],13030:[[12492],256],13031:[[12493],256],13032:[[12494],256],13033:[[12495],256],13034:[[12498],256],13035:[[12501],256],13036:[[12504],256],13037:[[12507],256],13038:[[12510],256],13039:[[12511],256],13040:[[12512],256],13041:[[12513],256],13042:[[12514],256],13043:[[12516],256],13044:[[12518],256],13045:[[12520],256],13046:[[12521],256],13047:[[12522],256],13048:[[12523],256],13049:[[12524],256],13050:[[12525],256],13051:[[12527],256],13052:[[12528],256],13053:[[12529],256],13054:[[12530],256]},13056:{13056:[[12450,12497,12540,12488],256],13057:[[12450,12523,12501,12449],256],13058:[[12450,12531,12506,12450],256],13059:[[12450,12540,12523],256],13060:[[12452,12491,12531,12464],256],13061:[[12452,12531,12481],256],13062:[[12454,12457,12531],256],13063:[[12456,12473,12463,12540,12489],256],13064:[[12456,12540,12459,12540],256],13065:[[12458,12531,12473],256],13066:[[12458,12540,12512],256],13067:[[12459,12452,12522],256],13068:[[12459,12521,12483,12488],256],13069:[[12459,12525,12522,12540],256],13070:[[12460,12525,12531],256],13071:[[12460,12531,12510],256],13072:[[12462,12460],256],13073:[[12462,12491,12540],256],13074:[[12461,12517,12522,12540],256],13075:[[12462,12523,12480,12540],256],13076:[[12461,12525],256],13077:[[12461,12525,12464,12521,12512],256],13078:[[12461,12525,12513,12540,12488,12523],256],13079:[[12461,12525,12527,12483,12488],256],13080:[[12464,12521,12512],256],13081:[[12464,12521,12512,12488,12531],256],13082:[[12463,12523,12476,12452,12525],256],13083:[[12463,12525,12540,12493],256],13084:[[12465,12540,12473],256],13085:[[12467,12523,12490],256],13086:[[12467,12540,12509],256],13087:[[12469,12452,12463,12523],256],13088:[[12469,12531,12481,12540,12512],256],13089:[[12471,12522,12531,12464],256],13090:[[12475,12531,12481],256],13091:[[12475,12531,12488],256],13092:[[12480,12540,12473],256],13093:[[12487,12471],256],13094:[[12489,12523],256],13095:[[12488,12531],256],13096:[[12490,12494],256],13097:[[12494,12483,12488],256],13098:[[12495,12452,12484],256],13099:[[12497,12540,12475,12531,12488],256],13100:[[12497,12540,12484],256],13101:[[12496,12540,12524,12523],256],13102:[[12500,12450,12473,12488,12523],256],13103:[[12500,12463,12523],256],13104:[[12500,12467],256],13105:[[12499,12523],256],13106:[[12501,12449,12521,12483,12489],256],13107:[[12501,12451,12540,12488],256],13108:[[12502,12483,12471,12455,12523],256],13109:[[12501,12521,12531],256],13110:[[12504,12463,12479,12540,12523],256],13111:[[12506,12477],256],13112:[[12506,12491,12498],256],13113:[[12504,12523,12484],256],13114:[[12506,12531,12473],256],13115:[[12506,12540,12472],256],13116:[[12505,12540,12479],256],13117:[[12509,12452,12531,12488],256],13118:[[12508,12523,12488],256],13119:[[12507,12531],256],13120:[[12509,12531,12489],256],13121:[[12507,12540,12523],256],13122:[[12507,12540,12531],256],13123:[[12510,12452,12463,12525],256],13124:[[12510,12452,12523],256],13125:[[12510,12483,12495],256],13126:[[12510,12523,12463],256],13127:[[12510,12531,12471,12519,12531],256],13128:[[12511,12463,12525,12531],256],13129:[[12511,12522],256],13130:[[12511,12522,12496,12540,12523],256],13131:[[12513,12460],256],13132:[[12513,12460,12488,12531],256],13133:[[12513,12540,12488,12523],256],13134:[[12516,12540,12489],256],13135:[[12516,12540,12523],256],13136:[[12518,12450,12531],256],13137:[[12522,12483,12488,12523],256],13138:[[12522,12521],256],13139:[[12523,12500,12540],256],13140:[[12523,12540,12502,12523],256],13141:[[12524,12512],256],13142:[[12524,12531,12488,12466,12531],256],13143:[[12527,12483,12488],256],13144:[[48,28857],256],13145:[[49,28857],256],13146:[[50,28857],256],13147:[[51,28857],256],13148:[[52,28857],256],13149:[[53,28857],256],13150:[[54,28857],256],13151:[[55,28857],256],13152:[[56,28857],256],13153:[[57,28857],256],13154:[[49,48,28857],256],13155:[[49,49,28857],256],13156:[[49,50,28857],256],13157:[[49,51,28857],256],13158:[[49,52,28857],256],13159:[[49,53,28857],256],13160:[[49,54,28857],256],13161:[[49,55,28857],256],13162:[[49,56,28857],256],13163:[[49,57,28857],256],13164:[[50,48,28857],256],13165:[[50,49,28857],256],13166:[[50,50,28857],256],13167:[[50,51,28857],256],13168:[[50,52,28857],256],13169:[[104,80,97],256],13170:[[100,97],256],13171:[[65,85],256],13172:[[98,97,114],256],13173:[[111,86],256],13174:[[112,99],256],13175:[[100,109],256],13176:[[100,109,178],256],13177:[[100,109,179],256],13178:[[73,85],256],13179:[[24179,25104],256],13180:[[26157,21644],256],13181:[[22823,27491],256],13182:[[26126,27835],256],13183:[[26666,24335,20250,31038],256],13184:[[112,65],256],13185:[[110,65],256],13186:[[956,65],256],13187:[[109,65],256],13188:[[107,65],256],13189:[[75,66],256],13190:[[77,66],256],13191:[[71,66],256],13192:[[99,97,108],256],13193:[[107,99,97,108],256],13194:[[112,70],256],13195:[[110,70],256],13196:[[956,70],256],13197:[[956,103],256],13198:[[109,103],256],13199:[[107,103],256],13200:[[72,122],256],13201:[[107,72,122],256],13202:[[77,72,122],256],13203:[[71,72,122],256],13204:[[84,72,122],256],13205:[[956,8467],256],13206:[[109,8467],256],13207:[[100,8467],256],13208:[[107,8467],256],13209:[[102,109],256],13210:[[110,109],256],13211:[[956,109],256],13212:[[109,109],256],13213:[[99,109],256],13214:[[107,109],256],13215:[[109,109,178],256],13216:[[99,109,178],256],13217:[[109,178],256],13218:[[107,109,178],256],13219:[[109,109,179],256],13220:[[99,109,179],256],13221:[[109,179],256],13222:[[107,109,179],256],13223:[[109,8725,115],256],13224:[[109,8725,115,178],256],13225:[[80,97],256],13226:[[107,80,97],256],13227:[[77,80,97],256],13228:[[71,80,97],256],13229:[[114,97,100],256],13230:[[114,97,100,8725,115],256],13231:[[114,97,100,8725,115,178],256],13232:[[112,115],256],13233:[[110,115],256],13234:[[956,115],256],13235:[[109,115],256],13236:[[112,86],256],13237:[[110,86],256],13238:[[956,86],256],13239:[[109,86],256],13240:[[107,86],256],13241:[[77,86],256],13242:[[112,87],256],13243:[[110,87],256],13244:[[956,87],256],13245:[[109,87],256],13246:[[107,87],256],13247:[[77,87],256],13248:[[107,937],256],13249:[[77,937],256],13250:[[97,46,109,46],256],13251:[[66,113],256],13252:[[99,99],256],13253:[[99,100],256],13254:[[67,8725,107,103],256],13255:[[67,111,46],256],13256:[[100,66],256],13257:[[71,121],256],13258:[[104,97],256],13259:[[72,80],256],13260:[[105,110],256],13261:[[75,75],256],13262:[[75,77],256],13263:[[107,116],256],13264:[[108,109],256],13265:[[108,110],256],13266:[[108,111,103],256],13267:[[108,120],256],13268:[[109,98],256],13269:[[109,105,108],256],13270:[[109,111,108],256],13271:[[80,72],256],13272:[[112,46,109,46],256],13273:[[80,80,77],256],13274:[[80,82],256],13275:[[115,114],256],13276:[[83,118],256],13277:[[87,98],256],13278:[[86,8725,109],256],13279:[[65,8725,109],256],13280:[[49,26085],256],13281:[[50,26085],256],13282:[[51,26085],256],13283:[[52,26085],256],13284:[[53,26085],256],13285:[[54,26085],256],13286:[[55,26085],256],13287:[[56,26085],256],13288:[[57,26085],256],13289:[[49,48,26085],256],13290:[[49,49,26085],256],13291:[[49,50,26085],256],13292:[[49,51,26085],256],13293:[[49,52,26085],256],13294:[[49,53,26085],256],13295:[[49,54,26085],256],13296:[[49,55,26085],256],13297:[[49,56,26085],256],13298:[[49,57,26085],256],13299:[[50,48,26085],256],13300:[[50,49,26085],256],13301:[[50,50,26085],256],13302:[[50,51,26085],256],13303:[[50,52,26085],256],13304:[[50,53,26085],256],13305:[[50,54,26085],256],13306:[[50,55,26085],256],13307:[[50,56,26085],256],13308:[[50,57,26085],256],13309:[[51,48,26085],256],13310:[[51,49,26085],256],13311:[[103,97,108],256]},27136:{92912:[,1],92913:[,1],92914:[,1],92915:[,1],92916:[,1]},27392:{92976:[,230],92977:[,230],92978:[,230],92979:[,230],92980:[,230],92981:[,230],92982:[,230]},42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42652:[[1098],256],42653:[[1100],256],42655:[,230],42736:[,230],42737:[,230]},42752:{42864:[[42863],256],43e3:[[294],256],43001:[[339],256]},43008:{43014:[,9],43204:[,9],43232:[,230],43233:[,230],43234:[,230],43235:[,230],43236:[,230],43237:[,230],43238:[,230],43239:[,230],43240:[,230],43241:[,230],43242:[,230],43243:[,230],43244:[,230],43245:[,230],43246:[,230],43247:[,230],43248:[,230],43249:[,230]},43264:{43307:[,220],43308:[,220],43309:[,220],43347:[,9],43443:[,7],43456:[,9]},43520:{43696:[,230],43698:[,230],43699:[,230],43700:[,220],43703:[,230],43704:[,230],43710:[,230],43711:[,230],43713:[,230],43766:[,9]},43776:{43868:[[42791],256],43869:[[43831],256],43870:[[619],256],43871:[[43858],256],44013:[,9]},48128:{113822:[,1]},53504:{119134:[[119127,119141],512],119135:[[119128,119141],512],119136:[[119135,119150],512],119137:[[119135,119151],512],119138:[[119135,119152],512],119139:[[119135,119153],512],119140:[[119135,119154],512],119141:[,216],119142:[,216],119143:[,1],119144:[,1],119145:[,1],119149:[,226],119150:[,216],119151:[,216],119152:[,216],119153:[,216],119154:[,216],119163:[,220],119164:[,220],119165:[,220],119166:[,220],119167:[,220],119168:[,220],119169:[,220],119170:[,220],119173:[,230],119174:[,230],119175:[,230],119176:[,230],119177:[,230],119178:[,220],119179:[,220],119210:[,230],119211:[,230],119212:[,230],119213:[,230],119227:[[119225,119141],512],119228:[[119226,119141],512],119229:[[119227,119150],512],119230:[[119228,119150],512],119231:[[119227,119151],512],119232:[[119228,119151],512]},53760:{119362:[,230],119363:[,230],119364:[,230]},54272:{119808:[[65],256],119809:[[66],256],119810:[[67],256],119811:[[68],256],119812:[[69],256],119813:[[70],256],119814:[[71],256],119815:[[72],256],119816:[[73],256],119817:[[74],256],119818:[[75],256],119819:[[76],256],119820:[[77],256],119821:[[78],256],119822:[[79],256],119823:[[80],256],119824:[[81],256],119825:[[82],256],119826:[[83],256],119827:[[84],256],119828:[[85],256],119829:[[86],256],119830:[[87],256],119831:[[88],256],119832:[[89],256],119833:[[90],256],119834:[[97],256],119835:[[98],256],119836:[[99],256],119837:[[100],256],119838:[[101],256],119839:[[102],256],119840:[[103],256],119841:[[104],256],119842:[[105],256],119843:[[106],256],119844:[[107],256],119845:[[108],256],119846:[[109],256],119847:[[110],256],119848:[[111],256],119849:[[112],256],119850:[[113],256],119851:[[114],256],119852:[[115],256],119853:[[116],256],119854:[[117],256],119855:[[118],256],119856:[[119],256],119857:[[120],256],119858:[[121],256],119859:[[122],256],119860:[[65],256],119861:[[66],256],119862:[[67],256],119863:[[68],256],119864:[[69],256],119865:[[70],256],119866:[[71],256],119867:[[72],256],119868:[[73],256],119869:[[74],256],119870:[[75],256],119871:[[76],256],119872:[[77],256],119873:[[78],256],119874:[[79],256],119875:[[80],256],119876:[[81],256],119877:[[82],256],119878:[[83],256],119879:[[84],256],119880:[[85],256],119881:[[86],256],119882:[[87],256],119883:[[88],256],119884:[[89],256],119885:[[90],256],119886:[[97],256],119887:[[98],256],119888:[[99],256],119889:[[100],256],119890:[[101],256],119891:[[102],256],119892:[[103],256],119894:[[105],256],119895:[[106],256],119896:[[107],256],119897:[[108],256],119898:[[109],256],119899:[[110],256],119900:[[111],256],119901:[[112],256],119902:[[113],256],119903:[[114],256],119904:[[115],256],119905:[[116],256],119906:[[117],256],119907:[[118],256],119908:[[119],256],119909:[[120],256],119910:[[121],256],119911:[[122],256],119912:[[65],256],119913:[[66],256],119914:[[67],256],119915:[[68],256],119916:[[69],256],119917:[[70],256],119918:[[71],256],119919:[[72],256],119920:[[73],256],119921:[[74],256],119922:[[75],256],119923:[[76],256],119924:[[77],256],119925:[[78],256],119926:[[79],256],119927:[[80],256],119928:[[81],256],119929:[[82],256],119930:[[83],256],119931:[[84],256],119932:[[85],256],119933:[[86],256],119934:[[87],256],119935:[[88],256],119936:[[89],256],119937:[[90],256],119938:[[97],256],119939:[[98],256],119940:[[99],256],119941:[[100],256],119942:[[101],256],119943:[[102],256],119944:[[103],256],119945:[[104],256],119946:[[105],256],119947:[[106],256],119948:[[107],256],119949:[[108],256],119950:[[109],256],119951:[[110],256],119952:[[111],256],119953:[[112],256],119954:[[113],256],119955:[[114],256],119956:[[115],256],119957:[[116],256],119958:[[117],256],119959:[[118],256],119960:[[119],256],119961:[[120],256],119962:[[121],256],119963:[[122],256],119964:[[65],256],119966:[[67],256],119967:[[68],256],119970:[[71],256],119973:[[74],256],119974:[[75],256],119977:[[78],256],119978:[[79],256],119979:[[80],256],119980:[[81],256],119982:[[83],256],119983:[[84],256],119984:[[85],256],119985:[[86],256],119986:[[87],256],119987:[[88],256],119988:[[89],256],119989:[[90],256],119990:[[97],256],119991:[[98],256],119992:[[99],256],119993:[[100],256],119995:[[102],256],119997:[[104],256],119998:[[105],256],119999:[[106],256],12e4:[[107],256],120001:[[108],256],120002:[[109],256],120003:[[110],256],120005:[[112],256],120006:[[113],256],120007:[[114],256],120008:[[115],256],120009:[[116],256],120010:[[117],256],120011:[[118],256],120012:[[119],256],120013:[[120],256],120014:[[121],256],120015:[[122],256],120016:[[65],256],120017:[[66],256],120018:[[67],256],120019:[[68],256],120020:[[69],256],120021:[[70],256],120022:[[71],256],120023:[[72],256],120024:[[73],256],120025:[[74],256],120026:[[75],256],120027:[[76],256],120028:[[77],256],120029:[[78],256],120030:[[79],256],120031:[[80],256],120032:[[81],256],120033:[[82],256],120034:[[83],256],120035:[[84],256],120036:[[85],256],120037:[[86],256],120038:[[87],256],120039:[[88],256],120040:[[89],256],120041:[[90],256],120042:[[97],256],120043:[[98],256],120044:[[99],256],120045:[[100],256],120046:[[101],256],120047:[[102],256],120048:[[103],256],120049:[[104],256],120050:[[105],256],120051:[[106],256],120052:[[107],256],120053:[[108],256],120054:[[109],256],120055:[[110],256],120056:[[111],256],120057:[[112],256],120058:[[113],256],120059:[[114],256],120060:[[115],256],120061:[[116],256],120062:[[117],256],120063:[[118],256]},54528:{120064:[[119],256],120065:[[120],256],120066:[[121],256],120067:[[122],256],120068:[[65],256],120069:[[66],256],120071:[[68],256],120072:[[69],256],120073:[[70],256],120074:[[71],256],120077:[[74],256],120078:[[75],256],120079:[[76],256],120080:[[77],256],120081:[[78],256],120082:[[79],256],120083:[[80],256],120084:[[81],256],120086:[[83],256],120087:[[84],256],120088:[[85],256],120089:[[86],256],120090:[[87],256],120091:[[88],256],120092:[[89],256],120094:[[97],256],120095:[[98],256],120096:[[99],256],120097:[[100],256],120098:[[101],256],120099:[[102],256],120100:[[103],256],120101:[[104],256],120102:[[105],256],120103:[[106],256],120104:[[107],256],120105:[[108],256],120106:[[109],256],120107:[[110],256],120108:[[111],256],120109:[[112],256],120110:[[113],256],120111:[[114],256],120112:[[115],256],120113:[[116],256],120114:[[117],256],120115:[[118],256],120116:[[119],256],120117:[[120],256],120118:[[121],256],120119:[[122],256],120120:[[65],256],120121:[[66],256],120123:[[68],256],120124:[[69],256],120125:[[70],256],120126:[[71],256],120128:[[73],256],120129:[[74],256],120130:[[75],256],120131:[[76],256],120132:[[77],256],120134:[[79],256],120138:[[83],256],120139:[[84],256],120140:[[85],256],120141:[[86],256],120142:[[87],256],120143:[[88],256],120144:[[89],256],120146:[[97],256],120147:[[98],256],120148:[[99],256],120149:[[100],256],120150:[[101],256],120151:[[102],256],120152:[[103],256],120153:[[104],256],120154:[[105],256],120155:[[106],256],120156:[[107],256],120157:[[108],256],120158:[[109],256],120159:[[110],256],120160:[[111],256],120161:[[112],256],120162:[[113],256],120163:[[114],256],120164:[[115],256],120165:[[116],256],120166:[[117],256],120167:[[118],256],120168:[[119],256],120169:[[120],256],120170:[[121],256],120171:[[122],256],120172:[[65],256],120173:[[66],256],120174:[[67],256],120175:[[68],256],120176:[[69],256],120177:[[70],256],120178:[[71],256],120179:[[72],256],120180:[[73],256],120181:[[74],256],120182:[[75],256],120183:[[76],256],120184:[[77],256],120185:[[78],256],120186:[[79],256],120187:[[80],256],120188:[[81],256],120189:[[82],256],120190:[[83],256],120191:[[84],256],120192:[[85],256],120193:[[86],256],120194:[[87],256],120195:[[88],256],120196:[[89],256],120197:[[90],256],120198:[[97],256],120199:[[98],256],120200:[[99],256],120201:[[100],256],120202:[[101],256],120203:[[102],256],120204:[[103],256],120205:[[104],256],120206:[[105],256],120207:[[106],256],120208:[[107],256],120209:[[108],256],120210:[[109],256],120211:[[110],256],120212:[[111],256],120213:[[112],256],120214:[[113],256],120215:[[114],256],120216:[[115],256],120217:[[116],256],120218:[[117],256],120219:[[118],256],120220:[[119],256],120221:[[120],256],120222:[[121],256],120223:[[122],256],120224:[[65],256],120225:[[66],256],120226:[[67],256],120227:[[68],256],120228:[[69],256],120229:[[70],256],120230:[[71],256],120231:[[72],256],120232:[[73],256],120233:[[74],256],120234:[[75],256],120235:[[76],256],120236:[[77],256],120237:[[78],256],120238:[[79],256],120239:[[80],256],120240:[[81],256],120241:[[82],256],120242:[[83],256],120243:[[84],256],120244:[[85],256],120245:[[86],256],120246:[[87],256],120247:[[88],256],120248:[[89],256],120249:[[90],256],120250:[[97],256],120251:[[98],256],120252:[[99],256],120253:[[100],256],120254:[[101],256],120255:[[102],256],120256:[[103],256],120257:[[104],256],120258:[[105],256],120259:[[106],256],120260:[[107],256],120261:[[108],256],120262:[[109],256],120263:[[110],256],120264:[[111],256],120265:[[112],256],120266:[[113],256],120267:[[114],256],120268:[[115],256],120269:[[116],256],120270:[[117],256],120271:[[118],256],120272:[[119],256],120273:[[120],256],120274:[[121],256],120275:[[122],256],120276:[[65],256],120277:[[66],256],120278:[[67],256],120279:[[68],256],120280:[[69],256],120281:[[70],256],120282:[[71],256],120283:[[72],256],120284:[[73],256],120285:[[74],256],120286:[[75],256],120287:[[76],256],120288:[[77],256],120289:[[78],256],120290:[[79],256],120291:[[80],256],120292:[[81],256],120293:[[82],256],120294:[[83],256],120295:[[84],256],120296:[[85],256],120297:[[86],256],120298:[[87],256],120299:[[88],256],120300:[[89],256],120301:[[90],256],120302:[[97],256],120303:[[98],256],120304:[[99],256],120305:[[100],256],120306:[[101],256],120307:[[102],256],120308:[[103],256],120309:[[104],256],120310:[[105],256],120311:[[106],256],120312:[[107],256],120313:[[108],256],120314:[[109],256],120315:[[110],256],120316:[[111],256],120317:[[112],256],120318:[[113],256],120319:[[114],256]},54784:{120320:[[115],256],120321:[[116],256],120322:[[117],256],120323:[[118],256],120324:[[119],256],120325:[[120],256],120326:[[121],256],120327:[[122],256],120328:[[65],256],120329:[[66],256],120330:[[67],256],120331:[[68],256],120332:[[69],256],120333:[[70],256],120334:[[71],256],120335:[[72],256],120336:[[73],256],120337:[[74],256],120338:[[75],256],120339:[[76],256],120340:[[77],256],120341:[[78],256],120342:[[79],256],120343:[[80],256],120344:[[81],256],120345:[[82],256],120346:[[83],256],120347:[[84],256],120348:[[85],256],120349:[[86],256],120350:[[87],256],120351:[[88],256],120352:[[89],256],120353:[[90],256],120354:[[97],256],120355:[[98],256],120356:[[99],256],120357:[[100],256],120358:[[101],256],120359:[[102],256],120360:[[103],256],120361:[[104],256],120362:[[105],256],120363:[[106],256],120364:[[107],256],120365:[[108],256],120366:[[109],256],120367:[[110],256],120368:[[111],256],120369:[[112],256],120370:[[113],256],120371:[[114],256],120372:[[115],256],120373:[[116],256],120374:[[117],256],120375:[[118],256],120376:[[119],256],120377:[[120],256],120378:[[121],256],120379:[[122],256],120380:[[65],256],120381:[[66],256],120382:[[67],256],120383:[[68],256],120384:[[69],256],120385:[[70],256],120386:[[71],256],120387:[[72],256],120388:[[73],256],120389:[[74],256],120390:[[75],256],120391:[[76],256],120392:[[77],256],120393:[[78],256],120394:[[79],256],120395:[[80],256],120396:[[81],256],120397:[[82],256],120398:[[83],256],120399:[[84],256],120400:[[85],256],120401:[[86],256],120402:[[87],256],120403:[[88],256],120404:[[89],256],120405:[[90],256],120406:[[97],256],120407:[[98],256],120408:[[99],256],120409:[[100],256],120410:[[101],256],120411:[[102],256],120412:[[103],256],120413:[[104],256],120414:[[105],256],120415:[[106],256],120416:[[107],256],120417:[[108],256],120418:[[109],256],120419:[[110],256],120420:[[111],256],120421:[[112],256],120422:[[113],256],120423:[[114],256],120424:[[115],256],120425:[[116],256],120426:[[117],256],120427:[[118],256],120428:[[119],256],120429:[[120],256],120430:[[121],256],120431:[[122],256],120432:[[65],256],120433:[[66],256],120434:[[67],256],120435:[[68],256],120436:[[69],256],120437:[[70],256],120438:[[71],256],120439:[[72],256],120440:[[73],256],120441:[[74],256],120442:[[75],256],120443:[[76],256],120444:[[77],256],120445:[[78],256],120446:[[79],256],120447:[[80],256],120448:[[81],256],120449:[[82],256],120450:[[83],256],120451:[[84],256],120452:[[85],256],120453:[[86],256],120454:[[87],256],120455:[[88],256],120456:[[89],256],120457:[[90],256],120458:[[97],256],120459:[[98],256],120460:[[99],256],120461:[[100],256],120462:[[101],256],120463:[[102],256],120464:[[103],256],120465:[[104],256],120466:[[105],256],120467:[[106],256],120468:[[107],256],120469:[[108],256],120470:[[109],256],120471:[[110],256],120472:[[111],256],120473:[[112],256],120474:[[113],256],120475:[[114],256],120476:[[115],256],120477:[[116],256],120478:[[117],256],120479:[[118],256],120480:[[119],256],120481:[[120],256],120482:[[121],256],120483:[[122],256],120484:[[305],256],120485:[[567],256],120488:[[913],256],120489:[[914],256],120490:[[915],256],120491:[[916],256],120492:[[917],256],120493:[[918],256],120494:[[919],256],120495:[[920],256],120496:[[921],256],120497:[[922],256],120498:[[923],256],120499:[[924],256],120500:[[925],256],120501:[[926],256],120502:[[927],256],120503:[[928],256],120504:[[929],256],120505:[[1012],256],120506:[[931],256],120507:[[932],256],120508:[[933],256],120509:[[934],256],120510:[[935],256],120511:[[936],256],120512:[[937],256],120513:[[8711],256],120514:[[945],256],120515:[[946],256],120516:[[947],256],120517:[[948],256],120518:[[949],256],120519:[[950],256],120520:[[951],256],120521:[[952],256],120522:[[953],256],120523:[[954],256],120524:[[955],256],120525:[[956],256],120526:[[957],256],120527:[[958],256],120528:[[959],256],120529:[[960],256],120530:[[961],256],120531:[[962],256],120532:[[963],256],120533:[[964],256],120534:[[965],256],120535:[[966],256],120536:[[967],256],120537:[[968],256],120538:[[969],256],120539:[[8706],256],120540:[[1013],256],120541:[[977],256],120542:[[1008],256],120543:[[981],256],120544:[[1009],256],120545:[[982],256],120546:[[913],256],120547:[[914],256],120548:[[915],256],120549:[[916],256],120550:[[917],256],120551:[[918],256],120552:[[919],256],120553:[[920],256],120554:[[921],256],120555:[[922],256],120556:[[923],256],120557:[[924],256],120558:[[925],256],120559:[[926],256],120560:[[927],256],120561:[[928],256],120562:[[929],256],120563:[[1012],256],120564:[[931],256],120565:[[932],256],120566:[[933],256],120567:[[934],256],120568:[[935],256],120569:[[936],256],120570:[[937],256],120571:[[8711],256],120572:[[945],256],120573:[[946],256],120574:[[947],256],120575:[[948],256]},55040:{120576:[[949],256],120577:[[950],256],120578:[[951],256],120579:[[952],256],120580:[[953],256],120581:[[954],256],120582:[[955],256],120583:[[956],256],120584:[[957],256],120585:[[958],256],120586:[[959],256],120587:[[960],256],120588:[[961],256],120589:[[962],256],120590:[[963],256],120591:[[964],256],120592:[[965],256],120593:[[966],256],120594:[[967],256],120595:[[968],256],120596:[[969],256],120597:[[8706],256],120598:[[1013],256],120599:[[977],256],120600:[[1008],256],120601:[[981],256],120602:[[1009],256],120603:[[982],256],120604:[[913],256],120605:[[914],256],120606:[[915],256],120607:[[916],256],120608:[[917],256],120609:[[918],256],120610:[[919],256],120611:[[920],256],120612:[[921],256],120613:[[922],256],120614:[[923],256],120615:[[924],256],120616:[[925],256],120617:[[926],256],120618:[[927],256],120619:[[928],256],120620:[[929],256],120621:[[1012],256],120622:[[931],256],120623:[[932],256],120624:[[933],256],120625:[[934],256],120626:[[935],256],120627:[[936],256],120628:[[937],256],120629:[[8711],256],120630:[[945],256],120631:[[946],256],120632:[[947],256],120633:[[948],256],120634:[[949],256],120635:[[950],256],120636:[[951],256],120637:[[952],256],120638:[[953],256],120639:[[954],256],120640:[[955],256],120641:[[956],256],120642:[[957],256],120643:[[958],256],120644:[[959],256],120645:[[960],256],120646:[[961],256],120647:[[962],256],120648:[[963],256],120649:[[964],256],120650:[[965],256],120651:[[966],256],120652:[[967],256],120653:[[968],256],120654:[[969],256],120655:[[8706],256],120656:[[1013],256],120657:[[977],256],120658:[[1008],256],120659:[[981],256],120660:[[1009],256],120661:[[982],256],120662:[[913],256],120663:[[914],256],120664:[[915],256],120665:[[916],256],120666:[[917],256],120667:[[918],256],120668:[[919],256],120669:[[920],256],120670:[[921],256],120671:[[922],256],120672:[[923],256],120673:[[924],256],120674:[[925],256],120675:[[926],256],120676:[[927],256],120677:[[928],256],120678:[[929],256],120679:[[1012],256],120680:[[931],256],120681:[[932],256],120682:[[933],256],120683:[[934],256],120684:[[935],256],120685:[[936],256],120686:[[937],256],120687:[[8711],256],120688:[[945],256],120689:[[946],256],120690:[[947],256],120691:[[948],256],120692:[[949],256],120693:[[950],256],120694:[[951],256],120695:[[952],256],120696:[[953],256],120697:[[954],256],120698:[[955],256],120699:[[956],256],120700:[[957],256],120701:[[958],256],120702:[[959],256],120703:[[960],256],120704:[[961],256],120705:[[962],256],120706:[[963],256],120707:[[964],256],120708:[[965],256],120709:[[966],256],120710:[[967],256],120711:[[968],256],120712:[[969],256],120713:[[8706],256],120714:[[1013],256],120715:[[977],256],120716:[[1008],256],120717:[[981],256],120718:[[1009],256],120719:[[982],256],120720:[[913],256],120721:[[914],256],120722:[[915],256],120723:[[916],256],120724:[[917],256],120725:[[918],256],120726:[[919],256],120727:[[920],256],120728:[[921],256],120729:[[922],256],120730:[[923],256],120731:[[924],256],120732:[[925],256],120733:[[926],256],120734:[[927],256],120735:[[928],256],120736:[[929],256],120737:[[1012],256],120738:[[931],256],120739:[[932],256],120740:[[933],256],120741:[[934],256],120742:[[935],256],120743:[[936],256],120744:[[937],256],120745:[[8711],256],120746:[[945],256],120747:[[946],256],120748:[[947],256],120749:[[948],256],120750:[[949],256],120751:[[950],256],120752:[[951],256],120753:[[952],256],120754:[[953],256],120755:[[954],256],120756:[[955],256],120757:[[956],256],120758:[[957],256],120759:[[958],256],120760:[[959],256],120761:[[960],256],120762:[[961],256],120763:[[962],256],120764:[[963],256],120765:[[964],256],120766:[[965],256],120767:[[966],256],120768:[[967],256],120769:[[968],256],120770:[[969],256],120771:[[8706],256],120772:[[1013],256],120773:[[977],256],120774:[[1008],256],120775:[[981],256],120776:[[1009],256],120777:[[982],256],120778:[[988],256],120779:[[989],256],120782:[[48],256],120783:[[49],256],120784:[[50],256],120785:[[51],256],120786:[[52],256],120787:[[53],256],120788:[[54],256],120789:[[55],256],120790:[[56],256],120791:[[57],256],120792:[[48],256],120793:[[49],256],120794:[[50],256],120795:[[51],256],120796:[[52],256],120797:[[53],256],120798:[[54],256],120799:[[55],256],120800:[[56],256],120801:[[57],256],120802:[[48],256],120803:[[49],256],120804:[[50],256],120805:[[51],256],120806:[[52],256],120807:[[53],256],120808:[[54],256],120809:[[55],256],120810:[[56],256],120811:[[57],256],120812:[[48],256],120813:[[49],256],120814:[[50],256],120815:[[51],256],120816:[[52],256],120817:[[53],256],120818:[[54],256],120819:[[55],256],120820:[[56],256],120821:[[57],256],120822:[[48],256],120823:[[49],256],120824:[[50],256],120825:[[51],256],120826:[[52],256],120827:[[53],256],120828:[[54],256],120829:[[55],256],120830:[[56],256],120831:[[57],256]},59392:{125136:[,220],125137:[,220],125138:[,220],125139:[,220],125140:[,220],125141:[,220],125142:[,220]},60928:{126464:[[1575],256],126465:[[1576],256],126466:[[1580],256],126467:[[1583],256],126469:[[1608],256],126470:[[1586],256],126471:[[1581],256],126472:[[1591],256],126473:[[1610],256],126474:[[1603],256],126475:[[1604],256],126476:[[1605],256],126477:[[1606],256],126478:[[1587],256],126479:[[1593],256],126480:[[1601],256],126481:[[1589],256],126482:[[1602],256],126483:[[1585],256],126484:[[1588],256],126485:[[1578],256],126486:[[1579],256],126487:[[1582],256],126488:[[1584],256],126489:[[1590],256],126490:[[1592],256],126491:[[1594],256],126492:[[1646],256],126493:[[1722],256],126494:[[1697],256],126495:[[1647],256],126497:[[1576],256],126498:[[1580],256],126500:[[1607],256],126503:[[1581],256],126505:[[1610],256],126506:[[1603],256],126507:[[1604],256],126508:[[1605],256],126509:[[1606],256],126510:[[1587],256],126511:[[1593],256],126512:[[1601],256],126513:[[1589],256],126514:[[1602],256],126516:[[1588],256],126517:[[1578],256],126518:[[1579],256],126519:[[1582],256],126521:[[1590],256],126523:[[1594],256],126530:[[1580],256],126535:[[1581],256],126537:[[1610],256],126539:[[1604],256],126541:[[1606],256],126542:[[1587],256],126543:[[1593],256],126545:[[1589],256],126546:[[1602],256],126548:[[1588],256],126551:[[1582],256],126553:[[1590],256],126555:[[1594],256],126557:[[1722],256],126559:[[1647],256],126561:[[1576],256],126562:[[1580],256],126564:[[1607],256],126567:[[1581],256],126568:[[1591],256],126569:[[1610],256],126570:[[1603],256],126572:[[1605],256],126573:[[1606],256],126574:[[1587],256],126575:[[1593],256],126576:[[1601],256],126577:[[1589],256],126578:[[1602],256],126580:[[1588],256],126581:[[1578],256],126582:[[1579],256],126583:[[1582],256],126585:[[1590],256],126586:[[1592],256],126587:[[1594],256],126588:[[1646],256],126590:[[1697],256],126592:[[1575],256],126593:[[1576],256],126594:[[1580],256],126595:[[1583],256],126596:[[1607],256],126597:[[1608],256],126598:[[1586],256],126599:[[1581],256],126600:[[1591],256],126601:[[1610],256],126603:[[1604],256],126604:[[1605],256],126605:[[1606],256],126606:[[1587],256],126607:[[1593],256],126608:[[1601],256],126609:[[1589],256],126610:[[1602],256],126611:[[1585],256],126612:[[1588],256],126613:[[1578],256],126614:[[1579],256],126615:[[1582],256],126616:[[1584],256],126617:[[1590],256],126618:[[1592],256],126619:[[1594],256],126625:[[1576],256],126626:[[1580],256],126627:[[1583],256],126629:[[1608],256],126630:[[1586],256],126631:[[1581],256],126632:[[1591],256],126633:[[1610],256],126635:[[1604],256],126636:[[1605],256],126637:[[1606],256],126638:[[1587],256],126639:[[1593],256],126640:[[1601],256],126641:[[1589],256],126642:[[1602],256],126643:[[1585],256],126644:[[1588],256],126645:[[1578],256],126646:[[1579],256],126647:[[1582],256],126648:[[1584],256],126649:[[1590],256],126650:[[1592],256],126651:[[1594],256]},61696:{127232:[[48,46],256],127233:[[48,44],256],127234:[[49,44],256],127235:[[50,44],256],127236:[[51,44],256],127237:[[52,44],256],127238:[[53,44],256],127239:[[54,44],256],127240:[[55,44],256],127241:[[56,44],256],127242:[[57,44],256],127248:[[40,65,41],256],127249:[[40,66,41],256],127250:[[40,67,41],256],127251:[[40,68,41],256],127252:[[40,69,41],256],127253:[[40,70,41],256],127254:[[40,71,41],256],127255:[[40,72,41],256],127256:[[40,73,41],256],127257:[[40,74,41],256],127258:[[40,75,41],256],127259:[[40,76,41],256],127260:[[40,77,41],256],127261:[[40,78,41],256],127262:[[40,79,41],256],127263:[[40,80,41],256],127264:[[40,81,41],256],127265:[[40,82,41],256],127266:[[40,83,41],256],127267:[[40,84,41],256],127268:[[40,85,41],256],127269:[[40,86,41],256],127270:[[40,87,41],256],127271:[[40,88,41],256],127272:[[40,89,41],256],127273:[[40,90,41],256],127274:[[12308,83,12309],256],127275:[[67],256],127276:[[82],256],127277:[[67,68],256],127278:[[87,90],256],127280:[[65],256],127281:[[66],256],127282:[[67],256],127283:[[68],256],127284:[[69],256],127285:[[70],256],127286:[[71],256],127287:[[72],256],127288:[[73],256],127289:[[74],256],127290:[[75],256],127291:[[76],256],127292:[[77],256],127293:[[78],256],127294:[[79],256],127295:[[80],256],127296:[[81],256],127297:[[82],256],127298:[[83],256],127299:[[84],256],127300:[[85],256],127301:[[86],256],127302:[[87],256],127303:[[88],256],127304:[[89],256],127305:[[90],256],127306:[[72,86],256],127307:[[77,86],256],127308:[[83,68],256],127309:[[83,83],256],127310:[[80,80,86],256],127311:[[87,67],256],127338:[[77,67],256],127339:[[77,68],256],127376:[[68,74],256]},61952:{127488:[[12411,12363],256],127489:[[12467,12467],256],127490:[[12469],256],127504:[[25163],256],127505:[[23383],256],127506:[[21452],256],127507:[[12487],256],127508:[[20108],256],127509:[[22810],256],127510:[[35299],256],127511:[[22825],256],127512:[[20132],256],127513:[[26144],256],127514:[[28961],256],127515:[[26009],256],127516:[[21069],256],127517:[[24460],256],127518:[[20877],256],127519:[[26032],256],127520:[[21021],256],127521:[[32066],256],127522:[[29983],256],127523:[[36009],256],127524:[[22768],256],127525:[[21561],256],127526:[[28436],256],127527:[[25237],256],127528:[[25429],256],127529:[[19968],256],127530:[[19977],256],127531:[[36938],256],127532:[[24038],256],127533:[[20013],256],127534:[[21491],256],127535:[[25351],256],127536:[[36208],256],127537:[[25171],256],127538:[[31105],256],127539:[[31354],256],127540:[[21512],256],127541:[[28288],256],127542:[[26377],256],127543:[[26376],256],127544:[[30003],256],127545:[[21106],256],127546:[[21942],256],127552:[[12308,26412,12309],256],127553:[[12308,19977,12309],256],127554:[[12308,20108,12309],256],127555:[[12308,23433,12309],256],127556:[[12308,28857,12309],256],127557:[[12308,25171,12309],256],127558:[[12308,30423,12309],256],127559:[[12308,21213,12309],256],127560:[[12308,25943,12309],256],127568:[[24471],256],127569:[[21487],256]},63488:{194560:[[20029]],194561:[[20024]],194562:[[20033]],194563:[[131362]],194564:[[20320]],194565:[[20398]],194566:[[20411]],194567:[[20482]],194568:[[20602]],194569:[[20633]],194570:[[20711]],194571:[[20687]],194572:[[13470]],194573:[[132666]],194574:[[20813]],194575:[[20820]],194576:[[20836]],194577:[[20855]],194578:[[132380]],194579:[[13497]],194580:[[20839]],194581:[[20877]],194582:[[132427]],194583:[[20887]],194584:[[20900]],194585:[[20172]],194586:[[20908]],194587:[[20917]],194588:[[168415]],194589:[[20981]],194590:[[20995]],194591:[[13535]],194592:[[21051]],194593:[[21062]],194594:[[21106]],194595:[[21111]],194596:[[13589]],194597:[[21191]],194598:[[21193]],194599:[[21220]],194600:[[21242]],194601:[[21253]],194602:[[21254]],194603:[[21271]],194604:[[21321]],194605:[[21329]],194606:[[21338]],194607:[[21363]],194608:[[21373]],194609:[[21375]],194610:[[21375]],194611:[[21375]],194612:[[133676]],194613:[[28784]],194614:[[21450]],194615:[[21471]],194616:[[133987]],194617:[[21483]],194618:[[21489]],194619:[[21510]],194620:[[21662]],194621:[[21560]],194622:[[21576]],194623:[[21608]],194624:[[21666]],194625:[[21750]],194626:[[21776]],194627:[[21843]],194628:[[21859]],194629:[[21892]],194630:[[21892]],194631:[[21913]],194632:[[21931]],194633:[[21939]],194634:[[21954]],194635:[[22294]],194636:[[22022]],194637:[[22295]],194638:[[22097]],194639:[[22132]],194640:[[20999]],194641:[[22766]],194642:[[22478]],194643:[[22516]],194644:[[22541]],194645:[[22411]],194646:[[22578]],194647:[[22577]],194648:[[22700]],194649:[[136420]],194650:[[22770]],194651:[[22775]],194652:[[22790]],194653:[[22810]],194654:[[22818]],194655:[[22882]],194656:[[136872]],194657:[[136938]],194658:[[23020]],194659:[[23067]],194660:[[23079]],194661:[[23e3]],194662:[[23142]],194663:[[14062]],194664:[[14076]],194665:[[23304]],194666:[[23358]],194667:[[23358]],194668:[[137672]],194669:[[23491]],194670:[[23512]],194671:[[23527]],194672:[[23539]],194673:[[138008]],194674:[[23551]],194675:[[23558]],194676:[[24403]],194677:[[23586]],194678:[[14209]],194679:[[23648]],194680:[[23662]],194681:[[23744]],194682:[[23693]],194683:[[138724]],194684:[[23875]],194685:[[138726]],194686:[[23918]],194687:[[23915]],194688:[[23932]],194689:[[24033]],194690:[[24034]],194691:[[14383]],194692:[[24061]],194693:[[24104]],194694:[[24125]],194695:[[24169]],194696:[[14434]],194697:[[139651]],194698:[[14460]],194699:[[24240]],194700:[[24243]],194701:[[24246]],194702:[[24266]],194703:[[172946]],194704:[[24318]],194705:[[140081]],194706:[[140081]],194707:[[33281]],194708:[[24354]],194709:[[24354]],194710:[[14535]],194711:[[144056]],194712:[[156122]],194713:[[24418]],194714:[[24427]],194715:[[14563]],194716:[[24474]],194717:[[24525]],194718:[[24535]],194719:[[24569]],194720:[[24705]],194721:[[14650]],194722:[[14620]],194723:[[24724]],194724:[[141012]],194725:[[24775]],194726:[[24904]],194727:[[24908]],194728:[[24910]],194729:[[24908]],194730:[[24954]],194731:[[24974]],194732:[[25010]],194733:[[24996]],194734:[[25007]],194735:[[25054]],194736:[[25074]],194737:[[25078]],194738:[[25104]],194739:[[25115]],194740:[[25181]],194741:[[25265]],194742:[[25300]],194743:[[25424]],194744:[[142092]],194745:[[25405]],194746:[[25340]],194747:[[25448]],194748:[[25475]],194749:[[25572]],194750:[[142321]],194751:[[25634]],194752:[[25541]],194753:[[25513]],194754:[[14894]],194755:[[25705]],194756:[[25726]],194757:[[25757]],194758:[[25719]],194759:[[14956]],194760:[[25935]],194761:[[25964]],194762:[[143370]],194763:[[26083]],194764:[[26360]],194765:[[26185]],194766:[[15129]],194767:[[26257]],194768:[[15112]],194769:[[15076]],194770:[[20882]],194771:[[20885]],194772:[[26368]],194773:[[26268]],194774:[[32941]],194775:[[17369]],194776:[[26391]],194777:[[26395]],194778:[[26401]],194779:[[26462]],194780:[[26451]],194781:[[144323]],194782:[[15177]],194783:[[26618]],194784:[[26501]],194785:[[26706]],194786:[[26757]],194787:[[144493]],194788:[[26766]],194789:[[26655]],194790:[[26900]],194791:[[15261]],194792:[[26946]],194793:[[27043]],194794:[[27114]],194795:[[27304]],194796:[[145059]],194797:[[27355]],194798:[[15384]],194799:[[27425]],194800:[[145575]],194801:[[27476]],194802:[[15438]],194803:[[27506]],194804:[[27551]],194805:[[27578]],194806:[[27579]],194807:[[146061]],194808:[[138507]],194809:[[146170]],194810:[[27726]],194811:[[146620]],194812:[[27839]],194813:[[27853]],194814:[[27751]],194815:[[27926]]},63744:{63744:[[35912]],63745:[[26356]],63746:[[36554]],63747:[[36040]],63748:[[28369]],63749:[[20018]],63750:[[21477]],63751:[[40860]],63752:[[40860]],63753:[[22865]],63754:[[37329]],63755:[[21895]],63756:[[22856]],63757:[[25078]],63758:[[30313]],63759:[[32645]],63760:[[34367]],63761:[[34746]],63762:[[35064]],63763:[[37007]],63764:[[27138]],63765:[[27931]],63766:[[28889]],63767:[[29662]],63768:[[33853]],63769:[[37226]],63770:[[39409]],63771:[[20098]],63772:[[21365]],63773:[[27396]],63774:[[29211]],63775:[[34349]],63776:[[40478]],63777:[[23888]],63778:[[28651]],63779:[[34253]],63780:[[35172]],63781:[[25289]],63782:[[33240]],63783:[[34847]],63784:[[24266]],63785:[[26391]],63786:[[28010]],63787:[[29436]],63788:[[37070]],63789:[[20358]],63790:[[20919]],63791:[[21214]],63792:[[25796]],63793:[[27347]],63794:[[29200]],63795:[[30439]],63796:[[32769]],63797:[[34310]],63798:[[34396]],63799:[[36335]],63800:[[38706]],63801:[[39791]],63802:[[40442]],63803:[[30860]],63804:[[31103]],63805:[[32160]],63806:[[33737]],63807:[[37636]],63808:[[40575]],63809:[[35542]],63810:[[22751]],63811:[[24324]],63812:[[31840]],63813:[[32894]],63814:[[29282]],63815:[[30922]],63816:[[36034]],63817:[[38647]],63818:[[22744]],63819:[[23650]],63820:[[27155]],63821:[[28122]],63822:[[28431]],63823:[[32047]],63824:[[32311]],63825:[[38475]],63826:[[21202]],63827:[[32907]],63828:[[20956]],63829:[[20940]],63830:[[31260]],63831:[[32190]],63832:[[33777]],63833:[[38517]],63834:[[35712]],63835:[[25295]],63836:[[27138]],63837:[[35582]],63838:[[20025]],63839:[[23527]],63840:[[24594]],63841:[[29575]],63842:[[30064]],63843:[[21271]],63844:[[30971]],63845:[[20415]],63846:[[24489]],63847:[[19981]],63848:[[27852]],63849:[[25976]],63850:[[32034]],63851:[[21443]],63852:[[22622]],63853:[[30465]],63854:[[33865]],63855:[[35498]],63856:[[27578]],63857:[[36784]],63858:[[27784]],63859:[[25342]],63860:[[33509]],63861:[[25504]],63862:[[30053]],63863:[[20142]],63864:[[20841]],63865:[[20937]],63866:[[26753]],63867:[[31975]],63868:[[33391]],63869:[[35538]],63870:[[37327]],63871:[[21237]],63872:[[21570]],63873:[[22899]],63874:[[24300]],63875:[[26053]],63876:[[28670]],63877:[[31018]],63878:[[38317]],63879:[[39530]],63880:[[40599]],63881:[[40654]],63882:[[21147]],63883:[[26310]],63884:[[27511]],63885:[[36706]],63886:[[24180]],63887:[[24976]],63888:[[25088]],63889:[[25754]],63890:[[28451]],63891:[[29001]],63892:[[29833]],63893:[[31178]],63894:[[32244]],63895:[[32879]],63896:[[36646]],63897:[[34030]],63898:[[36899]],63899:[[37706]],63900:[[21015]],63901:[[21155]],63902:[[21693]],63903:[[28872]],63904:[[35010]],63905:[[35498]],63906:[[24265]],63907:[[24565]],63908:[[25467]],63909:[[27566]],63910:[[31806]],63911:[[29557]],63912:[[20196]],63913:[[22265]],63914:[[23527]],63915:[[23994]],63916:[[24604]],63917:[[29618]],63918:[[29801]],63919:[[32666]],63920:[[32838]],63921:[[37428]],63922:[[38646]],63923:[[38728]],63924:[[38936]],63925:[[20363]],63926:[[31150]],63927:[[37300]],63928:[[38584]],63929:[[24801]],63930:[[20102]],63931:[[20698]],63932:[[23534]],63933:[[23615]],63934:[[26009]],63935:[[27138]],63936:[[29134]],63937:[[30274]],63938:[[34044]],63939:[[36988]],63940:[[40845]],63941:[[26248]],63942:[[38446]],63943:[[21129]],63944:[[26491]],63945:[[26611]],63946:[[27969]],63947:[[28316]],63948:[[29705]],63949:[[30041]],63950:[[30827]],63951:[[32016]],63952:[[39006]],63953:[[20845]],63954:[[25134]],63955:[[38520]],63956:[[20523]],63957:[[23833]],63958:[[28138]],63959:[[36650]],63960:[[24459]],63961:[[24900]],63962:[[26647]],63963:[[29575]],63964:[[38534]],63965:[[21033]],63966:[[21519]],63967:[[23653]],63968:[[26131]],63969:[[26446]],63970:[[26792]],63971:[[27877]],63972:[[29702]],63973:[[30178]],63974:[[32633]],63975:[[35023]],63976:[[35041]],63977:[[37324]],63978:[[38626]],63979:[[21311]],63980:[[28346]],63981:[[21533]],63982:[[29136]],63983:[[29848]],63984:[[34298]],63985:[[38563]],63986:[[40023]],63987:[[40607]],63988:[[26519]],63989:[[28107]],63990:[[33256]],63991:[[31435]],63992:[[31520]],63993:[[31890]],63994:[[29376]],63995:[[28825]],63996:[[35672]],63997:[[20160]],63998:[[33590]],63999:[[21050]],194816:[[27966]],194817:[[28023]],194818:[[27969]],194819:[[28009]],194820:[[28024]],194821:[[28037]],194822:[[146718]],194823:[[27956]],194824:[[28207]],194825:[[28270]],194826:[[15667]],194827:[[28363]],194828:[[28359]],194829:[[147153]],194830:[[28153]],194831:[[28526]],194832:[[147294]],194833:[[147342]],194834:[[28614]],194835:[[28729]],194836:[[28702]],194837:[[28699]],194838:[[15766]],194839:[[28746]],194840:[[28797]],194841:[[28791]],194842:[[28845]],194843:[[132389]],194844:[[28997]],194845:[[148067]],194846:[[29084]],194847:[[148395]],194848:[[29224]],194849:[[29237]],194850:[[29264]],194851:[[149e3]],194852:[[29312]],194853:[[29333]],194854:[[149301]],194855:[[149524]],194856:[[29562]],194857:[[29579]],194858:[[16044]],194859:[[29605]],194860:[[16056]],194861:[[16056]],194862:[[29767]],194863:[[29788]],194864:[[29809]],194865:[[29829]],194866:[[29898]],194867:[[16155]],194868:[[29988]],194869:[[150582]],194870:[[30014]],194871:[[150674]],194872:[[30064]],194873:[[139679]],194874:[[30224]],194875:[[151457]],194876:[[151480]],194877:[[151620]],194878:[[16380]],194879:[[16392]],194880:[[30452]],194881:[[151795]],194882:[[151794]],194883:[[151833]],194884:[[151859]],194885:[[30494]],194886:[[30495]],194887:[[30495]],194888:[[30538]],194889:[[16441]],194890:[[30603]],194891:[[16454]],194892:[[16534]],194893:[[152605]],194894:[[30798]],194895:[[30860]],194896:[[30924]],194897:[[16611]],194898:[[153126]],194899:[[31062]],194900:[[153242]],194901:[[153285]],194902:[[31119]],194903:[[31211]],194904:[[16687]],194905:[[31296]],194906:[[31306]],194907:[[31311]],194908:[[153980]],194909:[[154279]],194910:[[154279]],194911:[[31470]],194912:[[16898]],194913:[[154539]],194914:[[31686]],194915:[[31689]],194916:[[16935]],194917:[[154752]],194918:[[31954]],194919:[[17056]],194920:[[31976]],194921:[[31971]],194922:[[32e3]],194923:[[155526]],194924:[[32099]],194925:[[17153]],194926:[[32199]],194927:[[32258]],194928:[[32325]],194929:[[17204]],194930:[[156200]],194931:[[156231]],194932:[[17241]],194933:[[156377]],194934:[[32634]],194935:[[156478]],194936:[[32661]],194937:[[32762]],194938:[[32773]],194939:[[156890]],194940:[[156963]],194941:[[32864]],194942:[[157096]],194943:[[32880]],194944:[[144223]],194945:[[17365]],194946:[[32946]],194947:[[33027]],194948:[[17419]],194949:[[33086]],194950:[[23221]],194951:[[157607]],194952:[[157621]],194953:[[144275]],194954:[[144284]],194955:[[33281]],194956:[[33284]],194957:[[36766]],194958:[[17515]],194959:[[33425]],194960:[[33419]],194961:[[33437]],194962:[[21171]],194963:[[33457]],194964:[[33459]],194965:[[33469]],194966:[[33510]],194967:[[158524]],194968:[[33509]],194969:[[33565]],194970:[[33635]],194971:[[33709]],194972:[[33571]],194973:[[33725]],194974:[[33767]],194975:[[33879]],194976:[[33619]],194977:[[33738]],194978:[[33740]],194979:[[33756]],194980:[[158774]],194981:[[159083]],194982:[[158933]],194983:[[17707]],194984:[[34033]],194985:[[34035]],194986:[[34070]],194987:[[160714]],194988:[[34148]],194989:[[159532]],194990:[[17757]],194991:[[17761]],194992:[[159665]],194993:[[159954]],194994:[[17771]],194995:[[34384]],194996:[[34396]],194997:[[34407]],194998:[[34409]],194999:[[34473]],195e3:[[34440]],195001:[[34574]],195002:[[34530]],195003:[[34681]],195004:[[34600]],195005:[[34667]],195006:[[34694]],195007:[[17879]],195008:[[34785]],195009:[[34817]],195010:[[17913]],195011:[[34912]],195012:[[34915]],195013:[[161383]],195014:[[35031]],195015:[[35038]],195016:[[17973]],195017:[[35066]],195018:[[13499]],195019:[[161966]],195020:[[162150]],195021:[[18110]],195022:[[18119]],195023:[[35488]],195024:[[35565]],195025:[[35722]],195026:[[35925]],195027:[[162984]],195028:[[36011]],195029:[[36033]],195030:[[36123]],195031:[[36215]],195032:[[163631]],195033:[[133124]],195034:[[36299]],195035:[[36284]],195036:[[36336]],195037:[[133342]],195038:[[36564]],195039:[[36664]],195040:[[165330]],195041:[[165357]],195042:[[37012]],195043:[[37105]],195044:[[37137]],195045:[[165678]],195046:[[37147]],195047:[[37432]],195048:[[37591]],195049:[[37592]],195050:[[37500]],195051:[[37881]],195052:[[37909]],195053:[[166906]],195054:[[38283]],195055:[[18837]],195056:[[38327]],195057:[[167287]],195058:[[18918]],195059:[[38595]],195060:[[23986]],195061:[[38691]],195062:[[168261]],195063:[[168474]],195064:[[19054]],195065:[[19062]],195066:[[38880]],195067:[[168970]],195068:[[19122]],195069:[[169110]],195070:[[38923]],195071:[[38923]]},64e3:{64e3:[[20999]],64001:[[24230]],64002:[[25299]],64003:[[31958]],64004:[[23429]],64005:[[27934]],64006:[[26292]],64007:[[36667]],64008:[[34892]],64009:[[38477]],64010:[[35211]],64011:[[24275]],64012:[[20800]],64013:[[21952]],64016:[[22618]],64018:[[26228]],64021:[[20958]],64022:[[29482]],64023:[[30410]],64024:[[31036]],64025:[[31070]],64026:[[31077]],64027:[[31119]],64028:[[38742]],64029:[[31934]],64030:[[32701]],64032:[[34322]],64034:[[35576]],64037:[[36920]],64038:[[37117]],64042:[[39151]],64043:[[39164]],64044:[[39208]],64045:[[40372]],64046:[[37086]],64047:[[38583]],64048:[[20398]],64049:[[20711]],64050:[[20813]],64051:[[21193]],64052:[[21220]],64053:[[21329]],64054:[[21917]],64055:[[22022]],64056:[[22120]],64057:[[22592]],64058:[[22696]],64059:[[23652]],64060:[[23662]],64061:[[24724]],64062:[[24936]],64063:[[24974]],64064:[[25074]],64065:[[25935]],64066:[[26082]],64067:[[26257]],64068:[[26757]],64069:[[28023]],64070:[[28186]],64071:[[28450]],64072:[[29038]],64073:[[29227]],64074:[[29730]],64075:[[30865]],64076:[[31038]],64077:[[31049]],64078:[[31048]],64079:[[31056]],64080:[[31062]],64081:[[31069]],64082:[[31117]],64083:[[31118]],64084:[[31296]],64085:[[31361]],64086:[[31680]],64087:[[32244]],64088:[[32265]],64089:[[32321]],64090:[[32626]],64091:[[32773]],64092:[[33261]],64093:[[33401]],64094:[[33401]],64095:[[33879]],64096:[[35088]],64097:[[35222]],64098:[[35585]],64099:[[35641]],64100:[[36051]],64101:[[36104]],64102:[[36790]],64103:[[36920]],64104:[[38627]],64105:[[38911]],64106:[[38971]],64107:[[24693]],64108:[[148206]],64109:[[33304]],64112:[[20006]],64113:[[20917]],64114:[[20840]],64115:[[20352]],64116:[[20805]],64117:[[20864]],64118:[[21191]],64119:[[21242]],64120:[[21917]],64121:[[21845]],64122:[[21913]],64123:[[21986]],64124:[[22618]],64125:[[22707]],64126:[[22852]],64127:[[22868]],64128:[[23138]],64129:[[23336]],64130:[[24274]],64131:[[24281]],64132:[[24425]],64133:[[24493]],64134:[[24792]],64135:[[24910]],64136:[[24840]],64137:[[24974]],64138:[[24928]],64139:[[25074]],64140:[[25140]],64141:[[25540]],64142:[[25628]],64143:[[25682]],64144:[[25942]],64145:[[26228]],64146:[[26391]],64147:[[26395]],64148:[[26454]],64149:[[27513]],64150:[[27578]],64151:[[27969]],64152:[[28379]],64153:[[28363]],64154:[[28450]],64155:[[28702]],64156:[[29038]],64157:[[30631]],64158:[[29237]],64159:[[29359]],64160:[[29482]],64161:[[29809]],64162:[[29958]],64163:[[30011]],64164:[[30237]],64165:[[30239]],64166:[[30410]],64167:[[30427]],64168:[[30452]],64169:[[30538]],64170:[[30528]],64171:[[30924]],64172:[[31409]],64173:[[31680]],64174:[[31867]],64175:[[32091]],64176:[[32244]],64177:[[32574]],64178:[[32773]],64179:[[33618]],64180:[[33775]],64181:[[34681]],64182:[[35137]],64183:[[35206]],64184:[[35222]],64185:[[35519]],64186:[[35576]],64187:[[35531]],64188:[[35585]],64189:[[35582]],64190:[[35565]],64191:[[35641]],64192:[[35722]],64193:[[36104]],64194:[[36664]],64195:[[36978]],64196:[[37273]],64197:[[37494]],64198:[[38524]],64199:[[38627]],64200:[[38742]],64201:[[38875]],64202:[[38911]],64203:[[38923]],64204:[[38971]],64205:[[39698]],64206:[[40860]],64207:[[141386]],64208:[[141380]],64209:[[144341]],64210:[[15261]],64211:[[16408]],64212:[[16441]],64213:[[152137]],64214:[[154832]],64215:[[163539]],64216:[[40771]],64217:[[40846]],195072:[[38953]],195073:[[169398]],195074:[[39138]],195075:[[19251]],195076:[[39209]],195077:[[39335]],195078:[[39362]],195079:[[39422]],195080:[[19406]],195081:[[170800]],195082:[[39698]],195083:[[4e4]],195084:[[40189]],195085:[[19662]],195086:[[19693]],195087:[[40295]],195088:[[172238]],195089:[[19704]],195090:[[172293]],195091:[[172558]],195092:[[172689]],195093:[[40635]],195094:[[19798]],195095:[[40697]],195096:[[40702]],195097:[[40709]],195098:[[40719]],195099:[[40726]],195100:[[40763]],195101:[[173568]]},64256:{64256:[[102,102],256],64257:[[102,105],256],64258:[[102,108],256],64259:[[102,102,105],256],64260:[[102,102,108],256],64261:[[383,116],256],64262:[[115,116],256],64275:[[1396,1398],256],64276:[[1396,1381],256],64277:[[1396,1387],256],64278:[[1406,1398],256],64279:[[1396,1389],256],64285:[[1497,1460],512],64286:[,26],64287:[[1522,1463],512],64288:[[1506],256],64289:[[1488],256],64290:[[1491],256],64291:[[1492],256],64292:[[1499],256],64293:[[1500],256],64294:[[1501],256],64295:[[1512],256],64296:[[1514],256],64297:[[43],256],64298:[[1513,1473],512],64299:[[1513,1474],512],64300:[[64329,1473],512],64301:[[64329,1474],512],64302:[[1488,1463],512],64303:[[1488,1464],512],64304:[[1488,1468],512],64305:[[1489,1468],512],64306:[[1490,1468],512],64307:[[1491,1468],512],64308:[[1492,1468],512],64309:[[1493,1468],512],64310:[[1494,1468],512],64312:[[1496,1468],512],64313:[[1497,1468],512],64314:[[1498,1468],512],64315:[[1499,1468],512],64316:[[1500,1468],512],64318:[[1502,1468],512],64320:[[1504,1468],512],64321:[[1505,1468],512],64323:[[1507,1468],512],64324:[[1508,1468],512],64326:[[1510,1468],512],64327:[[1511,1468],512],64328:[[1512,1468],512],64329:[[1513,1468],512],64330:[[1514,1468],512],64331:[[1493,1465],512],64332:[[1489,1471],512],64333:[[1499,1471],512],64334:[[1508,1471],512],64335:[[1488,1500],256],64336:[[1649],256],64337:[[1649],256],64338:[[1659],256],64339:[[1659],256],64340:[[1659],256],64341:[[1659],256],64342:[[1662],256],64343:[[1662],256],64344:[[1662],256],64345:[[1662],256],64346:[[1664],256],64347:[[1664],256],64348:[[1664],256],64349:[[1664],256],64350:[[1658],256],64351:[[1658],256],64352:[[1658],256],64353:[[1658],256],64354:[[1663],256],64355:[[1663],256],64356:[[1663],256],64357:[[1663],256],64358:[[1657],256],64359:[[1657],256],64360:[[1657],256],64361:[[1657],256],64362:[[1700],256],64363:[[1700],256],64364:[[1700],256],64365:[[1700],256],64366:[[1702],256],64367:[[1702],256],64368:[[1702],256],64369:[[1702],256],64370:[[1668],256],64371:[[1668],256],64372:[[1668],256],64373:[[1668],256],64374:[[1667],256],64375:[[1667],256],64376:[[1667],256],64377:[[1667],256],64378:[[1670],256],64379:[[1670],256],64380:[[1670],256],64381:[[1670],256],64382:[[1671],256],64383:[[1671],256],64384:[[1671],256],64385:[[1671],256],64386:[[1677],256],64387:[[1677],256],64388:[[1676],256],64389:[[1676],256],64390:[[1678],256],64391:[[1678],256],64392:[[1672],256],64393:[[1672],256],64394:[[1688],256],64395:[[1688],256],64396:[[1681],256],64397:[[1681],256],64398:[[1705],256],64399:[[1705],256],64400:[[1705],256],64401:[[1705],256],64402:[[1711],256],64403:[[1711],256],64404:[[1711],256],64405:[[1711],256],64406:[[1715],256],64407:[[1715],256],64408:[[1715],256],64409:[[1715],256],64410:[[1713],256],64411:[[1713],256],64412:[[1713],256],64413:[[1713],256],64414:[[1722],256],64415:[[1722],256],64416:[[1723],256],64417:[[1723],256],64418:[[1723],256],64419:[[1723],256],64420:[[1728],256],64421:[[1728],256],64422:[[1729],256],64423:[[1729],256],64424:[[1729],256],64425:[[1729],256],64426:[[1726],256],64427:[[1726],256],64428:[[1726],256],64429:[[1726],256],64430:[[1746],256],64431:[[1746],256],64432:[[1747],256],64433:[[1747],256],64467:[[1709],256],64468:[[1709],256],64469:[[1709],256],64470:[[1709],256],64471:[[1735],256],64472:[[1735],256],64473:[[1734],256],64474:[[1734],256],64475:[[1736],256],64476:[[1736],256],64477:[[1655],256],64478:[[1739],256],64479:[[1739],256],64480:[[1733],256],64481:[[1733],256],64482:[[1737],256],64483:[[1737],256],64484:[[1744],256],64485:[[1744],256],64486:[[1744],256],64487:[[1744],256],64488:[[1609],256],64489:[[1609],256],64490:[[1574,1575],256],64491:[[1574,1575],256],64492:[[1574,1749],256],64493:[[1574,1749],256],64494:[[1574,1608],256],64495:[[1574,1608],256],64496:[[1574,1735],256],64497:[[1574,1735],256],64498:[[1574,1734],256],64499:[[1574,1734],256],64500:[[1574,1736],256],64501:[[1574,1736],256],64502:[[1574,1744],256],64503:[[1574,1744],256],64504:[[1574,1744],256],64505:[[1574,1609],256],64506:[[1574,1609],256],64507:[[1574,1609],256],64508:[[1740],256],64509:[[1740],256],64510:[[1740],256],64511:[[1740],256]},64512:{64512:[[1574,1580],256],64513:[[1574,1581],256],64514:[[1574,1605],256],64515:[[1574,1609],256],64516:[[1574,1610],256],64517:[[1576,1580],256],64518:[[1576,1581],256],64519:[[1576,1582],256],64520:[[1576,1605],256],64521:[[1576,1609],256],64522:[[1576,1610],256],64523:[[1578,1580],256],64524:[[1578,1581],256],64525:[[1578,1582],256],64526:[[1578,1605],256],64527:[[1578,1609],256],64528:[[1578,1610],256],64529:[[1579,1580],256],64530:[[1579,1605],256],64531:[[1579,1609],256],64532:[[1579,1610],256],64533:[[1580,1581],256],64534:[[1580,1605],256],64535:[[1581,1580],256],64536:[[1581,1605],256],64537:[[1582,1580],256],64538:[[1582,1581],256],64539:[[1582,1605],256],64540:[[1587,1580],256],64541:[[1587,1581],256],64542:[[1587,1582],256],64543:[[1587,1605],256],64544:[[1589,1581],256],64545:[[1589,1605],256],64546:[[1590,1580],256],64547:[[1590,1581],256],64548:[[1590,1582],256],64549:[[1590,1605],256],64550:[[1591,1581],256],64551:[[1591,1605],256],64552:[[1592,1605],256],64553:[[1593,1580],256],64554:[[1593,1605],256],64555:[[1594,1580],256],64556:[[1594,1605],256],64557:[[1601,1580],256],64558:[[1601,1581],256],64559:[[1601,1582],256],64560:[[1601,1605],256],64561:[[1601,1609],256],64562:[[1601,1610],256],64563:[[1602,1581],256],64564:[[1602,1605],256],64565:[[1602,1609],256],64566:[[1602,1610],256],64567:[[1603,1575],256],64568:[[1603,1580],256],64569:[[1603,1581],256],64570:[[1603,1582],256],64571:[[1603,1604],256],64572:[[1603,1605],256],64573:[[1603,1609],256],64574:[[1603,1610],256],64575:[[1604,1580],256],64576:[[1604,1581],256],64577:[[1604,1582],256],64578:[[1604,1605],256],64579:[[1604,1609],256],64580:[[1604,1610],256],64581:[[1605,1580],256],64582:[[1605,1581],256],64583:[[1605,1582],256],64584:[[1605,1605],256],64585:[[1605,1609],256],64586:[[1605,1610],256],64587:[[1606,1580],256],64588:[[1606,1581],256],64589:[[1606,1582],256],64590:[[1606,1605],256],64591:[[1606,1609],256],64592:[[1606,1610],256],64593:[[1607,1580],256],64594:[[1607,1605],256],64595:[[1607,1609],256],64596:[[1607,1610],256],64597:[[1610,1580],256],64598:[[1610,1581],256],64599:[[1610,1582],256],64600:[[1610,1605],256],64601:[[1610,1609],256],64602:[[1610,1610],256],64603:[[1584,1648],256],64604:[[1585,1648],256],64605:[[1609,1648],256],64606:[[32,1612,1617],256],64607:[[32,1613,1617],256],64608:[[32,1614,1617],256],64609:[[32,1615,1617],256],64610:[[32,1616,1617],256],64611:[[32,1617,1648],256],64612:[[1574,1585],256],64613:[[1574,1586],256],64614:[[1574,1605],256],64615:[[1574,1606],256],64616:[[1574,1609],256],64617:[[1574,1610],256],64618:[[1576,1585],256],64619:[[1576,1586],256],64620:[[1576,1605],256],64621:[[1576,1606],256],64622:[[1576,1609],256],64623:[[1576,1610],256],64624:[[1578,1585],256],64625:[[1578,1586],256],64626:[[1578,1605],256],64627:[[1578,1606],256],64628:[[1578,1609],256],64629:[[1578,1610],256],64630:[[1579,1585],256],64631:[[1579,1586],256],64632:[[1579,1605],256],64633:[[1579,1606],256],64634:[[1579,1609],256],64635:[[1579,1610],256],64636:[[1601,1609],256],64637:[[1601,1610],256],64638:[[1602,1609],256],64639:[[1602,1610],256],64640:[[1603,1575],256],64641:[[1603,1604],256],64642:[[1603,1605],256],64643:[[1603,1609],256],64644:[[1603,1610],256],64645:[[1604,1605],256],64646:[[1604,1609],256],64647:[[1604,1610],256],64648:[[1605,1575],256],64649:[[1605,1605],256],64650:[[1606,1585],256],64651:[[1606,1586],256],64652:[[1606,1605],256],64653:[[1606,1606],256],64654:[[1606,1609],256],64655:[[1606,1610],256],64656:[[1609,1648],256],64657:[[1610,1585],256],64658:[[1610,1586],256],64659:[[1610,1605],256],64660:[[1610,1606],256],64661:[[1610,1609],256],64662:[[1610,1610],256],64663:[[1574,1580],256],64664:[[1574,1581],256],64665:[[1574,1582],256],64666:[[1574,1605],256],64667:[[1574,1607],256],64668:[[1576,1580],256],64669:[[1576,1581],256],64670:[[1576,1582],256],64671:[[1576,1605],256],64672:[[1576,1607],256],64673:[[1578,1580],256],64674:[[1578,1581],256],64675:[[1578,1582],256],64676:[[1578,1605],256],64677:[[1578,1607],256],64678:[[1579,1605],256],64679:[[1580,1581],256],64680:[[1580,1605],256],64681:[[1581,1580],256],64682:[[1581,1605],256],64683:[[1582,1580],256],64684:[[1582,1605],256],64685:[[1587,1580],256],64686:[[1587,1581],256],64687:[[1587,1582],256],64688:[[1587,1605],256],64689:[[1589,1581],256],64690:[[1589,1582],256],64691:[[1589,1605],256],64692:[[1590,1580],256],64693:[[1590,1581],256],64694:[[1590,1582],256],64695:[[1590,1605],256],64696:[[1591,1581],256],64697:[[1592,1605],256],64698:[[1593,1580],256],64699:[[1593,1605],256],64700:[[1594,1580],256],64701:[[1594,1605],256],64702:[[1601,1580],256],64703:[[1601,1581],256],64704:[[1601,1582],256],64705:[[1601,1605],256],64706:[[1602,1581],256],64707:[[1602,1605],256],64708:[[1603,1580],256],64709:[[1603,1581],256],64710:[[1603,1582],256],64711:[[1603,1604],256],64712:[[1603,1605],256],64713:[[1604,1580],256],64714:[[1604,1581],256],64715:[[1604,1582],256],64716:[[1604,1605],256],64717:[[1604,1607],256],64718:[[1605,1580],256],64719:[[1605,1581],256],64720:[[1605,1582],256],64721:[[1605,1605],256],64722:[[1606,1580],256],64723:[[1606,1581],256],64724:[[1606,1582],256],64725:[[1606,1605],256],64726:[[1606,1607],256],64727:[[1607,1580],256],64728:[[1607,1605],256],64729:[[1607,1648],256],64730:[[1610,1580],256],64731:[[1610,1581],256],64732:[[1610,1582],256],64733:[[1610,1605],256],64734:[[1610,1607],256],64735:[[1574,1605],256],64736:[[1574,1607],256],64737:[[1576,1605],256],64738:[[1576,1607],256],64739:[[1578,1605],256],64740:[[1578,1607],256],64741:[[1579,1605],256],64742:[[1579,1607],256],64743:[[1587,1605],256],64744:[[1587,1607],256],64745:[[1588,1605],256],64746:[[1588,1607],256],64747:[[1603,1604],256],64748:[[1603,1605],256],64749:[[1604,1605],256],64750:[[1606,1605],256],64751:[[1606,1607],256],64752:[[1610,1605],256],64753:[[1610,1607],256],64754:[[1600,1614,1617],256],64755:[[1600,1615,1617],256],64756:[[1600,1616,1617],256],64757:[[1591,1609],256],64758:[[1591,1610],256],64759:[[1593,1609],256],64760:[[1593,1610],256],64761:[[1594,1609],256],64762:[[1594,1610],256],64763:[[1587,1609],256],64764:[[1587,1610],256],64765:[[1588,1609],256],64766:[[1588,1610],256],64767:[[1581,1609],256]},64768:{64768:[[1581,1610],256],64769:[[1580,1609],256],64770:[[1580,1610],256],64771:[[1582,1609],256],64772:[[1582,1610],256],64773:[[1589,1609],256],64774:[[1589,1610],256],64775:[[1590,1609],256],64776:[[1590,1610],256],64777:[[1588,1580],256],64778:[[1588,1581],256],64779:[[1588,1582],256],64780:[[1588,1605],256],64781:[[1588,1585],256],64782:[[1587,1585],256],64783:[[1589,1585],256],64784:[[1590,1585],256],64785:[[1591,1609],256],64786:[[1591,1610],256],64787:[[1593,1609],256],64788:[[1593,1610],256],64789:[[1594,1609],256],64790:[[1594,1610],256],64791:[[1587,1609],256],64792:[[1587,1610],256],64793:[[1588,1609],256],64794:[[1588,1610],256],64795:[[1581,1609],256],64796:[[1581,1610],256],64797:[[1580,1609],256],64798:[[1580,1610],256],64799:[[1582,1609],256],64800:[[1582,1610],256],64801:[[1589,1609],256],64802:[[1589,1610],256],64803:[[1590,1609],256],64804:[[1590,1610],256],64805:[[1588,1580],256],64806:[[1588,1581],256],64807:[[1588,1582],256],64808:[[1588,1605],256],64809:[[1588,1585],256],64810:[[1587,1585],256],64811:[[1589,1585],256],64812:[[1590,1585],256],64813:[[1588,1580],256],64814:[[1588,1581],256],64815:[[1588,1582],256],64816:[[1588,1605],256],64817:[[1587,1607],256],64818:[[1588,1607],256],64819:[[1591,1605],256],64820:[[1587,1580],256],64821:[[1587,1581],256],64822:[[1587,1582],256],64823:[[1588,1580],256],64824:[[1588,1581],256],64825:[[1588,1582],256],64826:[[1591,1605],256],64827:[[1592,1605],256],64828:[[1575,1611],256],64829:[[1575,1611],256],64848:[[1578,1580,1605],256],64849:[[1578,1581,1580],256],64850:[[1578,1581,1580],256],64851:[[1578,1581,1605],256],64852:[[1578,1582,1605],256],64853:[[1578,1605,1580],256],64854:[[1578,1605,1581],256],64855:[[1578,1605,1582],256],64856:[[1580,1605,1581],256],64857:[[1580,1605,1581],256],64858:[[1581,1605,1610],256],64859:[[1581,1605,1609],256],64860:[[1587,1581,1580],256],64861:[[1587,1580,1581],256],64862:[[1587,1580,1609],256],64863:[[1587,1605,1581],256],64864:[[1587,1605,1581],256],64865:[[1587,1605,1580],256],64866:[[1587,1605,1605],256],64867:[[1587,1605,1605],256],64868:[[1589,1581,1581],256],64869:[[1589,1581,1581],256],64870:[[1589,1605,1605],256],64871:[[1588,1581,1605],256],64872:[[1588,1581,1605],256],64873:[[1588,1580,1610],256],64874:[[1588,1605,1582],256],64875:[[1588,1605,1582],256],64876:[[1588,1605,1605],256],64877:[[1588,1605,1605],256],64878:[[1590,1581,1609],256],64879:[[1590,1582,1605],256],64880:[[1590,1582,1605],256],64881:[[1591,1605,1581],256],64882:[[1591,1605,1581],256],64883:[[1591,1605,1605],256],64884:[[1591,1605,1610],256],64885:[[1593,1580,1605],256],64886:[[1593,1605,1605],256],64887:[[1593,1605,1605],256],64888:[[1593,1605,1609],256],64889:[[1594,1605,1605],256],64890:[[1594,1605,1610],256],64891:[[1594,1605,1609],256],64892:[[1601,1582,1605],256],64893:[[1601,1582,1605],256],64894:[[1602,1605,1581],256],64895:[[1602,1605,1605],256],64896:[[1604,1581,1605],256],64897:[[1604,1581,1610],256],64898:[[1604,1581,1609],256],64899:[[1604,1580,1580],256],64900:[[1604,1580,1580],256],64901:[[1604,1582,1605],256],64902:[[1604,1582,1605],256],64903:[[1604,1605,1581],256],64904:[[1604,1605,1581],256],64905:[[1605,1581,1580],256],64906:[[1605,1581,1605],256],64907:[[1605,1581,1610],256],64908:[[1605,1580,1581],256],64909:[[1605,1580,1605],256],64910:[[1605,1582,1580],256],64911:[[1605,1582,1605],256],64914:[[1605,1580,1582],256],64915:[[1607,1605,1580],256],64916:[[1607,1605,1605],256],64917:[[1606,1581,1605],256],64918:[[1606,1581,1609],256],64919:[[1606,1580,1605],256],64920:[[1606,1580,1605],256],64921:[[1606,1580,1609],256],64922:[[1606,1605,1610],256],64923:[[1606,1605,1609],256],64924:[[1610,1605,1605],256],64925:[[1610,1605,1605],256],64926:[[1576,1582,1610],256],64927:[[1578,1580,1610],256],64928:[[1578,1580,1609],256],64929:[[1578,1582,1610],256],64930:[[1578,1582,1609],256],64931:[[1578,1605,1610],256],64932:[[1578,1605,1609],256],64933:[[1580,1605,1610],256],64934:[[1580,1581,1609],256],64935:[[1580,1605,1609],256],64936:[[1587,1582,1609],256],64937:[[1589,1581,1610],256],64938:[[1588,1581,1610],256],64939:[[1590,1581,1610],256],64940:[[1604,1580,1610],256],64941:[[1604,1605,1610],256],64942:[[1610,1581,1610],256],64943:[[1610,1580,1610],256],64944:[[1610,1605,1610],256],64945:[[1605,1605,1610],256],64946:[[1602,1605,1610],256],64947:[[1606,1581,1610],256],64948:[[1602,1605,1581],256],64949:[[1604,1581,1605],256],64950:[[1593,1605,1610],256],64951:[[1603,1605,1610],256],64952:[[1606,1580,1581],256],64953:[[1605,1582,1610],256],64954:[[1604,1580,1605],256],64955:[[1603,1605,1605],256],64956:[[1604,1580,1605],256],64957:[[1606,1580,1581],256],64958:[[1580,1581,1610],256],64959:[[1581,1580,1610],256],64960:[[1605,1580,1610],256],64961:[[1601,1605,1610],256],64962:[[1576,1581,1610],256],64963:[[1603,1605,1605],256],64964:[[1593,1580,1605],256],64965:[[1589,1605,1605],256],64966:[[1587,1582,1610],256],64967:[[1606,1580,1610],256],65008:[[1589,1604,1746],256],65009:[[1602,1604,1746],256],65010:[[1575,1604,1604,1607],256],65011:[[1575,1603,1576,1585],256],65012:[[1605,1581,1605,1583],256],65013:[[1589,1604,1593,1605],256],65014:[[1585,1587,1608,1604],256],65015:[[1593,1604,1610,1607],256],65016:[[1608,1587,1604,1605],256],65017:[[1589,1604,1609],256],65018:[[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605],256],65019:[[1580,1604,32,1580,1604,1575,1604,1607],256],65020:[[1585,1740,1575,1604],256]},65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65063:[,220],65064:[,220],65065:[,220],65066:[,220],65067:[,220],65068:[,220],65069:[,220],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]},65280:{65281:[[33],256],65282:[[34],256],65283:[[35],256],65284:[[36],256],65285:[[37],256],65286:[[38],256],65287:[[39],256],65288:[[40],256],65289:[[41],256],65290:[[42],256],65291:[[43],256],65292:[[44],256],65293:[[45],256],65294:[[46],256],65295:[[47],256],65296:[[48],256],65297:[[49],256],65298:[[50],256],65299:[[51],256],65300:[[52],256],65301:[[53],256],65302:[[54],256],65303:[[55],256],65304:[[56],256],65305:[[57],256],65306:[[58],256],65307:[[59],256],65308:[[60],256],65309:[[61],256],65310:[[62],256],65311:[[63],256],65312:[[64],256],65313:[[65],256],65314:[[66],256],65315:[[67],256],65316:[[68],256],65317:[[69],256],65318:[[70],256],65319:[[71],256],65320:[[72],256],65321:[[73],256],65322:[[74],256],65323:[[75],256],65324:[[76],256],65325:[[77],256],65326:[[78],256],65327:[[79],256],65328:[[80],256],65329:[[81],256],65330:[[82],256],65331:[[83],256],65332:[[84],256],65333:[[85],256],65334:[[86],256],65335:[[87],256],65336:[[88],256],65337:[[89],256],65338:[[90],256],65339:[[91],256],65340:[[92],256],65341:[[93],256],65342:[[94],256],65343:[[95],256],65344:[[96],256],65345:[[97],256],65346:[[98],256],65347:[[99],256],65348:[[100],256],65349:[[101],256],65350:[[102],256],65351:[[103],256],65352:[[104],256],65353:[[105],256],65354:[[106],256],65355:[[107],256],65356:[[108],256],65357:[[109],256],65358:[[110],256],65359:[[111],256],65360:[[112],256],65361:[[113],256],65362:[[114],256],65363:[[115],256],65364:[[116],256],65365:[[117],256],65366:[[118],256],65367:[[119],256],65368:[[120],256],65369:[[121],256],65370:[[122],256],65371:[[123],256],65372:[[124],256],65373:[[125],256],65374:[[126],256],65375:[[10629],256],65376:[[10630],256],65377:[[12290],256],65378:[[12300],256],65379:[[12301],256],65380:[[12289],256],65381:[[12539],256],65382:[[12530],256],65383:[[12449],256],65384:[[12451],256],65385:[[12453],256],65386:[[12455],256],65387:[[12457],256],65388:[[12515],256],65389:[[12517],256],65390:[[12519],256],65391:[[12483],256],65392:[[12540],256],65393:[[12450],256],65394:[[12452],256],65395:[[12454],256],65396:[[12456],256],65397:[[12458],256],65398:[[12459],256],65399:[[12461],256],65400:[[12463],256],65401:[[12465],256],65402:[[12467],256],65403:[[12469],256],65404:[[12471],256],65405:[[12473],256],65406:[[12475],256],65407:[[12477],256],65408:[[12479],256],65409:[[12481],256],65410:[[12484],256],65411:[[12486],256],65412:[[12488],256],65413:[[12490],256],65414:[[12491],256],65415:[[12492],256],65416:[[12493],256],65417:[[12494],256],65418:[[12495],256],65419:[[12498],256],65420:[[12501],256],65421:[[12504],256],65422:[[12507],256],65423:[[12510],256],65424:[[12511],256],65425:[[12512],256],65426:[[12513],256],65427:[[12514],256],65428:[[12516],256],65429:[[12518],256],65430:[[12520],256],65431:[[12521],256],65432:[[12522],256],65433:[[12523],256],65434:[[12524],256],65435:[[12525],256],65436:[[12527],256],65437:[[12531],256],65438:[[12441],256],65439:[[12442],256],65440:[[12644],256],65441:[[12593],256],65442:[[12594],256],65443:[[12595],256],65444:[[12596],256],65445:[[12597],256],65446:[[12598],256],65447:[[12599],256],65448:[[12600],256],65449:[[12601],256],65450:[[12602],256],65451:[[12603],256],65452:[[12604],256],65453:[[12605],256],65454:[[12606],256],65455:[[12607],256],65456:[[12608],256],65457:[[12609],256],65458:[[12610],256],65459:[[12611],256],65460:[[12612],256],65461:[[12613],256],65462:[[12614],256],65463:[[12615],256],65464:[[12616],256],65465:[[12617],256],65466:[[12618],256],65467:[[12619],256],65468:[[12620],256],65469:[[12621],256],65470:[[12622],256],65474:[[12623],256],65475:[[12624],256],65476:[[12625],256],65477:[[12626],256],65478:[[12627],256],65479:[[12628],256],65482:[[12629],256],65483:[[12630],256],65484:[[12631],256],65485:[[12632],256],65486:[[12633],256],65487:[[12634],256],65490:[[12635],256],65491:[[12636],256],65492:[[12637],256],65493:[[12638],256],65494:[[12639],256],65495:[[12640],256],65498:[[12641],256],65499:[[12642],256],65500:[[12643],256],65504:[[162],256],65505:[[163],256],65506:[[172],256],65507:[[175],256],65508:[[166],256],65509:[[165],256],65510:[[8361],256],65512:[[9474],256],65513:[[8592],256],65514:[[8593],256],65515:[[8594],256],65516:[[8595],256],65517:[[9632],256],65518:[[9675],256]}};var h={nfc:function(e){return p("NFC",e)},nfd:function(e){return p("NFD",e)},nfkc:function(e){return p("NFKC",e)},nfkd:function(e){return p("NFKD",e)}};e.exports=h,h.shimApplied=!1,String.prototype.normalize||(Object.defineProperty(String.prototype,"normalize",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=""+this,t=void 0===arguments[0]?"NFC":arguments[0];if(null==this)throw new TypeError("Cannot call method on "+Object.prototype.toString.call(this));if("NFC"===t)return h.nfc(e);if("NFD"===t)return h.nfd(e);if("NFKC"===t)return h.nfkc(e);if("NFKD"===t)return h.nfkd(e);throw new RangeError("Invalid normalization form: "+t)}}),h.shimApplied=!0)}()},function(e,t,n){"use strict";n.r(t),n.d(t,"Headers",(function(){return f})),n.d(t,"Request",(function(){return S})),n.d(t,"Response",(function(){return T})),n.d(t,"DOMException",(function(){return A})),n.d(t,"fetch",(function(){return N}));n(6);var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,i="URLSearchParams"in r,s="Symbol"in r&&"iterator"in Symbol,o="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in r,c="ArrayBuffer"in r;if(c)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function p(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return s&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function b(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:i&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():c&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=b(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=b(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(y)}),this.text=function(){var e,t,n,r=m(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=g(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=d(e),t=p(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[d(e)]},f.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},f.prototype.set=function(e,t){this.map[d(e)]=p(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),h(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},s&&(f.prototype[Symbol.iterator]=f.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(e,t){if(!(this instanceof S))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof S){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),_.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var s=/([?&])_=[^&]*/;if(s.test(this.url))this.url=this.url.replace(s,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function T(e,t){if(!(this instanceof T))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})},v.call(S.prototype),v.call(T.prototype),T.prototype.clone=function(){return new T(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},T.error=function(){var e=new T(null,{status:0,statusText:""});return e.type="error",e};var I=[301,302,303,307,308];T.redirect=function(e,t){if(-1===I.indexOf(t))throw new RangeError("Invalid status code");return new T(null,{status:t,headers:{location:e}})};var A=r.DOMException;try{new A}catch(e){(A=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),A.prototype.constructor=A}function N(e,t){return new Promise((function(n,i){var s=new S(e,t);if(s.signal&&s.signal.aborted)return i(new A("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;setTimeout((function(){n(new T(i,r))}),0)},a.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){i(new A("Aborted","AbortError"))}),0)},a.open(s.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(s.url),!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&(o?a.responseType="blob":c&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof f?s.headers.forEach((function(e,t){a.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){a.setRequestHeader(e,p(t.headers[e]))})),s.signal&&(s.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",u)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}N.polyfill=!0,r.fetch||(r.fetch=N,r.Headers=f,r.Request=S,r.Response=T)},function(e,t,n){"use strict";var r,i=n(207),s=n(24),o=n(8),a=n(20),c=n(15),u=n(208),l=n(25),d=n(74),p=n(42).f,h=n(214),f=n(216),m=n(40),g=n(44),y=o.Int8Array,b=y&&y.prototype,v=o.Uint8ClampedArray,_=v&&v.prototype,S=y&&h(y),w=b&&h(b),T=Object.prototype,I=T.isPrototypeOf,A=m("toStringTag"),N=g("TYPED_ARRAY_TAG"),E=i&&!!f&&"Opera"!==u(o.opera),x=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R=function(e){return a(e)&&c(C,u(e))};for(r in C)o[r]||(E=!1);if((!E||"function"!=typeof S||S===Function.prototype)&&(S=function(){throw TypeError("Incorrect invocation")},E))for(r in C)o[r]&&f(o[r],S);if((!E||!w||w===T)&&(w=S.prototype,E))for(r in C)o[r]&&f(o[r].prototype,w);if(E&&h(_)!==w&&f(_,w),s&&!c(w,A))for(r in x=!0,p(w,A,{get:function(){return a(this)?this[N]:void 0}}),C)o[r]&&l(o[r],N,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_TAG:x&&N,aTypedArray:function(e){if(R(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(f){if(I.call(S,e))return e}else for(var t in C)if(c(C,r)){var n=o[t];if(n&&(e===n||I.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(s){if(n)for(var r in C){var i=o[r];i&&c(i.prototype,e)&&delete i.prototype[e]}w[e]&&!n||d(w,e,n?t:E&&b[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(f){if(n)for(r in C)(i=o[r])&&c(i,e)&&delete i[e];if(S[e]&&!n)return;try{return d(S,e,n?t:E&&y[e]||t)}catch(e){}}for(r in C)!(i=o[r])||i[e]&&!n||d(i,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||c(C,t)},isTypedArray:R,TypedArray:S,TypedArrayPrototype:w}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(209),i=n(45),s=n(40)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),s))?n:o?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r={};r[n(40)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t){e.exports=!1},function(e,t,n){var r=n(73);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r,i,s,o=n(213),a=n(8),c=n(20),u=n(25),l=n(15),d=n(76),p=n(77),h=a.WeakMap;if(o){var f=new h,m=f.get,g=f.has,y=f.set;r=function(e,t){return y.call(f,e,t),t},i=function(e){return m.call(f,e)||{}},s=function(e){return g.call(f,e)}}else{var b=d("state");p[b]=!0,r=function(e,t){return u(e,b,t),t},i=function(e){return l(e,b)?e[b]:{}},s=function(e){return l(e,b)}}e.exports={set:r,get:i,has:s,enforce:function(e){return s(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(8),i=n(75),s=r.WeakMap;e.exports="function"==typeof s&&/native code/.test(i(s))},function(e,t,n){var r=n(15),i=n(78),s=n(76),o=n(215),a=s("IE_PROTO"),c=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,n){var r=n(13);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(43),i=n(217);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e.call(n,s):n.__proto__=s,n}}():void 0)},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(219);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(46);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){"use strict";n.r(t);var r=n(64),i=n(60);for(var s in i)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);var o=n(52);for(var s in o)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(s);var a=n(201);for(var s in a)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);var c=n(28);for(var s in c)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(s);var u=n(63);for(var s in u)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(s);var l=n(34);n.d(t,"HttpClient",(function(){return l.HttpClient}));var d=n(16);n.d(t,"parseJwt",(function(){return d.parseJwt})),t.default=r.Client},function(e,t,n){t.RateLimiter=n(222),t.TokenBucket=n(81)},function(e,t,n){(function(t){var r=n(81),i=n(223),s=function(e,t,n){this.tokenBucket=new r(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=i(),this.tokensThisInterval=0,this.fireImmediately=n};s.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(e,n){if(e>this.tokenBucket.bucketSize)return t.nextTick(n.bind(null,"Requested tokens "+e+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var r=this,s=i();if((s<this.curIntervalStart||s-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=s,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)t.nextTick(n.bind(null,null,-1));else{var o=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-s);setTimeout((function(){r.tokenBucket.removeTokens(e,a)}),o)}return!1}return this.tokenBucket.removeTokens(e,a);function a(t,i){if(t)return n(t,null);r.tokensThisInterval+=e,n(null,i)}},tryRemoveTokens:function(e){if(e>this.tokenBucket.bucketSize)return!1;var t=i();if((t<this.curIntervalStart||t-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=t,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var n=this.tokenBucket.tryRemoveTokens(e);return n&&(this.tokensThisInterval+=e),n},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}},e.exports=s}).call(this,n(29))},function(e,t,n){(function(t){e.exports=function(){if(void 0!==t&&t.hrtime){var e=t.hrtime(),n=e[0],r=e[1];return 1e3*n+Math.floor(r/1e6)}return(new Date).getTime()}}).call(this,n(29))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i={delayFirstAttempt:!1,jitter:"none",maxDelay:1/0,numOfAttempts:10,retry:function(){return!0},startingDelay:100,timeMultiple:2};t.getSanitizedOptions=function(e){var t=r(r({},i),e);return t.numOfAttempts<1&&(t.numOfAttempts=1),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(226),i=n(230);t.DelayFactory=function(e,t){var n=function(e){if(!e.delayFirstAttempt)return new r.SkipFirstDelay(e);return new i.AlwaysDelay(e)}(e);return n.setAttemptNumber(t),n}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.apply=function(){return s(this,void 0,void 0,(function(){return o(this,(function(t){return[2,!!this.isFirstAttempt||e.prototype.apply.call(this)]}))}))},Object.defineProperty(t.prototype,"isFirstAttempt",{get:function(){return 0===this.attempt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numOfDelayedAttempts",{get:function(){return this.attempt-1},enumerable:!0,configurable:!0}),t}(n(82).Delay);t.SkipFirstDelay=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(228),i=n(229);t.JitterFactory=function(e){switch(e.jitter){case"full":return r.fullJitter;case"none":default:return i.noJitter}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullJitter=function(e){var t=Math.random()*e;return Math.round(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noJitter=function(e){return e}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(n(82).Delay);t.AlwaysDelay=s},function(e,t,n){"use strict";(function(e){
|
|
22
|
+
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function c(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(o,a)}c((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function p(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function g(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),s=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){s.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(c,u):l(s[0][2],n)}catch(e){l(s[0][3],e)}var n}function c(e){a("next",e)}function u(e){a("throw",e)}function l(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function v(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function T(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(32),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var s=Object.create(n(27)),o=n(87),a=n(89);s.inherits(d,o);for(var c=i(a.prototype),u=0;u<c.length;u++){var l=c[u];d.prototype[l]||(d.prototype[l]=a.prototype[l])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t,n){"use strict";n.r(t);var r=n(39),i=n(17);let s,o,a=0,c=0;var u=function(e,t,n){let u=t&&n||0;const l=t||new Array(16);let d=(e=e||{}).node||s,p=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==p){const t=e.random||(e.rng||r.a)();null==d&&(d=s=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=o=16383&(t[6]<<8|t[7]))}let h=void 0!==e.msecs?e.msecs:Date.now(),f=void 0!==e.nsecs?e.nsecs:c+1;const m=h-a+(f-c)/1e4;if(m<0&&void 0===e.clockseq&&(p=p+1&16383),(m<0||h>a)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=h,c=f,o=p,h+=122192928e5;const g=(1e4*(268435455&h)+f)%4294967296;l[u++]=g>>>24&255,l[u++]=g>>>16&255,l[u++]=g>>>8&255,l[u++]=255&g;const y=h/4294967296*1e4&268435455;l[u++]=y>>>8&255,l[u++]=255&y,l[u++]=y>>>24&15|16,l[u++]=y>>>16&255,l[u++]=p>>>8|128,l[u++]=255&p;for(let e=0;e<6;++e)l[u+e]=d[e];return t||Object(i.b)(l)},l=(n(6),n(18));var d=function(e){if(!Object(l.a)(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function p(e,t,n){function r(e,r,s,o){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=d(r)),16!==(null===(a=r)||void 0===a?void 0:a.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let c=new Uint8Array(16+e.length);if(c.set(r),c.set(e,r.length),c=n(c),c[6]=15&c[6]|t,c[8]=63&c[8]|128,s){o=o||0;for(let e=0;e<16;++e)s[o+e]=c[e];return s}return Object(i.b)(c)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function h(e){return 14+(e+64>>>9<<4)+1}function f(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function m(e,t,n,r,i,s){return f((o=f(f(t,e),f(r,s)))<<(a=i)|o>>>32-a,n);var o,a}function g(e,t,n,r,i,s,o){return m(t&n|~t&r,e,t,i,s,o)}function y(e,t,n,r,i,s,o){return m(t&r|n&~r,e,t,i,s,o)}function b(e,t,n,r,i,s,o){return m(t^n^r,e,t,i,s,o)}function v(e,t,n,r,i,s,o){return m(n^(t|~r),e,t,i,s,o)}var _=p("v3",48,(function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length;for(let r=0;r<n;r+=8){const n=e[r>>5]>>>r%32&255,i=parseInt("0123456789abcdef".charAt(n>>>4&15)+"0123456789abcdef".charAt(15&n),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[h(t)-1]=t;let n=1732584193,r=-271733879,i=-1732584194,s=271733878;for(let t=0;t<e.length;t+=16){const o=n,a=r,c=i,u=s;n=g(n,r,i,s,e[t],7,-680876936),s=g(s,n,r,i,e[t+1],12,-389564586),i=g(i,s,n,r,e[t+2],17,606105819),r=g(r,i,s,n,e[t+3],22,-1044525330),n=g(n,r,i,s,e[t+4],7,-176418897),s=g(s,n,r,i,e[t+5],12,1200080426),i=g(i,s,n,r,e[t+6],17,-1473231341),r=g(r,i,s,n,e[t+7],22,-45705983),n=g(n,r,i,s,e[t+8],7,1770035416),s=g(s,n,r,i,e[t+9],12,-1958414417),i=g(i,s,n,r,e[t+10],17,-42063),r=g(r,i,s,n,e[t+11],22,-1990404162),n=g(n,r,i,s,e[t+12],7,1804603682),s=g(s,n,r,i,e[t+13],12,-40341101),i=g(i,s,n,r,e[t+14],17,-1502002290),r=g(r,i,s,n,e[t+15],22,1236535329),n=y(n,r,i,s,e[t+1],5,-165796510),s=y(s,n,r,i,e[t+6],9,-1069501632),i=y(i,s,n,r,e[t+11],14,643717713),r=y(r,i,s,n,e[t],20,-373897302),n=y(n,r,i,s,e[t+5],5,-701558691),s=y(s,n,r,i,e[t+10],9,38016083),i=y(i,s,n,r,e[t+15],14,-660478335),r=y(r,i,s,n,e[t+4],20,-405537848),n=y(n,r,i,s,e[t+9],5,568446438),s=y(s,n,r,i,e[t+14],9,-1019803690),i=y(i,s,n,r,e[t+3],14,-187363961),r=y(r,i,s,n,e[t+8],20,1163531501),n=y(n,r,i,s,e[t+13],5,-1444681467),s=y(s,n,r,i,e[t+2],9,-51403784),i=y(i,s,n,r,e[t+7],14,1735328473),r=y(r,i,s,n,e[t+12],20,-1926607734),n=b(n,r,i,s,e[t+5],4,-378558),s=b(s,n,r,i,e[t+8],11,-2022574463),i=b(i,s,n,r,e[t+11],16,1839030562),r=b(r,i,s,n,e[t+14],23,-35309556),n=b(n,r,i,s,e[t+1],4,-1530992060),s=b(s,n,r,i,e[t+4],11,1272893353),i=b(i,s,n,r,e[t+7],16,-155497632),r=b(r,i,s,n,e[t+10],23,-1094730640),n=b(n,r,i,s,e[t+13],4,681279174),s=b(s,n,r,i,e[t],11,-358537222),i=b(i,s,n,r,e[t+3],16,-722521979),r=b(r,i,s,n,e[t+6],23,76029189),n=b(n,r,i,s,e[t+9],4,-640364487),s=b(s,n,r,i,e[t+12],11,-421815835),i=b(i,s,n,r,e[t+15],16,530742520),r=b(r,i,s,n,e[t+2],23,-995338651),n=v(n,r,i,s,e[t],6,-198630844),s=v(s,n,r,i,e[t+7],10,1126891415),i=v(i,s,n,r,e[t+14],15,-1416354905),r=v(r,i,s,n,e[t+5],21,-57434055),n=v(n,r,i,s,e[t+12],6,1700485571),s=v(s,n,r,i,e[t+3],10,-1894986606),i=v(i,s,n,r,e[t+10],15,-1051523),r=v(r,i,s,n,e[t+1],21,-2054922799),n=v(n,r,i,s,e[t+8],6,1873313359),s=v(s,n,r,i,e[t+15],10,-30611744),i=v(i,s,n,r,e[t+6],15,-1560198380),r=v(r,i,s,n,e[t+13],21,1309151649),n=v(n,r,i,s,e[t+4],6,-145523070),s=v(s,n,r,i,e[t+11],10,-1120210379),i=v(i,s,n,r,e[t+2],15,718787259),r=v(r,i,s,n,e[t+9],21,-343485551),n=f(n,o),r=f(r,a),i=f(i,c),s=f(s,u)}return[n,r,i,s]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(h(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),S=n(202);function w(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function T(e,t){return e<<t|e>>>32-t}var I=p("v5",80,(function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const r=e.length/4+2,i=Math.ceil(r/16),s=new Array(i);for(let t=0;t<i;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];s[t]=n}s[i-1][14]=8*(e.length-1)/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<i;++e){const r=new Uint32Array(80);for(let t=0;t<16;++t)r[t]=s[e][t];for(let e=16;e<80;++e)r[e]=T(r[e-3]^r[e-8]^r[e-14]^r[e-16],1);let i=n[0],o=n[1],a=n[2],c=n[3],u=n[4];for(let e=0;e<80;++e){const n=Math.floor(e/20),s=T(i,5)+w(n,o,a,c)+u+t[n]+r[e]>>>0;u=c,c=a,a=T(o,30)>>>0,o=i,i=s}n[0]=n[0]+i>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+a>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+u>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));var A=function(e){if(!Object(l.a)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)};n.d(t,"v1",(function(){return u})),n.d(t,"v3",(function(){return _})),n.d(t,"v4",(function(){return S.a})),n.d(t,"v5",(function(){return I})),n.d(t,"NIL",(function(){return"00000000-0000-0000-0000-000000000000"})),n.d(t,"version",(function(){return A})),n.d(t,"validate",(function(){return l.a})),n.d(t,"stringify",(function(){return i.a})),n.d(t,"parse",(function(){return d}))},function(e,t,n){var r=n(13);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(24),i=n(42),s=n(72);e.exports=r?function(e,t,n){return i.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(11),i=n(50);class s extends i.Transform{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"be";super(),this._block=r.Buffer.alloc(e),this._finalSize=t,this._blockSize=e,this._bigEndian="be"===n,this._len=0}_transform(e,t,n){let r=null;try{this.update(e,t)}catch(e){r=e}n(r)}_flush(e){let t=null;try{this.push(this.digest())}catch(e){t=e}e(t)}update(e,t){"string"==typeof e&&(t=t||"utf8",e=r.Buffer.from(e,t));const n=this._block,i=this._blockSize,s=e.length;let o=this._len;for(let t=0;t<s;){const r=o%i,a=Math.min(s-t,i-r);for(let i=0;i<a;i++)n[r+i]=e[t+i];o+=a,t+=a,o%i==0&&this._update(n)}return this._len+=s,this}digest(e){const t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));const n=8*this._len;if(n<=4294967295)this._bigEndian?(this._block.writeUInt32BE(0,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)):(this._block.writeUInt32LE(n,this._blockSize-8),this._block.writeUInt32LE(0,this._blockSize-4));else{const e=(4294967295&n)>>>0,t=(n-e)/4294967296;this._bigEndian?(this._block.writeUInt32BE(t,this._blockSize-8),this._block.writeUInt32BE(e,this._blockSize-4)):(this._block.writeUInt32LE(e,this._blockSize-8),this._block.writeUInt32LE(t,this._blockSize-4))}this._update(this._block);const r=this._hash();return e?r.toString(e):r}_update(e){throw new Error("_update must be implemented by subclass")}_hash(){throw new Error("_update must be implemented by subclass")}}t.default=s},function(e,t,n){"use strict";t.inherits=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionTypes=void 0,function(e){e.softphone="softphone",e.collaborateVideo="collaborateVideo",e.acdScreenShare="screenShare",e.screenRecording="screenRecording",e.unknown="unknown"}(t.SessionTypes||(t.SessionTypes={}))},function(e,t){const n=e.exports={};function r(){}n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=r,n.addListener=r,n.once=r,n.off=r,n.removeListener=r,n.removeAllListeners=r,n.emit=r,n.prependListener=r,n.prependOnceListener=r,n.nextTick=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return window.queueMicrotask(()=>e(...n))},n.listeners=e=>[],n.cwd=()=>"/",n.umask=()=>0,n.binding=e=>{throw new Error("process.binding is not supported")},n.chdir=e=>{throw new Error("process.chdir is not supported")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(31);class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.name=e,this.attributes=t,this.children=[],this.optionalNamespaces={};for(const e of n)if("string"!=typeof e){const t=new i(e.name,e.attributes,e.children);t.parent=this,this.children.push(t)}else this.children.push(e)}getName(){return this.name.indexOf(":")>=0?this.name.substr(this.name.indexOf(":")+1):this.name}getNamespace(){if(this.name.indexOf(":")>=0){const e=this.name.substr(0,this.name.indexOf(":"));return this.findNamespaceForPrefix(e)}return this.findNamespaceForPrefix()}getNamespaceContext(){let e={};this.parent&&(e=this.parent.getNamespaceContext());for(const[t,n]of Object.entries(this.attributes))if(t.startsWith("xmlns:")){const r=t.substr(6);e[n]=r}return e}getDefaultNamespace(){return this.attributes.xmlns?this.attributes.xmlns:this.parent?this.parent.getDefaultNamespace():""}getNamespaceRoot(e){if(this.parent){const t=this.parent.getNamespaceRoot(e);if(t)return t}for(const[t,n]of Object.entries(this.attributes))if(t.startsWith("xmlns:")&&n===e)return this;if(this.optionalNamespaces[e])return this}getAttribute(e,t){if(!t)return this.attributes[e];const n=this.getNamespaceContext();return n[t]?this.attributes[[n[t],e].join(":")]:void 0}getChild(e,t){return this.getChildren(e,t)[0]}getChildren(e,t){const n=[];for(const r of this.children)"string"==typeof r||r.getName()!==e||t&&r.getNamespace()!==t||n.push(r);return n}getText(){let e="";for(const t of this.children)"string"==typeof t&&(e+=t);return e}appendChild(e){return this.children.push(e),"string"!=typeof e&&(e.parent=this),e}setAttribute(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.attributes[e]=t||void 0,""===t&&n&&(this.attributes[e]=t)}addOptionalNamespace(e,t){this.optionalNamespaces[t]=e}useNamespace(e,t){return this.optionalNamespaces[t]&&(e=this.optionalNamespaces[t]),this.setAttribute("xmlns:"+e,t),e}toJSON(){const e=this.children.map(e=>"string"==typeof e?e:e?e.toJSON():void 0).filter(e=>!!e),t={};for(const[e,n]of Object.entries(this.attributes))null!=n&&(t[e]=n);return{attributes:t,children:e,name:this.name}}toString(){let e=this.openTag(!0);if(this.children.length){for(const t of this.children)"string"==typeof t?e+=(0,r.escapeXMLText)(t):t&&(e+=t.toString());e+=this.closeTag()}return e}openTag(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="";t+="<"+this.name;for(const[e,n]of Object.entries(this.attributes))void 0!==n&&(t+=` ${e}="${(0,r.escapeXML)(n.toString())}"`);return e&&0===this.children.length?t+="/>":t+=">",t}closeTag(){return`</${this.name}>`}findNamespaceForPrefix(e){if(e){const t="xmlns:"+e;if(this.attributes[t])return this.attributes[t];if(this.parent)return this.parent.findNamespaceForPrefix(e)}else{if(this.attributes.xmlns)return this.attributes.xmlns;if(this.parent)return this.parent.findNamespaceForPrefix()}return""}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.basicLanguageResolver=t.escapeXMLText=t.unescapeXML=t.escapeXML=void 0;const r=(0,n(3).__importDefault)(n(48)),i={'"':""","&":"&","'":"'","<":"<",">":">"},s={"&":"&","'":"'",">":">","<":"<",""":'"'},o=/&([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);/g,a=/&|<|>|"|'/g,c=/&|<|>/g;function u(e){return i[e]}t.escapeXML=function(e){return e.replace(a,u)},t.unescapeXML=function(e){return e.replace(o,e=>function(e){if(s[e])return s[e];const t=e.startsWith("&#x"),n=parseInt(e.substring(t?3:2,e.length-1),t?16:10);if(9===n||10===n||13===n||32<=n&&n<=55295||57344<=n&&n<=65533||65536<=n&&n<=1114111)return String.fromCodePoint(n);throw r.default.restrictedXML("Prohibited entity: "+e)}(e))},t.escapeXMLText=function(e){return e.replace(c,u)},t.basicLanguageResolver=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const r=new Set(e.map(e=>e.toLowerCase()));for(let e of t.map(e=>e.toLowerCase()))if("*"!==e)for(;e.length>0;){if(r.has(e))return e;e=e.substring(0,e.lastIndexOf("-")).toLowerCase(),e.lastIndexOf("-")===e.length-2&&(e=e.substring(0,e.lastIndexOf("-")))}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextTick=void 0,t.nextTick=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];queueMicrotask(()=>e(...n))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportToSDP=t.importFromSDP=void 0;const r=(0,n(3).__importStar)(n(93));t.importFromSDP=function(e){const t=r.getMediaSections(e),n=r.getDescription(e),i={groups:[],media:[]};r.matchPrefix(n,"a=ice-lite").length>0&&(i.iceLite=!0);for(const e of r.matchPrefix(n,"a=group:")){const t=e.split(" "),n=t.shift().substr(8);i.groups.push({mids:t,semantics:n})}for(const e of t){const t=r.getKind(e),s=r.isRejected(e),o=r.parseMLine(e),a={direction:r.getDirection(e,n),kind:t,mid:r.getMid(e),protocol:o.protocol};if(s||(a.iceParameters=r.getIceParameters(e,n),a.dtlsParameters=r.getDtlsParameters(e,n),a.setup=r.matchPrefix(e,"a=setup:")[0].substr(8),i.iceLite&&(a.iceParameters.iceLite=!0)),"audio"===t||"video"===t){a.rtpParameters=r.parseRtpParameters(e),a.rtpEncodingParameters=r.parseRtpEncodingParameters(e),a.rtcpParameters=r.parseRtcpParameters(e);const t=r.parseMsid(e);a.streams=t?[t]:[]}else"application"===t&&(a.sctp=r.parseSctpDescription(e));a.candidates=r.matchPrefix(e,"a=candidate:").map(r.parseCandidate),i.media.push(a)}return i},t.exportToSDP=function(e){const t=[];t.push(r.writeSessionBoilerplate(e.sessionId,e.sessionVersion),"a=msid-semantic:WMS *\r\n"),(e.iceLite||e.media.filter(e=>e.iceParameters&&e.iceParameters.iceLite).length>0)&&t.push("a=ice-lite\r\n");for(const n of e.groups||[])t.push(`a=group:${n.semantics} ${n.mids.join(" ")}\r\n`);for(const n of e.media||[]){const e=!(n.iceParameters&&n.dtlsParameters);if("application"===n.kind&&n.sctp)t.push(r.writeSctpDescription(n,n.sctp));else if(n.rtpParameters){let i=r.writeRtpDescription(n.kind,n.rtpParameters);e&&(i=i.replace(`m=${n.kind} 9 `,`m=${n.kind} 0 `)),t.push(i),t.push(`a=${n.direction||"sendrecv"}\r\n`);for(const e of n.streams||[])t.push(`a=msid:${e.stream} ${e.track}\r\n`);if(n.rtcpParameters&&(t.push(r.writeRtcpParameters(n.rtcpParameters)),n.rtcpParameters.cname&&n.rtpEncodingParameters&&n.rtpEncodingParameters[0].rtx)){const e=n.rtpEncodingParameters[0];t.push(`a=ssrc-group:FID ${e.ssrc} ${e.rtx.ssrc}\r\n`),t.push(`a=ssrc:${e.rtx.ssrc} cname:${n.rtcpParameters.cname}\r\n`)}}if(void 0!==n.mid&&t.push(`a=mid:${n.mid}\r\n`),n.iceParameters&&t.push(r.writeIceParameters({usernameFragment:n.iceParameters.usernameFragment,password:n.iceParameters.password})),n.dtlsParameters&&n.setup&&t.push(r.writeDtlsParameters(n.dtlsParameters,n.setup)),n.candidates&&n.candidates.length)for(const e of n.candidates)t.push(`a=${r.writeCandidate(e)}\r\n`)}return t.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=void 0;const r=n(21).__importStar(n(97)),i=n(16);class s{constructor(){this._httpRetryingRequests=new Map}requestApiWithRetry(e,t,n){const r=i.retryPromise(this.requestApi.bind(this,e,t),e=>{var n,r,i;let o=!1;if(null==e?void 0:e.response){o=s.retryStatusCodes.has(e.response.status||0);const a=(null===(n=e.response.headers)||void 0===n?void 0:n["retry-after"])||(null===(i=(r=e.response).getResponseHeader)||void 0===i?void 0:i.call(r,"retry-after"));a&&((t.logger||console).debug("retry-after header found on response. setting retry delay",{retryAfter:a}),o=1e3*parseInt(a,10))}return o},n,t.logger);return this._httpRetryingRequests.set(r._id,r),r.promise.then(()=>this.cancelRetryRequest(r._id),()=>this.cancelRetryRequest(r._id)),r}requestApi(e,t){const n=t.logger||console,i=(new Date).getTime(),s=this._buildUri(t.host,e,t.version),o={"content-type":t.contentType||"application/json",...t.customHeaders||{}},a={method:t.method,url:s,data:t.data,responseType:t.responseType,timeout:t.requestTimeout||3e4,headers:o};t.noAuthHeader||(a.headers.Authorization="Bearer "+t.authToken);const c=this.handleResponse.bind(this,n,i,a);return r.default(a).then(c,c)}handleResponse(e,t,n,i){var s,o,a;let c=(new Date).getTime(),u=c-t+"ms";if(i instanceof r.AxiosError){if((null===(o=null===(s=i.config)||void 0===s?void 0:s.headers)||void 0===o?void 0:o.Authorization)&&(i.config.headers.Authorization="redacted"),"ECONNABORTED"===i.code)return e.debug("request error: "+n.url,{message:i.message,now:c,elapsed:u},{skipServer:!0}),Promise.reject(i);const t=i.response||{};let r=t.status,l=t.headers&&t.headers["inin-correlation-id"],d=t.data,p={...i,text:null===(a=t.request)||void 0===a?void 0:a.response};return e.debug("request error: "+n.url,{message:i.message,now:c,elapsed:u,status:r,correlationId:l,body:d},{skipServer:!0}),Promise.reject(p)}let l=i.status,d=i.headers["inin-correlation-id"],p=JSON.stringify(i.data);return e.debug(`response: ${n.method.toUpperCase()} ${n.url}`,{now:c,status:l,elapsed:u,correlationId:d,body:p},{skipServer:!0}),Promise.resolve(i)}stopAllRetries(){Array.from(this._httpRetryingRequests.keys()).forEach(e=>this.cancelRetryRequest(e))}cancelRetryRequest(e){const t=this._httpRetryingRequests.get(e);return t&&(t.cancel(new Error("Retry request cancelled")),this._httpRetryingRequests.delete(e)),!0}formatRequestError(e){if(this.isSuperagentNetworkError(e))return{status:e.status,method:e.method,url:e.url,crossDomain:e.crossDomain,message:e.message,name:e.name,stack:e.stack};if(this.isSuperagentResponseError(e)){const t=e.response;return{status:e.status,correlationId:t.headers["inin-correlation-id"],message:"Error making HTTP request",method:t.req.method,name:t.error.name,stack:t.error.stack}}return e}isSuperagentNetworkError(e){return e&&e.hasOwnProperty("status")&&e.hasOwnProperty("method")&&e.hasOwnProperty("url")}isSuperagentResponseError(e){return!!(e&&e.response&&e.response.body&&e.response.req)}_buildUri(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"v2";return t=t.replace(/^\/+|\/+$/g,""),0===e.indexOf("http")?`${e}/api/${n}/${t}`:`https://api.${e}/api/${n}/${t}`}}t.HttpClient=s,s.retryStatusCodes=new Set([408,413,429,500,502,503,504])},function(e,t){var n=Object.prototype.hasOwnProperty;function r(e){return"[Throws: "+(e?e.message:"?")+"]"}function i(e){var t=[];return function e(i){if(null===i||"object"!=typeof i)return i;if(-1!==t.indexOf(i))return"[Circular]";if(t.push(i),"function"==typeof i.toJSON)try{var s=e(i.toJSON());return t.pop(),s}catch(e){return r(e)}if(Array.isArray(i)){var o=i.map(e);return t.pop(),o}var a=Object.keys(i).reduce((function(t,s){return t[s]=e(function(e,t){if(n.call(e,t))try{return e[t]}catch(e){return r(e)}return e[t]}(i,s)),t}),{});return t.pop(),a}(e)}e.exports=function(e,t,n){return JSON.stringify(i(e),t,n)},e.exports.ensureProperties=i},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.a=null},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n(6);let r;const i=new Uint8Array(16);function s(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}},function(e,t,n){var r=n(8),i=n(67),s=n(15),o=n(44),a=n(73),c=n(211),u=i("wks"),l=r.Symbol,d=c?l:l&&l.withoutSetter||o;e.exports=function(e){return s(u,e)||(a&&s(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},function(e,t,n){var r=n(8),i=n(25);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(24),i=n(69),s=n(43),o=n(71),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(s(e),t=o(t,!0),s(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(s){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var a,c=2147483647,u=/^xn--/,l=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function m(e){throw new RangeError(p[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(d,".")).split("."),t).join(".")}function b(e){for(var t,n,r=[],i=0,s=e.length;i<s;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<s?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function v(e){return g(e,(function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,n){var r=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;r+=36)e=h(e/35);return h(r+36*e/(e+38))}function w(e){var t,n,r,i,s,o,a,u,l,d,p,f=[],g=e.length,y=0,b=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),f.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(s=y,o=1,a=36;i>=g&&m("invalid-input"),((u=(p=e.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||u>h((c-y)/o))&&m("overflow"),y+=u*o,!(u<(l=a<=_?1:a>=_+26?26:a-_));a+=36)o>h(c/(d=36-l))&&m("overflow"),o*=d;_=S(y-s,t=f.length+1,0==s),h(y/t)>c-b&&m("overflow"),b+=h(y/t),y%=t,f.splice(y++,0,b)}return v(f)}function T(e){var t,n,r,i,s,o,a,u,l,d,p,g,y,v,w,T=[];for(g=(e=b(e)).length,t=128,n=0,s=72,o=0;o<g;++o)(p=e[o])<128&&T.push(f(p));for(r=i=T.length,i&&T.push("-");r<g;){for(a=c,o=0;o<g;++o)(p=e[o])>=t&&p<a&&(a=p);for(a-t>h((c-n)/(y=r+1))&&m("overflow"),n+=(a-t)*y,t=a,o=0;o<g;++o)if((p=e[o])<t&&++n>c&&m("overflow"),p==t){for(u=n,l=36;!(u<(d=l<=s?1:l>=s+26?26:l-s));l+=36)w=u-d,v=36-d,T.push(f(_(d+w%v,0))),u=h(w/v);T.push(f(_(u,0))),s=S(n,y,r==i),n=0,++r}++n,++t}return T.join("")}a={version:"1.4.1",ucs2:{decode:b,encode:v},decode:w,encode:T,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+T(e):e}))},toUnicode:function(e){return y(e,(function(e){return u.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return a}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(239)(e),n(14))},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.JXTErrorCondition=void 0,function(e){e.NotWellFormed="not-well-formed",e.RestrictedXML="restricted-xml",e.AlreadyClosed="already-closed",e.UnknownRoot="unknown-stream-root"}(r=t.JXTErrorCondition||(t.JXTErrorCondition={}));class i extends Error{constructor(e){super(e.text),this.isJXTError=!0,this.condition=e.condition,this.text=e.text}static notWellFormed(e){return new i({condition:r.NotWellFormed,text:e})}static restrictedXML(e){return new i({condition:r.RestrictedXML,text:e})}static alreadyClosed(e){return new i({condition:r.AlreadyClosed,text:e})}static unknownRoot(e){return new i({condition:r.UnknownRoot,text:e})}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.childAlternateLanguageRawElement=t.childLanguageRawElement=t.childRawElement=t.staticValue=t.splicePath=t.multipleChildEnum=t.multipleChildAlternateLanguageText=t.childAlternateLanguageText=t.multipleChildIntegerAttribute=t.multipleChildAttribute=t.multipleChildText=t.childDoubleEnum=t.childEnum=t.deepMultipleChildText=t.deepChildBoolean=t.deepChildInteger=t.deepChildText=t.childBoolean=t.childTimezoneOffset=t.childJSON=t.childFloat=t.childInteger=t.childDate=t.childTextBuffer=t.childText=t.childLanguageAttribute=t.languageAttribute=t.textBuffer=t.textJSON=t.text=t.childDateAttribute=t.childFloatAttribute=t.childIntegerAttribute=t.childBooleanAttribute=t.childAttribute=t.namespacedDateAttribute=t.namespacedFloatAttribute=t.namespacedIntegerAttribute=t.namespacedBooleanAttribute=t.namespacedAttribute=t.dateAttribute=t.floatAttribute=t.integerAttribute=t.booleanAttribute=t.attribute=t.findOrCreate=t.findAll=t.getTargetLang=t.getLang=t.createElement=void 0,t.parameterMap=void 0;const r=n(3),i=n(9),s=(0,r.__importDefault)(n(30)),o=n(51);function a(e,t,n,r){if(r){e=e||r.getNamespace();const n=r.getNamespaceRoot(e);if(n){t=`${n.useNamespace("",e)}:${t}`}}const i=new s.default(t);return t.indexOf(":")<0&&(!n||e!==n)&&i.setAttribute("xmlns",e),i}function c(e,t){return(e.getAttribute("xml:lang")||t||"").toLowerCase()}function u(e,t){const n=[];for(const r of e)n.push(c(r,t.lang));let r;return r=t.resolveLanguage?t.resolveLanguage(n,t.acceptLanguages||[],t.lang):t.lang,r||""}function l(e,t,n,r){const i=e.getChildren(n,t),s=c(e);return i.length?r?i.filter(e=>{if(c(e,s)===r)return!0}):i:[]}function d(e,t,n,r){t=t||e.getNamespace();const i=l(e,t,n,r);if(i.length)return i[0];const s=a(t,n,e.getDefaultNamespace(),e),o=c(e,r);return r&&o!==r&&s.setAttribute("xml:lang",r),e.appendChild(s),s}function p(e){return{importer(t){const n=t.getAttribute(e.name,e.namespace);return n?e.parseValue(n):e.dynamicDefault?e.dynamicDefault(n):e.staticDefault},exporter(t,n){if(void 0===n||n===e.staticDefault)return;const r=e.writeValue(n);if(r||e.emitEmpty)if(e.namespace&&e.prefix){let n;const i=t.getNamespaceRoot(e.namespace);if(i)n=i.useNamespace(e.prefix,e.namespace);else{const r=t.getNamespaceContext();r[e.namespace]||(n=t.useNamespace(e.prefix,e.namespace),r[e.namespace]=n)}t.setAttribute(`${n}:${e.name}`,r,e.emitEmpty)}else t.setAttribute(e.name,r,e.emitEmpty)}}}function h(e,t){return function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i={staticDefault:r,...i},p({name:n,...e,...t?t(i):i})}}function f(e,t){return function(n,r,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return o={staticDefault:s,...o},p({name:i,namespace:r,prefix:n,...e,...t?t(o):o})}}function m(e){const t=e.converter||p({...e,namespace:e.attributeNamespace});return{importer(n,r){const i=n.getChild(e.element,e.namespace||n.getNamespace());return i?t.importer(i,r):e.dynamicDefault?e.dynamicDefault():e.staticDefault},exporter(n,r,i){if(void 0!==r&&r!==e.staticDefault){const s=d(n,e.namespace||n.getNamespace(),e.element);t.exporter(s,r,i)}}}}function g(e,t){return function(n,r,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return o={staticDefault:s,...o},m({element:r,name:i,namespace:n,...e,...t?t(o):o})}}function y(e){return{importer(t){const n=t.getText();return n?e.parseValue(n):e.dynamicDefault?e.dynamicDefault(n):e.staticDefault},exporter(t,n){if(!n&&e.emitEmpty)return void t.children.push("");if(void 0===n||n===e.staticDefault)return;const r=e.writeValue(n);r&&t.children.push(r)}}}function b(e){const t=y(e);return{importer(n,r){const i=l(n,e.namespace||n.getNamespace(),e.element),s=u(i,r);if(!i.length)return e.dynamicDefault?e.dynamicDefault():e.staticDefault;if(e.matchLanguage)for(const e of i)if(c(e,r.lang)===s)return t.importer(e,r);return t.importer(i[0],r)},exporter(n,r,i){if(r||!e.emitEmpty){if(void 0!==r&&r!==e.staticDefault){const s=d(n,e.namespace||n.getNamespace(),e.element,e.matchLanguage?i.lang:void 0);t.exporter(s,r,i)}}else d(n,e.namespace||n.getNamespace(),e.element,e.matchLanguage?i.lang:void 0)}}}t.createElement=a,t.getLang=c,t.getTargetLang=u,t.findAll=l,t.findOrCreate=d;const v={parseValue:e=>e,writeValue:e=>e},_={parseValue:e=>parseInt(e,10),writeValue:e=>e.toString()},S={parseValue:e=>parseFloat(e),writeValue:e=>e.toString()},w={parseValue:e=>"true"===e||"1"===e||"false"!==e&&"0"!==e&&void 0,writeValue:e=>e?"1":"0"},T={parseValue:e=>new Date(e),writeValue:e=>"string"==typeof e?e:e.toISOString()},I={parseValue:e=>JSON.parse(e),writeValue:e=>JSON.stringify(e)},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"utf8";return{parseValue:t=>("base64"===e&&"="===t&&(t=""),i.Buffer.from(t.trim(),e)),writeValue:t=>{let n;return n="string"==typeof t?i.Buffer.from(t).toString(e):t?t.toString(e):"","base64"===e&&(n=n||"="),n}}},N={parseValue:e=>{let t=-1;"-"===e.charAt(0)&&(t=1,e=e.slice(1));const n=e.split(":");return(60*parseInt(n[0],10)+parseInt(n[1],10))*t},writeValue:e=>{if("string"==typeof e)return e;{let t="-";e<0&&(e=-e,t="+");const n=e/60,r=e%60;return t+=(n<10?"0":"")+n+":"+(r<10?"0":"")+r,t}}};t.attribute=h(v,e=>({dynamicDefault:e.emitEmpty?t=>""===t?"":e.staticDefault:void 0,...e})),t.booleanAttribute=h(w),t.integerAttribute=h(_),t.floatAttribute=h(S),t.dateAttribute=h(T),t.namespacedAttribute=f(v),t.namespacedBooleanAttribute=f(w),t.namespacedIntegerAttribute=f(_),t.namespacedFloatAttribute=f(S),t.namespacedDateAttribute=f(T),t.childAttribute=g(v),t.childBooleanAttribute=g(w),t.childIntegerAttribute=g(_),t.childFloatAttribute=g(S),t.childDateAttribute=g(T);t.text=e=>y({staticDefault:e,...v});t.textJSON=()=>y({...I});function E(){return{importer:(e,t)=>c(e,t.lang),exporter(e,t,n){t&&t.toLowerCase()!==n.lang?e.setAttribute("xml:lang",t):e.setAttribute("xml:lang",void 0)}}}t.textBuffer=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"utf8";return y({...A(e)})},t.languageAttribute=E;t.childLanguageAttribute=(e,t)=>m({converter:E(),element:t,name:"xml:lang",namespace:e,...v});t.childText=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return b({element:t,emitEmpty:r,matchLanguage:!0,namespace:e,staticDefault:n,...v})};t.childTextBuffer=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";return b({element:t,matchLanguage:!0,namespace:e,...A(n)})};t.childDate=(e,t)=>b({element:t,namespace:e,...T});t.childInteger=(e,t,n)=>b({element:t,namespace:e,staticDefault:n,..._});t.childFloat=(e,t,n)=>b({element:t,namespace:e,staticDefault:n,...S});t.childJSON=(e,t)=>b({element:t,namespace:e,...I}),t.childTimezoneOffset=function(e,t){return b({element:t,namespace:e,staticDefault:0,...N})},t.childBoolean=function(e,t){return{importer(n){if(n.getChild(t,e||n.getNamespace()))return!0},exporter(n,r){r&&d(n,e||n.getNamespace(),t)}}};const x=(e,t,n)=>{if(!n)return;let r=t;for(const t of e)r=d(r,t.namespace||r.getNamespace(),t.element);r.children.push(n.toString())};t.deepChildText=function(e,t){return{importer(n){let r=n;for(const n of e)if(r=r.getChild(n.element,n.namespace||r.getNamespace()),!r)return t;return r.getText()||t},exporter(t,n){x(e,t,n)}}},t.deepChildInteger=function(e,t){return{importer(n){let r=n;for(const t of e)if(r=r.getChild(t.element,t.namespace||r.getNamespace()),!r)return;const i=r.getText();return i?parseInt(i,10):t||void 0},exporter(t,n){x(e,t,n)}}},t.deepChildBoolean=function(e){return{importer(t){let n=t;for(const t of e)if(n=n.getChild(t.element,t.namespace||n.getNamespace()),!n)return!1;return!0},exporter(t,n){if(!n)return;let r=t;for(const t of e)r=d(r,t.namespace||r.getNamespace(),t.element)}}},t.deepMultipleChildText=function(e){const t=e.pop();return{importer(n,r){let i=n;for(const t of e)if(i=i.getChild(t.element,t.namespace||i.getNamespace()),!i)return[];const s=[],o=l(i,t.namespace||i.getNamespace(),t.element),a=u(o,r);for(const e of o)c(e,r.lang)===a&&s.push(e.getText());return s},exporter(n,r,i){if(!r.length)return;let s=n;for(const t of e)s=d(s,t.namespace||s.getNamespace(),t.element);const{namespace:o,element:c}=t;for(const e of r){const t=a(o||s.getNamespace(),c,i.namespace,s);t.children.push(e),s.appendChild(t)}}}},t.childEnum=function(e,t,n){const r=new Map,i=new Map;for(const e of t)"string"==typeof e?(r.set(e,e),i.set(e,e)):(r.set(e[1],e[0]),i.set(e[0],e[1]));return{importer(t){for(const n of t.children)if("string"!=typeof n&&n.getNamespace()===(e||t.getNamespace())&&r.has(n.getName()))return r.get(n.getName());return n},exporter(t,n){i.has(n)&&d(t,e,i.get(n))}}},t.childDoubleEnum=function(e,t,n,r){const i=new Set(t),s=new Set(n);return{importer(t){for(const n of t.children)if("string"!=typeof n&&n.getNamespace()===(e||t.getNamespace())&&i.has(n.getName())){for(const r of n.children)if("string"!=typeof r&&r.getNamespace()===(e||t.getNamespace())&&s.has(r.getName()))return[n.getName(),r.getName()];return[n.getName()]}return r},exporter(t,n){const r=d(t,e,n[0]);n[1]&&d(r,e,n[1])}}},t.multipleChildText=function(e,t){return{importer(n,r){const i=[],s=l(n,e||n.getNamespace(),t),o=u(s,r);for(const e of s)c(e,r.lang)===o&&i.push(e.getText());return i},exporter(n,r,i){for(const s of r){const r=a(e||n.getNamespace(),t,i.namespace,n);r.children.push(s),n.appendChild(r)}}}},t.multipleChildAttribute=function(e,t,n){return{importer(r){const i=[],s=r.getChildren(t,e||r.getNamespace());for(const e of s){const t=e.getAttribute(n);void 0!==t&&i.push(t)}return i},exporter(r,i,s){for(const o of i){const i=a(e||r.getNamespace(),t,s.namespace,r);i.setAttribute(n,o),r.appendChild(i)}}}},t.multipleChildIntegerAttribute=function(e,t,n){return{importer(r){const i=[],s=r.getChildren(t,e||r.getNamespace());for(const e of s){const t=e.getAttribute(n);void 0!==t&&i.push(parseInt(t,10))}return i},exporter(r,i,s){for(const o of i){const i=a(e||r.getNamespace(),t,s.namespace,r);i.setAttribute(n,o.toString()),r.appendChild(i)}}}},t.childAlternateLanguageText=function(e,t){return{importer(n,r){const i=[],s=l(n,e||n.getNamespace(),t),o=new Set;for(const e of s){const t=e.getText();if(t){const n=c(e,r.lang);if(o.has(n))continue;i.push({lang:n,value:t}),o.add(n)}}return o.size>0?i:void 0},exporter(n,r,i){for(const s of r){const r=s.value;if(r){const o=a(e||n.getNamespace(),t,i.namespace,n);s.lang!==i.lang&&o.setAttribute("xml:lang",s.lang),o.children.push(r),n.appendChild(o)}}}}},t.multipleChildAlternateLanguageText=function(e,t){return{importer(n,r){const i=[],s=new Map;let o=!1;const a=l(n,e||n.getNamespace(),t);for(const e of a){const t=e.getText();if(t){const n=c(e,r.lang);let a=s.get(n);a||(a=[],s.set(n,a),i.push({lang:n,value:a})),a.push(t),o=!0}}return o?i:void 0},exporter(n,r,i){for(const s of r)for(const r of s.value){const o=a(e||n.getNamespace(),t,i.namespace,n);s.lang!==i.lang&&o.setAttribute("xml:lang",s.lang),o.children.push(r),n.appendChild(o)}}}},t.multipleChildEnum=function(e,t){const n=new Map,r=new Map;for(const e of t)"string"==typeof e?(n.set(e,e),r.set(e,e)):(n.set(e[1],e[0]),r.set(e[0],e[1]));return{importer(t){const r=[];for(const i of t.children)"string"!=typeof i&&i.getNamespace()===(e||t.getNamespace())&&n.has(i.getName())&&r.push(n.get(i.getName()));return r},exporter(t,n){for(const i of n)d(t,e,r.get(i))}}},t.splicePath=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{importer(i,s){const o=i.getChild(t,e||i.getNamespace());if(!o)return;const a=[];for(const e of o.children)if("string"!=typeof e&&s.registry.getImportKey(e)===n){const t=s.registry.import(e);t&&a.push(t)}return r?a:a[0]},exporter(r,i,s){let o=[];o=Array.isArray(i)?i:[i];const a=[];for(const t of o){const i=s.registry.export(n,t,{...s,namespace:e||r.getNamespace()||void 0});i&&a.push(i)}if(a.length){const n=d(r,e||r.getNamespace(),t);for(const e of a)n.appendChild(e)}}}},t.staticValue=function(e){return{exporter:()=>{},importer:()=>e}},t.childRawElement=function(e,t,n){return{importer(r,i){if(n&&(!i.sanitizers||!i.sanitizers[n]))return;const s=r.getChild(t,e||r.getNamespace());return s?n?i.sanitizers[n](s.toJSON()):s.toJSON():void 0},exporter(r,i,a){if("string"==typeof i){i=(0,o.parse)(`<${t} xmlns="${e||r.getNamespace()}">${i}</${t}>`).toJSON()}if(n){if(!a.sanitizers||!a.sanitizers[n])return;i=a.sanitizers[n](i)}i&&r.appendChild(new s.default(i.name,i.attributes,i.children))}}},t.childLanguageRawElement=function(e,t,n){return{importer(r,i){if(n&&(!i.sanitizers||!i.sanitizers[n]))return;const s=l(r,e||r.getNamespace(),t),o=u(s,i);for(const e of s)if(c(e,i.lang)===o)return n?i.sanitizers[n](e.toJSON()):e.toJSON();return s[0]?n?i.sanitizers[n](s[0].toJSON()):s[0].toJSON():void 0},exporter(r,i,a){if("string"==typeof i){i=(0,o.parse)(`<${t} xmlns="${e||r.getNamespace()}">${i}</${t}>`).toJSON()}if(i&&n){if(!a.sanitizers||!a.sanitizers[n])return;i=a.sanitizers[n](i)}if(!i)return;const c=d(r,e||r.getNamespace(),t,a.lang);for(const e of i.children)"string"==typeof e?c.appendChild(e):e&&c.appendChild(new s.default(e.name,e.attributes,e.children))}}},t.childAlternateLanguageRawElement=function(e,t,n){return{importer(r,i){if(n&&(!i.sanitizers||!i.sanitizers[n]))return;const s=[],o=new Set,a=l(r,e||r.getNamespace(),t);for(const e of a){let t=e.toJSON();if(n&&(t=i.sanitizers[n](t)),t){const n=c(e,i.lang);if(o.has(n))continue;s.push({lang:n,value:t}),o.add(n)}}return o.size>0?s:void 0},exporter(r,i,c){for(const u of i){let i=u.value;if("string"==typeof i){i=(0,o.parse)(`<${t} xmlns="${e||r.getNamespace()}">${i}</${t}>`).toJSON()}if(i&&n){if(!c.sanitizers||!c.sanitizers[n])continue;i=c.sanitizers[n](i)}if(i){const n=a(e||r.getNamespace(),t,c.namespace,r);r.appendChild(n),u.lang!==c.lang&&n.setAttribute("xml:lang",u.lang);for(const e of i.children)"string"==typeof e?n.appendChild(e):n.appendChild(new s.default(e.name,e.attributes,e.children))}}}}},t.parameterMap=function(e,n,r,i){return{importer(s,o){const a={},c=l(s,e,n),u=(0,t.attribute)(r).importer,d=(0,t.attribute)(i).importer;for(const e of c)a[u(e,o)]=d(e,o);return a},exporter(s,o,c){const u=(0,t.attribute)(r).exporter,l=(0,t.attribute)(i).exporter,d=e||s.getNamespace();for(const[e,t]of Object.entries(o)){const r=a(d,n,c.namespace,s);u(r,e,c),o[e]&&l(r,t,c),s.appendChild(r)}}}}},function(e,t,n){"use strict";t.Readable=n(87),t.Writable=n(89),t.Duplex=n(22),t.Transform=n(91),t.PassThrough=n(252)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;const r=n(3),i=n(7),s=n(31),o=(0,r.__importDefault)(n(30)),a=(0,r.__importDefault)(n(48));function c(e){return 97<=e&&e<=122||65<=e&&e<=90||58===e||95===e}function u(e){return 192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=767||880<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||65008<=e&&e<=65533||65536<=e&&e<=983039}function l(e){return c(e)||u(e)}function d(e){return c(e)||45===e||46===e||48<=e&&e<=57||183===e||768<=e&&e<=879||8255<=e&&e<=8256||u(e)}function p(e){return 32===e||10===e||13===e||9===e}class h extends i.EventEmitter{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.allowComments=!0,this.attributes={},this.state=34,this.tagName="",this.haveDeclaration=!1,this.recordBuffer=[],void 0!==e.allowComments&&(this.allowComments=e.allowComments)}write(e){for(const t of e){const e=t.codePointAt(0);switch(this.state){case 34:if(60===e){let e;try{e=(0,s.unescapeXML)(this.endRecord())}catch(e){return void this.emit("error",e)}e&&this.emit("text",e),this.transition(31);continue}this.record(t);continue;case 31:if(47===e){this.transition(7);continue}if(33===e){this.transition(24);continue}if(63===e){if(this.haveDeclaration)return this.restrictedXML();this.transition(25);continue}if(l(e)){this.transition(30),this.startRecord(t);continue}return this.notWellFormed();case 30:if(d(e)){this.record(t);continue}if(p(e)){this.startTag(),this.transition(32);continue}if(47===e){this.startTag(),this.transition(29);continue}if(62===e){this.startTag(),this.transition(34),this.emit("startElement",this.tagName,this.attributes);continue}return this.notWellFormed();case 29:if(62===e){this.emit("startElement",this.tagName,this.attributes),this.emit("endElement",this.tagName),this.transition(34);continue}return this.notWellFormed();case 33:if(p(e)){this.transition(32);continue}if(47===e){this.transition(29);continue}if(62===e){this.emit("startElement",this.tagName,this.attributes),this.transition(34);continue}return this.notWellFormed();case 32:if(p(e))continue;if(l(e)){this.startRecord(t),this.transition(0);continue}if(47===e){this.transition(29);continue}if(62===e){this.emit("startElement",this.tagName,this.attributes),this.transition(34);continue}return this.notWellFormed();case 7:if(l(e)){this.startRecord(t),this.transition(6);continue}return this.notWellFormed();case 6:if(d(e)){this.record(t);continue}if(p(e)){this.transition(8);continue}if(62===e){const e=this.endRecord();this.emit("endElement",e,this.attributes),this.transition(34);continue}return this.notWellFormed();case 8:if(p(e))continue;if(62===e){const e=this.endRecord();this.emit("endElement",e,this.attributes),this.transition(34);continue}return this.notWellFormed();case 0:if(d(e)){this.record(t);continue}if(61===e){this.addAttribute(),this.transition(4);continue}if(p(e)){this.addAttribute(),this.transition(3);continue}return this.notWellFormed();case 3:if(61===e){this.transition(4);continue}if(p(e))continue;return this.notWellFormed();case 4:if(34===e){this.startRecord(),this.transition(1);continue}if(39===e){this.startRecord(),this.transition(2);continue}if(p(e))continue;return this.notWellFormed();case 1:case 2:if(34===e&&1===this.state||39===e&&2===this.state){const e=this.endRecord();this.attributes[this.attributeName]=(0,s.unescapeXML)(e),this.transition(33);continue}if(60===e)return this.notWellFormed();this.record(t);continue;case 24:if(45===e){if(!this.allowComments)return this.restrictedXML();this.transition(23);continue}if(91===e){this.transition(21);continue}return this.notWellFormed();case 23:if(45===e){this.transition(14);continue}return this.notWellFormed();case 14:45===e&&this.transition(12);continue;case 12:45===e?this.transition(11):this.transition(14);continue;case 11:62===e?this.transition(34):this.transition(14);continue;case 25:if(88===e||120===e){this.transition(28);continue}return this.notWellFormed();case 28:if(77===e||109===e){this.transition(27);continue}return this.notWellFormed();case 27:if(76===e||108===e){this.transition(26);continue}return this.notWellFormed();case 26:if(p(e)){this.haveDeclaration=!0,this.transition(15);continue}return this.notWellFormed();case 13:if(62===e){this.transition(34);continue}return this.notWellFormed();case 15:63===e&&this.transition(13);continue;case 21:this.wait(e,67,20);continue;case 20:this.wait(e,68,19);continue;case 19:this.wait(e,65,18);continue;case 18:this.wait(e,84,17);continue;case 17:this.wait(e,65,16);continue;case 16:this.wait(e,91,5);continue;case 5:if(93===e){this.transition(10);continue}this.record(t);continue;case 10:93===e?this.transition(9):(this.record(String.fromCodePoint(93)),this.record(t),this.transition(5));continue;case 9:if(62===e){const e=this.endRecord();e&&this.emit("text",e),this.transition(34)}else this.record(String.fromCodePoint(93)),this.record(String.fromCodePoint(93)),this.record(t),this.transition(5);continue}}}end(e){e&&this.write(e),this.write=()=>{}}record(e){this.recordBuffer.push(e)}startRecord(e){this.recordBuffer=[],e&&this.recordBuffer.push(e)}endRecord(){const e=this.recordBuffer;return this.recordBuffer=[],e.join("")}startTag(){this.tagName=this.endRecord(),this.attributes={}}addAttribute(){const e=this.endRecord();if(void 0!==this.attributes[e])return this.notWellFormed();this.attributeName=e,this.attributes[e]=""}wait(e,t,n){if(e!==t)return this.notWellFormed();this.transition(n)}transition(e){this.state=e,34===e&&this.startRecord()}notWellFormed(e){this.emit("error",a.default.notWellFormed(e))}restrictedXML(e){this.emit("error",a.default.restrictedXML(e))}}t.parse=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new h(t);let r,i,s=null;if(n.on("text",e=>{i&&i.children.push(e)}),n.on("startElement",(e,t)=>{const n=new o.default(e,t);r||(r=n),i=i?i.appendChild(n):n}),n.on("endElement",e=>{i?e===i.name?i.parent&&(i=i.parent):n.emit("error",a.default.notWellFormed("b")):n.emit("error",a.default.notWellFormed("a"))}),n.on("error",e=>{s=e}),n.write(e),n.end(),s)throw s;return r},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StanzaMediaSession=void 0;const r=n(21),i=r.__importDefault(n(7)),s=n(53),o=n(5),a=r.__importDefault(n(96)),c=n(28),u={"Discovered new ICE candidate":{skipMessage:!0}};class l extends s.MediaSession{constructor(e){super(e.options),this.iceCandidatesDiscovered=0,this.iceCandidatesReceivedFromPeer=0,this.reinvite=!1,this.logger=e.logger,this.conversationId=e.conversationId,this.peerConnection=this.pc,this.fromUserId=e.fromUserId,this.meetingId=e.meetingId,this.id=this.sid,this.originalRoomJid=e.originalRoomJid,this.sessionType=c.SessionTypes[e.sessionType],this.ignoreHostCandidatesFromRemote=!!e.ignoreHostCandidatesFromRemote,this.allowIPv6=!!e.allowIPv6,this.allowTCP=!!e.allowTCP;const t=new i.default;Object.keys(t.__proto__).forEach(e=>{this[e]=t[e]}),e.optOutOfWebrtcStatsTelemetry||this.setupStatsGatherer(),this.pc.addEventListener("connectionstatechange",this.onConnectionStateChange.bind(this)),this.pc.addEventListener("icecandidateerror",this.onIceCandidateError.bind(this))}getLogDetails(){return{conversationId:this.conversationId,sessionId:this.id,sessionType:this.sessionType}}async onTransportInfo(e,t){var n,r;const i=null===(n=e.contents)||void 0===n?void 0:n[0].transport,s=null==i?void 0:i.candidates;if(this.ignoreHostCandidatesFromRemote){const e=null==s?void 0:s.filter(e=>"host"!==e.type);(null==e?void 0:e.length)!==(null===(r=null==i?void 0:i.candidates)||void 0===r?void 0:r.length)&&(this._log("info","Ignoring remote host ice candidates"),i.candidates=e)}if(s)for(const e of s)this._log("info","Received candidate from peer",{candidateType:e.type}),this.iceCandidatesReceivedFromPeer++;return super.onTransportInfo(e,t)}_log(e,t){const n=u[t];if(null==n?void 0:n.skipMessage)return;let r;for(var i=arguments.length,s=new Array(i>2?i-2:0),o=2;o<i;o++)s[o-2]=arguments[o];if(s.length){const e=s[0];"object"!=typeof e||Array.isArray(e)||null===e?r={...this.getLogDetails(),data:e}:(Object.assign(s[0],this.getLogDetails()),r=s)}else r=[...s,this.getLogDetails()];this.logger[e](t,r)}async end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.state="ended",this.processingQueue.kill(),"string"==typeof e&&(e={condition:e}),t||this.send("session-terminate",{reason:e}),setTimeout(()=>{"connected"!==this.pc.connectionState&&"connecting"!==this.pc.connectionState||this.pc.close()},2e3),this.parent.emit("terminated",this,e),this.parent.forgetSession(this)}setupStatsGatherer(){this.statsGatherer=new a.default(this.pc),this.statsGatherer.on("stats",this.emit.bind(this,"stats"))}onIceStateChange(){const e=this.pc.iceConnectionState,t=this.id,n=this.conversationId,r=this.sessionType;this._log("info","ICE state changed: ",{iceState:e,sessionId:t,conversationId:n}),"disconnected"===e?"stable"===this.pc.signalingState&&(this.interruptionStart=new Date,this._log("info","Connection state is interrupted",{sessionId:t,conversationId:n,sessionType:r})):"connected"===e?(this._log("info","sending session-info: active"),this.send(o.JingleAction.SessionInfo,{info:{infoType:o.JINGLE_INFO_ACTIVE}}),this._setupDataChannel()):"failed"===e&&this._log("info","ICE connection failed",{candidatesDiscovered:this.iceCandidatesDiscovered,candidatesReceivedFromPeer:this.iceCandidatesReceivedFromPeer}),super.onIceStateChange()}onConnectionStateChange(){const e=this.pc.connectionState,t=this.id,n=this.conversationId,r=this.sessionType;if(this._log("info","Connection state changed: ",{connectionState:e,sessionId:t,conversationId:n,sessionType:r}),this.interruptionStart)if("connected"===e){const e=(new Date).getTime()-this.interruptionStart.getTime();this._log("info","Connection was interrupted but was successfully recovered/connected",{sessionId:t,conversationId:n,sessionType:r,timeToRecover:e}),this.interruptionStart=void 0}else"failed"===e&&this._log("info","Connection was interrupted and failed to recover",{sessionId:t,conversationId:n,sessionType:r})}onIceCandidateError(e){const t=e;this._log("error","IceCandidateError",{errorCode:t.errorCode,errorText:t.errorText,url:t.url}),console.error("IceCandidateError",t)}onIceCandidate(e){if(e.candidate){if(!this.allowTCP&&"tcp"===e.candidate.protocol)return;if(!this.allowIPv6){const t=/.+udp [^ ]+ ([^ ]+).*typ host/.exec(e.candidate.candidate),n=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/;if(t&&!t[1].match(n))return void this._log("debug","Filtering out IPv6 candidate",e.candidate.candidate)}this._log("debug","Processing ice candidate",e.candidate.candidate),this._log("info","Discovered ice candidate to send to peer",{type:e.candidate.type}),this.iceCandidatesDiscovered++}return super.onIceCandidate(e)}onIceEndOfCandidates(){super.onIceEndOfCandidates(),this.emit("endOfCandidates")}addTrack(e,t){return"audio"===e.kind&&(this.includesAudio=!0),"video"===e.kind&&(this.includesVideo=!0),this.processLocal("addtrack",async()=>{const n=this.pc.getTransceivers().find(t=>{var n;return!t.sender.track&&(null===(n=t.receiver.track)||void 0===n?void 0:n.kind)===e.kind});if(n)return n.sender.replaceTrack(e);this.pc.addTrack(e,t)})}_setupDataChannel(){var e;this.dataChannel||(null===(e=this.pc.localDescription)||void 0===e?void 0:e.sdp.includes("webrtc-datachannel"))&&(this._log("info","creating data channel"),this.dataChannel=this.pc.createDataChannel("videoConferenceControl"),this.dataChannel.addEventListener("open",()=>{this._log("info","data channel opened")}),this.dataChannel.addEventListener("message",this._handleDataChannelMessage.bind(this)),this.dataChannel.addEventListener("close",()=>{this._log("info","closing data channel")}),this.dataChannel.addEventListener("error",e=>{this._log("error","Error occurred with the data channel",e)}))}_handleDataChannelMessage(e){try{const t=JSON.parse(e.data);this.emit("dataChannelMessage",t)}catch(e){this._log("error","Failed to parse data channel message",{error:e})}}}t.StanzaMediaSession=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionManager=t.FileSession=t.MediaSession=t.ICESession=t.Session=t.exportToSDP=t.importFromSDP=void 0;const r=n(3),i=(0,r.__importDefault)(n(92));t.FileSession=i.default;const s=(0,r.__importDefault)(n(54));t.ICESession=s.default;const o=(0,r.__importDefault)(n(95));t.MediaSession=o.default;const a=(0,r.__importDefault)(n(56));t.Session=a.default;const c=(0,r.__importDefault)(n(281));t.SessionManager=c.default;var u=n(33);Object.defineProperty(t,"importFromSDP",{enumerable:!0,get:function(){return u.importFromSDP}}),Object.defineProperty(t,"exportToSDP",{enumerable:!0,get:function(){return u.exportToSDP}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=(0,r.__importStar)(n(93)),s=n(5),o=n(1),a=n(33),c=n(55),u=(0,r.__importDefault)(n(56));class l extends u.default{constructor(e){super(e),this.bitrateLimit=0,this.candidateBuffer=[],this.transportType=o.NS_JINGLE_ICE_UDP_1,this.restartingIce=!1,this.usingRelay=!1,this.maxRelayBandwidth=e.maxRelayBandwidth,this.pc=this.parent.createPeerConnection(this,{...e.config,iceServers:e.iceServers}),this.pc.oniceconnectionstatechange=()=>{this.onIceStateChange()},this.pc.onicecandidate=e=>{e.candidate?this.onIceCandidate(e):this.onIceEndOfCandidates()},this.restrictRelayBandwidth()}end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.pc.close(),super.end(e,t)}async restartIce(){if(this.isInitiator){void 0!==this._maybeRestartingIce&&clearTimeout(this._maybeRestartingIce),this.restartingIce=!0;try{await this.processLocal("restart-ice",async()=>{const e=await this.pc.createOffer({iceRestart:!0}),t=(0,a.importFromSDP)(e.sdp);this.send(s.JingleAction.TransportInfo,{contents:t.media.map(e=>({creator:s.JingleSessionRole.Initiator,name:e.mid,transport:(0,c.convertIntermediateToTransport)(e,this.transportType)})),sid:this.sid}),await this.pc.setLocalDescription(e)})}catch(e){this._log("error","Could not create WebRTC offer",e),this.end(s.JingleReasonCondition.FailedTransport,!0)}}}async setMaximumBitrate(e){this.maximumBitrate&&(e=Math.min(e,this.maximumBitrate)),this.currentBitrate=e;const t=this.pc.getSenders().find(e=>!!e.track&&"video"===e.track.kind);if(t&&t.getParameters)try{await this.processLocal("set-bitrate",async()=>{const n=t.getParameters();n.encodings&&n.encodings.length||(n.encodings=[{}]),0===e?delete n.encodings[0].maxBitrate:n.encodings[0].maxBitrate=e,await t.setParameters(n)})}catch(e){this._log("error","Set maximumBitrate failed",e)}}async onTransportInfo(e,t){if(e.contents&&e.contents[0]&&e.contents[0].transport.gatheringComplete){const n={sdpMid:e.contents[0].name,candidate:""};try{"stable"===this.pc.signalingState?await this.pc.addIceCandidate(n):this.candidateBuffer.push(n)}catch(e){this._log("debug","Could not add null end-of-candidate")}finally{t()}return}if(this.pc.remoteDescription){const n=this.pc.remoteDescription,r=(0,a.importFromSDP)(n.sdp),i=r.media.find(t=>t.mid===e.contents[0].name).iceParameters.usernameFragment,o=e.contents[0].transport.usernameFragment;if(o&&i!==o){for(const[t,n]of e.contents.entries()){const e=n.transport;r.media[t].iceParameters={password:e.password,usernameFragment:e.usernameFragment},r.media[t].candidates=[]}try{if(await this.pc.setRemoteDescription({type:n.type,sdp:(0,a.exportToSDP)(r)}),await this.processBufferedCandidates(),"offer"===n.type){const e=await this.pc.createAnswer();await this.pc.setLocalDescription(e);const t=(0,a.importFromSDP)(e.sdp);this.send(s.JingleAction.TransportInfo,{contents:t.media.map(e=>({creator:s.JingleSessionRole.Initiator,name:e.mid,transport:(0,c.convertIntermediateToTransport)(e,this.transportType)})),sid:this.sid})}else this.restartingIce=!1}catch(e){return this._log("error","Could not do remote ICE restart",e),t(e),void this.end(s.JingleReasonCondition.FailedTransport)}}}const n=(e.contents||[]).map(e=>{const t=e.name,n=(e.transport.candidates||[]).map(async e=>{const n=i.writeCandidate((0,c.convertCandidateToIntermediate)(e));if(this.pc.remoteDescription&&"stable"===this.pc.signalingState)try{await this.pc.addIceCandidate({sdpMid:t,candidate:n})}catch(e){this._log("error","Could not add ICE candidate",e)}else this.candidateBuffer.push({sdpMid:t,candidate:n})});return Promise.all(n)});try{await Promise.all(n),t()}catch(e){this._log("error","Could not process transport-info: "+e),t(e)}}async onSessionAccept(e,t){this.state="active";const n=(0,c.convertRequestToIntermediate)(e,this.peerRole),r=(0,a.exportToSDP)(n);try{await this.pc.setRemoteDescription({type:"answer",sdp:r}),await this.processBufferedCandidates(),this.parent.emit("accepted",this,void 0),t()}catch(e){this._log("error","Could not process WebRTC answer: "+e),t({condition:"general-error"})}}onSessionTerminate(e,t){this._log("info","Terminating session"),this.pc.close(),super.end(e.reason,!0),t()}onIceCandidate(e){if(!e.candidate||!e.candidate.candidate)return;const t=i.parseCandidate(e.candidate.candidate),n={contents:[{creator:s.JingleSessionRole.Initiator,name:e.candidate.sdpMid,transport:{candidates:[(0,c.convertIntermediateToCandidate)(t)],transportType:this.transportType,usernameFragment:t.usernameFragment}}]};this._log("info","Discovered new ICE candidate",n),this.send(s.JingleAction.TransportInfo,n)}onIceEndOfCandidates(){this._log("info","ICE end of candidates");const e=(0,a.importFromSDP)(this.pc.localDescription.sdp).media[0];this.send(s.JingleAction.TransportInfo,{contents:[{creator:s.JingleSessionRole.Initiator,name:e.mid,transport:{gatheringComplete:!0,transportType:this.transportType,usernameFragment:e.iceParameters.usernameFragment}}]})}onIceStateChange(){switch(this.pc.iceConnectionState){case"checking":this.connectionState="connecting";break;case"completed":case"connected":this.connectionState="connected";break;case"disconnected":if("stable"===this.pc.signalingState?this.connectionState="interrupted":this.connectionState="disconnected",this.restartingIce)return void this.end(s.JingleReasonCondition.FailedTransport);this.maybeRestartIce();break;case"failed":if("failed"===this.connectionState||this.restartingIce)return void this.end(s.JingleReasonCondition.FailedTransport);this.connectionState="failed",this.restartIce();break;case"closed":this.connectionState="disconnected",this.restartingIce?this.end(s.JingleReasonCondition.FailedTransport):this.end()}}async processBufferedCandidates(){for(const e of this.candidateBuffer)try{await this.pc.addIceCandidate(e)}catch(e){this._log("error","Could not add ICE candidate",e)}this.candidateBuffer=[]}restrictRelayBandwidth(){this.pc.addEventListener("iceconnectionstatechange",async()=>{if("completed"!==this.pc.iceConnectionState&&"connected"!==this.pc.iceConnectionState)return;const e=await this.pc.getStats();let t;if(e.forEach(n=>{"transport"===n.type&&(t=e.get(n.selectedCandidatePairId))}),t||e.forEach(e=>{"candidate-pair"===e.type&&e.selected&&(t=e)}),!t)return;let n=!1,r="",i="";if(t.remoteCandidateId){const n=e.get(t.remoteCandidateId);n&&(i=n.candidateType)}if(t.localCandidateId){const n=e.get(t.localCandidateId);n&&(r=n.candidateType)}"relay"!==r&&"relay"!==i||(n=!0),this.usingRelay=n,this.parent.emit("iceConnectionType",this,{localCandidateType:r,relayed:n,remoteCandidateType:i}),n&&void 0!==this.maxRelayBandwidth&&(this.maximumBitrate=this.maxRelayBandwidth,this.currentBitrate?this.setMaximumBitrate(Math.min(this.currentBitrate,this.maximumBitrate)):this.setMaximumBitrate(this.maximumBitrate))})}maybeRestartIce(){this.isInitiator&&(void 0!==this._maybeRestartingIce&&clearTimeout(this._maybeRestartingIce),this._maybeRestartingIce=setTimeout(()=>{this._maybeRestartingIce=void 0,"disconnected"===this.pc.iceConnectionState&&this.restartIce()},2e3))}}t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertRequestToIntermediate=t.convertContentToIntermediate=t.convertIntermediateToRequest=t.convertIntermediateToTransport=t.convertCandidateToIntermediate=t.convertIntermediateToCandidate=t.convertIntermediateToApplication=void 0;const r=n(5),i=n(1);function s(e,t){const n=e.rtpParameters,s=e.rtcpParameters||{},o=e.rtpEncodingParameters||[];let a=!1;o&&o.length&&(a=!!o[0].ssrc);const c={applicationType:i.NS_JINGLE_RTP_1,codecs:[],headerExtensions:[],media:e.kind,rtcpMux:s.mux,rtcpReducedSize:s.reducedSize,sourceGroups:[],sources:[],ssrc:a?o[0].ssrc.toString():void 0,streams:[]};for(const e of n.headerExtensions||[]){const n={id:e.id,uri:e.uri};e.direction&&"sendrecv"!==e.direction&&(n.senders=(0,r.directionToSenders)(t,e.direction)),c.headerExtensions.push(n)}s.ssrc&&s.cname&&(c.sources=[{parameters:{cname:s.cname},ssrc:s.ssrc.toString()}]),a&&o[0]&&o[0].rtx&&(c.sourceGroups=[{semantics:"FID",sources:[o[0].ssrc.toString(),o[0].rtx.ssrc.toString()]}]);for(const t of e.streams||[])c.streams.push({id:t.stream,track:t.track});for(const e of n.codecs||[]){const t={channels:e.channels,clockRate:e.clockRate,id:e.payloadType.toString(),name:e.name,parameters:e.parameters,rtcpFeedback:e.rtcpFeedback};e.maxptime&&(t.maxptime=e.maxptime),e.parameters&&e.parameters.ptime&&(t.ptime=parseInt(e.parameters.ptime,10)),c.codecs.push(t)}return c}function o(e){let t;return t="rtp"===e.component?1:"rtcp"===e.component?2:e.component,{component:t,foundation:e.foundation,generation:void 0,id:void 0,ip:e.ip,network:void 0,port:e.port,priority:e.priority,protocol:e.protocol,relatedAddress:e.relatedAddress,relatedPort:e.relatedPort,tcpType:e.tcpType,type:e.type}}function a(e){return{address:e.ip,component:1===e.component?"rtp":2===e.component?"rtcp":e.component,foundation:e.foundation,ip:e.ip,port:e.port,priority:e.priority,protocol:e.protocol,relatedAddress:e.relatedAddress,relatedPort:e.relatedPort,tcpType:e.tcpType,type:e.type}}function c(e,t){const n=e.iceParameters,r=e.dtlsParameters,i={candidates:[],transportType:t};n&&(i.usernameFragment=n.usernameFragment,i.password=n.password,n.iceLite&&(i.iceLite=!0)),r&&(i.fingerprints=r.fingerprints.map(t=>({algorithm:t.algorithm,setup:e.setup,value:t.value}))),e.sctp&&(i.sctp=e.sctp);for(const t of e.candidates||[])i.candidates.push(o(t));return i}function u(e,t){const n=e.application||{},s=e.transport,o=n&&n.applicationType===i.NS_JINGLE_RTP_1,c={direction:(0,r.sendersToDirection)(t,e.senders),kind:n.media||"application",mid:e.name,protocol:o?"UDP/TLS/RTP/SAVPF":"UDP/DTLS/SCTP"};if(o){if(c.rtcpParameters={compound:!n.rtcpReducedSize,mux:n.rtcpMux,reducedSize:n.rtcpReducedSize},n.sources&&n.sources.length){const e=n.sources[0];c.rtcpParameters.ssrc=parseInt(e.ssrc,10),e.parameters&&(c.rtcpParameters.cname=e.parameters.cname)}if(c.rtpParameters={codecs:[],fecMechanisms:[],headerExtensions:[],rtcp:[]},n.streams){c.streams=[];for(const e of n.streams)c.streams.push({stream:e.id,track:e.track})}if(n.ssrc&&(c.rtpEncodingParameters=[{ssrc:parseInt(n.ssrc,10)}],n.sourceGroups&&n.sourceGroups.length)){const e=n.sourceGroups[0];c.rtpEncodingParameters[0].rtx={ssrc:parseInt(e.sources[1],10)}}let e=!1,i=!1;for(const t of n.codecs||[]){const n=t.parameters||{},r=[];for(const e of t.rtcpFeedback||[])r.push({parameter:e.parameter,type:e.type});if("red"===t.name||"ulpfec"===t.name){e=e||"red"===t.name,i=i||"ulpfec"===t.name;const n=t.name.toUpperCase();c.rtpParameters.fecMechanisms.includes(n)||c.rtpParameters.fecMechanisms.push(n)}c.rtpParameters.codecs.push({channels:t.channels,clockRate:t.clockRate,name:t.name,numChannels:t.channels,parameters:n,payloadType:parseInt(t.id,10),rtcpFeedback:r})}for(const e of n.headerExtensions||[])c.rtpParameters.headerExtensions.push({direction:(0,r.sendersToDirection)(t,e.senders||"both"),id:e.id,uri:e.uri,attributes:void 0})}if(s){if(s.usernameFragment&&s.password&&(c.iceParameters={password:s.password,usernameFragment:s.usernameFragment},s.iceLite&&(c.iceParameters.iceLite=!0)),s.fingerprints&&s.fingerprints.length){c.dtlsParameters={fingerprints:[],role:"auto"};for(const e of s.fingerprints)c.dtlsParameters.fingerprints.push({algorithm:e.algorithm,value:e.value});s.sctp&&(c.sctp=s.sctp),c.setup=s.fingerprints[0].setup}c.candidates=(s.candidates||[]).map(a)}return c}t.convertIntermediateToApplication=s,t.convertIntermediateToCandidate=o,t.convertCandidateToIntermediate=a,t.convertIntermediateToTransport=c,t.convertIntermediateToRequest=function(e,t,n){return{contents:e.media.map(e=>({application:"audio"===e.kind||"video"===e.kind?s(e,t):{applicationType:"datachannel",protocol:e.protocol},creator:r.JingleSessionRole.Initiator,name:e.mid,senders:(0,r.directionToSenders)(t,e.direction),transport:c(e,n)})),groups:e.groups?e.groups.map(e=>({contents:e.mids,semantics:e.semantics})):[]}},t.convertContentToIntermediate=u,t.convertRequestToIntermediate=function(e,t){const n={groups:[],media:[]};for(const t of e.groups||[])n.groups.push({mids:t.contents,semantics:t.semantics});for(const r of e.contents||[])n.media.push(u(r,t));return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(57),i=n(5),s=n(12),o={condition:i.StanzaErrorCondition.BadRequest},a={condition:i.StanzaErrorCondition.FeatureNotImplemented,jingleError:i.JingleErrorCondition.UnsupportedInfo,type:"modify"};t.default=class{constructor(e){this.parent=e.parent,this.sid=e.sid||(0,s.uuid)(),this.peerID=e.peerID,this.role=e.initiator?i.JingleSessionRole.Initiator:i.JingleSessionRole.Responder,this._sessionState="starting",this._connectionState="starting",this.pendingApplicationTypes=e.applicationTypes||[],this.pendingAction=void 0,this.processingQueue=(0,r.priorityQueue)(async(e,t)=>{if("ended"===this.state)return"local"===e.type&&e.reject&&e.reject(new Error("Session ended")),void(t&&t());if("local"===e.type){this._log("debug","Processing local action:",e.name);try{const t=await e.handler();e.resolve(t)}catch(t){e.reject(t)}return void(t&&t())}const{action:n,changes:r,cb:s}=e;return this._log("debug","Processing remote action:",n),new Promise(e=>{const o=(n,r)=>{s(n,r),t&&t(),e()};switch(n){case i.JingleAction.ContentAccept:return this.onContentAccept(r,o);case i.JingleAction.ContentAdd:return this.onContentAdd(r,o);case i.JingleAction.ContentModify:return this.onContentModify(r,o);case i.JingleAction.ContentReject:return this.onContentReject(r,o);case i.JingleAction.ContentRemove:return this.onContentRemove(r,o);case i.JingleAction.DescriptionInfo:return this.onDescriptionInfo(r,o);case i.JingleAction.SecurityInfo:return this.onSecurityInfo(r,o);case i.JingleAction.SessionAccept:return this.onSessionAccept(r,o);case i.JingleAction.SessionInfo:return this.onSessionInfo(r,o);case i.JingleAction.SessionInitiate:return this.onSessionInitiate(r,o);case i.JingleAction.SessionTerminate:return this.onSessionTerminate(r,o);case i.JingleAction.TransportAccept:return this.onTransportAccept(r,o);case i.JingleAction.TransportInfo:return this.onTransportInfo(r,o);case i.JingleAction.TransportReject:return this.onTransportReject(r,o);case i.JingleAction.TransportReplace:return this.onTransportReplace(r,o);default:this._log("error","Invalid or unsupported action: "+n),o({condition:i.StanzaErrorCondition.BadRequest})}})},1)}get isInitiator(){return this.role===i.JingleSessionRole.Initiator}get peerRole(){return this.isInitiator?i.JingleSessionRole.Responder:i.JingleSessionRole.Initiator}get state(){return this._sessionState}set state(e){e!==this._sessionState&&(this._log("info","Changing session state to: "+e),this._sessionState=e,this.parent&&this.parent.emit("sessionState",this,e))}get connectionState(){return this._connectionState}set connectionState(e){e!==this._connectionState&&(this._log("info","Changing connection state to: "+e),this._connectionState=e,this.parent&&this.parent.emit("connectionState",this,e))}send(e,t){(t=t||{}).sid=this.sid,t.action=e;new Set([i.JingleAction.ContentAccept,i.JingleAction.ContentAdd,i.JingleAction.ContentModify,i.JingleAction.ContentReject,i.JingleAction.ContentRemove,i.JingleAction.SessionAccept,i.JingleAction.SessionInitiate,i.JingleAction.TransportAccept,i.JingleAction.TransportReject,i.JingleAction.TransportReplace]).has(e)?this.pendingAction=e:this.pendingAction=void 0,this.parent.signal(this,{id:(0,s.uuid)(),jingle:t,to:this.peerID,type:"set"})}processLocal(e,t){return new Promise((n,r)=>{this.processingQueue.push({handler:t,name:e,reject:r,resolve:n,type:"local"},1)})}process(e,t,n){this.processingQueue.push({action:e,cb:n,changes:t,type:"remote"},2)}start(e,t){this._log("error","Can not start base sessions"),this.end("unsupported-applications",!0)}accept(e,t){this._log("error","Can not accept base sessions"),this.end("unsupported-applications")}cancel(){this.end("cancel")}decline(){this.end("decline")}end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.state="ended",this.processingQueue.kill(),"string"==typeof e&&(e={condition:e}),t||this.send("session-terminate",{reason:e}),this.parent.emit("terminated",this,e),this.parent.forgetSession(this)}_log(e,t){if(this.parent){t=this.sid+": "+t;for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];this.parent.emit("log",e,t,...r),this.parent.emit("log:"+e,t,...r)}}onSessionInitiate(e,t){t()}onSessionAccept(e,t){t()}onSessionTerminate(e,t){this.end(e.reason,!0),t()}onSessionInfo(e,t){e.info?t(a):t()}onSecurityInfo(e,t){t(a)}onDescriptionInfo(e,t){t(a)}onTransportInfo(e,t){t(a)}onContentAdd(e,t){t(),this.send(i.JingleAction.ContentReject,{reason:{condition:i.JingleReasonCondition.FailedApplication,text:"content-add is not supported"}})}onContentAccept(e,t){t(o)}onContentReject(e,t){t(o)}onContentModify(e,t){t(o)}onContentRemove(e,t){t(o)}onTransportReplace(e,t){t(),this.send(i.JingleAction.TransportReject,{reason:{condition:i.JingleReasonCondition.FailedTransport,text:"transport-replace is not supported"}})}onTransportAccept(e,t){t(o)}onTransportReject(e,t){t(o)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"all",(function(){return me})),n.d(t,"allLimit",(function(){return ge})),n.d(t,"allSeries",(function(){return ye})),n.d(t,"any",(function(){return tt})),n.d(t,"anyLimit",(function(){return nt})),n.d(t,"anySeries",(function(){return rt})),n.d(t,"apply",(function(){return r})),n.d(t,"applyEach",(function(){return O})),n.d(t,"applyEachSeries",(function(){return j})),n.d(t,"asyncify",(function(){return d})),n.d(t,"auto",(function(){return D})),n.d(t,"autoInject",(function(){return J})),n.d(t,"cargo",(function(){return V})),n.d(t,"cargoQueue",(function(){return W})),n.d(t,"compose",(function(){return K})),n.d(t,"concat",(function(){return Z})),n.d(t,"concatLimit",(function(){return X})),n.d(t,"concatSeries",(function(){return ee})),n.d(t,"constant",(function(){return te})),n.d(t,"default",(function(){return mt})),n.d(t,"detect",(function(){return re})),n.d(t,"detectLimit",(function(){return ie})),n.d(t,"detectSeries",(function(){return se})),n.d(t,"dir",(function(){return ae})),n.d(t,"doDuring",(function(){return ce})),n.d(t,"doUntil",(function(){return ue})),n.d(t,"doWhilst",(function(){return ce})),n.d(t,"during",(function(){return pt})),n.d(t,"each",(function(){return de})),n.d(t,"eachLimit",(function(){return pe})),n.d(t,"eachOf",(function(){return C})),n.d(t,"eachOfLimit",(function(){return N})),n.d(t,"eachOfSeries",(function(){return P})),n.d(t,"eachSeries",(function(){return he})),n.d(t,"ensureAsync",(function(){return fe})),n.d(t,"every",(function(){return me})),n.d(t,"everyLimit",(function(){return ge})),n.d(t,"everySeries",(function(){return ye})),n.d(t,"filter",(function(){return Se})),n.d(t,"filterLimit",(function(){return we})),n.d(t,"filterSeries",(function(){return Te})),n.d(t,"find",(function(){return re})),n.d(t,"findLimit",(function(){return ie})),n.d(t,"findSeries",(function(){return se})),n.d(t,"flatMap",(function(){return Z})),n.d(t,"flatMapLimit",(function(){return X})),n.d(t,"flatMapSeries",(function(){return ee})),n.d(t,"foldl",(function(){return $})),n.d(t,"foldr",(function(){return ze})),n.d(t,"forEach",(function(){return de})),n.d(t,"forEachLimit",(function(){return pe})),n.d(t,"forEachOf",(function(){return C})),n.d(t,"forEachOfLimit",(function(){return N})),n.d(t,"forEachOfSeries",(function(){return P})),n.d(t,"forEachSeries",(function(){return he})),n.d(t,"forever",(function(){return Ie})),n.d(t,"groupBy",(function(){return Ne})),n.d(t,"groupByLimit",(function(){return Ae})),n.d(t,"groupBySeries",(function(){return Ee})),n.d(t,"inject",(function(){return $})),n.d(t,"log",(function(){return xe})),n.d(t,"map",(function(){return R})),n.d(t,"mapLimit",(function(){return Y})),n.d(t,"mapSeries",(function(){return k})),n.d(t,"mapValues",(function(){return Re})),n.d(t,"mapValuesLimit",(function(){return Ce})),n.d(t,"mapValuesSeries",(function(){return Oe})),n.d(t,"memoize",(function(){return Pe})),n.d(t,"nextTick",(function(){return ke})),n.d(t,"parallel",(function(){return Le})),n.d(t,"parallelLimit",(function(){return Me})),n.d(t,"priorityQueue",(function(){return Ue})),n.d(t,"queue",(function(){return De})),n.d(t,"race",(function(){return Je})),n.d(t,"reduce",(function(){return $})),n.d(t,"reduceRight",(function(){return ze})),n.d(t,"reflect",(function(){return Ge})),n.d(t,"reflectAll",(function(){return He})),n.d(t,"reject",(function(){return We})),n.d(t,"rejectLimit",(function(){return $e})),n.d(t,"rejectSeries",(function(){return Qe})),n.d(t,"retry",(function(){return Ye})),n.d(t,"retryable",(function(){return Ze})),n.d(t,"select",(function(){return Se})),n.d(t,"selectLimit",(function(){return we})),n.d(t,"selectSeries",(function(){return Te})),n.d(t,"seq",(function(){return Q})),n.d(t,"series",(function(){return et})),n.d(t,"setImmediate",(function(){return l})),n.d(t,"some",(function(){return tt})),n.d(t,"someLimit",(function(){return nt})),n.d(t,"someSeries",(function(){return rt})),n.d(t,"sortBy",(function(){return it})),n.d(t,"timeout",(function(){return st})),n.d(t,"times",(function(){return at})),n.d(t,"timesLimit",(function(){return ot})),n.d(t,"timesSeries",(function(){return ct})),n.d(t,"transform",(function(){return ut})),n.d(t,"tryEach",(function(){return lt})),n.d(t,"unmemoize",(function(){return dt})),n.d(t,"until",(function(){return ht})),n.d(t,"waterfall",(function(){return ft})),n.d(t,"whilst",(function(){return pt})),n.d(t,"wrapSync",(function(){return d}));n(261);function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return e(...n,...r)}}function i(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.pop();return e.call(this,n,i)}}var s="function"==typeof queueMicrotask&&queueMicrotask,o="function"==typeof setImmediate&&setImmediate,a="object"==typeof process&&"function"==typeof process.nextTick;function c(e){setTimeout(e,0)}function u(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e(()=>t(...r))}}var l=u(s?queueMicrotask:o?setImmediate:a?process.nextTick:c);function d(e){return f(e)?function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i=n.pop(),s=e.apply(this,n);return p(s,i)}:i((function(t,n){var r;try{r=e.apply(this,t)}catch(e){return n(e)}if(r&&"function"==typeof r.then)return p(r,n);n(null,r)}))}function p(e,t){return e.then(e=>{h(t,null,e)},e=>{h(t,e&&(e instanceof Error||e.message)?e:new Error(e))})}function h(e,t,n){try{e(t,n)}catch(e){l(e=>{throw e},e)}}function f(e){return"AsyncFunction"===e[Symbol.toStringTag]}function m(e){if("function"!=typeof e)throw new Error("expected a function");return f(e)?d(e):e}function g(e,t){if(t||(t=e.length),!t)throw new Error("arity is undefined");return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return"function"==typeof r[t-1]?e.apply(this,r):new Promise((n,i)=>{r[t-1]=function(e){if(e)return i(e);for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];n(r.length>1?r:r[0])},e.apply(this,r)})}}function y(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];const s=g((function(n){var i=this;return e(t,(e,t)=>{m(e).apply(i,r.concat(t))},n)}));return s}}function b(e,t,n,r){t=t||[];var i=[],s=0,o=m(n);return e(t,(e,t,n)=>{var r=s++;o(e,(e,t)=>{i[r]=t,n(e)})},e=>{r(e,i)})}function v(e){return e&&"number"==typeof e.length&&e.length>=0&&e.length%1==0}var _={};function S(e){function t(){if(null!==e){var t=e;e=null;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}return Object.assign(t,e),t}function w(e){if(v(e))return function(e){var t=-1,n=e.length;return function(){return++t<n?{value:e[t],key:t}:null}}(e);var t,n,r,i,s=function(e){return e[Symbol.iterator]&&e[Symbol.iterator]()}(e);return s?function(e){var t=-1;return function(){var n=e.next();return n.done?null:(t++,{value:n.value,key:t})}}(s):(n=(t=e)?Object.keys(t):[],r=-1,i=n.length,function e(){var s=n[++r];return"__proto__"===s?e():r<i?{value:t[s],key:s}:null})}function T(e){return function(){if(null===e)throw new Error("Callback was already called.");var t=e;e=null;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}function I(e,t,n,r){let i=!1,s=!1,o=!1,a=0,c=0;function u(){a>=t||o||i||(o=!0,e.next().then(e=>{let{value:t,done:d}=e;if(!s&&!i){if(o=!1,d)return i=!0,void(a<=0&&r(null));a++,n(t,c,l),c++,u()}}).catch(d))}function l(e,t){if(a-=1,!s)return e?d(e):!1===e?(i=!0,void(s=!0)):t===_||i&&a<=0?(i=!0,r(null)):void u()}function d(e){s||(o=!1,i=!0,r(e))}u()}var A=e=>(t,n,r)=>{if(r=S(r),e<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!t)return r(null);if("AsyncGenerator"===t[Symbol.toStringTag])return I(t,e,n,r);if(function(e){return"function"==typeof e[Symbol.asyncIterator]}(t))return I(t[Symbol.asyncIterator](),e,n,r);var i=w(t),s=!1,o=!1,a=0,c=!1;function u(e,t){if(!o)if(a-=1,e)s=!0,r(e);else if(!1===e)s=!0,o=!0;else{if(t===_||s&&a<=0)return s=!0,r(null);c||l()}}function l(){for(c=!0;a<e&&!s;){var t=i();if(null===t)return s=!0,void(a<=0&&r(null));a+=1,n(t.value,t.key,T(u))}c=!1}l()};var N=g((function(e,t,n,r){return A(t)(e,m(n),r)}),4);function E(e,t,n){n=S(n);var r=0,i=0,{length:s}=e,o=!1;function a(e,t){!1===e&&(o=!0),!0!==o&&(e?n(e):++i!==s&&t!==_||n(null))}for(0===s&&n(null);r<s;r++)t(e[r],r,T(a))}function x(e,t,n){return N(e,1/0,t,n)}var C=g((function(e,t,n){return(v(e)?E:x)(e,m(t),n)}),3);var R=g((function(e,t,n){return b(C,e,t,n)}),3),O=y(R);var P=g((function(e,t,n){return N(e,1,t,n)}),3);var k=g((function(e,t,n){return b(P,e,t,n)}),3),j=y(k);const L=Symbol("promiseCallback");function M(){let e,t;function n(n){if(n)return t(n);for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];e(i.length>1?i:i[0])}return n[L]=new Promise((n,r)=>{e=n,t=r}),n}function D(e,t,n){"number"!=typeof t&&(n=t,t=null),n=S(n||M());var r=Object.keys(e).length;if(!r)return n(null);t||(t=r);var i={},s=0,o=!1,a=!1,c=Object.create(null),u=[],l=[],d={};function p(e,t){u.push(()=>function(e,t){if(a)return;var r=T((function(t){for(var r=arguments.length,u=new Array(r>1?r-1:0),l=1;l<r;l++)u[l-1]=arguments[l];if(s--,!1!==t)if(u.length<2&&([u]=u),t){var d={};if(Object.keys(i).forEach(e=>{d[e]=i[e]}),d[e]=u,a=!0,c=Object.create(null),o)return;n(t,d)}else i[e]=u,f(e);else o=!0}));s++;var u=m(t[t.length-1]);t.length>1?u(i,r):u(r)}(e,t))}function h(){if(!o){if(0===u.length&&0===s)return n(null,i);for(;u.length&&s<t;){u.shift()()}}}function f(e){(c[e]||[]).forEach(e=>e()),h()}function g(t){var n=[];return Object.keys(e).forEach(r=>{const i=e[r];Array.isArray(i)&&i.indexOf(t)>=0&&n.push(r)}),n}return Object.keys(e).forEach(t=>{var n=e[t];if(!Array.isArray(n))return p(t,[n]),void l.push(t);var r=n.slice(0,n.length-1),i=r.length;if(0===i)return p(t,n),void l.push(t);d[t]=i,r.forEach(s=>{if(!e[s])throw new Error("async.auto task `"+t+"` has a non-existent dependency `"+s+"` in "+r.join(", "));!function(e,t){var n=c[e];n||(n=c[e]=[]);n.push(t)}(s,()=>{0===--i&&p(t,n)})})}),function(){var e,t=0;for(;l.length;)e=l.pop(),t++,g(e).forEach(e=>{0==--d[e]&&l.push(e)});if(t!==r)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),h(),n[L]}var B=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,F=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,q=/,/,U=/(=.+)?(\s*)$/;function J(e,t){var n={};return Object.keys(e).forEach(t=>{var r,i=e[t],s=f(i),o=!s&&1===i.length||s&&0===i.length;if(Array.isArray(i))r=[...i],i=r.pop(),n[t]=r.concat(r.length>0?a:i);else if(o)n[t]=i;else{if(r=function(e){const t=function(e){let t="",n=0,r=e.indexOf("*/");for(;n<e.length;)if("/"===e[n]&&"/"===e[n+1]){let t=e.indexOf("\n",n);n=-1===t?e.length:t}else if(-1!==r&&"/"===e[n]&&"*"===e[n+1]){let i=e.indexOf("*/",n);-1!==i?(n=i+2,r=e.indexOf("*/",n)):(t+=e[n],n++)}else t+=e[n],n++;return t}(e.toString());let n=t.match(B);if(n||(n=t.match(F)),!n)throw new Error("could not parse args in autoInject\nSource:\n"+t);let[,r]=n;return r.replace(/\s/g,"").split(q).map(e=>e.replace(U,"").trim())}(i),0===i.length&&!s&&0===r.length)throw new Error("autoInject task functions require explicit parameters.");s||r.pop(),n[t]=r.concat(a)}function a(e,t){var n=r.map(t=>e[t]);n.push(t),m(i)(...n)}}),D(n,t)}class z{constructor(){this.head=this.tail=null,this.length=0}removeLink(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e}empty(){for(;this.head;)this.shift();return this}insertAfter(e,t){t.prev=e,t.next=e.next,e.next?e.next.prev=t:this.tail=t,e.next=t,this.length+=1}insertBefore(e,t){t.prev=e.prev,t.next=e,e.prev?e.prev.next=t:this.head=t,e.prev=t,this.length+=1}unshift(e){this.head?this.insertBefore(this.head,e):G(this,e)}push(e){this.tail?this.insertAfter(this.tail,e):G(this,e)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var e=this.head;e;)yield e.data,e=e.next}remove(e){for(var t=this.head;t;){var{next:n}=t;e(t)&&this.removeLink(t),t=n}return this}}function G(e,t){e.length=1,e.head=e.tail=t}function H(e,t,n){if(null==t)t=1;else if(0===t)throw new RangeError("Concurrency must not be zero");var r=m(e),i=0,s=[];const o={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function a(e,t){return e?t?void(o[e]=o[e].filter(e=>e!==t)):o[e]=[]:Object.keys(o).forEach(e=>o[e]=[])}function c(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o[e].forEach(e=>e(...n))}var u=!1;function d(e,t,n,r){if(null!=r&&"function"!=typeof r)throw new Error("task callback must be a function");var i,s;function o(e){if(e)return n?s(e):i();for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(r.length<=1)return i(r[0]);i(r)}y.started=!0;var a=y._createTaskItem(e,n?o:r||o);if(t?y._tasks.unshift(a):y._tasks.push(a),u||(u=!0,l(()=>{u=!1,y.process()})),n||!r)return new Promise((e,t)=>{i=e,s=t})}function p(e){return function(t){i-=1;for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var a=0,u=e.length;a<u;a++){var l=e[a],d=s.indexOf(l);0===d?s.shift():d>0&&s.splice(d,1),l.callback(t,...r),null!=t&&c("error",t,l.data)}i<=y.concurrency-y.buffer&&c("unsaturated"),y.idle()&&c("drain"),y.process()}}function h(e){return!(0!==e.length||!y.idle())&&(l(()=>c("drain")),!0)}const f=e=>t=>{if(!t)return new Promise((t,n)=>{!function(e,t){const n=function(){a(e,n),t(...arguments)};o[e].push(n)}(e,(e,r)=>{if(e)return n(e);t(r)})});a(e),function(e,t){o[e].push(t)}(e,t)};var g=!1,y={_tasks:new z,_createTaskItem:(e,t)=>({data:e,callback:t}),*[Symbol.iterator](){yield*y._tasks[Symbol.iterator]()},concurrency:t,payload:n,buffer:t/4,started:!1,paused:!1,push(e,t){if(Array.isArray(e)){if(h(e))return;return e.map(e=>d(e,!1,!1,t))}return d(e,!1,!1,t)},pushAsync(e,t){if(Array.isArray(e)){if(h(e))return;return e.map(e=>d(e,!1,!0,t))}return d(e,!1,!0,t)},kill(){a(),y._tasks.empty()},unshift(e,t){if(Array.isArray(e)){if(h(e))return;return e.map(e=>d(e,!0,!1,t))}return d(e,!0,!1,t)},unshiftAsync(e,t){if(Array.isArray(e)){if(h(e))return;return e.map(e=>d(e,!0,!0,t))}return d(e,!0,!0,t)},remove(e){y._tasks.remove(e)},process(){if(!g){for(g=!0;!y.paused&&i<y.concurrency&&y._tasks.length;){var e=[],t=[],n=y._tasks.length;y.payload&&(n=Math.min(n,y.payload));for(var o=0;o<n;o++){var a=y._tasks.shift();e.push(a),s.push(a),t.push(a.data)}i+=1,0===y._tasks.length&&c("empty"),i===y.concurrency&&c("saturated");var u=T(p(e));r(t,u)}g=!1}},length:()=>y._tasks.length,running:()=>i,workersList:()=>s,idle:()=>y._tasks.length+i===0,pause(){y.paused=!0},resume(){!1!==y.paused&&(y.paused=!1,l(y.process))}};return Object.defineProperties(y,{saturated:{writable:!1,value:f("saturated")},unsaturated:{writable:!1,value:f("unsaturated")},empty:{writable:!1,value:f("empty")},drain:{writable:!1,value:f("drain")},error:{writable:!1,value:f("error")}}),y}function V(e,t){return H(e,1,t)}function W(e,t,n){return H(e,t,n)}var $=g((function(e,t,n,r){r=S(r);var i=m(n);return P(e,(e,n,r)=>{i(t,e,(e,n)=>{t=n,r(e)})},e=>r(e,t))}),4);function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(m);return function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var s=n[n.length-1];return"function"==typeof s?n.pop():s=M(),$(r,n,(t,n,r)=>{n.apply(e,t.concat((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r(e,n)})))},(e,t)=>s(e,...t)),s[L]}}function K(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Q(...t.reverse())}var Y=g((function(e,t,n,r){return b(A(t),e,n,r)}),4);var X=g((function(e,t,n,r){var i=m(n);return Y(e,t,(e,t)=>{i(e,(function(e){if(e)return t(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t(e,r)}))},(e,t)=>{for(var n=[],i=0;i<t.length;i++)t[i]&&(n=n.concat(...t[i]));return r(e,n)})}),4);var Z=g((function(e,t,n){return X(e,1/0,t,n)}),3);var ee=g((function(e,t,n){return X(e,1,t,n)}),3);function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n.pop();return i(null,...t)}}function ne(e,t){return(n,r,i,s)=>{var o,a=!1;const c=m(i);n(r,(n,r,i)=>{c(n,(r,s)=>r||!1===r?i(r):e(s)&&!o?(a=!0,o=t(!0,n),i(null,_)):void i())},e=>{if(e)return s(e);s(null,a?o:t(!1))})}}var re=g((function(e,t,n){return ne(e=>e,(e,t)=>t)(C,e,t,n)}),3);var ie=g((function(e,t,n,r){return ne(e=>e,(e,t)=>t)(A(t),e,n,r)}),4);var se=g((function(e,t,n){return ne(e=>e,(e,t)=>t)(A(1),e,t,n)}),3);function oe(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return m(t)(...r,(function(t){if("object"==typeof console)if(t)console.error&&console.error(t);else if(console[e]){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];r.forEach(t=>console[e](t))}}))}}var ae=oe("dir");var ce=g((function(e,t,n){n=T(n);var r,i=m(e),s=m(t);function o(e){if(e)return n(e);if(!1!==e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];r=i,s(...i,a)}}function a(e,t){return e?n(e):!1!==e?t?void i(o):n(null,...r):void 0}return a(null,!0)}),3);function ue(e,t,n){const r=m(t);return ce(e,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const i=t.pop();r(...t,(e,t)=>i(e,!t))}),n)}function le(e){return(t,n,r)=>e(t,r)}var de=g((function(e,t,n){return C(e,le(m(t)),n)}),3);var pe=g((function(e,t,n,r){return A(t)(e,le(m(n)),r)}),4);var he=g((function(e,t,n){return pe(e,1,t,n)}),3);function fe(e){return f(e)?e:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.pop(),s=!0;n.push((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];s?l(()=>i(...t)):i(...t)})),e.apply(this,n),s=!1}}var me=g((function(e,t,n){return ne(e=>!e,e=>!e)(C,e,t,n)}),3);var ge=g((function(e,t,n,r){return ne(e=>!e,e=>!e)(A(t),e,n,r)}),4);var ye=g((function(e,t,n){return ne(e=>!e,e=>!e)(P,e,t,n)}),3);function be(e,t,n,r){var i=new Array(t.length);e(t,(e,t,r)=>{n(e,(e,n)=>{i[t]=!!n,r(e)})},e=>{if(e)return r(e);for(var n=[],s=0;s<t.length;s++)i[s]&&n.push(t[s]);r(null,n)})}function ve(e,t,n,r){var i=[];e(t,(e,t,r)=>{n(e,(n,s)=>{if(n)return r(n);s&&i.push({index:t,value:e}),r(n)})},e=>{if(e)return r(e);r(null,i.sort((e,t)=>e.index-t.index).map(e=>e.value))})}function _e(e,t,n,r){return(v(t)?be:ve)(e,t,m(n),r)}var Se=g((function(e,t,n){return _e(C,e,t,n)}),3);var we=g((function(e,t,n,r){return _e(A(t),e,n,r)}),4);var Te=g((function(e,t,n){return _e(P,e,t,n)}),3);var Ie=g((function(e,t){var n=T(t),r=m(fe(e));return function e(t){if(t)return n(t);!1!==t&&r(e)}()}),2);var Ae=g((function(e,t,n,r){var i=m(n);return Y(e,t,(e,t)=>{i(e,(n,r)=>n?t(n):t(n,{key:r,val:e}))},(e,t)=>{for(var n={},{hasOwnProperty:i}=Object.prototype,s=0;s<t.length;s++)if(t[s]){var{key:o}=t[s],{val:a}=t[s];i.call(n,o)?n[o].push(a):n[o]=[a]}return r(e,n)})}),4);function Ne(e,t,n){return Ae(e,1/0,t,n)}function Ee(e,t,n){return Ae(e,1,t,n)}var xe=oe("log");var Ce=g((function(e,t,n,r){r=S(r);var i={},s=m(n);return A(t)(e,(e,t,n)=>{s(e,t,(e,r)=>{if(e)return n(e);i[t]=r,n(e)})},e=>r(e,i))}),4);function Re(e,t,n){return Ce(e,1/0,t,n)}function Oe(e,t,n){return Ce(e,1,t,n)}function Pe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;var n=Object.create(null),r=Object.create(null),s=m(e),o=i((e,i)=>{var o=t(...e);o in n?l(()=>i(null,...n[o])):o in r?r[o].push(i):(r[o]=[i],s(...e,(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];e||(n[o]=i);var a=r[o];delete r[o];for(var c=0,u=a.length;c<u;c++)a[c](e,...i)})))});return o.memo=n,o.unmemoized=e,o}var ke=u(a?process.nextTick:o?setImmediate:c),je=g((e,t,n)=>{var r=v(t)?[]:{};e(t,(e,t,n)=>{m(e)((function(e){for(var i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];s.length<2&&([s]=s),r[t]=s,n(e)}))},e=>n(e,r))},3);function Le(e,t){return je(C,e,t)}function Me(e,t,n){return je(A(t),e,n)}function De(e,t){var n=m(e);return H((e,t)=>{n(e[0],t)},t,1)}class Be{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(e){let t;for(;e>0&&qe(this.heap[e],this.heap[t=Fe(e)]);){let n=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=n,e=t}}percDown(e){let t;for(;(t=1+(e<<1))<this.heap.length&&(t+1<this.heap.length&&qe(this.heap[t+1],this.heap[t])&&(t+=1),!qe(this.heap[e],this.heap[t]));){let n=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=n,e=t}}push(e){e.pushCount=++this.pushCount,this.heap.push(e),this.percUp(this.heap.length-1)}unshift(e){return this.heap.push(e)}shift(){let[e]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),e}toArray(){return[...this]}*[Symbol.iterator](){for(let e=0;e<this.heap.length;e++)yield this.heap[e].data}remove(e){let t=0;for(let n=0;n<this.heap.length;n++)e(this.heap[n])||(this.heap[t]=this.heap[n],t++);this.heap.splice(t);for(let e=Fe(this.heap.length-1);e>=0;e--)this.percDown(e);return this}}function Fe(e){return(e+1>>1)-1}function qe(e,t){return e.priority!==t.priority?e.priority<t.priority:e.pushCount<t.pushCount}function Ue(e,t){var n=De(e,t),{push:r,pushAsync:i}=n;function s(e,t){return Array.isArray(e)?e.map(e=>({data:e,priority:t})):{data:e,priority:t}}return n._tasks=new Be,n._createTaskItem=(e,t)=>{let{data:n,priority:r}=e;return{data:n,priority:r,callback:t}},n.push=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return r(s(e,t),n)},n.pushAsync=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return i(s(e,t),n)},delete n.unshift,delete n.unshiftAsync,n}var Je=g((function(e,t){if(t=S(t),!Array.isArray(e))return t(new TypeError("First argument to race must be an array of functions"));if(!e.length)return t();for(var n=0,r=e.length;n<r;n++)m(e[n])(t)}),2);function ze(e,t,n,r){var i=[...e].reverse();return $(i,t,n,r)}function Ge(e){var t=m(e);return i((function(e,n){return e.push((function(e){let t={};e&&(t.error=e);for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];if(i.length>0){var o=i;i.length<=1&&([o]=i),t.value=o}n(null,t)})),t.apply(this,e)}))}function He(e){var t;return Array.isArray(e)?t=e.map(Ge):(t={},Object.keys(e).forEach(n=>{t[n]=Ge.call(this,e[n])})),t}function Ve(e,t,n,r){const i=m(n);return _e(e,t,(e,t)=>{i(e,(e,n)=>{t(e,!n)})},r)}var We=g((function(e,t,n){return Ve(C,e,t,n)}),3);var $e=g((function(e,t,n,r){return Ve(A(t),e,n,r)}),4);var Qe=g((function(e,t,n){return Ve(P,e,t,n)}),3);function Ke(e){return function(){return e}}function Ye(e,t,n){var r={times:5,intervalFunc:Ke(0)};if(arguments.length<3&&"function"==typeof e?(n=t||M(),t=e):(Xe(r,e),n=n||M()),"function"!=typeof t)throw new Error("Invalid arguments for async.retry");var i=m(t),s=1;function o(){i((function(e){if(!1!==e)if(e&&s++<r.times&&("function"!=typeof r.errorFilter||r.errorFilter(e)))setTimeout(o,r.intervalFunc(s-1));else{for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];n(e,...i)}}))}return o(),n[L]}function Xe(e,t){if("object"==typeof t)e.times=+t.times||5,e.intervalFunc="function"==typeof t.interval?t.interval:Ke(+t.interval||0),e.errorFilter=t.errorFilter;else{if("number"!=typeof t&&"string"!=typeof t)throw new Error("Invalid arguments for async.retry");e.times=+t||5}}function Ze(e,t){t||(t=e,e=null);let n=e&&e.arity||t.length;f(t)&&(n+=1);var r=m(t);return i((t,i)=>{function s(e){r(...t,e)}return(t.length<n-1||null==i)&&(t.push(i),i=M()),e?Ye(e,s,i):Ye(s,i),i[L]})}function et(e,t){return je(P,e,t)}var tt=g((function(e,t,n){return ne(Boolean,e=>e)(C,e,t,n)}),3);var nt=g((function(e,t,n,r){return ne(Boolean,e=>e)(A(t),e,n,r)}),4);var rt=g((function(e,t,n){return ne(Boolean,e=>e)(P,e,t,n)}),3);var it=g((function(e,t,n){var r=m(t);return R(e,(e,t)=>{r(e,(n,r)=>{if(n)return t(n);t(n,{value:e,criteria:r})})},(e,t)=>{if(e)return n(e);n(null,t.sort(i).map(e=>e.value))});function i(e,t){var n=e.criteria,r=t.criteria;return n<r?-1:n>r?1:0}}),3);function st(e,t,n){var r=m(e);return i((i,s)=>{var o,a=!1;i.push((function(){a||(s(...arguments),clearTimeout(o))})),o=setTimeout((function(){var t=e.name||"anonymous",r=new Error('Callback function "'+t+'" timed out.');r.code="ETIMEDOUT",n&&(r.info=n),a=!0,s(r)}),t),r(...i)})}function ot(e,t,n,r){var i=m(n);return Y(function(e){for(var t=Array(e);e--;)t[e]=e;return t}(e),t,i,r)}function at(e,t,n){return ot(e,1/0,t,n)}function ct(e,t,n){return ot(e,1,t,n)}function ut(e,t,n,r){arguments.length<=3&&"function"==typeof t&&(r=n,n=t,t=Array.isArray(e)?[]:{}),r=S(r||M());var i=m(n);return C(e,(e,n,r)=>{i(t,e,n,r)},e=>r(e,t)),r[L]}var lt=g((function(e,t){var n,r=null;return he(e,(e,t)=>{m(e)((function(e){if(!1===e)return t(e);for(var i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];s.length<2?[n]=s:n=s,r=e,t(e?null:{})}))},()=>t(r,n))}));function dt(e){return function(){return(e.unmemoized||e)(...arguments)}}var pt=g((function(e,t,n){n=T(n);var r=m(t),i=m(e),s=[];function o(e){if(e)return n(e);for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];s=r,!1!==e&&i(a)}function a(e,t){return e?n(e):!1!==e?t?void r(o):n(null,...s):void 0}return i(a)}),3);function ht(e,t,n){const r=m(e);return pt(e=>r((t,n)=>e(t,!n)),t,n)}var ft=g((function(e,t){if(t=S(t),!Array.isArray(e))return t(new Error("First argument to waterfall must be an array of functions"));if(!e.length)return t();var n=0;function r(t){m(e[n++])(...t,T(i))}function i(i){if(!1!==i){for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];if(i||n===e.length)return t(i,...o);r(o)}}r([])})),mt={apply:r,applyEach:O,applyEachSeries:j,asyncify:d,auto:D,autoInject:J,cargo:V,cargoQueue:W,compose:K,concat:Z,concatLimit:X,concatSeries:ee,constant:te,detect:re,detectLimit:ie,detectSeries:se,dir:ae,doUntil:ue,doWhilst:ce,each:de,eachLimit:pe,eachOf:C,eachOfLimit:N,eachOfSeries:P,eachSeries:he,ensureAsync:fe,every:me,everyLimit:ge,everySeries:ye,filter:Se,filterLimit:we,filterSeries:Te,forever:Ie,groupBy:Ne,groupByLimit:Ae,groupBySeries:Ee,log:xe,map:R,mapLimit:Y,mapSeries:k,mapValues:Re,mapValuesLimit:Ce,mapValuesSeries:Oe,memoize:Pe,nextTick:ke,parallel:Le,parallelLimit:Me,priorityQueue:Ue,queue:De,race:Je,reduce:$,reduceRight:ze,reflect:Ge,reflectAll:He,reject:We,rejectLimit:$e,rejectSeries:Qe,retry:Ye,retryable:Ze,seq:Q,series:et,setImmediate:l,some:tt,someLimit:nt,someSeries:rt,sortBy:it,timeout:st,times:at,timesLimit:ot,timesSeries:ct,transform:ut,tryEach:lt,unmemoize:dt,until:ht,waterfall:ft,whilst:pt,all:me,allLimit:ge,allSeries:ye,any:tt,anyLimit:nt,anySeries:rt,find:re,findLimit:ie,findSeries:se,flatMap:Z,flatMapLimit:X,flatMapSeries:ee,forEach:de,forEachSeries:he,forEachLimit:pe,forEachOf:C,forEachOfSeries:P,forEachOfLimit:N,inject:$,foldl:$,foldr:ze,select:Se,selectLimit:we,selectSeries:Te,wrapSync:d,during:pt,doDuring:ce}},function(e,t,n){var r=n(264),i=n(79);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(267),i=n(8),s=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?s(r[e])||s(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenesysCloudMediaSession=void 0;const r=n(21).__importDefault(n(96)),i=n(7),s=n(23),o=n(16),a=n(28);t.GenesysCloudMediaSession=class{constructor(e,t){this.webrtcExtension=e,this.iceCandidatesDiscovered=0,this.iceCandidatesReceivedFromPeer=0,this.state="pending",this.connectionState="starting",this.id=t.id,this.fromJid=t.fromJid,this.peerID=t.peerID,this.logger=t.logger,this.conversationId=t.conversationId,this.fromUserId=t.fromUserId,this.pc=this.peerConnection=new RTCPeerConnection({iceServers:t.iceServers,iceTransportPolicy:t.iceTransportPolicy}),this.originalRoomJid=t.originalRoomJid,this.sessionType=a.SessionTypes[t.sessionType],this.ignoreHostCandidatesFromRemote=!!t.ignoreHostCandidatesFromRemote,this.allowIPv6=!!t.allowIPv6,this.allowTCP=!!t.allowTCP,this.reinvite=!!t.reinvite;const n=new i.EventEmitter;Object.keys(n.__proto__).forEach(e=>{this[e]=n[e]}),t.optOutOfWebrtcStatsTelemetry||this.setupStatsGatherer(),this.peerConnection.addEventListener("icecandidate",this.onIceCandidate.bind(this)),this.peerConnection.addEventListener("iceconnectionstatechange",this.onIceStateChange.bind(this)),this.peerConnection.addEventListener("connectionstatechange",this.onConnectionStateChange.bind(this)),this.peerConnection.addEventListener("icecandidateerror",this.onIceCandidateError.bind(this))}async setRemoteDescription(e){return this.peerConnection.setRemoteDescription({sdp:e,type:"offer"})}getLogDetails(){return{conversationId:this.conversationId,sessionId:this.id,sessionType:this.sessionType}}log(e,t,n,r){n||(n={});const i={...n,...this.getLogDetails()};this.logger[e](t,i,r)}async sendGenesysWebrtc(e){e.id=e.id||s.v4(),e.jsonrpc=e.jsonrpc||"2.0";const t={type:"set",genesysWebrtc:e,from:this.webrtcExtension.jid,to:this.peerID};return this.webrtcExtension.sendIq(t)}async end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.state="ended";const n={sessionId:this.id,reason:e.condition||e};t||await o.timeoutPromise((e,t)=>this.sendGenesysWebrtc({jsonrpc:"2.0",method:"terminate",params:n}).then(e,t),2e3,"Timeout waiting for response to termination request",{sessionId:this.id,conversationId:this.conversationId,sessionType:this.sessionType}).catch(e=>this.logger.error(e)),this.onSessionTerminate(n.reason)}setupStatsGatherer(){this.statsGatherer=new r.default(this.peerConnection),this.statsGatherer.on("stats",this.emit.bind(this,"stats"))}async onIceStateChange(){const e=this.peerConnection.iceConnectionState,t=this.id,n=this.conversationId,r=this.sessionType;if(this.log("info","ICE state changed: ",{iceState:e,sessionId:t,conversationId:n}),"disconnected"===e)"stable"===this.peerConnection.signalingState&&(this.interruptionStart=new Date,this.log("info","Connection state is interrupted",{sessionId:t,conversationId:n,sessionType:r}));else if("connected"===e){this.log("info","sending session-info: active");const e={sessionId:this.id,status:"active"};await this.sendGenesysWebrtc({jsonrpc:"2.0",params:e,method:"info"}),this._setupDataChannel()}else"failed"===e&&this.log("info","ICE connection failed",{candidatesDiscovered:this.iceCandidatesDiscovered,candidatesReceivedFromPeer:this.iceCandidatesReceivedFromPeer})}onConnectionStateChange(){const e=this.connectionState=this.peerConnection.connectionState,t=this.id,n=this.conversationId,r=this.sessionType;if(this.log("info","Connection state changed: ",{connectionState:e,sessionId:t,conversationId:n,sessionType:r}),this.interruptionStart)if("connected"===e){const e=(new Date).getTime()-this.interruptionStart.getTime();this.log("info","Connection was interrupted but was successfully recovered/connected",{sessionId:t,conversationId:n,sessionType:r,timeToRecover:e}),this.interruptionStart=void 0}else"failed"===e&&this.log("info","Connection was interrupted and failed to recover",{sessionId:t,conversationId:n,sessionType:r})}onIceCandidateError(e){const t=e;this.log("error","IceCandidateError",{errorCode:t.errorCode,errorText:t.errorText,url:t.url})}createIceCandidate(e,t){return new RTCIceCandidate({sdpMid:e,candidate:t})}async addRemoteIceCandidate(e){const t=e.match(/m=([^\s]+)/)[1],n=e.match(/a=([^\\\r]+)/)[1],r=this.createIceCandidate(t,n);await this.peerConnection.addIceCandidate(r)}onIceCandidate(e){var t,n;let r,i=null===(t=e.candidate)||void 0===t?void 0:t.candidate,s=null===(n=e.candidate)||void 0===n?void 0:n.sdpMid;if(e.candidate){if(!this.allowTCP&&"tcp"===e.candidate.protocol)return;if(!this.allowIPv6){const t=/.+udp [^ ]+ ([^ ]+).*typ host/.exec(e.candidate.candidate),n=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/;if(t&&!t[1].match(n))return void this.log("debug","Filtering out IPv6 candidate",e.candidate.candidate)}this.log("debug","Processing ice candidate",e.candidate),this.log("info","Discovered ice candidate to send to peer",{type:e.candidate.type}),this.iceCandidatesDiscovered++,r=`m=${s} 9 RTP/AVP 0\r\na=${i}`}else r="a=end-of-candidates",this.emit("endOfCandidates");return this.sendGenesysWebrtc({jsonrpc:"2.0",method:"iceCandidate",params:{sessionId:this.id,sdp:r}})}onSessionTerminate(e){this.peerConnection&&this.peerConnection.close(),this.emit("terminated",{condition:e||"success"})}async addTrack(e,t){const n=this.peerConnection.getTransceivers().find(t=>{var n;return!t.sender.track&&(null===(n=t.receiver.track)||void 0===n?void 0:n.kind)===e.kind});if(n)return n.sender.replaceTrack(e);this.peerConnection.addTrack(e,t)}_setupDataChannel(){var e;this.dataChannel||(null===(e=this.peerConnection.remoteDescription)||void 0===e?void 0:e.sdp.includes("webrtc-datachannel"))&&(this.log("info","creating data channel"),this.dataChannel=this.peerConnection.createDataChannel("videoConferenceControl"),this.dataChannel.addEventListener("open",()=>{this.log("info","data channel opened")}),this.dataChannel.addEventListener("message",this._handleDataChannelMessage.bind(this)),this.dataChannel.addEventListener("close",()=>{this.log("info","closing data channel")}),this.dataChannel.addEventListener("error",e=>{this.log("error","Error occurred with the data channel",e)}))}_handleDataChannelMessage(e){try{const t=JSON.parse(e.data);this.emit("dataChannelMessage",t)}catch(e){this.log("error","Failed to parse data channel message",{error:e})}}async accept(){this.state="active";const e=await this.peerConnection.createAnswer();await this.peerConnection.setLocalDescription(e);const t={sdp:e.sdp,sessionId:this.id};return this.sendGenesysWebrtc({jsonrpc:"2.0",method:"answer",params:t})}async mute(e,t){const n={sessionId:this.id,type:t};return this.sendGenesysWebrtc({jsonrpc:"2.0",method:"mute",params:n})}async unmute(e,t){const n={sessionId:this.id,type:t};return this.sendGenesysWebrtc({jsonrpc:"2.0",method:"unmute",params:n})}async removeTrack(){throw new Error("Not Implemented")}async hold(){throw new Error("Not Implemented")}async resume(){throw new Error("Not Implemented")}toString(){return{connectionState:this.connectionState,state:this.state,sessionType:this.sessionType,fromJid:this.fromJid,conversationId:this.conversationId,id:this.id,peerConnection:this.peerConnection}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.core=void 0;const r=n(3);(0,r.__exportStar)(n(100),t),(0,r.__exportStar)(n(101),t),(0,r.__exportStar)(n(102),t),(0,r.__exportStar)(n(103),t),(0,r.__exportStar)(n(104),t),(0,r.__exportStar)(n(105),t),(0,r.__exportStar)(n(106),t),(0,r.__exportStar)(n(107),t),(0,r.__exportStar)(n(108),t),(0,r.__exportStar)(n(109),t),(0,r.__exportStar)(n(110),t),(0,r.__exportStar)(n(112),t),(0,r.__exportStar)(n(113),t),(0,r.__exportStar)(n(114),t),(0,r.__exportStar)(n(115),t),(0,r.__exportStar)(n(116),t),(0,r.__exportStar)(n(117),t),(0,r.__exportStar)(n(118),t);const i=(0,r.__importDefault)(n(100)),s=(0,r.__importDefault)(n(101)),o=(0,r.__importDefault)(n(102)),a=(0,r.__importDefault)(n(103)),c=(0,r.__importDefault)(n(104)),u=(0,r.__importDefault)(n(105)),l=(0,r.__importDefault)(n(106)),d=(0,r.__importDefault)(n(107)),p=(0,r.__importDefault)(n(108)),h=(0,r.__importDefault)(n(109)),f=(0,r.__importDefault)(n(110)),m=(0,r.__importDefault)(n(112)),g=(0,r.__importDefault)(n(113)),y=(0,r.__importDefault)(n(114)),b=(0,r.__importDefault)(n(115)),v=(0,r.__importDefault)(n(116)),_=(0,r.__importDefault)(n(117)),S=(0,r.__importDefault)(n(118));t.core=function(e){e.use(d.default),e.use(u.default),e.use(o.default),e.use(c.default),e.use(p.default),e.use(_.default)},t.default=function(e){e.use(i.default),e.use(m.default),e.use(s.default),e.use(a.default),e.use(l.default),e.use(h.default),e.use(f.default),e.use(g.default),e.use(y.default),e.use(b.default),e.use(v.default),e.use(S.default)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"XRD",fields:{subject:(0,r.childText)(null,"Subject")},namespace:i.NS_XRD,path:"xrd"},{aliases:[{path:"xrd.links",multiple:!0}],element:"Link",fields:{href:(0,r.attribute)("href"),rel:(0,r.attribute)("rel"),type:(0,r.attribute)("type")},namespace:i.NS_XRD}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessengerExtension=void 0;const r=n(296),i=n(10),s=n(23);class o extends r.Emitter{constructor(e,t){super(),this.client=e,this.stanzaInstance=t}get bareJid(){return i.toBare(this.stanzaInstance.jid)}handleStanzaInstanceChange(e){this.stanzaInstance=e}isMediaMessage(e){return!!e.mediaMessage}handleMessage(e){if(!this.isMediaMessage(e))return;const t=e.from===this.stanzaInstance.jid,n=i.toBare(e.from)===this.bareJid;this.emit("mediaMessage",{...e,fromMyClient:t,fromMyUser:n})}async broadcastMessage(e){const t=s.v4();return e.id=t,e.from=this.stanzaInstance.jid,e.to||(e.to=this.bareJid),await this.stanzaInstance.send("message",e),t}get expose(){return{broadcastMessage:this.broadcastMessage.bind(this),on:this.on.bind(this),once:this.once.bind(this),off:this.off.bind(this),removeListener:this.removeListener.bind(this),addListener:this.addListener.bind(this)}}}t.MessengerExtension=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Client=void 0;const r=n(21),i=n(221),s=n(297);n(235);const o=n(236),a=n(238),c=n(283),u=n(284),l=n(16),d=n(34),p=r.__importDefault(n(7)),h=n(285),f=n(65),m=r.__importDefault(n(295)),g=r.__importDefault(n(200)),y=n(83),b=n(63);let v={notifications:o.Notifications,webrtcSessions:a.WebrtcExtension,messenger:b.MessengerExtension};class _ extends p.default{constructor(e){super(),this.connected=!1,this.connecting=!1,this.hardReconnectRequired=!0,this.isGuest=!1,this.backgroundAssistantMode=!1,this.autoReconnect=!0,this.extensions=[],this.channelReuses=0,this.hasMadeInitialAttempt=!1,this.http=new d.HttpClient,this.reconnectOnNoLongerSubscribed=!1!==e.reconnectOnNoLongerSubscribed,this.useServerSidePings=!1!==e.useServerSidePings,this.config={host:e.host,apiHost:e.apiHost||e.host.replace("wss://streaming.",""),authToken:e.authToken,jwt:e.jwt,jid:e.jid,jidResource:e.jidResource,channelId:null,appName:e.appName,appVersion:e.appVersion,appId:e.appId,customHeaders:e.customHeaders},this.backgroundAssistantMode=this.checkIsBackgroundAssistant(),this.isGuest=!this.backgroundAssistantMode&&!e.authToken;let t=e.authToken||"",n=`https://api.${this.config.apiHost}/api/v2/diagnostics/trace`;this.backgroundAssistantMode&&(t=e.jwt,n+="/backgroundassistant"),this.logger=new s.Logger({accessToken:t,url:n,uploadDebounceTime:1e3,initializeServerLogging:!this.isGuest&&!e.optOutOfWebrtcStatsTelemetry,appVersion:_.version,appName:"streaming-client",logLevel:this.config.logLevel||"info",logger:e.logger||console,formatters:e.logFormatters,originAppName:e.appName,originAppVersion:e.appVersion,originAppId:e.appId,customHeaders:e.customHeaders}),this.connectionManager=new h.ConnectionManager(this.logger,this.config),Object.keys(v).forEach(t=>{const n=new v[t](this,e);this.extensions.push(n),n.tokenBucket||(n.tokenBucket=new i.TokenBucket(20,25,1e3),n.tokenBucket.content=25),"function"==typeof n.on&&n.on("send",this.handleSendEventFromExtension.bind(this,n)),this[t]=n.expose,this["_"+t]=n})}handleSendEventFromExtension(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.tokenBucket.removeTokens(1,()=>{const e=this.activeStanzaInstance;return e?!0===n?e.sendMessage(t):e.sendIQ(t):this.logger.warn("cannot send message, no active stanza client",{data:t,message:n},{skipServer:!0})})}checkIsBackgroundAssistant(){if(this.config.jwt){const e=l.parseJwt(this.config.jwt);return e&&"urn:purecloud:screenrecording"===e.iss}return!1}addInateEventHandlers(e){this.removeStanzaBoundEventHandlers(),this.boundStanzaDisconnect=this.handleStanzaDisconnectedEvent.bind(this,e),this.boundStanzaNoLongerSubscribed=this.handleNoLongerSubscribed.bind(this,e),this.boundStanzaDuplicateId=this.handleDuplicateId.bind(this,e),this.on("stanzaDisconnected",this.boundStanzaDisconnect),this.on("notify:no_longer_subscribed",this.boundStanzaNoLongerSubscribed),this.on("notify:duplicate_id",this.boundStanzaDuplicateId),this.extensions.forEach(t=>{"function"==typeof t.handleIq&&e.on("iq",t.handleIq.bind(t)),"function"==typeof t.handleMessage&&e.on("message",t.handleMessage.bind(t))})}removeStanzaBoundEventHandlers(){this.boundStanzaDisconnect&&(this.off("stanzaDisconnected",this.boundStanzaDisconnect),this.boundStanzaDisconnect=void 0),this.boundStanzaNoLongerSubscribed&&(this.off("notify:no_longer_subscribed",this.boundStanzaNoLongerSubscribed),this.boundStanzaNoLongerSubscribed=void 0),this.boundStanzaDuplicateId&&(this.off("notify:duplicate_id",this.boundStanzaDuplicateId),this.boundStanzaDuplicateId=void 0)}proxyStanzaEvents(e){var t=this;e.originalEmitter=e.emit,e.emit=function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];const o=e.originalEmitter(n,...i);return"connected"===n?o:("disconnected"===n&&(n="stanzaDisconnected"),t.emit(n,...i))}}async handleStanzaDisconnectedEvent(e){var t,n;if(this.logger.info("stanzaDisconnected event received",{stanzaInstanceId:e.id,channelId:e.channelId}),this.connected=!1,this.connecting=!1,null===(t=e.pinger)||void 0===t||t.stop(),null===(n=e.serverMonitor)||void 0===n||n.stop(),this.removeAllListeners("stanzaDisconnected"),this.removeAllListeners("notify:no_longer_subscribed"),e.originalEmitter&&(e.emit=e.originalEmitter),this.activeStanzaInstance=void 0,this.emit("disconnected",{reconnecting:this.autoReconnect}),this.autoReconnect)return this.connect({keepTryingOnFailure:!0})}handleNoLongerSubscribed(e){var t,n;this.logger.warn("noLongerSubscribed event received",{stanzaInstanceId:e.id,channelId:e.channelId}),null===(t=e.pinger)||void 0===t||t.stop(),null===(n=e.serverMonitor)||void 0===n||n.stop(),this.hardReconnectRequired=!0,this.reconnectOnNoLongerSubscribed||(this.autoReconnect=!1)}handleDuplicateId(e){var t,n;this.logger.warn("duplicate_id event received, forcing hard reconnect",{stanzaInstanceId:e.id,channelId:e.channelId}),null===(t=e.pinger)||void 0===t||t.stop(),null===(n=e.serverMonitor)||void 0===n||n.stop(),this.hardReconnectRequired=!0}async disconnect(){if(this.logger.info("streamingClient.disconnect was called"),this.activeStanzaInstance)return l.timeoutPromise(e=>(this.autoReconnect=!1,this.http.stopAllRetries(),this.activeStanzaInstance.disconnect().then(e)),5e3,"disconnecting streaming service")}getSessionStoreKey(){return"sc_connectionData_"+(this.config.appName||this.logger.clientId)}getConnectionData(){const e=sessionStorage.getItem(this.getSessionStoreKey()),t={currentDelayMs:0};if(e)try{return JSON.parse(e)}catch(e){return this.logger.warn("failed to parse streaming client connection data"),t}return t}setConnectionData(e){sessionStorage.setItem(this.getSessionStoreKey(),JSON.stringify(e))}increaseBackoff(){const e=this.getConnectionData(),t=Math.max(2*e.currentDelayMs,4e3),n={currentDelayMs:t,delayMsAfterNextReduction:t/2,nextDelayReductionTime:(new Date).getTime()+5*t,timeOfTotalReset:(new Date).getTime()+36e5};return this.setConnectionData(n),n}decreaseBackoff(e){const t=this.getConnectionData(),n=5*e,r={currentDelayMs:e,delayMsAfterNextReduction:e/2,nextDelayReductionTime:(new Date).getTime()+n,timeOfTotalReset:t.timeOfTotalReset};if(t.timeOfTotalReset&&t.timeOfTotalReset<(new Date).getTime()||e<2e3)return this.logger.debug("decreaseBackoff() called, but timeOfTotalReset has elasped or next delay is below 2s. Resetting backoff"),this.setConnectionData({currentDelayMs:0});this.setConnectionData(r),clearTimeout(this.backoffReductionTimer),this.logger.debug("Setting timer for next backoff reduction since we haven't reached total reset",{msUntilReduction:n,delayMsAfterNextReduction:r.delayMsAfterNextReduction}),this.backoffReductionTimer=setTimeout(()=>this.decreaseBackoff(r.delayMsAfterNextReduction),n)}getStartingDelay(e,t){const n=Math.max(e.currentDelayMs,2e3);return e.timeOfTotalReset&&e.timeOfTotalReset<(new Date).getTime()?2e3:Math.min(n,t)}async connect(e){var t;if(this.connecting){const e=new Error("Already trying to connect streaming client");return this.logger.warn(e)}this.connecting=!0;const n=(null==e?void 0:e.maxDelayBetweenConnectionAttempts)||9e4;let r=(null==e?void 0:e.maxConnectionAttempts)||1;(null==e?void 0:e.keepTryingOnFailure)&&(r=1/0),clearTimeout(this.backoffReductionTimer);const i=this.getConnectionData(),s=this.getStartingDelay(i,n),o=this.hasMadeInitialAttempt;this.hasMadeInitialAttempt=!0,i.currentDelayMs&&this.logger.debug("streamingClient.connect was called, but backoff is remembered",{currentDelayMs:i.currentDelayMs,delayingThisAttempt:o,clientId:this.logger.clientId,appName:this.config.appName});try{await f.backOff(async()=>{const e=this.getConnectionData();if(await this.makeConnectionAttempt(),e.nextDelayReductionTime){const t=e.nextDelayReductionTime-(new Date).getTime();this.logger.debug("Setting timer for next backoff reduction",{msUntilReduction:t,delayMsAfterNextReduction:e.delayMsAfterNextReduction}),this.backoffReductionTimer=setTimeout(()=>this.decreaseBackoff(e.delayMsAfterNextReduction||0),t)}},{jitter:"none",maxDelay:n,numOfAttempts:r,startingDelay:s,delayFirstAttempt:o,retry:this.backoffConnectRetryHandler.bind(this,{maxConnectionAttempts:r})})}catch(e){let n=e;if(e){if("AxiosError"===e.name){const r=e,i=r.config||{url:void 0,method:void 0};n={config:{url:i.url,method:i.method},status:null===(t=r.response)||void 0===t?void 0:t.status,code:r.code,name:r.name,message:r.message}}}else n=new Error("Streaming client connection attempted received and undefined error");if(this.logger.error("Failed to connect streaming client",{error:n}),!e)throw n;throw e}}async backoffConnectRetryHandler(e,t,n){var r,i,s,o,a;if(n>=e.maxConnectionAttempts)return!1;const c={connectionAttempt:n,error:t};if(t){if("AxiosError"===t.name){const e=t,n=e.config||{url:void 0,method:void 0};let s={config:{url:n.url,method:n.method},status:null===(r=e.response)||void 0===r?void 0:r.status,code:e.code,name:e.name,message:e.message};if(c.error=s,[401,403].includes((null===(i=t.response)||void 0===i?void 0:i.status)||0))return this.logger.error("Streaming client received an error that it can't recover from and will not attempt to reconnect",c),!1}}else c.error=new Error("streaming client backoff handler received undefined error");if(t instanceof g.default&&(this.logger.info("hardReconnectRequired set to true due to sasl error"),this.hardReconnectRequired=!0,Object.assign(c,{channelId:t.channelId,stanzaInstanceId:t.stanzaInstanceId})),t instanceof y.TimeoutError){c.error=t.message;const e=t.details;e&&(c.details=e)}if(null==t?void 0:t.response){const e=(null===(s=t.response.headers)||void 0===s?void 0:s["retry-after"])||(null===(a=(o=t.response).getResponseHeader)||void 0===a?void 0:a.call(o,"retry-after"));if(e){let n=1e3*parseInt(e,10);return c.retryDelay=n,this.logger.error("Failed streaming client connection attempt, respecting retry-after header and will retry afterwards.",c,{skipServer:t instanceof m.default}),await l.delay(n),this.logger.debug("finished waiting for retry-after"),!0}}const u=this.increaseBackoff();return this.logger.error("Failed streaming client connection attempt, retrying",c,{skipServer:t instanceof m.default}),this.logger.debug("debug: retry info",{expectedRetryInMs:u.currentDelayMs,appName:this.config.appName,clientId:this.logger.clientId}),!0}async makeConnectionAttempt(){var e,t;if(!navigator.onLine)throw new m.default("Browser is offline, skipping connection attempt");let n,r=this.connecting;try{await this.prepareForConnect(),n=await this.connectionManager.getNewStanzaConnection(),this.connected=!0,this.connecting=!1,this.addInateEventHandlers(n),this.proxyStanzaEvents(n);for(const e of this.extensions)e.configureNewStanzaInstance&&await e.configureNewStanzaInstance(n);for(const e of this.extensions)e.handleStanzaInstanceChange(n);this.activeStanzaInstance=n,await this.setupConnectionMonitoring(n),this.emit("connected")}catch(i){throw n&&(this.logger.error("Error occurred in connection attempt, but after websocket connected. Cleaning up connection so backoff is respected",{stanzaInstanceId:n.id,channelId:n.channelId}),this.removeStanzaBoundEventHandlers(),null===(e=n.pinger)||void 0===e||e.stop(),null===(t=n.serverMonitor)||void 0===t||t.stop(),await n.disconnect(),this.connected=!1,this.connecting=r),i}}async setupConnectionMonitoring(e){const t=t=>{const n=t+", falling back to client-side pinging";this.logger.warn(n,{stanzaInstanceId:e.id,channelId:e.channelId}),e.pinger=new c.Ping(this,e)};if(this.useServerSidePings)try{await e.subscribeToNode(this._notifications.pubsubHost,"enable.server.side.pings"),e.serverMonitor=new u.ServerMonitor(this,e)}catch(e){t("failed to establish server-side pinging")}else t("client configured to not use server-side pinging")}async prepareForConnect(){if(this.config.jwt)return this.hardReconnectRequired=!1,this.connectionManager.setConfig(this.config);if(this.hardReconnectRequired||(this.channelReuses++,this.channelReuses>=10&&(this.logger.warn("Forcing a hard reconnect due to max channel reuses",{channelId:this.config.channelId,channelReuses:this.channelReuses}),this.channelReuses=0,this.hardReconnectRequired=!0)),this.hardReconnectRequired){let e;if(this.config.jid)e=Promise.resolve(this.config.jid);else{const t={method:"get",host:this.config.apiHost,authToken:this.config.authToken,logger:this.logger,customHeaders:this.config.customHeaders};e=this.http.requestApi("users/me",t).then(e=>e.data.chat.jabberId)}const t={method:"post",host:this.config.apiHost,authToken:this.config.authToken,logger:this.logger,customHeaders:this.config.customHeaders},n=this.http.requestApi("notifications/channels?connectionType=streaming",t).then(e=>e.data.id),[r,i]=await Promise.all([e,n]);this.config.jid=r,this.config.channelId=i,this.autoReconnect=!0,this.logger.info("attempting to connect streaming client on channel",{channelId:i}),this.connectionManager.setConfig(this.config),this.hardReconnectRequired=!1}}stopServerLogging(){this.logger.sendAllLogsInstantly(),this._webrtcSessions.flushStats(),this.logger.stopServerLogging()}startServerLogging(){this.logger.startServerLogging()}setAccessToken(e){this.config.authToken=e,this.logger.setAccessToken(e)}static extend(e,t){if(v[e])throw new Error("Cannot register already existing namespace "+e);v[e]=t}get version(){return _.version}static get version(){return"17.2.3"}}t.Client=_},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(224),o=n(225);t.backOff=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return n=s.getSanitizedOptions(t),[4,new a(e,n).execute()];case 1:return[2,r.sent()]}}))}))};var a=function(){function e(e,t){this.request=e,this.options=t,this.attemptNumber=0}return e.prototype.execute=function(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:if(this.attemptLimitReached)return[3,7];t.label=1;case 1:return t.trys.push([1,4,,6]),[4,this.applyDelay()];case 2:return t.sent(),[4,this.request()];case 3:return[2,t.sent()];case 4:return e=t.sent(),this.attemptNumber++,[4,this.options.retry(e,this.attemptNumber)];case 5:if(!t.sent()||this.attemptLimitReached)throw e;return[3,6];case 6:return[3,0];case 7:throw new Error("Something went wrong.")}}))}))},Object.defineProperty(e.prototype,"attemptLimitReached",{get:function(){return this.attemptNumber>=this.options.numOfAttempts},enumerable:!0,configurable:!0}),e.prototype.applyDelay=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,o.DelayFactory(this.options,this.attemptNumber).apply()];case 1:return e.sent(),[2]}}))}))},e}()},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"hasBrowserEnv",(function(){return y})),n.d(r,"hasStandardBrowserWebWorkerEnv",(function(){return _})),n.d(r,"hasStandardBrowserEnv",(function(){return b}));var i=n(0),s=n(37),o=n(19);function a(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function c(e,t){this._pairs=[],e&&Object(o.a)(e,this,t)}const u=c.prototype;u.append=function(e,t){this._pairs.push([e,t])},u.toString=function(e){const t=e?function(t){return e.call(this,t,a)}:a;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var l=c;function d(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function p(e,t,n){if(!t)return e;const r=n&&n.encode||d,s=n&&n.serialize;let o;if(o=s?s(t,n):i.a.isURLSearchParams(t)?t.toString():new l(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var h=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){i.a.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},f=n(4),m={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},g={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:l,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const y="undefined"!=typeof window&&"undefined"!=typeof document,b=(v="undefined"!=typeof navigator&&navigator.product,y&&["ReactNative","NativeScript","NS"].indexOf(v)<0);var v;const _="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var S={...r,...g};var w=function(e){function t(e,n,r,s){let o=e[s++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),c=s>=e.length;if(o=!o&&i.a.isArray(r)?r.length:o,c)return i.a.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&i.a.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],s)&&i.a.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}(r[o])),!a}if(i.a.isFormData(e)&&i.a.isFunction(e.entries)){const n={};return i.a.forEachEntry(e,(e,r)=>{t(function(e){return i.a.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null};const T={transitional:m,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,s=i.a.isObject(e);s&&i.a.isHTMLForm(e)&&(e=new FormData(e));if(i.a.isFormData(e))return r&&r?JSON.stringify(w(e)):e;if(i.a.isArrayBuffer(e)||i.a.isBuffer(e)||i.a.isStream(e)||i.a.isFile(e)||i.a.isBlob(e))return e;if(i.a.isArrayBufferView(e))return e.buffer;if(i.a.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Object(o.a)(e,new S.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return S.isNode&&i.a.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=i.a.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Object(o.a)(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||r?(t.setContentType("application/json",!1),function(e,t,n){if(i.a.isString(e))try{return(t||JSON.parse)(e),i.a.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||T.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&i.a.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw f.a.from(e,f.a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:S.classes.FormData,Blob:S.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};i.a.forEach(["delete","get","head","post","put","patch"],e=>{T.headers[e]={}});var I=T;const A=i.a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const N=Symbol("internals");function E(e){return e&&String(e).trim().toLowerCase()}function x(e){return!1===e||null==e?e:i.a.isArray(e)?e.map(x):String(e)}function C(e,t,n,r,s){return i.a.isFunction(r)?r.call(this,t,n):(s&&(t=n),i.a.isString(t)?i.a.isString(r)?-1!==t.indexOf(r):i.a.isRegExp(r)?r.test(t):void 0:void 0)}class R{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function s(e,t,n){const s=E(t);if(!s)throw new Error("header name must be a non-empty string");const o=i.a.findKey(r,s);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=x(e))}const o=(e,t)=>i.a.forEach(e,(e,n)=>s(e,n,t));return i.a.isPlainObject(e)||e instanceof this.constructor?o(e,t):i.a.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&A[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&s(t,e,n),this}get(e,t){if(e=E(e)){const n=i.a.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(i.a.isFunction(t))return t.call(this,e,n);if(i.a.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=E(e)){const n=i.a.findKey(this,e);return!(!n||void 0===this[n]||t&&!C(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function s(e){if(e=E(e)){const s=i.a.findKey(n,e);!s||t&&!C(0,n[s],s,t)||(delete n[s],r=!0)}}return i.a.isArray(e)?e.forEach(s):s(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!C(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return i.a.forEach(this,(r,s)=>{const o=i.a.findKey(n,s);if(o)return t[o]=x(r),void delete t[s];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(s):String(s).trim();a!==s&&delete t[s],t[a]=x(r),n[a]=!0}),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return i.a.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&i.a.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(e=>{let[t,n]=e;return t+": "+n}).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.forEach(e=>t.set(e)),t}static accessor(e){const t=(this[N]=this[N]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=E(e);t[r]||(!function(e,t){const n=i.a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return i.a.isArray(e)?e.forEach(r):r(e),this}}R.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),i.a.reduceDescriptors(R.prototype,(e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}}),i.a.freezeMethods(R);var O=R;function P(e,t){const n=this||I,r=t||n,s=O.from(r.headers);let o=r.data;return i.a.forEach(e,(function(e){o=e.call(n,o,s.normalize(),t?t.status:void 0)})),s.normalize(),o}function k(e){return!(!e||!e.__CANCEL__)}function j(e,t,n){f.a.call(this,null==e?"canceled":e,f.a.ERR_CANCELED,t,n),this.name="CanceledError"}i.a.inherits(j,f.a,{__CANCEL__:!0});var L=j,M=n(38);var D=S.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const a=[e+"="+encodeURIComponent(t)];i.a.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.a.isString(r)&&a.push("path="+r),i.a.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function B(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var F=S.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=i.a.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};var q=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,s=0,o=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=r[o];i||(i=c),n[s]=a,r[s]=c;let l=o,d=0;for(;l!==s;)d+=n[l++],l%=e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const p=u&&c-u;return p?Math.round(1e3*d/p):void 0}};function U(e,t){let n=0;const r=q(50,250);return i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-n,c=r(a);n=s;const u={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:c||void 0,estimated:c&&o&&s<=o?(o-s)/c:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}var J="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const s=O.from(e.headers).normalize();let o,a,{responseType:c,withXSRFToken:u}=e;function l(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}if(i.a.isFormData(r))if(S.hasStandardBrowserEnv||S.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if(!1!==(a=s.getContentType())){const[e,...t]=a?a.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}let d=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(t+":"+n))}const h=B(e.baseURL,e.url);function g(){if(!d)return;const r=O.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new f.a("Request failed with status code "+n.status,[f.a.ERR_BAD_REQUEST,f.a.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:c&&"text"!==c&&"json"!==c?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d}),d=null}if(d.open(e.method.toUpperCase(),p(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,"onloadend"in d?d.onloadend=g:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(g)},d.onabort=function(){d&&(n(new f.a("Request aborted",f.a.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new f.a("Network Error",f.a.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||m;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new f.a(t,r.clarifyTimeoutError?f.a.ETIMEDOUT:f.a.ECONNABORTED,e,d)),d=null},S.hasStandardBrowserEnv&&(u&&i.a.isFunction(u)&&(u=u(e)),u||!1!==u&&F(h))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&D.read(e.xsrfCookieName);t&&s.set(e.xsrfHeaderName,t)}void 0===r&&s.setContentType(null),"setRequestHeader"in d&&i.a.forEach(s.toJSON(),(function(e,t){d.setRequestHeader(t,e)})),i.a.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),c&&"json"!==c&&(d.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",U(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",U(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=t=>{d&&(n(!t||t.type?new L(null,e,d):t),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(h);y&&-1===S.protocols.indexOf(y)?n(new f.a("Unsupported protocol "+y+":",f.a.ERR_BAD_REQUEST,e)):d.send(r||null)}))};const z={http:M.a,xhr:J};i.a.forEach(z,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const G=e=>"- "+e,H=e=>i.a.isFunction(e)||null===e||!1===e;var V=e=>{e=i.a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!H(n)&&(r=z[(t=String(n)).toLowerCase()],void 0===r))throw new f.a(`Unknown adapter '${t}'`);if(r)break;s[t||"#"+i]=r}if(!r){const e=Object.entries(s).map(e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")});let n=t?e.length>1?"since :\n"+e.map(G).join("\n"):" "+G(e[0]):"as no adapter specified";throw new f.a("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function W(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new L(null,e)}function $(e){W(e),e.headers=O.from(e.headers),e.data=P.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return V(e.adapter||I.adapter)(e).then((function(t){return W(e),t.data=P.call(e,e.transformResponse,t),t.headers=O.from(t.headers),t}),(function(t){return k(t)||(W(e),t&&t.response&&(t.response.data=P.call(e,e.transformResponse,t.response),t.response.headers=O.from(t.response.headers))),Promise.reject(t)}))}const Q=e=>e instanceof O?e.toJSON():e;function K(e,t){t=t||{};const n={};function r(e,t,n){return i.a.isPlainObject(e)&&i.a.isPlainObject(t)?i.a.merge.call({caseless:n},e,t):i.a.isPlainObject(t)?i.a.merge({},t):i.a.isArray(t)?t.slice():t}function s(e,t,n){return i.a.isUndefined(t)?i.a.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!i.a.isUndefined(t))return r(void 0,t)}function a(e,t){return i.a.isUndefined(t)?i.a.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function c(n,i,s){return s in t?r(n,i):s in e?r(void 0,n):void 0}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c,headers:(e,t)=>s(Q(e),Q(t),!0)};return i.a.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=u[r]||s,a=o(e[r],t[r],r);i.a.isUndefined(a)&&o!==c||(n[r]=a)})),n}const Y={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Y[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const X={};Y.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.5] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,s)=>{if(!1===e)throw new f.a(r(i," has been removed"+(t?" in "+t:"")),f.a.ERR_DEPRECATED);return t&&!X[i]&&(X[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,s)}};var Z={assertOptions:function(e,t,n){if("object"!=typeof e)throw new f.a("options must be an object",f.a.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const t=e[s],n=void 0===t||o(t,s,e);if(!0!==n)throw new f.a("option "+s+" must be "+n,f.a.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new f.a("Unknown option "+s,f.a.ERR_BAD_OPTION)}},validators:Y};const ee=Z.validators;class te{constructor(e){this.defaults=e,this.interceptors={request:new h,response:new h}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=K(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:s}=t;void 0!==n&&Z.assertOptions(n,{silentJSONParsing:ee.transitional(ee.boolean),forcedJSONParsing:ee.transitional(ee.boolean),clarifyTimeoutError:ee.transitional(ee.boolean)},!1),null!=r&&(i.a.isFunction(r)?t.paramsSerializer={serialize:r}:Z.assertOptions(r,{encode:ee.function,serialize:ee.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&i.a.merge(s.common,s[t.method]);s&&i.a.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=O.concat(o,s);const a=[];let c=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(c=c&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let l;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let d,p=0;if(!c){const e=[$.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),d=e.length,l=Promise.resolve(t);p<d;)l=l.then(e[p++],e[p++]);return l}d=a.length;let h=t;for(p=0;p<d;){const e=a[p++],t=a[p++];try{h=e(h)}catch(e){t.call(this,e);break}}try{l=$.call(this,h)}catch(e){return Promise.reject(e)}for(p=0,d=u.length;p<d;)l=l.then(u[p++],u[p++]);return l}getUri(e){return p(B((e=K(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}i.a.forEach(["delete","get","head","options"],(function(e){te.prototype[e]=function(t,n){return this.request(K(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.a.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(K(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}te.prototype[e]=t(),te.prototype[e+"Form"]=t(!0)}));var ne=te;class re{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new L(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new re((function(t){e=t})),cancel:e}}}var ie=re;const se={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(se).forEach(e=>{let[t,n]=e;se[n]=t});var oe=se;const ae=function e(t){const n=new ne(t),r=Object(s.a)(ne.prototype.request,n);return i.a.extend(r,ne.prototype,n,{allOwnKeys:!0}),i.a.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(K(t,n))},r}(I);ae.Axios=ne,ae.CanceledError=L,ae.CancelToken=ie,ae.isCancel=k,ae.VERSION="1.6.5",ae.toFormData=o.a,ae.AxiosError=f.a,ae.Cancel=ae.CanceledError,ae.all=function(e){return Promise.all(e)},ae.spread=function(e){return function(t){return e.apply(null,t)}},ae.isAxiosError=function(e){return i.a.isObject(e)&&!0===e.isAxiosError},ae.mergeConfig=K,ae.AxiosHeaders=O,ae.formToJSON=e=>w(i.a.isHTMLForm(e)?new FormData(e):e),ae.getAdapter=V,ae.HttpStatusCode=oe,ae.default=ae;t.a=ae},function(e,t,n){var r=n(210),i=n(68);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(8),i=n(41),s=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=s},function(e,t,n){var r=n(24),i=n(13),s=n(70);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(8),i=n(20),s=r.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(13);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(8),i=n(25),s=n(15),o=n(41),a=n(75),c=n(212),u=c.get,l=c.enforce,d=String(String).split("String");(e.exports=function(e,t,n,a){var c=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||s(n,"name")||i(n,"name",t),l(n).source=d.join("string"==typeof t?t:"")),e!==r?(c?!p&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},function(e,t,n){var r=n(68),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(67),i=n(44),s=r("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(79);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(46),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){(function(t){var n=function(e,t,n,r){if(this.bucketSize=e,this.tokensPerInterval=t,"string"==typeof n)switch(n){case"sec":case"second":this.interval=1e3;break;case"min":case"minute":this.interval=6e4;break;case"hr":case"hour":this.interval=36e5;break;case"day":this.interval=864e5;break;default:throw new Error("Invaid interval "+n)}else this.interval=n;this.parentBucket=r,this.content=0,this.lastDrip=+new Date};n.prototype={bucketSize:1,tokensPerInterval:1,interval:1e3,parentBucket:null,content:0,lastDrip:0,removeTokens:function(e,n){var r=this;return this.bucketSize?e>this.bucketSize?(t.nextTick(n.bind(null,"Requested tokens "+e+" exceeds bucket size "+this.bucketSize,null)),!1):(this.drip(),e>this.content?i():this.parentBucket?this.parentBucket.removeTokens(e,(function(t,s){return t?n(t,null):e>r.content?i():(r.content-=e,void n(null,Math.min(s,r.content)))})):(this.content-=e,t.nextTick(n.bind(null,null,this.content)),!0)):(t.nextTick(n.bind(null,null,e,Number.POSITIVE_INFINITY)),!0);function i(){var t=Math.ceil((e-r.content)*(r.interval/r.tokensPerInterval));return setTimeout((function(){r.removeTokens(e,n)}),t),!1}},tryRemoveTokens:function(e){return!this.bucketSize||!(e>this.bucketSize)&&(this.drip(),!(e>this.content)&&(!(this.parentBucket&&!this.parentBucket.tryRemoveTokens(e))&&(this.content-=e,!0)))},drip:function(){if(this.tokensPerInterval){var e=+new Date,t=Math.max(e-this.lastDrip,0);this.lastDrip=e;var n=t*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+n,this.bucketSize)}else this.content=this.bucketSize}},e.exports=n}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(227),i=function(){function e(e){this.options=e,this.attempt=0}return e.prototype.apply=function(){var e=this;return new Promise((function(t){return setTimeout(t,e.jitteredDelay)}))},e.prototype.setAttemptNumber=function(e){this.attempt=e},Object.defineProperty(e.prototype,"jitteredDelay",{get:function(){return r.JitterFactory(this.options)(this.delay)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delay",{get:function(){var e=this.options.startingDelay,t=this.options.timeMultiple,n=this.numOfDelayedAttempts,r=e*Math.pow(t,n);return Math.min(r,this.options.maxDelay)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numOfDelayedAttempts",{get:function(){return this.attempt},enumerable:!0,configurable:!0}),e}();t.Delay=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeoutError=void 0;class r extends Error{constructor(e){super(e)}}t.TimeoutError=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saslprep=t.resourceprep=t.nodeprep=t.NodePrepProhibited=t.nameprep=t.prepare=t.D2=t.D1=t.C9=t.C8=t.C7=t.C6=t.C5=t.C4=t.C3=t.C22=t.C21=t.C12=t.C11=t.B3=t.B2=t.B1=t.A1=t.Table=void 0;const r=(0,n(3).__importDefault)(n(47)),i=n(240);class s{constructor(e,t){this.singles=new Set,this.ranges=[],this.mappings=new Map;const n=i.TABLE_DATA[e];this.name=e,n?(n.s&&(this.singles=new Set(n.s.split("|").map(e=>parseInt(e,32)))),n.r&&(this.ranges=n.r.split("|").map(e=>{const[t,n]=e.split(":");return[parseInt(t,32),parseInt(n,32)]})),n.m&&(this.mappings=new Map(n.m.split("|").map(e=>{const[t,n]=e.split(":"),r=n.split(";").map(e=>parseInt(e,32));return[parseInt(t,32),r]})))):t&&(this.singles=new Set(t))}contains(e){if(this.singles.has(e))return!0;let t=0,n=this.ranges.length-1;for(;t<=n;){const r=Math.floor((t+n)/2),i=this.ranges[r];if(e<i[0])n=r-1;else{if(!(e>i[1]))return!0;t=r+1}}return!1}hasMapping(e){return this.mappings.has(e)||this.contains(e)}map(e){return this.contains(e)&&!this.mappings.has(e)?String.fromCodePoint(e).toLowerCase().codePointAt(0):this.mappings.get(e)||null}}function o(e,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const s=r.default.ucs2.decode(i);let o=[];for(const t of s){if(!n&&e.unassigned.contains(t))throw new Error("Unassigned code point: x"+t.toString(16));let r=!1;for(const n of e.mappings){if(!n.hasMapping(t))continue;r=!0;const e=n.map(t);e&&(Array.isArray(e)?o=o.concat(e):o.push(e))}r||o.push(t)}let a=o;if(e.normalize){const e=r.default.ucs2.encode(o).normalize("NFKC");a=r.default.ucs2.decode(e)}let c=!1,u=!1;for(const r of a){for(const t of e.prohibited)if(t.contains(r))throw new Error("Prohibited code point: x"+r.toString(16));if(!n&&e.unassigned.contains(r))throw new Error("Prohibited code point: x"+r.toString(16));e.bidirectional&&(c=c||t.D1.contains(r),u=u||t.D2.contains(r))}if(e.bidirectional){if(c&&u)throw new Error("String contained both LCat and RandALCat code points");if(c&&(!t.D1.contains(a[0])||!t.D1.contains(a[a.length-1])))throw new Error("String containing RandALCat code points must start and end with RandALCat code points")}return r.default.ucs2.encode(a)}t.Table=s,t.A1=new s("A.1"),t.B1=new s("B.1"),t.B2=new s("B.2"),t.B3=new s("B.3"),t.C11=new s("C.1.1"),t.C12=new s("C.1.2"),t.C21=new s("C.2.1"),t.C22=new s("C.2.2"),t.C3=new s("C.3"),t.C4=new s("C.4"),t.C5=new s("C.5"),t.C6=new s("C.6"),t.C7=new s("C.7"),t.C8=new s("C.8"),t.C9=new s("C.9"),t.D1=new s("D.1"),t.D2=new s("D.2"),t.B1.map=()=>null,t.C11.contains=e=>32===e,t.C12.map=e=>t.C12.contains(e)?32:null,t.prepare=o;const a={bidirectional:!0,mappings:[t.B1,t.B2],normalize:!0,prohibited:[t.C12,t.C22,t.C3,t.C4,t.C5,t.C6,t.C7,t.C8,t.C9],unassigned:t.A1};t.nameprep=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o(a,t,e)},t.NodePrepProhibited=new s("NodePrepProhibited",[34,38,39,47,58,60,62,64]);const c={bidirectional:!0,mappings:[t.B1,t.B2],normalize:!0,prohibited:[t.C11,t.C12,t.C21,t.C22,t.C3,t.C4,t.C5,t.C6,t.C7,t.C8,t.C9,t.NodePrepProhibited],unassigned:t.A1};t.nodeprep=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o(c,t,e)};const u={bidirectional:!0,mappings:[t.B1],normalize:!0,prohibited:[t.C12,t.C21,t.C22,t.C3,t.C4,t.C5,t.C6,t.C7,t.C8,t.C9],unassigned:t.A1};t.resourceprep=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o(u,t,e)};const l={bidirectional:!0,mappings:[t.C12,t.B1],normalize:!0,prohibited:[t.C12,t.C21,t.C22,t.C3,t.C4,t.C5,t.C6,t.C7,t.C8,t.C9],unassigned:t.A1};t.saslprep=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return o(l,t,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(49);t.default=class{constructor(){this.parents=new Set,this.placeholder=!1,this.typeField="",this.versionField="",this.defaultType="",this.defaultVersion="",this.languageField="lang",this.typeValues=new Map,this.typeOrders=new Map,this.importers=new Map,this.exporters=new Map,this.children=new Map,this.childrenIndex=new Map,this.implicitChildren=new Set,this.contexts=new Map}addChild(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;const s={multiple:n||!1,name:e,selector:r,translator:t},o=this.children.get(e);if(!o){s.translator.parents.add(this),this.children.set(e,s);for(const[n]of t.importers)this.implicitChildren.has(n)||this.childrenIndex.set(n,e);return void(i&&this.implicitChildren.add(i))}const a=o.translator;o.multiple=n,r&&o.selector&&r!==o.selector&&(o.selector=void 0);for(const[n,r]of t.importers){const[i,s]=(a.typeValues.get(n)||"").split("__v__");a.updateDefinition({contexts:t.contexts,element:r.element,exporterOrdering:new Map,exporters:new Map,importerOrdering:r.fieldOrders,importers:r.fields,namespace:r.namespace,optionalNamespaces:new Map,type:i,version:s}),this.implicitChildren.has(n)||this.childrenIndex.set(n,e)}for(const[e,n]of t.exporters){const[r,i]=e.split("__v__");a.updateDefinition({contexts:t.contexts,element:n.element,exporterOrdering:n.fieldOrders,exporters:n.fields,importerOrdering:new Map,importers:new Map,namespace:n.namespace,optionalNamespaces:n.optionalNamespaces,type:r,version:i})}}addContext(e,t,n,r,i,s){t&&(e=`${e}[${t}]`);let o=this.contexts.get(e);o||(o={typeField:"",versionField:"",typeValues:new Map}),s&&(o.impliedType=i),o.typeField=n||"",o.typeValues.set(r,i),this.contexts.set(e,o)}getChild(e){const t=this.children.get(e);if(t)return t.translator}getImportKey(e){return this.childrenIndex.get(`{${e.getNamespace()}}${e.getName()}`)}updateDefinition(e){const t=`{${e.namespace}}${e.element}`,n=e.type||this.defaultType,r=e.version||this.defaultVersion,i=r?`${n}__v__${r}`:n,s=this.importers.get(t)||{element:e.element,fieldOrders:new Map,fields:new Map,namespace:e.namespace};for(const[t,n]of e.importers)s.fields.set(t,n);for(const[t,n]of e.importerOrdering)s.fieldOrders.set(t,n);this.importers.set(t,s);const o=this.exporters.get(i)||{element:e.element,fieldOrders:new Map,fields:new Map,namespace:e.namespace,optionalNamespaces:e.optionalNamespaces};for(const[t,n]of e.exporters)o.fields.set(t,n);for(const[t,n]of e.exporterOrdering)o.fieldOrders.set(t,n);for(const[t,n]of e.optionalNamespaces)o.optionalNamespaces.set(t,n);this.exporters.set(i,o);for(const[t,n]of e.contexts){const e=this.contexts.get(t)||{impliedType:void 0,typeField:n.typeField,versionField:n.versionField,typeValues:new Map};e.typeField||(e.typeField=n.typeField),e.versionField||(e.versionField=n.versionField),e.impliedType||(e.impliedType=n.impliedType);for(const[t,r]of n.typeValues)e.typeValues.set(t,r);this.contexts.set(t,e)}if(e.type)this.typeValues.set(t,i),e.typeOrder&&e.type&&this.typeOrders.set(e.type,e.typeOrder);else if(this.typeField&&!e.type){for(const[,t]of this.importers){for(const[n,r]of e.importers)t.fields.set(n,r);for(const[n,r]of e.importerOrdering)t.fieldOrders.set(n,r)}for(const[,t]of this.exporters){for(const[n,r]of e.exporters)t.fields.set(n,r);for(const[n,r]of e.exporterOrdering)t.fieldOrders.set(n,r)}}}replaceWith(e){for(const[t,n]of this.children)e.children.set(t,n);for(const[t,n]of this.childrenIndex)e.childrenIndex.set(t,n);for(const[t,n]of this.contexts)e.contexts.set(t,n);for(const t of this.implicitChildren)e.implicitChildren.add(t);for(const t of this.parents)for(const n of t.children.values())n.translator===this&&(n.translator=e);this.parents=new Set}import(e,t){const n=`{${e.getNamespace()}}${e.getName()}`,r={},i=this.importers.get(n);if(!i)return;const s=this.typeValues.get(n)||"",[o,a]=s.split("__v__"),c=t.path||"";let u;if(t.pathSelector&&(u=this.contexts.get(`${c}[${t.pathSelector}]`)),u||(u=this.contexts.get(c)),u){if(!u.impliedType){const e=u.typeValues.get(n)||"";e&&(r[u.typeField]=e)}}else this.typeField&&o&&o!==this.defaultType&&(r[this.typeField]=o);this.versionField&&a&&a!==this.defaultVersion&&(r[this.versionField]=a);const l={...t,data:r,importer:i,lang:(e.getAttribute("xml:lang")||t.lang||"").toLowerCase(),pathSelector:o,translator:this},d=[...i.fieldOrders.entries()].sort((e,t)=>e[1]>t[1]?-1:e[1]<t[1]?1:0),p=d.filter(e=>e[1]>=0),h=d.filter(e=>e[1]<0);for(const[n]of p){const s=i.fields.get(n);l.path=`${t.path}.${n}`;const o=s(e,l);null!=o&&(r[n]=o)}for(const n of e.children){if("string"==typeof n)continue;const e=`{${n.getNamespace()}}${n.getName()}`,i=this.childrenIndex.get(e);if(!i)continue;l.path=`${t.path}.${i}`;const{translator:s,multiple:a,selector:c}=this.children.get(i);if(!c||c===o){const e=s.import(n,l);void 0!==e&&(a?(r[i]||(r[i]=[]),r[i].push(e)):r[i]?r[i]=s.resolveCollision(r[i],e):r[i]=e)}}for(const[n]of h){const s=i.fields.get(n);l.path=`${t.path}.${n}`;const o=s(e,l);null!=o&&(r[n]=o)}return r}export(e,t){if(!e)return;let n=this.defaultType,i=this.defaultVersion;const s=t.path||"";let o;t.pathSelector&&(o=this.contexts.get(`${s}[${t.pathSelector}]`)),o||(o=this.contexts.get(s)),o?n=o.impliedType||e[o.typeField]||this.defaultType:this.typeField&&(n=e[this.typeField]||this.defaultType),this.versionField&&(i=e[this.versionField]||this.defaultVersion);const a=i?`${n}__v__${i}`:n,c=this.exporters.get(a);if(!c)return;const u=(0,r.createElement)(c.namespace,c.element,t.namespace,t.element);t.element&&(u.parent=t.element);for(const[e,t]of c.optionalNamespaces)u.addOptionalNamespace(e,t);const l={...t,data:e,element:u,exporter:c,lang:(e[this.languageField]||t.lang||"").toLowerCase(),namespace:u.getDefaultNamespace(),pathSelector:n,translator:this},d=c.fields.get(this.languageField);d&&d(u,e[this.languageField],t);const p=Object.keys(e);p.sort((e,t)=>(c.fieldOrders.get(e)||1e5)-(c.fieldOrders.get(t)||1e5));for(const r of p){if(r===this.languageField)continue;const i=e[r],s=c.fields.get(r);if(s){s(u,i,l);continue}const o=this.children.get(r);if(!o)continue;l.path=`${t.path?t.path+".":""}${r}`;const{translator:a,multiple:d,selector:p}=o;if(!p||p===n){let e;e=d?null!=i?i:[]:[i];for(const t of e){const e=a.export(t,l);e&&u.appendChild(e)}}}return u}resolveCollision(e,t){return(this.typeOrders.get(e[this.typeField]||this.defaultType)||0)<=(this.typeOrders.get(t[this.typeField]||this.defaultType)||0)?e:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=void 0;const r=n(3),i=(0,r.__importDefault)(n(26));t.Hash=i.default;const s=(0,r.__importDefault)(n(253)),o=(0,r.__importDefault)(n(254)),a=(0,r.__importDefault)(n(255)),c=(0,r.__importDefault)(n(256)),u=new Map([["md5",s.default],["sha-1",o.default],["sha-256",a.default],["sha-512",c.default],["sha1",o.default],["sha256",a.default],["sha512",c.default]]);t.default=function(e){e=e.toLowerCase();const t=u.get(e);if(t)return new t;throw new Error("Unsupported hash algorithm: "+e)}},function(e,t,n){"use strict";(function(t,r){n(6);var i,s=n(32);e.exports=g,g.ReadableState=m;n(7).EventEmitter;var o=function(e,t){return e.listeners(t).length},a=n(7).EventEmitter,c=n(11).Buffer,u=t.Uint8Array||function(){};var l,d=Object.create(n(27)),p=n(251).BufferList,h=n(88);d.inherits(g,a);var f=["error","close","destroy","pause","resume"];function m(e,t){e=e||{};var r=t instanceof(i=i||n(22));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var s=e.highWaterMark,o=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:r&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=n(90).StringDecoder),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function g(e){if(i=i||n(22),!(this instanceof g))return new g(e);this._readableState=new m(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function y(e,t,n,r,i){var s,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,_(e)}(e,o)):(i||(s=function(e,t){var n;r=t,c.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(o,t)),s?e.emit("error",s):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?b(e,o,t,!1):w(e,o)):b(e,o,t,!1))):r||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function b(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&_(e)),w(e,t)}Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),g.prototype.destroy=h.destroy,g.prototype._undestroy=h.undestroy,g.prototype._destroy=function(e,t){this.push(null),t(e)},g.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=c.from(e,t),t=""),n=!0),y(this,e,t,!1,n)},g.prototype.unshift=function(e){return y(this,e,null,!0,!1)},g.prototype.isPaused=function(){return!1===this._readableState.flowing},g.prototype.setEncoding=function(e){return l||(l=n(90).StringDecoder),this._readableState.decoder=new l(e),this._readableState.encoding=e,this};function v(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.flowing,t.emittedReadable=!0,t.sync?s.nextTick(S,e):S(e))}function S(e){e.emit("readable"),N(e)}function w(e,t){t.readingMore||(t.readingMore=!0,s.nextTick(T,e,t))}function T(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function I(e){e.read(0)}function A(e,t){t.reading||e.read(0),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(t.flowing;t.flowing&&null!==e.read(););}function E(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var s=n.data,o=e>s.length?s.length:e;if(o===s.length?i+=s:i+=s.slice(0,e),0===(e-=o)){o===s.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=s.slice(o));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(n,n.length-e,0,o),0===(e-=o)){o===s.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(o));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function x(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,s.nextTick(C,t,e))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}g.prototype.read=function(e){e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return t.length,t.ended,0===t.length&&t.ended?x(this):_(this),null;if(0===(e=v(e,t))&&t.ended)return 0===t.length&&x(this),null;var r,i=t.needReadable;return(0===t.length||t.length-e<t.highWaterMark)&&(i=!0),t.ended||t.reading?i=!1:i&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=v(n,t))),null===(r=e>0?E(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&x(this)),null!==r&&this.emit("data",r),r},g.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},g.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,i.pipesCount;var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:y;function c(t,r){t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",y),n.removeListener("data",h),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function u(){e.end()}i.endEmitted?s.nextTick(a):n.once("end",a),e.on("unpipe",c);var l=function(e){return function(){var t=e._readableState;t.awaitDrain,t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,N(e))}}(n);e.on("drain",l);var d=!1;var p=!1;function h(t){p=!1,!1!==e.write(t)||p||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==R(i.pipes,e))&&!d&&(n._readableState.awaitDrain,n._readableState.awaitDrain++,p=!0),n.pause())}function f(t){y(),e.removeListener("error",f),0===o(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",g),y()}function g(){e.removeListener("close",m),y()}function y(){n.unpipe(e)}return n.on("data",h),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",m),e.once("finish",g),e.emit("pipe",n),i.flowing||n.resume(),e},g.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)r[s].emit("unpipe",this,n);return this}var o=R(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},g.prototype.on=function(e,t){var n=a.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&_(this):s.nextTick(I,this))}return n},g.prototype.addListener=g.prototype.on,g.prototype.resume=function(){var e=this._readableState;return e.flowing||(e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,s.nextTick(A,e,t))}(this,e)),this},g.prototype.pause=function(){return this._readableState.flowing,!1!==this._readableState.flowing&&(this._readableState.flowing=!1,this.emit("pause")),this},g.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var s=0;s<f.length;s++)e.on(f[s],this.emit.bind(this,f[s]));return this._read=function(t){r&&(r=!1,e.resume())},this},Object.defineProperty(g.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),g._fromList=E}).call(this,n(14),n(29))},function(e,t,n){"use strict";var r=n(32);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,s=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return s||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){"use strict";(function(t){n(6);var r=n(32);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=m;var s,o=r.nextTick;m.WritableState=f;var a=Object.create(n(27)),c=n(7).EventEmitter,u=n(11).Buffer,l=t.Uint8Array||function(){};var d,p=n(88);function h(){}function f(e,t){s=s||n(22),e=e||{};var a=t instanceof s;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:a&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,s=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,s){--t.pendingcb,n?(r.nextTick(s,i),r.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(s(i),e._writableState.errorEmitted=!0,e.emit("error",i),S(e,t))}(e,n,i,t,s);else{var a=v(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||b(e,n),i?o(y,e,n,a,s):y(e,n,a,s)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function m(e){if(s=s||n(22),!(d.call(m,this)||this instanceof s))return new m(e);this._writableState=new f(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function g(e,t,n,r,i,s,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function y(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function b(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,s=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0,c=!0;n;)s[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;s.allBuffers=c,g(e,t,!0,t.length,s,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,l=n.encoding,d=n.callback;if(g(e,t,!1,t.objectMode?1:u.length,u,l,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function v(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=v(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,r.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}a.inherits(m,c),f.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(f.prototype,"buffer",{get:function(){return this.getBuffer()}})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||this===m&&(e&&e._writableState instanceof f)}})):d=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,n){var i,s=this._writableState,o=!1,a=!s.objectMode&&(i=e,u.isBuffer(i)||i instanceof l);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=s.defaultEncoding),"function"!=typeof n&&(n=h),s.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),r.nextTick(t,n)}(this,n):(a||function(e,t,n,i){var s=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),r.nextTick(i,o),s=!1),s}(this,s,e,n))&&(s.pendingcb++,o=function(e,t,n,r,i,s){if(!n){var o=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n));return t}(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:s,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,a,r,i,s);return c}(this,s,a,e,t,n)),o},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||b(this,e))},m.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=p.destroy,m.prototype._undestroy=p.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(14))},function(e,t,n){"use strict";var r=n(11).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=p,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=o(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=o(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";e.exports=s;var r=n(22);function i(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);r.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",o)}function o(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){a(e,t,n)})):a(this,null,null)}function a(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}Object.create(n(27)).inherits(s,r),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},s.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},s.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},function(e,t,n){"use strict";n(6),Object.defineProperty(t,"__esModule",{value:!0}),t.Receiver=t.Sender=void 0;const r=n(3),i=n(7),s=(0,r.__importStar)(n(9)),o=n(5),a=n(1),c=(0,r.__importDefault)(n(54)),u=n(33),l=n(55);class d extends i.EventEmitter{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.config={chunkSize:16384,hash:"sha-1",...e},this.file=void 0,this.channel=void 0,this.hash=s.createHash(this.config.hash)}send(e,t){if(this.file&&this.channel)return;this.file=e,this.channel=t,this.channel.binaryType="arraybuffer";const n=new FileReader;let r=0,i=!1;const s=()=>{if(i||r>=e.size)return;i=!0;const t=e.slice(r,r+this.config.chunkSize);n.readAsArrayBuffer(t)};t.bufferedAmountLowThreshold=8*this.config.chunkSize,t.onbufferedamountlow=()=>{s()},n.addEventListener("load",t=>{const n=t.target.result;i=!1,r+=n.byteLength,this.channel.send(n),this.hash.update(new Uint8Array(n)),this.emit("progress",r,e.size,n),r<e.size?this.channel.bufferedAmount<=this.channel.bufferedAmountLowThreshold&&s():(this.emit("progress",e.size,e.size,null),this.emit("sentFile",{algorithm:this.config.hash,name:e.name,size:e.size,value:this.hash.digest()}))}),s()}}t.Sender=d;class p extends i.EventEmitter{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.config={hash:"sha-1",...e},this.receiveBuffer=[],this.received=0,this.channel=void 0,this.hash=s.createHash(this.config.hash)}receive(e,t){this.metadata=e,this.channel=t,this.channel.binaryType="arraybuffer",this.channel.onmessage=e=>{const t=e.data.byteLength;this.received+=t,this.receiveBuffer.push(e.data),e.data&&this.hash.update(new Uint8Array(e.data)),this.emit("progress",this.received,this.metadata.size,e.data),this.received===this.metadata.size?(this.metadata.actualhash=this.hash.digest("hex"),this.emit("receivedFile",new Blob(this.receiveBuffer),this.metadata),this.receiveBuffer=[]):this.received>this.metadata.size&&(console.error("received more than expected, discarding..."),this.receiveBuffer=[])}}}t.Receiver=p;class h extends c.default{constructor(e){super(e),this.sender=void 0,this.receiver=void 0,this.file=void 0}async start(e,t){if(t=t||(()=>{}),!e||"function"==typeof e)throw new Error("File object required");this.state="pending",this.role="initiator",this.file=e,this.sender=new d,this.sender.on("progress",(e,t)=>{this._log("info","Send progress "+e+"/"+t)}),this.sender.on("sentFile",e=>{this._log("info","Sent file",e.name),this.send(o.JingleAction.SessionInfo,{info:{creator:o.JingleSessionRole.Initiator,file:{hashes:[{algorithm:e.algorithm,value:e.value}]},infoType:o.JINGLE_INFO_CHECKSUM_5,name:this.contentName}}),this.parent.emit("sentFile",this,e)}),this.channel=this.pc.createDataChannel("filetransfer",{ordered:!0}),this.channel.onopen=()=>{this.sender.send(this.file,this.channel)};try{await this.processLocal(o.JingleAction.SessionInitiate,async()=>{const t=await this.pc.createOffer({offerToReceiveAudio:!1,offerToReceiveVideo:!1}),n=(0,u.importFromSDP)(t.sdp),r=(0,l.convertIntermediateToRequest)(n,this.role,this.transportType);this.contentName=r.contents[0].name,r.sid=this.sid,r.action=o.JingleAction.SessionInitiate,r.contents[0].application={applicationType:a.NS_JINGLE_FILE_TRANSFER_5,file:{date:e.lastModified?new Date(e.lastModified):void 0,hashesUsed:[{algorithm:"sha-1"}],name:e.name,size:e.size}},this.send("session-initiate",r),await this.pc.setLocalDescription(t)}),t()}catch(e){return this._log("error","Could not create WebRTC offer",e),this.end("failed-application",!0)}}async accept(e){this._log("info","Accepted incoming session"),this.role="responder",this.state="active",e=e||(()=>{});try{await this.processLocal(o.JingleAction.SessionAccept,async()=>{const e=await this.pc.createAnswer(),t=(0,u.importFromSDP)(e.sdp),n=(0,l.convertIntermediateToRequest)(t,this.role,this.transportType);n.sid=this.sid,n.action="session-accept";for(const e of n.contents)e.creator="initiator";this.contentName=n.contents[0].name,this.send("session-accept",n),await this.pc.setLocalDescription(e),await this.processBufferedCandidates()}),e()}catch(e){this._log("error","Could not create WebRTC answer",e),this.end("failed-application")}}async onSessionInitiate(e,t){this._log("info","Initiating incoming session"),this.role="responder",this.state="pending",this.transportType=e.contents[0].transport.transportType;const n=(0,l.convertRequestToIntermediate)(e,this.peerRole),r=(0,u.exportToSDP)(n),i=e.contents[0].application,s=i.file.hashesUsed?i.file.hashesUsed:i.file.hashes||[];this.receiver=new p({hash:s[0]&&s[0].algorithm}),this.receiver.on("progress",(e,t)=>{this._log("info","Receive progress "+e+"/"+t)}),this.receiver.on("receivedFile",e=>{this.receivedFile=e,this._maybeReceivedFile()}),this.receiver.metadata=i.file,this.pc.addEventListener("datachannel",e=>{this.channel=e.channel,this.receiver.receive(this.receiver.metadata,e.channel)});try{await this.pc.setRemoteDescription({type:"offer",sdp:r}),await this.processBufferedCandidates(),t()}catch(e){this._log("error","Could not create WebRTC answer",e),t({condition:"general-error"})}}onSessionInfo(e,t){const n=e.info;n&&n.file&&n.file.hashes&&(this.receiver.metadata.hashes=n.file.hashes,this.receiver.metadata.actualhash&&this._maybeReceivedFile(),t())}_maybeReceivedFile(){if(this.receiver.metadata.hashes&&this.receiver.metadata.hashes.length){for(const e of this.receiver.metadata.hashes||[])if(e.value&&e.value.toString("hex")===this.receiver.metadata.actualhash)return this._log("info","File hash matches"),this.parent.emit("receivedFile",this,this.receivedFile,this.receiver.metadata),void this.end("success");this._log("error","File hash does not match"),this.end("media-error")}}}t.default=h},function(e,t,n){"use strict";const r={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};r.localCName=r.generateIdentifier(),r.splitLines=function(e){return e.trim().split("\n").map(e=>e.trim())},r.splitSections=function(e){return e.split("\nm=").map((e,t)=>(t>0?"m="+e:e).trim()+"\r\n")},r.getDescription=function(e){const t=r.splitSections(e);return t&&t[0]},r.getMediaSections=function(e){const t=r.splitSections(e);return t.shift(),t},r.matchPrefix=function(e,t){return r.splitLines(e).filter(e=>0===e.indexOf(t))},r.parseCandidate=function(e){let t;t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" ");const n={foundation:t[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]};for(let e=8;e<t.length;e+=2)switch(t[e]){case"raddr":n.relatedAddress=t[e+1];break;case"rport":n.relatedPort=parseInt(t[e+1],10);break;case"tcptype":n.tcpType=t[e+1];break;case"ufrag":n.ufrag=t[e+1],n.usernameFragment=t[e+1];break;default:void 0===n[t[e]]&&(n[t[e]]=t[e+1])}return n},r.writeCandidate=function(e){const t=[];t.push(e.foundation);const n=e.component;"rtp"===n?t.push(1):"rtcp"===n?t.push(2):t.push(n),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.address||e.ip),t.push(e.port);const r=e.type;return t.push("typ"),t.push(r),"host"!==r&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),(e.usernameFragment||e.ufrag)&&(t.push("ufrag"),t.push(e.usernameFragment||e.ufrag)),"candidate:"+t.join(" ")},r.parseIceOptions=function(e){return e.substring(14).split(" ")},r.parseRtpMap=function(e){let t=e.substring(9).split(" ");const n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.channels=3===t.length?parseInt(t[2],10):1,n.numChannels=n.channels,n},r.writeRtpMap=function(e){let t=e.payloadType;void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType);const n=e.channels||e.numChannels||1;return"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==n?"/"+n:"")+"\r\n"},r.parseExtmap=function(e){const t=e.substring(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},r.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+(e.attributes?" "+e.attributes:"")+"\r\n"},r.parseFmtp=function(e){const t={};let n;const r=e.substring(e.indexOf(" ")+1).split(";");for(let e=0;e<r.length;e++)n=r[e].trim().split("="),t[n[0].trim()]=n[1];return t},r.writeFmtp=function(e){let t="",n=e.payloadType;if(void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.parameters&&Object.keys(e.parameters).length){const r=[];Object.keys(e.parameters).forEach(t=>{void 0!==e.parameters[t]?r.push(t+"="+e.parameters[t]):r.push(t)}),t+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return t},r.parseRtcpFb=function(e){const t=e.substring(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},r.writeRtcpFb=function(e){let t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(e=>{t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},r.parseSsrcMedia=function(e){const t=e.indexOf(" "),n={ssrc:parseInt(e.substring(7,t),10)},r=e.indexOf(":",t);return r>-1?(n.attribute=e.substring(t+1,r),n.value=e.substring(r+1)):n.attribute=e.substring(t+1),n},r.parseSsrcGroup=function(e){const t=e.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(e=>parseInt(e,10))}},r.getMid=function(e){const t=r.matchPrefix(e,"a=mid:")[0];if(t)return t.substring(6)},r.parseFingerprint=function(e){const t=e.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},r.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:r.matchPrefix(e+t,"a=fingerprint:").map(r.parseFingerprint)}},r.writeDtlsParameters=function(e,t){let n="a=setup:"+t+"\r\n";return e.fingerprints.forEach(e=>{n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),n},r.parseCryptoLine=function(e){const t=e.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},r.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?r.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},r.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;const t=e.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},r.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},r.getCryptoParameters=function(e,t){return r.matchPrefix(e+t,"a=crypto:").map(r.parseCryptoLine)},r.getIceParameters=function(e,t){const n=r.matchPrefix(e+t,"a=ice-ufrag:")[0],i=r.matchPrefix(e+t,"a=ice-pwd:")[0];return n&&i?{usernameFragment:n.substring(12),password:i.substring(10)}:null},r.writeIceParameters=function(e){let t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},r.parseRtpParameters=function(e){const t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=r.splitLines(e)[0].split(" ");t.profile=n[2];for(let i=3;i<n.length;i++){const s=n[i],o=r.matchPrefix(e,"a=rtpmap:"+s+" ")[0];if(o){const n=r.parseRtpMap(o),i=r.matchPrefix(e,"a=fmtp:"+s+" ");switch(n.parameters=i.length?r.parseFmtp(i[0]):{},n.rtcpFeedback=r.matchPrefix(e,"a=rtcp-fb:"+s+" ").map(r.parseRtcpFb),t.codecs.push(n),n.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(n.name.toUpperCase())}}}r.matchPrefix(e,"a=extmap:").forEach(e=>{t.headerExtensions.push(r.parseExtmap(e))});const i=r.matchPrefix(e,"a=rtcp-fb:* ").map(r.parseRtcpFb);return t.codecs.forEach(e=>{i.forEach(t=>{e.rtcpFeedback.find(e=>e.type===t.type&&e.parameter===t.parameter)||e.rtcpFeedback.push(t)})}),t},r.writeRtpDescription=function(e,t){let n="";n+="m="+e+" ",n+=t.codecs.length>0?"9":"0",n+=" "+(t.profile||"UDP/TLS/RTP/SAVPF")+" ",n+=t.codecs.map(e=>void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach(e=>{n+=r.writeRtpMap(e),n+=r.writeFmtp(e),n+=r.writeRtcpFb(e)});let i=0;return t.codecs.forEach(e=>{e.maxptime>i&&(i=e.maxptime)}),i>0&&(n+="a=maxptime:"+i+"\r\n"),t.headerExtensions&&t.headerExtensions.forEach(e=>{n+=r.writeExtmap(e)}),n},r.parseRtpEncodingParameters=function(e){const t=[],n=r.parseRtpParameters(e),i=-1!==n.fecMechanisms.indexOf("RED"),s=-1!==n.fecMechanisms.indexOf("ULPFEC"),o=r.matchPrefix(e,"a=ssrc:").map(e=>r.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute),a=o.length>0&&o[0].ssrc;let c;const u=r.matchPrefix(e,"a=ssrc-group:FID").map(e=>e.substring(17).split(" ").map(e=>parseInt(e,10)));u.length>0&&u[0].length>1&&u[0][0]===a&&(c=u[0][1]),n.codecs.forEach(e=>{if("RTX"===e.name.toUpperCase()&&e.parameters.apt){let n={ssrc:a,codecPayloadType:parseInt(e.parameters.apt,10)};a&&c&&(n.rtx={ssrc:c}),t.push(n),i&&(n=JSON.parse(JSON.stringify(n)),n.fec={ssrc:a,mechanism:s?"red+ulpfec":"red"},t.push(n))}}),0===t.length&&a&&t.push({ssrc:a});let l=r.matchPrefix(e,"b=");return l.length&&(l=0===l[0].indexOf("b=TIAS:")?parseInt(l[0].substring(7),10):0===l[0].indexOf("b=AS:")?1e3*parseInt(l[0].substring(5),10)*.95-16e3:void 0,t.forEach(e=>{e.maxBitrate=l})),t},r.parseRtcpParameters=function(e){const t={},n=r.matchPrefix(e,"a=ssrc:").map(e=>r.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute)[0];n&&(t.cname=n.value,t.ssrc=n.ssrc);const i=r.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=i.length>0,t.compound=0===i.length;const s=r.matchPrefix(e,"a=rtcp-mux");return t.mux=s.length>0,t},r.writeRtcpParameters=function(e){let t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},r.parseMsid=function(e){let t;const n=r.matchPrefix(e,"a=msid:");if(1===n.length)return t=n[0].substring(7).split(" "),{stream:t[0],track:t[1]};const i=r.matchPrefix(e,"a=ssrc:").map(e=>r.parseSsrcMedia(e)).filter(e=>"msid"===e.attribute);return i.length>0?(t=i[0].value.split(" "),{stream:t[0],track:t[1]}):void 0},r.parseSctpDescription=function(e){const t=r.parseMLine(e),n=r.matchPrefix(e,"a=max-message-size:");let i;n.length>0&&(i=parseInt(n[0].substring(19),10)),isNaN(i)&&(i=65536);const s=r.matchPrefix(e,"a=sctp-port:");if(s.length>0)return{port:parseInt(s[0].substring(12),10),protocol:t.fmt,maxMessageSize:i};const o=r.matchPrefix(e,"a=sctpmap:");if(o.length>0){const e=o[0].substring(10).split(" ");return{port:parseInt(e[0],10),protocol:e[1],maxMessageSize:i}}},r.writeSctpDescription=function(e,t){let n=[];return n="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&n.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),n.join("")},r.generateSessionId=function(){return Math.random().toString().substr(2,22)},r.writeSessionBoilerplate=function(e,t,n){let i;const s=void 0!==t?t:2;i=e||r.generateSessionId();return"v=0\r\no="+(n||"thisisadapterortc")+" "+i+" "+s+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},r.getDirection=function(e,t){const n=r.splitLines(e);for(let e=0;e<n.length;e++)switch(n[e]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return n[e].substring(2)}return t?r.getDirection(t):"sendrecv"},r.getKind=function(e){return r.splitLines(e)[0].split(" ")[0].substring(2)},r.isRejected=function(e){return"0"===e.split(" ",2)[1]},r.parseMLine=function(e){const t=r.splitLines(e)[0].substring(2).split(" ");return{kind:t[0],port:parseInt(t[1],10),protocol:t[2],fmt:t.slice(3).join(" ")}},r.parseOLine=function(e){const t=r.matchPrefix(e,"o=")[0].substring(2).split(" ");return{username:t[0],sessionId:t[1],sessionVersion:parseInt(t[2],10),netType:t[3],addressType:t[4],address:t[5]}},r.isValidSDP=function(e){if("string"!=typeof e||0===e.length)return!1;const t=r.splitLines(e);for(let e=0;e<t.length;e++)if(t[e].length<2||"="!==t[e].charAt(1))return!1;return!0},e.exports=r},function(e,t,n){var r=n(24),i=n(263),s=n(72),o=n(58),a=n(71),c=n(15),u=n(69),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return s(!i.f.call(e,t),e[t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(5),s=(0,r.__importDefault)(n(54)),o=n(33),a=n(55);function c(e){const t=e.application;if(t.streams&&t.streams.length&&t.sources&&t.sources.length){const e=t.streams[0];t.sources[0].parameters.msid=`${e.id} ${e.track}`,t.sourceGroups&&t.sourceGroups.length>0&&t.sources.push({parameters:{cname:t.sources[0].parameters.cname,msid:`${e.id} ${e.track}`},ssrc:t.sourceGroups[0].sources[1]})}}class u extends s.default{constructor(e){if(super(e),this.includesAudio=!1,this.includesVideo=!1,this._ringing=!1,this.pc.addEventListener("track",e=>{this.onAddTrack(e.track,e.streams[0])}),e.stream)for(const t of e.stream.getTracks())this.addTrack(t,e.stream)}get ringing(){return this._ringing}set ringing(e){e!==this._ringing&&(this._ringing=e)}get streams(){return"closed"!==this.pc.signalingState?this.pc.getRemoteStreams():[]}async start(e,t){this.state="pending",1===arguments.length&&"function"==typeof e&&(t=e,e={}),t=t||(()=>{}),e=e||{},this.role="initiator",this.offerOptions=e;try{await this.processLocal(i.JingleAction.SessionInitiate,async()=>{const t=await this.pc.createOffer(e),n=(0,o.importFromSDP)(t.sdp),r=(0,a.convertIntermediateToRequest)(n,this.role,this.transportType);r.sid=this.sid,r.action=i.JingleAction.SessionInitiate;for(const e of r.contents||[])e.creator="initiator",c(e);await this.pc.setLocalDescription(t),this.send("session-initiate",r)}),t()}catch(e){this._log("error","Could not create WebRTC offer",e),this.end("failed-application",!0)}}async accept(e,t){1===arguments.length&&"function"==typeof e&&(t=e,e={}),t=t||(()=>{}),e=e||{},this._log("info","Accepted incoming session"),this.state="active",this.role="responder";try{await this.processLocal(i.JingleAction.SessionAccept,async()=>{const t=await this.pc.createAnswer(e),n=(0,o.importFromSDP)(t.sdp),r=(0,a.convertIntermediateToRequest)(n,this.role,this.transportType);r.sid=this.sid,r.action=i.JingleAction.SessionAccept;for(const e of r.contents||[])e.creator="initiator";await this.pc.setLocalDescription(t),await this.processBufferedCandidates(),this.send("session-accept",r)}),t()}catch(e){this._log("error","Could not create WebRTC answer",e),this.end("failed-application")}}end(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];for(const e of this.pc.getReceivers())this.onRemoveTrack(e.track);super.end(e,t)}ring(){return this.processLocal("ring",async()=>{this._log("info","Ringing on incoming session"),this.ringing=!0,this.send(i.JingleAction.SessionInfo,{info:{infoType:i.JINGLE_INFO_RINGING}})})}mute(e,t){return this.processLocal("mute",async()=>{this._log("info","Muting",t),this.send(i.JingleAction.SessionInfo,{info:{creator:e,infoType:i.JINGLE_INFO_MUTE,name:t}})})}unmute(e,t){return this.processLocal("unmute",async()=>{this._log("info","Unmuting",t),this.send(i.JingleAction.SessionInfo,{info:{creator:e,infoType:i.JINGLE_INFO_UNMUTE,name:t}})})}hold(){return this.processLocal("hold",async()=>{this._log("info","Placing on hold"),this.send("session-info",{info:{infoType:i.JINGLE_INFO_HOLD}})})}resume(){return this.processLocal("resume",async()=>{this._log("info","Resuming from hold"),this.send("session-info",{info:{infoType:i.JINGLE_INFO_ACTIVE}})})}addTrack(e,t,n){return"audio"===e.kind&&(this.includesAudio=!0),"video"===e.kind&&(this.includesVideo=!0),this.processLocal("addtrack",async()=>{this.pc.addTrack?this.pc.addTrack(e,t):this.pc.addStream(t),n&&n()})}async removeTrack(e,t){return this.processLocal("removetrack",async()=>{if(this.pc.removeTrack(e),t)return t()})}onAddTrack(e,t){this._log("info","Track added"),this.parent.emit("peerTrackAdded",this,e,t)}onRemoveTrack(e){this._log("info","Track removed"),this.parent.emit("peerTrackRemoved",this,e)}async onSessionInitiate(e,t){this._log("info","Initiating incoming session"),this.state="pending",this.role="responder",this.transportType=e.contents[0].transport.transportType;const n=(0,a.convertRequestToIntermediate)(e,this.peerRole);for(const e of n.media)"audio"===e.kind&&(this.includesAudio=!0),"video"===e.kind&&(this.includesVideo=!0),e.streams||(e.streams=[{stream:"legacy",track:e.kind}]);const r=(0,o.exportToSDP)(n);try{return await this.pc.setRemoteDescription({type:"offer",sdp:r}),await this.processBufferedCandidates(),t()}catch(e){return this._log("error","Could not create WebRTC answer",e),t({condition:"general-error"})}}onSessionTerminate(e,t){for(const e of this.pc.getReceivers())this.onRemoveTrack(e.track);super.onSessionTerminate(e,t)}onSessionInfo(e,t){const n=e.info||{infoType:""};switch(n.infoType){case i.JINGLE_INFO_RINGING:return this._log("info","Outgoing session is ringing"),this.ringing=!0,this.parent.emit("ringing",this),t();case i.JINGLE_INFO_HOLD:return this._log("info","On hold"),this.parent.emit("hold",this),t();case i.JINGLE_INFO_UNHOLD:case i.JINGLE_INFO_ACTIVE:return this._log("info","Resuming from hold"),this.parent.emit("resumed",this),t();case i.JINGLE_INFO_MUTE:return this._log("info","Muting",n),this.parent.emit("mute",this,n),t();case i.JINGLE_INFO_UNMUTE:return this._log("info","Unmuting",n),this.parent.emit("unmute",this,n),t()}return t()}}t.default=u},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||s(t,e,n)},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))},c=this&&this.__generator||function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};Object.defineProperty(t,"__esModule",{value:!0});var u,l=n(7);o(n(282),t);var d=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.peerConnection=t,r.haveConnectionMetrics=!1,r.statsArr=[],u="undefined"!=typeof window,r.session=n.session,r.initiator=n.initiator,r.conference=n.conference,r.statsInterval=1e3*(n.interval||5),r.logger=n.logger||console,["new","checking"].includes(t.iceConnectionState)&&("checking"===t.iceConnectionState&&(r.logger.warn("iceConnectionState is already in checking state so ice connect time may not be accurate"),r.handleIceStateChange()),t.addEventListener("iceconnectionstatechange",r.handleIceStateChange.bind(r))),t.addEventListener("connectionstatechange",r.handleConnectionStateChange.bind(r)),"connected"===t.connectionState&&r.pollForStats(),r}return i(t,e),t.prototype.handleIceStateChange=function(){var e=this,t=this.peerConnection.iceConnectionState;if("checking"===t&&u&&(this.iceStartTime=window.performance.now()),"connected"===t){if(this.haveConnectionMetrics)return;this.haveConnectionMetrics=!0;var n=void 0,r=void 0,i=void 0;u&&(this.iceConnectionTime=window.performance.now()-this.iceStartTime,n=window.navigator.userAgent,r=window.navigator.platform,i=window.navigator.hardwareConcurrency);var s={name:"connect",userAgent:n,platform:r,cores:i,session:this.session,conference:this.conference,connectTime:this.iceConnectionTime};return this.waitForSelectedCandidatePair().then((function(t){e.gatherSelectedCandidateInfo(t,s),e.emit("stats",s)}))}if("failed"===t)return u&&(this.iceFailedTime=window.performance.now()-this.iceStartTime),this.gatherStats().then((function(t){var n={name:"failure",session:e.session,initiator:e.initiator,conference:e.conference,failTime:e.iceFailedTime,iceRW:0,numLocalHostCandidates:0,numLocalSrflxCandidates:0,numLocalRelayCandidates:0,numRemoteHostCandidates:0,numRemoteSrflxCandidates:0,numRemoteRelayCandidates:0},r=e.peerConnection.localDescription.sdp.split("\r\n").filter((function(e){return e.indexOf("a=candidate:")>-1})),i=e.peerConnection.remoteDescription.sdp.split("\r\n").filter((function(e){return e.indexOf("a=candidate:")>-1}));["Host","Srflx","Relay"].forEach((function(e){n["numLocal"+e+"Candidates"]=r.filter((function(t){return t.split(" ")[7]===e.toLowerCase()})).length,n["numRemote"+e+"Candidates"]=i.filter((function(t){return t.split(" ")[7]===e.toLowerCase()})).length})),e.emit("stats",n)}))},t.prototype.waitForSelectedCandidatePair=function(e,t){var n=this;return void 0===e&&(e=300),void 0===t&&(t=1),this.gatherStats().then((function(r){return n.getSelectedCandidatePair(r)?r:t>3?Promise.reject(new Error("Max wait attempts for connected candidate info reached")):new Promise((function(r,i){setTimeout((function(){return n.waitForSelectedCandidatePair(e,t+1).then(r,i)}),e)}))}))},t.prototype.getSelectedCandidatePair=function(e){var t=null;return e.forEach((function(e){var n=e.value;"candidate-pair"===n.type&&n.nominated&&"succeeded"===n.state&&(t=n)})),t},t.prototype.gatherSelectedCandidateInfo=function(e,t){var n=this.getSelectedCandidatePair(e);if(n){var r,i,s=n.localCandidateId,o=n.remoteCandidateId;if(e.forEach((function(e){e.key;var n=e.value;s&&"local-candidate"===n.type&&n.id===s&&(r=n,t.localCandidateType=n.candidateType),o&&"remote-candidate"===n.type&&n.id===o&&(i=n,t.remoteCandidateType=n.candidateType)})),r&&i&&(t.candidatePair=r.candidateType+";"+i.candidateType,t.candidatePairDetails={local:r,remote:i,pair:n}),r){if(t.transport=r.transport||r.protocol,r.priority){var a=parseInt(r.priority,10);t.turnType={2:"udp",1:"tcp",0:"tls"}[a>>24],t.networkType=r.networkType}t.usingIPv6=r.ipAddress&&0===r.ipAddress.indexOf("[")}}},t.prototype.handleConnectionStateChange=function(){return a(this,void 0,void 0,(function(){var e,t=this;return c(this,(function(n){if("connected"===(e=this.peerConnection.connectionState))this.pollForStats();else{if("disconnected"===e)return"stable"!==this.peerConnection.signalingState?[2]:[2,this.gatherStats().then((function(e){var n=t.createStatsReport(e);n.type="disconnected",t.emit("stats",n)}))];"closed"===e&&this.pollingInterval&&(u&&window.clearInterval(this.pollingInterval),this.pollingInterval=null)}return[2]}))}))},t.prototype.pollForStats=function(){var e=this;if(!this.pollingInterval){var t=function(){return e.gatherStats().then((function(t){var n=e.createStatsReport(t,!0);(n.tracks.length>0||n.remoteTracks.length>0)&&e.checkBitrate(n)&&e.emit("stats",n)}))};u&&(window.setTimeout(t,0),this.pollingInterval=window.setInterval(t,this.statsInterval))}},t.prototype.checkBitrate=function(e){var t;return e.remoteTracks.length&&0!==(null===(t=e.remoteTracks[0])||void 0===t?void 0:t.bitrate)?(this.statsArr=[],!0):!(this.statsArr.length>=5)&&(this.statsArr.push(e),!0)},t.prototype.polyFillStats=function(e){if(!e)return[];if(Array.isArray(e))return e;var t=[];if(this.isNativeStatsReport(e))e.forEach((function(e,n){t.push({key:n,value:e})}));else{if(!(Object.keys(e).length>0))return this.logger.warn("Unknown stats results format, returning unmodified",e),[];Object.keys(e).forEach((function(n){t.push({key:n,value:e[n]})}))}return t},t.prototype.isNativeStatsReport=function(e){return void 0!==window.RTCStatsReport&&e instanceof window.RTCStatsReport},t.prototype.gatherStats=function(){return a(this,void 0,void 0,(function(){var e;return c(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.peerConnection.getStats(null).then(this.polyFillStats.bind(this))];case 1:return[2,t.sent()];case 2:return e=t.sent(),this.logger.error("Failed to gather stats. Are you using RTCPeerConnection as your connection? {expect peerconnection.getStats}",{peerConnection:this.peerConnection,err:e}),[2,Promise.reject(e)];case 3:return[2]}}))}))},t.prototype.createStatsReport=function(e,t){var n=this;void 0===t&&(t=!0);var r={name:"getStats",session:this.session,initiator:this.initiator,conference:this.conference,tracks:[],remoteTracks:[]};e.filter((function(e){return["inbound-rtp","outbound-rtp"].indexOf(e.value.type)>-1})).forEach((function(t){n.processSource({source:t.value,event:r,results:e})}));var i=e.find((function(e){return"candidate-pair"===e.value.type&&"succeeded"===e.value.state&&!0===e.value.nominated}));return i&&this.processSelectedCandidatePair({report:i.value,event:r,results:e}),t&&(this.lastResult=e),r},t.prototype.processSource=function(e){var t,n,r,i,s,o,a,c=e.source,u=e.results,l=e.event,d=new Date(c.timestamp),h=this.lastResult&&this.lastResult.find((function(e){return e.key===c.id}));(h=h&&h.value)&&(t=(t=this.lastResult&&this.lastResult.find((function(e){return e.value.localId===h.id})))&&t.value),u.forEach((function(e){e.value.localId===c.id?n=e.value:e.key===c.transportId?r=e.value:e.key===c.trackId?s=e.value:e.key===c.mediaSourceId?o=e.value:e.key===c.codecId&&(a=e.value)})),r&&(i=(i=u.find((function(e){return e.key===r.selectedCandidatePairId})))&&i.value),i&&(l.candidatePairHadActiveSource=!0);var f=c.kind||c.mediaType,m="outbound-rtp"===c.type,g={track:s&&s.trackIdentifier,kind:f,jitter:p("jitter",c,n),roundTripTime:p("roundTripTime",c,n),packetsLost:p("packetsLost",c,n)||0,packetLoss:0,bytes:parseInt(m?c.bytesSent:c.bytesReceived,10)||0};if(a&&(g.codec=a.payloadType+" "+a.mimeType+" "+a.clockRate),h){var y=parseInt(m?h.bytesSent:h.bytesReceived,10)||0,b=d.getTime()-new Date(h.timestamp).getTime();g.bitrate=Math.floor(8*(g.bytes-y)/b)}var v=p("packetsLost",h,t);m?(g.packetsSent=c.packetsSent,g.packetLoss=g.packetsLost/(g.packetsSent||1)*100,h&&(g.intervalPacketsSent=g.packetsSent-(h.packetsSent||0),g.intervalPacketsLost=g.packetsLost-(v||0),g.intervalPacketLoss=g.intervalPacketsLost/(g.intervalPacketsSent||1)*100),g.retransmittedBytesSent=c.retransmittedBytesSent,g.retransmittedPacketsSent=c.retransmittedPacketsSent):(g.packetsReceived=c.packetsReceived,g.packetLoss=g.packetsLost/(g.packetsReceived||1)*100,h&&(g.intervalPacketsReceived=g.packetsReceived-h.packetsReceived,g.intervalPacketsLost=g.packetsLost-v,g.intervalPacketLoss=g.intervalPacketsLost/(g.intervalPacketsReceived||1)*100)),s&&"audio"===f&&(s.remoteSource?(g.audioLevel=s.audioLevel,g.totalAudioEnergy=s.totalAudioEnergy):(g.echoReturnLoss=s.echoReturnLoss,g.echoReturnLossEnhancement=s.echoReturnLossEnhancement)),"audio"!==f||!o||s&&s.remoteSource||(g.audioLevel=o.audioLevel,g.totalAudioEnergy=o.totalAudioEnergy),Object.keys(g).forEach((function(e){return void 0===g[e]&&delete g[e]})),m?l.tracks.push(g):l.remoteTracks.push(g)},t.prototype.processSelectedCandidatePair=function(e){var t=this,n=e.report,r=e.event,i=e.results,s=n.localCandidateId,o=n.remoteCandidateId;r.localCandidateChanged=!!this.lastActiveLocalCandidate&&s!==this.lastActiveLocalCandidate.id,r.remoteCandidateChanged=!!this.lastActiveRemoteCandidate&&o!==this.lastActiveRemoteCandidate.id,(!this.lastActiveLocalCandidate||r.localCandidateChanged||r.remoteCandidateChanged)&&i.forEach((function(e){t.checkLastActiveCandidate({localId:s,remoteId:o,key:e.key,report:e.value})})),this.lastActiveLocalCandidate&&(r.networkType=this.lastActiveLocalCandidate.networkType,this.lastActiveRemoteCandidate&&(r.candidatePair=this.lastActiveLocalCandidate.candidateType+";"+this.lastActiveRemoteCandidate.candidateType)),r.bytesSent=n.bytesSent,r.bytesReceived=n.bytesReceived,r.requestsReceived=n.requestsReceived,r.requestsSent=n.requestsSent,r.responsesReceived=n.responsesReceived,r.responsesSent=n.responsesSent,r.consentRequestsSent=n.consentRequestsSent,r.totalRoundTripTime=n.totalRoundTripTime},t.prototype.checkLastActiveCandidate=function(e){var t=e.localId,n=e.remoteId,r=(e.key,e.report);t&&"local-candidate"===r.type&&r.id===t&&(this.lastActiveLocalCandidate=r),n&&"remote-candidate"===r.type&&r.id===n&&(this.lastActiveRemoteCandidate=r)},t}(l.EventEmitter);function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t.find((function(t){return t&&(t[e]||0===t[e])}));return r&&r[e]}t.default=d},function(e,t,n){"use strict";n.r(t),n.d(t,"Axios",(function(){return i})),n.d(t,"AxiosError",(function(){return s})),n.d(t,"CanceledError",(function(){return o})),n.d(t,"isCancel",(function(){return a})),n.d(t,"CancelToken",(function(){return c})),n.d(t,"VERSION",(function(){return u})),n.d(t,"all",(function(){return l})),n.d(t,"Cancel",(function(){return d})),n.d(t,"isAxiosError",(function(){return p})),n.d(t,"spread",(function(){return h})),n.d(t,"toFormData",(function(){return f})),n.d(t,"AxiosHeaders",(function(){return m})),n.d(t,"HttpStatusCode",(function(){return g})),n.d(t,"formToJSON",(function(){return y})),n.d(t,"getAdapter",(function(){return b})),n.d(t,"mergeConfig",(function(){return v}));var r=n(66);n.d(t,"default",(function(){return r.a}));const{Axios:i,AxiosError:s,CanceledError:o,isCancel:a,CancelToken:c,VERSION:u,all:l,Cancel:d,isAxiosError:p,spread:h,toFormData:f,AxiosHeaders:m,HttpStatusCode:g,formToJSON:y,getAdapter:b,mergeConfig:v}=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7),i=Math.pow(2,32),s=(e,t)=>(e%t+t)%t;class o extends r.EventEmitter{constructor(){super(),this.allowResume=!0,this.lastAck=0,this.handled=0,this.unacked=[],this.inboundStarted=!1,this.outboundStarted=!1,this.id=void 0,this.jid=void 0,this.allowResume=!0,this.started=!1,this.cacheHandler=()=>{},this._reset()}get started(){return this.outboundStarted&&this.inboundStarted}set started(e){e||(this.outboundStarted=!1,this.inboundStarted=!1)}get resumable(){return this.started&&this.allowResume}load(e){var t;this.id=e.id,this.allowResume=null===(t=e.allowResume)||void 0===t||t,this.handled=e.handled,this.lastAck=e.lastAck,this.unacked=e.unacked,this.emit("prebound",e.jid)}cache(e){this.cacheHandler=e}async bind(e){this.jid=e,await this._cache()}async enable(){this.emit("send",{allowResumption:this.allowResume,type:"enable"})}async resume(){this.emit("send",{handled:this.handled,previousSession:this.id,type:"resume"})}async enabled(e){this.id=e.id,this.allowResume=e.resume||!1,this.handled=0,this.inboundStarted=!0,await this._cache()}async resumed(e){this.id=e.previousSession,this.inboundStarted=!0,await this.process(e,!0),await this._cache()}async failed(e){await this.process(e);for(const[e,t]of this.unacked)this.emit("failed",{kind:e,stanza:t});this._reset(),await this._cache()}ack(){this.emit("send",{handled:this.handled,type:"ack"})}request(){this.emit("send",{type:"request"})}async process(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(void 0===e.handled)return;const n=s(e.handled-this.lastAck,i);for(let e=0;e<n&&this.unacked.length>0;e++){const[e,t]=this.unacked.shift();this.emit("acked",{kind:e,stanza:t})}if(this.lastAck=e.handled,t){const e=this.unacked;if(this.unacked=[],e.length){this.emit("begin-resend");for(const[t,n]of e)this.emit("resend",{kind:t,stanza:n});this.emit("end-resend")}}await this._cache()}async track(e,t){const n="enable"===t.type;return"sm"!==e||!n&&"resume"!==t.type?!!this.outboundStarted&&(("message"===e||"presence"===e||"iq"===e)&&(this.unacked.push([e,t]),await this._cache(),!0)):(n&&(this.handled=0),this.outboundStarted=!0,await this._cache(),!1)}async handle(){this.inboundStarted&&(this.handled=s(this.handled+1,i),await this._cache())}async hibernate(){if(!this.resumable)return this.shutdown();for(const[e,t]of this.unacked)this.emit("hibernated",{kind:e,stanza:t})}async shutdown(){return this.failed({type:"failed"})}async _cache(){try{await this.cacheHandler({allowResume:this.allowResume,handled:this.handled,id:this.id,jid:this.jid,lastAck:this.lastAck,unacked:this.unacked})}catch(e){console.error("Failed to cache stream state",e)}}_reset(){this.id="",this.inboundStarted=!1,this.outboundStarted=!1,this.lastAck=0,this.handled=0,this.unacked=[]}}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCRAM=t.DIGEST=t.OAUTH=t.PLAIN=t.EXTERNAL=t.ANONYMOUS=t.Hi=t.HMAC=t.H=t.XOR=t.createClientNonce=t.Factory=t.SimpleMech=void 0;const r=n(9),i=n(84);class s{constructor(e){this.authenticated=!1,this.mutuallyAuthenticated=!1,this.name=e}getCacheableCredentials(){return null}processChallenge(e){}processSuccess(e){this.authenticated=!0}finalize(){const e={authenticated:this.authenticated,mutuallyAuthenticated:this.mutuallyAuthenticated};return this.errorData&&(e.errorData=this.errorData),e}}t.SimpleMech=s;function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;return(0,r.randomBytes)(e).toString("hex")}function a(e,t){const n=[];for(let r=0;r<e.length;r++)n.push(e[r]^t[r]);return r.Buffer.from(n)}function c(e,t){return(0,r.createHash)(t).update(e).digest()}function u(e,t,n){return(0,r.createHmac)(n,e).update(t).digest()}function l(e,t,n,i){let s=u(e,r.Buffer.concat([t,r.Buffer.from("00000001","hex")]),i),o=s;for(let t=0;t<n-1;t++)s=u(e,s,i),o=a(o,s);return o}function d(e){const t={},n=e.toString().split(/,(?=(?:[^"]|"[^"]*")*$)/);for(let e=0,r=n.length;e<r;e++){const r=/(\w+)=["]?([^"]+)["]?$/.exec(n[e]);r&&(t[r[1]]=r[2])}return t}function p(e){const t=[];for(const n of e)","===n?t.push("=2C"):"="===n?t.push("=3D"):t.push(n);return t.join("")}t.Factory=class{constructor(){this.mechanisms=[]}register(e,t,n){this.mechanisms.push({constructor:t,name:e.toUpperCase(),priority:n}),this.mechanisms.sort((e,t)=>t.priority-e.priority)}disable(e){const t=e.toUpperCase();this.mechanisms=this.mechanisms.filter(e=>e.name!==t)}createMechanism(e){const t=e.map(e=>e.toUpperCase());for(const e of this.mechanisms)for(const n of t)if(n===e.name)return new e.constructor(e.name);return null}},t.createClientNonce=o,t.XOR=a,t.H=c,t.HMAC=u,t.Hi=l;t.ANONYMOUS=class extends s{getExpectedCredentials(){return{optional:["trace"],required:[]}}createResponse(e){return r.Buffer.from(e.trace||"")}};t.EXTERNAL=class extends s{getExpectedCredentials(){return{optional:["authzid"],required:[]}}createResponse(e){return r.Buffer.from(e.authzid||"")}};t.PLAIN=class extends s{getExpectedCredentials(){return{optional:["authzid"],required:["username","password"]}}createResponse(e){return r.Buffer.from((e.authzid||"")+"\0"+e.username+"\0"+(e.password||e.token))}};t.OAUTH=class extends s{constructor(e){super(e),this.failed=!1,this.name=e}getExpectedCredentials(){return{optional:["authzid"],required:["token"]}}createResponse(e){if(this.failed)return r.Buffer.from("");const t=`n,${p((0,i.saslprep)(e.authzid))},`,n=`auth=Bearer ${e.token}`;return r.Buffer.from(t+""+n+"","utf8")}processChallenge(e){this.failed=!0,this.errorData=JSON.parse(e.toString("utf8"))}};t.DIGEST=class extends s{constructor(e){super(e),this.providesMutualAuthentication=!1,this.state="INITIAL",this.name=e}processChallenge(e){this.state="CHALLENGE";const t=d(e);this.authenticated=!!t.rspauth,this.realm=t.realm,this.nonce=t.nonce,this.charset=t.charset}getExpectedCredentials(){return{optional:["authzid","clientNonce","realm"],required:["host","password","serviceName","serviceType","username"]}}createResponse(e){if("INITIAL"===this.state||this.authenticated)return null;let t=e.serviceType+"/"+e.host;e.serviceName&&e.host!==e.serviceName&&(t+="/"+e.serviceName);const n=e.realm||this.realm||"",i=e.clientNonce||o(16),s="00000001";let a="";a+='username="'+e.username+'"',n&&(a+=',realm="'+n+'"'),a+=',nonce="'+this.nonce+'"',a+=',cnonce="'+i+'"',a+=",nc="+s,a+=",qop=auth",a+=',digest-uri="'+t+'"';const c=(0,r.createHash)("md5").update(e.username).update(":").update(n).update(":").update(e.password).digest(),u=(0,r.createHash)("md5").update(c).update(":").update(this.nonce).update(":").update(i);e.authzid&&u.update(":").update(e.authzid);const l=u.digest("hex"),d=(0,r.createHash)("md5").update("AUTHENTICATE:").update(t).digest("hex");return a+=",response="+(0,r.createHash)("md5").update(l).update(":").update(this.nonce).update(":").update(s).update(":").update(i).update(":").update("auth").update(":").update(d).digest("hex"),"utf-8"===this.charset&&(a+=",charset=utf-8"),e.authzid&&(a+=',authzid="'+e.authzid+'"'),r.Buffer.from(a)}};t.SCRAM=class{constructor(e){this.providesMutualAuthentication=!0,this.name=e,this.state="INITIAL",this.useChannelBinding=this.name.toLowerCase().endsWith("-plus"),this.algorithm=this.name.toLowerCase().split("scram-")[1].split("-plus")[0]}getExpectedCredentials(){const e=["username","password"];return this.useChannelBinding&&e.push("tlsUnique"),{optional:["authzid","clientNonce"],required:e}}getCacheableCredentials(){return this.cache}createResponse(e){return"INITIAL"===this.state?this.initialResponse(e):this.challengeResponse(e)}processChallenge(e){const t=d(e);this.salt=r.Buffer.from(t.s||"","base64"),this.iterationCount=parseInt(t.i,10),this.nonce=t.r,this.verifier=t.v,this.error=t.e,this.challenge=e}processSuccess(e){this.processChallenge(e)}finalize(){return this.verifier?this.serverSignature.toString("base64")!==this.verifier?{authenticated:!1,error:"Mutual authentication failed",mutuallyAuthenticated:!1}:{authenticated:!0,mutuallyAuthenticated:!0}:{authenticated:!1,error:this.error,mutuallyAuthenticated:!1}}initialResponse(e){const t=p((0,i.saslprep)(e.authzid)),n=p((0,i.saslprep)(e.username));this.clientNonce=e.clientNonce||o();let s="n";e.tlsUnique&&(s=this.useChannelBinding?"p=tls-unique":"y"),this.gs2Header=r.Buffer.from(t?`${s},a=${t},`:s+",,"),this.clientFirstMessageBare=r.Buffer.from(`n=${n},r=${this.clientNonce}`);const a=r.Buffer.concat([this.gs2Header,this.clientFirstMessageBare]);return this.state="CHALLENGE",a}challengeResponse(e){const t=r.Buffer.from("Client Key"),n=r.Buffer.from("Server Key"),s=r.Buffer.concat([this.gs2Header,e.tlsUnique||r.Buffer.from("")]).toString("base64"),o=r.Buffer.from(`c=${s},r=${this.nonce}`);let d,p,h;const f=e.salt&&0===r.Buffer.compare(e.salt,this.salt);f&&e.clientKey&&e.serverKey?(p=r.Buffer.from(e.clientKey),h=r.Buffer.from(e.serverKey)):f&&e.saltedPassword?(d=r.Buffer.from(e.saltedPassword),p=u(d,t,this.algorithm),h=u(d,n,this.algorithm)):(d=l(r.Buffer.from((0,i.saslprep)(e.password)),this.salt,this.iterationCount,this.algorithm),p=u(d,t,this.algorithm),h=u(d,n,this.algorithm));const m=c(p,this.algorithm),g=r.Buffer.from(","),y=r.Buffer.concat([this.clientFirstMessageBare,g,this.challenge,g,o]),b=a(p,u(m,y,this.algorithm)).toString("base64");this.serverSignature=u(h,y,this.algorithm);const v=r.Buffer.concat([o,r.Buffer.from(",p="+b)]);return this.state="FINAL",this.cache={clientKey:p,salt:this.salt,saltedPassword:d,serverKey:h},v}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.getAccountInfo=async t=>(await e.sendIQ({account:{},to:t,type:"get"})).account,e.updateAccount=(t,n)=>e.sendIQ({account:n,to:t,type:"set"}),e.deleteAccount=t=>e.sendIQ({account:{remove:!0},to:t,type:"set"}),e.getPrivateData=async t=>(await e.sendIQ({privateStorage:{[t]:{}},type:"get"})).privateStorage[t],e.setPrivateData=async(t,n)=>e.sendIQ({privateStorage:{[t]:n},type:"set"}),e.getVCard=async t=>(await e.sendIQ({to:t,type:"get",vcard:{format:r.NS_VCARD_TEMP}})).vcard,e.publishVCard=async t=>{await e.sendIQ({type:"set",vcard:t})},e.enableNotifications=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e.sendIQ({push:{action:"enable",form:{fields:[{name:"FORM_TYPE",type:"hidden",value:"http://jabber.org/protocol/pubsub#publish-options"},...r],type:"submit"},jid:t,node:n},type:"set"})},e.disableNotifications=(t,n)=>e.sendIQ({push:{action:"disable",jid:t,node:n},type:"set"})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_AVATAR_METADATA)),e.on("pubsub:published",t=>{if(t.pubsub.items.node!==r.NS_AVATAR_METADATA)return;const n=t.pubsub.items.published[0].content;e.emit("avatar",{avatars:n.versions||[],jid:t.from,source:"pubsub"})}),e.on("presence",t=>{t.vcardAvatar&&"string"==typeof t.vcardAvatar&&e.emit("avatar",{avatars:[{id:t.vcardAvatar}],jid:t.from,source:"vcard"})}),e.publishAvatar=(t,n)=>e.publish("",r.NS_AVATAR_DATA,{data:n,itemType:r.NS_AVATAR_DATA},t),e.useAvatars=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.publish("",r.NS_AVATAR_METADATA,{itemType:r.NS_AVATAR_METADATA,pointers:n,versions:t},"current")},e.getAvatar=(t,n)=>e.getItem(t,r.NS_AVATAR_DATA,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.registerFeature("bind",300,async(t,n)=>{try{const r=await e.sendIQ({bind:{resource:e.config.resource},type:"set"});e.features.negotiated.bind=!0,e.emit("session:prebind",r.bind.jid);const i=!t.legacySession||t.legacySession&&t.legacySession.optional;return!e.sessionStarted&&i&&e.emit("session:started",e.jid),n()}catch(e){return console.error(e),n("disconnect","JID binding failed")}}),e.registerFeature("legacySession",1e3,async(t,n)=>{if(e.sessionStarted||t.legacySession&&t.legacySession.optional)return e.features.negotiated.session=!0,n();try{return await e.sendIQ({legacySession:!0,type:"set"}),e.features.negotiated.session=!0,e.sessionStarted||(e.sessionStarted=!0,e.emit("session:started",e.jid)),n()}catch(e){return n("disconnect","Session requeset failed")}}),e.on("session:started",()=>{e.sessionStarted=!0}),e.on("session:prebind",t=>{e.jid=t,e.emit("session:bound",e.jid)}),e.on("--reset-stream-features",()=>{e.sessionStarted=!1,e.features.negotiated.bind=!1,e.features.negotiated.session=!1})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.disco.addFeature(r.NS_ADHOC_COMMANDS),e.disco.addItem({name:"Ad-Hoc Commands",node:r.NS_ADHOC_COMMANDS}),e.getCommands=t=>e.getDiscoItems(t,r.NS_ADHOC_COMMANDS)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1),i=n(12);async function s(e){if(e.sm.started)return new Promise(t=>{e.once("stream:management:ack",()=>t()),e.sm.request()});try{await e.ping()}catch(e){if(e.error&&"timeout"!==e.error.condition)return;throw e}}function o(e,t){e.features.negotiated.clientStateIndication&&e.send("csi",{type:t})}t.default=function(e){e.disco.addFeature(r.NS_PING),e.on("iq:get:ping",t=>{e.sendIQResult(t)}),e.on("--reset-stream-features",()=>{e._stopKeepAliveInterval(),e.features.negotiated.streamManagement=!1,e.features.negotiated.clientStateIndication=!1}),e.markActive=()=>o(e,"active"),e.markInactive=()=>o(e,"inactive"),e.ping=async t=>{await e.sendIQ({ping:!0,to:t,type:"get"})},e.enableKeepAlive=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e._keepAliveOptions=t;const n=t.interval||300,r=t.timeout||e.config.timeout||15;async function o(){if(e.sessionStarted)try{await(0,i.timeoutPromise)(s(e),1e3*r)}catch(t){e.emit("stream:error",{condition:"connection-timeout",text:"Server did not respond in "+r+" seconds"}),e.transport&&(e.transport.hasStream=!1,e.transport.disconnect(!1))}}clearInterval(e._keepAliveInterval),e._keepAliveInterval=setInterval(o,1e3*n)},e._stopKeepAliveInterval=()=>{e._keepAliveInterval&&(clearInterval(e._keepAliveInterval),delete e._keepAliveInterval)},e.disableKeepAlive=()=>{delete e._keepAliveOptions,e._stopKeepAliveInterval()},e.on("stream:management:resumed",()=>{e._keepAliveOptions&&e.enableKeepAlive(e._keepAliveOptions)}),e.on("stream:start",()=>{e._keepAliveOptions&&e.enableKeepAlive(e._keepAliveOptions)});const t=async(t,n)=>{if(!e.config.useStreamManagement)return n();const r=async t=>{switch(t.type){case"enabled":return await e.sm.enabled(t),e.features.negotiated.streamManagement=!0,e.off("sm",r),n();case"resumed":return await e.sm.resumed(t),e.features.negotiated.streamManagement=!0,e.features.negotiated.bind=!0,e.sessionStarted=!0,e.sessionStarting=!1,e.off("sm",r),e.emit("stream:management:resumed",t),n("break");case"failed":await e.sm.failed(t),e.off("sm",r),e.emit("session:end"),n()}};e.on("sm",r),e.sm.id?e.sm.id&&e.sm.allowResume?await e.sm.resume():(e.off("sm",r),n()):e.features.negotiated.bind?await e.sm.enable():(e.off("sm",r),n())};e.registerFeature("streamManagement",200,t),e.registerFeature("streamManagement",500,t),e.registerFeature("clientStateIndication",400,(t,n)=>{e.features.negotiated.clientStateIndication=!0,n()})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=(0,r.__importDefault)(n(288)),s=(0,r.__importStar)(n(10)),o=n(1);t.default=function(e){e.disco=new i.default,e.disco.addFeature(o.NS_DISCO_INFO),e.disco.addFeature(o.NS_DISCO_ITEMS),e.disco.addIdentity({category:"client",type:"web"}),e.registerFeature("caps",100,(t,n)=>{const r=s.getDomain(e.jid)||e.config.server;e.emit("disco:caps",{caps:t.legacyCapabilities||[],jid:r}),e.features.negotiated.caps=!0,n()}),e.getDiscoInfo=async(t,n)=>({extensions:[],features:[],identities:[],...(await e.sendIQ({disco:{node:n,type:"info"},to:t,type:"get"})).disco}),e.getDiscoItems=async(t,n)=>({items:[],...(await e.sendIQ({disco:{node:n,type:"items"},to:t,type:"get"})).disco}),e.updateCaps=()=>{const t=e.config.capsNode||"https://stanzajs.org";return e.disco.updateCaps(t)},e.getCurrentCaps=()=>{const t=e.disco.getCaps();if(!t)return;const n=`${t[0].node}#${t[0].value}`;return{info:e.disco.getNodeInfo(n),legacyCapabilities:t}},e.on("presence",t=>{t.legacyCapabilities&&e.emit("disco:caps",{caps:t.legacyCapabilities,jid:t.from})}),e.on("iq:get:disco",t=>{const{type:n,node:r}=t.disco;"info"===n&&e.sendIQResult(t,{disco:{...e.disco.getNodeInfo(r||""),node:r,type:"info"}}),"items"===n&&e.sendIQResult(t,{disco:{items:e.disco.items.get(r||"")||[],type:"items"}})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(5),s=n(1),o=(0,r.__importStar)(n(9));t.default=function(e){e.disco.addFeature("jid\\20escaping"),e.disco.addFeature(s.NS_DELAY),e.disco.addFeature(s.NS_EME_0),e.disco.addFeature(s.NS_FORWARD_0),e.disco.addFeature(s.NS_HASHES_2),e.disco.addFeature(s.NS_HASHES_1),e.disco.addFeature(s.NS_IDLE_1),e.disco.addFeature(s.NS_JSON_0),e.disco.addFeature(s.NS_OOB),e.disco.addFeature(s.NS_PSA),e.disco.addFeature(s.NS_REFERENCE_0),e.disco.addFeature(s.NS_SHIM),e.disco.addFeature(s.NS_DATAFORM),e.disco.addFeature(s.NS_DATAFORM_MEDIA),e.disco.addFeature(s.NS_DATAFORM_VALIDATION),e.disco.addFeature(s.NS_DATAFORM_LAYOUT);const t=o.getHashes();for(const n of t)e.disco.addFeature((0,s.NS_HASH_NAME)(n));e.disco.addFeature(s.NS_TIME),e.disco.addFeature(s.NS_VERSION),e.on("iq:get:softwareVersion",t=>e.sendIQResult(t,{softwareVersion:e.config.softwareVersion||{name:"stanzajs.org",version:i.VERSION}})),e.on("iq:get:time",t=>{const n=new Date;e.sendIQResult(t,{time:{tzo:n.getTimezoneOffset(),utc:n}})}),e.getSoftwareVersion=async t=>(await e.sendIQ({softwareVersion:{},to:t,type:"get"})).softwareVersion,e.getTime=async t=>(await e.sendIQ({time:{},to:t,type:"get"})).time,e.getLastActivity=async t=>(await e.sendIQ({lastActivity:{},to:t,type:"get"})).lastActivity}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.features={handlers:Object.create(null),negotiated:Object.create(null),order:[]},e.registerFeature=function(t,n,r){this.features.order.push({name:t,priority:n}),this.features.order.sort((e,t)=>e.priority-t.priority),this.features.handlers[t]=r.bind(e)},e.on("features",async t=>{const n=e.features.negotiated,r=e.features.handlers,i=[];for(const{name:s}of e.features.order)t[s]&&r[s]&&!n[s]&&i.push(s);function s(e){return new Promise(n=>{r[e](t,(e,t)=>{n(e?{command:e,message:t}:null)})})}for(const t of i){if(n[t])continue;let r="",i="";try{const e=await s(t);e&&(r=e.command,i=e.message||"")}catch(e){r="disconnect",i=e.message,console.error(e)}if(r)return"restart"===r&&e.transport&&e.transport.restart(),void("disconnect"===r&&(e.emit("stream:error",{condition:"policy-violation",text:"Failed to negotiate stream features: "+i}),e.disconnect()))}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.discoverBindings=async t=>{const n=new Set,i=new Set,s=e.resolver.getHostMeta(t).then(e=>{var t;for(const s of null!==(t=e.links)&&void 0!==t?t:[])s.href&&s.rel===r.NS_ALT_CONNECTIONS_WEBSOCKET&&i.add(s.href),s.href&&s.rel===r.NS_ALT_CONNECTIONS_XBOSH&&n.add(s.href)}).catch(e=>console.error(e)),o=e.config.allowAlternateDNSDiscovery?e.resolver.resolveTXT("_xmppconnect."+t).then(e=>{for(const t of e)for(const e of t){if(e.startsWith("_xmpp-client-websocket=")){const t=e.substring(e.indexOf("=")+1);t&&i.add(t)}if(e.startsWith("_xmpp-client-xbosh=")){const t=e.substring(e.indexOf("=")+1);t&&n.add(t)}}}).catch(e=>console.error(e)):Promise.resolve();return await Promise.all([s,o]).catch(e=>console.error(e)),{bosh:[...n].filter(e=>e.startsWith("https://")),websocket:[...i].filter(e=>e.startsWith("wss://"))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(9),s=(0,r.__importStar)(n(53)),o=n(1);t.default=function(e){const t=!!i.RTCPeerConnection,n={...{advertiseAudio:t,advertiseFileTransfer:t,advertiseVideo:t,bundlePolicy:"balanced",hasRTCPeerConnection:t,iceServers:[{urls:"stun:stun.l.google.com:19302"}],iceTransportPolicy:"all",rtcpMuxPolicy:"require",trickleIce:!0},...e.config.jingle},r=e.jingle=new s.SessionManager(n),a=[o.NS_JINGLE_1];n.hasRTCPeerConnection&&(a.push(o.NS_JINGLE_ICE_0,o.NS_JINGLE_ICE_UDP_1,o.NS_JINGLE_DTLS_SCTP_1,o.NS_JINGLE_DTLS_0,"urn:ietf:rfc:5888"),!1===n.trickleIce&&a.push("urn:ietf:rfc:3264"),(n.advertiseAudio||n.advertiseVideo)&&a.push(o.NS_JINGLE_RTP_1,o.NS_JINGLE_RTP_RTCP_FB_0,o.NS_JINGLE_RTP_HDREXT_0,"urn:ietf:rfc:5576"),n.advertiseAudio&&a.push(o.NS_JINGLE_RTP_AUDIO),n.advertiseVideo&&a.push(o.NS_JINGLE_RTP_VIDEO),n.advertiseFileTransfer&&a.push(o.NS_JINGLE_FILE_TRANSFER_4,o.NS_JINGLE_FILE_TRANSFER_5));for(const t of a)e.disco.addFeature(t);const c=["outgoing","incoming","accepted","terminated","ringing","mute","unmute","hold","resumed"];for(const t of c)r.on(t,(n,r)=>{e.emit("jingle:"+t,n,r)});r.on("createdSession",t=>{e.emit("jingle:created",t)}),r.on("send",async t=>{try{if("set"===t.type){const n=await e.sendIQ(t);n.jingle||(n.jingle={}),n.jingle.sid=t.jingle.sid,r.process(n)}"result"===t.type&&e.sendIQResult({type:"set",id:t.id,from:t.to},t),"error"===t.type&&e.sendIQError({type:"set",id:t.id,from:t.to},t)}catch(e){e.jingle||(e.jingle=t.jingle),e.jingle.sid=t.jingle.sid,r.process(e)}}),e.on("session:bound",e=>{r.selfID=e}),e.on("iq:set:jingle",e=>{r.process(e)}),e.on("unavailable",e=>{r.endPeerSessions(e.from,void 0,!0)}),e.getServices=async(t,n,r)=>{const i=(await e.sendIQ({externalServices:{type:n,version:r},to:t,type:"get"})).externalServices;return i.services=i.services||[],i},e.getServiceCredentials=async(t,n,r,i,s)=>(await e.sendIQ({externalServiceCredentials:{host:n,port:i,type:r,version:s},to:t,type:"get"})).externalServiceCredentials,e.discoverICEServers=async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{const n=(await e.getServices(e.config.server,void 0,t.version)).services||[],r=[];for(const t of n)e.jingle.addICEServer(t);return r}catch(e){return[]}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(111),s=(0,r.__importStar)(n(10)),o=n(1);t.default=function(e){e.getHistorySearchForm=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await e.sendIQ({archive:{type:"query",version:n.version},to:t,type:"get"});return r.archive.form},e.searchHistory=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.nextId();let a="";"string"==typeof t?a=t:(a=t.to||"",n=t),n.queryId=r;const c=n.form||{};c.type="submit";const u=c.fields||[],l=[{name:"FORM_TYPE",type:"hidden",value:o.NS_MAM_2}];n.with&&l.push({name:"with",type:"text-single",value:n.with}),n.start&&l.push({name:"start",type:"text-single",value:n.start.toISOString()}),n.end&&l.push({name:"end",type:"text-single",value:n.end.toISOString()}),c.fields=(0,i.mergeFields)(l,u),n.form=c;const d=s.allowedResponders(e.jid,a),p=[],h=e=>{d.has(e.from)&&e.archive&&e.archive.queryId===r&&p.push(e.archive)};e.on("mam:item",h);try{return{...(await e.sendIQ({archive:n,id:r,to:a,type:"set"})).archive,results:p}}finally{e.off("mam:item",h)}},e.getHistoryPreferences=async()=>(await e.sendIQ({archive:{type:"preferences"},type:"get"})).archive,e.setHistoryPreferences=t=>e.sendIQ({archive:{type:"preferences",...t},type:"set"}),e.on("message",t=>{t.archive&&e.emit("mam:item",t)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeFields=void 0,t.mergeFields=function(e,t){const n=[],r=new Map;for(const e of t)e.name&&r.set(e.name,e);const i=new Set;for(const t of e)t.name&&r.has(t.name)?(n.push({...t,...r.get(t.name)}),i.add(t.name)):n.push({...t});for(const e of t)(!e.name||e.name&&!i.has(e.name))&&n.push({...e});return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(3).__importStar)(n(10)),i=n(1),s=new Set(["chat","groupchat","headline","normal"]),o=new Set(["chat","groupchat","normal"]),a=new Map([["markable",0],["received",1],["displayed",2],["acknowledged",3]]),c=(e,t)=>{var n;return e.marker&&(a.get(e.marker.type)<a.get(t)||"markable"===(null===(n=e.marker)||void 0===n?void 0:n.type))};async function u(e,t){await e.sendIQ({carbons:{action:t},type:"set"})}t.default=function(e){e.disco.addFeature(i.NS_ATTENTION_0),e.disco.addFeature(i.NS_CHAT_MARKERS_0),e.disco.addFeature(i.NS_CHAT_STATES),e.disco.addFeature(i.NS_CORRECTION_0),e.disco.addFeature(i.NS_RECEIPTS),e.disco.addFeature(i.NS_RTT_0),e.enableCarbons=()=>u(e,"enable"),e.disableCarbons=()=>u(e,"disable"),e.markReceived=t=>e.sendMarker(t,"received"),e.markDisplayed=t=>e.sendMarker(t,"displayed"),e.markAcknowledged=t=>e.sendMarker(t,"acknowledged"),e.getAttention=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.sendMessage({...n,requestingAttention:!0,to:t,type:"headline"})},e.sendMarker=(t,n,i)=>{if(!c(t,n)&&!i)return;const s=!1!==e.config.groupchatMarkersUseStanzaID;let o=t.id;if("groupchat"===t.type&&t.stanzaIds&&s){const e=t.stanzaIds.find(e=>r.equalBare(e.by,t.from));e&&(o=e.id)}e.sendMessage({marker:{id:o,type:n},to:"groupchat"===t.type?r.toBare(t.from):t.from,type:t.type})},e.on("message",t=>{if(t.carbon&&r.equalBare(t.from,e.jid)){const n=t.carbon.forward.message;n.delay||(n.delay=t.carbon.forward.delay||{timestamp:new Date(Date.now())}),(e=>!!e.carbon&&"received"===e.carbon.type)(t)&&(e.emit("carbon:received",t),e.emit("message",n)),(e=>!!e.carbon&&"sent"===e.carbon.type)(t)&&(e.emit("carbon:sent",t),e.emit("message:sent",n,!0))}(e=>!!e.forms&&e.forms.length>0)(t)&&e.emit("dataform",t),t.requestingAttention&&e.emit("attention",t),(e=>!!e.rtt)(t)&&e.emit("rtt",t),(e=>!!e.replace)(t)&&e.emit("replace",t),(e=>!!e.chatState)(t)&&o.has(t.type||"normal")&&e.emit("chat:state",t);const n=!1!==e.config.sendReceipts,i=!1!==e.config.sendMUCReceipts,a=!1!==e.config.chatMarkers,u=!1!==e.config.groupchatMarkersUseStanzaID,l=(e=>{var t;return!!e.receipt&&"request"===e.receipt.type&&s.has(null!==(t=e.type)&&void 0!==t?t:"normal")})(t),d=c(t,"received"),p=l&&n&&("groupchat"!==t.type||i);if(p||a&&d){const n="groupchat"===t.type?r.toBare(t.from):t.from;let i=t.id;if("groupchat"===t.type&&t.stanzaIds&&u){const e=t.stanzaIds.find(e=>r.equalBare(e.by,t.from));e&&(i=e.id)}e.sendMessage({receipt:p?{id:t.id,type:"received"}:void 0,marker:a&&d?{id:i,type:"received"}:void 0,to:n,type:t.type})}t.receipt&&"received"===t.receipt.type&&e.emit("receipt",t),t.marker&&"markable"!==t.marker.type&&e.emit("marker:"+t.marker.type,t)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),i=n(5),s=(0,r.__importStar)(n(10)),o=n(1),a=n(12);t.default=function(e){e.disco.addFeature(o.NS_MUC),e.disco.addFeature(o.NS_MUC_DIRECT_INVITE),e.disco.addFeature(o.NS_HATS_0),e.joinedRooms=new Map,e.joiningRooms=new Map,e.leavingRooms=new Map,e.on("session:started",(function(){const t=e.joiningRooms;e.joiningRooms=new Map;for(const[n,r]of t)e.joinRoom(n,r);const n=e.joinedRooms;e.joinedRooms=new Map;for(const[t,r]of n)e.joinRoom(t,r)})),e.on("message",t=>{if("groupchat"!==t.type||!t.hasSubject||t.body){if(t.muc)if("direct-invite"===t.muc.type||!t.muc.invite&&t.legacyMUC){const n="direct-invite"===t.muc.type?t.muc:t.legacyMUC;e.emit("muc:invite",{from:t.from,password:n.password,reason:n.reason,room:n.jid,thread:n.thread,type:"direct"})}else t.muc.invite?e.emit("muc:invite",{from:t.muc.invite[0].from,password:t.muc.password,reason:t.muc.invite[0].reason,room:t.from,thread:t.muc.invite[0].thread,type:"mediated"}):t.muc.decline?e.emit("muc:declined",{from:t.muc.decline.from,reason:t.muc.decline.reason,room:t.from}):e.emit("muc:other",t)}else e.emit("muc:topic",{from:t.from,room:s.toBare(t.from),topic:t.subject||""})}),e.on("presence",t=>{const n=s.toBare(t.from);if(e.joiningRooms.has(n)&&"error"===t.type)return e.joiningRooms.delete(n),e.emit("muc:failed",t),void e.emit("muc:error",t);if(!function(e){return!!e.muc}(t))return;const r=t.muc.statusCodes&&t.muc.statusCodes.indexOf(i.MUCStatusCode.SelfPresence)>=0,o=t.muc.statusCodes&&t.muc.statusCodes.indexOf(i.MUCStatusCode.NickChanged)>=0;if("error"===t.type)return void e.emit("muc:error",t);if("unavailable"===t.type)return e.emit("muc:unavailable",t),r&&(o?e.joinedRooms.set(n,t.muc.nick):(e.emit("muc:leave",t),e.joinedRooms.delete(n),e.leavingRooms.delete(n))),void(t.muc.destroy&&e.emit("muc:destroyed",{newRoom:t.muc.destroy.jid,password:t.muc.destroy.password,reason:t.muc.destroy.reason,room:n}));e.emit("muc:available",t);const a=e.joiningRooms.has(n)||!e.joinedRooms.has(n);r&&(e.joinedRooms.set(n,s.getResource(t.from)),a&&(e.joiningRooms.delete(n),e.emit("muc:join",t)))}),e.joinRoom=async function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t=s.toBare(t),e.joiningRooms.set(t,n||""),!n)try{n=await e.getReservedNick(t),e.joiningRooms.set(t,n)}catch(e){throw new Error("Room nick required")}return new Promise((i,o)=>{function a(n){s.equalBare(n.from,t)&&(e.off("muc:join",a),e.off("muc:failed",c),i(n))}function c(n){s.equalBare(n.from,t)&&(e.off("muc:join",a),e.off("muc:failed",c),o(n))}e.on("muc:join",a),e.on("muc:failed",c),e.sendPresence({...r,muc:{...r.muc,type:"join"},to:s.createFull(t,n)})})},e.leaveRoom=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=s.toBare(t),n=n||e.joinedRooms.get(t),e.leavingRooms.set(t,n),new Promise((i,o)=>{const c=r.id||(0,a.uuid)(),u=s.allowedResponders(t);function l(n){s.equalBare(n.from,t)&&(e.off("muc:leave",l),e.off("presence:error",d),i(n))}function d(n){n.id===c&&u.has(n.from)&&(e.joinedRooms.has(t)||e.leavingRooms.delete(t),e.off("muc:leave",l),e.off("presence:error",d),o(n))}e.on("muc:leave",l),e.on("presence:error",d),e.sendPresence({...r,id:c,to:s.createFull(t,n),type:"unavailable"})})},e.ban=(t,n,r)=>e.setRoomAffiliation(t,n,"outcast",r),e.kick=(t,n,r)=>e.setRoomRole(t,n,"none",r),e.invite=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Array.isArray(n)||(n=[n]),e.sendMessage({muc:{invite:n,type:"info"},to:t})},e.directInvite=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.sendMessage({muc:{...r,jid:t,type:"direct-invite"},to:n})},e.declineInvite=(t,n,r)=>{e.sendMessage({muc:{decline:{reason:r,to:n},type:"info"},to:t})},e.changeNick=(t,n)=>{const r=(0,a.uuid)(),o=s.createFull(t,n),c=s.allowedResponders(t);return new Promise((t,n)=>{function a(n){c.has(s.toBare(n.from))&&n.muc.statusCodes&&n.muc.statusCodes.includes(i.MUCStatusCode.SelfPresence)&&(e.off("muc:available",a),e.off("presence:id:"+r,u),t(n))}function u(i){c.has(s.toBare(i.from))&&i.id===r&&(e.off("muc:available",a),e.off("presence:id:"+r,u),"error"===i.type?n(i):t(i))}e.on("muc:available",a),e.on("presence:id:"+r,u),e.sendPresence({id:r,to:o})})},e.setSubject=(t,n)=>{e.sendMessage({subject:n,to:t,type:"groupchat"})},e.getReservedNick=async t=>{try{const n=(await e.getDiscoInfo(t,"x-roomuser-item")).identities[0];if(n.name)return n.name;throw new Error("No nickname reserved")}catch(e){throw new Error("No nickname reserved")}},e.requestRoomVoice=t=>{e.sendMessage({forms:[{fields:[{name:"FORM_TYPE",type:"hidden",value:"http://jabber.org/protocol/muc#request"},{name:"muc#role",type:"text-single",value:"participant"}],type:"submit"}],to:t})},e.setRoomAffiliation=(t,n,r,i)=>e.sendIQ({muc:{type:"user-list",users:[{affiliation:r,jid:n,reason:i}]},to:t,type:"set"}),e.setRoomRole=(t,n,r,i)=>e.sendIQ({muc:{type:"user-list",users:[{nick:n,reason:i,role:r}]},to:t,type:"set"}),e.getRoomMembers=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{affiliation:"member"};return e.sendIQ({muc:{type:"user-list",users:[n]},to:t,type:"get"})},e.getRoomConfig=async t=>{const n=await e.sendIQ({muc:{type:"configure"},to:t,type:"get"});if(!n.muc.form)throw new Error("No configuration form returned");return n.muc.form},e.configureRoom=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.sendIQ({muc:{form:{...n,type:"submit"},type:"configure"},to:t,type:"set"})},e.destroyRoom=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.sendIQ({muc:{destroy:n,type:"configure"},to:t,type:"set"})},e.getUniqueRoomName=async function(e){const t=await this.sendIQ({muc:{type:"unique"},to:e,type:"get"});if(!t.muc.name)throw new Error("No unique name returned");return t.muc.name},e.getBookmarks=async()=>{const t=await e.getPrivateData("bookmarks");return t&&t.rooms?t.rooms:[]},e.setBookmarks=t=>e.setPrivateData("bookmarks",{rooms:t}),e.addBookmark=async t=>{const n=await e.getBookmarks(),r=[];let i=!1;for(const e of n)s.equalBare(e.jid,t.jid)?(r.push({...e,...t}),i=!0):r.push(e);return i||r.push(t),e.setBookmarks(r)},e.removeBookmark=async t=>{const n=(await e.getBookmarks()).filter(e=>!s.equalBare(e.jid,t));return e.setBookmarks(n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1);t.default=function(e){e.disco.addFeature(r.NS_ACTIVITY),e.disco.addFeature(r.NS_GEOLOC),e.disco.addFeature(r.NS_MOOD),e.disco.addFeature(r.NS_NICK),e.disco.addFeature(r.NS_TUNE),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_ACTIVITY)),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_GEOLOC)),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_MOOD)),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_NICK)),e.disco.addFeature((0,r.NS_PEP_NOTIFY)(r.NS_TUNE)),e.publishActivity=t=>e.publish("",r.NS_ACTIVITY,{itemType:r.NS_ACTIVITY,...t}),e.publishGeoLoc=t=>e.publish("",r.NS_GEOLOC,{itemType:r.NS_GEOLOC,...t}),e.publishMood=t=>e.publish("",r.NS_MOOD,{itemType:r.NS_MOOD,...t}),e.publishNick=t=>e.publish("",r.NS_NICK,{itemType:r.NS_NICK,nick:t}),e.publishTune=t=>e.publish("",r.NS_TUNE,{itemType:r.NS_TUNE,...t}),e.on("pubsub:published",t=>{const n=t.pubsub.items.published[0].content;switch(t.pubsub.items.node){case r.NS_ACTIVITY:return e.emit("activity",{activity:n,jid:t.from});case r.NS_GEOLOC:return e.emit("geoloc",{geoloc:n,jid:t.from});case r.NS_MOOD:return e.emit("mood",{jid:t.from,mood:n});case r.NS_NICK:return e.emit("nick",{jid:t.from,nick:n.nick});case r.NS_TUNE:return e.emit("tune",{jid:t.from,tune:t.pubsub.items.published[0].content})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(3).__importStar)(n(10)),i=n(1);t.default=function(e){e.disco.addFeature(i.NS_SHIM+"#SubID",i.NS_SHIM),e.on("message",t=>{!function(e){return!!e.pubsub&&!(e.pubsub.context&&"user"!==e.pubsub.context||!e.pubsub.affiliations)}(t)?function(e){return!!e.pubsub}(t)&&(e.emit("pubsub:event",t),!function(e){return!!e.pubsub.items&&!!e.pubsub.items.published}(t)?!function(e){return!!e.pubsub.items&&!!e.pubsub.items.retracted}(t)?!function(e){return"purge"===e.pubsub.eventType}(t)?!function(e){return"delete"===e.pubsub.eventType}(t)?!function(e){return"subscription"===e.pubsub.eventType}(t)?function(e){return"configuration"===e.pubsub.eventType}(t)&&e.emit("pubsub:config",t):e.emit("pubsub:subscription",t):e.emit("pubsub:deleted",t):e.emit("pubsub:purged",t):e.emit("pubsub:retracted",t):e.emit("pubsub:published",t)):e.emit("pubsub:affiliations",t)}),e.subscribeToNode=async(t,n)=>{const i={};let s;"string"==typeof n?(i.node=n,i.jid=r.toBare(e.jid)):(i.node=n.node,i.jid=n.jid||(n.useBareJID?r.toBare(e.jid):e.jid),s=n.options);const o=await e.sendIQ({pubsub:{context:"user",subscribe:i,subscriptionOptions:s?{form:s}:void 0},to:t,type:"set"}),a=o.pubsub.subscription||{};return o.pubsub.subscriptionOptions&&(a.options=o.pubsub.subscriptionOptions.form),a},e.unsubscribeFromNode=async(t,n)=>{const i={};"string"==typeof n?(i.node=n,i.jid=r.toBare(e.jid)):(i.node=n.node,i.subid=n.subid,i.jid=n.jid||(n.useBareJID?r.toBare(e.jid):e.jid));const s=await e.sendIQ({pubsub:{context:"user",unsubscribe:i},to:t,type:"set"});return s.pubsub&&s.pubsub.subscription?s.pubsub.subscription:{...i,state:"none"}},e.publish=(t,n,r,i)=>e.sendIQ({pubsub:{context:"user",publish:{item:{content:r,id:i},node:n}},to:t,type:"set"}),e.getItem=async(t,n,r)=>(await e.sendIQ({pubsub:{context:"user",fetch:{items:[{id:r}],node:n}},to:t,type:"get"})).pubsub.fetch.items[0],e.getItems=async function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=await e.sendIQ({pubsub:{context:"user",fetch:{max:r.max,node:n},paging:r},to:t,type:"get"}),s=i.pubsub.fetch;return s.paging=i.pubsub.paging,s},e.retract=(t,n,r,i)=>e.sendIQ({pubsub:{context:"user",retract:{id:r,node:n,notify:i}},to:t,type:"set"}),e.purgeNode=(t,n)=>e.sendIQ({pubsub:{context:"owner",purge:n},to:t,type:"set"}),e.deleteNode=(t,n,r)=>e.sendIQ({pubsub:{context:"owner",destroy:{node:n,redirect:r}},to:t,type:"set"}),e.createNode=async(t,n,r)=>{const i=await e.sendIQ({pubsub:{configure:r?{form:r}:void 0,context:"user",create:{node:n}},to:t,type:"set"});return i.pubsub&&i.pubsub.create?i.pubsub.create:{node:n}},e.getSubscriptions=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await e.sendIQ({pubsub:{context:"user",subscriptions:n},to:t,type:"get"});return r.pubsub.subscriptions},e.getAffiliations=(t,n)=>e.sendIQ({pubsub:{affiliations:{node:n}},to:t,type:"get"}),e.getNodeSubscribers=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"string"==typeof n?r.node=n:r={...r,...n},e.sendIQ({pubsub:{context:"owner",subscriptions:r},to:t,type:"get"})},e.updateNodeSubscriptions=(t,n,r)=>e.sendIQ({pubsub:{context:"owner",subscriptions:{items:r,node:n}},to:t,type:"set"}),e.getNodeAffiliations=async(t,n)=>(await e.sendIQ({pubsub:{affiliations:{node:n},context:"owner"},to:t,type:"get"})).pubsub.affiliations,e.updateNodeAffiliations=(t,n,r)=>e.sendIQ({pubsub:{affiliations:{items:r,node:n},context:"owner"},to:t,type:"set"}),e.getNodeConfig=async(t,n)=>(await e.sendIQ({pubsub:{configure:{node:n},context:"owner"},to:t,type:"get"})).pubsub.configure.form||{},e.getDefaultNodeConfig=async t=>(await e.sendIQ({pubsub:{context:"owner",defaultConfiguration:{}},to:t,type:"get"})).pubsub.defaultConfiguration.form||{},e.configureNode=async(t,n,r)=>e.sendIQ({pubsub:{configure:{form:r,node:n},context:"owner"},to:t,type:"set"}),e.getDefaultSubscriptionOptions=async t=>(await e.sendIQ({pubsub:{defaultSubscriptionOptions:{}},to:t,type:"get"})).pubsub.defaultSubscriptionOptions.form||{}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(3).__importStar)(n(10));t.default=function(e){async function t(t,n){await e.sendIQ({blockList:{action:t,jids:[n]},type:"set"})}e.on("iq:set:roster",t=>{if(!r.allowedResponders(e.jid).has(t.from))return e.sendIQError(t,{error:{condition:"service-unavailable",type:"cancel"}});e.emit("roster:update",t),e.sendIQResult(t)}),e.on("iq:set:blockList",t=>{if(!r.allowedResponders(e.jid).has(t.from))return e.sendIQError(t,{error:{condition:"service-unavailable",type:"cancel"}});const n=t.blockList;e.emit(n.action,{jids:n.jids||[]}),e.sendIQResult(t)}),e.getRoster=async()=>{const t=await e.sendIQ({roster:{version:e.config.rosterVer},type:"get"});if(t.roster){const n=t.roster.version;return n&&(e.config.rosterVer=n,e.emit("roster:ver",n)),t.roster.items=t.roster.items||[],t.roster}return{items:[]}},e.updateRosterItem=async t=>{await e.sendIQ({roster:{items:[t]},type:"set"})},e.removeRosterItem=t=>e.updateRosterItem({jid:t,subscription:"remove"}),e.subscribe=t=>{e.sendPresence({type:"subscribe",to:t})},e.unsubscribe=t=>{e.sendPresence({type:"unsubscribe",to:t})},e.acceptSubscription=t=>{e.sendPresence({type:"subscribed",to:t})},e.denySubscription=t=>{e.sendPresence({type:"unsubscribed",to:t})},e.getBlocked=async()=>({jids:[],...(await e.sendIQ({blockList:{action:"list"},type:"get"})).blockList}),e.block=async e=>t("block",e),e.unblock=async e=>t("unblock",e),e.goInvisible=async function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];await e.sendIQ({type:"set",visiblity:{probe:t,type:"invisible"}})},e.goVisible=async()=>{await e.sendIQ({type:"set",visiblity:{type:"visible"}})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.registerFeature("sasl",100,async(t,n)=>{const r=e.sasl.createMechanism(t.sasl.mechanisms),i=async t=>{if(r)switch(t.type){case"success":return e.features.negotiated.sasl=!0,e.off("sasl",i),e.emit("auth:success",e.config.credentials),e.transport&&(e.transport.authenticated=!0),void n("restart");case"challenge":r.processChallenge(t.value);try{const t=await e.getCredentials(),n=r.createResponse(t);n||""===n?e.send("sasl",{type:"response",value:n}):e.send("sasl",{type:"response"});const i=r.getCacheableCredentials();i&&(e.config.credentials||(e.config.credentials={}),e.config.credentials={...e.config.credentials,...i},e.emit("credentials:update",e.config.credentials))}catch(t){console.error(t),e.send("sasl",{type:"abort"})}return;case"failure":case"abort":return e.off("sasl",i),e.emit("auth:failed"),void n("disconnect","authentication failed")}};if(!r)return e.off("sasl",i),e.emit("auth:failed"),n("disconnect","authentication failed");e.on("sasl",i),e.once("--reset-stream-features",()=>{e.features.negotiated.sasl=!1,e.off("sasl",i)});try{const t=await e.getCredentials();e.send("sasl",{mechanism:r.name,type:"auth",value:r.createResponse(t)})}catch(t){console.error(t),e.send("sasl",{type:"abort"})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(0,n(3).__importStar)(n(10)),i=n(1);t.default=function(e){async function t(t){const n=await e.getDiscoInfo(t);if(!n.features||!n.features.includes(i.NS_HTTP_UPLOAD_0))return;let r;for(const e of n.extensions||[]){const n=e.fields||[];if(n.some(e=>"FORM_TYPE"===e.name&&e.value===i.NS_HTTP_UPLOAD_0)){const e=n.find(e=>"max-file-size"===e.name);return e&&(r=parseInt(e.value,10)),{jid:t,maxSize:r}}}}e.disco.addFeature(i.NS_BOB),e.getBits=async(t,n)=>(await e.sendIQ({bits:{cid:n},to:t,type:"get"})).bits,e.getUploadService=async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.getDomain(e.jid);const i=await t(n);if(i)return i;const s=await e.getDiscoItems(n);for(const e of s.items||[]){if(!e.jid)continue;const n=await t(e.jid);if(n)return n}throw new Error("No upload service discovered on: "+n)},e.getUploadSlot=async(t,n)=>(await e.sendIQ({httpUpload:{type:"request",...n},to:t,type:"get"})).httpUpload}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3);(0,r.__exportStar)(n(120),t),(0,r.__exportStar)(n(121),t),(0,r.__exportStar)(n(122),t),(0,r.__exportStar)(n(123),t),(0,r.__exportStar)(n(124),t),(0,r.__exportStar)(n(125),t),(0,r.__exportStar)(n(126),t),(0,r.__exportStar)(n(127),t),(0,r.__exportStar)(n(128),t),(0,r.__exportStar)(n(129),t),(0,r.__exportStar)(n(130),t),(0,r.__exportStar)(n(131),t),(0,r.__exportStar)(n(132),t),(0,r.__exportStar)(n(133),t),(0,r.__exportStar)(n(134),t),(0,r.__exportStar)(n(135),t),(0,r.__exportStar)(n(136),t),(0,r.__exportStar)(n(137),t),(0,r.__exportStar)(n(138),t),(0,r.__exportStar)(n(139),t),(0,r.__exportStar)(n(140),t),(0,r.__exportStar)(n(141),t),(0,r.__exportStar)(n(142),t),(0,r.__exportStar)(n(143),t),(0,r.__exportStar)(n(144),t),(0,r.__exportStar)(n(145),t),(0,r.__exportStar)(n(146),t),(0,r.__exportStar)(n(147),t),(0,r.__exportStar)(n(148),t),(0,r.__exportStar)(n(149),t),(0,r.__exportStar)(n(150),t),(0,r.__exportStar)(n(151),t),(0,r.__exportStar)(n(152),t),(0,r.__exportStar)(n(153),t),(0,r.__exportStar)(n(154),t),(0,r.__exportStar)(n(155),t),(0,r.__exportStar)(n(156),t),(0,r.__exportStar)(n(157),t),(0,r.__exportStar)(n(158),t),(0,r.__exportStar)(n(159),t),(0,r.__exportStar)(n(160),t),(0,r.__exportStar)(n(161),t),(0,r.__exportStar)(n(162),t),(0,r.__exportStar)(n(163),t),(0,r.__exportStar)(n(164),t),(0,r.__exportStar)(n(165),t),(0,r.__exportStar)(n(166),t),(0,r.__exportStar)(n(167),t),(0,r.__exportStar)(n(168),t),(0,r.__exportStar)(n(169),t),(0,r.__exportStar)(n(170),t),(0,r.__exportStar)(n(171),t),(0,r.__exportStar)(n(172),t),(0,r.__exportStar)(n(173),t),(0,r.__exportStar)(n(174),t),(0,r.__exportStar)(n(175),t),(0,r.__exportStar)(n(176),t),(0,r.__exportStar)(n(177),t),(0,r.__exportStar)(n(178),t),(0,r.__exportStar)(n(179),t),(0,r.__exportStar)(n(180),t),(0,r.__exportStar)(n(181),t),(0,r.__exportStar)(n(182),t),(0,r.__exportStar)(n(183),t),(0,r.__exportStar)(n(184),t),(0,r.__exportStar)(n(185),t),(0,r.__exportStar)(n(186),t),(0,r.__exportStar)(n(187),t),(0,r.__exportStar)(n(188),t),(0,r.__exportStar)(n(189),t),(0,r.__exportStar)(n(190),t),(0,r.__exportStar)(n(191),t),(0,r.__exportStar)(n(192),t),(0,r.__exportStar)(n(193),t),(0,r.__exportStar)(n(194),t),(0,r.__exportStar)(n(195),t),(0,r.__exportStar)(n(196),t),(0,r.__exportStar)(n(197),t),(0,r.__exportStar)(n(198),t),(0,r.__exportStar)(n(199),t),(0,r.__exportStar)(n(62),t);const i=(0,r.__importDefault)(n(120)),s=(0,r.__importDefault)(n(121)),o=(0,r.__importDefault)(n(122)),a=(0,r.__importDefault)(n(123)),c=(0,r.__importDefault)(n(124)),u=(0,r.__importDefault)(n(125)),l=(0,r.__importDefault)(n(126)),d=(0,r.__importDefault)(n(127)),p=(0,r.__importDefault)(n(128)),h=(0,r.__importDefault)(n(129)),f=(0,r.__importDefault)(n(130)),m=(0,r.__importDefault)(n(131)),g=(0,r.__importDefault)(n(132)),y=(0,r.__importDefault)(n(133)),b=(0,r.__importDefault)(n(134)),v=(0,r.__importDefault)(n(135)),_=(0,r.__importDefault)(n(136)),S=(0,r.__importDefault)(n(137)),w=(0,r.__importDefault)(n(138)),T=(0,r.__importDefault)(n(139)),I=(0,r.__importDefault)(n(140)),A=(0,r.__importDefault)(n(141)),N=(0,r.__importDefault)(n(142)),E=(0,r.__importDefault)(n(143)),x=(0,r.__importDefault)(n(144)),C=(0,r.__importDefault)(n(145)),R=(0,r.__importDefault)(n(146)),O=(0,r.__importDefault)(n(147)),P=(0,r.__importDefault)(n(148)),k=(0,r.__importDefault)(n(149)),j=(0,r.__importDefault)(n(150)),L=(0,r.__importDefault)(n(151)),M=(0,r.__importDefault)(n(153)),D=(0,r.__importDefault)(n(154)),B=(0,r.__importDefault)(n(155)),F=(0,r.__importDefault)(n(152)),q=(0,r.__importDefault)(n(156)),U=(0,r.__importDefault)(n(157)),J=(0,r.__importDefault)(n(158)),z=(0,r.__importDefault)(n(159)),G=(0,r.__importDefault)(n(160)),H=(0,r.__importDefault)(n(161)),V=(0,r.__importDefault)(n(162)),W=(0,r.__importDefault)(n(163)),$=(0,r.__importDefault)(n(164)),Q=(0,r.__importDefault)(n(165)),K=(0,r.__importDefault)(n(166)),Y=(0,r.__importDefault)(n(167)),X=(0,r.__importDefault)(n(168)),Z=(0,r.__importDefault)(n(169)),ee=(0,r.__importDefault)(n(170)),te=(0,r.__importDefault)(n(171)),ne=(0,r.__importDefault)(n(172)),re=(0,r.__importDefault)(n(173)),ie=(0,r.__importDefault)(n(174)),se=(0,r.__importDefault)(n(175)),oe=(0,r.__importDefault)(n(176)),ae=(0,r.__importDefault)(n(177)),ce=(0,r.__importDefault)(n(178)),ue=(0,r.__importDefault)(n(179)),le=(0,r.__importDefault)(n(180)),de=(0,r.__importDefault)(n(181)),pe=(0,r.__importDefault)(n(182)),he=(0,r.__importDefault)(n(183)),fe=(0,r.__importDefault)(n(184)),me=(0,r.__importDefault)(n(185)),ge=(0,r.__importDefault)(n(186)),ye=(0,r.__importDefault)(n(187)),be=(0,r.__importDefault)(n(188)),ve=(0,r.__importDefault)(n(189)),_e=(0,r.__importDefault)(n(190)),Se=(0,r.__importDefault)(n(191)),we=(0,r.__importDefault)(n(192)),Te=(0,r.__importDefault)(n(193)),Ie=(0,r.__importDefault)(n(194)),Ae=(0,r.__importDefault)(n(195)),Ne=(0,r.__importDefault)(n(196)),Ee=(0,r.__importDefault)(n(197)),xe=(0,r.__importDefault)(n(198)),Ce=(0,r.__importDefault)(n(199)),Re=(0,r.__importDefault)(n(62)),Oe=[i.default,s.default,o.default,a.default,c.default,u.default,l.default,d.default,p.default,h.default,f.default,m.default,g.default,y.default,b.default,v.default,_.default,S.default,w.default,T.default,I.default,A.default,N.default,E.default,x.default,C.default,R.default,O.default,P.default,k.default,j.default,L.default,M.default,D.default,B.default,F.default,q.default,U.default,J.default,z.default,G.default,H.default,V.default,W.default,$.default,Q.default,K.default,Y.default,X.default,Z.default,ee.default,te.default,ne.default,re.default,ie.default,se.default,oe.default,ae.default,ce.default,ue.default,le.default,de.default,pe.default,he.default,fe.default,me.default,ge.default,ye.default,be.default,ve.default,_e.default,Se.default,we.default,Te.default,Ie.default,Ae.default,Ne.default,Ee.default,xe.default,Ce.default,Re.default];t.default=Oe},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:["features.legacySession","iq.legacySession"],element:"session",fields:{optional:(0,r.childBoolean)(null,"optional")},namespace:i.NS_SESSION};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["atomentry",...(0,r.pubsubItemContentAliases)()],element:"entry",fields:{id:(0,r.childText)(null,"id"),published:(0,r.childDate)(null,"published"),updated:(0,r.childDate)(null,"updated")},namespace:i.NS_ATOM,type:i.NS_ATOM,typeField:"itemType"},{element:"summary",fields:{text:(0,r.text)(),type:(0,r.attribute)("type","text")},namespace:i.NS_ATOM,path:"atomentry.summary"},{element:"title",fields:{text:(0,r.text)(),type:(0,r.attribute)("type","text")},namespace:i.NS_ATOM,path:"atomentry.title"},{aliases:[{path:"atomentry.links",multiple:!0}],element:"link",fields:{href:(0,r.attribute)("href"),mediaType:(0,r.attribute)("type"),rel:(0,r.attribute)("rel")},namespace:i.NS_ATOM},{aliases:[{path:"atomentry.authors",multiple:!0}],element:"author",fields:{name:(0,r.childText)(null,"name"),uri:(0,r.childText)(null,"uri"),email:(0,r.childText)(null,"email")},namespace:i.NS_ATOM},{aliases:[{path:"atomentry.contributors",multiple:!0}],element:"contributor",fields:{name:(0,r.childText)(null,"name"),uri:(0,r.childText)(null,"uri"),email:(0,r.childText)(null,"email")},namespace:i.NS_ATOM},{aliases:[{path:"atomentry.categories",multiple:!0}],element:"category",fields:{term:(0,r.attribute)("term"),scheme:(0,r.attribute)("scheme"),label:(0,r.attribute)("label")},namespace:i.NS_ATOM},{element:"content",fields:{text:(0,r.text)(),type:(0,r.attribute)("type","text")},namespace:i.NS_ATOM,path:"atomentry.content"},{element:"rights",fields:{text:(0,r.text)(),type:(0,r.attribute)("type","text")},namespace:i.NS_ATOM,path:"atomentry.rights"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o={defaultType:"stream",element:"stream",fields:{from:(0,i.attribute)("from"),id:(0,i.attribute)("id"),lang:(0,i.languageAttribute)(),to:(0,i.attribute)("to"),version:(0,i.attribute)("version")},namespace:s.NS_STREAM,path:"stream",type:"stream",typeField:"action"},a={element:"features",namespace:s.NS_STREAM,path:"features"},c={element:"error",fields:{alternateLanguageText:(0,i.childAlternateLanguageText)(s.NS_STREAMS,"text"),condition:(0,i.childEnum)(s.NS_STREAMS,Object.values(r.StreamErrorCondition),r.StreamErrorCondition.UndefinedCondition),seeOtherHost:(0,i.childText)(s.NS_STREAMS,r.StreamErrorCondition.SeeOtherHost),text:(0,i.childText)(s.NS_STREAMS,"text")},namespace:s.NS_STREAM,path:"streamError"},u=Object.values(r.StreamType).map(e=>({aliases:["stanzaError","message.error","presence.error","iq.error"],defaultType:s.NS_CLIENT,element:"error",fields:{alternateLanguageText:(0,i.childAlternateLanguageText)(s.NS_STANZAS,"text"),by:(0,i.JIDAttribute)("by"),condition:(0,i.childEnum)(s.NS_STANZAS,Object.values(r.StanzaErrorCondition),r.StanzaErrorCondition.UndefinedCondition),gone:(0,i.childText)(s.NS_STANZAS,r.StanzaErrorCondition.Gone),redirect:(0,i.childText)(s.NS_STANZAS,r.StanzaErrorCondition.Redirect),text:(0,i.childText)(s.NS_STANZAS,"text"),type:(0,i.attribute)("type")},namespace:e,type:e,typeField:"streamType"})),l=new Set(["from","id","lang","to","type","payloadType","error","streamType"]),d=Object.values(r.StreamType).map(e=>({childrenExportOrder:{error:2e5},defaultType:s.NS_CLIENT,element:"iq",fields:{from:(0,i.JIDAttribute)("from"),id:(0,i.attribute)("id"),lang:(0,i.languageAttribute)(),payloadType:{order:-1e4,importer(e,t){if("get"!==t.data.type&&"set"!==t.data.type)return;if(1!==e.children.filter(e=>"string"!=typeof e).length)return"invalid-payload-count";const n=Object.keys(t.data).filter(e=>!l.has(e));return 1!==n.length?"unknown-payload":n[0]}},to:(0,i.JIDAttribute)("to"),type:(0,i.attribute)("type")},namespace:e,path:"iq",type:e,typeField:"streamType"})),p=Object.values(r.StreamType).map(e=>({childrenExportOrder:{error:2e5},defaultType:s.NS_CLIENT,element:"message",fields:{from:(0,i.JIDAttribute)("from"),id:(0,i.attribute)("id"),lang:(0,i.languageAttribute)(),to:(0,i.JIDAttribute)("to")},namespace:e,path:"message",type:e,typeField:"streamType"})),h=Object.values(r.StreamType).map(e=>({childrenExportOrder:{error:2e5},defaultType:s.NS_CLIENT,element:"presence",fields:{from:(0,i.JIDAttribute)("from"),id:(0,i.attribute)("id"),lang:(0,i.languageAttribute)(),to:(0,i.JIDAttribute)("to")},namespace:e,path:"presence",type:e,typeField:"streamType"})),f=[o,a,c,...u,...[{element:"mechanisms",fields:{mechanisms:(0,i.multipleChildText)(null,"mechanism")},namespace:s.NS_SASL,path:"features.sasl"},{element:"abort",namespace:s.NS_SASL,path:"sasl",type:"abort",typeField:"type"},{element:"auth",fields:{mechanism:(0,i.attribute)("mechanism"),value:(0,i.textBuffer)("base64")},namespace:s.NS_SASL,path:"sasl",type:"auth",typeField:"type"},{element:"challenge",fields:{value:(0,i.textBuffer)("base64")},namespace:s.NS_SASL,path:"sasl",type:"challenge",typeField:"type"},{element:"response",fields:{value:(0,i.textBuffer)("base64")},namespace:s.NS_SASL,path:"sasl",type:"response",typeField:"type"},{element:"success",fields:{value:(0,i.textBuffer)("base64")},namespace:s.NS_SASL,path:"sasl",type:"success",typeField:"type"},{element:"failure",fields:{alternateLanguageText:(0,i.childAlternateLanguageText)(s.NS_SASL,"text"),condition:(0,i.childEnum)(s.NS_SASL,Object.values(r.SASLFailureCondition)),text:(0,i.childText)(s.NS_SASL,"text")},namespace:s.NS_SASL,path:"sasl",type:"failure",typeField:"type"}],...[{aliases:["features.tls"],defaultType:"start",element:"starttls",fields:{required:(0,i.childBoolean)(null,"required")},namespace:s.NS_STARTTLS,path:"tls",type:"start",typeField:"type"},{element:"proceed",namespace:s.NS_STARTTLS,path:"tls",type:"proceed",typeField:"type"},{element:"failure",namespace:s.NS_STARTTLS,path:"tls",type:"failure",typeField:"type"}],...d,...p,...h,{aliases:["features.bind","iq.bind"],element:"bind",fields:{jid:(0,i.childText)(null,"jid"),resource:(0,i.childText)(null,"resource")},namespace:s.NS_BIND}];t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStreamFeatures)({rosterPreApproval:(0,r.childBoolean)(i.NS_SUBSCRIPTION_PREAPPROVAL,"sub"),rosterVersioning:(0,r.childBoolean)(i.NS_ROSTER_VERSIONING,"ver")}),(0,r.extendMessage)({alternateLanguageBodies:(0,r.childAlternateLanguageText)(null,"body"),alternateLanguageSubjects:(0,r.childAlternateLanguageText)(null,"subject"),body:(0,r.childText)(null,"body"),hasSubject:(0,r.childBoolean)(null,"subject"),parentThread:(0,r.childAttribute)(null,"thread","parent"),subject:(0,r.childText)(null,"subject"),thread:(0,r.childText)(null,"thread"),type:(0,r.attribute)("type")}),(0,r.extendPresence)({alternateLanguageStatuses:(0,r.childAlternateLanguageText)(null,"status"),priority:(0,r.childInteger)(null,"priority",0),show:(0,r.childText)(null,"show"),status:(0,r.childText)(null,"status"),type:(0,r.attribute)("type")}),{element:"query",fields:{version:(0,r.attribute)("ver",void 0,{emitEmpty:!0})},namespace:i.NS_ROSTER,path:"iq.roster"},{aliases:[{path:"iq.roster.items",multiple:!0}],element:"item",fields:{groups:(0,r.multipleChildText)(null,"group"),jid:(0,r.JIDAttribute)("jid"),name:(0,r.attribute)("name"),pending:(0,r.attribute)("ask"),preApproved:(0,r.booleanAttribute)("approved"),subscription:(0,r.attribute)("subscription")},namespace:i.NS_ROSTER}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"open",fields:{from:(0,r.attribute)("from"),id:(0,r.attribute)("id"),lang:(0,r.languageAttribute)(),to:(0,r.attribute)("to"),version:(0,r.attribute)("version")},namespace:i.NS_FRAMING,path:"stream",type:"open"},{element:"close",fields:{seeOtherURI:(0,r.attribute)("see-other-uri")},namespace:i.NS_FRAMING,path:"stream",type:"close"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o=[{aliases:[{path:"message.forms",multiple:!0}],element:"x",fields:{instructions:{...(0,i.multipleChildText)(null,"instructions"),exportOrder:2},reported:{...(0,i.splicePath)(null,"reported","dataformField",!0),exportOrder:3},title:{...(0,i.childText)(null,"title"),exportOrder:1},type:(0,i.attribute)("type")},namespace:s.NS_DATAFORM,optionalNamespaces:{xdv:s.NS_DATAFORM_VALIDATION},path:"dataform"},{aliases:[{path:"dataform.fields",multiple:!0},{path:"dataform.items.fields",multiple:!0}],element:"field",fields:{description:(0,i.childText)(null,"desc"),label:(0,i.attribute)("label"),name:(0,i.attribute)("var"),rawValues:{...(0,i.multipleChildText)(null,"value"),exporter:()=>null},required:(0,i.childBoolean)(null,"required"),type:(0,i.attribute)("type"),value:{importer(e,t){const n=e.getAttribute("type"),o=(0,i.multipleChildText)(s.NS_DATAFORM,"value").importer(e,t),a=o[0];switch(n){case r.DataFormFieldType.TextMultiple:case r.DataFormFieldType.ListMultiple:case r.DataFormFieldType.JIDMultiple:return o;case r.DataFormFieldType.Hidden:case r.DataFormFieldType.Fixed:return 1===o.length?a:o;case r.DataFormFieldType.Boolean:if(a)return"1"===a||"true"===a;break;default:return a}},exporter(e,t,n){const r=(0,i.multipleChildText)(null,"value");let o=[];const a=n.data&&n.data.rawValues?n.data.rawValues[0]:void 0;if("boolean"==typeof t)o="true"===a||"false"===a?[a]:[t?"1":"0"];else if(Array.isArray(t))for(const e of t)o.push(e.toString());else o=[t.toString()];r.exporter(e,o,Object.assign({},n,{namespace:s.NS_DATAFORM}))}}},namespace:s.NS_DATAFORM,path:"dataformField"},{aliases:[{path:"dataform.fields.options",multiple:!0}],element:"option",fields:{label:(0,i.attribute)("label"),value:(0,i.childText)(null,"value")},namespace:s.NS_DATAFORM},{aliases:[{path:"dataform.items",multiple:!0}],element:"item",namespace:s.NS_DATAFORM},{element:"validate",fields:{listMax:(0,i.childIntegerAttribute)(null,"list-range","max"),listMin:(0,i.childIntegerAttribute)(null,"list-range","min"),method:(0,i.childEnum)(null,["basic","open","range","regex"],"basic"),rangeMax:(0,i.childAttribute)(null,"range","max"),rangeMin:(0,i.childAttribute)(null,"range","min"),regex:(0,i.childText)(null,"regex"),type:(0,i.attribute)("datatype","xs:string")},namespace:s.NS_DATAFORM_VALIDATION,path:"dataform.fields.validation"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["presence.legacyLastActivity","iq.lastActivity"],element:"query",fields:{seconds:(0,r.integerAttribute)("seconds"),status:(0,r.text)()},namespace:i.NS_LAST_ACTIVITY}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"query",fields:{activeList:(0,r.childAttribute)(null,"active","name"),defaultList:(0,r.childAttribute)(null,"default","name")},namespace:i.NS_PRIVACY,path:"iq.privacy"},{aliases:[{path:"iq.privacy.lists",multiple:!0}],element:"list",fields:{name:(0,r.attribute)("name")},namespace:i.NS_PRIVACY},{aliases:[{path:"iq.privacy.lists.items",multiple:!0}],element:"item",fields:{action:(0,r.attribute)("action"),incomingPresence:(0,r.childBoolean)(null,"presence-in"),iq:(0,r.childBoolean)(null,"iq"),messages:(0,r.childBoolean)(null,"message"),order:(0,r.integerAttribute)("order"),outgoingPresence:(0,r.childBoolean)(null,"presence-out"),type:(0,r.attribute)("type"),value:(0,r.attribute)("value")},namespace:i.NS_PRIVACY}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["iq.disco","message.disco","features.disco"],childrenExportOrder:{identities:1,features:2,extensions:3},element:"query",fields:{features:(0,r.multipleChildAttribute)(null,"feature","var"),node:(0,r.attribute)("node")},namespace:i.NS_DISCO_INFO,path:"disco",type:"info",typeField:"type"},{aliases:[{path:"disco.identities",selector:"info",multiple:!0}],element:"identity",fields:{category:(0,r.attribute)("category"),lang:(0,r.languageAttribute)(),name:(0,r.attribute)("name"),type:(0,r.attribute)("type")},namespace:i.NS_DISCO_INFO},{aliases:[{path:"disco.items",multiple:!0,selector:"items"}],element:"item",fields:{jid:(0,r.JIDAttribute)("jid"),name:(0,r.attribute)("name"),node:(0,r.attribute)("node")},namespace:i.NS_DISCO_ITEMS},{aliases:[{path:"disco.items",multiple:!0,selector:"info"}],element:"item",fields:{category:(0,r.JIDAttribute)("category"),lang:(0,r.languageAttribute)(),name:(0,r.attribute)("name"),type:(0,r.attribute)("type")},namespace:i.NS_DISCO_INFO},(0,r.addAlias)(i.NS_DATAFORM,"x",[{path:"disco.extensions",multiple:!0,selector:"info"}]),(0,r.addAlias)(i.NS_RSM,"set",[{path:"disco.paging",selector:"items"}]),{aliases:["iq.disco","message.disco","features.disco"],element:"query",fields:{node:(0,r.attribute)("node")},namespace:i.NS_DISCO_ITEMS,path:"disco",type:"items",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({addresses:(0,r.splicePath)(i.NS_ADDRESS,"addresses","extendedAddress",!0)}),(0,r.extendPresence)({addresses:(0,r.splicePath)(i.NS_ADDRESS,"addresses","extendedAddress",!0)}),{element:"address",fields:{alternateLanguageDescriptions:(0,r.childAlternateLanguageText)(null,"desc"),delivered:(0,r.booleanAttribute)("delivered"),description:(0,r.attribute)("desc"),jid:(0,r.JIDAttribute)("jid"),node:(0,r.attribute)("node"),type:(0,r.attribute)("type"),uri:(0,r.attribute)("uri")},namespace:i.NS_ADDRESS,path:"extendedAddress"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_DATAFORM,"x",[{path:"iq.muc.form",selector:"configure"}]),{defaultType:"info",element:"x",fields:{password:(0,r.childText)(null,"password")},namespace:i.NS_MUC,path:"presence.muc",type:"join",typeField:"type"},{aliases:[{path:"presence.muc.history",selector:"join"}],element:"history",fields:{maxCharacters:(0,r.integerAttribute)("maxchars"),maxStanzas:(0,r.integerAttribute)("maxstanzas"),seconds:(0,r.integerAttribute)("seconds"),since:(0,r.dateAttribute)("since")},namespace:i.NS_MUC},{aliases:["presence.muc","message.muc"],defaultType:"info",element:"x",fields:{action:(0,r.childEnum)(null,["invite","decline","destroy"]),actor:(0,r.splicePath)(null,"item","mucactor"),affiliation:(0,r.childAttribute)(null,"item","affiliation"),jid:(0,r.childJIDAttribute)(null,"item","jid"),nick:(0,r.childAttribute)(null,"item","nick"),password:(0,r.childText)(null,"password"),reason:(0,r.deepChildText)([{namespace:null,element:"item"},{namespace:null,element:"reason"}]),role:(0,r.childAttribute)(null,"item","role"),statusCodes:(0,r.multipleChildAttribute)(null,"status","code")},namespace:i.NS_MUC_USER,type:"info",typeField:"type",typeOrder:1},{element:"actor",fields:{jid:(0,r.JIDAttribute)("jid"),nick:(0,r.attribute)("nick")},namespace:i.NS_MUC_USER,path:"mucactor"},{element:"destroy",fields:{jid:(0,r.JIDAttribute)("jid"),password:(0,r.childText)(null,"password"),reason:(0,r.childText)(null,"reason")},namespace:i.NS_MUC_USER,path:"presence.muc.destroy"},{aliases:[{path:"message.muc.invite",multiple:!0}],element:"invite",fields:{continue:(0,r.childBoolean)(null,"continue"),from:(0,r.JIDAttribute)("from"),reason:(0,r.childText)(null,"reason"),thread:(0,r.childAttribute)(null,"continue","thread"),to:(0,r.JIDAttribute)("to")},namespace:i.NS_MUC_USER},{element:"decline",fields:{from:(0,r.JIDAttribute)("from"),reason:(0,r.childText)(null,"reason"),to:(0,r.JIDAttribute)("to")},namespace:i.NS_MUC_USER,path:"message.muc",type:"decline"},{element:"query",namespace:i.NS_MUC_ADMIN,path:"iq.muc",type:"user-list",typeField:"type"},{aliases:[{path:"iq.muc.users",multiple:!0,selector:"user-list"}],element:"item",fields:{affiliation:(0,r.attribute)("affiliation"),jid:(0,r.JIDAttribute)("jid"),nick:(0,r.attribute)("nick"),reason:(0,r.childText)(null,"reason"),role:(0,r.attribute)("role")},namespace:i.NS_MUC_ADMIN},{aliases:["iq.muc.users.actor"],element:"actor",fields:{jid:(0,r.JIDAttribute)("jid"),nick:(0,r.attribute)("nick")},namespace:i.NS_MUC_ADMIN},{element:"query",namespace:i.NS_MUC_OWNER,path:"iq.muc",type:"configure",typeField:"type"},{aliases:[{path:"iq.muc.destroy",selector:"configure"}],element:"destroy",fields:{jid:(0,r.JIDAttribute)("jid"),password:(0,r.childText)(null,"password"),reason:(0,r.childText)(null,"reason")},namespace:i.NS_MUC_OWNER},{element:"x",fields:{action:(0,r.staticValue)("invite"),continue:(0,r.booleanAttribute)("continue"),jid:(0,r.JIDAttribute)("jid"),legacyReason:(0,r.text)(),password:(0,r.attribute)("password"),reason:(0,r.attribute)("reason"),thread:(0,r.attribute)("thread")},namespace:i.NS_MUC_DIRECT_INVITE,path:"message.muc",type:"direct-invite",typeOrder:2},{element:"unique",fields:{name:(0,r.text)()},namespace:i.NS_MUC_UNIQUE,path:"iq.muc",type:"unique"},(0,r.extendMessage)({legacyMUC:{exporter(e,t,n){const r=n.registry?n.registry.export("message.muc",{...t,type:"direct-invite"}):void 0;r&&e.appendChild(r)},exportOrder:100001,importer(e,t){if(!(0,r.findAll)(e,i.NS_MUC_USER,"x")[0])return;const n=(0,r.findAll)(e,i.NS_MUC_DIRECT_INVITE,"x")[0];return n&&t.registry?t.registry.import(n,{...t,path:"message"}):void 0},importOrder:-1}})];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["iq.ibb","message.ibb"],element:"open",fields:{ack:{importer:(e,t)=>"message"!==(0,r.attribute)("stanza","iq").importer(e,t),exporter(e,t,n){(0,r.attribute)("stanza").exporter(e,t?"iq":"message",n)}},blockSize:(0,r.integerAttribute)("block-size"),sid:(0,r.attribute)("sid")},namespace:i.NS_IBB,type:"open",typeField:"action"},{aliases:["iq.ibb","message.ibb"],element:"close",fields:{sid:(0,r.attribute)("sid")},namespace:i.NS_IBB,type:"close",typeField:"action"},{aliases:["iq.ibb","message.ibb"],element:"data",fields:{data:(0,r.textBuffer)("base64"),seq:(0,r.integerAttribute)("seq"),sid:(0,r.attribute)("sid")},namespace:i.NS_IBB,type:"data",typeField:"action"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:[{path:"bookmarkStorage",impliedType:!0},{path:"iq.privateStorage.bookmarks",impliedType:!0},...(0,r.pubsubItemContentAliases)()],element:"storage",namespace:i.NS_BOOKMARKS,type:i.NS_BOOKMARKS,typeField:"itemType"},{aliases:[{path:"bookmarkStorage.rooms",multiple:!0}],element:"conference",fields:{autoJoin:(0,r.booleanAttribute)("autojoin"),jid:(0,r.JIDAttribute)("jid"),name:(0,r.attribute)("name"),nick:(0,r.childText)(null,"nick"),password:(0,r.childText)(null,"password")},namespace:i.NS_BOOKMARKS}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={element:"query",namespace:n(1).NS_PRIVATE,path:"iq.privateStorage"};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.command.form"]),(0,r.extendStanzaError)({commandError:(0,r.childEnum)(i.NS_ADHOC_COMMANDS,["bad-action","bad-locale","bad-payload","bad-sessionid","malformed-action","session-expired"])}),{element:"command",fields:{action:(0,r.attribute)("action"),node:(0,r.attribute)("node"),sid:(0,r.attribute)("sessionid"),status:(0,r.attribute)("status")},namespace:i.NS_ADHOC_COMMANDS,path:"iq.command"},{element:"actions",fields:{complete:(0,r.childBoolean)(null,"complete"),execute:(0,r.attribute)("execute"),next:(0,r.childBoolean)(null,"next"),prev:(0,r.childBoolean)(null,"prev")},namespace:i.NS_ADHOC_COMMANDS,path:"iq.command.availableActions"},{aliases:[{path:"iq.command.notes",multiple:!0}],element:"note",fields:{type:(0,r.attribute)("type"),value:(0,r.text)()},namespace:i.NS_ADHOC_COMMANDS}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s="vcardTemp.records";function o(e,t){return{aliases:[{multiple:!0,path:s}],element:e,fields:{value:(0,r.text)()},namespace:i.NS_VCARD_TEMP,type:t,typeField:"type"}}const a=[{aliases:[{path:"iq.vcard"}],defaultType:i.NS_VCARD_TEMP,element:"vCard",fields:{fullName:(0,r.childText)(null,"FN")},namespace:i.NS_VCARD_TEMP,path:"vcardTemp",type:i.NS_VCARD_TEMP,typeField:"format"},{element:"N",fields:{additional:{...(0,r.childText)(null,"MIDDLE"),order:3},family:{...(0,r.childText)(null,"FAMILY"),order:1},given:{...(0,r.childText)(null,"GIVEN"),order:2},prefix:{...(0,r.childText)(null,"PREFIX"),order:4},suffix:{...(0,r.childText)(null,"SUFFIX"),order:5}},namespace:i.NS_VCARD_TEMP,path:"vcardTemp.name"},o("NICKNAME","nickname"),o("BDAY","birthday"),o("JABBERID","jid"),o("TZ","timezone"),o("TITLE","title"),o("ROLE","role"),o("URL","url"),o("NOTE","note"),o("SORT-STRING","sort"),o("UID","uid"),o("REV","revision"),o("PRODID","productId"),o("DESC","description"),{aliases:[{multiple:!0,path:s}],element:"EMAIL",fields:{preferred:(0,r.childBoolean)(null,"PREF"),types:(0,r.multipleChildEnum)(null,[["home","HOME"],["work","WORK"],["internet","INTERNET"]]),value:(0,r.childText)(null,"USERID")},namespace:i.NS_VCARD_TEMP,type:"email"},{aliases:[{path:s,multiple:!0}],element:"ORG",fields:{units:{...(0,r.multipleChildText)(null,"ORGUNIT"),order:2},value:{...(0,r.childText)(null,"ORGNAME"),order:1}},namespace:i.NS_VCARD_TEMP,type:"organization",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"ADR",fields:{city:(0,r.childText)(null,"LOCALITY"),code:(0,r.childText)(null,"PCODE"),country:(0,r.childText)(null,"CTRY"),pobox:(0,r.childText)(null,"POBOX"),preferred:(0,r.childBoolean)(null,"PREF"),region:(0,r.childText)(null,"REGION"),street:(0,r.childText)(null,"STREET"),street2:(0,r.childText)(null,"EXTADD"),types:(0,r.multipleChildEnum)(null,[["home","HOME"],["work","WORK"],["domestic","DOM"],["international","INTL"],["postal","POSTAL"],["parcel","PARCEL"]])},namespace:i.NS_VCARD_TEMP,type:"address",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"LABEL",fields:{lines:(0,r.multipleChildText)(null,"LINE"),preferred:(0,r.childBoolean)(null,"PREF"),types:(0,r.multipleChildEnum)(null,[["home","HOME"],["work","WORK"]])},namespace:i.NS_VCARD_TEMP,type:"addressLabel",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"TEL",fields:{preferred:(0,r.childBoolean)(null,"PREF"),types:(0,r.multipleChildEnum)(null,[["home","HOME"],["work","WORK"],["cell","CELL"],["fax","FAX"],["voice","VOICE"],["msg","MSG"]]),value:(0,r.childText)(null,"NUMBER","",!0)},namespace:i.NS_VCARD_TEMP,type:"tel",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"PHOTO",fields:{data:(0,r.childText)(null,"BINVAL"),mediaType:(0,r.childText)(null,"TYPE"),url:(0,r.childText)(null,"EXTVAL")},namespace:i.NS_VCARD_TEMP,type:"photo",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"LOGO",fields:{data:(0,r.childText)(null,"BINVAL"),mediaType:(0,r.childText)(null,"TYPE"),url:(0,r.childText)(null,"EXTVAL")},namespace:i.NS_VCARD_TEMP,type:"logo",typeField:"type"},{aliases:[{multiple:!0,path:s}],element:"CATEGORIES",fields:{value:(0,r.multipleChildText)(null,"KEYWORD")},namespace:i.NS_VCARD_TEMP,type:"categories",typeField:"type"}];t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.search.form"]),(0,r.addAlias)(i.NS_RSM,"set",["iq.search.paging"]),{element:"query",fields:{email:(0,r.childText)(null,"email"),familyName:(0,r.childText)(null,"last"),givenName:(0,r.childText)(null,"first"),instructions:(0,r.childText)(null,"instructions"),nick:(0,r.childText)(null,"nick")},namespace:i.NS_SEARCH,path:"iq.search"},{aliases:[{path:"iq.search.items",multiple:!0}],element:"item",fields:{email:(0,r.childText)(null,"email"),familyName:(0,r.childText)(null,"last"),givenName:(0,r.childText)(null,"first"),jid:(0,r.JIDAttribute)("jid"),nick:(0,r.childText)(null,"nick")},namespace:i.NS_SEARCH}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:["iq.pubsub.paging"],element:"set",fields:{after:(0,r.childText)(null,"after"),before:(0,r.childText)(null,"before"),count:(0,r.childInteger)(null,"count"),first:(0,r.childText)(null,"first"),firstIndex:(0,r.childIntegerAttribute)(null,"first","index"),index:(0,r.childInteger)(null,"index"),last:(0,r.childText)(null,"last"),max:(0,r.childInteger)(null,"max")},namespace:i.NS_RSM,path:"paging"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o={configurable:(0,i.childBoolean)(null,"subscribe-options"),configurationRequired:(0,i.deepChildBoolean)([{namespace:null,element:"subscribe-options"},{namespace:null,element:"required"}]),jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node"),state:(0,i.attribute)("subscription"),subid:(0,i.attribute)("subid")},a={node:(0,i.attribute)("node")},c=[{aliases:["pubsub","iq.pubsub","message.pubsub"],childrenExportOrder:{configure:0,create:100,publish:100,subscribe:100,subscriptionOptions:0},defaultType:"user",element:"pubsub",fields:{publishOptions:(0,i.splicePath)(null,"publish-options","dataform")},namespace:s.NS_PUBSUB,type:"user",typeField:"context"},{aliases:["pubsub","iq.pubsub","message.pubsub"],defaultType:"user",element:"pubsub",fields:{purge:(0,i.childAttribute)(null,"purge","node")},namespace:s.NS_PUBSUB_OWNER,type:"owner",typeField:"context"},(0,i.addAlias)(s.NS_DATAFORM,"x",["iq.pubsub.configure.form","iq.pubsub.defaultConfiguration.form","iq.pubsub.defaultSubscriptionOptions.form","iq.pubsub.subscriptionOptions.form","message.pubsub.configuration.form"]),(0,i.addAlias)(s.NS_RSM,"set",["iq.pubsub.fetch.paging"]),(0,i.extendStanzaError)({pubsubError:(0,i.childEnum)(s.NS_PUBSUB_ERRORS,Object.values(r.PubsubErrorCondition)),pubsubUnsupportedFeature:(0,i.childAttribute)(s.NS_PUBSUB_ERRORS,"unsupported","feature")}),{element:"subscribe",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,path:"iq.pubsub.subscribe"},{element:"unsubscribe",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node"),subid:(0,i.attribute)("subid")},namespace:s.NS_PUBSUB,path:"iq.pubsub.unsubscribe"},{element:"options",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node"),subid:(0,i.attribute)("subid")},namespace:s.NS_PUBSUB,path:"iq.pubsub.subscriptionOptions"},{aliases:[{path:"iq.pubsub.subscriptions",selector:"user",impliedType:!0}],element:"subscriptions",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,type:"user"},{aliases:[{path:"iq.pubsub.subscriptions",selector:"owner",impliedType:!0}],element:"subscriptions",fields:{jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB_OWNER,type:"owner"},{aliases:[{path:"iq.pubsub.subscription",selector:"owner"},{impliedType:!0,multiple:!0,path:"iq.pubsub.subscriptions.items",selector:"owner"}],element:"subscription",fields:o,namespace:s.NS_PUBSUB},{aliases:[{path:"iq.pubsub.subscription",selector:"user"},{impliedType:!0,multiple:!0,path:"iq.pubsub.subscriptions.items",selector:"user"}],element:"subscription",fields:o,namespace:s.NS_PUBSUB,type:"user"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.pubsub.subscriptions.items",selector:"owner"}],element:"subscription",fields:o,namespace:s.NS_PUBSUB_OWNER,type:"owner"},{aliases:[{path:"iq.pubsub.affiliations",selector:"user",impliedType:!0},{path:"message.pubsub.affiliations",selector:"user",impliedType:!0}],element:"affiliations",fields:a,namespace:s.NS_PUBSUB,type:"user"},{aliases:[{path:"iq.pubsub.affiliations",selector:"owner",impliedType:!0}],element:"affiliations",fields:a,namespace:s.NS_PUBSUB_OWNER,type:"owner"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.pubsub.affiliations.items",selector:"user"},{impliedType:!0,multiple:!0,path:"message.pubsub.affiliations.items",selector:"user"}],element:"affiliation",fields:{affiliation:(0,i.attribute)("affiliation"),jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,type:"user"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.pubsub.affiliations.items",selector:"owner"}],element:"affiliation",fields:{affiliation:(0,i.attribute)("affiliation"),jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB_OWNER,type:"owner"},{element:"create",fields:a,namespace:s.NS_PUBSUB,path:"iq.pubsub.create"},{aliases:[{path:"iq.pubsub.destroy",selector:"owner"}],element:"delete",fields:{node:(0,i.attribute)("node"),redirect:(0,i.childAttribute)(null,"redirect","uri")},namespace:s.NS_PUBSUB_OWNER},{aliases:[{path:"iq.pubsub.configure",selector:"owner",impliedType:!0}],element:"configure",fields:a,namespace:s.NS_PUBSUB_OWNER,type:"owner"},{aliases:[{path:"iq.pubsub.configure",selector:"user",impliedType:!0}],element:"configure",fields:a,namespace:s.NS_PUBSUB,type:"user"},{element:"default",fields:{node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,path:"iq.pubsub.defaultSubscriptionOptions"},{element:"default",fields:{},namespace:s.NS_PUBSUB_OWNER,path:"iq.pubsub.defaultConfiguration"},{element:"publish",fields:a,namespace:s.NS_PUBSUB,path:"iq.pubsub.publish"},{element:"retract",fields:{id:(0,i.childAttribute)(null,"item","id"),node:(0,i.attribute)("node"),notify:(0,i.booleanAttribute)("notify")},namespace:s.NS_PUBSUB,path:"iq.pubsub.retract"},{element:"items",fields:{max:(0,i.integerAttribute)("max_items"),node:(0,i.attribute)("node")},namespace:s.NS_PUBSUB,path:"iq.pubsub.fetch"},{aliases:["pubsubitem","iq.pubsub.publish.item",{multiple:!0,path:"iq.pubsub.fetch.items"}],element:"item",fields:{id:(0,i.attribute)("id"),publisher:(0,i.JIDAttribute)("publisher")},namespace:s.NS_PUBSUB},{element:"event",fields:{eventType:(0,i.childEnum)(null,["purge","delete","subscription","configuration","items"])},namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub",type:"event",typeField:"context"},{aliases:[{path:"message.pubsub.items.published",multiple:!0}],element:"item",fields:{id:(0,i.attribute)("id"),publisher:(0,i.JIDAttribute)("publisher")},namespace:s.NS_PUBSUB_EVENT,path:"pubsubeventitem"},{element:"purge",fields:a,namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub.purge"},{element:"delete",fields:{node:(0,i.attribute)("node"),redirect:(0,i.childAttribute)(null,"redirect","uri")},namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub.delete"},{aliases:[{path:"message.pubsub.subscription",selector:"event",impliedType:!0}],element:"subscription",fields:{expires:(u="expiry",{importer(e){const t=e.getAttribute(u);return"presence"===t?t:t?new Date(t):void 0},exporter(e,t){let n;n="string"==typeof t?t:t.toISOString(),e.setAttribute(u,n)}}),jid:(0,i.JIDAttribute)("jid"),node:(0,i.attribute)("node"),subid:(0,i.attribute)("subid"),type:(0,i.attribute)("subscription")},namespace:s.NS_PUBSUB_EVENT,type:"event"},{element:"configuration",fields:a,namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub.configuration"},{element:"items",fields:{node:(0,i.attribute)("node"),retracted:(0,i.multipleChildAttribute)(null,"retract","id")},namespace:s.NS_PUBSUB_EVENT,path:"message.pubsub.items"}];var u;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"query",fields:{activate:(0,r.childText)(null,"activate"),address:(0,r.attribute)("dstaddr"),candidateUsed:(0,r.childJIDAttribute)(null,"streamhost-used","jid"),mode:(0,r.attribute)("mode","tcp"),sid:(0,r.attribute)("sid"),udpSuccess:(0,r.childAttribute)(null,"udpsuccess","dstaddr")},namespace:i.NS_SOCKS5,path:"iq.socks5"},{aliases:[{multiple:!0,path:"iq.socks5.candidates"}],element:"streamhost",fields:{host:(0,r.attribute)("host"),jid:(0,r.JIDAttribute)("jid"),port:(0,r.integerAttribute)("port"),uri:(0,r.attribute)("uri")},namespace:i.NS_SOCKS5}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:[{multiple:!0,path:"message.links"}],element:"x",fields:{description:(0,r.childText)(null,"desc"),url:(0,r.childText)(null,"url")},namespace:i.NS_OOB},{element:"query",fields:{description:(0,r.childText)(null,"desc"),url:(0,r.childText)(null,"url")},namespace:i.NS_OOB_TRANSFER,path:"iq.transferLink"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"html",fields:{alternateLanguageBodies:(0,r.childAlternateLanguageRawElement)(i.NS_XHTML,"body","xhtmlim"),body:(0,r.childLanguageRawElement)(i.NS_XHTML,"body","xhtmlim")},namespace:i.NS_XHTML_IM,path:"message.html"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStreamFeatures)({inbandRegistration:(0,r.childBoolean)(i.NS_INBAND_REGISTRATION,"register")}),(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.account.form"]),(0,r.addAlias)(i.NS_OOB,"x",["iq.account.registrationLink"]),{element:"query",fields:{address:(0,r.childText)(null,"address"),date:(0,r.childDate)(null,"date"),email:(0,r.childText)(null,"email"),familyName:(0,r.childText)(null,"last"),fullName:(0,r.childText)(null,"name"),givenName:(0,r.childText)(null,"first"),instructions:(0,r.childText)(null,"instructions"),key:(0,r.childText)(null,"key"),locality:(0,r.childText)(null,"city"),misc:(0,r.childText)(null,"misc"),nick:(0,r.childText)(null,"nick"),password:(0,r.childText)(null,"password"),phone:(0,r.childText)(null,"phone"),postalCode:(0,r.childText)(null,"zip"),region:(0,r.childText)(null,"state"),registered:(0,r.childBoolean)(null,"registered"),remove:(0,r.childBoolean)(null,"remove"),text:(0,r.childText)(null,"text"),uri:(0,r.childText)(null,"uri"),username:(0,r.childText)(null,"username")},namespace:i.NS_REGISTER,path:"iq.account"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{path:"message.geoloc",impliedType:!0},{path:"dataform.fields.geoloc",impliedType:!0},...(0,r.pubsubItemContentAliases)()],element:"geoloc",fields:{accuracy:(0,r.childFloat)(null,"accuracy"),altitude:(0,r.childFloat)(null,"alt"),altitudeAccuracy:(0,r.childFloat)(null,"altaccuracy"),area:(0,r.childText)(null,"area"),building:(0,r.childText)(null,"building"),country:(0,r.childText)(null,"country"),countryCode:(0,r.childText)(null,"countrycode"),datum:(0,r.childText)(null,"datum"),description:(0,r.childText)(null,"description"),error:(0,r.childFloat)(null,"error"),floor:(0,r.childText)(null,"floor"),heading:(0,r.childFloat)(null,"bearing"),lang:(0,r.languageAttribute)(),latitude:(0,r.childFloat)(null,"lat"),locality:(0,r.childText)(null,"locality"),longitude:(0,r.childFloat)(null,"lon"),postalCode:(0,r.childText)(null,"postalcode"),region:(0,r.childText)(null,"region"),room:(0,r.childText)(null,"room"),speed:(0,r.childFloat)(null,"speed"),street:(0,r.childText)(null,"street"),text:(0,r.childText)(null,"text"),timestamp:(0,r.childDate)(null,"timestamp"),tzo:(0,r.childTimezoneOffset)(null,"tzo"),uri:(0,r.childText)(null,"uri")},namespace:i.NS_GEOLOC,type:i.NS_GEOLOC};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:(0,r.pubsubItemContentAliases)(),element:"data",fields:{data:(0,r.textBuffer)("base64")},namespace:i.NS_AVATAR_DATA,path:"avatar",type:i.NS_AVATAR_DATA,typeField:"itemType"},{aliases:[{path:"avatar",impliedType:!0},...(0,r.pubsubItemContentAliases)()],element:"metadata",namespace:i.NS_AVATAR_METADATA,type:i.NS_AVATAR_METADATA,typeField:"itemType",childrenExportOrder:{versions:1,pointers:2}},{aliases:[{multiple:!0,path:"avatar.versions",selector:i.NS_AVATAR_METADATA}],element:"info",fields:{bytes:(0,r.integerAttribute)("bytes"),height:(0,r.integerAttribute)("height"),id:(0,r.attribute)("id"),mediaType:(0,r.attribute)("type"),uri:(0,r.attribute)("url"),width:(0,r.integerAttribute)("width")},namespace:i.NS_AVATAR_METADATA},{aliases:[{multiple:!0,path:"avatar.pointers",selector:i.NS_AVATAR_METADATA}],element:"pointer",fields:{bytes:(0,r.integerAttribute)("bytes"),height:(0,r.integerAttribute)("height"),id:(0,r.attribute)("id"),mediaType:(0,r.attribute)("type"),width:(0,r.integerAttribute)("width")},namespace:i.NS_AVATAR_METADATA}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1);t.default=(0,i.extendMessage)({chatState:(0,i.childEnum)(s.NS_CHAT_STATES,Object.values(r.ChatState))})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"query",fields:{name:(0,r.childText)(null,"name"),os:(0,r.childText)(null,"os"),version:(0,r.childText)(null,"version")},namespace:i.NS_VERSION,path:"iq.softwareVersion"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o={aliases:[{path:"message.mood",impliedType:!0},...(0,i.pubsubItemContentAliases)()],element:"mood",fields:{alternateLanguageText:(0,i.childAlternateLanguageText)(null,"text"),text:(0,i.childText)(null,"text"),value:(0,i.childEnum)(null,r.USER_MOODS)},namespace:s.NS_MOOD,type:s.NS_MOOD};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o={aliases:[{path:"activity",impliedType:!0},...(0,i.pubsubItemContentAliases)()],element:"activity",fields:{activity:(0,i.childDoubleEnum)(null,r.USER_ACTIVITY_GENERAL,r.USER_ACTIVITY_SPECIFIC),alternateLanguageText:(0,i.childAlternateLanguageText)(null,"text"),text:(0,i.childText)(null,"text")},namespace:s.NS_ACTIVITY,type:s.NS_ACTIVITY};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"handshake",fields:{value:(0,r.textBuffer)("hex")},namespace:i.NS_COMPONENT,path:"handshake"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{path:"presence.legacyCapabilities",multiple:!0},{path:"features.legacyCapabilities",multiple:!0}],element:"c",fields:{algorithm:(0,r.attribute)("hash"),legacy:(0,r.staticValue)(!0),node:(0,r.attribute)("node"),value:(0,r.attribute)("ver")},namespace:i.NS_DISCO_LEGACY_CAPS};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{impliedType:!0,path:"tune"},...(0,r.pubsubItemContentAliases)()],element:"tune",fields:{artist:(0,r.childText)(null,"artist"),length:(0,r.childInteger)(null,"length"),rating:(0,r.childInteger)(null,"rating"),source:(0,r.childText)(null,"source"),title:(0,r.childText)(null,"title"),track:(0,r.childText)(null,"track"),uri:(0,r.childText)(null,"uri")},namespace:i.NS_TUNE,type:i.NS_TUNE};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=["dataformLayout",{multiple:!0,path:"dataformLayout.contents"},{multiple:!0,path:"dataform.layout.contents"}],o=[{aliases:[{multiple:!0,path:"dataform.layout"}],element:"page",fields:{label:(0,r.attribute)("label")},namespace:i.NS_DATAFORM_LAYOUT},{aliases:s,element:"section",fields:{label:(0,r.attribute)("label")},namespace:i.NS_DATAFORM_LAYOUT,type:"section",typeField:"type"},{aliases:s,element:"text",fields:{value:(0,r.text)()},namespace:i.NS_DATAFORM_LAYOUT,type:"text",typeField:"type"},{aliases:s,element:"fieldref",fields:{field:(0,r.attribute)("var")},namespace:i.NS_DATAFORM_LAYOUT,type:"fieldref",typeField:"type"},{aliases:s,element:"reportedref",namespace:i.NS_DATAFORM_LAYOUT,type:"reportedref",typeField:"type"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"body",fields:{acceptMediaTypes:(0,r.attribute)("accept"),ack:(0,r.integerAttribute)("ack"),authId:(0,r.attribute)("authid"),characterSets:(0,r.attribute)("charsets"),condition:(0,r.attribute)("condition"),from:(0,r.JIDAttribute)("from"),key:(0,r.attribute)("key"),lang:(0,r.languageAttribute)(),maxClientRequests:(0,r.integerAttribute)("requests"),maxHoldOpen:(0,r.integerAttribute)("hold"),maxInactivityTime:(0,r.integerAttribute)("inactivity"),maxSessionPause:(0,r.integerAttribute)("maxpause"),maxWaitTime:(0,r.integerAttribute)("wait"),mediaType:(0,r.attribute)("content"),minPollingInterval:(0,r.integerAttribute)("polling"),newKey:(0,r.attribute)("newkey"),pauseSession:(0,r.integerAttribute)("pause"),report:(0,r.integerAttribute)("report"),rid:(0,r.integerAttribute)("rid"),route:(0,r.attribute)("string"),seeOtherURI:(0,r.childText)(null,"uri"),sid:(0,r.attribute)("sid"),stream:(0,r.attribute)("stream"),time:(0,r.integerAttribute)("time"),to:(0,r.JIDAttribute)("to"),type:(0,r.attribute)("type"),version:(0,r.attribute)("ver"),xmppRestart:(0,r.namespacedBooleanAttribute)("xmpp",i.NS_BOSH_XMPP,"restart",void 0,{writeValue:e=>e?"true":"false"}),xmppRestartLogic:(0,r.namespacedBooleanAttribute)("xmpp",i.NS_BOSH_XMPP,"restartlogic",void 0,{writeValue:e=>e?"true":"false"}),xmppVersion:(0,r.namespacedAttribute)("xmpp",i.NS_BOSH_XMPP,"version")},namespace:i.NS_BOSH,path:"bosh"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({headers:(0,r.splicePath)(i.NS_SHIM,"headers","header",!0)}),(0,r.extendPresence)({headers:(0,r.splicePath)(i.NS_SHIM,"headers","header",!0)}),{element:"header",fields:{name:(0,r.attribute)("name"),value:(0,r.text)()},namespace:i.NS_SHIM,path:"header"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"compression",fields:{methods:(0,r.multipleChildText)(null,"method")},namespace:i.NS_COMPRESSION_FEATURE,path:"features.compression"},{element:"compress",fields:{method:(0,r.childText)(null,"method")},namespace:i.NS_COMPRESSION,path:"compression",type:"start",typeField:"type"},{aliases:["error.compressionError"],element:"failure",fields:{condition:(0,r.childEnum)(null,["unsupported-method","setup-failed","processing-failed"])},namespace:i.NS_COMPRESSION,path:"compression",type:"failure",typeField:"type"},{element:"compressed",namespace:i.NS_COMPRESSION,path:"compression",type:"success",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({rosterExchange:(0,r.splicePath)(i.NS_ROSTER_EXCHANGE,"x","rosterExchange",!0)}),(0,r.extendIQ)({rosterExchange:(0,r.splicePath)(i.NS_ROSTER_EXCHANGE,"x","rosterExchange",!0)}),{element:"item",fields:{action:(0,r.attribute)("action"),groups:(0,r.multipleChildText)(null,"group"),jid:(0,r.JIDAttribute)("jid"),name:(0,r.attribute)("name")},namespace:i.NS_ROSTER_EXCHANGE,path:"rosterExchange"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendPresence)({vcardAvatar:{importer(e){const t=(0,r.findAll)(e,i.NS_VCARD_TEMP_UPDATE,"x");if(!t.length)return;const n=(0,r.findAll)(t[0],i.NS_VCARD_TEMP_UPDATE,"photo");return!n.length||n[0].getText()},exporter(e,t){const n=(0,r.findOrCreate)(e,i.NS_VCARD_TEMP_UPDATE,"x");if(""===t)(0,r.findOrCreate)(n,i.NS_VCARD_TEMP_UPDATE,"photo");else{if(!0===t)return;if(t){(0,r.findOrCreate)(n,i.NS_VCARD_TEMP_UPDATE,"photo").children.push(t)}}}}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({captcha:(0,r.splicePath)(i.NS_CAPTCHA,"captcha","dataform")}),(0,r.extendIQ)({captcha:(0,r.splicePath)(i.NS_CAPTCHA,"captcha","dataform")})];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1),o=[(0,i.extendStanzaError)({jingleError:(0,i.childEnum)(s.NS_JINGLE_ERRORS_1,Object.values(r.JingleErrorCondition))}),{element:"jingle",fields:{action:(0,i.attribute)("action"),initiator:(0,i.JIDAttribute)("initiator"),responder:(0,i.JIDAttribute)("responder"),sid:(0,i.attribute)("sid")},namespace:s.NS_JINGLE_1,path:"iq.jingle"},{aliases:[{multiple:!0,path:"iq.jingle.contents"}],element:"content",fields:{creator:(0,i.attribute)("creator"),disposition:(0,i.attribute)("disposition","session"),name:(0,i.attribute)("name"),senders:(0,i.attribute)("senders","both")},namespace:s.NS_JINGLE_1},{element:"reason",fields:{alternativeSession:(0,i.childText)(null,"alternative-session"),condition:(0,i.childEnum)(null,Object.values(r.JingleReasonCondition)),text:(0,i.childText)(null,"text")},namespace:s.NS_JINGLE_1,path:"iq.jingle.reason"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5),i=n(2),s=n(1);function o(){return{importer(e,t){let n=(0,i.findAll)(e,s.NS_JINGLE_RTP_RTCP_FB_0,"rtcp-fb");const r=(0,i.attribute)("type").importer,o=(0,i.attribute)("subtype").importer,a=(0,i.attribute)("value").importer,c=[];for(const e of n){const n=r(e,t),i=o(e,t);c.push(i?{type:n,parameter:i}:{type:n})}n=(0,i.findAll)(e,s.NS_JINGLE_RTP_RTCP_FB_0,"rtcp-fb-trr-int");for(const e of n){const n=a(e,t);c.push(n?{type:"trr-int",parameter:n}:{type:"trr-int"})}return c},exporter(e,t,n){const r=(0,i.attribute)("type").exporter,o=(0,i.attribute)("subtype").exporter,a=(0,i.attribute)("value").exporter;for(const c of t){let t;"trr-int"===c.type?(t=(0,i.createElement)(s.NS_JINGLE_RTP_RTCP_FB_0,"rtcp-fb-trr-int",n.namespace,e),c.parameter&&a(t,c.parameter,n)):(t=(0,i.createElement)(s.NS_JINGLE_RTP_RTCP_FB_0,"rtcp-fb",n.namespace,e),r(t,c.type,n),c.parameter&&o(t,c.parameter,n)),e.appendChild(t)}}}}const a="iq.jingle.info",c=[{aliases:["iq.jingle.contents.application"],childrenExportOrder:{codecs:4,encryption:5,headerExtensions:6,sourceGroups:8,sources:7,streams:9},element:"description",fields:{media:(0,i.attribute)("media"),rtcpFeedback:{...o(),exportOrder:3},rtcpMux:{...(0,i.childBoolean)(null,"rtcp-mux"),exportOrder:1},rtcpReducedSize:{...(0,i.childBoolean)(null,"rtcp-reduced-size"),exportOrder:2},ssrc:(0,i.attribute)("ssrc")},namespace:s.NS_JINGLE_RTP_1,optionalNamespaces:{rtcpf:s.NS_JINGLE_RTP_RTCP_FB_0,rtph:s.NS_JINGLE_RTP_HDREXT_0},type:s.NS_JINGLE_RTP_1},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.headerExtensions",selector:s.NS_JINGLE_RTP_1}],element:"rtp-hdrext",fields:{id:(0,i.integerAttribute)("id"),senders:(0,i.attribute)("senders"),uri:(0,i.attribute)("uri")},namespace:s.NS_JINGLE_RTP_HDREXT_0},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.codecs",selector:s.NS_JINGLE_RTP_1},"rtpcodec"],element:"payload-type",fields:{channels:(0,i.integerAttribute)("channels"),clockRate:(0,i.integerAttribute)("clockrate"),id:(0,i.attribute)("id"),maxptime:(0,i.integerAttribute)("maxptime"),name:(0,i.attribute)("name"),parameters:(0,i.parameterMap)(s.NS_JINGLE_RTP_1,"parameter","name","value"),ptime:(0,i.integerAttribute)("ptime"),rtcpFeedback:o()},namespace:s.NS_JINGLE_RTP_1},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.sources",selector:s.NS_JINGLE_RTP_1}],element:"source",fields:{parameters:(0,i.parameterMap)(s.NS_JINGLE_RTP_SSMA_0,"parameter","name","value"),ssrc:(0,i.attribute)("ssrc")},namespace:s.NS_JINGLE_RTP_SSMA_0},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.sourceGroups",selector:s.NS_JINGLE_RTP_1}],element:"ssrc-group",fields:{semantics:(0,i.attribute)("semantics"),sources:(0,i.multipleChildAttribute)(null,"source","ssrc")},namespace:s.NS_JINGLE_RTP_SSMA_0},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.streams",selector:s.NS_JINGLE_RTP_1}],element:"stream",fields:{id:(0,i.attribute)("id"),track:(0,i.attribute)("track")},namespace:s.NS_JINGLE_RTP_MSID_0},{aliases:[{path:"iq.jingle.contents.application.encryption",selector:s.NS_JINGLE_RTP_1}],element:"encryption",fields:{required:(0,i.booleanAttribute)("required")},namespace:s.NS_JINGLE_RTP_1},{aliases:[{multiple:!0,path:"iq.jingle.contents.application.encryption.sdes",selector:s.NS_JINGLE_RTP_1}],element:"crypto",fields:{cryptoSuite:(0,i.attribute)("crypto-suite"),keyParameters:(0,i.attribute)("key-params"),sessionParameters:(0,i.attribute)("session-params"),tag:(0,i.integerAttribute)("tag")},namespace:s.NS_JINGLE_RTP_1},{aliases:[{path:"iq.jingle.contents.application.encryption.zrtp",selector:s.NS_JINGLE_RTP_1}],element:"zrtp-hash",fields:{value:(0,i.textBuffer)("hex"),version:(0,i.attribute)("version")},namespace:s.NS_JINGLE_RTP_1},{element:"mute",fields:{creator:(0,i.attribute)("creator"),name:(0,i.attribute)("name")},namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_MUTE},{element:"unmute",fields:{creator:(0,i.attribute)("creator"),name:(0,i.attribute)("name")},namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_UNMUTE},{element:"hold",namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_HOLD},{element:"unhold",namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_UNHOLD},{element:"active",namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_ACTIVE},{element:"ringing",namespace:s.NS_JINGLE_RTP_INFO_1,path:a,type:r.JINGLE_INFO_RINGING}];t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({nick:(0,r.childText)(i.NS_NICK,"nick")}),(0,r.extendPresence)({nick:(0,r.childText)(i.NS_NICK,"nick")}),{aliases:(0,r.pubsubItemContentAliases)(),element:"nick",fields:{nick:(0,r.text)()},namespace:i.NS_NICK,type:i.NS_NICK}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=e=>[{element:"transport",fields:{gatheringComplete:(0,r.childBoolean)(null,"gathering-complete"),password:(0,r.attribute)("pwd"),usernameFragment:(0,r.attribute)("ufrag")},namespace:e,path:"iq.jingle.contents.transport",type:e,typeField:"transportType"},{aliases:[{impliedType:!0,path:"iq.jingle.contents.transport.remoteCandidate",selector:e}],element:"remote-candidate",fields:{component:(0,r.integerAttribute)("component"),ip:(0,r.attribute)("ip"),port:(0,r.integerAttribute)("port")},namespace:e,type:e,typeField:"transportType"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.jingle.contents.transport.candidates",selector:e}],element:"candidate",fields:{component:(0,r.integerAttribute)("component"),foundation:(0,r.attribute)("foundation"),generation:(0,r.integerAttribute)("generation"),id:(0,r.attribute)("id"),ip:(0,r.attribute)("ip"),network:(0,r.integerAttribute)("network"),port:(0,r.integerAttribute)("port"),priority:(0,r.integerAttribute)("priority"),protocol:(0,r.attribute)("protocol"),relatedAddress:(0,r.attribute)("rel-addr"),relatedPort:(0,r.attribute)("rel-port"),tcpType:(0,r.attribute)("tcptype"),type:(0,r.attribute)("type")},namespace:e,type:e,typeField:"transportType"}],o=[...s(i.NS_JINGLE_ICE_0),...s(i.NS_JINGLE_ICE_UDP_1)];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"transport",fields:{gatheringComplete:(0,r.childBoolean)(null,"gathering-complete"),password:(0,r.attribute)("pwd"),usernameFragment:(0,r.attribute)("ufrag")},namespace:i.NS_JINGLE_RAW_UDP_1,path:"iq.jingle.contents.transport",type:i.NS_JINGLE_RAW_UDP_1,typeField:"transportType"},{aliases:[{impliedType:!0,multiple:!0,path:"iq.jingle.contents.transport.candidates",selector:i.NS_JINGLE_RAW_UDP_1}],element:"candidate",fields:{component:(0,r.integerAttribute)("component"),foundation:(0,r.attribute)("foundation"),generation:(0,r.integerAttribute)("generation"),id:(0,r.attribute)("id"),ip:(0,r.attribute)("ip"),port:(0,r.integerAttribute)("port"),type:(0,r.attribute)("type")},namespace:i.NS_JINGLE_RAW_UDP_1,type:i.NS_JINGLE_RAW_UDP_1,typeField:"transportType"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"request",namespace:i.NS_RECEIPTS,path:"message.receipt",type:"request",typeField:"type"},{element:"received",fields:{id:(0,r.attribute)("id")},namespace:i.NS_RECEIPTS,path:"message.receipt",type:"received",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"invisible",fields:{probe:(0,r.booleanAttribute)("probe")},namespace:i.NS_INVISIBLE_0,path:"iq.visibility",type:"invisible",typeField:"type"},{element:"visible",namespace:i.NS_INVISIBLE_0,path:"iq.visibility",type:"visible"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStanzaError)({blocked:(0,r.childBoolean)(i.NS_BLOCKING_ERRORS,"blocked")}),{element:"blocklist",fields:{jids:(0,r.multipleChildAttribute)(null,"item","jid")},namespace:i.NS_BLOCKING,path:"iq.blockList",type:"list",typeField:"action"},{element:"block",fields:{jids:(0,r.multipleChildAttribute)(null,"item","jid")},namespace:i.NS_BLOCKING,path:"iq.blockList",type:"block",typeField:"action"},{element:"unblock",fields:{jids:(0,r.multipleChildAttribute)(null,"item","jid")},namespace:i.NS_BLOCKING,path:"iq.blockList",type:"unblock",typeField:"action"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStreamFeatures)({streamManagement:(0,r.childBoolean)(i.NS_SMACKS_3,"sm")}),{element:"a",fields:{handled:(0,r.integerAttribute)("h")},namespace:i.NS_SMACKS_3,path:"sm",type:"ack",typeField:"type"},{element:"r",namespace:i.NS_SMACKS_3,path:"sm",type:"request",typeField:"type"},{element:"enable",fields:{allowResumption:(0,r.booleanAttribute)("resume")},namespace:i.NS_SMACKS_3,path:"sm",type:"enable",typeField:"type"},{element:"enabled",fields:{id:(0,r.attribute)("id"),resume:(0,r.booleanAttribute)("resume")},namespace:i.NS_SMACKS_3,path:"sm",type:"enabled",typeField:"type"},{element:"resume",fields:{handled:(0,r.integerAttribute)("h"),previousSession:(0,r.attribute)("previd")},namespace:i.NS_SMACKS_3,path:"sm",type:"resume",typeField:"type"},{element:"resumed",fields:{handled:(0,r.integerAttribute)("h"),previousSession:(0,r.attribute)("previd")},namespace:i.NS_SMACKS_3,path:"sm",type:"resumed",typeField:"type"},{element:"failed",fields:{handled:(0,r.integerAttribute)("h")},namespace:i.NS_SMACKS_3,path:"sm",type:"failed",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendIQ)({ping:(0,r.childBoolean)(i.NS_PING,"ping")})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"time",fields:{tzo:(0,r.childTimezoneOffset)(null,"tzo"),utc:(0,r.childDate)(null,"utc")},namespace:i.NS_TIME,path:"iq.time"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:["message.delay","presence.delay"],element:"delay",fields:{from:(0,r.JIDAttribute)("from"),reason:(0,r.text)(),timestamp:(0,r.dateAttribute)("stamp")},namespace:i.NS_DELAY};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={2:i.NS_DISCO_EXTERNAL_2,1:i.NS_DISCO_EXTERNAL_1},o=[];for(const[e,t]of Object.entries(s))o.push({aliases:["iq.externalServiceCredentials"],defaultType:"2",element:"credentials",fields:{expires:(0,r.childDateAttribute)(null,"service","expires"),host:(0,r.childAttribute)(null,"service","host"),name:(0,r.childAttribute)(null,"service","name"),password:(0,r.childAttribute)(null,"service","password"),port:(0,r.childIntegerAttribute)(null,"service","port"),restricted:(0,r.childBooleanAttribute)(null,"service","restricted"),transport:(0,r.childAttribute)(null,"service","transport"),type:(0,r.childAttribute)(null,"service","type"),username:(0,r.childAttribute)(null,"service","username")},namespace:t,type:e,typeField:"version"},{aliases:["iq.externalServices"],defaultType:"2",element:"services",fields:{type:(0,r.attribute)("type")},namespace:t,type:e,typeField:"version"},{aliases:[{path:"iq.externalServices.services",multiple:!0}],defaultType:"2",element:"service",fields:{expires:(0,r.dateAttribute)("expires"),host:(0,r.attribute)("host"),name:(0,r.attribute)("name"),password:(0,r.attribute)("password"),port:(0,r.integerAttribute)("port"),restricted:(0,r.booleanAttribute)("restricted"),transport:(0,r.attribute)("transport"),type:(0,r.attribute)("type"),username:(0,r.attribute)("username")},namespace:t,type:e,typeField:"version"});t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"media",fields:{height:(0,r.integerAttribute)("height"),width:(0,r.integerAttribute)("width")},namespace:i.NS_DATAFORM_MEDIA,path:"dataform.fields.media"},{aliases:[{multiple:!0,path:"dataform.fields.media.sources"}],element:"uri",fields:{mediaType:(0,r.attribute)("type"),uri:(0,r.text)()},namespace:i.NS_DATAFORM_MEDIA}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendMessage)({requestingAttention:(0,r.childBoolean)(i.NS_ATTENTION_0,"attention")})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:["iq.bits",{path:"message.bits",multiple:!0},{path:"presence.bits",multiple:!0},{path:"iq.jingle.bits",multiple:!0}],element:"data",fields:{cid:(0,r.attribute)("cid"),data:(0,r.textBuffer)("base64"),maxAge:(0,r.integerAttribute)("max-age"),mediaType:(0,r.attribute)("type")},namespace:i.NS_BOB};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);let s=[(0,r.addAlias)(i.NS_HASHES_2,"hash",[{path:"file.hashes",multiple:!0},{path:"file.range.hashes",multiple:!0}]),(0,r.addAlias)(i.NS_HASHES_1,"hash",[{path:"file.hashes",multiple:!0},{path:"file.range.hashes",multiple:!0}]),(0,r.addAlias)(i.NS_HASHES_2,"hash-used",[{path:"file.hashesUsed",multiple:!0}]),(0,r.addAlias)(i.NS_THUMBS_1,"thumbnail",[{path:"file.thumbnails",multiple:!0}])];for(const e of[i.NS_JINGLE_FILE_TRANSFER_4,i.NS_JINGLE_FILE_TRANSFER_5])s=s.concat([{aliases:["file",{impliedType:!0,path:"iq.jingle.contents.application.file",selector:e},{impliedType:!0,path:"iq.jingle.info.file",selector:`{${e}}checksum`}],defaultType:i.NS_JINGLE_FILE_TRANSFER_5,element:"file",fields:{date:(0,r.childDate)(null,"date"),description:(0,r.childText)(null,"desc"),mediaType:(0,r.childText)(null,"media-type"),name:(0,r.childText)(null,"name"),size:(0,r.childInteger)(null,"size")},namespace:e,type:e,typeField:"version"},{aliases:[{impliedType:!0,path:"file.range",selector:e}],defaultType:i.NS_JINGLE_FILE_TRANSFER_5,element:"range",fields:{length:(0,r.integerAttribute)("length"),offset:(0,r.integerAttribute)("offset",0)},namespace:e,type:e,typeField:"version"},{element:"description",namespace:e,path:"iq.jingle.contents.application",type:e,typeField:"applicationType"},{element:"received",fields:{creator:(0,r.attribute)("creator"),name:(0,r.attribute)("name")},namespace:e,path:"iq.jingle.info",type:`{${e}}received`,typeField:"infoType"},{element:"checksum",fields:{creator:(0,r.attribute)("creator"),name:(0,r.attribute)("name")},namespace:e,path:"iq.jingle.info",type:`{${e}}checksum`,typeField:"infoType"}]);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1),i={element:"description",namespace:r.NS_JINGLE_XML_0,path:"iq.jingle.contents.application",type:r.NS_JINGLE_XML_0,typeField:"applicationType"};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"transport",fields:{activated:(0,r.childAttribute)(null,"activated","cid"),address:(0,r.attribute)("dstaddr"),candidateError:(0,r.childBoolean)(null,"candidate-error"),candidateUsed:(0,r.childAttribute)(null,"candidate-used","cid"),mode:(0,r.attribute)("mode","tcp"),proxyError:(0,r.childBoolean)(null,"proxy-error"),sid:(0,r.attribute)("sid")},namespace:i.NS_JINGLE_SOCKS5_1,path:"iq.jingle.contents.transport",type:i.NS_JINGLE_SOCKS5_1,typeField:"transportType"},{aliases:[{multiple:!0,path:"iq.jingle.contents.transport.candidates",selector:i.NS_JINGLE_SOCKS5_1}],element:"candidate",fields:{cid:(0,r.attribute)("cid"),host:(0,r.attribute)("host"),jid:(0,r.JIDAttribute)("jid"),port:(0,r.integerAttribute)("port"),priority:(0,r.integerAttribute)("priority"),type:(0,r.attribute)("type"),uri:(0,r.attribute)("uri")},namespace:i.NS_JINGLE_SOCKS5_1}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"transport",fields:{ack:{importer:(e,t)=>"message"!==(0,r.attribute)("stanza","iq").importer(e,t),exporter(e,t,n){!1===t&&(0,r.attribute)("stanza").exporter(e,"message",n)}},blockSize:(0,r.integerAttribute)("block-size"),sid:(0,r.attribute)("sid")},namespace:i.NS_JINGLE_IBB_1,path:"iq.jingle.contents.transport",type:i.NS_JINGLE_IBB_1,typeField:"transportType"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_BOB,"data",[{path:"iq.jingle.bits",multiple:!0}]),{element:"thumbnail",fields:{height:(0,r.integerAttribute)("height"),mediaType:(0,r.attribute)("media-type"),uri:(0,r.attribute)("uri"),width:(0,r.integerAttribute)("width")},namespace:i.NS_THUMBS_1,path:"thumbnail"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_FORWARD_0,"forwarded",["message.carbon.forward"]),{element:"enable",namespace:i.NS_CARBONS_2,path:"iq.carbons",type:"enable",typeField:"action"},{element:"disable",namespace:i.NS_CARBONS_2,path:"iq.carbons",type:"disable",typeField:"action"},{element:"sent",namespace:i.NS_CARBONS_2,path:"message.carbon",type:"sent",typeField:"type"},{element:"received",namespace:i.NS_CARBONS_2,path:"message.carbon",type:"received",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(5),s=n(1),o=[...Object.values(i.StreamType).map(e=>(0,r.addAlias)(e,"message",["forward.message"])),...Object.values(i.StreamType).map(e=>(0,r.addAlias)(e,"presence",["forward.presence"])),...Object.values(i.StreamType).map(e=>(0,r.addAlias)(e,"iq",["forward.iq"])),(0,r.addAlias)(s.NS_DELAY,"delay",["forward.delay"]),{aliases:["message.forward"],element:"forwarded",namespace:s.NS_FORWARD_0,path:"forward"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{defaultType:"2",element:"hash",fields:{algorithm:(0,r.attribute)("algo"),value:(0,r.textBuffer)("base64"),version:(0,r.staticValue)("2")},namespace:i.NS_HASHES_2,path:"hash",type:"2",typeField:"version"},{element:"hash-used",fields:{algorithm:(0,r.attribute)("algo"),version:(0,r.staticValue)("2")},namespace:i.NS_HASHES_2,path:"hashUsed"},{element:"hash",fields:{algorithm:(0,r.attribute)("algo"),value:(0,r.textBuffer)("hex"),version:(0,r.staticValue)("1")},namespace:i.NS_HASHES_1,path:"hash",type:"1",typeField:"version"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{element:"rtt",fields:{event:(0,r.attribute)("event","edit"),id:(0,r.attribute)("id"),seq:(0,r.integerAttribute)("seq")},namespace:i.NS_RTT_0,path:"message.rtt"},{aliases:[{path:"message.rtt.actions",multiple:!0}],element:"t",fields:{position:(0,r.integerAttribute)("p"),text:(0,r.text)()},namespace:i.NS_RTT_0,type:"insert",typeField:"type"},{aliases:[{path:"message.rtt.actions",multiple:!0}],element:"e",fields:{length:(0,r.integerAttribute)("n",1),position:(0,r.integerAttribute)("p")},namespace:i.NS_RTT_0,type:"erase",typeField:"type"},{aliases:[{multiple:!0,path:"message.rtt.actions"}],element:"w",fields:{duration:(0,r.integerAttribute)("n",0)},namespace:i.NS_RTT_0,type:"wait",typeField:"type"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendMessage)({replace:(0,r.childAttribute)(i.NS_CORRECTION_0,"replace","id")})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={2:i.NS_MAM_2,1:i.NS_MAM_1},o=[(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.archive.form"]),(0,r.addAlias)(i.NS_FORWARD_0,"forwarded",["message.archive.item"]),(0,r.addAlias)(i.NS_RSM,"set",["iq.archive.paging"])];for(const[e,t]of Object.entries(s))o.push({defaultType:"query",defaultVersion:"2",element:"query",fields:{node:(0,r.attribute)("node"),queryId:(0,r.attribute)("queryid")},namespace:t,path:"iq.archive",type:"query",typeField:"type",version:e,versionField:"version"},{element:"fin",fields:{complete:(0,r.booleanAttribute)("complete"),stable:(0,r.booleanAttribute)("stable")},namespace:t,path:"iq.archive",type:"result",version:e},{element:"prefs",fields:{default:(0,r.attribute)("default"),always:(0,r.deepMultipleChildText)([{namespace:null,element:"always"},{namespace:null,element:"jid"}]),never:(0,r.deepMultipleChildText)([{namespace:null,element:"never"},{namespace:null,element:"jid"}])},namespace:t,path:"iq.archive",type:"preferences",version:e},{element:"result",defaultType:"2",fields:{id:(0,r.attribute)("id"),queryId:(0,r.attribute)("queryid")},namespace:t,path:"message.archive",type:e,typeField:"version"});t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendPresence)({hats:(0,r.splicePath)(i.NS_HATS_0,"hats","hat",!0)}),{element:"hat",fields:{id:(0,r.attribute)("name"),name:(0,r.attribute)("displayName")},namespace:i.NS_HATS_0,path:"hat"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendPresence)({idleSince:(0,r.childDate)(i.NS_IDLE_1,"since")})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{multiple:!0,path:"iq.jingle.contents.transport.fingerprints",selector:i.NS_JINGLE_ICE_UDP_1},{multiple:!0,path:"iq.jingle.contents.transport.fingerprints",selector:i.NS_JINGLE_ICE_0},{multiple:!0,path:"iq.jingle.contents.application.encryption.dtls",selector:i.NS_JINGLE_RTP_1}],element:"fingerprint",fields:{algorithm:(0,r.attribute)("hash"),setup:(0,r.attribute)("setup"),value:(0,r.text)()},namespace:i.NS_JINGLE_DTLS_0};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s="message.marker",o=[{element:"markable",namespace:i.NS_CHAT_MARKERS_0,path:s,type:"markable",typeField:"type"},{element:"received",fields:{id:(0,r.attribute)("id")},namespace:i.NS_CHAT_MARKERS_0,path:s,type:"received"},{element:"displayed",fields:{id:(0,r.attribute)("id")},namespace:i.NS_CHAT_MARKERS_0,path:s,type:"displayed"},{element:"acknowledged",fields:{id:(0,r.attribute)("id")},namespace:i.NS_CHAT_MARKERS_0,path:s,type:"acknowledged"}];t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1);t.default=(0,r.extendMessage)({processingHints:{importer(e){const t={};let n=!1;for(const r of e.children)if("string"!=typeof r&&r.getNamespace()===i.NS_HINTS)switch(r.getName()){case"no-copy":t.noCopy=!0,n=!0;break;case"no-permanent-store":t.noPermanentStore=!0,n=!0;break;case"no-store":t.noStore=!0,n=!0;break;case"store":t.store=!0,n=!0}return n?t:void 0},exporter(e,t,n){t.noCopy&&e.appendChild((0,r.createElement)(i.NS_HINTS,"no-copy",n.namespace,e)),t.noPermanentStore&&e.appendChild((0,r.createElement)(i.NS_HINTS,"no-permanent-store",n.namespace,e)),t.noStore&&e.appendChild((0,r.createElement)(i.NS_HINTS,"no-store",n.namespace,e)),t.store&&e.appendChild((0,r.createElement)(i.NS_HINTS,"store",n.namespace,e))}}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({json:(0,r.childJSON)(i.NS_JSON_0,"json")}),{aliases:(0,r.pubsubItemContentAliases)(),element:"json",fields:{json:(0,r.textJSON)()},namespace:i.NS_JSON_0,type:i.NS_JSON_0},{aliases:[{path:"message.jsonPayloads",multiple:!0}],element:"payload",fields:{type:(0,r.attribute)("datatype"),data:(0,r.childJSON)(i.NS_JSON_0,"json")},namespace:i.NS_JSON_MESSAGE_0}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:[{path:"iq.jingle.groups",multiple:!0}],element:"group",fields:{contents:(0,r.multipleChildAttribute)(null,"content","name"),semantics:(0,r.attribute)("semantics")},namespace:i.NS_JINGLE_GROUPING_0}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={aliases:[{path:"iq.jingle.contents.transport.sctp",selector:i.NS_JINGLE_ICE_UDP_1},{path:"iq.jingle.contents.transport.sctp",selector:i.NS_JINGLE_ICE_0}],element:"sctpmap",fields:{port:(0,r.integerAttribute)("number"),protocol:(0,r.attribute)("protocol"),streams:(0,r.attribute)("streams")},namespace:i.NS_JINGLE_DTLS_SCTP_1};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1),i=[{element:"active",namespace:r.NS_CSI_0,path:"csi",type:"active",typeField:"state"},{element:"inactive",namespace:r.NS_CSI_0,path:"csi",type:"inactive",typeField:"state"}];t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.addAlias)(i.NS_DATAFORM,"x",["iq.push.form","pushNotification.form"]),{element:"enable",fields:{jid:(0,r.JIDAttribute)("jid"),node:(0,r.attribute)("node")},namespace:i.NS_PUSH_0,path:"iq.push",type:"enable",typeField:"action"},{element:"disable",fields:{jid:(0,r.JIDAttribute)("jid"),node:(0,r.attribute)("node")},namespace:i.NS_PUSH_0,path:"iq.push",type:"disable",typeField:"action"},{aliases:(0,r.pubsubItemContentAliases)(),element:"notification",namespace:i.NS_PUSH_0,path:"pushNotification",type:i.NS_PUSH_0,typeField:"itemType"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendMessage)({originId:(0,r.childAttribute)(i.NS_SID_0,"origin-id","id")}),{aliases:[{path:"message.stanzaIds",multiple:!0}],element:"stanza-id",fields:{by:(0,r.JIDAttribute)("by"),id:(0,r.attribute)("id")},namespace:i.NS_SID_0}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[(0,r.extendStanzaError)({httpUploadError:(0,r.childEnum)(i.NS_HTTP_UPLOAD_0,["file-too-large","retry"]),httpUploadMaxFileSize:(0,r.deepChildInteger)([{namespace:i.NS_HTTP_UPLOAD_0,element:"file-too-large"},{namespace:i.NS_HTTP_UPLOAD_0,element:"max-file-size"}]),httpUploadRetry:(0,r.childDateAttribute)(i.NS_HTTP_UPLOAD_0,"retry","stamp")}),{element:"request",fields:{mediaType:(0,r.attribute)("content-type"),name:(0,r.attribute)("filename"),size:(0,r.integerAttribute)("size")},namespace:i.NS_HTTP_UPLOAD_0,path:"iq.httpUpload",type:"request",typeField:"type"},{element:"slot",fields:{download:(0,r.childAttribute)(null,"get","url")},namespace:i.NS_HTTP_UPLOAD_0,path:"iq.httpUpload",type:"slot"},{aliases:[{path:"iq.httpUpload.upload",selector:"slot"}],element:"put",fields:{url:(0,r.attribute)("url")},namespace:i.NS_HTTP_UPLOAD_0},{aliases:[{path:"iq.httpUpload.upload.headers",multiple:!0}],element:"header",fields:{name:(0,r.attribute)("name"),value:(0,r.text)()},namespace:i.NS_HTTP_UPLOAD_0}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s={element:"encryption",fields:{id:(0,r.attribute)("namespace"),name:(0,r.attribute)("name")},namespace:i.NS_EME_0,path:"message.encryptionMethod"};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2),i=n(1),s=[{aliases:["message.omemo"],element:"encrypted",fields:{payload:(0,r.childTextBuffer)(null,"payload","base64")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemo"},{element:"header",fields:{iv:(0,r.childTextBuffer)(null,"iv","base64"),sid:(0,r.integerAttribute)("sid")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemo.header"},{aliases:[{path:"omemo.header.keys",multiple:!0}],element:"key",fields:{preKey:(0,r.booleanAttribute)("prekey"),rid:(0,r.integerAttribute)("rid"),value:(0,r.textBuffer)("base64")},namespace:i.NS_OMEMO_AXOLOTL},{aliases:(0,r.pubsubItemContentAliases)(),element:"list",fields:{devices:(0,r.multipleChildIntegerAttribute)(null,"device","id")},namespace:i.NS_OMEMO_AXOLOTL,type:i.NS_OMEMO_AXOLOTL_DEVICELIST,typeField:"itemType"},{element:"preKeyPublic",fields:{id:(0,r.integerAttribute)("preKeyId"),value:(0,r.textBuffer)("base64")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemoPreKey"},{element:"signedPreKeyPublic",fields:{id:(0,r.integerAttribute)("signedPreKeyId"),value:(0,r.textBuffer)("base64")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemoDevice.signedPreKeyPublic"},{aliases:(0,r.pubsubItemContentAliases)(),element:"bundle",fields:{identityKey:(0,r.childTextBuffer)(null,"identityKey","base64"),preKeys:(0,r.splicePath)(null,"prekeys","omemoPreKey",!0),signedPreKeySignature:(0,r.childTextBuffer)(null,"signedPreKeySignature","base64")},namespace:i.NS_OMEMO_AXOLOTL,path:"omemoDevice",type:i.NS_OMEMO_AXOLOTL_BUNDLES,typeField:"itemType"}];t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e,t,n){super(),this.condition=e,this.channelId=t,this.stanzaInstanceId=n,this.name="SaslError"}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},i=n(39),s=n(17);t.a=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const o=(e=e||{}).random||(e.rng||i.a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return Object(s.b)(o)}},function(e,t,n){n(204),n(205),e.exports=n(220)},function(e,t,n){!function(t){"use strict";for(var n=[null,0,{}],r=function(e,t){this.codepoint=e,this.feature=t},i={},s=[],o=0;o<=255;++o)s[o]=0;var a=[function(e,t,i){return t<60||13311<t&&t<42607?new r(t,n):e(t,i)},function(e,t,n){var r=i[t];return r||(r=e(t,n)).feature&&++s[t>>8&255]>10&&(i[t]=r),r},function(e,t,n){return n?e(t,n):new r(t,null)},function(e,t,n){var i;if(t<4352||4371<=t&&t<44032||55204<t)return e(t,n);if(4352<=t&&t<4371){var s={},o=21*(t-4352);for(i=0;i<21;++i)s[4449+i]=44032+28*(i+o);return new r(t,[,,s])}var a=t-44032,c=a%28,u=[];if(0!==c)u[0]=[44032+a-c,4519+c];else for(u[0]=[4352+Math.floor(a/588),4449+Math.floor(a%588/28)],u[2]={},i=1;i<28;++i)u[2][4519+i]=t+i;return new r(t,u)},function(e,t,i){var s=(r.udata[65280&t]||{})[t];return new r(t,s||n)}];r.fromCharCode=a.reduceRight((function(e,t){return function(n,r){return t(e,n,r)}}),null),r.isHighSurrogate=function(e){return e>=55296&&e<=56319},r.isLowSurrogate=function(e){return e>=56320&&e<=57343},r.prototype.prepFeature=function(){this.feature||(this.feature=r.fromCharCode(this.codepoint,!0).feature)},r.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},r.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},r.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},r.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},r.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},r.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?r.fromCharCode(t):null};var c=function(e){this.str=e,this.cursor=0};c.prototype.next=function(){if(this.str&&this.cursor<this.str.length){var e,t=this.str.charCodeAt(this.cursor++);return r.isHighSurrogate(t)&&this.cursor<this.str.length&&r.isLowSurrogate(e=this.str.charCodeAt(this.cursor))&&(t=1024*(t-55296)+(e-56320)+65536,++this.cursor),r.fromCharCode(t)}return this.str=null,null};var u=function(e,t){this.it=e,this.canonical=t,this.resBuf=[]};u.prototype.next=function(){if(0===this.resBuf.length){var e=this.it.next();if(!e)return null;this.resBuf=function e(t,n){var i=n.getDecomp();if(!i||t&&n.isCompatibility())return[n];for(var s=[],o=0;o<i.length;++o){var a=e(t,r.fromCharCode(i[o]));s=s.concat(a)}return s}(this.canonical,e)}return this.resBuf.shift()};var l=function(e){this.it=e,this.resBuf=[]};l.prototype.next=function(){var e;if(0===this.resBuf.length)do{var t=this.it.next();if(!t)break;e=t.getCanonicalClass();var n=this.resBuf.length;if(0!==e)for(;n>0;--n){if(this.resBuf[n-1].getCanonicalClass()<=e)break}this.resBuf.splice(n,0,t)}while(0!==e);return this.resBuf.shift()};var d=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};d.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),n=e.getCanonicalClass();t&&(this.lastClass<n||0===this.lastClass)?this.procBuf[0]=t:(0===n&&(this.resBuf=this.procBuf,this.procBuf=[]),this.lastClass=n,this.procBuf.push(e))}}return this.resBuf.shift()};var p=function(e,t){for(var n,r=function(e,t){switch(e){case"NFD":return new l(new u(new c(t),!0));case"NFKD":return new l(new u(new c(t),!1));case"NFC":return new d(new l(new u(new c(t),!0)));case"NFKC":return new d(new l(new u(new c(t),!1)))}throw e+" is invalid"}(e,t),i="";n=r.next();)i+=n.toString();return i};r.udata={0:{60:[,,{824:8814}],61:[,,{824:8800}],62:[,,{824:8815}],65:[,,{768:192,769:193,770:194,771:195,772:256,774:258,775:550,776:196,777:7842,778:197,780:461,783:512,785:514,803:7840,805:7680,808:260}],66:[,,{775:7682,803:7684,817:7686}],67:[,,{769:262,770:264,775:266,780:268,807:199}],68:[,,{775:7690,780:270,803:7692,807:7696,813:7698,817:7694}],69:[,,{768:200,769:201,770:202,771:7868,772:274,774:276,775:278,776:203,777:7866,780:282,783:516,785:518,803:7864,807:552,808:280,813:7704,816:7706}],70:[,,{775:7710}],71:[,,{769:500,770:284,772:7712,774:286,775:288,780:486,807:290}],72:[,,{770:292,775:7714,776:7718,780:542,803:7716,807:7720,814:7722}],73:[,,{768:204,769:205,770:206,771:296,772:298,774:300,775:304,776:207,777:7880,780:463,783:520,785:522,803:7882,808:302,816:7724}],74:[,,{770:308}],75:[,,{769:7728,780:488,803:7730,807:310,817:7732}],76:[,,{769:313,780:317,803:7734,807:315,813:7740,817:7738}],77:[,,{769:7742,775:7744,803:7746}],78:[,,{768:504,769:323,771:209,775:7748,780:327,803:7750,807:325,813:7754,817:7752}],79:[,,{768:210,769:211,770:212,771:213,772:332,774:334,775:558,776:214,777:7886,779:336,780:465,783:524,785:526,795:416,803:7884,808:490}],80:[,,{769:7764,775:7766}],82:[,,{769:340,775:7768,780:344,783:528,785:530,803:7770,807:342,817:7774}],83:[,,{769:346,770:348,775:7776,780:352,803:7778,806:536,807:350}],84:[,,{775:7786,780:356,803:7788,806:538,807:354,813:7792,817:7790}],85:[,,{768:217,769:218,770:219,771:360,772:362,774:364,776:220,777:7910,778:366,779:368,780:467,783:532,785:534,795:431,803:7908,804:7794,808:370,813:7798,816:7796}],86:[,,{771:7804,803:7806}],87:[,,{768:7808,769:7810,770:372,775:7814,776:7812,803:7816}],88:[,,{775:7818,776:7820}],89:[,,{768:7922,769:221,770:374,771:7928,772:562,775:7822,776:376,777:7926,803:7924}],90:[,,{769:377,770:7824,775:379,780:381,803:7826,817:7828}],97:[,,{768:224,769:225,770:226,771:227,772:257,774:259,775:551,776:228,777:7843,778:229,780:462,783:513,785:515,803:7841,805:7681,808:261}],98:[,,{775:7683,803:7685,817:7687}],99:[,,{769:263,770:265,775:267,780:269,807:231}],100:[,,{775:7691,780:271,803:7693,807:7697,813:7699,817:7695}],101:[,,{768:232,769:233,770:234,771:7869,772:275,774:277,775:279,776:235,777:7867,780:283,783:517,785:519,803:7865,807:553,808:281,813:7705,816:7707}],102:[,,{775:7711}],103:[,,{769:501,770:285,772:7713,774:287,775:289,780:487,807:291}],104:[,,{770:293,775:7715,776:7719,780:543,803:7717,807:7721,814:7723,817:7830}],105:[,,{768:236,769:237,770:238,771:297,772:299,774:301,776:239,777:7881,780:464,783:521,785:523,803:7883,808:303,816:7725}],106:[,,{770:309,780:496}],107:[,,{769:7729,780:489,803:7731,807:311,817:7733}],108:[,,{769:314,780:318,803:7735,807:316,813:7741,817:7739}],109:[,,{769:7743,775:7745,803:7747}],110:[,,{768:505,769:324,771:241,775:7749,780:328,803:7751,807:326,813:7755,817:7753}],111:[,,{768:242,769:243,770:244,771:245,772:333,774:335,775:559,776:246,777:7887,779:337,780:466,783:525,785:527,795:417,803:7885,808:491}],112:[,,{769:7765,775:7767}],114:[,,{769:341,775:7769,780:345,783:529,785:531,803:7771,807:343,817:7775}],115:[,,{769:347,770:349,775:7777,780:353,803:7779,806:537,807:351}],116:[,,{775:7787,776:7831,780:357,803:7789,806:539,807:355,813:7793,817:7791}],117:[,,{768:249,769:250,770:251,771:361,772:363,774:365,776:252,777:7911,778:367,779:369,780:468,783:533,785:535,795:432,803:7909,804:7795,808:371,813:7799,816:7797}],118:[,,{771:7805,803:7807}],119:[,,{768:7809,769:7811,770:373,775:7815,776:7813,778:7832,803:7817}],120:[,,{775:7819,776:7821}],121:[,,{768:7923,769:253,770:375,771:7929,772:563,775:7823,776:255,777:7927,778:7833,803:7925}],122:[,,{769:378,770:7825,775:380,780:382,803:7827,817:7829}],160:[[32],256],168:[[32,776],256,{768:8173,769:901,834:8129}],170:[[97],256],175:[[32,772],256],178:[[50],256],179:[[51],256],180:[[32,769],256],181:[[956],256],184:[[32,807],256],185:[[49],256],186:[[111],256],188:[[49,8260,52],256],189:[[49,8260,50],256],190:[[51,8260,52],256],192:[[65,768]],193:[[65,769]],194:[[65,770],,{768:7846,769:7844,771:7850,777:7848}],195:[[65,771]],196:[[65,776],,{772:478}],197:[[65,778],,{769:506}],198:[,,{769:508,772:482}],199:[[67,807],,{769:7688}],200:[[69,768]],201:[[69,769]],202:[[69,770],,{768:7872,769:7870,771:7876,777:7874}],203:[[69,776]],204:[[73,768]],205:[[73,769]],206:[[73,770]],207:[[73,776],,{769:7726}],209:[[78,771]],210:[[79,768]],211:[[79,769]],212:[[79,770],,{768:7890,769:7888,771:7894,777:7892}],213:[[79,771],,{769:7756,772:556,776:7758}],214:[[79,776],,{772:554}],216:[,,{769:510}],217:[[85,768]],218:[[85,769]],219:[[85,770]],220:[[85,776],,{768:475,769:471,772:469,780:473}],221:[[89,769]],224:[[97,768]],225:[[97,769]],226:[[97,770],,{768:7847,769:7845,771:7851,777:7849}],227:[[97,771]],228:[[97,776],,{772:479}],229:[[97,778],,{769:507}],230:[,,{769:509,772:483}],231:[[99,807],,{769:7689}],232:[[101,768]],233:[[101,769]],234:[[101,770],,{768:7873,769:7871,771:7877,777:7875}],235:[[101,776]],236:[[105,768]],237:[[105,769]],238:[[105,770]],239:[[105,776],,{769:7727}],241:[[110,771]],242:[[111,768]],243:[[111,769]],244:[[111,770],,{768:7891,769:7889,771:7895,777:7893}],245:[[111,771],,{769:7757,772:557,776:7759}],246:[[111,776],,{772:555}],248:[,,{769:511}],249:[[117,768]],250:[[117,769]],251:[[117,770]],252:[[117,776],,{768:476,769:472,772:470,780:474}],253:[[121,769]],255:[[121,776]]},256:{256:[[65,772]],257:[[97,772]],258:[[65,774],,{768:7856,769:7854,771:7860,777:7858}],259:[[97,774],,{768:7857,769:7855,771:7861,777:7859}],260:[[65,808]],261:[[97,808]],262:[[67,769]],263:[[99,769]],264:[[67,770]],265:[[99,770]],266:[[67,775]],267:[[99,775]],268:[[67,780]],269:[[99,780]],270:[[68,780]],271:[[100,780]],274:[[69,772],,{768:7700,769:7702}],275:[[101,772],,{768:7701,769:7703}],276:[[69,774]],277:[[101,774]],278:[[69,775]],279:[[101,775]],280:[[69,808]],281:[[101,808]],282:[[69,780]],283:[[101,780]],284:[[71,770]],285:[[103,770]],286:[[71,774]],287:[[103,774]],288:[[71,775]],289:[[103,775]],290:[[71,807]],291:[[103,807]],292:[[72,770]],293:[[104,770]],296:[[73,771]],297:[[105,771]],298:[[73,772]],299:[[105,772]],300:[[73,774]],301:[[105,774]],302:[[73,808]],303:[[105,808]],304:[[73,775]],306:[[73,74],256],307:[[105,106],256],308:[[74,770]],309:[[106,770]],310:[[75,807]],311:[[107,807]],313:[[76,769]],314:[[108,769]],315:[[76,807]],316:[[108,807]],317:[[76,780]],318:[[108,780]],319:[[76,183],256],320:[[108,183],256],323:[[78,769]],324:[[110,769]],325:[[78,807]],326:[[110,807]],327:[[78,780]],328:[[110,780]],329:[[700,110],256],332:[[79,772],,{768:7760,769:7762}],333:[[111,772],,{768:7761,769:7763}],334:[[79,774]],335:[[111,774]],336:[[79,779]],337:[[111,779]],340:[[82,769]],341:[[114,769]],342:[[82,807]],343:[[114,807]],344:[[82,780]],345:[[114,780]],346:[[83,769],,{775:7780}],347:[[115,769],,{775:7781}],348:[[83,770]],349:[[115,770]],350:[[83,807]],351:[[115,807]],352:[[83,780],,{775:7782}],353:[[115,780],,{775:7783}],354:[[84,807]],355:[[116,807]],356:[[84,780]],357:[[116,780]],360:[[85,771],,{769:7800}],361:[[117,771],,{769:7801}],362:[[85,772],,{776:7802}],363:[[117,772],,{776:7803}],364:[[85,774]],365:[[117,774]],366:[[85,778]],367:[[117,778]],368:[[85,779]],369:[[117,779]],370:[[85,808]],371:[[117,808]],372:[[87,770]],373:[[119,770]],374:[[89,770]],375:[[121,770]],376:[[89,776]],377:[[90,769]],378:[[122,769]],379:[[90,775]],380:[[122,775]],381:[[90,780]],382:[[122,780]],383:[[115],256,{775:7835}],416:[[79,795],,{768:7900,769:7898,771:7904,777:7902,803:7906}],417:[[111,795],,{768:7901,769:7899,771:7905,777:7903,803:7907}],431:[[85,795],,{768:7914,769:7912,771:7918,777:7916,803:7920}],432:[[117,795],,{768:7915,769:7913,771:7919,777:7917,803:7921}],439:[,,{780:494}],452:[[68,381],256],453:[[68,382],256],454:[[100,382],256],455:[[76,74],256],456:[[76,106],256],457:[[108,106],256],458:[[78,74],256],459:[[78,106],256],460:[[110,106],256],461:[[65,780]],462:[[97,780]],463:[[73,780]],464:[[105,780]],465:[[79,780]],466:[[111,780]],467:[[85,780]],468:[[117,780]],469:[[220,772]],470:[[252,772]],471:[[220,769]],472:[[252,769]],473:[[220,780]],474:[[252,780]],475:[[220,768]],476:[[252,768]],478:[[196,772]],479:[[228,772]],480:[[550,772]],481:[[551,772]],482:[[198,772]],483:[[230,772]],486:[[71,780]],487:[[103,780]],488:[[75,780]],489:[[107,780]],490:[[79,808],,{772:492}],491:[[111,808],,{772:493}],492:[[490,772]],493:[[491,772]],494:[[439,780]],495:[[658,780]],496:[[106,780]],497:[[68,90],256],498:[[68,122],256],499:[[100,122],256],500:[[71,769]],501:[[103,769]],504:[[78,768]],505:[[110,768]],506:[[197,769]],507:[[229,769]],508:[[198,769]],509:[[230,769]],510:[[216,769]],511:[[248,769]],66045:[,220]},512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256],66272:[,220]},768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8e3,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256],66422:[,230],66423:[,230],66424:[,230],66425:[,230],66426:[,230]},1024:{1024:[[1045,768]],1025:[[1045,776]],1027:[[1043,769]],1030:[,,{776:1031}],1031:[[1030,776]],1036:[[1050,769]],1037:[[1048,768]],1038:[[1059,774]],1040:[,,{774:1232,776:1234}],1043:[,,{769:1027}],1045:[,,{768:1024,774:1238,776:1025}],1046:[,,{774:1217,776:1244}],1047:[,,{776:1246}],1048:[,,{768:1037,772:1250,774:1049,776:1252}],1049:[[1048,774]],1050:[,,{769:1036}],1054:[,,{776:1254}],1059:[,,{772:1262,774:1038,776:1264,779:1266}],1063:[,,{776:1268}],1067:[,,{776:1272}],1069:[,,{776:1260}],1072:[,,{774:1233,776:1235}],1075:[,,{769:1107}],1077:[,,{768:1104,774:1239,776:1105}],1078:[,,{774:1218,776:1245}],1079:[,,{776:1247}],1080:[,,{768:1117,772:1251,774:1081,776:1253}],1081:[[1080,774]],1082:[,,{769:1116}],1086:[,,{776:1255}],1091:[,,{772:1263,774:1118,776:1265,779:1267}],1095:[,,{776:1269}],1099:[,,{776:1273}],1101:[,,{776:1261}],1104:[[1077,768]],1105:[[1077,776]],1107:[[1075,769]],1110:[,,{776:1111}],1111:[[1110,776]],1116:[[1082,769]],1117:[[1080,768]],1118:[[1091,774]],1140:[,,{783:1142}],1141:[,,{783:1143}],1142:[[1140,783]],1143:[[1141,783]],1155:[,230],1156:[,230],1157:[,230],1158:[,230],1159:[,230],1217:[[1046,774]],1218:[[1078,774]],1232:[[1040,774]],1233:[[1072,774]],1234:[[1040,776]],1235:[[1072,776]],1238:[[1045,774]],1239:[[1077,774]],1240:[,,{776:1242}],1241:[,,{776:1243}],1242:[[1240,776]],1243:[[1241,776]],1244:[[1046,776]],1245:[[1078,776]],1246:[[1047,776]],1247:[[1079,776]],1250:[[1048,772]],1251:[[1080,772]],1252:[[1048,776]],1253:[[1080,776]],1254:[[1054,776]],1255:[[1086,776]],1256:[,,{776:1258}],1257:[,,{776:1259}],1258:[[1256,776]],1259:[[1257,776]],1260:[[1069,776]],1261:[[1101,776]],1262:[[1059,772]],1263:[[1091,772]],1264:[[1059,776]],1265:[[1091,776]],1266:[[1059,779]],1267:[[1091,779]],1268:[[1063,776]],1269:[[1095,776]],1272:[[1067,776]],1273:[[1099,776]]},1280:{1415:[[1381,1410],256],1425:[,220],1426:[,230],1427:[,230],1428:[,230],1429:[,230],1430:[,220],1431:[,230],1432:[,230],1433:[,230],1434:[,222],1435:[,220],1436:[,230],1437:[,230],1438:[,230],1439:[,230],1440:[,230],1441:[,230],1442:[,220],1443:[,220],1444:[,220],1445:[,220],1446:[,220],1447:[,220],1448:[,230],1449:[,230],1450:[,220],1451:[,230],1452:[,230],1453:[,222],1454:[,228],1455:[,230],1456:[,10],1457:[,11],1458:[,12],1459:[,13],1460:[,14],1461:[,15],1462:[,16],1463:[,17],1464:[,18],1465:[,19],1466:[,19],1467:[,20],1468:[,21],1469:[,22],1471:[,23],1473:[,24],1474:[,25],1476:[,230],1477:[,220],1479:[,18]},1536:{1552:[,230],1553:[,230],1554:[,230],1555:[,230],1556:[,230],1557:[,230],1558:[,230],1559:[,230],1560:[,30],1561:[,31],1562:[,32],1570:[[1575,1619]],1571:[[1575,1620]],1572:[[1608,1620]],1573:[[1575,1621]],1574:[[1610,1620]],1575:[,,{1619:1570,1620:1571,1621:1573}],1608:[,,{1620:1572}],1610:[,,{1620:1574}],1611:[,27],1612:[,28],1613:[,29],1614:[,30],1615:[,31],1616:[,32],1617:[,33],1618:[,34],1619:[,230],1620:[,230],1621:[,220],1622:[,220],1623:[,230],1624:[,230],1625:[,230],1626:[,230],1627:[,230],1628:[,220],1629:[,230],1630:[,230],1631:[,220],1648:[,35],1653:[[1575,1652],256],1654:[[1608,1652],256],1655:[[1735,1652],256],1656:[[1610,1652],256],1728:[[1749,1620]],1729:[,,{1620:1730}],1730:[[1729,1620]],1746:[,,{1620:1747}],1747:[[1746,1620]],1749:[,,{1620:1728}],1750:[,230],1751:[,230],1752:[,230],1753:[,230],1754:[,230],1755:[,230],1756:[,230],1759:[,230],1760:[,230],1761:[,230],1762:[,230],1763:[,220],1764:[,230],1767:[,230],1768:[,230],1770:[,220],1771:[,230],1772:[,230],1773:[,220]},1792:{1809:[,36],1840:[,230],1841:[,220],1842:[,230],1843:[,230],1844:[,220],1845:[,230],1846:[,230],1847:[,220],1848:[,220],1849:[,220],1850:[,230],1851:[,220],1852:[,220],1853:[,230],1854:[,220],1855:[,230],1856:[,230],1857:[,230],1858:[,220],1859:[,230],1860:[,220],1861:[,230],1862:[,220],1863:[,230],1864:[,220],1865:[,230],1866:[,230],2027:[,230],2028:[,230],2029:[,230],2030:[,230],2031:[,230],2032:[,230],2033:[,230],2034:[,220],2035:[,230]},2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230],2303:[,230]},2304:{2344:[,,{2364:2345}],2345:[[2344,2364]],2352:[,,{2364:2353}],2353:[[2352,2364]],2355:[,,{2364:2356}],2356:[[2355,2364]],2364:[,7],2381:[,9],2385:[,230],2386:[,220],2387:[,230],2388:[,230],2392:[[2325,2364],512],2393:[[2326,2364],512],2394:[[2327,2364],512],2395:[[2332,2364],512],2396:[[2337,2364],512],2397:[[2338,2364],512],2398:[[2347,2364],512],2399:[[2351,2364],512],2492:[,7],2503:[,,{2494:2507,2519:2508}],2507:[[2503,2494]],2508:[[2503,2519]],2509:[,9],2524:[[2465,2492],512],2525:[[2466,2492],512],2527:[[2479,2492],512]},2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9],68325:[,230],68326:[,220]},2816:{2876:[,7],2887:[,,{2878:2891,2902:2888,2903:2892}],2888:[[2887,2902]],2891:[[2887,2878]],2892:[[2887,2903]],2893:[,9],2908:[[2849,2876],512],2909:[[2850,2876],512],2962:[,,{3031:2964}],2964:[[2962,3031]],3014:[,,{3006:3018,3031:3020}],3015:[,,{3006:3019}],3018:[[3014,3006]],3019:[[3015,3006]],3020:[[3014,3031]],3021:[,9]},3072:{3142:[,,{3158:3144}],3144:[[3142,3158]],3149:[,9],3157:[,84],3158:[,91],3260:[,7],3263:[,,{3285:3264}],3264:[[3263,3285]],3270:[,,{3266:3274,3285:3271,3286:3272}],3271:[[3270,3285]],3272:[[3270,3286]],3274:[[3270,3266],,{3285:3275}],3275:[[3274,3285]],3277:[,9]},3328:{3398:[,,{3390:3402,3415:3404}],3399:[,,{3390:3403}],3402:[[3398,3390]],3403:[[3399,3390]],3404:[[3398,3415]],3405:[,9],3530:[,9],3545:[,,{3530:3546,3535:3548,3551:3550}],3546:[[3545,3530]],3548:[[3545,3535],,{3530:3549}],3549:[[3548,3530]],3550:[[3545,3551]]},3584:{3635:[[3661,3634],256],3640:[,103],3641:[,103],3642:[,9],3656:[,107],3657:[,107],3658:[,107],3659:[,107],3763:[[3789,3762],256],3768:[,118],3769:[,118],3784:[,122],3785:[,122],3786:[,122],3787:[,122],3804:[[3755,3737],256],3805:[[3755,3745],256]},3840:{3852:[[3851],256],3864:[,220],3865:[,220],3893:[,220],3895:[,220],3897:[,216],3907:[[3906,4023],512],3917:[[3916,4023],512],3922:[[3921,4023],512],3927:[[3926,4023],512],3932:[[3931,4023],512],3945:[[3904,4021],512],3953:[,129],3954:[,130],3955:[[3953,3954],512],3956:[,132],3957:[[3953,3956],512],3958:[[4018,3968],512],3959:[[4018,3969],256],3960:[[4019,3968],512],3961:[[4019,3969],256],3962:[,130],3963:[,130],3964:[,130],3965:[,130],3968:[,130],3969:[[3953,3968],512],3970:[,230],3971:[,230],3972:[,9],3974:[,230],3975:[,230],3987:[[3986,4023],512],3997:[[3996,4023],512],4002:[[4001,4023],512],4007:[[4006,4023],512],4012:[[4011,4023],512],4025:[[3984,4021],512],4038:[,220]},4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69759:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]},4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70003:[,7],70080:[,9]},4608:{70197:[,9],70198:[,7],70377:[,7],70378:[,9]},4864:{4957:[,230],4958:[,230],4959:[,230],70460:[,7],70471:[,,{70462:70475,70487:70476}],70475:[[70471,70462]],70476:[[70471,70487]],70477:[,9],70502:[,230],70503:[,230],70504:[,230],70505:[,230],70506:[,230],70507:[,230],70508:[,230],70512:[,230],70513:[,230],70514:[,230],70515:[,230],70516:[,230]},5120:{70841:[,,{70832:70844,70842:70843,70845:70846}],70843:[[70841,70842]],70844:[[70841,70832]],70846:[[70841,70845]],70850:[,9],70851:[,7]},5376:{71096:[,,{71087:71098}],71097:[,,{71087:71099}],71098:[[71096,71087]],71099:[[71097,71087]],71103:[,9],71104:[,7]},5632:{71231:[,9],71350:[,9],71351:[,7]},5888:{5908:[,9],5940:[,9],6098:[,9],6109:[,230]},6144:{6313:[,228]},6400:{6457:[,222],6458:[,230],6459:[,220]},6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220],6832:[,230],6833:[,230],6834:[,230],6835:[,230],6836:[,230],6837:[,220],6838:[,220],6839:[,220],6840:[,220],6841:[,220],6842:[,220],6843:[,230],6844:[,230],6845:[,220]},6912:{6917:[,,{6965:6918}],6918:[[6917,6965]],6919:[,,{6965:6920}],6920:[[6919,6965]],6921:[,,{6965:6922}],6922:[[6921,6965]],6923:[,,{6965:6924}],6924:[[6923,6965]],6925:[,,{6965:6926}],6926:[[6925,6965]],6929:[,,{6965:6930}],6930:[[6929,6965]],6964:[,7],6970:[,,{6965:6971}],6971:[[6970,6965]],6972:[,,{6965:6973}],6973:[[6972,6965]],6974:[,,{6965:6976}],6975:[,,{6965:6977}],6976:[[6974,6965]],6977:[[6975,6965]],6978:[,,{6965:6979}],6979:[[6978,6965]],6980:[,9],7019:[,230],7020:[,220],7021:[,230],7022:[,230],7023:[,230],7024:[,230],7025:[,230],7026:[,230],7027:[,230],7082:[,9],7083:[,9],7142:[,7],7154:[,9],7155:[,9]},7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230],7416:[,230],7417:[,230]},7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7655:[,230],7656:[,230],7657:[,230],7658:[,230],7659:[,230],7660:[,230],7661:[,230],7662:[,230],7663:[,230],7664:[,230],7665:[,230],7666:[,230],7667:[,230],7668:[,230],7669:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]},7680:{7680:[[65,805]],7681:[[97,805]],7682:[[66,775]],7683:[[98,775]],7684:[[66,803]],7685:[[98,803]],7686:[[66,817]],7687:[[98,817]],7688:[[199,769]],7689:[[231,769]],7690:[[68,775]],7691:[[100,775]],7692:[[68,803]],7693:[[100,803]],7694:[[68,817]],7695:[[100,817]],7696:[[68,807]],7697:[[100,807]],7698:[[68,813]],7699:[[100,813]],7700:[[274,768]],7701:[[275,768]],7702:[[274,769]],7703:[[275,769]],7704:[[69,813]],7705:[[101,813]],7706:[[69,816]],7707:[[101,816]],7708:[[552,774]],7709:[[553,774]],7710:[[70,775]],7711:[[102,775]],7712:[[71,772]],7713:[[103,772]],7714:[[72,775]],7715:[[104,775]],7716:[[72,803]],7717:[[104,803]],7718:[[72,776]],7719:[[104,776]],7720:[[72,807]],7721:[[104,807]],7722:[[72,814]],7723:[[104,814]],7724:[[73,816]],7725:[[105,816]],7726:[[207,769]],7727:[[239,769]],7728:[[75,769]],7729:[[107,769]],7730:[[75,803]],7731:[[107,803]],7732:[[75,817]],7733:[[107,817]],7734:[[76,803],,{772:7736}],7735:[[108,803],,{772:7737}],7736:[[7734,772]],7737:[[7735,772]],7738:[[76,817]],7739:[[108,817]],7740:[[76,813]],7741:[[108,813]],7742:[[77,769]],7743:[[109,769]],7744:[[77,775]],7745:[[109,775]],7746:[[77,803]],7747:[[109,803]],7748:[[78,775]],7749:[[110,775]],7750:[[78,803]],7751:[[110,803]],7752:[[78,817]],7753:[[110,817]],7754:[[78,813]],7755:[[110,813]],7756:[[213,769]],7757:[[245,769]],7758:[[213,776]],7759:[[245,776]],7760:[[332,768]],7761:[[333,768]],7762:[[332,769]],7763:[[333,769]],7764:[[80,769]],7765:[[112,769]],7766:[[80,775]],7767:[[112,775]],7768:[[82,775]],7769:[[114,775]],7770:[[82,803],,{772:7772}],7771:[[114,803],,{772:7773}],7772:[[7770,772]],7773:[[7771,772]],7774:[[82,817]],7775:[[114,817]],7776:[[83,775]],7777:[[115,775]],7778:[[83,803],,{775:7784}],7779:[[115,803],,{775:7785}],7780:[[346,775]],7781:[[347,775]],7782:[[352,775]],7783:[[353,775]],7784:[[7778,775]],7785:[[7779,775]],7786:[[84,775]],7787:[[116,775]],7788:[[84,803]],7789:[[116,803]],7790:[[84,817]],7791:[[116,817]],7792:[[84,813]],7793:[[116,813]],7794:[[85,804]],7795:[[117,804]],7796:[[85,816]],7797:[[117,816]],7798:[[85,813]],7799:[[117,813]],7800:[[360,769]],7801:[[361,769]],7802:[[362,776]],7803:[[363,776]],7804:[[86,771]],7805:[[118,771]],7806:[[86,803]],7807:[[118,803]],7808:[[87,768]],7809:[[119,768]],7810:[[87,769]],7811:[[119,769]],7812:[[87,776]],7813:[[119,776]],7814:[[87,775]],7815:[[119,775]],7816:[[87,803]],7817:[[119,803]],7818:[[88,775]],7819:[[120,775]],7820:[[88,776]],7821:[[120,776]],7822:[[89,775]],7823:[[121,775]],7824:[[90,770]],7825:[[122,770]],7826:[[90,803]],7827:[[122,803]],7828:[[90,817]],7829:[[122,817]],7830:[[104,817]],7831:[[116,776]],7832:[[119,778]],7833:[[121,778]],7834:[[97,702],256],7835:[[383,775]],7840:[[65,803],,{770:7852,774:7862}],7841:[[97,803],,{770:7853,774:7863}],7842:[[65,777]],7843:[[97,777]],7844:[[194,769]],7845:[[226,769]],7846:[[194,768]],7847:[[226,768]],7848:[[194,777]],7849:[[226,777]],7850:[[194,771]],7851:[[226,771]],7852:[[7840,770]],7853:[[7841,770]],7854:[[258,769]],7855:[[259,769]],7856:[[258,768]],7857:[[259,768]],7858:[[258,777]],7859:[[259,777]],7860:[[258,771]],7861:[[259,771]],7862:[[7840,774]],7863:[[7841,774]],7864:[[69,803],,{770:7878}],7865:[[101,803],,{770:7879}],7866:[[69,777]],7867:[[101,777]],7868:[[69,771]],7869:[[101,771]],7870:[[202,769]],7871:[[234,769]],7872:[[202,768]],7873:[[234,768]],7874:[[202,777]],7875:[[234,777]],7876:[[202,771]],7877:[[234,771]],7878:[[7864,770]],7879:[[7865,770]],7880:[[73,777]],7881:[[105,777]],7882:[[73,803]],7883:[[105,803]],7884:[[79,803],,{770:7896}],7885:[[111,803],,{770:7897}],7886:[[79,777]],7887:[[111,777]],7888:[[212,769]],7889:[[244,769]],7890:[[212,768]],7891:[[244,768]],7892:[[212,777]],7893:[[244,777]],7894:[[212,771]],7895:[[244,771]],7896:[[7884,770]],7897:[[7885,770]],7898:[[416,769]],7899:[[417,769]],7900:[[416,768]],7901:[[417,768]],7902:[[416,777]],7903:[[417,777]],7904:[[416,771]],7905:[[417,771]],7906:[[416,803]],7907:[[417,803]],7908:[[85,803]],7909:[[117,803]],7910:[[85,777]],7911:[[117,777]],7912:[[431,769]],7913:[[432,769]],7914:[[431,768]],7915:[[432,768]],7916:[[431,777]],7917:[[432,777]],7918:[[431,771]],7919:[[432,771]],7920:[[431,803]],7921:[[432,803]],7922:[[89,768]],7923:[[121,768]],7924:[[89,803]],7925:[[121,803]],7926:[[89,777]],7927:[[121,777]],7928:[[89,771]],7929:[[121,771]]},7936:{7936:[[945,787],,{768:7938,769:7940,834:7942,837:8064}],7937:[[945,788],,{768:7939,769:7941,834:7943,837:8065}],7938:[[7936,768],,{837:8066}],7939:[[7937,768],,{837:8067}],7940:[[7936,769],,{837:8068}],7941:[[7937,769],,{837:8069}],7942:[[7936,834],,{837:8070}],7943:[[7937,834],,{837:8071}],7944:[[913,787],,{768:7946,769:7948,834:7950,837:8072}],7945:[[913,788],,{768:7947,769:7949,834:7951,837:8073}],7946:[[7944,768],,{837:8074}],7947:[[7945,768],,{837:8075}],7948:[[7944,769],,{837:8076}],7949:[[7945,769],,{837:8077}],7950:[[7944,834],,{837:8078}],7951:[[7945,834],,{837:8079}],7952:[[949,787],,{768:7954,769:7956}],7953:[[949,788],,{768:7955,769:7957}],7954:[[7952,768]],7955:[[7953,768]],7956:[[7952,769]],7957:[[7953,769]],7960:[[917,787],,{768:7962,769:7964}],7961:[[917,788],,{768:7963,769:7965}],7962:[[7960,768]],7963:[[7961,768]],7964:[[7960,769]],7965:[[7961,769]],7968:[[951,787],,{768:7970,769:7972,834:7974,837:8080}],7969:[[951,788],,{768:7971,769:7973,834:7975,837:8081}],7970:[[7968,768],,{837:8082}],7971:[[7969,768],,{837:8083}],7972:[[7968,769],,{837:8084}],7973:[[7969,769],,{837:8085}],7974:[[7968,834],,{837:8086}],7975:[[7969,834],,{837:8087}],7976:[[919,787],,{768:7978,769:7980,834:7982,837:8088}],7977:[[919,788],,{768:7979,769:7981,834:7983,837:8089}],7978:[[7976,768],,{837:8090}],7979:[[7977,768],,{837:8091}],7980:[[7976,769],,{837:8092}],7981:[[7977,769],,{837:8093}],7982:[[7976,834],,{837:8094}],7983:[[7977,834],,{837:8095}],7984:[[953,787],,{768:7986,769:7988,834:7990}],7985:[[953,788],,{768:7987,769:7989,834:7991}],7986:[[7984,768]],7987:[[7985,768]],7988:[[7984,769]],7989:[[7985,769]],7990:[[7984,834]],7991:[[7985,834]],7992:[[921,787],,{768:7994,769:7996,834:7998}],7993:[[921,788],,{768:7995,769:7997,834:7999}],7994:[[7992,768]],7995:[[7993,768]],7996:[[7992,769]],7997:[[7993,769]],7998:[[7992,834]],7999:[[7993,834]],8e3:[[959,787],,{768:8002,769:8004}],8001:[[959,788],,{768:8003,769:8005}],8002:[[8e3,768]],8003:[[8001,768]],8004:[[8e3,769]],8005:[[8001,769]],8008:[[927,787],,{768:8010,769:8012}],8009:[[927,788],,{768:8011,769:8013}],8010:[[8008,768]],8011:[[8009,768]],8012:[[8008,769]],8013:[[8009,769]],8016:[[965,787],,{768:8018,769:8020,834:8022}],8017:[[965,788],,{768:8019,769:8021,834:8023}],8018:[[8016,768]],8019:[[8017,768]],8020:[[8016,769]],8021:[[8017,769]],8022:[[8016,834]],8023:[[8017,834]],8025:[[933,788],,{768:8027,769:8029,834:8031}],8027:[[8025,768]],8029:[[8025,769]],8031:[[8025,834]],8032:[[969,787],,{768:8034,769:8036,834:8038,837:8096}],8033:[[969,788],,{768:8035,769:8037,834:8039,837:8097}],8034:[[8032,768],,{837:8098}],8035:[[8033,768],,{837:8099}],8036:[[8032,769],,{837:8100}],8037:[[8033,769],,{837:8101}],8038:[[8032,834],,{837:8102}],8039:[[8033,834],,{837:8103}],8040:[[937,787],,{768:8042,769:8044,834:8046,837:8104}],8041:[[937,788],,{768:8043,769:8045,834:8047,837:8105}],8042:[[8040,768],,{837:8106}],8043:[[8041,768],,{837:8107}],8044:[[8040,769],,{837:8108}],8045:[[8041,769],,{837:8109}],8046:[[8040,834],,{837:8110}],8047:[[8041,834],,{837:8111}],8048:[[945,768],,{837:8114}],8049:[[940]],8050:[[949,768]],8051:[[941]],8052:[[951,768],,{837:8130}],8053:[[942]],8054:[[953,768]],8055:[[943]],8056:[[959,768]],8057:[[972]],8058:[[965,768]],8059:[[973]],8060:[[969,768],,{837:8178}],8061:[[974]],8064:[[7936,837]],8065:[[7937,837]],8066:[[7938,837]],8067:[[7939,837]],8068:[[7940,837]],8069:[[7941,837]],8070:[[7942,837]],8071:[[7943,837]],8072:[[7944,837]],8073:[[7945,837]],8074:[[7946,837]],8075:[[7947,837]],8076:[[7948,837]],8077:[[7949,837]],8078:[[7950,837]],8079:[[7951,837]],8080:[[7968,837]],8081:[[7969,837]],8082:[[7970,837]],8083:[[7971,837]],8084:[[7972,837]],8085:[[7973,837]],8086:[[7974,837]],8087:[[7975,837]],8088:[[7976,837]],8089:[[7977,837]],8090:[[7978,837]],8091:[[7979,837]],8092:[[7980,837]],8093:[[7981,837]],8094:[[7982,837]],8095:[[7983,837]],8096:[[8032,837]],8097:[[8033,837]],8098:[[8034,837]],8099:[[8035,837]],8100:[[8036,837]],8101:[[8037,837]],8102:[[8038,837]],8103:[[8039,837]],8104:[[8040,837]],8105:[[8041,837]],8106:[[8042,837]],8107:[[8043,837]],8108:[[8044,837]],8109:[[8045,837]],8110:[[8046,837]],8111:[[8047,837]],8112:[[945,774]],8113:[[945,772]],8114:[[8048,837]],8115:[[945,837]],8116:[[940,837]],8118:[[945,834],,{837:8119}],8119:[[8118,837]],8120:[[913,774]],8121:[[913,772]],8122:[[913,768]],8123:[[902]],8124:[[913,837]],8125:[[32,787],256],8126:[[953]],8127:[[32,787],256,{768:8141,769:8142,834:8143}],8128:[[32,834],256],8129:[[168,834]],8130:[[8052,837]],8131:[[951,837]],8132:[[942,837]],8134:[[951,834],,{837:8135}],8135:[[8134,837]],8136:[[917,768]],8137:[[904]],8138:[[919,768]],8139:[[905]],8140:[[919,837]],8141:[[8127,768]],8142:[[8127,769]],8143:[[8127,834]],8144:[[953,774]],8145:[[953,772]],8146:[[970,768]],8147:[[912]],8150:[[953,834]],8151:[[970,834]],8152:[[921,774]],8153:[[921,772]],8154:[[921,768]],8155:[[906]],8157:[[8190,768]],8158:[[8190,769]],8159:[[8190,834]],8160:[[965,774]],8161:[[965,772]],8162:[[971,768]],8163:[[944]],8164:[[961,787]],8165:[[961,788]],8166:[[965,834]],8167:[[971,834]],8168:[[933,774]],8169:[[933,772]],8170:[[933,768]],8171:[[910]],8172:[[929,788]],8173:[[168,768]],8174:[[901]],8175:[[96]],8178:[[8060,837]],8179:[[969,837]],8180:[[974,837]],8182:[[969,834],,{837:8183}],8183:[[8182,837]],8184:[[927,768]],8185:[[908]],8186:[[937,768]],8187:[[911]],8188:[[937,837]],8189:[[180]],8190:[[32,788],256,{768:8157,769:8158,834:8159}]},8192:{8192:[[8194]],8193:[[8195]],8194:[[32],256],8195:[[32],256],8196:[[32],256],8197:[[32],256],8198:[[32],256],8199:[[32],256],8200:[[32],256],8201:[[32],256],8202:[[32],256],8209:[[8208],256],8215:[[32,819],256],8228:[[46],256],8229:[[46,46],256],8230:[[46,46,46],256],8239:[[32],256],8243:[[8242,8242],256],8244:[[8242,8242,8242],256],8246:[[8245,8245],256],8247:[[8245,8245,8245],256],8252:[[33,33],256],8254:[[32,773],256],8263:[[63,63],256],8264:[[63,33],256],8265:[[33,63],256],8279:[[8242,8242,8242,8242],256],8287:[[32],256],8304:[[48],256],8305:[[105],256],8308:[[52],256],8309:[[53],256],8310:[[54],256],8311:[[55],256],8312:[[56],256],8313:[[57],256],8314:[[43],256],8315:[[8722],256],8316:[[61],256],8317:[[40],256],8318:[[41],256],8319:[[110],256],8320:[[48],256],8321:[[49],256],8322:[[50],256],8323:[[51],256],8324:[[52],256],8325:[[53],256],8326:[[54],256],8327:[[55],256],8328:[[56],256],8329:[[57],256],8330:[[43],256],8331:[[8722],256],8332:[[61],256],8333:[[40],256],8334:[[41],256],8336:[[97],256],8337:[[101],256],8338:[[111],256],8339:[[120],256],8340:[[601],256],8341:[[104],256],8342:[[107],256],8343:[[108],256],8344:[[109],256],8345:[[110],256],8346:[[112],256],8347:[[115],256],8348:[[116],256],8360:[[82,115],256],8400:[,230],8401:[,230],8402:[,1],8403:[,1],8404:[,230],8405:[,230],8406:[,230],8407:[,230],8408:[,1],8409:[,1],8410:[,1],8411:[,230],8412:[,230],8417:[,230],8421:[,1],8422:[,1],8423:[,230],8424:[,220],8425:[,230],8426:[,1],8427:[,1],8428:[,220],8429:[,220],8430:[,220],8431:[,220],8432:[,230]},8448:{8448:[[97,47,99],256],8449:[[97,47,115],256],8450:[[67],256],8451:[[176,67],256],8453:[[99,47,111],256],8454:[[99,47,117],256],8455:[[400],256],8457:[[176,70],256],8458:[[103],256],8459:[[72],256],8460:[[72],256],8461:[[72],256],8462:[[104],256],8463:[[295],256],8464:[[73],256],8465:[[73],256],8466:[[76],256],8467:[[108],256],8469:[[78],256],8470:[[78,111],256],8473:[[80],256],8474:[[81],256],8475:[[82],256],8476:[[82],256],8477:[[82],256],8480:[[83,77],256],8481:[[84,69,76],256],8482:[[84,77],256],8484:[[90],256],8486:[[937]],8488:[[90],256],8490:[[75]],8491:[[197]],8492:[[66],256],8493:[[67],256],8495:[[101],256],8496:[[69],256],8497:[[70],256],8499:[[77],256],8500:[[111],256],8501:[[1488],256],8502:[[1489],256],8503:[[1490],256],8504:[[1491],256],8505:[[105],256],8507:[[70,65,88],256],8508:[[960],256],8509:[[947],256],8510:[[915],256],8511:[[928],256],8512:[[8721],256],8517:[[68],256],8518:[[100],256],8519:[[101],256],8520:[[105],256],8521:[[106],256],8528:[[49,8260,55],256],8529:[[49,8260,57],256],8530:[[49,8260,49,48],256],8531:[[49,8260,51],256],8532:[[50,8260,51],256],8533:[[49,8260,53],256],8534:[[50,8260,53],256],8535:[[51,8260,53],256],8536:[[52,8260,53],256],8537:[[49,8260,54],256],8538:[[53,8260,54],256],8539:[[49,8260,56],256],8540:[[51,8260,56],256],8541:[[53,8260,56],256],8542:[[55,8260,56],256],8543:[[49,8260],256],8544:[[73],256],8545:[[73,73],256],8546:[[73,73,73],256],8547:[[73,86],256],8548:[[86],256],8549:[[86,73],256],8550:[[86,73,73],256],8551:[[86,73,73,73],256],8552:[[73,88],256],8553:[[88],256],8554:[[88,73],256],8555:[[88,73,73],256],8556:[[76],256],8557:[[67],256],8558:[[68],256],8559:[[77],256],8560:[[105],256],8561:[[105,105],256],8562:[[105,105,105],256],8563:[[105,118],256],8564:[[118],256],8565:[[118,105],256],8566:[[118,105,105],256],8567:[[118,105,105,105],256],8568:[[105,120],256],8569:[[120],256],8570:[[120,105],256],8571:[[120,105,105],256],8572:[[108],256],8573:[[99],256],8574:[[100],256],8575:[[109],256],8585:[[48,8260,51],256],8592:[,,{824:8602}],8594:[,,{824:8603}],8596:[,,{824:8622}],8602:[[8592,824]],8603:[[8594,824]],8622:[[8596,824]],8653:[[8656,824]],8654:[[8660,824]],8655:[[8658,824]],8656:[,,{824:8653}],8658:[,,{824:8655}],8660:[,,{824:8654}]},8704:{8707:[,,{824:8708}],8708:[[8707,824]],8712:[,,{824:8713}],8713:[[8712,824]],8715:[,,{824:8716}],8716:[[8715,824]],8739:[,,{824:8740}],8740:[[8739,824]],8741:[,,{824:8742}],8742:[[8741,824]],8748:[[8747,8747],256],8749:[[8747,8747,8747],256],8751:[[8750,8750],256],8752:[[8750,8750,8750],256],8764:[,,{824:8769}],8769:[[8764,824]],8771:[,,{824:8772}],8772:[[8771,824]],8773:[,,{824:8775}],8775:[[8773,824]],8776:[,,{824:8777}],8777:[[8776,824]],8781:[,,{824:8813}],8800:[[61,824]],8801:[,,{824:8802}],8802:[[8801,824]],8804:[,,{824:8816}],8805:[,,{824:8817}],8813:[[8781,824]],8814:[[60,824]],8815:[[62,824]],8816:[[8804,824]],8817:[[8805,824]],8818:[,,{824:8820}],8819:[,,{824:8821}],8820:[[8818,824]],8821:[[8819,824]],8822:[,,{824:8824}],8823:[,,{824:8825}],8824:[[8822,824]],8825:[[8823,824]],8826:[,,{824:8832}],8827:[,,{824:8833}],8828:[,,{824:8928}],8829:[,,{824:8929}],8832:[[8826,824]],8833:[[8827,824]],8834:[,,{824:8836}],8835:[,,{824:8837}],8836:[[8834,824]],8837:[[8835,824]],8838:[,,{824:8840}],8839:[,,{824:8841}],8840:[[8838,824]],8841:[[8839,824]],8849:[,,{824:8930}],8850:[,,{824:8931}],8866:[,,{824:8876}],8872:[,,{824:8877}],8873:[,,{824:8878}],8875:[,,{824:8879}],8876:[[8866,824]],8877:[[8872,824]],8878:[[8873,824]],8879:[[8875,824]],8882:[,,{824:8938}],8883:[,,{824:8939}],8884:[,,{824:8940}],8885:[,,{824:8941}],8928:[[8828,824]],8929:[[8829,824]],8930:[[8849,824]],8931:[[8850,824]],8938:[[8882,824]],8939:[[8883,824]],8940:[[8884,824]],8941:[[8885,824]]},8960:{9001:[[12296]],9002:[[12297]]},9216:{9312:[[49],256],9313:[[50],256],9314:[[51],256],9315:[[52],256],9316:[[53],256],9317:[[54],256],9318:[[55],256],9319:[[56],256],9320:[[57],256],9321:[[49,48],256],9322:[[49,49],256],9323:[[49,50],256],9324:[[49,51],256],9325:[[49,52],256],9326:[[49,53],256],9327:[[49,54],256],9328:[[49,55],256],9329:[[49,56],256],9330:[[49,57],256],9331:[[50,48],256],9332:[[40,49,41],256],9333:[[40,50,41],256],9334:[[40,51,41],256],9335:[[40,52,41],256],9336:[[40,53,41],256],9337:[[40,54,41],256],9338:[[40,55,41],256],9339:[[40,56,41],256],9340:[[40,57,41],256],9341:[[40,49,48,41],256],9342:[[40,49,49,41],256],9343:[[40,49,50,41],256],9344:[[40,49,51,41],256],9345:[[40,49,52,41],256],9346:[[40,49,53,41],256],9347:[[40,49,54,41],256],9348:[[40,49,55,41],256],9349:[[40,49,56,41],256],9350:[[40,49,57,41],256],9351:[[40,50,48,41],256],9352:[[49,46],256],9353:[[50,46],256],9354:[[51,46],256],9355:[[52,46],256],9356:[[53,46],256],9357:[[54,46],256],9358:[[55,46],256],9359:[[56,46],256],9360:[[57,46],256],9361:[[49,48,46],256],9362:[[49,49,46],256],9363:[[49,50,46],256],9364:[[49,51,46],256],9365:[[49,52,46],256],9366:[[49,53,46],256],9367:[[49,54,46],256],9368:[[49,55,46],256],9369:[[49,56,46],256],9370:[[49,57,46],256],9371:[[50,48,46],256],9372:[[40,97,41],256],9373:[[40,98,41],256],9374:[[40,99,41],256],9375:[[40,100,41],256],9376:[[40,101,41],256],9377:[[40,102,41],256],9378:[[40,103,41],256],9379:[[40,104,41],256],9380:[[40,105,41],256],9381:[[40,106,41],256],9382:[[40,107,41],256],9383:[[40,108,41],256],9384:[[40,109,41],256],9385:[[40,110,41],256],9386:[[40,111,41],256],9387:[[40,112,41],256],9388:[[40,113,41],256],9389:[[40,114,41],256],9390:[[40,115,41],256],9391:[[40,116,41],256],9392:[[40,117,41],256],9393:[[40,118,41],256],9394:[[40,119,41],256],9395:[[40,120,41],256],9396:[[40,121,41],256],9397:[[40,122,41],256],9398:[[65],256],9399:[[66],256],9400:[[67],256],9401:[[68],256],9402:[[69],256],9403:[[70],256],9404:[[71],256],9405:[[72],256],9406:[[73],256],9407:[[74],256],9408:[[75],256],9409:[[76],256],9410:[[77],256],9411:[[78],256],9412:[[79],256],9413:[[80],256],9414:[[81],256],9415:[[82],256],9416:[[83],256],9417:[[84],256],9418:[[85],256],9419:[[86],256],9420:[[87],256],9421:[[88],256],9422:[[89],256],9423:[[90],256],9424:[[97],256],9425:[[98],256],9426:[[99],256],9427:[[100],256],9428:[[101],256],9429:[[102],256],9430:[[103],256],9431:[[104],256],9432:[[105],256],9433:[[106],256],9434:[[107],256],9435:[[108],256],9436:[[109],256],9437:[[110],256],9438:[[111],256],9439:[[112],256],9440:[[113],256],9441:[[114],256],9442:[[115],256],9443:[[116],256],9444:[[117],256],9445:[[118],256],9446:[[119],256],9447:[[120],256],9448:[[121],256],9449:[[122],256],9450:[[48],256]},10752:{10764:[[8747,8747,8747,8747],256],10868:[[58,58,61],256],10869:[[61,61],256],10870:[[61,61,61],256],10972:[[10973,824],512]},11264:{11388:[[106],256],11389:[[86],256],11503:[,230],11504:[,230],11505:[,230]},11520:{11631:[[11617],256],11647:[,9],11744:[,230],11745:[,230],11746:[,230],11747:[,230],11748:[,230],11749:[,230],11750:[,230],11751:[,230],11752:[,230],11753:[,230],11754:[,230],11755:[,230],11756:[,230],11757:[,230],11758:[,230],11759:[,230],11760:[,230],11761:[,230],11762:[,230],11763:[,230],11764:[,230],11765:[,230],11766:[,230],11767:[,230],11768:[,230],11769:[,230],11770:[,230],11771:[,230],11772:[,230],11773:[,230],11774:[,230],11775:[,230]},11776:{11935:[[27597],256],12019:[[40863],256]},12032:{12032:[[19968],256],12033:[[20008],256],12034:[[20022],256],12035:[[20031],256],12036:[[20057],256],12037:[[20101],256],12038:[[20108],256],12039:[[20128],256],12040:[[20154],256],12041:[[20799],256],12042:[[20837],256],12043:[[20843],256],12044:[[20866],256],12045:[[20886],256],12046:[[20907],256],12047:[[20960],256],12048:[[20981],256],12049:[[20992],256],12050:[[21147],256],12051:[[21241],256],12052:[[21269],256],12053:[[21274],256],12054:[[21304],256],12055:[[21313],256],12056:[[21340],256],12057:[[21353],256],12058:[[21378],256],12059:[[21430],256],12060:[[21448],256],12061:[[21475],256],12062:[[22231],256],12063:[[22303],256],12064:[[22763],256],12065:[[22786],256],12066:[[22794],256],12067:[[22805],256],12068:[[22823],256],12069:[[22899],256],12070:[[23376],256],12071:[[23424],256],12072:[[23544],256],12073:[[23567],256],12074:[[23586],256],12075:[[23608],256],12076:[[23662],256],12077:[[23665],256],12078:[[24027],256],12079:[[24037],256],12080:[[24049],256],12081:[[24062],256],12082:[[24178],256],12083:[[24186],256],12084:[[24191],256],12085:[[24308],256],12086:[[24318],256],12087:[[24331],256],12088:[[24339],256],12089:[[24400],256],12090:[[24417],256],12091:[[24435],256],12092:[[24515],256],12093:[[25096],256],12094:[[25142],256],12095:[[25163],256],12096:[[25903],256],12097:[[25908],256],12098:[[25991],256],12099:[[26007],256],12100:[[26020],256],12101:[[26041],256],12102:[[26080],256],12103:[[26085],256],12104:[[26352],256],12105:[[26376],256],12106:[[26408],256],12107:[[27424],256],12108:[[27490],256],12109:[[27513],256],12110:[[27571],256],12111:[[27595],256],12112:[[27604],256],12113:[[27611],256],12114:[[27663],256],12115:[[27668],256],12116:[[27700],256],12117:[[28779],256],12118:[[29226],256],12119:[[29238],256],12120:[[29243],256],12121:[[29247],256],12122:[[29255],256],12123:[[29273],256],12124:[[29275],256],12125:[[29356],256],12126:[[29572],256],12127:[[29577],256],12128:[[29916],256],12129:[[29926],256],12130:[[29976],256],12131:[[29983],256],12132:[[29992],256],12133:[[3e4],256],12134:[[30091],256],12135:[[30098],256],12136:[[30326],256],12137:[[30333],256],12138:[[30382],256],12139:[[30399],256],12140:[[30446],256],12141:[[30683],256],12142:[[30690],256],12143:[[30707],256],12144:[[31034],256],12145:[[31160],256],12146:[[31166],256],12147:[[31348],256],12148:[[31435],256],12149:[[31481],256],12150:[[31859],256],12151:[[31992],256],12152:[[32566],256],12153:[[32593],256],12154:[[32650],256],12155:[[32701],256],12156:[[32769],256],12157:[[32780],256],12158:[[32786],256],12159:[[32819],256],12160:[[32895],256],12161:[[32905],256],12162:[[33251],256],12163:[[33258],256],12164:[[33267],256],12165:[[33276],256],12166:[[33292],256],12167:[[33307],256],12168:[[33311],256],12169:[[33390],256],12170:[[33394],256],12171:[[33400],256],12172:[[34381],256],12173:[[34411],256],12174:[[34880],256],12175:[[34892],256],12176:[[34915],256],12177:[[35198],256],12178:[[35211],256],12179:[[35282],256],12180:[[35328],256],12181:[[35895],256],12182:[[35910],256],12183:[[35925],256],12184:[[35960],256],12185:[[35997],256],12186:[[36196],256],12187:[[36208],256],12188:[[36275],256],12189:[[36523],256],12190:[[36554],256],12191:[[36763],256],12192:[[36784],256],12193:[[36789],256],12194:[[37009],256],12195:[[37193],256],12196:[[37318],256],12197:[[37324],256],12198:[[37329],256],12199:[[38263],256],12200:[[38272],256],12201:[[38428],256],12202:[[38582],256],12203:[[38585],256],12204:[[38632],256],12205:[[38737],256],12206:[[38750],256],12207:[[38754],256],12208:[[38761],256],12209:[[38859],256],12210:[[38893],256],12211:[[38899],256],12212:[[38913],256],12213:[[39080],256],12214:[[39131],256],12215:[[39135],256],12216:[[39318],256],12217:[[39321],256],12218:[[39340],256],12219:[[39592],256],12220:[[39640],256],12221:[[39647],256],12222:[[39717],256],12223:[[39727],256],12224:[[39730],256],12225:[[39740],256],12226:[[39770],256],12227:[[40165],256],12228:[[40565],256],12229:[[40575],256],12230:[[40613],256],12231:[[40635],256],12232:[[40643],256],12233:[[40653],256],12234:[[40657],256],12235:[[40697],256],12236:[[40701],256],12237:[[40718],256],12238:[[40723],256],12239:[[40736],256],12240:[[40763],256],12241:[[40778],256],12242:[[40786],256],12243:[[40845],256],12244:[[40860],256],12245:[[40864],256]},12288:{12288:[[32],256],12330:[,218],12331:[,228],12332:[,232],12333:[,222],12334:[,224],12335:[,224],12342:[[12306],256],12344:[[21313],256],12345:[[21316],256],12346:[[21317],256],12358:[,,{12441:12436}],12363:[,,{12441:12364}],12364:[[12363,12441]],12365:[,,{12441:12366}],12366:[[12365,12441]],12367:[,,{12441:12368}],12368:[[12367,12441]],12369:[,,{12441:12370}],12370:[[12369,12441]],12371:[,,{12441:12372}],12372:[[12371,12441]],12373:[,,{12441:12374}],12374:[[12373,12441]],12375:[,,{12441:12376}],12376:[[12375,12441]],12377:[,,{12441:12378}],12378:[[12377,12441]],12379:[,,{12441:12380}],12380:[[12379,12441]],12381:[,,{12441:12382}],12382:[[12381,12441]],12383:[,,{12441:12384}],12384:[[12383,12441]],12385:[,,{12441:12386}],12386:[[12385,12441]],12388:[,,{12441:12389}],12389:[[12388,12441]],12390:[,,{12441:12391}],12391:[[12390,12441]],12392:[,,{12441:12393}],12393:[[12392,12441]],12399:[,,{12441:12400,12442:12401}],12400:[[12399,12441]],12401:[[12399,12442]],12402:[,,{12441:12403,12442:12404}],12403:[[12402,12441]],12404:[[12402,12442]],12405:[,,{12441:12406,12442:12407}],12406:[[12405,12441]],12407:[[12405,12442]],12408:[,,{12441:12409,12442:12410}],12409:[[12408,12441]],12410:[[12408,12442]],12411:[,,{12441:12412,12442:12413}],12412:[[12411,12441]],12413:[[12411,12442]],12436:[[12358,12441]],12441:[,8],12442:[,8],12443:[[32,12441],256],12444:[[32,12442],256],12445:[,,{12441:12446}],12446:[[12445,12441]],12447:[[12424,12426],256],12454:[,,{12441:12532}],12459:[,,{12441:12460}],12460:[[12459,12441]],12461:[,,{12441:12462}],12462:[[12461,12441]],12463:[,,{12441:12464}],12464:[[12463,12441]],12465:[,,{12441:12466}],12466:[[12465,12441]],12467:[,,{12441:12468}],12468:[[12467,12441]],12469:[,,{12441:12470}],12470:[[12469,12441]],12471:[,,{12441:12472}],12472:[[12471,12441]],12473:[,,{12441:12474}],12474:[[12473,12441]],12475:[,,{12441:12476}],12476:[[12475,12441]],12477:[,,{12441:12478}],12478:[[12477,12441]],12479:[,,{12441:12480}],12480:[[12479,12441]],12481:[,,{12441:12482}],12482:[[12481,12441]],12484:[,,{12441:12485}],12485:[[12484,12441]],12486:[,,{12441:12487}],12487:[[12486,12441]],12488:[,,{12441:12489}],12489:[[12488,12441]],12495:[,,{12441:12496,12442:12497}],12496:[[12495,12441]],12497:[[12495,12442]],12498:[,,{12441:12499,12442:12500}],12499:[[12498,12441]],12500:[[12498,12442]],12501:[,,{12441:12502,12442:12503}],12502:[[12501,12441]],12503:[[12501,12442]],12504:[,,{12441:12505,12442:12506}],12505:[[12504,12441]],12506:[[12504,12442]],12507:[,,{12441:12508,12442:12509}],12508:[[12507,12441]],12509:[[12507,12442]],12527:[,,{12441:12535}],12528:[,,{12441:12536}],12529:[,,{12441:12537}],12530:[,,{12441:12538}],12532:[[12454,12441]],12535:[[12527,12441]],12536:[[12528,12441]],12537:[[12529,12441]],12538:[[12530,12441]],12541:[,,{12441:12542}],12542:[[12541,12441]],12543:[[12467,12488],256]},12544:{12593:[[4352],256],12594:[[4353],256],12595:[[4522],256],12596:[[4354],256],12597:[[4524],256],12598:[[4525],256],12599:[[4355],256],12600:[[4356],256],12601:[[4357],256],12602:[[4528],256],12603:[[4529],256],12604:[[4530],256],12605:[[4531],256],12606:[[4532],256],12607:[[4533],256],12608:[[4378],256],12609:[[4358],256],12610:[[4359],256],12611:[[4360],256],12612:[[4385],256],12613:[[4361],256],12614:[[4362],256],12615:[[4363],256],12616:[[4364],256],12617:[[4365],256],12618:[[4366],256],12619:[[4367],256],12620:[[4368],256],12621:[[4369],256],12622:[[4370],256],12623:[[4449],256],12624:[[4450],256],12625:[[4451],256],12626:[[4452],256],12627:[[4453],256],12628:[[4454],256],12629:[[4455],256],12630:[[4456],256],12631:[[4457],256],12632:[[4458],256],12633:[[4459],256],12634:[[4460],256],12635:[[4461],256],12636:[[4462],256],12637:[[4463],256],12638:[[4464],256],12639:[[4465],256],12640:[[4466],256],12641:[[4467],256],12642:[[4468],256],12643:[[4469],256],12644:[[4448],256],12645:[[4372],256],12646:[[4373],256],12647:[[4551],256],12648:[[4552],256],12649:[[4556],256],12650:[[4558],256],12651:[[4563],256],12652:[[4567],256],12653:[[4569],256],12654:[[4380],256],12655:[[4573],256],12656:[[4575],256],12657:[[4381],256],12658:[[4382],256],12659:[[4384],256],12660:[[4386],256],12661:[[4387],256],12662:[[4391],256],12663:[[4393],256],12664:[[4395],256],12665:[[4396],256],12666:[[4397],256],12667:[[4398],256],12668:[[4399],256],12669:[[4402],256],12670:[[4406],256],12671:[[4416],256],12672:[[4423],256],12673:[[4428],256],12674:[[4593],256],12675:[[4594],256],12676:[[4439],256],12677:[[4440],256],12678:[[4441],256],12679:[[4484],256],12680:[[4485],256],12681:[[4488],256],12682:[[4497],256],12683:[[4498],256],12684:[[4500],256],12685:[[4510],256],12686:[[4513],256],12690:[[19968],256],12691:[[20108],256],12692:[[19977],256],12693:[[22235],256],12694:[[19978],256],12695:[[20013],256],12696:[[19979],256],12697:[[30002],256],12698:[[20057],256],12699:[[19993],256],12700:[[19969],256],12701:[[22825],256],12702:[[22320],256],12703:[[20154],256]},12800:{12800:[[40,4352,41],256],12801:[[40,4354,41],256],12802:[[40,4355,41],256],12803:[[40,4357,41],256],12804:[[40,4358,41],256],12805:[[40,4359,41],256],12806:[[40,4361,41],256],12807:[[40,4363,41],256],12808:[[40,4364,41],256],12809:[[40,4366,41],256],12810:[[40,4367,41],256],12811:[[40,4368,41],256],12812:[[40,4369,41],256],12813:[[40,4370,41],256],12814:[[40,4352,4449,41],256],12815:[[40,4354,4449,41],256],12816:[[40,4355,4449,41],256],12817:[[40,4357,4449,41],256],12818:[[40,4358,4449,41],256],12819:[[40,4359,4449,41],256],12820:[[40,4361,4449,41],256],12821:[[40,4363,4449,41],256],12822:[[40,4364,4449,41],256],12823:[[40,4366,4449,41],256],12824:[[40,4367,4449,41],256],12825:[[40,4368,4449,41],256],12826:[[40,4369,4449,41],256],12827:[[40,4370,4449,41],256],12828:[[40,4364,4462,41],256],12829:[[40,4363,4457,4364,4453,4523,41],256],12830:[[40,4363,4457,4370,4462,41],256],12832:[[40,19968,41],256],12833:[[40,20108,41],256],12834:[[40,19977,41],256],12835:[[40,22235,41],256],12836:[[40,20116,41],256],12837:[[40,20845,41],256],12838:[[40,19971,41],256],12839:[[40,20843,41],256],12840:[[40,20061,41],256],12841:[[40,21313,41],256],12842:[[40,26376,41],256],12843:[[40,28779,41],256],12844:[[40,27700,41],256],12845:[[40,26408,41],256],12846:[[40,37329,41],256],12847:[[40,22303,41],256],12848:[[40,26085,41],256],12849:[[40,26666,41],256],12850:[[40,26377,41],256],12851:[[40,31038,41],256],12852:[[40,21517,41],256],12853:[[40,29305,41],256],12854:[[40,36001,41],256],12855:[[40,31069,41],256],12856:[[40,21172,41],256],12857:[[40,20195,41],256],12858:[[40,21628,41],256],12859:[[40,23398,41],256],12860:[[40,30435,41],256],12861:[[40,20225,41],256],12862:[[40,36039,41],256],12863:[[40,21332,41],256],12864:[[40,31085,41],256],12865:[[40,20241,41],256],12866:[[40,33258,41],256],12867:[[40,33267,41],256],12868:[[21839],256],12869:[[24188],256],12870:[[25991],256],12871:[[31631],256],12880:[[80,84,69],256],12881:[[50,49],256],12882:[[50,50],256],12883:[[50,51],256],12884:[[50,52],256],12885:[[50,53],256],12886:[[50,54],256],12887:[[50,55],256],12888:[[50,56],256],12889:[[50,57],256],12890:[[51,48],256],12891:[[51,49],256],12892:[[51,50],256],12893:[[51,51],256],12894:[[51,52],256],12895:[[51,53],256],12896:[[4352],256],12897:[[4354],256],12898:[[4355],256],12899:[[4357],256],12900:[[4358],256],12901:[[4359],256],12902:[[4361],256],12903:[[4363],256],12904:[[4364],256],12905:[[4366],256],12906:[[4367],256],12907:[[4368],256],12908:[[4369],256],12909:[[4370],256],12910:[[4352,4449],256],12911:[[4354,4449],256],12912:[[4355,4449],256],12913:[[4357,4449],256],12914:[[4358,4449],256],12915:[[4359,4449],256],12916:[[4361,4449],256],12917:[[4363,4449],256],12918:[[4364,4449],256],12919:[[4366,4449],256],12920:[[4367,4449],256],12921:[[4368,4449],256],12922:[[4369,4449],256],12923:[[4370,4449],256],12924:[[4366,4449,4535,4352,4457],256],12925:[[4364,4462,4363,4468],256],12926:[[4363,4462],256],12928:[[19968],256],12929:[[20108],256],12930:[[19977],256],12931:[[22235],256],12932:[[20116],256],12933:[[20845],256],12934:[[19971],256],12935:[[20843],256],12936:[[20061],256],12937:[[21313],256],12938:[[26376],256],12939:[[28779],256],12940:[[27700],256],12941:[[26408],256],12942:[[37329],256],12943:[[22303],256],12944:[[26085],256],12945:[[26666],256],12946:[[26377],256],12947:[[31038],256],12948:[[21517],256],12949:[[29305],256],12950:[[36001],256],12951:[[31069],256],12952:[[21172],256],12953:[[31192],256],12954:[[30007],256],12955:[[22899],256],12956:[[36969],256],12957:[[20778],256],12958:[[21360],256],12959:[[27880],256],12960:[[38917],256],12961:[[20241],256],12962:[[20889],256],12963:[[27491],256],12964:[[19978],256],12965:[[20013],256],12966:[[19979],256],12967:[[24038],256],12968:[[21491],256],12969:[[21307],256],12970:[[23447],256],12971:[[23398],256],12972:[[30435],256],12973:[[20225],256],12974:[[36039],256],12975:[[21332],256],12976:[[22812],256],12977:[[51,54],256],12978:[[51,55],256],12979:[[51,56],256],12980:[[51,57],256],12981:[[52,48],256],12982:[[52,49],256],12983:[[52,50],256],12984:[[52,51],256],12985:[[52,52],256],12986:[[52,53],256],12987:[[52,54],256],12988:[[52,55],256],12989:[[52,56],256],12990:[[52,57],256],12991:[[53,48],256],12992:[[49,26376],256],12993:[[50,26376],256],12994:[[51,26376],256],12995:[[52,26376],256],12996:[[53,26376],256],12997:[[54,26376],256],12998:[[55,26376],256],12999:[[56,26376],256],13e3:[[57,26376],256],13001:[[49,48,26376],256],13002:[[49,49,26376],256],13003:[[49,50,26376],256],13004:[[72,103],256],13005:[[101,114,103],256],13006:[[101,86],256],13007:[[76,84,68],256],13008:[[12450],256],13009:[[12452],256],13010:[[12454],256],13011:[[12456],256],13012:[[12458],256],13013:[[12459],256],13014:[[12461],256],13015:[[12463],256],13016:[[12465],256],13017:[[12467],256],13018:[[12469],256],13019:[[12471],256],13020:[[12473],256],13021:[[12475],256],13022:[[12477],256],13023:[[12479],256],13024:[[12481],256],13025:[[12484],256],13026:[[12486],256],13027:[[12488],256],13028:[[12490],256],13029:[[12491],256],13030:[[12492],256],13031:[[12493],256],13032:[[12494],256],13033:[[12495],256],13034:[[12498],256],13035:[[12501],256],13036:[[12504],256],13037:[[12507],256],13038:[[12510],256],13039:[[12511],256],13040:[[12512],256],13041:[[12513],256],13042:[[12514],256],13043:[[12516],256],13044:[[12518],256],13045:[[12520],256],13046:[[12521],256],13047:[[12522],256],13048:[[12523],256],13049:[[12524],256],13050:[[12525],256],13051:[[12527],256],13052:[[12528],256],13053:[[12529],256],13054:[[12530],256]},13056:{13056:[[12450,12497,12540,12488],256],13057:[[12450,12523,12501,12449],256],13058:[[12450,12531,12506,12450],256],13059:[[12450,12540,12523],256],13060:[[12452,12491,12531,12464],256],13061:[[12452,12531,12481],256],13062:[[12454,12457,12531],256],13063:[[12456,12473,12463,12540,12489],256],13064:[[12456,12540,12459,12540],256],13065:[[12458,12531,12473],256],13066:[[12458,12540,12512],256],13067:[[12459,12452,12522],256],13068:[[12459,12521,12483,12488],256],13069:[[12459,12525,12522,12540],256],13070:[[12460,12525,12531],256],13071:[[12460,12531,12510],256],13072:[[12462,12460],256],13073:[[12462,12491,12540],256],13074:[[12461,12517,12522,12540],256],13075:[[12462,12523,12480,12540],256],13076:[[12461,12525],256],13077:[[12461,12525,12464,12521,12512],256],13078:[[12461,12525,12513,12540,12488,12523],256],13079:[[12461,12525,12527,12483,12488],256],13080:[[12464,12521,12512],256],13081:[[12464,12521,12512,12488,12531],256],13082:[[12463,12523,12476,12452,12525],256],13083:[[12463,12525,12540,12493],256],13084:[[12465,12540,12473],256],13085:[[12467,12523,12490],256],13086:[[12467,12540,12509],256],13087:[[12469,12452,12463,12523],256],13088:[[12469,12531,12481,12540,12512],256],13089:[[12471,12522,12531,12464],256],13090:[[12475,12531,12481],256],13091:[[12475,12531,12488],256],13092:[[12480,12540,12473],256],13093:[[12487,12471],256],13094:[[12489,12523],256],13095:[[12488,12531],256],13096:[[12490,12494],256],13097:[[12494,12483,12488],256],13098:[[12495,12452,12484],256],13099:[[12497,12540,12475,12531,12488],256],13100:[[12497,12540,12484],256],13101:[[12496,12540,12524,12523],256],13102:[[12500,12450,12473,12488,12523],256],13103:[[12500,12463,12523],256],13104:[[12500,12467],256],13105:[[12499,12523],256],13106:[[12501,12449,12521,12483,12489],256],13107:[[12501,12451,12540,12488],256],13108:[[12502,12483,12471,12455,12523],256],13109:[[12501,12521,12531],256],13110:[[12504,12463,12479,12540,12523],256],13111:[[12506,12477],256],13112:[[12506,12491,12498],256],13113:[[12504,12523,12484],256],13114:[[12506,12531,12473],256],13115:[[12506,12540,12472],256],13116:[[12505,12540,12479],256],13117:[[12509,12452,12531,12488],256],13118:[[12508,12523,12488],256],13119:[[12507,12531],256],13120:[[12509,12531,12489],256],13121:[[12507,12540,12523],256],13122:[[12507,12540,12531],256],13123:[[12510,12452,12463,12525],256],13124:[[12510,12452,12523],256],13125:[[12510,12483,12495],256],13126:[[12510,12523,12463],256],13127:[[12510,12531,12471,12519,12531],256],13128:[[12511,12463,12525,12531],256],13129:[[12511,12522],256],13130:[[12511,12522,12496,12540,12523],256],13131:[[12513,12460],256],13132:[[12513,12460,12488,12531],256],13133:[[12513,12540,12488,12523],256],13134:[[12516,12540,12489],256],13135:[[12516,12540,12523],256],13136:[[12518,12450,12531],256],13137:[[12522,12483,12488,12523],256],13138:[[12522,12521],256],13139:[[12523,12500,12540],256],13140:[[12523,12540,12502,12523],256],13141:[[12524,12512],256],13142:[[12524,12531,12488,12466,12531],256],13143:[[12527,12483,12488],256],13144:[[48,28857],256],13145:[[49,28857],256],13146:[[50,28857],256],13147:[[51,28857],256],13148:[[52,28857],256],13149:[[53,28857],256],13150:[[54,28857],256],13151:[[55,28857],256],13152:[[56,28857],256],13153:[[57,28857],256],13154:[[49,48,28857],256],13155:[[49,49,28857],256],13156:[[49,50,28857],256],13157:[[49,51,28857],256],13158:[[49,52,28857],256],13159:[[49,53,28857],256],13160:[[49,54,28857],256],13161:[[49,55,28857],256],13162:[[49,56,28857],256],13163:[[49,57,28857],256],13164:[[50,48,28857],256],13165:[[50,49,28857],256],13166:[[50,50,28857],256],13167:[[50,51,28857],256],13168:[[50,52,28857],256],13169:[[104,80,97],256],13170:[[100,97],256],13171:[[65,85],256],13172:[[98,97,114],256],13173:[[111,86],256],13174:[[112,99],256],13175:[[100,109],256],13176:[[100,109,178],256],13177:[[100,109,179],256],13178:[[73,85],256],13179:[[24179,25104],256],13180:[[26157,21644],256],13181:[[22823,27491],256],13182:[[26126,27835],256],13183:[[26666,24335,20250,31038],256],13184:[[112,65],256],13185:[[110,65],256],13186:[[956,65],256],13187:[[109,65],256],13188:[[107,65],256],13189:[[75,66],256],13190:[[77,66],256],13191:[[71,66],256],13192:[[99,97,108],256],13193:[[107,99,97,108],256],13194:[[112,70],256],13195:[[110,70],256],13196:[[956,70],256],13197:[[956,103],256],13198:[[109,103],256],13199:[[107,103],256],13200:[[72,122],256],13201:[[107,72,122],256],13202:[[77,72,122],256],13203:[[71,72,122],256],13204:[[84,72,122],256],13205:[[956,8467],256],13206:[[109,8467],256],13207:[[100,8467],256],13208:[[107,8467],256],13209:[[102,109],256],13210:[[110,109],256],13211:[[956,109],256],13212:[[109,109],256],13213:[[99,109],256],13214:[[107,109],256],13215:[[109,109,178],256],13216:[[99,109,178],256],13217:[[109,178],256],13218:[[107,109,178],256],13219:[[109,109,179],256],13220:[[99,109,179],256],13221:[[109,179],256],13222:[[107,109,179],256],13223:[[109,8725,115],256],13224:[[109,8725,115,178],256],13225:[[80,97],256],13226:[[107,80,97],256],13227:[[77,80,97],256],13228:[[71,80,97],256],13229:[[114,97,100],256],13230:[[114,97,100,8725,115],256],13231:[[114,97,100,8725,115,178],256],13232:[[112,115],256],13233:[[110,115],256],13234:[[956,115],256],13235:[[109,115],256],13236:[[112,86],256],13237:[[110,86],256],13238:[[956,86],256],13239:[[109,86],256],13240:[[107,86],256],13241:[[77,86],256],13242:[[112,87],256],13243:[[110,87],256],13244:[[956,87],256],13245:[[109,87],256],13246:[[107,87],256],13247:[[77,87],256],13248:[[107,937],256],13249:[[77,937],256],13250:[[97,46,109,46],256],13251:[[66,113],256],13252:[[99,99],256],13253:[[99,100],256],13254:[[67,8725,107,103],256],13255:[[67,111,46],256],13256:[[100,66],256],13257:[[71,121],256],13258:[[104,97],256],13259:[[72,80],256],13260:[[105,110],256],13261:[[75,75],256],13262:[[75,77],256],13263:[[107,116],256],13264:[[108,109],256],13265:[[108,110],256],13266:[[108,111,103],256],13267:[[108,120],256],13268:[[109,98],256],13269:[[109,105,108],256],13270:[[109,111,108],256],13271:[[80,72],256],13272:[[112,46,109,46],256],13273:[[80,80,77],256],13274:[[80,82],256],13275:[[115,114],256],13276:[[83,118],256],13277:[[87,98],256],13278:[[86,8725,109],256],13279:[[65,8725,109],256],13280:[[49,26085],256],13281:[[50,26085],256],13282:[[51,26085],256],13283:[[52,26085],256],13284:[[53,26085],256],13285:[[54,26085],256],13286:[[55,26085],256],13287:[[56,26085],256],13288:[[57,26085],256],13289:[[49,48,26085],256],13290:[[49,49,26085],256],13291:[[49,50,26085],256],13292:[[49,51,26085],256],13293:[[49,52,26085],256],13294:[[49,53,26085],256],13295:[[49,54,26085],256],13296:[[49,55,26085],256],13297:[[49,56,26085],256],13298:[[49,57,26085],256],13299:[[50,48,26085],256],13300:[[50,49,26085],256],13301:[[50,50,26085],256],13302:[[50,51,26085],256],13303:[[50,52,26085],256],13304:[[50,53,26085],256],13305:[[50,54,26085],256],13306:[[50,55,26085],256],13307:[[50,56,26085],256],13308:[[50,57,26085],256],13309:[[51,48,26085],256],13310:[[51,49,26085],256],13311:[[103,97,108],256]},27136:{92912:[,1],92913:[,1],92914:[,1],92915:[,1],92916:[,1]},27392:{92976:[,230],92977:[,230],92978:[,230],92979:[,230],92980:[,230],92981:[,230],92982:[,230]},42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42652:[[1098],256],42653:[[1100],256],42655:[,230],42736:[,230],42737:[,230]},42752:{42864:[[42863],256],43e3:[[294],256],43001:[[339],256]},43008:{43014:[,9],43204:[,9],43232:[,230],43233:[,230],43234:[,230],43235:[,230],43236:[,230],43237:[,230],43238:[,230],43239:[,230],43240:[,230],43241:[,230],43242:[,230],43243:[,230],43244:[,230],43245:[,230],43246:[,230],43247:[,230],43248:[,230],43249:[,230]},43264:{43307:[,220],43308:[,220],43309:[,220],43347:[,9],43443:[,7],43456:[,9]},43520:{43696:[,230],43698:[,230],43699:[,230],43700:[,220],43703:[,230],43704:[,230],43710:[,230],43711:[,230],43713:[,230],43766:[,9]},43776:{43868:[[42791],256],43869:[[43831],256],43870:[[619],256],43871:[[43858],256],44013:[,9]},48128:{113822:[,1]},53504:{119134:[[119127,119141],512],119135:[[119128,119141],512],119136:[[119135,119150],512],119137:[[119135,119151],512],119138:[[119135,119152],512],119139:[[119135,119153],512],119140:[[119135,119154],512],119141:[,216],119142:[,216],119143:[,1],119144:[,1],119145:[,1],119149:[,226],119150:[,216],119151:[,216],119152:[,216],119153:[,216],119154:[,216],119163:[,220],119164:[,220],119165:[,220],119166:[,220],119167:[,220],119168:[,220],119169:[,220],119170:[,220],119173:[,230],119174:[,230],119175:[,230],119176:[,230],119177:[,230],119178:[,220],119179:[,220],119210:[,230],119211:[,230],119212:[,230],119213:[,230],119227:[[119225,119141],512],119228:[[119226,119141],512],119229:[[119227,119150],512],119230:[[119228,119150],512],119231:[[119227,119151],512],119232:[[119228,119151],512]},53760:{119362:[,230],119363:[,230],119364:[,230]},54272:{119808:[[65],256],119809:[[66],256],119810:[[67],256],119811:[[68],256],119812:[[69],256],119813:[[70],256],119814:[[71],256],119815:[[72],256],119816:[[73],256],119817:[[74],256],119818:[[75],256],119819:[[76],256],119820:[[77],256],119821:[[78],256],119822:[[79],256],119823:[[80],256],119824:[[81],256],119825:[[82],256],119826:[[83],256],119827:[[84],256],119828:[[85],256],119829:[[86],256],119830:[[87],256],119831:[[88],256],119832:[[89],256],119833:[[90],256],119834:[[97],256],119835:[[98],256],119836:[[99],256],119837:[[100],256],119838:[[101],256],119839:[[102],256],119840:[[103],256],119841:[[104],256],119842:[[105],256],119843:[[106],256],119844:[[107],256],119845:[[108],256],119846:[[109],256],119847:[[110],256],119848:[[111],256],119849:[[112],256],119850:[[113],256],119851:[[114],256],119852:[[115],256],119853:[[116],256],119854:[[117],256],119855:[[118],256],119856:[[119],256],119857:[[120],256],119858:[[121],256],119859:[[122],256],119860:[[65],256],119861:[[66],256],119862:[[67],256],119863:[[68],256],119864:[[69],256],119865:[[70],256],119866:[[71],256],119867:[[72],256],119868:[[73],256],119869:[[74],256],119870:[[75],256],119871:[[76],256],119872:[[77],256],119873:[[78],256],119874:[[79],256],119875:[[80],256],119876:[[81],256],119877:[[82],256],119878:[[83],256],119879:[[84],256],119880:[[85],256],119881:[[86],256],119882:[[87],256],119883:[[88],256],119884:[[89],256],119885:[[90],256],119886:[[97],256],119887:[[98],256],119888:[[99],256],119889:[[100],256],119890:[[101],256],119891:[[102],256],119892:[[103],256],119894:[[105],256],119895:[[106],256],119896:[[107],256],119897:[[108],256],119898:[[109],256],119899:[[110],256],119900:[[111],256],119901:[[112],256],119902:[[113],256],119903:[[114],256],119904:[[115],256],119905:[[116],256],119906:[[117],256],119907:[[118],256],119908:[[119],256],119909:[[120],256],119910:[[121],256],119911:[[122],256],119912:[[65],256],119913:[[66],256],119914:[[67],256],119915:[[68],256],119916:[[69],256],119917:[[70],256],119918:[[71],256],119919:[[72],256],119920:[[73],256],119921:[[74],256],119922:[[75],256],119923:[[76],256],119924:[[77],256],119925:[[78],256],119926:[[79],256],119927:[[80],256],119928:[[81],256],119929:[[82],256],119930:[[83],256],119931:[[84],256],119932:[[85],256],119933:[[86],256],119934:[[87],256],119935:[[88],256],119936:[[89],256],119937:[[90],256],119938:[[97],256],119939:[[98],256],119940:[[99],256],119941:[[100],256],119942:[[101],256],119943:[[102],256],119944:[[103],256],119945:[[104],256],119946:[[105],256],119947:[[106],256],119948:[[107],256],119949:[[108],256],119950:[[109],256],119951:[[110],256],119952:[[111],256],119953:[[112],256],119954:[[113],256],119955:[[114],256],119956:[[115],256],119957:[[116],256],119958:[[117],256],119959:[[118],256],119960:[[119],256],119961:[[120],256],119962:[[121],256],119963:[[122],256],119964:[[65],256],119966:[[67],256],119967:[[68],256],119970:[[71],256],119973:[[74],256],119974:[[75],256],119977:[[78],256],119978:[[79],256],119979:[[80],256],119980:[[81],256],119982:[[83],256],119983:[[84],256],119984:[[85],256],119985:[[86],256],119986:[[87],256],119987:[[88],256],119988:[[89],256],119989:[[90],256],119990:[[97],256],119991:[[98],256],119992:[[99],256],119993:[[100],256],119995:[[102],256],119997:[[104],256],119998:[[105],256],119999:[[106],256],12e4:[[107],256],120001:[[108],256],120002:[[109],256],120003:[[110],256],120005:[[112],256],120006:[[113],256],120007:[[114],256],120008:[[115],256],120009:[[116],256],120010:[[117],256],120011:[[118],256],120012:[[119],256],120013:[[120],256],120014:[[121],256],120015:[[122],256],120016:[[65],256],120017:[[66],256],120018:[[67],256],120019:[[68],256],120020:[[69],256],120021:[[70],256],120022:[[71],256],120023:[[72],256],120024:[[73],256],120025:[[74],256],120026:[[75],256],120027:[[76],256],120028:[[77],256],120029:[[78],256],120030:[[79],256],120031:[[80],256],120032:[[81],256],120033:[[82],256],120034:[[83],256],120035:[[84],256],120036:[[85],256],120037:[[86],256],120038:[[87],256],120039:[[88],256],120040:[[89],256],120041:[[90],256],120042:[[97],256],120043:[[98],256],120044:[[99],256],120045:[[100],256],120046:[[101],256],120047:[[102],256],120048:[[103],256],120049:[[104],256],120050:[[105],256],120051:[[106],256],120052:[[107],256],120053:[[108],256],120054:[[109],256],120055:[[110],256],120056:[[111],256],120057:[[112],256],120058:[[113],256],120059:[[114],256],120060:[[115],256],120061:[[116],256],120062:[[117],256],120063:[[118],256]},54528:{120064:[[119],256],120065:[[120],256],120066:[[121],256],120067:[[122],256],120068:[[65],256],120069:[[66],256],120071:[[68],256],120072:[[69],256],120073:[[70],256],120074:[[71],256],120077:[[74],256],120078:[[75],256],120079:[[76],256],120080:[[77],256],120081:[[78],256],120082:[[79],256],120083:[[80],256],120084:[[81],256],120086:[[83],256],120087:[[84],256],120088:[[85],256],120089:[[86],256],120090:[[87],256],120091:[[88],256],120092:[[89],256],120094:[[97],256],120095:[[98],256],120096:[[99],256],120097:[[100],256],120098:[[101],256],120099:[[102],256],120100:[[103],256],120101:[[104],256],120102:[[105],256],120103:[[106],256],120104:[[107],256],120105:[[108],256],120106:[[109],256],120107:[[110],256],120108:[[111],256],120109:[[112],256],120110:[[113],256],120111:[[114],256],120112:[[115],256],120113:[[116],256],120114:[[117],256],120115:[[118],256],120116:[[119],256],120117:[[120],256],120118:[[121],256],120119:[[122],256],120120:[[65],256],120121:[[66],256],120123:[[68],256],120124:[[69],256],120125:[[70],256],120126:[[71],256],120128:[[73],256],120129:[[74],256],120130:[[75],256],120131:[[76],256],120132:[[77],256],120134:[[79],256],120138:[[83],256],120139:[[84],256],120140:[[85],256],120141:[[86],256],120142:[[87],256],120143:[[88],256],120144:[[89],256],120146:[[97],256],120147:[[98],256],120148:[[99],256],120149:[[100],256],120150:[[101],256],120151:[[102],256],120152:[[103],256],120153:[[104],256],120154:[[105],256],120155:[[106],256],120156:[[107],256],120157:[[108],256],120158:[[109],256],120159:[[110],256],120160:[[111],256],120161:[[112],256],120162:[[113],256],120163:[[114],256],120164:[[115],256],120165:[[116],256],120166:[[117],256],120167:[[118],256],120168:[[119],256],120169:[[120],256],120170:[[121],256],120171:[[122],256],120172:[[65],256],120173:[[66],256],120174:[[67],256],120175:[[68],256],120176:[[69],256],120177:[[70],256],120178:[[71],256],120179:[[72],256],120180:[[73],256],120181:[[74],256],120182:[[75],256],120183:[[76],256],120184:[[77],256],120185:[[78],256],120186:[[79],256],120187:[[80],256],120188:[[81],256],120189:[[82],256],120190:[[83],256],120191:[[84],256],120192:[[85],256],120193:[[86],256],120194:[[87],256],120195:[[88],256],120196:[[89],256],120197:[[90],256],120198:[[97],256],120199:[[98],256],120200:[[99],256],120201:[[100],256],120202:[[101],256],120203:[[102],256],120204:[[103],256],120205:[[104],256],120206:[[105],256],120207:[[106],256],120208:[[107],256],120209:[[108],256],120210:[[109],256],120211:[[110],256],120212:[[111],256],120213:[[112],256],120214:[[113],256],120215:[[114],256],120216:[[115],256],120217:[[116],256],120218:[[117],256],120219:[[118],256],120220:[[119],256],120221:[[120],256],120222:[[121],256],120223:[[122],256],120224:[[65],256],120225:[[66],256],120226:[[67],256],120227:[[68],256],120228:[[69],256],120229:[[70],256],120230:[[71],256],120231:[[72],256],120232:[[73],256],120233:[[74],256],120234:[[75],256],120235:[[76],256],120236:[[77],256],120237:[[78],256],120238:[[79],256],120239:[[80],256],120240:[[81],256],120241:[[82],256],120242:[[83],256],120243:[[84],256],120244:[[85],256],120245:[[86],256],120246:[[87],256],120247:[[88],256],120248:[[89],256],120249:[[90],256],120250:[[97],256],120251:[[98],256],120252:[[99],256],120253:[[100],256],120254:[[101],256],120255:[[102],256],120256:[[103],256],120257:[[104],256],120258:[[105],256],120259:[[106],256],120260:[[107],256],120261:[[108],256],120262:[[109],256],120263:[[110],256],120264:[[111],256],120265:[[112],256],120266:[[113],256],120267:[[114],256],120268:[[115],256],120269:[[116],256],120270:[[117],256],120271:[[118],256],120272:[[119],256],120273:[[120],256],120274:[[121],256],120275:[[122],256],120276:[[65],256],120277:[[66],256],120278:[[67],256],120279:[[68],256],120280:[[69],256],120281:[[70],256],120282:[[71],256],120283:[[72],256],120284:[[73],256],120285:[[74],256],120286:[[75],256],120287:[[76],256],120288:[[77],256],120289:[[78],256],120290:[[79],256],120291:[[80],256],120292:[[81],256],120293:[[82],256],120294:[[83],256],120295:[[84],256],120296:[[85],256],120297:[[86],256],120298:[[87],256],120299:[[88],256],120300:[[89],256],120301:[[90],256],120302:[[97],256],120303:[[98],256],120304:[[99],256],120305:[[100],256],120306:[[101],256],120307:[[102],256],120308:[[103],256],120309:[[104],256],120310:[[105],256],120311:[[106],256],120312:[[107],256],120313:[[108],256],120314:[[109],256],120315:[[110],256],120316:[[111],256],120317:[[112],256],120318:[[113],256],120319:[[114],256]},54784:{120320:[[115],256],120321:[[116],256],120322:[[117],256],120323:[[118],256],120324:[[119],256],120325:[[120],256],120326:[[121],256],120327:[[122],256],120328:[[65],256],120329:[[66],256],120330:[[67],256],120331:[[68],256],120332:[[69],256],120333:[[70],256],120334:[[71],256],120335:[[72],256],120336:[[73],256],120337:[[74],256],120338:[[75],256],120339:[[76],256],120340:[[77],256],120341:[[78],256],120342:[[79],256],120343:[[80],256],120344:[[81],256],120345:[[82],256],120346:[[83],256],120347:[[84],256],120348:[[85],256],120349:[[86],256],120350:[[87],256],120351:[[88],256],120352:[[89],256],120353:[[90],256],120354:[[97],256],120355:[[98],256],120356:[[99],256],120357:[[100],256],120358:[[101],256],120359:[[102],256],120360:[[103],256],120361:[[104],256],120362:[[105],256],120363:[[106],256],120364:[[107],256],120365:[[108],256],120366:[[109],256],120367:[[110],256],120368:[[111],256],120369:[[112],256],120370:[[113],256],120371:[[114],256],120372:[[115],256],120373:[[116],256],120374:[[117],256],120375:[[118],256],120376:[[119],256],120377:[[120],256],120378:[[121],256],120379:[[122],256],120380:[[65],256],120381:[[66],256],120382:[[67],256],120383:[[68],256],120384:[[69],256],120385:[[70],256],120386:[[71],256],120387:[[72],256],120388:[[73],256],120389:[[74],256],120390:[[75],256],120391:[[76],256],120392:[[77],256],120393:[[78],256],120394:[[79],256],120395:[[80],256],120396:[[81],256],120397:[[82],256],120398:[[83],256],120399:[[84],256],120400:[[85],256],120401:[[86],256],120402:[[87],256],120403:[[88],256],120404:[[89],256],120405:[[90],256],120406:[[97],256],120407:[[98],256],120408:[[99],256],120409:[[100],256],120410:[[101],256],120411:[[102],256],120412:[[103],256],120413:[[104],256],120414:[[105],256],120415:[[106],256],120416:[[107],256],120417:[[108],256],120418:[[109],256],120419:[[110],256],120420:[[111],256],120421:[[112],256],120422:[[113],256],120423:[[114],256],120424:[[115],256],120425:[[116],256],120426:[[117],256],120427:[[118],256],120428:[[119],256],120429:[[120],256],120430:[[121],256],120431:[[122],256],120432:[[65],256],120433:[[66],256],120434:[[67],256],120435:[[68],256],120436:[[69],256],120437:[[70],256],120438:[[71],256],120439:[[72],256],120440:[[73],256],120441:[[74],256],120442:[[75],256],120443:[[76],256],120444:[[77],256],120445:[[78],256],120446:[[79],256],120447:[[80],256],120448:[[81],256],120449:[[82],256],120450:[[83],256],120451:[[84],256],120452:[[85],256],120453:[[86],256],120454:[[87],256],120455:[[88],256],120456:[[89],256],120457:[[90],256],120458:[[97],256],120459:[[98],256],120460:[[99],256],120461:[[100],256],120462:[[101],256],120463:[[102],256],120464:[[103],256],120465:[[104],256],120466:[[105],256],120467:[[106],256],120468:[[107],256],120469:[[108],256],120470:[[109],256],120471:[[110],256],120472:[[111],256],120473:[[112],256],120474:[[113],256],120475:[[114],256],120476:[[115],256],120477:[[116],256],120478:[[117],256],120479:[[118],256],120480:[[119],256],120481:[[120],256],120482:[[121],256],120483:[[122],256],120484:[[305],256],120485:[[567],256],120488:[[913],256],120489:[[914],256],120490:[[915],256],120491:[[916],256],120492:[[917],256],120493:[[918],256],120494:[[919],256],120495:[[920],256],120496:[[921],256],120497:[[922],256],120498:[[923],256],120499:[[924],256],120500:[[925],256],120501:[[926],256],120502:[[927],256],120503:[[928],256],120504:[[929],256],120505:[[1012],256],120506:[[931],256],120507:[[932],256],120508:[[933],256],120509:[[934],256],120510:[[935],256],120511:[[936],256],120512:[[937],256],120513:[[8711],256],120514:[[945],256],120515:[[946],256],120516:[[947],256],120517:[[948],256],120518:[[949],256],120519:[[950],256],120520:[[951],256],120521:[[952],256],120522:[[953],256],120523:[[954],256],120524:[[955],256],120525:[[956],256],120526:[[957],256],120527:[[958],256],120528:[[959],256],120529:[[960],256],120530:[[961],256],120531:[[962],256],120532:[[963],256],120533:[[964],256],120534:[[965],256],120535:[[966],256],120536:[[967],256],120537:[[968],256],120538:[[969],256],120539:[[8706],256],120540:[[1013],256],120541:[[977],256],120542:[[1008],256],120543:[[981],256],120544:[[1009],256],120545:[[982],256],120546:[[913],256],120547:[[914],256],120548:[[915],256],120549:[[916],256],120550:[[917],256],120551:[[918],256],120552:[[919],256],120553:[[920],256],120554:[[921],256],120555:[[922],256],120556:[[923],256],120557:[[924],256],120558:[[925],256],120559:[[926],256],120560:[[927],256],120561:[[928],256],120562:[[929],256],120563:[[1012],256],120564:[[931],256],120565:[[932],256],120566:[[933],256],120567:[[934],256],120568:[[935],256],120569:[[936],256],120570:[[937],256],120571:[[8711],256],120572:[[945],256],120573:[[946],256],120574:[[947],256],120575:[[948],256]},55040:{120576:[[949],256],120577:[[950],256],120578:[[951],256],120579:[[952],256],120580:[[953],256],120581:[[954],256],120582:[[955],256],120583:[[956],256],120584:[[957],256],120585:[[958],256],120586:[[959],256],120587:[[960],256],120588:[[961],256],120589:[[962],256],120590:[[963],256],120591:[[964],256],120592:[[965],256],120593:[[966],256],120594:[[967],256],120595:[[968],256],120596:[[969],256],120597:[[8706],256],120598:[[1013],256],120599:[[977],256],120600:[[1008],256],120601:[[981],256],120602:[[1009],256],120603:[[982],256],120604:[[913],256],120605:[[914],256],120606:[[915],256],120607:[[916],256],120608:[[917],256],120609:[[918],256],120610:[[919],256],120611:[[920],256],120612:[[921],256],120613:[[922],256],120614:[[923],256],120615:[[924],256],120616:[[925],256],120617:[[926],256],120618:[[927],256],120619:[[928],256],120620:[[929],256],120621:[[1012],256],120622:[[931],256],120623:[[932],256],120624:[[933],256],120625:[[934],256],120626:[[935],256],120627:[[936],256],120628:[[937],256],120629:[[8711],256],120630:[[945],256],120631:[[946],256],120632:[[947],256],120633:[[948],256],120634:[[949],256],120635:[[950],256],120636:[[951],256],120637:[[952],256],120638:[[953],256],120639:[[954],256],120640:[[955],256],120641:[[956],256],120642:[[957],256],120643:[[958],256],120644:[[959],256],120645:[[960],256],120646:[[961],256],120647:[[962],256],120648:[[963],256],120649:[[964],256],120650:[[965],256],120651:[[966],256],120652:[[967],256],120653:[[968],256],120654:[[969],256],120655:[[8706],256],120656:[[1013],256],120657:[[977],256],120658:[[1008],256],120659:[[981],256],120660:[[1009],256],120661:[[982],256],120662:[[913],256],120663:[[914],256],120664:[[915],256],120665:[[916],256],120666:[[917],256],120667:[[918],256],120668:[[919],256],120669:[[920],256],120670:[[921],256],120671:[[922],256],120672:[[923],256],120673:[[924],256],120674:[[925],256],120675:[[926],256],120676:[[927],256],120677:[[928],256],120678:[[929],256],120679:[[1012],256],120680:[[931],256],120681:[[932],256],120682:[[933],256],120683:[[934],256],120684:[[935],256],120685:[[936],256],120686:[[937],256],120687:[[8711],256],120688:[[945],256],120689:[[946],256],120690:[[947],256],120691:[[948],256],120692:[[949],256],120693:[[950],256],120694:[[951],256],120695:[[952],256],120696:[[953],256],120697:[[954],256],120698:[[955],256],120699:[[956],256],120700:[[957],256],120701:[[958],256],120702:[[959],256],120703:[[960],256],120704:[[961],256],120705:[[962],256],120706:[[963],256],120707:[[964],256],120708:[[965],256],120709:[[966],256],120710:[[967],256],120711:[[968],256],120712:[[969],256],120713:[[8706],256],120714:[[1013],256],120715:[[977],256],120716:[[1008],256],120717:[[981],256],120718:[[1009],256],120719:[[982],256],120720:[[913],256],120721:[[914],256],120722:[[915],256],120723:[[916],256],120724:[[917],256],120725:[[918],256],120726:[[919],256],120727:[[920],256],120728:[[921],256],120729:[[922],256],120730:[[923],256],120731:[[924],256],120732:[[925],256],120733:[[926],256],120734:[[927],256],120735:[[928],256],120736:[[929],256],120737:[[1012],256],120738:[[931],256],120739:[[932],256],120740:[[933],256],120741:[[934],256],120742:[[935],256],120743:[[936],256],120744:[[937],256],120745:[[8711],256],120746:[[945],256],120747:[[946],256],120748:[[947],256],120749:[[948],256],120750:[[949],256],120751:[[950],256],120752:[[951],256],120753:[[952],256],120754:[[953],256],120755:[[954],256],120756:[[955],256],120757:[[956],256],120758:[[957],256],120759:[[958],256],120760:[[959],256],120761:[[960],256],120762:[[961],256],120763:[[962],256],120764:[[963],256],120765:[[964],256],120766:[[965],256],120767:[[966],256],120768:[[967],256],120769:[[968],256],120770:[[969],256],120771:[[8706],256],120772:[[1013],256],120773:[[977],256],120774:[[1008],256],120775:[[981],256],120776:[[1009],256],120777:[[982],256],120778:[[988],256],120779:[[989],256],120782:[[48],256],120783:[[49],256],120784:[[50],256],120785:[[51],256],120786:[[52],256],120787:[[53],256],120788:[[54],256],120789:[[55],256],120790:[[56],256],120791:[[57],256],120792:[[48],256],120793:[[49],256],120794:[[50],256],120795:[[51],256],120796:[[52],256],120797:[[53],256],120798:[[54],256],120799:[[55],256],120800:[[56],256],120801:[[57],256],120802:[[48],256],120803:[[49],256],120804:[[50],256],120805:[[51],256],120806:[[52],256],120807:[[53],256],120808:[[54],256],120809:[[55],256],120810:[[56],256],120811:[[57],256],120812:[[48],256],120813:[[49],256],120814:[[50],256],120815:[[51],256],120816:[[52],256],120817:[[53],256],120818:[[54],256],120819:[[55],256],120820:[[56],256],120821:[[57],256],120822:[[48],256],120823:[[49],256],120824:[[50],256],120825:[[51],256],120826:[[52],256],120827:[[53],256],120828:[[54],256],120829:[[55],256],120830:[[56],256],120831:[[57],256]},59392:{125136:[,220],125137:[,220],125138:[,220],125139:[,220],125140:[,220],125141:[,220],125142:[,220]},60928:{126464:[[1575],256],126465:[[1576],256],126466:[[1580],256],126467:[[1583],256],126469:[[1608],256],126470:[[1586],256],126471:[[1581],256],126472:[[1591],256],126473:[[1610],256],126474:[[1603],256],126475:[[1604],256],126476:[[1605],256],126477:[[1606],256],126478:[[1587],256],126479:[[1593],256],126480:[[1601],256],126481:[[1589],256],126482:[[1602],256],126483:[[1585],256],126484:[[1588],256],126485:[[1578],256],126486:[[1579],256],126487:[[1582],256],126488:[[1584],256],126489:[[1590],256],126490:[[1592],256],126491:[[1594],256],126492:[[1646],256],126493:[[1722],256],126494:[[1697],256],126495:[[1647],256],126497:[[1576],256],126498:[[1580],256],126500:[[1607],256],126503:[[1581],256],126505:[[1610],256],126506:[[1603],256],126507:[[1604],256],126508:[[1605],256],126509:[[1606],256],126510:[[1587],256],126511:[[1593],256],126512:[[1601],256],126513:[[1589],256],126514:[[1602],256],126516:[[1588],256],126517:[[1578],256],126518:[[1579],256],126519:[[1582],256],126521:[[1590],256],126523:[[1594],256],126530:[[1580],256],126535:[[1581],256],126537:[[1610],256],126539:[[1604],256],126541:[[1606],256],126542:[[1587],256],126543:[[1593],256],126545:[[1589],256],126546:[[1602],256],126548:[[1588],256],126551:[[1582],256],126553:[[1590],256],126555:[[1594],256],126557:[[1722],256],126559:[[1647],256],126561:[[1576],256],126562:[[1580],256],126564:[[1607],256],126567:[[1581],256],126568:[[1591],256],126569:[[1610],256],126570:[[1603],256],126572:[[1605],256],126573:[[1606],256],126574:[[1587],256],126575:[[1593],256],126576:[[1601],256],126577:[[1589],256],126578:[[1602],256],126580:[[1588],256],126581:[[1578],256],126582:[[1579],256],126583:[[1582],256],126585:[[1590],256],126586:[[1592],256],126587:[[1594],256],126588:[[1646],256],126590:[[1697],256],126592:[[1575],256],126593:[[1576],256],126594:[[1580],256],126595:[[1583],256],126596:[[1607],256],126597:[[1608],256],126598:[[1586],256],126599:[[1581],256],126600:[[1591],256],126601:[[1610],256],126603:[[1604],256],126604:[[1605],256],126605:[[1606],256],126606:[[1587],256],126607:[[1593],256],126608:[[1601],256],126609:[[1589],256],126610:[[1602],256],126611:[[1585],256],126612:[[1588],256],126613:[[1578],256],126614:[[1579],256],126615:[[1582],256],126616:[[1584],256],126617:[[1590],256],126618:[[1592],256],126619:[[1594],256],126625:[[1576],256],126626:[[1580],256],126627:[[1583],256],126629:[[1608],256],126630:[[1586],256],126631:[[1581],256],126632:[[1591],256],126633:[[1610],256],126635:[[1604],256],126636:[[1605],256],126637:[[1606],256],126638:[[1587],256],126639:[[1593],256],126640:[[1601],256],126641:[[1589],256],126642:[[1602],256],126643:[[1585],256],126644:[[1588],256],126645:[[1578],256],126646:[[1579],256],126647:[[1582],256],126648:[[1584],256],126649:[[1590],256],126650:[[1592],256],126651:[[1594],256]},61696:{127232:[[48,46],256],127233:[[48,44],256],127234:[[49,44],256],127235:[[50,44],256],127236:[[51,44],256],127237:[[52,44],256],127238:[[53,44],256],127239:[[54,44],256],127240:[[55,44],256],127241:[[56,44],256],127242:[[57,44],256],127248:[[40,65,41],256],127249:[[40,66,41],256],127250:[[40,67,41],256],127251:[[40,68,41],256],127252:[[40,69,41],256],127253:[[40,70,41],256],127254:[[40,71,41],256],127255:[[40,72,41],256],127256:[[40,73,41],256],127257:[[40,74,41],256],127258:[[40,75,41],256],127259:[[40,76,41],256],127260:[[40,77,41],256],127261:[[40,78,41],256],127262:[[40,79,41],256],127263:[[40,80,41],256],127264:[[40,81,41],256],127265:[[40,82,41],256],127266:[[40,83,41],256],127267:[[40,84,41],256],127268:[[40,85,41],256],127269:[[40,86,41],256],127270:[[40,87,41],256],127271:[[40,88,41],256],127272:[[40,89,41],256],127273:[[40,90,41],256],127274:[[12308,83,12309],256],127275:[[67],256],127276:[[82],256],127277:[[67,68],256],127278:[[87,90],256],127280:[[65],256],127281:[[66],256],127282:[[67],256],127283:[[68],256],127284:[[69],256],127285:[[70],256],127286:[[71],256],127287:[[72],256],127288:[[73],256],127289:[[74],256],127290:[[75],256],127291:[[76],256],127292:[[77],256],127293:[[78],256],127294:[[79],256],127295:[[80],256],127296:[[81],256],127297:[[82],256],127298:[[83],256],127299:[[84],256],127300:[[85],256],127301:[[86],256],127302:[[87],256],127303:[[88],256],127304:[[89],256],127305:[[90],256],127306:[[72,86],256],127307:[[77,86],256],127308:[[83,68],256],127309:[[83,83],256],127310:[[80,80,86],256],127311:[[87,67],256],127338:[[77,67],256],127339:[[77,68],256],127376:[[68,74],256]},61952:{127488:[[12411,12363],256],127489:[[12467,12467],256],127490:[[12469],256],127504:[[25163],256],127505:[[23383],256],127506:[[21452],256],127507:[[12487],256],127508:[[20108],256],127509:[[22810],256],127510:[[35299],256],127511:[[22825],256],127512:[[20132],256],127513:[[26144],256],127514:[[28961],256],127515:[[26009],256],127516:[[21069],256],127517:[[24460],256],127518:[[20877],256],127519:[[26032],256],127520:[[21021],256],127521:[[32066],256],127522:[[29983],256],127523:[[36009],256],127524:[[22768],256],127525:[[21561],256],127526:[[28436],256],127527:[[25237],256],127528:[[25429],256],127529:[[19968],256],127530:[[19977],256],127531:[[36938],256],127532:[[24038],256],127533:[[20013],256],127534:[[21491],256],127535:[[25351],256],127536:[[36208],256],127537:[[25171],256],127538:[[31105],256],127539:[[31354],256],127540:[[21512],256],127541:[[28288],256],127542:[[26377],256],127543:[[26376],256],127544:[[30003],256],127545:[[21106],256],127546:[[21942],256],127552:[[12308,26412,12309],256],127553:[[12308,19977,12309],256],127554:[[12308,20108,12309],256],127555:[[12308,23433,12309],256],127556:[[12308,28857,12309],256],127557:[[12308,25171,12309],256],127558:[[12308,30423,12309],256],127559:[[12308,21213,12309],256],127560:[[12308,25943,12309],256],127568:[[24471],256],127569:[[21487],256]},63488:{194560:[[20029]],194561:[[20024]],194562:[[20033]],194563:[[131362]],194564:[[20320]],194565:[[20398]],194566:[[20411]],194567:[[20482]],194568:[[20602]],194569:[[20633]],194570:[[20711]],194571:[[20687]],194572:[[13470]],194573:[[132666]],194574:[[20813]],194575:[[20820]],194576:[[20836]],194577:[[20855]],194578:[[132380]],194579:[[13497]],194580:[[20839]],194581:[[20877]],194582:[[132427]],194583:[[20887]],194584:[[20900]],194585:[[20172]],194586:[[20908]],194587:[[20917]],194588:[[168415]],194589:[[20981]],194590:[[20995]],194591:[[13535]],194592:[[21051]],194593:[[21062]],194594:[[21106]],194595:[[21111]],194596:[[13589]],194597:[[21191]],194598:[[21193]],194599:[[21220]],194600:[[21242]],194601:[[21253]],194602:[[21254]],194603:[[21271]],194604:[[21321]],194605:[[21329]],194606:[[21338]],194607:[[21363]],194608:[[21373]],194609:[[21375]],194610:[[21375]],194611:[[21375]],194612:[[133676]],194613:[[28784]],194614:[[21450]],194615:[[21471]],194616:[[133987]],194617:[[21483]],194618:[[21489]],194619:[[21510]],194620:[[21662]],194621:[[21560]],194622:[[21576]],194623:[[21608]],194624:[[21666]],194625:[[21750]],194626:[[21776]],194627:[[21843]],194628:[[21859]],194629:[[21892]],194630:[[21892]],194631:[[21913]],194632:[[21931]],194633:[[21939]],194634:[[21954]],194635:[[22294]],194636:[[22022]],194637:[[22295]],194638:[[22097]],194639:[[22132]],194640:[[20999]],194641:[[22766]],194642:[[22478]],194643:[[22516]],194644:[[22541]],194645:[[22411]],194646:[[22578]],194647:[[22577]],194648:[[22700]],194649:[[136420]],194650:[[22770]],194651:[[22775]],194652:[[22790]],194653:[[22810]],194654:[[22818]],194655:[[22882]],194656:[[136872]],194657:[[136938]],194658:[[23020]],194659:[[23067]],194660:[[23079]],194661:[[23e3]],194662:[[23142]],194663:[[14062]],194664:[[14076]],194665:[[23304]],194666:[[23358]],194667:[[23358]],194668:[[137672]],194669:[[23491]],194670:[[23512]],194671:[[23527]],194672:[[23539]],194673:[[138008]],194674:[[23551]],194675:[[23558]],194676:[[24403]],194677:[[23586]],194678:[[14209]],194679:[[23648]],194680:[[23662]],194681:[[23744]],194682:[[23693]],194683:[[138724]],194684:[[23875]],194685:[[138726]],194686:[[23918]],194687:[[23915]],194688:[[23932]],194689:[[24033]],194690:[[24034]],194691:[[14383]],194692:[[24061]],194693:[[24104]],194694:[[24125]],194695:[[24169]],194696:[[14434]],194697:[[139651]],194698:[[14460]],194699:[[24240]],194700:[[24243]],194701:[[24246]],194702:[[24266]],194703:[[172946]],194704:[[24318]],194705:[[140081]],194706:[[140081]],194707:[[33281]],194708:[[24354]],194709:[[24354]],194710:[[14535]],194711:[[144056]],194712:[[156122]],194713:[[24418]],194714:[[24427]],194715:[[14563]],194716:[[24474]],194717:[[24525]],194718:[[24535]],194719:[[24569]],194720:[[24705]],194721:[[14650]],194722:[[14620]],194723:[[24724]],194724:[[141012]],194725:[[24775]],194726:[[24904]],194727:[[24908]],194728:[[24910]],194729:[[24908]],194730:[[24954]],194731:[[24974]],194732:[[25010]],194733:[[24996]],194734:[[25007]],194735:[[25054]],194736:[[25074]],194737:[[25078]],194738:[[25104]],194739:[[25115]],194740:[[25181]],194741:[[25265]],194742:[[25300]],194743:[[25424]],194744:[[142092]],194745:[[25405]],194746:[[25340]],194747:[[25448]],194748:[[25475]],194749:[[25572]],194750:[[142321]],194751:[[25634]],194752:[[25541]],194753:[[25513]],194754:[[14894]],194755:[[25705]],194756:[[25726]],194757:[[25757]],194758:[[25719]],194759:[[14956]],194760:[[25935]],194761:[[25964]],194762:[[143370]],194763:[[26083]],194764:[[26360]],194765:[[26185]],194766:[[15129]],194767:[[26257]],194768:[[15112]],194769:[[15076]],194770:[[20882]],194771:[[20885]],194772:[[26368]],194773:[[26268]],194774:[[32941]],194775:[[17369]],194776:[[26391]],194777:[[26395]],194778:[[26401]],194779:[[26462]],194780:[[26451]],194781:[[144323]],194782:[[15177]],194783:[[26618]],194784:[[26501]],194785:[[26706]],194786:[[26757]],194787:[[144493]],194788:[[26766]],194789:[[26655]],194790:[[26900]],194791:[[15261]],194792:[[26946]],194793:[[27043]],194794:[[27114]],194795:[[27304]],194796:[[145059]],194797:[[27355]],194798:[[15384]],194799:[[27425]],194800:[[145575]],194801:[[27476]],194802:[[15438]],194803:[[27506]],194804:[[27551]],194805:[[27578]],194806:[[27579]],194807:[[146061]],194808:[[138507]],194809:[[146170]],194810:[[27726]],194811:[[146620]],194812:[[27839]],194813:[[27853]],194814:[[27751]],194815:[[27926]]},63744:{63744:[[35912]],63745:[[26356]],63746:[[36554]],63747:[[36040]],63748:[[28369]],63749:[[20018]],63750:[[21477]],63751:[[40860]],63752:[[40860]],63753:[[22865]],63754:[[37329]],63755:[[21895]],63756:[[22856]],63757:[[25078]],63758:[[30313]],63759:[[32645]],63760:[[34367]],63761:[[34746]],63762:[[35064]],63763:[[37007]],63764:[[27138]],63765:[[27931]],63766:[[28889]],63767:[[29662]],63768:[[33853]],63769:[[37226]],63770:[[39409]],63771:[[20098]],63772:[[21365]],63773:[[27396]],63774:[[29211]],63775:[[34349]],63776:[[40478]],63777:[[23888]],63778:[[28651]],63779:[[34253]],63780:[[35172]],63781:[[25289]],63782:[[33240]],63783:[[34847]],63784:[[24266]],63785:[[26391]],63786:[[28010]],63787:[[29436]],63788:[[37070]],63789:[[20358]],63790:[[20919]],63791:[[21214]],63792:[[25796]],63793:[[27347]],63794:[[29200]],63795:[[30439]],63796:[[32769]],63797:[[34310]],63798:[[34396]],63799:[[36335]],63800:[[38706]],63801:[[39791]],63802:[[40442]],63803:[[30860]],63804:[[31103]],63805:[[32160]],63806:[[33737]],63807:[[37636]],63808:[[40575]],63809:[[35542]],63810:[[22751]],63811:[[24324]],63812:[[31840]],63813:[[32894]],63814:[[29282]],63815:[[30922]],63816:[[36034]],63817:[[38647]],63818:[[22744]],63819:[[23650]],63820:[[27155]],63821:[[28122]],63822:[[28431]],63823:[[32047]],63824:[[32311]],63825:[[38475]],63826:[[21202]],63827:[[32907]],63828:[[20956]],63829:[[20940]],63830:[[31260]],63831:[[32190]],63832:[[33777]],63833:[[38517]],63834:[[35712]],63835:[[25295]],63836:[[27138]],63837:[[35582]],63838:[[20025]],63839:[[23527]],63840:[[24594]],63841:[[29575]],63842:[[30064]],63843:[[21271]],63844:[[30971]],63845:[[20415]],63846:[[24489]],63847:[[19981]],63848:[[27852]],63849:[[25976]],63850:[[32034]],63851:[[21443]],63852:[[22622]],63853:[[30465]],63854:[[33865]],63855:[[35498]],63856:[[27578]],63857:[[36784]],63858:[[27784]],63859:[[25342]],63860:[[33509]],63861:[[25504]],63862:[[30053]],63863:[[20142]],63864:[[20841]],63865:[[20937]],63866:[[26753]],63867:[[31975]],63868:[[33391]],63869:[[35538]],63870:[[37327]],63871:[[21237]],63872:[[21570]],63873:[[22899]],63874:[[24300]],63875:[[26053]],63876:[[28670]],63877:[[31018]],63878:[[38317]],63879:[[39530]],63880:[[40599]],63881:[[40654]],63882:[[21147]],63883:[[26310]],63884:[[27511]],63885:[[36706]],63886:[[24180]],63887:[[24976]],63888:[[25088]],63889:[[25754]],63890:[[28451]],63891:[[29001]],63892:[[29833]],63893:[[31178]],63894:[[32244]],63895:[[32879]],63896:[[36646]],63897:[[34030]],63898:[[36899]],63899:[[37706]],63900:[[21015]],63901:[[21155]],63902:[[21693]],63903:[[28872]],63904:[[35010]],63905:[[35498]],63906:[[24265]],63907:[[24565]],63908:[[25467]],63909:[[27566]],63910:[[31806]],63911:[[29557]],63912:[[20196]],63913:[[22265]],63914:[[23527]],63915:[[23994]],63916:[[24604]],63917:[[29618]],63918:[[29801]],63919:[[32666]],63920:[[32838]],63921:[[37428]],63922:[[38646]],63923:[[38728]],63924:[[38936]],63925:[[20363]],63926:[[31150]],63927:[[37300]],63928:[[38584]],63929:[[24801]],63930:[[20102]],63931:[[20698]],63932:[[23534]],63933:[[23615]],63934:[[26009]],63935:[[27138]],63936:[[29134]],63937:[[30274]],63938:[[34044]],63939:[[36988]],63940:[[40845]],63941:[[26248]],63942:[[38446]],63943:[[21129]],63944:[[26491]],63945:[[26611]],63946:[[27969]],63947:[[28316]],63948:[[29705]],63949:[[30041]],63950:[[30827]],63951:[[32016]],63952:[[39006]],63953:[[20845]],63954:[[25134]],63955:[[38520]],63956:[[20523]],63957:[[23833]],63958:[[28138]],63959:[[36650]],63960:[[24459]],63961:[[24900]],63962:[[26647]],63963:[[29575]],63964:[[38534]],63965:[[21033]],63966:[[21519]],63967:[[23653]],63968:[[26131]],63969:[[26446]],63970:[[26792]],63971:[[27877]],63972:[[29702]],63973:[[30178]],63974:[[32633]],63975:[[35023]],63976:[[35041]],63977:[[37324]],63978:[[38626]],63979:[[21311]],63980:[[28346]],63981:[[21533]],63982:[[29136]],63983:[[29848]],63984:[[34298]],63985:[[38563]],63986:[[40023]],63987:[[40607]],63988:[[26519]],63989:[[28107]],63990:[[33256]],63991:[[31435]],63992:[[31520]],63993:[[31890]],63994:[[29376]],63995:[[28825]],63996:[[35672]],63997:[[20160]],63998:[[33590]],63999:[[21050]],194816:[[27966]],194817:[[28023]],194818:[[27969]],194819:[[28009]],194820:[[28024]],194821:[[28037]],194822:[[146718]],194823:[[27956]],194824:[[28207]],194825:[[28270]],194826:[[15667]],194827:[[28363]],194828:[[28359]],194829:[[147153]],194830:[[28153]],194831:[[28526]],194832:[[147294]],194833:[[147342]],194834:[[28614]],194835:[[28729]],194836:[[28702]],194837:[[28699]],194838:[[15766]],194839:[[28746]],194840:[[28797]],194841:[[28791]],194842:[[28845]],194843:[[132389]],194844:[[28997]],194845:[[148067]],194846:[[29084]],194847:[[148395]],194848:[[29224]],194849:[[29237]],194850:[[29264]],194851:[[149e3]],194852:[[29312]],194853:[[29333]],194854:[[149301]],194855:[[149524]],194856:[[29562]],194857:[[29579]],194858:[[16044]],194859:[[29605]],194860:[[16056]],194861:[[16056]],194862:[[29767]],194863:[[29788]],194864:[[29809]],194865:[[29829]],194866:[[29898]],194867:[[16155]],194868:[[29988]],194869:[[150582]],194870:[[30014]],194871:[[150674]],194872:[[30064]],194873:[[139679]],194874:[[30224]],194875:[[151457]],194876:[[151480]],194877:[[151620]],194878:[[16380]],194879:[[16392]],194880:[[30452]],194881:[[151795]],194882:[[151794]],194883:[[151833]],194884:[[151859]],194885:[[30494]],194886:[[30495]],194887:[[30495]],194888:[[30538]],194889:[[16441]],194890:[[30603]],194891:[[16454]],194892:[[16534]],194893:[[152605]],194894:[[30798]],194895:[[30860]],194896:[[30924]],194897:[[16611]],194898:[[153126]],194899:[[31062]],194900:[[153242]],194901:[[153285]],194902:[[31119]],194903:[[31211]],194904:[[16687]],194905:[[31296]],194906:[[31306]],194907:[[31311]],194908:[[153980]],194909:[[154279]],194910:[[154279]],194911:[[31470]],194912:[[16898]],194913:[[154539]],194914:[[31686]],194915:[[31689]],194916:[[16935]],194917:[[154752]],194918:[[31954]],194919:[[17056]],194920:[[31976]],194921:[[31971]],194922:[[32e3]],194923:[[155526]],194924:[[32099]],194925:[[17153]],194926:[[32199]],194927:[[32258]],194928:[[32325]],194929:[[17204]],194930:[[156200]],194931:[[156231]],194932:[[17241]],194933:[[156377]],194934:[[32634]],194935:[[156478]],194936:[[32661]],194937:[[32762]],194938:[[32773]],194939:[[156890]],194940:[[156963]],194941:[[32864]],194942:[[157096]],194943:[[32880]],194944:[[144223]],194945:[[17365]],194946:[[32946]],194947:[[33027]],194948:[[17419]],194949:[[33086]],194950:[[23221]],194951:[[157607]],194952:[[157621]],194953:[[144275]],194954:[[144284]],194955:[[33281]],194956:[[33284]],194957:[[36766]],194958:[[17515]],194959:[[33425]],194960:[[33419]],194961:[[33437]],194962:[[21171]],194963:[[33457]],194964:[[33459]],194965:[[33469]],194966:[[33510]],194967:[[158524]],194968:[[33509]],194969:[[33565]],194970:[[33635]],194971:[[33709]],194972:[[33571]],194973:[[33725]],194974:[[33767]],194975:[[33879]],194976:[[33619]],194977:[[33738]],194978:[[33740]],194979:[[33756]],194980:[[158774]],194981:[[159083]],194982:[[158933]],194983:[[17707]],194984:[[34033]],194985:[[34035]],194986:[[34070]],194987:[[160714]],194988:[[34148]],194989:[[159532]],194990:[[17757]],194991:[[17761]],194992:[[159665]],194993:[[159954]],194994:[[17771]],194995:[[34384]],194996:[[34396]],194997:[[34407]],194998:[[34409]],194999:[[34473]],195e3:[[34440]],195001:[[34574]],195002:[[34530]],195003:[[34681]],195004:[[34600]],195005:[[34667]],195006:[[34694]],195007:[[17879]],195008:[[34785]],195009:[[34817]],195010:[[17913]],195011:[[34912]],195012:[[34915]],195013:[[161383]],195014:[[35031]],195015:[[35038]],195016:[[17973]],195017:[[35066]],195018:[[13499]],195019:[[161966]],195020:[[162150]],195021:[[18110]],195022:[[18119]],195023:[[35488]],195024:[[35565]],195025:[[35722]],195026:[[35925]],195027:[[162984]],195028:[[36011]],195029:[[36033]],195030:[[36123]],195031:[[36215]],195032:[[163631]],195033:[[133124]],195034:[[36299]],195035:[[36284]],195036:[[36336]],195037:[[133342]],195038:[[36564]],195039:[[36664]],195040:[[165330]],195041:[[165357]],195042:[[37012]],195043:[[37105]],195044:[[37137]],195045:[[165678]],195046:[[37147]],195047:[[37432]],195048:[[37591]],195049:[[37592]],195050:[[37500]],195051:[[37881]],195052:[[37909]],195053:[[166906]],195054:[[38283]],195055:[[18837]],195056:[[38327]],195057:[[167287]],195058:[[18918]],195059:[[38595]],195060:[[23986]],195061:[[38691]],195062:[[168261]],195063:[[168474]],195064:[[19054]],195065:[[19062]],195066:[[38880]],195067:[[168970]],195068:[[19122]],195069:[[169110]],195070:[[38923]],195071:[[38923]]},64e3:{64e3:[[20999]],64001:[[24230]],64002:[[25299]],64003:[[31958]],64004:[[23429]],64005:[[27934]],64006:[[26292]],64007:[[36667]],64008:[[34892]],64009:[[38477]],64010:[[35211]],64011:[[24275]],64012:[[20800]],64013:[[21952]],64016:[[22618]],64018:[[26228]],64021:[[20958]],64022:[[29482]],64023:[[30410]],64024:[[31036]],64025:[[31070]],64026:[[31077]],64027:[[31119]],64028:[[38742]],64029:[[31934]],64030:[[32701]],64032:[[34322]],64034:[[35576]],64037:[[36920]],64038:[[37117]],64042:[[39151]],64043:[[39164]],64044:[[39208]],64045:[[40372]],64046:[[37086]],64047:[[38583]],64048:[[20398]],64049:[[20711]],64050:[[20813]],64051:[[21193]],64052:[[21220]],64053:[[21329]],64054:[[21917]],64055:[[22022]],64056:[[22120]],64057:[[22592]],64058:[[22696]],64059:[[23652]],64060:[[23662]],64061:[[24724]],64062:[[24936]],64063:[[24974]],64064:[[25074]],64065:[[25935]],64066:[[26082]],64067:[[26257]],64068:[[26757]],64069:[[28023]],64070:[[28186]],64071:[[28450]],64072:[[29038]],64073:[[29227]],64074:[[29730]],64075:[[30865]],64076:[[31038]],64077:[[31049]],64078:[[31048]],64079:[[31056]],64080:[[31062]],64081:[[31069]],64082:[[31117]],64083:[[31118]],64084:[[31296]],64085:[[31361]],64086:[[31680]],64087:[[32244]],64088:[[32265]],64089:[[32321]],64090:[[32626]],64091:[[32773]],64092:[[33261]],64093:[[33401]],64094:[[33401]],64095:[[33879]],64096:[[35088]],64097:[[35222]],64098:[[35585]],64099:[[35641]],64100:[[36051]],64101:[[36104]],64102:[[36790]],64103:[[36920]],64104:[[38627]],64105:[[38911]],64106:[[38971]],64107:[[24693]],64108:[[148206]],64109:[[33304]],64112:[[20006]],64113:[[20917]],64114:[[20840]],64115:[[20352]],64116:[[20805]],64117:[[20864]],64118:[[21191]],64119:[[21242]],64120:[[21917]],64121:[[21845]],64122:[[21913]],64123:[[21986]],64124:[[22618]],64125:[[22707]],64126:[[22852]],64127:[[22868]],64128:[[23138]],64129:[[23336]],64130:[[24274]],64131:[[24281]],64132:[[24425]],64133:[[24493]],64134:[[24792]],64135:[[24910]],64136:[[24840]],64137:[[24974]],64138:[[24928]],64139:[[25074]],64140:[[25140]],64141:[[25540]],64142:[[25628]],64143:[[25682]],64144:[[25942]],64145:[[26228]],64146:[[26391]],64147:[[26395]],64148:[[26454]],64149:[[27513]],64150:[[27578]],64151:[[27969]],64152:[[28379]],64153:[[28363]],64154:[[28450]],64155:[[28702]],64156:[[29038]],64157:[[30631]],64158:[[29237]],64159:[[29359]],64160:[[29482]],64161:[[29809]],64162:[[29958]],64163:[[30011]],64164:[[30237]],64165:[[30239]],64166:[[30410]],64167:[[30427]],64168:[[30452]],64169:[[30538]],64170:[[30528]],64171:[[30924]],64172:[[31409]],64173:[[31680]],64174:[[31867]],64175:[[32091]],64176:[[32244]],64177:[[32574]],64178:[[32773]],64179:[[33618]],64180:[[33775]],64181:[[34681]],64182:[[35137]],64183:[[35206]],64184:[[35222]],64185:[[35519]],64186:[[35576]],64187:[[35531]],64188:[[35585]],64189:[[35582]],64190:[[35565]],64191:[[35641]],64192:[[35722]],64193:[[36104]],64194:[[36664]],64195:[[36978]],64196:[[37273]],64197:[[37494]],64198:[[38524]],64199:[[38627]],64200:[[38742]],64201:[[38875]],64202:[[38911]],64203:[[38923]],64204:[[38971]],64205:[[39698]],64206:[[40860]],64207:[[141386]],64208:[[141380]],64209:[[144341]],64210:[[15261]],64211:[[16408]],64212:[[16441]],64213:[[152137]],64214:[[154832]],64215:[[163539]],64216:[[40771]],64217:[[40846]],195072:[[38953]],195073:[[169398]],195074:[[39138]],195075:[[19251]],195076:[[39209]],195077:[[39335]],195078:[[39362]],195079:[[39422]],195080:[[19406]],195081:[[170800]],195082:[[39698]],195083:[[4e4]],195084:[[40189]],195085:[[19662]],195086:[[19693]],195087:[[40295]],195088:[[172238]],195089:[[19704]],195090:[[172293]],195091:[[172558]],195092:[[172689]],195093:[[40635]],195094:[[19798]],195095:[[40697]],195096:[[40702]],195097:[[40709]],195098:[[40719]],195099:[[40726]],195100:[[40763]],195101:[[173568]]},64256:{64256:[[102,102],256],64257:[[102,105],256],64258:[[102,108],256],64259:[[102,102,105],256],64260:[[102,102,108],256],64261:[[383,116],256],64262:[[115,116],256],64275:[[1396,1398],256],64276:[[1396,1381],256],64277:[[1396,1387],256],64278:[[1406,1398],256],64279:[[1396,1389],256],64285:[[1497,1460],512],64286:[,26],64287:[[1522,1463],512],64288:[[1506],256],64289:[[1488],256],64290:[[1491],256],64291:[[1492],256],64292:[[1499],256],64293:[[1500],256],64294:[[1501],256],64295:[[1512],256],64296:[[1514],256],64297:[[43],256],64298:[[1513,1473],512],64299:[[1513,1474],512],64300:[[64329,1473],512],64301:[[64329,1474],512],64302:[[1488,1463],512],64303:[[1488,1464],512],64304:[[1488,1468],512],64305:[[1489,1468],512],64306:[[1490,1468],512],64307:[[1491,1468],512],64308:[[1492,1468],512],64309:[[1493,1468],512],64310:[[1494,1468],512],64312:[[1496,1468],512],64313:[[1497,1468],512],64314:[[1498,1468],512],64315:[[1499,1468],512],64316:[[1500,1468],512],64318:[[1502,1468],512],64320:[[1504,1468],512],64321:[[1505,1468],512],64323:[[1507,1468],512],64324:[[1508,1468],512],64326:[[1510,1468],512],64327:[[1511,1468],512],64328:[[1512,1468],512],64329:[[1513,1468],512],64330:[[1514,1468],512],64331:[[1493,1465],512],64332:[[1489,1471],512],64333:[[1499,1471],512],64334:[[1508,1471],512],64335:[[1488,1500],256],64336:[[1649],256],64337:[[1649],256],64338:[[1659],256],64339:[[1659],256],64340:[[1659],256],64341:[[1659],256],64342:[[1662],256],64343:[[1662],256],64344:[[1662],256],64345:[[1662],256],64346:[[1664],256],64347:[[1664],256],64348:[[1664],256],64349:[[1664],256],64350:[[1658],256],64351:[[1658],256],64352:[[1658],256],64353:[[1658],256],64354:[[1663],256],64355:[[1663],256],64356:[[1663],256],64357:[[1663],256],64358:[[1657],256],64359:[[1657],256],64360:[[1657],256],64361:[[1657],256],64362:[[1700],256],64363:[[1700],256],64364:[[1700],256],64365:[[1700],256],64366:[[1702],256],64367:[[1702],256],64368:[[1702],256],64369:[[1702],256],64370:[[1668],256],64371:[[1668],256],64372:[[1668],256],64373:[[1668],256],64374:[[1667],256],64375:[[1667],256],64376:[[1667],256],64377:[[1667],256],64378:[[1670],256],64379:[[1670],256],64380:[[1670],256],64381:[[1670],256],64382:[[1671],256],64383:[[1671],256],64384:[[1671],256],64385:[[1671],256],64386:[[1677],256],64387:[[1677],256],64388:[[1676],256],64389:[[1676],256],64390:[[1678],256],64391:[[1678],256],64392:[[1672],256],64393:[[1672],256],64394:[[1688],256],64395:[[1688],256],64396:[[1681],256],64397:[[1681],256],64398:[[1705],256],64399:[[1705],256],64400:[[1705],256],64401:[[1705],256],64402:[[1711],256],64403:[[1711],256],64404:[[1711],256],64405:[[1711],256],64406:[[1715],256],64407:[[1715],256],64408:[[1715],256],64409:[[1715],256],64410:[[1713],256],64411:[[1713],256],64412:[[1713],256],64413:[[1713],256],64414:[[1722],256],64415:[[1722],256],64416:[[1723],256],64417:[[1723],256],64418:[[1723],256],64419:[[1723],256],64420:[[1728],256],64421:[[1728],256],64422:[[1729],256],64423:[[1729],256],64424:[[1729],256],64425:[[1729],256],64426:[[1726],256],64427:[[1726],256],64428:[[1726],256],64429:[[1726],256],64430:[[1746],256],64431:[[1746],256],64432:[[1747],256],64433:[[1747],256],64467:[[1709],256],64468:[[1709],256],64469:[[1709],256],64470:[[1709],256],64471:[[1735],256],64472:[[1735],256],64473:[[1734],256],64474:[[1734],256],64475:[[1736],256],64476:[[1736],256],64477:[[1655],256],64478:[[1739],256],64479:[[1739],256],64480:[[1733],256],64481:[[1733],256],64482:[[1737],256],64483:[[1737],256],64484:[[1744],256],64485:[[1744],256],64486:[[1744],256],64487:[[1744],256],64488:[[1609],256],64489:[[1609],256],64490:[[1574,1575],256],64491:[[1574,1575],256],64492:[[1574,1749],256],64493:[[1574,1749],256],64494:[[1574,1608],256],64495:[[1574,1608],256],64496:[[1574,1735],256],64497:[[1574,1735],256],64498:[[1574,1734],256],64499:[[1574,1734],256],64500:[[1574,1736],256],64501:[[1574,1736],256],64502:[[1574,1744],256],64503:[[1574,1744],256],64504:[[1574,1744],256],64505:[[1574,1609],256],64506:[[1574,1609],256],64507:[[1574,1609],256],64508:[[1740],256],64509:[[1740],256],64510:[[1740],256],64511:[[1740],256]},64512:{64512:[[1574,1580],256],64513:[[1574,1581],256],64514:[[1574,1605],256],64515:[[1574,1609],256],64516:[[1574,1610],256],64517:[[1576,1580],256],64518:[[1576,1581],256],64519:[[1576,1582],256],64520:[[1576,1605],256],64521:[[1576,1609],256],64522:[[1576,1610],256],64523:[[1578,1580],256],64524:[[1578,1581],256],64525:[[1578,1582],256],64526:[[1578,1605],256],64527:[[1578,1609],256],64528:[[1578,1610],256],64529:[[1579,1580],256],64530:[[1579,1605],256],64531:[[1579,1609],256],64532:[[1579,1610],256],64533:[[1580,1581],256],64534:[[1580,1605],256],64535:[[1581,1580],256],64536:[[1581,1605],256],64537:[[1582,1580],256],64538:[[1582,1581],256],64539:[[1582,1605],256],64540:[[1587,1580],256],64541:[[1587,1581],256],64542:[[1587,1582],256],64543:[[1587,1605],256],64544:[[1589,1581],256],64545:[[1589,1605],256],64546:[[1590,1580],256],64547:[[1590,1581],256],64548:[[1590,1582],256],64549:[[1590,1605],256],64550:[[1591,1581],256],64551:[[1591,1605],256],64552:[[1592,1605],256],64553:[[1593,1580],256],64554:[[1593,1605],256],64555:[[1594,1580],256],64556:[[1594,1605],256],64557:[[1601,1580],256],64558:[[1601,1581],256],64559:[[1601,1582],256],64560:[[1601,1605],256],64561:[[1601,1609],256],64562:[[1601,1610],256],64563:[[1602,1581],256],64564:[[1602,1605],256],64565:[[1602,1609],256],64566:[[1602,1610],256],64567:[[1603,1575],256],64568:[[1603,1580],256],64569:[[1603,1581],256],64570:[[1603,1582],256],64571:[[1603,1604],256],64572:[[1603,1605],256],64573:[[1603,1609],256],64574:[[1603,1610],256],64575:[[1604,1580],256],64576:[[1604,1581],256],64577:[[1604,1582],256],64578:[[1604,1605],256],64579:[[1604,1609],256],64580:[[1604,1610],256],64581:[[1605,1580],256],64582:[[1605,1581],256],64583:[[1605,1582],256],64584:[[1605,1605],256],64585:[[1605,1609],256],64586:[[1605,1610],256],64587:[[1606,1580],256],64588:[[1606,1581],256],64589:[[1606,1582],256],64590:[[1606,1605],256],64591:[[1606,1609],256],64592:[[1606,1610],256],64593:[[1607,1580],256],64594:[[1607,1605],256],64595:[[1607,1609],256],64596:[[1607,1610],256],64597:[[1610,1580],256],64598:[[1610,1581],256],64599:[[1610,1582],256],64600:[[1610,1605],256],64601:[[1610,1609],256],64602:[[1610,1610],256],64603:[[1584,1648],256],64604:[[1585,1648],256],64605:[[1609,1648],256],64606:[[32,1612,1617],256],64607:[[32,1613,1617],256],64608:[[32,1614,1617],256],64609:[[32,1615,1617],256],64610:[[32,1616,1617],256],64611:[[32,1617,1648],256],64612:[[1574,1585],256],64613:[[1574,1586],256],64614:[[1574,1605],256],64615:[[1574,1606],256],64616:[[1574,1609],256],64617:[[1574,1610],256],64618:[[1576,1585],256],64619:[[1576,1586],256],64620:[[1576,1605],256],64621:[[1576,1606],256],64622:[[1576,1609],256],64623:[[1576,1610],256],64624:[[1578,1585],256],64625:[[1578,1586],256],64626:[[1578,1605],256],64627:[[1578,1606],256],64628:[[1578,1609],256],64629:[[1578,1610],256],64630:[[1579,1585],256],64631:[[1579,1586],256],64632:[[1579,1605],256],64633:[[1579,1606],256],64634:[[1579,1609],256],64635:[[1579,1610],256],64636:[[1601,1609],256],64637:[[1601,1610],256],64638:[[1602,1609],256],64639:[[1602,1610],256],64640:[[1603,1575],256],64641:[[1603,1604],256],64642:[[1603,1605],256],64643:[[1603,1609],256],64644:[[1603,1610],256],64645:[[1604,1605],256],64646:[[1604,1609],256],64647:[[1604,1610],256],64648:[[1605,1575],256],64649:[[1605,1605],256],64650:[[1606,1585],256],64651:[[1606,1586],256],64652:[[1606,1605],256],64653:[[1606,1606],256],64654:[[1606,1609],256],64655:[[1606,1610],256],64656:[[1609,1648],256],64657:[[1610,1585],256],64658:[[1610,1586],256],64659:[[1610,1605],256],64660:[[1610,1606],256],64661:[[1610,1609],256],64662:[[1610,1610],256],64663:[[1574,1580],256],64664:[[1574,1581],256],64665:[[1574,1582],256],64666:[[1574,1605],256],64667:[[1574,1607],256],64668:[[1576,1580],256],64669:[[1576,1581],256],64670:[[1576,1582],256],64671:[[1576,1605],256],64672:[[1576,1607],256],64673:[[1578,1580],256],64674:[[1578,1581],256],64675:[[1578,1582],256],64676:[[1578,1605],256],64677:[[1578,1607],256],64678:[[1579,1605],256],64679:[[1580,1581],256],64680:[[1580,1605],256],64681:[[1581,1580],256],64682:[[1581,1605],256],64683:[[1582,1580],256],64684:[[1582,1605],256],64685:[[1587,1580],256],64686:[[1587,1581],256],64687:[[1587,1582],256],64688:[[1587,1605],256],64689:[[1589,1581],256],64690:[[1589,1582],256],64691:[[1589,1605],256],64692:[[1590,1580],256],64693:[[1590,1581],256],64694:[[1590,1582],256],64695:[[1590,1605],256],64696:[[1591,1581],256],64697:[[1592,1605],256],64698:[[1593,1580],256],64699:[[1593,1605],256],64700:[[1594,1580],256],64701:[[1594,1605],256],64702:[[1601,1580],256],64703:[[1601,1581],256],64704:[[1601,1582],256],64705:[[1601,1605],256],64706:[[1602,1581],256],64707:[[1602,1605],256],64708:[[1603,1580],256],64709:[[1603,1581],256],64710:[[1603,1582],256],64711:[[1603,1604],256],64712:[[1603,1605],256],64713:[[1604,1580],256],64714:[[1604,1581],256],64715:[[1604,1582],256],64716:[[1604,1605],256],64717:[[1604,1607],256],64718:[[1605,1580],256],64719:[[1605,1581],256],64720:[[1605,1582],256],64721:[[1605,1605],256],64722:[[1606,1580],256],64723:[[1606,1581],256],64724:[[1606,1582],256],64725:[[1606,1605],256],64726:[[1606,1607],256],64727:[[1607,1580],256],64728:[[1607,1605],256],64729:[[1607,1648],256],64730:[[1610,1580],256],64731:[[1610,1581],256],64732:[[1610,1582],256],64733:[[1610,1605],256],64734:[[1610,1607],256],64735:[[1574,1605],256],64736:[[1574,1607],256],64737:[[1576,1605],256],64738:[[1576,1607],256],64739:[[1578,1605],256],64740:[[1578,1607],256],64741:[[1579,1605],256],64742:[[1579,1607],256],64743:[[1587,1605],256],64744:[[1587,1607],256],64745:[[1588,1605],256],64746:[[1588,1607],256],64747:[[1603,1604],256],64748:[[1603,1605],256],64749:[[1604,1605],256],64750:[[1606,1605],256],64751:[[1606,1607],256],64752:[[1610,1605],256],64753:[[1610,1607],256],64754:[[1600,1614,1617],256],64755:[[1600,1615,1617],256],64756:[[1600,1616,1617],256],64757:[[1591,1609],256],64758:[[1591,1610],256],64759:[[1593,1609],256],64760:[[1593,1610],256],64761:[[1594,1609],256],64762:[[1594,1610],256],64763:[[1587,1609],256],64764:[[1587,1610],256],64765:[[1588,1609],256],64766:[[1588,1610],256],64767:[[1581,1609],256]},64768:{64768:[[1581,1610],256],64769:[[1580,1609],256],64770:[[1580,1610],256],64771:[[1582,1609],256],64772:[[1582,1610],256],64773:[[1589,1609],256],64774:[[1589,1610],256],64775:[[1590,1609],256],64776:[[1590,1610],256],64777:[[1588,1580],256],64778:[[1588,1581],256],64779:[[1588,1582],256],64780:[[1588,1605],256],64781:[[1588,1585],256],64782:[[1587,1585],256],64783:[[1589,1585],256],64784:[[1590,1585],256],64785:[[1591,1609],256],64786:[[1591,1610],256],64787:[[1593,1609],256],64788:[[1593,1610],256],64789:[[1594,1609],256],64790:[[1594,1610],256],64791:[[1587,1609],256],64792:[[1587,1610],256],64793:[[1588,1609],256],64794:[[1588,1610],256],64795:[[1581,1609],256],64796:[[1581,1610],256],64797:[[1580,1609],256],64798:[[1580,1610],256],64799:[[1582,1609],256],64800:[[1582,1610],256],64801:[[1589,1609],256],64802:[[1589,1610],256],64803:[[1590,1609],256],64804:[[1590,1610],256],64805:[[1588,1580],256],64806:[[1588,1581],256],64807:[[1588,1582],256],64808:[[1588,1605],256],64809:[[1588,1585],256],64810:[[1587,1585],256],64811:[[1589,1585],256],64812:[[1590,1585],256],64813:[[1588,1580],256],64814:[[1588,1581],256],64815:[[1588,1582],256],64816:[[1588,1605],256],64817:[[1587,1607],256],64818:[[1588,1607],256],64819:[[1591,1605],256],64820:[[1587,1580],256],64821:[[1587,1581],256],64822:[[1587,1582],256],64823:[[1588,1580],256],64824:[[1588,1581],256],64825:[[1588,1582],256],64826:[[1591,1605],256],64827:[[1592,1605],256],64828:[[1575,1611],256],64829:[[1575,1611],256],64848:[[1578,1580,1605],256],64849:[[1578,1581,1580],256],64850:[[1578,1581,1580],256],64851:[[1578,1581,1605],256],64852:[[1578,1582,1605],256],64853:[[1578,1605,1580],256],64854:[[1578,1605,1581],256],64855:[[1578,1605,1582],256],64856:[[1580,1605,1581],256],64857:[[1580,1605,1581],256],64858:[[1581,1605,1610],256],64859:[[1581,1605,1609],256],64860:[[1587,1581,1580],256],64861:[[1587,1580,1581],256],64862:[[1587,1580,1609],256],64863:[[1587,1605,1581],256],64864:[[1587,1605,1581],256],64865:[[1587,1605,1580],256],64866:[[1587,1605,1605],256],64867:[[1587,1605,1605],256],64868:[[1589,1581,1581],256],64869:[[1589,1581,1581],256],64870:[[1589,1605,1605],256],64871:[[1588,1581,1605],256],64872:[[1588,1581,1605],256],64873:[[1588,1580,1610],256],64874:[[1588,1605,1582],256],64875:[[1588,1605,1582],256],64876:[[1588,1605,1605],256],64877:[[1588,1605,1605],256],64878:[[1590,1581,1609],256],64879:[[1590,1582,1605],256],64880:[[1590,1582,1605],256],64881:[[1591,1605,1581],256],64882:[[1591,1605,1581],256],64883:[[1591,1605,1605],256],64884:[[1591,1605,1610],256],64885:[[1593,1580,1605],256],64886:[[1593,1605,1605],256],64887:[[1593,1605,1605],256],64888:[[1593,1605,1609],256],64889:[[1594,1605,1605],256],64890:[[1594,1605,1610],256],64891:[[1594,1605,1609],256],64892:[[1601,1582,1605],256],64893:[[1601,1582,1605],256],64894:[[1602,1605,1581],256],64895:[[1602,1605,1605],256],64896:[[1604,1581,1605],256],64897:[[1604,1581,1610],256],64898:[[1604,1581,1609],256],64899:[[1604,1580,1580],256],64900:[[1604,1580,1580],256],64901:[[1604,1582,1605],256],64902:[[1604,1582,1605],256],64903:[[1604,1605,1581],256],64904:[[1604,1605,1581],256],64905:[[1605,1581,1580],256],64906:[[1605,1581,1605],256],64907:[[1605,1581,1610],256],64908:[[1605,1580,1581],256],64909:[[1605,1580,1605],256],64910:[[1605,1582,1580],256],64911:[[1605,1582,1605],256],64914:[[1605,1580,1582],256],64915:[[1607,1605,1580],256],64916:[[1607,1605,1605],256],64917:[[1606,1581,1605],256],64918:[[1606,1581,1609],256],64919:[[1606,1580,1605],256],64920:[[1606,1580,1605],256],64921:[[1606,1580,1609],256],64922:[[1606,1605,1610],256],64923:[[1606,1605,1609],256],64924:[[1610,1605,1605],256],64925:[[1610,1605,1605],256],64926:[[1576,1582,1610],256],64927:[[1578,1580,1610],256],64928:[[1578,1580,1609],256],64929:[[1578,1582,1610],256],64930:[[1578,1582,1609],256],64931:[[1578,1605,1610],256],64932:[[1578,1605,1609],256],64933:[[1580,1605,1610],256],64934:[[1580,1581,1609],256],64935:[[1580,1605,1609],256],64936:[[1587,1582,1609],256],64937:[[1589,1581,1610],256],64938:[[1588,1581,1610],256],64939:[[1590,1581,1610],256],64940:[[1604,1580,1610],256],64941:[[1604,1605,1610],256],64942:[[1610,1581,1610],256],64943:[[1610,1580,1610],256],64944:[[1610,1605,1610],256],64945:[[1605,1605,1610],256],64946:[[1602,1605,1610],256],64947:[[1606,1581,1610],256],64948:[[1602,1605,1581],256],64949:[[1604,1581,1605],256],64950:[[1593,1605,1610],256],64951:[[1603,1605,1610],256],64952:[[1606,1580,1581],256],64953:[[1605,1582,1610],256],64954:[[1604,1580,1605],256],64955:[[1603,1605,1605],256],64956:[[1604,1580,1605],256],64957:[[1606,1580,1581],256],64958:[[1580,1581,1610],256],64959:[[1581,1580,1610],256],64960:[[1605,1580,1610],256],64961:[[1601,1605,1610],256],64962:[[1576,1581,1610],256],64963:[[1603,1605,1605],256],64964:[[1593,1580,1605],256],64965:[[1589,1605,1605],256],64966:[[1587,1582,1610],256],64967:[[1606,1580,1610],256],65008:[[1589,1604,1746],256],65009:[[1602,1604,1746],256],65010:[[1575,1604,1604,1607],256],65011:[[1575,1603,1576,1585],256],65012:[[1605,1581,1605,1583],256],65013:[[1589,1604,1593,1605],256],65014:[[1585,1587,1608,1604],256],65015:[[1593,1604,1610,1607],256],65016:[[1608,1587,1604,1605],256],65017:[[1589,1604,1609],256],65018:[[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605],256],65019:[[1580,1604,32,1580,1604,1575,1604,1607],256],65020:[[1585,1740,1575,1604],256]},65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65063:[,220],65064:[,220],65065:[,220],65066:[,220],65067:[,220],65068:[,220],65069:[,220],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]},65280:{65281:[[33],256],65282:[[34],256],65283:[[35],256],65284:[[36],256],65285:[[37],256],65286:[[38],256],65287:[[39],256],65288:[[40],256],65289:[[41],256],65290:[[42],256],65291:[[43],256],65292:[[44],256],65293:[[45],256],65294:[[46],256],65295:[[47],256],65296:[[48],256],65297:[[49],256],65298:[[50],256],65299:[[51],256],65300:[[52],256],65301:[[53],256],65302:[[54],256],65303:[[55],256],65304:[[56],256],65305:[[57],256],65306:[[58],256],65307:[[59],256],65308:[[60],256],65309:[[61],256],65310:[[62],256],65311:[[63],256],65312:[[64],256],65313:[[65],256],65314:[[66],256],65315:[[67],256],65316:[[68],256],65317:[[69],256],65318:[[70],256],65319:[[71],256],65320:[[72],256],65321:[[73],256],65322:[[74],256],65323:[[75],256],65324:[[76],256],65325:[[77],256],65326:[[78],256],65327:[[79],256],65328:[[80],256],65329:[[81],256],65330:[[82],256],65331:[[83],256],65332:[[84],256],65333:[[85],256],65334:[[86],256],65335:[[87],256],65336:[[88],256],65337:[[89],256],65338:[[90],256],65339:[[91],256],65340:[[92],256],65341:[[93],256],65342:[[94],256],65343:[[95],256],65344:[[96],256],65345:[[97],256],65346:[[98],256],65347:[[99],256],65348:[[100],256],65349:[[101],256],65350:[[102],256],65351:[[103],256],65352:[[104],256],65353:[[105],256],65354:[[106],256],65355:[[107],256],65356:[[108],256],65357:[[109],256],65358:[[110],256],65359:[[111],256],65360:[[112],256],65361:[[113],256],65362:[[114],256],65363:[[115],256],65364:[[116],256],65365:[[117],256],65366:[[118],256],65367:[[119],256],65368:[[120],256],65369:[[121],256],65370:[[122],256],65371:[[123],256],65372:[[124],256],65373:[[125],256],65374:[[126],256],65375:[[10629],256],65376:[[10630],256],65377:[[12290],256],65378:[[12300],256],65379:[[12301],256],65380:[[12289],256],65381:[[12539],256],65382:[[12530],256],65383:[[12449],256],65384:[[12451],256],65385:[[12453],256],65386:[[12455],256],65387:[[12457],256],65388:[[12515],256],65389:[[12517],256],65390:[[12519],256],65391:[[12483],256],65392:[[12540],256],65393:[[12450],256],65394:[[12452],256],65395:[[12454],256],65396:[[12456],256],65397:[[12458],256],65398:[[12459],256],65399:[[12461],256],65400:[[12463],256],65401:[[12465],256],65402:[[12467],256],65403:[[12469],256],65404:[[12471],256],65405:[[12473],256],65406:[[12475],256],65407:[[12477],256],65408:[[12479],256],65409:[[12481],256],65410:[[12484],256],65411:[[12486],256],65412:[[12488],256],65413:[[12490],256],65414:[[12491],256],65415:[[12492],256],65416:[[12493],256],65417:[[12494],256],65418:[[12495],256],65419:[[12498],256],65420:[[12501],256],65421:[[12504],256],65422:[[12507],256],65423:[[12510],256],65424:[[12511],256],65425:[[12512],256],65426:[[12513],256],65427:[[12514],256],65428:[[12516],256],65429:[[12518],256],65430:[[12520],256],65431:[[12521],256],65432:[[12522],256],65433:[[12523],256],65434:[[12524],256],65435:[[12525],256],65436:[[12527],256],65437:[[12531],256],65438:[[12441],256],65439:[[12442],256],65440:[[12644],256],65441:[[12593],256],65442:[[12594],256],65443:[[12595],256],65444:[[12596],256],65445:[[12597],256],65446:[[12598],256],65447:[[12599],256],65448:[[12600],256],65449:[[12601],256],65450:[[12602],256],65451:[[12603],256],65452:[[12604],256],65453:[[12605],256],65454:[[12606],256],65455:[[12607],256],65456:[[12608],256],65457:[[12609],256],65458:[[12610],256],65459:[[12611],256],65460:[[12612],256],65461:[[12613],256],65462:[[12614],256],65463:[[12615],256],65464:[[12616],256],65465:[[12617],256],65466:[[12618],256],65467:[[12619],256],65468:[[12620],256],65469:[[12621],256],65470:[[12622],256],65474:[[12623],256],65475:[[12624],256],65476:[[12625],256],65477:[[12626],256],65478:[[12627],256],65479:[[12628],256],65482:[[12629],256],65483:[[12630],256],65484:[[12631],256],65485:[[12632],256],65486:[[12633],256],65487:[[12634],256],65490:[[12635],256],65491:[[12636],256],65492:[[12637],256],65493:[[12638],256],65494:[[12639],256],65495:[[12640],256],65498:[[12641],256],65499:[[12642],256],65500:[[12643],256],65504:[[162],256],65505:[[163],256],65506:[[172],256],65507:[[175],256],65508:[[166],256],65509:[[165],256],65510:[[8361],256],65512:[[9474],256],65513:[[8592],256],65514:[[8593],256],65515:[[8594],256],65516:[[8595],256],65517:[[9632],256],65518:[[9675],256]}};var h={nfc:function(e){return p("NFC",e)},nfd:function(e){return p("NFD",e)},nfkc:function(e){return p("NFKC",e)},nfkd:function(e){return p("NFKD",e)}};e.exports=h,h.shimApplied=!1,String.prototype.normalize||(Object.defineProperty(String.prototype,"normalize",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=""+this,t=void 0===arguments[0]?"NFC":arguments[0];if(null==this)throw new TypeError("Cannot call method on "+Object.prototype.toString.call(this));if("NFC"===t)return h.nfc(e);if("NFD"===t)return h.nfd(e);if("NFKC"===t)return h.nfkc(e);if("NFKD"===t)return h.nfkd(e);throw new RangeError("Invalid normalization form: "+t)}}),h.shimApplied=!0)}()},function(e,t,n){"use strict";n.r(t),n.d(t,"Headers",(function(){return f})),n.d(t,"Request",(function(){return S})),n.d(t,"Response",(function(){return T})),n.d(t,"DOMException",(function(){return A})),n.d(t,"fetch",(function(){return N}));n(6);var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,i="URLSearchParams"in r,s="Symbol"in r&&"iterator"in Symbol,o="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in r,c="ArrayBuffer"in r;if(c)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function p(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return s&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function b(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:i&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():c&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=b(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=b(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(y)}),this.text=function(){var e,t,n,r=m(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=g(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=d(e),t=p(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[d(e)]},f.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},f.prototype.set=function(e,t){this.map[d(e)]=p(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),h(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},s&&(f.prototype[Symbol.iterator]=f.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(e,t){if(!(this instanceof S))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof S){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),_.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var s=/([?&])_=[^&]*/;if(s.test(this.url))this.url=this.url.replace(s,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function T(e,t){if(!(this instanceof T))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})},v.call(S.prototype),v.call(T.prototype),T.prototype.clone=function(){return new T(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},T.error=function(){var e=new T(null,{status:0,statusText:""});return e.type="error",e};var I=[301,302,303,307,308];T.redirect=function(e,t){if(-1===I.indexOf(t))throw new RangeError("Invalid status code");return new T(null,{status:t,headers:{location:e}})};var A=r.DOMException;try{new A}catch(e){(A=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),A.prototype.constructor=A}function N(e,t){return new Promise((function(n,i){var s=new S(e,t);if(s.signal&&s.signal.aborted)return i(new A("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;setTimeout((function(){n(new T(i,r))}),0)},a.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){i(new A("Aborted","AbortError"))}),0)},a.open(s.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(s.url),!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&(o?a.responseType="blob":c&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof f?s.headers.forEach((function(e,t){a.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){a.setRequestHeader(e,p(t.headers[e]))})),s.signal&&(s.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",u)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}N.polyfill=!0,r.fetch||(r.fetch=N,r.Headers=f,r.Request=S,r.Response=T)},function(e,t,n){"use strict";var r,i=n(207),s=n(24),o=n(8),a=n(20),c=n(15),u=n(208),l=n(25),d=n(74),p=n(42).f,h=n(214),f=n(216),m=n(40),g=n(44),y=o.Int8Array,b=y&&y.prototype,v=o.Uint8ClampedArray,_=v&&v.prototype,S=y&&h(y),w=b&&h(b),T=Object.prototype,I=T.isPrototypeOf,A=m("toStringTag"),N=g("TYPED_ARRAY_TAG"),E=i&&!!f&&"Opera"!==u(o.opera),x=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R=function(e){return a(e)&&c(C,u(e))};for(r in C)o[r]||(E=!1);if((!E||"function"!=typeof S||S===Function.prototype)&&(S=function(){throw TypeError("Incorrect invocation")},E))for(r in C)o[r]&&f(o[r],S);if((!E||!w||w===T)&&(w=S.prototype,E))for(r in C)o[r]&&f(o[r].prototype,w);if(E&&h(_)!==w&&f(_,w),s&&!c(w,A))for(r in x=!0,p(w,A,{get:function(){return a(this)?this[N]:void 0}}),C)o[r]&&l(o[r],N,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_TAG:x&&N,aTypedArray:function(e){if(R(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(f){if(I.call(S,e))return e}else for(var t in C)if(c(C,r)){var n=o[t];if(n&&(e===n||I.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(s){if(n)for(var r in C){var i=o[r];i&&c(i.prototype,e)&&delete i.prototype[e]}w[e]&&!n||d(w,e,n?t:E&&b[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(f){if(n)for(r in C)(i=o[r])&&c(i,e)&&delete i[e];if(S[e]&&!n)return;try{return d(S,e,n?t:E&&y[e]||t)}catch(e){}}for(r in C)!(i=o[r])||i[e]&&!n||d(i,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||c(C,t)},isTypedArray:R,TypedArray:S,TypedArrayPrototype:w}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(209),i=n(45),s=n(40)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),s))?n:o?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r={};r[n(40)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t){e.exports=!1},function(e,t,n){var r=n(73);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r,i,s,o=n(213),a=n(8),c=n(20),u=n(25),l=n(15),d=n(76),p=n(77),h=a.WeakMap;if(o){var f=new h,m=f.get,g=f.has,y=f.set;r=function(e,t){return y.call(f,e,t),t},i=function(e){return m.call(f,e)||{}},s=function(e){return g.call(f,e)}}else{var b=d("state");p[b]=!0,r=function(e,t){return u(e,b,t),t},i=function(e){return l(e,b)?e[b]:{}},s=function(e){return l(e,b)}}e.exports={set:r,get:i,has:s,enforce:function(e){return s(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(8),i=n(75),s=r.WeakMap;e.exports="function"==typeof s&&/native code/.test(i(s))},function(e,t,n){var r=n(15),i=n(78),s=n(76),o=n(215),a=s("IE_PROTO"),c=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,n){var r=n(13);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(43),i=n(217);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e.call(n,s):n.__proto__=s,n}}():void 0)},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(219);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(46);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){"use strict";n.r(t);var r=n(64),i=n(60);for(var s in i)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);var o=n(52);for(var s in o)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(s);var a=n(201);for(var s in a)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);var c=n(28);for(var s in c)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(s);var u=n(63);for(var s in u)["HttpClient","parseJwt","default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(s);var l=n(34);n.d(t,"HttpClient",(function(){return l.HttpClient}));var d=n(16);n.d(t,"parseJwt",(function(){return d.parseJwt})),t.default=r.Client},function(e,t,n){t.RateLimiter=n(222),t.TokenBucket=n(81)},function(e,t,n){(function(t){var r=n(81),i=n(223),s=function(e,t,n){this.tokenBucket=new r(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=i(),this.tokensThisInterval=0,this.fireImmediately=n};s.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(e,n){if(e>this.tokenBucket.bucketSize)return t.nextTick(n.bind(null,"Requested tokens "+e+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var r=this,s=i();if((s<this.curIntervalStart||s-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=s,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)t.nextTick(n.bind(null,null,-1));else{var o=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-s);setTimeout((function(){r.tokenBucket.removeTokens(e,a)}),o)}return!1}return this.tokenBucket.removeTokens(e,a);function a(t,i){if(t)return n(t,null);r.tokensThisInterval+=e,n(null,i)}},tryRemoveTokens:function(e){if(e>this.tokenBucket.bucketSize)return!1;var t=i();if((t<this.curIntervalStart||t-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=t,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var n=this.tokenBucket.tryRemoveTokens(e);return n&&(this.tokensThisInterval+=e),n},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}},e.exports=s}).call(this,n(29))},function(e,t,n){(function(t){e.exports=function(){if(void 0!==t&&t.hrtime){var e=t.hrtime(),n=e[0],r=e[1];return 1e3*n+Math.floor(r/1e6)}return(new Date).getTime()}}).call(this,n(29))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i={delayFirstAttempt:!1,jitter:"none",maxDelay:1/0,numOfAttempts:10,retry:function(){return!0},startingDelay:100,timeMultiple:2};t.getSanitizedOptions=function(e){var t=r(r({},i),e);return t.numOfAttempts<1&&(t.numOfAttempts=1),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(226),i=n(230);t.DelayFactory=function(e,t){var n=function(e){if(!e.delayFirstAttempt)return new r.SkipFirstDelay(e);return new i.AlwaysDelay(e)}(e);return n.setAttemptNumber(t),n}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}};Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.apply=function(){return s(this,void 0,void 0,(function(){return o(this,(function(t){return[2,!!this.isFirstAttempt||e.prototype.apply.call(this)]}))}))},Object.defineProperty(t.prototype,"isFirstAttempt",{get:function(){return 0===this.attempt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numOfDelayedAttempts",{get:function(){return this.attempt-1},enumerable:!0,configurable:!0}),t}(n(82).Delay);t.SkipFirstDelay=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(228),i=n(229);t.JitterFactory=function(e){switch(e.jitter){case"full":return r.fullJitter;case"none":default:return i.noJitter}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullJitter=function(e){var t=Math.random()*e;return Math.round(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noJitter=function(e){return e}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(n(82).Delay);t.AlwaysDelay=s},function(e,t,n){"use strict";(function(e){
|
|
23
23
|
/*!
|
|
24
24
|
* The buffer module from node.js, for the browser.
|
|
25
25
|
*
|