@top-message/ui-lib 2.23.72 → 2.23.73

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/index.js CHANGED
@@ -66701,47 +66701,48 @@ const Dd1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAABkCAYAAAD0SLA/A
66701
66701
  contentType: c,
66702
66702
  onShowAllOptionsClick: f
66703
66703
  }) => {
66704
- const v = l && (l == null ? void 0 : l.length) > 0 ? {
66704
+ var p;
66705
+ const v = ((p = o == null ? void 0 : o.toLowerCase) == null ? void 0 : p.call(o)) || "", d = l && (l == null ? void 0 : l.length) > 0 ? {
66705
66706
  width: "11.8125em"
66706
- } : { minWidth: "6em" }, d = w1(() => o === "document" ? xf({ type: c }) : null, [o, c]), C = w1(() => o === "document" ? d ? null : ip("document") : ["image", "video"].includes(o) ? i || ip(o) : null, [o, i, d]);
66707
+ } : { minWidth: "6em" }, C = w1(() => v === "document" ? xf({ type: c }) : null, [v, c]), h = w1(() => (console.log(v, "mediaType"), v === "document" ? C ? null : ip("document") : ["image", "video"].includes(v) ? i || ip(v) : null), [v, i, C]);
66707
66708
  return /* @__PURE__ */ me(
66708
66709
  "div",
66709
66710
  {
66710
66711
  className: `${cr.bubble} ${e ? cr[e.toLowerCase()] : ""} ${t ? cr[t] : ""}`,
66711
66712
  style: {
66712
- ...v
66713
+ ...d
66713
66714
  },
66714
66715
  children: [
66715
66716
  /* @__PURE__ */ me("div", { className: cr.content, children: [
66716
- C && /* @__PURE__ */ g("div", { className: cr.mediaContainer, children: /* @__PURE__ */ g(
66717
+ h && /* @__PURE__ */ g("div", { className: cr.mediaContainer, children: /* @__PURE__ */ g(
66717
66718
  "img",
66718
66719
  {
66719
- src: C,
66720
+ src: h,
66720
66721
  alt: "thumbnail",
66721
66722
  width: "100%",
66722
66723
  height: "auto"
66723
66724
  }
66724
66725
  ) }),
66725
- d && /* @__PURE__ */ g(H1, { name: d, size: 32 }),
66726
+ C && /* @__PURE__ */ g(H1, { name: C, size: 32 }),
66726
66727
  a && /* @__PURE__ */ g("div", { className: cr.header, children: a }),
66727
66728
  /* @__PURE__ */ g("div", { className: cr.text, children: C9(r) }),
66728
66729
  s && /* @__PURE__ */ g("div", { className: cr.footer, children: s }),
66729
66730
  /* @__PURE__ */ g("div", { className: cr.time, children: n })
66730
66731
  ] }),
66731
- l == null ? void 0 : l.map(({ id: h, icon: p, text: m, isShowAllOptions: b }, y) => /* @__PURE__ */ me(Q8, { children: [
66732
+ l == null ? void 0 : l.map(({ id: m, icon: b, text: y, isShowAllOptions: w }, M) => /* @__PURE__ */ me(Q8, { children: [
66732
66733
  /* @__PURE__ */ g(Qo, { type: "horizontal" }),
66733
66734
  /* @__PURE__ */ me(
66734
66735
  "div",
66735
66736
  {
66736
66737
  className: cr.button,
66737
- onClick: b ? f : void 0,
66738
+ onClick: w ? f : void 0,
66738
66739
  children: [
66739
- p && /* @__PURE__ */ g("span", { className: cr.buttonIcon, children: /* @__PURE__ */ g(H1, { name: p }) }),
66740
- /* @__PURE__ */ g("span", { className: cr.buttonText, children: m })
66740
+ b && /* @__PURE__ */ g("span", { className: cr.buttonIcon, children: /* @__PURE__ */ g(H1, { name: b }) }),
66741
+ /* @__PURE__ */ g("span", { className: cr.buttonText, children: y })
66741
66742
  ]
66742
66743
  }
66743
66744
  )
66744
- ] }, h || `${p}_${y}`))
66745
+ ] }, m || `${b}_${M}`))
66745
66746
  ]
66746
66747
  }
66747
66748
  );
@@ -504,7 +504,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
504
504
  *
505
505
  * @author Feross Aboukhadijeh <https://feross.org>
506
506
  * @license MIT
507
- */var dy;function hy(){return dy||(dy=1,function(e){var t=r02(),a=n02(),l=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=i,e.SlowBuffer=M,e.INSPECT_MAX_BYTES=50;var c=2147483647;e.kMaxLength=c,i.TYPED_ARRAY_SUPPORT=r(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function r(){try{var R=new Uint8Array(1),T={foo:function(){return 42}};return Object.setPrototypeOf(T,Uint8Array.prototype),Object.setPrototypeOf(R,T),R.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function n(R){if(R>c)throw new RangeError('The value "'+R+'" is invalid for option "size"');var T=new Uint8Array(R);return Object.setPrototypeOf(T,i.prototype),T}function i(R,T,Z){if(typeof R=="number"){if(typeof T=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(R)}return o(R,T,Z)}i.poolSize=8192;function o(R,T,Z){if(typeof R=="string")return h(R,T);if(ArrayBuffer.isView(R))return z(R);if(R==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R);if(i2(R,ArrayBuffer)||R&&i2(R.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(i2(R,SharedArrayBuffer)||R&&i2(R.buffer,SharedArrayBuffer)))return g(R,T,Z);if(typeof R=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Q=R.valueOf&&R.valueOf();if(Q!=null&&Q!==R)return i.from(Q,T,Z);var e2=p(R);if(e2)return e2;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof R[Symbol.toPrimitive]=="function")return i.from(R[Symbol.toPrimitive]("string"),T,Z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R)}i.from=function(R,T,Z){return o(R,T,Z)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function s(R){if(typeof R!="number")throw new TypeError('"size" argument must be of type number');if(R<0)throw new RangeError('The value "'+R+'" is invalid for option "size"')}function d(R,T,Z){return s(R),R<=0?n(R):T!==void 0?typeof Z=="string"?n(R).fill(T,Z):n(R).fill(T):n(R)}i.alloc=function(R,T,Z){return d(R,T,Z)};function u(R){return s(R),n(R<0?0:C(R)|0)}i.allocUnsafe=function(R){return u(R)},i.allocUnsafeSlow=function(R){return u(R)};function h(R,T){if((typeof T!="string"||T==="")&&(T="utf8"),!i.isEncoding(T))throw new TypeError("Unknown encoding: "+T);var Z=b(R,T)|0,Q=n(Z),e2=Q.write(R,T);return e2!==Z&&(Q=Q.slice(0,e2)),Q}function m(R){for(var T=R.length<0?0:C(R.length)|0,Z=n(T),Q=0;Q<T;Q+=1)Z[Q]=R[Q]&255;return Z}function z(R){if(i2(R,Uint8Array)){var T=new Uint8Array(R);return g(T.buffer,T.byteOffset,T.byteLength)}return m(R)}function g(R,T,Z){if(T<0||R.byteLength<T)throw new RangeError('"offset" is outside of buffer bounds');if(R.byteLength<T+(Z||0))throw new RangeError('"length" is outside of buffer bounds');var Q;return T===void 0&&Z===void 0?Q=new Uint8Array(R):Z===void 0?Q=new Uint8Array(R,T):Q=new Uint8Array(R,T,Z),Object.setPrototypeOf(Q,i.prototype),Q}function p(R){if(i.isBuffer(R)){var T=C(R.length)|0,Z=n(T);return Z.length===0||R.copy(Z,0,0,T),Z}if(R.length!==void 0)return typeof R.length!="number"||K(R.length)?n(0):m(R);if(R.type==="Buffer"&&Array.isArray(R.data))return m(R.data)}function C(R){if(R>=c)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c.toString(16)+" bytes");return R|0}function M(R){return+R!=R&&(R=0),i.alloc(+R)}i.isBuffer=function(T){return T!=null&&T._isBuffer===!0&&T!==i.prototype},i.compare=function(T,Z){if(i2(T,Uint8Array)&&(T=i.from(T,T.offset,T.byteLength)),i2(Z,Uint8Array)&&(Z=i.from(Z,Z.offset,Z.byteLength)),!i.isBuffer(T)||!i.isBuffer(Z))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(T===Z)return 0;for(var Q=T.length,e2=Z.length,f2=0,h2=Math.min(Q,e2);f2<h2;++f2)if(T[f2]!==Z[f2]){Q=T[f2],e2=Z[f2];break}return Q<e2?-1:e2<Q?1:0},i.isEncoding=function(T){switch(String(T).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(T,Z){if(!Array.isArray(T))throw new TypeError('"list" argument must be an Array of Buffers');if(T.length===0)return i.alloc(0);var Q;if(Z===void 0)for(Z=0,Q=0;Q<T.length;++Q)Z+=T[Q].length;var e2=i.allocUnsafe(Z),f2=0;for(Q=0;Q<T.length;++Q){var h2=T[Q];if(i2(h2,Uint8Array))f2+h2.length>e2.length?i.from(h2).copy(e2,f2):Uint8Array.prototype.set.call(e2,h2,f2);else if(i.isBuffer(h2))h2.copy(e2,f2);else throw new TypeError('"list" argument must be an Array of Buffers');f2+=h2.length}return e2};function b(R,T){if(i.isBuffer(R))return R.length;if(ArrayBuffer.isView(R)||i2(R,ArrayBuffer))return R.byteLength;if(typeof R!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof R);var Z=R.length,Q=arguments.length>2&&arguments[2]===!0;if(!Q&&Z===0)return 0;for(var e2=!1;;)switch(T){case"ascii":case"latin1":case"binary":return Z;case"utf8":case"utf-8":return a2(R).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z*2;case"hex":return Z>>>1;case"base64":return $(R).length;default:if(e2)return Q?-1:a2(R).length;T=(""+T).toLowerCase(),e2=!0}}i.byteLength=b;function k(R,T,Z){var Q=!1;if((T===void 0||T<0)&&(T=0),T>this.length||((Z===void 0||Z>this.length)&&(Z=this.length),Z<=0)||(Z>>>=0,T>>>=0,Z<=T))return"";for(R||(R="utf8");;)switch(R){case"hex":return G(this,T,Z);case"utf8":case"utf-8":return N(this,T,Z);case"ascii":return D(this,T,Z);case"latin1":case"binary":return B(this,T,Z);case"base64":return I(this,T,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,T,Z);default:if(Q)throw new TypeError("Unknown encoding: "+R);R=(R+"").toLowerCase(),Q=!0}}i.prototype._isBuffer=!0;function w(R,T,Z){var Q=R[T];R[T]=R[Z],R[Z]=Q}i.prototype.swap16=function(){var T=this.length;if(T%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Z=0;Z<T;Z+=2)w(this,Z,Z+1);return this},i.prototype.swap32=function(){var T=this.length;if(T%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Z=0;Z<T;Z+=4)w(this,Z,Z+3),w(this,Z+1,Z+2);return this},i.prototype.swap64=function(){var T=this.length;if(T%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Z=0;Z<T;Z+=8)w(this,Z,Z+7),w(this,Z+1,Z+6),w(this,Z+2,Z+5),w(this,Z+3,Z+4);return this},i.prototype.toString=function(){var T=this.length;return T===0?"":arguments.length===0?N(this,0,T):k.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(T){if(!i.isBuffer(T))throw new TypeError("Argument must be a Buffer");return this===T?!0:i.compare(this,T)===0},i.prototype.inspect=function(){var T="",Z=e.INSPECT_MAX_BYTES;return T=this.toString("hex",0,Z).replace(/(.{2})/g,"$1 ").trim(),this.length>Z&&(T+=" ... "),"<Buffer "+T+">"},l&&(i.prototype[l]=i.prototype.inspect),i.prototype.compare=function(T,Z,Q,e2,f2){if(i2(T,Uint8Array)&&(T=i.from(T,T.offset,T.byteLength)),!i.isBuffer(T))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof T);if(Z===void 0&&(Z=0),Q===void 0&&(Q=T?T.length:0),e2===void 0&&(e2=0),f2===void 0&&(f2=this.length),Z<0||Q>T.length||e2<0||f2>this.length)throw new RangeError("out of range index");if(e2>=f2&&Z>=Q)return 0;if(e2>=f2)return-1;if(Z>=Q)return 1;if(Z>>>=0,Q>>>=0,e2>>>=0,f2>>>=0,this===T)return 0;for(var h2=f2-e2,u2=Q-Z,v2=Math.min(h2,u2),g2=this.slice(e2,f2),M2=T.slice(Z,Q),y2=0;y2<v2;++y2)if(g2[y2]!==M2[y2]){h2=g2[y2],u2=M2[y2];break}return h2<u2?-1:u2<h2?1:0};function x(R,T,Z,Q,e2){if(R.length===0)return-1;if(typeof Z=="string"?(Q=Z,Z=0):Z>2147483647?Z=2147483647:Z<-2147483648&&(Z=-2147483648),Z=+Z,K(Z)&&(Z=e2?0:R.length-1),Z<0&&(Z=R.length+Z),Z>=R.length){if(e2)return-1;Z=R.length-1}else if(Z<0)if(e2)Z=0;else return-1;if(typeof T=="string"&&(T=i.from(T,Q)),i.isBuffer(T))return T.length===0?-1:L(R,T,Z,Q,e2);if(typeof T=="number")return T=T&255,typeof Uint8Array.prototype.indexOf=="function"?e2?Uint8Array.prototype.indexOf.call(R,T,Z):Uint8Array.prototype.lastIndexOf.call(R,T,Z):L(R,[T],Z,Q,e2);throw new TypeError("val must be string, number or Buffer")}function L(R,T,Z,Q,e2){var f2=1,h2=R.length,u2=T.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(R.length<2||T.length<2)return-1;f2=2,h2/=2,u2/=2,Z/=2}function v2(j2,L2){return f2===1?j2[L2]:j2.readUInt16BE(L2*f2)}var g2;if(e2){var M2=-1;for(g2=Z;g2<h2;g2++)if(v2(R,g2)===v2(T,M2===-1?0:g2-M2)){if(M2===-1&&(M2=g2),g2-M2+1===u2)return M2*f2}else M2!==-1&&(g2-=g2-M2),M2=-1}else for(Z+u2>h2&&(Z=h2-u2),g2=Z;g2>=0;g2--){for(var y2=!0,E2=0;E2<u2;E2++)if(v2(R,g2+E2)!==v2(T,E2)){y2=!1;break}if(y2)return g2}return-1}i.prototype.includes=function(T,Z,Q){return this.indexOf(T,Z,Q)!==-1},i.prototype.indexOf=function(T,Z,Q){return x(this,T,Z,Q,!0)},i.prototype.lastIndexOf=function(T,Z,Q){return x(this,T,Z,Q,!1)};function H(R,T,Z,Q){Z=Number(Z)||0;var e2=R.length-Z;Q?(Q=Number(Q),Q>e2&&(Q=e2)):Q=e2;var f2=T.length;Q>f2/2&&(Q=f2/2);for(var h2=0;h2<Q;++h2){var u2=parseInt(T.substr(h2*2,2),16);if(K(u2))return h2;R[Z+h2]=u2}return h2}function P(R,T,Z,Q){return t2(a2(T,R.length-Z),R,Z,Q)}function j(R,T,Z,Q){return t2(o2(T),R,Z,Q)}function S(R,T,Z,Q){return t2($(T),R,Z,Q)}function O(R,T,Z,Q){return t2(s2(T,R.length-Z),R,Z,Q)}i.prototype.write=function(T,Z,Q,e2){if(Z===void 0)e2="utf8",Q=this.length,Z=0;else if(Q===void 0&&typeof Z=="string")e2=Z,Q=this.length,Z=0;else if(isFinite(Z))Z=Z>>>0,isFinite(Q)?(Q=Q>>>0,e2===void 0&&(e2="utf8")):(e2=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var f2=this.length-Z;if((Q===void 0||Q>f2)&&(Q=f2),T.length>0&&(Q<0||Z<0)||Z>this.length)throw new RangeError("Attempt to write outside buffer bounds");e2||(e2="utf8");for(var h2=!1;;)switch(e2){case"hex":return H(this,T,Z,Q);case"utf8":case"utf-8":return P(this,T,Z,Q);case"ascii":case"latin1":case"binary":return j(this,T,Z,Q);case"base64":return S(this,T,Z,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,T,Z,Q);default:if(h2)throw new TypeError("Unknown encoding: "+e2);e2=(""+e2).toLowerCase(),h2=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(R,T,Z){return T===0&&Z===R.length?t.fromByteArray(R):t.fromByteArray(R.slice(T,Z))}function N(R,T,Z){Z=Math.min(R.length,Z);for(var Q=[],e2=T;e2<Z;){var f2=R[e2],h2=null,u2=f2>239?4:f2>223?3:f2>191?2:1;if(e2+u2<=Z){var v2,g2,M2,y2;switch(u2){case 1:f2<128&&(h2=f2);break;case 2:v2=R[e2+1],(v2&192)===128&&(y2=(f2&31)<<6|v2&63,y2>127&&(h2=y2));break;case 3:v2=R[e2+1],g2=R[e2+2],(v2&192)===128&&(g2&192)===128&&(y2=(f2&15)<<12|(v2&63)<<6|g2&63,y2>2047&&(y2<55296||y2>57343)&&(h2=y2));break;case 4:v2=R[e2+1],g2=R[e2+2],M2=R[e2+3],(v2&192)===128&&(g2&192)===128&&(M2&192)===128&&(y2=(f2&15)<<18|(v2&63)<<12|(g2&63)<<6|M2&63,y2>65535&&y2<1114112&&(h2=y2))}}h2===null?(h2=65533,u2=1):h2>65535&&(h2-=65536,Q.push(h2>>>10&1023|55296),h2=56320|h2&1023),Q.push(h2),e2+=u2}return A(Q)}var E=4096;function A(R){var T=R.length;if(T<=E)return String.fromCharCode.apply(String,R);for(var Z="",Q=0;Q<T;)Z+=String.fromCharCode.apply(String,R.slice(Q,Q+=E));return Z}function D(R,T,Z){var Q="";Z=Math.min(R.length,Z);for(var e2=T;e2<Z;++e2)Q+=String.fromCharCode(R[e2]&127);return Q}function B(R,T,Z){var Q="";Z=Math.min(R.length,Z);for(var e2=T;e2<Z;++e2)Q+=String.fromCharCode(R[e2]);return Q}function G(R,T,Z){var Q=R.length;(!T||T<0)&&(T=0),(!Z||Z<0||Z>Q)&&(Z=Q);for(var e2="",f2=T;f2<Z;++f2)e2+=d2[R[f2]];return e2}function V(R,T,Z){for(var Q=R.slice(T,Z),e2="",f2=0;f2<Q.length-1;f2+=2)e2+=String.fromCharCode(Q[f2]+Q[f2+1]*256);return e2}i.prototype.slice=function(T,Z){var Q=this.length;T=~~T,Z=Z===void 0?Q:~~Z,T<0?(T+=Q,T<0&&(T=0)):T>Q&&(T=Q),Z<0?(Z+=Q,Z<0&&(Z=0)):Z>Q&&(Z=Q),Z<T&&(Z=T);var e2=this.subarray(T,Z);return Object.setPrototypeOf(e2,i.prototype),e2};function X(R,T,Z){if(R%1!==0||R<0)throw new RangeError("offset is not uint");if(R+T>Z)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(T,Z,Q){T=T>>>0,Z=Z>>>0,Q||X(T,Z,this.length);for(var e2=this[T],f2=1,h2=0;++h2<Z&&(f2*=256);)e2+=this[T+h2]*f2;return e2},i.prototype.readUintBE=i.prototype.readUIntBE=function(T,Z,Q){T=T>>>0,Z=Z>>>0,Q||X(T,Z,this.length);for(var e2=this[T+--Z],f2=1;Z>0&&(f2*=256);)e2+=this[T+--Z]*f2;return e2},i.prototype.readUint8=i.prototype.readUInt8=function(T,Z){return T=T>>>0,Z||X(T,1,this.length),this[T]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(T,Z){return T=T>>>0,Z||X(T,2,this.length),this[T]|this[T+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(T,Z){return T=T>>>0,Z||X(T,2,this.length),this[T]<<8|this[T+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),(this[T]|this[T+1]<<8|this[T+2]<<16)+this[T+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),this[T]*16777216+(this[T+1]<<16|this[T+2]<<8|this[T+3])},i.prototype.readIntLE=function(T,Z,Q){T=T>>>0,Z=Z>>>0,Q||X(T,Z,this.length);for(var e2=this[T],f2=1,h2=0;++h2<Z&&(f2*=256);)e2+=this[T+h2]*f2;return f2*=128,e2>=f2&&(e2-=Math.pow(2,8*Z)),e2},i.prototype.readIntBE=function(T,Z,Q){T=T>>>0,Z=Z>>>0,Q||X(T,Z,this.length);for(var e2=Z,f2=1,h2=this[T+--e2];e2>0&&(f2*=256);)h2+=this[T+--e2]*f2;return f2*=128,h2>=f2&&(h2-=Math.pow(2,8*Z)),h2},i.prototype.readInt8=function(T,Z){return T=T>>>0,Z||X(T,1,this.length),this[T]&128?(255-this[T]+1)*-1:this[T]},i.prototype.readInt16LE=function(T,Z){T=T>>>0,Z||X(T,2,this.length);var Q=this[T]|this[T+1]<<8;return Q&32768?Q|4294901760:Q},i.prototype.readInt16BE=function(T,Z){T=T>>>0,Z||X(T,2,this.length);var Q=this[T+1]|this[T]<<8;return Q&32768?Q|4294901760:Q},i.prototype.readInt32LE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),this[T]|this[T+1]<<8|this[T+2]<<16|this[T+3]<<24},i.prototype.readInt32BE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),this[T]<<24|this[T+1]<<16|this[T+2]<<8|this[T+3]},i.prototype.readFloatLE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),a.read(this,T,!0,23,4)},i.prototype.readFloatBE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),a.read(this,T,!1,23,4)},i.prototype.readDoubleLE=function(T,Z){return T=T>>>0,Z||X(T,8,this.length),a.read(this,T,!0,52,8)},i.prototype.readDoubleBE=function(T,Z){return T=T>>>0,Z||X(T,8,this.length),a.read(this,T,!1,52,8)};function F(R,T,Z,Q,e2,f2){if(!i.isBuffer(R))throw new TypeError('"buffer" argument must be a Buffer instance');if(T>e2||T<f2)throw new RangeError('"value" argument is out of bounds');if(Z+Q>R.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(T,Z,Q,e2){if(T=+T,Z=Z>>>0,Q=Q>>>0,!e2){var f2=Math.pow(2,8*Q)-1;F(this,T,Z,Q,f2,0)}var h2=1,u2=0;for(this[Z]=T&255;++u2<Q&&(h2*=256);)this[Z+u2]=T/h2&255;return Z+Q},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(T,Z,Q,e2){if(T=+T,Z=Z>>>0,Q=Q>>>0,!e2){var f2=Math.pow(2,8*Q)-1;F(this,T,Z,Q,f2,0)}var h2=Q-1,u2=1;for(this[Z+h2]=T&255;--h2>=0&&(u2*=256);)this[Z+h2]=T/u2&255;return Z+Q},i.prototype.writeUint8=i.prototype.writeUInt8=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,1,255,0),this[Z]=T&255,Z+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,2,65535,0),this[Z]=T&255,this[Z+1]=T>>>8,Z+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,2,65535,0),this[Z]=T>>>8,this[Z+1]=T&255,Z+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,4,4294967295,0),this[Z+3]=T>>>24,this[Z+2]=T>>>16,this[Z+1]=T>>>8,this[Z]=T&255,Z+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,4,4294967295,0),this[Z]=T>>>24,this[Z+1]=T>>>16,this[Z+2]=T>>>8,this[Z+3]=T&255,Z+4},i.prototype.writeIntLE=function(T,Z,Q,e2){if(T=+T,Z=Z>>>0,!e2){var f2=Math.pow(2,8*Q-1);F(this,T,Z,Q,f2-1,-f2)}var h2=0,u2=1,v2=0;for(this[Z]=T&255;++h2<Q&&(u2*=256);)T<0&&v2===0&&this[Z+h2-1]!==0&&(v2=1),this[Z+h2]=(T/u2>>0)-v2&255;return Z+Q},i.prototype.writeIntBE=function(T,Z,Q,e2){if(T=+T,Z=Z>>>0,!e2){var f2=Math.pow(2,8*Q-1);F(this,T,Z,Q,f2-1,-f2)}var h2=Q-1,u2=1,v2=0;for(this[Z+h2]=T&255;--h2>=0&&(u2*=256);)T<0&&v2===0&&this[Z+h2+1]!==0&&(v2=1),this[Z+h2]=(T/u2>>0)-v2&255;return Z+Q},i.prototype.writeInt8=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,1,127,-128),T<0&&(T=255+T+1),this[Z]=T&255,Z+1},i.prototype.writeInt16LE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,2,32767,-32768),this[Z]=T&255,this[Z+1]=T>>>8,Z+2},i.prototype.writeInt16BE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,2,32767,-32768),this[Z]=T>>>8,this[Z+1]=T&255,Z+2},i.prototype.writeInt32LE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,4,2147483647,-2147483648),this[Z]=T&255,this[Z+1]=T>>>8,this[Z+2]=T>>>16,this[Z+3]=T>>>24,Z+4},i.prototype.writeInt32BE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,4,2147483647,-2147483648),T<0&&(T=4294967295+T+1),this[Z]=T>>>24,this[Z+1]=T>>>16,this[Z+2]=T>>>8,this[Z+3]=T&255,Z+4};function J(R,T,Z,Q,e2,f2){if(Z+Q>R.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("Index out of range")}function W(R,T,Z,Q,e2){return T=+T,Z=Z>>>0,e2||J(R,T,Z,4),a.write(R,T,Z,Q,23,4),Z+4}i.prototype.writeFloatLE=function(T,Z,Q){return W(this,T,Z,!0,Q)},i.prototype.writeFloatBE=function(T,Z,Q){return W(this,T,Z,!1,Q)};function q(R,T,Z,Q,e2){return T=+T,Z=Z>>>0,e2||J(R,T,Z,8),a.write(R,T,Z,Q,52,8),Z+8}i.prototype.writeDoubleLE=function(T,Z,Q){return q(this,T,Z,!0,Q)},i.prototype.writeDoubleBE=function(T,Z,Q){return q(this,T,Z,!1,Q)},i.prototype.copy=function(T,Z,Q,e2){if(!i.isBuffer(T))throw new TypeError("argument should be a Buffer");if(Q||(Q=0),!e2&&e2!==0&&(e2=this.length),Z>=T.length&&(Z=T.length),Z||(Z=0),e2>0&&e2<Q&&(e2=Q),e2===Q||T.length===0||this.length===0)return 0;if(Z<0)throw new RangeError("targetStart out of bounds");if(Q<0||Q>=this.length)throw new RangeError("Index out of range");if(e2<0)throw new RangeError("sourceEnd out of bounds");e2>this.length&&(e2=this.length),T.length-Z<e2-Q&&(e2=T.length-Z+Q);var f2=e2-Q;return this===T&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Z,Q,e2):Uint8Array.prototype.set.call(T,this.subarray(Q,e2),Z),f2},i.prototype.fill=function(T,Z,Q,e2){if(typeof T=="string"){if(typeof Z=="string"?(e2=Z,Z=0,Q=this.length):typeof Q=="string"&&(e2=Q,Q=this.length),e2!==void 0&&typeof e2!="string")throw new TypeError("encoding must be a string");if(typeof e2=="string"&&!i.isEncoding(e2))throw new TypeError("Unknown encoding: "+e2);if(T.length===1){var f2=T.charCodeAt(0);(e2==="utf8"&&f2<128||e2==="latin1")&&(T=f2)}}else typeof T=="number"?T=T&255:typeof T=="boolean"&&(T=Number(T));if(Z<0||this.length<Z||this.length<Q)throw new RangeError("Out of range index");if(Q<=Z)return this;Z=Z>>>0,Q=Q===void 0?this.length:Q>>>0,T||(T=0);var h2;if(typeof T=="number")for(h2=Z;h2<Q;++h2)this[h2]=T;else{var u2=i.isBuffer(T)?T:i.from(T,e2),v2=u2.length;if(v2===0)throw new TypeError('The value "'+T+'" is invalid for argument "value"');for(h2=0;h2<Q-Z;++h2)this[h2+Z]=u2[h2%v2]}return this};var l2=/[^+/0-9A-Za-z-_]/g;function _(R){if(R=R.split("=")[0],R=R.trim().replace(l2,""),R.length<2)return"";for(;R.length%4!==0;)R=R+"=";return R}function a2(R,T){T=T||1/0;for(var Z,Q=R.length,e2=null,f2=[],h2=0;h2<Q;++h2){if(Z=R.charCodeAt(h2),Z>55295&&Z<57344){if(!e2){if(Z>56319){(T-=3)>-1&&f2.push(239,191,189);continue}else if(h2+1===Q){(T-=3)>-1&&f2.push(239,191,189);continue}e2=Z;continue}if(Z<56320){(T-=3)>-1&&f2.push(239,191,189),e2=Z;continue}Z=(e2-55296<<10|Z-56320)+65536}else e2&&(T-=3)>-1&&f2.push(239,191,189);if(e2=null,Z<128){if((T-=1)<0)break;f2.push(Z)}else if(Z<2048){if((T-=2)<0)break;f2.push(Z>>6|192,Z&63|128)}else if(Z<65536){if((T-=3)<0)break;f2.push(Z>>12|224,Z>>6&63|128,Z&63|128)}else if(Z<1114112){if((T-=4)<0)break;f2.push(Z>>18|240,Z>>12&63|128,Z>>6&63|128,Z&63|128)}else throw new Error("Invalid code point")}return f2}function o2(R){for(var T=[],Z=0;Z<R.length;++Z)T.push(R.charCodeAt(Z)&255);return T}function s2(R,T){for(var Z,Q,e2,f2=[],h2=0;h2<R.length&&!((T-=2)<0);++h2)Z=R.charCodeAt(h2),Q=Z>>8,e2=Z%256,f2.push(e2),f2.push(Q);return f2}function $(R){return t.toByteArray(_(R))}function t2(R,T,Z,Q){for(var e2=0;e2<Q&&!(e2+Z>=T.length||e2>=R.length);++e2)T[e2+Z]=R[e2];return e2}function i2(R,T){return R instanceof T||R!=null&&R.constructor!=null&&R.constructor.name!=null&&R.constructor.name===T.name}function K(R){return R!==R}var d2=function(){for(var R="0123456789abcdef",T=new Array(256),Z=0;Z<16;++Z)for(var Q=Z*16,e2=0;e2<16;++e2)T[Q+e2]=R[Z]+R[e2];return T}()}(bf)),bf}var uy;function i02(){return uy||(uy=1,function(e,t){var a=hy(),l=a.Buffer;function c(n,i){for(var o in n)i[o]=n[o]}l.from&&l.alloc&&l.allocUnsafe&&l.allocUnsafeSlow?e.exports=a:(c(a,t),t.Buffer=r);function r(n,i,o){return l(n,i,o)}c(l,r),r.from=function(n,i,o){if(typeof n=="number")throw new TypeError("Argument must not be a number");return l(n,i,o)},r.alloc=function(n,i,o){if(typeof n!="number")throw new TypeError("Argument must be a number");var s=l(n);return i!==void 0?typeof o=="string"?s.fill(i,o):s.fill(i):s.fill(0),s},r.allocUnsafe=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return l(n)},r.allocUnsafeSlow=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return a.SlowBuffer(n)}}(sl,sl.exports)),sl.exports}var vy;function o02(){if(vy)return Mf;vy=1;var e=i02().Buffer,t=e.isEncoding||function(C){switch(C=""+C,C&&C.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 a(C){if(!C)return"utf8";for(var M;;)switch(C){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 C;default:if(M)return;C=(""+C).toLowerCase(),M=!0}}function l(C){var M=a(C);if(typeof M!="string"&&(e.isEncoding===t||!t(C)))throw new Error("Unknown encoding: "+C);return M||C}Mf.StringDecoder=c;function c(C){this.encoding=l(C);var M;switch(this.encoding){case"utf16le":this.text=u,this.end=h,M=4;break;case"utf8":this.fillLast=o,M=4;break;case"base64":this.text=m,this.end=z,M=3;break;default:this.write=g,this.end=p;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(M)}c.prototype.write=function(C){if(C.length===0)return"";var M,b;if(this.lastNeed){if(M=this.fillLast(C),M===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<C.length?M?M+this.text(C,b):this.text(C,b):M||""},c.prototype.end=d,c.prototype.text=s,c.prototype.fillLast=function(C){if(this.lastNeed<=C.length)return C.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);C.copy(this.lastChar,this.lastTotal-this.lastNeed,0,C.length),this.lastNeed-=C.length};function r(C){return C<=127?0:C>>5===6?2:C>>4===14?3:C>>3===30?4:C>>6===2?-1:-2}function n(C,M,b){var k=M.length-1;if(k<b)return 0;var w=r(M[k]);return w>=0?(w>0&&(C.lastNeed=w-1),w):--k<b||w===-2?0:(w=r(M[k]),w>=0?(w>0&&(C.lastNeed=w-2),w):--k<b||w===-2?0:(w=r(M[k]),w>=0?(w>0&&(w===2?w=0:C.lastNeed=w-3),w):0))}function i(C,M,b){if((M[0]&192)!==128)return C.lastNeed=0,"�";if(C.lastNeed>1&&M.length>1){if((M[1]&192)!==128)return C.lastNeed=1,"�";if(C.lastNeed>2&&M.length>2&&(M[2]&192)!==128)return C.lastNeed=2,"�"}}function o(C){var M=this.lastTotal-this.lastNeed,b=i(this,C);if(b!==void 0)return b;if(this.lastNeed<=C.length)return C.copy(this.lastChar,M,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);C.copy(this.lastChar,M,0,C.length),this.lastNeed-=C.length}function s(C,M){var b=n(this,C,M);if(!this.lastNeed)return C.toString("utf8",M);this.lastTotal=b;var k=C.length-(b-this.lastNeed);return C.copy(this.lastChar,0,k),C.toString("utf8",M,k)}function d(C){var M=C&&C.length?this.write(C):"";return this.lastNeed?M+"�":M}function u(C,M){if((C.length-M)%2===0){var b=C.toString("utf16le",M);if(b){var k=b.charCodeAt(b.length-1);if(k>=55296&&k<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=C[C.length-2],this.lastChar[1]=C[C.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=C[C.length-1],C.toString("utf16le",M,C.length-1)}function h(C){var M=C&&C.length?this.write(C):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return M+this.lastChar.toString("utf16le",0,b)}return M}function m(C,M){var b=(C.length-M)%3;return b===0?C.toString("base64",M):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=C[C.length-1]:(this.lastChar[0]=C[C.length-2],this.lastChar[1]=C[C.length-1]),C.toString("base64",M,C.length-b))}function z(C){var M=C&&C.length?this.write(C):"";return this.lastNeed?M+this.lastChar.toString("base64",0,3-this.lastNeed):M}function g(C){return C.toString(this.encoding)}function p(C){return C&&C.length?this.write(C):""}return Mf}var wf,my;function py(){if(my)return wf;my=1,wf=c;var e=Tx,t=I3.Writable,a=o02().StringDecoder,l=hy().Buffer;function c(r,n){var i=this._parser=new e(r,n),o=this._decoder=new a;t.call(this,{decodeStrings:!1}),this.once("finish",function(){i.end(o.end())})}return il(c,t),c.prototype._write=function(r,n,i){r instanceof l&&(r=this._decoder.write(r)),this._parser.write(r),i()},wf}var kf,gy;function s02(){if(gy)return kf;gy=1,kf=t;var e=py();function t(c){e.call(this,new a(this),c)}il(t,e),t.prototype.readable=!0;function a(c){this.scope=c}var l=dl().EVENTS;return Object.keys(l).forEach(function(c){if(l[c]===0)a.prototype["on"+c]=function(){this.scope.emit(c)};else if(l[c]===1)a.prototype["on"+c]=function(r){this.scope.emit(c,r)};else if(l[c]===2)a.prototype["on"+c]=function(r,n){this.scope.emit(c,r,n)};else throw Error("wrong number of arguments!")}),kf}var xf,zy;function f02(){if(zy)return xf;zy=1,xf=e;function e(a){this._cbs=a||{}}var t=dl().EVENTS;return Object.keys(t).forEach(function(a){if(t[a]===0)a="on"+a,e.prototype[a]=function(){this._cbs[a]&&this._cbs[a]()};else if(t[a]===1)a="on"+a,e.prototype[a]=function(l){this._cbs[a]&&this._cbs[a](l)};else if(t[a]===2)a="on"+a,e.prototype[a]=function(l,c){this._cbs[a]&&this._cbs[a](l,c)};else throw Error("wrong number of arguments")}),xf}var yf,Cy;function d02(){if(Cy)return yf;Cy=1,yf=e;function e(a){this._cbs=a||{},this.events=[]}var t=dl().EVENTS;return Object.keys(t).forEach(function(a){if(t[a]===0)a="on"+a,e.prototype[a]=function(){this.events.push([a]),this._cbs[a]&&this._cbs[a]()};else if(t[a]===1)a="on"+a,e.prototype[a]=function(l){this.events.push([a,l]),this._cbs[a]&&this._cbs[a](l)};else if(t[a]===2)a="on"+a,e.prototype[a]=function(l,c){this.events.push([a,l,c]),this._cbs[a]&&this._cbs[a](l,c)};else throw Error("wrong number of arguments")}),e.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},e.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var a=0,l=this.events.length;a<l;a++)if(this._cbs[this.events[a][0]]){var c=this.events[a].length;c===1?this._cbs[this.events[a][0]]():c===2?this._cbs[this.events[a][0]](this.events[a][1]):this._cbs[this.events[a][0]](this.events[a][1],this.events[a][2])}},yf}var My;function dl(){return My||(My=1,function(e){var t=Tx,a=Fx;function l(c,r){return delete e.exports[c],e.exports[c]=r,r}e.exports={Parser:t,Tokenizer:Qk,ElementType:Ie,DomHandler:a,get FeedHandler(){return l("FeedHandler",c02())},get Stream(){return l("Stream",s02())},get WritableStream(){return l("WritableStream",py())},get ProxyHandler(){return l("ProxyHandler",f02())},get DomUtils(){return l("DomUtils",iy())},get CollectingHandler(){return l("CollectingHandler",d02())},DefaultHandler:a,get RssHandler(){return l("RssHandler",this.FeedHandler)},parseDOM:function(c,r){var n=new a(r);return new t(n,r).end(c),n.dom},parseFeed:function(c,r){var n=new e.exports.FeedHandler(r);return new t(n,r).end(c),n.dom},createDomStream:function(c,r,n){var i=new a(c,r,n);return new t(i,r)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}}(Ks)),Ks.exports}var v5=dl();const h02=S3(v5);function u02(e){return e.type==="text"&&/\r?\n/.test(e.data)&&e.data.trim()===""}function v02(e){return e.data}const m02=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"],p02={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"},g02=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Lf={};function by(e){return Lf.hasOwnProperty(e)||(Lf[e]=g02.test(e)),Lf[e]}const z02=function(e,t){return m02.map(l=>l.toLowerCase()).indexOf(e.toLowerCase())>=0&&(t=e),t};function C02(e){return Object.keys(e).filter(t=>by(t)).reduce((t,a)=>{const l=a.toLowerCase(),c=p02[l]||l;return t[c]=z02(c,e[a]),t},{})}function M02(e=""){return e===""?{}:e.split(";").reduce((t,a)=>{let[l,c]=a.split(/^([^:]+):/).filter((r,n)=>n>0).map(r=>r.trim().toLowerCase());return c===void 0||(l=l.replace(/^-ms-/,"ms-").replace(/-(.)/g,(r,n)=>n.toUpperCase()),t[l]=c),t},{})}function wy(e,t){const a=Object.assign({},C02(e),{key:t});return typeof a.style=="string"||a.style instanceof String?a.style=M02(a.style):delete a.style,a}const b02=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function w02(e,t,a){const l=e.name;if(!by(l))return null;const c=wy(e.attribs,t);let r=null;return b02.indexOf(l)===-1&&(r=ky(e.children,a)),y.createElement(l,c,r)}function k02(e,t){let a;e.children.length>0&&(a=e.children[0].data);const l=wy(e.attribs,t);return y.createElement("style",l,a)}function Be(){return null}const x02={[v5.ElementType.Text]:v02,[v5.ElementType.Tag]:w02,[v5.ElementType.Style]:k02,[v5.ElementType.Directive]:Be,[v5.ElementType.Comment]:Be,[v5.ElementType.Script]:Be,[v5.ElementType.CDATA]:Be,[v5.ElementType.Doctype]:Be};function y02(e,t,a){return x02[e.type](e,t,a)}function ky(e,t){return e.filter(a=>!u02(a)).map((a,l)=>{let c;return typeof t=="function"&&(c=t(a,l),c===null||c)?c:y02(a,l,t)})}function hl(e,{decodeEntities:t=!0,transform:a,preprocessNodes:l=c=>c}={}){const c=l(h02.parseDOM(e,{decodeEntities:t}));return ky(c,a)}const L02="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAABkCAYAAAD0SLA/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAL4SURBVHgB7dpdThNRGIfxd04rH35AMSENARQ1JHJHd+IW3IGuxCW4BdyBO8B4oSYSLIqahkRKFRpqO6PThGhMHTpnpsz84fklJNy0Tdqnb09m3sB+2377Ya0S9Z9HoW1aYDUDSiYIbGsQVJ82Nu41gzhYN+hvEysEtENXbbhKOHhGsBBRi08ELrLokQEiosg2nQFaakQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOVVDoqlrVVtZrtvszLRVXLrv+Os3O4b8MWkTxMGuP7hjN6/Ppg72X/XF24Z8EG2Cpfpi5ljPxNESbj6INsH83A3LE+Hmg2gvGOFmR7QFINxsiLYghOuPaAtEuH6ItmCEmx7RlgDhpkO0JUG44yPaEiHc8RDtBP19N63X64/1GMI9HwszEzQzM23HJ93h/+92moZ8MGknaHW5ntvuAv7gHZ2gsy2x+Vv57jBcdRwPJiwO9+7qkvlgH3c0Ji3kEC3kcDzw1Dr4NvzLgstbfpi0nrIGm9dzXEVE6ymPCcmU9cPxwBM/7cVh0kIOk9ZTvEtweNSxLBbm52xqio8gLd4xT7t7+9b7Od4SzP8ctjv2cH3NkA7HA8hh0nq6v7YynJRZLNTmDOkRrad4p4CrB8XgeAA5TFpP3MYtDpPWE7dxi0O0nriNWxyOB574aS8OkxZyiBZyiDbBYBAayodoE3RPT60onc6xYTSiTbD/uVXItI1f80vrwDAa0SaIt7je7360o+8XM/XiWH+cdIevmXWD7DLjktc54nj2Pn01lAeTFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKcRdY2QIgLnL0yQEb4wg2C/mOmLUS0Qxc+cY2NjWZY6TciC7YMKKd2ENjL0PUbca+/AMZuoud5wp8SAAAAAElFTkSuQmCC",H02="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAABkCAYAAAD0SLA/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAQESURBVHgB7d1ZbtNQFIDhY6cMJW0JLWUqQynwUB4Q2QlbYAewEpbAFmAH7ADeeEAqRcwd0yEdaOKQ4+pWjmunGRzjg/5PilrFVWxFf6xrX8f1pO39x8/zpVbjdSuQp+JJRYCC8Tx50/TGXlYX7y97GqzfbLwnVhhQC/yxql8Kmq8IFkZUdETgt6T1TAAjWi156gtgS4VoYQ7RwhyihTlEC3OIFuYQLcwhWphDtDCHaGEO0cIcooU5RAtziBbmEC3MIVqYQ7Qwh2hhDtHCHKKFOUQLc4gW5hAtzCFamEO0MIdoYQ7RwhyihTljgq4mLo3LzExFJsrjUvJH+xlvBoHs1vdlfb0mu3v7gmRE28WtG1fl6nR+d0HVD8XlyXL4WN2oyc9fa4LTGB6kyDvYuNn2um+2twGnEW0CHRL8y2AdDbfc3hZ0ItoEMwUI1pkt0LYUBdEm0IOuoigXaFuKggOxBKXSaD7LzWYga+0DrM3atvw5asj5c2NypTIVDkXS1jmqbbGMaHOiwS59+S77B4cnz2m4v1c3ZGunLg/uzRFoj3iXcqJ72GiwUQft53U5ekO0OdEhgXN9dlqePH4Y/kxaju6INic6FHBcrNFoo8vRHdHmRA+6HB3HRn/Gl6M73qmc6FmCaKzRYNXU5ISgN+xpc6KntS5evJC4bLz9/PVr04LesKfNiZ7O0tNauofd3tntPE87Uxn5FWT/E6LNkYarF+Lc4kKYofDxhjlEC3MYHmRMv3GwsrIRzn7pNxH0Mke9LnY85SAM/WNPmyGd1Vpa/h6Gq8Eq/f3T0lfZYMYrM0SbkbX1mnz9sZK6/Ft7WfzcLAbD8CAD8ckCPZW1MH87/H1p+dvJFK37m+j0LfrHnnZI8WB17Prowd0wXH08WrjbMamQNBuG/hDtEJKCXZif65gocJMKhJsdoh1QL8E6hJstoh1AP8E6hJsdou3TIME6hJsNou3DMME6hDs8ou1RPCyd6eo3WMeFOzVZTn19pCPaHsSDunJ5auBgHQ13/s7N8LXS1oNkRJtAv+7tJAV7Z+6aZEVfq1u40W3BMaJNoLfbVKMO1ukWbr3OLT/jmMZNoPcgODg8zCVYx7325tbxhTVEm45oE9T39sOHM+pgnbRw0YnhwRnyCtaJDxVwGtGe4ejoKLzXVh4HRLoOXZeuE+kYHpxBL+Lm/x8UC3tamEO0MIdoYQ7RwhyihTlEC3OIFuYQLcwhWphDtDCHaGEO0cIcooU5RAtziBbmEC3MIVqYQ7Qwh2hhDtHCHKKFOUQLc4gW5hAtzCFamEO0MIdoYY4vLakJYIjv+fJBADOCt37TazxnbwsjaoEfvPCri4vLQalRbYn3RoBiqnmevAv8RlV7/QsnM4qgWy5k/QAAAABJRU5ErkJggg==",r4={bubble:"_bubble_aboyu_1",sms:"_sms_aboyu_10",out:"_out_aboyu_13",whatsapp:"_whatsapp_aboyu_18",in:"_in_aboyu_24",content:"_content_aboyu_35",header:"_header_aboyu_39",mediaContainer:"_mediaContainer_aboyu_49",text:"_text_aboyu_56",footer:"_footer_aboyu_66",time:"_time_aboyu_75",button:"_button_aboyu_83",buttonIcon:"_buttonIcon_aboyu_97",buttonText:"_buttonText_aboyu_104"},P02="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAABkCAYAAAD0SLA/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAM7SURBVHgB7dxdThNRGIfxd04RLUWo/QAkXugld3QnbsEd6EpcglvAHbgDvNMLo02MKPLhUCkk2JlxTknDQOpNmQ7nb55f0nB7cvJQ3mFmTmS53Q9fntay0ZsstW2LrGlAYKLIdpJo4VVv61k/8sG6ZLRLrBAQp26h52pp8ppgIaLpJwKXWfbcABFZZtvOAC1NooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooWcBcNUy0t1a7ebttyoW81V+7udpKmdDs/t6Ci207Nzw3VEO8XmRsc6rbs7/dT/kqw+bIw/B8exff9xaLjCeHDDXQd7Uzdfy+N8TbhCtAV+JAgp2AkfbiNfGy4RbUE7wGAnugGvrWpEW+AvukLVCHhtVSPaglot3O0IeW1VYycgh2ghh2ghh2ghhztiJfkVD2zwe2gr+V2sR80Vw/wQbUn28lut/pmBkzzc/YNjW++2iHdOGA9K4oOduPgzsq97P+1z/5tdXIwM5SLaOfJPaH381B8HTLzlYTyogJ93/cePC+udli0usu23we5VyIc7HJ5dxpvPvJgN40HF/LzrL9QOj2PDbIj2jjjH1s+K8aBi/q2ETrtpLf4dNjOirZCfY32wNb5lb4VoK+Dvkm1udG3xHttdBnZxjvzrO2trrfFPlIdoS+L/5E/uitUf3B+/jEis80G0JXmyuW7xyWD8WkyIL0f+T4i2JKsrjfEH88dlLOQQLeQQLeQQLeQQbUGSpBaqkNdWNaIt8MdrhmoY8NqqRrQFIT8uyKOMV4i2YHh2HmQchxyufA3R3uDfqg0pXB/s3j6HKhdxR2wKH+5gMLw8vn6pXvnhb/6iy3+zcnz9dET7Dz4WggkT4wHkEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kOMuMg08hxUXO3hsgI33rkmj0gm9biIhTl750va2tflob9TKLdgwIUxxF9i51o57v9S8sTNBtwMdFWQAAAABJRU5ErkJggg==",xy=e=>{if(e==="document")return L02;if(e==="video")return P02;if(e==="image")return H02},yy=({channel:e,direction:t,time:a,text:l="",headerText:c,mediaType:r,mediaSrc:n,footer:i,actionItems:o,contentType:s,onShowAllOptionsClick:d})=>{const u=o&&(o==null?void 0:o.length)>0?{width:"11.8125em"}:{minWidth:"6em"},h=y.useMemo(()=>r==="document"?Qs({type:s}):null,[r,s]),m=y.useMemo(()=>r==="document"?h?null:xy("document"):["image","video"].includes(r)?n||xy(r):null,[r,n,h]);return v.jsxs("div",{className:`${r4.bubble} ${e?r4[e.toLowerCase()]:""} ${t?r4[t]:""}`,style:{...u},children:[v.jsxs("div",{className:r4.content,children:[m&&v.jsx("div",{className:r4.mediaContainer,children:v.jsx("img",{src:m,alt:"thumbnail",width:"100%",height:"auto"})}),h&&v.jsx(w0,{name:h,size:32}),c&&v.jsx("div",{className:r4.header,children:c}),v.jsx("div",{className:r4.text,children:hl(l)}),i&&v.jsx("div",{className:r4.footer,children:i}),v.jsx("div",{className:r4.time,children:a})]}),o==null?void 0:o.map(({id:z,icon:g,text:p,isShowAllOptions:C},M)=>v.jsxs(y.Fragment,{children:[v.jsx(D6,{type:"horizontal"}),v.jsxs("div",{className:r4.button,onClick:C?d:void 0,children:[g&&v.jsx("span",{className:r4.buttonIcon,children:v.jsx(w0,{name:g})}),v.jsx("span",{className:r4.buttonText,children:p})]})]},z||`${g}_${M}`))]})},j4={drawer:"_drawer_sdjoj_1",header:"_header_sdjoj_7",content:"_content_sdjoj_14",options:"_options_sdjoj_20",option:"_option_sdjoj_20",buttonIcon:"_buttonIcon_sdjoj_42",buttonText:"_buttonText_sdjoj_50"},Ly=y.memo(({detailsHeader:e,detailedFirstSet:t,detailedSecondSet:a,fontSize:l,onClose:c})=>v.jsxs(Vk,{placement:"bottom",open:!0,className:j4.drawer,style:{fontSize:l},onClose:c,children:[v.jsx("div",{className:j4.header,children:e}),v.jsxs("div",{className:j4.content,children:[v.jsx("div",{className:j4.options,children:t==null?void 0:t.map(({id:r,icon:n,text:i})=>v.jsxs("div",{className:j4.option,children:[n&&v.jsx("span",{className:j4.buttonIcon,children:v.jsx(w0,{name:n})}),v.jsx("span",{className:j4.buttonText,children:i})]},r||n))}),v.jsx("div",{className:j4.options,children:a==null?void 0:a.map(({id:r,icon:n,text:i})=>v.jsxs("div",{className:j4.option,children:[n&&v.jsx("span",{className:j4.buttonIcon,children:v.jsx(w0,{name:n})}),v.jsx("span",{className:j4.buttonText,children:i})]},r||n))})]})]})),S02={wrapper:"_wrapper_1jj1y_1"},j02=({defaultCurrent:e=1,total:t,className:a,style:l,onChange:c,defaultPageSize:r=10,hideOnSinglePage:n=!1,localeText:i,onShowSizeChange:o})=>v.jsx(Fo,{className:`${S02.wrapper} ${a}`,style:l,defaultPageSize:r,defaultCurrent:e,total:t,onChange:c,hideOnSinglePage:n,locale:{items_per_page:i},prevIcon:v.jsx(w0,{name:"chevron-left"}),nextIcon:v.jsx(w0,{name:"chevron-right"}),jumpPrevIcon:v.jsx(w0,{name:"more-filled"}),jumpNextIcon:v.jsx(w0,{name:"more-filled"}),onShowSizeChange:o}),E02={wrapper:"_wrapper_1koyt_1"},m5=({children:e,content:t,title:a,className:l="",style:c,trigger:r,arrow:n=!1,placement:i,onOpenChange:o,open:s})=>v.jsx(xi,{className:`${E02.wrapper} ${l}`,overlayStyle:c,title:a,content:t,trigger:r,arrow:n,placement:i,overlayInnerStyle:{borderRadius:"16px",padding:0,overflow:"hidden"},onOpenChange:o,open:s,children:e}),Hy={wrapper:"_wrapper_6wgza_1",progressBar:"_progressBar_6wgza_9",move:"_move_6wgza_1"},N02=({style:e,className:t="",type:a,percent:l,color:c,showInfo:r,height:n})=>a==="infinite"?v.jsx("div",{style:e,className:`${Hy.wrapper} ${t}`,children:v.jsx("span",{className:Hy.progressBar})}):v.jsx(Jo,{className:t,percent:l,strokeColor:c,showInfo:!!r,size:n?{height:n}:void 0}),ul={wrapper:"_wrapper_1ux7u_1",radioBox:"_radioBox_1ux7u_5",active:"_active_1ux7u_24",disabled:"_disabled_1ux7u_33"},O02=({value:e,group:t,onChange:a,style:l,className:c=""})=>v.jsx(k6.Group,{className:`${ul.wrapper} ${c}`,style:l,onChange:a,value:e,children:t.map(r=>v.jsx(k6,{value:r.value,disabled:r.disabled,className:`${ul.radioBox} ${e===r.value?ul.active:""} ${r.disabled?ul.disabled:""}`,children:r.label},r.value))}),D02=({block:e=!1,type:t,height:a,width:l,className:c,style:r})=>t==="button"?v.jsx(w4.Button,{className:c,block:e,active:!0,style:{...r,height:a,width:l}}):t==="avatar"?v.jsx(w4.Avatar,{className:c,active:!0,style:{...r,height:a,width:l}}):v.jsx(w4,{className:c,style:r,active:!0}),Py=({className:e="",style:t,size:a="default",percent:l,type:c,fullscreen:r})=>c==="loadingOutlined"?v.jsx(P6,{className:e,indicator:v.jsx(je,{spin:!0}),size:a,style:t,fullscreen:r}):v.jsx(P6,{className:e,size:a,percent:l,style:t,fullscreen:r}),A02={wrapper:"_wrapper_gtde4_1"},I02=({className:e="",style:t,checked:a,size:l,unCheckedChildren:c,checkedChildren:r,loading:n,onClick:i,onChange:o,disabled:s})=>v.jsx(Yo,{className:`${A02.wrapper} ${e}`,style:t,checked:a,size:l,unCheckedChildren:c,checkedChildren:r,loading:n,onClick:i,onChange:o,disabled:s}),T02={wrapper:"_wrapper_5jxn5_1"},Z02=({isSelected:e=!1,onClick:t,children:a})=>v.jsx(O3,{theme:{components:{Button:{defaultActiveBorderColor:"var(--topPurple-500)",defaultActiveBg:"var(--topPurple-50)",defaultBorderColor:e?"var(--topPurple-600)":"var(--slate-300)",defaultBg:e?"var(--topPurple-50)":"var(--neutral-50)",defaultHoverBorderColor:"var(--slate-300)",defaultHoverColor:"var(--gray-600)",defaultColor:"var(--gray-600)",defaultActiveColor:"var(--gray-600)",contentFontSize:14,fontWeight:600}}},children:v.jsx(l3,{size:"large",onClick:t,className:T02.wrapper,children:a})}),B02={wrapper:"_wrapper_yt1hx_1"},V02=({items:e,defaultActiveKey:t,onChange:a,centered:l,className:c="",style:r})=>v.jsx(oo,{className:`${B02.wrapper} ${c}`,style:r,items:e,defaultActiveKey:t,onChange:a,centered:l}),Ve={wrapper:"_wrapper_1x2zh_1",bordered:"_bordered_1x2zh_17",icon:"_icon_1x2zh_23","custom-default":"_custom-default_1x2zh_29",light:"_light_1x2zh_29",filled:"_filled_1x2zh_30","custom-blue":"_custom-blue_1x2zh_50","custom-green":"_custom-green_1x2zh_69","custom-yellow":"_custom-yellow_1x2zh_89","custom-red":"_custom-red_1x2zh_108","custom-purple":"_custom-purple_1x2zh_127","custom-black":"_custom-black_1x2zh_146","custom-slate":"_custom-slate_1x2zh_165","custom-neutral":"_custom-neutral_1x2zh_184","custom-gradient":"_custom-gradient_1x2zh_203"},Sy=y.forwardRef(({type:e="light",color:t="default",className:a="",style:l,bordered:c,children:r,iconName:n,closable:i,onMouseEnter:o,onMouseLeave:s,onBlur:d,onFocus:u,onClick:h,onClose:m},z)=>v.jsx(qa,{className:`
507
+ */var dy;function hy(){return dy||(dy=1,function(e){var t=r02(),a=n02(),l=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=i,e.SlowBuffer=M,e.INSPECT_MAX_BYTES=50;var c=2147483647;e.kMaxLength=c,i.TYPED_ARRAY_SUPPORT=r(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function r(){try{var R=new Uint8Array(1),T={foo:function(){return 42}};return Object.setPrototypeOf(T,Uint8Array.prototype),Object.setPrototypeOf(R,T),R.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function n(R){if(R>c)throw new RangeError('The value "'+R+'" is invalid for option "size"');var T=new Uint8Array(R);return Object.setPrototypeOf(T,i.prototype),T}function i(R,T,Z){if(typeof R=="number"){if(typeof T=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(R)}return o(R,T,Z)}i.poolSize=8192;function o(R,T,Z){if(typeof R=="string")return h(R,T);if(ArrayBuffer.isView(R))return z(R);if(R==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R);if(i2(R,ArrayBuffer)||R&&i2(R.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(i2(R,SharedArrayBuffer)||R&&i2(R.buffer,SharedArrayBuffer)))return g(R,T,Z);if(typeof R=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Q=R.valueOf&&R.valueOf();if(Q!=null&&Q!==R)return i.from(Q,T,Z);var e2=p(R);if(e2)return e2;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof R[Symbol.toPrimitive]=="function")return i.from(R[Symbol.toPrimitive]("string"),T,Z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R)}i.from=function(R,T,Z){return o(R,T,Z)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function s(R){if(typeof R!="number")throw new TypeError('"size" argument must be of type number');if(R<0)throw new RangeError('The value "'+R+'" is invalid for option "size"')}function d(R,T,Z){return s(R),R<=0?n(R):T!==void 0?typeof Z=="string"?n(R).fill(T,Z):n(R).fill(T):n(R)}i.alloc=function(R,T,Z){return d(R,T,Z)};function u(R){return s(R),n(R<0?0:C(R)|0)}i.allocUnsafe=function(R){return u(R)},i.allocUnsafeSlow=function(R){return u(R)};function h(R,T){if((typeof T!="string"||T==="")&&(T="utf8"),!i.isEncoding(T))throw new TypeError("Unknown encoding: "+T);var Z=b(R,T)|0,Q=n(Z),e2=Q.write(R,T);return e2!==Z&&(Q=Q.slice(0,e2)),Q}function m(R){for(var T=R.length<0?0:C(R.length)|0,Z=n(T),Q=0;Q<T;Q+=1)Z[Q]=R[Q]&255;return Z}function z(R){if(i2(R,Uint8Array)){var T=new Uint8Array(R);return g(T.buffer,T.byteOffset,T.byteLength)}return m(R)}function g(R,T,Z){if(T<0||R.byteLength<T)throw new RangeError('"offset" is outside of buffer bounds');if(R.byteLength<T+(Z||0))throw new RangeError('"length" is outside of buffer bounds');var Q;return T===void 0&&Z===void 0?Q=new Uint8Array(R):Z===void 0?Q=new Uint8Array(R,T):Q=new Uint8Array(R,T,Z),Object.setPrototypeOf(Q,i.prototype),Q}function p(R){if(i.isBuffer(R)){var T=C(R.length)|0,Z=n(T);return Z.length===0||R.copy(Z,0,0,T),Z}if(R.length!==void 0)return typeof R.length!="number"||K(R.length)?n(0):m(R);if(R.type==="Buffer"&&Array.isArray(R.data))return m(R.data)}function C(R){if(R>=c)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c.toString(16)+" bytes");return R|0}function M(R){return+R!=R&&(R=0),i.alloc(+R)}i.isBuffer=function(T){return T!=null&&T._isBuffer===!0&&T!==i.prototype},i.compare=function(T,Z){if(i2(T,Uint8Array)&&(T=i.from(T,T.offset,T.byteLength)),i2(Z,Uint8Array)&&(Z=i.from(Z,Z.offset,Z.byteLength)),!i.isBuffer(T)||!i.isBuffer(Z))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(T===Z)return 0;for(var Q=T.length,e2=Z.length,f2=0,h2=Math.min(Q,e2);f2<h2;++f2)if(T[f2]!==Z[f2]){Q=T[f2],e2=Z[f2];break}return Q<e2?-1:e2<Q?1:0},i.isEncoding=function(T){switch(String(T).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(T,Z){if(!Array.isArray(T))throw new TypeError('"list" argument must be an Array of Buffers');if(T.length===0)return i.alloc(0);var Q;if(Z===void 0)for(Z=0,Q=0;Q<T.length;++Q)Z+=T[Q].length;var e2=i.allocUnsafe(Z),f2=0;for(Q=0;Q<T.length;++Q){var h2=T[Q];if(i2(h2,Uint8Array))f2+h2.length>e2.length?i.from(h2).copy(e2,f2):Uint8Array.prototype.set.call(e2,h2,f2);else if(i.isBuffer(h2))h2.copy(e2,f2);else throw new TypeError('"list" argument must be an Array of Buffers');f2+=h2.length}return e2};function b(R,T){if(i.isBuffer(R))return R.length;if(ArrayBuffer.isView(R)||i2(R,ArrayBuffer))return R.byteLength;if(typeof R!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof R);var Z=R.length,Q=arguments.length>2&&arguments[2]===!0;if(!Q&&Z===0)return 0;for(var e2=!1;;)switch(T){case"ascii":case"latin1":case"binary":return Z;case"utf8":case"utf-8":return a2(R).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z*2;case"hex":return Z>>>1;case"base64":return $(R).length;default:if(e2)return Q?-1:a2(R).length;T=(""+T).toLowerCase(),e2=!0}}i.byteLength=b;function k(R,T,Z){var Q=!1;if((T===void 0||T<0)&&(T=0),T>this.length||((Z===void 0||Z>this.length)&&(Z=this.length),Z<=0)||(Z>>>=0,T>>>=0,Z<=T))return"";for(R||(R="utf8");;)switch(R){case"hex":return G(this,T,Z);case"utf8":case"utf-8":return N(this,T,Z);case"ascii":return D(this,T,Z);case"latin1":case"binary":return B(this,T,Z);case"base64":return I(this,T,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,T,Z);default:if(Q)throw new TypeError("Unknown encoding: "+R);R=(R+"").toLowerCase(),Q=!0}}i.prototype._isBuffer=!0;function w(R,T,Z){var Q=R[T];R[T]=R[Z],R[Z]=Q}i.prototype.swap16=function(){var T=this.length;if(T%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Z=0;Z<T;Z+=2)w(this,Z,Z+1);return this},i.prototype.swap32=function(){var T=this.length;if(T%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Z=0;Z<T;Z+=4)w(this,Z,Z+3),w(this,Z+1,Z+2);return this},i.prototype.swap64=function(){var T=this.length;if(T%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Z=0;Z<T;Z+=8)w(this,Z,Z+7),w(this,Z+1,Z+6),w(this,Z+2,Z+5),w(this,Z+3,Z+4);return this},i.prototype.toString=function(){var T=this.length;return T===0?"":arguments.length===0?N(this,0,T):k.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(T){if(!i.isBuffer(T))throw new TypeError("Argument must be a Buffer");return this===T?!0:i.compare(this,T)===0},i.prototype.inspect=function(){var T="",Z=e.INSPECT_MAX_BYTES;return T=this.toString("hex",0,Z).replace(/(.{2})/g,"$1 ").trim(),this.length>Z&&(T+=" ... "),"<Buffer "+T+">"},l&&(i.prototype[l]=i.prototype.inspect),i.prototype.compare=function(T,Z,Q,e2,f2){if(i2(T,Uint8Array)&&(T=i.from(T,T.offset,T.byteLength)),!i.isBuffer(T))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof T);if(Z===void 0&&(Z=0),Q===void 0&&(Q=T?T.length:0),e2===void 0&&(e2=0),f2===void 0&&(f2=this.length),Z<0||Q>T.length||e2<0||f2>this.length)throw new RangeError("out of range index");if(e2>=f2&&Z>=Q)return 0;if(e2>=f2)return-1;if(Z>=Q)return 1;if(Z>>>=0,Q>>>=0,e2>>>=0,f2>>>=0,this===T)return 0;for(var h2=f2-e2,u2=Q-Z,v2=Math.min(h2,u2),g2=this.slice(e2,f2),M2=T.slice(Z,Q),y2=0;y2<v2;++y2)if(g2[y2]!==M2[y2]){h2=g2[y2],u2=M2[y2];break}return h2<u2?-1:u2<h2?1:0};function x(R,T,Z,Q,e2){if(R.length===0)return-1;if(typeof Z=="string"?(Q=Z,Z=0):Z>2147483647?Z=2147483647:Z<-2147483648&&(Z=-2147483648),Z=+Z,K(Z)&&(Z=e2?0:R.length-1),Z<0&&(Z=R.length+Z),Z>=R.length){if(e2)return-1;Z=R.length-1}else if(Z<0)if(e2)Z=0;else return-1;if(typeof T=="string"&&(T=i.from(T,Q)),i.isBuffer(T))return T.length===0?-1:L(R,T,Z,Q,e2);if(typeof T=="number")return T=T&255,typeof Uint8Array.prototype.indexOf=="function"?e2?Uint8Array.prototype.indexOf.call(R,T,Z):Uint8Array.prototype.lastIndexOf.call(R,T,Z):L(R,[T],Z,Q,e2);throw new TypeError("val must be string, number or Buffer")}function L(R,T,Z,Q,e2){var f2=1,h2=R.length,u2=T.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(R.length<2||T.length<2)return-1;f2=2,h2/=2,u2/=2,Z/=2}function v2(j2,L2){return f2===1?j2[L2]:j2.readUInt16BE(L2*f2)}var g2;if(e2){var M2=-1;for(g2=Z;g2<h2;g2++)if(v2(R,g2)===v2(T,M2===-1?0:g2-M2)){if(M2===-1&&(M2=g2),g2-M2+1===u2)return M2*f2}else M2!==-1&&(g2-=g2-M2),M2=-1}else for(Z+u2>h2&&(Z=h2-u2),g2=Z;g2>=0;g2--){for(var y2=!0,E2=0;E2<u2;E2++)if(v2(R,g2+E2)!==v2(T,E2)){y2=!1;break}if(y2)return g2}return-1}i.prototype.includes=function(T,Z,Q){return this.indexOf(T,Z,Q)!==-1},i.prototype.indexOf=function(T,Z,Q){return x(this,T,Z,Q,!0)},i.prototype.lastIndexOf=function(T,Z,Q){return x(this,T,Z,Q,!1)};function H(R,T,Z,Q){Z=Number(Z)||0;var e2=R.length-Z;Q?(Q=Number(Q),Q>e2&&(Q=e2)):Q=e2;var f2=T.length;Q>f2/2&&(Q=f2/2);for(var h2=0;h2<Q;++h2){var u2=parseInt(T.substr(h2*2,2),16);if(K(u2))return h2;R[Z+h2]=u2}return h2}function P(R,T,Z,Q){return t2(a2(T,R.length-Z),R,Z,Q)}function j(R,T,Z,Q){return t2(o2(T),R,Z,Q)}function S(R,T,Z,Q){return t2($(T),R,Z,Q)}function O(R,T,Z,Q){return t2(s2(T,R.length-Z),R,Z,Q)}i.prototype.write=function(T,Z,Q,e2){if(Z===void 0)e2="utf8",Q=this.length,Z=0;else if(Q===void 0&&typeof Z=="string")e2=Z,Q=this.length,Z=0;else if(isFinite(Z))Z=Z>>>0,isFinite(Q)?(Q=Q>>>0,e2===void 0&&(e2="utf8")):(e2=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var f2=this.length-Z;if((Q===void 0||Q>f2)&&(Q=f2),T.length>0&&(Q<0||Z<0)||Z>this.length)throw new RangeError("Attempt to write outside buffer bounds");e2||(e2="utf8");for(var h2=!1;;)switch(e2){case"hex":return H(this,T,Z,Q);case"utf8":case"utf-8":return P(this,T,Z,Q);case"ascii":case"latin1":case"binary":return j(this,T,Z,Q);case"base64":return S(this,T,Z,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,T,Z,Q);default:if(h2)throw new TypeError("Unknown encoding: "+e2);e2=(""+e2).toLowerCase(),h2=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(R,T,Z){return T===0&&Z===R.length?t.fromByteArray(R):t.fromByteArray(R.slice(T,Z))}function N(R,T,Z){Z=Math.min(R.length,Z);for(var Q=[],e2=T;e2<Z;){var f2=R[e2],h2=null,u2=f2>239?4:f2>223?3:f2>191?2:1;if(e2+u2<=Z){var v2,g2,M2,y2;switch(u2){case 1:f2<128&&(h2=f2);break;case 2:v2=R[e2+1],(v2&192)===128&&(y2=(f2&31)<<6|v2&63,y2>127&&(h2=y2));break;case 3:v2=R[e2+1],g2=R[e2+2],(v2&192)===128&&(g2&192)===128&&(y2=(f2&15)<<12|(v2&63)<<6|g2&63,y2>2047&&(y2<55296||y2>57343)&&(h2=y2));break;case 4:v2=R[e2+1],g2=R[e2+2],M2=R[e2+3],(v2&192)===128&&(g2&192)===128&&(M2&192)===128&&(y2=(f2&15)<<18|(v2&63)<<12|(g2&63)<<6|M2&63,y2>65535&&y2<1114112&&(h2=y2))}}h2===null?(h2=65533,u2=1):h2>65535&&(h2-=65536,Q.push(h2>>>10&1023|55296),h2=56320|h2&1023),Q.push(h2),e2+=u2}return A(Q)}var E=4096;function A(R){var T=R.length;if(T<=E)return String.fromCharCode.apply(String,R);for(var Z="",Q=0;Q<T;)Z+=String.fromCharCode.apply(String,R.slice(Q,Q+=E));return Z}function D(R,T,Z){var Q="";Z=Math.min(R.length,Z);for(var e2=T;e2<Z;++e2)Q+=String.fromCharCode(R[e2]&127);return Q}function B(R,T,Z){var Q="";Z=Math.min(R.length,Z);for(var e2=T;e2<Z;++e2)Q+=String.fromCharCode(R[e2]);return Q}function G(R,T,Z){var Q=R.length;(!T||T<0)&&(T=0),(!Z||Z<0||Z>Q)&&(Z=Q);for(var e2="",f2=T;f2<Z;++f2)e2+=d2[R[f2]];return e2}function V(R,T,Z){for(var Q=R.slice(T,Z),e2="",f2=0;f2<Q.length-1;f2+=2)e2+=String.fromCharCode(Q[f2]+Q[f2+1]*256);return e2}i.prototype.slice=function(T,Z){var Q=this.length;T=~~T,Z=Z===void 0?Q:~~Z,T<0?(T+=Q,T<0&&(T=0)):T>Q&&(T=Q),Z<0?(Z+=Q,Z<0&&(Z=0)):Z>Q&&(Z=Q),Z<T&&(Z=T);var e2=this.subarray(T,Z);return Object.setPrototypeOf(e2,i.prototype),e2};function X(R,T,Z){if(R%1!==0||R<0)throw new RangeError("offset is not uint");if(R+T>Z)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(T,Z,Q){T=T>>>0,Z=Z>>>0,Q||X(T,Z,this.length);for(var e2=this[T],f2=1,h2=0;++h2<Z&&(f2*=256);)e2+=this[T+h2]*f2;return e2},i.prototype.readUintBE=i.prototype.readUIntBE=function(T,Z,Q){T=T>>>0,Z=Z>>>0,Q||X(T,Z,this.length);for(var e2=this[T+--Z],f2=1;Z>0&&(f2*=256);)e2+=this[T+--Z]*f2;return e2},i.prototype.readUint8=i.prototype.readUInt8=function(T,Z){return T=T>>>0,Z||X(T,1,this.length),this[T]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(T,Z){return T=T>>>0,Z||X(T,2,this.length),this[T]|this[T+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(T,Z){return T=T>>>0,Z||X(T,2,this.length),this[T]<<8|this[T+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),(this[T]|this[T+1]<<8|this[T+2]<<16)+this[T+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),this[T]*16777216+(this[T+1]<<16|this[T+2]<<8|this[T+3])},i.prototype.readIntLE=function(T,Z,Q){T=T>>>0,Z=Z>>>0,Q||X(T,Z,this.length);for(var e2=this[T],f2=1,h2=0;++h2<Z&&(f2*=256);)e2+=this[T+h2]*f2;return f2*=128,e2>=f2&&(e2-=Math.pow(2,8*Z)),e2},i.prototype.readIntBE=function(T,Z,Q){T=T>>>0,Z=Z>>>0,Q||X(T,Z,this.length);for(var e2=Z,f2=1,h2=this[T+--e2];e2>0&&(f2*=256);)h2+=this[T+--e2]*f2;return f2*=128,h2>=f2&&(h2-=Math.pow(2,8*Z)),h2},i.prototype.readInt8=function(T,Z){return T=T>>>0,Z||X(T,1,this.length),this[T]&128?(255-this[T]+1)*-1:this[T]},i.prototype.readInt16LE=function(T,Z){T=T>>>0,Z||X(T,2,this.length);var Q=this[T]|this[T+1]<<8;return Q&32768?Q|4294901760:Q},i.prototype.readInt16BE=function(T,Z){T=T>>>0,Z||X(T,2,this.length);var Q=this[T+1]|this[T]<<8;return Q&32768?Q|4294901760:Q},i.prototype.readInt32LE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),this[T]|this[T+1]<<8|this[T+2]<<16|this[T+3]<<24},i.prototype.readInt32BE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),this[T]<<24|this[T+1]<<16|this[T+2]<<8|this[T+3]},i.prototype.readFloatLE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),a.read(this,T,!0,23,4)},i.prototype.readFloatBE=function(T,Z){return T=T>>>0,Z||X(T,4,this.length),a.read(this,T,!1,23,4)},i.prototype.readDoubleLE=function(T,Z){return T=T>>>0,Z||X(T,8,this.length),a.read(this,T,!0,52,8)},i.prototype.readDoubleBE=function(T,Z){return T=T>>>0,Z||X(T,8,this.length),a.read(this,T,!1,52,8)};function F(R,T,Z,Q,e2,f2){if(!i.isBuffer(R))throw new TypeError('"buffer" argument must be a Buffer instance');if(T>e2||T<f2)throw new RangeError('"value" argument is out of bounds');if(Z+Q>R.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(T,Z,Q,e2){if(T=+T,Z=Z>>>0,Q=Q>>>0,!e2){var f2=Math.pow(2,8*Q)-1;F(this,T,Z,Q,f2,0)}var h2=1,u2=0;for(this[Z]=T&255;++u2<Q&&(h2*=256);)this[Z+u2]=T/h2&255;return Z+Q},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(T,Z,Q,e2){if(T=+T,Z=Z>>>0,Q=Q>>>0,!e2){var f2=Math.pow(2,8*Q)-1;F(this,T,Z,Q,f2,0)}var h2=Q-1,u2=1;for(this[Z+h2]=T&255;--h2>=0&&(u2*=256);)this[Z+h2]=T/u2&255;return Z+Q},i.prototype.writeUint8=i.prototype.writeUInt8=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,1,255,0),this[Z]=T&255,Z+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,2,65535,0),this[Z]=T&255,this[Z+1]=T>>>8,Z+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,2,65535,0),this[Z]=T>>>8,this[Z+1]=T&255,Z+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,4,4294967295,0),this[Z+3]=T>>>24,this[Z+2]=T>>>16,this[Z+1]=T>>>8,this[Z]=T&255,Z+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,4,4294967295,0),this[Z]=T>>>24,this[Z+1]=T>>>16,this[Z+2]=T>>>8,this[Z+3]=T&255,Z+4},i.prototype.writeIntLE=function(T,Z,Q,e2){if(T=+T,Z=Z>>>0,!e2){var f2=Math.pow(2,8*Q-1);F(this,T,Z,Q,f2-1,-f2)}var h2=0,u2=1,v2=0;for(this[Z]=T&255;++h2<Q&&(u2*=256);)T<0&&v2===0&&this[Z+h2-1]!==0&&(v2=1),this[Z+h2]=(T/u2>>0)-v2&255;return Z+Q},i.prototype.writeIntBE=function(T,Z,Q,e2){if(T=+T,Z=Z>>>0,!e2){var f2=Math.pow(2,8*Q-1);F(this,T,Z,Q,f2-1,-f2)}var h2=Q-1,u2=1,v2=0;for(this[Z+h2]=T&255;--h2>=0&&(u2*=256);)T<0&&v2===0&&this[Z+h2+1]!==0&&(v2=1),this[Z+h2]=(T/u2>>0)-v2&255;return Z+Q},i.prototype.writeInt8=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,1,127,-128),T<0&&(T=255+T+1),this[Z]=T&255,Z+1},i.prototype.writeInt16LE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,2,32767,-32768),this[Z]=T&255,this[Z+1]=T>>>8,Z+2},i.prototype.writeInt16BE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,2,32767,-32768),this[Z]=T>>>8,this[Z+1]=T&255,Z+2},i.prototype.writeInt32LE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,4,2147483647,-2147483648),this[Z]=T&255,this[Z+1]=T>>>8,this[Z+2]=T>>>16,this[Z+3]=T>>>24,Z+4},i.prototype.writeInt32BE=function(T,Z,Q){return T=+T,Z=Z>>>0,Q||F(this,T,Z,4,2147483647,-2147483648),T<0&&(T=4294967295+T+1),this[Z]=T>>>24,this[Z+1]=T>>>16,this[Z+2]=T>>>8,this[Z+3]=T&255,Z+4};function J(R,T,Z,Q,e2,f2){if(Z+Q>R.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("Index out of range")}function W(R,T,Z,Q,e2){return T=+T,Z=Z>>>0,e2||J(R,T,Z,4),a.write(R,T,Z,Q,23,4),Z+4}i.prototype.writeFloatLE=function(T,Z,Q){return W(this,T,Z,!0,Q)},i.prototype.writeFloatBE=function(T,Z,Q){return W(this,T,Z,!1,Q)};function q(R,T,Z,Q,e2){return T=+T,Z=Z>>>0,e2||J(R,T,Z,8),a.write(R,T,Z,Q,52,8),Z+8}i.prototype.writeDoubleLE=function(T,Z,Q){return q(this,T,Z,!0,Q)},i.prototype.writeDoubleBE=function(T,Z,Q){return q(this,T,Z,!1,Q)},i.prototype.copy=function(T,Z,Q,e2){if(!i.isBuffer(T))throw new TypeError("argument should be a Buffer");if(Q||(Q=0),!e2&&e2!==0&&(e2=this.length),Z>=T.length&&(Z=T.length),Z||(Z=0),e2>0&&e2<Q&&(e2=Q),e2===Q||T.length===0||this.length===0)return 0;if(Z<0)throw new RangeError("targetStart out of bounds");if(Q<0||Q>=this.length)throw new RangeError("Index out of range");if(e2<0)throw new RangeError("sourceEnd out of bounds");e2>this.length&&(e2=this.length),T.length-Z<e2-Q&&(e2=T.length-Z+Q);var f2=e2-Q;return this===T&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Z,Q,e2):Uint8Array.prototype.set.call(T,this.subarray(Q,e2),Z),f2},i.prototype.fill=function(T,Z,Q,e2){if(typeof T=="string"){if(typeof Z=="string"?(e2=Z,Z=0,Q=this.length):typeof Q=="string"&&(e2=Q,Q=this.length),e2!==void 0&&typeof e2!="string")throw new TypeError("encoding must be a string");if(typeof e2=="string"&&!i.isEncoding(e2))throw new TypeError("Unknown encoding: "+e2);if(T.length===1){var f2=T.charCodeAt(0);(e2==="utf8"&&f2<128||e2==="latin1")&&(T=f2)}}else typeof T=="number"?T=T&255:typeof T=="boolean"&&(T=Number(T));if(Z<0||this.length<Z||this.length<Q)throw new RangeError("Out of range index");if(Q<=Z)return this;Z=Z>>>0,Q=Q===void 0?this.length:Q>>>0,T||(T=0);var h2;if(typeof T=="number")for(h2=Z;h2<Q;++h2)this[h2]=T;else{var u2=i.isBuffer(T)?T:i.from(T,e2),v2=u2.length;if(v2===0)throw new TypeError('The value "'+T+'" is invalid for argument "value"');for(h2=0;h2<Q-Z;++h2)this[h2+Z]=u2[h2%v2]}return this};var l2=/[^+/0-9A-Za-z-_]/g;function _(R){if(R=R.split("=")[0],R=R.trim().replace(l2,""),R.length<2)return"";for(;R.length%4!==0;)R=R+"=";return R}function a2(R,T){T=T||1/0;for(var Z,Q=R.length,e2=null,f2=[],h2=0;h2<Q;++h2){if(Z=R.charCodeAt(h2),Z>55295&&Z<57344){if(!e2){if(Z>56319){(T-=3)>-1&&f2.push(239,191,189);continue}else if(h2+1===Q){(T-=3)>-1&&f2.push(239,191,189);continue}e2=Z;continue}if(Z<56320){(T-=3)>-1&&f2.push(239,191,189),e2=Z;continue}Z=(e2-55296<<10|Z-56320)+65536}else e2&&(T-=3)>-1&&f2.push(239,191,189);if(e2=null,Z<128){if((T-=1)<0)break;f2.push(Z)}else if(Z<2048){if((T-=2)<0)break;f2.push(Z>>6|192,Z&63|128)}else if(Z<65536){if((T-=3)<0)break;f2.push(Z>>12|224,Z>>6&63|128,Z&63|128)}else if(Z<1114112){if((T-=4)<0)break;f2.push(Z>>18|240,Z>>12&63|128,Z>>6&63|128,Z&63|128)}else throw new Error("Invalid code point")}return f2}function o2(R){for(var T=[],Z=0;Z<R.length;++Z)T.push(R.charCodeAt(Z)&255);return T}function s2(R,T){for(var Z,Q,e2,f2=[],h2=0;h2<R.length&&!((T-=2)<0);++h2)Z=R.charCodeAt(h2),Q=Z>>8,e2=Z%256,f2.push(e2),f2.push(Q);return f2}function $(R){return t.toByteArray(_(R))}function t2(R,T,Z,Q){for(var e2=0;e2<Q&&!(e2+Z>=T.length||e2>=R.length);++e2)T[e2+Z]=R[e2];return e2}function i2(R,T){return R instanceof T||R!=null&&R.constructor!=null&&R.constructor.name!=null&&R.constructor.name===T.name}function K(R){return R!==R}var d2=function(){for(var R="0123456789abcdef",T=new Array(256),Z=0;Z<16;++Z)for(var Q=Z*16,e2=0;e2<16;++e2)T[Q+e2]=R[Z]+R[e2];return T}()}(bf)),bf}var uy;function i02(){return uy||(uy=1,function(e,t){var a=hy(),l=a.Buffer;function c(n,i){for(var o in n)i[o]=n[o]}l.from&&l.alloc&&l.allocUnsafe&&l.allocUnsafeSlow?e.exports=a:(c(a,t),t.Buffer=r);function r(n,i,o){return l(n,i,o)}c(l,r),r.from=function(n,i,o){if(typeof n=="number")throw new TypeError("Argument must not be a number");return l(n,i,o)},r.alloc=function(n,i,o){if(typeof n!="number")throw new TypeError("Argument must be a number");var s=l(n);return i!==void 0?typeof o=="string"?s.fill(i,o):s.fill(i):s.fill(0),s},r.allocUnsafe=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return l(n)},r.allocUnsafeSlow=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return a.SlowBuffer(n)}}(sl,sl.exports)),sl.exports}var vy;function o02(){if(vy)return Mf;vy=1;var e=i02().Buffer,t=e.isEncoding||function(C){switch(C=""+C,C&&C.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 a(C){if(!C)return"utf8";for(var M;;)switch(C){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 C;default:if(M)return;C=(""+C).toLowerCase(),M=!0}}function l(C){var M=a(C);if(typeof M!="string"&&(e.isEncoding===t||!t(C)))throw new Error("Unknown encoding: "+C);return M||C}Mf.StringDecoder=c;function c(C){this.encoding=l(C);var M;switch(this.encoding){case"utf16le":this.text=u,this.end=h,M=4;break;case"utf8":this.fillLast=o,M=4;break;case"base64":this.text=m,this.end=z,M=3;break;default:this.write=g,this.end=p;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(M)}c.prototype.write=function(C){if(C.length===0)return"";var M,b;if(this.lastNeed){if(M=this.fillLast(C),M===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<C.length?M?M+this.text(C,b):this.text(C,b):M||""},c.prototype.end=d,c.prototype.text=s,c.prototype.fillLast=function(C){if(this.lastNeed<=C.length)return C.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);C.copy(this.lastChar,this.lastTotal-this.lastNeed,0,C.length),this.lastNeed-=C.length};function r(C){return C<=127?0:C>>5===6?2:C>>4===14?3:C>>3===30?4:C>>6===2?-1:-2}function n(C,M,b){var k=M.length-1;if(k<b)return 0;var w=r(M[k]);return w>=0?(w>0&&(C.lastNeed=w-1),w):--k<b||w===-2?0:(w=r(M[k]),w>=0?(w>0&&(C.lastNeed=w-2),w):--k<b||w===-2?0:(w=r(M[k]),w>=0?(w>0&&(w===2?w=0:C.lastNeed=w-3),w):0))}function i(C,M,b){if((M[0]&192)!==128)return C.lastNeed=0,"�";if(C.lastNeed>1&&M.length>1){if((M[1]&192)!==128)return C.lastNeed=1,"�";if(C.lastNeed>2&&M.length>2&&(M[2]&192)!==128)return C.lastNeed=2,"�"}}function o(C){var M=this.lastTotal-this.lastNeed,b=i(this,C);if(b!==void 0)return b;if(this.lastNeed<=C.length)return C.copy(this.lastChar,M,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);C.copy(this.lastChar,M,0,C.length),this.lastNeed-=C.length}function s(C,M){var b=n(this,C,M);if(!this.lastNeed)return C.toString("utf8",M);this.lastTotal=b;var k=C.length-(b-this.lastNeed);return C.copy(this.lastChar,0,k),C.toString("utf8",M,k)}function d(C){var M=C&&C.length?this.write(C):"";return this.lastNeed?M+"�":M}function u(C,M){if((C.length-M)%2===0){var b=C.toString("utf16le",M);if(b){var k=b.charCodeAt(b.length-1);if(k>=55296&&k<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=C[C.length-2],this.lastChar[1]=C[C.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=C[C.length-1],C.toString("utf16le",M,C.length-1)}function h(C){var M=C&&C.length?this.write(C):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return M+this.lastChar.toString("utf16le",0,b)}return M}function m(C,M){var b=(C.length-M)%3;return b===0?C.toString("base64",M):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=C[C.length-1]:(this.lastChar[0]=C[C.length-2],this.lastChar[1]=C[C.length-1]),C.toString("base64",M,C.length-b))}function z(C){var M=C&&C.length?this.write(C):"";return this.lastNeed?M+this.lastChar.toString("base64",0,3-this.lastNeed):M}function g(C){return C.toString(this.encoding)}function p(C){return C&&C.length?this.write(C):""}return Mf}var wf,my;function py(){if(my)return wf;my=1,wf=c;var e=Tx,t=I3.Writable,a=o02().StringDecoder,l=hy().Buffer;function c(r,n){var i=this._parser=new e(r,n),o=this._decoder=new a;t.call(this,{decodeStrings:!1}),this.once("finish",function(){i.end(o.end())})}return il(c,t),c.prototype._write=function(r,n,i){r instanceof l&&(r=this._decoder.write(r)),this._parser.write(r),i()},wf}var kf,gy;function s02(){if(gy)return kf;gy=1,kf=t;var e=py();function t(c){e.call(this,new a(this),c)}il(t,e),t.prototype.readable=!0;function a(c){this.scope=c}var l=dl().EVENTS;return Object.keys(l).forEach(function(c){if(l[c]===0)a.prototype["on"+c]=function(){this.scope.emit(c)};else if(l[c]===1)a.prototype["on"+c]=function(r){this.scope.emit(c,r)};else if(l[c]===2)a.prototype["on"+c]=function(r,n){this.scope.emit(c,r,n)};else throw Error("wrong number of arguments!")}),kf}var xf,zy;function f02(){if(zy)return xf;zy=1,xf=e;function e(a){this._cbs=a||{}}var t=dl().EVENTS;return Object.keys(t).forEach(function(a){if(t[a]===0)a="on"+a,e.prototype[a]=function(){this._cbs[a]&&this._cbs[a]()};else if(t[a]===1)a="on"+a,e.prototype[a]=function(l){this._cbs[a]&&this._cbs[a](l)};else if(t[a]===2)a="on"+a,e.prototype[a]=function(l,c){this._cbs[a]&&this._cbs[a](l,c)};else throw Error("wrong number of arguments")}),xf}var yf,Cy;function d02(){if(Cy)return yf;Cy=1,yf=e;function e(a){this._cbs=a||{},this.events=[]}var t=dl().EVENTS;return Object.keys(t).forEach(function(a){if(t[a]===0)a="on"+a,e.prototype[a]=function(){this.events.push([a]),this._cbs[a]&&this._cbs[a]()};else if(t[a]===1)a="on"+a,e.prototype[a]=function(l){this.events.push([a,l]),this._cbs[a]&&this._cbs[a](l)};else if(t[a]===2)a="on"+a,e.prototype[a]=function(l,c){this.events.push([a,l,c]),this._cbs[a]&&this._cbs[a](l,c)};else throw Error("wrong number of arguments")}),e.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},e.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var a=0,l=this.events.length;a<l;a++)if(this._cbs[this.events[a][0]]){var c=this.events[a].length;c===1?this._cbs[this.events[a][0]]():c===2?this._cbs[this.events[a][0]](this.events[a][1]):this._cbs[this.events[a][0]](this.events[a][1],this.events[a][2])}},yf}var My;function dl(){return My||(My=1,function(e){var t=Tx,a=Fx;function l(c,r){return delete e.exports[c],e.exports[c]=r,r}e.exports={Parser:t,Tokenizer:Qk,ElementType:Ie,DomHandler:a,get FeedHandler(){return l("FeedHandler",c02())},get Stream(){return l("Stream",s02())},get WritableStream(){return l("WritableStream",py())},get ProxyHandler(){return l("ProxyHandler",f02())},get DomUtils(){return l("DomUtils",iy())},get CollectingHandler(){return l("CollectingHandler",d02())},DefaultHandler:a,get RssHandler(){return l("RssHandler",this.FeedHandler)},parseDOM:function(c,r){var n=new a(r);return new t(n,r).end(c),n.dom},parseFeed:function(c,r){var n=new e.exports.FeedHandler(r);return new t(n,r).end(c),n.dom},createDomStream:function(c,r,n){var i=new a(c,r,n);return new t(i,r)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}}(Ks)),Ks.exports}var v5=dl();const h02=S3(v5);function u02(e){return e.type==="text"&&/\r?\n/.test(e.data)&&e.data.trim()===""}function v02(e){return e.data}const m02=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"],p02={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"},g02=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Lf={};function by(e){return Lf.hasOwnProperty(e)||(Lf[e]=g02.test(e)),Lf[e]}const z02=function(e,t){return m02.map(l=>l.toLowerCase()).indexOf(e.toLowerCase())>=0&&(t=e),t};function C02(e){return Object.keys(e).filter(t=>by(t)).reduce((t,a)=>{const l=a.toLowerCase(),c=p02[l]||l;return t[c]=z02(c,e[a]),t},{})}function M02(e=""){return e===""?{}:e.split(";").reduce((t,a)=>{let[l,c]=a.split(/^([^:]+):/).filter((r,n)=>n>0).map(r=>r.trim().toLowerCase());return c===void 0||(l=l.replace(/^-ms-/,"ms-").replace(/-(.)/g,(r,n)=>n.toUpperCase()),t[l]=c),t},{})}function wy(e,t){const a=Object.assign({},C02(e),{key:t});return typeof a.style=="string"||a.style instanceof String?a.style=M02(a.style):delete a.style,a}const b02=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function w02(e,t,a){const l=e.name;if(!by(l))return null;const c=wy(e.attribs,t);let r=null;return b02.indexOf(l)===-1&&(r=ky(e.children,a)),y.createElement(l,c,r)}function k02(e,t){let a;e.children.length>0&&(a=e.children[0].data);const l=wy(e.attribs,t);return y.createElement("style",l,a)}function Be(){return null}const x02={[v5.ElementType.Text]:v02,[v5.ElementType.Tag]:w02,[v5.ElementType.Style]:k02,[v5.ElementType.Directive]:Be,[v5.ElementType.Comment]:Be,[v5.ElementType.Script]:Be,[v5.ElementType.CDATA]:Be,[v5.ElementType.Doctype]:Be};function y02(e,t,a){return x02[e.type](e,t,a)}function ky(e,t){return e.filter(a=>!u02(a)).map((a,l)=>{let c;return typeof t=="function"&&(c=t(a,l),c===null||c)?c:y02(a,l,t)})}function hl(e,{decodeEntities:t=!0,transform:a,preprocessNodes:l=c=>c}={}){const c=l(h02.parseDOM(e,{decodeEntities:t}));return ky(c,a)}const L02="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAABkCAYAAAD0SLA/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAL4SURBVHgB7dpdThNRGIfxd04rH35AMSENARQ1JHJHd+IW3IGuxCW4BdyBO8B4oSYSLIqahkRKFRpqO6PThGhMHTpnpsz84fklJNy0Tdqnb09m3sB+2377Ya0S9Z9HoW1aYDUDSiYIbGsQVJ82Nu41gzhYN+hvEysEtENXbbhKOHhGsBBRi08ELrLokQEiosg2nQFaakQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOUQLOVVDoqlrVVtZrtvszLRVXLrv+Os3O4b8MWkTxMGuP7hjN6/Ppg72X/XF24Z8EG2Cpfpi5ljPxNESbj6INsH83A3LE+Hmg2gvGOFmR7QFINxsiLYghOuPaAtEuH6ItmCEmx7RlgDhpkO0JUG44yPaEiHc8RDtBP19N63X64/1GMI9HwszEzQzM23HJ93h/+92moZ8MGknaHW5ntvuAv7gHZ2gsy2x+Vv57jBcdRwPJiwO9+7qkvlgH3c0Ji3kEC3kcDzw1Dr4NvzLgstbfpi0nrIGm9dzXEVE6ymPCcmU9cPxwBM/7cVh0kIOk9ZTvEtweNSxLBbm52xqio8gLd4xT7t7+9b7Od4SzP8ctjv2cH3NkA7HA8hh0nq6v7YynJRZLNTmDOkRrad4p4CrB8XgeAA5TFpP3MYtDpPWE7dxi0O0nriNWxyOB574aS8OkxZyiBZyiDbBYBAayodoE3RPT60onc6xYTSiTbD/uVXItI1f80vrwDAa0SaIt7je7360o+8XM/XiWH+cdIevmXWD7DLjktc54nj2Pn01lAeTFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKIFnKcRdY2QIgLnL0yQEb4wg2C/mOmLUS0Qxc+cY2NjWZY6TciC7YMKKd2ENjL0PUbca+/AMZuoud5wp8SAAAAAElFTkSuQmCC",H02="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAABkCAYAAAD0SLA/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAQESURBVHgB7d1ZbtNQFIDhY6cMJW0JLWUqQynwUB4Q2QlbYAewEpbAFmAH7ADeeEAqRcwd0yEdaOKQ4+pWjmunGRzjg/5PilrFVWxFf6xrX8f1pO39x8/zpVbjdSuQp+JJRYCC8Tx50/TGXlYX7y97GqzfbLwnVhhQC/yxql8Kmq8IFkZUdETgt6T1TAAjWi156gtgS4VoYQ7RwhyihTlEC3OIFuYQLcwhWphDtDCHaGEO0cIcooU5RAtziBbmEC3MIVqYQ7Qwh2hhDtHCHKKFOUQLc4gW5hAtzCFamEO0MIdoYQ7RwhyihTljgq4mLo3LzExFJsrjUvJH+xlvBoHs1vdlfb0mu3v7gmRE28WtG1fl6nR+d0HVD8XlyXL4WN2oyc9fa4LTGB6kyDvYuNn2um+2twGnEW0CHRL8y2AdDbfc3hZ0ItoEMwUI1pkt0LYUBdEm0IOuoigXaFuKggOxBKXSaD7LzWYga+0DrM3atvw5asj5c2NypTIVDkXS1jmqbbGMaHOiwS59+S77B4cnz2m4v1c3ZGunLg/uzRFoj3iXcqJ72GiwUQft53U5ekO0OdEhgXN9dlqePH4Y/kxaju6INic6FHBcrNFoo8vRHdHmRA+6HB3HRn/Gl6M73qmc6FmCaKzRYNXU5ISgN+xpc6KntS5evJC4bLz9/PVr04LesKfNiZ7O0tNauofd3tntPE87Uxn5FWT/E6LNkYarF+Lc4kKYofDxhjlEC3MYHmRMv3GwsrIRzn7pNxH0Mke9LnY85SAM/WNPmyGd1Vpa/h6Gq8Eq/f3T0lfZYMYrM0SbkbX1mnz9sZK6/Ft7WfzcLAbD8CAD8ckCPZW1MH87/H1p+dvJFK37m+j0LfrHnnZI8WB17Prowd0wXH08WrjbMamQNBuG/hDtEJKCXZif65gocJMKhJsdoh1QL8E6hJstoh1AP8E6hJsdou3TIME6hJsNou3DMME6hDs8ou1RPCyd6eo3WMeFOzVZTn19pCPaHsSDunJ5auBgHQ13/s7N8LXS1oNkRJtAv+7tJAV7Z+6aZEVfq1u40W3BMaJNoLfbVKMO1ukWbr3OLT/jmMZNoPcgODg8zCVYx7325tbxhTVEm45oE9T39sOHM+pgnbRw0YnhwRnyCtaJDxVwGtGe4ejoKLzXVh4HRLoOXZeuE+kYHpxBL+Lm/x8UC3tamEO0MIdoYQ7RwhyihTlEC3OIFuYQLcwhWphDtDCHaGEO0cIcooU5RAtziBbmEC3MIVqYQ7Qwh2hhDtHCHKKFOUQLc4gW5hAtzCFamEO0MIdoYY4vLakJYIjv+fJBADOCt37TazxnbwsjaoEfvPCri4vLQalRbYn3RoBiqnmevAv8RlV7/QsnM4qgWy5k/QAAAABJRU5ErkJggg==",r4={bubble:"_bubble_aboyu_1",sms:"_sms_aboyu_10",out:"_out_aboyu_13",whatsapp:"_whatsapp_aboyu_18",in:"_in_aboyu_24",content:"_content_aboyu_35",header:"_header_aboyu_39",mediaContainer:"_mediaContainer_aboyu_49",text:"_text_aboyu_56",footer:"_footer_aboyu_66",time:"_time_aboyu_75",button:"_button_aboyu_83",buttonIcon:"_buttonIcon_aboyu_97",buttonText:"_buttonText_aboyu_104"},P02="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAABkCAYAAAD0SLA/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAM7SURBVHgB7dxdThNRGIfxd04RLUWo/QAkXugld3QnbsEd6EpcglvAHbgDvNMLo02MKPLhUCkk2JlxTknDQOpNmQ7nb55f0nB7cvJQ3mFmTmS53Q9fntay0ZsstW2LrGlAYKLIdpJo4VVv61k/8sG6ZLRLrBAQp26h52pp8ppgIaLpJwKXWfbcABFZZtvOAC1NooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooUcooWcBcNUy0t1a7ebttyoW81V+7udpKmdDs/t6Ci207Nzw3VEO8XmRsc6rbs7/dT/kqw+bIw/B8exff9xaLjCeHDDXQd7Uzdfy+N8TbhCtAV+JAgp2AkfbiNfGy4RbUE7wGAnugGvrWpEW+AvukLVCHhtVSPaglot3O0IeW1VYycgh2ghh2ghh2ghhztiJfkVD2zwe2gr+V2sR80Vw/wQbUn28lut/pmBkzzc/YNjW++2iHdOGA9K4oOduPgzsq97P+1z/5tdXIwM5SLaOfJPaH381B8HTLzlYTyogJ93/cePC+udli0usu23we5VyIc7HJ5dxpvPvJgN40HF/LzrL9QOj2PDbIj2jjjH1s+K8aBi/q2ETrtpLf4dNjOirZCfY32wNb5lb4VoK+Dvkm1udG3xHttdBnZxjvzrO2trrfFPlIdoS+L/5E/uitUf3B+/jEis80G0JXmyuW7xyWD8WkyIL0f+T4i2JKsrjfEH88dlLOQQLeQQLeQQLeQQbUGSpBaqkNdWNaIt8MdrhmoY8NqqRrQFIT8uyKOMV4i2YHh2HmQchxyufA3R3uDfqg0pXB/s3j6HKhdxR2wKH+5gMLw8vn6pXvnhb/6iy3+zcnz9dET7Dz4WggkT4wHkEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kEC3kOMuMg08hxUXO3hsgI33rkmj0gm9biIhTl750va2tflob9TKLdgwIUxxF9i51o57v9S8sTNBtwMdFWQAAAABJRU5ErkJggg==",xy=e=>{if(e==="document")return L02;if(e==="video")return P02;if(e==="image")return H02},yy=({channel:e,direction:t,time:a,text:l="",headerText:c,mediaType:r,mediaSrc:n,footer:i,actionItems:o,contentType:s,onShowAllOptionsClick:d})=>{var g;const u=((g=r==null?void 0:r.toLowerCase)==null?void 0:g.call(r))||"",h=o&&(o==null?void 0:o.length)>0?{width:"11.8125em"}:{minWidth:"6em"},m=y.useMemo(()=>u==="document"?Qs({type:s}):null,[u,s]),z=y.useMemo(()=>(console.log(u,"mediaType"),u==="document"?m?null:xy("document"):["image","video"].includes(u)?n||xy(u):null),[u,n,m]);return v.jsxs("div",{className:`${r4.bubble} ${e?r4[e.toLowerCase()]:""} ${t?r4[t]:""}`,style:{...h},children:[v.jsxs("div",{className:r4.content,children:[z&&v.jsx("div",{className:r4.mediaContainer,children:v.jsx("img",{src:z,alt:"thumbnail",width:"100%",height:"auto"})}),m&&v.jsx(w0,{name:m,size:32}),c&&v.jsx("div",{className:r4.header,children:c}),v.jsx("div",{className:r4.text,children:hl(l)}),i&&v.jsx("div",{className:r4.footer,children:i}),v.jsx("div",{className:r4.time,children:a})]}),o==null?void 0:o.map(({id:p,icon:C,text:M,isShowAllOptions:b},k)=>v.jsxs(y.Fragment,{children:[v.jsx(D6,{type:"horizontal"}),v.jsxs("div",{className:r4.button,onClick:b?d:void 0,children:[C&&v.jsx("span",{className:r4.buttonIcon,children:v.jsx(w0,{name:C})}),v.jsx("span",{className:r4.buttonText,children:M})]})]},p||`${C}_${k}`))]})},j4={drawer:"_drawer_sdjoj_1",header:"_header_sdjoj_7",content:"_content_sdjoj_14",options:"_options_sdjoj_20",option:"_option_sdjoj_20",buttonIcon:"_buttonIcon_sdjoj_42",buttonText:"_buttonText_sdjoj_50"},Ly=y.memo(({detailsHeader:e,detailedFirstSet:t,detailedSecondSet:a,fontSize:l,onClose:c})=>v.jsxs(Vk,{placement:"bottom",open:!0,className:j4.drawer,style:{fontSize:l},onClose:c,children:[v.jsx("div",{className:j4.header,children:e}),v.jsxs("div",{className:j4.content,children:[v.jsx("div",{className:j4.options,children:t==null?void 0:t.map(({id:r,icon:n,text:i})=>v.jsxs("div",{className:j4.option,children:[n&&v.jsx("span",{className:j4.buttonIcon,children:v.jsx(w0,{name:n})}),v.jsx("span",{className:j4.buttonText,children:i})]},r||n))}),v.jsx("div",{className:j4.options,children:a==null?void 0:a.map(({id:r,icon:n,text:i})=>v.jsxs("div",{className:j4.option,children:[n&&v.jsx("span",{className:j4.buttonIcon,children:v.jsx(w0,{name:n})}),v.jsx("span",{className:j4.buttonText,children:i})]},r||n))})]})]})),S02={wrapper:"_wrapper_1jj1y_1"},j02=({defaultCurrent:e=1,total:t,className:a,style:l,onChange:c,defaultPageSize:r=10,hideOnSinglePage:n=!1,localeText:i,onShowSizeChange:o})=>v.jsx(Fo,{className:`${S02.wrapper} ${a}`,style:l,defaultPageSize:r,defaultCurrent:e,total:t,onChange:c,hideOnSinglePage:n,locale:{items_per_page:i},prevIcon:v.jsx(w0,{name:"chevron-left"}),nextIcon:v.jsx(w0,{name:"chevron-right"}),jumpPrevIcon:v.jsx(w0,{name:"more-filled"}),jumpNextIcon:v.jsx(w0,{name:"more-filled"}),onShowSizeChange:o}),E02={wrapper:"_wrapper_1koyt_1"},m5=({children:e,content:t,title:a,className:l="",style:c,trigger:r,arrow:n=!1,placement:i,onOpenChange:o,open:s})=>v.jsx(xi,{className:`${E02.wrapper} ${l}`,overlayStyle:c,title:a,content:t,trigger:r,arrow:n,placement:i,overlayInnerStyle:{borderRadius:"16px",padding:0,overflow:"hidden"},onOpenChange:o,open:s,children:e}),Hy={wrapper:"_wrapper_6wgza_1",progressBar:"_progressBar_6wgza_9",move:"_move_6wgza_1"},N02=({style:e,className:t="",type:a,percent:l,color:c,showInfo:r,height:n})=>a==="infinite"?v.jsx("div",{style:e,className:`${Hy.wrapper} ${t}`,children:v.jsx("span",{className:Hy.progressBar})}):v.jsx(Jo,{className:t,percent:l,strokeColor:c,showInfo:!!r,size:n?{height:n}:void 0}),ul={wrapper:"_wrapper_1ux7u_1",radioBox:"_radioBox_1ux7u_5",active:"_active_1ux7u_24",disabled:"_disabled_1ux7u_33"},O02=({value:e,group:t,onChange:a,style:l,className:c=""})=>v.jsx(k6.Group,{className:`${ul.wrapper} ${c}`,style:l,onChange:a,value:e,children:t.map(r=>v.jsx(k6,{value:r.value,disabled:r.disabled,className:`${ul.radioBox} ${e===r.value?ul.active:""} ${r.disabled?ul.disabled:""}`,children:r.label},r.value))}),D02=({block:e=!1,type:t,height:a,width:l,className:c,style:r})=>t==="button"?v.jsx(w4.Button,{className:c,block:e,active:!0,style:{...r,height:a,width:l}}):t==="avatar"?v.jsx(w4.Avatar,{className:c,active:!0,style:{...r,height:a,width:l}}):v.jsx(w4,{className:c,style:r,active:!0}),Py=({className:e="",style:t,size:a="default",percent:l,type:c,fullscreen:r})=>c==="loadingOutlined"?v.jsx(P6,{className:e,indicator:v.jsx(je,{spin:!0}),size:a,style:t,fullscreen:r}):v.jsx(P6,{className:e,size:a,percent:l,style:t,fullscreen:r}),A02={wrapper:"_wrapper_gtde4_1"},I02=({className:e="",style:t,checked:a,size:l,unCheckedChildren:c,checkedChildren:r,loading:n,onClick:i,onChange:o,disabled:s})=>v.jsx(Yo,{className:`${A02.wrapper} ${e}`,style:t,checked:a,size:l,unCheckedChildren:c,checkedChildren:r,loading:n,onClick:i,onChange:o,disabled:s}),T02={wrapper:"_wrapper_5jxn5_1"},Z02=({isSelected:e=!1,onClick:t,children:a})=>v.jsx(O3,{theme:{components:{Button:{defaultActiveBorderColor:"var(--topPurple-500)",defaultActiveBg:"var(--topPurple-50)",defaultBorderColor:e?"var(--topPurple-600)":"var(--slate-300)",defaultBg:e?"var(--topPurple-50)":"var(--neutral-50)",defaultHoverBorderColor:"var(--slate-300)",defaultHoverColor:"var(--gray-600)",defaultColor:"var(--gray-600)",defaultActiveColor:"var(--gray-600)",contentFontSize:14,fontWeight:600}}},children:v.jsx(l3,{size:"large",onClick:t,className:T02.wrapper,children:a})}),B02={wrapper:"_wrapper_yt1hx_1"},V02=({items:e,defaultActiveKey:t,onChange:a,centered:l,className:c="",style:r})=>v.jsx(oo,{className:`${B02.wrapper} ${c}`,style:r,items:e,defaultActiveKey:t,onChange:a,centered:l}),Ve={wrapper:"_wrapper_1x2zh_1",bordered:"_bordered_1x2zh_17",icon:"_icon_1x2zh_23","custom-default":"_custom-default_1x2zh_29",light:"_light_1x2zh_29",filled:"_filled_1x2zh_30","custom-blue":"_custom-blue_1x2zh_50","custom-green":"_custom-green_1x2zh_69","custom-yellow":"_custom-yellow_1x2zh_89","custom-red":"_custom-red_1x2zh_108","custom-purple":"_custom-purple_1x2zh_127","custom-black":"_custom-black_1x2zh_146","custom-slate":"_custom-slate_1x2zh_165","custom-neutral":"_custom-neutral_1x2zh_184","custom-gradient":"_custom-gradient_1x2zh_203"},Sy=y.forwardRef(({type:e="light",color:t="default",className:a="",style:l,bordered:c,children:r,iconName:n,closable:i,onMouseEnter:o,onMouseLeave:s,onBlur:d,onFocus:u,onClick:h,onClose:m},z)=>v.jsx(qa,{className:`
508
508
  ${Ve.wrapper}
509
509
  ${c?Ve.bordered:""}
510
510
  ${Ve[e]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@top-message/ui-lib",
3
- "version": "2.23.72",
3
+ "version": "2.23.73",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",