kucservice 1.4.1 → 1.4.3-beta

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.
@@ -1,2 +1,2 @@
1
- (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["kucservice"]=t():e["kucservice"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00b4":function(e,t,n){"use strict";n("ac1f");var r=n("23e7"),o=n("da84"),i=n("c65b"),c=n("e330"),a=n("1626"),u=n("861d"),s=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),f=o.Error,l=c(/./.test);r({target:"RegExp",proto:!0,forced:!s},{test:function(e){var t=this.exec;if(!a(t))return l(this,e);var n=i(t,this,e);if(null!==n&&!u(n))throw new f("RegExp exec method returned something other than an Object or null");return!!n}})},"00ee":function(e,t,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},"01b4":function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=n},"0366":function(e,t,n){var r=n("e330"),o=n("59ed"),i=n("40d5"),c=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?c(e,t):function(){return e.apply(t,arguments)}}},"0538":function(e,t,n){"use strict";var r=n("da84"),o=n("e330"),i=n("59ed"),c=n("861d"),a=n("1a2d"),u=n("f36a"),s=n("40d5"),f=r.Function,l=o([].concat),d=o([].join),p={},v=function(e,t,n){if(!a(p,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";p[t]=f("C,a","return new C("+d(r,",")+")")}return p[t](e,n)};e.exports=s?f.bind:function(e){var t=i(this),n=t.prototype,r=u(arguments,1),o=function(){var n=l(r,u(arguments));return this instanceof o?v(t,n.length,n):t.apply(e,n)};return c(n)&&(o.prototype=n),o}},"057f":function(e,t,n){var r=n("c6b6"),o=n("fc6a"),i=n("241c").f,c=n("4dae"),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return i(e)}catch(t){return c(a)}};e.exports.f=function(e){return a&&"Window"==r(e)?u(e):i(o(e))}},"06cf":function(e,t,n){var r=n("83ab"),o=n("c65b"),i=n("d1e7"),c=n("5c6c"),a=n("fc6a"),u=n("a04b"),s=n("1a2d"),f=n("0cfb"),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=u(t),f)try{return l(e,t)}catch(n){}if(s(e,t))return c(!o(i.f,e,t),e[t])}},"07fa":function(e,t,n){var r=n("50c4");e.exports=function(e){return r(e.length)}},"0b42":function(e,t,n){var r=n("da84"),o=n("e8b5"),i=n("68ee"),c=n("861d"),a=n("b622"),u=a("species"),s=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,i(t)&&(t===s||o(t.prototype))?t=void 0:c(t)&&(t=t[u],null===t&&(t=void 0))),void 0===t?s:t}},"0cfb":function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,n){var r=n("e330"),o=n("6eeb"),i=Date.prototype,c="Invalid Date",a="toString",u=r(i[a]),s=r(i.getTime);String(new Date(NaN))!=c&&o(i,a,(function(){var e=s(this);return e===e?u(this):c}))},"0d51":function(e,t,n){var r=n("da84"),o=r.String;e.exports=function(e){try{return o(e)}catch(t){return"Object"}}},"107c":function(e,t,n){var r=n("d039"),o=n("da84"),i=o.RegExp;e.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"10d1":function(e,t,n){"use strict";var r,o=n("da84"),i=n("e330"),c=n("e2cc"),a=n("f183"),u=n("6d61"),s=n("acac"),f=n("861d"),l=n("4fad"),d=n("69f3").enforce,p=n("7f9a"),v=!o.ActiveXObject&&"ActiveXObject"in o,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},b=u("WeakMap",h,s);if(p&&v){r=s.getConstructor(h,"WeakMap",!0),a.enable();var y=b.prototype,g=i(y["delete"]),m=i(y.has),w=i(y.get),x=i(y.set);c(y,{delete:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new r),g(this,e)||t.frozen["delete"](e)}return g(this,e)},has:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new r),m(this,e)||t.frozen.has(e)}return m(this,e)},get:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new r),m(this,e)?w(this,e):t.frozen.get(e)}return w(this,e)},set:function(e,t){if(f(e)&&!l(e)){var n=d(this);n.frozen||(n.frozen=new r),m(this,e)?x(this,e,t):n.frozen.set(e,t)}else x(this,e,t);return this}})}},1276:function(e,t,n){"use strict";var r=n("2ba4"),o=n("c65b"),i=n("e330"),c=n("d784"),a=n("44e7"),u=n("825a"),s=n("1d80"),f=n("4840"),l=n("8aa5"),d=n("50c4"),p=n("577e"),v=n("dc4a"),h=n("4dae"),b=n("14c3"),y=n("9263"),g=n("9f7f"),m=n("d039"),w=g.UNSUPPORTED_Y,x=4294967295,O=Math.min,k=[].push,j=i(/./.exec),S=i(k),E=i("".slice),T=!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));c("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=p(s(this)),c=void 0===n?x:n>>>0;if(0===c)return[];if(void 0===e)return[i];if(!a(e))return o(t,i,e,c);var u,f,l,d=[],v=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),b=0,g=new RegExp(e.source,v+"g");while(u=o(y,g,i)){if(f=g.lastIndex,f>b&&(S(d,E(i,b,u.index)),u.length>1&&u.index<i.length&&r(k,d,h(u,1)),l=u[0].length,b=f,d.length>=c))break;g.lastIndex===u.index&&g.lastIndex++}return b===i.length?!l&&j(g,"")||S(d,""):S(d,E(i,b)),d.length>c?h(d,0,c):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=s(this),c=void 0==t?void 0:v(t,e);return c?o(c,t,r,n):o(i,p(r),t,n)},function(e,r){var o=u(this),c=p(e),a=n(i,o,c,r,i!==t);if(a.done)return a.value;var s=f(o,RegExp),v=o.unicode,h=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(w?"g":"y"),y=new s(w?"^(?:"+o.source+")":o,h),g=void 0===r?x:r>>>0;if(0===g)return[];if(0===c.length)return null===b(y,c)?[c]:[];var m=0,k=0,j=[];while(k<c.length){y.lastIndex=w?0:k;var T,R=b(y,w?E(c,k):c);if(null===R||(T=O(d(y.lastIndex+(w?k:0)),c.length))===m)k=l(c,k,v);else{if(S(j,E(c,m,k)),j.length===g)return j;for(var P=1;P<=R.length-1;P++)if(S(j,R[P]),j.length===g)return j;k=m=T}}return S(j,E(c,m)),j}]}),!T,w)},"131a":function(e,t,n){var r=n("23e7"),o=n("d2bb");r({target:"Object",stat:!0},{setPrototypeOf:o})},"13d5":function(e,t,n){"use strict";var r=n("23e7"),o=n("d58f").left,i=n("a640"),c=n("2d00"),a=n("605d"),u=i("reduce"),s=!a&&c>79&&c<83;r({target:"Array",proto:!0,forced:!u||s},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},"14c3":function(e,t,n){var r=n("da84"),o=n("c65b"),i=n("825a"),c=n("1626"),a=n("c6b6"),u=n("9263"),s=r.TypeError;e.exports=function(e,t){var n=e.exec;if(c(n)){var r=o(n,e,t);return null!==r&&i(r),r}if("RegExp"===a(e))return o(u,e,t);throw s("RegExp#exec called on incompatible receiver")}},"159b":function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("785a"),c=n("17c2"),a=n("9112"),u=function(e){if(e&&e.forEach!==c)try{a(e,"forEach",c)}catch(t){e.forEach=c}};for(var s in o)o[s]&&u(r[s]&&r[s].prototype);u(i)},1626:function(e,t){e.exports=function(e){return"function"==typeof e}},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,o=n("a640"),i=o("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t,n){var r=n("da84"),o=n("3a9b"),i=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i("Incorrect invocation")}},"1a2d":function(e,t,n){var r=n("e330"),o=n("7b0b"),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c7e":function(e,t,n){var r=n("b622"),o=r("iterator"),i=!1;try{var c=0,a={next:function(){return{done:!!c++}},return:function(){i=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(u){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d1c":function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("37e8").f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},"1d80":function(e,t,n){var r=n("da84"),o=r.TypeError;e.exports=function(e){if(void 0==e)throw o("Can't call method on "+e);return e}},"1da1":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("d3b7"),n("e6cf");function r(e,t,n,r,o,i,c){try{var a=e[i](c),u=a.value}catch(s){return void n(s)}a.done?t(u):Promise.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function a(e){r(c,o,i,a,u,"next",e)}function u(e){r(c,o,i,a,u,"throw",e)}a(void 0)}))}}},"1dde":function(e,t,n){var r=n("d039"),o=n("b622"),i=n("2d00"),c=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[],n=t.constructor={};return n[c]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,n){var r=n("da84"),o=n("0366"),i=n("c65b"),c=n("825a"),a=n("0d51"),u=n("e95a"),s=n("07fa"),f=n("3a9b"),l=n("9a1f"),d=n("35a1"),p=n("2a62"),v=r.TypeError,h=function(e,t){this.stopped=e,this.result=t},b=h.prototype;e.exports=function(e,t,n){var r,y,g,m,w,x,O,k=n&&n.that,j=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),T=o(t,k),R=function(e){return r&&p(r,"normal",e),new h(!0,e)},P=function(e){return j?(c(e),E?T(e[0],e[1],R):T(e[0],e[1])):E?T(e,R):T(e)};if(S)r=e;else{if(y=d(e),!y)throw v(a(e)+" is not iterable");if(u(y)){for(g=0,m=s(e);m>g;g++)if(w=P(e[g]),w&&f(b,w))return w;return new h(!1)}r=l(e,y)}x=r.next;while(!(O=i(x,r)).done){try{w=P(O.value)}catch(C){p(r,"throw",C)}if("object"==typeof w&&w&&f(b,w))return w}return new h(!1)}},"23cb":function(e,t,n){var r=n("5926"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"23e7":function(e,t,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),c=n("6eeb"),a=n("ce4e"),u=n("e893"),s=n("94ca");e.exports=function(e,t){var n,f,l,d,p,v,h=e.target,b=e.global,y=e.stat;if(f=b?r:y?r[h]||a(h,{}):(r[h]||{}).prototype,f)for(l in t){if(p=t[l],e.noTargetGet?(v=o(f,l),d=v&&v.value):d=f[l],n=s(b?l:h+(y?".":"#")+l,e.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;u(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),c(f,l,p,e)}}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"25f0":function(e,t,n){"use strict";var r=n("e330"),o=n("5e77").PROPER,i=n("6eeb"),c=n("825a"),a=n("3a9b"),u=n("577e"),s=n("d039"),f=n("ad6d"),l="toString",d=RegExp.prototype,p=d[l],v=r(f),h=s((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),b=o&&p.name!=l;(h||b)&&i(RegExp.prototype,l,(function(){var e=c(this),t=u(e.source),n=e.flags,r=u(void 0===n&&a(d,e)&&!("flags"in d)?v(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),o=n("9bf2"),i=n("b622"),c=n("83ab"),a=i("species");e.exports=function(e){var t=r(e),n=o.f;c&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},"277d":function(e,t,n){var r=n("23e7"),o=n("e8b5");r({target:"Array",stat:!0},{isArray:o})},"2a62":function(e,t,n){var r=n("c65b"),o=n("825a"),i=n("dc4a");e.exports=function(e,t,n){var c,a;o(e);try{if(c=i(e,"return"),!c){if("throw"===t)throw n;return n}c=r(c,e)}catch(u){a=!0,c=u}if("throw"===t)throw n;if(a)throw c;return o(c),n}},"2ba4":function(e,t,n){var r=n("40d5"),o=Function.prototype,i=o.apply,c=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?c.bind(i):function(){return c.apply(i,arguments)})},"2cf4":function(e,t,n){var r,o,i,c,a=n("da84"),u=n("2ba4"),s=n("0366"),f=n("1626"),l=n("1a2d"),d=n("d039"),p=n("1be4"),v=n("f36a"),h=n("cc12"),b=n("d6d6"),y=n("1cdc"),g=n("605d"),m=a.setImmediate,w=a.clearImmediate,x=a.process,O=a.Dispatch,k=a.Function,j=a.MessageChannel,S=a.String,E=0,T={},R="onreadystatechange";try{r=a.location}catch(_){}var P=function(e){if(l(T,e)){var t=T[e];delete T[e],t()}},C=function(e){return function(){P(e)}},I=function(e){P(e.data)},A=function(e){a.postMessage(S(e),r.protocol+"//"+r.host)};m&&w||(m=function(e){b(arguments.length,1);var t=f(e)?e:k(e),n=v(arguments,1);return T[++E]=function(){u(t,void 0,n)},o(E),E},w=function(e){delete T[e]},g?o=function(e){x.nextTick(C(e))}:O&&O.now?o=function(e){O.now(C(e))}:j&&!y?(i=new j,c=i.port2,i.port1.onmessage=I,o=s(c.postMessage,c)):a.addEventListener&&f(a.postMessage)&&!a.importScripts&&r&&"file:"!==r.protocol&&!d(A)?(o=A,a.addEventListener("message",I,!1)):o=R in h("script")?function(e){p.appendChild(h("script"))[R]=function(){p.removeChild(this),P(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:m,clear:w}},"2d00":function(e,t,n){var r,o,i=n("da84"),c=n("342f"),a=i.process,u=i.Deno,s=a&&a.versions||u&&u.version,f=s&&s.v8;f&&(r=f.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},3410:function(e,t,n){var r=n("23e7"),o=n("d039"),i=n("7b0b"),c=n("e163"),a=n("e177"),u=o((function(){c(1)}));r({target:"Object",stat:!0,forced:u,sham:!a},{getPrototypeOf:function(e){return c(i(e))}})},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),o=n("dc4a"),i=n("3f8c"),c=n("b622"),a=c("iterator");e.exports=function(e){if(void 0!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),o=n("aed9"),i=n("9bf2"),c=n("825a"),a=n("fc6a"),u=n("df75");t.f=r&&!o?Object.defineProperties:function(e,t){c(e);var n,r=a(t),o=u(t),s=o.length,f=0;while(s>f)i.f(e,n=o[f++],r[n]);return e}},"3a9b":function(e,t,n){var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){var r=n("da84"),o=n("1626"),i=r.String,c=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw c("Can't set "+i(e)+" as a prototype")}},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,o=n("577e"),i=n("69f3"),c=n("7dd0"),a="String Iterator",u=i.set,s=i.getterFor(a);c(String,"String",(function(e){u(this,{type:a,string:o(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"408a":function(e,t,n){var r=n("e330");e.exports=r(1..valueOf)},"40d5":function(e,t,n){var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4160:function(e,t,n){"use strict";var r=n("23e7"),o=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},4269:function(e,t,n){"use strict";n.r(t),n.d(t,"useSocket",(function(){return T}));n("d9e2"),n("d401");function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n("b8bf"),n("7a82"),n("131a");function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}n("4ae1"),n("d3b7"),n("f8c9"),n("3410");function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var u=n("53ca");function s(e,t){if(t&&("object"===Object(u["a"])(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r(e)}function f(e){var t=a();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}n("e260"),n("4ec9"),n("3ca3"),n("ddb0"),n("c975"),n("0d03"),n("25f0");function l(e){return-1!==Function.toString.call(e).indexOf("[native code]")}n("c0b6");function d(e,t,n){return d=a()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=Function.bind.apply(e,r),c=new i;return n&&o(c,n.prototype),c},d.apply(null,arguments)}function p(e){var t="function"===typeof Map?new Map:void 0;return p=function(e){if(null===e||!l(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return d(e,arguments,c(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)},p(e)}var v=n("d4ec"),h=n("bee2"),b=n("ade3"),y=(n("4160"),n("159b"),n("b64b"),n("13d5"),n("99af"),n("cca6"),n("4795"),n("caad"),n("e9c4"),["open","close","message","error","reconnect"]),g=3e4,m=4e4,w=10,x={Type:1,Parameters:["alive"]},O=1e3;function k(e){if(!e&&"object"!==Object(u["a"])(e))throw new Error("error arguments","deepClone");var t=e.constructor===Array?[]:{};return Object.keys(e).forEach((function(n){e[n]&&"object"===Object(u["a"])(e[n])?t[n]=k(e[n]):t[n]=e[n]})),t}var j=function(){function e(){Object(v["a"])(this,e),Object(b["a"])(this,"deps",new Map)}return Object(h["a"])(e,[{key:"depend",value:function(e,t){this.deps.set(e,t)}},{key:"notify",value:function(e,t){this.deps.has(e)&&this.deps.get(e)(t)}}]),e}(),S=function(e){i(n,e);var t=f(n);function n(e,o){var i,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3?arguments[3]:void 0;Object(v["a"])(this,n);var s="",f=e.url,l=e.protocols,d=e.query,p=void 0===d?{}:d,h=e.greet,y=void 0===h?null:h,m=e.customBase,O=void 0===m?null:m,k=e.checkData,j=Object.keys(p).reduce((function(e,t){return"object"!==Object(u["a"])(p[t])&&"function"!==typeof p[t]?e+(e.length>0?"&".concat(t,"=").concat(p[t]):"".concat(t,"=").concat(p[t])):e}),"");return O&&(s=O),i=t.call(this,"".concat(s).concat(f).concat(j?"?"+j:""),l),Object(b["a"])(r(i),"heartCheckData",x),Object(b["a"])(r(i),"heartCheckTimeout",g),Object(b["a"])(r(i),"heartCheckInterval",null),Object(b["a"])(r(i),"heartCheckCount",w),Object(b["a"])(r(i),"firstConnect",!1),i.self=a,i._currentOptions=e,i._dep=o,i.heartCheckData=k||x,i._reconnectCount=c,y&&Object.assign(r(i),{heartCheckData:y}),i.initSocket(),i}return Object(h["a"])(n,[{key:"initSocket",value:function(){this.onopen=function(e){this._dep.notify("open",e),this.firstConnect=!0,this.heartCheckStart()},this.onclose=function(e){var t=this;if(this._dep.notify("close",e),e.code!==O){var r;this._reconnectCount++;var o=k(this._currentOptions);this.firstConnect&&(o.query.type="reconnect"),(null===(r=this.self)||void 0===r?void 0:r.socketTimer)&&clearTimeout(this.self.socketTimer),this.self.socketTimer=setTimeout((function(){var e=new n(o,t._dep,t._reconnectCount,t.self);t._dep.notify("reconnect",e)}),m)}},this.onerror=function(e){this._dep.notify("error",e)},this.onmessage=function(e){var t=this;if(e.data instanceof Blob){var n=new FileReader;n.readAsArrayBuffer(e.data),n.onload=function(e){var n;e.target.readyState===FileReader.DONE&&t._dep.notify("message",null===(n=e.target)||void 0===n?void 0:n.result)}}else try{this._dep.notify("message",e.data)}catch(r){console.log(r)}}}},{key:"subscribe",value:function(e,t){if("function"!==typeof t)throw new Error("The second param is must be a function");if(!y.includes(e))throw new Error("The first param is not supported");this._dep.depend(e,t)}},{key:"sendMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transformJSON,r=void 0===n||n,o=e;r&&(o=JSON.stringify(e)),this.send(o)}},{key:"closeSocket",value:function(e,t){this.clearHeartCheck(),this.close(e,t)}},{key:"heartCheckStart",value:function(){var e=this;this.heartCheckInterval=setInterval((function(){if(e.readyState===e.OPEN){var t="object"===Object(u["a"])(e.heartCheckData);e.sendMessage(e.heartCheckData,{transformJSON:t})}else e.clearHeartCheck()}),this.heartCheckTimeout)}},{key:"clearHeartCheck",value:function(){clearInterval(this.heartCheckInterval)}},{key:"resetHeartCheck",value:function(){clearInterval(this.heartCheckInterval),this.heartCheckStart()}}]),n}(p(WebSocket)),E={url:"",protocols:"",customBase:null,query:{}},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;if(!window.WebSocket)return console.error("您的浏览器不支持WebSocket, 请更换浏览器!");var n=new j,r=0;return new S(e,n,r,t)}},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("da84"),o=n("e330"),i=n("d039"),c=n("c6b6"),a=r.Object,u=o("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==c(e)?u(e,""):a(e)}:a},"44d2":function(e,t,n){var r=n("b622"),o=n("7c73"),i=n("9bf2"),c=r("unscopables"),a=Array.prototype;void 0==a[c]&&i.f(a,c,{configurable:!0,value:o(null)}),e.exports=function(e){a[c][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),i=n("b622"),c=i("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[c])?!!t:"RegExp"==o(e))}},4795:function(e,t,n){var r=n("23e7"),o=n("da84"),i=n("2ba4"),c=n("1626"),a=n("342f"),u=n("f36a"),s=n("d6d6"),f=/MSIE .\./.test(a),l=o.Function,d=function(e){return function(t,n){var r=s(arguments.length,1)>2,o=c(t)?t:l(t),a=r?u(arguments,2):void 0;return e(r?function(){i(o,this,a)}:o,n)}};r({global:!0,bind:!0,forced:f},{setTimeout:d(o.setTimeout),setInterval:d(o.setInterval)})},4840:function(e,t,n){var r=n("825a"),o=n("5087"),i=n("b622"),c=i("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[c])?t:o(n)}},"485a":function(e,t,n){var r=n("da84"),o=n("c65b"),i=n("1626"),c=n("861d"),a=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&i(n=e.toString)&&!c(r=o(n,e)))return r;if(i(n=e.valueOf)&&!c(r=o(n,e)))return r;if("string"!==t&&i(n=e.toString)&&!c(r=o(n,e)))return r;throw a("Can't convert object to primitive value")}},4930:function(e,t,n){var r=n("2d00"),o=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4ae1":function(e,t,n){var r=n("23e7"),o=n("d066"),i=n("2ba4"),c=n("0538"),a=n("5087"),u=n("825a"),s=n("861d"),f=n("7c73"),l=n("d039"),d=o("Reflect","construct"),p=Object.prototype,v=[].push,h=l((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),b=!l((function(){d((function(){}))})),y=h||b;r({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){a(e),u(t);var n=arguments.length<3?e:a(arguments[2]);if(b&&!h)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(v,r,t),new(i(c,e,r))}var o=n.prototype,l=f(s(o)?o:p),y=i(e,l,t);return s(y)?y:l}})},"4d64":function(e,t,n){var r=n("fc6a"),o=n("23cb"),i=n("07fa"),c=function(e){return function(t,n,c){var a,u=r(t),s=i(u),f=o(c,s);if(e&&n!=n){while(s>f)if(a=u[f++],a!=a)return!0}else for(;s>f;f++)if((e||f in u)&&u[f]===n)return e||f||0;return!e&&-1}};e.exports={includes:c(!0),indexOf:c(!1)}},"4dae":function(e,t,n){var r=n("da84"),o=n("23cb"),i=n("07fa"),c=n("8418"),a=r.Array,u=Math.max;e.exports=function(e,t,n){for(var r=i(e),s=o(t,r),f=o(void 0===n?r:n,r),l=a(u(f-s,0)),d=0;s<f;s++,d++)c(l,d,e[s]);return l.length=d,l}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").filter,i=n("1dde"),c=i("filter");r({target:"Array",proto:!0,forced:!c},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("da84"),o=n("0366"),i=n("c65b"),c=n("7b0b"),a=n("9bdd"),u=n("e95a"),s=n("68ee"),f=n("07fa"),l=n("8418"),d=n("9a1f"),p=n("35a1"),v=r.Array;e.exports=function(e){var t=c(e),n=s(this),r=arguments.length,h=r>1?arguments[1]:void 0,b=void 0!==h;b&&(h=o(h,r>2?arguments[2]:void 0));var y,g,m,w,x,O,k=p(t),j=0;if(!k||this==v&&u(k))for(y=f(t),g=n?new this(y):v(y);y>j;j++)O=b?h(t[j],j):t[j],l(g,j,O);else for(w=d(t,k),x=w.next,g=n?new this:[];!(m=i(x,w)).done;j++)O=b?a(w,h,[m.value,j],!0):m.value,l(g,j,O);return g.length=j,g}},"4ec9":function(e,t,n){"use strict";var r=n("6d61"),o=n("6566");r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},"4fad":function(e,t,n){var r=n("d039"),o=n("861d"),i=n("c6b6"),c=n("d86b"),a=Object.isExtensible,u=r((function(){a(1)}));e.exports=u||c?function(e){return!!o(e)&&((!c||"ArrayBuffer"!=i(e))&&(!a||a(e)))}:a},5087:function(e,t,n){var r=n("da84"),o=n("68ee"),i=n("0d51"),c=r.TypeError;e.exports=function(e){if(o(e))return e;throw c(i(e)+" is not a constructor")}},"50c4":function(e,t,n){var r=n("5926"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},5180:function(e,t,n){var r={"./http.js":"8177","./websocket.js":"4269"};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id="5180"},"53ca":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0");function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}},5692:function(e,t,n){var r=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(e,t,n){var r=n("d066"),o=n("e330"),i=n("241c"),c=n("7418"),a=n("825a"),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=c.f;return n?u(t,n(e)):t}},"577e":function(e,t,n){var r=n("da84"),o=n("f5df"),i=r.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("e330"),o=n("1d80"),i=n("577e"),c=n("5899"),a=r("".replace),u="["+c+"]",s=RegExp("^"+u+u+"*"),f=RegExp(u+u+"*$"),l=function(e){return function(t){var n=i(o(t));return 1&e&&(n=a(n,s,"")),2&e&&(n=a(n,f,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},5926:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?r:n)(t)}},"59ed":function(e,t,n){var r=n("da84"),o=n("1626"),i=n("0d51"),c=r.TypeError;e.exports=function(e){if(o(e))return e;throw c(i(e)+" is not a function")}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e77":function(e,t,n){var r=n("83ab"),o=n("1a2d"),i=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,s=a&&(!r||r&&c(i,"name").configurable);e.exports={EXISTS:a,PROPER:u,CONFIGURABLE:s}},"605d":function(e,t,n){var r=n("c6b6"),o=n("da84");e.exports="process"==r(o.process)},6069:function(e,t){e.exports="object"==typeof window},"60da":function(e,t,n){"use strict";var r=n("83ab"),o=n("e330"),i=n("c65b"),c=n("d039"),a=n("df75"),u=n("7418"),s=n("d1e7"),f=n("7b0b"),l=n("44ad"),d=Object.assign,p=Object.defineProperty,v=o([].concat);e.exports=!d||c((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||a(d({},t)).join("")!=o}))?function(e,t){var n=f(e),o=arguments.length,c=1,d=u.f,p=s.f;while(o>c){var h,b=l(arguments[c++]),y=d?v(a(b),d(b)):a(b),g=y.length,m=0;while(g>m)h=y[m++],r&&!i(p,b,h)||(n[h]=b[h])}return n}:d},6547:function(e,t,n){var r=n("e330"),o=n("5926"),i=n("577e"),c=n("1d80"),a=r("".charAt),u=r("".charCodeAt),s=r("".slice),f=function(e){return function(t,n){var r,f,l=i(c(t)),d=o(n),p=l.length;return d<0||d>=p?e?"":void 0:(r=u(l,d),r<55296||r>56319||d+1===p||(f=u(l,d+1))<56320||f>57343?e?a(l,d):r:e?s(l,d,d+2):f-56320+(r-55296<<10)+65536)}};e.exports={codeAt:f(!1),charAt:f(!0)}},6566:function(e,t,n){"use strict";var r=n("9bf2").f,o=n("7c73"),i=n("e2cc"),c=n("0366"),a=n("19aa"),u=n("2266"),s=n("7dd0"),f=n("2626"),l=n("83ab"),d=n("f183").fastKey,p=n("69f3"),v=p.set,h=p.getterFor;e.exports={getConstructor:function(e,t,n,s){var f=e((function(e,r){a(e,p),v(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),l||(e.size=0),void 0!=r&&u(r,e[s],{that:e,AS_ENTRIES:n})})),p=f.prototype,b=h(t),y=function(e,t,n){var r,o,i=b(e),c=g(e,t);return c?c.value=n:(i.last=c={index:o=d(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=c),r&&(r.next=c),l?i.size++:e.size++,"F"!==o&&(i.index[o]=c)),e},g=function(e,t){var n,r=b(e),o=d(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(p,{clear:function(){var e=this,t=b(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:e.size=0},delete:function(e){var t=this,n=b(t),r=g(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),l?n.size--:t.size--}return!!r},forEach:function(e){var t,n=b(this),r=c(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!g(this,e)}}),i(p,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),l&&r(p,"size",{get:function(){return b(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",o=h(t),i=h(r);s(e,t,(function(e,t){v(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=i(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(t)}}},"65f0":function(e,t,n){var r=n("0b42");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},"68ee":function(e,t,n){var r=n("e330"),o=n("d039"),i=n("1626"),c=n("f5df"),a=n("d066"),u=n("8925"),s=function(){},f=[],l=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),v=!d.exec(s),h=function(e){if(!i(e))return!1;try{return l(s,f,e),!0}catch(t){return!1}},b=function(e){if(!i(e))return!1;switch(c(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!p(d,u(e))}catch(t){return!0}};b.sham=!0,e.exports=!l||o((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?b:h},"69f3":function(e,t,n){var r,o,i,c=n("7f9a"),a=n("da84"),u=n("e330"),s=n("861d"),f=n("9112"),l=n("1a2d"),d=n("c6cd"),p=n("f772"),v=n("d012"),h="Object already initialized",b=a.TypeError,y=a.WeakMap,g=function(e){return i(e)?o(e):r(e,{})},m=function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw b("Incompatible receiver, "+e+" required");return n}};if(c||d.state){var w=d.state||(d.state=new y),x=u(w.get),O=u(w.has),k=u(w.set);r=function(e,t){if(O(w,e))throw new b(h);return t.facade=e,k(w,e,t),t},o=function(e){return x(w,e)||{}},i=function(e){return O(w,e)}}else{var j=p("state");v[j]=!0,r=function(e,t){if(l(e,j))throw new b(h);return t.facade=e,f(e,j,t),t},o=function(e){return l(e,j)?e[j]:{}},i=function(e){return l(e,j)}}e.exports={set:r,get:o,has:i,enforce:g,getterFor:m}},"6d61":function(e,t,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("e330"),c=n("94ca"),a=n("6eeb"),u=n("f183"),s=n("2266"),f=n("19aa"),l=n("1626"),d=n("861d"),p=n("d039"),v=n("1c7e"),h=n("d44e"),b=n("7156");e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),m=y?"set":"add",w=o[e],x=w&&w.prototype,O=w,k={},j=function(e){var t=i(x[e]);a(x,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!d(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return g&&!d(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!d(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},S=c(e,!l(w)||!(g||x.forEach&&!p((function(){(new w).entries().next()}))));if(S)O=n.getConstructor(t,e,y,m),u.enable();else if(c(e,!0)){var E=new O,T=E[m](g?{}:-0,1)!=E,R=p((function(){E.has(1)})),P=v((function(e){new w(e)})),C=!g&&p((function(){var e=new w,t=5;while(t--)e[m](t,t);return!e.has(-0)}));P||(O=t((function(e,t){f(e,x);var n=b(new w,e,O);return void 0!=t&&s(t,n[m],{that:n,AS_ENTRIES:y}),n})),O.prototype=x,x.constructor=O),(R||C)&&(j("delete"),j("has"),y&&j("get")),(C||T)&&j(m),g&&x.clear&&delete x.clear}return k[e]=O,r({global:!0,forced:O!=w},k),h(O,e),g||n.setStrong(O,e,y),O}},"6eeb":function(e,t,n){var r=n("da84"),o=n("1626"),i=n("1a2d"),c=n("9112"),a=n("ce4e"),u=n("8925"),s=n("69f3"),f=n("5e77").CONFIGURABLE,l=s.get,d=s.enforce,p=String(String).split("String");(e.exports=function(e,t,n,u){var s,l=!!u&&!!u.unsafe,v=!!u&&!!u.enumerable,h=!!u&&!!u.noTargetGet,b=u&&void 0!==u.name?u.name:t;o(n)&&("Symbol("===String(b).slice(0,7)&&(b="["+String(b).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||f&&n.name!==b)&&c(n,"name",b),s=d(n),s.source||(s.source=p.join("string"==typeof b?b:""))),e!==r?(l?!h&&e[t]&&(v=!0):delete e[t],v?e[t]=n:c(e,t,n)):v?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||u(this)}))},7156:function(e,t,n){var r=n("1626"),o=n("861d"),i=n("d2bb");e.exports=function(e,t,n){var c,a;return i&&r(c=t.constructor)&&c!==n&&o(a=c.prototype)&&a!==n.prototype&&i(e,a),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),o=n("1a2d"),i=n("e538"),c=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||c(t,e,{value:i.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,n){var r=n("cc12"),o=r("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},"7a82":function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("9bf2").f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},"7b0b":function(e,t,n){var r=n("da84"),o=n("1d80"),i=r.Object;e.exports=function(e){return i(o(e))}},"7c73":function(e,t,n){var r,o=n("825a"),i=n("37e8"),c=n("7839"),a=n("d012"),u=n("1be4"),s=n("cc12"),f=n("f772"),l=">",d="<",p="prototype",v="script",h=f("IE_PROTO"),b=function(){},y=function(e){return d+v+l+e+d+"/"+v+l},g=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){var e,t=s("iframe"),n="java"+v+":";return t.style.display="none",u.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(y("document.F=Object")),e.close(),e.F},w=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}w="undefined"!=typeof document?document.domain&&r?g(r):m():g(r);var e=c.length;while(e--)delete w[p][c[e]];return w()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(b[p]=o(e),n=new b,b[p]=null,n[h]=e):n=w(),void 0===t?n:i.f(n,t)}},"7dd0":function(e,t,n){"use strict";var r=n("23e7"),o=n("c65b"),i=n("c430"),c=n("5e77"),a=n("1626"),u=n("9ed3"),s=n("e163"),f=n("d2bb"),l=n("d44e"),d=n("9112"),p=n("6eeb"),v=n("b622"),h=n("3f8c"),b=n("ae93"),y=c.PROPER,g=c.CONFIGURABLE,m=b.IteratorPrototype,w=b.BUGGY_SAFARI_ITERATORS,x=v("iterator"),O="keys",k="values",j="entries",S=function(){return this};e.exports=function(e,t,n,c,v,b,E){u(n,t,c);var T,R,P,C=function(e){if(e===v&&M)return M;if(!w&&e in _)return _[e];switch(e){case O:return function(){return new n(this,e)};case k:return function(){return new n(this,e)};case j:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",A=!1,_=e.prototype,L=_[x]||_["@@iterator"]||v&&_[v],M=!w&&L||C(v),N="Array"==t&&_.entries||L;if(N&&(T=s(N.call(new e)),T!==Object.prototype&&T.next&&(i||s(T)===m||(f?f(T,m):a(T[x])||p(T,x,S)),l(T,I,!0,!0),i&&(h[I]=S))),y&&v==k&&L&&L.name!==k&&(!i&&g?d(_,"name",k):(A=!0,M=function(){return o(L,this)})),v)if(R={values:C(k),keys:b?M:C(O),entries:C(j)},E)for(P in R)(w||A||!(P in _))&&p(_,P,R[P]);else r({target:t,proto:!0,forced:w||A},R);return i&&!E||_[x]===M||p(_,x,M,{name:v}),h[t]=M,R}},"7f9a":function(e,t,n){var r=n("da84"),o=n("1626"),i=n("8925"),c=r.WeakMap;e.exports=o(c)&&/native code/.test(i(c))},8177:function(e,t,n){"use strict";n.r(t),n.d(t,"useHttp",(function(){return g}));var r=n("1da1");n("277d");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){if(Array.isArray(e))return o(e)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),n("a630");function c(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n("fb6a"),n("b0c0"),n("ac1f"),n("00b4");function a(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}n("d9e2"),n("d401");function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e){return i(e)||c(e)||a(e)||u()}n("b64b"),n("4de4"),n("e439"),n("4160"),n("159b"),n("dbb4"),n("1d1c"),n("7a82");var f=n("ade3");function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){Object(f["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n("d4ec"),v=n("bee2"),h=n("d5e4"),b=(n("96cf"),n("c975"),n("99af"),n("e6cf"),n("10d1"),new WeakMap),y=function(){function e(t,n,r,o){var i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0;Object(p["a"])(this,e),Object(h["a"])(this,b,{writable:!0,value:null}),this.url=t,this.method=n,this.data=r,this.headers=headers,this.success=c,this.fail=a,this.abort=new AbortController;var u=[t,d({method:n,body:r,signal:this.abort.signal},o)];if("GET"==n&&r&&Object.keys(r).length>0){var f="?";for(var l in t.indexOf("?")>-1&&(f="&"),r)f+="".concat(l,"=").concat(r[l],"&");t+=f,u=[t,d({method:n,signal:this.abort.signal},o)]}i?fetch.apply(void 0,s(u)).then((function(e){200==e.status?c&&c(e.json()):console.log("请求出错")}))["catch"]((function(e){a&&a()})):this.initAsync(u,c,a)}return Object(v["a"])(e,[{key:"initAsync",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){var o,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch.apply(void 0,s(t));case 2:if(o=e.sent,!(o.status>=200&&o.status<300)){e.next=10;break}return e.next=6,o.text();case 6:i=e.sent,n&&n(i),e.next=12;break;case 10:throw r&&r(o),new Error(o.statusText);case 12:case"end":return e.stop()}}),e)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"getAbort",value:function(){return this.abort}}]),e}(),g=function(e,t,n,r){var o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;return window.fetch?new y(e,t,n,r,!0,o,i):console.error("您的浏览器不支持fetch, 请更换浏览器!")}},"825a":function(e,t,n){var r=n("da84"),o=n("861d"),i=r.String,c=r.TypeError;e.exports=function(e){if(o(e))return e;throw c(i(e)+" is not an object")}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("a04b"),o=n("9bf2"),i=n("5c6c");e.exports=function(e,t,n){var c=r(t);c in e?o.f(e,c,i(0,n)):e[c]=n}},"861d":function(e,t,n){var r=n("1626");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},8875:function(e,t,n){var r,o,i;(function(n,c){o=[],r=c,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,a=i.exec(p.stack)||c.exec(p.stack),u=a&&a[1]||!1,s=a&&a[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===f&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===u)return l[d];if(u===f&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return e}))},8925:function(e,t,n){var r=n("e330"),o=n("1626"),i=n("c6cd"),c=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return c(e)}),e.exports=i.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"90e3":function(e,t,n){var r=n("e330"),o=0,i=Math.random(),c=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+c(++o+i,36)}},9112:function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("c65b"),o=n("e330"),i=n("577e"),c=n("ad6d"),a=n("9f7f"),u=n("5692"),s=n("7c73"),f=n("69f3").get,l=n("fce3"),d=n("107c"),p=u("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,h=v,b=o("".charAt),y=o("".indexOf),g=o("".replace),m=o("".slice),w=function(){var e=/a/,t=/b*/g;return r(v,e,"a"),r(v,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),x=a.BROKEN_CARET,O=void 0!==/()??/.exec("")[1],k=w||O||x||l||d;k&&(h=function(e){var t,n,o,a,u,l,d,k=this,j=f(k),S=i(e),E=j.raw;if(E)return E.lastIndex=k.lastIndex,t=r(h,E,S),k.lastIndex=E.lastIndex,t;var T=j.groups,R=x&&k.sticky,P=r(c,k),C=k.source,I=0,A=S;if(R&&(P=g(P,"y",""),-1===y(P,"g")&&(P+="g"),A=m(S,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==b(S,k.lastIndex-1))&&(C="(?: "+C+")",A=" "+A,I++),n=new RegExp("^(?:"+C+")",P)),O&&(n=new RegExp("^"+C+"$(?!\\s)",P)),w&&(o=k.lastIndex),a=r(v,R?n:k,A),R?a?(a.input=m(a.input,I),a[0]=m(a[0],I),a.index=k.lastIndex,k.lastIndex+=a[0].length):k.lastIndex=0:w&&a&&(k.lastIndex=k.global?a.index+a[0].length:o),O&&a&&a.length>1&&r(p,a[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(a[u]=void 0)})),a&&T)for(a.groups=l=s(null),u=0;u<T.length;u++)d=T[u],l[d[0]]=a[d[1]];return a}),e.exports=h},"94ca":function(e,t,n){var r=n("d039"),o=n("1626"),i=/#|\.prototype\./,c=function(e,t){var n=u[a(e)];return n==f||n!=s&&(o(t)?r(t):!!t)},a=c.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";e.exports=c},"96cf":function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(A){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),c=new P(r||[]);return i._invoke=S(e,n,c),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=s;var l="suspendedStart",d="suspendedYield",p="executing",v="completed",h={};function b(){}function y(){}function g(){}var m={};u(m,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(C([])));x&&x!==n&&r.call(x,i)&&(m=x);var O=g.prototype=b.prototype=Object.create(m);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,i,c,a){var u=f(e[o],e,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"===typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,c,a)}),(function(e){n("throw",e,c,a)})):t.resolve(l).then((function(e){s.value=e,c(s)}),(function(e){return n("throw",e,c,a)}))}a(u.arg)}var o;function i(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function S(e,t,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return I()}n.method=o,n.arg=i;while(1){var c=n.delegate;if(c){var a=E(c,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=f(e,t,n);if("normal"===u.type){if(r=n.done?v:d,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=v,n.method="throw",n.arg=u.arg)}}}function E(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function C(e){if(e){var n=e[i];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,c=function n(){while(++o<e.length)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return c.next=c}}return{next:I}}function I(){return{value:t,done:!0}}return y.prototype=g,u(O,"constructor",g),u(g,"constructor",y),y.displayName=u(g,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,a,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},k(j.prototype),u(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var c=new j(s(t,n,r,o),i);return e.isGeneratorFunction(n)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},k(O),u(O,a,"Generator"),u(O,i,(function(){return this})),u(O,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var u=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),R(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;R(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"99af":function(e,t,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d039"),c=n("e8b5"),a=n("861d"),u=n("7b0b"),s=n("07fa"),f=n("8418"),l=n("65f0"),d=n("1dde"),p=n("b622"),v=n("2d00"),h=p("isConcatSpreadable"),b=9007199254740991,y="Maximum allowed index exceeded",g=o.TypeError,m=v>=51||!i((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),w=d("concat"),x=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:c(e)},O=!m||!w;r({target:"Array",proto:!0,forced:O},{concat:function(e){var t,n,r,o,i,c=u(this),a=l(c,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?c:arguments[t],x(i)){if(o=s(i),d+o>b)throw g(y);for(n=0;n<o;n++,d++)n in i&&f(a,d,i[n])}else{if(d>=b)throw g(y);f(a,d++,i)}return a.length=d,a}})},"9a1f":function(e,t,n){var r=n("da84"),o=n("c65b"),i=n("59ed"),c=n("825a"),a=n("0d51"),u=n("35a1"),s=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(i(n))return c(o(n,e));throw s(a(e)+" is not iterable")}},"9bdd":function(e,t,n){var r=n("825a"),o=n("2a62");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(c){o(e,"throw",c)}}},"9bf2":function(e,t,n){var r=n("da84"),o=n("83ab"),i=n("0cfb"),c=n("aed9"),a=n("825a"),u=n("a04b"),s=r.TypeError,f=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",v="writable";t.f=o?c?function(e,t,n){if(a(e),t=u(t),a(n),"function"===typeof e&&"prototype"===t&&"value"in n&&v in n&&!n[v]){var r=l(e,t);r&&r[v]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:d in n?n[d]:r[d],writable:!1})}return f(e,t,n)}:f:function(e,t,n){if(a(e),t=u(t),a(n),i)try{return f(e,t,n)}catch(r){}if("get"in n||"set"in n)throw s("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){"use strict";var r=n("ae93").IteratorPrototype,o=n("7c73"),i=n("5c6c"),c=n("d44e"),a=n("3f8c"),u=function(){return this};e.exports=function(e,t,n,s){var f=t+" Iterator";return e.prototype=o(r,{next:i(+!s,n)}),c(e,f,!1,!0),a[f]=u,e}},"9f7f":function(e,t,n){var r=n("d039"),o=n("da84"),i=o.RegExp,c=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=c||r((function(){return!i("a","y").sticky})),u=c||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:c}},a04b:function(e,t,n){var r=n("c04e"),o=n("d9b5");e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},a4b4:function(e,t,n){var r=n("342f");e.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(e,t,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d066"),c=n("2ba4"),a=n("c65b"),u=n("e330"),s=n("c430"),f=n("83ab"),l=n("4930"),d=n("d039"),p=n("1a2d"),v=n("e8b5"),h=n("1626"),b=n("861d"),y=n("3a9b"),g=n("d9b5"),m=n("825a"),w=n("7b0b"),x=n("fc6a"),O=n("a04b"),k=n("577e"),j=n("5c6c"),S=n("7c73"),E=n("df75"),T=n("241c"),R=n("057f"),P=n("7418"),C=n("06cf"),I=n("9bf2"),A=n("37e8"),_=n("d1e7"),L=n("f36a"),M=n("6eeb"),N=n("5692"),D=n("f772"),F=n("d012"),U=n("90e3"),z=n("b622"),B=n("e538"),G=n("746f"),W=n("d44e"),q=n("69f3"),H=n("b727").forEach,V=D("hidden"),Y="Symbol",J="prototype",$=z("toPrimitive"),K=q.set,X=q.getterFor(Y),Q=Object[J],Z=o.Symbol,ee=Z&&Z[J],te=o.TypeError,ne=o.QObject,re=i("JSON","stringify"),oe=C.f,ie=I.f,ce=R.f,ae=_.f,ue=u([].push),se=N("symbols"),fe=N("op-symbols"),le=N("string-to-symbol-registry"),de=N("symbol-to-string-registry"),pe=N("wks"),ve=!ne||!ne[J]||!ne[J].findChild,he=f&&d((function(){return 7!=S(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=oe(Q,t);r&&delete Q[t],ie(e,t,n),r&&e!==Q&&ie(Q,t,r)}:ie,be=function(e,t){var n=se[e]=S(ee);return K(n,{type:Y,tag:e,description:t}),f||(n.description=t),n},ye=function(e,t,n){e===Q&&ye(fe,t,n),m(e);var r=O(t);return m(n),p(se,r)?(n.enumerable?(p(e,V)&&e[V][r]&&(e[V][r]=!1),n=S(n,{enumerable:j(0,!1)})):(p(e,V)||ie(e,V,j(1,{})),e[V][r]=!0),he(e,r,n)):ie(e,r,n)},ge=function(e,t){m(e);var n=x(t),r=E(n).concat(ke(n));return H(r,(function(t){f&&!a(we,n,t)||ye(e,t,n[t])})),e},me=function(e,t){return void 0===t?S(e):ge(S(e),t)},we=function(e){var t=O(e),n=a(ae,this,t);return!(this===Q&&p(se,t)&&!p(fe,t))&&(!(n||!p(this,t)||!p(se,t)||p(this,V)&&this[V][t])||n)},xe=function(e,t){var n=x(e),r=O(t);if(n!==Q||!p(se,r)||p(fe,r)){var o=oe(n,r);return!o||!p(se,r)||p(n,V)&&n[V][r]||(o.enumerable=!0),o}},Oe=function(e){var t=ce(x(e)),n=[];return H(t,(function(e){p(se,e)||p(F,e)||ue(n,e)})),n},ke=function(e){var t=e===Q,n=ce(t?fe:x(e)),r=[];return H(n,(function(e){!p(se,e)||t&&!p(Q,e)||ue(r,se[e])})),r};if(l||(Z=function(){if(y(ee,this))throw te("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?k(arguments[0]):void 0,t=U(e),n=function(e){this===Q&&a(n,fe,e),p(this,V)&&p(this[V],t)&&(this[V][t]=!1),he(this,t,j(1,e))};return f&&ve&&he(Q,t,{configurable:!0,set:n}),be(t,e)},ee=Z[J],M(ee,"toString",(function(){return X(this).tag})),M(Z,"withoutSetter",(function(e){return be(U(e),e)})),_.f=we,I.f=ye,A.f=ge,C.f=xe,T.f=R.f=Oe,P.f=ke,B.f=function(e){return be(z(e),e)},f&&(ie(ee,"description",{configurable:!0,get:function(){return X(this).description}}),s||M(Q,"propertyIsEnumerable",we,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Z}),H(E(pe),(function(e){G(e)})),r({target:Y,stat:!0,forced:!l},{for:function(e){var t=k(e);if(p(le,t))return le[t];var n=Z(t);return le[t]=n,de[n]=t,n},keyFor:function(e){if(!g(e))throw te(e+" is not a symbol");if(p(de,e))return de[e]},useSetter:function(){ve=!0},useSimple:function(){ve=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!f},{create:me,defineProperty:ye,defineProperties:ge,getOwnPropertyDescriptor:xe}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:Oe,getOwnPropertySymbols:ke}),r({target:"Object",stat:!0,forced:d((function(){P.f(1)}))},{getOwnPropertySymbols:function(e){return P.f(w(e))}}),re){var je=!l||d((function(){var e=Z();return"[null]"!=re([e])||"{}"!=re({a:e})||"{}"!=re(Object(e))}));r({target:"JSON",stat:!0,forced:je},{stringify:function(e,t,n){var r=L(arguments),o=t;if((b(t)||void 0!==e)&&!g(e))return v(t)||(t=function(e,t){if(h(o)&&(t=a(o,this,e,t)),!g(t))return t}),r[1]=t,c(re,null,r)}})}if(!ee[$]){var Se=ee.valueOf;M(ee,$,(function(e){return a(Se,this)}))}W(Z,Y),F[V]=!0},a630:function(e,t,n){var r=n("23e7"),o=n("4df4"),i=n("1c7e"),c=!i((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:c},{from:o})},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},a9e3:function(e,t,n){"use strict";var r=n("83ab"),o=n("da84"),i=n("e330"),c=n("94ca"),a=n("6eeb"),u=n("1a2d"),s=n("7156"),f=n("3a9b"),l=n("d9b5"),d=n("c04e"),p=n("d039"),v=n("241c").f,h=n("06cf").f,b=n("9bf2").f,y=n("408a"),g=n("58a8").trim,m="Number",w=o[m],x=w.prototype,O=o.TypeError,k=i("".slice),j=i("".charCodeAt),S=function(e){var t=d(e,"number");return"bigint"==typeof t?t:E(t)},E=function(e){var t,n,r,o,i,c,a,u,s=d(e,"number");if(l(s))throw O("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=g(s),t=j(s,0),43===t||45===t){if(n=j(s,2),88===n||120===n)return NaN}else if(48===t){switch(j(s,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(i=k(s,2),c=i.length,a=0;a<c;a++)if(u=j(i,a),u<48||u>o)return NaN;return parseInt(i,r)}return+s};if(c(m,!w(" 0o1")||!w("0b1")||w("+0x1"))){for(var T,R=function(e){var t=arguments.length<1?0:w(S(e)),n=this;return f(x,n)&&p((function(){y(n)}))?s(Object(t),n,R):t},P=r?v(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),C=0;P.length>C;C++)u(w,T=P[C])&&!u(R,T)&&b(R,T,h(w,T));R.prototype=x,x.constructor=R,a(o,m,R)}},aa1f:function(e,t,n){"use strict";var r=n("83ab"),o=n("d039"),i=n("825a"),c=n("7c73"),a=n("e391"),u=Error.prototype.toString,s=o((function(){if(r){var e=c(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==u.call(e))return!0}return"2: 1"!==u.call({message:1,name:2})||"Error"!==u.call({})}));e.exports=s?function(){var e=i(this),t=a(e.name,"Error"),n=a(e.message);return t?n?t+": "+n:t:n}:u},ab36:function(e,t,n){var r=n("861d"),o=n("9112");e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},acac:function(e,t,n){"use strict";var r=n("e330"),o=n("e2cc"),i=n("f183").getWeakData,c=n("825a"),a=n("861d"),u=n("19aa"),s=n("2266"),f=n("b727"),l=n("1a2d"),d=n("69f3"),p=d.set,v=d.getterFor,h=f.find,b=f.findIndex,y=r([].splice),g=0,m=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},x=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=x(this,e);if(t)return t[1]},has:function(e){return!!x(this,e)},set:function(e,t){var n=x(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=b(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var f=e((function(e,o){u(e,d),p(e,{type:t,id:g++,frozen:void 0}),void 0!=o&&s(o,e[r],{that:e,AS_ENTRIES:n})})),d=f.prototype,h=v(t),b=function(e,t,n){var r=h(e),o=i(c(t),!0);return!0===o?m(r).set(t,n):o[r.id]=n,e};return o(d,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?m(t)["delete"](e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?m(t).has(e):n&&l(n,t.id)}}),o(d,n?{get:function(e){var t=h(this);if(a(e)){var n=i(e);return!0===n?m(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return b(this,e,t)}}:{add:function(e){return b(this,e,!0)}}),f}}},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ade3:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("7a82");function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},ae93:function(e,t,n){"use strict";var r,o,i,c=n("d039"),a=n("1626"),u=n("7c73"),s=n("e163"),f=n("6eeb"),l=n("b622"),d=n("c430"),p=l("iterator"),v=!1;[].keys&&(i=[].keys(),"next"in i?(o=s(s(i)),o!==Object.prototype&&(r=o)):v=!0);var h=void 0==r||c((function(){var e={};return r[p].call(e)!==e}));h?r={}:d&&(r=u(r)),a(r[p])||f(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},aed9:function(e,t,n){var r=n("83ab"),o=n("d039");e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b041:function(e,t,n){"use strict";var r=n("00ee"),o=n("f5df");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),o=n("5e77").EXISTS,i=n("e330"),c=n("9bf2").f,a=Function.prototype,u=i(a.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(s.exec),l="name";r&&!o&&c(a,l,{configurable:!0,get:function(){try{return f(s,u(this))[1]}catch(e){return""}}})},b575:function(e,t,n){var r,o,i,c,a,u,s,f,l=n("da84"),d=n("0366"),p=n("06cf").f,v=n("2cf4").set,h=n("1cdc"),b=n("d4c3"),y=n("a4b4"),g=n("605d"),m=l.MutationObserver||l.WebKitMutationObserver,w=l.document,x=l.process,O=l.Promise,k=p(l,"queueMicrotask"),j=k&&k.value;j||(r=function(){var e,t;g&&(e=x.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(n){throw o?c():i=void 0,n}}i=void 0,e&&e.enter()},h||g||y||!m||!w?!b&&O&&O.resolve?(s=O.resolve(void 0),s.constructor=O,f=d(s.then,s),c=function(){f(r)}):g?c=function(){x.nextTick(r)}:(v=d(v,l),c=function(){v(r)}):(a=!0,u=w.createTextNode(""),new m(r).observe(u,{characterData:!0}),c=function(){u.data=a=!a})),e.exports=j||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,c()),i=t}},b622:function(e,t,n){var r=n("da84"),o=n("5692"),i=n("1a2d"),c=n("90e3"),a=n("4930"),u=n("fdbf"),s=o("wks"),f=r.Symbol,l=f&&f["for"],d=u?f:f&&f.withoutSetter||c;e.exports=function(e){if(!i(s,e)||!a&&"string"!=typeof s[e]){var t="Symbol."+e;a&&i(f,e)?s[e]=f[e]:s[e]=u&&l?l(t):d(t)}return s[e]}},b64b:function(e,t,n){var r=n("23e7"),o=n("7b0b"),i=n("df75"),c=n("d039"),a=c((function(){i(1)}));r({target:"Object",stat:!0,forced:a},{keys:function(e){return i(o(e))}})},b727:function(e,t,n){var r=n("0366"),o=n("e330"),i=n("44ad"),c=n("7b0b"),a=n("07fa"),u=n("65f0"),s=o([].push),f=function(e){var t=1==e,n=2==e,o=3==e,f=4==e,l=6==e,d=7==e,p=5==e||l;return function(v,h,b,y){for(var g,m,w=c(v),x=i(w),O=r(h,b),k=a(x),j=0,S=y||u,E=t?S(v,k):n||d?S(v,0):void 0;k>j;j++)if((p||j in x)&&(g=x[j],m=O(g,j,w),e))if(t)E[j]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return j;case 2:s(E,g)}else switch(e){case 4:return!1;case 7:s(E,g)}return l?-1:o||f?f:E}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},b8bf:function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("7c73");r({target:"Object",stat:!0,sham:!o},{create:i})},b980:function(e,t,n){var r=n("d039"),o=n("5c6c");e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},bb2f:function(e,t,n){var r=n("d039");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bee2:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("7a82");function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},c04e:function(e,t,n){var r=n("da84"),o=n("c65b"),i=n("861d"),c=n("d9b5"),a=n("dc4a"),u=n("485a"),s=n("b622"),f=r.TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!i(e)||c(e))return e;var n,r=a(e,l);if(r){if(void 0===t&&(t="default"),n=o(r,e,t),!i(n)||c(n))return n;throw f("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},c0b6:function(e,t,n){var r=n("23e7"),o=n("0538");r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},c430:function(e,t){e.exports=!1},c65b:function(e,t,n){var r=n("40d5"),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(e,t,n){var r=n("e330"),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},c6cd:function(e,t,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",c=r[i]||o(i,{});e.exports=c},c770:function(e,t,n){var r=n("e330"),o=r("".replace),i=function(e){return String(Error(e).stack)}("zxcasd"),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(i);e.exports=function(e,t){if(a&&"string"==typeof e)while(t--)e=o(e,c,"");return e}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c975:function(e,t,n){"use strict";var r=n("23e7"),o=n("e330"),i=n("4d64").indexOf,c=n("a640"),a=o([].indexOf),u=!!a&&1/a([1],1,-0)<0,s=c("indexOf");r({target:"Array",proto:!0,forced:u||!s},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?a(this,e,t)||0:i(this,e,t)}})},ca84:function(e,t,n){var r=n("e330"),o=n("1a2d"),i=n("fc6a"),c=n("4d64").indexOf,a=n("d012"),u=r([].push);e.exports=function(e,t){var n,r=i(e),s=0,f=[];for(n in r)!o(a,n)&&o(r,n)&&u(f,n);while(t.length>s)o(r,n=t[s++])&&(~c(f,n)||u(f,n));return f}},caad:function(e,t,n){"use strict";var r=n("23e7"),o=n("4d64").includes,i=n("44d2");r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},cc12:function(e,t,n){var r=n("da84"),o=n("861d"),i=r.document,c=o(i)&&o(i.createElement);e.exports=function(e){return c?i.createElement(e):{}}},cca6:function(e,t,n){var r=n("23e7"),o=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(e,t,n){var r=n("825a"),o=n("861d"),i=n("f069");e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e),c=n.resolve;return c(t),n.promise}},ce4e:function(e,t,n){var r=n("da84"),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("da84"),o=n("1626"),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},d28b:function(e,t,n){var r=n("746f");r("iterator")},d2bb:function(e,t,n){var r=n("e330"),o=n("825a"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(n,[]),t=n instanceof Array}catch(c){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})},d401:function(e,t,n){var r=n("6eeb"),o=n("aa1f"),i=Error.prototype;i.toString!==o&&r(i,"toString",o)},d44e:function(e,t,n){var r=n("9bf2").f,o=n("1a2d"),i=n("b622"),c=i("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,c)&&r(e,c,{configurable:!0,value:t})}},d4c3:function(e,t,n){var r=n("342f"),o=n("da84");e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},d4ec:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("d9e2"),n("d401");function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},d58f:function(e,t,n){var r=n("da84"),o=n("59ed"),i=n("7b0b"),c=n("44ad"),a=n("07fa"),u=r.TypeError,s=function(e){return function(t,n,r,s){o(n);var f=i(t),l=c(f),d=a(f),p=e?d-1:0,v=e?-1:1;if(r<2)while(1){if(p in l){s=l[p],p+=v;break}if(p+=v,e?p<0:d<=p)throw u("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=v)p in l&&(s=n(s,l[p],p,f));return s}};e.exports={left:s(!1),right:s(!0)}},d5e4:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("d9e2"),n("d401");function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function o(e,t,n){r(e,t),t.set(e,n)}},d6d6:function(e,t,n){var r=n("da84"),o=r.TypeError;e.exports=function(e,t){if(e<t)throw o("Not enough arguments");return e}},d784:function(e,t,n){"use strict";n("ac1f");var r=n("e330"),o=n("6eeb"),i=n("9263"),c=n("d039"),a=n("b622"),u=n("9112"),s=a("species"),f=RegExp.prototype;e.exports=function(e,t,n,l){var d=a(e),p=!c((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),v=p&&!c((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[s]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!v||n){var h=r(/./[d]),b=t(d,""[e],(function(e,t,n,o,c){var a=r(e),u=t.exec;return u===i||u===f.exec?p&&!c?{done:!0,value:h(t,n,o)}:{done:!0,value:a(n,t,o)}:{done:!1}}));o(String.prototype,e,b[0]),o(f,d,b[1])}l&&u(f[d],"sham",!0)}},d86b:function(e,t,n){var r=n("d039");e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},d9b5:function(e,t,n){var r=n("da84"),o=n("d066"),i=n("1626"),c=n("3a9b"),a=n("fdbf"),u=r.Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&c(t.prototype,u(e))}},d9e2:function(e,t,n){var r=n("23e7"),o=n("da84"),i=n("2ba4"),c=n("e5cb"),a="WebAssembly",u=o[a],s=7!==Error("e",{cause:7}).cause,f=function(e,t){var n={};n[e]=c(e,t,s),r({global:!0,forced:s},n)},l=function(e,t){if(u&&u[e]){var n={};n[e]=c(a+"."+e,t,s),r({target:a,stat:!0,forced:s},n)}};f("Error",(function(e){return function(t){return i(e,this,arguments)}})),f("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),f("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),f("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),f("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),f("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),f("URIError",(function(e){return function(t){return i(e,this,arguments)}})),l("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),l("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),l("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dbb4:function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("56ef"),c=n("fc6a"),a=n("06cf"),u=n("8418");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,n,r=c(e),o=a.f,s=i(r),f={},l=0;while(s.length>l)n=o(r,t=s[l++]),void 0!==n&&u(f,t,n);return f}})},dc4a:function(e,t,n){var r=n("59ed");e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},ddb0:function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("785a"),c=n("e260"),a=n("9112"),u=n("b622"),s=u("iterator"),f=u("toStringTag"),l=c.values,d=function(e,t){if(e){if(e[s]!==l)try{a(e,s,l)}catch(r){e[s]=l}if(e[f]||a(e,f,t),o[t])for(var n in c)if(e[n]!==c[n])try{a(e,n,c[n])}catch(r){e[n]=c[n]}}};for(var p in o)d(r[p]&&r[p].prototype,p);d(i,"DOMTokenList")},df75:function(e,t,n){var r=n("ca84"),o=n("7839");e.exports=Object.keys||function(e){return r(e,o)}},e01a:function(e,t,n){"use strict";var r=n("23e7"),o=n("83ab"),i=n("da84"),c=n("e330"),a=n("1a2d"),u=n("1626"),s=n("3a9b"),f=n("577e"),l=n("9bf2").f,d=n("e893"),p=i.Symbol,v=p&&p.prototype;if(o&&u(p)&&(!("description"in v)||void 0!==p().description)){var h={},b=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),t=s(v,this)?new p(e):void 0===e?p():p(e);return""===e&&(h[t]=!0),t};d(b,p),b.prototype=v,v.constructor=b;var y="Symbol(test)"==String(p("test")),g=c(v.toString),m=c(v.valueOf),w=/^Symbol\((.*)\)[^)]+$/,x=c("".replace),O=c("".slice);l(v,"description",{configurable:!0,get:function(){var e=m(this),t=g(e);if(a(h,e))return"";var n=y?O(t,7,-1):x(t,w,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:b})}},e163:function(e,t,n){var r=n("da84"),o=n("1a2d"),i=n("1626"),c=n("7b0b"),a=n("f772"),u=n("e177"),s=a("IE_PROTO"),f=r.Object,l=f.prototype;e.exports=u?f.getPrototypeOf:function(e){var t=c(e);if(o(t,s))return t[s];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof f?l:null}},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,n){"use strict";var r=n("fc6a"),o=n("44d2"),i=n("3f8c"),c=n("69f3"),a=n("9bf2").f,u=n("7dd0"),s=n("c430"),f=n("83ab"),l="Array Iterator",d=c.set,p=c.getterFor(l);e.exports=u(Array,"Array",(function(e,t){d(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==v.name)try{a(v,"name",{value:"values"})}catch(h){}},e2cc:function(e,t,n){var r=n("6eeb");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},e330:function(e,t,n){var r=n("40d5"),o=Function.prototype,i=o.bind,c=o.call,a=r&&i.bind(c,c);e.exports=r?function(e){return e&&a(e)}:function(e){return e&&function(){return c.apply(e,arguments)}}},e391:function(e,t,n){var r=n("577e");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},e439:function(e,t,n){var r=n("23e7"),o=n("d039"),i=n("fc6a"),c=n("06cf").f,a=n("83ab"),u=o((function(){c(1)})),s=!a||u;r({target:"Object",stat:!0,forced:s,sham:!a},{getOwnPropertyDescriptor:function(e,t){return c(i(e),t)}})},e538:function(e,t,n){var r=n("b622");t.f=r},e5cb:function(e,t,n){"use strict";var r=n("d066"),o=n("1a2d"),i=n("9112"),c=n("3a9b"),a=n("d2bb"),u=n("e893"),s=n("7156"),f=n("e391"),l=n("ab36"),d=n("c770"),p=n("b980"),v=n("c430");e.exports=function(e,t,n,h){var b=h?2:1,y=e.split("."),g=y[y.length-1],m=r.apply(null,y);if(m){var w=m.prototype;if(!v&&o(w,"cause")&&delete w.cause,!n)return m;var x=r("Error"),O=t((function(e,t){var n=f(h?t:e,void 0),r=h?new m(e):new m;return void 0!==n&&i(r,"message",n),p&&i(r,"stack",d(r.stack,2)),this&&c(w,this)&&s(r,this,O),arguments.length>b&&l(r,arguments[b]),r}));if(O.prototype=w,"Error"!==g&&(a?a(O,x):u(O,x,{name:!0})),u(O,m),!v)try{w.name!==g&&i(w,"name",g),w.constructor=O}catch(k){}return O}}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,n){"use strict";var r,o,i,c,a=n("23e7"),u=n("c430"),s=n("da84"),f=n("d066"),l=n("c65b"),d=n("fea9"),p=n("6eeb"),v=n("e2cc"),h=n("d2bb"),b=n("d44e"),y=n("2626"),g=n("59ed"),m=n("1626"),w=n("861d"),x=n("19aa"),O=n("8925"),k=n("2266"),j=n("1c7e"),S=n("4840"),E=n("2cf4").set,T=n("b575"),R=n("cdf9"),P=n("44de"),C=n("f069"),I=n("e667"),A=n("01b4"),_=n("69f3"),L=n("94ca"),M=n("b622"),N=n("6069"),D=n("605d"),F=n("2d00"),U=M("species"),z="Promise",B=_.getterFor(z),G=_.set,W=_.getterFor(z),q=d&&d.prototype,H=d,V=q,Y=s.TypeError,J=s.document,$=s.process,K=C.f,X=K,Q=!!(J&&J.createEvent&&s.dispatchEvent),Z=m(s.PromiseRejectionEvent),ee="unhandledrejection",te="rejectionhandled",ne=0,re=1,oe=2,ie=1,ce=2,ae=!1,ue=L(z,(function(){var e=O(H),t=e!==String(H);if(!t&&66===F)return!0;if(u&&!V["finally"])return!0;if(F>=51&&/native code/.test(e))return!1;var n=new H((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))},o=n.constructor={};return o[U]=r,ae=n.then((function(){}))instanceof r,!ae||!t&&N&&!Z})),se=ue||!j((function(e){H.all(e)["catch"]((function(){}))})),fe=function(e){var t;return!(!w(e)||!m(t=e.then))&&t},le=function(e,t){var n,r,o,i=t.value,c=t.state==re,a=c?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{a?(c||(t.rejection===ce&&be(t),t.rejection=ie),!0===a?n=i:(f&&f.enter(),n=a(i),f&&(f.exit(),o=!0)),n===e.promise?s(Y("Promise-chain cycle")):(r=fe(n))?l(r,n,u,s):u(n)):s(i)}catch(d){f&&!o&&f.exit(),s(d)}},de=function(e,t){e.notified||(e.notified=!0,T((function(){var n,r=e.reactions;while(n=r.get())le(n,e);e.notified=!1,t&&!e.rejection&&ve(e)})))},pe=function(e,t,n){var r,o;Q?(r=J.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!Z&&(o=s["on"+e])?o(r):e===ee&&P("Unhandled promise rejection",n)},ve=function(e){l(E,s,(function(){var t,n=e.facade,r=e.value,o=he(e);if(o&&(t=I((function(){D?$.emit("unhandledRejection",r,n):pe(ee,n,r)})),e.rejection=D||he(e)?ce:ie,t.error))throw t.value}))},he=function(e){return e.rejection!==ie&&!e.parent},be=function(e){l(E,s,(function(){var t=e.facade;D?$.emit("rejectionHandled",t):pe(te,t,e.value)}))},ye=function(e,t,n){return function(r){e(t,r,n)}},ge=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=oe,de(e,!0))},me=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Y("Promise can't be resolved itself");var r=fe(t);r?T((function(){var n={done:!1};try{l(r,t,ye(me,n,e),ye(ge,n,e))}catch(o){ge(n,o,e)}})):(e.value=t,e.state=re,de(e,!1))}catch(o){ge({done:!1},o,e)}}};if(ue&&(H=function(e){x(this,V),g(e),l(r,this);var t=B(this);try{e(ye(me,t),ye(ge,t))}catch(n){ge(t,n)}},V=H.prototype,r=function(e){G(this,{type:z,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:ne,value:void 0})},r.prototype=v(V,{then:function(e,t){var n=W(this),r=K(S(this,H));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=D?$.domain:void 0,n.state==ne?n.reactions.add(r):T((function(){le(r,n)})),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=B(e);this.promise=e,this.resolve=ye(me,t),this.reject=ye(ge,t)},C.f=K=function(e){return e===H||e===i?new o(e):X(e)},!u&&m(d)&&q!==Object.prototype)){c=q.then,ae||(p(q,"then",(function(e,t){var n=this;return new H((function(e,t){l(c,n,e,t)})).then(e,t)}),{unsafe:!0}),p(q,"catch",V["catch"],{unsafe:!0}));try{delete q.constructor}catch(we){}h&&h(q,V)}a({global:!0,wrap:!0,forced:ue},{Promise:H}),b(H,z,!1,!0),y(z),i=f(z),a({target:z,stat:!0,forced:ue},{reject:function(e){var t=K(this);return l(t.reject,void 0,e),t.promise}}),a({target:z,stat:!0,forced:u||ue},{resolve:function(e){return R(u&&this===i?H:this,e)}}),a({target:z,stat:!0,forced:se},{all:function(e){var t=this,n=K(t),r=n.resolve,o=n.reject,i=I((function(){var n=g(t.resolve),i=[],c=0,a=1;k(e,(function(e){var u=c++,s=!1;a++,l(n,t,e).then((function(e){s||(s=!0,i[u]=e,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=K(t),r=n.reject,o=I((function(){var o=g(t.resolve);k(e,(function(e){l(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},e893:function(e,t,n){var r=n("1a2d"),o=n("56ef"),i=n("06cf"),c=n("9bf2");e.exports=function(e,t,n){for(var a=o(t),u=c.f,s=i.f,f=0;f<a.length;f++){var l=a[f];r(e,l)||n&&r(n,l)||u(e,l,s(t,l))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e95a:function(e,t,n){var r=n("b622"),o=n("3f8c"),i=r("iterator"),c=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||c[i]===e)}},e9c4:function(e,t,n){var r=n("23e7"),o=n("da84"),i=n("d066"),c=n("2ba4"),a=n("e330"),u=n("d039"),s=o.Array,f=i("JSON","stringify"),l=a(/./.exec),d=a("".charAt),p=a("".charCodeAt),v=a("".replace),h=a(1..toString),b=/[\uD800-\uDFFF]/g,y=/^[\uD800-\uDBFF]$/,g=/^[\uDC00-\uDFFF]$/,m=function(e,t,n){var r=d(n,t-1),o=d(n,t+1);return l(y,e)&&!l(g,o)||l(g,e)&&!l(y,r)?"\\u"+h(p(e,0),16):e},w=u((function(){return'"\\udf06\\ud834"'!==f("\udf06\ud834")||'"\\udead"'!==f("\udead")}));f&&r({target:"JSON",stat:!0,forced:w},{stringify:function(e,t,n){for(var r=0,o=arguments.length,i=s(o);r<o;r++)i[r]=arguments[r];var a=c(f,null,i);return"string"==typeof a?v(a,b,m):a}})},f069:function(e,t,n){"use strict";var r=n("59ed"),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},f183:function(e,t,n){var r=n("23e7"),o=n("e330"),i=n("d012"),c=n("861d"),a=n("1a2d"),u=n("9bf2").f,s=n("241c"),f=n("057f"),l=n("4fad"),d=n("90e3"),p=n("bb2f"),v=!1,h=d("meta"),b=0,y=function(e){u(e,h,{value:{objectID:"O"+b++,weakData:{}}})},g=function(e,t){if(!c(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,h)){if(!l(e))return"F";if(!t)return"E";y(e)}return e[h].objectID},m=function(e,t){if(!a(e,h)){if(!l(e))return!0;if(!t)return!1;y(e)}return e[h].weakData},w=function(e){return p&&v&&l(e)&&!a(e,h)&&y(e),e},x=function(){O.enable=function(){},v=!0;var e=s.f,t=o([].splice),n={};n[h]=1,e(n).length&&(s.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===h){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},O=e.exports={enable:x,fastKey:g,getWeakData:m,onFreeze:w};i[h]=!0},f36a:function(e,t,n){var r=n("e330");e.exports=r([].slice)},f5df:function(e,t,n){var r=n("da84"),o=n("00ee"),i=n("1626"),c=n("c6b6"),a=n("b622"),u=a("toStringTag"),s=r.Object,f="Arguments"==c(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=o?c:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=s(e),u))?n:f?c(t):"Object"==(r=c(t))&&i(t.callee)?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),o=n("90e3"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},f8c9:function(e,t,n){var r=n("23e7"),o=n("da84"),i=n("d44e");r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},fb15:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var c=n("d4ec"),a=n("bee2"),u=n("d5e4");n("d9e2"),n("d401");function s(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function f(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function l(e,t,n){var r=f(e,t,"set");return s(e,r,n),n}function d(e,t){return t.get?t.get.call(e):t.value}function p(e,t){var n=f(e,t,"get");return d(e,n)}var v=n("53ca"),h=(n("d3b7"),n("cca6"),n("e9c4"),n("c975"),n("4160"),n("159b"),n("b64b"),n("e260"),n("3ca3"),n("10d1"),n("ddb0"),n("ade3")),b=(n("13d5"),n("ac1f"),n("1276"),n("fb6a"),n("5180")),y=b.keys().reduce((function(e,t){return Object.assign(e,Object(h["a"])({},t.split("/").slice(-1)[0].split(".")[0],b(t)[Object.keys(b(t))[0]])),e}),{});console.log("=====modulesFiles========"),console.log(y);var g=y,m=n("1da1"),w=(n("96cf"),n("7a82"),n("e6cf"),n("a9e3"),n("4795"),n("00b4"),n("277d"),Object.defineProperty),x=function(e,t,n){return t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},O=function(e,t,n){return x(e,"symbol"!=Object(v["a"])(t)?t+"":t,n),n},k=function(){function e(t){var n=this;Object(c["a"])(this,e),O(this,"socket",null),O(this,"RTC",null),O(this,"bindLocalPicture",(function(e){var t=document.querySelector("#"+n.localId);t.srcObject=e,t.onloadedmetadata=function(){t.play()}})),this.wsUrl=t,this.Offer=null,this.localId="",this.remoteId="",this.remoteAudioId="",this.videoStream=null,this.timeOutKL=null,this.reloadObj={num:0,maxNum:10,timeOut:null,reloadTime:5e3,href:""},this.mediaSet={video:!0,audio:!0},this.callData={},this.socketCode=-1,this.compatible(),this.createRTC(),this.newSocket()}return Object(a["a"])(e,[{key:"compatible",value:function(){window.RTCPeerConnection=window.RTCPeerConnection||window.webkitRTCPeerConnection||window.mozRTCPeerConnection||window.msRTCPeerConnection,void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia||navigator.oGetUserMedia;return t?new Promise((function(n,r){t.call(navigator,e,n,r)})):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}())}},{key:"newSocket",value:function(){if(this.socket&&(console.log(this.socket),this.socket=null),this.online()){if(!this.wsUrl)throw new Error("前端提示:WebSocket缺少baseURL!");this.socket=new WebSocket(this.wsUrl),this.initSocekt()}else console.log("当前网络差,无法连接")}},{key:"initSocekt",value:function(){this.open(),this.message(),this.error(),this.close(),this.disconnect()}},{key:"online",value:function(){var e=!0;return e=!!navigator.onLine,e}},{key:"onbeforeunload",value:function(){console.log("页面关闭")}},{key:"onunload",value:function(){console.log("页面刷新")}},{key:"checkReadyState",value:function(){return Number(this.socket.readyState)}},{key:"open",value:function(){var e=this,t=this;this.socket.onopen=function(n){console.log("onopen---\x3e",n);var r=e.checkReadyState();t.socketCode=r;var o="";switch(Number(r)){case 1:console.log("连接成功"),o="socket连接成功_"+n.type,t.num=0,t.keepLive();break;case 2:console.log("连接正在关闭"),o="socket连接正在关闭_"+n.type;break;case 3:console.log("连接已经关闭,或失败"),o="socket连接失败_"+n.type,t.reloadObj.num=t.reloadObj.num+1,t.reloadObj.num>=t.reloadObj.maxNum?(o="大于最大连接次数,停止连接,返回首页",console.log("大于最大连接次数,停止连接,返回首页"),t.reloadObj.href&&(window.location.href=t.reloadObj.href),t.reloadObj.timeOut&&clearTimeout(t.reloadObj.timeOut),t.reloadObj.timeOut=setTimeout((function(){t.close()}),t.reloadObj.reloadTime)):console.log("继续连接");break}t.messageBack&&(1==r?t.messageBack.call(null,{type:n.type,code:200,message:o}):t.messageBack.call(null,{type:n.type,code:-1,err:o}))}}},{key:"keepLive",value:function(){var e=this;this.timeOutKL&&clearTimeout(this.timeOutKL),this.timeOutKL=setTimeout((function(){e.send({type:"keepAlive"})}),1e3*(e.keepLiveTime?e.keepLiveTime:30))}},{key:"message",value:function(){var e=this,t=this;this.socket.onmessage=function(n){var r=n.data,o={};if(r){var i=JSON.parse(r),c="";switch(i.type){case"login":c="登录成功";break;case"on_answer":c="已接听",t.setRemote(i.sdp);break;case"on_new_call":c="有来电呼叫",o={isvideo:i.isvideo,fromtel:i.from||""};break;case"on_ack":c="来电接听成功",t.setRemote(i.sdp);break;case"on_hangup":c="已挂断",e.RTC.close(),e.RTC=null;var a=document.querySelector("#"+t.remoteId);a.srcObject=null,t.messageBack.call(null,i),t.getVideoTacks(),e.createRTC();break;case"keepAlive":e.keepLive();break}i.result?(console.log("dataObj--\x3e",i),t.messageBack.call(null,{code:200,type:i.type,message:c,data:o})):t.messageBack.call(null,{code:-1,type:i.type,err:"失败_"+i.reason||!1})}else console.log("服务器无返回数据--")}}},{key:"reloadSockte",value:function(){var e=this;this.reloadObj.num=this.reloadObj.num+1,e.reloadObj.timeOut&&clearTimeout(e.reloadObj.timeOut),this.reloadObj.num>=this.reloadObj.maxNum?(e.reloadObj.href&&(window.location.href=e.reloadObj.href),e.messageBack.call(null,{code:-1,type:"error",err:"重连已达到"+this.reloadObj.maxNum+"次,请刷新后重试"})):e.reloadObj.timeOut=setTimeout((function(){e.newSocket()}),e.reloadObj.reloadTime)}},{key:"error",value:function(){var e=this;this.socket.onerror=function(t){var n={type:t.type,code:-4,err:"socket连接错误_"+t.type};e.messageBack.call(null,n)}}},{key:"close",value:function(){var e=this,t=this;this.socket.onclose=function(n){console.log("close---\x3e",n);var r={type:n.type,code:-1,err:"socket连接已关闭_"+n.type};clearTimeout(e.reloadObj.timeOut),t.messageBack.call(null,r)}}},{key:"setSocketReloadConfig",value:function(e){this.reloadObj=Object.assign(this.reloadObj,e||{})}},{key:"disconnect",value:function(){var e=this;this.socket.disconnect=function(t){console.log("disconnect",t),e.socketCode=5;var n={type:t.type,code:-1,err:"连接已断开_"+t.type};e.messageBack.call(null,n)}}},{key:"onclose",value:function(){this.socket.close()}},{key:"send",value:function(e){var t=e;if(this.online()){console.log("checkReadyState---\x3e",this.checkReadyState());var n=this.checkReadyState();1==n?this.socket.send(JSON.stringify(t)):this.messageBack.call(null,{code:-3,type:"error",err:"连接异常_"+n})}else this.messageBack.call(null,{code:-2,type:"internet",err:"当前网络差,请检查网络后重试"})}},{key:"createRTC",value:function(e){var t=this,n={};this.RTC&&(this.RTC=null),this.RTC=new RTCPeerConnection(e||n),this.RTC.onicecandidate=function(e){console.log("onicecandidate---\x3e",e)},this.RTC.ontrack=function(e){var n=document.querySelector("#"+t.remoteId),r=document.querySelector("#"+t.remoteAudioId),o=e.track;if("video"==o.kind){var i=new MediaStream;i.addTrack(o),n.srcObject=i,n.onloadedmetadata=function(){console.log("remoteVideo-onloadedmetadata->"),n.play()}}else{var c=new MediaStream;c.addTrack(e.track),r.srcObject=c,r.onloadedmetadata=function(){console.log("remoteAudio-onloadedmetadata->"),r.play()}}},this.RTC.onnegotiationneeded=function(e){console.log("onnegotiationneeded---\x3e",e)},this.RTC.iceconnectionstatechange=function(e){}}},{key:"addTracks",value:function(e){var t=this,n=e.getTracks();!n||n.length<1?console.log("无法获取视频或麦克风任一轨道数据,请查看是否开启成功"):n.forEach((function(n){console.log("track--\x3e",n),t.RTC.addTrack(n,e)}))}},{key:"createOffer",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.RTC.createOffer();case 2:return t=e.sent,this.Offer=t,e.next=6,this.RTC.setLocalDescription(t);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setRemote",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.RTC.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:t}),(function(e){console.log("setsuccess---\x3e",e)}),(function(e){console.log("seterr---\x3e",e)}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getDeviceList",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:if(n=e.sent,t){e.next=5;break}return e.abrupt("return",n);case 5:return r=[],e.abrupt("return",(n&&n.length>0&&n.forEach((function(e){e.kind.indexOf(t)>-1&&r.push(e)})),r));case 7:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getUserMedia",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={video:!0,audio:{noiseSuppression:!0,echoCancellation:!0}},e.next=3,navigator.mediaDevices.getUserMedia(t||n);case 3:return r=e.sent,this.videoStream=r,e.next=7,this.addTracks(r);case 7:return e.abrupt("return",r);case 8:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getVideoTacks",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.videoStream&&(this.videoStream.getTracks().forEach((function(e){e.stop()})),t=document.querySelector("#"+this.localId),t.srcObject=null);case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"initDom",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t,n,r,o,i,c=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=c.length>0&&void 0!==c[0]?c[0]:{video:!0,audio:!0,parentId:"",isDrag:!0,showLocal:!0,callback:new Function},this.online()){e.next=4;break}return t.callback({code:-2,type:"internet",err:"当前网络差,请检查网络后重试"}),e.abrupt("return");case 4:if(t.parentId){e.next=7;break}return console.log("请添加视频容器"),e.abrupt("return");case 7:if(t.callback){e.next=10;break}return console.log("请注册消息回调函数"),e.abrupt("return");case 10:if(this.mediaSet.video=t.video,this.mediaSet.audio=t.audio,this.messageBack=t.callback,n=document.querySelector("#"+t.parentId),n){e.next=15;break}return console.log("无法查找到父级容器"),t.callback({code:-2,type:"error",err:"无法查找到父级容器,请查看"}),e.abrupt("return");case 15:if(!n.innerHTML){e.next=18;break}return console.log("已成功创建video标签"),e.abrupt("return");case 18:r=document.createElement("video"),o=document.createElement("video"),i=document.createElement("audio"),r.id="local_video",r.autoplay=!0,r.playsInline="playsInline",r.muted=!0,o.id="remote_video",i.id="remote_audio",o.autoplay=!0,o.playsInline="playsInline",o.muted=!0,r.className="local_video_class",o.className="remote_video_class",i.style.display="none",i.controls=!0,n.appendChild(o),n.appendChild(r),n.appendChild(i),console.log("showLocal---\x3e",t.showLocal),t.showLocal||(r.style.display="none"),this.localId="local_video",this.remoteId="remote_video",this.remoteAudioId="remote_audio",t.isDrag&&this.pcDrag("remote_video","local_video");case 20:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"changeShowLocal",value:function(e){var t=document.querySelector("#"+this.localId);t.style.display=e?"block":"none"}},{key:"os",value:function(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,r=/(?:Android)/.test(e),o=/(?:Firefox)/.test(e),i=/(?:iPad|PlayBook)/.test(e)||r&&!/(?:Mobile)/.test(e)||o&&/(?:Tablet)/.test(e),c=/(?:iPhone)/.test(e)&&!i,a=!c&&!r&&!n;return{isTablet:i,isPhone:c,isAndroid:r,isPc:a}}},{key:"pcDrag",value:function(e,t){var n=document.querySelector("#"+e),r=document.querySelector("#"+t),o=n.offsetWidth,i=n.offsetHeight,c=r.offsetWidth,a=r.offsetHeight,u=n.offsetLeft,s=n.offsetTop,f=this.os().isPc,l=this.os().isPhone;f?r.addEventListener("mousedown",(function(e){var t=e.pageX-u-r.offsetLeft,n=e.pageY-s-r.offsetTop;function f(e){var f=e.pageX-u-t,l=e.pageY-s-n;f<20&&(f=20),f>o-c&&(f=o-c),l<20&&(l=20),l>i-a&&(l=i-a),r.style.left=f+"px",r.style.top=l+"px"}document.addEventListener("mousemove",f),document.addEventListener("mouseup",(function(e){document.removeEventListener("mousemove",f)}))})):l&&r.addEventListener("touchstart",(function(e){var t=document.body;t.style.overflow="hidden";var n=e.pageX-u-r.offsetLeft,f=e.pageY-s-r.offsetTop;function l(e){var t=e.pageX-u-n,l=e.pageY-s-f;t<20&&(t=20),t>o-c&&(t=o-c),l<20&&(l=20),l>i-a&&(l=i-a),r.style.left=t+"px",r.style.top=l+"px"}document.addEventListener("touchmove",l),document.addEventListener("touchend",(function(e){t.style.overflow="auto",document.removeEventListener("touchmove",l)}))}))}},{key:"login",value:function(e){var t=Object.assign({type:"login"},e);this.send(t)}},{key:"call",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:"",type:"make_call"},t),e.next=3,this.getUserMedia();case 3:return r=e.sent,this.videoStream=r,this.bindLocalPicture(r),e.next=8,this.createOffer();case 8:console.log("call----\x3e",n),n.sdp=this.Offer.sdp,this.send(n);case 11:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"audioCall",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:"",type:"make_call"},t),this.getVideoTacks(),e.next=4,this.getUserMedia({audio:{noiseSuppression:!0,echoCancellation:!0}});case 4:return e.next=6,this.createOffer();case 6:console.log("call----\x3e",n),n.sdp=this.Offer.sdp,this.send(n);case 9:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"answer",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:"",type:"answer"},t),this.callData=t,e.next=4,this.getUserMedia();case 4:return r=e.sent,this.videoStream?this.bindLocalPicture(this.videoStream):this.bindLocalPicture(r),e.next=8,this.createOffer();case 8:n.sdp=this.Offer.sdp,this.send(n);case 10:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"hangup",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=Object.assign({type:"hangup"},t),console.log("hangup----\x3e",n),this.send(n);case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"stopStack",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=document.querySelector("#"+this.localId),t.srcObject&&(n=t.srcObject.getTracks(),Array.isArray(n)?n.forEach((function(e){e.stop()})):n.stop(),t.srcObject=null);case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cameraUser",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t,n,r,o,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("前置"),this.stopStack(),t=document.documentElement.clientHeight,n=document.documentElement.clientWidth,e.next=5,navigator.mediaDevices.getUserMedia({audio:!0,video:{width:{ideal:n},height:{ideal:t},facingMode:"user"}})["catch"]((function(e){console.log("user--err--",e)}));case 5:r=e.sent,this.bindLocalPicture(r),o=r.getVideoTracks(),i=r.getAudioTracks(),this.RTC.getSenders().forEach((function(e){"video"==e.track.kind?e.replaceTrack(o[0]):"audio"==e.track.kind&&e.replaceTrack(i[0])}));case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cameraRear",value:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(){var t,n,r,o,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("后置"),this.stopStack(),t=document.documentElement.clientHeight,n=document.documentElement.clientWidth,e.next=5,navigator.mediaDevices.getUserMedia({audio:!0,video:{width:{ideal:n},height:{ideal:t},facingMode:"environment"}})["catch"]((function(e){console.log("environment--err--",e)}));case 5:r=e.sent,this.bindLocalPicture(r),o=r.getVideoTracks(),i=r.getAudioTracks(),this.RTC.getSenders().forEach((function(e){"video"==e.track.kind?e.replaceTrack(o[0]):"audio"==e.track.kind&&e.replaceTrack(i[0])}));case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"microphoneChange",value:function(e){var t=document.querySelector("#"+this.localId);if(t.srcObject){var n=t.srcObject.getAudioTracks();n[0].enabled=e}}},{key:"mutedChange",value:function(e){var t=document.querySelector("#audio_remote");if(t.srcObject){var n=t.srcObject.getAudioTracks();n[0].enabled=e}}},{key:"loginOut",value:function(e){var t=Object.assign({type:"login_out"},e);console.log("loginOut--\x3e",t),this.send(t)}},{key:"changePicture",value:function(){console.log("changePicture---\x3e");var e=document.querySelector("#"+this.localId),t=document.querySelector("#"+this.remoteId),n=e.srcObject,r=t.srcObject;console.log(n,r),n&&r&&(e.srcObject=r,t.srcObject=n)}}]),e}(),j=function(e){console.log(g);var t=g[e];if(console.log(t),!t)throw new Error("未找到对应的请求方法!");return function(){return t.apply(void 0,arguments)}},S=function(e,t){var n=t.onOpen,r=t.onClose,o=t.onMessage,i=t.onError,c=t.onReconnect;e.subscribe("open",(function(){console.log("WebSocket连接成功!"),n&&n()})),e.subscribe("close",(function(e){console.log("WebSocket连接关闭!",e),r&&r(e)})),e.subscribe("message",(function(e){o&&o(e)})),e.subscribe("error",(function(e){console.log("WebSocket捕获错误:",e),i&&i(e)})),e.subscribe("reconnect",(function(e){console.log("WebSocket断开重连:",e),c&&c(e)}))},E=function(e,t,n,r){var o={showBand:!0,fullscreen:!0,screenshot:!0,play:!0,audio:!0,useMSE:!0,isMute:!0,onlyPlay:2,refreshNum:5};n&&"object"===Object(v["a"])(n)&&"[object Object]"===Object.prototype.toString.call(n)&&(o=Object.assign(o,n)),console.log("===callback===="),console.log(r);var i=new h265v3({callBack:r||function(){},rtcServe:e.url,wsServe:e.ctrUrl,decUrl:t||"./decoder/decoder-pro.js",videoConfig:o});return i},T=function(e){var t=new k(e);return t},R=function(e,t,n){var r=e||"",o=n||"";return{Action:r,GongHao:t.GongHao,FenJi:t.FenJi,PlatFormCode:t.DepartmentID,Params:o}},P=new WeakMap,C=new WeakMap,I=function(){function e(t,n){var r=this,o=n.onOpen,i=n.onClose,a=n.onMessage,s=n.onError,f=n.initAction;Object(c["a"])(this,e),Object(u["a"])(this,P,{writable:!0,value:null}),Object(u["a"])(this,C,{writable:!0,value:null}),this.config=t,Object.assign(this.config,{checkData:JSON.stringify(R("keeplive",this.config))}),this.socket=j("websocket")(t),S(this.socket,{onOpen:function(e){console.log("====onOpen====="),console.log(r),r.send("Login"),o&&o(e)},onClose:function(e){i&&i(e)},onMessage:function(e){var t=e.data||e;0===t.indexOf("Back_Login(")&&(r.config.AgentGroupName&&r.send("SetGroupRole",r.config.AgentGroupName),f&&f()),a&&a(e)},onError:function(e){s&&s(e)},onReconnect:function(e){r.scoket=e}})}return Object(a["a"])(e,[{key:"send",value:function(e,t){this.socket.send(JSON.stringify(R(e,this.config,t)))}},{key:"getPlayer",value:function(e,t,n,r){return p(this,P)||l(this,P,E(e,t,n,r)),p(this,P)}},{key:"getPhoneClientObj",value:function(e,t){return p(this,C)||(l(this,C,T(e)),t&&p(this,C).initDom(t)),p(this,C)}},{key:"destroy",value:function(){var e=this;p(this,P)&&p(this,P).play265Obj&&Object.keys(p(this,P).play265Obj).forEach((function(t){p(e,P).play265Obj[t].destroy(),delete p(e,P).play265Obj[t]})),l(this,P,null),this.socket.closeSocket(),p(this,C)&&p(this,C).onclose()}}]),e}(),A=function(e,t){var n=t.onOpen,r=t.onClose,o=t.onMessage,i=t.onError,c=t.initAction;return window.WebSocket?new I(e,{onOpen:n,onClose:r,onMessage:o,onError:i,initAction:c}):console.error("您的浏览器不支持WebSocket, 请更换浏览器!")},_={useKUcservice:A,useRequest:j};t["default"]=_},fb6a:function(e,t,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("e8b5"),c=n("68ee"),a=n("861d"),u=n("23cb"),s=n("07fa"),f=n("fc6a"),l=n("8418"),d=n("b622"),p=n("1dde"),v=n("f36a"),h=p("slice"),b=d("species"),y=o.Array,g=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,o,d=f(this),p=s(d),h=u(e,p),m=u(void 0===t?p:t,p);if(i(d)&&(n=d.constructor,c(n)&&(n===y||i(n.prototype))?n=void 0:a(n)&&(n=n[b],null===n&&(n=void 0)),n===y||void 0===n))return v(d,h,m);for(r=new(void 0===n?y:n)(g(m-h,0)),o=0;h<m;h++,o++)h in d&&l(r,o,d[h]);return r.length=o,r}})},fc6a:function(e,t,n){var r=n("44ad"),o=n("1d80");e.exports=function(e){return r(o(e))}},fce3:function(e,t,n){var r=n("d039"),o=n("da84"),i=o.RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,n){var r=n("da84");e.exports=r.Promise}})}));
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["kucservice"]=t():e["kucservice"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"00b4":function(e,t,r){"use strict";r("ac1f");var n=r("23e7"),o=r("da84"),i=r("c65b"),a=r("e330"),c=r("1626"),u=r("861d"),s=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),f=o.Error,l=a(/./.test);n({target:"RegExp",proto:!0,forced:!s},{test:function(e){var t=this.exec;if(!c(t))return l(this,e);var r=i(t,this,e);if(null!==r&&!u(r))throw new f("RegExp exec method returned something other than an Object or null");return!!r}})},"00ee":function(e,t,r){var n=r("b622"),o=n("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},"01b4":function(e,t){var r=function(){this.head=null,this.tail=null};r.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=r},"0366":function(e,t,r){var n=r("e330"),o=r("59ed"),i=r("40d5"),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},"0538":function(e,t,r){"use strict";var n=r("da84"),o=r("e330"),i=r("59ed"),a=r("861d"),c=r("1a2d"),u=r("f36a"),s=r("40d5"),f=n.Function,l=o([].concat),d=o([].join),p={},h=function(e,t,r){if(!c(p,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";p[t]=f("C,a","return new C("+d(n,",")+")")}return p[t](e,r)};e.exports=s?f.bind:function(e){var t=i(this),r=t.prototype,n=u(arguments,1),o=function(){var r=l(n,u(arguments));return this instanceof o?h(t,r.length,r):t.apply(e,r)};return a(r)&&(o.prototype=r),o}},"057f":function(e,t,r){var n=r("c6b6"),o=r("fc6a"),i=r("241c").f,a=r("4dae"),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return i(e)}catch(error){return a(c)}};e.exports.f=function(e){return c&&"Window"==n(e)?u(e):i(o(e))}},"06cf":function(e,t,r){var n=r("83ab"),o=r("c65b"),i=r("d1e7"),a=r("5c6c"),c=r("fc6a"),u=r("a04b"),s=r("1a2d"),f=r("0cfb"),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=c(e),t=u(t),f)try{return l(e,t)}catch(error){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},"07fa":function(e,t,r){var n=r("50c4");e.exports=function(e){return n(e.length)}},"0b42":function(e,t,r){var n=r("da84"),o=r("e8b5"),i=r("68ee"),a=r("861d"),c=r("b622"),u=c("species"),s=n.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,i(t)&&(t===s||o(t.prototype))?t=void 0:a(t)&&(t=t[u],null===t&&(t=void 0))),void 0===t?s:t}},"0cfb":function(e,t,r){var n=r("83ab"),o=r("d039"),i=r("cc12");e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,r){var n=r("e330"),o=r("6eeb"),i=Date.prototype,a="Invalid Date",c="toString",u=n(i[c]),s=n(i.getTime);String(new Date(NaN))!=a&&o(i,c,(function(){var e=s(this);return e===e?u(this):a}))},"0d51":function(e,t,r){var n=r("da84"),o=n.String;e.exports=function(e){try{return o(e)}catch(error){return"Object"}}},"107c":function(e,t,r){var n=r("d039"),o=r("da84"),i=o.RegExp;e.exports=n((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"10d1":function(e,t,r){"use strict";var n,o=r("da84"),i=r("e330"),a=r("e2cc"),c=r("f183"),u=r("6d61"),s=r("acac"),f=r("861d"),l=r("4fad"),d=r("69f3").enforce,p=r("7f9a"),h=!o.ActiveXObject&&"ActiveXObject"in o,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},g=u("WeakMap",v,s);if(p&&h){n=s.getConstructor(v,"WeakMap",!0),c.enable();var b=g.prototype,m=i(b["delete"]),y=i(b.has),k=i(b.get),w=i(b.set);a(b,{delete:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),m(this,e)||t.frozen["delete"](e)}return m(this,e)},has:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),y(this,e)||t.frozen.has(e)}return y(this,e)},get:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),y(this,e)?k(this,e):t.frozen.get(e)}return k(this,e)},set:function(e,t){if(f(e)&&!l(e)){var r=d(this);r.frozen||(r.frozen=new n),y(this,e)?w(this,e,t):r.frozen.set(e,t)}else w(this,e,t);return this}})}},1276:function(e,t,r){"use strict";var n=r("2ba4"),o=r("c65b"),i=r("e330"),a=r("d784"),c=r("44e7"),u=r("825a"),s=r("1d80"),f=r("4840"),l=r("8aa5"),d=r("50c4"),p=r("577e"),h=r("dc4a"),v=r("4dae"),g=r("14c3"),b=r("9263"),m=r("9f7f"),y=r("d039"),k=m.UNSUPPORTED_Y,w=4294967295,x=Math.min,O=[].push,S=i(/./.exec),j=i(O),E=i("".slice),T=!y((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));a("split",(function(e,t,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var i=p(s(this)),a=void 0===r?w:r>>>0;if(0===a)return[];if(void 0===e)return[i];if(!c(e))return o(t,i,e,a);var u,f,l,d=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,h+"g");while(u=o(b,m,i)){if(f=m.lastIndex,f>g&&(j(d,E(i,g,u.index)),u.length>1&&u.index<i.length&&n(O,d,v(u,1)),l=u[0].length,g=f,d.length>=a))break;m.lastIndex===u.index&&m.lastIndex++}return g===i.length?!l&&S(m,"")||j(d,""):j(d,E(i,g)),d.length>a?v(d,0,a):d}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:o(t,this,e,r)}:t,[function(t,r){var n=s(this),a=void 0==t?void 0:h(t,e);return a?o(a,t,n,r):o(i,p(n),t,r)},function(e,n){var o=u(this),a=p(e),c=r(i,o,a,n,i!==t);if(c.done)return c.value;var s=f(o,RegExp),h=o.unicode,v=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(k?"g":"y"),b=new s(k?"^(?:"+o.source+")":o,v),m=void 0===n?w:n>>>0;if(0===m)return[];if(0===a.length)return null===g(b,a)?[a]:[];var y=0,O=0,S=[];while(O<a.length){b.lastIndex=k?0:O;var T,A=g(b,k?E(a,O):a);if(null===A||(T=x(d(b.lastIndex+(k?O:0)),a.length))===y)O=l(a,O,h);else{if(j(S,E(a,y,O)),S.length===m)return S;for(var R=1;R<=A.length-1;R++)if(j(S,A[R]),S.length===m)return S;O=y=T}}return j(S,E(a,y)),S}]}),!T,k)},"131a":function(e,t,r){var n=r("23e7"),o=r("d2bb");n({target:"Object",stat:!0},{setPrototypeOf:o})},"13d5":function(e,t,r){"use strict";var n=r("23e7"),o=r("d58f").left,i=r("a640"),a=r("2d00"),c=r("605d"),u=i("reduce"),s=!c&&a>79&&a<83;n({target:"Array",proto:!0,forced:!u||s},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},"14c3":function(e,t,r){var n=r("da84"),o=r("c65b"),i=r("825a"),a=r("1626"),c=r("c6b6"),u=r("9263"),s=n.TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var n=o(r,e,t);return null!==n&&i(n),n}if("RegExp"===c(e))return o(u,e,t);throw s("RegExp#exec called on incompatible receiver")}},"159b":function(e,t,r){var n=r("da84"),o=r("fdbc"),i=r("785a"),a=r("17c2"),c=r("9112"),u=function(e){if(e&&e.forEach!==a)try{c(e,"forEach",a)}catch(error){e.forEach=a}};for(var s in o)o[s]&&u(n[s]&&n[s].prototype);u(i)},1626:function(e,t){e.exports=function(e){return"function"==typeof e}},"17c2":function(e,t,r){"use strict";var n=r("b727").forEach,o=r("a640"),i=o("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t,r){var n=r("da84"),o=r("3a9b"),i=n.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i("Incorrect invocation")}},"1a2d":function(e,t,r){var n=r("e330"),o=r("7b0b"),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},"1be4":function(e,t,r){var n=r("d066");e.exports=n("document","documentElement")},"1c7e":function(e,t,r){var n=r("b622"),o=n("iterator"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,(function(){throw 2}))}catch(error){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(error){}return r}},"1cdc":function(e,t,r){var n=r("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},"1d1c":function(e,t,r){var n=r("23e7"),o=r("83ab"),i=r("37e8").f;n({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},"1d80":function(e,t,r){var n=r("da84"),o=n.TypeError;e.exports=function(e){if(void 0==e)throw o("Can't call method on "+e);return e}},"1da1":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("d3b7"),r("e6cf");function n(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(error){return void r(error)}c.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,"next",e)}function u(e){n(a,o,i,c,u,"throw",e)}c(void 0)}))}}},"1dde":function(e,t,r){var n=r("d039"),o=r("b622"),i=r("2d00"),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,r){var n=r("da84"),o=r("0366"),i=r("c65b"),a=r("825a"),c=r("0d51"),u=r("e95a"),s=r("07fa"),f=r("3a9b"),l=r("9a1f"),d=r("35a1"),p=r("2a62"),h=n.TypeError,v=function(e,t){this.stopped=e,this.result=t},g=v.prototype;e.exports=function(e,t,r){var n,b,m,y,k,w,x,O=r&&r.that,S=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),T=o(t,O),A=function(e){return n&&p(n,"normal",e),new v(!0,e)},R=function(e){return S?(a(e),E?T(e[0],e[1],A):T(e[0],e[1])):E?T(e,A):T(e)};if(j)n=e;else{if(b=d(e),!b)throw h(c(e)+" is not iterable");if(u(b)){for(m=0,y=s(e);y>m;m++)if(k=R(e[m]),k&&f(g,k))return k;return new v(!1)}n=l(e,b)}w=n.next;while(!(x=i(w,n)).done){try{k=R(x.value)}catch(error){p(n,"throw",error)}if("object"==typeof k&&k&&f(g,k))return k}return new v(!1)}},"23cb":function(e,t,r){var n=r("5926"),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},"23e7":function(e,t,r){var n=r("da84"),o=r("06cf").f,i=r("9112"),a=r("6eeb"),c=r("ce4e"),u=r("e893"),s=r("94ca");e.exports=function(e,t){var r,f,l,d,p,h,v=e.target,g=e.global,b=e.stat;if(f=g?n:b?n[v]||c(v,{}):(n[v]||{}).prototype,f)for(l in t){if(p=t[l],e.noTargetGet?(h=o(f,l),d=h&&h.value):d=f[l],r=s(g?l:v+(b?".":"#")+l,e.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;u(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(f,l,p,e)}}},"241c":function(e,t,r){var n=r("ca84"),o=r("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},"25f0":function(e,t,r){"use strict";var n=r("e330"),o=r("5e77").PROPER,i=r("6eeb"),a=r("825a"),c=r("3a9b"),u=r("577e"),s=r("d039"),f=r("ad6d"),l="toString",d=RegExp.prototype,p=d[l],h=n(f),v=s((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),g=o&&p.name!=l;(v||g)&&i(RegExp.prototype,l,(function(){var e=a(this),t=u(e.source),r=e.flags,n=u(void 0===r&&c(d,e)&&!("flags"in d)?h(e):r);return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,r){"use strict";var n=r("d066"),o=r("9bf2"),i=r("b622"),a=r("83ab"),c=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},"277d":function(e,t,r){var n=r("23e7"),o=r("e8b5");n({target:"Array",stat:!0},{isArray:o})},2909:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));r("277d");function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e){if(Array.isArray(e))return n(e)}r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("e260"),r("3ca3"),r("ddb0"),r("a630");function i(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}r("fb6a"),r("b0c0"),r("ac1f"),r("00b4");function a(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}r("d9e2"),r("d401");function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e){return o(e)||i(e)||a(e)||c()}},"2a62":function(e,t,r){var n=r("c65b"),o=r("825a"),i=r("dc4a");e.exports=function(e,t,r){var a,c;o(e);try{if(a=i(e,"return"),!a){if("throw"===t)throw r;return r}a=n(a,e)}catch(error){c=!0,a=error}if("throw"===t)throw r;if(c)throw a;return o(a),r}},"2ba4":function(e,t,r){var n=r("40d5"),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},"2cf4":function(e,t,r){var n,o,i,a,c=r("da84"),u=r("2ba4"),s=r("0366"),f=r("1626"),l=r("1a2d"),d=r("d039"),p=r("1be4"),h=r("f36a"),v=r("cc12"),g=r("d6d6"),b=r("1cdc"),m=r("605d"),y=c.setImmediate,k=c.clearImmediate,w=c.process,x=c.Dispatch,O=c.Function,S=c.MessageChannel,j=c.String,E=0,T={},A="onreadystatechange";try{n=c.location}catch(error){}var R=function(e){if(l(T,e)){var t=T[e];delete T[e],t()}},I=function(e){return function(){R(e)}},C=function(e){R(e.data)},P=function(e){c.postMessage(j(e),n.protocol+"//"+n.host)};y&&k||(y=function(e){g(arguments.length,1);var t=f(e)?e:O(e),r=h(arguments,1);return T[++E]=function(){u(t,void 0,r)},o(E),E},k=function(e){delete T[e]},m?o=function(e){w.nextTick(I(e))}:x&&x.now?o=function(e){x.now(I(e))}:S&&!b?(i=new S,a=i.port2,i.port1.onmessage=C,o=s(a.postMessage,a)):c.addEventListener&&f(c.postMessage)&&!c.importScripts&&n&&"file:"!==n.protocol&&!d(P)?(o=P,c.addEventListener("message",C,!1)):o=A in v("script")?function(e){p.appendChild(v("script"))[A]=function(){p.removeChild(this),R(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:y,clear:k}},"2d00":function(e,t,r){var n,o,i=r("da84"),a=r("342f"),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(n=f.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),e.exports=o},3410:function(e,t,r){var n=r("23e7"),o=r("d039"),i=r("7b0b"),a=r("e163"),c=r("e177"),u=o((function(){a(1)}));n({target:"Object",stat:!0,forced:u,sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},"342f":function(e,t,r){var n=r("d066");e.exports=n("navigator","userAgent")||""},"35a1":function(e,t,r){var n=r("f5df"),o=r("dc4a"),i=r("3f8c"),a=r("b622"),c=a("iterator");e.exports=function(e){if(void 0!=e)return o(e,c)||o(e,"@@iterator")||i[n(e)]}},"37e8":function(e,t,r){var n=r("83ab"),o=r("aed9"),i=r("9bf2"),a=r("825a"),c=r("fc6a"),u=r("df75");t.f=n&&!o?Object.defineProperties:function(e,t){a(e);var r,n=c(t),o=u(t),s=o.length,f=0;while(s>f)i.f(e,r=o[f++],n[r]);return e}},"3a9b":function(e,t,r){var n=r("e330");e.exports=n({}.isPrototypeOf)},"3bbe":function(e,t,r){var n=r("da84"),o=r("1626"),i=n.String,a=n.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},"3ca3":function(e,t,r){"use strict";var n=r("6547").charAt,o=r("577e"),i=r("69f3"),a=r("7dd0"),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,t=s(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"408a":function(e,t,r){var n=r("e330");e.exports=n(1..valueOf)},"40d5":function(e,t,r){var n=r("d039");e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4160:function(e,t,r){"use strict";var n=r("23e7"),o=r("17c2");n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},4269:function(e,t,r){"use strict";r.r(t),r.d(t,"useSocket",(function(){return T}));r("d9e2"),r("d401");function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r("b8bf"),r("7a82"),r("131a");function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}r("4ae1"),r("d3b7"),r("f8c9"),r("3410");function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function c(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var u=r("53ca");function s(e,t){if(t&&("object"===Object(u["a"])(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)}function f(e){var t=c();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return s(this,r)}}r("e260"),r("4ec9"),r("3ca3"),r("ddb0"),r("c975"),r("0d03"),r("25f0");function l(e){return-1!==Function.toString.call(e).indexOf("[native code]")}r("c0b6");function d(e,t,r){return d=c()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=Function.bind.apply(e,n),a=new i;return r&&o(a,r.prototype),a},d.apply(null,arguments)}function p(e){var t="function"===typeof Map?new Map:void 0;return p=function(e){if(null===e||!l(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,e)},p(e)}var h=r("d4ec"),v=r("bee2"),g=r("ade3"),b=(r("4160"),r("159b"),r("b64b"),r("13d5"),r("99af"),r("cca6"),r("4795"),r("caad"),r("e9c4"),["open","close","message","error","reconnect"]),m=3e4,y=4e4,k=10,w={Type:1,Parameters:["alive"]},x=1e3;function O(e){if(!e&&"object"!==Object(u["a"])(e))throw new Error("error arguments","deepClone");var t=e.constructor===Array?[]:{};return Object.keys(e).forEach((function(r){e[r]&&"object"===Object(u["a"])(e[r])?t[r]=O(e[r]):t[r]=e[r]})),t}var S=function(){function e(){Object(h["a"])(this,e),Object(g["a"])(this,"deps",new Map)}return Object(v["a"])(e,[{key:"depend",value:function(e,t){this.deps.set(e,t)}},{key:"notify",value:function(e,t){this.deps.has(e)&&this.deps.get(e)(t)}}]),e}(),j=function(e){i(r,e);var t=f(r);function r(e,o){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,c=arguments.length>3?arguments[3]:void 0;Object(h["a"])(this,r);var s="",f=e.url,l=e.protocols,d=e.query,p=void 0===d?{}:d,v=e.greet,b=void 0===v?null:v,y=e.customBase,x=void 0===y?null:y,O=e.checkData,S=Object.keys(p).reduce((function(e,t){return"object"!==Object(u["a"])(p[t])&&"function"!==typeof p[t]?e+(e.length>0?"&".concat(t,"=").concat(p[t]):"".concat(t,"=").concat(p[t])):e}),"");return x&&(s=x),i=t.call(this,"".concat(s).concat(f).concat(S?"?"+S:""),l),Object(g["a"])(n(i),"heartCheckData",w),Object(g["a"])(n(i),"heartCheckTimeout",m),Object(g["a"])(n(i),"heartCheckInterval",null),Object(g["a"])(n(i),"heartCheckCount",k),Object(g["a"])(n(i),"firstConnect",!1),i.self=c,i._currentOptions=e,i._dep=o,i.heartCheckData=O||w,i._reconnectCount=a,b&&Object.assign(n(i),{heartCheckData:b}),i.initSocket(),i}return Object(v["a"])(r,[{key:"initSocket",value:function(){this.onopen=function(e){this._dep.notify("open",e),this.firstConnect=!0,this.heartCheckStart()},this.onclose=function(e){var t=this;if(this._dep.notify("close",e),e.code!==x){var n;this._reconnectCount++;var o=O(this._currentOptions);this.firstConnect&&(o.query.type="reconnect"),(null===(n=this.self)||void 0===n?void 0:n.socketTimer)&&clearTimeout(this.self.socketTimer),this.self&&(this.self.socketTimer=setTimeout((function(){var e=new r(o,t._dep,t._reconnectCount,t.self);t._dep.notify("reconnect",e)}),y))}},this.onerror=function(e){this._dep.notify("error",e)},this.onmessage=function(e){var t=this;if(e.data instanceof Blob){var r=new FileReader;r.readAsArrayBuffer(e.data),r.onload=function(e){var r;e.target.readyState===FileReader.DONE&&t._dep.notify("message",null===(r=e.target)||void 0===r?void 0:r.result)}}else try{this._dep.notify("message",e.data)}catch(error){console.log(error)}}}},{key:"subscribe",value:function(e,t){if("function"!==typeof t)throw new Error("The second param is must be a function");if(!b.includes(e))throw new Error("The first param is not supported");this._dep.depend(e,t)}},{key:"sendMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.transformJSON,n=void 0===r||r,o=e;n&&(o=JSON.stringify(e)),this.send(o)}},{key:"closeSocket",value:function(e,t){this.clearHeartCheck(),console.log("=====close code===",e,t),this.close(e,t)}},{key:"heartCheckStart",value:function(){var e=this;this.heartCheckInterval=setInterval((function(){if(e.readyState===e.OPEN){var t="object"===Object(u["a"])(e.heartCheckData);e.sendMessage(e.heartCheckData,{transformJSON:t})}else e.clearHeartCheck()}),this.heartCheckTimeout)}},{key:"clearHeartCheck",value:function(){clearInterval(this.heartCheckInterval)}},{key:"resetHeartCheck",value:function(){clearInterval(this.heartCheckInterval),this.heartCheckStart()}}]),r}(p(WebSocket)),E={url:"",protocols:"",customBase:null,query:{}},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;if(!window.WebSocket)return console.error("您的浏览器不支持WebSocket, 请更换浏览器!");var r=new S,n=0;return new j(e,r,n,t)}},"428f":function(e,t,r){var n=r("da84");e.exports=n},"44ad":function(e,t,r){var n=r("da84"),o=r("e330"),i=r("d039"),a=r("c6b6"),c=n.Object,u=o("".split);e.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):c(e)}:c},"44d2":function(e,t,r){var n=r("b622"),o=r("7c73"),i=r("9bf2"),a=n("unscopables"),c=Array.prototype;void 0==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},"44de":function(e,t,r){var n=r("da84");e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},"44e7":function(e,t,r){var n=r("861d"),o=r("c6b6"),i=r("b622"),a=i("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},"45fc":function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").some,i=r("a640"),a=i("some");n({target:"Array",proto:!0,forced:!a},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},4795:function(e,t,r){var n=r("23e7"),o=r("da84"),i=r("2ba4"),a=r("1626"),c=r("342f"),u=r("f36a"),s=r("d6d6"),f=/MSIE .\./.test(c),l=o.Function,d=function(e){return function(t,r){var n=s(arguments.length,1)>2,o=a(t)?t:l(t),c=n?u(arguments,2):void 0;return e(n?function(){i(o,this,c)}:o,r)}};n({global:!0,bind:!0,forced:f},{setTimeout:d(o.setTimeout),setInterval:d(o.setInterval)})},4840:function(e,t,r){var n=r("825a"),o=r("5087"),i=r("b622"),a=i("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},"485a":function(e,t,r){var n=r("da84"),o=r("c65b"),i=r("1626"),a=r("861d"),c=n.TypeError;e.exports=function(e,t){var r,n;if("string"===t&&i(r=e.toString)&&!a(n=o(r,e)))return n;if(i(r=e.valueOf)&&!a(n=o(r,e)))return n;if("string"!==t&&i(r=e.toString)&&!a(n=o(r,e)))return n;throw c("Can't convert object to primitive value")}},4930:function(e,t,r){var n=r("2d00"),o=r("d039");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"4ae1":function(e,t,r){var n=r("23e7"),o=r("d066"),i=r("2ba4"),a=r("0538"),c=r("5087"),u=r("825a"),s=r("861d"),f=r("7c73"),l=r("d039"),d=o("Reflect","construct"),p=Object.prototype,h=[].push,v=l((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),g=!l((function(){d((function(){}))})),b=v||g;n({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,t){c(e),u(t);var r=arguments.length<3?e:c(arguments[2]);if(g&&!v)return d(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return i(h,n,t),new(i(a,e,n))}var o=r.prototype,l=f(s(o)?o:p),b=i(e,l,t);return s(b)?b:l}})},"4d64":function(e,t,r){var n=r("fc6a"),o=r("23cb"),i=r("07fa"),a=function(e){return function(t,r,a){var c,u=n(t),s=i(u),f=o(a,s);if(e&&r!=r){while(s>f)if(c=u[f++],c!=c)return!0}else for(;s>f;f++)if((e||f in u)&&u[f]===r)return e||f||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4dae":function(e,t,r){var n=r("da84"),o=r("23cb"),i=r("07fa"),a=r("8418"),c=n.Array,u=Math.max;e.exports=function(e,t,r){for(var n=i(e),s=o(t,n),f=o(void 0===r?n:r,n),l=c(u(f-s,0)),d=0;s<f;s++,d++)a(l,d,e[s]);return l.length=d,l}},"4de4":function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").filter,i=r("1dde"),a=i("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,r){"use strict";var n=r("da84"),o=r("0366"),i=r("c65b"),a=r("7b0b"),c=r("9bdd"),u=r("e95a"),s=r("68ee"),f=r("07fa"),l=r("8418"),d=r("9a1f"),p=r("35a1"),h=n.Array;e.exports=function(e){var t=a(e),r=s(this),n=arguments.length,v=n>1?arguments[1]:void 0,g=void 0!==v;g&&(v=o(v,n>2?arguments[2]:void 0));var b,m,y,k,w,x,O=p(t),S=0;if(!O||this==h&&u(O))for(b=f(t),m=r?new this(b):h(b);b>S;S++)x=g?v(t[S],S):t[S],l(m,S,x);else for(k=d(t,O),w=k.next,m=r?new this:[];!(y=i(w,k)).done;S++)x=g?c(k,v,[y.value,S],!0):y.value,l(m,S,x);return m.length=S,m}},"4ec9":function(e,t,r){"use strict";var n=r("6d61"),o=r("6566");n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},"4fad":function(e,t,r){var n=r("d039"),o=r("861d"),i=r("c6b6"),a=r("d86b"),c=Object.isExtensible,u=n((function(){c(1)}));e.exports=u||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!=i(e))&&(!c||c(e)))}:c},5087:function(e,t,r){var n=r("da84"),o=r("68ee"),i=r("0d51"),a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},"50c4":function(e,t,r){var n=r("5926"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},5180:function(e,t,r){var n={"./http.js":"8177","./websocket.js":"4269"};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id="5180"},"53ca":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("e260"),r("3ca3"),r("ddb0");function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}},5692:function(e,t,r){var n=r("c430"),o=r("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(e,t,r){var n=r("d066"),o=r("e330"),i=r("241c"),a=r("7418"),c=r("825a"),u=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),r=a.f;return r?u(t,r(e)):t}},"577e":function(e,t,r){var n=r("da84"),o=r("f5df"),i=n.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,r){var n=r("e330"),o=r("1d80"),i=r("577e"),a=r("5899"),c=n("".replace),u="["+a+"]",s=RegExp("^"+u+u+"*"),f=RegExp(u+u+"*$"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=c(r,s,"")),2&e&&(r=c(r,f,"")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},5926:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?n:r)(t)}},"59ed":function(e,t,r){var n=r("da84"),o=r("1626"),i=r("0d51"),a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e77":function(e,t,r){var n=r("83ab"),o=r("1a2d"),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},"605d":function(e,t,r){var n=r("c6b6"),o=r("da84");e.exports="process"==n(o.process)},6069:function(e,t){e.exports="object"==typeof window},"60da":function(e,t,r){"use strict";var n=r("83ab"),o=r("e330"),i=r("c65b"),a=r("d039"),c=r("df75"),u=r("7418"),s=r("d1e7"),f=r("7b0b"),l=r("44ad"),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[r]||c(d({},t)).join("")!=o}))?function(e,t){var r=f(e),o=arguments.length,a=1,d=u.f,p=s.f;while(o>a){var v,g=l(arguments[a++]),b=d?h(c(g),d(g)):c(g),m=b.length,y=0;while(m>y)v=b[y++],n&&!i(p,g,v)||(r[v]=g[v])}return r}:d},6547:function(e,t,r){var n=r("e330"),o=r("5926"),i=r("577e"),a=r("1d80"),c=n("".charAt),u=n("".charCodeAt),s=n("".slice),f=function(e){return function(t,r){var n,f,l=i(a(t)),d=o(r),p=l.length;return d<0||d>=p?e?"":void 0:(n=u(l,d),n<55296||n>56319||d+1===p||(f=u(l,d+1))<56320||f>57343?e?c(l,d):n:e?s(l,d,d+2):f-56320+(n-55296<<10)+65536)}};e.exports={codeAt:f(!1),charAt:f(!0)}},6566:function(e,t,r){"use strict";var n=r("9bf2").f,o=r("7c73"),i=r("e2cc"),a=r("0366"),c=r("19aa"),u=r("2266"),s=r("7dd0"),f=r("2626"),l=r("83ab"),d=r("f183").fastKey,p=r("69f3"),h=p.set,v=p.getterFor;e.exports={getConstructor:function(e,t,r,s){var f=e((function(e,n){c(e,p),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),l||(e.size=0),void 0!=n&&u(n,e[s],{that:e,AS_ENTRIES:r})})),p=f.prototype,g=v(t),b=function(e,t,r){var n,o,i=g(e),a=m(e,t);return a?a.value=r:(i.last=a={index:o=d(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),l?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,t){var r,n=g(e),o=d(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(p,{clear:function(){var e=this,t=g(e),r=t.index,n=t.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete r[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:e.size=0},delete:function(e){var t=this,r=g(t),n=m(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),l?r.size--:t.size--}return!!n},forEach:function(e){var t,r=g(this),n=a(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:r.first){n(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!m(this,e)}}),i(p,r?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return b(this,0===e?0:e,t)}}:{add:function(e){return b(this,e=0===e?0:e,e)}}),l&&n(p,"size",{get:function(){return g(this).size}}),f},setStrong:function(e,t,r){var n=t+" Iterator",o=v(t),i=v(n);s(e,t,(function(e,t){h(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=i(this),t=e.kind,r=e.last;while(r&&r.removed)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(t)}}},"65f0":function(e,t,r){var n=r("0b42");e.exports=function(e,t){return new(n(e))(0===t?0:t)}},"68ee":function(e,t,r){var n=r("e330"),o=r("d039"),i=r("1626"),a=r("f5df"),c=r("d066"),u=r("8925"),s=function(){},f=[],l=c("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),h=!d.exec(s),v=function(e){if(!i(e))return!1;try{return l(s,f,e),!0}catch(error){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(error){return!0}};g.sham=!0,e.exports=!l||o((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?g:v},"69f3":function(e,t,r){var n,o,i,a=r("7f9a"),c=r("da84"),u=r("e330"),s=r("861d"),f=r("9112"),l=r("1a2d"),d=r("c6cd"),p=r("f772"),h=r("d012"),v="Object already initialized",g=c.TypeError,b=c.WeakMap,m=function(e){return i(e)?o(e):n(e,{})},y=function(e){return function(t){var r;if(!s(t)||(r=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}};if(a||d.state){var k=d.state||(d.state=new b),w=u(k.get),x=u(k.has),O=u(k.set);n=function(e,t){if(x(k,e))throw new g(v);return t.facade=e,O(k,e,t),t},o=function(e){return w(k,e)||{}},i=function(e){return x(k,e)}}else{var S=p("state");h[S]=!0,n=function(e,t){if(l(e,S))throw new g(v);return t.facade=e,f(e,S,t),t},o=function(e){return l(e,S)?e[S]:{}},i=function(e){return l(e,S)}}e.exports={set:n,get:o,has:i,enforce:m,getterFor:y}},"6d61":function(e,t,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("e330"),a=r("94ca"),c=r("6eeb"),u=r("f183"),s=r("2266"),f=r("19aa"),l=r("1626"),d=r("861d"),p=r("d039"),h=r("1c7e"),v=r("d44e"),g=r("7156");e.exports=function(e,t,r){var b=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=b?"set":"add",k=o[e],w=k&&k.prototype,x=k,O={},S=function(e){var t=i(w[e]);c(w,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(m&&!d(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return m&&!d(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!d(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})},j=a(e,!l(k)||!(m||w.forEach&&!p((function(){(new k).entries().next()}))));if(j)x=r.getConstructor(t,e,b,y),u.enable();else if(a(e,!0)){var E=new x,T=E[y](m?{}:-0,1)!=E,A=p((function(){E.has(1)})),R=h((function(e){new k(e)})),I=!m&&p((function(){var e=new k,t=5;while(t--)e[y](t,t);return!e.has(-0)}));R||(x=t((function(e,t){f(e,w);var r=g(new k,e,x);return void 0!=t&&s(t,r[y],{that:r,AS_ENTRIES:b}),r})),x.prototype=w,w.constructor=x),(A||I)&&(S("delete"),S("has"),b&&S("get")),(I||T)&&S(y),m&&w.clear&&delete w.clear}return O[e]=x,n({global:!0,forced:x!=k},O),v(x,e),m||r.setStrong(x,e,b),x}},"6eeb":function(e,t,r){var n=r("da84"),o=r("1626"),i=r("1a2d"),a=r("9112"),c=r("ce4e"),u=r("8925"),s=r("69f3"),f=r("5e77").CONFIGURABLE,l=s.get,d=s.enforce,p=String(String).split("String");(e.exports=function(e,t,r,u){var s,l=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet,g=u&&void 0!==u.name?u.name:t;o(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||f&&r.name!==g)&&a(r,"name",g),s=d(r),s.source||(s.source=p.join("string"==typeof g?g:""))),e!==n?(l?!v&&e[t]&&(h=!0):delete e[t],h?e[t]=r:a(e,t,r)):h?e[t]=r:c(t,r)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||u(this)}))},7156:function(e,t,r){var n=r("1626"),o=r("861d"),i=r("d2bb");e.exports=function(e,t,r){var a,c;return i&&n(a=t.constructor)&&a!==r&&o(c=a.prototype)&&c!==r.prototype&&i(e,c),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,r){var n=r("428f"),o=r("1a2d"),i=r("e538"),a=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,r){var n=r("cc12"),o=n("span").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},"7a82":function(e,t,r){var n=r("23e7"),o=r("83ab"),i=r("9bf2").f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},"7b0b":function(e,t,r){var n=r("da84"),o=r("1d80"),i=n.Object;e.exports=function(e){return i(o(e))}},"7c73":function(e,t,r){var n,o=r("825a"),i=r("37e8"),a=r("7839"),c=r("d012"),u=r("1be4"),s=r("cc12"),f=r("f772"),l=">",d="<",p="prototype",h="script",v=f("IE_PROTO"),g=function(){},b=function(e){return d+h+l+e+d+"/"+h+l},m=function(e){e.write(b("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=s("iframe"),r="java"+h+":";return t.style.display="none",u.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(b("document.F=Object")),e.close(),e.F},k=function(){try{n=new ActiveXObject("htmlfile")}catch(error){}k="undefined"!=typeof document?document.domain&&n?m(n):y():m(n);var e=a.length;while(e--)delete k[p][a[e]];return k()};c[v]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[p]=o(e),r=new g,g[p]=null,r[v]=e):r=k(),void 0===t?r:i.f(r,t)}},"7db0":function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").find,i=r("44d2"),a="find",c=!0;a in[]&&Array(1)[a]((function(){c=!1})),n({target:"Array",proto:!0,forced:c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),o=r("c65b"),i=r("c430"),a=r("5e77"),c=r("1626"),u=r("9ed3"),s=r("e163"),f=r("d2bb"),l=r("d44e"),d=r("9112"),p=r("6eeb"),h=r("b622"),v=r("3f8c"),g=r("ae93"),b=a.PROPER,m=a.CONFIGURABLE,y=g.IteratorPrototype,k=g.BUGGY_SAFARI_ITERATORS,w=h("iterator"),x="keys",O="values",S="entries",j=function(){return this};e.exports=function(e,t,r,a,h,g,E){u(r,t,a);var T,A,R,I=function(e){if(e===h&&L)return L;if(!k&&e in M)return M[e];switch(e){case x:return function(){return new r(this,e)};case O:return function(){return new r(this,e)};case S:return function(){return new r(this,e)}}return function(){return new r(this)}},C=t+" Iterator",P=!1,M=e.prototype,D=M[w]||M["@@iterator"]||h&&M[h],L=!k&&D||I(h),_="Array"==t&&M.entries||D;if(_&&(T=s(_.call(new e)),T!==Object.prototype&&T.next&&(i||s(T)===y||(f?f(T,y):c(T[w])||p(T,w,j)),l(T,C,!0,!0),i&&(v[C]=j))),b&&h==O&&D&&D.name!==O&&(!i&&m?d(M,"name",O):(P=!0,L=function(){return o(D,this)})),h)if(A={values:I(O),keys:g?L:I(x),entries:I(S)},E)for(R in A)(k||P||!(R in M))&&p(M,R,A[R]);else n({target:t,proto:!0,forced:k||P},A);return i&&!E||M[w]===L||p(M,w,L,{name:h}),v[t]=L,A}},"7f9a":function(e,t,r){var n=r("da84"),o=r("1626"),i=r("8925"),a=n.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},8177:function(e,t,r){"use strict";r.r(t),r.d(t,"useHttp",(function(){return p}));var n=r("1da1"),o=r("2909"),i=(r("b64b"),r("a4d3"),r("4de4"),r("d3b7"),r("e439"),r("4160"),r("159b"),r("dbb4"),r("1d1c"),r("7a82"),r("ade3"));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=r("d4ec"),s=r("bee2"),f=r("d5e4"),l=(r("96cf"),r("c975"),r("99af"),r("e6cf"),r("d9e2"),r("d401"),r("e260"),r("3ca3"),r("10d1"),r("ddb0"),new WeakMap),d=function(){function e(t,r,n,i){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0;Object(u["a"])(this,e),Object(f["a"])(this,l,{writable:!0,value:null}),this.url=t,this.method=r,this.data=n,this.headers=headers,this.success=s,this.fail=d,this.abort=new AbortController;var p=[t,c({method:r,body:n,signal:this.abort.signal},i)];if("GET"==r&&n&&Object.keys(n).length>0){var h="?";for(var v in t.indexOf("?")>-1&&(h="&"),n)h+="".concat(v,"=").concat(n[v],"&");t+=h,p=[t,c({method:r,signal:this.abort.signal},i)]}a?fetch.apply(void 0,Object(o["a"])(p)).then((function(e){200==e.status?s&&s(e.json()):console.log("请求出错")}))["catch"]((function(e){d&&d()})):this.initAsync(p,s,d)}return Object(s["a"])(e,[{key:"initAsync",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r,n){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch.apply(void 0,Object(o["a"])(t));case 2:if(i=e.sent,!(i.status>=200&&i.status<300)){e.next=10;break}return e.next=6,i.text();case 6:a=e.sent,r&&r(a),e.next=12;break;case 10:throw n&&n(i),new Error(i.statusText);case 12:case"end":return e.stop()}}),e)})));function t(t,r,n){return e.apply(this,arguments)}return t}()},{key:"getAbort",value:function(){return this.abort}}]),e}(),p=function(e,t,r,n){var o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;return window.fetch?new d(e,t,r,n,!0,o,i):console.error("您的浏览器不支持fetch, 请更换浏览器!")}},"81d5":function(e,t,r){"use strict";var n=r("7b0b"),o=r("23cb"),i=r("07fa");e.exports=function(e){var t=n(this),r=i(t),a=arguments.length,c=o(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,s=void 0===u?r:o(u,r);while(s>c)t[c++]=e;return t}},"825a":function(e,t,r){var n=r("da84"),o=r("861d"),i=n.String,a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){"use strict";var n=r("a04b"),o=r("9bf2"),i=r("5c6c");e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},"861d":function(e,t,r){var n=r("1626");e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},8875:function(e,t,r){var n,o,i;(function(r,a){o=[],n=a,i="function"===typeof n?n.apply(t,o):n,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(err){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,c=i.exec(err.stack)||a.exec(err.stack),u=c&&c[1]||!1,s=c&&c[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===f&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===u)return l[d];if(u===f&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return e}))},8925:function(e,t,r){var n=r("e330"),o=r("1626"),i=r("c6cd"),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"90e3":function(e,t,r){var n=r("e330"),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},9112:function(e,t,r){var n=r("83ab"),o=r("9bf2"),i=r("5c6c");e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},9263:function(e,t,r){"use strict";var n=r("c65b"),o=r("e330"),i=r("577e"),a=r("ad6d"),c=r("9f7f"),u=r("5692"),s=r("7c73"),f=r("69f3").get,l=r("fce3"),d=r("107c"),p=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,g=o("".charAt),b=o("".indexOf),m=o("".replace),y=o("".slice),k=function(){var e=/a/,t=/b*/g;return n(h,e,"a"),n(h,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=c.BROKEN_CARET,x=void 0!==/()??/.exec("")[1],O=k||x||w||l||d;O&&(v=function(e){var t,r,o,c,u,l,d,O=this,S=f(O),j=i(e),E=S.raw;if(E)return E.lastIndex=O.lastIndex,t=n(v,E,j),O.lastIndex=E.lastIndex,t;var T=S.groups,A=w&&O.sticky,R=n(a,O),I=O.source,C=0,P=j;if(A&&(R=m(R,"y",""),-1===b(R,"g")&&(R+="g"),P=y(j,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&"\n"!==g(j,O.lastIndex-1))&&(I="(?: "+I+")",P=" "+P,C++),r=new RegExp("^(?:"+I+")",R)),x&&(r=new RegExp("^"+I+"$(?!\\s)",R)),k&&(o=O.lastIndex),c=n(h,A?r:O,P),A?c?(c.input=y(c.input,C),c[0]=y(c[0],C),c.index=O.lastIndex,O.lastIndex+=c[0].length):O.lastIndex=0:k&&c&&(O.lastIndex=O.global?c.index+c[0].length:o),x&&c&&c.length>1&&n(p,c[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(c[u]=void 0)})),c&&T)for(c.groups=l=s(null),u=0;u<T.length;u++)d=T[u],l[d[0]]=c[d[1]];return c}),e.exports=v},"94ca":function(e,t,r){var n=r("d039"),o=r("1626"),i=/#|\.prototype\./,a=function(e,t){var r=u[c(e)];return r==f||r!=s&&(o(t)?n(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";e.exports=a},"96cf":function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(err){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new R(n||[]);return i._invoke=j(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(err){return{type:"throw",arg:err}}}e.wrap=s;var l="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function g(){}function b(){}function m(){}var y={};u(y,i,(function(){return this}));var k=Object.getPrototypeOf,w=k&&k(k(I([])));w&&w!==r&&n.call(w,i)&&(y=w);var x=m.prototype=g.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,i,a,c){var u=f(e[o],e,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"===typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var o;function i(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function j(e,t,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return C()}r.method=o,r.arg=i;while(1){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=f(e,t,r);if("normal"===u.type){if(n=r.done?h:d,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=h,r.method="throw",r.arg=u.arg)}}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator["return"]&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function I(e){if(e){var r=e[i];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){while(++o<e.length)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return b.prototype=m,u(x,"constructor",m),u(m,"constructor",b),b.displayName=u(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},O(S.prototype),u(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(x),u(x,c,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=I,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},"99af":function(e,t,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("d039"),a=r("e8b5"),c=r("861d"),u=r("7b0b"),s=r("07fa"),f=r("8418"),l=r("65f0"),d=r("1dde"),p=r("b622"),h=r("2d00"),v=p("isConcatSpreadable"),g=9007199254740991,b="Maximum allowed index exceeded",m=o.TypeError,y=h>=51||!i((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),k=d("concat"),w=function(e){if(!c(e))return!1;var t=e[v];return void 0!==t?!!t:a(e)},x=!y||!k;n({target:"Array",proto:!0,forced:x},{concat:function(e){var t,r,n,o,i,a=u(this),c=l(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(i=-1===t?a:arguments[t],w(i)){if(o=s(i),d+o>g)throw m(b);for(r=0;r<o;r++,d++)r in i&&f(c,d,i[r])}else{if(d>=g)throw m(b);f(c,d++,i)}return c.length=d,c}})},"9a1f":function(e,t,r){var n=r("da84"),o=r("c65b"),i=r("59ed"),a=r("825a"),c=r("0d51"),u=r("35a1"),s=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(i(r))return a(o(r,e));throw s(c(e)+" is not iterable")}},"9bdd":function(e,t,r){var n=r("825a"),o=r("2a62");e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(error){o(e,"throw",error)}}},"9bf2":function(e,t,r){var n=r("da84"),o=r("83ab"),i=r("0cfb"),a=r("aed9"),c=r("825a"),u=r("a04b"),s=n.TypeError,f=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";t.f=o?a?function(e,t,r){if(c(e),t=u(t),c(r),"function"===typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return f(e,t,r)}:f:function(e,t,r){if(c(e),t=u(t),c(r),i)try{return f(e,t,r)}catch(error){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,o=r("7c73"),i=r("5c6c"),a=r("d44e"),c=r("3f8c"),u=function(){return this};e.exports=function(e,t,r,s){var f=t+" Iterator";return e.prototype=o(n,{next:i(+!s,r)}),a(e,f,!1,!0),c[f]=u,e}},"9f7f":function(e,t,r){var n=r("d039"),o=r("da84"),i=o.RegExp,a=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),c=a||n((function(){return!i("a","y").sticky})),u=a||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:c,UNSUPPORTED_Y:a}},a04b:function(e,t,r){var n=r("c04e"),o=r("d9b5");e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},a4b4:function(e,t,r){var n=r("342f");e.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(e,t,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("d066"),a=r("2ba4"),c=r("c65b"),u=r("e330"),s=r("c430"),f=r("83ab"),l=r("4930"),d=r("d039"),p=r("1a2d"),h=r("e8b5"),v=r("1626"),g=r("861d"),b=r("3a9b"),m=r("d9b5"),y=r("825a"),k=r("7b0b"),w=r("fc6a"),x=r("a04b"),O=r("577e"),S=r("5c6c"),j=r("7c73"),E=r("df75"),T=r("241c"),A=r("057f"),R=r("7418"),I=r("06cf"),C=r("9bf2"),P=r("37e8"),M=r("d1e7"),D=r("f36a"),L=r("6eeb"),_=r("5692"),B=r("f772"),N=r("d012"),F=r("90e3"),V=r("b622"),U=r("e538"),G=r("746f"),z=r("d44e"),J=r("69f3"),W=r("b727").forEach,H=B("hidden"),q="Symbol",K="prototype",Q=V("toPrimitive"),Y=J.set,Z=J.getterFor(q),X=Object[K],$=o.Symbol,ee=$&&$[K],te=o.TypeError,re=o.QObject,ne=i("JSON","stringify"),oe=I.f,ie=C.f,ae=A.f,ce=M.f,ue=u([].push),se=_("symbols"),fe=_("op-symbols"),le=_("string-to-symbol-registry"),de=_("symbol-to-string-registry"),pe=_("wks"),he=!re||!re[K]||!re[K].findChild,ve=f&&d((function(){return 7!=j(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=oe(X,t);n&&delete X[t],ie(e,t,r),n&&e!==X&&ie(X,t,n)}:ie,ge=function(e,t){var r=se[e]=j(ee);return Y(r,{type:q,tag:e,description:t}),f||(r.description=t),r},be=function(e,t,r){e===X&&be(fe,t,r),y(e);var n=x(t);return y(r),p(se,n)?(r.enumerable?(p(e,H)&&e[H][n]&&(e[H][n]=!1),r=j(r,{enumerable:S(0,!1)})):(p(e,H)||ie(e,H,S(1,{})),e[H][n]=!0),ve(e,n,r)):ie(e,n,r)},me=function(e,t){y(e);var r=w(t),n=E(r).concat(Oe(r));return W(n,(function(t){f&&!c(ke,r,t)||be(e,t,r[t])})),e},ye=function(e,t){return void 0===t?j(e):me(j(e),t)},ke=function(e){var t=x(e),r=c(ce,this,t);return!(this===X&&p(se,t)&&!p(fe,t))&&(!(r||!p(this,t)||!p(se,t)||p(this,H)&&this[H][t])||r)},we=function(e,t){var r=w(e),n=x(t);if(r!==X||!p(se,n)||p(fe,n)){var o=oe(r,n);return!o||!p(se,n)||p(r,H)&&r[H][n]||(o.enumerable=!0),o}},xe=function(e){var t=ae(w(e)),r=[];return W(t,(function(e){p(se,e)||p(N,e)||ue(r,e)})),r},Oe=function(e){var t=e===X,r=ae(t?fe:w(e)),n=[];return W(r,(function(e){!p(se,e)||t&&!p(X,e)||ue(n,se[e])})),n};if(l||($=function(){if(b(ee,this))throw te("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?O(arguments[0]):void 0,t=F(e),r=function(e){this===X&&c(r,fe,e),p(this,H)&&p(this[H],t)&&(this[H][t]=!1),ve(this,t,S(1,e))};return f&&he&&ve(X,t,{configurable:!0,set:r}),ge(t,e)},ee=$[K],L(ee,"toString",(function(){return Z(this).tag})),L($,"withoutSetter",(function(e){return ge(F(e),e)})),M.f=ke,C.f=be,P.f=me,I.f=we,T.f=A.f=xe,R.f=Oe,U.f=function(e){return ge(V(e),e)},f&&(ie(ee,"description",{configurable:!0,get:function(){return Z(this).description}}),s||L(X,"propertyIsEnumerable",ke,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:$}),W(E(pe),(function(e){G(e)})),n({target:q,stat:!0,forced:!l},{for:function(e){var t=O(e);if(p(le,t))return le[t];var r=$(t);return le[t]=r,de[r]=t,r},keyFor:function(e){if(!m(e))throw te(e+" is not a symbol");if(p(de,e))return de[e]},useSetter:function(){he=!0},useSimple:function(){he=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!f},{create:ye,defineProperty:be,defineProperties:me,getOwnPropertyDescriptor:we}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:xe,getOwnPropertySymbols:Oe}),n({target:"Object",stat:!0,forced:d((function(){R.f(1)}))},{getOwnPropertySymbols:function(e){return R.f(k(e))}}),ne){var Se=!l||d((function(){var e=$();return"[null]"!=ne([e])||"{}"!=ne({a:e})||"{}"!=ne(Object(e))}));n({target:"JSON",stat:!0,forced:Se},{stringify:function(e,t,r){var n=D(arguments),o=t;if((g(t)||void 0!==e)&&!m(e))return h(t)||(t=function(e,t){if(v(o)&&(t=c(o,this,e,t)),!m(t))return t}),n[1]=t,a(ne,null,n)}})}if(!ee[Q]){var je=ee.valueOf;L(ee,Q,(function(e){return c(je,this)}))}z($,q),N[H]=!0},a630:function(e,t,r){var n=r("23e7"),o=r("4df4"),i=r("1c7e"),a=!i((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:a},{from:o})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},a9e3:function(e,t,r){"use strict";var n=r("83ab"),o=r("da84"),i=r("e330"),a=r("94ca"),c=r("6eeb"),u=r("1a2d"),s=r("7156"),f=r("3a9b"),l=r("d9b5"),d=r("c04e"),p=r("d039"),h=r("241c").f,v=r("06cf").f,g=r("9bf2").f,b=r("408a"),m=r("58a8").trim,y="Number",k=o[y],w=k.prototype,x=o.TypeError,O=i("".slice),S=i("".charCodeAt),j=function(e){var t=d(e,"number");return"bigint"==typeof t?t:E(t)},E=function(e){var t,r,n,o,i,a,c,u,s=d(e,"number");if(l(s))throw x("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=m(s),t=S(s,0),43===t||45===t){if(r=S(s,2),88===r||120===r)return NaN}else if(48===t){switch(S(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(i=O(s,2),a=i.length,c=0;c<a;c++)if(u=S(i,c),u<48||u>o)return NaN;return parseInt(i,n)}return+s};if(a(y,!k(" 0o1")||!k("0b1")||k("+0x1"))){for(var T,A=function(e){var t=arguments.length<1?0:k(j(e)),r=this;return f(w,r)&&p((function(){b(r)}))?s(Object(t),r,A):t},R=n?h(k):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),I=0;R.length>I;I++)u(k,T=R[I])&&!u(A,T)&&g(A,T,v(k,T));A.prototype=w,w.constructor=A,c(o,y,A)}},aa1f:function(e,t,r){"use strict";var n=r("83ab"),o=r("d039"),i=r("825a"),a=r("7c73"),c=r("e391"),u=Error.prototype.toString,s=o((function(){if(n){var e=a(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==u.call(e))return!0}return"2: 1"!==u.call({message:1,name:2})||"Error"!==u.call({})}));e.exports=s?function(){var e=i(this),t=c(e.name,"Error"),r=c(e.message);return t?r?t+": "+r:t:r}:u},ab36:function(e,t,r){var n=r("861d"),o=r("9112");e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},ac1f:function(e,t,r){"use strict";var n=r("23e7"),o=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},acac:function(e,t,r){"use strict";var n=r("e330"),o=r("e2cc"),i=r("f183").getWeakData,a=r("825a"),c=r("861d"),u=r("19aa"),s=r("2266"),f=r("b727"),l=r("1a2d"),d=r("69f3"),p=d.set,h=d.getterFor,v=f.find,g=f.findIndex,b=n([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new k)},k=function(){this.entries=[]},w=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};k.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var r=w(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&b(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var f=e((function(e,o){u(e,d),p(e,{type:t,id:m++,frozen:void 0}),void 0!=o&&s(o,e[n],{that:e,AS_ENTRIES:r})})),d=f.prototype,v=h(t),g=function(e,t,r){var n=v(e),o=i(a(t),!0);return!0===o?y(n).set(t,r):o[n.id]=r,e};return o(d,{delete:function(e){var t=v(this);if(!c(e))return!1;var r=i(e);return!0===r?y(t)["delete"](e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=v(this);if(!c(e))return!1;var r=i(e);return!0===r?y(t).has(e):r&&l(r,t.id)}}),o(d,r?{get:function(e){var t=v(this);if(c(e)){var r=i(e);return!0===r?y(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),f}}},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ade3:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("7a82");function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},ae93:function(e,t,r){"use strict";var n,o,i,a=r("d039"),c=r("1626"),u=r("7c73"),s=r("e163"),f=r("6eeb"),l=r("b622"),d=r("c430"),p=l("iterator"),h=!1;[].keys&&(i=[].keys(),"next"in i?(o=s(s(i)),o!==Object.prototype&&(n=o)):h=!0);var v=void 0==n||a((function(){var e={};return n[p].call(e)!==e}));v?n={}:d&&(n=u(n)),c(n[p])||f(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},aed9:function(e,t,r){var n=r("83ab"),o=r("d039");e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b041:function(e,t,r){"use strict";var n=r("00ee"),o=r("f5df");e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(e,t,r){var n=r("83ab"),o=r("5e77").EXISTS,i=r("e330"),a=r("9bf2").f,c=Function.prototype,u=i(c.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(s.exec),l="name";n&&!o&&a(c,l,{configurable:!0,get:function(){try{return f(s,u(this))[1]}catch(error){return""}}})},b575:function(e,t,r){var n,o,i,a,c,u,s,f,l=r("da84"),d=r("0366"),p=r("06cf").f,h=r("2cf4").set,v=r("1cdc"),g=r("d4c3"),b=r("a4b4"),m=r("605d"),y=l.MutationObserver||l.WebKitMutationObserver,k=l.document,w=l.process,x=l.Promise,O=p(l,"queueMicrotask"),S=O&&O.value;S||(n=function(){var e,t;m&&(e=w.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(error){throw o?a():i=void 0,error}}i=void 0,e&&e.enter()},v||m||b||!y||!k?!g&&x&&x.resolve?(s=x.resolve(void 0),s.constructor=x,f=d(s.then,s),a=function(){f(n)}):m?a=function(){w.nextTick(n)}:(h=d(h,l),a=function(){h(n)}):(c=!0,u=k.createTextNode(""),new y(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},b622:function(e,t,r){var n=r("da84"),o=r("5692"),i=r("1a2d"),a=r("90e3"),c=r("4930"),u=r("fdbf"),s=o("wks"),f=n.Symbol,l=f&&f["for"],d=u?f:f&&f.withoutSetter||a;e.exports=function(e){if(!i(s,e)||!c&&"string"!=typeof s[e]){var t="Symbol."+e;c&&i(f,e)?s[e]=f[e]:s[e]=u&&l?l(t):d(t)}return s[e]}},b64b:function(e,t,r){var n=r("23e7"),o=r("7b0b"),i=r("df75"),a=r("d039"),c=a((function(){i(1)}));n({target:"Object",stat:!0,forced:c},{keys:function(e){return i(o(e))}})},b727:function(e,t,r){var n=r("0366"),o=r("e330"),i=r("44ad"),a=r("7b0b"),c=r("07fa"),u=r("65f0"),s=o([].push),f=function(e){var t=1==e,r=2==e,o=3==e,f=4==e,l=6==e,d=7==e,p=5==e||l;return function(h,v,g,b){for(var m,y,k=a(h),w=i(k),x=n(v,g),O=c(w),S=0,j=b||u,E=t?j(h,O):r||d?j(h,0):void 0;O>S;S++)if((p||S in w)&&(m=w[S],y=x(m,S,k),e))if(t)E[S]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:s(E,m)}else switch(e){case 4:return!1;case 7:s(E,m)}return l?-1:o||f?f:E}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},b8bf:function(e,t,r){var n=r("23e7"),o=r("83ab"),i=r("7c73");n({target:"Object",stat:!0,sham:!o},{create:i})},b980:function(e,t,r){var n=r("d039"),o=r("5c6c");e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bee2:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("7a82");function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},c04e:function(e,t,r){var n=r("da84"),o=r("c65b"),i=r("861d"),a=r("d9b5"),c=r("dc4a"),u=r("485a"),s=r("b622"),f=n.TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,n=c(e,l);if(n){if(void 0===t&&(t="default"),r=o(n,e,t),!i(r)||a(r))return r;throw f("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},c0b6:function(e,t,r){var n=r("23e7"),o=r("0538");n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},c430:function(e,t){e.exports=!1},c65b:function(e,t,r){var n=r("40d5"),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(e,t,r){var n=r("e330"),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},c6cd:function(e,t,r){var n=r("da84"),o=r("ce4e"),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},c770:function(e,t,r){var n=r("e330"),o=n("".replace),i=function(e){return String(Error(e).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(i);e.exports=function(e,t){if(c&&"string"==typeof e)while(t--)e=o(e,a,"");return e}},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c975:function(e,t,r){"use strict";var n=r("23e7"),o=r("e330"),i=r("4d64").indexOf,a=r("a640"),c=o([].indexOf),u=!!c&&1/c([1],1,-0)<0,s=a("indexOf");n({target:"Array",proto:!0,forced:u||!s},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?c(this,e,t)||0:i(this,e,t)}})},ca84:function(e,t,r){var n=r("e330"),o=r("1a2d"),i=r("fc6a"),a=r("4d64").indexOf,c=r("d012"),u=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,f=[];for(r in n)!o(c,r)&&o(n,r)&&u(f,r);while(t.length>s)o(n,r=t[s++])&&(~a(f,r)||u(f,r));return f}},caad:function(e,t,r){"use strict";var n=r("23e7"),o=r("4d64").includes,i=r("44d2");n({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},cb29:function(e,t,r){var n=r("23e7"),o=r("81d5"),i=r("44d2");n({target:"Array",proto:!0},{fill:o}),i("fill")},cc12:function(e,t,r){var n=r("da84"),o=r("861d"),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},cca6:function(e,t,r){var n=r("23e7"),o=r("60da");n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(e,t,r){var n=r("825a"),o=r("861d"),i=r("f069");e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},ce4e:function(e,t,r){var n=r("da84"),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(error){n[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(error){return!0}}},d066:function(e,t,r){var n=r("da84"),o=r("1626"),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r("746f");n("iterator")},d2bb:function(e,t,r){var n=r("e330"),o=r("825a"),i=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(r,[]),t=r instanceof Array}catch(error){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},d3b7:function(e,t,r){var n=r("00ee"),o=r("6eeb"),i=r("b041");n||o(Object.prototype,"toString",i,{unsafe:!0})},d401:function(e,t,r){var n=r("6eeb"),o=r("aa1f"),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},d44e:function(e,t,r){var n=r("9bf2").f,o=r("1a2d"),i=r("b622"),a=i("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,a)&&n(e,a,{configurable:!0,value:t})}},d4c3:function(e,t,r){var n=r("342f"),o=r("da84");e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},d4ec:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("d9e2"),r("d401");function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},d58f:function(e,t,r){var n=r("da84"),o=r("59ed"),i=r("7b0b"),a=r("44ad"),c=r("07fa"),u=n.TypeError,s=function(e){return function(t,r,n,s){o(r);var f=i(t),l=a(f),d=c(f),p=e?d-1:0,h=e?-1:1;if(n<2)while(1){if(p in l){s=l[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw u("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=h)p in l&&(s=r(s,l[p],p,f));return s}};e.exports={left:s(!1),right:s(!0)}},d5e4:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("d9e2"),r("d401");function n(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function o(e,t,r){n(e,t),t.set(e,r)}},d6d6:function(e,t,r){var n=r("da84"),o=n.TypeError;e.exports=function(e,t){if(e<t)throw o("Not enough arguments");return e}},d784:function(e,t,r){"use strict";r("ac1f");var n=r("e330"),o=r("6eeb"),i=r("9263"),a=r("d039"),c=r("b622"),u=r("9112"),s=c("species"),f=RegExp.prototype;e.exports=function(e,t,r,l){var d=c(e),p=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!a((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[s]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](""),!t}));if(!p||!h||r){var v=n(/./[d]),g=t(d,""[e],(function(e,t,r,o,a){var c=n(e),u=t.exec;return u===i||u===f.exec?p&&!a?{done:!0,value:v(t,r,o)}:{done:!0,value:c(r,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(f,d,g[1])}l&&u(f[d],"sham",!0)}},d86b:function(e,t,r){var n=r("d039");e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},d9b5:function(e,t,r){var n=r("da84"),o=r("d066"),i=r("1626"),a=r("3a9b"),c=r("fdbf"),u=n.Object;e.exports=c?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&a(t.prototype,u(e))}},d9e2:function(e,t,r){var n=r("23e7"),o=r("da84"),i=r("2ba4"),a=r("e5cb"),c="WebAssembly",u=o[c],s=7!==Error("e",{cause:7}).cause,f=function(e,t){var r={};r[e]=a(e,t,s),n({global:!0,forced:s},r)},l=function(e,t){if(u&&u[e]){var r={};r[e]=a(c+"."+e,t,s),n({target:c,stat:!0,forced:s},r)}};f("Error",(function(e){return function(t){return i(e,this,arguments)}})),f("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),f("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),f("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),f("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),f("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),f("URIError",(function(e){return function(t){return i(e,this,arguments)}})),l("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),l("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),l("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,r){var n=r("23e7"),o=r("83ab"),i=r("56ef"),a=r("fc6a"),c=r("06cf"),u=r("8418");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),o=c.f,s=i(n),f={},l=0;while(s.length>l)r=o(n,t=s[l++]),void 0!==r&&u(f,t,r);return f}})},dc4a:function(e,t,r){var n=r("59ed");e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},ddb0:function(e,t,r){var n=r("da84"),o=r("fdbc"),i=r("785a"),a=r("e260"),c=r("9112"),u=r("b622"),s=u("iterator"),f=u("toStringTag"),l=a.values,d=function(e,t){if(e){if(e[s]!==l)try{c(e,s,l)}catch(error){e[s]=l}if(e[f]||c(e,f,t),o[t])for(var r in a)if(e[r]!==a[r])try{c(e,r,a[r])}catch(error){e[r]=a[r]}}};for(var p in o)d(n[p]&&n[p].prototype,p);d(i,"DOMTokenList")},df75:function(e,t,r){var n=r("ca84"),o=r("7839");e.exports=Object.keys||function(e){return n(e,o)}},e01a:function(e,t,r){"use strict";var n=r("23e7"),o=r("83ab"),i=r("da84"),a=r("e330"),c=r("1a2d"),u=r("1626"),s=r("3a9b"),f=r("577e"),l=r("9bf2").f,d=r("e893"),p=i.Symbol,h=p&&p.prototype;if(o&&u(p)&&(!("description"in h)||void 0!==p().description)){var v={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),t=s(h,this)?new p(e):void 0===e?p():p(e);return""===e&&(v[t]=!0),t};d(g,p),g.prototype=h,h.constructor=g;var b="Symbol(test)"==String(p("test")),m=a(h.toString),y=a(h.valueOf),k=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),x=a("".slice);l(h,"description",{configurable:!0,get:function(){var e=y(this),t=m(e);if(c(v,e))return"";var r=b?x(t,7,-1):w(t,k,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:g})}},e163:function(e,t,r){var n=r("da84"),o=r("1a2d"),i=r("1626"),a=r("7b0b"),c=r("f772"),u=r("e177"),s=c("IE_PROTO"),f=n.Object,l=f.prototype;e.exports=u?f.getPrototypeOf:function(e){var t=a(e);if(o(t,s))return t[s];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof f?l:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,r){"use strict";var n=r("fc6a"),o=r("44d2"),i=r("3f8c"),a=r("69f3"),c=r("9bf2").f,u=r("7dd0"),s=r("c430"),f=r("83ab"),l="Array Iterator",d=a.set,p=a.getterFor(l);e.exports=u(Array,"Array",(function(e,t){d(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{c(h,"name",{value:"values"})}catch(error){}},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},e330:function(e,t,r){var n=r("40d5"),o=Function.prototype,i=o.bind,a=o.call,c=n&&i.bind(a,a);e.exports=n?function(e){return e&&c(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},e391:function(e,t,r){var n=r("577e");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},e439:function(e,t,r){var n=r("23e7"),o=r("d039"),i=r("fc6a"),a=r("06cf").f,c=r("83ab"),u=o((function(){a(1)})),s=!c||u;n({target:"Object",stat:!0,forced:s,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e5cb:function(e,t,r){"use strict";var n=r("d066"),o=r("1a2d"),i=r("9112"),a=r("3a9b"),c=r("d2bb"),u=r("e893"),s=r("7156"),f=r("e391"),l=r("ab36"),d=r("c770"),p=r("b980"),h=r("c430");e.exports=function(e,t,r,v){var g=v?2:1,b=e.split("."),m=b[b.length-1],y=n.apply(null,b);if(y){var k=y.prototype;if(!h&&o(k,"cause")&&delete k.cause,!r)return y;var w=n("Error"),x=t((function(e,t){var r=f(v?t:e,void 0),n=v?new y(e):new y;return void 0!==r&&i(n,"message",r),p&&i(n,"stack",d(n.stack,2)),this&&a(k,this)&&s(n,this,x),arguments.length>g&&l(n,arguments[g]),n}));if(x.prototype=k,"Error"!==m&&(c?c(x,w):u(x,w,{name:!0})),u(x,y),!h)try{k.name!==m&&i(k,"name",m),k.constructor=x}catch(error){}return x}}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(error){return{error:!0,value:error}}}},e6cf:function(e,t,r){"use strict";var n,o,i,a,c=r("23e7"),u=r("c430"),s=r("da84"),f=r("d066"),l=r("c65b"),d=r("fea9"),p=r("6eeb"),h=r("e2cc"),v=r("d2bb"),g=r("d44e"),b=r("2626"),m=r("59ed"),y=r("1626"),k=r("861d"),w=r("19aa"),x=r("8925"),O=r("2266"),S=r("1c7e"),j=r("4840"),E=r("2cf4").set,T=r("b575"),A=r("cdf9"),R=r("44de"),I=r("f069"),C=r("e667"),P=r("01b4"),M=r("69f3"),D=r("94ca"),L=r("b622"),_=r("6069"),B=r("605d"),N=r("2d00"),F=L("species"),V="Promise",U=M.getterFor(V),G=M.set,z=M.getterFor(V),J=d&&d.prototype,W=d,H=J,q=s.TypeError,K=s.document,Q=s.process,Y=I.f,Z=Y,X=!!(K&&K.createEvent&&s.dispatchEvent),$=y(s.PromiseRejectionEvent),ee="unhandledrejection",te="rejectionhandled",re=0,ne=1,oe=2,ie=1,ae=2,ce=!1,ue=D(V,(function(){var e=x(W),t=e!==String(W);if(!t&&66===N)return!0;if(u&&!H["finally"])return!0;if(N>=51&&/native code/.test(e))return!1;var r=new W((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},o=r.constructor={};return o[F]=n,ce=r.then((function(){}))instanceof n,!ce||!t&&_&&!$})),se=ue||!S((function(e){W.all(e)["catch"]((function(){}))})),fe=function(e){var t;return!(!k(e)||!y(t=e.then))&&t},le=function(e,t){var r,n,o,i=t.value,a=t.state==ne,c=a?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{c?(a||(t.rejection===ae&&ge(t),t.rejection=ie),!0===c?r=i:(f&&f.enter(),r=c(i),f&&(f.exit(),o=!0)),r===e.promise?s(q("Promise-chain cycle")):(n=fe(r))?l(n,r,u,s):u(r)):s(i)}catch(error){f&&!o&&f.exit(),s(error)}},de=function(e,t){e.notified||(e.notified=!0,T((function(){var r,n=e.reactions;while(r=n.get())le(r,e);e.notified=!1,t&&!e.rejection&&he(e)})))},pe=function(e,t,r){var n,o;X?(n=K.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),s.dispatchEvent(n)):n={promise:t,reason:r},!$&&(o=s["on"+e])?o(n):e===ee&&R("Unhandled promise rejection",r)},he=function(e){l(E,s,(function(){var t,r=e.facade,n=e.value,o=ve(e);if(o&&(t=C((function(){B?Q.emit("unhandledRejection",n,r):pe(ee,r,n)})),e.rejection=B||ve(e)?ae:ie,t.error))throw t.value}))},ve=function(e){return e.rejection!==ie&&!e.parent},ge=function(e){l(E,s,(function(){var t=e.facade;B?Q.emit("rejectionHandled",t):pe(te,t,e.value)}))},be=function(e,t,r){return function(n){e(t,n,r)}},me=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=oe,de(e,!0))},ye=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw q("Promise can't be resolved itself");var n=fe(t);n?T((function(){var r={done:!1};try{l(n,t,be(ye,r,e),be(me,r,e))}catch(error){me(r,error,e)}})):(e.value=t,e.state=ne,de(e,!1))}catch(error){me({done:!1},error,e)}}};if(ue&&(W=function(e){w(this,H),m(e),l(n,this);var t=U(this);try{e(be(ye,t),be(me,t))}catch(error){me(t,error)}},H=W.prototype,n=function(e){G(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new P,rejection:!1,state:re,value:void 0})},n.prototype=h(H,{then:function(e,t){var r=z(this),n=Y(j(this,W));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=B?Q.domain:void 0,r.state==re?r.reactions.add(n):T((function(){le(n,r)})),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=U(e);this.promise=e,this.resolve=be(ye,t),this.reject=be(me,t)},I.f=Y=function(e){return e===W||e===i?new o(e):Z(e)},!u&&y(d)&&J!==Object.prototype)){a=J.then,ce||(p(J,"then",(function(e,t){var r=this;return new W((function(e,t){l(a,r,e,t)})).then(e,t)}),{unsafe:!0}),p(J,"catch",H["catch"],{unsafe:!0}));try{delete J.constructor}catch(error){}v&&v(J,H)}c({global:!0,wrap:!0,forced:ue},{Promise:W}),g(W,V,!1,!0),b(V),i=f(V),c({target:V,stat:!0,forced:ue},{reject:function(e){var t=Y(this);return l(t.reject,void 0,e),t.promise}}),c({target:V,stat:!0,forced:u||ue},{resolve:function(e){return A(u&&this===i?W:this,e)}}),c({target:V,stat:!0,forced:se},{all:function(e){var t=this,r=Y(t),n=r.resolve,o=r.reject,i=C((function(){var r=m(t.resolve),i=[],a=0,c=1;O(e,(function(e){var u=a++,s=!1;c++,l(r,t,e).then((function(e){s||(s=!0,i[u]=e,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=Y(t),n=r.reject,o=C((function(){var o=m(t.resolve);O(e,(function(e){l(o,t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},e893:function(e,t,r){var n=r("1a2d"),o=r("56ef"),i=r("06cf"),a=r("9bf2");e.exports=function(e,t,r){for(var c=o(t),u=a.f,s=i.f,f=0;f<c.length;f++){var l=c[f];n(e,l)||r&&n(r,l)||u(e,l,s(t,l))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e95a:function(e,t,r){var n=r("b622"),o=r("3f8c"),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},e9c4:function(e,t,r){var n=r("23e7"),o=r("da84"),i=r("d066"),a=r("2ba4"),c=r("e330"),u=r("d039"),s=o.Array,f=i("JSON","stringify"),l=c(/./.exec),d=c("".charAt),p=c("".charCodeAt),h=c("".replace),v=c(1..toString),g=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,m=/^[\uDC00-\uDFFF]$/,y=function(e,t,r){var n=d(r,t-1),o=d(r,t+1);return l(b,e)&&!l(m,o)||l(m,e)&&!l(b,n)?"\\u"+v(p(e,0),16):e},k=u((function(){return'"\\udf06\\ud834"'!==f("\udf06\ud834")||'"\\udead"'!==f("\udead")}));f&&n({target:"JSON",stat:!0,forced:k},{stringify:function(e,t,r){for(var n=0,o=arguments.length,i=s(o);n<o;n++)i[n]=arguments[n];var c=a(f,null,i);return"string"==typeof c?h(c,g,y):c}})},f069:function(e,t,r){"use strict";var n=r("59ed"),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},f183:function(e,t,r){var n=r("23e7"),o=r("e330"),i=r("d012"),a=r("861d"),c=r("1a2d"),u=r("9bf2").f,s=r("241c"),f=r("057f"),l=r("4fad"),d=r("90e3"),p=r("bb2f"),h=!1,v=d("meta"),g=0,b=function(e){u(e,v,{value:{objectID:"O"+g++,weakData:{}}})},m=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,v)){if(!l(e))return"F";if(!t)return"E";b(e)}return e[v].objectID},y=function(e,t){if(!c(e,v)){if(!l(e))return!0;if(!t)return!1;b(e)}return e[v].weakData},k=function(e){return p&&h&&l(e)&&!c(e,v)&&b(e),e},w=function(){x.enable=function(){},h=!0;var e=s.f,t=o([].splice),r={};r[v]=1,e(r).length&&(s.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===v){t(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},x=e.exports={enable:w,fastKey:m,getWeakData:y,onFreeze:k};i[v]=!0},f36a:function(e,t,r){var n=r("e330");e.exports=n([].slice)},f5df:function(e,t,r){var n=r("da84"),o=r("00ee"),i=r("1626"),a=r("c6b6"),c=r("b622"),u=c("toStringTag"),s=n.Object,f="Arguments"==a(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(error){}};e.exports=o?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=l(t=s(e),u))?r:f?a(t):"Object"==(n=a(t))&&i(t.callee)?"Arguments":n}},f772:function(e,t,r){var n=r("5692"),o=r("90e3"),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},f8c9:function(e,t,r){var n=r("23e7"),o=r("da84"),i=r("d44e");n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},fb15:function(e,t,r){"use strict";if(r.r(t),"undefined"!==typeof window){var n=window.document.currentScript,o=r("8875");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("d4ec"),c=r("bee2"),u=r("d5e4");r("d9e2"),r("d401");function s(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function f(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function l(e,t,r){var n=f(e,t,"set");return s(e,n,r),r}function d(e,t){return t.get?t.get.call(e):t.value}function p(e,t){var r=f(e,t,"get");return d(e,r)}var h=r("53ca"),v=(r("d3b7"),r("cca6"),r("e9c4"),r("c975"),r("4160"),r("159b"),r("b64b"),r("e260"),r("3ca3"),r("10d1"),r("ddb0"),r("ade3")),g=(r("13d5"),r("ac1f"),r("1276"),r("fb6a"),r("5180")),b=g.keys().reduce((function(e,t){return Object.assign(e,Object(v["a"])({},t.split("/").slice(-1)[0].split(".")[0],g(t)[Object.keys(g(t))[0]])),e}),{});console.log("=====modulesFiles========"),console.log(b);var m=b,y=r("2909"),k=r("1da1");r("96cf"),r("7a82"),r("e6cf"),r("a9e3"),r("4795"),r("0d03"),r("45fc"),r("7db0"),r("25f0"),r("99af"),r("cb29"),r("00b4"),r("4de4"),r("277d");console.log("Library wexWebSip Build time: 2026_3_24 13:58:15");var w=Object.defineProperty,x=function(e,t,r){return t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},O=function(e,t,r){return x(e,"symbol"!=Object(h["a"])(t)?t+"":t,r),r};console.log("webphone version 1.0.2 2026-03-02 支持视频呼叫无摄像和麦克风能正常接听");var S=function(){function e(t){Object(a["a"])(this,e),O(this,"socket",null),O(this,"RTC",null),O(this,"bindLocalPicture",(function(e){var t=document.getElementById("local_video");e&&(t.srcObject=e,t.onloadedmetadata=function(){t.play()})})),this.wsUrl=t,this.Offer=null,this.localId="local_video",this.remoteId="",this.remoteAudioId="",this.videoStream=null,this.audioStream=null,this.timeOutKL=null,this.reloadObj={num:0,maxNum:10,timeOut:null,reloadTime:5e3,href:""},this.mediaSet={video:!0,audio:!0},this.shareGetAudio=!1,this.requestAnimationFrameTimer=null,this.presentStream="user",this.displayMedia=null,this.callData={},this.callInType=2,this.socketCode=-1,this.compatible(),this.createRTC(),this.localCameraStaus=!0}return Object(c["a"])(e,[{key:"compatible",value:function(){var e=this;window.RTCPeerConnection=window.RTCPeerConnection||window.webkitRTCPeerConnection||window.mozRTCPeerConnection||window.msRTCPeerConnection,void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia||navigator.oGetUserMedia;return t?new Promise((function(r,n){t.call(navigator,e,r,n)})):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}()),window.addEventListener("online",(function(){console.log("网络连接恢复!"),e.messageBack&&e.messageBack.call(null,{type:"online",code:-8,message:"网络已恢复!"})})),window.addEventListener("offline",(function(){console.log("网络连接断开!"),e.messageBack&&e.messageBack.call(null,{type:"offline",code:-8,message:"网络已断开!"})}))}},{key:"newSocket",value:function(){if(this.socket&&(console.log(this.socket),this.onclose(),this.socket=null),this.online()){if(!this.wsUrl)throw new Error("前端提示:WebSocket缺少baseURL!");this.socket=new WebSocket(this.wsUrl),this.initSocekt()}else console.log("当前网络差,无法连接")}},{key:"initSocekt",value:function(){this.open(),this.message(),this.error(),this.close(),this.disconnect()}},{key:"online",value:function(){var e=!0;return e=!!navigator.onLine,e}},{key:"onbeforeunload",value:function(){console.log("页面关闭")}},{key:"onunload",value:function(){console.log("页面刷新")}},{key:"checkReadyState",value:function(){return Number(this.socket.readyState)}},{key:"open",value:function(){var e=this,t=this;this.socket.onopen=function(){var r=Object(k["a"])(regeneratorRuntime.mark((function r(n){var o,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:o=e.checkReadyState(),t.socketCode=o,i="",r.t0=Number(o),r.next=1===r.t0?6:2===r.t0?8:3===r.t0?10:12;break;case 6:return console.log("连接成功"),i="socket连接成功_"+n.type,t.num=0,t.keepLive(),r.abrupt("break",12);case 8:return console.log("连接正在关闭"),i="socket连接正在关闭_"+n.type,r.abrupt("break",12);case 10:return console.log("连接已经关闭,或失败"),i="socket连接失败_"+n.type,t.reloadObj.num=t.reloadObj.num+1,t.reloadObj.num>=t.reloadObj.maxNum?(i="大于最大连接次数,停止连接,返回首页",console.log("大于最大连接次数,停止连接,返回首页"),t.reloadObj.href&&(window.location.href=t.reloadObj.href),t.reloadObj.timeOut&&clearTimeout(t.reloadObj.timeOut),t.reloadObj.timeOut=setTimeout((function(){t.close()}),t.reloadObj.reloadTime)):console.log("继续连接"),r.abrupt("break",12);case 12:console.log("open---\x3e",t.messageBack),t.messageBack&&(1==o?t.messageBack.call(null,{type:n.type,code:200,message:i}):t.messageBack.call(null,{type:n.type,code:-1,err:i}));case 13:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}()}},{key:"keepLive",value:function(){var e=this;this.timeOutKL&&clearTimeout(this.timeOutKL),this.timeOutKL=setTimeout((function(){e.send({type:"keepAlive"})}),1e3*(e.keepLiveTime?e.keepLiveTime:30))}},{key:"message",value:function(){var e=this,t=this;console.log("message--\x3e"),this.socket.onmessage=function(r){var n=r.data,o={};if(n){var i=JSON.parse(n),a="";switch(i.type){case"login":a="登录成功";break;case"on_answer":a="已接听",t.setRemote(i.sdp);break;case"on_new_call":t.callInType=i.isvideo?"2":"1",a="有来电呼叫",o={isvideo:i.isvideo,fromtel:i.from||""};break;case"on_ack":a="来电接听成功",t.setRemote(i.sdp);break;case"on_hangup":console.log("被动动挂断电话"),a="已挂断",e.RTC&&t.RTC.getSenders().forEach((function(e){e&&e.track&&e.track.stop()})),e.stopStack(),e.RTC=null;var c=document.getElementById(e.remoteId);c.srcObject=null,t.requestAnimationFrameTimer&&cancelAnimationFrame(t.requestAnimationFrameTimer),e.createRTC();break;case"hangup":a="您已挂断",console.log("主动挂断电话"),e.stopStack();break;case"keepAlive":e.keepLive();break}i.result?"keepAlive"!==i.type&&t.messageBack.call(null,{code:200,type:i.type,message:a,data:o}):(t.stopStack(),t.messageBack.call(null,{code:-1,type:i.type,err:"失败_"+i.reason||!1}))}else t.stopStack(),console.log("服务器无返回数据--")}}},{key:"reloadSockte",value:function(){var e=this;this.reloadObj.num=this.reloadObj.num+1,e.reloadObj.timeOut&&clearTimeout(e.reloadObj.timeOut),this.reloadObj.num>=this.reloadObj.maxNum?(e.reloadObj.href&&(window.location.href=e.reloadObj.href),e.messageBack.call(null,{code:-1,type:"error",err:"重连已达到"+this.reloadObj.maxNum+"次,请刷新后重试"})):e.reloadObj.timeOut=setTimeout((function(){e.newSocket()}),e.reloadObj.reloadTime)}},{key:"errorReloadCont",value:function(e){var t=this;this.errorTime=setTimeout((function(){t.newSocket()}),1e3*(e||10))}},{key:"clearErrorTime",value:function(){clearTimeout(this.errorTime)}},{key:"error",value:function(){var e=this,t=this;this.socket.onerror=function(r){var n={type:r.type,code:-4,err:"socket连接错误_"+r.type},o=new Date,i=o.getMinutes(),a=o.getSeconds();console.log("err----minute--\x3e",i,a),clearTimeout(e.reloadObj.timeOut),t.messageBack.call(null,n)}}},{key:"close",value:function(){var e=this,t=this;this.socket.onclose=function(r){console.log("close---\x3e",r);var n={type:r.type,code:-1,err:"socket连接已关闭_"+r.type};e.reloadObj.timeOut&&clearTimeout(e.reloadObj.timeOut),e.timeOutKL&&clearInterval(e.timeOutKL),t.messageBack.call(null,n)}}},{key:"setSocketReloadConfig",value:function(e){this.reloadObj=Object.assign(this.reloadObj,e||{})}},{key:"disconnect",value:function(){var e=this;this.socket.disconnect=function(t){console.log("disconnect",t),e.socketCode=5;var r={type:t.type,code:-1,err:"连接已断开_"+t.type};e.messageBack.call(null,r)}}},{key:"onclose",value:function(){var e=this.checkReadyState();console.log("code--\x3e",e);var t=new Date,r=t.getMinutes(),n=t.getSeconds();if(console.log("minute--\x3e",r,n),1==e)this.socket.close();else if(2!=e){var o={type:"close",code:-1,err:"socket连接已关闭_"+e};clearTimeout(this.reloadObj.timeOut),this.messageBack.call(null,o)}}},{key:"send",value:function(e){var t=e;if(this.online()){var r=this.checkReadyState();if(1==r)this.socket.send(JSON.stringify(t));else{var n=new Date,o=n.getMinutes(),i=n.getSeconds();console.log("err----minute--\x3e",o,i),this.messageBack.call(null,{code:-3,type:"error",err:"连接异常_"+r})}}else this.messageBack.call(null,{code:-2,type:"internet",err:"当前网络差,请检查网络后重试"})}},{key:"createRTC",value:function(e){var t=this,r={};this.RTC&&(this.RTC=null),this.RTC=new RTCPeerConnection(e||r),this.RTC.onicecandidate=function(e){},this.RTC.ontrack=function(e){var r=document.getElementById(t.remoteId),n=document.getElementById(t.remoteAudioId),o=e.track;if(console.log("--ontrack-streams-",e.streams),"video"==o.kind){if(o.contentHint="detail",!r.srcObject){var i=new MediaStream;i.addTrack(o),r.srcObject=i,r.onloadedmetadata=function(){r.play()}}}else if("audio"==o.kind){var a=new MediaStream;a.addTrack(e.track),n.srcObject=a,n.onloadedmetadata=function(){n.play()}}else console.log("remoteOntrack-err->",e,e.track)},this.RTC.onnegotiationneeded=function(e){},this.RTC.iceconnectionstatechange=function(e){},this.RTC.icegatheringstatechange=function(e){}}},{key:"addTracks",value:function(e){var t=this;if(e){var r=e.getTracks();!r||r.length<1?console.log("无法获取视频或麦克风任一轨道数据,请查看是否开启成功"):r.forEach((function(r){r&&(t.RTC?t.RTC.addTrack(r,e):console.log("that.RTC--\x3e",t.RTC))}))}else console.log("无法打开设备获取到流",e)}},{key:"createOffer",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.RTC.createOffer();case 2:return t=e.sent,this.Offer=t,e.next=6,this.RTC.setLocalDescription(t);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setRemote",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.RTC.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:t}),(function(e){console.log("setsuccess---\x3e",e)}),(function(e){console.log("seterr---\x3e",e)}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getDeviceList",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"bindStream",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:if(n=document.querySelector("#"+t),console.log("videoId--\x3e",t,n),n){e.next=6;break}return console.log("无法找到对应的dom"),e.abrupt("return");case 6:return o={video:{deviceId:r.camerId},audio:{deviceId:r.voiceId}},e.next=9,navigator.mediaDevices.getUserMedia(o);case 9:i=e.sent,a=document.getElementById("viewVideo"),console.log("container--\x3e",n),console.log("contains---\x3e",n.contains(a)),n.contains(a)&&(n.innerHTML=""),c=document.createElement("video"),c.id="viewVideo",c.autoplay=!0,c.playsInline="playsInline",c.muted=!1,c.style.width="100%",c.style.height="100%",c.className="viewVideo_class",n.appendChild(c),i&&(c.srcObject=i,c.onloadedmetadata=function(){c.play()});case 14:case"end":return e.stop()}}),e)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"stopLocalViewStream",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t,r){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=document.querySelector("#"+t+" #viewVideo"),n&&(o=n.srcObject.getTracks(),console.log("viewVideoDom--tracks--\x3e",o),o&&o.forEach((function(e){r?e.kind==r&&e.stop():e.stop()})),n.srcObject=null);case 2:case"end":return e.stop()}}),e)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"getDeviceType",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){var t,r,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[],r=-1,e.prev=1,e.next=4,navigator.mediaDevices.enumerateDevices();case 4:t=e.sent,e.next=10;break;case 7:return e.prev=7,e.t0=e["catch"](1),e.abrupt("return",(this.messageBack.call(null,{code:-1,type:"device",err:"失败_无法获取设备列表"}),r));case 10:if(t){e.next=12;break}return e.abrupt("return",r);case 12:return n=t.some((function(e){return("videoinput"===e.kind||"videoinput"===e.kind)&&e.deviceId})),o=t.some((function(e){return("audioinput"===e.kind||"audiooutput"===e.kind)&&e.deviceId})),e.abrupt("return",(n&&(r=1),o&&(r=2),n&&o&&(r=3),r));case 14:case"end":return e.stop()}}),e,this,[[1,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"testGetDeviceMore",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.cameraMicrophoneStream();case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"closeAudio",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.audioStream.getTracks().forEach((function(e){e.stop()})),this.audioStream=null;case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getAudioOrVideoErr",value:function(e,t){var r=null,n=1==t?"麦克风":2==t?"摄像头":"";return r=[{err:"NotFoundError",msg:"无法获取到"+n},{err:"NotReadableError",msg:n+"无法被访问,请查看"+n+"是否被占用"},{err:"OverconstrainedError",msg:"无法找到指定"+n},{err:"TypeError",msg:"getUserMedia()中传入正确的参数错误"},{err:"PermissionDeniedError",msg:"用户拒绝了访问"+n+"的权限"},{err:"AbortError",msg:"用户禁止了媒体捕获,或者在获取媒体设备时发生了其他错误"},{err:"Other",msg:"浏览器特定的错误,或硬件问题"},{err:"SecurityError",msg:"在不安全的网页上尝试获取"+n}].find((function(t){return e.toString().indexOf(t.err)>-1})),console.warn("returnErr--\x3e",r),r}},{key:"cameraMicrophoneStream",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a,c,u,s,f,l,d,p,h,v,g,b,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=this,o=n.os(),i=640,a=480,o.isPc?(i=1280,a=720):o.isPhone&&(i=640,a=480),c="",u="",r&&(r.camerId&&(c=r.camerId),r.voiceId&&(u=r.voiceId),r.width&&(i=r.width),r.height&&(i=r.height)),s={video:{width:{min:320,ideal:i,max:1920},height:{min:480,ideal:a,max:1080},frameRate:25}},f={audio:{noiseSuppression:!0,echoCancellation:!0}},c&&(s.video.deviceId=c),u&&(f.audio.deviceId=u),n.camearStream&&n.camearStream.getTracks().forEach((function(e){e.stop()})),h={},1!=t){e.next=27;break}return e.prev=8,v={audio:{noiseSuppression:!0,echoCancellation:!0},video:!1},e.next=12,navigator.mediaDevices.getUserMedia(v);case 12:return p=e.sent,l=new MediaStream(Object(y["a"])(p.getTracks())),e.next=16,this.addTracks(l);case 16:return this.videoStream=l,l.label="voice",console.log("stream---\x3e",l.getAudioTracks(),l.getVideoTracks()),e.abrupt("return",l);case 22:e.prev=22,e.t0=e["catch"](8),h=n.getAudioOrVideoErr(e.t0,1),n.messageBack.call(null,{code:-1,type:"device",message:"麦克风获取异常_"+h.err,err:h.msg,data:{}});case 25:e.next=91;break;case 27:return e.prev=27,e.next=30,navigator.mediaDevices.getUserMedia(s);case 30:return d=e.sent,e.prev=31,e.next=34,navigator.mediaDevices.getUserMedia(f);case 34:return p=e.sent,l=new MediaStream([].concat(Object(y["a"])(p.getTracks()),Object(y["a"])(d.getTracks()))),g=l.getVideoTracks(),g[0].contentHint="detail",e.next=40,this.addTracks(l);case 40:return this.videoStream=l,l.label="camer",console.log("stream---\x3e",l),this.bindLocalPicture(l),e.abrupt("return",l);case 47:e.prev=47,e.t1=e["catch"](31),console.log("获取麦克风失败---\x3e",e.t1),h=n.getAudioOrVideoErr(e.t1,1),n.messageBack.call(null,{code:-1,type:"device",message:"麦克风获取异常_"+h.err,err:h.msg,data:{}});case 50:e.next=91;break;case 52:return e.prev=52,e.t2=e["catch"](27),e.t2&&2==t&&(console.log("errr--\x3e"),h=n.getAudioOrVideoErr(e.t2,2),n.messageBack.call(null,{code:-6,type:"device",message:"摄像头获取异常_"+h.err+",仅拉起麦克风",err:h.msg,data:{}})),e.next=57,this.createdVirtualVideo(t);case 57:return d=e.sent,e.prev=58,b={audio:{noiseSuppression:!0,echoCancellation:!0}},e.next=62,navigator.mediaDevices.getUserMedia(b);case 62:return p=e.sent,l=new MediaStream([].concat(Object(y["a"])(p.getTracks()),Object(y["a"])(d.getTracks()))),console.log("stream--\x3e",l),m=l.getVideoTracks(),m[0].contentHint="detail",e.next=69,this.addTracks(l);case 69:return this.videoStream=l,l.label="virtual",this.bindLocalPicture(l),e.abrupt("return",l);case 75:return e.prev=75,e.t3=e["catch"](58),e.next=79,this.createdVirtualVideo(t);case 79:return d=e.sent,e.next=82,this.createSilentAudioStream();case 82:return p=e.sent,console.log("audioStream--\x3e",p.getTracks()),l=new MediaStream([].concat(Object(y["a"])(p.getTracks()),Object(y["a"])(d.getTracks()))),e.next=87,this.addTracks(l);case 87:return this.videoStream=l,h=n.getAudioOrVideoErr(e.t3,1),n.messageBack.call(null,{code:-1,type:"device",message:"麦克风获取异常_"+h.err,err:h.msg,data:{}}),e.abrupt("return",l);case 91:case"end":return e.stop()}}),e,this,[[8,22],[27,52],[31,47],[58,75]])})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"cameraMicrophoneStream_old",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={audio:{noiseSuppression:!0,echoCancellation:!0},video:{deviceId:{exclude:["video"]},width:{min:1280,ideal:1280,max:1280},height:{min:720,ideal:720,max:720},aspectRatio:16/9,frameRate:30}},e.prev=1,e.next=4,navigator.mediaDevices.getUserMedia(r);case 4:n=e.sent,e.next=24;break;case 7:if(e.prev=7,e.t0=e["catch"](1),console.warn("无摄像头或麦克风,自动切换到麦克风--》",e.t0),t.messageBack.call(null,{code:-6,type:"device",message:"失败_设备获取异常,自动切换到语音呼叫",err:e.t0,data:{}}),!e.t0){e.next=24;break}return e.prev=10,o={audio:{noiseSuppression:!0,echoCancellation:!0}},e.next=14,navigator.mediaDevices.getUserMedia(o);case 14:return i=e.sent,e.next=17,this.createdVirtualVideo();case 17:a=e.sent,n=new MediaStream([].concat(Object(y["a"])(i.getTracks()),Object(y["a"])(a.getTracks()))),e.next=24;break;case 21:e.prev=21,e.t1=e["catch"](10),console.error("无麦克风--》",e.t1),t.messageBack.call(null,{code:-1,type:"device",message:"无法获取麦克风,不能正常使用通信功能",err:e.t0,data:{}});case 24:if(n){e.next=27;break}return t.messageBack.call(null,{code:-1,type:"device",message:"无法获取麦克风,不能正常使用通信功能",err:err,data:{}}),e.abrupt("return");case 27:return c=n.getVideoTracks(),c[0].contentHint="detail",console.log("videoTrack--\x3e",n),this.videoStream=n,e.next=33,this.addTracks(n);case 33:return e.abrupt("return",n);case 34:case"end":return e.stop()}}),e,this,[[1,7],[10,21]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"createdVirtualVideo_bck",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r="无 摄 像 头",n=document.createElement("canvas"),o=n.getContext("2d"),i=new Image,i.width=120,i.height=120,i.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABZtJREFUeF7tmluoVkUUx/9/6KHoIYgsKoIeCjGJLkSGKaSBRBgUZVJRZNBDaVQPSmj3i1EGFaSEL/kQPmgERRLlg1oo2QVLLOxClJkg9BCUQVT82+s0u+bs9uy9Z/b+ztkf37dAj3hmZq3122vWzKwZYsSFI+4/xgDGETDiBMZTICUAJC0BcBrJl1L696lPVARIugLA3QAMwEEAV5I80ieHYm1pDEDSeZnjnxcUPEPygVilfWrfGIAZLekhAI97DhwDsIDkR31yKsaWWADHAfgYwAWeks0kb4lR2qe2UQBcFNj831Jw4lqSb/TJsaa2RANwEDYDuMlTsoukJcihk1oAkm4HcA2AkwEcJnmrpIsA7AFwvOfxCpLrJV0PYMWASXwH4HuSj7bVUwlA0gcA5hSULCK5XdJTAFZ7v/sWwFySRyW9B2B+W+Ma9N9JckGDdsEmQQCS3nRfvtj5IMlZkiwiLApmeg3WkVwVWDLb2FnV9w6Sr6QOXgpA0ukAqjY499guUNKdADZ6yv8CcDnJvZJeAHBvqmER/faT9FeliK4oPw67Hd8Ob6Sd2Xq/yx85n3+S3skiYZH3uy0kl0qy/JC6SRL+s83/90QOzv6aNPeZGRPltdc4FAGW0ScBCM01Sea8QfBlKcniUplq46R+JR8H0wpg4pNINg1sOuSy100FmxKdSgwA13YGya0hI1pHgANgidASoiXGXFaRXNep9//ALkbn/yJA0tlZ00cA2BJuspXkjWW2tAZgU4Dku5JsSbSlMZejblm05bEzqQPg9i3mvEHw5RKSnxQNaQVA0hoAN7g1/08XBbZJymU9yU43RSEAJV+96Ksd2iyZT5JkAJKeB3CfG20NybWS7FD0akHHQpJ+Qm0VDWUAsl3hMhfyxa/u6+ocwD4AFzoNPwK4jORhSa8DuM7TvI3k4lZee50DAJoM3zmAA1lyme1pfo7kSknzskrR+wWLlpHc1MTKujYRACzc/QNa5wDmAtjtGfwHgItJHihMD2tisOyc8Eudg3W/bwDgUzcd7h8oADNUks29mwFc6naKG0m+JeksB8d+5vJYF6e3GgC27JqeY5Is7wwuAhp8KUuQlihzsa9vUWDRkCwBAF8CsPPJ9nzgaQfgIsRygeWEXDaRtKhJlrp9QN8A2Gpgq4Ivi0luSyUwVABcFNi+wC+a7iC5cJQABMtnKRCGLgJcFATLZ7EQhhVAsHw2EgBcFATLZzEQhjICvKWptHw2SgBal88CG6E5JD/0QfZiI1T2ZduWzyq2wg+S/Lcg02cArcpnNWcBq1yvJrmntwBcQkwunzU4DZqKhwHYZmv6DkNVic3dGVgRNbp81hCAqR9sPSAmcwdyQVL5LADAYFp9okq6LYi0BeCmQnT5rKIo+iyAlRV29RJAdPmsaiMkyU6fBuKcEhD9A+CiwK8u239Vls/qdoKSzgSwFsBtBQgzSX5VBJNcFu9iCjgAUeWzOgDernM5gLsAnJr92RAqx4UAnA9gf1dOVoyzhORrkoLlM0lvA7iqYoyfspcpM1JtDQE4Kbv0+Dl10Ih+9sxl4jJDUmn5rMFbhd0k/bJbhPrA+wBnkN3B2x3boGWiWuwSWGn5TJLZEXoPNDu7+Pwi1ci6N0JlT+JSdVX1OzF7WvObpGD5LHuNYrdPZ3iD/GCJruy+L8bA2pcV7i3QuQBOiBk4tq05Enh9tpzkBpf88mENxiGSv8fqabQKtB20TX9JTwKwW+dcvraLF5IDyUm1EdDGmZS+kk7JDjL2zG6W1/8JknbA6Vx6B8Al4GL57Fc7OJH8pmsCvQTgINjlydWewy9njzBtY9Op9BmAOW8Q7Os/DeBFu/Ts1HvvLV7X43Yyniuf2TObzzoZsGSQ3kbAoBzu/TI4VY7nesYRMNXE+6ZvHAF9+yJTbc/fXxAjbt8pZd0AAAAASUVORK5CYII=",a=function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n.width=640,n.height=480,o.fillStyle="#000",o.fillRect(0,0,n.width,n.height),o.fillStyle="#fff",o.font="50px Helvetica Neue",o.textAlign="center",o.fillText(r,n.width/2,(n.height-i.height)/2),o.drawImage(i,(n.width-i.width)/2,(n.height-i.height+80)/2,i.width,i.height),t.requestAnimationFrameTimer=requestAnimationFrame(a);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.abrupt("return",(t.requestAnimationFrameTimer&&cancelAnimationFrame(t.requestAnimationFrameTimer),a(),n.captureStream()));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"createdVirtualVideo",value:function(e){var t=document.createElement("canvas"),r=t.getContext("2d"),n=this,o=e&&2==e?"无 摄 像 头":"",i=function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.width=640,t.height=480,r.fillStyle="black",r.fillRect(0,0,t.width,t.height),r.fillStyle="#fff",r.font="50px Helvetica Neue",r.textAlign="center",r.fillText(o,t.width/2,t.height/2),n.requestAnimationFrameTimer=requestAnimationFrame(i);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();i();var a=t.captureStream(30);return console.log("videoStream--\x3e",a),a}},{key:"createSilentAudioStream",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,r=new(window.AudioContext||window.webkitAudioContext),n=r.createMediaStreamDestination();if(t===1/0||t<=0){var o=r.sampleRate,i=1*o,a=r.createBuffer(1,i,o);a.getChannelData(0).fill(0),e=r.createBufferSource(),e.buffer=a,e.loop=!0}else{var c=r.sampleRate,u=c*t,s=r.createBuffer(1,u,c);s.getChannelData(0).fill(0),e=r.createBufferSource(),e.buffer=s,e.loop=!1}return e.connect(n),e.start(0),t!==1/0&&t>0&&(e.onended=function(){console.log("静音流播放完毕"),r.close()}),n.stream}},{key:"getVideoTacks",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.videoStream&&(this.videoStream.getTracks().forEach((function(e){e.stop()})),t=document.getElementById(this.localId),t.srcObject=null);case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"initDom",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a,c,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=u.length>0&&void 0!==u[0]?u[0]:{video:!0,audio:!0,parentId:"",isDrag:!0,showLocal:!0,callback:new Function},t.parentId){e.next=4;break}return console.log("请添加视频容器"),e.abrupt("return");case 4:if(t.callback){e.next=7;break}return console.log("请注册消息回调函数"),e.abrupt("return");case 7:if(this.online()){e.next=10;break}return t.callback({code:-2,type:"internet",err:"当前网络差,请检查网络后重试"}),this.messageBack=t.callback,e.abrupt("return");case 10:if(this.mediaSet.video=t.video,this.mediaSet.audio=t.audio,this.messageBack=t.callback,this.newSocket(),r=document.querySelector("#"+t.parentId),r){e.next=15;break}return console.log("无法查找到父级容器"),t.callback({code:-2,type:"error",err:"无法查找到父级容器,请查看"}),e.abrupt("return");case 15:n=document.createElement("video"),o=document.createElement("video"),i=document.createElement("audio"),n.id="local_video",n.autoplay=!0,n.playsInline="playsInline",n.muted=!0,o.id="remote_video",i.id="remote_audio",o.autoplay=!0,o.playsInline="playsInline",o.muted=!0,n.className="local_video_class",o.className="remote_video_class",i.style.display="none",i.controls=!0,a=document.querySelector("#"+t.parentId),c=document.querySelector("#remote_video"),a.contains(c)?(console.log("已成功创建video标签"),this.localId="local_video",this.remoteId="remote_video",this.remoteAudioId="remote_audio",t.isDrag&&this.pcDrag("remote_video","local_video")):(console.log("没有标签,进行创建"),r.appendChild(o),r.appendChild(n),r.appendChild(i),t.showLocal||(n.style.display="none"),this.localId="local_video",this.remoteId="remote_video",this.remoteAudioId="remote_audio",t.isDrag&&this.pcDrag("remote_video","local_video"));case 19:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"changeShowLocal",value:function(e){var t=document.getElementById(this.localId);t.style.display=e?"block":"none"}},{key:"os",value:function(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),r=/(?:SymbianOS)/.test(e)||t,n=/(?:Android)/.test(e),o=/(?:Firefox)/.test(e),i=/(?:iPad|PlayBook)/.test(e)||n&&!/(?:Mobile)/.test(e)||o&&/(?:Tablet)/.test(e),a=/(?:iPhone)/.test(e)&&!i,c=!a&&!n&&!r;return{isTablet:i,isPhone:a,isAndroid:n,isPc:c}}},{key:"pcDrag",value:function(e,t){document.getElementById(e);var r=document.getElementById(t),n=this.os().isPc,o=this.os().isPhone;n?r.addEventListener("mousedown",(function(r){var n=document.getElementById(e),o=document.getElementById(t),i=n.offsetWidth,a=n.offsetHeight,c=o.offsetWidth,u=o.offsetHeight,s=n.offsetLeft,f=n.offsetTop,l=r.pageX-s-o.offsetLeft,d=r.pageY-f-o.offsetTop;function p(e){var t=e.pageX-s-l,r=e.pageY-f-d;t<20&&(t=20),t>i-c&&(t=i-c),r<20&&(r=20),r>a-u&&(r=a-u),o.style.left=t+"px",o.style.top=r+"px"}document.addEventListener("mousemove",p),document.addEventListener("mouseup",(function(e){document.removeEventListener("mousemove",p)}))})):o&&r.addEventListener("touchstart",(function(r){var n=document.getElementById(e),o=document.getElementById(t),i=n.offsetWidth,a=n.offsetHeight,c=o.offsetWidth,u=o.offsetHeight,s=n.offsetLeft,f=n.offsetTop,l=document.body;l.style.overflow="hidden";var d=r.pageX-s-o.offsetLeft,p=r.pageY-f-o.offsetTop;function h(e){var t=e.pageX-s-d,r=e.pageY-f-p;t<20&&(t=20),t>i-c&&(t=i-c),r<20&&(r=20),r>a-u&&(r=a-u),o.style.left=t+"px",o.style.top=r+"px"}document.addEventListener("touchmove",h),document.addEventListener("touchend",(function(e){l.style.overflow="auto",document.removeEventListener("touchmove",h)}))}))}},{key:"login",value:function(e){var t=Object.assign({type:"login"},e);this.send(t)}},{key:"call",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t,r){var n,o,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:"",type:"make_call"},t),e.next=3,this.cameraMicrophoneStream(2,r);case 3:return o=e.sent,this.camearStream=o,i=this,navigator.mediaDevices.ondevicechange=Object(k["a"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:if(t=e.sent.filter((function(e){return"videoinput"===e.kind})),console.log("videoDevices--\x3e",t),e.t0=t&&t.length>0,!e.t0){e.next=10;break}return e.next=8,i.cameraMicrophoneStream(2);case 8:o=e.sent,e.t0=o;case 10:if(!e.t0){e.next=13;break}r=o.getVideoTracks(),n=o.getAudioTracks(),i.RTC.getSenders().forEach((function(e){e.track&&"video"==e.track.kind?e.replaceTrack(r[0]):e.track&&"audio"==e.track.kind&&e.replaceTrack(n[0])})),i.camearStream=o;case 13:case"end":return e.stop()}}),e)}))),this.bindLocalPicture(o),e.next=10,this.createOffer();case 10:n.sdp=this.Offer.sdp,this.send(n);case 12:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"audioCall",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t,r){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:"",type:"make_call"},t),this.getVideoTacks(),e.next=4,this.cameraMicrophoneStream(1,r);case 4:return o=e.sent,this.camearStream=o,e.next=8,this.createOffer();case 8:n.sdp=this.Offer.sdp,this.send(n);case 10:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"answer",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:"",type:"answer"},t),this.callData=t,console.log("callInType--\x3e",this.callInType),e.next=4,this.cameraMicrophoneStream(this.callInType,r);case 4:return o=e.sent,this.camearStream=o,i=this,navigator.mediaDevices.ondevicechange=Object(k["a"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:if(t=e.sent.filter((function(e){return"videoinput"===e.kind})),console.log("videoDevices--\x3e",t),e.t0=t&&t.length>0,!e.t0){e.next=10;break}return e.next=8,i.cameraMicrophoneStream(a.callInType);case 8:o=e.sent,e.t0=o;case 10:if(!e.t0){e.next=13;break}r=o.getVideoTracks(),n=o.getAudioTracks(),i.RTC.getSenders().forEach((function(e){e.track&&"video"==e.track.kind?e.replaceTrack(r[0]):e.track&&"audio"==e.track.kind&&e.replaceTrack(n[0])})),i.camearStream=o;case 13:case"end":return e.stop()}}),e)}))),this.bindLocalPicture(o),e.next=11,this.createOffer();case 11:n.sdp=this.Offer.sdp,this.send(n);case 13:case"end":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"hangup",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:r=Object.assign({type:"hangup"},t),this.send(r),n=this,n.stopStack(),n.RTC&&n.RTC.getSenders().forEach((function(e){e&&e.track&&e.track.stop()})),n.RTC=null,n.requestAnimationFrameTimer&&cancelAnimationFrame(n.requestAnimationFrameTimer),setTimeout((function(){n.createRTC()}),1e3);case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"stopStack",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=document.querySelector("#"+this.localId),r=document.getElementById(this.remoteId),t.srcObject&&(n=t.srcObject.getTracks(),Array.isArray(n)?n.forEach((function(e){e.stop()})):n.stop(),t.srcObject=null),r.srcObject&&(o=r.srcObject.getTracks(),Array.isArray(o)?o.forEach((function(e){e.stop()})):o.stop(),r.srcObject=null),this.displayMedia&&(i=this.displayMedia.getTracks(),Array.isArray(i)?i.forEach((function(e){e.stop()})):distrack.stop()),this.camearStream&&(a=this.camearStream.getTracks(),Array.isArray(a)?a.forEach((function(e){e.stop()})):a.stop());case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cameraUser",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("前置"),this.stopStack(),r=this.os(),n=640,o=480,(r.isPc||r.isPhone)&&(n=640,o=480),i=o,a=n,t&&(t.width&&(a=t.width),t.height&&(i=t.height)),e.next=7,navigator.mediaDevices.getUserMedia({audio:!0,video:{width:{min:a,ideal:a,max:a},height:{min:i,max:i,ideal:i},facingMode:"user"}})["catch"]((function(e){console.log("user--err--",e)}));case 7:c=e.sent,c.label="userCamer",this.bindLocalPicture(c),this.presentStream="user",u=c.getVideoTracks(),s=c.getAudioTracks(),this.RTC.getSenders().forEach((function(e){e.track&&"video"==e.track.kind?e.replaceTrack(u[0]):e.track&&"audio"==e.track.kind&&e.replaceTrack(s[0])}));case 11:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"cameraRear",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("后置"),this.stopStack(),r=this.os(),n=640,o=480,(r.isPc||r.isPhone)&&(n=640,o=480),i=o,a=n,t&&(t.width&&(a=t.width),t.height&&(i=t.height)),e.next=7,navigator.mediaDevices.getUserMedia({audio:!0,video:{width:{min:a,ideal:a,max:a},height:{min:i,max:i,ideal:i},facingMode:"environment"}})["catch"]((function(e){console.log("environment--err--",e)}));case 7:c=e.sent,c.label="environmentCamer",this.bindLocalPicture(c),this.presentStream="environment",u=c.getVideoTracks(),s=c.getAudioTracks(),this.RTC.getSenders().forEach((function(e){"video"==e.track.kind?e.replaceTrack(u[0]):"audio"==e.track.kind&&e.replaceTrack(s[0])}));case 11:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"microphoneChange",value:function(e){var t=document.getElementById(this.localId);if(t&&t.srcObject){var r=t.srcObject.getAudioTracks();r[0].enabled=e}}},{key:"cameraChange",value:function(e){var t=document.getElementById(this.localId);if(t&&t.srcObject){var r=t.srcObject.getVideoTracks();r[0].enabled=e,this.localCameraStaus=r[0].enabled}}},{key:"localCameraChange",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this,!t){e.next=9;break}return n=r.RTC.getSenders(),e.next=5,r.createdVirtualVideo();case 5:o=e.sent,n.forEach((function(e,t){if(e.track&&"video"==e.track.kind){var r=o.getVideoTracks()[0];e.replaceTrack(r)}})),e.next=15;break;case 9:if(!r.RTC){e.next=15;break}return i=r.RTC.getSenders(),e.next=13,r.cameraMicrophoneStream(2);case 13:a=e.sent.getVideoTracks()[0],i.forEach((function(e,t){e&&e.track&&"video"==e.track.kind&&e.replaceTrack(a)}));case 15:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"mutedChange",value:function(e){var t=document.getElementById("audio_remote");if(t.srcObject){var r=t.srcObject.getAudioTracks();r[0].enabled=e}}},{key:"loginOut",value:function(e){var t=Object.assign({type:"login_out"},e);this.send(t)}},{key:"changePicture",value:function(){var e=document.getElementById(this.localId),t=document.getElementById(this.remoteId),r=e.srcObject,n=t.srcObject;r&&n&&(e.srcObject=n,t.srcObject=r)}},{key:"shareStopCheckMedia",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=this,e.next=3,this.getDeviceType();case 3:if(n=e.sent,console.log("deviceType--\x3e",n,r.displayMedia),r.displayMedia&&(o=r.displayMedia.getTracks(),console.log("displayStream--\x3e",o),o&&o.forEach((function(e){e.stop()}))),2!=n){e.next=14;break}if(!r.RTC){e.next=12;break}return i=r.RTC.getSenders(),e.next=10,r.createdVirtualVideo(2);case 10:a=e.sent,i.forEach((function(e,t){if(e.track)if("video"==e.track.kind){var r=a.getVideoTracks()[0];e.replaceTrack(r)}else if("audio"==e.track.kind){var n=a.getAudioTracks()[0];e.replaceTrack(n)}}));case 12:e.next=21;break;case 14:if(!r.RTC){e.next=21;break}return c=r.RTC.getSenders(),e.next=18,this.cameraMicrophoneStream(2,t);case 18:u=e.sent,s=u.getVideoTracks()[0],c.forEach((function(e,t){if(e&&e.track)if("video"==e.track.kind)e.replaceTrack(s);else if("audio"==e.track.kind){var r=u.getAudioTracks()[0];e.replaceTrack(r)}}));case 21:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"stopDisplayMedia",value:function(){this.displayMedia?(this.messageBack.call(null,{code:200,type:"share_end",msg:"屏幕已结束"}),this.shareStopCheckMedia()):(console.log("无法获取分享视频流,请查看分享是否成功"),this.messageBack.call(null,{code:-5,type:"error",err:"无法获取分享视频流,请查看分享是否成功"+error}))}},{key:"getDisplayMedia",value:function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this,!t||!t.sourcesId){e.next=7;break}return e.next=4,navigator.mediaDevices.getUserMedia({audio:!1,video:{mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t.sourcesId}}})["catch"]((function(e){console.log("获取屏幕共享失败:",e),r.messageBack.call(null,{code:-5,type:"error",err:"屏幕共享拉起失败_"+e})}));case 4:r.displayMedia=e.sent,e.next=13;break;case 7:return n=!1,t&&t.getAudio&&(n=!!t.getAudio),r.shareGetAudio=n,o={cursor:"always",width:{ideal:1280,max:1280},height:{ideal:720,max:720},resizeMode:"crop-and-scale",chromeMediaSource:"desktop",logicalSurface:!1},e.next=12,navigator.mediaDevices.getDisplayMedia({video:o,audio:n,displaySurface:"browser"})["catch"]((function(e){console.log("获取屏幕共享失败:",e),r.messageBack.call(null,{code:-5,type:"error",err:"屏幕共享拉起失败_"+e})}));case 12:r.displayMedia=e.sent;case 13:r.displayMedia&&(r.bindLocalPicture(r.displayMedia),i=r.displayMedia.getVideoTracks(),a=r.displayMedia.getAudioTracks(),r.messageBack.call(null,{code:200,type:"share_start",message:"开始屏幕共享",data:{}}),c=r.RTC.getSenders(),c.forEach((function(e,t){e.track&&("video"==e.track.kind?e.replaceTrack(i[0]):"audio"==e.track.kind&&r.shareGetAudio&&e.replaceTrack(a[0]))})),c&&c.length>0&&r.messageBack.call(null,{code:200,type:"share_sharing",message:"正在共享",data:{}}),r.displayMedia.getVideoTracks()[0].addEventListener("ended",Object(k["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:console.log("结束共享------"),r.messageBack.call(null,{code:200,type:"share_end",message:"屏幕已结束",data:{}}),r.shareGetAudio=!1,r.shareStopCheckMedia();case 1:case"end":return e.stop()}}),e)})))));case 14:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()}]),e}(),j=function(e){console.log(m);var t=m[e];if(console.log(t),!t)throw new Error("未找到对应的请求方法!");return function(){return t.apply(void 0,arguments)}},E=function(e,t){var r=t.onOpen,n=t.onClose,o=t.onMessage,i=t.onError,a=t.onReconnect;e.subscribe("open",(function(){console.log("WebSocket连接成功!"),r&&r()})),e.subscribe("close",(function(e){console.log("WebSocket连接关闭!",e),n&&n(e)})),e.subscribe("message",(function(e){o&&o(e)})),e.subscribe("error",(function(e){console.log("WebSocket捕获错误:",e),i&&i(e)})),e.subscribe("reconnect",(function(e){console.log("WebSocket断开重连:",e),a&&a(e)}))},T=function(e,t,r,n){var o={showBand:!0,fullscreen:!0,screenshot:!0,play:!0,audio:!0,useMSE:!0,isMute:!0,onlyPlay:2,refreshNum:5};r&&"object"===Object(h["a"])(r)&&"[object Object]"===Object.prototype.toString.call(r)&&(o=Object.assign(o,r)),console.log("===callback===="),console.log(n);var i=new h265v3({callBack:n||function(){},rtcServe:e.url,wsServe:e.ctrUrl,decUrl:t||"./decoder/decoder-pro.js",videoConfig:o});return i},A=function(e){var t=new S(e);return t},R=function(e,t,r){var n=e||"",o=r||"";return{Action:n,GongHao:t.GongHao,FenJi:t.FenJi,PlatFormCode:t.DepartmentID,Params:o}},I=new WeakMap,C=new WeakMap,P=function(){function e(t,r){var n=this,o=r.onOpen,i=r.onClose,c=r.onMessage,s=r.onError,f=r.initAction;Object(a["a"])(this,e),Object(u["a"])(this,I,{writable:!0,value:null}),Object(u["a"])(this,C,{writable:!0,value:null}),this.config=t,Object.assign(this.config,{checkData:JSON.stringify(R("keeplive",this.config))}),this.socket=j("websocket")(t),E(this.socket,{onOpen:function(e){console.log("====onOpen====="),console.log(n),n.send("Login"),o&&o(e)},onClose:function(e){i&&i(e)},onMessage:function(e){var t=e.data||e;0===t.indexOf("Back_Login(")&&(n.config.AgentGroupName&&n.send("SetGroupRole",n.config.AgentGroupName),f&&f()),c&&c(e)},onError:function(e){s&&s(e)},onReconnect:function(e){n.scoket=e}})}return Object(c["a"])(e,[{key:"send",value:function(e,t){this.socket.send(JSON.stringify(R(e,this.config,t)))}},{key:"getPlayer",value:function(e,t,r,n){return p(this,I)||l(this,I,T(e,t,r,n)),p(this,I)}},{key:"getPhoneClientObj",value:function(e,t){return p(this,C)||(l(this,C,A(e)),t&&p(this,C).initDom(t)),p(this,C)}},{key:"destroy",value:function(){var e=this;p(this,I)&&p(this,I).play265Obj&&Object.keys(p(this,I).play265Obj).forEach((function(t){p(e,I).play265Obj[t].destroy(),delete p(e,I).play265Obj[t]})),l(this,I,null),this.socket.closeSocket(1e3,"通知关闭websocket连接"),this.socket=null,p(this,C)&&(p(this,C).onclose(),l(this,C,null))}}]),e}(),M=function(e,t){var r=t.onOpen,n=t.onClose,o=t.onMessage,i=t.onError,a=t.initAction;return window.WebSocket?new P(e,{onOpen:r,onClose:n,onMessage:o,onError:i,initAction:a}):console.error("您的浏览器不支持WebSocket, 请更换浏览器!")},D={useKUcservice:M,useRequest:j};t["default"]=D},fb6a:function(e,t,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("e8b5"),a=r("68ee"),c=r("861d"),u=r("23cb"),s=r("07fa"),f=r("fc6a"),l=r("8418"),d=r("b622"),p=r("1dde"),h=r("f36a"),v=p("slice"),g=d("species"),b=o.Array,m=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(e,t){var r,n,o,d=f(this),p=s(d),v=u(e,p),y=u(void 0===t?p:t,p);if(i(d)&&(r=d.constructor,a(r)&&(r===b||i(r.prototype))?r=void 0:c(r)&&(r=r[g],null===r&&(r=void 0)),r===b||void 0===r))return h(d,v,y);for(n=new(void 0===r?b:r)(m(y-v,0)),o=0;v<y;v++,o++)v in d&&l(n,o,d[v]);return n.length=o,n}})},fc6a:function(e,t,r){var n=r("44ad"),o=r("1d80");e.exports=function(e){return n(o(e))}},fce3:function(e,t,r){var n=r("d039"),o=r("da84"),i=o.RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise}})}));
2
2
  //# sourceMappingURL=kucservice.umd.min.js.map