!function(){"use strict";function e(e,c){(null==c||c>e.length)&&(c=e.length);for(var a=0,f=Array(c);a3?(t=p===f)&&(r=d[(n=d[4])?5:(n=3,3)],d[4]=d[5]=e):d[0]<=l&&((t=a<2&&lf||f>p)&&(d[4]=a,d[5]=f,u.n=p,n=0))}if(t||a>1)return o;throw s=!0,f}return function(t,b,p){if(i>1)throw TypeError("Generator is already running");for(s&&1===b&&l(b,p),n=b,r=p;(c=n<2?e:r)||!s;){d||(n?n<3?(n>1&&(u.n=-1),l(n,r)):u.n=r:u.v=r);try{if(i=2,d){if(n||(t="next"),c=d[t]){if(!(c=c.call(d,r)))throw TypeError("iterator result is not an object");if(!c.done)return c;r=c.value,n<2&&(n=0)}else 1===n&&(c=d.return)&&c.call(d),n<2&&(r=TypeError("The iterator does not provide a '"+t+"' method"),n=1);d=e}else if((c=(s=u.n<0)?r:a.call(f,u))!==o)break}catch(c){d=e,n=1,r=c}finally{i=1}}return{value:c,done:s}}}(a,t,d),!0),b}var o={};function i(){}function b(){}function s(){}c=Object.getPrototypeOf;var u=[][f]?c(c([][f]())):(n(c={},f,function(){return this}),c),l=s.prototype=i.prototype=Object.create(u);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,n(e,t,"GeneratorFunction")),e.prototype=Object.create(l),e}return b.prototype=s,n(l,"constructor",s),n(s,"constructor",b),b.displayName="GeneratorFunction",n(s,t,"GeneratorFunction"),n(l),n(l,t,"Generator"),n(l,f,function(){return this}),n(l,"toString",function(){return"[object Generator]"}),(d=function(){return{w:r,m:p}})()}function n(e,c,a,f){var t=Object.defineProperty;try{t({},"",{})}catch(e){t=0}n=function(e,c,a,f){function d(c,a){n(e,c,function(e){return this._invoke(c,a,e)})}c?t?t(e,c,{value:a,enumerable:!f,configurable:!f,writable:!f}):e[c]=a:(d("next",0),d("throw",1),d("return",2))},n(e,c,a,f)}function r(c,a){return function(e){if(Array.isArray(e))return e}(c)||function(e,c){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var f,t,d,n,r=[],o=!0,i=!1;try{if(d=(a=a.call(e)).next,0===c){if(Object(a)!==a)return;o=!1}else for(;!(o=(f=d.call(a)).done)&&(r.push(f.value),r.length!==c);o=!0);}catch(e){i=!0,t=e}finally{try{if(!o&&null!=a.return&&(n=a.return(),Object(n)!==n))return}finally{if(i)throw t}}return r}}(c,a)||function(c,a){if(c){if("string"==typeof c)return e(c,a);var f={}.toString.call(c).slice(8,-1);return"Object"===f&&c.constructor&&(f=c.constructor.name),"Map"===f||"Set"===f?Array.from(c):"Arguments"===f||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?e(c,a):void 0}}(c,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){return o="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},o(e)}function i(){try{for(var e,c=navigator.userAgent.toString(),a=/\(([^()]*\([^()]*\))*[^()]*\)/g,f=[];null!==(e=a.exec(c));)f.push(e[0].slice(1,-1));for(var t=[],d=f.length-1;d>=0;d-=1){var n=f[d]||"";if((t=n.split("__")).length>=10)break}if(t.length>=10){var r={};return["phoneName","appName","appVersion","sysName","sysVersion","appEnv","deviceid","userid","appVersionCode","countryCode","installPackage"].forEach(function(e,c){if(r[e]=t[c],"countryCode"===e&&(r[e]=r[e]?r[e].toUpperCase():"",r[e].indexOf(")")>-1)){var a=r[e].match(/(.*?)\)/);r[e]=a?a[1]:r[e]}}),r}return{}}catch(e){return{}}}var b,s=function(e){return b||(b=window.document.location.search.substring(1).split("&").reduce(function(e,c){var a=r(c.split("="),2),f=a[0],t=a[1];return e[f]=t,e},{})),b[e]||""},u="true"===s("debug")&&s("livelive");function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"string"==typeof e[0]?e[0]:"Request"in window&&e[0]instanceof Request?e[0].url:String(e[0])}var p=[{default:{master_pkg:"0",replaceList:["bigolive","bigo live","bigo"],avatar:"https://static-web.bigolive.tv/as/common-static/act-assets/avatar-default.png",replacement:{"bigo-version":"web-version"},linkReplacement:{"activity.bigo.tv":"activity.fhsg.club","static-fed.bigolive.tv":"static-fed.fhsg.club"}},package:{0:{keyword:"BigoLive",disable:!0,install_package:"0",isMain:!0,avatar:"https://static-web.bigolive.tv/as/common-static/act-assets/avatar-bigo.png",replacement:{bigo:"bigo"}},1:{keyword:"ttlive",install_package:"1"},2:{keyword:"Party Hero",install_package:"2"},3:{keyword:"BigoLive Lite",isMain:!0,install_package:"3",disable:!0},4:{keyword:"Party Hero",install_package:"4",avatar:"https://static-web.bigolive.tv/as/common-static/act-assets/avatar-echo.png",replacement:{"feedback@bigo.tv":"partyhero.feedback@global-app.net"},uaReplacement:{"user-info":"BIGO-baiguoyuan",echo:"bigolive"},linkReplacement:{"www.bigo.tv/agreement.html":"activity.fhsg.club/live/about/UserAgreement-inslive.html"}}}},{default:{master_pkg:"100",replaceList:[],avatar:"https://static-web.bigolive.tv/as/common-static/act-assets/avatar-default.png",replacement:{},linkReplacement:{}},package:{100:{keyword:"Catchii",install_package:"100",disable:!0,isMain:!0}}}];function v(e){var c=p.filter(function(c){return Object.keys(c.package||{}).includes(e)})[0]||{};return{config:(c.package||{})[e],defaultConfig:c.default}}u&&console.log("[install package config]",p);var g=s("install_package"),m=i().installPackage,h=v((u?g:"")||m).config;if(h&&h.uaReplacement){var w=navigator.userAgent;Object.keys(h.uaReplacement).forEach(function(e){w=w.replace(e,h.uaReplacement[e])}),Object.defineProperty(navigator,"userAgent",{get:function(){return w}})}var y,_=[/window.backWindow is not a function/,/live.checkApiResult is not a function|Object \[object Object\] has no method 'checkApiResult'/,/loadActivityProgress is not defined/,/vid_mate_check is not defined/,/Request failed, status: 0, responseText/,/timeout of 50000ms exceeded/,/Network Error/,/Java object is gone/,/Navigation cancelled from/,/The play() request was interrupted/,/Request failed with status code/,/Loading chunk/,/Loading CSS chunk/,/registerMethod is not a function/,/not in white list/,/setWebViewTitle/,/load failed with status/,/Request has been terminated/,/{"code":"-?\d+"}/,/Object captured as promise rejection with keys/,/Get token from server failed/,/getToken error code/,/via a navigation guard/,/Load failed/,/cross-origin/,/Java bridge method invocation error/,/promise rejection captured/,/PromiseRejectionEvent/,/The operation was aborted/,/no supported source/,/AbortError/,/token接收超时/,/The request is not allowed/,/Failed to start the audio device/,/Connection is closing/,/IndexedDB is not supported/,/only be initiated by a user gesture/,/The object does not support the operation or argument/,/FileReader/,/Internal error/,/SVGA Parser Error/,/Avoided redundant navigation to current location/,/Failed to fetch/,/Request aborted/,/timeout of 0ms exceeded/,/Can't find variable: IntersectionObserver/,/Can't find private variable: @derivedConstructor/,/Unexpected token Expected a property name/,/window.webkit.messageHandlers/],k={categoryMap:{request:"request"},tagMap:{actName:"act.name",actDeveloper:"act.developer",userid:"userid",pid:"pid"},maxBreadcrumbs:50,sampleRate:.3,autoCategoryRule:{},ignoreEventRule:_,ignoreErrors:_,ignoreBreadcrumbRule:[],changeEvent:function(e){return e}},O={sampleRate:.05,costTimeLimit:2e4,api:"https://front-perf.like-video.com/api/call",reportWaitMilliseconds:2e3};function R(e){if("string"!=typeof e||!/^[a-z]{2}$/i.test(e))return e;var c=e.toUpperCase();return 256*c.charCodeAt(0)+c.charCodeAt(1)}function j(e){for(var c="",a=0;a-1)return e.replace(new RegExp("^(https?://|//)".concat(f[2])),"/passthroush/".concat(f[2]));return window.location.host===f[2]?e:d?e.replace(f[2],d):t.other?e.replace(f[2],t.other):e}function L(e,c,a){var f=e,t=c;return E&&(c&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(e)?t=S(c,a):f=S(e,a)),{url:f,baseURL:t}}window.doBlockHostReplace=L;var q={sampleRate:.2,api:L(O.api).url},I=Object.assign({},O,q);function M(e,c,a){if(c in e){var f=a(e[c]);if("function"==typeof f)try{f.prototype=f.prototype||{}}catch(e){}e[c]=f}}var N=i(),D=N.appVersionCode,G=N.phoneName;console.info(G,N,"ua info");var H=/ipad|iphone|ipod/i.test("".concat(G).toLowerCase());["1452","1453"].includes(D)&&H&&window.addEventListener("load",function(){document.querySelectorAll("script").forEach(function(e){e&&e.src.includes("nativeapi")&&(e.onload=void(window.nativeApi&&window.nativeApi.openWebView&&M(window.nativeApi,"openWebView",function(e){return function(){for(var c=arguments.length,a=new Array(c),f=0;f=10||(z+=1,window.setTimeout(function(){$()||(U(),e())},1e3))}(),window.addEventListener("DOMContentLoaded",W),window.addEventListener("load",function(){W(),U()});var K={},X=!1,Z=function(e){for(var c=document.querySelectorAll("script"),a=0;a1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{var f=(window.assetsLoadMonitor||{}).sendCustomKeyReport;if(f&&e){var d=+new Date,n=Math.floor(1e4*Math.random());f({type:c?"req_init_".concat(d,"_").concat(n):"req_end_".concat(d,"_").concat(n),extra:t({url:e,isRequest:c},a)})}}catch(e){console.log("report req error:",e)}};"XMLHttpRequest"in window&&M(XMLHttpRequest.prototype,"open",function(e){return function(){for(var c=arguments.length,a=new Array(c),f=0;f=400?Y(t,0,{success:0,errType:d.status>=500?3:2,status:d.status,costTime:+new Date-d.startTime}):d.status<400&&d.status>=200&&Y(t,0,{success:1,errType:"",status:d.status,costTime:+new Date-d.startTime}))}),d.addEventListener("error",function(){Y(t,0,{success:0,errType:4,status:d.status,costTime:+new Date-d.startTime})})),e.apply(this,a)}}),"fetch"in window&&M(window,"fetch",function(e){return function(){var a,f=(a=d().m(function c(){var a,f,t,n,r,o,i,b,s,u,p,v,g=arguments;return d().w(function(c){for(;;)switch(c.n){case 0:for(a=g.length,f=new Array(a),t=0;t=500?3:2,status:e.status,costTime:+new Date-p}),e},function(e){throw v&&Y(o,0,{success:0,errType:4,status:0,costTime:+new Date-p}),e}))}},c,this)}),function(){var e=this,f=arguments;return new Promise(function(t,d){var n=a.apply(e,f);function r(e){c(n,t,d,r,o,"next",e)}function o(e){c(n,t,d,r,o,"throw",e)}r(void 0)})});return function(){return f.apply(this,arguments)}}()});var Q,ee;Q="common-vendor",ee=function(){var e=window.common_vendor;e&&e.axios&&e.axios.interceptors.request.use(function(e){if(e){var c=L(e.url).url;return Object.assign(e,{url:c})}return e})},window["common_vendor"]&&ee(),K[Q]?K[Q].loadedCallbacks.includes(ee)||K[Q].loadedCallbacks.push(ee):X?(Z(Q),K[Q]={register:!0,loadedCallbacks:[]}):K[Q]={register:!1,loadedCallbacks:[]};var ce=i(),ae=s("install_package"),fe=/^https:\/\/.*\/as\/common-static\/pear\/prod\/(gray-?)?\d+-[a-zA-Z]+\.json.*$/;function te(e){var c=(e||{}).install_package,a=ce.installPackage;void 0!==c&&(a=c),u&&ae&&(a=ae);var f=v(a);return{config:f.config,defaultConfig:f.defaultConfig,install_package:a}}function de(e,c){var a=e;return Object.keys(c).forEach(function(e){a=a.replace(new RegExp(e,"gi"),c[e])}),a}function ne(e,c){var a=te(c),f=a.config,t=a.defaultConfig,d=e;if(d&&f&&t&&!f.disable){f.linkReplacement&&(d=de(d,f.linkReplacement)),t.linkReplacement&&(d=de(d,t.linkReplacement));var n=function(e){var c=[],a=e.replace(/href\s*=\s*(["'‘’])([^"'\s]+?)\1/g,function(e){return c.push(e),"<>"});return{links:c,text:a}}(d),r=n.links,o=n.text;d=o,f.replacement&&(d=de(d,f.replacement)),t.replacement&&(d=de(d,t.replacement)),void 0!==f.keyword&&(t.replaceList||[]).forEach(function(e){var c=new RegExp(e,"gi");d=d.replace(c,f.keyword)}),r.length&&(d=d.replace(/<>/g,function(){return r.shift()}))}return d}"XMLHttpRequest"in window&&(M(XMLHttpRequest.prototype,"open",function(e){return function(){var c=this;c.__bigo_common_config_xhr=c.__bigo_common_config_xhr||{};for(var a=arguments.length,f=new Array(a),t=0;t